@charset "UTF-8";
/* =====================================================================
   sazaré — modern stylesheet (full refresh)
   - 幅ベースのブレークポイント（旧: orientation 依存を廃止）
   - カスタムプロパティ / clamp() による流体タイポgrafi
   - 固定背景クロスフェード演出は IntersectionObserver と連動
   ===================================================================== */

/* ---------- デザイントークン ---------- */
:root {
  --ink: #000;
  --paper: #fff;
  --gray: #b2b2b2;
  --overlay: rgba(0, 0, 0, 0.4);

  --font-sans: "heisei-kaku-gothic-std", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic", sans-serif;

  /* タイポ（元 base.css の calc(rem + vmin) を踏襲） */
  --fs-tagline: calc(0.8rem + 0.7vmin);  /* hero / footer タグライン */
  --fs-body: calc(0.5rem + 1vmin);       /* About / Philosophy 本文 */
  --fs-body-sm: calc(0.4rem + 0.9vmin);  /* Product / Stockist / Contact 本文・サイドメニュー */
  --fs-copy: calc(0.45rem + 0.45vmin);   /* コピーライト */
  --fs-note: calc(0.3rem + 0.9vmin);     /* 注記 */

  /* 旧名のエイリアス（既存ルールから参照） */
  --fs-base: var(--fs-body-sm);
  --fs-small: var(--fs-body-sm);
  --fs-lead: var(--fs-tagline);
  --fs-heading: inherit;                 /* 見出しは周囲の本文と同サイズ（原典準拠で拡大しない） */

  --maxw: 1200px;
  --bp: 900px; /* JS と合わせるデスクトップ境界 */

  --header-h: 56px;
}

/* ---------- リセット ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: normal;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  line-height: 1.9;
  font-size: var(--fs-body); /* About / Philosophy などの基準 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Product / Stockist / Contact は一段小さい本文（元 base.css 準拠） */
#product,
#stockist,
#contact { font-size: var(--fs-body-sm); }

/* 縦持ち（モバイル）は本文をやや大きく（元 portrait の .text_column 準拠） */
@media (max-width: 899px) {
  body,
  #product,
  #stockist,
  #contact { font-size: calc(0.5rem + 1.2vmin); }
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, blockquote {
  margin: 0;
  padding: 0;
}
/* 見出しは拡大せず周囲の本文と同じサイズ・太さ（原典のフラットな組版に合わせる） */
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }

/* アイコン類は元CSS同様 content-box（width/height=グリフ実寸、padding は外側に付与）。
   全体の border-box 下では padding 分グリフが縮むため、ここだけ content-box に戻す。 */
.nav-open svg,
.mute-toggle svg,
.nav-close img,
.drawer__sns img,
.sns img { box-sizing: content-box; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a:hover { opacity: 0.7; }
a:active { opacity: 0.5; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* =====================================================================
   背景レイヤー（固定・クロスフェード）
   ===================================================================== */
.section { position: relative; }

.section__bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.section__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
/* 表示中セクションの背景だけ可視化 */
.section.is-visible .section__bg { opacity: 1; }

.section__bg--bg1 { background-image: url(../images/bg1.jpg); }
.section__bg--bg2 { background-image: url(../images/bg2.jpg); }

/* ヒーロー動画（最背面） */
.hero__video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

/* =====================================================================
   セクション共通
   ===================================================================== */
.section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
  padding: 10vh 7.5% 13em; /* 元 .wrap: 10vh / 13em */
  text-align: center;
}

/* 明るい（白地）セクション */
.section--light .section__inner {
  background: var(--paper);
  color: var(--ink);
}
.section--light a.is-link { color: var(--ink); text-decoration: underline; display: inline; }

/* =====================================================================
   ヘッダー / ナビ
   ===================================================================== */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 90; }

/* ミュートボタン（常時右上固定） */
.mute-toggle {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 13px);
  right: calc(env(safe-area-inset-right) + 13px);
  z-index: 95;
}
.mute-toggle svg { width: 21px; height: 21px; padding: 7px; fill: currentColor; } /* 元 .mute-video svg */
.site-header { color: var(--paper); }
/* スクロールでコンテンツが白地に入ったらアイコンを黒に */
body.is-dark-ui .mute-toggle,
body.is-dark-ui .nav-open { color: var(--ink); }

