/*
  base.css
  カラー・フォント・余白等のデザイントークン定義、リセット、基本タイポグラフィ。
  スマホ版デザイン入手後はこのファイルに手を入れず、各ページCSSにメディアクエリを追加していく方針。
*/

:root {
  /* Colors */
  --color-gold: #c9a558;
  --color-gold-dark: #a9843a;
  --color-gold-light: #e8cf9e;
  --color-cream: #fdf3e0;
  --color-pink: #ea5c9e;
  --color-blue: #74c4da;
  --color-orange: #dc7e2a;
  --color-text: #3a3a3a;
  --color-text-sub: #6b6b6b;
  --color-black: #17130f;
  --color-white: #ffffff;
  --color-border: #e6d9bb;

  /* Typography */
  /* font-en-display: 日付の大きな数字（NEXT LIVE・SCHEDULE等）にのみ使用する装飾セリフ体 */
  --font-en-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  /* font-en-sans: 見出し・ナビ・ボタン等、デザイン上ゴシック体で統一されている英字全般に使用 */
  --font-en-sans: "Poppins", "Century Gothic", "Futura", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", sans-serif;
  --font-jp: "Zen Kaku Gothic New", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Segoe UI", sans-serif;

  /* Layout */
  --container-max: 75rem; /* 1200px相当 */
  --space-3xs: 0.25rem;
  --space-xxs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;

  --radius-s: 0.5rem;
  --radius-m: 1rem;
  --radius-l: 1.5rem;
  --radius-pill: 999px;

  --shadow-card: 0 0.25rem 1rem rgba(60, 45, 10, 0.08);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

.container {
  width: min(100% - 2 * var(--space-m), var(--container-max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  font-family: var(--font-en-sans);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 600;
  color: var(--color-gold-dark);
  letter-spacing: 0.05em;
}

.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--color-border);
}

.section-heading__spark {
  color: var(--color-gold);
}

/* 見出しを中央揃えにし、左右両側に線を配置するバリエーション（CONTACT見出し等） */
.section-heading--centered {
  justify-content: center;
  text-align: center;
}

.section-heading--centered::before {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--color-border);
}

.section {
  padding-block: var(--space-xl);
}

/* page-heading の直後に続くsectionは、見出しの余白と重複して間延びしないよう上余白を詰める */
.page-heading + .section {
  padding-top: 0;
}

/* 直後に別セクションが密接に続く場合(例: RULE直後のCONTACT導線)に下余白を詰める */
.section--tight-bottom {
  padding-bottom: var(--space-m);
}
