/* =====================================================================
   caldera サイト 共通スタイル（全ページで読み込む）

   ■ 目次（このファイルの上から順に）
     1. フォント … 本文はヒラギノ角ゴ、見出しはA1明朝（なければしっぽり明朝）、英字はHelvetica Neue
     2. 基本の数値 … 余白・セクション間隔など（:root の --g1 / --g2 / --s）
     3. 共通パーツ … 英字ラベル・見出し・線・本文
     4. ヘッダー
     5. アイテムページの部品 … メイン／使い方／特徴／写真＋説明／写真4枚／文章＋縦長写真／製品仕様
     6. フッター・表示アニメーション
     7. 画面幅ごとの調整 … 1200px以下（タブレット）・760px以下（スマホ）
     8. 追加ページ … TOP／ITEMS一覧／ABOUT／NEWS／CONTACT／プライバシーポリシー

   ■ 数値の考え方
     1920px幅のデザインを基準に、--u（= 画面幅 ÷ 1920）を掛けて画面幅に比例させています。
     例：calc(300 * var(--u)) は 1920px幅で300px、1440px幅で225px。
     文字サイズは読みやすさのため、画面幅では変えずに px で固定しています。
   ===================================================================== */
/*
  フォント（ラフ準拠）
  ・本文：ヒラギノ角ゴ W2 / 太字 W6（Mac・iPhoneは端末のヒラギノ、それ以外は Noto Sans JP）
  ・和文見出し：A1明朝 Bold（インストール済みなら使用、なければ Shippori Mincho B1）
  ・欧文：Helvetica Neue
*/
@font-face {
  font-family: 'CalderaSans';
  font-weight: 300;
  src: local('HiraginoSans-W2'), local('Hiragino Sans W2'), local('ヒラギノ角ゴシック W2');
}
@font-face {
  font-family: 'CalderaSans';
  font-weight: 600;
  src: local('HiraginoSans-W6'), local('Hiragino Sans W6'), local('ヒラギノ角ゴシック W6');
}
/* 和欧混植：日本語の中の英数字をわずかに大きく（ヒラギノ角ゴの欧文はHelvetica Neueより一回り小さく見えるため108%） */
@font-face {
  font-family: 'CalderaLatin';
  font-weight: 300;
  src:
    local('HelveticaNeue-Light'), local('Helvetica Neue Light'), local('HelveticaNeue'),
    local('Helvetica Neue'), local('Arial');
  unicode-range: U+0021-007E, U+00A0-00FF, U+2013-2014, U+2018-201D;
  size-adjust: 108%;
}
@font-face {
  font-family: 'CalderaLatin';
  font-weight: 600;
  src:
    local('HelveticaNeue-Bold'), local('Helvetica Neue Bold'), local('HelveticaNeue-Medium'),
    local('Arial Bold');
  unicode-range: U+0021-007E, U+00A0-00FF, U+2013-2014, U+2018-201D;
  size-adjust: 108%;
}
@font-face {
  font-family: 'CalderaMincho';
  font-weight: 700;
  src: local('A1MinchoStd-Bold'), local('A-OTF A1Mincho Std Bold'), local('A-OTF A1明朝 Std Bold');
}

