@charset "UTF-8";


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy-deep: #102a43;
    --navy: #1a3556;
    --navy-light: #2c4a6e;
    --navy-soft: #f0f4f9;
    --highlight-blue: #cfe3f5;
    --accent-gold: #c9a964;
    --accent-gold-light: #e0c585;
    --accent-green: #2d8659;
    --cta-orange: #ed7e2c;
    --cta-orange-hover: #d96a1d;
    --cta-orange-light: #f59440;
    --cta-gradient: linear-gradient(135deg, #f59440 0%, #ed7e2c 50%, #d96a1d 100%);
    --cta-gradient-hover: linear-gradient(135deg, #f0852e 0%, #d96a1d 50%, #b95a14 100%);
    --text-main: #1a3556;
    --text-body: #3a4a5e;
    --text-sub: #6b7a8a;
    --bg-cream: #f7f5f0;
    --bg-pale: #faf9f5;
    --bg-white: #ffffff;
    --border-light: #e6ebf2;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt";
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; position: relative; }

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    html { font-size: 16px; }
}

.section-tag {
    display: block; text-align: center;
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.15rem; color: #7d97b3;
    letter-spacing: 0.18em; margin-bottom: 20px; font-weight: 500;
}

.section-title {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600; font-size: 2.5rem;
    color: var(--navy); line-height: 1.5;
    letter-spacing: 0.04em; margin-bottom: 40px;
}

@media (max-width: 768px) {
    .section-title { font-size: 1.625rem; margin-bottom: 36px; }
}

/* ============================================
   HEADER
============================================ */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 100; border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 40px;
    max-width: 1600px; margin: 0 auto;
}

.header-left { display: flex; align-items: center; gap: 18px; margin-left: 6vw; /* PC: 10vw 右 → さらに 4vw 左へ戻す（R 文字を水色ハイライトに合わせる） */ }    /* 28→18 間隔狭く */
.header-logo-img { width: 134px; height: auto; }                    /* 110→134 大きく */
.logo-divider { width: 1px; height: 44px; background: var(--border-light); }
.logo-tagline { display: flex; flex-direction: column; gap: 3px; }
.logo-tagline-main {
    font-size: 1.125rem; font-weight: 700;     /* 1→1.125 大きく */
    color: var(--navy); letter-spacing: 0.05em;
}
.logo-tagline-sub {
    font-size: 0.9375rem;                       /* 0.8125→0.9375 */
    color: var(--text-sub); letter-spacing: 0.05em;
}

.header-right { display: flex; align-items: center; gap: 22px; }

/* 電話番号エリア (受話器マーク+フリーダイヤル付き) */
.header-tel-wrap {
    display: flex; align-items: center; gap: 10px;
    color: var(--navy);
}
.header-tel-icon {
    width: 26px; height: 26px;
    fill: var(--navy);
    flex-shrink: 0;
}
.header-tel-info {
    display: flex; flex-direction: column;
    align-items: flex-start;
}
.header-tel-number {
    font-family: 'Outfit', 'Roboto', sans-serif;
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--navy); letter-spacing: 0.02em;
    line-height: 1;
}
.header-tel-meta {
    display: flex; align-items: center; gap: 8px;
    margin-top: 6px;
}
.header-tel-badge {
    display: inline-block;
    padding: 2px 9px;
    border: 1px solid var(--navy);
    border-radius: 11px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.05em;
    line-height: 1.4;
}
.header-tel-time {
    font-size: 0.75rem; color: var(--text-sub);
    letter-spacing: 0.05em;
}

.btn-cta-header {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--cta-gradient);
    color: #fff;
    font-size: 0.9375rem; font-weight: 700;
    padding: 14px 30px;
    border-radius: 999px;
    transition: all 0.25s ease;
    letter-spacing: 0.08em;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(237, 126, 44, 0.32),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 1px rgba(0,0,0,0.15);
}
.btn-cta-header:hover {
    background: var(--cta-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(237, 126, 44, 0.4);
}

@media (max-width: 1180px) { .header-tel-wrap { display: none; } }
@media (max-width: 1180px) {
    .logo-divider { display: none; }
    .logo-tagline { display: flex; flex-direction: column; gap: 0; }
    .logo-tagline-sub { display: none; }
    .logo-tagline-main { font-size: 0.6875rem; letter-spacing: 0.04em; line-height: 1.25; }
    .header-inner { padding: 10px 18px; gap: 6px; }
    .header-left { gap: 8px; margin-left: 0; }
    .btn-cta-header { padding: 10px 14px; font-size: 0.75rem; }
    .header-logo-img { width: 78px; }
    /* ロゴ横テキストの「専門」前改行をタブレットでも表示 */
    .logo-tagline-main .sp-only { display: inline; }
}

/* アコーディオン用要素は構造をそのまま流す (常にデフォルト全文表示) */
.strength-toggle { display: none; }
.strength-head { display: contents; }
.strength-body { display: contents; }

/* PC / SP 表示切替ユーティリティ */
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 968px) {
    .pc-only { display: none; }
    .sp-only { display: inline; }
}
/* 極小幅でのオーバーフロー防止 */
@media (max-width: 360px) {
    .hero-cta-text { font-size: 0.8125rem !important; }
    .hero-title { font-size: 1.375rem !important; }
}

