/* =============================================
   城ノ浜貸別荘 MakiとSugi — Main Stylesheet
   ============================================= */

:root {
  --forest:   #2C5F5A;
  --ocean:    #1B7A6E;
  --sand:     #E8A87C;
  --sand-lt:  #F5F0E8;
  --wood:     #8B6142;
  --white:    #FAFAF7;
  --text:     #2D2D2D;
  --text-lt:  #666666;
  --border:   #DDD5C8;
  --shadow:   rgba(0,0,0,0.10);
  --radius:   12px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", Georgia, serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.8;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Utility ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-alt { background: var(--sand-lt); }
.section-dark { background: var(--forest); color: #fff; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1rem;
  color: var(--text-lt);
  max-width: 560px;
  margin: 0 auto;
}
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

.divider {
  width: 40px; height: 2px;
  background: var(--sand);
  margin: 16px auto 0;
}

/* ─── Navigation ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
#nav.scrolled {
  background: rgba(250,250,247,0.97);
  box-shadow: 0 2px 20px var(--shadow);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { font-size: 1rem; font-weight: 400; letter-spacing: 0.05em; color: #fff; }
#nav.scrolled .nav-logo { color: var(--forest); }
.nav-logo span { font-size: 0.75rem; display: block; letter-spacing: 0.12em; opacity: 0.8; }

.nav-links {
  display: flex; gap: 32px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.8rem; letter-spacing: 0.08em;
}
.nav-links a { color: rgba(255,255,255,0.9); transition: color var(--transition); }
.nav-links a:hover { color: var(--sand); }
#nav.scrolled .nav-links a { color: var(--text); }
#nav.scrolled .nav-links a:hover { color: var(--ocean); }

.nav-reserve {
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.78rem; letter-spacing: 0.1em;
  background: var(--sand); color: #fff;
  padding: 10px 22px; border-radius: 24px;
  transition: background var(--transition);
}
.nav-reserve:hover { background: var(--wood); }

.nav-hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 8px; background: rgba(0,0,0,0.35); border-radius: 8px; }
.nav-hamburger span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: var(--transition); }
#nav.scrolled .nav-hamburger { background: rgba(0,0,0,0.12); }
#nav.scrolled .nav-hamburger span { background: var(--forest); }

/* ─── Hero ─── */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
#hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 1; color: #fff; padding: 0 24px;
}
.hero-label {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  margin-bottom: 20px; opacity: 0.85;
}
.hero-content h1 {
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  font-weight: 300; line-height: 1.35; margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  opacity: 0.9; max-width: 520px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 32px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.85rem; letter-spacing: 0.12em;
  transition: all var(--transition); cursor: pointer;
  border: none;
}
.btn-primary { background: var(--sand); color: #fff; }
.btn-primary:hover { background: var(--wood); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1; color: rgba(255,255,255,0.7);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-align: center;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 40px;
  background: rgba(255,255,255,0.5); margin: 8px auto 0;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ─── Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.feature-card {
  text-align: center; padding: 40px 24px;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 4px 24px var(--shadow);
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; font-weight: 500; color: var(--forest); }
.feature-card p { font-size: 0.88rem; color: var(--text-lt); line-height: 1.7; }

/* ─── Rooms ─── */
.rooms { display: flex; flex-direction: column; gap: 80px; }
.room-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 40px var(--shadow);
}
.room-block.reverse { direction: rtl; }
.room-block.reverse > * { direction: ltr; }

.room-gallery { position: relative; overflow: hidden; min-height: 420px; }
.room-gallery .main-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.room-gallery:hover .main-img { transform: scale(1.04); }

.room-thumbs {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  display: flex; gap: 8px; justify-content: center;
}
.room-thumbs img {
  width: 60px; height: 45px; object-fit: cover;
  border-radius: 4px; border: 2px solid rgba(255,255,255,0.8);
  cursor: pointer; transition: border-color var(--transition);
}
.room-thumbs img:hover, .room-thumbs img.active { border-color: var(--sand); }

.room-info {
  padding: 48px 44px;
  background: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.room-tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--sand-lt); color: var(--wood);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 16px;
}
.room-info h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 8px; color: var(--forest); }
.room-info .capacity { font-size: 0.88rem; color: var(--text-lt); margin-bottom: 20px; }
.room-info p { font-size: 0.92rem; line-height: 1.9; color: var(--text-lt); margin-bottom: 24px; }
.room-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.spec-tag {
  font-size: 0.78rem;
  background: var(--sand-lt); color: var(--wood);
  padding: 5px 14px; border-radius: 20px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

/* ─── Stove ─── */
.stove-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.stove-images {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.stove-images img {
  border-radius: 8px; object-fit: cover; height: 200px; width: 100%;
}
.stove-images img:first-child {
  grid-column: 1 / -1; height: 280px;
}
.stove-text h2 { font-size: 1.9rem; font-weight: 400; margin-bottom: 20px; color: var(--forest); }
.stove-text p { font-size: 0.95rem; line-height: 2; color: var(--text-lt); margin-bottom: 16px; }

/* ─── Sightseeing ─── */
.spots-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;
}
.spot-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow); transition: transform var(--transition);
}
.spot-card:hover { transform: translateY(-4px); }
.spot-card-img {
  height: 200px; background: var(--sand-lt);
  overflow: hidden;
}
.spot-card-body { padding: 24px; }
.spot-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--forest); }
.spot-card-body p { font-size: 0.85rem; color: var(--text-lt); line-height: 1.7; }
.spot-distance {
  display: inline-block; margin-top: 12px;
  font-size: 0.75rem; font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ocean); border-bottom: 1px solid var(--ocean); padding-bottom: 1px;
}

