/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg);
  color: var(--dark);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== VARIABLES ===== */
:root {
  --bg: #F7F3ED;
  --dark: #1C1A16;
  --navy: #2B3A4A;
  --accent: #CC2B2B;   /* 赤 */
  --warm: #E8D5B0;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(28,26,22,0.12);
}

/* ===== CONTAINER ===== */
.container { width: 92%; max-width: 1100px; margin: 0 auto; }

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .35s, box-shadow .35s;
  padding: 16px 0;
}
#header.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
  padding: 10px 0;
}
#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
}
nav#nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
nav#nav ul li a {
  font-size: .95rem;
  color: var(--white);
  font-weight: 500;
  letter-spacing: .04em;
  transition: color .2s;
  position: relative;
}
nav#nav ul li a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s;
  position: absolute;
  bottom: -3px; left: 0;
}
nav#nav ul li a:hover { color: var(--accent); }
nav#nav ul li a:hover::after { width: 100%; }

/* hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
#hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
#hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-slideshow {
  position: absolute;
  inset: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* iOS対応: fixed使わない */
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
.hero-bg.is-active {
  opacity: .92;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(232,213,176,.12), transparent 38%),
    linear-gradient(to bottom, rgba(28,26,22,.28) 0%, rgba(28,26,22,.72) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}
.hero-inner h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: .06em;
}
.hero-inner p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: .88;
  letter-spacing: .04em;
  margin-bottom: 36px;
}
.hero-line {
  display: inline-block;
  max-width: 100%;
}
.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--accent);
  background-color: rgba(204, 43, 43, 0.35);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background .25s, color .25s, transform .25s;
  border-radius: 2px;
}
.hero-cta:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}



/* ===== SECTION BASE ===== */
.section { padding: 90px 0; }
.section-heading {
  text-align: center;
  margin-bottom: 56px;
}
.section-heading .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--accent);
  display: block;
  line-height: 1;
  letter-spacing: .08em;
}
.section-heading .ja {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: #888;
  margin-top: 6px;
  letter-spacing: .12em;
}

/* ===== CONCEPT ===== */
.concept-section {
  position: relative;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}
.concept-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28,26,22,.68), rgba(28,26,22,.68)),
    url('img2/about.jpg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.concept-section .container {
  position: relative;
  z-index: 1;
}
.concept-section .section-heading .ja { color: #d1c9bc; }
.concept-grid {
  display: block;
}
.concept-body {
  max-width: 680px;
}
.concept-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.5;
}
.concept-body p {
  font-size: .97rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 16px;
}

/* ===== FEATURE ===== */
.feature-section {
  background: var(--dark);
  color: var(--white);
  position: relative;
}
.feature-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img2/Feature.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  opacity: .18;
  pointer-events: none;
}
.feature-section .section-heading .en { color: var(--accent); }
.feature-section .section-heading .ja { color: #aaa; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}
.feature-card h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}
.feature-card p { font-size: .88rem; color: #ccc; line-height: 1.7; }

/* ===== MENU ===== */
.menu-section { background: var(--warm); }
.menu-intro {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: .97rem;
  color: #4a4540;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.menu-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  background: var(--dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform .3s;
}
.menu-card:hover { transform: translateY(-6px); }
.menu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,26,22,.08) 20%, rgba(28,26,22,.78) 100%);
  z-index: 1;
}
.menu-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.menu-card:hover img { transform: scale(1.04); }
.menu-card-body {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 24px 20px 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.menu-card-body h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}
.menu-card-body p {
  font-size: .84rem;
  line-height: 1.75;
  color: rgba(255,255,255,.88);
}
.menu-card-body .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 10px;
}

/* ===== COURSE ===== */
.course-section {
  background: var(--bg);
}
.course-intro,
.course-note {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: #4a4540;
}
.course-intro {
  font-size: .98rem;
  margin-bottom: 32px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
}
.course-card h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.course-card p {
  color: #4a4540;
  font-size: .94rem;
}
.course-card p + p {
  margin-top: 8px;
}
.course-price {
  font-weight: 700;
  color: var(--accent) !important;
  margin-bottom: 8px;
}
.course-detail {
  font-weight: 700;
  margin-bottom: 12px;
}
.course-menu-details {
  margin-top: 16px;
  border-top: 1px solid #f0e7d8;
  padding-top: 12px;
}
.course-menu-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  padding: 6px 16px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  transition: background .2s, color .2s;
  margin: 0 auto;
}
.course-menu-summary:hover {
  background: var(--accent);
  color: var(--white);
}
.course-menu-summary::-webkit-details-marker {
  display: none;
}
.course-menu-summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transition: transform 0.3s;
}
details[open] .course-menu-summary {
  background: var(--accent);
  color: var(--white);
}
details[open] .course-menu-summary::after {
  transform: rotate(180deg);
}
.course-menu-content {
  margin-top: 16px;
  background: #fdfcf9;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid #e8d5b0;
  animation: slideDown 0.25s ease-out;
}
.course-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.course-menu-list li {
  font-size: 0.88rem;
  color: #4a4540;
  padding: 8px 0;
  border-bottom: 1px dashed #e8d5b0;
}
.course-menu-list li:last-child {
  border-bottom: none;
}
.course-menu-subnote {
  font-size: 0.78rem;
  color: #888;
  margin-top: 10px;
  text-align: left;
  line-height: 1.4;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.course-note {
  font-size: .92rem;
  margin-bottom: 24px;
}
.course-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.course-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 700;
  transition: transform .2s, opacity .2s, background .2s;
}
.course-btn:hover {
  transform: translateY(-2px);
  opacity: .92;
}
.course-btn-primary {
  background: var(--accent);
  color: var(--white);
}
.course-btn-secondary {
  background: var(--dark);
  color: var(--white);
}

