/* ==========================================================================
   Studio Nogemu — site.css
   全ページ共通のスタイルシート (2026-11 刷新)。
   各ページは <link rel="stylesheet" href="site.css"> で読み込み、<style> は持たない。
   body のクラスでページ種別を切り替える:
     .home = トップ / .lp = アプリ紹介 / .news-page = 最新情報 / .doc = 法務・表記
   アプリ固有色は紹介ページの body に style="--accent:…; --accent-deep:…" で渡す。
   ========================================================================== */

:root {
  --bg: #f6f3eb;
  --bg-2: #efeadf;
  --paper: #fcfbf7;
  --ink: #171a16;
  --ink-2: #474d45;
  --ink-3: #7d8279;
  --rule: #ddd7c8;
  --rule-2: #c9c2b0;
  --green: #1d4a2c;
  --green-2: #2f6b3a;
  --green-deep: #12251a;
  --gold: #a8842f;
  --accent: var(--green-2);
  --accent-deep: var(--green);
  --serif: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --display: 'Fraunces', 'Zen Old Mincho', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.9; font-weight: 400;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-feature-settings: "palt" 1;
  overflow-x: hidden;
}
::selection { background: var(--green); color: var(--paper); }
img { max-width: 100%; }
a { color: var(--green-2); }
a, button { transition: color .2s, background-color .2s, border-color .2s, opacity .2s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .wrap, .wrap-narrow { padding: 0 22px; } }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  height: 68px; padding: 0 40px;
  background: rgba(246, 243, 235, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 28px !important; width: auto !important; display: block; }
.nav-links, .nav-right { display: flex; align-items: center; gap: 34px; }
.nav-links a, .nav-back { font-size: .8rem; letter-spacing: .08em; color: var(--ink-2); text-decoration: none; }
.nav-links a:hover, .nav-back:hover { color: var(--green-2); }
.nav-cta { font-size: .78rem; letter-spacing: .06em; color: var(--paper) !important; background: var(--green); padding: 8px 16px; border-radius: 4px; text-decoration: none; }
.nav-cta:hover { background: var(--green-deep); }
@media (max-width: 760px) {
  nav { padding: 0 22px; height: 60px; }
  .nav-links a:not(.keep) { display: none; }
  .nav-right { gap: 18px; }
}

/* ---------- 見出しまわり ---------- */
.mono-label {
  display: flex; align-items: center; gap: 14px;
  font-size: .74rem; font-weight: 500; letter-spacing: .14em; color: var(--ink-3);
}
.mono-label::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex-shrink: 0; }
.mono-label .dot { display: none; }
.mono-label .no { font-family: var(--display); font-style: italic; font-size: 1rem; letter-spacing: .02em; color: var(--gold); }
.mono-label .en { font-family: var(--display); font-size: .92rem; font-weight: 400; letter-spacing: .04em; color: var(--ink-2); }

section { padding: 104px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }
.sec-title, h2.sec-title {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(1.45rem, 3.2vw, 2.05rem); line-height: 1.55; letter-spacing: .02em; margin-top: 18px;
}
.sec-lead { margin-top: 20px; max-width: 40em; font-size: .97rem; color: var(--ink-2); line-height: 2.05; }
.sec-lead strong { color: var(--ink); font-weight: 700; }

/* ---------- ボタン・リンク ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .86rem; font-weight: 500; letter-spacing: .05em; text-decoration: none;
  padding: 13px 24px; border-radius: 4px; border: 1px solid transparent;
}
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-link { font-size: .86rem; font-weight: 500; letter-spacing: .04em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-2); padding-bottom: 3px; }
.btn-link:hover { color: var(--green-2); border-bottom-color: var(--green-2); }

.app-icon, .hero .icon { border-radius: 22.5%; display: block; box-shadow: 0 0 0 1px rgba(23, 26, 22, .08); }
.shot { display: block; height: auto; border-radius: 20px; border: 1px solid var(--rule); box-shadow: 0 28px 50px -32px rgba(23, 26, 22, .45); background: var(--paper); }

/* ==========================================================================
   トップ (.home)
   ========================================================================== */
