/* みらいBASE  色は 03_ブランド/ブランドの決まり.md（緑が主、ゴールドは差し色） */
:root {
  --green: #0B7D59;
  --green-deep: #08613F;
  --gold: #D4AF37;
  --gray: #4D4D4D;
  --muted: #6A6F6C;
  --line: #DFE7E3;
  --tint: #F3F8F5;
  --bg: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--gray);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; color: #fff; }

/* ヘッダー：上の細い帯は、ロゴの「緑の山＋金の帯」にならう */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--green) 0 86%, var(--gold) 86% 100%);
}
.site-header .wrap { display: flex; align-items: center; min-height: 64px; }
.brand { display: inline-flex; padding: 6px 0; }
.brand img { width: 148px; height: auto; display: block; }

/* 現在の位置 */
.crumbs ol { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 .55em; color: #A9B3AE; }
.crumbs a { color: var(--muted); }

/* 規約の本文 */
.doc { padding: 20px 0 64px; }
.eyebrow { margin: 18px 0 2px; font-size: 13.5px; font-weight: 700; letter-spacing: .12em; color: var(--green); }
.doc h1 { margin: 0 0 28px; font-size: 1.65rem; line-height: 1.45; color: #333; letter-spacing: .04em; text-wrap: balance; word-break: auto-phrase; }
.doc h2 { font-size: 1.12rem; line-height: 1.55; color: #333; margin: 2.4em 0 .7em; padding: 2px 0 2px 12px; border-left: 4px solid var(--green); }
.doc p { margin: .6em 0; }
.doc strong { color: #333; }

/* 特商法の表 */
.spec-block + .spec-block { margin-top: 8px; }
.spec { width: 100%; border-collapse: collapse; border-top: 2px solid var(--green); font-size: 16px; }
.spec th, .spec td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.spec th { width: 11.5em; background: var(--tint); font-weight: 700; color: #333; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li + li { margin-top: .35em; }

/* 利用規約 */
.article h2 { margin-top: 2.2em; }
.clauses { list-style: none; margin: .4em 0; padding: 0; }
.clauses li { display: grid; grid-template-columns: 1.7em 1fr; margin: .5em 0; }
.clauses .no { color: var(--green); font-weight: 700; }
.formula { display: block; margin: .6em 0 .2em; padding: 10px 14px; background: var(--tint); border-radius: 6px; font-size: 15.5px; }
.cont { display: block; margin-top: .4em; }
.dots { margin: .5em 0; padding-left: 1.3em; }
.dots li { margin: .3em 0; }
.dots li::marker { color: var(--green); }
.paren { display: grid; grid-template-columns: 2.4em 1fr; margin: .35em 0; }
.paren .no { color: var(--green); font-weight: 700; }
.sec-no { display: inline-block; min-width: 1.6em; color: var(--green); }
.enacted { margin-top: 3em !important; padding-top: 1em; border-top: 1px solid var(--line); text-align: right; color: var(--muted); font-size: 15px; }

/* プライバシーポリシーの外部サービスの表 */
.table-wrap { margin: 1em 0; }
.services { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.75; }
.services th, .services td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.services thead th { background: var(--tint); border-top: 2px solid var(--green); color: #333; white-space: nowrap; }
.services td:first-child { font-weight: 700; color: #333; }

/* 一覧 */
.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doc-list a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.doc-list a::after { content: "›"; float: right; color: #A9B3AE; }

/* トップ（準備中） */
.home .site-header .brand { visibility: hidden; }
.soon { text-align: center; padding: 72px 0 80px; }
.soon-logo { width: 320px; max-width: 82%; height: auto; }
.soon-title { margin: 44px 0 8px; font-size: 1.3rem; line-height: 1.6; color: #333; }
.soon-text { margin: 0; }
.soon-mail { margin: 6px 0 0; font-size: 1.15rem; font-weight: 700; }
.soon-legal { margin: 56px auto 0; max-width: 420px; padding-top: 28px; border-top: 1px solid var(--line); }
.soon-legal h2 { margin: 0 0 10px; font-size: 14px; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.soon-legal ul { list-style: none; margin: 0; padding: 0; }
.soon-legal li { margin: .45em 0; }

/* フッター */
.site-footer { flex-shrink: 0; background: var(--tint); border-top: 1px solid var(--line); padding: 28px 0 32px; font-size: 14.5px; }
.footer-links { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-contact { margin: 0; }
.copy { margin: 10px 0 0; color: var(--muted); }

/* スマホ */
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.85; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { min-height: 56px; }
  .brand img { width: 128px; }
  .doc h1 { font-size: 1.38rem; margin-bottom: 22px; }
  .spec { font-size: 15.5px; }
  .spec th, .spec td { display: block; width: auto; }
  .spec th { padding: 10px 14px 6px; border-bottom: none; }
  .spec td { padding: 8px 14px 16px; }
  .services thead { display: none; }
  .services, .services tbody, .services tr, .services td { display: block; width: 100%; }
  .services tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .services tr:first-child { border-top: 2px solid var(--green); }
  .services td { border: none; padding: 2px 4px; }
  .services td:not(:first-child)::before { content: attr(data-label) "："; display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
  .soon { padding: 48px 0 60px; }
  .soon-title { font-size: 1.15rem; }
}

@media print {
  .site-header::before, .skip, .crumbs, .site-footer { display: none; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; }
}
