/* ------------------------------------
  LINE矯正相談（2026-09 追加）
------------------------------------ */

.sec_line {
    background: #f2ebeb;
    padding: 40px 20px 44px;
}

.sec_line .sec_inner {
    max-width: 1000px;
}

/* 見出し */
.sec_line .line_head {
    margin-bottom: 16px;
    text-align: center;
}

.sec_line .line_fuki {
    background: #fff;
    border: 2px solid #66aca8;
    border-radius: 40px;
    color: #66aca8;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    padding: 5px 24px;
    position: relative;
}

.sec_line .line_fuki::after {
    border-color: #66aca8 transparent transparent;
    border-style: solid;
    border-width: 12px 8px 0;
    bottom: -12px;
    content: "";
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.sec_line .line_title {
    font-weight: 700;
    line-height: 1.35;
}

.sec_line .line_title_sub {
    align-items: center;
    display: flex;
    font-size: 2.8rem;
    gap: 12px;
    justify-content: center;
}

.sec_line .line_title_sub .icon_line {
    height: 44px;
    width: 44px;
}

.sec_line .line_title_main {
    display: block;
    font-size: 3.6rem;
}

.sec_line .line_title_main em {
    color: #66aca8;
    font-size: 5.2rem;
    font-style: normal;
    line-height: 1;
    margin-right: 4px;
}

.sec_line .line_lead {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: center;
}

.sec_line .line_lead br {
    display: none;
}

.sec_line .line_lead span {
    display: inline-block;
}

.sec_line .line_lead b {
    background: linear-gradient(transparent 62%, #d9efed 62%);
    color: #3e8581;
}

/* ステップ */
.sec_line .line_body {
    align-items: stretch;
    display: grid;
    gap: 12px 48px;
    grid-template-areas:
        "s1 phone"
        "s2 phone"
        "s3 phone";
    grid-template-columns: 1fr 270px;
    grid-template-rows: repeat(3, 1fr);
}

.sec_line .line_step {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(102, 172, 168, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 26px;
}

.sec_line .line_step.s1 { grid-area: s1; }
.sec_line .line_step.s2 { grid-area: s2; }
.sec_line .line_step.s3 { grid-area: s3; }

.sec_line .step_head {
    align-items: center;
    display: flex;
    gap: 16px;
    margin-bottom: 4px;
}

.sec_line .step_num {
    align-items: center;
    line-height: 1;
    background-image: linear-gradient(to bottom, #8cd6d2 3%, #66aca8 98%);
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 700;
    gap: 4px;
    letter-spacing: 0.1em;
    padding: 5px 12px;
}

.sec_line .step_num span {
    font-family: "Noto Serif JP", serif;
    font-size: 2rem;
    letter-spacing: 0;
    line-height: 1;
    position: relative;
    top: -0.06em;
}

.sec_line .step_tit span {
    display: inline-block;
}

.sec_line .step_tit {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
}

.sec_line .step_txt {
    font-size: 1.4rem;
    line-height: 1.7;
}

.sec_line .step_ex {
    background: #eff6f6;
    border-radius: 6px;
    display: flex;
    font-size: 1.3rem;
    gap: 12px;
    line-height: 1.6;
    margin-top: 6px;
    padding: 4px 14px;
}

.sec_line .step_ex dd span {
    display: inline-block;
    margin-right: 1.2em;
}

.sec_line .step_ex dt {
    color: #66aca8;
    font-weight: 700;
}

.sec_line .line_phone {
    align-self: center;
    grid-area: phone;
}

.sec_line .line_phone img {
    border-radius: 12px;
    display: block;
    height: auto;
    width: 100%;
}

/* CTA */
.sec_line .line_cv {
    margin-top: 22px;
}

.sec_line .line_cv .muryou2 {
    padding-bottom: 10px;
}

.sec_line .line_cv .cv_btn {
    margin: 0 auto;
}

/* SP追従のLINEボタン：既存の予約導線と同じティールに統一
   （2026-10-01 先方FB：LINE特有の緑が強すぎて違和感）
   .cv_btn の既定グラデーション（#8cd6d2→#66aca8）をそのまま使うため色指定を持たない。
   公式アイコンは白ロゴをティール背景に直接載せる（白台座は不要）。 */

.icon_wrap {
    background: transparent;
    display: inline-flex;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.icon_wrap img {
    display: block;
}

/* SP追従CTA：2分割 */
.floating_btn .cv_btn.cv_split {
    width: 94%;
}

.cv_split .cv_split_btns {
    display: flex;
    gap: 8px;
}

.cv_split .cv_split_btns a {
    flex-direction: column;
    font-size: 1.4rem;
    gap: 2px;
    height: 64px;
    letter-spacing: 0.04em;
    line-height: 1.35;
    padding: 0 6px;
}

.floating_btn .cv_split .cv_split_btns a {
    padding-left: 6px;
}

.cv_split .cv_split_btns a::after {
    display: none;
}

.cv_split .cv_split_btns a .icon {
    flex-shrink: 0;
    height: 22px;
    position: relative;
    width: 22px;
    z-index: 2;
}

.cv_split .cv_split_btns a.btn_line {
    flex-direction: row;
    gap: 8px;
    text-align: left;
}

.cv_split .cv_split_btns a.btn_line .icon {
    height: 40px;
    width: 40px;
}

.cv_split .btn_line {
    flex: 1.7;
}

.cv_split .cv_split_btns a.btn_line {
    font-size: 1.3rem;
    letter-spacing: 0;
}

.cv_split .btn_line small {
    font-size: 1.1rem;
    font-weight: 700;
}

.cv_split .btn_web {
    flex: 1;
}

.cv_split .cv_split_btns a.btn_web {
    background-image: none;
    background-color: #fff;
    border: 2px solid #66aca8;
    color: #66aca8;
}

.cv_split .cv_split_btns a.btn_web::before {
    background-image: none;
    background-color: #eff6f6;
}

@media screen and (max-width: 960px) {
    .sec_line .line_body {
        grid-template-areas:
            "s1"
            "s2"
            "phone"
            "s3";
        grid-template-columns: 1fr;
    }

    .sec_line .line_body {
        grid-template-rows: none;
    }

    .sec_line .line_phone {
        margin: 4px auto;
        max-width: 300px;
        width: 80%;
    }
}

@media screen and (max-width: 600px) {
    .sec_line {
        padding: 28px 12px 28px;
    }

    .sec_line .line_head {
        margin-bottom: 10px;
    }

    .sec_line .line_fuki {
        font-size: 1.3rem;
        margin-bottom: 12px;
        padding: 3px 16px;
    }

    .sec_line .line_fuki::after {
        border-width: 8px 6px 0;
        bottom: -8px;
    }

    .sec_line .line_title {
        line-height: 1.35;
    }

    .sec_line .line_title_sub {
        font-size: 2rem;
        gap: 8px;
    }

    .sec_line .line_title_sub .icon_line {
        height: 40px;
        width: 40px;
    }

    .sec_line .line_title_main {
        font-size: 2.6rem;
    }

    .sec_line .line_title_main em {
        font-size: 3.8rem;
    }

    .sec_line .line_lead {
        font-size: 1.3rem;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    /* STEP1〜3の合計高さをLINE画面画像の高さに揃える */
    .sec_line .line_body {
        align-items: stretch;
        gap: 4px 8px;
        grid-template-areas:
            "s1 phone"
            "s2 phone"
            "s3 phone";
        grid-template-columns: 1fr 56%;
        grid-template-rows: repeat(3, 1fr);
    }

    .sec_line .line_phone {
        align-self: center;
        margin: 0;
        max-width: none;
        width: 100%;
    }

    .sec_line .line_step {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 6px 10px;
    }

    .sec_line .step_head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 0;
    }

    .sec_line .step_num {
        font-size: 1rem;
        padding: 3px 8px;
    }

    .sec_line .step_num span {
        font-size: 1.4rem;
    }

    .sec_line .step_tit {
        font-size: 1.35rem;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.4;
    }

    .sec_line .step_txt,
    .sec_line .step_ex {
        display: none;
    }

    .sec_line .line_cv {
        margin-top: 12px;
    }

    .sec_line .line_cv .muryou2 {
        padding: 0 0 6px;
    }
}

/* SP追従CTA：白背景エリアを圧縮＋半透明化（2026-09-30 オーナーFB）
   リード文は全幅の帯（淡ティール背景）、ボタンは48px。バー計84px。
   LINEアイコンはボタン高さを優先し28px・白台座なし
   （LINEガイドラインのMobile最小40pxは外れる。2026-09-30 オーナー判断）。
   ※本番の style.css には html{font-size:62.5%} が無く 1rem=16px のため px 指定。 */
.floating_btn {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 0 0 env(safe-area-inset-bottom, 0px);
}

/* リード文：全幅の帯 */
.floating_btn .cv_split_lead {
    background: #eff6f6;
    color: #4f7f7c;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
    margin: 0;
    padding: 5px 10px;
    text-align: center;
}

.floating_btn .inner {
    padding: 6px 5px;
}

.floating_btn .cv_split .cv_split_btns a {
    font-size: 14px;
    height: 48px;
    line-height: 1.15;
}

/* WEB予約はボーダー2px分を含めて高さを揃える */
.floating_btn .cv_split .cv_split_btns a.btn_web {
    box-sizing: border-box;
}

.floating_btn .cv_split .cv_split_btns a.btn_web .icon {
    height: 18px;
    width: 18px;
}

.floating_btn .cv_split .cv_split_btns a.btn_line {
    font-size: 14px;
    gap: 7px;
    line-height: 1.15;
}

.floating_btn .cv_split .cv_split_btns a.btn_line .icon {
    height: 28px;
    width: 28px;
}

.floating_btn .cv_split .btn_line small {
    display: block;
    font-size: 12px;
    line-height: 1.15;
}

/* 白台座は外し、ティール背景に白ロゴを直接載せる */
.floating_btn .icon_wrap {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

/* style.css の max-width:600px 内で padding が 4vw に戻るため、同条件で上書き */
@media screen and (max-width: 600px) {
    .floating_btn {
        padding: 0 0 env(safe-area-inset-bottom, 0px);
    }

    .floating_btn .cv_split_lead {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
        margin: 0;
        padding: 5px 10px;
    }

    .floating_btn .inner {
        padding: 6px 5px;
    }

    .floating_btn .cv_split .cv_split_btns a {
        font-size: 14px;
        height: 48px;
        line-height: 1.15;
    }

    .floating_btn .cv_split .cv_split_btns a.btn_web .icon {
        height: 18px;
        width: 18px;
    }

    .floating_btn .cv_split .cv_split_btns a.btn_line {
        font-size: 14px;
    }

    .floating_btn .cv_split .btn_line small {
        font-size: 12px;
        line-height: 1.15;
    }
}


/* ============================================================
   2026-10-03 トーン調整（構成・文言はそのまま。サイトの作法に寄せる）
   - 背景: ヒーローと同色で一体化して見えるため白に（sec_invisa / sec_available と同じ）
   - 囲い: 角丸＋影のカードはサイトに無い → 角なし・1px #e5e5e5 罫線（料金表と同じ）
   - 番号: グラデの塗りラベル → 明朝の細字・ティール文字（Flowの番号と同じ作法）
   - 吹き出し: 角丸ピル → 角なしの細線囲み
   ============================================================ */
.sec_line { background: #fff; }
.sec_line .line_fuki {
    border-radius: 0;
    border-width: 1px;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
}
.sec_line .line_fuki::after { display: none; }
.sec_line .line_lead b { background: none; color: #66aca8; font-weight: 700; }
.sec_line .line_step {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    box-shadow: none;
}
.sec_line .step_num {
    background: none;
    border-radius: 0;
    color: #66aca8;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    padding-left: 0;
    padding-right: 0;
}
.sec_line .step_num span { font-size: 26px; font-weight: 200; margin-left: 2px; }
.sec_line .step_ex { background: #f8f8f8; border-radius: 0; }
.sec_line .line_phone img { border: none; border-radius: 0; }
/* フォントをセクション内で統一（見出しと同じ明朝。下のCTAはページ共通部品のため対象外） */
.sec_line .line_head,
.sec_line .line_head *,
.sec_line .line_lead,
.sec_line .line_lead *,
.sec_line .line_body,
.sec_line .line_body * { font-family: "Noto Serif JP", serif; }

/* STEPのデザイン強化（2026-10-03）
   左に番号パネル（サイトの淡いベージュ #f2ebeb を縦につなげてタイムライン化）＋右に本文。
   角丸・影は使わず、罫線と余白・明朝の大きな細字番号で格を出す */
.sec_line .line_body { row-gap: 0; }
.sec_line .line_step {
    align-content: center;
    background: #fff;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    column-gap: 28px;
    display: grid;
    grid-template-columns: 96px 1fr;
    padding: 22px 24px 22px 0;
    position: relative;
}
.sec_line .line_step.s1 { border-top: 1px solid #e5e5e5; }
.sec_line .line_step::before {
    background: #f2ebeb;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 96px;
}
.sec_line .line_step.s1::before, .sec_line .line_step.s2::before { bottom: -1px; }
.sec_line .step_head { display: contents; }
.sec_line .step_num {
    align-items: center;
    background: none;
    color: #66aca8;
    display: flex;
    flex-direction: column;
    font-size: 11px;
    font-weight: 400;
    grid-column: 1;
    grid-row: 1 / span 3;
    justify-content: center;
    letter-spacing: 0.24em;
    line-height: 1;
    padding: 0;
    position: relative;
    z-index: 1;
}
.sec_line .step_num span {
    display: block;
    font-size: 40px;
    font-weight: 200;
    letter-spacing: 0.02em;
    margin: 6px 0 0;
    top: 0;
}
.sec_line .step_tit {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    grid-column: 2;
    letter-spacing: 0.04em;
    line-height: 1.45;
    margin: 0 0 6px;
}
.sec_line .step_txt { color: #666; font-size: 14px; grid-column: 2; line-height: 1.8; }
.sec_line .step_ex {
    background: none;
    font-size: 13px;
    grid-column: 2;
    margin-top: 8px;
    padding: 0;
}
.sec_line .step_ex dt {
    border: 1px solid #66aca8;
    color: #66aca8;
    font-size: 11px;
    font-weight: 500;
    height: fit-content;
    line-height: 1.6;
    padding: 0 6px;
}
.sec_line .step_ex dd { color: #666; }
@media screen and (max-width: 600px) {
    .sec_line .line_step {
        column-gap: 8px;
        grid-template-columns: 40px 1fr;
        padding: 12px 2px 12px 0;
    }
    .sec_line .line_step::before { width: 40px; }
    .sec_line .step_num { font-size: 7px; letter-spacing: 0.12em; }
    .sec_line .step_num span { font-size: 22px; margin-top: 3px; }
    .sec_line .step_tit { font-size: 13px; letter-spacing: 0; line-height: 1.45; margin: 0; }
}
/* 区切りを明確に：STEPごとに独立したブロック（間隔＋全周の罫線） */
.sec_line .line_body { row-gap: 12px; }
.sec_line .line_step,
.sec_line .line_step.s1 { border: 1px solid #ddd3d3; }
.sec_line .line_step::before,
.sec_line .line_step.s1::before,
.sec_line .line_step.s2::before { bottom: 0; }
@media screen and (max-width: 600px) {
    .sec_line .line_body { row-gap: 6px; }
}
/* PCで1画面に収める・本文の1文字だけの折り返しを防ぐ */
@media screen and (min-width: 601px) {
    .sec_line .line_step { padding: 16px 20px 16px 0; }
    .sec_line .step_tit { font-size: 19px; margin-bottom: 4px; }
    .sec_line .step_txt { font-size: 13px; letter-spacing: 0.02em; line-height: 1.7; }
}
@media screen and (max-width: 600px) {
    .sec_line .line_step { column-gap: 6px; padding-right: 0; }
    .sec_line .step_tit { font-size: 12.5px; }
}
/* セクション内CTA：誘導文を小さく・明朝に揃え、STEPとの間隔を確保（ページ共通のCTAには影響させない） */
.sec_line .line_cv { margin-top: 40px; }
.sec_line .line_cv .muryou2 {
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
    letter-spacing: 0.06em;
    line-height: 1.5;
    margin-bottom: 12px;
}
.sec_line .line_cv .muryou2 span { font-size: inherit; }
@media screen and (max-width: 600px) {
    .sec_line .line_cv { margin-top: 24px; }
    .sec_line .line_cv .muryou2 { font-size: 14px; margin-bottom: 8px; }
}
.sec_line .line_cv .muryou2 { font-weight: 700; }

/* ============================================================
   装飾パターン（2026-10-03）。section に修飾クラスを1つ足すだけで切り替わる
   ・無印     … A：白背景＋罫線ブロック＋ベージュの番号帯（基本形）
   ・.deco-b … B：STEPとLINE画面を淡いベージュの面に載せ、番号帯をティールのグラデに反転
   ・.deco-c … C：番号を丸囲みにして点線でつなぐタイムライン＋四隅にサイトのストライプ装飾
   ============================================================ */
/* --- B --- */
.sec_line.deco-b .line_body { background: #f7f2f2; column-gap: 32px; padding: 20px 24px; }
.sec_line.deco-b .line_step,
.sec_line.deco-b .line_step.s1 { border: none; }
.sec_line.deco-b .line_step::before { background: linear-gradient(to bottom, #8cd6d2 3%, #66aca8 98%); }
.sec_line.deco-b .step_num { color: #fff; }
@media screen and (min-width: 601px) {
    .sec_line.deco-b .line_step { padding-top: 12px; padding-bottom: 12px; }
    .sec_line.deco-b .step_ex { font-size: 12px; }
    .sec_line.deco-b .step_ex dd span { margin-right: 0.8em; }
}
@media screen and (max-width: 600px) {
    .sec_line.deco-b .line_body { column-gap: 6px; padding: 6px; }
    .sec_line.deco-b .step_tit { font-size: 12px; }
}
/* --- C --- */
.sec_line.deco-c { overflow: hidden; position: relative; }
.sec_line.deco-c::before,
.sec_line.deco-c::after {
    background: url(../img/bg_stripe_green.svg) no-repeat center / contain;
    content: "";
    height: 220px;
    opacity: 0.35;
    position: absolute;
    width: 220px;
    z-index: 0;
}
.sec_line.deco-c::before { left: -60px; top: -60px; }
.sec_line.deco-c::after { bottom: -60px; right: -60px; }
.sec_line.deco-c .sec_inner { position: relative; z-index: 1; }
.sec_line.deco-c .line_body { row-gap: 12px; }
.sec_line.deco-c .line_step,
.sec_line.deco-c .line_step.s1 { background: #faf8f8; border: none; }
.sec_line.deco-c .line_step::before {
    background: none;
    border-left: 1px dashed #66aca8;
    bottom: -12px;
    left: 48px;
    top: 0;
    width: 0;
}
.sec_line.deco-c .line_step.s1::before { top: 50%; bottom: -12px; }
.sec_line.deco-c .line_step.s3::before { bottom: 50%; }
.sec_line.deco-c .step_num {
    align-self: center;
    background: #fff;
    border: 1px solid #66aca8;
    border-radius: 50%;
    height: 68px;
    justify-self: center;
    width: 68px;
}
.sec_line.deco-c .step_num span { font-size: 26px; margin-top: 2px; }
/* STEPの丸を真ん中寄りに（2026-10-07 先方FB：少し上・真ん中寄りに）
   丸をカード左端〜本文の中央へ（列の右寄せ＝左右余白28px）。点線も丸の中心に合わせる。
   丸の中の文字は字面の上下余白が揃うよう調整、「STEP」の字間で右に空く分は text-indent で相殺 */
.sec_line.deco-c .step_num { gap: 2px; justify-self: end; padding-bottom: 1px; text-indent: 0.24em; }
.sec_line.deco-c .step_num span { margin-top: 0; text-indent: 0; }
.sec_line.deco-c .line_step::before { left: 62px; }
@media screen and (max-width: 600px) {
    .sec_line.deco-c::before, .sec_line.deco-c::after { height: 120px; width: 120px; }
    .sec_line.deco-c .line_body { row-gap: 6px; }
    .sec_line.deco-c .line_step::before { left: 20px; bottom: -6px; }
    .sec_line.deco-c .line_step.s1::before { bottom: -6px; }
    .sec_line.deco-c .step_num { height: 36px; width: 36px; font-size: 6px; letter-spacing: 0.08em; }
    .sec_line.deco-c .step_num span { font-size: 16px; margin-top: 0; }
    .sec_line.deco-c .step_num { padding-bottom: 0; text-indent: 0.08em; }
    .sec_line.deco-c .line_step::before { left: 22px; }
}