.top-hero { padding: 120px 0 0; }
.top-hero h1 {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(1.5rem, 6.2vw, 3.5rem); line-height: 1.5; letter-spacing: .02em; margin-top: 30px;
}
.top-hero h1 span { display: inline-block; }
.top-hero-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: end; margin-top: 44px; }
.top-hero .lead { max-width: 35em; font-size: 1.02rem; color: var(--ink-2); line-height: 2.1; }
.facts { display: grid; gap: 0; min-width: 250px; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 5.5em 1fr; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .82rem; }
.facts dt { color: var(--ink-3); letter-spacing: .06em; }
.facts dd { color: var(--ink); }
@media (max-width: 860px) { .top-hero { padding-top: 76px; } .top-hero-body { grid-template-columns: 1fr; gap: 36px; } }

.app-index { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 88px; border-top: 1px solid var(--ink); }
.app-index a { display: flex; align-items: center; gap: 14px; padding: 22px 20px 22px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); }
.app-index a + a { padding-left: 20px; border-left: 1px solid var(--rule); }
.app-index img { width: 46px; height: 46px; flex-shrink: 0; }
.app-index .nm { font-family: var(--serif); font-weight: 600; font-size: .98rem; line-height: 1.5; }
.app-index .ct { font-size: .72rem; color: var(--ink-3); letter-spacing: .06em; line-height: 1.6; }
.app-index a:hover .nm { color: var(--green-2); }
@media (max-width: 900px) {
  .app-index { grid-template-columns: 1fr 1fr; margin-top: 60px; }
  .app-index a:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .app-index { grid-template-columns: 1fr; }
  .app-index a + a { padding-left: 0; border-left: 0; }
}

.sec-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* products */
.prod-list { margin-top: 60px; }
.product {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0 28px; align-items: center;
  padding: 76px 0; border-top: 1px solid var(--rule);
}
.product:first-child { border-top-color: var(--ink); }
.product:last-child { padding-bottom: 0; }
.p-no { align-self: start; font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--gold); line-height: 64px; }
.p-head { display: flex; align-items: center; gap: 20px; }
.p-head img { width: 64px; height: 64px; flex-shrink: 0; }
.p-head h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.4; letter-spacing: .02em; }
.p-en { font-family: var(--display); font-style: italic; font-size: .92rem; color: var(--ink-3); letter-spacing: .02em; line-height: 1.5; }
.p-desc { margin-top: 24px; max-width: 34em; font-size: .95rem; color: var(--ink-2); line-height: 2.05; }
.spec { margin-top: 26px; max-width: 34em; border-top: 1px solid var(--rule); }
.spec div { display: grid; grid-template-columns: 6.5em 1fr; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .84rem; line-height: 1.8; }
.spec dt { color: var(--ink-3); letter-spacing: .06em; }
.p-actions { margin-top: 30px; display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.shots-pair { display: flex; gap: 18px; align-items: flex-start; padding-left: 44px; }
.shots-pair .shot { width: 196px; }
.shots-pair .shot:nth-child(2) { margin-top: 48px; }
@media (max-width: 980px) {
  .product { grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; padding: 60px 0; }
  .shots-pair { grid-column: 2; padding-left: 0; margin-top: 44px; }
  .shots-pair .shot { width: calc(50% - 9px); max-width: 210px; }
}
@media (max-width: 560px) {
  .product { grid-template-columns: 1fr; }
  .p-no { line-height: 1.6; margin-bottom: 10px; }
  .shots-pair { grid-column: 1; }
}

/* 方針 */
.tinted { background: var(--bg-2); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 60px; }
.principle { border-top: 1px solid var(--ink); padding-top: 22px; }
.principle .no { font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--gold); }
.principle h3 { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.6; margin: 10px 0 12px; }
.principle p { font-size: .9rem; color: var(--ink-2); line-height: 2; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; gap: 36px; } }

