/* ============================================================
   AREA52 - Common Style Sheet
   Design: Military / Tactical, Black & White + Red Accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --color-bg:       #ffffff;
  --color-black:    #111111;
  --color-dark:     #1a1a1a;
  --color-gray:     #666666;
  --color-lightgray:#f4f4f4;
  --color-border:   #dddddd;
  --color-red:      #c0392b;
  --color-red-dark: #96281b;
  --font-jp:        'Noto Sans JP', sans-serif;
  --font-en:        'Barlow Condensed', sans-serif;
  --font-display:   'Bebas Neue', sans-serif;
  --header-h:       100px;
  --topbar-h:       36px;
  --transition:     0.25s ease;
  --shadow:         0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 24px rgba(0,0,0,0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  background: var(--color-bg);
  color: var(--color-black);
  line-height: 1.7;
  font-size: 15px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-jp); cursor: pointer; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--color-dark);
  color: #fff;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  gap: 16px;
  font-size: 13px;
}
.topbar a {
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}
.topbar a:hover { color: #fff; }
.topbar .phone {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  border-left: 1px solid #444;
  padding-left: 16px;
}
.topbar svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-black);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.site-logo img {
  height: 60px; /* PNG同等の視認性を確保 */
  width: auto;
  display: block;
}
.site-logo-text {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 3px;
  line-height: 1;
  color: var(--color-black);
}
.site-logo-text span {
  display: block;
  font-family: var(--font-en);
  font-size: 0.45rem;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--color-gray);
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Navigation ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

.site-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--color-dark);
  z-index: 850;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding-top: 80px;
}
.site-nav.open { right: 0; }