/* ============================================
   HERO (1枚の写真の左余白に文字を載せる構成 / 境界なし)
   写真は元画像の左側を壁色で自然に延長したものを使用。
   100% 表示時、左半分が壁・右半分が医師となり、境界が一切見えない。
============================================ */
.hero {
    position: relative;
    margin-top: 78px;
    background: #f5eeeb; /* 写真左端と同色のフォールバック（境界レス） */
    overflow: hidden;
    min-height: 790px;
}

/* PC：写真を hero 全面に配置（1枚絵の上にテキストを載せる） */
.hero-bg-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 65%;  /* 画像下部（医師の手・キーボード）を可視化 */
    z-index: 1;
    display: block;
}

/* スマホ専用写真（テキスト焼き込み済み）はPCでは非表示 */
.hero-bg-photo-sp {
    display: none;
}
/* タブレット専用写真（横長アスペクト比）もPCでは非表示 */
.hero-bg-photo-tablet {
    display: none;
}

/* オーバーレイは原則使わない（テキストは写真の壁の上に直接乗る） */
.hero::before {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1600px;                                  /* ヘッダーと完全一致させる */
    margin: 0 auto;
    padding: 114px 24px 50px calc(40px + 10vw);         /* 元の余白感に近づけつつFVに収める */
    min-height: 790px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* テキストブロック → CTA ブロックの間隔（縦幅増加分に比例して微調整） */
.hero-text-block { max-width: 540px; }
.hero-cta-block  { max-width: 540px; margin-top: 62px; padding-top: 0; }

/* PC narrow (1024-1280px)：写真上で医師領域とテキストが重ならないように調整 */
@media (min-width: 1024px) and (max-width: 1280px) {
    .hero-inner {
        padding-left: calc(40px + 10vw);   /* PC narrow も 10vw シフトを維持 */
        padding-right: 20px;
    }
    .hero-text-block,
    .hero-cta-block {
        max-width: 380px;
    }
    .hero-title { font-size: 2.25rem; }
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 2.7rem;
    line-height: 1.45;
    color: var(--navy);
    letter-spacing: 0.02em;
    margin-bottom: 30px;
    white-space: nowrap;
}
.hero-title .highlight {
    background: linear-gradient(transparent 60%, var(--highlight-blue) 60%);
    padding: 0 4px;
}

.hero-description {
    font-size: 1rem;
    line-height: 2.0;
    color: var(--text-body);
    max-width: 580px;
    font-weight: 500;
    margin-bottom: 0;
}

.hero-cta-text {
    font-size: 1.0625rem;
    color: var(--navy);
    margin-bottom: 16px;
    font-weight: 700;
}

.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 12px;
    background: var(--cta-gradient);
    color: #fff;
    font-size: 1.0625rem; font-weight: 700;
    padding: 20px 56px; border-radius: 999px;
    transition: all 0.3s ease; letter-spacing: 0.08em;
    box-shadow: 0 6px 20px rgba(237, 126, 44, 0.32),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 1px rgba(0,0,0,0.15);
    width: fit-content;
    white-space: nowrap;
}
.btn-primary:hover {
    background: var(--cta-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(237, 126, 44, 0.45);
}
.btn-primary .arrow { transition: transform 0.3s ease; }
.btn-primary:hover .arrow { transform: translateX(5px); }

.hero-note {
    margin-top: 22px;
    font-size: 0.875rem;
    color: var(--text-sub);
    line-height: 1.85;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .hero {
        min-height: auto;
        margin-top: 64px;
        background: #ffffff; /* スマホ/タブレットはベージュ帯が見えないよう白で塗りつぶし */
    }
    /* スマホ/タブレットでは元の背景写真とオーバーレイを非表示 */
    .hero-bg-photo {
        display: none;
    }
    .hero::before {
        display: none !important;
    }
    /* スマホ向け縦長画像（～768px）：通常フローで表示 */
    .hero-bg-photo-sp {
        display: block;
        position: relative;
        width: 100%;
        max-width: 720px;
        height: auto;
        margin: 0 auto;
        vertical-align: top;
        z-index: 1;
    }
    /* タブレット幅では横長画像を優先表示（769～1180px） */
    .hero-bg-photo-tablet {
        display: none;
    }
    .hero-inner {
        position: static;
        padding: 0;
        min-height: auto;
        display: block;
    }
    /* テキストブロックは写真内に焼き込み済みのため非表示 */
    .hero-text-block {
        display: none;
        transform: none !important;   /* PC用 scale(1.1) を打ち消し */
    }
    /* 写真の下の白スペースに CTA セクションを配置（PC用 scale 変形を打ち消す） */
    .hero-cta-block {
        position: relative;
        margin: 0 auto;
        padding: 24px 16px 36px;
        max-width: 100%;
        text-align: center;
        background: #ffffff;
        z-index: 3;
        transform: none !important;   /* PC用 scale(1.1) を打ち消し（左方向のはみ出し防止） */
    }
    .hero-cta-text {
        font-size: 0.9375rem;
        margin: 0 auto 20px;
        text-align: center;
        font-weight: 700;
        white-space: nowrap;
    }
    .hero-cta-block .btn-primary {
        white-space: nowrap;
        padding: 16px 28px;
        font-size: 0.9375rem;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    .hero-note {
        margin-top: 20px;
        font-size: 0.8125rem;
        line-height: 1.7;
        white-space: normal;
        text-align: left;
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
        line-break: strict;
    }
}

/* タブレット幅専用：横長画像へ切り替え（スマホ縦長は非表示） */
@media (min-width: 769px) and (max-width: 1180px) {
    /* ヘッダーロゴ＋テキストをタブレットのみ2倍サイズ */
    .header-logo-img { width: 156px; }                  /* 78px → 156px（2倍） */
    .logo-tagline-main {
        font-size: 1.375rem;                             /* 0.6875rem → 1.375rem（2倍） */
        line-height: 1.25;
        white-space: nowrap;                             /* 「メンタルクリニック専門」を1行に */
    }
    .logo-tagline-main .sp-only { display: none; }      /* 「専門」前の改行を無効化 */
    .header-left { gap: 14px; }                          /* ロゴ拡大に合わせて余白を調整 */
    /* ヘッダー右の「無料分析を申し込む」ボタンを1.5倍 */
    .btn-cta-header {
        padding: 15px 21px;                              /* 10px 14px → 15px 21px（1.5倍） */
        font-size: 1.125rem;                             /* 0.75rem → 1.125rem（1.5倍） */
    }
    /* ロゴが大きくなった分、ヒーローの上端余白も増やしてヘッダーとの重なりを防止 */
    .hero { margin-top: 120px; }

    .hero-bg-photo-sp {
        display: none;
    }
    .hero-bg-photo-tablet {
        display: block;
        position: relative;
        width: 100%;
        max-width: 1024px;   /* 元画像が1024px幅のため、それ以上拡大しない */
        height: auto;
        margin: 0 auto;
        vertical-align: top;
        z-index: 1;
    }
    /* タブレットでは補足テキスト含むCTA帯にも最大幅を設けて読みやすく */
    .hero-cta-block {
        max-width: 720px;
    }
    .hero-note {
        text-align: center;   /* タブレットでは中央揃えの方が綺麗（折り返し時のバランス） */
    }
}

/* ============================================
   WORRIES
============================================ */
.worries { position: relative; overflow: hidden; padding: 72px 0; }
.worries-bg {
    position: absolute; inset: 0;
    background-image: url('../img/25.webp');
    background-size: cover; background-position: center;
    z-index: 0;
}
.worries-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(247, 244, 237, 0.55) 0%,
        rgba(250, 248, 243, 0.68) 100%);
}
.worries-inner {
    max-width: 1180px; margin: 0 auto;
    padding: 0 24px; position: relative; z-index: 1;
}
.worries-title {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600; font-size: 2.5rem;
    color: var(--navy); line-height: 1.6;
    margin-bottom: 40px;
}
.worries-title-inner { display: inline-block; }
.worries-title-tag {
    display: block; font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 1.15rem;
    color: #7d97b3; letter-spacing: 0.18em;
    margin-bottom: 20px; font-weight: 500;
}