/* 最新情報 (トップの一覧) */
.news-rows { margin-top: 52px; border-top: 1px solid var(--ink); }
.news-row {
  display: grid; grid-template-columns: 7em 6.5em minmax(0, 1fr) auto; gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink);
}
.news-date, .news-row .dt { font-family: var(--display); font-size: .92rem; color: var(--ink-3); letter-spacing: .04em; }
.news-tag, .news-row .tg { font-size: .72rem; font-weight: 500; letter-spacing: .12em; color: var(--ink-3); }
.news-tag.flash, .news-row .tg.flash { color: var(--green-2); }
.news-row .tt { font-family: var(--serif); font-weight: 500; font-size: 1rem; line-height: 1.7; }
.news-row .go { color: var(--ink-3); font-size: .9rem; }
.news-row:hover .tt { color: var(--green-2); }
@media (max-width: 640px) {
  .news-row { grid-template-columns: auto 1fr; gap: 4px 16px; padding: 18px 0; }
  .news-row .tt { grid-column: 1 / -1; }
  .news-row .go { display: none; }
}

/* 事業者情報 */
.info-grid { margin-top: 52px; border-top: 1px solid var(--ink); }
.info-row { display: grid; grid-template-columns: 12em 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.info-row dt { font-size: .8rem; color: var(--ink-3); letter-spacing: .08em; }
.info-row dd { font-size: .98rem; color: var(--ink); line-height: 1.8; }
.info-row dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-2); }
.info-row dd a:hover { color: var(--green-2); border-bottom-color: var(--green-2); }
@media (max-width: 640px) { .info-row { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; } }

/* ==========================================================================
   最新情報ページ (.news-page)
   ========================================================================== */
.page-head { padding: 88px 0 56px; }
.page-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.45; letter-spacing: .02em; margin-top: 20px; }
.page-head .lead { margin-top: 18px; max-width: 38em; font-size: .97rem; color: var(--ink-2); line-height: 2; }
.news-page section.news { padding: 0 0 112px; }
.news-list { border-top: 1px solid var(--ink); }
.news-item { padding: 40px 0 44px; border-bottom: 1px solid var(--rule); }
.news-head { display: flex; align-items: baseline; gap: 20px; }
.news-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.65; margin-top: 12px; }
.news-body { margin-top: 12px; font-size: .93rem; color: var(--ink-2); line-height: 2.05; }
.news-actions { margin-top: 22px; display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.btn-store { font-size: .84rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; color: var(--paper); background: var(--green); padding: 10px 20px; border-radius: 4px; }
.btn-store:hover { background: var(--green-deep); }

/* ==========================================================================
   アプリ紹介ページ (.lp)
   ========================================================================== */
header.hero { padding: 84px 0 100px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 80px; align-items: center; }
.hero .icon { width: 76px; height: 76px; margin-bottom: 30px; }
.hero h1 { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(2rem, 4.8vw, 3.1rem); line-height: 1.42; letter-spacing: .02em; margin-top: 20px; }
.hero h1 .sub { display: block; font-family: var(--sans); font-weight: 400; font-size: .84rem; color: var(--ink-3); letter-spacing: .08em; line-height: 1.8; margin-top: 16px; }
.hero .lead { margin-top: 28px; max-width: 32em; font-size: 1rem; color: var(--ink-2); line-height: 2.1; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 32px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--ink-3); letter-spacing: .04em; }
.hero-meta b { color: var(--ink); font-weight: 500; margin-left: 8px; }
.hero-shot .shot { width: 272px; border-radius: 26px; }
@media (max-width: 900px) {
  header.hero { padding: 60px 0 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-shot .shot { width: 230px; }
}

section.alt { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 48px; border-bottom: 1px solid var(--rule); }
.feat { border-top: 1px solid var(--rule); padding: 26px 0 30px; }
.feat .k { font-family: var(--display); font-style: italic; font-size: .95rem; color: var(--gold); }
.feat h3 { font-family: var(--serif); font-weight: 600; font-size: 1.06rem; line-height: 1.6; margin-bottom: 8px; }
.feat p { font-size: .9rem; color: var(--ink-2); line-height: 1.95; }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 48px; }
.stat { border-top: 1px solid var(--ink); padding-top: 18px; }
.stat .n { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; line-height: 1.3; color: var(--accent-deep); }
.stat .l { font-size: .8rem; color: var(--ink-2); line-height: 1.75; margin-top: 8px; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; gap: 24px; } }