/* ハンバーガー（モバイル） */
.nav-open {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 13px);
  left: calc(env(safe-area-inset-left) + 13px);
  z-index: 95;
  color: var(--paper);
}
.nav-open svg { width: 21px; height: 21px; padding: 7px; fill: currentColor; } /* 元 #nav-open svg */
@media (min-width: 768px) {
  .mute-toggle svg, .nav-open svg { width: 21px; height: 21px; }
}

/* デスクトップの縦書きサイドメニュー */
.side-nav { display: none; }

/* ロゴ（ヒーロー内・タグラインの上に配置） */
.brand { margin: 0 0 12vh; }
.brand a { display: block; }
.brand__logo { width: 114px; height: 30px; fill: var(--paper); margin-inline: auto; }
@media (min-width: 768px) {
  .brand__logo { width: 137px; height: 36px; }
}

/* ドロワー本体 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: var(--gray);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 14em 7.5vw 4vh; /* 元 nav-content padding-top 23em / 左右 7.5% */
  transform: translateX(0);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__list { text-align: left; }
.drawer__list li { margin-bottom: 1em; }
.drawer__list a {
  display: inline;
  font-size: calc(0.5rem + 1.2vmin); /* 元 #menu_left .text_column */
  letter-spacing: 0.05em;
}
.drawer__footer { margin-top: auto; text-align: left; } /* 下方へ寄せる */
.drawer__sns { display: flex; justify-content: flex-start; gap: 0; margin-left: -7px; margin-bottom: 2.3em; } /* 元 sns_menu: 左揃え */
.drawer__sns img { width: 21px; height: 21px; padding: 7px; } /* 元 .sns img mobile */
.drawer__copy { font-size: calc(0.4rem + 0.4vmin); letter-spacing: 0.05em; } /* 元 #copyright */
.nav-close {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 13px);
  left: calc(env(safe-area-inset-left) + 13px);
  z-index: 96;
}
.nav-close img { width: 21px; height: 21px; padding: 7px; } /* 元 #nav-close img */

/* =====================================================================
   ヒーロー
   ===================================================================== */
