/* ═══════════════════════════════════════════
   甘口派 — Main Stylesheet
   ═══════════════════════════════════════════ */

/* ── RESET & VARIABLES ──────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:     #FFFFFF;
  --bg:        #F7F6F2;
  --surface:   #EEECEA;
  --ink:       #1A1A18;
  --mid:       #5A5A58;
  --muted:     #999892;
  --border:    rgba(26,26,24,0.10);
  --font:      'Noto Sans JP', 'Noto Sans TC', -apple-system, sans-serif;
  --langbar-h: 34px;
  --nav-h:     56px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a   { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── LANGUAGE BAR ───────────────────────── */
.lang-bar {
  position: sticky;
  top: 0;
  z-index: 201;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  padding: 0.2rem 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.15s;
  border-right: 1px solid var(--border);
  line-height: 1;
}
.lang-btn:last-child { border-right: none; }
.lang-btn:hover      { color: var(--ink); }
.lang-btn.active     { color: var(--ink); font-weight: 500; }

/* ── NAV ────────────────────────────────── */
nav {
  position: sticky;
  top: var(--langbar-h);
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
  height: var(--nav-h);
}
.nav-brand { font-size: 15px; font-weight: 400; letter-spacing: 0.08em; }
.nav-links { list-style: none; display: flex; }
.nav-links a {
  display: block;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--mid);
  padding: 0 1.2rem;
  height: var(--nav-h);
  line-height: var(--nav-h);
  border-left: 1px solid var(--border);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover      { color: var(--ink); background: var(--bg); }
.nav-links .nav-book    { background: var(--ink); color: var(--white); font-weight: 400; }
.nav-links .nav-book:hover { background: var(--mid); color: var(--white); }

/* ── UTILITIES ──────────────────────────── */
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  line-height: 1.35;
}
hr.divider { border: none; border-top: 1px solid var(--border); }

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-dark { background: var(--ink); color: var(--white); border: 1px solid var(--ink); }
.btn-dark:hover { background: var(--mid); border-color: var(--mid); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-line:hover { border-color: var(--ink); }

/* ── HERO ───────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 44fr 56fr;
  min-height: calc(100vh - var(--langbar-h) - var(--nav-h));
}

.hero-text {
  padding: 5rem 3.5rem 5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.hero-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero-title {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.hero-sub {
  font-size: 13px;
  line-height: 2;
  color: var(--mid);
  max-width: 36ch;
  margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* right column: stacked season panels, one visible at a time */
.hero-seasons {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.hero-season-cell {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-season-cell.active { opacity: 1; }
.hero-season-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* distinct placeholder tone per season */
.hero-season-cell:nth-child(1) { background: #CCC7BC; } /* spring — warm sand  */
.hero-season-cell:nth-child(2) { background: #B4BFAC; } /* summer — sage green */
.hero-season-cell:nth-child(3) { background: #C0A88C; } /* autumn — amber      */
.hero-season-cell:nth-child(4) { background: #C4CDD4; } /* winter — steel blue */

.hero-season-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.4rem 1.2rem;
  background: linear-gradient(to top, rgba(16,14,12,0.62) 0%, transparent 100%);
}
.hero-season-name {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 0.3rem;
}
.hero-season-event {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}

/* ── BRAND STORY ────────────────────────── */
.brand-story {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-story-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 6rem 2.5rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 5rem;
  align-items: start;
}
.brand-tagline {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}
.brand-body p {
  font-size: 13px;
  line-height: 2.1;
  color: var(--mid);
  margin-bottom: 1.4rem;
}
.brand-body p:last-child { margin-bottom: 0; }

/* ── PROPERTIES ─────────────────────────── */
.properties {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}
.props-header {
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.props-header-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 30ch;
  text-align: right;
  line-height: 1.75;
}

/* property card */
.property {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
}
.property:last-child { border-bottom: 1px solid var(--border); }

.prop-header-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2.5rem;
}
.prop-header-left  { padding-right: 3.5rem; border-right: 1px solid var(--border); }
.prop-header-right { padding-left: 3.5rem; }

.prop-index { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 0.6rem; }
.prop-name  { font-size: clamp(20px, 2.5vw, 26px); font-weight: 300; line-height: 1.2; margin-bottom: 0.3rem; }
.prop-catch { font-size: 12px; font-style: italic; color: var(--mid); margin-bottom: 1.2rem; line-height: 1.6; }
.prop-sub   { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 1.8rem; }
.prop-desc  { font-size: 13px; line-height: 2; color: var(--mid); margin-bottom: 1.6rem; }
.prop-tags  { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.prop-tag   { font-size: 10px; color: var(--mid); border: 1px solid var(--border); padding: 0.3rem 0.7rem; letter-spacing: 0.04em; }

/* photo gallery */
.prop-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 2.5rem;
  align-items: stretch;
}

/* left: exterior — fills height of right grid */
.gallery-main-photo {
  width: 100%;
  height: 100%;
  min-height: 200px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #C8C4BB;
  transition: opacity 0.18s;
}
.gallery-main-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-main-photo:hover { opacity: 0.88; }
.gallery-main-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.15));
  z-index: 1;
  pointer-events: none;
}
.gallery-main-photo[data-hint]::after {
  content: attr(data-hint);
  position: absolute;
  bottom: 0.8rem;
  left: 1rem;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  z-index: 2;
  pointer-events: none;
}

/* right: 4×4 thumbnail grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  align-content: start;
}
.gallery-thumb {
  aspect-ratio: 1 / 1;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  transition: opacity 0.18s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 0.78; }
.gallery-thumb::after {
  content: '↗';
  position: absolute;
  top: 0.35rem;
  right: 0.4rem;
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.gallery-thumb:hover::after { opacity: 1; }

/* features + pricing */
.prop-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.prop-detail-left  { padding: 2rem 3.5rem 2rem 0; border-right: 1px solid var(--border); }
.prop-detail-right { padding: 2rem 0 2rem 3.5rem; }

.detail-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.feature-list { list-style: none; border-top: 1px solid var(--border); margin-bottom: 1.6rem; }
.feature-list li {
  font-size: 12px;
  color: var(--mid);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.feature-list li::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}

/* pricing tabs */
.price-tabs-group { }
.price-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.ptab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  padding: 0.55rem 1rem 0.55rem 0;
  margin-right: 1.4rem;
  letter-spacing: 0.05em;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.ptab:last-child { margin-right: 0; }
.ptab:hover      { color: var(--ink); }
.ptab.active     { color: var(--ink); font-weight: 500; border-bottom-color: var(--ink); }
.price-panel     { display: none; padding-top: 0.2rem; }
.price-panel.active { display: block; }

.pricing-season {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin: 0.8rem 0 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.pricing-row-label { color: var(--mid); }
.pricing-row-price { color: var(--ink); font-weight: 400; letter-spacing: 0.02em; }

.prop-book-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }

/* ── THE AREA ───────────────────────────── */
.area {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.area-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
}

/* col padding + border logic */
.area-item                { padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--border); }
.area-item:nth-child(3n)  { border-right: none; padding-right: 0; }
.area-item:nth-child(3n+2),
.area-item:nth-child(3n)  { padding-left: 2rem; }
.area-item:nth-child(n+4) { border-top: 1px solid var(--border); }

.area-item-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--surface);
  overflow: hidden;
  margin: 0.7rem 0 1rem;
  position: relative;
}
.area-item-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.area-item-num   { font-size: 10px; color: var(--muted); letter-spacing: 0.1em; }
.area-item-title { font-size: 14px; font-weight: 400; line-height: 1.4; }
.area-item-text  { font-size: 12px; line-height: 1.9; color: var(--mid); margin-bottom: 0.8rem; }
.area-item-link  {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.15s;
}
.area-item-link:hover { color: var(--ink); }