/* ─── Onsen ─── */
.onsen-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.onsen-text h2 { font-size: 1.9rem; font-weight: 400; margin-bottom: 20px; color: #fff; }
.onsen-text p { font-size: 0.95rem; line-height: 2; color: rgba(255,255,255,0.8); margin-bottom: 16px; }
.onsen-img {
  border-radius: var(--radius); overflow: hidden;
  height: 380px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
}

/* ─── Pricing ─── */
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.pricing-card {
  background: #fff; border-radius: var(--radius); padding: 36px 32px;
  box-shadow: 0 4px 24px var(--shadow);
  border-top: 4px solid var(--sand);
}
.pricing-card.featured { border-top-color: var(--forest); }
.pricing-card h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--forest); }
.pricing-card .tag { font-size: 0.75rem; color: var(--text-lt); margin-bottom: 20px; }
.price-amount {
  font-size: 2rem; color: var(--forest);
  font-family: "Helvetica Neue", Arial, sans-serif; margin-bottom: 4px;
}
.price-amount span { font-size: 0.85rem; color: var(--text-lt); font-family: inherit; }
.price-note { font-size: 0.78rem; color: var(--text-lt); margin-bottom: 20px; }
.pricing-list { font-size: 0.85rem; color: var(--text-lt); }
.pricing-list li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li::before { content: "✓ "; color: var(--ocean); }
.pricing-note {
  margin-top: 40px; text-align: center;
  font-size: 0.85rem; color: var(--text-lt);
  background: var(--sand-lt); border-radius: var(--radius);
  padding: 20px 24px;
}

/* ─── Access ─── */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.access-map {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
  height: 380px;
}
.access-map iframe { width: 100%; height: 100%; border: 0; }
.access-info h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--forest); }
.access-route { margin-bottom: 24px; }
.access-route h4 {
  font-size: 0.85rem; font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ocean); margin-bottom: 8px; letter-spacing: 0.05em;
}
.access-route p { font-size: 0.88rem; color: var(--text-lt); line-height: 1.8; }
.access-address {
  background: var(--sand-lt); border-radius: 8px; padding: 18px 20px;
  font-size: 0.88rem; color: var(--text-lt);
}

/* ─── Reservation ─── */
.reserve-wrap {
  max-width: 680px; margin: 0 auto;
  background: #fff; border-radius: var(--radius);
  padding: 48px 52px;
  box-shadow: 0 8px 40px var(--shadow);
}
.reserve-wrap p { text-align: center; color: var(--text-lt); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; letter-spacing: 0.05em;
  color: var(--text-lt); margin-bottom: 6px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}
.form-group label .req { color: var(--sand); margin-left: 4px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 0.92rem; font-family: inherit;
  background: var(--white); color: var(--text);
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(27,122,110,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--forest); color: #fff;
  border: none; border-radius: 8px; font-size: 1rem;
  cursor: pointer; transition: background var(--transition);
  letter-spacing: 0.1em; font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  margin-top: 8px;
}
.form-submit:hover { background: var(--ocean); }
.reserve-alt {
  text-align: center; margin-top: 24px;
  font-size: 0.85rem; color: var(--text-lt);
}
.reserve-alt a { color: var(--ocean); border-bottom: 1px solid var(--ocean); }

/* ─── Reviews ─── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card {
  background: #fff; border-radius: var(--radius); padding: 28px 28px;
  box-shadow: 0 4px 20px var(--shadow);
}
.review-stars { color: var(--sand); font-size: 1rem; margin-bottom: 12px; }
.review-text { font-size: 0.9rem; line-height: 1.85; color: var(--text-lt); margin-bottom: 16px; }
.review-author { font-size: 0.82rem; color: var(--text); font-family: "Hiragino Kaku Gothic ProN", sans-serif; }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit; font-size: 0.97rem; color: var(--text);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--ocean); }
.faq-question .q-icon { color: var(--sand); font-size: 1.2rem; font-weight: 700; margin-right: 12px; }
.faq-toggle { font-size: 1.3rem; color: var(--sand); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.9rem; color: var(--text-lt); line-height: 1.85;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* ─── Footer ─── */
footer {
  background: #1a1a1a; color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h2 { font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 0.82rem; line-height: 1.8; margin-top: 12px; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand); margin-bottom: 16px; font-family: "Helvetica Neue", sans-serif; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--sand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
}

