/* ビザVISA申請代行センター デザイン案：深い青緑×金茶×生成り（旅券の地紋）。見出しは しっぽり明朝、英字と数字は EB Garamond（2026-10-27 Kaisei Opti＋Bodoni Moda から変更） */
:root {
  --teal: #0f3a40; --teal2: #1d5a61; --teal-l: #e9f1f0; --gold: #b8863b; --gold2: #d6b77a; --gold-l: #f7efe0;
  --text: #26343a; --mute: #66727a; --line: #e3e0d8; --line2: #d2cdc1; --tint: #f7f5f0;
  --serif: "Shippori Mincho", "Noto Serif JP", serif; --en: "EB Garamond", "Shippori Mincho", 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(--text); 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 { text-align: justify; text-justify: inter-character; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.5; letter-spacing: .06em; margin: 0; color: var(--teal); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sec { padding: 112px 0; }
.sec.tint { background: var(--tint); }
.sec.dark { background: var(--teal); color: #fff; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
@media (max-width: 680px) { br.br-pc { display: none; } }

/* 見出し：英字は斜体、下に金の菱形 */
.sec-head { text-align: center; margin: 0 auto 60px; max-width: 840px; }
.sec-head .en { display: block; font-family: var(--en); font-style: italic; font-size: 21px; letter-spacing: .04em; color: var(--gold); }
.dark .sec-head .en { color: var(--gold2); }
.sec-head h2 { font-size: clamp(25px, 3vw, 34px); margin: 6px 0 0; text-align: center; }
.sec-head h2::after { content: ""; display: block; width: 9px; height: 9px; margin: 22px auto 0; background: var(--gold); transform: rotate(45deg); }
.sec-head p { margin: 22px auto 0; color: var(--mute); font-size: 15px; line-height: 2; text-align: center; text-wrap: balance; }
.dark .sec-head p { color: #b7cacb; }

/* ボタン */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; border-radius: 2px; padding: 12px 30px; min-height: 72px; min-width: 260px; line-height: 1.35; font-weight: 700; letter-spacing: .06em; transition: background .2s, color .2s; }
.btn small { font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.btn-main { background: var(--gold); color: #fff; }
.btn-main b { font-family: var(--en); font-size: 29px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.btn-main:hover { background: #9c6f2c; }
.btn-sub { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .7); font-size: 20px; font-family: var(--serif); letter-spacing: .1em; }
.btn-sub small { font-family: var(--sans); font-size: 12.5px; margin-top: 4px; }
.btn-sub:hover { background: #fff; color: var(--teal); }
.btn.sm { min-height: 0; min-width: 0; padding: 12px 26px; font-size: 14.5px; }

/* ヘッダー */
.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: 44px; height: 44px; flex: none; }
.logo span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.logo small { font-size: 11px; color: var(--mute); letter-spacing: .06em; white-space: nowrap; }
.logo strong { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; color: var(--teal); }
.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; color: var(--teal); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.hd-tel { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; color: var(--teal); padding: 0 0 0 24px; border-left: 1px solid var(--line); height: 46px; }
.ht-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: var(--gold2); flex: none; }
.ht-ic svg { width: 18px; height: 18px; }
.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(--teal); }
.hd-tel b { font-family: var(--en); font-size: 25px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.menu-btn { display: none; }

/* 最初の画面：旅券の地紋 */
.hero { position: relative; overflow: hidden; background: var(--teal); color: #fff; padding: 96px 0 92px; }
.hero::before { content: ""; position: absolute; inset: -20%; background:
  repeating-radial-gradient(circle at 78% 30%, transparent 0 22px, rgba(214, 183, 122, .07) 22px 23px),
  repeating-radial-gradient(circle at 10% 110%, transparent 0 30px, rgba(255, 255, 255, .035) 30px 31px); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--gold) 0 40px, transparent 40px 48px); opacity: .7; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: stretch; }
.kicker { margin: 0 0 26px; line-height: 1.6; }
.k-en { display: block; font-family: var(--en); font-style: italic; font-size: 20px; color: var(--gold2); }
.kicker span:last-child { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; border: 1px solid rgba(214, 183, 122, .6); padding: 3px 12px; color: #f1e3c4; }
.hero h1 { font-size: clamp(32px, 4.3vw, 54px); line-height: 1.45; letter-spacing: .08em; color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold2); }
.lead { margin: 28px 0 38px; color: #c9d8d8; max-width: 33em; line-height: 2.05; font-size: 15.5px; }
.cta { display: flex; gap: 14px; }
.cta .btn { flex: 1 1 0; min-width: 0; padding: 12px 18px; }
.cta .btn-main b { font-size: 27px; }
.hero-side { display: flex; flex-direction: column; gap: 20px; }
.pass { flex: 1; display: flex; flex-direction: column; background: #fbf8f1; color: var(--teal); border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(214, 183, 122, .5), 0 0 0 6px rgba(255, 255, 255, .06); }
.ps-h { display: flex; justify-content: space-between; align-items: baseline; background: var(--gold); color: #fff; padding: 12px 24px; font-family: var(--en); }
.ps-h span { font-size: 12px; letter-spacing: .24em; }
.ps-h b { font-size: 18px; font-weight: 500; letter-spacing: .14em; }
.ps-body { flex: 1; padding: 22px 26px 8px; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(15, 58, 64, .025) 14px 15px); }
.ps-l { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; color: var(--mute); font-weight: 700; }
.ps-main { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ps-main li { background: #fff; border: 1px solid var(--line2); border-top: 3px solid var(--teal); padding: 12px 14px 10px; line-height: 1.5; text-align: left; }
.ps-main b { display: block; font-family: var(--serif); font-size: 22px; letter-spacing: .1em; }
.ps-main small { font-size: 11.5px; color: var(--mute); }
.ps-area { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ps-area li { font-family: var(--serif); font-weight: 700; font-size: 18px; text-align: center; border: 1px dashed var(--teal2); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; letter-spacing: .06em; }
.ps-foot { display: flex; justify-content: space-between; border-top: 1px dashed var(--line2); padding: 10px 24px 12px; font-size: 12px; color: var(--mute); }
.ps-foot span:first-child { font-family: var(--en); letter-spacing: .2em; }
.hero-nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .3); border-bottom: 1px solid rgba(255, 255, 255, .3); }
.hero-nums li { padding: 14px 6px 12px; text-align: center; line-height: 1.25; }
.hero-nums li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-nums b { font-family: var(--en); font-size: 46px; font-weight: 400; line-height: 1.05; color: #fff; }
.hero-nums span { display: block; font-family: var(--serif); font-weight: 700; font-size: 14px; }
.hero-nums small { display: block; font-family: var(--sans); font-weight: 400; font-size: 11.5px; color: #a9c0c1; margin-top: 4px; }

/* こんなときに */
.scene { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sc { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line2); border-radius: 2px; padding: 22px 22px 20px; transition: border-color .2s, background .2s; }
.sc::after { content: ""; position: absolute; right: 18px; bottom: 20px; width: 8px; height: 8px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.sc:hover { border-color: var(--teal); background: var(--teal-l); }
.sc-n { font-family: var(--en); font-style: italic; font-size: 20px; color: var(--gold); line-height: 1; }
.sc b { font-family: var(--serif); font-size: 18px; color: var(--teal); margin: 10px 0 4px; line-height: 1.5; }
.sc-p { font-size: 13px; color: var(--mute); padding-right: 20px; line-height: 1.6; }

/* 就労ビザと結婚ビザ */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.du { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line2); padding: 38px 40px 32px; position: relative; }
.du::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--teal); }
.du-m::before { background: var(--gold); }
.du-k { margin: 0; font-family: var(--en); font-size: 13px; letter-spacing: .3em; color: var(--mute); }
.du h3 { font-size: 27px; margin: 4px 0 14px; }
.du-lead { margin: 0 0 18px; font-size: 15px; }
.du-dl { margin: 0 0 20px; border-top: 1px solid var(--line); }
.du-dl div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.du-dl dt { font-family: var(--serif); font-weight: 700; color: var(--teal); font-size: 14.5px; }
.du-dl dd { margin: 0; font-size: 14.5px; text-align: left; }
.du-warn { margin: auto 0 0; padding: 14px 16px; background: var(--teal-l); font-size: 14px; line-height: 1.85; }
.du-m .du-warn { background: var(--gold-l); }


/* 費用のめやす */
.sim { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border: 1px solid var(--line2); background: #fff; }
.sim-in { padding: 34px 36px; }
.f-l { margin: 0 0 12px; font-size: 13.5px; color: var(--mute); font-weight: 500; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opts button { font: inherit; text-align: left; background: #fff; border: 1px solid var(--line2); border-radius: 2px; padding: 11px 14px; cursor: pointer; line-height: 1.5; color: var(--text); font-size: 14.5px; transition: border-color .2s, background .2s; }
.opts button small { display: block; font-size: 11.5px; color: var(--mute); }
.opts button:hover { border-color: var(--teal); }
.opts button.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.opts button.on small { color: #b7cacb; }
.sim-out { background: var(--tint); padding: 34px 36px; border-left: 1px solid var(--line); }
.so-name { margin: 0 0 8px; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--teal); }
.sim-out table { width: 100%; border-collapse: collapse; }
.sim-out th, .sim-out td { padding: 13px 0; border-bottom: 1px solid var(--line2); font-size: 14.5px; }
.sim-out th { text-align: left; font-weight: 400; }
.sim-out td { text-align: right; white-space: nowrap; font-family: var(--en); font-size: 20px; color: var(--teal); }
.sim-total { display: flex; align-items: baseline; flex-wrap: wrap; margin: 22px 0 0; padding: 18px 22px; background: var(--teal); color: #fff; }
.sim-total span { font-family: var(--serif); font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.sim-total b { font-family: var(--en); font-size: 38px; font-weight: 400; line-height: 1.1; margin-left: auto; margin-right: 4px; white-space: nowrap; }
.sim-total i { font-style: normal; font-family: var(--serif); font-weight: 700; }
.sim-note { margin: 14px 0 0; font-size: 12.5px; color: var(--mute); }

/* 流れ */
.route { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.route::before { content: ""; position: absolute; left: 6px; right: 0; top: 7px; height: 1px; background: rgba(214, 183, 122, .5); }
.route li { position: relative; padding: 40px 22px 0 0; }
.route li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; background: var(--gold2); transform: rotate(45deg); box-shadow: 0 0 0 5px var(--teal); }
.rt-k { font-family: var(--en); font-style: italic; color: var(--gold2); font-size: 15px; }
.route b { display: block; font-family: var(--serif); font-size: 19px; letter-spacing: .06em; margin: 2px 0 8px; }
.route p { margin: 0; font-size: 14px; color: #b7cacb; text-align: left; }
.flow-n { border-top: 1px solid rgba(255, 255, 255, .25); border-bottom: 1px solid rgba(255, 255, 255, .25); padding: 20px 4px; }
.flow-n p { margin: 0; font-size: 14.5px; color: #d3e0e0; text-align: center; }
.flow-n b { color: var(--gold2); }

/* 解説 */
.guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gd { background: #fff; border: 1px solid var(--line2); padding: 26px 24px 14px; }
.gd h3 { font-size: 19px; margin-bottom: 10px; }
.gd ul { list-style: none; margin: 0; padding: 0; }
.gd li { border-top: 1px solid var(--line); text-align: left; }
.gd a { display: block; padding: 11px 22px 11px 0; text-decoration: none; position: relative; font-size: 14.5px; }
.gd a::after { content: ""; position: absolute; right: 6px; top: 50%; width: 7px; height: 7px; border-top: 1px solid var(--teal); border-right: 1px solid var(--teal); transform: translateY(-50%) rotate(45deg); }
.gd a:hover { color: var(--gold); }

/* よくある質問 */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line2); }
.faq details { border-bottom: 1px solid var(--line2); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 52px 24px 54px; position: relative; font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--teal); line-height: 1.65; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; position: absolute; left: 10px; top: 20px; font-family: var(--en); font-style: italic; font-size: 24px; color: var(--gold); }
.faq summary::after { content: ""; position: absolute; right: 16px; top: 31px; width: 9px; height: 9px; border-right: 1px solid var(--teal); border-bottom: 1px solid var(--teal); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 35px; }
.faq details p { margin: 0; padding: 0 20px 26px 54px; color: var(--mute); font-size: 15px; }

/* 代表 */
.pro { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1000px; margin: 0 auto; }
.pro-ph { margin: 0; }
.pro-ph img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; margin: 0 auto; outline: 1px solid var(--gold2); outline-offset: 8px; }
.pro-ph figcaption { margin-top: 24px; text-align: center; line-height: 1.6; }
.pro-ph b { font-family: var(--serif); font-size: 25px; letter-spacing: .2em; display: block; color: var(--teal); }
.pro-ph small { font-size: 12.5px; color: var(--mute); }
.pro-msg { margin: 0 0 14px; font-family: var(--serif); font-size: 17.5px; line-height: 2.1; color: var(--teal); }
.pro-en { margin: 0 0 28px; font-family: var(--en); font-style: italic; font-size: 16px; line-height: 1.8; color: var(--mute); text-align: left; padding-left: 16px; border-left: 2px solid var(--gold2); }
.tl { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line2); }
.tl li { display: grid; grid-template-columns: 7em minmax(0, 1fr); padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.tl b { font-family: var(--serif); color: var(--teal); }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font-size: 13px; background: var(--tint); border: 1px solid var(--line2); padding: 6px 14px; border-radius: 2px; text-align: left; }

/* 報酬額 */
.fee { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.fee-t { width: 100%; border-collapse: collapse; background: #fff; align-self: start; }
.fee-t thead th { font-size: 12.5px; font-weight: 500; color: var(--mute); text-align: right; padding: 12px 16px; border-bottom: 2px solid var(--teal); white-space: nowrap; }
.fee-t thead th:first-child { text-align: left; }
.fee-t tbody th { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 700; font-size: 15.5px; color: var(--teal); line-height: 1.5; }
.fee-t tbody th small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--mute); }
.fee-t td { text-align: right; padding: 13px 16px; border-bottom: 1px solid var(--line); font-family: var(--en); font-size: 19px; white-space: nowrap; color: var(--teal); }
.fee-t td + td { color: var(--mute); font-size: 15px; }
.fee-side { display: flex; flex-direction: column; }
.fee-b { padding: 20px 0; border-bottom: 1px solid var(--line2); }
.fee-b:first-child { padding-top: 0; }
.fee-b h3 { font-size: 17px; margin-bottom: 8px; }
.fee-b p { margin: 0; font-size: 14px; color: var(--mute); }
.fee-cta { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 24px; padding: 30px 24px; background: var(--teal); color: #fff; text-align: center; }
.fc-t { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .1em; text-align: center; }
.fc-s { margin: 8px 0 18px; font-size: 13.5px; color: #b7cacb; text-align: center; text-wrap: balance; }
.fee-cta .btn { min-width: 0; width: 100%; max-width: 320px; }
.fc-mail { margin-top: 12px; font-size: 13.5px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; }

/* お問い合わせ */
.contact { background: var(--teal-l); }
.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; color: var(--teal); }
a.ct-b:hover { border-color: var(--teal); }
.ct-main { background: var(--gold); border-color: var(--gold); color: #fff; }
a.ct-main:hover { background: #9c6f2c; }
.ct-b small { font-size: 12.5px; letter-spacing: .06em; }
.ct-b b { font-family: var(--en); font-size: 31px; font-weight: 500; white-space: nowrap; }
.ct-b .ct-w { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .08em; padding: 6px 0; }
.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: 5.5em 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; color: var(--teal); }
.office dd { margin: 0; text-align: left; font-size: 15px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* フッター */
.ft { background: var(--teal); color: #b7cacb; padding: 54px 0 110px; font-size: 13.5px; border-top: 4px solid var(--gold); }
.ft-name { margin: 0 0 20px; text-align: left; font-size: 12.5px; letter-spacing: .04em; }
.ft-name b { display: block; color: #fff; font-family: var(--serif); font-size: 22px; letter-spacing: .08em; margin: 4px 0 2px; }
.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-size: 12px; letter-spacing: .1em; opacity: .7; }
.dock { display: none; }

/* 幅に合わせて */
@media (max-width: 1520px) {
  .nav { display: none; position: fixed; inset: 79px 0 auto 0; background: var(--teal); 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 { display: flex; }
  .menu-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-left: 18px; border: 1px solid var(--teal); background: #fff; color: var(--teal); 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(--teal); box-shadow: 0 -6px 0 var(--teal), 0 6px 0 var(--teal); margin: 8px 0 6px; }
  .hd-tel { margin-left: auto; margin-right: 6px; }
}
@media (max-width: 1060px) {
  .scene, .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .route::before { display: none; }
}
@media (max-width: 960px) {
  .sec { padding: 80px 0; }
  .hero-in, .duo, .sim, .fee, .pro, .office { grid-template-columns: minmax(0, 1fr); }
  .sim-out { border-left: 0; border-top: 1px solid var(--line); }
  .ct { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pro-ph { justify-self: center; }
}
@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: 36px; height: 36px; }
  .logo small { font-size: 9.5px; letter-spacing: 0; }
  .logo strong { font-size: 16.5px; letter-spacing: .02em; }
  .hd-tel { display: none; }
  .menu-btn { margin-left: auto; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head p { text-align: justify; text-wrap: pretty; }
  .hero { padding: 56px 0 64px; }
  .hero-in { gap: 36px; }
  .cta { flex-direction: column; }
  .cta .btn { width: 100%; flex: none; }
  .ps-body { padding: 18px 16px 6px; }
  .ps-main { grid-template-columns: minmax(0, 1fr); }
  .ps-area li { font-size: 15px; }
  .ps-h { padding: 10px 16px; justify-content: center; }
  .ps-h span { display: none; }
  .ps-h b { font-size: 15px; }
  .scene, .guide, .opts { grid-template-columns: minmax(0, 1fr); }
  .sc { padding: 18px 18px 16px; }
  .du { padding: 28px 20px 22px; }
  .du h3 { font-size: 23px; }
  .du-dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sim-in, .sim-out { padding: 26px 18px; }
  .sim-total { padding: 16px; }
  .sim-total b { font-size: 30px; }
  .route { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .route::before { display: block; left: 7px; right: auto; top: 8px; bottom: 30px; width: 1px; height: auto; }
  .route li { padding: 0 0 26px 40px; }
  .fee-t thead th, .fee-t tbody th, .fee-t td { padding-left: 8px; padding-right: 8px; }
  .fee-t td { font-size: 16px; }
  .fee-t td + td { font-size: 13px; white-space: normal; }
  .fee-t tbody th { font-size: 14px; }
  .ct { grid-template-columns: minmax(0, 1fr); }
  .faq summary { padding: 20px 36px 20px 44px; font-size: 15.5px; }
  .faq summary::before { left: 4px; top: 16px; }
  .faq summary::after { right: 8px; }
  .faq details p { padding: 0 8px 22px 44px; }
  .ft { padding-bottom: 96px; }
  .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(--gold); color: #fff; font-family: var(--en); font-size: 21px; font-weight: 500; }
  .dock a:first-child small { font-family: var(--sans); font-size: 11px; font-weight: 500; }
  .dock a:last-child { background: var(--teal); color: #fff; letter-spacing: .08em; font-family: var(--serif); font-size: 17px; }
}
@media (max-width: 380px) {
  .logo { gap: 8px; }
  .logo svg { width: 32px; height: 32px; }
  .logo small { display: none; }
  .logo svg { width: 30px; height: 30px; }
  .logo strong { font-size: 14px; letter-spacing: 0; }
  .hd .wrap { gap: 6px; padding: 0 12px; }
  .menu-btn { padding: 7px 8px 5px; margin-left: 4px; }
  .hero-nums b { font-size: 36px; }
  .btn-main b { font-size: 25px; }
  .fee-cta { padding: 26px 14px; }
  .fee-t td { font-size: 14.5px; }
}

/* ---- 2026-10-27 高さをそろえる ---- */
/* 就労ビザ・結婚ビザ：2つの枠の段（英字・見出し・説明・3つの行・注意）をそろえる */
.duo { grid-template-rows: repeat(8, auto); row-gap: 0; }
.du { grid-row: span 8; display: grid; grid-template-rows: subgrid; row-gap: 0; }
.du-dl { display: contents; }
.du-dl div { border-bottom: 1px solid var(--line); }
.du-dl div:first-of-type { border-top: 1px solid var(--line); }
.du-warn { margin: 20px 0 0; align-self: stretch; }
/* 在留カード：見本の下に読み方（左右の下端をそろえる） */
/* 費用のめやす：選ぶ側の下に「報酬に含まれるもの」 */
.sim-in { display: flex; flex-direction: column; gap: 20px; }
.sim-inc { margin-top: auto; padding: 16px 20px; position: relative; top: 0; background: var(--teal-l); border-left: 3px solid var(--teal); }
.si-t { margin: 0 0 6px; font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--teal); text-align: left; }
.sim-inc ul { list-style: none; margin: 0; padding: 0; }
.sim-inc li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.8; text-align: left; }
.sim-inc li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
/* 在留資格の解説：行を箱の高さいっぱいに等分 */
.gd { display: flex; flex-direction: column; }
.gd ul { flex: 1; display: flex; flex-direction: column; }
.gd li { flex: 1; display: flex; align-items: stretch; }
.gd li a { flex: 1; display: flex; align-items: center; }
/* 報酬額：表を右の列と同じ高さに */
.fee-t { align-self: stretch; height: 100%; }
@media (max-width: 960px) {
  .duo { grid-template-rows: none; row-gap: 20px; }
  .du { grid-row: auto; display: flex; flex-direction: column; }
  .du-dl { display: block; margin: 0 0 20px; }
  .fee-t { height: auto; }
}
@media (max-width: 680px) {
}
/* 費用のめやす：結果の側は表の行を広げて、左右の下端をそろえる */
.sim-out { display: flex; flex-direction: column; }
.sim-out table { flex: 1; }
@media (max-width: 960px) { .sim-out table { flex: none; } }

/* ---- 2026-10-27 書体の調整（EB Garamond は小さめに見えるので数字を大きく） ---- */
body { font-variant-numeric: lining-nums proportional-nums; }
.btn-main b, .hd-tel b, .ct-b b { font-weight: 500; letter-spacing: .02em; }
.hero-nums b { font-size: 52px; font-weight: 400; }
.sec-head .en { font-size: 22px; font-weight: 400; }
.hero h1 { letter-spacing: .1em; }
.sim-total b { font-size: 42px; }
.fee-t td { font-size: 20px; }
.sc-n, .rt-k { font-size: 21px; }

/* ---- 記事への誘導 ---- */
.sc-go { margin-top: auto; padding-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.sc-p { margin-bottom: 4px; }
.du-more, .flow-l { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; }
.du-more a, .flow-l a { position: relative; padding-right: 18px; font-size: 14px; font-weight: 700; color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--line2); }
.du-more a::after, .flow-l a::after { content: "→"; position: absolute; right: 0; color: var(--gold); }
.du-more a:hover, .flow-l a:hover { border-color: var(--teal); }
.flow-l { justify-content: center; margin-top: 14px; }
.flow-l a { color: #fff; border-color: rgba(255, 255, 255, .35); }
.guide { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.gd { padding: 24px 20px 12px; }
.gd a { font-size: 14px; }
.faq details p a, .fee-t tbody th a { color: inherit; }
.faq details p a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.fee-t tbody th a { text-decoration: none; border-bottom: 1px dotted var(--line2); }
.fee-t tbody th a:hover { color: var(--gold); border-bottom-color: var(--gold); }
@media (max-width: 1060px) { .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .guide { grid-template-columns: minmax(0, 1fr); } .hero-nums b { font-size: 42px; } }

/* 最初の画面の札：主な手続きを足し、中身を上下に配って空きを偏らせない */
.ps-body { display: flex; flex-direction: column; justify-content: space-between; }
.ps-body > .ps-l { margin-top: 4px; }
.ps-area { margin-bottom: 4px; }
.ps-proc { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ps-proc a { display: block; text-align: center; text-decoration: none; font-size: 13px; font-weight: 700; color: var(--teal); background: #fff; border: 1px solid var(--line2); padding: 6px 4px; border-radius: 2px; white-space: nowrap; transition: background .2s, color .2s; }
.ps-proc a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
@media (max-width: 680px) { .ps-proc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 2026-11-09 先生のご返信：特定技能（記事はリニューアル時に作成）・東北以外も対応 */
.gd-s { flex: 1; display: flex; align-items: center; padding: 11px 22px 11px 0; font-size: 14.5px; }
.ps-out { margin: -4px 0 14px; font-size: 12.5px; letter-spacing: .04em; text-align: center; opacity: .85; }
.opts button:last-child:nth-child(odd) { grid-column: 1 / -1; }
.nw { white-space: nowrap; }
.gd-en { margin: 0 0 2px; font-family: var(--en); font-style: italic; font-weight: 400; font-size: 15px; color: var(--gold); letter-spacing: .02em; line-height: 1.4; }

/* 2026-11-23 先生のご要望：特定技能の建設分野の注記 */
.fee-t tbody th small.fee-n { margin-top: 3px; color: var(--gold); line-height: 1.6; }

/* 2026-11-29 タブレットの幅（681〜860px）でヘッダーが右にはみ出していた → 電話はスマホと同じ下の帯に */
@media (min-width: 681px) and (max-width: 860px) {
  .hd-tel { display: none; }
  .menu-btn { margin-left: auto; }
  .ft { padding-bottom: 96px; }
  .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(--gold); color: #fff; font-family: var(--en); font-size: 21px; font-weight: 500; }
  .dock a:first-child small { font-family: var(--sans); font-size: 11px; font-weight: 500; }
  .dock a:last-child { background: var(--teal); color: #fff; letter-spacing: .08em; font-family: var(--serif); font-size: 17px; }
}
