/* =========================================
   Base Variables & Resets
========================================= */
:root {
  --color-primary: #3b4d42; /* Deep moss green (Japanese traditional feel) */
  --color-accent: #C75233; /* Cinnabar / Vermilion CTA */
  --color-bg: #fbfaf5; /* Warm off-white */
  --color-bg-light: #f1ebd9;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-gold: #b38c4b;
  --color-white: #ffffff;
  
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  letter-spacing: 0.05em;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

/* =========================================
   Typography & Utilities
========================================= */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.highlight {
  color: var(--color-accent);
  font-weight: 700;
}

.sp-br {
  display: none;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.bg-white {
  background-color: var(--color-white);
}

.shadow-box {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Buttons
========================================= */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 6px 15px rgba(199, 82, 51, 0.3);
}

.btn-primary:hover {
  background-color: #a84226;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(199, 82, 51, 0.4);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #2c3a31;
  transform: translateY(-2px);
}

.btn-large {
  width: 100%;
  max-width: 400px;
  font-size: 1.2rem;
  padding: 20px;
}

.btn-text { margin-right: 10px; }
.btn-arrow { font-size: 1.2rem; font-family: var(--font-serif); }

.center-btn-wrapper { text-align: center; margin-top: 2rem; }

/* =========================================
   Header
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 100;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-primary);
}

.header-btn {
  background-color: var(--color-accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* =========================================
   First View (FV)
========================================= */
.fv {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  padding: 100px 20px; background-color: var(--color-primary); overflow: hidden;
  background-image: url('file:///C:/Users/monky/.gemini/antigravity/brain/85b9953f-909f-4aa2-9a91-627127d7ddcd/fv_bg_mountain_1776290232306.png');
  background-size: cover;
  background-position: center;
}

.fv-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2c3e34 100%);
  opacity: 0.9;
  z-index: 1;
}

/* Normally you'd set a background image here */
.fv::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('https://placehold.co/1200x800/2c3e34/fff?text=FV+Image');
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* blend with color */
  z-index: 0;
}

.fv-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.fv-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.fv-subtitle {
  font-size: 1.4rem;
  color: var(--color-gold);
  display: block;
  margin-bottom: 10px;
}

