@charset "UTF-8";

/* =========================================
   基本設定 (Variables & Reset)
   ========================================= */
:root {
  --ink: #4c4b4c;         /* 基本の文字色 */
  --ink-light: #6a6a6a;   /* 薄めの文字色 */
  --accent: #81d8d0;      /* 森本塾ティファニーブルー */
  --accent-light: #9ee4dc;
  --bg: #f8fffe;          /* 全体の背景色 */
  --bg-dark: #4c4b4c;     /* ヘッダー・フッター背景 */
  --rule: #caecea;        /* 区切り線 */
  --serif: 'Noto Serif JP', serif; /* 明朝体 */
  --sans: 'Noto Sans JP', sans-serif; /* ゴシック体 */
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.9;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }

/* =========================================
   共通パーツ (Header & Footer)
   ========================================= */
/* ヘッダー */
.site-header {
  background: var(--bg-dark);
  padding: 20px 24px;
  text-align: center;
}
.site-header a {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.15em;
}

/* フッター */
footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 12px;
  color: #aaa;
  border-top: 1px solid var(--rule);
  background: #fff;
}
footer a { color: var(--accent); }

/* =========================================
   トップページ用スタイル (Hero & Content)
   ========================================= */
.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}

/* =========================================
   特商法ページ用スタイル (Legal & Tabs)
   ========================================= */
.page-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 56px 24px 48px;
  text-align: center;
  border-bottom: 2px solid var(--accent);
}
.page-hero-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* タブ切り替えボタン */
.tab-nav {
  display: flex;
  max-width: 720px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}
.tab-btn {
  flex: 1;
  padding: 18px 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  cursor: pointer;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.tab-btn.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* コンテンツ表示切り替え */
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* テーブルスタイル */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.legal-table tr { border-bottom: 1px solid var(--rule); }
.legal-table tr:first-child { border-top: 1px solid var(--rule); }
.legal-table th {
  width: 30%;
  padding: 18px 16px 18px 0;
  vertical-align: top;
  font-weight: 500;
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.legal-table td {
  padding: 18px 0 18px 16px;
  vertical-align: top;
  color: var(--ink-light);
  line-height: 1.9;
}

/* プライバシーポリシー */
.policy-section { margin-bottom: 48px; }
.policy-heading {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
}
.policy-body { font-size: 14px; color: var(--ink-light); line-height: 2; }
.policy-body ul { padding-left: 1.2em; margin-top: 8px; }
.policy-body li { list-style: disc; margin-bottom: 4px; }
.policy-meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: #aaa;
}

/* モバイル対応 */
@media (max-width: 560px) {
  .legal-table th { width: 36%; white-space: normal; }
}