/*
Theme Name: sapolabo
Description: Original WordPress Theme
Author: coral
Version: 1.0.0
*/

@charset "UTF-8";

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
}

/* body {
  line-height: 1;
} */
p {
  line-height: 2em;
}
a {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

button {
  outline: 0;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

q {
  display: inline;
  font-style: italic;
}

q:before {
  content: '"';
  font-style: normal;
}

q:after {
  content: '"';
  font-style: normal;
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
}
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
/* .container {
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
} */

/* お問い合わせフォーム */
#contact {
  background: linear-gradient(to bottom, #2563eb 0%, #0f172a 100%);
}
.contact-section {
  padding: 60px 20px 40px;
  margin: 0 auto;
}
.contact-section .container {
  margin: 0 auto;
}
.contact-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* フォーム枠 */
.contact-form {
  border-radius: 12px;
  padding: 20px 16px 24px;
}
.contact-form .form-group {
  margin-bottom: 14px;
}
.contact-form label {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 4px;
}
.required-badge {
  display: inline-block;
  background: #facc15;
  color: #111827;
  font-size: 11px;
  padding: 2px 6px;
  margin-left: 6px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  background-color: #f0f2f7 !important;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
}
.contact-form textarea {
  width: 100% !important;
  min-height: 100px;
  resize: vertical;
}

/* 個人情報ボックス（スクロール） */
.privacy-wrapper {
  margin: 12px 0 8px;
}
.privacy-box {
  background: #ffffff;
  color: #111827;
  font-size: 11px;
  line-height: 1.6;
  padding: 8px 10px;
  border-radius: 2px;
  border: 1px solid #e5e7eb;
  height: 80px;
  overflow-y: auto;
}

/* 同意チェック */
.agree-area {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
}
.agree-area input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

form#mailformpro label {
  border: none !important;
  width: auto !important;
  background: none !important;
}
form#mailformpro label.mfp_checked {
  box-shadow: none !important;
}
.agree-wrapper {
  display: flex;
  padding: 0;
  justify-content: center;
}

/* 送信ボタン */
.submit-area {
  margin-top: 28px;
  text-align: center;
  background: transparent !important;
}
.submit-btn {
  width: 80%;
  padding: 20px 0;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background-color: #ffffff;
  color: #0f172a;
  transition: opacity 0.2s, transform 0.1s;
  text-align: center;
}
.submit-btn:disabled {
  cursor: default;
  box-shadow: none;
}
.submit-btn:not(:disabled):active {
  transform: translateY(1px);
}

