:root {
  --color-bg: #111111;
  --color-bg-alt: #181818;
  --color-card: #1f1f1f;
  --color-text: #f5f5f5;
  --color-muted: #cccccc;
  --color-accent: #b22222; /* 赤 */
  --color-accent-alt: #0b3b2e; /* 深い緑 */
  --color-border: #333333;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.6s ease;
}

/* 共通レイアウト */
.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
  transition: background-color 0.6s ease;
}

.section-title {
  font-size: 1.9rem;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.section-header-center {
  text-align: center;
  margin-bottom: 40px;
}

.section-grid {
  display: grid;
  gap: 32px;
}

.section-text p {
  margin: 0 0 16px;
}

.section-text strong {
  color: var(--color-accent);
}

.section-image img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(17, 17, 17, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 56px;
  width: auto;
}

.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 8px;
  border-radius: 999px;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-tel {
  display: none;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
}

/* ナビトグルボタン（スマホ） */
.nav-toggle {
  position: relative;
  width: 32px;
  height: 26px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ヒーロー */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--color-text);
  background-image: url("images/hero-bottles.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.4)
  );
  transition: background 0.6s ease;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 64px;
}

.hero-content {
  max-width: 520px;
}

.hero-tagline {
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 8px;
}

.hero-title {
  font-size: 2.1rem;
  line-height: 1.3;
  margin: 0 0 16px;
}

.hero-text {
  font-size: 0.95rem;
  margin: 0 0 24px;
  color: #e5e5e5;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* SNSリンク */
.sns-links {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  color: #fff;
  transition: 0.25s ease;
}

.sns-btn.instagram {
  background: linear-gradient(135deg, #b9325f, #8a2a5e);
}

.sns-btn.facebook {
  background: #3b5998;
}

.sns-btn:hover {
  opacity: 0.85;
}

@media (max-width: 767px) {
  .sns-links {
    flex-direction: column;
  }
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-accent), #e04848);
  color: #ffffff;
  border-color: transparent;
}

.btn.outline {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn.primary:hover,
.btn.outline:hover {
  opacity: 0.9;
}

/* カード・グリッド */
.card-grid {
  display: grid;
  gap: 24px;
}

.info-card {
  background-color: var(--color-card);
  border-radius: 16px;
  padding: 20px 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.info-card-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
  object-fit: cover;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ワイン概要 */
.wine-summary {
  margin-bottom: 32px;
}

.wine-summary p {
  margin: 0 0 12px;
}

/* ワイン&料理 背景コルク */
.wine-bg {
  position: relative;
  overflow: hidden;
}

.wine-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/bg-corks.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: blur(1px);
  z-index: 0;
}

.wine-bg > * {
  position: relative;
  z-index: 1;
}

/* 営業時間テーブル */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 12px 0 8px;
}

.hours-table th,
.hours-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 6px 0;
  text-align: left;
  vertical-align: top;
}

.hours-table th {
  width: 42%;
  padding-right: 12px;
}

.hours-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* アクセス */
.access-heading {
  margin: 16px 0 4px;
  font-size: 1rem;
}

.map-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  border-radius: 16px;
  border: 1px dashed var(--color-border);
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.map-note {
  font-size: 0.8rem;
  margin-top: 6px;
}

.mt-16 {
  margin-top: 16px;
}

/* ご予約・香り */
.reserve-grid {
  display: grid;
  gap: 24px;
}