/* ===== GALLERY ===== */
.gallery-section { background: var(--bg); }
.gallery-carousel-wrap { position: relative; overflow: hidden; }
.gallery-track {
  display: flex;
  transition: transform .4s ease;
}
.gallery-track .slide {
  min-width: calc(100% / 3);
  padding: 0 8px;
  flex-shrink: 0;
}
.gallery-track .slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.gallery-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.gallery-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: opacity .2s;
}
.gallery-btn:hover { opacity: .8; }
.gallery-dots { display: flex; gap: 8px; }
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.gallery-dot.active { background: var(--accent); }

/* ===== ACCESS ===== */
.access-section { background: var(--dark); color: var(--white); }
.access-section .section-heading .en { color: var(--accent); }
.access-section .section-heading .ja { color: #aaa; }
.access-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.access-map iframe {
  width: 100%;
  height: 360px;
  border: none;
  border-radius: var(--radius);
  display: block;
}
.access-table {
  width: 100%;
  border-collapse: collapse;
}
.access-table tr + tr td,
.access-table tr + tr th { border-top: 1px solid rgba(255,255,255,.1); }
.access-table th,
.access-table td {
  padding: 14px 8px;
  text-align: left;
  font-size: .95rem;
  vertical-align: top;
}
.access-table th {
  white-space: nowrap;
  color: var(--accent);
  font-weight: 700;
  width: 7em;
  font-family: 'Noto Serif JP', serif;
}
.access-table td { color: #ddd; }
.tel-link { color: var(--accent); font-weight: 700; font-size: 1.1rem; }

.access-reserve-wrap {
  margin-top: 24px;
}
.access-reserve-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 2px;
  font-size: .92rem;
  transition: opacity .2s, background .2s, transform .2s;
}
.access-reserve-btn:hover {
  transform: translateY(-2px);
  opacity: .92;
}
.access-reserve-note {
  margin-top: 10px;
  font-size: .85rem;
  color: #aaa;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: #888;
  padding: 40px 0;
  text-align: center;
}
.footer-logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: .06em;
}
footer p { font-size: .85rem; margin-bottom: 4px; }
.footer-accent { color: var(--accent); }
.footer-sitemap {
  margin: 20px 0;
}
.footer-sitemap ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-sitemap a {
  color: #aaa;
  font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-sitemap a:hover {
  color: var(--accent);
}

/* ===== FLOAT BUTTONS ===== */
.float-wrap {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 500;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: transform .2s, opacity .2s;
}
.float-btn:hover { transform: scale(1.1); opacity: .9; }
.float-instagram { background: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.float-tel { background: var(--accent); }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MENU CARD SLIDESHOW ===== */
.menu-card-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.menu-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.menu-slide.is-active {
  opacity: 1;
}

/* ===== NEW MENU LIST ===== */
.menu-list-section {
  background: var(--bg);
}
.menu-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.menu-list-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .3s;
}
.menu-list-card:hover {
  transform: translateY(-6px);
}
.menu-list-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.menu-list-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.menu-list-card:hover .menu-list-img-wrap img {
  transform: scale(1.05);
}
.menu-list-card h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 12px;
  color: var(--dark);
  margin: 0;
}
.menu-list-note {
  margin-top: 32px;
  text-align: center;
  font-size: .92rem;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-list-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .course-grid { grid-template-columns: 1fr; }
  .gallery-track .slide { min-width: 50%; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  nav#nav {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  nav#nav.active { display: flex; }
  nav#nav ul { flex-direction: column; align-items: center; gap: 36px; }
  nav#nav ul li a { font-size: 1.3rem; }
  #hamburger { display: flex; z-index: 300; position: relative; }

  .concept-body { max-width: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card { min-height: 320px; }
  .menu-card-body {
    padding: 20px 16px 16px;
  }
  .menu-intro,
  .course-intro,
  .course-note,
  .menu-list-note { text-align: left; }
  .course-card { padding: 24px 18px; }
  .course-actions { flex-direction: column; }

  /* Gallery: 1 slide per view on mobile */
  .gallery-track .slide { min-width: 100%; }
  .gallery-track .slide img { height: 220px; }

  /* Access — no horizontal scroll */
  .access-grid { grid-template-columns: 1fr; }
  .access-map iframe { height: 280px; }

  /* Access table: stack on mobile */
  .access-table th,
  .access-table td { display: block; width: 100%; }
  .access-table th { padding-bottom: 2px; border-top: none; }
  .access-table td { padding-top: 2px; padding-left: 0; }
  .access-table tr + tr th { border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }

  .section { padding: 60px 0; }
  .hero-inner h1 { font-size: clamp(1.4rem, 5.5vw, 2.2rem); }
  .hero-inner p { font-size: clamp(0.85rem, 3.2vw, 1.05rem); }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .menu-list-grid { grid-template-columns: 1fr; }
}