.shots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin-top: 44px; }
.shots-grid img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); border-radius: 18px; }
@media (max-width: 560px) { .shots-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* FAQ (details) */
.lp details { border-bottom: 1px solid var(--rule); }
.lp .sec-head + details, .faq { margin-top: 40px; border-top: 1px solid var(--ink); }
.lp summary {
  list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0;
  font-family: var(--serif); font-weight: 600; font-size: 1rem; line-height: 1.7; color: var(--ink);
}
.lp summary::-webkit-details-marker { display: none; }
.lp summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--display); font-size: 1.3rem; font-weight: 400; color: var(--ink-3); transition: transform .25s; }
.lp details[open] > summary::after { transform: rotate(45deg); }
.lp details > p, .faq .a { padding: 0 44px 24px 0; font-size: .91rem; color: var(--ink-2); line-height: 2; }
.faq summary { display: flex; gap: 14px; align-items: baseline; }
.faq summary .q { font-family: var(--display); font-style: italic; color: var(--gold); flex-shrink: 0; }
.faq summary .plus { display: none; }
.faq .a { padding-left: 2em; }

.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 44px; }
.info-box { border-top: 1px solid var(--ink); padding-top: 20px; }
.info-box h3 { font-family: var(--serif); font-weight: 600; font-size: 1.04rem; margin-bottom: 10px; }
.info-box ul { list-style: none; }
.info-box li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--ink-2); line-height: 1.9; margin-bottom: 6px; }
.info-box li::before { content: ""; position: absolute; left: 0; top: .95em; width: 10px; height: 1px; background: var(--ink-3); }
@media (max-width: 640px) { .info-cols { grid-template-columns: 1fr; gap: 32px; } }

