/* ==========================================================================
   SEPIA VIGNE - ワインギフトブランド ブランディングサイト
   カラー:
     メイン    #1A1410（墨ブラウンブラック）
     サブ      #3D2B1F（ダークチョコレートブラウン）
     ベース    #F5F0E8（アイボリー）
     テキスト  #2C2A26（チャコール）
     アクセント #8B6F47（くすんだゴールドブロンズ）
   フォント: Cormorant Garamond / Shippori Mincho B1 / Noto Sans JP
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. リセット & ベース
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #F5F0E8;
  line-height: 1.9;
  background: #1A1410;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s;
}

a:hover {
  opacity: 0.75;
}

ul,
ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   2. 共通ユーティリティ
   -------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* セクション共通余白 */
.section {
  padding: 120px 0;
}

/* 英字アクセント見出し */
.section-label {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8B6F47;
  margin-bottom: 20px;
}

/* 日本語大見出し */
.section-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  margin-bottom: 64px;
}

/* 見出しブロック（中央揃え） */
.section-heading {
  text-align: center;
  margin-bottom: 72px;
}

.section-heading .section-title {
  margin-bottom: 0;
}

/* 区切り線（ゴールド） */
.divider {
  width: 48px;
  height: 1px;
  background: #8B6F47;
  margin: 24px auto 0;
}

/* --------------------------------------------------------------------------
   3. ボタン
   -------------------------------------------------------------------------- */

/* プライマリ（くすんだゴールド塗り） */
.btn-primary {
  display: inline-block;
  background: #8B6F47;
  color: #F5F0E8;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 18px 52px;
  border-radius: 2px;
  border: 1px solid #8B6F47;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.btn-primary:hover {
  background: #a07d52;
  border-color: #a07d52;
  transform: translateY(-2px);
  opacity: 1;
}