.worries-mobile-image { display: none; }

@media (max-width: 768px) {
    .worries { padding: 64px 0; }
    .worries-title { font-size: 1.625rem; }
    .worries-bg { display: none; }
    .worries { background: var(--bg-cream); }
    .worries-mobile-image {
        display: block;
        width: 100%;
        margin: 0 0 32px;
        border-radius: 8px;
        overflow: hidden;
    }
    .worries-mobile-image img {
        width: 100%; height: 200px; object-fit: cover;
    }
}

.worries-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px; margin-bottom: 36px;
}
@media (max-width: 768px) {
    .worries-grid { grid-template-columns: 1fr; gap: 10px; }
}

.worry-item {
    background: rgba(255, 255, 255, 0.98);
    border-left: 4px solid #5d8ab8;
    padding: 18px 24px;
    font-size: 0.9375rem;
    color: var(--text-main); font-weight: 500;
    box-shadow: 0 2px 12px rgba(26, 53, 86, 0.08);
    border-radius: 4px; display: flex;
    align-items: center; gap: 12px;
    transition: transform 0.25s ease;
    white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis;
}
.worry-item:hover { transform: translateX(4px); }
.worry-check {
    color: #5d8ab8; font-weight: 700;
    flex-shrink: 0; font-size: 1.0625rem;
}
@media (max-width: 768px) {
    .worry-item { font-size: 0.875rem; white-space: normal; padding: 16px 18px; }
}