.cta { background: var(--green); color: #cfdccb; text-align: center; padding: 92px 0; }
.cta h2 { font-family: var(--serif); font-weight: 600; color: #fff; font-size: clamp(1.4rem, 3.4vw, 1.9rem); letter-spacing: .02em; }
.cta p { margin: 16px auto 34px; max-width: 30em; font-size: .93rem; line-height: 2; }
.cta a.x-btn { display: inline-block; font-size: .88rem; font-weight: 700; letter-spacing: .05em; color: var(--green); background: var(--paper); padding: 14px 32px; border-radius: 4px; text-decoration: none; }
.cta a.x-btn:hover { background: #fff; }
.lp p.note, .disclaimer { font-size: .76rem; color: var(--ink-3); text-align: center; padding: 22px 22px; line-height: 1.8; }

/* 会計英単語: デモ (語彙カード・本試験形式の問題) */
.demo-note { margin-top: 24px; padding: 2px 0 2px 18px; border-left: 2px solid var(--accent); font-size: .85rem; color: var(--ink-2); line-height: 1.9; }
.demo-sub { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 56px 0 4px; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.demo-sub .tag { font-family: var(--display); font-style: italic; font-weight: 400; font-size: .86rem; color: var(--gold); letter-spacing: .04em; }
.demo-hint { font-size: .84rem; color: var(--ink-3); margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { perspective: 1400px; height: 264px; cursor: pointer; }
.card-inner { position: relative; width: 100%; height: 100%; transition: transform .55s cubic-bezier(.2, .7, .3, 1); transform-style: preserve-3d; }
.card.flipped .card-inner { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 8px; border: 1px solid var(--rule); padding: 24px; display: flex; flex-direction: column; overflow: hidden; }
.card-front { background: var(--paper); justify-content: center; }
.card-front .subject { font-size: .72rem; letter-spacing: .12em; color: var(--ink-3); }
.card-front .en { font-family: var(--display); font-weight: 500; font-size: 1.75rem; line-height: 1.25; color: var(--accent-deep); margin: 14px 0 6px; }
.card-front .flip-hint { font-size: .74rem; color: var(--ink-3); margin-top: auto; letter-spacing: .04em; }
.card-back { background: var(--accent-deep); color: #e3e9f0; border-color: var(--accent-deep); transform: rotateY(180deg); overflow-y: auto; }
.card-back .ja { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: #fff; }
.card-back .expl { font-size: .8rem; line-height: 1.75; color: #d3dbe6; margin-top: 10px; }
.card-back .poly { font-size: .74rem; color: #b4c1d2; margin-top: 11px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .16); }
.card-back .poly b { color: #fff; }
.quiz-win { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; }
.quiz-win .qbody { padding: 30px 30px 26px; }
.quiz .qlabel { font-size: .74rem; letter-spacing: .1em; color: var(--ink-3); }
.quiz .passage { font-size: .89rem; line-height: 1.85; color: var(--ink-2); background: var(--bg); border-radius: 6px; padding: 20px 22px; margin: 14px 0 18px; white-space: pre-line; }
.quiz .passage .lead { display: block; font-style: italic; color: var(--ink); margin: 0 0 10px; max-width: none; font-size: inherit; line-height: inherit; }
.quiz .qtext { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; margin-bottom: 14px; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choice { text-align: left; font-family: var(--sans); font-size: .9rem; color: var(--ink); background: var(--bg); border: 1px solid var(--rule); border-radius: 6px; padding: 12px 16px; cursor: pointer; }
.choice:hover:not(:disabled) { border-color: var(--accent); }
.choice.correct { border-color: var(--green-2); background: #eaf2ea; color: var(--green); font-weight: 700; }
.choice.wrong { border-color: #b5484b; background: #f8ecec; color: #9a3437; }
.choice:disabled { cursor: default; }
.answer { display: none; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule); }
.answer.show { display: block; }
.answer .verdict { font-family: var(--serif); font-weight: 600; font-size: 1.04rem; margin-bottom: 8px; }
.answer .expl { font-size: .87rem; line-height: 1.9; color: var(--ink-2); white-space: pre-line; }

/* ==========================================================================
   法務・表記ページ (.doc)
   ========================================================================== */
.doc .wrap { max-width: 800px; }
header.doc-head { padding: 84px 0 44px; }
.doc-eyebrow { font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--gold); letter-spacing: .02em; }
.doc-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 4.2vw, 2.5rem); line-height: 1.45; letter-spacing: .02em; margin-top: 10px; }
.doc-meta { margin-top: 16px; font-size: .84rem; color: var(--ink-3); letter-spacing: .04em; }
.doc main { padding: 0 0 104px; }
.doc main > .wrap::before { content: ""; display: block; height: 1px; background: var(--ink); margin-bottom: 44px; }
.intro { margin-bottom: 52px; padding-left: 22px; border-left: 2px solid var(--green-2); font-size: .95rem; color: var(--ink-2); line-height: 2.05; }
.intro strong { color: var(--ink); }
section.clause { padding: 0; margin-bottom: 44px; }
section.clause h2 { display: flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-weight: 600; font-size: 1.18rem; line-height: 1.6; padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--rule); }
section.clause h2 .num { font-family: var(--sans); font-weight: 500; font-size: .8rem; color: var(--gold); letter-spacing: .1em; white-space: nowrap; }
section.clause p { font-size: .93rem; margin-bottom: 12px; line-height: 2; }
section.clause > ol, .num-list { margin: 0 0 12px; padding-left: 1.5em; }
section.clause > ol > li, .num-list li { font-size: .93rem; line-height: 2; margin-bottom: 10px; }
section.clause ol ol { margin: 8px 0; padding-left: 1.5em; list-style: lower-roman; }
section.clause ol ol li { font-size: .9rem; color: var(--ink-2); margin-bottom: 6px; }
section.clause p a, .leaf-list li a, .doc main a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
.leaf-list { list-style: none; margin: 8px 0 12px; }
.leaf-list li { position: relative; padding-left: 22px; font-size: .9rem; line-height: 1.95; margin-bottom: 8px; }
.leaf-list li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 10px; height: 1px; background: var(--ink-3); }
.leaf-list li strong { color: var(--ink); }
.highlight { margin: 14px 0; padding: 16px 20px; background: var(--paper); border-left: 2px solid var(--gold); }
.highlight p { margin-bottom: 0 !important; }
.sub-label { font-weight: 700; color: var(--ink); }
table.label-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .86rem; line-height: 1.8; border-top: 1px solid var(--ink); }
table.label-table th, table.label-table td { border-bottom: 1px solid var(--rule); padding: 10px 14px 10px 0; text-align: left; vertical-align: top; }
table.label-table th { font-weight: 500; font-size: .8rem; color: var(--ink-3); letter-spacing: .06em; }
table.label-table td:first-child { font-weight: 700; white-space: nowrap; }
table.tk-table { width: 100%; border-collapse: collapse; margin: 16px 0 28px; font-size: .93rem; border-top: 1px solid var(--ink); }
table.tk-table th, table.tk-table td { border-bottom: 1px solid var(--rule); padding: 18px 0; text-align: left; vertical-align: top; line-height: 1.9; }
table.tk-table th { width: 30%; padding-right: 20px; font-weight: 500; font-size: .84rem; color: var(--ink-3); letter-spacing: .06em; }
table.tk-table td .note { display: block; font-size: .82rem; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 600px) {
  table.tk-table th, table.tk-table td { display: block; width: 100%; }
  table.tk-table th { border-bottom: 0; padding-bottom: 0; }
  table.tk-table td { padding-top: 4px; }
  table.label-table { display: block; overflow-x: auto; }
}
.appendix-title { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin: 48px 0 14px; padding-top: 30px; border-top: 1px solid var(--ink); }
.doc-foot-meta { font-size: .85rem; color: var(--ink-3); margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); }

/* ==========================================================================
   フッター
   ========================================================================== */
footer { background: var(--green-deep); color: #8e9b8a; padding: 44px 0 40px; font-size: .8rem; text-align: center; }
footer a { color: #cdd6c8; text-decoration: none; }
footer a:hover { color: #fff; }
footer .f-links { display: flex; gap: 8px 26px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }

footer.site-footer { text-align: left; padding: 0 0 36px; }
.f-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: 96px 0 72px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.f-contact .mono-label { color: #8e9b8a; }
.f-contact .mono-label::before { background: #8e9b8a; }
.f-contact .mono-label .en { color: #cdd6c8; }
.f-contact h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 3.2vw, 2.05rem); color: #fff; letter-spacing: .02em; margin-top: 18px; }
.f-contact p { margin-top: 16px; max-width: 30em; font-size: .9rem; color: #a9b5a5; line-height: 2; }
.contact-mail { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 3.6vw, 2.2rem); color: #fff; letter-spacing: .01em; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 6px; }
.contact-mail:hover { border-bottom-color: #fff; }
@media (max-width: 760px) { .f-contact { grid-template-columns: 1fr; padding: 72px 0 56px; } }
.f-cols { display: grid; grid-template-columns: 1.5fr repeat(5, auto); gap: 40px; padding: 56px 0 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.f-brand img { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); }
.f-brand p { margin-top: 14px; max-width: 20em; line-height: 1.9; }
.f-col { display: flex; flex-direction: column; gap: 9px; }
.f-col .label { font-size: .72rem; color: #6f7d6b; letter-spacing: .1em; margin-bottom: 4px; }
@media (max-width: 980px) { .f-cols { grid-template-columns: repeat(3, 1fr); } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .f-cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
.f-copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-family: var(--display); font-size: .8rem; color: #6f7d6b; letter-spacing: .04em; }