.reserve-block {
  background-color: var(--color-card);
  border-radius: 16px;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.reserve-block h3 {
  margin: 0 0 12px;
}

.reserve-block p {
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.reserve-tel {
  margin-top: 8px;
}

.link-strong {
  color: var(--color-accent);
  text-decoration: none;
}

.link-strong:hover {
  text-decoration: underline;
}

/* フッター */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0 32px;
  background-color: #0b0b0b;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-name {
  margin: 0 0 4px;
  color: var(--color-text);
}

.footer-info {
  margin: 0 0 4px;
}

.footer-copy {
  margin: 4px 0 0;
}

/* レスポンシブ */
@media (min-width: 768px) {
  .site-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .header-tel {
    display: inline-flex;
  }

  .section-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .access-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .owner-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .reserve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 767px) {
  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: rgba(17, 17, 17, 0.98);
    padding: 8px 0 12px;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav li {
    padding: 4px 16px;
  }

  .site-nav a {
    display: block;
    padding: 8px 10px;
  }

  .hero {
    min-height: 70vh;
  }

  .section {
    padding: 56px 0;
  }

  .info-card {
    padding-inline: 16px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.7rem;
  }
}

/* 4連追従メニュー（右下に縦並び） */
.floating-menu {
  position: fixed;
  right: 16px;
  bottom: 110px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #1f1f1f;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.2s ease;
}

.float-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.float-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.tel-btn {
  background: linear-gradient(135deg, #b22222, #e04848);
}

.insta-btn {
  background: linear-gradient(135deg, #c03970, #8e2a5e);
}

.map-btn {
  background: linear-gradient(135deg, #0b3b2e, #145f45);
}

.member-btn {
  background: linear-gradient(135deg, #333333, #666666);
}

@media (max-width: 600px) {
  .floating-menu {
    right: 12px;
    bottom: 90px;
  }

  .float-btn {
    padding: 9px 14px;
    font-size: 0.85rem;
  }

  .float-icon {
    width: 20px;
    height: 20px;
  }
}

/* --- ソムリエ紹介ページ専用スタイル --- */
.sommelier-hero {
  padding-top: 88px;
  padding-bottom: 56px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(circle at bottom right, rgba(178, 34, 34, 0.28), transparent 60%),
    #111111;
}

.sommelier-hero-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.sommelier-hero-text .section-title {
  margin-bottom: 12px;
}

.sommelier-lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.sommelier-hero-photo img {
  border-radius: 16px;
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.sommelier-grid {
  display: grid;
  gap: 24px;
}

.sommelier-block {
  background-color: var(--color-card);
  border-radius: 16px;
  padding: 20px 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sommelier-block h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.sommelier-block p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.sommelier-list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.sommelier-list li {
  margin-bottom: 6px;
}

.timeline {
  border-left: 1px solid var(--color-border);
  padding-left: 18px;
  margin-top: 8px;
}

.timeline-item {
  position: relative;
  padding: 10px 0 14px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-accent);
}

.timeline-year {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.timeline-body h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.timeline-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.sommelier-message {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.sommelier-message p {
  margin: 0 0 14px;
}

.sommelier-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 768px) {
  .sommelier-hero-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }

  .sommelier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sommelier-grid > .sommelier-block:nth-child(1),
  .sommelier-grid > .sommelier-block:nth-child(2) {
    grid-column: span 1;
  }
}

/* グループ（北部・中部・南部） */
.area-group {
  margin-bottom: 60px;
}

.area-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  border-left: 6px solid #b1352f;
  padding-left: 10px;
}

/* ナビの現在ページ表示 */
.site-nav a.current {
  background: rgba(255, 255, 255, 0.18);
  font-weight: 600;
}

/* 本日のおすすめカード */
.today-slide {
  display: none;
  background: #f3efea;
  border-radius: 20px;
  border: 1px solid #e8e2d9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.today-slide.active {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#today .section-subtitle,
#today .section-subtitle * {
  background-color: transparent !important;
}

/* ▼ 浮遊予約丸ボタン（今はHTML側で未使用でもOK） ▼ */
.floating-reserve-btn {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 70px;
  height: 70px;
  background: #b3002d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-reserve-btn img {
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 480px) {
  .floating-reserve-btn img {
    width: 24px;
    height: 24px;
  }
}

/* ===== 時間帯ごとの楽しみ方セクション ===== */
.time-usage-section {
  position: relative;
}

.time-usage-steps {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .time-usage-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.time-step {
  width: 100%;
  text-align: left;
  background: rgba(31, 31, 31, 0.92);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px 16px;
  color: #ffffff;
  cursor: pointer;
  transition: 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 各時間帯の色味（カード自体） */
.time-step[data-theme="day"] {
  background: rgba(180, 120, 90, 0.20);   /* 明るいブラウン */
}

.time-step[data-theme="evening-food"] {
  background: rgba(90, 130, 200, 0.20);   /* ネイビー寄りの青 */
}

.time-step[data-theme="evening-snack"] {
  background: rgba(150, 80, 150, 0.24);   /* ワイン寄りの紫 */
}

.time-step[data-theme="night-ramen"] {
  background: rgba(40, 30, 60, 0.30);     /* ほぼ黒に近い夜色 */
}


.time-step-time {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.time-step-title {
  font-size: 1rem;
  font-weight: 600;
}

.time-step-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ホバー＆選択中 */
.time-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.time-step.active {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

/* スマホ余白 */
@media (max-width: 767px) {
  .time-step {
    padding-inline: 14px;
  }
}

/* ===== 時間帯ごとのテーマ（背景＆ヒーロー） ===== */

/* 昼：少し明るいブラウン */
body[data-theme="day"] {
  --color-bg: #2b2118;
  --color-bg-alt: #35251a;
  background-color: #2b2118;
}

body[data-theme="day"] .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6),
    rgba(180, 120, 60, 0.55)
  );
}

/* 18:00〜：青みのある宵の口 */
body[data-theme="evening-food"] {
  --color-bg: #061b33;
  --color-bg-alt: #0b2542;
  background-color: #061b33;
}

body[data-theme="evening-food"] .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 40, 0.85),
    rgba(60, 40, 80, 0.65)
  );
}

/* 19:00〜：ワイン色強めの夜 */
body[data-theme="evening-snack"] {
  --color-bg: #1b0a23;
  --color-bg-alt: #260f30;
  background-color: #1b0a23;
}

body[data-theme="evening-snack"] .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10, 0, 40, 0.9),
    rgba(120, 20, 80, 0.7)
  );
}

/* 21:00〜：ぐっと暗めの深夜 */
body[data-theme="night-ramen"] {
  --color-bg: #05050b;
  --color-bg-alt: #080714;
  background-color: #05050b;
}

body[data-theme="night-ramen"] .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 20, 0.95),
    rgba(30, 0, 40, 0.8)
  );
}