/*
  レイアウトの考え方（1920px幅のラフから読み取ったルール）
  ・外側の余白 --g1（60px）：ヘッダー / ディテール写真4枚 / 製品仕様パネル
  ・内側の余白 --g2（168px）：各セクションの本文と写真
  ・セクション間 --s（240px）
  ・数値は画面幅に比例して縮小（--u = 画面幅 / 1920）。文字サイズは固定
*/
:root {
  --bg: #ffffff;
  --ink: #030303;
  --gray: #7d8083;
  --panel: #ededed;
  --sans: 'CalderaLatin', 'CalderaSans', 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --mincho: 'CalderaMincho', 'Shippori Mincho B1', 'Hiragino Mincho ProN', serif;
  --en: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --u: calc(min(100vw, 1920px) / 1920);
  --g1: calc(60 * var(--u));
  --g2: calc(168 * var(--u));
  --s: max(120px, calc(300 * var(--u)));
  --col-gap: calc(17 * var(--u));
}
/* ブランドサイトのため常にライト表示（data-theme="light"） */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #111;
    --ink: #eee;
    --gray: #888;
    --panel: #1d1d1d;
  }
}
:root[data-theme='dark'] {
  --bg: #111;
  --ink: #eee;
  --gray: #888;
  --panel: #1d1d1d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* ページが勝手にスクロール位置を補正しない（ヘッダーの伸び縮みで揺れないように） */
html {
  overflow-anchor: none;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.17px;
  line-height: 32px;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
ol,
dl,
dd,
figure {
  margin: 0;
}
.page {
  max-width: 1920px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
}
.nb {
  display: inline-block;
}

/* ---------- 共通パーツ ---------- */
.eyebrow {
  padding-left: calc(var(--h2fs) * 0.075);
  font-family: var(--en);
  font-style: italic;
  font-weight: 300;
  font-size: 12.05px;
  line-height: 16px;
  color: var(--gray);
  letter-spacing: 0.01em;
}
:root {
  --h2fs: max(22px, calc(31 * var(--u)));
}
.h2 {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: var(--h2fs);
  line-height: 1.45;
  letter-spacing: 0;
  margin-top: max(12px, calc(27 * var(--u)));
}
.h3 {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 17.5px;
  line-height: 28px;
  letter-spacing: 0;
}
.rule {
  height: 0;
  border: 0;
  border-top: 0.71px solid var(--ink);
  margin: max(16px, calc(20 * var(--u))) 0 0;
}
.rule.short {
  width: min(441px, 100%);
}
.txt {
  max-width: 436px;
  text-align: justify;
}
/* 改行ルール：①最終行は6文字以上残す（JSで末尾6文字を改行させない）②見出しは文節で改行 */
.txt,
.steps li {
  text-justify: inter-character;
}
.keep {
  white-space: nowrap;
}
.h2,
.h3,
.catch {
  word-break: auto-phrase;
}

/* ---------- ヘッダー ---------- */
/* ヘッダーはスクロールしても上に残す。スクロールすると少しコンパクトに */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  --logo-h: max(22px, calc(31 * var(--u)));
  padding: calc(53 * var(--u)) var(--g1) calc(30 * var(--u));
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  transition:
    padding 0.4s ease,
    box-shadow 0.4s ease;
}
.site-header.scrolled {
  padding-top: max(14px, calc(22 * var(--u)));
  padding-bottom: max(14px, calc(22 * var(--u)));
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.logo img {
  height: var(--logo-h);
  width: auto;
}
.logo {
  display: block;
  line-height: 0;
}
.gnav,
.store {
  line-height: 1 !important;
  margin-bottom: calc(var(--logo-h) * 0.118 - 0.13em);
}
.gnav {
  display: flex;
  gap: calc(80 * var(--u));
  margin-left: auto;
  margin-right: calc(150 * var(--u));
  font-family: var(--en);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}
.store {
  font-family: var(--en);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}
.gnav a,
.store {
  transition: opacity 0.2s;
}
.gnav a:hover,
.store:hover {
  opacity: 0.5;
}
.menu-btn {
  display: none;
}

/* ---------- HERO：写真の下端に本文の最終行を揃える ---------- */
.hero {
  display: grid;
  grid-template-columns: calc(1283 * var(--u)) 1fr;
  margin-top: calc(60 * var(--u));
}
.hero-img img {
  aspect-ratio: 3/2;
  object-fit: cover;
  height: 100%;
}
.hero-txt {
  display: grid;
  grid-template-rows: minmax(24px, 320fr) auto minmax(32px, 207fr) auto;
  padding: 0 var(--g1) 0 calc(92 * var(--u));
}
.hero-txt .title {
  grid-row: 2;
}
.hero-txt .copy {
  grid-row: 4;
}
.hero-txt .kana {
  font-size: 10.63px;
  line-height: 16px;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.hero-txt h1 {
  font-family: var(--en);
  font-weight: 700;
  font-size: max(28px, calc(36.14 * var(--u)));
  line-height: 1.2;
  letter-spacing: 0;
  margin-top: calc(18 * var(--u));
}
.hero-txt .catch {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: 17.5px;
  line-height: 28px;
  letter-spacing: 0;
}
.hero-txt .lead {
  margin-top: max(24px, calc(64 * var(--u)));
}

/* ---------- 使い方：見出しは写真の上端、手順の最終行は写真の下端に揃える ---------- */
/* 使い方：左に見出しと手順、右に動画 */
.howto {
  display: grid;
  grid-template-columns: 1fr calc(922 * var(--u));
  grid-template-rows: auto auto;
  column-gap: calc(64 * var(--u));
  row-gap: max(40px, calc(64 * var(--u)));
  padding: 0 var(--g2);
  margin-top: var(--s);
}
.hhead {
  grid-column: 1;
  grid-row: 1;
}
.howto-steps {
  grid-column: 1;
  grid-row: 2;
}
.steps {
  list-style: none;
  padding: 0 0 0 18px;
  margin-top: 0;
  counter-reset: s;
  max-width: 459px;
  line-height: 27px;
  letter-spacing: 0;
  text-align: justify;
}
.steps li {
  counter-increment: s;
  position: relative;
}
.steps li + li {
  margin-top: 27px;
}
.note {
  margin-top: 20px;
  padding-left: 18px;
  font-size: 0.92em;
  line-height: 1.9;
  color: var(--gray);
  max-width: 459px;
}
.steps li::before {
  content: counter(s) '.';
  position: absolute;
  left: -18px;
  top: 0;
  font-weight: inherit;
}
/* 文字が写真より高くなったら、写真をトリミングして高さを合わせる */
/* 動画は字幕が入っているのでトリミングせず16:9のまま。文字が高いときは下端を手順に揃える */
/* 動画は、左の文字のかたまり（見出し〜手順）に対して上下中央に置く */
.howto figure {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e9e6e1;
}
.howto figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- おいしい理由：3段の本文と3枚の写真を同じ列に揃える ---------- */
.reasons {
  padding: 0 var(--g2);
  margin-top: var(--s);
}
.reasons .rule {
  width: 100%;
}
/* 広い画面：本文3段＋写真3枚を同じ列に。狭い画面：本文の右に写真 */
.rgrid {
  display: grid;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  column-gap: var(--col-gap);
  margin-top: max(40px, calc(81 * var(--u)));
}
.r1 {
  grid-column: 1;
}
.r2 {
  grid-column: 2;
}
.r3 {
  grid-column: 3;
}
.r4 {
  grid-column: 4;
}
/* 3列の小見出し・本文・写真をそれぞれ同じ行に置き、本文の書き出しを揃える */
.r-title,
.r-body {
  justify-self: center;
  width: min(436px, 86%);
}
.r-title {
  grid-row: 1;
}
.r-body {
  grid-row: 2;
  margin-top: max(16px, calc(53 * var(--u)));
}
.r-img {
  grid-row: 3;
  margin-top: max(40px, calc(62 * var(--u)));
  overflow: hidden;
}
.r-img img {
  aspect-ratio: 526/372;
  object-fit: cover;
}

/* ---------- デザイン：写真を左端まで。本文ブロックは写真の下側に寄せる ---------- */
.design {
  display: grid;
  grid-template-columns: calc(895 * var(--u)) 1fr;
  margin-top: var(--s);
}
.design figure img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.design .body {
  align-self: end;
  padding: 0 var(--g1) calc(89 * var(--u)) calc(101 * var(--u));
}
.design .h2 {
  line-height: 1.56;
}
.design .txt {
  margin-top: max(24px, calc(57 * var(--u)));
}

/* ---------- ディテール：外側の余白いっぱいに4枚 ---------- */
.details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(19 * var(--u));
  padding: 0 var(--g1);
  margin-top: calc(145 * var(--u));
}
.details img {
  aspect-ratio: 1/1;
  object-fit: cover;
  height: 100%;
}

/* ---------- 吹きガラス / ご購入の前に：写真の上端と、写真の高さの半分から始める ---------- */
.glass {
  display: grid;
  grid-template-columns: 1fr calc(902 * var(--u));
  grid-template-rows: 1fr 1fr;
  column-gap: calc(80 * var(--u));
  padding: 0 var(--g2);
  margin-top: var(--s);
}
.glass .b1 {
  grid-column: 1;
  grid-row: 1;
}
.glass .b2 {
  grid-column: 1;
  grid-row: 2;
}
.glass figure {
  grid-column: 2;
  grid-row: 1 / 3;
}
.glass figure {
  position: relative;
  min-height: calc(1156 * var(--u));
}
.glass figure img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.glass .txt {
  max-width: 646px;
  letter-spacing: 0.008em;
  margin-top: max(20px, calc(67 * var(--u)));
}
.glass .b1 .rule {
  margin-top: max(32px, calc(107 * var(--u)));
}

/* ---------- 製品仕様 ---------- */
.spec {
  width: fit-content;
  max-width: calc(100% - 2 * var(--g1));
  margin: var(--s) auto calc(53 * var(--u));
  background: var(--panel);
  padding: max(24px, calc(36 * var(--u))) max(28px, calc(56 * var(--u)))
    max(24px, calc(36 * var(--u)));
}
.spec h2 {
  font-weight: 600;
  font-size: 11.5px;
  line-height: 22px;
  letter-spacing: 0.02em;
}
.spec dl {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: max(36px, calc(80 * var(--u)));
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 22px;
  letter-spacing: 0.02em;
}
/* コロン揃えのルール：列の中で項目名の文字数の差が2文字以内なら揃える（均等割り）。差が大きい列は揃えない（JSで判定） */
.spec .col > div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
}
.spec .col.aligned > div {
  grid-template-columns: var(--lw) minmax(0, 1fr);
}
.spec dt {
  position: relative;
  padding-right: 1.1em;
  white-space: nowrap;
}
.spec dt::after {
  content: '：';
  position: absolute;
  right: 0;
  top: 0;
}
.spec .col.aligned dt {
  text-align: justify;
  text-align-last: justify;
}
.spec .links {
  margin-top: max(18px, calc(24 * var(--u)));
}
.spec .manual {
  display: flex;
  align-items: center;
  gap: 0.4em;
  width: fit-content;
  margin: 0;
  font-weight: 600;
  font-size: 11.5px;
  line-height: 22px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.spec .manual svg {
  width: 0.95em;
  height: 0.95em;
  flex: none;
}
.spec .manual:hover {
  opacity: 0.5;
}

/* ---------- フッター ---------- */
.site-footer {
  text-align: right;
  padding: 0 var(--g1) max(28px, calc(40 * var(--u)));
}
.site-footer small {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

/* ---------- 表示アニメーション ---------- */
/* ふわっと浮き上がる（並んだ要素は少しずつ時間差） */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.from-top {
  transform: translateY(-36px);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
/* 写真がスクロールに少し遅れてついてくる（パララックス） */
.px {
  overflow: hidden;
}
.px > img,
.px > video {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.12);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal.zoom img,
  .top-hero .slide img {
    transform: none;
    transition: none;
  }
  .px > img,
  .px > video {
    transform: none;
  }
}

/* =========== 1200px以下：縦1列 =========== */
@media (max-width: 1200px) {
  :root {
    --g: clamp(16px, 5vw, 48px);
    --s: 120px;
  }
  .site-header,
  .site-header.scrolled {
    padding: 16px var(--g);
  }
  .gnav {
    margin-left: auto;
    margin-right: 56px;
    gap: 32px;
    font-size: 13px;
  }
  .store {
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .hero-txt {
    display: block;
    padding: 48px var(--g) 0;
  }
  .hero-txt .copy {
    margin-top: 40px;
  }
  .hero-txt .lead {
    margin-top: 24px;
  }
  .txt,
  .steps,
  .glass .txt {
    max-width: 600px;
  }
  .howto {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 0 var(--g);
  }
  .howto figure {
    grid-column: 1;
    grid-row: 1;
    margin: 0 0 8px;
  }
  .hhead {
    grid-row: 2;
  }
  .howto-steps {
    grid-column: 1;
    grid-row: 3;
  }
  .glass figure img {
    position: static;
    height: auto;
  }
  .glass figure img {
    aspect-ratio: 902/1156;
  }
  .reasons {
    padding: 0 var(--g);
  }
  .rgrid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
    column-gap: clamp(16px, 4vw, 40px);
    row-gap: 56px;
    margin-top: 48px;
    align-items: start;
  }
  .rgrid {
    row-gap: 0;
  }
  .r-title,
  .r-body {
    grid-column: 1;
    justify-self: stretch;
    width: auto;
  }
  .r-img {
    grid-column: 2;
    margin-top: 0;
    align-self: start;
  }
  .r-title {
    padding-top: clamp(16px, 4vw, 36px);
  }
  .r-body {
    margin-top: clamp(20px, 3vw, 28px);
  }
  .r-title.r1 {
    grid-row: 1;
  }
  .r-body.r1 {
    grid-row: 2;
  }
  .r-img.r1 {
    grid-row: 1 / 3;
  }
  .r-title.r2 {
    grid-row: 3;
  }
  .r-body.r2 {
    grid-row: 4;
  }
  .r-img.r2 {
    grid-row: 3 / 5;
  }
  .r-title.r3 {
    grid-row: 5;
  }
  .r-body.r3 {
    grid-row: 6;
  }
  .r-img.r3 {
    grid-row: 5 / 7;
  }
  .r-title.r4 {
    grid-row: 7;
  }
  .r-body.r4 {
    grid-row: 8;
  }
  .r-img.r4 {
    grid-row: 7 / 9;
  }
  .r-title:not(.r1),
  .r-img:not(.r1) {
    margin-top: 56px;
  }
  .design {
    grid-template-columns: 1fr;
  }
  .design .body {
    order: -1;
    padding: 0 var(--g) 48px;
  }
  .design .h2 {
    line-height: 1.5;
  }
  .design .txt {
    margin-top: 28px;
  }
  .details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 var(--g);
    margin-top: 72px;
  }
  .glass {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    padding: 0 var(--g);
  }
  .glass .b1,
  .glass .b2,
  .glass figure {
    grid-column: 1;
    grid-row: auto;
  }
  .glass .txt {
    margin-top: 28px;
  }
  .glass .b1 .rule {
    margin-top: 48px;
  }
  .glass .b2 {
    margin-top: 72px;
  }
  .glass figure {
    margin-top: 56px;
    max-width: 600px;
    min-height: 0;
  }
  .spec {
    width: auto;
    max-width: none;
    margin: 96px var(--g) 40px;
    padding: 28px 28px;
  }
  .spec dl {
    grid-template-columns: 1fr;
  }
  .spec .links {
    margin-top: 20px;
  }
}
@media (max-width: 760px) {
  /* スマホ：本文13px基準の小さめスケール */
  :root {
    --s: 96px;
  }
  body {
    font-size: 12.5px;
    line-height: 1.9;
    letter-spacing: 0.04em;
  }
  .txt,
  .steps,
  .lead,
  .spec dl {
    color: #444;
  }
  .eyebrow {
    font-size: 10px;
    line-height: 14px;
  }
  :root {
    --h2fs: 16px;
  }
  .h2 {
    line-height: 1.55;
    margin-top: 8px;
  }
  .h3 {
    font-size: 14px;
    line-height: 1.6;
  }
  .rule {
    margin-top: 16px;
  }
  .site-header,
  .site-header.scrolled {
    height: 52px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .site-header {
    align-items: center;
    --logo-h: 17px;
  }
  .gnav {
    margin-bottom: 0;
  }
  .store {
    font-size: 11px;
    margin-left: auto;
    margin-right: 16px;
    letter-spacing: 0.02em;
    margin-bottom: 0;
  }
  .menu-btn {
    display: block;
    width: 15px;
    height: 13px;
    padding: 0;
    border: 0;
    background: none;
    position: relative;
    cursor: pointer;
    color: var(--ink);
    margin-bottom: 0;
  }
  .menu-btn::after {
    content: '';
    position: absolute;
    inset: -14px -10px;
  }
  .menu-btn span,
  .menu-btn::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    transition:
      transform 0.3s,
      opacity 0.3s;
  }
  .menu-btn::before {
    top: 0;
    box-shadow: none;
  }
  .menu-btn span {
    top: 6px;
  }
  .menu-btn i {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s;
  }
  .menu-open .menu-btn::before {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-open .menu-btn span {
    opacity: 0;
  }
  .menu-open .menu-btn i {
    transform: translateY(-6px) rotate(-45deg);
  }
  .gnav {
    position: absolute;
    z-index: 10;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
    padding: 4px var(--g) 16px;
    font-size: 12px;
    display: none;
  }
  .gnav a {
    padding: 10px 0;
  }
  .menu-open .gnav {
    display: flex;
  }
  .hero {
    margin-top: 0;
  }
  .hero-txt {
    padding: 32px var(--g) 0;
  }
  .hero-txt .kana {
    font-size: 10px;
  }
  .hero-txt h1 {
    font-size: 22px;
    margin-top: 4px;
  }
  .hero-txt .catch {
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-txt .copy {
    margin-top: 28px;
  }
  .hero-txt .lead {
    margin-top: 14px;
  }
  .howto {
    row-gap: 24px;
  }
  .steps {
    line-height: 1.85;
    padding-left: 16px;
  }
  .note {
    margin-top: 20px;
    padding-left: 18px;
    font-size: 0.92em;
    line-height: 1.9;
    color: var(--gray);
    max-width: 459px;
  }
  .steps li::before {
    left: -16px;
  }
  .steps li + li {
    margin-top: 10px;
  }
  .rgrid {
    grid-template-columns: 1fr;
    row-gap: 0;
    margin-top: 32px;
  }
  .rgrid > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .r-title {
    padding-top: 0;
  }
  .r-title:not(.r1) {
    margin-top: 0;
  }
  .r-body {
    margin-top: 12px;
  }
  .r-img,
  .r-img:not(.r1) {
    margin: 20px 0 52px;
  }
  .r-img:last-child {
    margin-bottom: 0;
  }
  .r-img img {
    aspect-ratio: 526/372;
  }
  .design .body {
    padding-bottom: 32px;
  }
  .design .h2 {
    line-height: 1.6;
  }
  .design .txt {
    margin-top: 18px;
  }
  .details {
    margin-top: 40px;
    gap: 6px;
  }
  .glass .txt {
    margin-top: 18px;
  }
  .glass .b1 .rule {
    margin-top: 32px;
  }
  .glass .b2 {
    margin-top: 48px;
  }
  .glass figure {
    margin-top: 36px;
  }
  .spec {
    margin: 72px var(--g) 32px;
    padding: 18px 16px;
  }
  .spec h2 {
    font-size: 10.5px;
    line-height: 1.9;
  }
  .spec dl {
    font-size: 10.5px;
    line-height: 1.9;
    margin-top: 6px;
  }
  .spec .manual {
    font-size: 10.5px;
  }
  .spec .links {
    margin-top: 14px;
  }
}

/* =====================================================================
   ここから下は各ページ共通・追加ページ用（同じルールで組む）
   ・左右の余白は --g2（本文と写真）/ --g1（全幅に近い要素）
   ・見出し：小さい英字ラベル（.eyebrow）＋明朝見出し（.h2）＋短い線（.rule.short）
   ・本文は436px幅・両端揃え、セクション間は --s
   ===================================================================== */
.page-head {
  padding: 0 var(--g2);
  margin-top: max(56px, calc(150 * var(--u)));
}
.section {
  padding: 0 var(--g2);
  margin-top: var(--s);
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: max(24px, calc(40 * var(--u)));
  transition: opacity 0.2s;
}
.more::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}
.more:hover {
  opacity: 0.6;
}
.more:hover::after {
  width: 40px;
}

/* フッター：左にリンク、右にコピーライト */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  text-align: right;
  margin-top: max(120px, calc(220 * var(--u)));
  padding-top: 0;
  padding-bottom: max(28px, calc(44 * var(--u)));
}
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gray);
}
.site-footer nav a:hover {
  color: var(--ink);
}