.fv-desc {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* =========================================
   Problem Section
========================================= */
.problem {
  padding: 80px 0;
  position: relative;
}

.problem-list {
  background: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  border: 2px solid var(--color-primary);
}

.problem-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.problem-item:last-child {
  margin-bottom: 0;
}

.check-icon {
  background: var(--color-primary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-right: 15px;
  margin-top: 5px;
}

.arrow-down {
  width: 0; 
  height: 0; 
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--color-primary);
  margin: 0 auto;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* =========================================
   Solution Section
========================================= */
.solution {
  padding: 100px 0 80px;
  text-align: center;
  background-color: var(--color-bg-light);
}

.solution-desc {
  font-size: 1.2rem;
  color: var(--color-text);
}

/* =========================================
   Features Section
========================================= */
.features {
  padding: 80px 0;
}

.feature-card {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.feature-card.reverse {
  flex-direction: row-reverse;
}

.feature-img {
  flex: 1; height: 300px; border-radius: 12px;
  display: flex; overflow: hidden;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.nano-banana-prompt { font-size: 0.85rem; color: #666; background: rgba(255,255,255,0.8); padding: 10px; border-radius: 5px; }

.feature-text {
  flex: 1;
}

.feature-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-gold);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.feature-text h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

/* =========================================
   CTA Section
========================================= */
.cta-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-desc {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* =========================================
   Voices & FAQ
========================================= */
.voices { padding: 80px 0; }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.voice-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  border-top: 5px solid var(--color-gold);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.voice-icon { font-weight: bold; margin-bottom: 10px; color: var(--color-primary); }
.voice-title { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 10px; }

.faq { padding: 80px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--color-white);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.faq-item summary {
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--color-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
}
.faq-item[open] summary::after { content: "-"; }
.faq-answer {
  padding: 0 20px 20px;
  color: var(--color-text-light);
}

/* =========================================
   Booking UI (LP Internal)
========================================= */
.booking-ui {
  padding: 100px 0;
  background-color: var(--color-primary);
}

.booking-header {
  text-align: center;
  color: var(--color-white);
  margin-bottom: 40px;
}
.booking-title { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 10px; }

.booking-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.booking-step {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px dashed #ddd;
  transition: opacity 0.3s;
}

.booking-step:last-of-type {
  border-bottom: none;
  margin-bottom: 20px;
}

.booking-step.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.step-label {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
}

.step-num {
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 15px;
}

/* Calendar */
.calendar-wrapper { margin-bottom: 15px; }
.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: bold;
}
.cal-btn {
  background: var(--color-bg-light); border: none; padding: 5px 15px; border-radius: 5px; cursor: pointer;
}
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.calendar-table th { padding: 10px 0; font-size: 0.9rem; color: var(--color-text-light); }
.calendar-table th.sun { color: #d9534f; }
.calendar-table th.sat { color: #5bc0de; }
.calendar-table td {
  padding: 12px 0;
  cursor: pointer;
  border: 1px solid #f1f1f1;
  transition: all 0.2s;
}
.calendar-table td:hover:not(:empty) { background-color: var(--color-bg-light); }
.calendar-table td.selected {
  background-color: var(--color-accent);
  color: var(--color-white);
  font-weight: bold;
  border-radius: 4px;
}
.calendar-table td.past { color: #ccc; pointer-events: none; }
.selected-status { font-weight: bold; color: var(--color-accent); }

/* Time Slots */
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
}
.time-slot {
  background: var(--color-bg);
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
  color: var(--color-text);
}
.time-slot:hover { border-color: var(--color-primary); background: var(--color-bg-light); }
.time-slot.selected { background-color: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.req { background: #d9534f; color: white; font-size: 0.7rem; padding: 2px 6px; border-radius: 3px; margin-left: 5px; }
.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}
.form-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(59, 77, 66, 0.2); }

.booking-action { text-align: center; margin-top: 30px; }
.confirm-text { margin-bottom: 15px; font-weight: bold; }
.btn-submit { width: 100%; max-width: 400px; padding: 20px; font-size: 1.2rem; }
.btn-submit:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; transform: none; }

.booking-success { text-align: center; padding: 40px 0; }
.success-icon { font-size: 4rem; margin-bottom: 20px; }
.booking-success h3 { color: var(--color-primary); font-size: 2rem; margin-bottom: 15px; }
.success-sub { margin-top: 20px; font-weight: bold; color: var(--color-accent); }

/* =========================================
   Footer
========================================= */
.footer {
  background-color: #2c3a31;
  color: var(--color-white);
  padding: 40px 0;
}
.footer-logo { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 10px; }
.footer-address { opacity: 0.8; margin-bottom: 20px; }
.footer-copy { font-size: 0.8rem; opacity: 0.6; }

/* =========================================
   Responsive Adjustments
========================================= */
@media (max-width: 768px) {
  .header-container { padding: 0 15px; }
  .header-logo { font-size: 1.1rem; }
  .header-btn { padding: 8px 12px; font-size: 0.8rem; }
  .fv-title { font-size: 1.6rem; }
  .fv-subtitle { font-size: 1.0rem; }
  .fv-desc { font-size: 0.8rem; }
  .section-title { font-size: 1.5rem; margin-bottom: 2rem; }
  .feature-card, .feature-card.reverse { flex-direction: column; gap: 20px; }
  .feature-img { width: 100%; height: 200px; }
  .feature-text h3 { font-size: 1.3rem; }
  .form-row { grid-template-columns: 1fr; }
  .booking-container { padding: 20px; }
  .sp-br { display: block; }
}

/* =========================================
   Rooms Page Adjustments
========================================= */
.rooms-fv {
  min-height: 60vh;
  padding: 80px 20px;
}
.rooms-fv .fv-title {
  font-size: 2.8rem;
}
@media (max-width: 768px) {
  .rooms-fv .fv-title {
    font-size: 1.8rem;
  }
}
