/* 川添国際法務事務所 デザイン案：パスポートのえんじ×墨×生成り。見出しは Noto Serif JP、英字・数字は Playfair Display */
:root {
  --wine: #6e1f30; --wine-d: #4f1522; --wine-l: #f6ecec; --ink: #1f2330; --ink2: #3c4150; --mute: #6c6f7a;
  --cream: #f7f2ea; --sand: #e9d8b4; --line: #e4ddd1; --line2: #d4cabb;
  --serif: "Noto Serif JP", serif; --en: "Playfair Display", "Noto Serif JP", serif; --sans: "Noto Sans JP", system-ui, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.95; letter-spacing: .02em; font-variant-numeric: lining-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, li, dd, blockquote { text-align: justify; text-justify: inter-character; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.5; letter-spacing: .04em; margin: 0; color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sec { padding: 108px 0; }
.sec.cream { background: var(--cream); }
.sec.ink { background: var(--ink); color: #fff; }
.sec.ink h2, .sec.ink h3 { color: #fff; }
@media (max-width: 680px) { br.br-pc { display: none; } }

/* 見出し：英字（Playfair の斜体）＋日本語の見出し（Noto Serif）。左寄せ */
.sh { margin: 0 0 54px; max-width: 860px; }
.sh-en { display: block; font-family: var(--en); font-style: italic; font-size: 22px; color: var(--wine); letter-spacing: .02em; line-height: 1.2; }
.ink .sh-en { color: var(--sand); }
.sh h2 { font-size: clamp(25px, 3vw, 34px); margin: 8px 0 0; padding-bottom: 20px; position: relative; }
.sh h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--wine); }
.ink .sh h2::after { background: var(--sand); }
.sh p { margin: 20px 0 0; color: var(--mute); font-size: 15px; line-height: 2; }
.ink .sh p { color: #c9cbd3; }

/* ボタン */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; border-radius: 2px; padding: 12px 22px; min-height: 72px; line-height: 1.35; font-weight: 700; letter-spacing: .06em; transition: background .2s, color .2s, border-color .2s; }
.btn small { font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.btn-main { background: var(--wine); color: #fff; }
.btn-main b { font-family: var(--en); font-size: 28px; font-weight: 400; letter-spacing: .04em; }
.btn-main:hover { background: var(--wine-d); }
.btn-sub { background: #fff; color: var(--ink); border: 1px solid var(--ink); font-family: var(--serif); font-size: 19px; letter-spacing: .1em; }
.btn-sub small { font-family: var(--sans); margin-top: 4px; }
.btn-sub:hover { background: var(--ink); color: #fff; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; gap: 26px; height: 78px; max-width: 1560px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; min-width: 0; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo span { display: flex; flex-direction: column; line-height: 1.35; }
.logo small { font-size: 11px; color: var(--mute); letter-spacing: .06em; white-space: nowrap; }
.logo strong { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; white-space: nowrap; font-size: 13.5px; font-weight: 500; letter-spacing: .06em; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--wine); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.hd-tel { display: flex; align-items: center; text-decoration: none; flex: none; padding-left: 24px; border-left: 1px solid var(--line); height: 46px; }
.ht-tx { display: flex; flex-direction: column; line-height: 1.25; }
.hd-tel small { font-size: 11px; color: var(--mute); letter-spacing: .08em; white-space: nowrap; }
.hd-tel small em { font-style: normal; margin-left: 10px; color: var(--wine); font-weight: 700; }
.hd-tel b { font-family: var(--en); font-size: 26px; font-weight: 400; letter-spacing: .04em; white-space: nowrap; color: var(--ink); }
.menu-btn { display: none; }

/* ヒーロー：生成りの地に、アーチ形の写真 */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 64px 0 80px; }
.hero::before { content: ""; position: absolute; right: -6%; top: -30%; width: 62%; height: 160%; background: radial-gradient(closest-side, rgba(110, 31, 48, .07), transparent); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.kicker { margin: 0 0 20px; padding-left: 16px; border-left: 2px solid var(--wine); line-height: 1.6; }
.k-en { display: block; font-family: var(--en); font-style: italic; font-size: 18px; color: var(--wine); }
.k-ja { display: block; font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: .14em; color: var(--ink2); }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.35; letter-spacing: .1em; }
.hero h1 em { font-style: normal; color: var(--wine); }
.lead { margin: 24px 0 30px; color: var(--ink2); max-width: 34em; line-height: 2.05; font-size: 15.5px; }
.cta { display: flex; gap: 14px; margin-bottom: 34px; }
.cta .btn { flex: 1 1 0; min-width: 0; }
.hero-nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.hero-nums li { padding: 16px 6px 14px; text-align: center; line-height: 1.25; }
.hero-nums li + li { border-left: 1px solid var(--line); }
.hero-nums b { font-family: var(--en); font-size: 42px; font-weight: 400; color: var(--wine); line-height: 1; }
.hero-nums span { display: block; font-family: var(--serif); font-weight: 700; font-size: 14px; margin-top: 4px; }
.hero-nums small { display: block; font-family: var(--sans); font-weight: 400; font-size: 11.5px; color: var(--mute); margin-top: 4px; }
.hero-ph { margin: 0; position: relative; justify-self: center; width: min(100%, 440px); }
.arch { border-radius: 220px 220px 4px 4px; overflow: hidden; aspect-ratio: 760 / 900; box-shadow: 0 0 0 1px var(--line2), 0 0 0 10px var(--cream), 0 0 0 11px var(--line2); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.stamp { position: absolute; left: -34px; top: 46%; width: 112px; height: 112px; border-radius: 50%; border: 2px solid var(--wine); outline: 1px solid var(--wine); outline-offset: 4px; background: var(--cream); color: var(--wine); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; transform: rotate(-10deg); }
.stamp b { font-family: var(--en); font-style: italic; font-weight: 400; font-size: 15px; }
.stamp i { font-family: var(--en); font-style: normal; font-size: 30px; }
.stamp small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
.hero-ph figcaption { margin-top: 22px; text-align: center; line-height: 1.5; }
.hero-ph figcaption b { display: block; font-family: var(--serif); font-size: 22px; letter-spacing: .3em; }
.hero-ph figcaption span { font-family: var(--en); font-style: italic; font-size: 15px; color: var(--mute); }

/* 解説を探す（最初の画面の下） */
.find { background: var(--ink); color: #fff; padding: 26px 0; }
.fd-in { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "t f" "g g"; gap: 14px 32px; align-items: center; }
.fd-t { grid-area: t; margin: 0; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.3; text-align: left; }
.fd-t span { display: block; font-family: var(--en); font-style: italic; font-weight: 400; font-size: 14px; color: var(--sand); }
.fd-t small { display: block; font-family: var(--sans); font-size: 12.5px; font-weight: 400; color: #c9cbd3; margin-top: 4px; }
.fd-t small b { font-family: var(--en); font-size: 18px; color: #fff; margin: 0 2px; }
.fd-f { grid-area: f; display: flex; }
.fd-f input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 13px 16px; border: 0; border-radius: 2px 0 0 2px; color: var(--ink); }
.fd-f button { font: inherit; font-family: var(--serif); font-weight: 600; letter-spacing: .1em; border: 0; background: var(--wine); color: #fff; padding: 0 26px; cursor: pointer; border-radius: 0 2px 2px 0; }
.fd-tags { grid-area: g; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fd-tags a { display: inline-block; text-decoration: none; font-size: 13.5px; padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 99px; }
.fd-tags a:hover { background: #fff; color: var(--ink); }

/* 場面のカード（解説へ＋費用へ） */
.sc { padding: 0; }
.sc::after { display: none; }
.sc-main { display: flex; flex-direction: column; text-decoration: none; padding: 24px 22px 14px; flex: 1; }
.sc-go { font-style: normal; margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; color: var(--wine); }
.sc-sub { display: block; text-decoration: none; border-top: 1px solid var(--line); padding: 10px 22px; font-size: 13px; color: var(--mute); }
.sc-sub::before { content: "¥ "; color: var(--wine); font-family: var(--en); }
.sc-sub:hover { color: var(--wine); }

/* 目的から探す：おすすめ記事 */
.nv-rl { margin-top: 26px; }
.nv-read { list-style: none; margin: 0; padding: 0; }
.nv-read li { border-bottom: 1px solid var(--line); }
.nv-read a { display: block; position: relative; padding: 10px 24px 10px 0; font-size: 14.5px; text-decoration: none; color: var(--ink); }
.nv-read a::after { content: "→"; position: absolute; right: 2px; top: 10px; font-family: var(--en); color: var(--wine); }
.nv-read a:hover { color: var(--wine); }

/* 解説ライブラリ */
.lb-t { margin: 0 0 14px; font-family: var(--serif); font-weight: 600; font-size: 18px; text-align: left; }
.pillar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 44px; }
.pl { display: flex; flex-direction: column; text-decoration: none; background: var(--cream); border-top: 2px solid var(--wine); padding: 20px 20px 18px; transition: background .2s; }
.pl:hover { background: var(--wine-l); }
.pl-min { font-size: 12px; color: var(--wine); letter-spacing: .06em; }
.pl b { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.5; margin: 8px 0 6px; }
.pl-s { font-size: 13px; color: var(--mute); margin-top: auto; }
.lib { border: 1px solid var(--line2); margin-bottom: 36px; }
.lib-bar { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line2); background: #fff; }
.lib-bar input { font: inherit; font-size: 14.5px; padding: 10px 14px; border: 1px solid var(--line2); border-radius: 2px; width: 100%; }
.lib-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.lib-tabs button { font: inherit; font-size: 13.5px; border: 1px solid var(--line2); background: #fff; padding: 6px 12px; border-radius: 2px; cursor: pointer; color: var(--ink2); }
.lib-tabs button i { font-style: normal; font-family: var(--en); margin-left: 6px; color: var(--wine); }
.lib-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lib-tabs button.on i { color: var(--sand); }
.lib-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.lib-list li { border-bottom: 1px solid var(--line); }
.lib-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.lib-list a { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 13px 22px; text-decoration: none; }
.lib-list a:hover { background: var(--cream); }
.lb-c { font-size: 11.5px; color: var(--wine); }
.lib-list b { font-weight: 500; font-size: 14.5px; line-height: 1.6; }
.lb-m { font-size: 12px; color: var(--mute); white-space: nowrap; }
.lb-none { grid-column: 1 / -1; padding: 22px; color: var(--mute); }
.lib-more { display: block; width: 100%; border: 0; border-top: 1px solid var(--line2); background: #fff; font: inherit; font-family: var(--serif); font-weight: 600; letter-spacing: .1em; padding: 14px; cursor: pointer; color: var(--wine); }
.lib-more[hidden] { display: none; }
.upd li a { text-decoration: none; }
.upd li a:hover { color: var(--wine); }
.office dd a { color: var(--wine); }

/* 足元：全記事の一覧 */
.ft-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin: 0 0 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); }
.ft-map summary { cursor: pointer; list-style: none; padding: 8px 0; color: #fff; font-family: var(--serif); }
.ft-map summary::-webkit-details-marker { display: none; }
.ft-map summary span { font-family: var(--en); color: var(--sand); margin-left: 8px; }
.ft-map ul { list-style: none; margin: 0 0 12px; padding: 0; }
.ft-map li { padding: 3px 0; font-size: 12.5px; text-align: left; }
.ft-map a { text-decoration: none; }
.ft-map a:hover { color: #fff; }

/* ビザが要る場面 */
.scene { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 40px; }
.sc { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line2); border-radius: 2px; padding: 24px 22px 20px; position: relative; transition: border-color .2s, background .2s; }
.sc::after { content: "→"; position: absolute; right: 18px; bottom: 16px; font-family: var(--en); color: var(--wine); font-size: 18px; }
.sc:hover { border-color: var(--wine); background: var(--wine-l); }
.sc-ic { width: 46px; height: 46px; color: var(--wine); margin-bottom: 14px; }
.sc-ic svg { width: 100%; height: 100%; }
.sc b { font-family: var(--serif); font-size: 17px; line-height: 1.5; letter-spacing: .04em; }
.sc span { font-size: 13px; color: var(--mute); margin-top: 4px; padding-right: 20px; }
.warn { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; background: var(--cream); padding: 30px 34px; border-left: 3px solid var(--wine); }
.warn-t { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.6; text-align: left; }
.warn ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.warn li { font-size: 14px; color: var(--mute); line-height: 1.7; text-align: left; }
.warn li b { display: block; font-family: var(--serif); color: var(--ink); font-size: 15.5px; }

/* 目的から探す */
.navi { background: #fff; border: 1px solid var(--line2); border-radius: 2px; }
.nv-tabs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-bottom: 1px solid var(--line2); }
.nv-tabs button { font: inherit; font-family: var(--serif); font-weight: 700; font-size: 14.5px; letter-spacing: .04em; border: 0; background: none; cursor: pointer; padding: 18px 6px; color: var(--mute); position: relative; line-height: 1.4; }
.nv-tabs button + button { border-left: 1px solid var(--line); }
.nv-tabs button.on { color: var(--wine); background: var(--wine-l); }
.nv-tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--wine); }
.nv-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.nv-info { padding: 36px 40px; }
.nv-lb { margin: 0 0 6px; font-size: 12.5px; color: var(--mute); letter-spacing: .12em; text-align: left; }
.nv-visa { margin: 0 0 24px; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--wine); line-height: 1.5; text-align: left; }
.nv-pts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nv-pts li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.75; }
.nv-pts li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 7px; height: 7px; background: var(--wine); transform: rotate(45deg); }
.nv-cost { background: var(--cream); padding: 36px 40px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.nv-opt { display: grid; gap: 16px; margin-bottom: 20px; }
.f > span:first-child { display: block; font-size: 13px; color: var(--mute); margin-bottom: 6px; letter-spacing: .06em; }
.f[hidden], .ck[hidden] { display: none; }
.f select { width: 100%; font: inherit; font-size: 15.5px; padding: 11px 40px 11px 14px; border: 1px solid var(--ink); border-radius: 2px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f2330' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; color: var(--ink); }
.stp { display: grid; grid-template-columns: 42px 70px 42px; border: 1px solid var(--line2); width: max-content; background: #fff; }
.stp button { border: 0; background: #fff; font-family: var(--en); font-size: 20px; color: var(--wine); cursor: pointer; }
.stp input { border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-family: var(--en); font-size: 22px; width: 100%; background: #fff; color: var(--ink); }
.ck { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.ck input { accent-color: var(--wine); width: 18px; height: 18px; margin: 3px 0 0; }
.nv-t { width: 100%; border-collapse: collapse; }
.nv-t th, .nv-t td { padding: 12px 0; border-bottom: 1px solid var(--line2); font-size: 14px; vertical-align: baseline; }
.nv-t th { text-align: left; font-weight: 400; padding-right: 12px; }
.nv-t td { text-align: right; font-family: var(--en); font-size: 19px; white-space: nowrap; }
.nv-total { display: flex; align-items: baseline; margin: 20px 0 0; padding: 18px 22px; background: var(--ink); color: #fff; }
.nv-total span { font-family: var(--serif); font-weight: 700; letter-spacing: .1em; }
.nv-total b { margin-left: auto; margin-right: 4px; font-family: var(--en); font-weight: 400; font-size: 40px; line-height: 1; }
.nv-total i { font-style: normal; font-family: var(--serif); font-weight: 700; }
.nv-note { margin: 14px 0 0; font-size: 12.5px; color: var(--mute); }

/* ご相談の例 */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cs-col { border-top: 2px solid var(--ink); }
.cs-t { margin: 0; padding: 18px 0 14px; font-family: var(--serif); font-weight: 700; font-size: 19px; text-align: left; letter-spacing: .06em; }
.cs-t span { display: block; font-family: var(--en); font-style: italic; font-weight: 400; font-size: 15px; color: var(--wine); letter-spacing: 0; }
.cs-col ul { list-style: none; margin: 0; padding: 0; }
.cs-col li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.cs-col li p { margin: 0; font-size: 15px; text-align: left; }
.cs-col li b { font-size: 12.5px; font-weight: 500; color: var(--wine); border: 1px solid var(--wine); padding: 3px 10px; white-space: nowrap; }

/* 3つのポイント */
.choose { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.choose li { background: #fff; border-top: 2px solid var(--wine); padding: 30px 28px 26px; display: flex; flex-direction: column; }
.ch-n { font-family: var(--en); font-style: italic; font-size: 34px; color: var(--wine); line-height: 1; }
.choose h3 { font-size: 19px; margin: 14px 0 12px; line-height: 1.55; }
.choose p { margin: 0; font-size: 14.5px; color: var(--ink2); }
.ch-ck { list-style: none; margin: auto 0 0; padding: 16px 0 0; display: flex; gap: 8px; }
.ch-ck li { padding: 3px 12px; border: 1px solid var(--wine); color: var(--wine); font-size: 13px; background: none; border-top-width: 1px; }

/* 5つの特徴 */
.feature { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.feature > div { padding: 30px 26px 28px; }
.feature > div + div { border-left: 1px solid var(--line); }
.ft-1 { grid-column: 1 / -1; display: grid; grid-template-columns: 90px 300px minmax(0, 1fr); gap: 0 28px; align-items: baseline; border-bottom: 1px solid var(--line); background: var(--cream); }
.feature > .ft-1 + div { border-left: 0; }
.ftn { font-family: var(--en); font-style: italic; font-size: 36px; color: var(--wine); line-height: 1; }
.feature h3 { font-size: 18px; margin: 12px 0 10px; line-height: 1.55; }
.ft-1 h3 { font-size: 22px; margin: 0; }
.feature p { margin: 0; font-size: 14px; color: var(--ink2); }
.ft-1 p { font-size: 15px; }

/* 代表紹介の追加 */
.pro-sub { margin: 0 0 22px; border-top: 1px solid var(--line2); }
.pro-sub details { border-bottom: 1px solid var(--line2); }
.pro-sub summary { cursor: pointer; list-style: none; padding: 14px 30px 14px 0; position: relative; font-family: var(--serif); font-weight: 600; font-size: 16px; }
.pro-sub summary::-webkit-details-marker { display: none; }
.pro-sub summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-family: var(--en); font-size: 22px; color: var(--wine); }
.pro-sub details[open] summary::after { content: "−"; }
.pro-l { list-style: none; margin: 0 0 16px; padding: 0; }
.pro-l li { position: relative; padding: 5px 0 5px 16px; font-size: 14px; text-align: left; }
.pro-l li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 5px; height: 5px; background: var(--wine); transform: rotate(45deg); }
.pro-y { margin: 0 0 16px; }
.pro-y div { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.pro-y dt { font-family: var(--en); color: var(--wine); font-size: 17px; }
.pro-y dd { margin: 0; font-size: 13.5px; color: var(--ink2); text-align: left; }
.pro-video { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; text-decoration: none; border: 1px solid var(--line2); padding: 14px 18px; margin: 0 0 22px; max-width: 420px; }
.pro-video:hover { border-color: var(--wine); }
.pv-play { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: var(--wine); position: relative; }
.pv-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.pro-video b { font-family: var(--serif); font-size: 16px; }
.pro-video span:last-child { font-size: 13px; color: var(--mute); }

/* 取扱業務と解説記事・更新情報 */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 40px; }
.sv { border-top: 2px solid var(--ink); padding-top: 20px; }
.sv h3 { font-size: 19px; margin-bottom: 10px; display: flex; align-items: baseline; gap: 12px; }
.sv h3 span { font-family: var(--en); font-style: italic; font-size: 20px; color: var(--wine); }
.sv ul { list-style: none; margin: 0; padding: 0; }
.sv li { border-bottom: 1px solid var(--line); text-align: left; }
.sv a { display: block; padding: 11px 22px 11px 0; text-decoration: none; position: relative; font-size: 14.5px; }
.sv a::after { content: "→"; position: absolute; right: 2px; top: 11px; font-family: var(--en); color: var(--wine); }
.sv a:hover { color: var(--wine); }
.upd { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 24px; align-items: start; background: var(--cream); padding: 26px 30px; }
.upd-t { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 18px; }
.upd ul { list-style: none; margin: 0; padding: 0; }
.upd li { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line2); font-size: 14px; text-align: left; }
.upd time { font-family: var(--en); color: var(--wine); }
.upd > a { color: var(--wine); font-weight: 700; text-decoration: none; white-space: nowrap; font-size: 14px; }

/* 制度の変更 */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .25); border-bottom: 1px solid rgba(255, 255, 255, .25); }
.nw { padding: 30px 30px 32px; }
.nw + .nw { border-left: 1px solid rgba(255, 255, 255, .15); }
.nw-d { margin: 0 0 10px; color: var(--sand); font-size: 13px; letter-spacing: .08em; text-align: left; }
.nw-d b { font-family: var(--en); font-weight: 400; font-size: 32px; margin-right: 10px; letter-spacing: .02em; }
.nw h3 { font-size: 18.5px; margin-bottom: 12px; line-height: 1.6; }
.nw p { margin: 0; font-size: 14px; color: #c9cbd3; }

/* 報酬額 */
.fee { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; align-items: stretch; }
.fee-t { width: 100%; border-collapse: collapse; }
.fee-t thead th { font-family: var(--serif); font-size: 14px; letter-spacing: .1em; padding: 0 0 8px; border-bottom: 1px solid var(--ink); text-align: left; }
.fee-t thead th:last-child { text-align: right; }
.fee-t tbody th { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.fee-t tbody th small { display: block; font-family: var(--en); font-style: italic; font-weight: 400; font-size: 13px; color: var(--mute); letter-spacing: 0; margin-top: 2px; }
.fee-t td { text-align: right; padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--en); font-size: 27px; white-space: nowrap; }
.fee-t td i { font-style: normal; font-family: var(--serif); font-size: 14px; margin-left: 2px; }
.fee-side { display: flex; flex-direction: column; gap: 14px; }
.fee-b { flex: 1; background: var(--cream); padding: 22px 26px; }
.fee-b h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: .08em; }
.fee-b ul { list-style: none; margin: 0; padding: 0; }
.fee-b li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.fee-b li b { font-weight: 500; }
.fee-b p { margin: 8px 0 0; font-size: 13.5px; color: var(--mute); }

/* ご依頼の流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 26px; }
.flow li { background: #fff; border: 1px solid var(--line2); padding: 26px 20px 22px; position: relative; }
.flow li:not(:nth-child(3n+1))::before { content: ""; position: absolute; left: -22px; top: 38px; width: 8px; height: 8px; border-top: 1px solid var(--wine); border-right: 1px solid var(--wine); transform: rotate(45deg); }
.fl-n { font-family: var(--en); font-size: 34px; color: var(--wine); line-height: 1; }
.flow b { display: block; font-family: var(--serif); font-size: 17px; margin: 12px 0 8px; }
.flow p { margin: 0; font-size: 13.5px; color: var(--mute); line-height: 1.8; text-align: left; }

/* 代表紹介 */
.pro { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 60px; align-items: start; }
.pro-ph { margin: 0; }
.pro-ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 30%; border-radius: 2px; }
.pro-ph figcaption { margin-top: 16px; line-height: 1.6; }
.pro-ph b { display: block; font-family: var(--serif); font-size: 24px; letter-spacing: .24em; }
.pro-ph span { font-size: 13px; color: var(--mute); }
.pro-q { margin: 0 0 22px; font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 1.75; color: var(--wine); text-align: left; letter-spacing: .04em; }
.pro-msg { margin: 0 0 30px; font-size: 15.5px; color: var(--ink2); }
.tl { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line2); }
.tl li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; text-align: left; }
.tl b { font-family: var(--serif); color: var(--wine); }
.pro-more a { color: var(--wine); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* 英語のメッセージ */
.em { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.em-h { font-family: var(--en) !important; font-weight: 500 !important; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.25; letter-spacing: 0 !important; margin: 14px 0 34px; color: #fff; }
.em-q { margin: 0 0 30px; padding-left: 20px; border-left: 2px solid var(--sand); font-family: var(--en); font-style: italic; font-size: 19px; line-height: 1.7; color: #e6e1d8; text-align: left; }
.em-sig { margin: 0; display: flex; align-items: center; gap: 18px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.em-sig img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; outline: 1px solid var(--sand); outline-offset: 4px; }
.em-sig b { display: block; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 21px; color: #fff; }
.em-sig span { font-size: 13px; color: #c9cbd3; }
.em-r p { margin: 0 0 18px; font-family: var(--en); font-size: 18px; line-height: 1.75; color: #e6e1d8; text-align: left; hyphens: auto; }
.em-3 { list-style: none; margin: 26px 0 26px; padding: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.em-3 li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); text-align: left; }
.em-3 b { font-family: var(--en); font-style: italic; font-weight: 500; font-size: 20px; color: var(--sand); }
.em-3 span { font-size: 14px; color: #c9cbd3; font-family: var(--en); }
.em-mail { font-family: var(--en); font-style: italic; font-size: 18px; color: var(--sand); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* お客様の声 */
.voice { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vc { margin: 0; background: #fff; padding: 32px 32px 24px; position: relative; display: flex; flex-direction: column; }
.vc::before { content: "“"; position: absolute; left: 22px; top: 4px; font-family: var(--en); font-size: 70px; color: var(--wine); opacity: .25; line-height: 1; }
.vc blockquote { margin: 0 0 18px; font-size: 15px; line-height: 1.95; position: relative; }
.vc blockquote[lang="en"] { font-family: var(--en); font-style: italic; font-size: 17px; line-height: 1.7; text-align: left; }
.vc figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; }
.vc figcaption b { font-family: var(--serif); font-size: 16px; }
.vc figcaption span { font-size: 13px; color: var(--mute); }

/* よくある質問 */
.faq { max-width: 900px; border-top: 1px solid var(--line2); }
.faq details { border-bottom: 1px solid var(--line2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 50px; position: relative; font-family: var(--serif); font-weight: 700; font-size: 16.5px; line-height: 1.65; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 8px; top: 15px; font-family: var(--en); font-size: 28px; color: var(--wine); }
.faq summary::after { content: ""; position: absolute; right: 14px; top: 30px; width: 9px; height: 9px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq details p { margin: 0; padding: 0 16px 24px 50px; color: var(--mute); font-size: 15px; }

/* 会社さま・専門家の方へ */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .25); border-bottom: 1px solid rgba(255, 255, 255, .25); }
.pt-b { padding: 34px 30px; }
.pt-b + .pt-b { border-left: 1px solid rgba(255, 255, 255, .15); }
.pt-b h3 { font-size: 19px; margin: 6px 0 12px; }
.pt-b p { margin: 0; font-size: 14px; color: #c9cbd3; }

.pt-b { display: block; text-decoration: none; color: inherit; }
a.pt-b:hover h3 { color: var(--sand); }
.pt-go, .pt-ls a, .nw-go { font-style: normal; display: inline-block; margin-top: 14px; font-size: 13.5px; color: var(--sand); text-decoration: none; border-bottom: 1px solid rgba(233, 216, 180, .5); padding-bottom: 1px; }
.pt-ls { margin: 0 !important; display: flex; flex-wrap: wrap; gap: 0 18px; }
.nw { display: flex; flex-direction: column; }
.nw-go { margin-top: auto; padding-top: 14px; align-self: flex-start; border: 0; }
.em-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 18px !important; }
.em-links a { font-family: var(--en); font-size: 16px; color: #e6e1d8; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.sh-more, .faq details p a { color: var(--wine); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; margin-left: 6px; }

/* お問い合わせ */
.ct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 44px; }
.ct-b { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; background: #fff; border: 1px solid var(--line2); border-radius: 2px; padding: 26px 14px; line-height: 1.5; text-align: center; }
a.ct-b:hover { border-color: var(--ink); }
.ct-main { background: var(--wine); border-color: var(--wine); color: #fff; }
a.ct-main:hover { background: var(--wine-d); }
.ct-b small { font-size: 12.5px; letter-spacing: .08em; }
.ct-b b { font-family: var(--en); font-size: 33px; font-weight: 400; white-space: nowrap; }
.ct-b .ct-w { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .06em; padding: 6px 0; }
.ct-line .ct-w { color: #06c755; }
.ct-b span { font-size: 12.5px; opacity: .85; }
.office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.office dl { margin: 0; background: #fff; padding: 12px 30px; border: 1px solid var(--line2); }
.office dl div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.office dl div:last-child { border: 0; }
.office dt { font-family: var(--serif); font-weight: 700; }
.office dd { margin: 0; text-align: left; font-size: 14.5px; }
.office dd span { font-family: var(--en); font-style: italic; color: var(--mute); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* フッター */
.ft { background: var(--ink); color: #c9cbd3; padding: 54px 0 110px; font-size: 13.5px; border-top: 3px solid var(--wine); }
.ft-name { margin: 0 0 20px; text-align: left; font-size: 12.5px; letter-spacing: .06em; }
.ft-name b { display: block; color: #fff; font-family: var(--serif); font-size: 21px; letter-spacing: .1em; margin-top: 4px; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 22px; }
.ft-nav a { text-decoration: none; }
.ft-c { margin: 0; font-family: var(--en); font-style: italic; font-size: 13px; opacity: .7; }
.dock { display: none; }

/* 幅に合わせて */
@media (max-width: 1440px) {
  .nav { display: none; position: fixed; inset: 79px 0 auto 0; background: var(--ink); flex-direction: column; gap: 0; padding: 8px 32px 22px; }
  .nav a { color: #fff; font-size: 15px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav a::after { display: none; }
  .menu-open .nav, .nav.is-open { display: flex; }
  .menu-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-left: 18px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 9px 11px 7px; border-radius: 2px; cursor: pointer; flex: none; }
  .menu-btn span { width: 22px; height: 1px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); margin: 8px 0 6px; }
  .hd-tel { margin-left: auto; }
}
@media (max-width: 1080px) {
  .scene { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nv-tabs button:nth-child(5) { border-left: 0; }
  .nv-tabs button:nth-child(n+5) { border-top: 1px solid var(--line); }
  .ft-1 { grid-template-columns: 70px minmax(0, 1fr); }
  .ft-1 p { grid-column: 2; margin-top: 8px; }
  .svc, .pillar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ft-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .flow li::before { display: none !important; }
  .pro { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 960px) {
  .sec { padding: 80px 0; }
  .hero-in, .nv-body, .fee, .office, .warn, .cases { grid-template-columns: minmax(0, 1fr); }
  .hero-in { gap: 48px; }
  .nv-cost { border-left: 0; border-top: 1px solid var(--line); }
  .news, .partners, .choose, .svc { grid-template-columns: minmax(0, 1fr); }
  .upd { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lib-bar { grid-template-columns: minmax(0, 1fr); }
  .lib-tabs { justify-content: flex-start; }
  .lib-list { grid-template-columns: minmax(0, 1fr); }
  .lib-list li:nth-child(odd) { border-right: 0; }
  .fd-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "f" "g"; }
  .nw + .nw, .pt-b + .pt-b { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); }
  .pro { grid-template-columns: minmax(0, 1fr); }
  .em { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pro-ph { max-width: 380px; }
  .ct { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .hd .wrap { height: 64px; gap: 10px; }
  .nav { inset: 65px 0 auto 0; padding: 8px 20px 20px; }
  .logo svg { width: 34px; height: 34px; }
  .logo small { font-size: 9.5px; letter-spacing: 0; }
  .logo strong { font-size: 15.5px; letter-spacing: .02em; }
  .hd-tel { display: none; }
  .menu-btn { margin-left: auto; }
  .sec { padding: 64px 0; }
  .sh { margin-bottom: 36px; }
  .sh-en { font-size: 19px; }
  .hero { padding: 48px 0 64px; }
  .cta { flex-direction: column; }
  .cta .btn { flex: none; width: 100%; }
  .hero-ph { width: min(100%, 320px); }
  .stamp { left: -12px; width: 92px; height: 92px; }
  .stamp i { font-size: 24px; }
  .scene, .warn ul, .voice, .ct, .flow, .feature { grid-template-columns: minmax(0, 1fr); }
  .feature > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ft-1 { grid-template-columns: minmax(0, 1fr); }
  .ft-1 h3 { margin-top: 10px; }
  .ft-1 p { grid-column: auto; }
  .warn { padding: 24px 20px; }
  .nv-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-tabs button:nth-child(odd) { border-left: 0; }
  .nv-tabs button:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nv-info, .nv-cost { padding: 26px 18px; }
  .cs-col li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cs-col li b { justify-self: start; }
  .vc { padding: 28px 20px 20px; }
  .faq summary { padding: 18px 34px 18px 40px; font-size: 15.5px; }
  .faq summary::before { left: 2px; top: 12px; }
  .faq summary::after { right: 6px; }
  .faq details p { padding: 0 6px 22px 40px; }
  .em-r p { font-size: 16.5px; }
  .em-3 li { grid-template-columns: 70px minmax(0, 1fr); }
  .ft { padding-bottom: 96px; }
  .ft-map { grid-template-columns: minmax(0, 1fr); }
  .pillar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .pl { padding: 14px 12px 12px; }
  .pl b { font-size: 15px; }
  .pl-s { display: none; }
  .lib-list a { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px; }
  .lb-c { grid-column: 1 / -1; }
  .dock { display: grid; grid-template-columns: 1.4fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -2px 10px rgba(0, 0, 0, .12); }
  .dock a { text-decoration: none; text-align: center; padding: 10px 6px calc(10px + env(safe-area-inset-bottom)); font-weight: 700; line-height: 1.3; display: flex; flex-direction: column; justify-content: center; }
  .dock a:first-child { background: var(--wine); color: #fff; font-family: var(--en); font-size: 22px; font-weight: 400; }
  .dock a:first-child small { font-family: var(--sans); font-size: 11px; font-weight: 500; }
  .dock a:last-child { background: var(--ink); color: #fff; font-family: var(--serif); font-size: 15px; letter-spacing: .06em; }
}
@media (max-width: 380px) {
  .logo { gap: 8px; }
  .logo svg { width: 30px; height: 30px; }
  .logo small { font-size: 8px; }
  .logo strong { font-size: 13.5px; letter-spacing: 0; }
  .hd .wrap { gap: 6px; }
  .menu-btn { padding: 7px 8px 5px; margin-left: 6px; }
  .hero-nums b { font-size: 34px; }
}

/* 動画で学ぶ（サムネイルだけ先に出し、押したら上に重ねて再生） */
.arch { position: relative; }
.hero-mv { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; color: #fff; background: rgba(31, 35, 48, .82); backdrop-filter: blur(4px); padding: 7px 18px 7px 7px; border-radius: 99px; transition: background .2s; }
.hm-pl { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--wine); position: relative; }
.hm-pl::after { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.hero-mv b { font-family: var(--serif); font-weight: 600; font-size: 14.5px; letter-spacing: .06em; }
.hero-mv time { font-family: var(--en); font-size: 13px; color: var(--sand); }
.hero-mv:hover { background: rgba(110, 31, 48, .92); }
.sc-foot { display: grid; grid-auto-flow: column; grid-template-columns: auto; grid-auto-columns: auto; justify-content: start; border-top: 1px solid var(--line); margin: 0; padding: 0; }
.sc .sc-foot .sc-sub { border-top: 0; padding: 10px 14px 10px 0; margin: 0; white-space: nowrap; }
.sc-vid { display: block; text-decoration: none; padding: 10px 14px; font-size: 13px; color: var(--mute); border-left: 1px solid var(--line); white-space: nowrap; }
.sc-vid::before { content: ""; display: inline-block; vertical-align: 1px; margin-right: 7px; border-left: 8px solid var(--wine); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.sc-vid i { font-style: normal; font-family: var(--en); color: var(--wine); margin: 0 2px 0 6px; }
.sc-vid:hover { color: var(--wine); }
.mv-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, .22); margin-bottom: 44px; }
.mv-tab { font: inherit; background: transparent; color: #c9cbd3; border: 0; border-left: 1px solid rgba(255, 255, 255, .22); padding: 16px 12px; cursor: pointer; display: flex; justify-content: center; align-items: baseline; gap: 10px; transition: background .2s, color .2s; }
.mv-tab:first-child { border-left: 0; }
.mv-tab b { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .06em; }
.mv-tab i { font-style: normal; font-family: var(--en); font-size: 15px; color: var(--sand); }
.mv-tab i::after { content: "本"; font-family: var(--sans); font-size: 11px; margin-left: 2px; }
.mv-tab:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.mv-tab.on { background: var(--sand); color: var(--ink); }
.mv-tab.on i { color: var(--wine); }
.mv-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .22); margin-bottom: 28px; }
.mv-who { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--sand); letter-spacing: .08em; }
.mv-head h3 { font-size: 24px; }
.mv-head h3 span { display: inline-block; margin-left: 16px; font-family: var(--sans); font-weight: 400; font-size: 13px; color: #c9cbd3; letter-spacing: .04em; }
.mv-art { text-decoration: none; color: #fff; font-size: 14px; border: 1px solid rgba(255, 255, 255, .45); padding: 9px 18px; border-radius: 2px; white-space: nowrap; }
.mv-art::after { content: " →"; font-family: var(--en); color: var(--sand); }
.mv-art:hover { background: #fff; color: var(--ink); }
.mv-note { margin: -12px 0 26px; font-size: 13px; color: #c9cbd3; padding-left: 14px; border-left: 2px solid var(--sand); line-height: 1.8; }
.mv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.mv-c { display: flex; flex-direction: column; text-decoration: none; color: #fff; height: 100%; }
.mv-th { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; margin-bottom: 14px; }
.mv-th img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; opacity: .88; }
.mv-c:hover .mv-th img { transform: scale(1.04); opacity: 1; }
.mv-pl { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(110, 31, 48, .92); box-shadow: 0 0 0 6px rgba(255, 255, 255, .18); transition: transform .2s; }
.mv-pl::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.mv-c:hover .mv-pl { transform: scale(1.08); }
.mv-th time { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .78); color: #fff; font-family: var(--en); font-size: 12.5px; line-height: 1; padding: 5px 7px; border-radius: 2px; }
.mv-n { font-family: var(--en); font-style: italic; font-size: 14px; color: var(--sand); }
.mv-c b { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.55; margin: 4px 0 8px; }
.mv-d { font-size: 13.5px; color: #c9cbd3; line-height: 1.8; }
.mv-ch { margin: 46px 0 0; text-align: center; }
.mv-ch a { color: #fff; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--sand); padding-bottom: 2px; }
.mv-ch a::after { content: " ↗"; color: var(--sand); }
.mv-dlg { padding: 0; border: 0; background: transparent; width: min(960px, calc(100% - 32px)); max-width: none; max-height: none; overflow: visible; }
.mv-dlg::backdrop { background: rgba(14, 16, 24, .86); }
.mv-box { position: relative; background: var(--ink); color: #fff; }
.mv-x { position: absolute; right: 0; top: -40px; font: inherit; font-size: 13.5px; background: transparent; color: #fff; border: 0; cursor: pointer; padding: 6px 0 6px 26px; }
.mv-x::before, .mv-x::after { content: ""; position: absolute; left: 4px; top: 50%; width: 16px; height: 1.5px; background: #fff; transform: rotate(45deg); }
.mv-x::after { transform: rotate(-45deg); }
.mv-frame { aspect-ratio: 16 / 9; background: #000; }
.mv-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.mv-info { padding: 18px 24px 0; }
.mv-cap { margin: 0; font-size: 12.5px; color: var(--sand); letter-spacing: .06em; }
.mv-ttl { margin: 2px 0 0; font-family: var(--serif); font-weight: 600; font-size: 18px; text-align: left; }
.mv-act { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px 24px 22px; }
.mv-act button, .mv-act a { font: inherit; font-size: 14px; text-align: center; text-decoration: none; padding: 11px 8px; border-radius: 2px; cursor: pointer; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; line-height: 1.5; white-space: nowrap; }
.mv-act .mv-ask { background: var(--wine); border-color: var(--wine); }
.mv-act button:hover, .mv-act .mv-read:hover { background: rgba(255, 255, 255, .1); }
.mv-act .mv-ask:hover { background: var(--wine-d); }
.mv-act [hidden] { display: none; }
.mv-act button:disabled { opacity: .35; cursor: default; }
@media (max-width: 960px) {
  .mv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .mv-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 32px; }
  .mv-tab:nth-child(3) { border-left: 0; }
  .mv-tab:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); }
  .mv-head { grid-template-columns: minmax(0, 1fr); }
  .mv-head h3 { font-size: 20px; }
  .mv-head h3 span { display: block; margin: 4px 0 0; }
  .mv-art { justify-self: start; }
  .mv-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .mv-act { grid-template-columns: 1fr 1fr; padding: 14px 16px 18px; }
  .mv-info { padding: 14px 16px 0; }
  .mv-ttl { font-size: 16px; }
}

.sc b { word-break: keep-all; overflow-wrap: anywhere; }

/* 2026-11-04 先生のご回答：お電話はAIの留守番電話のため目立たせず、メール・LINE を主に */
.hd-mail b { font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: .08em; color: var(--wine); }
.btn-mail b { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .1em; }
.btn-line small { color: #06a648; }
.ct-tel b { font-size: 28px; }
.ct-tel { background: transparent; }
@media (max-width: 900px) {
  .dock { grid-template-columns: 1fr 1fr; }
  .dock a:first-child, .dock a:last-child { font-family: var(--serif); font-size: 16px; font-weight: 700; letter-spacing: .06em; }
  .dock a:last-child { background: #06c755; }
  .dock a small { font-family: var(--sans); font-size: 11px; font-weight: 500; }
}
/* 2026-11-04 スマホの「合計のめやす」を1行に */
.nv-total span { white-space: nowrap; }
@media (max-width: 680px) {
  .nv-total { gap: 10px; }
  .nv-total b { font-size: 34px; }
  .nv-total span { font-size: 13px; letter-spacing: .04em; }
}
/* 1100px 前後で場面カードの下（費用のめやす｜動画）が3px 足りなかったので詰める（2026-11-04 整列の点検） */
@media (max-width: 1180px) { .sc .sc-foot .sc-sub { padding-right: 10px; font-size: 12.5px; } .sc-vid { padding: 10px 10px; font-size: 12.5px; } }

/* 仕上げ 2026-11-04 */
:root { --acc: var(--wine); --acc-d: var(--wine-d); --on-dark: var(--sand); --pp: var(--cream); }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3, .btn b, .ct-b b { font-feature-settings: "palt"; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* 欄の見出しに、斜体の番号と細い罫 */
body { counter-reset: sec; }
.sec > .wrap > .sh .sh-en { display: flex; align-items: center; gap: 0; }
.sec > .wrap > .sh .sh-en::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-style: italic; margin-right: 14px; padding-right: 14px; border-right: 1px solid currentColor; line-height: 1; opacity: .85; }

/* ヘッダー：スクロールしたら薄い影 */
.hd { transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 6px 24px rgba(20, 24, 22, .07); }

/* 押せる箱・ボタン：触れたときに少し浮く */
.btn, .ct-b, .gf, .pl, .st, a.pt-b, .sc, .em-mail, .hd-cta, .hd-tel { transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s; }
@media (hover: hover) {
  .btn:hover, .ct-b:hover, .gf:hover, .pl:hover, .sc:hover, a.pt-b:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20, 24, 22, .10); }
}

/* ページの先頭へ */
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line2); color: var(--ink); display: flex; align-items: center; justify-content: center; text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s, transform .3s; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.totop::before { content: ""; width: 9px; height: 9px; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: translateY(2px) rotate(45deg); }
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { border-color: var(--acc); color: var(--acc); }
@media (max-width: 900px) { .totop { bottom: 78px; right: 14px; width: 42px; height: 42px; } }

/* 足元：事務所の情報・理念・相談の入口 */
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 64px; padding-bottom: 30px; margin-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft-brand .ft-name { margin-bottom: 14px; }
.ft-msg { margin: 0 0 20px; font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .14em; color: var(--on-dark); text-align: left; }
.ft-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-cta a { text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 14px; letter-spacing: .08em; padding: 10px 20px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 2px; color: #fff; }
.ft-cta a:first-child { background: #fff; color: var(--ink); border-color: #fff; }
.ft-cta a:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.ft-info { margin: 0; font-size: 13px; }
.ft-info > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ft-info > div:last-child { border-bottom: 0; }
.ft-info dt { color: var(--on-dark); font-family: var(--serif); font-weight: 600; }
.ft-info dd { margin: 0; color: #e6e8e7; text-align: left; line-height: 1.75; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ft-bottom .ft-c { margin: 0; }
.ft-sites { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; text-align: left; }
.ft-sites span { color: rgba(255, 255, 255, .5); }
.ft-sites a { text-decoration: none; }
.ft-sites a:hover { color: #fff; }
@media (max-width: 900px) { .ft-top { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .ft-info > div { grid-template-columns: 5.6em minmax(0, 1fr); } .ft-cta a { flex: 1 1 0; text-align: center; padding: 10px 8px; } }
.ft-bottom { border-top: 0; margin-top: 0; padding-top: 0; }
.ft-info dd span { display: inline; padding: 0; margin: 0; border: 0; font-size: inherit; color: inherit; }
.hero-ph .card { z-index: 3; }

/* ボタンの主な文字は折らない（WebKit で LINE ボタンが「LIN／E」と折れた 2026-11-04） */
.btn b { white-space: nowrap; }

/* 2026-11-05 川添先生のご指摘：政府機関ではない旨の注意書き（Google 広告のため）、報酬の補足 */
.hero-note { margin: 14px 0 0; font-size: 12px; line-height: 1.7; color: var(--mute); }
.fee-t td .fee-x { display: block; max-width: 12em; margin: 4px 0 0 auto; white-space: normal; text-align: right; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--mute); letter-spacing: 0; line-height: 1.5; }
.ft-note { margin: 18px 0 0; font-size: 12px; line-height: 1.7; color: #b9c0bd; }
.nv-t td.nv-gov { font-family: var(--serif); font-size: 15px; letter-spacing: .02em; }
.office dd span.nw { display: inline-block; padding: 0; margin: 0; border: 0; font-family: inherit; font-style: normal; font-size: inherit; color: inherit; white-space: nowrap; }
@media (max-width: 480px) { .office dl { padding: 8px 18px; } .office dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