/* ---------- TOP ---------- */
.top-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(60 * var(--u));
}
.top-hero .slides {
  position: relative;
  height: clamp(420px, calc(100vh - max(84px, calc(143 * var(--u))) - calc(60 * var(--u))), 64vw);
  transform: translate3d(0, var(--hy, 0px), 0) scale(var(--hs, 1));
  transform-origin: center top;
  will-change: transform;
}
.top-hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.top-hero .slide.on {
  opacity: 1;
}
.top-hero .slide img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.top-hero .slide.on img {
  transform: scale(1);
}
.top-hero .dots {
  position: absolute;
  right: var(--g1);
  bottom: max(14px, calc(24 * var(--u)));
  display: flex;
  gap: 8px;
}
.top-hero .dots button {
  width: 22px;
  height: 12px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.top-hero .dots button::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.3s;
}
.top-hero .dots button.on::after {
  background: #fff;
}
.about-lead-txt {
  margin-top: max(24px, calc(40 * var(--u)));
}
.about-lead .txt {
  max-width: 646px;
}
/* 写真がふわっと現れる（少し大きい状態から静かに戻る） */
.reveal.zoom {
  overflow: hidden;
}
.reveal.zoom img {
  transform: scale(1.08);
  transition: transform 1.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.zoom.in img {
  transform: none;
}
.item-card.reveal.zoom {
  overflow: visible;
}
.item-card.reveal.zoom figure {
  overflow: hidden;
}
.item-card.reveal.zoom.in:hover img {
  transform: scale(1.04);
}
.details figure {
  overflow: hidden;
}
.details figure img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.edit-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}
.edit-dot:hover {
  opacity: 0.8;
}
.news-list {
  list-style: none;
  padding: 0;
  margin: max(8px, calc(16 * var(--u))) 0 0;
}
.news-list li {
  border-bottom: 0.71px solid #d6d6d6;
}
.news-list a {
  display: grid;
  grid-template-columns: calc(220 * var(--u)) 1fr;
  column-gap: 24px;
  align-items: baseline;
  padding: max(16px, calc(24 * var(--u))) 0;
  transition: opacity 0.2s;
}
.news-list a:hover {
  opacity: 0.55;
}
.news-date {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
}
.news-title {
  font-size: 14.17px;
  line-height: 1.9;
}
.news-body {
  display: block;
  min-width: 0;
}
.news-title {
  display: block;
}
.news-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--gray);
  max-width: 760px;
}
.top-items {
  margin-top: var(--s);
}

