:root {
  --bg: #fbfaf6;
  --bg-alt: #f2ece0;
  --surface: #ffffff;
  --ink: #201c17;
  --ink-dim: #756c5e;
  --red: #b0392f;
  --red-dark: #8a2c24;
  --green: #1f5c46;
  --gold: #a97d33;
  --gold-light: #c89a4f;
  --border: rgba(32, 28, 23, 0.12);
  --max-width: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html { background: var(--bg); }

body {
  background: transparent;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
}

/* サイト全体の背景写真(スクロールしても固定) */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("images/schedule-bg.jpg");
  background-size: cover;
  background-position: center;
}

/* 写真の上に明るいベールをかけて文字を読みやすくする */
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 250, 246, 0.78);
}

h1, h2, h3, .logo-text {
  font-family: "Cinzel", "Noto Sans JP", serif;
  letter-spacing: 0.04em;
}

a { color: inherit; text-decoration: none; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 100%);
  transition: width 0.1s linear;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-text {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  position: relative;
  color: var(--ink-dim);
  font-size: 0.92rem;
  transition: color 0.2s;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.25s ease;
}

.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px;
  background:
    radial-gradient(ellipse at 50% 15%, rgba(169, 125, 51, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--ink) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.035;
  pointer-events: none;
}

.hero-cards {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.suit {
  position: absolute;
  bottom: -10%;
  font-size: 2.4rem;
  color: var(--red);
  opacity: 0;
  animation: drift-up 16s linear infinite;
}

.suit-club, .suit-spade { color: var(--green); }

.suit:nth-child(1) { left: 6%;  animation-delay: 0s;  font-size: 2rem; }
.suit:nth-child(2) { left: 20%; animation-delay: 2.5s; font-size: 3.2rem; }
.suit:nth-child(3) { left: 40%; animation-delay: 5s;   font-size: 1.8rem; }
.suit:nth-child(4) { left: 62%; animation-delay: 8s;   font-size: 2.6rem; }
.suit:nth-child(5) { left: 80%; animation-delay: 3.5s; font-size: 2.1rem; }
.suit:nth-child(6) { left: 92%; animation-delay: 10s;  font-size: 3rem; }

@keyframes drift-up {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.12; }
  90%  { opacity: 0.1; }
  100% { transform: translateY(-115vh) rotate(25deg); opacity: 0; }
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: min(920px, 130vw);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.hero-inner { max-width: 640px; position: relative; z-index: 1; }

.hero-eyebrow {
  color: var(--red);
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-lead {
  color: var(--ink-dim);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

/* Sections */
.section { padding: 90px 24px; }
.section-alt { background: rgba(242, 236, 224, 0.26); }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 1.9rem;
  color: var(--ink);
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-wrap: balance;
}

.section-title span {
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.3em;
  font-family: "Cinzel", serif;
  font-weight: 600;
}

.section-note {
  color: var(--ink-dim);
  margin-bottom: 32px;
  margin-top: -24px;
}

/* Concept */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.concept-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  padding: 32px 26px;
  box-shadow: 0 2px 10px rgba(32, 28, 23, 0.04);
}

.concept-suit {
  display: inline-block;
  font-size: 1.3rem;
  color: var(--red);
  margin-bottom: 12px;
}

.concept-card h3 {
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.concept-card p {
  color: var(--ink-dim);
  font-size: 0.95rem;
}

/* Schedule */
.schedule-section {
  position: relative;
  background: rgba(242, 236, 224, 0.26);
}

.schedule-section .section-inner {
  position: relative;
  z-index: 1;
}

/* Schedule carousel */
.schedule-carousel {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 4px 20px rgba(32, 28, 23, 0.1);
}

.carousel-track {
  display: flex;
  touch-action: pan-y;
  transition: transform 0.4s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(251, 250, 246, 0.9);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.carousel-btn:hover { border-color: var(--red); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(32, 28, 23, 0.25);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active { background: var(--red); }

/* Menu */
.menu-image-wrap {
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(32, 28, 23, 0.08);
}

.menu-image-wrap img { width: 100%; }

/* Info table */
.info-table {
  border-top: 1px solid var(--border);
}

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.info-label {
  color: var(--red);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.info-value { color: var(--ink); }

/* Access */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: start;
}

.address {
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.tel a {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 700;
}

.tel a:hover { color: var(--red); }

.map-link {
  margin-top: 14px;
  font-size: 0.88rem;
}

.map-link a {
  color: var(--ink-dim);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}

.map-link a:hover {
  color: var(--red);
  border-color: var(--red);
}

.map-embed {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(32, 28, 23, 0.04);
}

.map-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(32, 28, 23, 0.04);
}

.map-card .map-title {
  color: var(--red);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.map-card .map-desc {
  color: var(--ink-dim);
  font-size: 0.88rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(32, 28, 23, 0.04);
}

.contact-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(32, 28, 23, 0.1);
}

/* 長いアカウント名が枠からはみ出さないよう折り返す */
.contact-card > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--red);
  border: 1px solid var(--gold);
  border-radius: 50%;
  overflow: hidden;
}

.contact-icon svg { width: 19px; height: 19px; }

.contact-icon-brand {
  border-color: var(--border);
}

.contact-icon-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  color: var(--ink-dim);
  font-size: 0.8rem;
  background: rgba(242, 236, 224, 0.26);
}

.site-footer p { margin-bottom: 8px; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0s;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.24s; }

/* Tilt targets */
[data-tilt] {
  transition: transform 0.15s ease-out, border-color 0.2s, box-shadow 0.2s;
  will-change: transform;
}

[data-tilt]:hover {
  box-shadow: 0 16px 32px rgba(32, 28, 23, 0.12);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .suit { animation: none; opacity: 0; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  [data-tilt] { transition: none; }
}

/* Responsive */
@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid var(--border);
  }

  .main-nav.open { max-height: 300px; }

  .main-nav a {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
  }

  .access-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 6px; }
}
