﻿/* ==========================================================================
   おうち居酒屋定期便（翠翔彦根店）- Base CSS & Design Tokens
   ブランド：和モダン、上質、隠れ家感、温かみ、食欲をそそる高級感
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@500;600;700;900&family=Shippori+Mincho:wght@500;700;800&display=swap');

:root {
  /* 和モダン カラーパレット */
  --color-primary: #0e1b2d;        /* 深い墨紺（地酒・伝統・落ち着き） */
  --color-primary-light: #192b45;  /* 藍鉄色 */
  --color-primary-dark: #070e18;   /* 漆黒寄り紺 */
  --color-accent: #b33625;         /* 朱色・エンジ（居酒屋の暖簾・温もり） */
  --color-accent-hover: #962a1b;   /* 濃緋色 */
  --color-accent-subtle: #fdf3f1;  /* 極薄朱色 */
  --color-gold: #c39852;           /* 上質金茶・真鍮（高級感・こだわり） */
  --color-gold-light: #f7f1e6;     /* 薄金 */
  --color-bg-base: #fcfaf6;        /* 生成り色・Off-White（和紙のような質感） */
  --color-bg-surface: #ffffff;     /* 純白（カード・コントラスト用） */
  --color-bg-warm: #f5efe6;        /* 暖かい和紙色 */
  --color-text-main: #1c222b;      /* 墨黒（本文テキスト） */
  --color-text-muted: #5e6878;     /* 鈍色（補足説明） */
  --color-text-light: #8e98a5;     /* 薄鈍色 */
  --color-text-inverse: #ffffff;   /* 白抜き */
  --color-border-light: #e6dfd3;   /* 薄和紙境界線 */
  --color-border-focus: #c39852;   /* フォーカス線 */
  --color-success: #2d7a4d;        /* 深緑 */
  --color-warning: #c07a16;        /* 柿色 */
  --color-danger: #c22929;         /* 紅色 */

  /* シャドウ・テクスチャ */
  --shadow-sm: 0 2px 6px rgba(14, 27, 45, 0.05);
  --shadow-md: 0 6px 18px rgba(14, 27, 45, 0.08);
  --shadow-lg: 0 16px 36px rgba(14, 27, 45, 0.12);
  --shadow-gold: 0 4px 16px rgba(195, 152, 82, 0.22);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* タイポグラフィ */
  --font-serif: 'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Meiryo', sans-serif;
  --lh-tight: 1.25;
  --lh-snug: 1.45;
  --lh-relaxed: 1.8;

  /* レイアウト */
  --container-max: 1140px;
  --container-narrow: 840px;
  --header-height-pc: 78px;
  --header-height-sp: 64px;
  --mobile-cta-height: 72px;
}

/* リセット＆基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  background-image: radial-gradient(#e6dfd3 0.6px, transparent 0.6px);
  background-size: 24px 24px;
  line-height: var(--lh-relaxed);
  letter-spacing: 0.03em;
  padding-bottom: 0;
  overflow-x: hidden;
}

/* スマホ閲覧時は下部固定バー分のパディングを確保 */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(var(--mobile-cta-height) + 16px);
  }
}

body.modal-open {
  overflow: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* 共通コンテナ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 見出しスタイル */
.font-serif {
  font-family: var(--font-serif);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: var(--lh-snug);
  letter-spacing: 0.06em;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-lead {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* 縦書き装飾用（和モダン） */
.vertical-text {
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  font-family: var(--font-serif);
}

/* バッジ */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--color-gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.badge-subtle {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-bg-warm);
  color: var(--color-primary);
  border: 1px solid var(--color-border-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* ユーティリティ */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }
.fw-bold { font-weight: 700; }
