/*
 * ①メインサイト kosaki-design.net
 * デザイン: 見本 A案「夜の地球」（docs/40_design/www-mockups/a-night-earth.html）
 *
 * 日本語は端末の標準フォント。Web フォントは欧文見出しの Marcellus 1書体だけ（ADR-0004）。
 */

@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --night: #0B1628;
  --night-2: #13223A;
  --night-3: #070F1C;
  --gold: #D4A95A;
  --gold-ink: #8F6A26;      /* 白地の上で使う金。コントラスト比 4.5 以上 */
  --gold-soft: #F3E6CC;
  --ink: #1C2533;
  --mute: #56617A;
  --line: #DCE1E8;
  --paper: #FFFFFF;
  --wash: #F4F6F9;
  --ok: #1F7A4D;
  --ng: #B3261E;
  --display: "Marcellus", "Times New Roman", serif;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--jp); color: var(--ink); background: var(--paper); line-height: 1.9; font-size: 16px; font-feature-settings: "palt" 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.5; text-wrap: balance; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { flex: none; vertical-align: -4px; }
.muted { color: var(--mute); }
.small { font-size: 14px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ ヘッダー */
header.site { position: sticky; top: 0; z-index: 20; background: var(--night); color: #fff; transition: background-color .2s, box-shadow .2s; }
header.site.is-overlay { position: fixed; left: 0; right: 0; background: transparent; }
header.site.is-overlay.is-scrolled, header.site.is-open { background: var(--night); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header); }

/* ブランド。社名の下にタグラインを1行置く */
header.site .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
header.site .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
header.site .brand-name { font-family: var(--display); letter-spacing: .06em; }
header.site .brand-tag {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-top: 3px; white-space: nowrap;
}

/* 言語切替。対応する言語版があるページにだけ出る */
nav.global .lang { display: flex; align-items: center; gap: 2px; }
nav.global .lang a { font-size: 12px; letter-spacing: .08em; padding: 4px 7px; border-radius: 4px; opacity: .65; }
nav.global .lang a[aria-current="true"] { opacity: 1; color: var(--gold); background: rgba(255,255,255,.1); }
nav.global .lang a + a { border-left: 1px solid currentColor; border-radius: 0; padding-left: 10px; margin-left: 2px; }

/* 狭い画面では縦に積む。区切りの「—」が行末に取り残されるのを避ける */
@media (max-width: 520px) {
  .brand-line.foot { flex-direction: column; gap: 4px; }
  .brand-line.foot .sep { display: none; }
}

/* ブランドの1行。スライド4とフッターで使う */
.brand-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0; font-family: var(--display); }
.brand-line .sep { opacity: .5; }
.brand-line.about { margin-top: 28px; font-size: 17px; color: var(--gold); }
.brand-line.foot { justify-content: center; font-size: 14px; color: var(--ink); margin-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); letter-spacing: .12em; font-size: 18px; white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
nav.global ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; font-size: 14px; }
nav.global a { text-decoration: none; opacity: .9; padding-block: 6px; }
nav.global a:hover, nav.global a[aria-current="page"] { opacity: 1; color: var(--gold); }
nav.global a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); }
nav.global .nav-cta { border: 1px solid rgba(212,169,90,.7); border-radius: 4px; padding: 8px 16px; opacity: 1; }
nav.global .nav-cta:hover { background: var(--gold); color: var(--night); }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn .menu-close, .is-open .menu-btn .menu-open { display: none; }
.is-open .menu-btn .menu-close { display: inline; }