@media (min-width: 1024px) {
  /* ---- Reset ---- */
  *,
  ::before,
  ::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
  }

  /* PCレイアウト */
  .container {
    width: 100%;
    /* max-width: 1700px;  */
    margin: 0 auto;
    position: relative;
  }
  .container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
  }

  /* ヘッダー */

  .header-sp {
    display: none;
  }

  /* PCヘッダーを表示 */
  .header-pc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 30px;
  }
  @media (max-width: 1200px) {
    .header-pc {
      justify-content: flex-end;
    }
  }

  .header-pc img {
    display: block;
    height: auto;
    max-height: 50px; /* ← 好きに調整してOK */
  }

  /* STEP1〜6 を3列にする */
  .step-card {
    width: calc(33.333% - 16px);
  }

  /* STEP7 横一列＆中央寄せ */
  .step-last {
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  /* まずPCでは一旦全部のラインを消す */
  .flow-line {
    display: none;
    transform: none; /* ← これ超大事！ translateX(-50%) を消す */
  }

  /* 1→2 横ライン */
  .line-12 {
    display: block;
    top: 70px;
    left: 180px;
    width: 150px;
  }

  /* 3→4 横ライン */
  .line-34 {
    display: block;
    top: 70px;
    left: 360px;
    width: 150px;
  }

  /* 4→5 の下の横ライン（既存） */
  .line-56 {
    display: block;
    top: 270px;
    left: 180px;
    width: 150px;
  }

  /* 5と6の間の横ライン（新規） */
  .line-56-right {
    display: block;
    top: 270px;
    left: 360px;
    width: 150px;
  }

  /* 3→4 の斜めライン（line3.png） */
  .line-34-diag {
    display: block;
    top: 120px;
    left: 185px;
    width: 400px;
  }

  /* 6→7 の斜めライン（line3.png） */
  .line-67-diag {
    display: block;
    /* top: 350px; */
    top: 310px;
    left: 185px;
    width: 400px;
  }

  /* STEP番号を少し強調 */
  .step-last .step-number {
    margin: 0;
    padding-bottom: 0;
  }

  /* アイコン位置の微調整（必要なら） */
  .step-last .step-icon {
    margin: 0;
    font-size: 28px;
  }

  /* 「無料」バッジ */
  .step-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    display: inline-block;
    padding: 8px 14px;
    background: #22c55e;
    color: #ffffff;
    font-size: 24px;
    border-radius: 999px;
  }

  /* STEP番号 */
  .step-number {
    font-size: 14px;
    font-weight: 700;
    color: #b58b36;
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 6px;
  }

  .step-number::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #b58b36;
    border-radius: 2px;
  }

  /* アイコン */
  .step-icon {
    font-size: 30px;
    margin-bottom: 8px;
    color: #b58b36;
  }

  /* テキスト */
  .step-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    color: #3267cf;
  }

  .step-text-last {
    color: #e75480;
    font-weight: 600;
  }

  /* FAQ セクション */
  .faq-section {
    padding: 100px 20px 110px;
  }

  .faq-section .container {
    max-width: 1000px;
    margin: 0 auto;
  }

  /* 見出し */
  .faq-title-en {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .faq-title-ja {
    font-size: 24px;
    margin-bottom: 60px !important;
  }

  /* 1つ分のQ&A枠 */
  .faq-item {
    width: 700px;
    margin: 0 auto;
    margin-bottom: 22px;
  }

  /* 質問の青帯部分 */
  .faq-question {
    margin: 0px;
    padding: 6px 8px;
    background: linear-gradient(to right, #2563eb, #10192d);
    color: #ffffff;
    font-size: 28px;
    line-height: 1.4;
    display: flex;
    align-items: center;
  }

  /* 「Q」丸アイコン */
  .faq-q {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    font-size: 30px;
  }

  /* 回答部分 */
  .faq-answer {
    font-size: 18px;
  }

  /* お問い合わせフォーム */
  .contact-section .container {
    max-width: 800px;
    margin: 0 auto;
  }

  .contact-title {
    font-size: 34px;
    margin: 60px auto;
  }

  /* フォーム枠 */
  .contact-form .form-group {
    margin-bottom: 24px;
  }
  .contact-form .form-group {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 高さをそろえる */
    gap: 16px; /* ラベルと入力欄の間隔 */
  }

  .contact-form label {
    width: 280px; /* ラベルの幅（調整OK） */
    margin-bottom: 0; /* スマホ時の余白をリセット */
    justify-content: flex-start;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    flex: 1; /* 入力欄を残りスペースいっぱいに */
    max-width: 330px;
  }
  .contact-form label {
    display: flex;
    align-items: center;
    font-size: 22px;
    margin-bottom: 4px;
  }

  .required-badge {
    display: inline-block;
    background: #facc15;
    color: #111827;
    font-size: 16px;
    padding: 2px 6px;
    margin-left: 6px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    width: 100%;
    padding: 10px 16px;
    font-size: 22px;
    font-family: inherit;
  }

  .contact-form textarea {
    width: 100% !important;
    min-height: 200px;
    /* resize: vertical; */
  }
  .contact-form .form-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* ★ここ！！center → flex-start */
    gap: 16px;
  }
  /* 個人情報ボックス（スクロール） */
  .privacy-wrapper {
    margin: 12px 0 8px;
  }

  .privacy-box {
    background: #ffffff;
    color: #111827;
    font-size: 11px;
    line-height: 1.6;
    padding: 8px 16px;
    border-radius: 2px;
    border: 1px solid #e5e7eb;
    height: 120px;
    overflow-y: auto;
    margin-bottom: 30px;
  }
  .agree-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* 同意チェック */
  .agree-area {
    display: flex; /* これが必須！ */
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px; /* ← ここが効くようになる */
    margin-top: 20px;
    gap: 18px;
  }
  .agree-area span {
    white-space: nowrap; /* ← 折り返し禁止！ */
  }
  .agree-area input[type="checkbox"] {
    transform: scale(1.8); /* ← 1.5〜2くらいがちょうど良い */
    margin-right: 10px;
  }
  .form-group > div {
    width: 330px;
  }
  /* 送信ボタン */
  .submit-area {
    margin-top: 88px;
    text-align: center;
    background: transparent !important;
  }

  .submit-btn {
    width: 70%;
    padding: 20px 0 !important;
    border-radius: 999px !important;
    border: none;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    background-color: #ffffff;
    color: #0f172a;
    transition: opacity 0.2s, transform 0.1s;
    text-align: center;
  }

  .submit-btn:not(:disabled):active {
    transform: translateY(1px);
  }
  @media (max-width: 500px) {
    .submit-btn {
      font-size: 1.2rem;
    }
  }

  /* 各CTAボタン共通 */

  .fixed-cta-wrap {
    flex-direction: column; /* ← 横並びに */
    justify-content: center;
    row-gap: 20px;
    padding: 20px 20px;
    background-color: rgba(15, 23, 42, 0.7);

    /* side-cta */

    /* オートレイアウト */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 10px;
    position: fixed;
    width: 240px;
    height: 188px;
    right: 0;
    top: 60%;
    background: rgba(235, 235, 235, 0.9);
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
    border-radius: 20px 0px 0px 20px;
    left: auto;
  }

  /* 各ボタンの高さを少し低く（PC向けに調整） */
  /* .cta-btn {
    height: 80px;
    margin: 0 6px;
    justify-content: center; /* PCは全部中央寄せで綺麗に */
}
*/

  /* スマホの2段構成を解除 */
  .cta-full {
  width: auto;
}
.cta-row {
  display: contents; /* LINEとメールを独立させて横並びに */
}
.cta-img-line,
.cta-img-mail {
  height: auto; /* ← まずリセット */
  max-height: 60px;
}

