/**
 * YOMO LIFE – tokushoho.css
 * 特定商取引法に基づく表記ページ専用スタイル
 */

/* =========================================================
   1. ページ基本レイアウト
   ========================================================= */
body.tokushoho-page {
  background-color: var(--color-bg, #f8f6f1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.tokushoho-main {
  flex: 1;
  padding-top: 80px; /* --nav-height */
}

/* ナビバー（scrolled 固定スタイル） */
body.tokushoho-page .site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 246, 241, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(30, 56, 36, 0.1);
  z-index: 100;
}

/* =========================================================
   2. パンくずリスト
   ========================================================= */
.breadcrumb-nav {
  padding: 16px 24px 0;
  max-width: 860px;
  margin: 0 auto;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  font-family: var(--font-sans-jp, 'Noto Sans JP', sans-serif);
  color: var(--color-ink-light, #888);
}

.breadcrumb-item a {
  color: var(--color-green-deep, #1e3824);
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb-item a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #bbb;
  user-select: none;
}

.breadcrumb-item[aria-current="page"] {
  color: var(--color-ink-light, #888);
}

/* =========================================================
   3. メインセクション
   ========================================================= */
.tokushoho-section {
  padding: 56px 24px 100px;
}

.tokushoho-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* =========================================================
   4. ページヘッダー
   ========================================================= */
.tokushoho-header {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border, rgba(26,26,24,0.1));
}

.tokushoho-header .section-label {
  font-family: var(--font-serif-en, 'Cormorant Garamond', serif);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-green-soft, #4a7c5f);
  margin-bottom: 12px;
  display: block;
}

.tokushoho-title {
  font-family: var(--font-serif-jp, 'Noto Serif JP', serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300;
  color: var(--color-ink, #1a1a18);
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 16px;
}

.tokushoho-updated {
  font-family: var(--font-sans-jp, 'Noto Sans JP', sans-serif);
  font-size: 0.8rem;
  color: var(--color-ink-light, #7a7a72);
  letter-spacing: 0.04em;
}

/* =========================================================
   5. 表記テーブル
   ========================================================= */
.tokushoho-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(30, 56, 36, 0.06);
  border: 1px solid var(--color-border, rgba(26,26,24,0.08));
  background: var(--color-surface, #fff);
  margin-bottom: 40px;
}

.tokushoho-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans-jp, 'Noto Sans JP', sans-serif);
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ヘッダーセル（th） */
.tokushoho-table th {
  width: 200px;
  min-width: 160px;
  padding: 20px 24px;
  background-color: rgba(30, 56, 36, 0.04);
  color: var(--color-green-deep, #1e3824);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border, rgba(26,26,24,0.08));
  white-space: nowrap;
}

/* データセル（td） */
.tokushoho-table td {
  padding: 20px 24px;
  color: var(--color-ink-mid, #3d3d38);
  vertical-align: top;
  border-bottom: 1px solid var(--color-border, rgba(26,26,24,0.06));
  font-weight: 300;
}

/* 最終行のボーダー削除 */
.tokushoho-table tr:last-child th,
.tokushoho-table tr:last-child td {
  border-bottom: none;
}

/* 行ホバー */
.tokushoho-table tr:hover th,
.tokushoho-table tr:hover td {
  background-color: rgba(30, 56, 36, 0.02);
}

/* リンク */
.tokushoho-table a {
  color: var(--color-green-mid, #2d5a3d);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.tokushoho-table a:hover {
  opacity: 0.7;
}

/* small テキスト */
.tokushoho-table small {
  font-size: 0.8rem;
  color: var(--color-ink-light, #7a7a72);
  display: block;
  margin-top: 4px;
}

/* strong テキスト */
.tokushoho-table strong {
  font-weight: 500;
  color: var(--color-ink, #1a1a18);
}

/* スマホ対応：th を上部に縦並び */
@media (max-width: 640px) {
  .tokushoho-table,
  .tokushoho-table tbody,
  .tokushoho-table tr,
  .tokushoho-table th,
  .tokushoho-table td {
    display: block;
    width: 100%;
  }

  .tokushoho-table th {
    padding: 16px 20px 8px;
    border-bottom: none;
    white-space: normal;
    background-color: rgba(30, 56, 36, 0.05);
    font-size: 0.82rem;
  }

  .tokushoho-table td {
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--color-border, rgba(26,26,24,0.08));
  }

  .tokushoho-table tr:last-child td {
    border-bottom: none;
  }
}

/* =========================================================
   6. 注意書き
   ========================================================= */
.tokushoho-note {
  background: rgba(30, 56, 36, 0.04);
  border-left: 3px solid var(--color-green-soft, #4a7c5f);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin-bottom: 48px;
}

.tokushoho-note p {
  font-family: var(--font-sans-jp, 'Noto Sans JP', sans-serif);
  font-size: 0.85rem;
  color: var(--color-ink-mid, #3d3d38);
  line-height: 1.9;
  font-weight: 300;
}

/* =========================================================
   7. ページ下部ナビ
   ========================================================= */
.tokushoho-nav-links {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.tokushoho-link-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans-jp, 'Noto Sans JP', sans-serif);
  font-size: 0.85rem;
  color: var(--color-green-deep, #1e3824);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.2s;
  letter-spacing: 0.04em;
}

.tokushoho-link-back:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