/* ── ACCESS ─────────────────────────────── */
.access-outer {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 5rem;
}
.access-title { font-size: clamp(20px, 2.5vw, 26px); font-weight: 300; line-height: 1.35; margin-bottom: 1.2rem; }
.access-note  { font-size: 12px; color: var(--muted); line-height: 1.9; margin-bottom: 2rem; }

.route {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.route:first-of-type { border-top: 1px solid var(--border); }
.route-from { font-size: 11px; font-weight: 500; color: var(--ink); letter-spacing: 0.04em; }
.route-desc { font-size: 12px; color: var(--mid); line-height: 1.85; }

/* ── CONTACT ────────────────────────────── */
.contact { background: var(--bg); border-top: 1px solid var(--border); }
.contact-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.contact-text    { font-size: 13px; color: var(--mid); line-height: 1.85; }
.contact-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
footer a { transition: color 0.15s; }
footer a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 1.5rem; }

/* ── LIGHTBOX ───────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(26,26,24,0.90);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-box  { background: var(--white); width: 100%; max-width: 800px; }
.lightbox-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-media img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-media-ph  { font-size: 10px; letter-spacing: 0.12em; color: var(--muted); }
.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.2rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}
.lightbox-caption { font-size: 12px; color: var(--mid); line-height: 1.6; }
.lightbox-close {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s;
}
.lightbox-close:hover { color: var(--ink); }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .lang-bar { padding: 0.55rem 1.2rem; }
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }

  /* hero */
  .hero            { grid-template-columns: 1fr; min-height: auto; }
  .hero-text       { padding: 3.5rem 1.2rem; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-seasons { min-height: 60vw; }

  /* brand */
  .brand-story-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 1.2rem; }

  /* properties */
  .properties        { padding: 3.5rem 1.2rem; }
  .props-header      { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .props-header-note { text-align: left; }
  .prop-header-row   { grid-template-columns: 1fr; }
  .prop-header-left  { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 2rem; margin-bottom: 2rem; }
  .prop-header-right { padding-left: 0; }
  .prop-gallery      { grid-template-columns: 1fr; }
  .gallery-main-photo { aspect-ratio: 16/9; height: auto; }
  .prop-detail-row   { grid-template-columns: 1fr; }
  .prop-detail-left  { padding: 2rem 0; border-right: none; border-bottom: 1px solid var(--border); }
  .prop-detail-right { padding: 2rem 0 0; }

  /* area */
  .area-inner { padding: 3.5rem 1.2rem; }
  .area-grid  { grid-template-columns: 1fr; }
  .area-item  { padding: 1.8rem 0 !important; border-right: none !important; border-top: 1px solid var(--border) !important; }
  .area-item:first-child { border-top: none !important; }

  /* access / contact / footer */
  .access-outer  { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 1.2rem; }
  .route         { grid-template-columns: 1fr; gap: 0.3rem; }
  .contact-inner { padding: 3rem 1.2rem; flex-direction: column; align-items: flex-start; }
  footer         { padding: 1.8rem 1.2rem; flex-direction: column; align-items: flex-start; }
  .footer-links  { flex-wrap: wrap; gap: 1rem; }

  .lightbox { padding: 1rem; }
}