.worries-message {
    background: var(--navy); color: #fff;
    padding: 32px 48px;
    border-radius: 6px;
    text-align: center; line-height: 1.95;
    font-size: 1.0625rem;
    box-shadow: 0 14px 36px rgba(26, 53, 86, 0.2);
    font-weight: 500;
}
.worries-message p { margin-bottom: 16px; }
.worries-message p:last-child { margin-bottom: 0; }
.worries-message .accent {
    color: var(--accent-gold-light);
    font-weight: 700;
}
@media (max-width: 768px) {
    .worries-message { padding: 28px 22px; font-size: 0.9375rem; }
}

/* CONCEPT */
.concept-now { background: var(--bg-pale); }
.concept-now-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: center;
    max-width: 1180px; margin: 0 auto;
}
.concept-now-image {
    width: 100%; border-radius: 12px; overflow: hidden;
    box-shadow: 0 12px 32px rgba(26, 53, 86, 0.1);
}
.concept-now-image img { width: 100%; height: auto; display: block; }
.concept-now-text {
    background: #ffffff; border: 1px solid var(--border-light);
    border-radius: 8px; padding: 32px 32px;
}
.concept-now-text h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem; color: var(--navy);
    line-height: 1.55; margin-bottom: 14px; font-weight: 700;
}
.concept-now-text h3:not(:first-child) { margin-top: 26px; }
.concept-now-text p {
    font-size: 1rem; line-height: 1.95;
    color: var(--text-body); margin-bottom: 14px;
}
.concept-now-text p:last-child { margin-bottom: 0; }
.concept-now-text strong { color: var(--navy); font-weight: 700; }
.concept-now-callout {
    background: var(--bg-pale);
    border-left: 3px solid #5d8ab8;
    padding: 16px 20px; font-size: 1rem;
    line-height: 1.8; color: var(--text-main);
    margin-top: 18px; border-radius: 0 4px 4px 0;
    font-weight: 500;
}
@media (max-width: 968px) {
    .concept-now-grid { grid-template-columns: 1fr; gap: 28px; }
    .concept-now-text { padding: 24px 20px; }
}

/* legacy concept/why-now still referenced; keep minimal stubs */
.concept { background: var(--bg-pale); }
.why-now { background: #ffffff; }

/* ANALYSIS */
.analysis { background: var(--bg-pale); }
.analysis-subtitle {
    text-align: center; font-size: 1.0625rem;
    line-height: 2; color: var(--text-body);
    margin-bottom: 36px;
}
.analysis-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; max-width: 1100px; margin: 0 auto;
}
.analysis-card {
    background: #ffffff; border-radius: 12px;
    padding: 32px 32px;
    box-shadow: 0 2px 12px rgba(26, 53, 86, 0.05);
    transition: all 0.3s ease;
    display: flex; gap: 24px; align-items: flex-start;
    border: 1px solid transparent;
}
.analysis-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(26, 53, 86, 0.1);
    border-color: var(--border-light);
}
.analysis-icon {
    width: 60px; height: 60px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.analysis-icon img { width: 100%; height: 100%; object-fit: contain; }
.analysis-card-content h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600; font-size: 1.125rem;
    color: var(--navy); margin-bottom: 10px;
    letter-spacing: 0.02em;
}
.analysis-card-content p {
    font-size: 0.9375rem; line-height: 1.9;
    color: var(--text-body);
}
@media (max-width: 768px) {
    .analysis-grid { grid-template-columns: 1fr; }
    .analysis-card { padding: 24px; }
    .analysis-subtitle br { display: none; }
}

/* FLOW */
.flow { background: #ffffff; }
.flow-steps {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 10px; max-width: 1100px;
    margin: 0 auto 32px; position: relative;
}
.flow-step {
    background: #ffffff; border-radius: 8px;
    padding: 26px 16px; text-align: center;
    border-top: 3px solid #4a7bb5;
    box-shadow: 0 2px 8px rgba(26, 53, 86, 0.06);
    position: relative; transition: transform 0.25s ease;
}
.flow-step:hover { transform: translateY(-4px); }
.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.75rem;
    color: #5d8ab8;
    z-index: 2;
    font-weight: 300;
    width: 7px;
    height: 12px;
	background-image: url("../img/gt.svg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.flow-step-number {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 1.1875rem;
    color: var(--text-sub); margin-bottom: 12px;
    letter-spacing: 0.06em;
}
.flow-step-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700; font-size: 1rem;
    color: var(--navy); margin-bottom: 14px;
    line-height: 1.5; letter-spacing: 0.02em;
}
.flow-step-desc {
    font-size: 0.8125rem; color: var(--text-body);
    line-height: 1.75;
}
.flow-cta { text-align: center; }
.flow-cta-text {
    font-weight: 700; color: var(--navy);
    margin-bottom: 24px; font-size: 1.0625rem;
}
.btn-flow { margin: 0 auto; }

