/* =========================
   IT PASS LP (page /itpass) - CLEAN
   ========================= */

/* ヘッダー高さ（必要ならここだけ変更） */
:root {
    --itpass-header-h: 72px;
}

@media (max-width: 768px) {
    :root {
        --itpass-header-h: 56px;
    }
}

/* フォント（LP内だけ） */
.itpass-hero,
.itpass-section {
    font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI",
        "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

/* =========================
   Base
========================= */
.itpass-wrap {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

.itpass-section {
    padding: clamp(48px, 6vw, 88px) 0;
}

.itpass-section--light {
    background: #F2F7F5;
}

.itpass-h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    color: #123D35;
    letter-spacing: .02em;
    margin: 0 0 16px;
}

.itpass-h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #123D35;
}

.itpass-p {
    margin: 0;
    color: #24453F;
    line-height: 1.9;
}

/* =========================
   Buttons (共通)
========================= */
.itpass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    transition: transform .12s ease, filter .12s ease;
}

.itpass-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.itpass-btn--primary {
    background: #E67E22;
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

/* FAQボタンなど“白ボタン”を見やすく */
.itpass-btn--ghost {
    background: #ffffff;
    color: #123D35;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.itpass-btn--ghost:hover {
    background: #f3f7f6;
    color: #123D35;
}

/* =========================
   HERO
========================= */
.itpass-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: calc(100vh - var(--itpass-header-h));
    overflow: hidden;
    background: #0E2F2A;
    isolation: isolate;
    /* z-index事故防止 */
}

/* 背景 */
.itpass-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    z-index: 0;
}

/* 読みやすさオーバーレイ（PC） */
.itpass-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(16, 48, 43, 0.84) 0%,
            rgba(16, 48, 43, 0.62) 42%,
            rgba(16, 48, 43, 0.22) 70%,
            rgba(16, 48, 43, 0.10) 100%);
    z-index: 1;
    pointer-events: none;
}

/* 中身 */
.itpass-hero__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 28px);
    display: flex;
    align-items: center;
    /* PCは中央 */
    justify-content: flex-start;
}

/* テキスト塊 */
.itpass-hero__content {
    width: min(620px, 92%);
    color: #fff;
}

/* 見出し周り */
.itpass-hero__kicker {
    margin: 0 0 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, .88);
    letter-spacing: .08em;
}

.itpass-hero__title {
    margin: 0 0 12px;
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: .02em;
    white-space: nowrap;
    /* PCは折り返さない */
    text-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}

.itpass-hero__badge {
    display: inline-block;
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(47, 125, 110, .55);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.itpass-hero__lead {
    margin: 0 0 22px;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 700;
    line-height: 1.75;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 6px 18px rgba(0, 0, 0, .40);
}

/* =========================
   HERO 位置：黄金比っぽく自動調整（③）
========================= */

/* PC〜タブレット：中央より少し下に“自然に”配置 */
.itpass-hero__inner {
    align-items: center;
    /* 基準は中央 */
}

/* 画面の高さに応じて下げ量が変わる（下げすぎない・上がりすぎない） */
.itpass-hero__content {
    transform: translateY(clamp(80px, 20vh, 260px));
}


/* SP：下寄せは維持しつつ、下げ量を少し抑える */
@media (max-width: 640px) {

    /* 背景位置 */
    .itpass-hero__bg {
        background-position: 58% center;
        transform: scale(1.08);
    }

    /* 下寄せをやめて中央基準に戻す */
    .itpass-hero__inner {
        align-items: center;
    }

    /* 画面の55%くらいの位置に配置 */
    .itpass-hero__content {
        transform: translateY(40vh);
    }

    /* ボタン縦積み */
    .itpass-hero__cta .itpass-btn {
        width: 100%;
    }

    /* 暗幕は縦グラデ */
    .itpass-hero::before {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, .72) 0%,
                rgba(0, 0, 0, .58) 55%,
                rgba(0, 0, 0, .35) 100%);
    }
}

/* CTA */
.itpass-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* スクロール誘導 */
.itpass-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .20);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2;
}

.itpass-hero__scroll span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, .9);
    border-bottom: 2px solid rgba(255, 255, 255, .9);
    transform: rotate(45deg);
    animation: itpassBounce 1.6s infinite;
}