.nav-menu {
  padding: 0 0 40px;
}
.nav-menu li { border-bottom: 1px solid #333; }
.nav-menu > li > a {
  display: block;
  color: #fff;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-en);
  transition: background var(--transition), color var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { background: var(--color-red); color: #fff; }

.nav-submenu { display: none; background: #111; }
.nav-submenu.open { display: block; }
.nav-submenu li { border-bottom: 1px solid #222; }
.nav-submenu a {
  display: block;
  color: #aaa;
  padding: 12px 32px;
  font-size: 13px;
  transition: color var(--transition), background var(--transition);
}
.nav-submenu a:hover { color: #fff; background: #222; }

.nav-toggle-btn {
  background: none;
  border: none;
  color: inherit;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.nav-toggle-btn .arrow {
  font-size: 10px;
  transition: transform var(--transition);
}
.nav-toggle-btn.open .arrow { transform: rotate(90deg); }

/* ---------- Hero / Slider ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  height: 420px;
}
@media (min-width: 768px) { .hero { height: 560px; } }

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}

.slider-btns {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slider-dot.active { background: #fff; transform: scale(1.3); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 10;
}
.slider-arrow:hover { background: rgba(0,0,0,0.7); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

/* ---------- Page Title Banner ---------- */
.page-banner {
  background: var(--color-dark);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 3px solid var(--color-red);
}
.page-banner h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 4px;
  line-height: 1.1;
}
.page-banner .subtitle {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 6px;
  letter-spacing: 2px;
}
.breadcrumb {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 6px; }

/* ---------- Layout ---------- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Section ---------- */
.section {
  padding: 60px 0;
}
.section-alt {
  background: var(--color-lightgray);
}
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 8px;
  line-height: 1.1;
}
.section-sub {
  font-size: 0.82rem;
  color: var(--color-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: block;
}
.section-divider {
  width: 40px;
  height: 3px;
  background: var(--color-red);
  margin-bottom: 32px;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #e0e0e0;
}
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 13px;
}
.card-body { padding: 20px; }
.card-title {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.card-text { font-size: 13px; color: var(--color-gray); line-height: 1.6; }

/* ---------- Price Table ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.price-table th, .price-table td {
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  font-size: 14px;
  text-align: center;
}
.price-table th {
  background: var(--color-dark);
  color: #fff;
  font-family: var(--font-en);
  letter-spacing: 1px;
}
.price-table tr:nth-child(even) td { background: var(--color-lightgray); }
.price-table .price-val {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-red);
}

/* ---------- Bullet Table (弾速表) ---------- */
.bullet-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 14px;
}
.bullet-table th, .bullet-table td {
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  text-align: center;
}
.bullet-table th {
  background: var(--color-black);
  color: #fff;
  font-family: var(--font-en);
  letter-spacing: 1px;
}
.bullet-table .subhead {
  background: #333;
  color: #ddd;
  font-size: 12px;
}
.bullet-table tr:hover td { background: #f9f9f9; }

/* ---------- Info List ---------- */
.info-list { margin-bottom: 24px; }
.info-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  line-height: 1.6;
}
.info-list li:last-child { border-bottom: none; }
.info-list .label {
  width: 100px;
  font-weight: 700;
  color: var(--color-gray);
  flex-shrink: 0;
}

/* ---------- Alert Box ---------- */
.alert-box {
  border-left: 4px solid var(--color-red);
  background: #fff5f5;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.7;
}
.alert-box.info {
  border-color: #2980b9;
  background: #f0f8ff;
}
.alert-box.note {
  border-color: #f39c12;
  background: #fffbf0;
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 2px;
  background: var(--color-red);
}
/* ---------- Step Flow (New Panorama Schedule) ---------- */
/* ---------- Step Flow (Row-based tactical layout) ---------- */
.step-flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
.step-row {
  display: grid;
  gap: 16px;
  position: relative;
}
.step-row.row-3 { grid-template-columns: repeat(3, 1fr); }
.step-row.row-2 { grid-template-columns: repeat(2, 1fr); }
.step-row.row-1 { grid-template-columns: 1fr; }

/* Row Label (Morning/Lunch/Afternoon) */
.step-row-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--color-gray);
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
  display: block;
}

@media (min-width: 800px) {
  .step-row.row-1 { max-width: 300px; margin: 0 auto; width: 100%; }
  .step-row.row-2 { max-width: 620px; margin: 0 auto; width: 100%; }
}
.step-item {
  position: relative;
  text-align: center;
  padding: 20px 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-black);
  transition: all var(--transition);
}
.step-item:hover {
  border-top-color: var(--color-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg { width: 100%; height: 100%; }
.step-time {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  line-height: 1;
}
.step-text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-black);
}
.step-note {
  font-size: 10px;
  color: var(--color-gray);
  display: block;
  margin-top: 4px;
  font-weight: normal;
}

/* Timeline Card (Universal Wide) */
.timeline-card {
  background: #fdfdfd;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-red);
  padding: 40px 24px;
  border-radius: 2px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.timeline-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 3px;
  margin-bottom: 32px;
  text-align: center;
  display: block;
}
.timeline-card-title small {
  display: block;
  font-family: var(--font-jp);
  font-size: 0.85rem;
  color: var(--color-gray);
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Mobile adjustments for Step Flow */
@media (max-width: 799px) {
  .step-flow { gap: 32px; }
  .step-row.row-3, .step-row.row-2, .step-row.row-1 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .step-item {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 12px 16px;
    border-top: 1px solid var(--color-border);
    border-left: 3px solid var(--color-black);
    gap: 16px;
  }
  .step-icon {
    margin: 0;
    width: 32px;
    height: 32px;
  }
  .step-time {
    margin-bottom: 0;
    width: 60px;
  }
}

/* ---------- Tab (for Terms page) ---------- */
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 0;
}
.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gray);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  font-family: var(--font-jp);
  letter-spacing: 0.5px;
}
.tab-btn:hover { color: var(--color-black); }
.tab-btn.active { color: var(--color-black); border-bottom-color: var(--color-red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Terms Text ---------- */
.terms-body h3 {
  font-size: 1rem;
  font-weight: 700;
  border-left: 3px solid var(--color-black);
  padding-left: 10px;
  margin: 28px 0 10px;
}
.terms-body p, .terms-body li {
  font-size: 13px;
  line-height: 1.9;
  color: #333;
}
.terms-body ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.terms-body .article {
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 4px;
  margin: 32px 0 12px;
  font-size: 1rem;
}
.terms-history {
  font-size: 12px;
  color: var(--color-gray);
  margin-top: 40px;
  line-height: 2;
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  background: #e0e0e0;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-jp);
}
.btn-primary {
  background: var(--color-black);
  color: #fff;
  border-color: var(--color-black);
}
.btn-primary:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}
.btn-outline {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}
.btn-outline:hover {
  background: var(--color-black);
  color: #fff;
}
.btn-red {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}
.btn-red:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
}