/* ---------- ITEMS 一覧（カード：写真4:3＋名前） ---------- */
.item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: max(48px, calc(80 * var(--u)));
  margin-top: max(32px, calc(64 * var(--u)));
}
.item-card {
  display: block;
}
.item-card figure {
  overflow: hidden;
  background: #eee;
}
.item-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.item-card:hover img {
  transform: scale(1.04);
}
.item-card .kana {
  margin-top: 18px;
  font-size: 10.63px;
  line-height: 16px;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.item-card .name {
  font-family: var(--en);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  margin-top: 4px;
}
.item-card .txt {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
}
.item-card.soon {
  pointer-events: none;
}
.item-card .badge {
  display: inline-block;
  margin-left: 0.6em;
  font-family: var(--en);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gray);
  vertical-align: middle;
}

/* ---------- ABOUT ---------- */
.about-rows {
  margin-top: max(32px, calc(64 * var(--u)));
}
/* タイトル左・文章右のときは上下中央で揃える */
.about-row {
  display: grid;
  grid-template-columns: calc(480 * var(--u)) minmax(0, 1fr);
  column-gap: calc(64 * var(--u));
  align-items: center;
  padding: max(32px, calc(56 * var(--u))) 0;
  border-top: 0.71px solid #d6d6d6;
}
.about-row:last-child {
  border-bottom: 0.71px solid #d6d6d6;
}
.about-row:first-child {
  border-top: 0;
}
/* 先頭（Brand Concept）は最も重要な項目：余白を広く、見出しを大きく */
.about-row.is-lead {
  padding: max(40px, calc(80 * var(--u))) 0 max(56px, calc(110 * var(--u)));
}
.about-row.is-lead .h3 {
  font-size: calc(var(--h2fs) * 0.82);
  line-height: 1.5;
  margin-top: 10px;
}
.about-row.is-lead .txt {
  font-size: 1.08em;
  line-height: 2.2;
}
.about-row .h3 {
  margin-top: 6px;
}
.about-row .txt {
  max-width: 646px;
}
.about-row .txt + .txt {
  margin-top: 1em;
}