/* 無料分析でわかること直下の CTA */
.analysis-cta { text-align: center; margin-top: 56px; }
@media (max-width: 768px) {
    .analysis-cta { margin-top: 40px; }
    .analysis-cta .btn-primary,
    .analysis-cta .btn-flow {
        white-space: nowrap;
        padding: 16px 24px;
        font-size: 0.875rem;
        max-width: calc(100vw - 48px);
        width: auto;
    }
}
@media (max-width: 968px) {
    .flow-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
    .flow-step::after { display: none !important; }
}
@media (max-width: 480px) { .flow-steps { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
    .flow-cta .btn-primary,
    .flow-cta .btn-flow {
        white-space: nowrap;
        padding: 16px 24px;
        font-size: 0.875rem;
        max-width: calc(100vw - 48px);
        width: auto;
    }
}

/* ============================================
   STRENGTHS (背景写真を引き気味に)
============================================ */
.strengths {
    color: #fff; position: relative;
    overflow: hidden; padding: 72px 0;
}
.strengths-bg {
    position: absolute; inset: 0;
    /* PCビューでの背景写真を差し替え */
    background-image: url('../img/24.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 1;
    background-image: url('../img/25.webp');
    background-size: 70% auto;             /* もっと小さく:握手が判別可能なサイズ */
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--navy-deep);
    z-index: 0;
}
.strengths-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(16, 42, 67, 0.78) 0%,
        rgba(26, 53, 86, 0.82) 100%);
}
.strengths .container { position: relative; z-index: 1; }
.strengths .section-tag { color: #d1dce8; }
.strengths-title {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600; font-size: 2.5rem;
    color: #ffffff; line-height: 1.5;
    letter-spacing: 0.04em; margin-bottom: 40px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .strengths { padding: 64px 0; background: var(--navy-deep); }
    .strengths-title { font-size: 1.625rem; }
}

.strengths-intro {
    max-width: 1100px;
    margin: 0 auto 36px;
    text-align: center;
    font-size: 1.0625rem;
    line-height: 2.05;
    color: rgba(255, 255, 255, 0.92);
    padding: 0 20px;
}
.strengths-intro p { margin-bottom: 18px; }
.strengths-intro p:last-child { margin-bottom: 0; }

.strengths-mobile-image { display: none; }

@media (max-width: 768px) {
    .strengths-bg { display: none; }
    /* 握手画像は「こんなお悩みありませんか？」と同じサイズバランス（100% × 200px） */
    .strengths-mobile-image {
        display: block;
        width: 100%;
        margin: 0 0 32px;
        border-radius: 8px;
        overflow: hidden;
        position: relative; z-index: 1;
    }
    .strengths-mobile-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: center 35%;  /* 手だけがアップにならないよう全体バランス */
        display: block;
    }
    .strengths-intro { max-width: 880px; font-size: 0.9375rem; padding: 0; margin-bottom: 36px; }
}

.strengths-list {
    max-width: 1000px; margin: 0 auto;
    display: flex; flex-direction: column;
    gap: 14px; position: relative;
}
.strength-item {
    background: rgba(15, 30, 50, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent-gold);
    border-radius: 4px;
    padding: 28px 36px 28px 88px;
    position: relative;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    text-align: left;  /* 中央寄せの継承（button デフォルト）を打ち消し */
}
.strength-head, .strength-body { text-align: left; }
.strength-title, .strength-desc { text-align: left; }
.strength-item:hover {
    background: rgba(20, 40, 65, 0.62);
    border-left-color: var(--accent-gold-light);
    transform: translateX(4px);
}
.strength-number {
    position: absolute; left: 28px; top: 28px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 1.875rem;
    color: var(--accent-gold);
    font-weight: 500; letter-spacing: 0.05em;
}
.strength-title {
    font-size: 1.125rem; font-weight: 700;
    color: #fff; margin-bottom: 8px;
    letter-spacing: 0.03em;
}
.strength-title .gold { color: var(--accent-gold-light); }
.strength-desc {
    font-size: 0.9375rem; line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 768px) {
    .strength-item { padding: 24px 22px 24px 72px; }
    .strength-number { left: 20px; top: 24px; font-size: 1.5rem; }
    .strength-title { font-size: 1rem; }
}