/* ------------------------------------------------------------ ボタン */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; line-height: 1.4; }
.btn.gold { background: var(--gold); color: var(--night); }
.btn.gold:hover { background: #E0B96E; }
.btn.line { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn.line:hover { border-color: #fff; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta-note { font-size: 14px; color: rgba(255,255,255,.75); }
.eyebrow { font-family: var(--display); color: var(--gold); letter-spacing: .26em; font-size: 14px; text-transform: uppercase; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--night); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.more:hover { color: var(--gold-ink); }

/* ------------------------------------------------------------ トップのヒーロー */
.hero { position: relative; min-height: min(720px, 92vh); display: flex; align-items: flex-end; color: #fff;
        background: var(--night) url("../img/earth-1920.webp") center right / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0;
        background: linear-gradient(90deg, rgba(11,22,40,.94) 0%, rgba(11,22,40,.6) 55%, rgba(11,22,40,.2) 100%); }
.hero .wrap { position: relative; padding-block: calc(var(--header) + 96px) 96px; width: 100%; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.35; margin: 12px 0 20px; font-weight: 600; max-width: 14em; }
.hero .lead { max-width: 34em; color: rgba(255,255,255,.85); margin: 0 0 36px; font-size: 17px; }

/* ------------------------------------------------------------ 下層ページの見出し帯 */
.band { position: relative; color: #fff; background: var(--night) url("../img/earth-960.webp") right center / cover no-repeat; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,22,40,.96) 30%, rgba(11,22,40,.72) 100%); }
.band .wrap { position: relative; padding-block: 72px 64px; }
.band h1 { font-size: clamp(28px, 4vw, 42px); margin: 8px 0 14px; font-weight: 600; }
.band .lead { max-width: 40em; color: rgba(255,255,255,.85); margin-bottom: 28px; }

/* ------------------------------------------------------------ 実績 */
.proof { background: var(--night-2); color: #fff; }
.proof ul { list-style: none; margin: 0 auto; padding-block: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof li { border-left: 1px solid rgba(212,169,90,.45); padding-left: 18px; font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.6; }
.proof b { display: block; font-family: var(--jp); color: var(--gold); font-size: 34px; font-weight: 600; line-height: 1.2; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.proof b small { font-family: var(--jp); font-size: 14px; margin-left: 2px; white-space: nowrap; }

/* ------------------------------------------------------------ 節 */
section.sec { padding-block: 96px; }
section.sec.wash { background: var(--wash); }
section.sec.tight { padding-block: 64px; }
.head { margin-bottom: 44px; max-width: 46em; }
.head .eyebrow { color: var(--gold-ink); }
.head h2 { font-size: clamp(24px, 3vw, 32px); margin: 6px 0 0; }
.head .lead { color: var(--mute); margin: 14px 0 0; }
.prose { max-width: 46em; }
.prose p { margin-bottom: 1.2em; }
h3.sub { font-size: 20px; margin: 48px 0 20px; }

/* カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.wash .card { border-color: transparent; }
.card h3 { margin: 0; font-size: 18px; }
.card p { margin: 0; color: var(--mute); font-size: 15px; }
.card .for { font-size: 12px; letter-spacing: .06em; color: var(--mute); }
.card .for em { font-style: normal; background: var(--gold-soft); color: #6B4E17; padding: 1px 8px; border-radius: 3px; margin-right: 6px; }
.card.service { padding: 32px 28px; gap: 12px; }
.card.service h3 { font-size: 21px; }
.card.service p { flex: 1; }
.card.service .more { align-self: flex-start; }

/* 分野タグ */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 14px; background: var(--paper); }

/* チェック付きリスト */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--gold-ink); margin-top: 5px; }
.ticks b { font-weight: 600; margin-right: .3em; }
.card .ticks { font-size: 15px; color: var(--ink); }

/* 工程（トップ） */
ol.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: s; }
ol.flow li { counter-increment: s; position: relative; padding-right: 12px; font-size: 15px; font-weight: 600; }
ol.flow li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
        border: 1px solid var(--gold); color: var(--gold-ink); font-family: var(--jp); font-weight: 600; margin-bottom: 12px; background: var(--paper); position: relative; z-index: 1; }
ol.flow li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1px; background: var(--line); }
ol.flow li:last-child::after { display: none; }
ol.flow small { display: block; font-weight: 400; color: var(--mute); font-size: 13px; line-height: 1.6; margin-top: 4px; }
.wash ol.flow li::before { background: var(--wash); }

/* 手順（下層ページ） */
ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
ol.steps > li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding-bottom: 32px; position: relative; }
ol.steps > li::before { content: counter(s); grid-row: span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
        background: var(--night); color: var(--gold); font-family: var(--jp); font-weight: 600; font-size: 17px; }
ol.steps > li::after { content: ""; position: absolute; left: 22px; top: 48px; bottom: 4px; width: 1px; background: var(--line); }
ol.steps > li:last-child { padding-bottom: 0; }
ol.steps > li:last-child::after { display: none; }
ol.steps h3 { margin: 6px 0 6px; font-size: 18px; }
ol.steps p { margin: 0 0 10px; color: var(--mute); }
ol.steps .ticks { font-size: 15px; margin-top: 4px; }

/* 料金の考え方 */
.price-note { margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--gold); background: var(--paper); font-size: 14px; color: var(--mute); }
.wash .price-note { background: var(--paper); }
.sec:not(.wash) .price-note { background: var(--wash); }