/* ---------- NEWS ---------- */
.news-article {
  padding: 0 var(--g2);
  margin-top: max(56px, calc(150 * var(--u)));
}
.news-article .inner {
  max-width: 760px;
}
.news-article .h2 {
  margin-top: 10px;
}
.news-article figure {
  margin-top: max(28px, calc(48 * var(--u)));
}
.news-article figure img {
  aspect-ratio: 3/2;
  object-fit: cover;
}
.news-article .body {
  margin-top: max(28px, calc(48 * var(--u)));
}
.news-article .body .txt {
  max-width: 646px;
}
.news-article .body .txt + .txt {
  margin-top: 1em;
}

/* ---------- CONTACT ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
  column-gap: calc(96 * var(--u));
  padding: 0 var(--g2);
  margin-top: max(40px, calc(72 * var(--u)));
}
.form {
  display: grid;
  row-gap: max(22px, calc(30 * var(--u)));
}
.field label {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.field .tag {
  font-size: 10px;
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.field .tag.req {
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  margin-top: 8px;
  padding: 10px 0;
  border: 0;
  border-bottom: 0.71px solid #bdbdbd;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.field textarea {
  min-height: 160px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
}
.agree {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 12.5px;
}
.agree a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.agree input {
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
}
.submit {
  justify-self: start;
  margin-top: 8px;
  padding: 14px 44px;
  border: 0.71px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.submit:hover {
  background: transparent;
  color: var(--ink);
}
.submit:disabled {
  opacity: 0.4;
  cursor: default;
}
.form-msg {
  font-size: 13px;
  line-height: 1.9;
}

/* ---------- プライバシーポリシーなど文章ページ ---------- */
.doc {
  padding: 0 var(--g2);
  margin-top: max(32px, calc(64 * var(--u)));
}
.doc .inner {
  max-width: 760px;
}
.doc .h3 {
  margin-top: max(32px, calc(48 * var(--u)));
}
.doc .txt {
  max-width: none;
  margin-top: 12px;
}

