/* ============================================
   Trattoria BELLA - Stylesheet
   ============================================ */

:root {
  --color-bg: #f7f1e6;
  --color-bg-alt: #f1e9d8;
  --color-text: #2a2118;
  --color-text-mute: #6e6357;
  --color-accent: #a3252b;
  --color-accent-dark: #7a1a1f;
  --color-dark: #1c1612;
  --color-line: #d8c9a8;
  --color-gold: #b08a3e;
  --font-jp-serif: 'Noto Serif JP', 'Yu Mincho', serif;
  --font-jp-sans: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --font-en-serif: 'Cormorant Garamond', serif;
  --font-script: 'Dancing Script', cursive;
  --container: 1100px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-jp-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(28, 22, 18, .92);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.logo {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.logo-sub {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .1em;
  margin-bottom: 2px;
}
.logo-main {
  font-family: var(--font-en-serif);
  font-size: 28px;
  letter-spacing: .15em;
  font-weight: 600;
}
.logo-cuisine {
  font-family: var(--font-en-serif);
  font-size: 9px;
  letter-spacing: .25em;
  margin-top: 2px;
  color: var(--color-line);
}
.nav-pc {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-pc a {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  transition: opacity .2s;
}
.nav-pc a:hover { opacity: .7; }
.nav-en {
  font-family: var(--font-en-serif);
  font-size: 13px;
  letter-spacing: .15em;
  font-weight: 500;
}
.nav-jp { font-size: 9px; letter-spacing: .15em; margin-top: 2px; }
.btn-reserve-nav {
  background: var(--color-accent);
  padding: 10px 22px;
  border-radius: 2px;
}
.btn-reserve-nav .nav-en { font-size: 12px; }
.hamburger {
  display: none;
  background: none; border: none;
  width: 32px; height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}
.nav-sp {
  display: none;
  background: rgba(28, 22, 18, .98);
  flex-direction: column;
  padding: 20px 40px;
}
.nav-sp a {
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
  letter-spacing: .1em;
}
.nav-sp.open { display: flex; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1608897013039-887f21d8c804?auto=format&fit=crop&w=2000&q=85');
  background-size: cover;
  background-position: center;
  filter: brightness(.85);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(247,241,230,.9) 0%, rgba(247,241,230,.5) 35%, transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-card {
  max-width: 520px;
  padding-top: 60px;
}
.hero-title {
  font-family: var(--font-jp-serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-dark);
  margin-bottom: 24px;
  letter-spacing: .05em;
}
.hero-lead {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 18px;
}
.hero-script {
  font-family: var(--font-script);
  font-size: 36px;
  color: var(--color-accent);
  margin-bottom: 28px;
  line-height: 1;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-accent);
  color: #fff;
  padding: 16px 40px;
  font-size: 14px;
  letter-spacing: .15em;
  border-radius: 2px;
  transition: background .25s, transform .25s;
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); }
.arrow { font-family: serif; font-size: 18px; line-height: 1; }

/* ============================================
   SECTION COMMON
   ============================================ */
section { position: relative; }
.section-head {
  text-align: center;
  padding: 80px 20px 40px;
}
.section-head.left { text-align: left; padding-left: 0; }
.section-title {
  font-family: var(--font-en-serif);
  font-size: 36px;
  letter-spacing: .25em;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.section-title.light { color: #fff; }
.section-sub {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--color-text-mute);
  margin-bottom: 18px;
}
.section-sub.light { color: rgba(255,255,255,.85); }
.divider {
  display: flex; justify-content: center; align-items: center;
  margin: 0 auto;
}
.divider.left { justify-content: flex-start; }
.divider span {
  display: block;
  width: 60px; height: 1px;
  background: var(--color-gold);
  position: relative;
}
.divider span::before, .divider span::after {
  content: '';
  position: absolute; top: 50%;
  width: 5px; height: 5px;
  border: 1px solid var(--color-gold);
  transform: translateY(-50%) rotate(45deg);
}
.divider span::before { left: -8px; }
.divider span::after { right: -8px; }
.divider.light span, .divider.light span::before, .divider.light span::after {
  background: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.6);
}
.divider.light span::before, .divider.light span::after { background: transparent; }

.center-btn { text-align: center; padding: 20px 0 80px; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 36px;
  border: 1px solid var(--color-dark);
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--color-dark);
  transition: background .25s, color .25s;
}
.btn-outline:hover { background: var(--color-dark); color: #fff; }

.btn-outline-light {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 36px;
  border: 1px solid #fff;
  font-size: 13px;
  letter-spacing: .15em;
  color: #fff;
  transition: background .25s, color .25s;
}
.btn-outline-light:hover { background: #fff; color: var(--color-dark); }

/* ============================================
   CONCEPT
   ============================================ */
.concept {
  background: var(--color-bg);
  padding-bottom: 100px;
  overflow: hidden;
}
.leaf-deco {
  position: absolute;
  width: 180px; height: 180px;
  opacity: .35;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.leaf-left {
  left: 30px; top: 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg stroke='%23b08a3e' stroke-width='1' fill='none'%3E%3Cpath d='M20 70 Q 30 40 60 30'/%3E%3Cellipse cx='30' cy='55' rx='3' ry='8' transform='rotate(-30 30 55)'/%3E%3Cellipse cx='38' cy='48' rx='3' ry='8' transform='rotate(-40 38 48)'/%3E%3Cellipse cx='46' cy='42' rx='3' ry='8' transform='rotate(-50 46 42)'/%3E%3Cellipse cx='54' cy='36' rx='3' ry='8' transform='rotate(-60 54 36)'/%3E%3C/g%3E%3C/svg%3E");
}
.leaf-right {
  right: 30px; top: 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg stroke='%23b08a3e' stroke-width='1' fill='none'%3E%3Cpath d='M80 70 Q 70 40 40 30'/%3E%3Cellipse cx='70' cy='55' rx='3' ry='8' transform='rotate(30 70 55)'/%3E%3Cellipse cx='62' cy='48' rx='3' ry='8' transform='rotate(40 62 48)'/%3E%3Cellipse cx='54' cy='42' rx='3' ry='8' transform='rotate(50 54 42)'/%3E%3Cellipse cx='46' cy='36' rx='3' ry='8' transform='rotate(60 46 36)'/%3E%3C/g%3E%3C/svg%3E");
}
.concept-body {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}
.concept-lead {
  font-family: var(--font-jp-serif);
  font-size: 22px;
  margin-bottom: 28px;
  letter-spacing: .05em;
  color: var(--color-dark);
}
.concept-text {
  font-size: 14px;
  line-height: 2.2;
  color: var(--color-text-mute);
}

/* ============================================
   MENU
   ============================================ */
.menu {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23241a13'/%3E%3C/svg%3E") repeat;
  background-color: #1c1612;
  background-image:
    linear-gradient(rgba(28,22,18,.85), rgba(28,22,18,.92)),
    url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.menu .section-title { color: #fff; }
.menu .section-sub { color: rgba(255,255,255,.8); }
.menu .divider span,
.menu .divider span::before,
.menu .divider span::after {
  background: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.6);
}
.menu .divider span::before, .menu .divider span::after { background: transparent; }
.menu-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.menu-card {
  background: #faf6ec;
  padding: 0 0 22px;
  text-align: center;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.menu-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
}
.menu-name {
  font-family: var(--font-jp-serif);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-dark);
  padding: 0 12px;
  letter-spacing: .05em;
}
.menu-desc {
  font-size: 11px;
  color: var(--color-text-mute);
  padding: 0 18px;
  margin-bottom: 14px;
  line-height: 1.7;
  min-height: 38px;
}
.menu-price {
  font-family: var(--font-en-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-dark);
}
.menu-price span { font-size: 13px; margin-left: 4px; }
.menu .center-btn .btn-outline { background: transparent; border-color: #fff; color: #fff; }
.menu .center-btn .btn-outline:hover { background: #fff; color: var(--color-dark); }

/* ============================================
   COURSE
   ============================================ */
.course { background: var(--color-bg-alt); padding-bottom: 100px; }
.course-body {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.course-name {
  font-family: var(--font-jp-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--color-dark);
}
.course-desc {
  font-size: 13px;
  line-height: 2;
  color: var(--color-text-mute);
  margin-bottom: 26px;
}
.course-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
}
.course-price .label { font-size: 13px; color: var(--color-text); }
.course-price .price {
  font-family: var(--font-en-serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--color-accent);
}
.course-price .unit { font-size: 14px; color: var(--color-text); }
.course-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  background: #1c1612;
  background-image: linear-gradient(rgba(28,22,18,.7), rgba(28,22,18,.7)),
    url('https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
}
.gallery-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  transition: transform .4s, box-shadow .4s;
  cursor: pointer;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
}

/* ============================================
   RESERVATION
   ============================================ */
.reservation {
  background: var(--color-accent);
  color: #fff;
  padding: 56px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reservation::before, .reservation::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg stroke='rgba(255,255,255,.18)' stroke-width='.7' fill='none'%3E%3Cpath d='M20 70 Q 30 40 60 30'/%3E%3Cellipse cx='30' cy='55' rx='3' ry='8' transform='rotate(-30 30 55)'/%3E%3Cellipse cx='38' cy='48' rx='3' ry='8' transform='rotate(-40 38 48)'/%3E%3Cellipse cx='46' cy='42' rx='3' ry='8' transform='rotate(-50 46 42)'/%3E%3Cellipse cx='54' cy='36' rx='3' ry='8' transform='rotate(-60 54 36)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.reservation::before { left: 20px; top: 50%; transform: translateY(-50%); }
.reservation::after { right: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.reservation-head {
  font-family: var(--font-jp-serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: .05em;
}
.reservation-grid {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.reservation-card {
  background: rgba(255,255,255,.08);
  padding: 24px 20px;
  border-radius: 2px;
}
.card-label {
  font-size: 12px;
  letter-spacing: .15em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ico { font-size: 14px; }
.phone-number {
  font-family: var(--font-en-serif);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.phone-hours { font-size: 11px; opacity: .85; }
.btn-white {
  display: inline-flex;
  align-items: center; gap: 12px;
  background: #fff;
  color: var(--color-accent);
  padding: 14px 38px;
  font-size: 13px;
  letter-spacing: .15em;
  border-radius: 2px;
  transition: transform .2s, box-shadow .2s;
  margin-top: 8px;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }

/* ============================================
   ACCESS
   ============================================ */
.access {
  background: var(--color-bg);
  padding: 0 0 80px;
}
.access .section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 40px 30px;
}
.access-body {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.access-info { font-size: 13px; line-height: 1.9; color: var(--color-text); }
.access-info p { margin-bottom: 12px; }
.shop-name {
  font-family: var(--font-jp-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--color-dark);
}
.access-block { margin-top: 8px; }
.access-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ddd;
  overflow: hidden;
  border-radius: 2px;
}
.access-map iframe {
  width: 100%; height: 100%; border: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-dark);
  color: #fff;
  padding: 50px 30px 24px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { align-items: flex-start; }
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.footer-nav a:hover { color: #fff; }
.footer-sns { display: flex; gap: 14px; }
.sns-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: #fff;
  transition: background .2s, color .2s;
}
.sns-icon:hover { background: #fff; color: var(--color-dark); }
.sns-icon svg { width: 16px; height: 16px; }
.copyright {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin-top: 20px;
  letter-spacing: .05em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .course-body { grid-template-columns: 1fr; }
  .access-body { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-logo { align-items: center; }
  .footer-sns { justify-content: center; }
  .menu { background-attachment: scroll; }
}

@media (max-width: 720px) {
  .site-header { padding: 14px 20px; }
  .nav-pc { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 0 24px; }
  .hero-card { padding-top: 80px; }
  .hero-title { font-size: 28px; }
  .hero-script { font-size: 28px; }
  .section-title { font-size: 28px; letter-spacing: .2em; }
  .leaf-deco { width: 100px; height: 100px; opacity: .25; }
  .reservation-grid { grid-template-columns: 1fr; }
  .reservation::before, .reservation::after { display: none; }
  .phone-number { font-size: 28px; }
  .menu-grid, .gallery-grid { padding: 0 20px; }
  .course-body, .access-body, .access .section-head { padding: 0 20px; }
  .access .section-head { padding-top: 60px; }
  .concept-lead { font-size: 18px; }
  .course-name { font-size: 19px; }
  .course-price .price { font-size: 32px; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-img { aspect-ratio: 16 / 10; }
  .menu-card { max-width: 360px; margin: 0 auto; }
}
