@charset "UTF-8";
/* ========================================================
   7T＋ ティージェラート LP
   - モバイルファースト（基準: SP 375px → @media min-width:768px で PC 1512px）
   - デザイン: Figma「7T - コピー」 PC_gelato / SP_gelato
   ======================================================== */

/* ⚠️ 技術検証用：ローカルの .otf を自前配信（本番はライセンス上NGの可能性大） */
@font-face {
  font-family: "A-OTF Gothic BBB Pro";
  src: url("../fonts/A-OTF-GothicBBBPro-Medium.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- カスタムプロパティ ---------- */
:root {
  /* カラー */
  --c-bg: #d9d9d9; /* Gray 20  ページ背景 */
  --c-dark: #404040; /* Gray 80  ボタン背景 / 商品名 / フッターリンク */
  --c-gray70: #535353; /* Gray 70  サブコピー / 価格 */
  --c-gray60: #737373; /* Gray 60  説明文 / 注記 / フッター住所 */
  --c-gray50: #8c8c8c; /* Gray 50  ヒーロー / 英語名 / (IN TAX) */
  --c-white: #ffffff;

  /* フォント */
  --f-hero:
    "A-OTF Gothic BBB Pro", a-otf-gothic-mb101-pr6n, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", sans-serif; /* 自前BBB→Adobe→フォールバック */
  --f-mincho: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --f-en: "Marcellus", "Times New Roman", serif;
  --f-body:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --f-num: Arial, "Helvetica Neue", sans-serif;

}

/* ---------- リセット ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-gray70);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.6;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
figure,
hgroup {
  margin: 0;
}
button {
  font-family: inherit;
}

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

/* ---------- 表示切替ユーティリティ（SP: 〜767px / PC: 768px〜） ---------- */
/* .sp-only: SPのみ表示（PCで非表示） / .pc-only: PCのみ表示（SPで非表示） */
@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}

/* ---------- 背景装飾ドット ---------- */
.deco-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 375 / 812; /* SP は全幅に追従（画像の縦横比を維持） */
  height: auto;
  z-index: 0;
  pointer-events: none;
  background: url("../images/dot_sp.png") top center / 100% auto no-repeat;
}

/* ---------- 共通レイアウト ---------- */
.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-main {
  width: 100%;
  max-width: 100%; /* SP は横幅いっぱい（流動） */
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 32px 0;
  max-width: 100%;
  margin: 0 auto;
}
.site-logo img {
  width: 96px;
  height: auto;
}

/* ---------- カートボタン（共通） ---------- */
.btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-dark);
  color: var(--c-white);
  font-family: var(--f-mincho);
  text-align: center;
  transition: opacity 0.25s ease;
}
.btn-cart:hover {
  opacity: 0.8;
}

.btn-cart--sm {
  /* ヘッダー内 */
  width: 120px;
  height: 44px;
  font-size: 13px;
}
.btn-cart--lg {
  /* CTA */
  width: 100%;
  height: 64px;
  font-size: 15px;
}

/* ---------- ヒーロー ---------- */
.hero {
  padding-top: 80px;
}
.hero-text {
  font-family: var(--f-hero);
  font-weight: 400;
  font-style: normal;
  color: var(--c-gray50);
  font-size: 20px;
  line-height: 2; /* 200% */
  letter-spacing: 0.1em;
}
.hero-text p,
.hero-text h1 {
  margin: 0 0 2em;
}
.hero-text h1 {
  /* h1 のブラウザ既定サイズ・太さを打ち消し、ヒーローの均一スタイルに揃える */
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.hero-text p:last-child {
  margin-bottom: 0;
}

/* ---------- フレーバー ---------- */
.flavors {
  padding-top: 80px;
}
.flavors-heading {
  font-family: var(--f-en);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.7px;
  color: var(--c-dark);
}
.flavor-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 12px;
}

.flavor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.flavor-img {
  width: 240px;
  height: 240px;
}
.flavor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flavor-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  --body-gap: 24px; /* SP: 要素間の縦間隔 */
}
.flavor-sub,
.flavor-toggle {
  margin-top: var(--body-gap);
}
.flavor-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flavor-title h3 {
  font-family: var(--f-mincho);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-dark);
}
.flavor-en {
  font-family: var(--f-en);
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.6px;
  color: var(--c-gray50);
}
.flavor-sub {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.6px;
  color: var(--c-gray70);
  width: 100%;
  text-align: left;
}