/* 料金表 */
.rates { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 6px; background: var(--paper); margin-bottom: 14px; }
.rate { display: grid; gap: 2px; padding: 24px 26px; }
.rate + .rate { border-left: 1px solid var(--line); }
.rate-label { font-size: 14px; font-weight: 600; }
.rate-value { font-family: var(--jp); font-weight: 600; letter-spacing: .01em; font-size: 32px; line-height: 1.3; color: var(--night); font-variant-numeric: tabular-nums; }
.rate-unit { font-size: 13px; color: var(--mute); }
.card-price { font-family: var(--jp); font-weight: 600; font-size: 24px; line-height: 1.3; color: var(--night) !important; }
.card.example { gap: 12px; }
.card.example h4 { margin: 0; font-size: 16px; }
.example-total { font-family: var(--jp); font-weight: 600; font-size: 28px; color: var(--night) !important; line-height: 1.3; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.example-total span { font-family: var(--jp); font-size: 13px; color: var(--mute); margin-right: 6px; }
.example-total small { font-family: var(--jp); font-size: 13px; color: var(--mute); margin-left: 4px; }

/* 二段組み */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.panel { background: var(--wash); border-radius: 6px; padding: 28px 30px; }
.wash .panel { background: var(--paper); }
.panel h3 { margin: 0 0 14px; font-size: 17px; }

/* ガイド（定義の並び） */
.guide { display: grid; gap: 20px; }
.guide article { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 26px 28px; }
.wash .guide article { border-color: transparent; }
.guide h3, .guide h4 { margin: 0 0 8px; font-size: 18px; }
.guide p { color: var(--mute); margin-bottom: 12px; }
.guide p:last-child { margin-bottom: 0; }
.guide .ticks { font-size: 15px; }

/* よくある質問 */
.faq { border-top: 1px solid var(--line); max-width: 52em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold-ink); transition: transform .2s; margin-top: 4px; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--mute); }

/* 案内帯 */
.aside-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 6px; }
.aside-link h2 { font-size: 18px; margin: 0 0 4px; }
.aside-link p { margin: 0; color: var(--mute); font-size: 15px; }

/* ------------------------------------------------------------ 問い合わせ */
/*
 * 問い合わせへ送る帯（サービス各ページの末尾）。
 * フォーム自体はトップの5枚目だけに置き、ここは送り出すだけ。
 * ページの締めになるので、本文の節より一段強く見せる。
 */
.cta-band { padding-block: 88px 96px; }
.cta-band .cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--night);
  color: #fff;
  border-radius: 10px;
  padding: 64px 32px 56px;
}
/* 右上から差す光。夜色の面が平たく見えないように */
.cta-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(201,162,77,.20) 0%, rgba(201,162,77,0) 68%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card .eyebrow { color: var(--gold); }
/* auto-phrase は日本語を文節で折る。対応しないブラウザは無視するだけ */
.cta-card h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; margin: 12px 0 16px; text-wrap: balance; word-break: auto-phrase; }
.cta-card .lead { margin: 0 auto 30px; max-width: 32em; color: rgba(255,255,255,.80); font-size: 16px; }
.cta-card .btn { font-size: 16px; padding: 14px 30px; }
.cta-card .cta-note { margin: 18px 0 0; font-size: 13px; color: rgba(255,255,255,.62); }

@media (max-width: 640px) {
  .cta-band { padding-block: 56px 64px; }
  .cta-band .cta-card { padding: 44px 22px 40px; border-radius: 8px; }
}

/*
 * 法定ページへの1行。トップのスライド5枚目と、各ページのフッターで共有する。
 *
 * **`.legal` という名前は使わない。**プライバシーポリシー・特商法・404 の本文が
 * `<div class="wrap legal">` を使っており、横1列・13px・薄い字の指定が
 * 本文そのものに当たって**見出しと説明が潰れる**（2026-11-19 に一度壊した）。
 */
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin: 28px 0 0; font-size: 13px; color: var(--mute); }
.legal-links a { color: var(--mute); }
.legal-links a:hover { color: var(--gold-ink); }

/* 細いフッター。トップはスライドの中に同じ1行を持つので footer を出さない */
footer.site.slim { background: var(--wash); color: var(--mute); border-top: 1px solid var(--line); }
footer.site.slim .wrap { display: block; padding-block: 26px; text-align: center; }
footer.site.slim .legal-links { margin: 0; justify-content: center; }