/* ─── Lightbox ─── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  color: #fff; font-size: 2rem; cursor: pointer; z-index: 1;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 2rem; cursor: pointer;
  background: rgba(255,255,255,0.15); border: none;
  padding: 12px 18px; border-radius: 4px; transition: background var(--transition);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }

/* ─── Animations ─── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Video modal ─── */
.video-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.82rem; color: var(--ocean);
  cursor: pointer; margin-top: 4px;
}
.video-btn .play-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ocean); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav-links, .nav-reserve { display: none; }
  .nav-hamburger { display: flex; }
  .room-block, .room-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .room-gallery { min-height: 280px; }
  .stove-grid, .onsen-block, .access-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .reserve-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero-btns { flex-direction: column; align-items: center; }
  .stove-images img:first-child { height: 200px; }
  .stove-images img { height: 140px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── Mobile nav menu ─── */
#mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--forest); flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  color: #fff; font-size: 1.2rem; letter-spacing: 0.08em;
}
#mobile-menu .close-btn {
  color: #fff; font-size: 1rem; cursor: pointer;
  background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.6);
  border-radius: 32px; padding: 10px 32px;
  margin-top: 12px; letter-spacing: 0.1em;
}

/* ─── 予約状況カレンダー ─── */
.cal-wrap { max-width: 900px; margin: 0 auto; }
.cal-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cal-tab {
  padding: 9px 20px; border-radius: 30px; cursor: pointer;
  border: 1px solid var(--sand); background: #fff; color: var(--text-lt);
  font-size: 0.86rem; font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  transition: var(--transition);
}
.cal-tab:hover { border-color: var(--ocean); color: var(--ocean); }
.cal-tab.active { background: var(--forest); border-color: var(--forest); color: #fff; }

.cal-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 18px; }
.cal-nav button {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--sand); background: #fff; color: var(--forest);
  font-size: 1.2rem; line-height: 1; transition: var(--transition);
}
.cal-nav button:hover:not(:disabled) { background: var(--forest); border-color: var(--forest); color: #fff; }
.cal-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
#cal-title {
  font-size: 1rem; font-weight: bold; color: var(--forest);
  min-width: 190px; text-align: center;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

.cal-months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cal-loading { grid-column: 1 / -1; text-align: center; color: var(--text-lt); padding: 30px 0; font-size: 0.9rem; }
.cal-month {
  background: #fff; border: 1px solid var(--sand-lt);
  border-radius: 12px; padding: 16px;
}
.cal-month h4 {
  text-align: center; font-size: 0.92rem; color: var(--forest); margin-bottom: 12px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow {
  text-align: center; font-size: 0.7rem; color: var(--text-lt);
  padding-bottom: 6px; font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}
.cal-dow.sat { color: #3a7bbf; }
.cal-dow.sun { color: #c0392b; }
.cal-day {
  aspect-ratio: 1 / 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px;
  border-radius: 6px; font-size: 0.78rem;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}
.cal-day.empty { background: none; }
.cal-day .mark { font-size: 0.72rem; line-height: 1; }
.cal-day.open   { background: #eef7f0; color: var(--forest); }
.cal-day.open .mark { color: #2e8b57; }
.cal-day.booked { background: #fdecea; color: #b0392b; }
.cal-day.closed { background: #f2f2f2; color: #b5b5b5; }

.cal-legend {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  margin-top: 22px; font-size: 0.82rem; color: var(--text-lt);
}
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend i { width: 15px; height: 15px; border-radius: 4px; display: inline-block; }
.cal-legend .sw-open   { background: #eef7f0; border: 1px solid #2e8b57; }
.cal-legend .sw-booked { background: #fdecea; border: 1px solid #b0392b; }
.cal-legend .sw-closed { background: #f2f2f2; border: 1px solid #ccc; }

.cal-note {
  margin-top: 18px; font-size: 0.8rem; color: var(--text-lt);
  line-height: 1.9; text-align: center;
}

@media (max-width: 720px) {
  .cal-months { grid-template-columns: 1fr; }
  .cal-tab { padding: 8px 15px; font-size: 0.8rem; }
  .cal-legend { gap: 14px; font-size: 0.76rem; }
}

/* 7日以内のご相談案内 */
.cal-urgent {
  margin-top: 24px; padding: 18px 22px;
  background: #fff8e1; border-left: 4px solid #f0a500;
  border-radius: 8px; font-size: 0.85rem; color: #7a5c00; line-height: 1.9;
}
.cal-urgent-head {
  font-weight: bold; margin-bottom: 6px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}
.cal-urgent-contact { margin-top: 10px; font-weight: bold; }
.cal-urgent-contact a { color: #7a5c00; text-decoration: underline; }
@media (max-width: 720px) {
  .cal-urgent-contact a { display: block; margin-top: 4px; }
}

/* 満室のお知らせ */
#booking-conflict a { color: #8e2b20; text-decoration: underline; font-weight: bold; }
#booking-conflict .conflict-dates {
  display: inline-block; margin: 4px 0;
  background: #fff; border-radius: 4px; padding: 2px 10px; font-weight: bold;
}
#booking-conflict .conflict-contact {
  display: block; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid rgba(142,43,32,0.2); font-size: 0.82rem;
}