/* VOICE */
.voice { background: var(--bg-pale); }
.voice-list {
    max-width: 1000px; margin: 0 auto;
    background: #fff; border-top: 3px solid var(--navy);
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(26, 53, 86, 0.06);
    overflow: hidden;
}
.voice-item { border-bottom: 1px solid var(--border-light); }
.voice-item:last-child { border-bottom: none; }
.voice-header {
    display: grid; grid-template-columns: auto 1fr auto;
    align-items: center; gap: 28px;
    padding: 26px 32px; cursor: pointer;
    transition: background 0.2s ease;
    width: 100%; text-align: left;
}
.voice-header:hover { background: rgba(0, 0, 0, 0.02); }
.voice-avatar {
    width: 120px; height: 120px;
    border-radius: 50%; flex-shrink: 0;
    overflow: hidden; border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.voice-avatar img { width: 100%; height: 100%; object-fit: cover; }
/* AクリニックとBクリニックの院長写真をCクリニック同様アップで表示 */
.voice-list .voice-item:nth-child(1) .voice-avatar img,
.voice-list .voice-item:nth-child(2) .voice-avatar img {
    transform: none;
}
.voice-meta-wrap { display: flex; flex-direction: column; gap: 10px; }
.voice-tag {
    display: inline-block; background: var(--navy); color: #fff;
    font-size: 0.8125rem; font-weight: 700;
    padding: 6px 16px; border-radius: 4px;
    letter-spacing: 0.05em; width: fit-content;
}
.voice-title {
    font-size: 1.125rem; font-weight: 700;
    color: var(--navy); line-height: 1.5;
}
.voice-toggle {
    width: 32px; height: 32px;
    color: var(--text-sub); flex-shrink: 0;
    transition: transform 0.3s ease;
    font-size: 1.625rem;
    display: flex; align-items: center; justify-content: center;
    font-weight: 300;
}
.voice-item.is-open .voice-toggle { transform: rotate(45deg); }
.voice-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.voice-item.is-open .voice-body { max-height: 700px; }
.voice-body-inner {
    padding: 0 32px 30px 24px;
    border-left: 3px solid var(--accent-green);
    margin: 0 32px 10px 32px;
    padding-left: 24px;
}
.voice-body-inner p {
    font-size: 0.9375rem; line-height: 2.05;
    color: var(--text-body); margin-bottom: 14px;
}
.voice-body-inner p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .voice-header { padding: 20px; gap: 16px; }
    .voice-avatar { width: 76px; height: 76px; }
    .voice-title { font-size: 0.9375rem; }
    .voice-body-inner { margin: 0 20px 12px 20px; padding-left: 16px; }
}

/* FAQ */
.faq { background: #ffffff; }
.faq-list {
    max-width: 960px; margin: 0 auto;
    border-top: 1px solid var(--navy);
}
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
    display: grid; grid-template-columns: auto 1fr auto;
    align-items: center; gap: 20px;
    padding: 26px 10px; cursor: pointer;
    width: 100%; text-align: left;
    transition: color 0.2s ease;
}
.faq-question:hover .faq-q-text { color: var(--navy-light); }
.faq-q-mark {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 1.5rem;
    color: #7d97b3; font-weight: 500; line-height: 1;
}
.faq-q-text {
    font-size: 1.0625rem; font-weight: 700;
    color: var(--navy); line-height: 1.6;
    transition: color 0.2s ease;
}
.faq-toggle {
    width: 28px; height: 28px;
    color: var(--text-sub);
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-weight: 300;
}
.faq-item.is-open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.is-open .faq-answer { max-height: 500px; }
.faq-answer-inner {
    padding: 0 10px 26px 50px;
    font-size: 1rem; line-height: 2;
    color: var(--text-body);
}
@media (max-width: 768px) {
    .faq-q-text { font-size: 0.9375rem; }
    .faq-answer-inner { padding-left: 30px; font-size: 0.875rem; }
}

/* ============================================
   CONTACT
============================================ */
.contact {
    background: linear-gradient(180deg, #f1f5fa 0%, #e8eef6 100%);
}
.contact-image {
    max-width: 920px; margin: 0 auto 32px;
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 10px 28px rgba(26, 53, 86, 0.1);
}
.contact-image img {
    width: 100%; height: 300px;
    object-fit: cover; display: block;
}

/* 新しいネイビーカード (添付デザイン) */
/* CONTACT ～ 「まず分析」ロジック訴求（フォーム直前） */
.contact-logic {
    max-width: 920px;
    margin: 0 auto 28px;
    background: var(--bg-pale);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 30px 32px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(26, 53, 86, 0.07);
}
.contact-logic-lead {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.7;
    margin-bottom: 22px;
}
.contact-logic-strong { color: var(--accent-gold); }
.contact-logic-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
}
.contact-logic-step {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(26, 53, 86, 0.06);
}
.contact-logic-step-num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
}
.contact-logic-step-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.5;
}
.contact-logic-step-desc {
    font-size: 0.8125rem;
    color: var(--text-sub);
    line-height: 1.6;
}
.contact-logic-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 700;
    flex-shrink: 0;
}
.contact-logic-note {
    margin-top: 20px;
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.85;
}
.contact-logic-note strong { color: var(--navy); font-weight: 700; }
@media (max-width: 768px) {
    .contact-logic { padding: 16px 14px; border-radius: 12px; margin: 0 auto 16px; }
    .contact-logic-lead { font-size: 1rem; margin-bottom: 12px; line-height: 1.55; }
    .contact-logic-steps { flex-direction: column; gap: 6px; }
    .contact-logic-arrow { transform: rotate(90deg); font-size: 1rem; margin: 0 auto; line-height: 1; }
    .contact-logic-step { padding: 9px 14px; gap: 2px; }
    .contact-logic-step-title { font-size: 0.9375rem; }
    .contact-logic-step-desc { display: none; }
    .contact-logic-note { font-size: 0.8125rem; margin-top: 12px; line-height: 1.7; }
}