@media (max-width: 1200px) {
  .page-head,
  .section,
  .news-article,
  .doc {
    padding: 0 var(--g);
  }
  .page-head,
  .news-article {
    margin-top: 48px;
  }
  .top-hero {
    margin-top: 16px;
  }
  .news-list a {
    grid-template-columns: 120px 1fr;
  }
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
  .about-row {
    grid-template-columns: 1fr;
    row-gap: 14px;
    align-items: start;
  }
  .contact {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 0 var(--g);
  }
  .site-footer {
    padding: 0 var(--g) 28px;
  }
}
@media (max-width: 760px) {
  .page-head,
  .news-article {
    margin-top: 36px;
  }
  .top-hero .slides {
    height: auto;
    aspect-ratio: 4/5;
  }
  .news-list a {
    grid-template-columns: 1fr;
    row-gap: 2px;
    padding: 14px 0;
  }
  .news-date {
    font-size: 10.5px;
  }
  .news-title {
    font-size: 13px;
  }
  .news-excerpt {
    font-size: 11px;
  }
  .item-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .item-card .name {
    font-size: 18px;
  }
  .item-card .txt {
    font-size: 12px;
  }
  .about-row {
    padding: 28px 0;
  }
  .about-row.is-lead {
    padding: 36px 0 48px;
  }
  .about-row.is-lead .h3 {
    font-size: 16px;
  }
  .about-row.is-lead .txt {
    font-size: 1em;
    line-height: 1.9;
  }
  .field label,
  .agree {
    font-size: 11.5px;
  }
  .submit {
    font-size: 12px;
    padding: 12px 36px;
  }
  .site-footer nav {
    font-size: 10px;
  }
  .site-footer small {
    font-size: 10px;
  }
}

