@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --brown: #8B5E3C;
  --brown-dark: #5C3D22;
  --brown-light: #C4956A;
  --orange: #E8722A;
  --orange-light: #F59553;
  --white: #FFFFFF;
  --beige: #FBF7F4;
  --beige-dark: #F0E8DF;
  --text: #3E2000;
  --text-light: #7A5C3E;
}

html {
  font-size: 19px;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ========== HEADER ========== */
header {
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

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

.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.05em;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--orange);
  border-color: var(--orange);
}

.header-access {
  font-size: 0.82rem;
  color: var(--brown-dark);
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}
.header-access:hover { color: var(--orange); }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-instagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
  transition: transform 0.2s, opacity 0.2s;
}
.header-instagram:hover { transform: scale(1.06); opacity: 0.85; }

.header-instagram i {
  font-size: 1.5rem;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.header-instagram-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brown-dark);
}

.header-tel {
  font-size: 0.8rem;
  text-align: right;
  color: var(--text-light);
}

.header-tel a {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-dark);
}

/* ========== HAMBURGER (SP) ========== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--brown-dark);
  transition: 0.3s;
}

/* ========== SP NAV ========== */
.sp-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--beige-dark);
  padding: 20px;
}
.sp-nav.open { display: block; }
.sp-nav ul { list-style: none; display: block; }
.sp-nav li { border-bottom: 1px solid var(--beige-dark); }
.sp-nav a {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
  color: var(--text);
  text-align: center;
}

.logo a { display: flex; flex-direction: column; line-height: 1.2; }

/* ========== CTA BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn-orange:hover { background: var(--orange-light); border-color: var(--orange-light); }

.btn-outline {
  background: transparent;
  color: var(--brown-dark);
  border: 2px solid var(--brown-dark);
}
.btn-outline:hover { background: var(--brown-dark); color: var(--white); }

.btn-line {
  background: #06C755;
  color: var(--white);
  border: 2px solid #06C755;
}
.btn-line:hover { background: #04a845; border-color: #04a845; }

/* ========== SECTION COMMON ========== */
section { padding: 70px 20px; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title .title-line {
  width: 50px;
  height: 3px;
  background: var(--orange);
  margin: 12px auto 0;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background: var(--brown-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/treatment-room.jpg') center/cover no-repeat;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
  color: var(--white);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 2px;
}

.hero-tag-access {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.hero-tag-access i { margin-right: 4px; }

.hero-content h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 36px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btns .btn {
  font-size: 1.3125rem;
  transform: translateY(-4px);
}

.hero-btns .btn-line {
  transform: translateY(-7px);
}

/* ========== FEATURES ========== */
.features { background: var(--beige); }

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

.feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 4px solid var(--orange);
}

.feature-placeholder {
  width: 100%;
  aspect-ratio: 7 / 3;
  background: var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.8rem;
  border-radius: 4px;
  margin-bottom: 16px;
  border: 1px dashed var(--brown-light);
}

.feature-photo {
  object-fit: cover;
  border: none;
}

.feature-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========== MACHINE INTRO ========== */
.machine-intro {
  background: var(--brown-dark);
  color: var(--white);
  padding: 70px 20px;
}

.machine-intro .section-title h2 { color: var(--white); }
.machine-intro .section-title p { color: rgba(255,255,255,0.6); }

.machine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.machine-grid img {
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.machine-text h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--orange-light);
}

.machine-text p {
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.85);
}

.machine-logo {
  width: 140px;
  margin-bottom: 20px;
  background: var(--white);
  padding: 10px;
  border-radius: 6px;
}

/* ========== MENU PREVIEW ========== */
.menu-preview { background: var(--white); }

.menu-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 36px;
}

.menu-table th {
  background: var(--brown-dark);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.menu-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--beige-dark);
  font-size: 0.9rem;
}

.menu-table tr:nth-child(even) td { background: var(--beige); }

.menu-table .price {
  text-align: right;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

.menu-category-note {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: -20px;
}

.menu-note {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
  background: var(--beige);
  padding: 16px 20px;
  border-radius: 4px;
  border-left: 3px solid var(--orange);
}

.payment-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brown-dark);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 6px;
  margin: 20px auto 0;
  max-width: 640px;
  text-align: center;
}

.payment-banner-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.payment-banner i { color: var(--orange-light); font-size: 1.3rem; }

.payment-cards-caption {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.payment-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.card-badge {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}

.card-badge-light {
  color: var(--brown-dark);
  border-color: var(--brown-dark);
}

@media (max-width: 768px) {
  .payment-banner { flex-wrap: wrap; }
}

/* ========== STATS SECTION ========== */
.stats-section {
  background: var(--brown-dark);
  color: var(--white);
  padding: 60px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.stats-grid > .stat-item {
  min-width: 0;
}

.stat-medal {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 28%, #fff7d6 0%, #f4d874 32%, #d9ab37 65%, #a9791b 100%);
  border: 5px solid #c99a2e;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35), inset 0 3px 6px rgba(255,255,255,0.55), inset 0 -6px 10px rgba(0,0,0,0.3);
  position: relative;
}

.stat-medal::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.45);
  pointer-events: none;
}