/* ---------- HOME: Quick Links ---------- */
.quicklinks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-bottom: 0;
}
@media (min-width: 600px) { .quicklinks { grid-template-columns: repeat(4, 1fr); } }
.quicklink-item {
  background: var(--color-bg);
  padding: 24px 16px;
  text-align: center;
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.quicklink-item:hover { background: var(--color-black); color: #fff; }
.quicklink-item svg { width: 32px; height: 32px; }
.quicklink-item span {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.quicklink-item small {
  font-size: 11px;
  color: var(--color-gray);
  display: block;
}
.quicklink-item:hover small { color: #aaa; }

/* ---------- Home Intro Section ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 768px) {
  .intro-grid { grid-template-columns: 1fr 1fr; }
}
.intro-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #e0e0e0;
  border: 1px solid var(--color-border);
}
.intro-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e0e0e0;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.intro-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
  line-height: 1.1;
}
.intro-text p {
  font-size: 14px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ---------- Icon Feature Row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 600px) { .feature-row { grid-template-columns: repeat(4, 1fr); } }
.feature-item { text-align: center; padding: 20px 12px; }
.feature-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  background: var(--color-black);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-item h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-en);
}
.feature-item p { font-size: 12px; color: var(--color-gray); margin-top: 4px; }

/* ---------- Access Section ---------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 768px) { 
  .access-grid { 
    grid-template-columns: 1.1fr 0.9fr; 
  } 
}
.map-embed {
  width: 100%;
  aspect-ratio: 16/10;
  border: 1px solid var(--color-border);
  background: #e0e0e0;
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: #aaa;
  padding: 40px 20px 20px;
  margin-top: 0;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}
.footer-logo {
  margin-bottom: 12px;
}
.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
  filter: invert(1) brightness(0.85); /* オフホワイトに反転 */
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 20px;
}
.footer-links a {
  font-size: 12px;
  color: #888;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-sns {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-sns a {
  width: 36px; height: 36px;
  border: 1px solid #444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: all var(--transition);
}
.footer-sns a:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.05); }
.footer-sns svg { width: 16px; height: 16px; }
.footer-copy {
  border-top: 1px solid #333;
  padding-top: 16px;
  font-size: 11px;
  text-align: center;
  color: #555;
}

/* ---------- Reservation System (integrated) ---------- */
.rsv-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 60px;
}
.rsv-type-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 2px solid var(--color-border);
}
.rsv-type-btn {
  flex: 1;
  padding: 16px;
  background: var(--color-lightgray);
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gray);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-jp);
  letter-spacing: 0.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.rsv-type-btn .icon-badge {
  font-size: 20px;
}
.rsv-type-btn.active {
  background: var(--color-bg);
  color: var(--color-black);
  border-bottom-color: var(--color-red);
}
.rsv-type-btn:hover:not(.active) {
  background: #eee;
  color: var(--color-black);
}

.rsv-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 28px;
}
@media (min-width: 768px) {
  .rsv-main { grid-template-columns: 1fr 380px; }
}

