/* トップページ専用 */
/* ── Red Top Bar ── */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 44px;
  background: linear-gradient(90deg, #8b1a1a 0%, var(--red-accent) 30%, var(--red-accent) 70%, #8b1a1a 100%);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.2em;
  transition: opacity 0.5s, transform 0.5s;
}

.top-bar.hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.top-bar::before,
.top-bar::after {
  content: '─';
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
}

/* ── Hero Logo ── */
.site-logo {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  text-align: center;
  pointer-events: none;
}

.site-logo-sub {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.3em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.site-logo-main {
  font-family: 'Zen Old Mincho', serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.2em;
  text-shadow: 0 3px 15px rgba(0,0,0,0.7);
  line-height: 1.2;
}

/* ── Vertical Navigation (Hero) ── */
.vertical-nav {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 120;
  display: flex;
  gap: 35px;
  align-items: flex-start;
  padding-top: 80px;
}

.vertical-nav a {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--white);
  text-decoration: none;
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  transition: color 0.3s;
  cursor: pointer;
}

.vertical-nav a:hover,
.vertical-nav a.active {
  color: var(--gold);
}

/* ── Scroll Nav Bar (appears on scroll, AFURI-style) ── */
.scroll-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

.scroll-nav.visible {
  transform: translateY(0);
}

.scroll-nav-logo {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.1em;
}

.scroll-nav-logo span {
  font-size: 0.8rem;
  margin-right: 4px;
  color: rgba(245, 240, 232, 0.6);
}

.scroll-nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.scroll-nav-links a {
  color: rgba(245, 240, 232, 0.6);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.scroll-nav-links a:hover {
  color: var(--cream);
}

/* ── Fullscreen Slider ── */
.slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.slide.active { opacity: 1; }

.slide-2 { background-position: center 70%; }
.slide-3 { background-position: center 60%; }
.slide-4 { background-position: center top; }

.slide::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.25);
}

.slider-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 130;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 20px 15px;
  transition: color 0.3s;
}

.slider-arrow:hover { color: var(--white); }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

/* ── Scroll Content Area ── */
.content-area {
  position: relative;
  z-index: 50;
  margin-top: 100vh;
}

/* ── Sections ── */
.section {
  padding: 130px 40px;
  position: relative;
}

.section-dark { background: var(--black); }
.section-warm { background: var(--dark); }

.section-inner {
  max-width: 850px;
  margin: 0 auto;
}

/* ── Section Header (AFURI-style bilingual) ── */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header-en {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header-jp {
  font-family: 'Zen Old Mincho', serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.5);
  letter-spacing: 0.3em;
}

.section-header-line {
  width: 30px;
  height: 2px;
  background: var(--red-accent);
  margin: 20px auto 0;
}

/* ── Photo Break (full-width parallax photo between sections) ── */
.photo-break {
  height: 50vh;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.photo-break::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.15);
}

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── About ── */
.about-content {
  text-align: center;
}

.about-text {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.05rem;
  line-height: 2.6;
  color: rgba(245, 240, 232, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.about-feature {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 80px;
}

.about-feature-item {
  text-align: center;
  padding: 35px 15px;
  border: 1px solid rgba(196, 30, 58, 0.2);
  position: relative;
  transition: border-color 0.3s;
}

.about-feature-item:hover {
  border-color: rgba(196, 30, 58, 0.5);
}

.about-feature-item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--red-accent);
}

.about-feature-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.about-feature-desc {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.8;
}

/* ── Menu ── */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  padding: 30px 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  position: relative;
  transition: padding-left 0.3s;
}

.menu-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--red-accent);
  transition: height 0.3s;
}

.menu-item:hover::before { height: 50%; }
.menu-item:hover { padding-left: 15px; }

.menu-item-name {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.4rem;
  color: var(--cream);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.menu-item-name::after {
  content: ' ──';
  color: rgba(196, 30, 58, 0.3);
  font-size: 0.8rem;
}

.menu-item-desc {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.45);
  padding-left: 2px;
}

.menu-note {
  margin-top: 50px;
  padding: 25px 30px;
  background: rgba(196, 30, 58, 0.06);
  border-left: 3px solid var(--red-accent);
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.6);
}

