@charset "UTF-8";
/* =========================================================
   Mother.N プライバシーポリシー・特定商取引法に基づく表記
   ヘッダー・フッター・背景は /common/common.css で管理
   色は個別鑑定（/kantei/style.css）とそろえています
   ========================================================= */

:root {
  --lg-text: #5b4a3a;
  --lg-heading: #4a3a2c;
  --lg-sub: #7a6858;
  --lg-accent: #d9a85b;
  --lg-soft: #fdf1d8;
  --lg-soft2: #fff8ea;
  --lg-border: #efdcb4;
  --lg-white: #fff;
}

.legal-main {
  color: var(--lg-text);
  font-family: "Kosugi Maru", sans-serif;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 16px 72px;
}

.legal-page h1,
.legal-page h2 {
  font-family: "Zen Antique Soft", serif;
  color: var(--lg-heading);
  font-weight: 400;
  margin: 0;
}

.legal-page p { margin: 0 0 1em; }
.legal-page p:last-child { margin-bottom: 0; }
.legal-page a { color: var(--lg-text); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--lg-accent); }

.sp-only { display: none; }

/* ---------- タイトル ---------- */
.legal-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px 12px;
  text-align: center;
  margin-bottom: 20px;
}
.legal-heading__art { width: 150px; height: auto; justify-self: end; }
.legal-heading__art.is-flip { transform: scaleX(-1); justify-self: start; }
.legal-heading__text { padding-bottom: 14px; }
.legal-heading h1 {
  font-size: 32px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.legal-label {
  font-family: "Libre Baskerville", serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--lg-sub);
  margin: 0 0 6px !important;
}
.legal-label::before,
.legal-label::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 10px;
  background: var(--lg-accent);
  transform: rotate(45deg);
  vertical-align: 2px;
}

/* ---------- パンくず ---------- */
.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 13px;
  margin-bottom: 24px;
}

/* ---------- 準備中の案内 ---------- */
.legal-draft-note {
  font-size: 13px;
  text-align: center;
  color: var(--lg-sub);
  background: var(--lg-white);
  border: 2px dashed var(--lg-border);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 24px !important;
}

/* 【未定】の印：決まっていないところ。公開前に必ずなくす */
.mn-todo {
  background: #fff1a8;
  color: #8a5a00;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: bold;
}

/* ---------- セクション（カード） ---------- */
.legal-section {
  background: var(--lg-white);
  border: 1px solid var(--lg-border);
  border-radius: 18px;
  padding: 32px 40px;
  margin-bottom: 22px;
  font-size: 15px;
}
/* 本文は1つの枠にまとめ、見出しは控えめに */
.legal-section > h2 {
  font-size: 18px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin: 36px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--lg-border);
}
.legal-section > h2:first-child { margin-top: 0; }

.legal-person {
  background: var(--lg-soft2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
}
.legal-person a { white-space: nowrap; margin-left: 4px; }

.legal-list {
  margin: 0 0 1em;
  padding-left: 1.6em;
}
.legal-list li + li { margin-top: 2px; }

.legal-check { margin-top: 8px !important; font-size: 13px; }
.legal-date { font-size: 14px; color: var(--lg-sub); }

/* ---------- 表 ---------- */
.legal-table-wrap { overflow-x: auto; margin-top: 4px; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px dashed var(--lg-border);
}
.legal-table th {
  background: var(--lg-soft2);
  color: var(--lg-heading);
  font-weight: bold;
  border-bottom: 1px solid var(--lg-accent);
  white-space: nowrap;
}
.legal-table td:first-child { color: var(--lg-heading); min-width: 11em; }

/* ---------- 項目と内容（dl） ---------- */
.legal-dl { margin: 0; }
.legal-dl > div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--lg-border);
}
.legal-dl > div:first-child { padding-top: 0; }
.legal-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-dl--wide > div { grid-template-columns: 12em 1fr; }
.legal-dl dt { font-weight: bold; color: var(--lg-heading); }
.legal-dl dd { margin: 0; }

.legal-prices { margin: 0 0 4px; padding-left: 1.2em; }
.legal-prices b { color: var(--lg-heading); font-size: 16px; }
.legal-steps { margin: 0; padding-left: 1.4em; }
.legal-steps li + li { margin-top: 4px; }

/* ---------- 下のリンク ---------- */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 14px;
  margin-top: 32px;
}

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
  .sp-only { display: inline; }
  .legal-heading { gap: 6px; }
  .legal-heading__art { width: 76px; }
  .legal-heading h1 { font-size: 24px; letter-spacing: 0.08em; }
  .legal-label { font-size: 10px; letter-spacing: 0.1em; white-space: nowrap; }
  .legal-label::before,
  .legal-label::after { margin: 0 5px; width: 5px; height: 5px; }

  .legal-section { padding: 24px 18px; border-radius: 14px; font-size: 14px; }
  .legal-section > h2 { font-size: 16px; margin-top: 28px; }

  .legal-dl > div,
  .legal-dl--wide > div { grid-template-columns: 1fr; gap: 2px; }

  /* 表はスマホでは縦に並べる */
  .legal-table thead { display: none; }
  .legal-table tr { display: block; padding: 12px 0; border-bottom: 1px dashed var(--lg-border); }
  .legal-table td { display: block; padding: 2px 0; border: 0; }
  .legal-table td:first-child { font-weight: bold; min-width: 0; }
  .legal-table td:nth-child(2)::before { content: "所在国："; color: var(--lg-sub); }
  .legal-table td:nth-child(3)::before { content: "お渡しする情報："; color: var(--lg-sub); }
}