/* Calendar */
.cal-panel {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}
.cal-nav {
  background: var(--color-black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
.cal-nav h3 {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.cal-nav button {
  background: none;
  border: 1px solid #444;
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition);
  font-size: 14px;
}
.cal-nav button:hover { background: #333; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.cal-header {
  background: var(--color-lightgray);
  text-align: center;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-gray);
  border-bottom: 1px solid var(--color-border);
}
.cal-header.sun { color: var(--color-red); }
.cal-header.sat { color: #2980b9; }
.cal-day {
  min-height: 54px;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  padding: 6px;
  cursor: pointer;
  transition: background var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cal-day:nth-child(7n) { border-right: none; }
.cal-day .day-num {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-black);
}
.cal-day.other-month .day-num { color: #ccc; }
.cal-day.sunday .day-num { color: var(--color-red); }
.cal-day.saturday .day-num { color: #2980b9; }
.cal-day.today { background: #fff8f8; }
.cal-day.today .day-num { color: var(--color-red); font-weight: 900; }
.cal-day.selected { background: var(--color-black); }
.cal-day.selected .day-num { color: #fff; }
.cal-day.past { opacity: 0.4; pointer-events: none; }
.cal-day.unavailable { background: #f8f8f8; pointer-events: none; }
.cal-day.unavailable .day-num { color: #bbb; }
.cal-day-badge {
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 2px;
  margin-top: 3px;
  font-weight: 700;
  line-height: 1.3;
}
.badge-event { background: var(--color-red); color: #fff; }
.badge-available { background: #2ecc71; color: #fff; }
.badge-limited { background: #f39c12; color: #fff; }
.badge-full { background: #95a5a6; color: #fff; }

/* Form Panel */
.form-panel {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}
.form-panel-head {
  background: var(--color-black);
  color: #fff;
  padding: 14px 18px;
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 2px;
}
.form-panel-body { padding: 20px; }
.form-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-gray);
  font-size: 13px;
}
.form-empty svg {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  color: #ccc;
}

.rsv-form-group { margin-bottom: 18px; }
.rsv-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #333;
}
.rsv-form-group label .req { color: var(--color-red); margin-left: 3px; }
.rsv-input, .rsv-select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font-jp);
  color: var(--color-black);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
}
.rsv-input:focus, .rsv-select:focus { border-color: var(--color-black); }
.rsv-select-wrap { position: relative; }
.rsv-select-wrap::after {
  content: '';
  position: absolute;
}
/* ---------- Reservation Clean System ---------- */
.rsv-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.rsv-main-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: start;
}

/* Notice Banner */
.rsv-notice-banner {
  background: #fdf2f2;
  border: 1px solid #fecaca;
  padding: 16px 20px;
  border-radius: 4px;
  margin-bottom: 30px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: #b91c1c;
  line-height: 1.6;
}
.rsv-notice-banner strong { font-weight: 700; display: block; margin-bottom: 2px; }

/* Calendar Section */
.cal-panel-new {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--shadow);
}
.rsv-section-head { margin-bottom: 24px; }
.rsv-section-head .section-title { 
  font-family: var(--font-en); 
  font-size: 1.8rem; 
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.section-desc { font-size: 13px; color: var(--color-gray); }

.cal-nav-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.cal-nav-btn {
  background: #fff;
  border: 1px solid var(--color-border);
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s;
}
.cal-nav-btn:hover:not(:disabled) { border-color: var(--color-red); color: var(--color-red); }
.cal-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
#current-month-display { font-family: var(--font-en); font-size: 1.3rem; font-weight: 700; color: var(--color-black); }

.cal-grid-head-new {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.cal-grid-new {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.cal-day {
  background: #fff;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  padding: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.cal-day:hover:not(.disabled) { background: #fff5f5; color: var(--color-red); }
.cal-day.today { background: #fffcf0; }
.cal-day.today::after { content: 'TODAY'; font-size: 8px; font-weight: 700; color: #d4a017; margin-top: auto; }
.cal-day.sunday { color: var(--color-red); }
.cal-day.saturday { color: #2980b9; }
.cal-day.selected { background: var(--color-red) !important; color: #fff !important; }
.cal-day.disabled { background: #f8f8f8; color: #ccc; cursor: not-allowed; }

/* Side Panel Form */
.rsv-side-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 480px;
}
.rsv-empty-state {
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ccc;
}
.rsv-empty-state p { margin-top: 14px; color: #888; font-size: 13px; }

.rsv-form-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.rsv-form-header h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.badge { display: inline-block; padding: 2px 8px; font-size: 10px; font-weight: 700; border-radius: 2px; }
.badge.regular { background: #fdf2f2; color: var(--color-red); border: 1px solid #fecaca; }
.badge.charter { background: #f8f8f8; color: #666; border: 1px solid #ddd; }

.rsv-inventory {
  background: #f9f9f9;
  padding: 14px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.inv-item { margin-bottom: 10px; }
.inv-item:last-child { margin-bottom: 0; }
.inv-label { font-size: 11px; font-weight: 500; color: #666; margin-bottom: 4px; display: block; }
.inv-bar-wrap { height: 4px; background: #eee; border-radius: 2px; overflow: hidden; }
.inv-bar { height: 100%; width: 0; background: var(--color-red); transition: width 0.4s ease-out; }
.inv-count { display: block; font-size: 11px; text-align: right; color: #888; margin-top: 2px; }

.rsv-field-group { margin-bottom: 16px; }
.rsv-field-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.rsv-select, .rsv-input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}
.rsv-select:focus, .rsv-input:focus { border-color: var(--color-red); }

.rsv-num-input-wrap { display: flex; align-items: center; border: 1px solid var(--color-border); width: 130px; border-radius: 2px; }
.num-btn { width: 34px; height: 34px; background: #fff; border: none; font-size: 1rem; cursor: pointer; }
.num-btn:hover { background: #f5f5f5; }
.rsv-num-input-wrap input { flex: 1; text-align: center; border: none; font-weight: 700; width: 40px; outline: none; }
.unit { padding-right: 8px; font-size: 11px; color: #999; }

.rsv-time-inputs { display: flex; align-items: center; gap: 8px; }
.rsv-time-inputs input { width: 100px; }

.rsv-summary {
  background: #f9f9f9;
  padding: 12px;
  margin-top: 20px;
  margin-bottom: 16px;
  border-radius: 4px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.status-ok { color: var(--color-red); font-weight: 700; }
.status-error { color: #d32f2f; font-weight: 700; }

.rsv-success-state { text-align: center; padding: 30px 0; }
.success-icon { font-size: 50px; color: var(--color-red); margin-bottom: 16px; }

/* Regulation Modal New */
.rsv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.rsv-modal-content {
  background: #fff;
  width: 100%;
  max-width: 580px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  border-radius: 2px;
}
.rsv-modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rsv-modal-header h2 { font-size: 1.1rem; font-weight: 700; }
.modal-close-btn { background: none; border: none; color: #999; font-size: 20px; cursor: pointer; }
.rsv-modal-body { padding: 24px; overflow-y: auto; font-size: 14px; line-height: 1.8; color: #444; }
.rsv-modal-body h3 { font-size: 0.95rem; font-weight: 700; margin: 20px 0 8px; color: var(--color-black); }
.rsv-modal-body h3:first-child { margin-top: 0; }
.specs-box { background: #f5f5f5; padding: 12px; border-radius: 2px; margin: 10px 0; font-size: 13px; }
.rsv-modal-footer { padding: 20px 24px; border-top: 1px solid #eee; background: #fcfcfc; }

/* ---------- Contact Form ---------- */
.contact-form { max-width: 560px; }
.cf-group { margin-bottom: 20px; }
.cf-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cf-group label .req { color: var(--color-red); }
.cf-input, .cf-textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font-jp);
  outline: none;
  transition: border-color var(--transition);
}
.cf-input:focus, .cf-textarea:focus { border-color: var(--color-black); }
.cf-textarea { min-height: 140px; resize: vertical; }

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.text-red { color: var(--color-red); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.w-full { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .rsv-main-grid { grid-template-columns: 1fr; gap: 30px; }
  .rsv-side-panel { min-height: auto; }
}
@media (max-width: 600px) {
  .page-banner h1 { font-size: 2rem; }
  .section { padding: 40px 0; }
  .hero { height: 280px; }
  .cal-panel-new { padding: 15px; }
  .cal-day { font-size: 12px; }
}