.hero { min-height: 100vh; min-height: 100svh; }
.hero .section__inner {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-block: 0;
  padding-bottom: 10vh;
}
.hero__tagline {
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.5; /* 元 .tagline01 */
  letter-spacing: 0.025em;
}
.scroll-arrow {
  position: absolute;
  left: 50%;
  bottom: 13em;
  transform: translateX(-50%);
  animation: arrow-bob 1.5s infinite;
}
.scroll-arrow img { width: clamp(28px, 3vw, 43px); height: auto; }
@keyframes arrow-bob {
  0% { transform: translate(-50%, -100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translate(-50%, 100%); opacity: 0; }
}

/* =====================================================================
   About
   ===================================================================== */
.about .section__inner { color: var(--paper); }
.about__logo { width: 114px; height: auto; margin: 0 auto 10vh; } /* 元 .logo img + padding-bottom 10vh */
@media (min-width: 768px) { .about__logo { width: 137px; } }
@media (max-width: 899px) { .about__logo { display: none; } } /* 元: portrait で About ロゴ非表示 */
.about__body { max-width: 40rem; margin-inline: auto; text-align: left; }
.about .about__lead { margin-bottom: 4em; }   /* 元 mb4（.heading の 2em より優先） */
.about__body p { margin-bottom: 0; }   /* 元 mb0 */

/* =====================================================================
   Philosophy（sticky 固定演出を幅ベースで再現）
   ===================================================================== */
.philosophy .section__inner {
  color: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.philosophy__body { width: 100%; max-width: 40rem; margin-inline: auto; text-align: left; }
.philosophy__title { font-size: var(--fs-heading); margin-bottom: 6em; } /* 元 mb6 */
.philosophy__en { margin-bottom: 2em; }  /* 元 mb2 */
.philosophy p { margin-bottom: 2em; }    /* 元 mb2 */
.philosophy p:last-child { margin-bottom: 0; }

/* Philosophy セクションを sticky で固定 → 後続セクション（白背景の Product）が
   スクロールで上に覆いかぶさってくる（元サイトの #content03 sticky 挙動を再現）。
   後続 section は position:relative かつ後方DOM・不透明白背景のため自然に上に重なる。 */
.philosophy { position: sticky; top: -30vh; }

/* セクション間スペーサー */
.spacer { height: clamp(47px, 8vh, 97px); }

/* =====================================================================
   見出し共通
   ===================================================================== */
.heading {
  font-size: var(--fs-heading);
  margin-bottom: 2em; /* 元 mb2 相当 */
}

/* =====================================================================
   フッター
   ===================================================================== */
.site-footer {
    position: relative;
    z-index: 1;
    background: var(--paper);
    color: var(--ink);
    text-align: center;
    padding: 16em 0 4em;
    height: 100vh; /* 元 content99: 上部に大きな余白 */
}

.footer_logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.footer_sns_copy {
    position: absolute;
    width: 100%;
    bottom: 3em;
}

.site-footer__logo { width: 114px; height: auto; margin: 0 auto; } /* 元 .logo img */
@media (min-width: 768px) { .site-footer__logo { width: 137px; } }
.site-footer__tagline {
  font-size: var(--fs-lead);
  letter-spacing: 0.025em;
  margin: 2.5em 0 0; /* 元 .tagline02 padding-top 3em */
}
.sns { display: flex; justify-content: center; gap: 0.75rem; margin-top: 23em; }
.sns img { width: 21px; height: 21px; padding: 7px; }
@media (min-width: 768px) { .sns img { width: 27px; height: 27px; } } /* 元 .sns img: PC 27px */
.site-footer__copy {
  margin-top: 4em;
  font-size: var(--fs-copy);
  letter-spacing: 0.025em;
}

/* =====================================================================
   Product
   ===================================================================== */
.products .section__inner { padding-block: 0; }
.product {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 8em 0 0;
  text-align: left;
}
.product__label { margin-bottom: 2em; } /* 元 mb2。サイズはセクション本文を継承 */
.product__name { font-size: var(--fs-heading); margin-bottom: 1em; }  /* 元 mb1 */
.product__spec { line-height: 1.4; margin-bottom: 2em; }              /* 元 lh1 / mb2 */
.product__origin { margin-bottom: 2em; }
.product__ref { margin-bottom: 2em; }

.product__attrs { display: grid; grid-template-columns: max-content 1fr; gap: 0.2em 1.5em; line-height: 1.4; margin-bottom: 4em; } /* 元 mb4 */
.product__attrs dt { grid-column: 1; }
.product__attrs dd { grid-column: 2; margin: 0; }

.btn-store { display: inline-block; color: var(--ink); text-decoration: underline; font-size: 1.25em; }

.product__hero img,
.product__img img,
.product__story figure img { width: 100%; }

.product__story > .product__story-head {
    margin: 0 auto 3em;
}
.product__variant { margin-top: clamp(3em); }
.product__story { margin-top: clamp(3em); }
.product__story .heading { margin-bottom: 0; } /* 元 inner06 見出しは mb0（直下の Detail と密着） */
/*.product__story p { margin: 5em 0; }*/
.product__story-figs { display: grid; gap: 3em; }
.product__story > p {
    margin: 3em auto 0;
}
/* 画像とテキストの間隔（モバイル: 縦積み） */
.product__head .product__hero,
.product__variant .product__img { margin-top: clamp(1.5rem, 10vh, 3rem); }

@media (min-width: 900px) {
  /* 幅基準の % レイアウトにするため、左右余白はカラム側(10%)で取る */
  .products .section__inner { padding: 0 0 3em; }
  .product { max-width: none; }

  /* head / variant: 2カラム（左テキスト35% / 右画像42.5% / 間2.5% / 左右余白10%） */
  .product__head,
  .product__variant {
    display: grid;
    grid-template-columns: 35% 42.5%;
    column-gap: 2.5%;
    justify-content: center; /* 余りの 20% を左右 10% ずつに */
    align-items: end;
    margin-bottom: 4em;
  }
  .product__head .product__intro {
    grid-column: 1;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 2em;
  }
  .product__head .product__hero  { grid-column: 2; margin-top: 0; }
  .product__variant .product__detail { grid-column: 1; padding-top: 0; padding-bottom: 2em; grid-row: 1; }
  .product__variant .product__img    { grid-column: 2; margin-top: 0; grid-row: 1; }

  /* story / Only Your Number: variant と同じ2カラムグリッド（左テキスト35% / 右画像42.5%） */
  .product__story {
    max-width: none;
    margin-inline: 0;
    display: grid;
    grid-template-columns: 35% 42.5%;
    grid-template-rows: auto 1fr;
    column-gap: 2.5%;
    justify-content: center;
    align-items: start;
    margin-bottom: 4em;
  }
  .product__story > .product__story-head,
  .product__story > p { grid-column: 1; width: 65%; margin: 0; padding: 2em 0;}
  .product__story > .product__story-head {
      padding: 2em 0 0;
  }
  .product__story > figure,
  .product__story > .product__story-figs { grid-column: 2; grid-row: 1 / 3; margin: 0; }

}

/* モバイル（縦持ち）: 画像は幅100%（フルブリード）、文章は幅85%中央（元ページ準拠） */
@media (max-width: 899px) {
  .products .section__inner { padding-inline: 0; }
  .product__intro,
  .product__detail,
  .product__story > .product__story-head,
  .product__story > p { width: 85%; margin-inline: auto; }
  /* 画像→テキストの上余白（3em ≈ 33.5px @667） */
  .product__detail { padding-top: 3em; }
  /* テキスト→次ブロックの下余白（8vh ≈ 53.5px @667） */
  .product__story { margin-top: 5em; }
}

/* =====================================================================
   Stockist
   ===================================================================== */
.stockist .section__inner { text-align: left; }
.stockist__head { text-align: left; margin-bottom: clamp(2rem, 6vh, 4rem); }
.region { margin-bottom: 5em; }
.region__name { margin-bottom: 3em; } /* サイズはセクション本文を継承（元 text_column） */
.region__stores { display: grid; gap: 3em; }
.store__name { margin-bottom: 0.4em; }
.store__addr { line-height: 1.7; margin-bottom: 0.4em; }
.store__contact a { display: inline; text-decoration: underline; }
.store__contact::before { content: "Tel. "; }
.onlinestore .store__contact::before { content: none; } /* オンラインストアは Tel. を付けない */

/* タブレット横以降：店舗を3カラム（店名 / 住所 / 連絡先） */
@media (min-width: 900px) {
  .store {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 5%;
  }
  .store__name    { grid-column: 1; margin-bottom: 0; }
  .store__addr    { grid-column: 2; margin-bottom: 0; }
  .store__contact { grid-column: 3; }
  .region__stores.onlinestore .store__contact {
      grid-column: 2 / 4;
  }


}

@media (min-width: 900px) {
  .contact .section__inner { max-width: 100%; }
}

/* =====================================================================
   Contact
   ===================================================================== */
.contact .section__inner { text-align: left; }
.contact__mail a { display: inline; text-decoration: underline; }
.contact__note { display: block; margin-top: 1em; font-size: var(--fs-note); }

/* =====================================================================
   デスクトップ：縦書きサイドメニュー表示・ハンバーガー非表示
   ===================================================================== */
@media (min-width: 900px) {
  .nav-open { display: none; }
  /* ボリュームボタン（元 .mute p landscape） */
  .mute-toggle { top: 35px; right: 2.55%; }
  .side-nav {
    display: flex;
    writing-mode: vertical-rl;
    position: fixed;
    top: 150px;
    right: calc(2.2% + 0.4rem + 0.9vmin + 3px); /* 元 #side_menu */
    z-index: 92;
    gap: 1em;
  }
  .side-nav a { letter-spacing: 0.05em; font-size: var(--fs-body-sm); } /* 元 #side_menu .text_menu */
  body.is-dark-ui .side-nav a { color: var(--ink); }
}
