/* ============================================================
   弁護士 望月一史 個人サイト - 統合スタイル
   カラー：藍 #1f4a6b × グレー #f4f6f8／白 × 明藍 #2f7bb0
   ※外部CSSに依存しない自己完結型。写真未受領のためMV等は藍グラデーション。
   ============================================================ */

/* ---------- [0] 変数 ---------- */
:root {
    --navy:        #1f4a6b;
    --navy-dk:     #163a56;
    --navy-soft:   #2a3c5c;
    --blue:        #2f7bb0;
    --blue-dk:     #24628f;
    --blue-soft:   #5b9bd6;
    --base:        #f3f6fb;
    --base-dk:     #e6eef7;
    --white:       #ffffff;
    --text:        #23272e;
    --text-mid:    #5a606b;
    --text-light:  #8a8f98;
    --border:      #dde4ee;
    --amber:       #c4842b;
    --amber-dk:    #a76c1c;
    --serif:       "Noto Serif JP", serif;
    --sans:        "Noto Sans JP", sans-serif;
    --container:   1120px;
    --radius:      6px;
    --shadow:      0 4px 24px rgba(28, 44, 78, 0.08);
    --shadow-lg:   0 12px 40px rgba(28, 44, 78, 0.14);
}

/* ---------- [1] リセット・ベース ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    font-size: 1.6rem;
    line-height: 1.85;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a   { text-decoration: none; color: inherit; transition: color .2s, opacity .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.4; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 2.4rem; width: 100%; }
.container-narrow { max-width: 820px; }
.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- [2] 共通：セクション見出し ---------- */
.section { padding: 8rem 0; }
.section-base { background: var(--base); }
.section-head { text-align: center; margin-bottom: 4.8rem; }
.section-eyebrow {
    font-family: var(--serif);
    font-size: 1.3rem;
    letter-spacing: .25em;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-title { font-size: 3.2rem; color: var(--navy); letter-spacing: .04em; }
.section-desc { margin-top: 1.6rem; color: var(--text-mid); font-size: 1.55rem; }
.section-action { text-align: center; margin-top: 4.8rem; }

/* ---------- [3] ボタン・リンク ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    font-family: var(--serif); font-weight: 600; font-size: 1.55rem;
    padding: 1.5rem 3.2rem; border-radius: var(--radius);
    border: 1.5px solid transparent; cursor: pointer; transition: all .25s; text-align: center;
}
.btn-lg { padding: 1.8rem 4rem; font-size: 1.65rem; }
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dk); border-color: var(--blue-dk); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
/* 琥珀の塗りボタン（メール相談CTAを目立たせる・満月ロゴの金と呼応） */
.btn-amber { background: var(--amber); color: #fff; border-color: var(--amber); box-shadow: 0 4px 16px rgba(196,132,43,.28); }
.btn-amber:hover { background: var(--amber-dk); border-color: var(--amber-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(196,132,43,.36); }
.text-link {
    display: inline-flex; align-items: center; font-family: var(--serif); font-weight: 600;
    color: var(--blue-dk); font-size: 1.5rem;
}
.text-link:hover { color: var(--blue); }

/* ---------- [4] 上部情報バー ---------- */
.info-bar { background: var(--navy-dk); color: #d7ddea; }
.info-bar-inner {
    max-width: var(--container); margin: 0 auto; padding: .7rem 2.4rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.info-bar-text { font-size: 1.2rem; letter-spacing: .03em; }
.info-bar-tel { font-size: 1.2rem; color: #ffffff; white-space: nowrap; }

/* ---------- [5] ヘッダー ---------- */
.main-header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow .3s; }
.main-header.is-scrolled { box-shadow: 0 2px 16px rgba(28,44,78,.10); }
.header-body {
    max-width: var(--container); margin: 0 auto; padding: 0 2.4rem;
    display: flex; flex-wrap: nowrap; align-items: center; gap: 1.4rem; min-height: 9.2rem;
}
.logo-area { display: flex; align-items: center; gap: 1.2rem; margin-right: auto; flex-shrink: 0; white-space: nowrap; }
.logo-mark { width: 4.4rem; height: 4.4rem; color: var(--navy); flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-img { height: 6.6rem; width: auto; display: block; flex-shrink: 0; }
.logo-area { gap: 1.4rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-firm { font-size: 1.3rem; color: var(--blue-dk); letter-spacing: .14em; }
.logo-title { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--navy); letter-spacing: .04em; white-space: nowrap; }
.logo-en { font-size: 1rem; letter-spacing: .18em; color: var(--text-light); margin-top: .2rem; white-space: nowrap; }
.main-nav { display: flex; flex-wrap: nowrap; align-items: center; gap: .1rem; }
.nav-item {
    font-family: var(--serif); font-size: 1.42rem; color: var(--navy); padding: 1rem .9rem;
    position: relative; white-space: nowrap;
}
.nav-item::after {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .6rem; height: 1.5px;
    background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-item:hover { color: var(--blue-dk); }
.nav-item:hover::after { transform: scaleX(1); }
.header-tel { display: flex; align-items: center; gap: .6rem; color: var(--navy); flex-shrink: 0; }
.header-tel .tel-icon { width: 1.8rem; height: 1.8rem; color: var(--blue); }
.tel-body { display: flex; flex-direction: column; line-height: 1.2; }
.tel-num { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; white-space: nowrap; }
.tel-hours { font-size: 1rem; color: var(--text-light); white-space: nowrap; }
.header-cta {
    display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.3;
    background: var(--blue); color: var(--white); font-family: var(--serif); font-weight: 600;
    padding: 1.2rem 1.6rem; border-radius: var(--radius); transition: background .25s, transform .25s;
    flex-shrink: 0; white-space: nowrap;
}
.header-cta:hover { background: var(--blue-dk); transform: translateY(-2px); }
.header-cta .cta-text { font-size: 1.45rem; }
.header-cta .cta-sub { font-size: 1rem; }

/* ハンバーガー */
.hamburger { display: none; width: 4.4rem; height: 4.4rem; background: none; border: none; cursor: pointer; position: relative; }
.hamburger span {
    position: absolute; left: .9rem; right: .9rem; height: 2px; background: var(--navy); transition: .3s;
}
.hamburger span:nth-child(1) { top: 1.4rem; }
.hamburger span:nth-child(2) { top: 2.1rem; }
.hamburger span:nth-child(3) { top: 2.8rem; }
.hamburger.open span:nth-child(1) { top: 2.1rem; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 2.1rem; transform: rotate(-45deg); }

/* SPナビ */
.sp-nav {
    position: fixed; top: 0; right: 0; width: min(82vw, 34rem); height: 100vh; background: var(--navy);
    z-index: 200; padding: 9rem 0 4rem; transform: translateX(100%); transition: transform .35s ease;
    overflow-y: auto;
}
.sp-nav.open { transform: translateX(0); box-shadow: -8px 0 40px rgba(0,0,0,.3); }
.sp-nav ul { padding: 0 2.8rem; }
.sp-nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
.sp-nav a { display: block; padding: 1.8rem .4rem; color: #fff; font-family: var(--serif); font-size: 1.6rem; }
.sp-nav-cta-item, .sp-nav-tel-item { border-bottom: none !important; margin-top: 1.6rem; }
.sp-nav-cta { background: var(--blue); border-radius: var(--radius); text-align: center; }
.sp-nav-cta-item a { padding: 1.6rem; }
.sp-nav-tel { color: var(--blue-soft) !important; text-align: center; }

/* ---------- [6] reveal アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- [7] MV（FV写真＋左テキスト・濃色文字） ---------- */
.mv { position: relative; color: var(--navy); overflow: hidden; background: #f0ebe3; }
/* 文字入り完成デザイン画像を全面表示するMV（トリミングせず全体を見せる） */
.mv-image { background: #edf1f6; position: relative; overflow: visible; }
.mv-image picture, .mv-image img { display: block; width: 100%; height: auto; }
/* FV下端の紺帯をグレー白で覆い（上端は締め文の下でフェード）、その中に2ボタンを半々配置 */
.mv-foot {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    height: 15%;
    background: linear-gradient(to top, #edf1f6 0%, #edf1f6 80%, rgba(237,241,246,0) 100%);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 3%;
    padding: 0 5% 2.4%;
    pointer-events: none;
}
/* 左：CTA（FV画像のテキスト幅に合わせて半々に拡大） */
.mv-cta-row { display: flex; gap: 1.8rem; width: 50%; max-width: 640px; pointer-events: auto; }
/* 右：署名画像（人物の真下） */
.mv-sign-img { height: 5.4rem; width: auto; max-width: 40%; align-self: flex-end; margin-right: 0.5%; margin-bottom: -3.4rem; }
.mv-cta {
    flex: 1 1 0; min-width: 0;
    display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
    color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: .02em;
    padding: 1.6rem 1.6rem; border-radius: var(--radius); white-space: nowrap;
    box-shadow: 0 8px 22px rgba(28,44,78,.20); transition: background .25s, transform .25s;
}
.mv-cta-ico { width: 2rem; height: 2rem; flex-shrink: 0; }
.mv-cta-ico svg { width: 100%; height: 100%; }
.mv-cta-tel  { background: var(--navy); }
.mv-cta-tel:hover  { background: var(--navy-dk); transform: translateY(-2px); }
.mv-cta-form { background: var(--blue); }
.mv-cta-form:hover { background: var(--blue-dk); transform: translateY(-2px); }
@media (max-width: 1024px) {
    .mv-foot { height: 17%; background: linear-gradient(to top, #edf1f6 0%, #edf1f6 76%, rgba(237,241,246,0) 100%); }
    .mv-cta-row { width: 54%; }
    .mv-cta { font-size: 1.5rem; padding: 1.5rem 1.4rem; }
    .mv-sign-img { height: 5.2rem; }
}
@media (max-width: 640px) {
    .mv-foot { height: 11%; justify-content: center; background: linear-gradient(to top, #edf1f6 0%, #edf1f6 84%, rgba(237,241,246,0) 100%); padding-bottom: 2.4%; }
    .mv-cta-row { width: 94%; max-width: none; gap: 1.2rem; }
    .mv-cta { font-size: 1.4rem; padding: 1.4rem 1rem; gap: .5rem; }
    .mv-cta-ico { width: 1.8rem; height: 1.8rem; }
    .mv-sign-img { display: none; } /* スマホは縦積みのため署名は非表示 */
}
/* MV背景：FV写真（右に望月先生）。左にベージュのスクリムを重ね濃色テキストの可読性を確保。 */
.mv-bg {
    position: absolute; inset: 0; z-index: 0;
    background-color: #f0ebe3;
    background-image:
        linear-gradient(95deg, rgba(243,238,231,.96) 0%, rgba(243,238,231,.8) 30%, rgba(243,238,231,.12) 52%, rgba(243,238,231,0) 62%),
        url(../../images/fv.jpg);
    background-size: cover, cover;
    background-position: center, right top;
    background-repeat: no-repeat, no-repeat;
}
.mv-inner {
    position: relative; z-index: 1; max-width: var(--container); margin: 0 auto;
    padding: 9rem 2.4rem; min-height: 60rem;
    display: flex; flex-direction: column; justify-content: center;
}
.mv-inner > * { max-width: 58rem; }
.mv-eyebrow { font-family: var(--serif); letter-spacing: .2em; color: var(--blue-dk); font-size: 1.4rem; margin-bottom: 1.8rem; }
.mv-title { font-size: 5rem; line-height: 1.45; letter-spacing: .04em; color: var(--navy); margin-bottom: 2.4rem; }
.mv-lead { font-size: 1.6rem; line-height: 2.1; color: var(--text); margin-bottom: 3.6rem; }
/* リード内の強調（国際相続・企業側の労働問題）。解決実績へのリンク */
.mv-lead strong { font-weight: 700; color: var(--blue-dk); border-bottom: 2px solid rgba(47,123,176,.4); padding-bottom: 1px; }
.mv-lead-link { font-weight: 700; font-size: 1.15em; color: var(--blue-dk); transition: color .2s; }
.mv-lead-link:hover { color: var(--navy); }
/* 強みの出し分け：--sp＝スマホバナー用（PC非表示）／--pc＝PC本文用（既定表示）
   ※.mv-strengths{display:flex} に負けないよう詳細度を上げる（.mv-head 付き） */
.mv-head .mv-strengths--sp { display: none; }
/* CTA：左右等幅・等高で並べる */
.mv-actions { display: flex; align-items: stretch; gap: 1.4rem; margin-bottom: 3.6rem; max-width: 64rem; }
.mv-actions .btn { flex: 1 1 0; padding-left: 1.4rem; padding-right: 1.4rem; }
/* お電話ボタン：「お電話で相談予約」と電話番号を2行に */
.btn-tel { flex-direction: column; gap: .3rem; line-height: 1.25; }
.btn-tel-num { font-size: .95em; letter-spacing: .03em; }
/* 強み：各1行の縦並び。キーワードを強調 */
.mv-strengths { display: flex; flex-direction: column; gap: 1.4rem; }
.mv-strengths li { display: flex; align-items: center; gap: 1.2rem; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--navy); }
.mv-st-no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3.4rem; height: 3.4rem; border-radius: 50%; flex-shrink: 0;
    background: var(--navy); color: #fff; font-size: 1.4rem; font-weight: 700; letter-spacing: 0;
}
.mv-st-txt strong { color: var(--blue-dk); font-weight: 700; font-size: 1.12em; border-bottom: 2px solid var(--blue-soft); padding-bottom: 1px; }

/* ---------- [8] 強み ---------- */
.strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; }
.strength-card {
    background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--blue);
    border-radius: var(--radius); padding: 4rem 3rem; box-shadow: var(--shadow);
}
.strength-no { font-family: var(--serif); font-size: 3.2rem; color: var(--blue-soft); font-weight: 700; }
.strength-title { font-size: 2.1rem; color: var(--navy); margin: 1rem 0 1.6rem; }
.strength-text { font-size: 1.5rem; color: var(--text-mid); line-height: 1.9; }

/* ---------- [9] 業務 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.8rem; }
.service-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 3.6rem 2.8rem; transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* クリックで料金へ飛ぶカード */
.service-card--link { display: flex; flex-direction: column; color: inherit; cursor: pointer; }
.service-card--link .service-text { flex: 1 1 auto; }
.service-card-fee { margin-top: 1.8rem; font-family: var(--serif); font-weight: 600; color: var(--blue-dk); font-size: 1.4rem; }
.service-card--link:hover { border-color: var(--blue-soft); }
.service-card--link:hover .service-card-fee { color: var(--navy); }
.service-icon { display: inline-block; width: 5.4rem; height: 5.4rem; color: var(--blue); margin-bottom: 1.8rem; }
.service-icon svg { width: 100%; height: 100%; }
.service-icon-lg { width: 6.4rem; height: 6.4rem; }
.service-title { font-size: 2rem; color: var(--navy); margin-bottom: .6rem; }
.service-lead { font-size: 1.35rem; color: var(--blue-dk); font-weight: 500; margin-bottom: 1.4rem; }
.service-text { font-size: 1.45rem; color: var(--text-mid); line-height: 1.85; }

/* ---------- [10] メッセージ（ごあいさつ） ---------- */
.greeting-inner { display: grid; grid-template-columns: 36rem 1fr; gap: 5.6rem; align-items: center; }
.greeting-photo {
    aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
    background: #dfe4ec url(../../images/mochizuki-profile.jpg) center 22% / cover no-repeat;
    box-shadow: var(--shadow-lg);
}
/* 写真表示のため頭文字プレースホルダーは非表示 */
.greeting-photo-placeholder { display: none; }
/* トップMessageは全身正面の写真 */
.greeting-photo--msg { background: #dfe4ec url(../../images/mochizuki-full.jpg) center 30% / cover no-repeat; }
.greeting-title { font-size: 3rem; color: var(--navy); margin: 1rem 0 2.4rem; }
.greeting-text { font-size: 1.55rem; color: var(--text-mid); line-height: 2; margin-bottom: 1.8rem; }
.greeting-sign { display: flex; align-items: baseline; gap: 1.2rem; margin: 2.4rem 0 2rem; }
.greeting-sign-role { font-size: 1.3rem; color: var(--text-light); }
.greeting-sign-name { font-family: var(--serif); font-size: 2.2rem; color: var(--navy); font-weight: 700; }

/* ---------- [11] プロフィール抜粋（トップ） ---------- */
.profile-grid { display: grid; grid-template-columns: 30rem 1fr; gap: 5rem; align-items: center; }
.profile-photo {
    aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-dk) 70%);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center;
}
.profile-photo span { display: block; font-family: var(--serif); font-size: 4.4rem; font-weight: 700; color: rgba(255,255,255,.9); writing-mode: vertical-rl; letter-spacing: .1em; }
.profile-role { font-size: 1.3rem; color: var(--blue-dk); letter-spacing: .08em; }
.profile-name { font-size: 2.8rem; color: var(--navy); margin: .4rem 0 .4rem; display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; }
.profile-name-kana { font-size: 1.3rem; color: var(--text-light); font-family: var(--sans); font-weight: 400; }
.profile-affil { font-size: 1.4rem; color: var(--text-mid); margin-bottom: 1.8rem; }
.profile-excerpt { font-size: 1.55rem; color: var(--text-mid); line-height: 1.95; margin-bottom: 2rem; }

/* ---------- [12] 流れ ---------- */
.flow-list { max-width: 78rem; margin: 0 auto; }
.flow-item { display: flex; gap: 2.8rem; position: relative; padding-bottom: 4rem; }
.flow-item:not(:last-child)::before {
    content: ""; position: absolute; left: 2.4rem; top: 5.2rem; bottom: 0; width: 2px; background: var(--border);
}
.flow-no {
    flex-shrink: 0; width: 4.8rem; height: 4.8rem; border-radius: 50%;
    background: var(--navy); color: var(--blue-soft); font-family: var(--serif); font-weight: 700;
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; z-index: 1;
}
.flow-title { font-size: 2rem; color: var(--navy); margin-bottom: .8rem; }
.flow-text { font-size: 1.5rem; color: var(--text-mid); line-height: 1.9; }

/* よくあるご質問（FAQ） */
.faq-list { max-width: 80rem; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.4rem 2.8rem; margin-bottom: 1.6rem; box-shadow: var(--shadow); }
.faq-q { font-family: var(--serif); font-size: 1.7rem; color: var(--navy); display: flex; gap: 1rem; }
.faq-q::before { content: "Q"; color: var(--blue); font-weight: 700; }
.faq-a { font-size: 1.45rem; color: var(--text-mid); line-height: 1.9; margin-top: 1rem; padding-left: 2.4rem; }

/* ---------- [13] ニュース ---------- */
.news-list { max-width: 84rem; margin: 0 auto; border-top: 1px solid var(--border); }
.news-item { border-bottom: 1px solid var(--border); }
.news-link { display: flex; align-items: center; gap: 2rem; padding: 2.2rem .8rem; flex-wrap: wrap; }
.news-link:hover { background: rgba(29,111,184,.05); }
.news-date { font-family: var(--serif); color: var(--text-light); font-size: 1.4rem; min-width: 9rem; }
.news-cat { font-size: 1.2rem; color: var(--white); background: var(--navy-soft); padding: .3rem 1.2rem; border-radius: 100px; }
.news-ttl { flex: 1; min-width: 18rem; color: var(--text); font-size: 1.55rem; }
.news-link:hover .news-ttl { color: var(--blue-dk); }
.news-empty { text-align: center; color: var(--text-mid); padding: 4rem 0; }

/* ---------- [14] アクセス ---------- */
.access-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: stretch; }
.access-map {
    min-height: 32rem; border-radius: var(--radius); overflow: hidden;
    background: var(--base-dk); border: 1px solid var(--border);
}
.access-map iframe { width: 100%; height: 100%; min-height: 32rem; border: 0; display: block; }
.access-map-note { color: var(--text-light); font-size: 1.4rem; }
.access-table, .info-table { width: 100%; border-collapse: collapse; }
.access-table th, .access-table td, .info-table th, .info-table td {
    text-align: left; padding: 1.6rem 1.2rem; border-bottom: 1px solid var(--border); font-size: 1.5rem; vertical-align: top;
}
.access-table th, .info-table th { width: 11rem; color: var(--navy); font-family: var(--serif); white-space: nowrap; }
.access-table td, .info-table td { color: var(--text-mid); }

/* ---------- [15] 共通CTA ---------- */
.cta-section { background: linear-gradient(135deg, var(--navy-dk), var(--navy) 60%, var(--navy-soft)); color: #fff; padding: 8rem 0; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; top: -10rem; right: -6rem; width: 36rem; height: 36rem; background: radial-gradient(circle, rgba(29,111,184,.35), transparent 70%); }
.cta-inner { position: relative; text-align: center; }
.cta-eyebrow { font-family: var(--serif); letter-spacing: .25em; color: var(--blue-soft); font-size: 1.3rem; margin-bottom: 1.2rem; }
.cta-title { font-size: 3.2rem; margin-bottom: 1.6rem; letter-spacing: .04em; }
.cta-lead { font-size: 1.6rem; color: #d9deea; max-width: 62rem; margin: 0 auto 4rem; line-height: 2; }
.cta-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 32rem)); gap: 2.4rem; justify-content: center; }
.cta-box {
    display: flex; flex-direction: column; gap: .4rem; padding: 2.8rem 2rem; border-radius: var(--radius);
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); transition: all .25s;
}
.cta-box:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); }
.cta-box-tel:hover { border-color: var(--blue-soft); }
.cta-box-form { background: var(--blue); border-color: var(--blue); }
.cta-box-form:hover { background: var(--blue-dk); }
.cta-box-label { font-size: 1.3rem; color: rgba(255,255,255,.85); }
.cta-box-main { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; }
.cta-box-sub { font-size: 1.25rem; color: rgba(255,255,255,.8); }
.cta-note { margin-top: 2.8rem; font-size: 1.25rem; color: rgba(255,255,255,.65); }

/* ---------- [16] ページヒーロー（内ページMV） ---------- */
.page-hero { position: relative; color: #fff; }
.page-hero-bg {
    position: absolute; inset: 0;
    background-color: var(--navy-dk);
    /* 下層ページ共通ヘッダー。写真未受領のため藍のグラデーションで構成。 */
    background-image:
        radial-gradient(100% 120% at 90% 0%, rgba(47,123,176,.38), transparent 55%),
        linear-gradient(120deg, var(--navy-dk) 0%, var(--navy) 60%, #275a82 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* ※内ページMV背景の横線グリッド装飾は不要との指摘により削除 */
.page-hero-inner { position: relative; text-align: center; padding: 6.4rem 2.4rem 5rem; }
.page-hero-en { font-family: var(--serif); letter-spacing: .25em; color: var(--blue-soft); font-size: 1.3rem; text-transform: uppercase; margin-bottom: 1.2rem; }
.page-hero-title { font-size: 3.8rem; letter-spacing: .05em; }
.page-hero-lead { margin-top: 1.8rem; font-size: 1.55rem; color: #d9deea; max-width: 64rem; margin-left: auto; margin-right: auto; }
/* PC・タブレット（820px以上）では説明文を一行に。スマホでは自然に折り返す */
@media (min-width: 820px) {
    .page-hero-lead { max-width: none; white-space: nowrap; }
}
.breadcrumb { position: relative; background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.1); }
.breadcrumb .container { display: flex; align-items: center; gap: .8rem; padding-top: 1.2rem; padding-bottom: 1.2rem; font-size: 1.25rem; flex-wrap: wrap; }
.breadcrumb a { color: #cfd6e3; }
.breadcrumb a:hover { color: var(--blue-soft); }
.breadcrumb-sep { color: rgba(255,255,255,.4); }
.breadcrumb-current { color: #fff; }

/* ---------- [17] 想い・経歴・情報テーブル（profile） ---------- */
.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; }
.philosophy-card { background: var(--white); border-radius: var(--radius); padding: 3.6rem 2.8rem; box-shadow: var(--shadow); border-bottom: 3px solid var(--blue); }
.philosophy-title { font-size: 2.2rem; color: var(--navy); margin-bottom: 1rem; }
.philosophy-catch { font-size: 1.45rem; color: var(--blue-dk); font-weight: 500; margin-bottom: 1.2rem; }
.philosophy-text { font-size: 1.45rem; color: var(--text-mid); line-height: 1.9; }
.history-list { max-width: 80rem; margin: 0 auto; }
.history-item { display: flex; gap: 2.4rem; padding: 2rem 0; border-bottom: 1px solid var(--border); }
.history-year { font-family: var(--serif); font-weight: 700; color: var(--blue-dk); min-width: 10rem; font-size: 1.6rem; }
.history-text { color: var(--text-mid); font-size: 1.5rem; }
.info-table { max-width: 86rem; margin: 0 auto; }

/* 所属事務所紹介 */
.office-box { max-width: 86rem; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 3.2rem 3.6rem; box-shadow: var(--shadow); }
.office-box-name { font-family: var(--serif); font-size: 2rem; color: var(--navy); margin-bottom: 1.4rem; }
.office-box-text { font-size: 1.5rem; color: var(--text-mid); line-height: 2; }
/* 事務所紹介：テキスト＋相談室写真の2カラム */
/* テキストボックスは自然な高さのまま変更せず、画像側がその高さに追従して上下を揃える */
.office-visual { max-width: 100rem; margin: 3.2rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }
.office-photo { position: relative; margin: 0; min-height: 26rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.office-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.office-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.6rem 1.2rem 1rem; text-align: center; font-size: 1.3rem; color: #fff; background: linear-gradient(transparent, rgba(20,32,58,.8)); font-family: var(--serif); letter-spacing: .06em; }
@media (max-width: 880px) {
    .office-visual { grid-template-columns: 1fr; gap: 2.8rem; }
    .office-photo { min-height: 30rem; }
}

/* ---------- [18] 業務詳細（services） ---------- */
.services-detail-list { display: grid; gap: 3.2rem; max-width: 90rem; margin: 0 auto; }
.service-detail { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 3.6rem; box-shadow: var(--shadow); }
.service-detail-head { display: flex; gap: 2.4rem; align-items: flex-start; margin-bottom: 1.8rem; }
.service-detail-no { font-family: var(--serif); font-size: 1.25rem; color: var(--blue); letter-spacing: .1em; }
.service-detail-title { font-size: 2.4rem; color: var(--navy); margin: .4rem 0 .4rem; }
.service-detail-lead { font-size: 1.45rem; color: var(--blue-dk); }
.service-detail-text { font-size: 1.55rem; color: var(--text-mid); line-height: 1.95; margin-bottom: 1.8rem; }

/* ---------- [20] お問い合わせ ---------- */
.contact-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.8rem; max-width: 86rem; margin: 0 auto; }
.contact-option { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 3.6rem; text-align: center; box-shadow: var(--shadow); }
.contact-option-form { background: var(--base); }
.contact-option-label { font-size: 1.3rem; color: var(--blue-dk); letter-spacing: .08em; }
.contact-option-title { font-size: 2.1rem; color: var(--navy); margin: .8rem 0 1.4rem; }
.contact-option-tel { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; color: var(--navy); }
.contact-option-hours { font-size: 1.3rem; color: var(--text-light); margin-top: .6rem; }
.contact-option-desc { font-size: 1.45rem; color: var(--text-mid); line-height: 1.9; }
/* フォームボックスをクリック可能なリンクに */
a.contact-option-form { display: block; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.contact-option-form:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-soft); }
.contact-option-jump { margin-top: 1.8rem; display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--blue-dk); }
.contact-option-jump-ico { display: inline-flex; width: 2.2rem; height: 2.2rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.4rem; transition: transform .25s; }
a.contact-option-form:hover .contact-option-jump-ico { transform: translateY(3px); }
/* スクロール先がスティッキーヘッダーに隠れないための余白 */
#form { scroll-margin-top: 10rem; }
/* お問い合わせページ先頭：見出しと相談方法の枠が一画面に収まるよう上余白を詰める */
#consult { padding-top: 4rem; }

.contact-form-wrap { max-width: 72rem; margin: 0 auto; }
.form-note { background: #eef5fc; border: 1px solid #b9d6f0; color: #1c5689; padding: 1.4rem 1.8rem; border-radius: var(--radius); font-size: 1.35rem; margin-bottom: 2.8rem; }
.demo-form .form-row, .contact-form-wrap .form-row { margin-bottom: 2.4rem; }
.form-row label { display: block; font-weight: 500; color: var(--navy); margin-bottom: .8rem; font-size: 1.5rem; }
.form-row input, .form-row select, .form-row textarea, .contact-form-wrap input[type=text], .contact-form-wrap input[type=email], .contact-form-wrap input[type=tel], .contact-form-wrap textarea, .contact-form-wrap select {
    width: 100%; padding: 1.3rem 1.6rem; border: 1.5px solid var(--border); border-radius: var(--radius);
    font-family: var(--sans); font-size: 1.5rem; background: var(--white); color: var(--text); transition: border-color .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--blue); }
.req { font-size: 1.1rem; color: #fff; background: #c0392b; padding: .2rem .8rem; border-radius: 3px; margin-left: .6rem; vertical-align: middle; }
.opt { font-size: 1.1rem; color: var(--text-mid); background: var(--base-dk); padding: .2rem .8rem; border-radius: 3px; margin-left: .6rem; vertical-align: middle; }
.form-check label { font-weight: 400; color: var(--text-mid); }
.form-check a { color: var(--blue-dk); text-decoration: underline; }
.form-submit { text-align: center; margin-top: 3.2rem; }

/* --- Contact Form 7 調整（チェックボックスのインライン化・応答メッセージ） --- */
/* 幅100%指定がチェックボックス/ラジオにも効いて崩れるのを打ち消す */
.form-row input[type="checkbox"], .form-row input[type="radio"],
.contact-form-wrap input[type="checkbox"], .contact-form-wrap input[type="radio"] {
    width: auto; display: inline-block; margin: .2rem .8rem 0 0; vertical-align: top; transform: scale(1.15);
}
.wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label { display: flex; align-items: flex-start; gap: .8rem; font-weight: 400; color: var(--text-mid); cursor: pointer; }
.wpcf7-acceptance .wpcf7-list-item-label { font-size: 1.45rem; line-height: 1.7; }
.wpcf7-acceptance .wpcf7-list-item-label a { color: var(--blue-dk); text-decoration: underline; }
/* 送信後の応答メッセージ・入力エラーの見た目 */
.wpcf7-response-output { margin: 2rem 0 0 !important; padding: 1.4rem 1.8rem !important; border-radius: var(--radius); font-size: 1.45rem; }
.wpcf7-not-valid-tip { color: #c0392b; font-size: 1.3rem; margin-top: .5rem; }
.wpcf7-spinner { margin: 0 auto; }
.contact-privacy { max-width: 72rem; margin: 4rem auto 0; padding: 2.8rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-privacy-title { font-size: 1.8rem; color: var(--navy); margin-bottom: 1.2rem; }
.contact-privacy-text { font-size: 1.4rem; color: var(--text-mid); line-height: 1.9; }
.contact-privacy-text a { color: var(--blue-dk); text-decoration: underline; }

/* ---------- [21] 投稿一覧・カード ---------- */
.news-filter { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 4.8rem; }
.news-filter a { font-size: 1.4rem; color: var(--navy); border: 1.5px solid var(--border); padding: .8rem 2rem; border-radius: 100px; transition: all .2s; }
.news-filter a:hover, .news-filter a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; }
.post-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-thumb { aspect-ratio: 16/10; background: linear-gradient(160deg, var(--navy-soft), var(--navy-dk)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-noimg { font-family: var(--serif); letter-spacing: .2em; color: rgba(255,255,255,.3); font-size: 1.6rem; }
.post-card-body { padding: 2.4rem; }
.post-card-meta { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem; }
.post-card-meta time { font-family: var(--serif); color: var(--text-light); font-size: 1.3rem; }
.post-card-cat { font-size: 1.15rem; color: #fff; background: var(--navy-soft); padding: .3rem 1rem; border-radius: 100px; }
.post-card-title { font-size: 1.8rem; color: var(--navy); line-height: 1.5; margin-bottom: 1rem; }
.post-card-excerpt { font-size: 1.4rem; color: var(--text-mid); line-height: 1.8; }

/* ページネーション */
.pagination { margin-top: 5.6rem; }
.pagination .nav-links { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 4.4rem; height: 4.4rem; padding: 0 1.2rem;
    border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--navy); font-family: var(--serif);
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- [22] 投稿詳細 ---------- */
.page-hero-single .page-hero-inner { padding-top: 5.6rem; padding-bottom: 4.4rem; }
.single-meta { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-bottom: 1.6rem; }
.single-meta time { font-family: var(--serif); color: var(--blue-soft); font-size: 1.4rem; }
.single-cat { font-size: 1.2rem; color: #fff; background: rgba(255,255,255,.15); padding: .3rem 1.2rem; border-radius: 100px; }
.single-title { font-size: 3rem; }
.single-content { font-size: 1.6rem; line-height: 2.05; color: var(--text); }
.single-content h2 { font-size: 2.4rem; color: var(--navy); margin: 4rem 0 1.6rem; padding-left: 1.4rem; border-left: 4px solid var(--blue); }
.single-content h3 { font-size: 2rem; color: var(--navy); margin: 3rem 0 1.2rem; }
.single-content p { margin-bottom: 1.8rem; }
.single-content a { color: var(--blue-dk); text-decoration: underline; }
.single-content ul, .single-content ol { margin: 0 0 1.8rem 2rem; }
.single-content ul li { list-style: disc; margin-bottom: .6rem; }
.single-content ol li { list-style: decimal; margin-bottom: .6rem; }
.single-content img { border-radius: var(--radius); margin: 2rem 0; }
.single-content blockquote { border-left: 4px solid var(--blue); background: var(--base); padding: 2rem 2.4rem; margin: 2.4rem 0; color: var(--text-mid); }
.single-nav { display: flex; align-items: stretch; justify-content: space-between; gap: 1.6rem; margin-top: 5.6rem; padding-top: 3.2rem; border-top: 1px solid var(--border); }
.single-nav-item { flex: 1; font-size: 1.35rem; }
.single-nav-item span { display: block; color: var(--text-light); font-size: 1.2rem; margin-bottom: .4rem; }
.single-nav-item a:hover { color: var(--blue-dk); }
.single-nav-next { text-align: right; }
.single-nav-list { align-self: center; font-family: var(--serif); color: var(--navy); border: 1.5px solid var(--navy); border-radius: 100px; padding: 1rem 2.4rem; white-space: nowrap; }
.single-nav-list:hover { background: var(--navy); color: #fff; }

/* ---------- [23] フッター ---------- */
.site-footer { background: var(--navy-dk); color: #c8cfdc; }
.site-footer-inner { max-width: var(--container); margin: 0 auto; padding: 6.4rem 2.4rem 4rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; }
.ft-logo { display: inline-flex; flex-direction: column; line-height: 1.4; margin-bottom: 2rem; }
.ft-logo-firm { font-size: 1.15rem; color: var(--blue-soft); letter-spacing: .12em; }
.ft-logo-title { font-family: var(--serif); font-size: 2.2rem; color: #fff; font-weight: 700; }
.ft-addr { font-size: 1.35rem; line-height: 1.9; }
.ft-addr a { color: var(--blue-soft); }
.ft-nav { display: flex; gap: 4rem; justify-content: flex-end; }
.ft-nav-col li { margin-bottom: 1.2rem; }
.ft-nav-col a { font-size: 1.4rem; color: #c8cfdc; }
.ft-nav-col a:hover { color: var(--blue-soft); }
.ft-copy-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 2rem 2.4rem; text-align: center; }
.ft-copy { font-size: 1.2rem; color: #9aa3b3; }

/* ---------- [24] SP固定CTAバー ---------- */
.sp-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; }
.sp-cta-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: 1rem; color: #fff; font-size: 1.3rem; font-weight: 500; }
.sp-cta-bar-tel { background: var(--navy); }
.sp-cta-bar-form { background: var(--blue); }
.sp-cta-bar-icon { width: 2.2rem; height: 2.2rem; }
.sp-cta-bar-icon svg { width: 100%; height: 100%; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
    .mv-title { font-size: 4.4rem; }
    .header-tel { display: none; }
    .greeting-inner { grid-template-columns: 28rem 1fr; gap: 4rem; }
    .profile-grid { grid-template-columns: 24rem 1fr; gap: 4rem; }
}

@media (max-width: 1080px) {
    .main-nav, .header-cta { display: none; }
    .hamburger { display: block; }
    .header-body { min-height: 7.2rem; }
    .logo-img { height: 5.4rem; }
    .logo-title { font-size: 2.1rem; }
    .info-bar-text { display: none; }
    .info-bar-inner { justify-content: center; }
    .section { padding: 6rem 0; }
    .section-title { font-size: 2.6rem; }
    .strengths-grid, .services-grid, .philosophy-grid, .post-list { grid-template-columns: 1fr; }
    .greeting-inner, .profile-grid { grid-template-columns: 1fr; gap: 3.2rem; }
    .greeting-photo, .profile-photo { max-width: 28rem; aspect-ratio: 3/4; margin: 0 auto; }
    .access-inner { grid-template-columns: 1fr; }
    .cta-actions { grid-template-columns: 1fr; }
    .contact-options { grid-template-columns: 1fr; }
    .site-footer-inner { grid-template-columns: 1fr; gap: 3.2rem; }
    .ft-nav { justify-content: flex-start; gap: 3rem; }
    .mv-inner { padding: 7rem 2.4rem 6.4rem; }
    .mv-title { font-size: 3.6rem; }
    .mv-lead { font-size: 1.5rem; }
    .pc-only { display: none; }
    .sp-only { display: inline; }
    .sp-cta-bar { display: flex; }
    body { padding-bottom: 6rem; } /* SP固定バーの高さ分 */
    .page-hero-title { font-size: 2.8rem; }
    .service-detail-head { flex-direction: column; gap: 1.2rem; }
}

@media (max-width: 480px) {
    html { font-size: 60%; }
    .container { padding: 0 1.8rem; }
    .mv-title { font-size: 3rem; }
    .mv-actions .btn { width: 100%; }
    .section-title { font-size: 2.3rem; }
    .flow-item { gap: 1.6rem; }
}

/* ===== スマホMV：テキストヒーローの調整 ===== */
@media (max-width: 640px) {
    .mv-inner { padding-top: 6rem; padding-bottom: 6rem; }
    .mv-eyebrow { margin-bottom: 1.4rem; font-size: 1.25rem; }
    .mv-title { font-size: 2.7rem; line-height: 1.5; letter-spacing: .01em; margin-bottom: 1.8rem; }
    .mv-lead { font-size: 1.4rem; line-height: 1.9; margin-bottom: 2.4rem; }
    .mv-actions .btn { width: 100%; }
}

/* ============================================================
   追加コンポーネント（望月サイト固有）
   ============================================================ */

/* 経営理念：2カラム */
.philosophy-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 92rem; margin: 0 auto; }

/* 取扱業務：料金の目安（詳細カード内） */
.service-detail-price {
    margin-top: 1.4rem; padding: 1.6rem 2rem; background: var(--base);
    border-radius: var(--radius); font-size: 1.6rem; color: var(--text); line-height: 1.95;
}
.price-label {
    display: inline-block; font-family: var(--serif); font-weight: 700; color: var(--blue-dk);
    font-size: 1.35rem; margin-right: 1rem; padding: .3rem 1.2rem; border: 1px solid var(--blue-soft); border-radius: 100px;
}

/* 解決実績カード */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3.2rem; }
.work-card {
    background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--blue);
    border-radius: var(--radius); padding: 3.2rem 2.8rem; box-shadow: var(--shadow);
    scroll-margin-top: 12rem; /* MVからのジャンプ時にヘッダーへ隠れない余白 */
}
/* リンクで飛んできた事例を一瞬ハイライト */
.work-card:target { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,123,176,.28), var(--shadow-lg); }
.work-no { display: block; font-family: var(--serif); font-size: 1.25rem; letter-spacing: .12em; color: var(--blue); margin-bottom: .8rem; }
.work-field {
    display: inline-block; font-size: 1.25rem; color: #fff; background: var(--navy-soft);
    padding: .3rem 1.2rem; border-radius: 100px; margin-bottom: 1.4rem;
}
.work-text { font-size: 1.5rem; color: var(--text-mid); line-height: 1.95; }

/* ---------- カルーセル（解決実績・お客様の声）---------- */
.carousel { position: relative; }
.carousel-track {
    display: flex; gap: 3.2rem; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
    padding: .8rem .6rem 1.2rem; margin: 0 -.6rem;
    scrollbar-width: none; cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-grabbing { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.carousel-item { scroll-snap-align: start; }
.carousel--works .carousel-item { flex: 0 0 calc((100% - 3.2rem) / 2); }
.carousel--voices .carousel-track { gap: 2.8rem; }
.carousel--voices .carousel-item { flex: 0 0 calc((100% - 5.6rem) / 3); }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 4.8rem; height: 4.8rem; border-radius: 50%; border: 1px solid var(--border);
    background: #fff; color: var(--navy); box-shadow: var(--shadow-lg); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 3rem; line-height: 1; padding-bottom: .4rem;
    transition: background .2s, color .2s, transform .2s, opacity .2s;
}
.carousel-prev { left: -2.4rem; }
.carousel-next { right: -2.4rem; }
.carousel-arrow:hover { background: var(--navy); color: #fff; }
.carousel-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }
.carousel--static .carousel-arrow { display: none; } /* 件数が少なくスクロール不要な時は矢印を隠す */

/* お客様の声 */
.voices-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.8rem; margin-top: 4rem; }
.voices-row--page { margin-top: 0; }
.voice-card {
    position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 3.6rem 2.8rem 2.8rem; font-size: 1.45rem; color: var(--text-mid); line-height: 1.9; box-shadow: var(--shadow);
}
.voice-card::before {
    content: "\201C"; position: absolute; top: .6rem; left: 1.6rem;
    font-family: var(--serif); font-size: 5rem; color: var(--blue-soft); opacity: .5; line-height: 1;
}

/* 料金ページ */
.fees-lead { font-size: 1.6rem; color: var(--text-mid); line-height: 2; }
.fees-lead p { margin-bottom: 1.6rem; }
.fees-table-wrap { overflow-x: auto; }
.fees-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.fees-table thead th { background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1.75rem; padding: 1.8rem 2rem; text-align: left; }
.fees-table tbody th { width: 32%; min-width: 22rem; text-align: left; vertical-align: top; padding: 2rem 2rem; font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.85rem; line-height: 1.6; border-bottom: 1px solid var(--border); background: var(--base); }
.fees-table tbody td { padding: 2rem 2rem; font-size: 1.65rem; color: var(--text); line-height: 2; border-bottom: 1px solid var(--border); vertical-align: top; }
/* 料金明細：スラッシュをやめ改行。金額を色付き強調 */
.fee-line { display: block; padding: .5rem 0; }
.fee-line + .fee-line { border-top: 1px dashed var(--border); }
.fee-for { color: var(--text); font-weight: 400; margin-right: .8rem; }
.fee-amount { color: var(--amber); font-weight: 700; }
.fee-note { display: block; font-size: .82em; color: var(--text-light); line-height: 1.7; margin-top: .1rem; }
.fee-note-link { display: table; font-size: .82em; line-height: 1.7; color: var(--text-light); font-weight: 400; margin-top: .3rem; border-bottom: 1px solid var(--border); }
.fee-note-link:hover { color: var(--blue-dk); border-color: var(--blue-soft); }
/* 取扱業務ページ内の料金明細 */
.service-detail-price .fee-lines { display: block; margin-top: .4rem; }
.service-detail-price .fee-line { padding: .35rem 0; }
.service-detail-price .fee-line + .fee-line { border-top: 1px dashed var(--border); }
.fees-note { max-width: 90rem; margin: 3.2rem auto 0; font-size: 1.5rem; color: var(--text-mid); line-height: 2; }
/* 取扱業務カードから飛んできた時のジャンプ位置・ハイライト */
#fee-corporate { scroll-margin-top: 9rem; }
.fees-table tr[id] { scroll-margin-top: 12rem; }
.fees-table tr:target th { box-shadow: inset 4px 0 0 var(--amber); }
.fees-table tr:target th, .fees-table tr:target td { background: #fbf4e7; }

@media (max-width: 880px) {
    .philosophy-grid--2, .works-grid, .voices-row { grid-template-columns: 1fr; }
    .fees-table tbody th { width: auto; min-width: 0; }
}

/* ===== FV写真MV：モバイル調整（人物とテキストが重ならないよう中央のベージュを見せる）===== */
/* タブレット・スマホ：写真バナー＋その下にテキストの縦積み（常に可読）。
   タブレット=fv-tablet.jpg／スマホ=fv-sp.jpg をバナーに使用。 */
@media (max-width: 880px) {
    .mv-photo { background: #f0ebe3; }
    .mv-photo .mv-bg { display: none; }
    .mv-photo .mv-inner { position: static; display: block; min-height: 0; padding: 0; }
    .mv-photo .mv-inner > * { max-width: 100%; }
    /* 上：写真バナー＋左半分に見出しを重ねる（顔は右なのでかからない） */
    .mv-head {
        position: relative;
        min-height: 66vw; max-height: 48rem;
        background: #f0ebe3 url(../../images/fv-tablet.jpg) no-repeat right center / cover;
        display: flex; flex-direction: column; justify-content: flex-start;
        padding: 3.4rem 2.4rem 3rem;
        word-break: keep-all; overflow-wrap: normal;
    }
    .mv-head > * { max-width: 55%; }
    .mv-head .mv-eyebrow { margin-bottom: 1.1rem; }
    .mv-head .mv-title { font-size: clamp(1.6rem, 4.7vw, 2.7rem); line-height: 1.55; margin-bottom: 0; }
    /* スマホ：強みをバナー左下に表示（PC用の強みは隠す） */
    .mv-head .mv-strengths--sp { display: flex; max-width: 50%; margin-top: 1.6rem; gap: .8rem; }
    .mv-body .mv-strengths--pc { display: none; }
    .mv-head .mv-strengths li { font-size: 1.28rem; gap: .8rem; align-items: flex-start; }
    .mv-head .mv-st-no { width: 2.6rem; height: 2.6rem; font-size: 1.12rem; margin-top: .1rem; }
    /* 下：本文（リード・CTA） */
    .mv-body { padding: 3.6rem 2.4rem 4.4rem; }
}
@media (max-width: 640px) {
    .mv-head { background-image: url(../../images/fv-sp.jpg); min-height: 88vw; max-height: 52rem; padding-top: 3rem; }
    .mv-head > * { max-width: 53%; }
    .mv-head .mv-eyebrow { font-size: 1.15rem; letter-spacing: .06em; margin-bottom: .9rem; }
    .mv-actions { flex-direction: column; max-width: none; }
    .mv-strengths { gap: 1.1rem; }
    .mv-strengths li { font-size: 1.5rem; }
    .mv-st-no { width: 3rem; height: 3rem; font-size: 1.3rem; }
}

/* ---------- 「働く姿」帯（トップ・全幅写真＋引用）---------- */
.working-band { position: relative; overflow: hidden; color: #fff; background: var(--navy-dk); }
.working-bg {
    position: absolute; inset: 0; z-index: 0;
    background-color: var(--navy-dk);
    /* 左に望月先生（執筆中）。右側を紺で暗めにし、引用テキストの可読性を確保 */
    background-image:
        linear-gradient(90deg, rgba(18,28,48,.25) 0%, rgba(18,28,48,.55) 42%, rgba(18,28,48,.9) 100%),
        url(../../images/working.jpg);
    background-size: cover, cover;
    background-position: center, center left;
    background-repeat: no-repeat, no-repeat;
}
.working-inner {
    position: relative; z-index: 1; max-width: var(--container); margin: 0 auto;
    padding: 9rem 2.4rem; min-height: 42rem;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right;
}
.working-inner > * { max-width: 58rem; }
.working-eyebrow { font-family: var(--serif); letter-spacing: .25em; color: var(--blue-soft); font-size: 1.3rem; text-transform: uppercase; margin-bottom: 2rem; }
.working-quote { font-family: var(--serif); font-size: 3rem; line-height: 1.75; font-weight: 600; letter-spacing: .04em; margin: 0 0 2.4rem; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.working-by { margin-top: 1.4rem; display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.working-sign-line { display: flex; align-items: center; gap: 1.8rem; }
.working-by-role { font-family: var(--serif); font-size: 1.6rem; color: rgba(255,255,255,.9); letter-spacing: .1em; }
.working-sign-img { height: 5.4rem; width: auto; display: block; }
.working-by-kana { font-size: 1.25rem; color: rgba(255,255,255,.68); letter-spacing: .12em; }

@media (max-width: 880px) {
    .working-bg {
        background-image:
            linear-gradient(180deg, rgba(18,28,48,.55) 0%, rgba(18,28,48,.78) 100%),
            url(../../images/working.jpg);
        background-position: center, center top;
    }
    .working-inner { min-height: 34rem; padding: 6.4rem 2.4rem; align-items: center; text-align: center; }
    .working-inner > * { max-width: 100%; }
    .working-quote { font-size: 2.3rem; line-height: 1.7; }
    .working-quote br { display: none; }
    .working-by { align-items: center; }
    .working-sign-img { height: 4.4rem; }
}

/* ===== カルーセル：タブレット・スマホ（1件表示・矢印を内側に）===== */
@media (max-width: 880px) {
    .carousel--works .carousel-item,
    .carousel--voices .carousel-item { flex: 0 0 calc(100% - 1.2rem); }
    .carousel--voices .carousel-track { gap: 3.2rem; }
    .carousel-prev { left: .2rem; }
    .carousel-next { right: .2rem; }
    .carousel-arrow { width: 4.2rem; height: 4.2rem; font-size: 2.6rem; background: rgba(255,255,255,.92); }
}
