:root {
  --navy: #0d1b4c;
  --navy-light: #16255f;
  --red: #e2231a;
  --red-dark: #b81810;
  --yellow: #ffc426;
  --orange: #ff8a1f;
  --green: #2f9e44;
  --blue: #1f7fd1;
  --cream: #fff8ec;
  --cream-dark: #fbecc9;
  --paper: #f4e4c8;
  --text: #21264a;
  --radius: 16px;
  --shadow: 0 10px 24px rgba(13, 27, 76, 0.12);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: "Fredoka", "Noto Sans JP", sans-serif;
  margin: 0;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "Fredoka", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 3px solid var(--navy);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 5px 0 var(--navy);
}
.btn-primary:hover { box-shadow: 0 7px 0 var(--navy); }
.btn-outline {
  background: var(--cream);
  color: var(--navy);
}
.btn-small {
  border-width: 2px;
  font-size: 13px;
  padding: 8px 14px;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 3px 0 var(--navy);
}
.btn-small:hover { box-shadow: 0 4px 0 var(--navy); }
.btn-submit { width: 100%; margin-top: 20px; font-size: 17px; padding: 16px; }

/* ---------- TOPBAR ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  letter-spacing: 0.02em;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 4px solid var(--navy);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-logo { height: 46px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-cart {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 0 var(--red);
}
.cart-badge {
  background: var(--yellow);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ---------- SECTION HEAD ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; padding: 0 20px; }
.section-kicker {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
  margin: 0 0 10px;
}
.section-kicker.light { color: var(--yellow); }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--navy);
}
.section-sub { margin-top: 12px; color: #565b7a; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 70px 24px 90px;
}
.hero-stripes {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,196,38,0.18), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 26px, transparent 26px 52px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-kicker {
  color: var(--yellow);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}
.hero-title {
  font-size: clamp(34px, 4.6vw, 54px);
  color: #fff;
  line-height: 1.25;
}
.hero-title-accent { color: var(--yellow); }
.hero-desc {
  color: #cfd6f2;
  margin: 22px 0 30px;
  line-height: 1.9;
  font-size: 15.5px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-photo {
  border-radius: 24px;
  border: 6px solid #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--red);
  color: #fff;
  border: 4px solid #fff;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: var(--shadow);
}
.hero-badge-star { font-size: 20px; color: var(--yellow); }

/* ---------- TANABATA BANNER ---------- */
.tanabata {
  background: linear-gradient(180deg, var(--navy) 0%, #16255f 60%, #1b2c6b 100%);
  padding: 70px 24px;
  position: relative;
  overflow: hidden;
}
.tanabata::before {
  content: "★ ✦ ★ ✦ ★ ✦ ★ ✦ ★ ✦ ★ ✦ ★";
  position: absolute;
  top: 18px; left: 0; right: 0;
  text-align: center;
  color: rgba(255,196,38,0.25);
  font-size: 18px;
  letter-spacing: 12px;
}
.tanabata-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 46px;
  align-items: center;
}
.tanabata-image img {
  border-radius: 20px;
  border: 5px solid var(--yellow);
  box-shadow: var(--shadow);
}
.tanabata-title { color: #fff; font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 16px; }
.tanabata-desc { color: #d7ddf4; line-height: 1.85; margin: 0 0 18px; font-size: 15px; }
.tanabata-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.tanabata-list li {
  color: #fff;
  font-weight: 500;
  font-size: 14.5px;
  padding-left: 24px;
  position: relative;
}
.tanabata-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--yellow);
}
.tanabata-price-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.tanabata-price { font-family: "Fredoka", sans-serif; font-size: 32px; font-weight: 700; color: var(--yellow); }
.tanabata-price .unit { font-size: 14px; color: #d7ddf4; margin-left: 4px; }
.tanabata-period { color: #d7ddf4; font-size: 13px; background: rgba(255,255,255,0.08); padding: 5px 12px; border-radius: 999px; }

/* ---------- MENU ---------- */
.menu { padding: 90px 24px; max-width: 1180px; margin: 0 auto; }
.menu-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  background: #fff;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
}
.tab-btn.active, .tab-btn:hover { background: var(--navy); color: #fff; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.menu-card {
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.menu-card:hover { transform: translateY(-6px); }
.menu-card-img { aspect-ratio: 4/3; overflow: hidden; border-bottom: 3px solid var(--navy); }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.menu-card-body h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}
.menu-desc { font-size: 13.5px; color: #5b6083; line-height: 1.7; flex: 1; margin: 0 0 16px; }
.menu-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 20px; color: var(--red); }

/* ---------- ABOUT ---------- */
.about { background: var(--paper); padding: 90px 24px; }
.about-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.about-photo img {
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.about-message { line-height: 1.9; color: #3d4166; margin: 18px 0; font-size: 15px; }
.about-signature { font-family: "Fredoka", sans-serif; font-weight: 600; color: var(--navy); margin-bottom: 30px; }
.about-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: "Fredoka", sans-serif; font-size: 26px; font-weight: 700; color: var(--red); }
.stat-star { color: var(--yellow); }
.stat-label { font-size: 12.5px; color: #5b6083; margin-top: 2px; }

/* ---------- ORDER ---------- */
.order { padding: 90px 24px; max-width: 1180px; margin: 0 auto; }
.order-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  align-items: start;
}
.panel-title { font-size: 19px; color: var(--navy); margin-bottom: 18px; }
.cart-panel, .checkout-panel {
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.cart-empty { text-align: center; padding: 30px 10px; color: #5b6083; }
.cart-empty p { margin-bottom: 18px; line-height: 1.7; }
.cart-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px dashed #d8dcef;
  padding-bottom: 14px;
}
.cart-item img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; border: 2px solid var(--navy); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { margin: 0 0 4px; font-size: 14px; color: var(--navy); }
.cart-item-price { font-size: 13px; color: var(--red); font-weight: 700; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-control button {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.qty-control span { min-width: 18px; text-align: center; font-weight: 700; }
.remove-item {
  background: none; border: none; color: #b3b7d1; cursor: pointer; font-size: 18px; line-height: 1;
}
.remove-item:hover { color: var(--red); }
.cart-summary { border-top: 2px solid var(--navy); padding-top: 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: #3d4166; }
.summary-row.total { font-size: 20px; font-weight: 700; color: var(--navy); font-family: "Fredoka", sans-serif; margin-top: 10px; }
.summary-note { font-size: 11.5px; color: #8b8fb0; margin: 0 0 10px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form-field.full { grid-column: 1 / -1; }
.form-field em { color: var(--red); font-style: normal; margin-left: 3px; }
.form-field input, .form-field select, .form-field textarea {
  font-family: "Noto Sans JP", sans-serif;
  border: 2px solid #cfd3ea;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  background: var(--cream);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 500; font-size: 13.5px; }
.radio-row label { display: flex; align-items: center; gap: 6px; }

/* ---------- ACCESS ---------- */
.access { background: var(--navy); padding: 60px 24px; }
.access-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.access-card {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,196,38,0.4);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.access-card h3 { color: var(--yellow); font-size: 16px; margin-bottom: 10px; }
.access-card p { color: #cfd6f2; font-size: 13.5px; line-height: 1.8; margin: 0; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0a1538;
  color: #9aa1c9;
  text-align: center;
  padding: 30px 24px;
  font-size: 12.5px;
}
.footer-logo { height: 34px; margin: 0 auto 12px; filter: brightness(1.4); }

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,76,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.modal-overlay[hidden] {
  display: none;
}
.modal-box {
  background: var(--cream);
  border: 4px solid var(--navy);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 380px;
  text-align: center;
  box-shadow: var(--shadow);
}
.modal-star { color: var(--yellow); font-size: 26px; margin: 0 0 6px; }
.modal-box h3 { color: var(--navy); font-size: 22px; margin-bottom: 14px; }
.modal-box p { color: #3d4166; line-height: 1.8; margin-bottom: 22px; font-size: 14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-inner, .tanabata-inner, .about-inner, .order-layout { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .access-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; border-bottom: 4px solid var(--navy); max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
  .main-nav.open { max-height: 300px; }
  .main-nav a { padding: 14px 24px; border-top: 1px solid #e3e6f5; }
  .hamburger { display: flex; }
  .menu-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 18px 70px; }
}