/* 説明文（開閉） */
.flavor-desc {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.6px;
  color: var(--c-gray60);
  width: 100%;
  /* 折りたたみ時は非表示（アニメーションなし） */
  display: none;
  margin-top: 0;
}

/* 開いた状態 */
.flavor-card.is-open .flavor-desc {
  display: block;
  margin-top: var(--body-gap);
}

/* 開閉ボタン（＋ / −） */
.flavor-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* アイコンは「( ＋ )」⇄「( − )」。提供SVG（Btn_More / Btn_Close）を使用 */
.toggle-icon {
  display: block;
  width: 45px;
  height: 15px;
  background: url("../images/Btn_More.svg") center / contain no-repeat;
}
/* 開いた状態は「( − )」に差し替え */
.flavor-card.is-open .toggle-icon {
  background-image: url("../images/Btn_Close.svg");
}

/* 注記 */
.flavors-note {
  margin-top: 40px;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.6px;
  color: var(--c-gray60);
}

/* ---------- 価格 / CTA ---------- */
.purchase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: 80px;
  padding-bottom: 40px;
  text-align: center;
}
.set-name {
  font-family: var(--f-mincho);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: var(--c-dark);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--f-num);
}
.set-name + .price {
  margin-top: -12px;
} /* 商品名と価格の間隔を 16px に */
.price-cur,
.price-num {
  font-size: 18px;
  letter-spacing: 0.9px;
  color: var(--c-gray70);
}
.price-tax {
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--c-gray50);
}

/* ---------- フッター ---------- */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 80px 15px 40px;
  max-width: 100%;
  margin: 0 auto;
}
.footer-addr {
  font-family: var(--f-en);
  font-size: 12px;
  line-height: 1.8;
  color: var(--c-gray60);
  text-align: left;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-links a {
  font-family: var(--f-en);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.7px;
  color: var(--c-dark);
  transition: opacity 0.25s ease;
}
.footer-links a:hover {
  opacity: 0.6;
}
.footer-copy {
  font-family: var(--f-en);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.6px;
  color: var(--c-gray60);
}

/* ========================================================
   PC（min-width: 768px） — 基準 1512px / コンテンツ 960px
   ======================================================== */
@media (min-width: 768px) {
  .deco-dots {
    aspect-ratio: auto;
    height: 982px;
    background-image: url("../images/dot_pc.png");
    background-size: 1512px auto;
  }

  /* ヘッダー */
  .site-header {
    max-width: 1512px;
    padding: 40px 40px 0;
  }
  .site-logo img {
    width: 120px;
  }
  .btn-cart--sm {
    width: 240px;
    height: 44px;
    font-size: 15px;
  }

  /* メイン（960px コンテンツ + 左右40px の余白。1040px 以下では流動的に縮小） */
  .site-main {
    max-width: 1040px;
    padding: 0 40px;
  }

  /* ヒーロー */
  .hero {
    padding-top: 160px;
  }
  .hero-text {
    margin: 0 -40px 0 0;
    font-size: 49px;
    letter-spacing: 0.1em;
  }

  /* フレーバー（固定幅をやめ 2カラムの流動グリッドに。768〜960px でも崩れない） */
  .flavors {
    padding-top: 200px;
  }
  .flavor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(40px, 16.6%, 160px); /* 160/960 ≒ 16.6% */
    row-gap: 60px;
    padding-top: 24px;
  }
  .flavor-card {
    width: 100%;
    align-items: stretch;
    gap: 24px;
  }
  .flavor-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* 幅に合わせて正方形を維持 */
  }
  .flavor-body {
    --body-gap: 32px;
  }
  .flavor-title h3 {
    font-size: 20px;
    letter-spacing: 2px;
  }
  .flavor-en {
    font-size: 13px;
    letter-spacing: 0.65px;
  }
  .flavor-sub {
    font-size: 14px;
    letter-spacing: 0.7px;
  }
  .flavor-desc {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .flavors-note {
    margin-top: 60px;
    font-size: 12px;
  }

  /* 価格 / CTA */
  .purchase {
    padding-top: 160px;
    padding-bottom: 0;
  }
  .btn-cart--lg {
    max-width: 445px;
    height: 120px;
  }

  /* フッター */
  .site-footer {
    max-width: 1512px;
    gap: 40px;
    padding: 200px 40px 40px;
    align-items: center;
  }
  .footer-addr {
    line-height: 2;
    text-align: center;
  }
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
}