.stat-medal .stat-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #6b3f00;
  line-height: 1;
}

.stat-medal .stat-unit {
  font-size: 0.8rem;
  color: #6b3f00;
  font-weight: 700;
  margin-top: 2px;
}

.stat-medal-star {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffbe6 0%, #ffe066 40%, #f0b90b 100%);
  border: 2px solid #fff3c4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a86b00;
  font-size: 1.05rem;
  box-shadow: 0 0 0 5px rgba(255, 214, 51, 0.3), 0 3px 10px rgba(0,0,0,0.4);
  z-index: 3;
}

.stat-ribbon {
  position: relative;
  z-index: 2;
  margin: -14px auto 0;
  background: linear-gradient(180deg, var(--orange) 0%, #b5501c 100%);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  width: fit-content;
  min-width: 116px;
  padding: 12px 16px 20px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.stat-ribbon::before,
.stat-ribbon::after {
  content: '';
  position: absolute;
  top: 2px;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 1;
}

.stat-ribbon::before {
  left: -14px;
  border-width: 12px 14px 12px 0;
  border-color: transparent #9c3f14 transparent transparent;
}

.stat-ribbon::after {
  right: -14px;
  border-width: 12px 0 12px 14px;
  border-color: transparent transparent transparent #9c3f14;
}

/* ========== GALLERY SLIDER ========== */
.gallery-slider {
  position: relative;
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}

.gallery-track {
  display: flex;
  transition: transform 0.4s ease;
}

.gallery-slide {
  min-width: 100%;
  position: relative;
}

.gallery-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: var(--beige-dark);
}

.gallery-slide.is-placeholder .gallery-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-label {
  margin-top: 14px;
  color: var(--brown-dark);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section { background: var(--beige); }

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 36px 40px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.testimonial-card .reviewer-row {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.gender-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.gender-icon.female { background: #fbdce6; color: #e0578a; }
.gender-icon.male { background: #dbe9fb; color: #3f7fd1; }
.gender-icon.neutral { background: #e9e2d8; color: #8a7a63; }

.testimonial-card .review-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
}

.testimonial-card .reviewer {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 700;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.testimonials-controls button {
  background: var(--brown);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.testimonials-controls button:hover { background: var(--orange); }

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.testimonials-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beige-dark);
  cursor: pointer;
  transition: background 0.2s;
}

.testimonials-dots span.active { background: var(--orange); }

/* ========== FAQ SECTION ========== */
.faq-section { background: var(--white); }

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

.faq-item {
  border-bottom: 1px solid var(--beige-dark);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  gap: 16px;
}

.faq-q .q-label {
  color: var(--orange);
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-q .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.3s;
  color: var(--brown);
  font-size: 0.8rem;
}

.faq-item.open .faq-icon {
  background: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 4px;
  color: var(--text-light);
  line-height: 1.9;
  font-size: 0.95rem;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 4px 20px;
}

/* ========== PROFILE SECTION ========== */
.profile-section { background: var(--beige); }

.profile-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-photo-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.profile-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brown-dark);
  margin-bottom: 16px;
}

.profile-teaser {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 12px;
  text-align: left;
}

.profile-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
  text-align: left;
}

.profile-full p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 16px;
}

.profile-card.open .profile-full {
  max-height: 3000px;
}

.profile-toggle {
  margin-top: 4px;
  background: none;
  border: 1px solid var(--brown);
  color: var(--brown);
  padding: 10px 28px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.profile-toggle:hover { background: var(--brown); color: var(--white); }
.profile-toggle i { transition: transform 0.3s; margin-left: 4px; }
.profile-card.open .profile-toggle i { transform: rotate(180deg); }

/* ========== GALLERY LIGHTBOX ========== */
.gallery-section { background: var(--beige); }

.gallery-photo[onclick] { cursor: pointer; transition: opacity 0.2s; }
.gallery-photo[onclick]:hover { opacity: 0.85; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 4px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ========== FLOATING CTA ========== */
.float-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  display: flex;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.float-cta.visible { transform: translateY(0); }

.float-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.float-cta .fcta-tel {
  background: var(--orange);
  color: var(--white);
}

.float-cta .fcta-line {
  background: #06C755;
  color: var(--white);
}

.float-cta a i { font-size: 18px; }

/* ========== PHOTO SECTION ========== */
.photos { background: var(--beige); }

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

.photo-grid img {
  border-radius: 6px;
  height: 250px;
  width: 100%;
  object-fit: cover;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: var(--white);
  padding: 70px 20px;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 15px;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.85);
}

.cta-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btns .btn {
  min-width: 200px;
  font-size: 21px;
}

.cta-tel {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.cta-tel a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

/* ========== FOOTER ========== */
footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.75);
  padding: 50px 20px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-main { color: var(--white); font-size: 1.2rem; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.82rem; margin-top: 14px; line-height: 1.8; }

.footer-nav h4, .footer-info h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.footer-nav a:hover { color: var(--orange-light); }

.footer-info p { font-size: 0.82rem; line-height: 1.9; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.75rem;
}

/* ========== PAGE HERO (子ページ) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  font-size: 0.8rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 8px; }

/* ========== MENU PAGE ========== */
.menu-category {
  margin-bottom: 50px;
}

.menu-category h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  color: var(--brown-dark);
  padding: 12px 20px;
  background: var(--beige);
  border-left: 4px solid var(--orange);
  margin-bottom: 0;
}

/* ========== ACCESS PAGE ========== */
.access-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.access-grid > div {
  min-width: 0;
}

.access-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.access-photo img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.access-info dt {
  font-weight: 700;
  color: var(--brown-dark);
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 4px;
}

.access-info dd {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.access-info dd:first-of-type { margin-top: 0; }

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* ========== MACHINE PAGE ========== */
.machine-detail {
  background: var(--beige);
}

.machine-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.spec-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.spec-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 16px;
}

.spec-card h4 {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ========== RESPONSIVE ========== */
/* ========== HOURS TABLE ========== */
.hours-table {
  width: 100%;
  overflow-x: auto;
  margin-top: 8px;
}

.hours-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 320px;
}

.hours-table th,
.hours-table td {
  text-align: center;
  padding: 10px 6px;
  border: 1px solid var(--beige-dark);
}

.hours-table thead th {
  background: var(--brown);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.hours-table thead th.day-short {
  background: var(--orange);
}

.hours-table thead th.day-closed {
  background: #bbb;
}

.hours-table tbody td {
  background: var(--beige);
  color: var(--text);
  font-weight: 500;
}

.hours-table tbody td.open {
  background: #fff7f2;
  color: var(--orange);
  font-weight: 700;
}

.hours-table tbody td.open-short {
  background: #fff0e6;
  color: var(--orange);
  font-weight: 700;
}

.hours-table tbody td.closed {
  background: #f0f0f0;
  color: #999;
}

.hours-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
  padding-left: 2px;
}

@media (max-width: 768px) {
  nav, .header-tel { display: none; }
  .header-access { font-size: 0.72rem; }
  .hamburger { display: flex; }
  .header-right { gap: 14px; }
  .header-instagram i { font-size: 1.3rem; }
  .header-instagram-label { font-size: 0.55rem; }

  .hero { height: 90vh; min-height: 600px; }
  .hero-content h1 { font-size: 1.7rem; }

  .features-grid { grid-template-columns: 1fr; }
  .machine-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .machine-spec-grid { grid-template-columns: 1fr; }

  section { padding: 50px 16px; }
  .section-title h2 { font-size: 1.5rem; }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }

  .stats-grid { gap: 16px; }
  .stat-medal { width: 100px; height: 100px; border-width: 4px; }
  .stat-medal .stat-num { font-size: 1.5rem; }
  .stat-medal .stat-unit { font-size: 0.65rem; }
  .stat-medal-star { width: 30px; height: 30px; font-size: 0.75rem; top: -14px; }
  .stat-ribbon { font-size: 0.78rem; min-width: 80px; padding: 9px 8px 14px; margin-top: -12px; }
  .stat-ribbon::before { left: -9px; border-width: 8px 9px 8px 0; }
  .stat-ribbon::after { right: -9px; border-width: 8px 0 8px 9px; }
}

/* iPhone SE等、幅の狭い端末向け調整（ヒーローの固定高さ+overflow:hiddenで
   タグ・CTAが隠れてしまうのを防ぐ） */
@media (max-width: 380px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: 90px 0 50px;
  }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-content p { font-size: 0.9rem; }
  .hero-btns .btn { font-size: 1.05rem; }

  .hours-table table { min-width: 0; font-size: 11px; }
  .hours-table th,
  .hours-table td { padding: 6px 2px; }

  .stats-grid { gap: 8px; }
  .stat-medal { width: 80px; height: 80px; border-width: 3px; }
  .stat-medal .stat-num { font-size: 1.15rem; }
  .stat-medal .stat-unit { font-size: 0.55rem; }
  .stat-medal-star { width: 24px; height: 24px; font-size: 0.6rem; top: -12px; }
  .stat-ribbon { font-size: 0.68rem; min-width: 0; padding: 8px 5px 12px; margin-top: -10px; }
  .stat-ribbon::before { left: -6px; border-width: 6px 6px 6px 0; }
  .stat-ribbon::after { right: -6px; border-width: 6px 0 6px 6px; }
}
