/* ==========================================================================
   Base / reset
   ========================================================================== */
:root {
  --color-bg: #ffffff;
  --color-tan: #efeae2;
  --color-tan-soft: rgba(239, 234, 226, 0.5);
  --color-offwhite: #f7f5f1;
  --color-pink: #dcb0a5;
  --color-pink-soft: rgba(220, 176, 165, 0.4);
  --color-pink-border: #c48f80;
  --color-text: #8d8985;
  --color-text-dark: #726e6b;
  --color-text-darker: #4a4d4f;
  --color-text-brown: #8b837b;
  --color-white: #fffefe;
  --color-divider: #a7a29c;

  --font-display: 'Aboreto', serif;
  --font-script: 'Dawning of a New Day', cursive;
  --font-view-more: 'Cormorant Infant', serif;
  --font-mincho: 'Shippori Mincho', 'Zen Maru Gothic', serif;
  --font-maru: 'Zen Maru Gothic', sans-serif;
  --font-sans-jp: 'Noto Sans JP', sans-serif;

  --header-height: 84px;
  /* ヘッダー実体(バー)の現在の高さ。ナビパネルの開始位置(top)に使う */
  --header-bar-height: 84px;
}

/* デスクトップでの確保スペースは常に「デザイン通りの高さ」で固定
   (スクロールでヘッダー実体は縮むが、この分の余白はズレさせない) */
@media (min-width: 861px) {
  :root {
    --header-height: clamp(140px, 14vw, 197px);
    --header-bar-height: clamp(140px, 14vw, 197px);
  }

  /* スクロール後はヘッダー実体(バー)が縮むので、ナビパネルの開始位置も合わせる */
  body.header-scrolled {
    --header-bar-height: 84px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-maru);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, p, dl, dd {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-tan);
  color: var(--color-text-darker);
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-text);
  font-size: clamp(28px, 6vw, 48px);
  letter-spacing: 0.1em;
  line-height: 1.1667;
  text-align: center;
  text-transform: none;
}


/* prefers-reduced-motion (グローバル): サイト全体のtransition/animationを最小化 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
