/* 旅行思い出マップ - 法務ページ共通スタイル
   色は LP と同じくアプリの Color.xcassets 由来
   OmoideDeepGreen #569331 / primaryText #242424 / background #F5F5F5 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, figure { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

:root {
  --white: #FFFFFF;
  --ink: #242424;
  --panel: #1A1A1A;
  --sub: #7B7B78;
  --sub-dark: #A0A09B;
  --line: rgba(36, 36, 36, .14);
  --line-dark: rgba(255, 255, 255, .16);
  --gray: #F5F5F5;
  --accent: #569331;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.95;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

.wrap { width: min(1200px, calc(100% - 56px)); margin-inline: auto; }
@media (max-width: 700px) { .wrap { width: calc(100% - 36px); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80; height: 62px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 100%; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 14.5px; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 20px; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 13px; line-height: 1.3; white-space: nowrap;
  background: var(--ink); color: var(--white); margin-left: auto;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--accent); }

/* ---------- document ---------- */
.doc { padding: clamp(48px, 7vw, 84px) 0 clamp(64px, 9vw, 110px); }
.doc-inner { max-width: 46em; }
.doc .en {
  display: block; font-size: 10.5px; font-weight: 800;
  letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.doc h1 { font-size: clamp(26px, 4.2vw, 40px); font-weight: 800; letter-spacing: -.045em; line-height: 1.35; }
.doc .updated { margin-top: 16px; font-size: 12.5px; color: var(--sub); letter-spacing: .02em; }
.doc .intro { margin-top: 26px; font-size: 14.5px; color: var(--sub); }

.toc {
  margin: clamp(34px, 5vw, 50px) 0 0; padding: 22px 24px 26px;
  background: var(--gray); border-radius: 6px;
}
.toc h2 { font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--sub); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 6px; }
.toc a { font-size: 13.5px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

.doc section { margin-top: clamp(38px, 5vw, 56px); scroll-margin-top: 80px; }
.doc h2.art {
  font-size: clamp(16px, 2.2vw, 19px); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.55; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.doc h3 { font-size: 14.5px; font-weight: 800; letter-spacing: -.02em; margin: 24px 0 8px; }
.doc p { font-size: 14.5px; margin-bottom: 14px; }
.doc p:last-child { margin-bottom: 0; }
.doc ol.num { margin: 0 0 14px; padding-left: 1.4em; }
.doc ol.num > li { font-size: 14.5px; margin-bottom: 10px; }
.doc ul.dot { margin: 0 0 14px; padding-left: 1.3em; list-style: disc; }
.doc ul.dot > li { font-size: 14.5px; margin-bottom: 7px; }
.doc ul.dot ul { margin-top: 7px; padding-left: 1.2em; list-style: circle; }
.doc .note {
  margin: 20px 0; padding: 18px 20px; background: var(--gray);
  border-left: 3px solid var(--accent); border-radius: 0 4px 4px 0;
  font-size: 13.5px; line-height: 1.9;
}
.doc a.link { color: var(--accent); font-weight: 700; }

/* 定義リスト(特商法) */
.dl { border-top: 1px solid var(--line); margin-top: 8px; }
.dl > div { display: grid; grid-template-columns: 13em 1fr; gap: 0 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-size: 13.5px; font-weight: 800; letter-spacing: -.01em; }
.dl dd { font-size: 14.5px; }
.dl dd small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--sub); line-height: 1.85; }
@media (max-width: 700px) {
  .dl > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
}

/* 表 */
.tbl { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 13.5px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 13px 14px; border-bottom: 1px solid var(--line); line-height: 1.8; }
.tbl th { font-weight: 800; background: var(--gray); white-space: nowrap; }
.tbl-scroll { overflow-x: auto; }

/* ---------- 関連リンク ---------- */
.related { margin-top: clamp(56px, 7vw, 80px); padding-top: 30px; border-top: 1px solid var(--line); }
.related h2 { font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--sub); margin-bottom: 16px; }
.related ul { display: flex; flex-wrap: wrap; gap: 10px; }
.related a {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 4px;
  font-size: 13px; font-weight: 700; text-decoration: none; letter-spacing: -.01em;
}
.related a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--panel); color: var(--white); padding: 44px 0 56px; }
.f-inner { display: flex; flex-wrap: wrap; gap: 26px 44px; }
.f-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14.5px; }
.f-brand img { width: 30px; height: 30px; border-radius: 7px; }
.f-links { display: flex; flex-wrap: wrap; gap: 11px 24px; margin-left: auto; font-size: 13px; }
.f-links a { color: var(--sub-dark); text-decoration: none; }
.f-links a:hover { color: var(--white); }
.copy { margin-top: 34px; font-size: 11.5px; color: var(--sub-dark); letter-spacing: .05em; }
@media (max-width: 640px) { .f-links { margin-left: 0; } }