/*form*/
.form-group {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  gap: 10px;
  align-items: center;
}

@media (max-width: 500px) {
  .form-group {
    display: block;
  }
}

.form-area {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8em;
}
.form-group label {
  line-height: 1.5em;
  line-height: 1.5em;
  font-size: 1.2rem;
}
span.required-badge {
  margin-top: 5px;
}
span.mwform-tel-field {
  width: 100%;
  display: flex;
  gap: 5px;
  align-items: center;
}
.form-group textarea,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="button"],
.form-group input[type="submit"] {
  font-size: 1.2rem;
  padding: 10px;
  width: 100%;
}
.form-group input.tel {
  width: 30% !important;
}
span.mwform-checkbox-field-text {
  font-size: 1.4rem !important;
  white-space: nowrap;
}

@media (max-width: 500px) {
  span.mwform-checkbox-field-text {
    font-size: 1.1rem !important;
  }
}
input#consent-1 {
  /* padding: 5px; */
  width: 30px;
  height: 30px;
  border-radius: 5px;
}
.mwform-checkbox-field label,
.mwform-radio-field label {
  display: flex;
  align-items: center;
}
/* 戻るボタン */
.submit-area {
  margin-top: 28px;
  text-align: center;
  background: transparent !important;
}
.submit-btn-back {
  width: 80%;
  padding: 20px 0;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background-color: #bbcddb;
  color: #0f172a;
  transition: opacity 0.2s, transform 0.1s;
  text-align: center;
  margin: 30px;
  max-width: 490px;
  margin-bottom: 30px;
}
.submit-btn-back:disabled {
  cursor: default;
  box-shadow: none;
}
.submit-btn-back:not(:disabled):active {
  transform: translateY(1px);
}

/*@media (min-width: 1024px) {
    .submit-btn-back {
        width: 70%;
            max-width: 490px;
        padding: 20px 0 !important;
        border-radius: 999px !important;
        border: none;
        font-size: 20px;
        font-weight: 700;
        cursor: pointer;
    background-color: #bbcddb;
        color: #0f172a;
        transition: opacity 0.2s, transform 0.1s;
        text-align: center;
        margin-bottom: 20px;
    }
}*/

.page-template-page-contact_thanks main,
.page-template-page-contact_thanks main,
.page-template-page-contact_thanks main {
  background: #fff;
}
@media (max-width: 500px) {
  .required-badge {
    margin-bottom: 8px;
  }
  .form-area {
    max-width: 90%;
  }
  .submit-btn-back {
    border-radius: 0;
    padding: 8px 0;
    font-size: 0.9rem;
  }
}