.contact-card {
    max-width: 920px;
    margin: 0 auto 32px;
    background: var(--navy);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(26, 53, 86, 0.18);
}
.contact-card-inner {
    background: #fff;
    border-radius: 10px;
    padding: 14px 36px;
}
.contact-card-row {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 10px 0;
}
.contact-card-row + .contact-card-row {
    border-top: 1px dashed var(--border-light);
}
.contact-card-icon {
    width: 52px; height: 52px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.contact-card-icon svg { width: 26px; height: 26px; }
.contact-card-text {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-main);
    font-weight: 500;
    padding-top: 6px;
}
.contact-card-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 22px 8px 6px;
}
.contact-card-feature {
    display: flex; align-items: center; gap: 10px;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    justify-content: center;
}
.contact-card-feature svg { width: 20px; height: 20px; }

/* 矢印 + 「以下フォームにご入力ください」エリア */
.contact-arrow-area {
    text-align: center;
    margin: -8px auto 40px;
    position: relative;
}
.contact-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: transparent;
    box-shadow: none;
    width: auto; height: auto;
    border-radius: 0;
    animation: none;
}
.contact-arrow svg {
    width: 64px; height: 64px;
    filter: none;
}
.contact-subtitle-v2 {
    margin-top: 6px;
    font-size: 1.125rem;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.04em;
}
@media (max-width: 768px) {
    .contact-subtitle-v2 {
        white-space: nowrap;
        font-size: 0.9375rem;
        letter-spacing: 0.02em;
    }
}
@media (max-width: 360px) {
    .contact-subtitle-v2 {
        font-size: 0.8125rem;
    }
}

@media (max-width: 768px) {
    .contact-card { padding: 16px; border-radius: 12px; }
    .contact-card-inner { padding: 10px 18px; border-radius: 8px; }
    .contact-card-row { gap: 14px; padding: 8px 0; font-size: 0.9375rem !important; }
    .contact-card-icon { width: 42px; height: 42px; }
    .contact-card-icon svg { width: 22px; height: 22px; }
    .contact-card-text { font-size: 0.9375rem !important; padding-top: 4px; line-height: 1.7; }
    .contact-card-features {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 8px 4px;
    }
    .contact-card-feature {
        justify-content: flex-start;
        font-size: 0.8125rem !important;
    }
    .contact-subtitle-v2 { font-size: 1rem; }
    .contact-image img { height: 200px; }
}