.contact { background: var(--night); color: #fff; padding-block: 96px; }
.contact .grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.contact .head .eyebrow { color: var(--gold); }
.contact .head .lead, .contact .muted { color: rgba(255,255,255,.75); }
.contact a { color: var(--gold); }
.contact form { display: grid; gap: 6px; }
/* 1項目＝.f でひとまとめ。横に並べ替えられるようにしてある（slides.css の .s5） */
.contact .f { display: grid; gap: 6px; }
.contact label { font-size: 14px; margin-top: 12px; }
.contact label em { font-style: normal; font-size: 11px; color: var(--night); background: var(--gold); border-radius: 3px; padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }
.contact input, .contact select, .contact textarea { font: inherit; width: 100%; padding: 12px 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.07); color: #fff; }
.contact select option { color: var(--ink); background: #fff; }
.contact textarea { resize: vertical; min-height: 150px; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.contact [aria-invalid="true"] { border-color: #FF8A80; }
.contact .hint { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }
.contact .field-err { font-size: 13px; color: #FFB4AB; }
.contact form .btn { margin-top: 8px; }
.contact .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 6px; padding: 20px 22px; margin-bottom: 20px; }
.notice strong { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.notice p { margin: 6px 0 0; }
.notice.ok { background: rgba(31,122,77,.22); border: 1px solid rgba(120,220,170,.5); }
.notice.ng { background: rgba(179,38,30,.22); border: 1px solid rgba(255,138,128,.55); }

/* ------------------------------------------------------------ 法定表記 */
.legal { max-width: 52em; }
.legal h1 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 24px; }
.legal h2 { font-size: 18px; margin: 36px 0 8px; }
.legal dl { display: grid; grid-template-columns: 14em 1fr; margin: 0; border-top: 1px solid var(--line); }
.legal dt, .legal dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.legal dt { font-weight: 600; padding-right: 16px; }
.legal dd { white-space: pre-line; overflow-wrap: anywhere; }

/* ------------------------------------------------------------ フッター */
footer.site { background: var(--night-3); color: rgba(255,255,255,.7); font-size: 14px; }
footer.site .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-block: 56px 32px; }
footer.site .brand { color: #fff; font-size: 16px; }
footer.site .brand img { width: 28px; height: 28px; }
footer.site .tagline { margin: 14px 0 6px; color: var(--gold); }
footer.site .mission { margin: 0; max-width: 34em; font-size: 13px; line-height: 1.7; }
footer.site nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site nav a { text-decoration: none; }
footer.site nav a:hover { color: var(--gold); }
footer.site .copy { display: block; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }

/* ------------------------------------------------------------ 狭い画面 */
@media (max-width: 960px) {
  .hero { background-image: url("../img/earth-960.webp"); background-position: 68% center; min-height: 600px; }
  .hero::before { background: linear-gradient(180deg, rgba(11,22,40,.55) 0%, rgba(11,22,40,.92) 70%); }
  .proof ul { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .split, .contact .grid { grid-template-columns: 1fr; gap: 28px; }
  ol.flow { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  ol.flow li:nth-child(3n)::after { display: none; }
  footer.site .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header: 64px; }
  .menu-btn { display: inline-flex; }
  nav.global { position: fixed; inset: var(--header) 0 auto 0; background: var(--night); border-top: 1px solid rgba(255,255,255,.08);
               padding: 12px 24px 28px; display: none; max-height: calc(100vh - var(--header)); overflow-y: auto; }
  .is-open nav.global { display: block; }
  nav.global ul { flex-direction: column; align-items: stretch; gap: 0; font-size: 16px; }
  nav.global li a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  nav.global a[aria-current="page"] { box-shadow: none; }

  /* 問い合わせ。項目の並びから切り離して、押せるものだと分かる大きさにする */
  nav.global .nav-cta {
    margin-top: 24px;
    padding: 15px 16px;
    text-align: center;
    border: 1px solid rgba(212,169,90,.7);
    border-radius: 6px;
    font-size: 15px;
  }

  /*
   * 言語切替。横並びのまま縦のメニューに置くと、**行の途中に小さな札が
   * 2つ落ちている**ように見える。2つで1つの部品に見えるよう、
   * 同じ幅に割った枠に収め、指で押せる高さ（44px 以上）にする。
   */
  nav.global .lang {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 6px;
    overflow: hidden;
  }
  nav.global .lang a {
    display: block;
    padding: 14px 0;
    margin: 0;
    text-align: center;
    font-size: 13px;
    letter-spacing: .12em;
    border: 0;
    border-radius: 0;
    background: none;
    opacity: .6;
  }
  nav.global .lang a + a { border-left: 1px solid rgba(255,255,255,.16); padding-left: 0; margin-left: 0; }
  nav.global .lang a[aria-current="true"] { background: rgba(255,255,255,.10); color: var(--gold); opacity: 1; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  section.sec, .contact { padding-block: 64px; }
  .head { margin-bottom: 32px; }
  .proof b { font-size: 28px; }
  .proof b small { font-size: 12px; }
  .cards, .cards.two, .cards.four { grid-template-columns: 1fr; }
  .rates { grid-template-columns: 1fr; }
  .rate + .rate { border-left: 0; border-top: 1px solid var(--line); }
  .rate { padding: 18px 20px; }
  .rate-value { font-size: 28px; }
  ol.flow { grid-template-columns: 1fr; gap: 16px; }
  ol.flow li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0; }
  ol.flow li::before { margin: 0; grid-row: span 2; }
  ol.flow li::after { display: none; }
  ol.flow small { margin: 0; }
  .band .wrap { padding-block: 48px; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dt { border-bottom: 0; padding-bottom: 0; }
  footer.site nav { grid-template-columns: 1fr; }
  .aside-link { padding: 22px; }
  .panel { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