.menu-note strong {
  color: var(--red-accent);
}

.menu-cta {
  text-align: center;
  margin-top: 50px;
}

.menu-cta-btn {
  display: inline-block;
  padding: 16px 50px;
  border: 1px solid var(--red-accent);
  color: var(--cream);
  text-decoration: none;
  font-family: 'Zen Old Mincho', serif;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  transition: background 0.3s, color 0.3s;
}

.menu-cta-btn:hover {
  background: var(--red-accent);
  color: var(--white);
}

/* ── Hours ── */
.hours-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.hours-table-wrap { flex: 1; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

.hours-table td {
  padding: 18px 10px;
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  width: 90px;
  color: var(--cream);
  letter-spacing: 0.1em;
}

.hours-table td:last-child {
  color: rgba(245, 240, 232, 0.6);
  letter-spacing: 0.05em;
}

.hours-table .closed td:last-child {
  color: var(--red-accent);
  font-weight: 700;
}

.hours-side {
  flex: 0 0 250px;
  padding: 35px;
  background: rgba(196, 30, 58, 0.04);
  border: 1px solid rgba(196, 30, 58, 0.15);
  text-align: center;
}

.hours-side-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--red-accent);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hours-side-day {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 15px;
}

.hours-side-note {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.4);
  line-height: 1.8;
}

/* ── Access ── */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.access-info dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px 20px;
}

.access-info dt {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  color: var(--red-accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.access-info dd {
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.85);
}

.access-info dd a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 240, 232, 0.2);
  transition: border-color 0.3s;
}

.access-info dd a:hover {
  border-color: var(--red-accent);
}

.map-container {
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid rgba(245, 240, 232, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%);
}


/* ── Footer（トップはスライダーより前面に） ── */
footer {
  position: relative;
  z-index: 50;
}