@keyframes itpassBounce {

    0%,
    100% {
        transform: translateY(-2px) rotate(45deg);
        opacity: .9;
    }

    50% {
        transform: translateY(4px) rotate(45deg);
        opacity: .6;
    }
}

/* =========================
   HERO - SP tuning
========================= */
@media (max-width: 640px) {

    /* SPはタイトル折り返しOK */
    .itpass-hero__title {
        white-space: normal;
        font-size: clamp(26px, 6vw, 34px);
    }

    /* 背景：女性の位置 → ここだけ調整 */
    .itpass-hero__bg {
        background-position: 58% center;
        transform: scale(1.08);
    }

    /* SPは下寄せ */
    .itpass-hero__inner {
        align-items: flex-end;
        padding-bottom: 36px;
    }

    /* ボタン縦積み */
    .itpass-hero__cta .itpass-btn {
        width: 100%;
    }

    /* SPは暗幕を縦グラデに */
    .itpass-hero::before {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, .72) 0%,
                rgba(0, 0, 0, .58) 55%,
                rgba(0, 0, 0, .35) 100%);
    }
}

/* =========================
   Cards / Outline
========================= */
.itpass-cards {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.itpass-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px 18px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    border: 1px solid rgba(18, 61, 53, .08);
}

.itpass-outline {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: start;
    margin-top: 22px;
}

.itpass-dl {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(18, 61, 53, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    margin: 0;
}

.itpass-dl>div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(18, 61, 53, .10);
}

.itpass-dl>div:last-child {
    border-bottom: none;
}

.itpass-dl dt {
    font-weight: 900;
    color: #123D35;
}

.itpass-dl dd {
    margin: 0;
    color: #24453F;
}

.itpass-price {
    border-radius: 18px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(47, 125, 110, .20), rgba(47, 125, 110, .08));
    border: 1px solid rgba(47, 125, 110, .28);
}

.itpass-price__label {
    margin: 0 0 6px;
    font-weight: 900;
    color: #123D35;
}

.itpass-price__main {
    margin: 0 0 8px;
    color: #123D35;
    line-height: 1;
}

.itpass-price__num {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: .01em;
}

.itpass-price__yen {
    font-size: 16px;
    font-weight: 800;
    margin-left: 6px;
}