/* ゴーストボタン（アイボリーボーダー） */
.btn-ghost-ivory {
  display: inline-block;
  background: transparent;
  color: #F5F0E8;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  padding: 17px 48px;
  border-radius: 2px;
  border: 1px solid rgba(245, 240, 232, 0.6);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.btn-ghost-ivory:hover {
  background: rgba(245, 240, 232, 0.08);
  transform: translateY(-2px);
  opacity: 1;
}

/* ゴーストボタン（ゴールドボーダー） */
.btn-ghost-gold {
  display: inline-block;
  background: transparent;
  color: #F5F0E8;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  padding: 17px 48px;
  border-radius: 2px;
  border: 1px solid rgba(139, 111, 71, 0.6);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.btn-ghost-gold:hover {
  background: rgba(139, 111, 71, 0.12);
  border-color: #8B6F47;
  transform: translateY(-2px);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   4. アナウンスバー（ポートフォリオ注記）
   -------------------------------------------------------------------------- */
.announce-bar {
  background: #3D2B1F;
  text-align: center;
  padding: 10px 24px;
  font-size: 11px;
  color: rgba(245, 240, 232, 0.6);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. ヘッダー
   -------------------------------------------------------------------------- */
.header {
  background: rgba(26, 20, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(139, 111, 71, 0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* ロゴ */
.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: #F5F0E8;
  flex-shrink: 0;
  text-transform: uppercase;
}

/* ナビゲーション */
.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.header-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(245, 240, 232, 0.78);
  white-space: nowrap;
  transition: color 0.25s;
}

.header-nav a:hover {
  color: #8B6F47;
  opacity: 1;
}

/* ヘッダーCTAボタン */
.header-cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #F5F0E8;
  padding: 9px 24px;
  border: 1px solid #8B6F47;
  border-radius: 2px;
  transition: background 0.3s;
  white-space: nowrap;
}

.header-cta:hover {
  background: rgba(139, 111, 71, 0.2);
  opacity: 1;
}

/* ハンバーガーメニュー（PC時非表示） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: #F5F0E8;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ヘッダー高さ分のオフセット（アナウンスバーあり） */
.header-offset {
  height: 72px;
}

/* --------------------------------------------------------------------------
   6. ヒーローセクション
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 20, 16, 0.72) 0%,
    rgba(26, 20, 16, 0.50) 45%,
    rgba(26, 20, 16, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 48px 100px;
  max-width: 820px;
  width: 100%;
}

/* ヒーロー英字アクセント */
.hero-eyebrow {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: #8B6F47;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: #F5F0E8;
  margin-bottom: 36px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
  color: rgba(245, 240, 232, 0.78);
  letter-spacing: 0.08em;
  margin-bottom: 56px;
}

.hero-cta {
  margin-bottom: 64px;
}

/* ヒーロー ポートフォリオ注記 */
.portfolio-notice {
  font-size: 11px;
  color: rgba(245, 240, 232, 0.45);
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: 3px;
  display: inline-block;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. ブランドステートメントセクション（アイボリー背景）
   -------------------------------------------------------------------------- */
.about {
  background: #F5F0E8;
  color: #2C2A26;
  padding: 120px 0;
}

.about .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* 左: 縦長画像 */
.about-image-wrap {
  flex: 0 0 420px;
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 1px;
}

/* 右: テキスト */
.about-body {
  flex: 1;
}

.about .section-label {
  color: #8B6F47;
}

.about .section-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(24px, 2.8vw, 34px);
  color: #2C2A26;
  margin-bottom: 40px;
}

.about-text {
  font-size: 15px;
  color: #4a4540;
  line-height: 2.1;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   8. コレクション紹介（ダーク背景）
   -------------------------------------------------------------------------- */
.collection {
  background: #1A1410;
  padding: 120px 0;
}

.collection .section-heading {
  text-align: center;
}

.collection .section-title {
  color: #F5F0E8;
}

/* 3カラムカードグリッド */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

/* カード */
.collection-card {
  background: #3D2B1F;
  border: 1px solid rgba(139, 111, 71, 0.2);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.collection-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 111, 71, 0.5);
}

.collection-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.collection-card-body {
  padding: 32px 28px 36px;
}

.collection-card-category {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #8B6F47;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.collection-card-name {
  font-family: "Shippori Mincho B1", serif;
  font-size: 18px;
  font-weight: 700;
  color: #F5F0E8;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.collection-card-desc {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.8;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.collection-card-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 400;
  color: #8B6F47;
  letter-spacing: 0.06em;
}

.collection-cta {
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. 選ばれる理由（アイボリー背景）
   -------------------------------------------------------------------------- */
.reasons {
  background: #F5F0E8;
  color: #2C2A26;
  padding: 120px 0;
}

.reasons .section-label {
  color: #8B6F47;
}

.reasons .section-title {
  color: #2C2A26;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.reason-item {
  text-align: center;
}

.reason-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: 1px;
}

.reason-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.reason-item:hover .reason-img-wrap img {
  transform: scale(1.04);
}

.reason-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: 18px;
  font-weight: 700;
  color: #2C2A26;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.reason-text {
  font-size: 14px;
  color: #4a4540;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   10. お客様の声（ダーク背景）
   -------------------------------------------------------------------------- */
.testimonials {
  background: #1A1410;
  padding: 120px 0;
}

.testimonials .section-title {
  color: #F5F0E8;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #3D2B1F;
  border-left: 2px solid #8B6F47;
  padding: 40px 32px 36px;
  border-radius: 0 2px 2px 0;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

/* 開き引用符 */
.testimonial-card::before {
  content: "\201C";
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 60px;
  line-height: 1;
  color: rgba(139, 111, 71, 0.4);
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 14px;
  color: rgba(245, 240, 232, 0.82);
  line-height: 2;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.testimonial-author {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #8B6F47;
}

/* --------------------------------------------------------------------------
   11. FAQ（アイボリー背景）
   -------------------------------------------------------------------------- */
.faq {
  background: #F5F0E8;
  color: #2C2A26;
  padding: 120px 0;
}

.faq .section-label {
  color: #8B6F47;
}

.faq .section-title {
  color: #2C2A26;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

/* アコーディオン アイテム */
.faq-item {
  border-bottom: 1px solid rgba(44, 42, 38, 0.15);
}

.faq-item:first-child {
  border-top: 1px solid rgba(44, 42, 38, 0.15);
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.25s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  color: #8B6F47;
}

/* Q マーク */
.faq-q {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: #8B6F47;
  flex-shrink: 0;
  line-height: 1;
}

.faq-question-text {
  font-family: "Shippori Mincho B1", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
  flex: 1;
}

/* 開閉インジケーター */
.faq-indicator {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-indicator::before,
.faq-indicator::after {
  content: "";
  position: absolute;
  background: #8B6F47;
  border-radius: 1px;
}

.faq-indicator::before {
  width: 16px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-indicator::after {
  width: 1px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s, opacity 0.3s;
}

.faq-item[open] .faq-indicator::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* 回答 */
.faq-answer {
  padding: 0 0 32px 42px;
}

.faq-answer p {
  font-size: 14px;
  color: #4a4540;
  line-height: 2.1;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   12. 最終CTA（全幅背景画像）
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 20, 16, 0.78) 0%,
    rgba(26, 20, 16, 0.65) 50%,
    rgba(26, 20, 16, 0.80) 100%
  );
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 48px;
}

.final-cta .section-label {
  display: block;
  margin-bottom: 24px;
}

.final-cta-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #F5F0E8;
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-bottom: 28px;
}

.final-cta-sub {
  font-size: 14px;
  color: rgba(245, 240, 232, 0.7);
  line-height: 2.1;
  letter-spacing: 0.05em;
  margin-bottom: 56px;
}

.final-cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. フッター
   -------------------------------------------------------------------------- */
.footer {
  background: #1A1410;
  border-top: 1px solid rgba(139, 111, 71, 0.15);
  padding: 80px 0 48px;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: #F5F0E8;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* フッターナビ */
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(245, 240, 232, 0.55);
  transition: color 0.25s;
}

.footer-nav a:hover {
  color: #8B6F47;
  opacity: 1;
}

/* フッター区切り線 */
.footer-rule {
  width: 100%;
  max-width: 400px;
  height: 1px;
  background: rgba(139, 111, 71, 0.2);
  margin: 0 auto 40px;
}

/* ポートフォリオ注記 */
.portfolio-notice-footer {
  font-size: 11px;
  color: rgba(245, 240, 232, 0.35);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 20px;
  padding: 10px 20px;
  border: 1px solid rgba(139, 111, 71, 0.12);
  border-radius: 3px;
  display: inline-block;
}

.copyright {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(245, 240, 232, 0.3);
}

/* --------------------------------------------------------------------------
   14. FAQ details アニメーション補助（静的HTML向け）
   -------------------------------------------------------------------------- */
details.faq-item {
  /* サポート範囲内での自然な開閉を利用 */
}

/* --------------------------------------------------------------------------
   15. レスポンシブ: タブレット（768px以下）
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* コンテナ余白縮小 */
  .container {
    padding: 0 28px;
  }

  /* セクション余白縮小 */
  .section,
  .about,
  .collection,
  .reasons,
  .testimonials,
  .faq,
  .footer {
    padding: 80px 0;
  }

  /* 見出し */
  .section-title {
    font-size: 24px;
    margin-bottom: 48px;
  }

  /* --- ヘッダー --- */
  .header-inner {
    padding: 0 24px;
    height: 64px;
    gap: 0;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 20, 16, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 32px;
    gap: 24px;
    border-bottom: 1px solid rgba(139, 111, 71, 0.15);
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav a {
    font-size: 14px;
  }

  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .header-offset {
    height: 64px;
  }

  /* --- ヒーロー --- */
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 100px 28px 80px;
  }

  .hero-content h1 {
    font-size: 32px;
    letter-spacing: 0.08em;
  }

  /* --- ブランドステートメント --- */
  .about .container {
    flex-direction: column;
    gap: 48px;
  }

  .about-image-wrap {
    flex: none;
    width: 100%;
  }

  .about-image-wrap img {
    height: 380px;
  }

  /* --- コレクション --- */
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* --- 選ばれる理由 --- */
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  /* --- お客様の声 --- */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* --- 最終CTA --- */
  .final-cta {
    padding: 100px 0;
  }

  .final-cta-content {
    padding: 0 28px;
  }

  .final-cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-ghost-ivory,
  .btn-ghost-gold {
    width: 85%;
    text-align: center;
  }

  /* --- フッター --- */
  .footer-nav {
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   16. レスポンシブ: スマートフォン（480px以下）
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

  .container {
    padding: 0 20px;
  }

  .section,
  .about,
  .collection,
  .reasons,
  .testimonials,
  .faq,
  .footer {
    padding: 64px 0;
  }

  .section-title {
    font-size: 21px;
  }

  /* --- ヒーロー --- */
  .hero-content h1 {
    font-size: 26px;
  }

  .hero-sub {
    font-size: 13px;
  }

  /* --- コレクションカード --- */
  .collection-card-img {
    height: 220px;
  }

  /* --- About 画像 --- */
  .about-image-wrap img {
    height: 280px;
  }

  /* --- ボタン幅 --- */
  .btn-primary,
  .btn-ghost-ivory,
  .btn-ghost-gold {
    width: 90%;
    padding: 16px 24px;
    font-size: 13px;
  }

  /* --- FAQ --- */
  .faq-answer {
    padding-left: 0;
  }

  /* --- フッター --- */
  .footer-logo {
    font-size: 20px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}
