:root {
  --primary: #b91c1c; /* Deep Red */
  --primary-hover: #991b1b;
  --dark: #1c1917; /* Stone 900 */
  --light: #fafaf9; /* Stone 50 */
  --stone: #f5f5f4; /* Stone 100 */
  --white: #ffffff;
  --text: #44403c; /* Stone 700 */
  --text-muted: #78716c; /* Stone 500 */
  --border: #e7e5e4; /* Stone 200 */
  --transition: all 0.3s ease;
  --container-width: 1100px;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background-color: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: 'Shippori Mincho', serif;
}

h1, h2, h3, h4 {
  color: var(--dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section { padding: 100px 0; }

@media (max-width: 768px) {
  .section { padding: 60px 0; }
}

.bg-white { background-color: var(--white); }
.bg-stone { background-color: var(--stone); }
.bg-dark { background-color: var(--dark); }
.text-white { color: var(--white); }
.text-red { color: var(--primary); }

/* Skip link */
.skip-link{
  position:absolute;
  left:-9999px;
  top:10px;
  background:#111;
  color:#fff;
  padding:10px 14px;
  border-radius:8px;
  z-index:2000;
}
.skip-link:focus{ left:10px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-dark {
  background-color: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background-color: #000;
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.125rem; }
.w-full { width: 100%; }

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 1px 10px rgba(0,0,0,0.05);
  height: 70px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; flex-direction: column; }

.logo-sub {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.logo-main {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav ul {
  display: flex;
  gap: 20px;
}

.desktop-nav ul li a {
  font-size: 0.9rem;
  font-weight: 500;
}

.desktop-nav ul li a:hover { color: var(--primary); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
}

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--white);
  z-index: 999;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}

.mobile-menu.active { height: calc(100vh - 70px); }

.mobile-menu nav {
  padding: 40px 5%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu ul li a {
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

/* Main: fixed header offset */
main { padding-top: 70px; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 40px 0;
}

.hero-label {
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.2em;
  margin-bottom: 15px;
  display: inline-block;
  border-bottom: 2px solid var(--primary);
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 30px;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.25rem; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
}

/* Section Common */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-subtitle { color: var(--text-muted); }

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* readability on wide screens */
@media (min-width: 1025px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
  background: var(--stone);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 900;
}

.benefit-card h4 { font-size: 1.1rem; margin-bottom: 10px; }

.benefit-card p { font-size: 0.875rem; color: var(--text-muted); }

@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* About Section */
.about-section { position: relative; }

.about-content { max-width: 650px; }

.about-content h3 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--white);
}

.about-content p {
  margin-bottom: 20px;
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.location-info .address {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.access-note { margin-bottom: 30px; }

.location-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .location-grid { grid-template-columns: 1fr; }
}

/* Schedule */
.schedule-table-container {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th, .schedule-table td {
  padding: 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.schedule-table th {
  background: var(--dark);
  color: var(--white);
  font-size: 1.1rem;
}

.schedule-table td { font-size: 1.1rem; }

.schedule-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 24px;
  text-align: left;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover { background-color: var(--stone); }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--text-muted);
}

.faq-item.active .faq-question::after { content: '-'; }

.faq-answer {
  max-height: 0;
  padding: 0 24px;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background-color: var(--white);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}

/* Contact */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark);
  color: var(--white);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.contact-text {
  padding: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-text h3 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.contact-text p {
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.privacy-note {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 24px;
}

.contact-form-placeholder { padding: 80px; }

.contact-form-placeholder h4 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.form-group { margin-bottom: 20px; }

.form-control {
  width: 100%;
  padding: 16px;
  background: #2a2624;
  border: 1px solid #3f3936;
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

@media (max-width: 900px) {
  .contact-box { grid-template-columns: 1fr; }
  .contact-text, .contact-form-placeholder { padding: 40px 24px; }
  .contact-text h3 { font-size: 2rem; }
}

/* Footer */
.main-footer {
  background: var(--stone);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.footer-inner { text-align: center; }

.footer-logo { margin-bottom: 40px; }

.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-nav ul a:hover { color: var(--primary); }

.footer-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.copyright { margin-top: 24px; }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  z-index: 998;
  display: none;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
  border-top: 1px solid var(--border);
}

.sticky-cta .btn {
  width: 100%;
  font-size: 1.125rem;
  padding: 16px;
}

@media (max-width: 768px) {
  .sticky-cta.visible { display: block; }
  body { padding-bottom: 86px; }
}