/* ── Scroll down indicator ── */
.scroll-down {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.scroll-down-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Hide fixed elements ── */
.fixed-hide {
  transition: opacity 0.5s;
}

.fixed-hide.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 160;
  width: 45px;
  height: 45px;
  background: var(--red-accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Mobile Nav ── */
.mobile-nav-btn {
  display: none;
  position: fixed;
  top: 45px;
  right: 15px;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  padding: 10px;
  backdrop-filter: blur(4px);
}

.mobile-nav-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-overlay { z-index: 190; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .top-bar {
    height: 40px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    gap: 10px;
  }

  .top-bar::before,
  .top-bar::after { display: none; }

  .vertical-nav { display: none; }

  .mobile-nav-btn {
    display: block;
    top: 38px;
    right: 12px;
    padding: 8px;
  }

  .mobile-nav-btn span {
    width: 20px;
    margin: 4px 0;
  }

  .site-logo {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .site-logo-sub { font-size: 1rem; }

  .site-logo-main {
    font-size: 3.2rem;
    letter-spacing: 0.15em;
  }

  .slider-arrow { display: none; }

  .slide-1 { background-position: 60% center !important; }
  .slide-2 { background-position: 40% 80% !important; }
  .slide-3 { background-position: 45% center !important; }
  .slide-4 { background-position: center top !important; }

  .scroll-down {
    bottom: 20px;
    font-size: 0.6rem;
  }

  .scroll-nav {
    padding: 0 20px;
    height: 50px;
  }

  .scroll-nav-links { display: none; }

  .scroll-nav-logo { font-size: 1.3rem; }

  .section { padding: 80px 20px; }

  .section-header { margin-bottom: 50px; }

  .section-header-en { font-size: 1.2rem; }

  .about-feature {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-text {
    font-size: 0.9rem;
    line-height: 2;
  }

  .photo-break {
    height: 35vh;
    min-height: 250px;
    background-attachment: scroll;
  }

  .hours-content {
    flex-direction: column;
    gap: 30px;
  }

  .hours-side {
    flex: none;
    width: 100%;
  }

  .access-grid { grid-template-columns: 1fr; }

  .menu-item-name {
    font-size: 1.1rem;
  }

  .menu-item-name::after { display: none; }

  .footer-logo { font-size: 1.3rem; }

  .back-to-top {
    width: 38px;
    height: 38px;
    right: 15px;
    bottom: 15px;
    font-size: 1rem;
  }
}
/* ── Opening Animation (Brush Stroke) ── */
.opening-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  pointer-events: none;
  background: #1a1a1a;
}

.opening-canvas {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Subtitle 麺屋 */
.opening-subtitle {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.4rem;
  color: rgba(255,255,255,0);
  letter-spacing: 0.6em;
  margin-bottom: 14px;
  transition: none;
}

.opening-subtitle.show {
  animation: subtitleReveal 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes subtitleReveal {
  0% {
    color: rgba(255,255,255,0);
    transform: translateY(10px);
    letter-spacing: 1.2em;
  }
  100% {
    color: rgba(255,255,255,0.75);
    transform: translateY(0);
    letter-spacing: 0.6em;
  }
}

/* SVG brush stroke kanji container - BIGGER */
.opening-kanji-wrap {
  position: relative;
  width: 480px;
  height: 240px;
}

.opening-kanji-wrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Kanji text stroke animation */
.kanji-char {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 900;
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  filter: url(#ink-glow);
}

.kanji-char.animate {
  animation: drawKanji var(--dur) cubic-bezier(0.25, 0.1, 0.25, 1) var(--delay) forwards;
}

.kanji-char.filled {
  fill: var(--white);
  fill-opacity: 0;
}

.kanji-char.filled.animate {
  animation: drawKanjiFill var(--dur) cubic-bezier(0.25, 0.1, 0.25, 1) var(--delay) forwards;
}

@keyframes drawKanji {
  0% {
    stroke-dashoffset: 800;
    stroke-opacity: 0.5;
  }
  20% {
    stroke-opacity: 1;
  }
  70% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-opacity: 1;
  }
}

@keyframes drawKanjiFill {
  0% {
    stroke-dashoffset: 800;
    stroke-opacity: 0.5;
    fill-opacity: 0;
  }
  20% {
    stroke-opacity: 1;
  }
  60% {
    stroke-dashoffset: 0;
    fill-opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-opacity: 1;
    fill-opacity: 1;
  }
}

/* Ink splash particles */
.ink-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  opacity: 0;
}

.ink-particle.splash {
  animation: inkSplash 0.6s ease-out forwards;
}

@keyframes inkSplash {
  0% { opacity: 0.9; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0); }
}

/* Red seal/stamp mark - BIGGER */
.opening-seal {
  position: absolute;
  bottom: -15px;
  right: -35px;
  width: 52px;
  height: 52px;
  opacity: 0;
}

.opening-seal.show {
  animation: sealStamp 0.35s cubic-bezier(0, 0.9, 0.3, 1.1) forwards;
}

@keyframes sealStamp {
  0% { opacity: 0; transform: scale(1.6) rotate(-8deg); }
  50% { opacity: 0.95; transform: scale(0.92) rotate(2deg); }
  100% { opacity: 0.9; transform: scale(1) rotate(0deg); }
}

/* Red decorative line under kanji - BOLDER */
.opening-red-accent {
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--red-accent), transparent);
  margin-top: 22px;
  transition: none;
}

.opening-red-accent.show {
  animation: accentLine 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes accentLine {
  0% { width: 0; }
  100% { width: 120px; }
}

/* Final transition - ink dissolve */
.opening-overlay.dissolve {
  animation: inkDissolve 0.9s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes inkDissolve {
  0% {
    opacity: 1;
    clip-path: circle(150% at 50% 50%);
  }
  100% {
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
  }
}

/* Ink drip before dissolve */
.opening-overlay.ink-spread .opening-canvas {
  animation: canvasScale 0.4s ease-in forwards;
}

@keyframes canvasScale {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1.06); }
}

@media (max-width: 768px) {
  .opening-kanji-wrap {
    width: 340px;
    height: 170px;
  }
  .opening-subtitle {
    font-size: 1rem;
  }
  .opening-seal {
    width: 40px;
    height: 40px;
    bottom: -10px;
    right: -22px;
  }
}