.contact-form-wrap {
    max-width: 920px; margin: 0 auto;
    background: #fff; border-radius: 12px;
    padding: 48px 56px;
    box-shadow: 0 10px 36px rgba(26, 53, 86, 0.08);
}
.form-group {
    display: grid; grid-template-columns: 210px 1fr;
    gap: 16px; align-items: center;
    padding: 20px 0; border-bottom: 1px solid var(--border-light);
}
.form-group:last-of-type { border-bottom: none; }
.form-group.textarea-group { align-items: flex-start; padding-top: 24px; }
.form-label {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; color: var(--navy);
    font-size: 1rem;
}
.form-required, .form-optional {
    font-size: 0.75rem; font-weight: 700;
    padding: 4px 10px; border-radius: 3px;
    letter-spacing: 0.05em;
}
.form-required { background: var(--navy); color: #fff; }
.form-optional { background: #c4cfd9; color: #fff; }
.form-input, .form-textarea {
    width: 100%; padding: 15px 18px;
    border: 1px solid #d4dde7; border-radius: 6px;
    font-family: inherit; font-size: 1rem;
    color: var(--text-main); background: #fafbfd;
    transition: all 0.2s ease;
}
.form-input::placeholder, .form-textarea::placeholder { color: #a8b3c0; }
.form-input:focus, .form-textarea:focus {
    outline: none; border-color: var(--navy); background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 53, 86, 0.1);
}
.form-textarea { min-height: 130px; resize: vertical; font-family: inherit; }
.form-privacy {
    background: #faf6ed; border-radius: 6px;
    padding: 16px 22px; text-align: center;
    margin: 32px 0 24px; font-size: 0.9375rem;
}
.form-privacy a {
    color: var(--navy); text-decoration: underline; font-weight: 700;
}
.btn-form {
    width: 100%; padding: 24px;
    font-size: 1.0625rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .contact-form-wrap { padding: 28px 22px; }
    .form-group { grid-template-columns: 1fr; gap: 8px; align-items: flex-start; padding: 16px 0; }
    .btn-form {
        white-space: nowrap;
        padding: 16px;
        font-size: 0.9375rem;
    }
}

/* FOOTER */
.footer {
    background: var(--navy-deep);
    color: #fff;
    padding: 72px 0 36px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 48px; margin-bottom: 36px;
}
.footer-logo-wrap {
    background: #fff;
    width: 230px;
    padding: 22px 28px;
    border-radius: 4px;
    text-align: center;
    margin: 0 0 30px 0;   /* 左端を「本社」列と揃える */
    align-self: flex-start;
}
.footer-company { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo-wrap img {
    width: 100%;
    max-width: 174px;
    height: auto;
    margin: 0 auto;
    display: block;
}
.footer-info {
    display: grid; grid-template-columns: 80px 1fr;
    gap: 10px 28px; font-size: 0.9375rem;
    line-height: 1.85;
}
.footer-info dt { font-weight: 700; }
.footer-info dd { margin-bottom: 4px; }
.footer-nav-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.15em; margin-bottom: 22px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-nav a {
    display: inline-flex; align-items: center;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px; font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.2s ease;
}
.footer-nav a:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex; justify-content: space-between;
    align-items: center; font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-logo-wrap { width: 230px; max-width: 100%; }
}

.fixed-cta { display: none !important; }

/* ============================================
   PC SCROLL REVEAL (JS有効時のみ初期非表示にする)
============================================ */
@media (min-width: 1024px) {
    body.js-pc-reveal .pc-reveal-section {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        will-change: opacity, transform;
    }
    body.js-pc-reveal .pc-reveal-section.is-revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    body.js-pc-reveal .pc-reveal-section,
    body.js-pc-reveal .pc-reveal-section.is-revealed {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================================
   PC のみ: ヘッダーテキスト と CTA ブロックを 10% 拡大
   右上を起点にスケールするため、右端の位置は変わらず、文字が
   左側と左下に広がる形になる。改行や折り返しは発生しない。
   transform を使うのでレイアウト寸法は変わらず、写真位置・
   他セクションへの影響はゼロ。
============================================================ */
@media (min-width: 969px) {
    .hero-text-block,
    .hero-cta-block {
        transform: scale(1.1);
        transform-origin: top right;
    }
}

/* ====== 追加調整（CTA枠・信頼バッジ・SP最適化） ====== */
/* PC（写真上）：CTA文・ボタンを背景がそのまま透ける枠で囲む（枠ふちのみうっすら） */
@media (min-width: 1181px) {
    .hero-cta-frame {
        background: rgba(255, 255, 255, 0.35);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        padding: 16px 24px;
        border-radius: 16px;
        border: none;
        width: fit-content;
        max-width: 100%;
    }
    .hero-cta-frame .hero-cta-text { font-size: 0.95rem; line-height: 1.7; }
    /* 注釈は枠の外・1行表示、本文（説明文）と同じ文字色 */
    .hero-cta-block .hero-note { white-space: nowrap; margin-top: 8px; color: var(--text-body); }
}

/* PC(>=1281px)：白枠の右端を説明文「検索状況、」の読点の縦ラインに合わせる */
@media (min-width: 1281px) {
    .hero-cta-frame { width: 486px; }
}
@media (min-width: 1321px) {
    .hero-cta-frame { padding: 18px 5px 18px 30px; }
    .hero-cta-frame .hero-cta-text { font-size: 1.0625rem; }
}
/* CONTACT ～ 信頼バッジ（ロジック枠の最上部・区切り線つき） */
.contact-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 30px;
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.contact-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
}
.contact-trust-item svg {
    width: 21px; height: 21px;
    color: var(--accent-gold);
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .contact-trust {
        flex-direction: column;
        align-items: center;
        gap: 7px;
        margin: 12px 0 0;
        padding-top: 12px;
    }
    .contact-trust-item { font-size: 0.875rem; }
    /* SP：ヒーローCTA文を2行で折返し可能に（見切れ防止） */
    .hero-cta-text { white-space: normal; }
    /* SP：無料分析の流れのCTA補足を1行に収める */
    .flow-cta-text { white-space: nowrap; font-size: 0.8125rem; letter-spacing: 0; }
}

/* 1181～1280px：CTA第2行が長くなったため枠が2行を保てるよう最大幅を拡張 */
@media (min-width: 1181px) and (max-width: 1280px) {
    .hero-cta-block { max-width: 510px; }
}

/* 信頼バッジ（フォーム直前・添付アイコン版） */
.contact-badges {
    max-width: 720px;
    margin: 4px auto 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: start;
}
.contact-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.contact-badge img { width: 60px; height: 60px; object-fit: contain; display: block; }
.contact-badge span { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.5; }
@media (max-width: 768px) {
    .contact-badges { gap: 6px; max-width: 100%; margin: 2px auto 26px; }
    .contact-badge { gap: 7px; }
    .contact-badge img { width: 42px; height: 42px; }
    .contact-badge span { font-size: 0.75rem; line-height: 1.5; }
}

/* SP専用の改行（タブレット・PCでは無効） */
.sp-br { display: none; }
@media (max-width: 768px) { .sp-br { display: inline; } }

/* end of css file */