/* ==========================================================================
   OKADA Collection — Web Common Stylesheet
   デザインシステムはプロジェクトSKILL.mdに準拠(カラー変数・タイポグラフィ)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Josefin+Sans:wght@100;200;300&family=Noto+Serif+JP:wght@200;300;400&display=swap');

:root {
  --gold:       #B8986A;
  --gold-light: #D4B483;
  --gold-pale:  #F0E6D0;
  --cream:      #FAF7F2;
  --ivory:      #F5F0E8;
  --charcoal:   #1A1814;
  --warm-black: #0F0E0C;
  --mid:        #6B6459;
  --border:     rgba(184,152,106,0.25);
  --shadow:     rgba(26,24,20,0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.serif-display {
  font-family: 'Cormorant Garamond', serif;
}

/* ---------- ヘッダー / ハンバーガーメニュー ---------- */

.site-header {
  position: fixed;
  top: 84px; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 32px;
  mix-blend-mode: normal;
}

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}

.wordmark em {
  font-style: italic;
  color: var(--gold);
  margin-left: 6px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.hamburger-btn {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--charcoal);
  cursor: pointer;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 0;
}

.lang-switch {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--mid);
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: var(--mid);
  padding: 4px 6px;
}

.lang-switch button.active {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

.lang-switch .divider { color: var(--border); }

/* ---------- メニューオーバーレイ ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-close {
  position: absolute;
  top: 24px;
  left: 32px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--charcoal);
  cursor: pointer;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu-list li {
  margin: 28px 0;
}

.menu-list a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.08em;
  color: var(--charcoal);
  transition: color 0.3s ease;
}

.menu-list a:hover {
  color: var(--gold);
}

/* ---------- 表紙(カバー) ---------- */

.cover {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  overflow: hidden;
}

.cover-eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 32px;
}

.cover-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: 0.12em;
  margin: 0;
  color: var(--charcoal);
}

.cover-title em {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: 0.5em;
  color: var(--gold);
  margin-top: 8px;
}

.cover-rule {
  width: 46px;
  height: 120px;
  margin: 48px auto;
}

.cover-sub {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-size: 0.95rem;
  margin: 8px 0;
}

.cover-sub.small {
  color: var(--mid);
  font-size: 0.78rem;
}

.cover-date {
  position: absolute;
  bottom: 40px;
  right: 48px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ---------- 汎用ページレイアウト ---------- */

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 170px 40px 24px;
}

.section {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border);
}

.section:first-child {
  border-top: none;
  padding-top: 0;
}

.section-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.30em;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  color: var(--charcoal);
}

.section-body {
  font-size: 0.92rem;
  line-height: 2.0;
  color: var(--mid);
  margin: 0 0 20px;
}

blockquote.pull {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 40px 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--charcoal);
}

blockquote.pull .cite {
  display: block !important;
  margin-top: 12px;
  font-family: 'Josefin Sans', sans-serif;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ---------- プランカード ---------- */

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 720px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}

.plan-card {
  border: 1px solid var(--border);
  padding: 32px 26px 28px;
  background: var(--ivory);
  position: relative;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.plan-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.plan-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin: 10px 0 4px;
  color: var(--charcoal);
}

.plan-tag {
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.plan-divider {
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 16px;
}

.plan-target {
  font-size: 0.78rem;
  color: var(--mid);
  margin-bottom: 12px;
}

.plan-detail {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 18px;
}

.plan-spec {
  background: var(--gold-pale);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--charcoal);
}

.plan-spec-label {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--mid);
  margin-bottom: 4px;
}

/* ---------- ステップ ---------- */

.steps { position: relative; margin-top: 40px; }

.steps::before {
  content: '';
  position: absolute;
  left: 22px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0.3;
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 24px;
  padding: 0 0 32px;
}

.step-dot {
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  z-index: 1;
}

.step-title {
  font-weight: 500;
  margin: 6px 0 6px;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.step-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--mid);
  margin: 0;
}

.step-note {
  font-size: 0.76rem;
  color: var(--gold);
  font-style: italic;
  margin-top: 6px;
}

/* ---------- フォーム ---------- */

.form-field { margin-bottom: 28px; }

.form-field label {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--mid);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--ivory);
  padding: 12px 14px;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.88rem;
  color: var(--charcoal);
}

.form-field textarea { resize: vertical; }

.form-submit {
  background: var(--charcoal);
  color: var(--cream);
  border: none;
  padding: 14px 40px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  cursor: pointer;
}

.form-note {
  margin-top: 24px;
  padding: 16px 18px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.form-note.success { color: var(--gold); }
.form-note.error { color: #a04040; }

/* ---------- フッター ---------- */

.footer-bar {
  display: flex;
  justify-content: space-between;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--mid);
  padding: 16px 40px 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- about.php: タイトル/サブタイトル共通スタイル ---------- */

.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin: 0 0 12px;
}

.about-subtitle {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.92rem;
  margin: 0 0 28px;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.5em;
  color: var(--gold);
}

/* ---------- 言語切替表示制御 ----------
   [data-lang="ja"] / [data-lang="fr"] を持つ要素を、
   html要素のlang属性に応じて出し分ける。
   display:revert で要素本来の表示形式(block/inline等)を保つ。 */

[data-lang] { display: none; }
html[lang="ja"] [data-lang="ja"] { display: revert; }
html[lang="fr"] [data-lang="fr"] { display: revert; }
