:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #1a1814;
  --muted: #5c574f;
  --accent: #2d4a3e;
  --accent-light: #e8efe9;
  --border: #ddd6cb;
  --shadow: 0 12px 40px rgba(26, 24, 20, 0.08);
  --radius: 12px;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-size: 0.9em;
  background: var(--accent-light);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Language toggle */

.lang-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.lang-btn {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  color: var(--accent);
  background: var(--accent-light);
}

.lang-divider {
  color: var(--border);
  font-size: 0.85rem;
  user-select: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 0.3s ease;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: none;
  background: rgba(26, 24, 20, 0.45);
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s, background 0.2s;
}

.hero-arrow:hover {
  opacity: 1;
  background: rgba(26, 24, 20, 0.65);
}

.hero-prev {
  left: 1.25rem;
}

.hero-next {
  right: 1.25rem;
}

.hero-counter {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(26, 24, 20, 0.45);
  color: #fff;
  font-size: 0.85rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 24, 20, 0.75) 0%, rgba(26, 24, 20, 0.2) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  padding: 4rem 0 3rem;
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
}

.hero-sub {
  margin: 1rem 0 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.hero-address {
  display: inline-block;
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-address:hover {
  opacity: 1;
}

/* Sections */

.section {
  padding: 4.5rem 0;
}

.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 52ch;
}

/* Details */

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.spec-list {
  margin: 1.5rem 0 0;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.spec-list dt {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.spec-list dd {
  margin: 0;
  font-weight: 500;
}

.map-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-link:hover {
  color: #1f3329;
}

.jp {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.amenities-list {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.amenities-list li + li {
  margin-top: 0.55rem;
}

/* Terms */

.terms-section {
  background: var(--accent-light);
}

.terms-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.term-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.term-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.term-price {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
}

.term-card p:not(.term-price) {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.payment-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--accent);
}

.payment-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.payment-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.payment-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */

.rented-banner {
  padding: 1.25rem 0;
  background: #fdecea;
  border-top: 1px solid #f0d4d0;
  border-bottom: 1px solid #f0d4d0;
  text-align: center;
}

.rented-banner p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #7c2d2d;
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer p + p {
  margin-top: 0.5rem;
}

.site-footer a {
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: #1f3329;
}

.line-qr {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 8px;
  background: #fff;
  padding: 0.35rem;
  box-shadow: var(--shadow);
}

.line-contact {
  display: inline-block;
  margin-top: 0.75rem;
}

.line-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 500;
  color: #06c755;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.line-link:hover {
  color: #049a44;
}

/* Responsive */

@media (max-width: 768px) {
  .details-grid,
  .terms-cards,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-arrow {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .hero-prev {
    left: 0.75rem;
  }

  .hero-next {
    right: 0.75rem;
  }

  .lang-toggle {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.8rem;
  }
}