.itpass-price__note {
    margin: 0;
    color: #24453F;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================
   CTA Section
========================= */
.itpass-section--cta {
    background: linear-gradient(135deg, #10302B, #1F4F46);
}

.itpass-cta {
    text-align: center;
}

.itpass-h2--white {
    color: #fff;
}

.itpass-p--white {
    color: rgba(255, 255, 255, .88);
}

.itpass-form-placeholder {
    margin-top: 18px;
    border-radius: 18px;
    padding: 18px;
    border: 1px dashed rgba(255, 255, 255, .35);
}

/* =========================
   Empathy / Problem（共感・問題提起）
========================= */
.itpass-empathy__kicker {
    margin: 0 0 10px;
    font-weight: 900;
    letter-spacing: .06em;
    color: rgba(18, 61, 53, .85);
}

.itpass-empathy__grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.itpass-empathy__card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(18, 61, 53, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.itpass-empathy__problem {
    margin-top: 18px;
    border-radius: 18px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(47, 125, 110, .16), rgba(47, 125, 110, .06));
    border: 1px solid rgba(47, 125, 110, .22);
}

.itpass-empathy__problem-title {
    margin: 0 0 6px;
    font-weight: 900;
    color: #123D35;
}

.itpass-empathy__problem-text {
    margin: 0;
    color: #24453F;
    line-height: 1.9;
    font-weight: 800;
}

.itpass-empathy__problem-text span {
    color: #123D35;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.itpass-empathy__cta {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .itpass-empathy__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .itpass-empathy__cta .itpass-btn {
        width: 100%;
    }
}



/* =========================
   Benefit（得られること）
========================= */
.itpass-benefit__kicker {
    margin: 0 0 10px;
    font-weight: 900;
    letter-spacing: .06em;
    color: rgba(18, 61, 53, .85);
}

.itpass-benefit__grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.itpass-benefit__item {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(18, 61, 53, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.itpass-benefit__message {
    margin-top: 24px;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(16, 48, 43, .12), rgba(16, 48, 43, .04));
    border: 1px solid rgba(16, 48, 43, .18);
    font-weight: 800;
    line-height: 1.9;
    color: #123D35;
}

.itpass-benefit__message span {
    text-decoration: underline;
    text-underline-offset: 6px;
}

@media (max-width: 900px) {
    .itpass-benefit__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Philosophy（少人数制の理由）
========================= */
.itpass-philosophy__kicker {
    margin: 0 0 8px;
    font-weight: 900;
    letter-spacing: .08em;
    color: rgba(18, 61, 53, .75);
}

.itpass-philosophy__body {
    margin-top: 20px;
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.itpass-philosophy__body strong {
    color: #E67E22;
    font-weight: 900;
}

.itpass-philosophy__highlight {
    margin-top: 26px;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg,
            rgba(230, 126, 34, .15),
            rgba(230, 126, 34, .05));
    border: 1px solid rgba(230, 126, 34, .25);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.7;
    color: #123D35;
}


/* =========================
   Compare（独学との違い）
========================= */

.itpass-compare__kicker {
    margin: 0 0 8px;
    font-weight: 900;
    letter-spacing: .08em;
    color: rgba(18, 61, 53, .75);
}

.itpass-compare__table {
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.itpass-compare__row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
    gap: 12px;
    align-items: stretch;
}

.itpass-compare__row>div {
    background: #fff;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(18, 61, 53, .08);
    font-size: 14px;
    line-height: 1.6;
}

.itpass-compare__head>div {
    font-weight: 900;
    text-align: center;
    background: rgba(18, 61, 53, .05);
}

.itpass-compare__label {
    font-weight: 800;
    background: rgba(18, 61, 53, .05) !important;
}

.itpass-compare .is-highlight {
    border: 2px solid #E67E22;
    background: linear-gradient(135deg,
            rgba(230, 126, 34, .12),
            rgba(230, 126, 34, .05));
    font-weight: 800;
}

.itpass-compare__note {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(18, 61, 53, .75);
}

/* SP */
@media (max-width: 900px) {
    .itpass-compare__row {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Compare Section
========================= */

.itpass-compare__table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.itpass-compare__row {
    display: grid;
    grid-template-columns: 140px 1fr 1fr 1.2fr;
    min-width: 720px;
    /* ← スマホ時の横幅確保 */
    border-bottom: 1px solid #e5e5e5;
}

.itpass-compare__row>div {
    padding: 14px 10px;
    font-size: 14px;
}

.itpass-compare__head {
    font-weight: 700;
    background: #f5f7f6;
}

.itpass-compare__label {
    font-weight: 700;
}

.itpass-compare__row .is-highlight {
    background: #e7f4f0;
    font-weight: 700;
}

/* =========================
   Reason
========================= */
.itpass-reason {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.itpass-reason__item {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    border: 1px solid rgba(18, 61, 53, .08);
}

.itpass-reason__item h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #123D35;
}

.itpass-reason__item p {
    margin: 0;
    line-height: 1.8;
    color: #24453F;
}

/* =========================
   Flow（受講の流れ）
========================= */
.itpass-flow__lead {
    margin: 0 0 22px;
    max-width: 760px;
}

.itpass-flow {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.itpass-flow__item {
    background: #fff;
    border-radius: 18px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(18, 61, 53, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.itpass-flow__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
}

.itpass-flow__num {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: rgba(230, 126, 34, .18);
    color: #E67E22;
    border: 1px solid rgba(230, 126, 34, .25);
}

.itpass-flow__title {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: #123D35;
    line-height: 1.35;
}

.itpass-flow__text {
    margin: 0 0 12px;
    color: #24453F;
    line-height: 1.85;
}

.itpass-flow__list {
    margin: 0;
    padding-left: 1.2em;
    color: #24453F;
    line-height: 1.8;
}

.itpass-flow__item--cta {
    background: linear-gradient(135deg, rgba(16, 48, 43, .08), rgba(16, 48, 43, .02));
}

.itpass-flow__cta {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================
   Curriculum（半年カリキュラム）
========================= */
.itpass-curriculum__lead {
    max-width: 860px;
    margin: 0 0 22px;
}

.itpass-curriculum__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.itpass-curriculum__item {
    background: #fff;
    border-radius: 18px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(18, 61, 53, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.itpass-curriculum__top {
    display: grid;
    gap: 8px;
    margin: 0 0 10px;
}

.itpass-curriculum__month {
    display: inline-block;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
    color: #E67E22;
    background: rgba(230, 126, 34, .14);
    border: 1px solid rgba(230, 126, 34, .22);
}

.itpass-curriculum__title {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: #123D35;
    line-height: 1.35;
}

.itpass-curriculum__list {
    margin: 0;
    padding-left: 1.2em;
    color: #24453F;
    line-height: 1.8;
}

.itpass-curriculum__item.is-highlight {
    border: 2px solid #E67E22;
    background: linear-gradient(135deg, rgba(230, 126, 34, .10), rgba(230, 126, 34, .04));
}

.itpass-curriculum__cta {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* responsive */
@media (max-width: 900px) {
    .itpass-curriculum__grid {
        grid-template-columns: 1fr;
    }

    .itpass-curriculum__cta .itpass-btn {
        width: 100%;
    }
}

/* =========================
   Post-Path（合格後の道）
========================= */
.itpass-postpath__kicker {
    margin: 0 0 8px;
    font-weight: 900;
    letter-spacing: .06em;
    color: rgba(18, 61, 53, .85);
}

.itpass-postpath__grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.itpass-postpath__item {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(18, 61, 53, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.itpass-postpath__item--highlight {
    border: 2px solid #E67E22;
    background: linear-gradient(135deg, rgba(230, 126, 34, .10), rgba(230, 126, 34, .04));
    font-weight: 800;
}

.itpass-postpath__message {
    margin-top: 24px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(47, 125, 110, .12), rgba(47, 125, 110, .04));
    border: 1px solid rgba(47, 125, 110, .22);
    font-weight: 800;
    line-height: 1.8;
    color: #123D35;
}

.itpass-postpath__message span {
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* SP対応 */
@media (max-width: 900px) {
    .itpass-postpath__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Closing CTA + Outline (merged)
========================= */
.itpass-closing {
    background: linear-gradient(135deg, #10302B, #1F4F46);
    text-align: center;
}

.itpass-closing__inner {
    max-width: 980px;
    margin: 0 auto;
}

.itpass-closing__kicker {
    margin: 0 0 10px;
    font-weight: 900;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .75);
}

.itpass-closing__highlight {
    margin: 22px auto;
    padding: 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .25);
    font-weight: 700;
    line-height: 1.8;
    color: #fff;
    max-width: 820px;
}

/* 講座概要（暗背景の上に“カード”として配置） */
.itpass-closing__outline {
    margin: 26px auto 0;
    max-width: 980px;
}

.itpass-closing__h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 900;
    color: rgba(255, 255, 255, .92);
    letter-spacing: .04em;
}

/* 既存 itpass-outline を暗背景上に最適化 */
.itpass-outline--on-dark {
    margin: 0 auto;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
}

/* 既存カード類の“白さ”を保つ（中身は白カードで読みやすく） */
.itpass-outline--on-dark .itpass-dl,
.itpass-outline--on-dark .itpass-price {
    box-shadow: none;
    /* 二重影を防ぐ */
}

.itpass-closing__cta {
    margin-top: 22px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.itpass-closing__note {
    margin-top: 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
}

@media (max-width: 900px) {
    .itpass-outline--on-dark {
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .itpass-closing__cta .itpass-btn {
        width: 100%;
    }

    .itpass-closing__highlight {
        padding: 18px;
    }

    .itpass-closing__outline {
        margin-top: 22px;
    }
}


/* =========================
   FAQ（簡易）
========================= */
.itpass-faq dt {
    font-weight: 800;
    margin-top: 18px;
    cursor: pointer;
    position: relative;
}

.itpass-faq dt::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 18px;
    font-weight: 700;
}

.itpass-faq dd {
    display: none;
    margin-top: 8px;
    line-height: 1.8;
}

/* =========================
   Responsive (まとめ)
========================= */
@media (max-width: 900px) {
    .itpass-cards {
        grid-template-columns: 1fr;
    }

    .itpass-outline {
        grid-template-columns: 1fr;
    }

    .itpass-dl>div {
        grid-template-columns: 96px 1fr;
    }

    .itpass-reason {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .itpass-flow__item {
        padding: 16px;
    }

    .itpass-flow__title {
        font-size: 17px;
    }

    .itpass-flow__cta .itpass-btn {
        width: 100%;
    }
}


/* =========================
   CF7 (itpass only)
========================= */
.itpass-form {
    text-align: left;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: 18px;
    margin-top: 18px;
}

.itpass-form__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}

.itpass-form__lead {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.8;
}

.itpass-form__row {
    margin-top: 14px;
}

.itpass-form__label {
    display: block;
    margin: 0 0 6px;
    font-weight: 800;
    color: rgba(255, 255, 255, .92);
}

.itpass-form__req {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: rgba(230, 126, 34, .22);
    color: #fff;
    border: 1px solid rgba(230, 126, 34, .35);
}

.itpass-form__opt {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, .70);
}

.itpass-form__field input[type="text"],
.itpass-form__field input[type="email"],
.itpass-form__field input[type="tel"],
.itpass-form__field select,
.itpass-form__field textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .95);
    padding: 12px 12px;
    line-height: 1.6;
}

.itpass-form__field textarea {
    min-height: 120px;
}

.itpass-form__hint {
    margin: 8px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.7;
}

/* radio */
.itpass-form__radios .wpcf7-list-item {
    margin: 0 14px 8px 0;
    display: inline-block;
    color: rgba(255, 255, 255, .92);
}

.itpass-form__radios input {
    margin-right: 6px;
}

/* acceptance */
.itpass-form__agree {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.itpass-form__agree label {
    color: rgba(255, 255, 255, .92);
}

.itpass-form__small {
    margin: 10px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.7;
}

.itpass-form__actions {
    margin-top: 16px;
}

/* CF7 response */
.itpass-form .wpcf7-not-valid-tip {
    color: #ffd2d2;
    font-weight: 800;
    margin-top: 6px;
}

.itpass-form .wpcf7-response-output {
    margin: 16px 0 0;
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
}

/* thanks block */
.itpass-thanks {
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .20);
    color: rgba(255, 255, 255, .92);
}

.itpass-thanks__title {
    margin: 0 0 8px;
    font-weight: 900;
    color: #fff;
}

.itpass-thanks__text {
    margin: 0;
    line-height: 1.85;
}

.itpass-thanks__box {
    margin-top: 12px;
}

.itpass-thanks__small {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.7;
}

/* =========================
   CF7 Thanks Page (A案)
   /itpass-thanks/
========================= */

/* サンクスページ全体：LPと同じ空気感 */
.page-itpass-thanks .site-content,
.page-itpass-thanks main,
.page-itpass-thanks .l-main {
    /* テーマ差分吸収：とりあえず余白を確保 */
    padding: clamp(32px, 6vw, 72px) 0;
}

/* サンクスの外枠 */
.itpass-thanks {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(18, 61, 53, .10);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
    color: #123D35;
}

/* タイトル */
.itpass-thanks__title {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.25;
}

/* メイン文 */
.itpass-thanks__text {
    margin: 0 0 18px;
    color: #24453F;
    line-height: 1.9;
    font-size: 16px;
}

/* 強調 */
.itpass-thanks__text strong {
    font-weight: 900;
    color: #123D35;
}

/* 注意のボックス */
.itpass-thanks__box {
    margin: 16px 0 0;
    padding: 16px 16px;
    border-radius: 16px;
    background: #F2F7F5;
    border: 1px solid rgba(18, 61, 53, .10);
}

.itpass-thanks__small {
    margin: 0;
    color: #24453F;
    line-height: 1.8;
    font-size: 13.5px;
}

/* CTA */
.itpass-thanks__cta {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

/* ボタン幅：SPは100% */
.itpass-thanks__cta .itpass-btn {
    min-width: 240px;
}

@media (max-width: 640px) {
    .itpass-thanks {
        width: calc(100% - 28px);
        padding: 18px;
        border-radius: 18px;
    }

    .itpass-thanks__cta .itpass-btn {
        width: 100%;
        min-width: 0;
    }
}

/* =========================
   CF7 (任意) レスポンス出力の見た目も整える
   ※ サンクス遷移前に一瞬表示される場合に備えて
========================= */
.wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 14px 14px !important;
    border-radius: 14px;
    line-height: 1.7;
    font-weight: 700;
}

/* 成功 */
.wpcf7 form.sent .wpcf7-response-output {
    border: 1px solid rgba(47, 125, 110, .35) !important;
    background: rgba(47, 125, 110, .08);
    color: #123D35;
}

/* エラー */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    border: 1px solid rgba(230, 126, 34, .35) !important;
    background: rgba(230, 126, 34, .10);
    color: #123D35;
}