/* 画面には出さず、読み上げ・検索エンジン向けにだけ残す文字 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 見出し用：ヒラギノ角ゴ W6。見出しは太さ700で指定しているので、700をW6に割り当てる
   （Noto Sans JP の太字に一番近い太さ） */
@font-face {
  font-family: 'CalderaHead';
  font-weight: 700;
  src: local('HiraginoSans-W6'), local('Hiragino Sans W6'), local('ヒラギノ角ゴシック W6'),
    local('HiraKakuProN-W6'), local('Hiragino Kaku Gothic ProN W6');
}
/* =====================================================================
   文字の設定（フォント試しで決めた値）
   ここの数値を変えると、サイト全体の本文・見出しが変わります。
   フォント試し（font-simulator.html）で試してから変えるのがおすすめです。
   ===================================================================== */
:root {
  /* 本文（パソコン） */
  --body-size: 14.5px;
  --body-lh: 2.15;
  --body-ls: 0.02em;
  --text: hsl(0 0% 23%); /* 本文の色（明度23%） */
  /* 見出し：ヒラギノ角ゴ W6（Mac・iPhone）。ヒラギノがない端末は Noto Sans JP 太字 */
  --mincho: 'CalderaHead', 'Noto Sans JP', sans-serif; /* 名前は以前の明朝のまま。中身は見出し用のフォント */
  --head-color: hsl(0 0% 19%); /* 見出しの色（明度19%） */
  --head-lh: 1.45;
  --h2fs: 20.5px; /* 大見出し */
  --h3fs: 17px; /* 小見出し・キャッチ */
}
@media (max-width: 760px) {
  :root {
    /* 本文（スマホ） */
    --body-size: 11.75px;
    --body-lh: 2.1;
    --text: hsl(0 0% 27%);
    --h2fs: 16px;
    --h3fs: 13px;
  }
}
body {
  font-size: var(--body-size);
  line-height: var(--body-lh);
  letter-spacing: var(--body-ls);
}
.txt,
.steps,
.steps li,
.lead,
.news-title,
.about-row .txt,
.r-body .txt,
.item-card .txt,
.field label,
.agree,
.form-msg {
  font-size: var(--body-size);
  line-height: var(--body-lh);
  letter-spacing: var(--body-ls);
  color: var(--text);
}
.about-row.is-lead .txt {
  font-size: var(--body-size);
  line-height: var(--body-lh);
}
.h2 {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: var(--h2fs);
  line-height: var(--head-lh);
  color: var(--head-color);
}
.h3,
.hero-txt .catch {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: var(--h3fs);
  line-height: var(--head-lh);
  color: var(--head-color);
}
.about-row.is-lead .h3 {
  font-size: calc(var(--h3fs) * 1.25);
}

/* ---------- 注意書き（※）：本文より小さいグレー ---------- */
.steps .st {
  display: block;
}
.step-note {
  display: block;
  margin-top: 4px;
  font-size: 0.82em;
  line-height: 1.8;
  color: var(--gray);
}
.note {
  font-size: calc(var(--body-size) * 0.82) !important;
  line-height: 1.8 !important;
  color: var(--gray) !important;
}

/* ---------- 製品仕様：ぎりぎりまで小さく・行間を詰める ---------- */
.spec h2,
.spec dl,
.spec .manual {
  font-size: 10px;
  line-height: 1.75;
}
.spec dl {
  margin-top: 4px;
}
.spec .links {
  margin-top: max(12px, calc(18 * var(--u)));
}
/* パソコン：グレーの帯が右端まで伸びる見え方（左は本文の位置から始まる） */
@media (min-width: 1201px) {
  .spec {
    width: auto;
    max-width: none;
    margin-left: var(--g2);
    margin-right: 0;
    padding-left: max(28px, calc(56 * var(--u)));
    padding-right: var(--g2);
  }
}
@media (max-width: 760px) {
  .spec h2,
  .spec dl,
  .spec .manual {
    font-size: 9.5px;
    line-height: 1.7;
  }
}
