/* =====================================================
   LIEBRIT KICHIJOJI - STYLE SHEET
   目次 (Table of Contents)
   1. Root Variables（色・フォント・余白などの共通設定）
   2. Reset & Base
   3. Layout / Container
   4. Header
   5. Hero
   6. Concept
   7. Entrance
   8. Kichijoji (Town)
   9. Life Style (Timeline)
   10. Gallery
   11. Quality
   12. Room Plan (Floorplan)
   13. Access
   14. Outline (物件概要)
   15. Contact
   16. Footer
===================================================== */

/* =====================================================
   1. ROOT VARIABLES
   ここを変更するだけでサイト全体の色味・余白などを調整できます
===================================================== */
:root {
  /* Colors */
  --color-bg: #F7F6F3;
  --color-white: #FFFFFF;
  --color-text: #2E2E2E;
  --color-text-sub: #555555;
  --color-text-muted: #666666;
  --color-text-lighter: #777777;
  --color-text-note: #888888;
  --color-accent: #6E5A47;      /* ラベル文字などのアクセントカラー */
  --color-primary: #40362D;     /* 見出しの濃いブラウン */
  --color-primary-hover: #56483C;
  --color-btn-primary:#8a8259;   /* ボタン */
  --color-btn-primary-hover:#9c946b;
  --color-heading-sub: #5A5148;
  --color-border: #E5E2DC;
  --color-border-light: rgba(0, 0, 0, 0.05);
  --color-dark-bg: #1F2421;     /* Contactセクション背景 */
  --color-footer-bg: #2E2E2E;

  /* Fonts */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-card-strong: 0 4px 15px rgba(0, 0, 0, 0.03);
  --shadow-table: 0 4px 15px rgba(0, 0, 0, 0.02);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 40px;

  /* Transition */
  --transition-base: 0.3s ease;

  /* Section padding (mobile / desktop) */
  --section-padding-sm: 70px;
  --section-padding-lg: 110px;
}

/* =====================================================
   2. RESET & BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

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

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
}

/* =====================================================
   3. LAYOUT / CONTAINER
===================================================== */
.container {
  width: calc(100% - 40px);
  max-width: 1140px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .container {
    width: calc(100% - 60px);
  }
}

.section-heading {
  margin-bottom: 40px;
}

@media (min-width: 900px) {
  .section-heading {
    margin-bottom: 50px;
  }
}

.section-heading p {
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--color-accent);
  margin-bottom: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 1px;
  max-width: 700px;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .section-heading h2 {
    font-size: 32px;
  }
}

.lead {
  font-size: 14px;
  line-height: 2.1;
  margin-bottom: 35px;
  color: var(--color-text-sub);
}

@media (min-width: 900px) {
  .lead {
    font-size: 15px;
    line-height: 2.3;
    margin-bottom: 45px;
  }
}

.section-note {
  font-size: 11px;
  color: var(--color-text-lighter);
  margin-top: 24px;
  text-align: right;
}

/* Common buttons (used in Hero / Contact) */
.btn {
  height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all var(--transition-base);
  cursor: pointer;
}

@media (min-width: 900px) {
  .btn {
    height: 54px;
    padding: 0 32px;
    font-size: 14px;
  }
}

.btn-primary {
  background: var(--color-btn-primary);
  color: var(--color-white);
  border: 1px solid var(--color-btn-primary);
}

.btn-primary:hover {
  background: var(--color-btn-primary-hover);
  border-color: var(--color-btn-primary-hover);
}

.btn-outline {
  border: 1px solid var(--color-white);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* External link notice (hover popup) */
.external-link-wrap {
  position: relative;
  display: inline-flex;
}

.external-note {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  white-space: nowrap;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 9px 16px;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
}

.external-note::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-primary);
}

.external-link-wrap:hover .external-note,
.external-link-wrap:focus-within .external-note {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================================================
   4. HEADER
===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

@media (min-width: 900px) {
  .header {
    height: 84px;
  }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-en {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 3px;
  line-height: 1.1;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .logo-en {
    font-size: 22px;
  }
}

.logo-ja {
  font-size: 10px;
  letter-spacing: 2px;
  color: #777;
}

.nav {
  display: none;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 500;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .nav a {
    transition: color var(--transition-base);
  }

  .nav a:hover {
    color: var(--color-accent);
  }
}

/* Mobile nav overlay */
@media (max-width: 899px) {
  .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--color-bg);
    font-size: 15px;
    letter-spacing: 3px;
    font-weight: 500;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.3s ease, visibility 0.4s;
    z-index: 999;
  }

  .nav.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    transition: color var(--transition-base);
  }

  .nav a:hover,
  .nav a:active {
    color: var(--color-accent);
  }
}

body.nav-open {
  overflow: hidden;
}

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}

@media (min-width: 900px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   5. HERO
===================================================== */
.hero {
  height: 92vh;
  min-height: 580px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

@media (min-width: 900px) {
  .hero {
    height: 90vh;
    min-height: 640px;
    padding-top: 84px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero/hero-watercolor.webp") center center / cover no-repeat;
  transform: scale(1.04);
}

@media (max-width: 899px) {
  .hero-bg {
    background: url("assets/hero/hero-watercolor.webp") center 35% / cover no-repeat;
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-copy {
  color: var(--color-white);
  max-width: 600px;
}

.hero-sub {
  font-size: 11px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  opacity: 0.9;
}

@media (min-width: 900px) {
  .hero-sub {
    font-size: 12px;
    letter-spacing: 5px;
    margin-bottom: 25px;
  }
}

.hero h1 {
  font-size: 32px;
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

@media (min-width: 900px) {
  .hero h1 {
    font-size: 43px;
    margin-bottom: 30px;
  }
}

.hero-text {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 32px;
  opacity: 0.95;
}

@media (min-width: 900px) {
  .hero-text {
    font-size: 15px;
    margin-bottom: 40px;
  }
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.8);
}

/* =====================================================
   6. CONCEPT
===================================================== */
.concept {
  padding: var(--section-padding-sm) 0;
}

@media (min-width: 900px) {
  .concept {
    padding: var(--section-padding-lg) 0;
  }
}

.concept-grid {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

@media (min-width: 900px) {
  .concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
}

.concept-text p {
  font-size: 14px;
  line-height: 2.2;
  margin-bottom: 20px;
  color: var(--color-text-sub);
}

@media (min-width: 900px) {
  .concept-text p {
    font-size: 15px;
    line-height: 2.4;
    margin-bottom: 25px;
  }
}

.concept-text p:last-child {
  color: var(--color-text);
  margin-bottom: 0;
}

.concept-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.concept-image img {
  width: 100%;
  aspect-ratio: 471 / 402;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* =====================================================
   7. ENTRANCE
===================================================== */
.entrance {
  padding: var(--section-padding-sm) 0;
  background: var(--color-white);
}

@media (min-width: 900px) {
  .entrance {
    padding: var(--section-padding-lg) 0;
  }
}

.entrance-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 900px) {
  .entrance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
}

.entrance-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.entrance-text p {
  font-size: 14px;
  line-height: 2.2;
  margin-bottom: 20px;
  color: var(--color-text-sub);
}

@media (min-width: 900px) {
  .entrance-text p {
    font-size: 15px;
    line-height: 2.4;
    margin-bottom: 25px;
  }
}

.entrance-text p:last-child {
  margin-bottom: 0;
}

/* =====================================================
   8. KICHIJOJI (TOWN)
===================================================== */
.kichijoji {
  padding: var(--section-padding-sm) 0;
}

@media (min-width: 900px) {
  .kichijoji {
    padding: var(--section-padding-lg) 0;
  }
}

.town-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (min-width: 768px) {
  .town-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

.town-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.town-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.town-content {
  padding: 20px;
}

@media (min-width: 900px) {
  .town-content {
    padding: 25px;
  }
}

.town-content h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .town-content h3 {
    font-size: 21px;
    margin-bottom: 12px;
  }
}

.town-content p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* =====================================================
   9. LIFE STYLE (TIMELINE)
===================================================== */
.lifestyle {
  padding: var(--section-padding-sm) 0;
  background: var(--color-white);
}

@media (min-width: 900px) {
  .lifestyle {
    padding: var(--section-padding-lg) 0;
  }
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 720px;
}

@media (min-width: 900px) {
  .timeline {
    gap: 35px;
  }
}

.time-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .time-item {
    gap: 30px;
  }
}

.time {
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--color-accent);
  min-width: 55px;
  font-weight: 600;
  font-family: var(--font-serif);
  padding-top: 2px;
}

.time-text h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .time-text h3 {
    font-size: 21px;
    margin-bottom: 8px;
  }
}

.time-text p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* =====================================================
   10. GALLERY
===================================================== */
.gallery {
  padding: var(--section-padding-sm) 0;
  background: var(--color-bg);
}

@media (min-width: 900px) {
  .gallery {
    padding: 90px 0;
  }
}

.gallery-main {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-sub {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .gallery-sub {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.gallery-sub img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.gallery-sub p {
  font-size: 13px;
  color: var(--color-text-lighter);
  text-align: center;
}

/* =====================================================
   11. QUALITY
===================================================== */
.quality {
  padding: var(--section-padding-sm) 0;
  background: var(--color-white);
}

@media (min-width: 900px) {
  .quality {
    padding: 100px 0;
  }
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quality-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.quality-card {
  padding: 24px 20px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.quality-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.quality-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  color: var(--color-primary);
  line-height: 1.4;
}

.quality-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-sub);
}

.quality-card .note-text {
  font-size: 11px;
  color: var(--color-text-note);
  margin-top: 8px;
  line-height: 1.5;
}

/* =====================================================
   12. ROOM PLAN (FLOORPLAN)
===================================================== */
.floorplan {
  padding: var(--section-padding-sm) 0;
  background: var(--color-bg);
}

@media (min-width: 900px) {
  .floorplan {
    padding: 100px 0;
  }
}

.room-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 768px) {
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .room-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

.room-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.room-image {
  background: #FAF9F8;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.room-image img {
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.room-content {
  padding: 24px;
}

.room-content h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.room-type {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.room-price {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.room-price span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-lighter);
  margin-top: 4px;
}

.room-btn {
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all var(--transition-base);
}

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

/* =====================================================
   13. ACCESS
===================================================== */
.access {
  padding: var(--section-padding-sm) 0;
  background: var(--color-white);
}

@media (min-width: 900px) {
  .access {
    padding: var(--section-padding-lg) 0;
  }
}

.access-grid {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

@media (min-width: 900px) {
  .access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
}

.access-text h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .access-text h3 {
    font-size: 24px;
    margin-bottom: 22px;
  }
}

.access-text p {
  font-size: 14px;
  line-height: 2.2;
  color: var(--color-text-sub);
  margin-bottom: 18px;
}

.station-list {
  margin-top: 25px;
  padding: 22px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
}

.station-list p {
  font-size: 13.5px;
  margin-bottom: 8px;
  color: #444;
  font-weight: 500;
}

.station-list p:last-child {
  margin-bottom: 0;
}

.map {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
  .map {
    height: 420px;
  }
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =====================================================
   14. OUTLINE (物件概要)
===================================================== */
.outline {
  padding: var(--section-padding-sm) 0;
  background: var(--color-bg);
}

@media (min-width: 900px) {
  .outline {
    padding: var(--section-padding-lg) 0;
  }
}

.outline-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-table);
}

.outline-table th,
.outline-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  font-size: 13.5px;
  line-height: 1.8;
  text-align: left;
}

@media (min-width: 900px) {
  .outline-table th,
  .outline-table td {
    padding: 22px 28px;
    font-size: 14.5px;
  }
}

.outline-table th {
  width: 30%;
  font-weight: 500;
  background: #FAF9F6;
  color: var(--color-heading-sub);
}

@media (min-width: 900px) {
  .outline-table th {
    width: 25%;
  }
}

.outline-table td {
  color: #444;
}

.outline-table tr:last-child th,
.outline-table tr:last-child td {
  border-bottom: none;
}

/* =====================================================
   15. CONTACT
===================================================== */
.contact {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: var(--color-dark-bg);
}

@media (min-width: 900px) {
  .contact {
    padding: 140px 0;
  }
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("assets/exterior/entrance.webp") center / cover;
  opacity: 0.8;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  color: var(--color-white);
  max-width: 600px;
}

.contact-content > p:first-child {
  font-size: 11px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  opacity: 0.85;
}

.contact-content h2 {
  font-size: 28px;
  line-height: 1.5;
  margin-bottom: 24px;
}

@media (min-width: 900px) {
  .contact-content h2 {
    font-size: 42px;
    margin-bottom: 30px;
  }
}

.contact-content p {
  font-size: 14px;
  line-height: 2;
  opacity: 0.9;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.contact .btn-primary {
  background: var(--color-btn-primary);
  border-color: var(--color-btn-primary);
}

.contact .btn-primary:hover {
  background: var(--color-btn-primary-hover);
  border-color: var(--color-btn-primary-hover);
}

.contact .btn-outline {
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

/* =====================================================
   16. FOOTER
===================================================== */
footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  padding: 50px 0 30px;
}

@media (min-width: 900px) {
  footer {
    padding: 65px 0 35px;
  }
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 900px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 35px;
  }
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 2px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  font-size: 12px;
  letter-spacing: 1px;
}

.footer-nav a {
  transition: opacity var(--transition-base);
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-company {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 0;
}

@media (min-width: 900px) {
  .footer-company {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-company-info p {
  font-size: 12.5px;
  line-height: 1.9;
  color: #B5B5B5;
}

.footer-company-info .company-name {
  font-size: 14px;
  color: var(--color-white);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.footer-company-info a {
  color: #B5B5B5;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-base);
}

.footer-company-info a:hover {
  color: var(--color-white);
}

.footer-tel-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  font-size: 11px;
  color: #999;
  text-align: center;
}

@media (min-width: 900px) {
  .footer-bottom p {
    text-align: left;
  }
}

/* =====================================================
   17. SCROLL ANIMATION
===================================================== */
.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animation */
.hero-copy {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.hero-copy.show {
  opacity: 1;
  transform: translateY(0);
}
/* =====================================================
   間取り画像 拡大表示（ライトボックス）
===================================================== */
.room-image-zoomable {
  cursor: zoom-in;
  position: relative;
}

.room-image-zoomable::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.room-image-zoomable:hover::after {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}


/* ===== 水彩ヒーロー・完成予想図の注記 ===== */
.hero-bg { background: url("assets/hero/hero-watercolor.webp") center center / cover no-repeat; transform: none; }
.hero-overlay { background: none; }
.hero-copy { color: var(--color-primary); }
.hero .btn-outline { border-color: var(--color-accent); color: var(--color-accent); background: none; }
.scroll { color: var(--color-accent); }
.perspective-note { font-size: 10px; letter-spacing: 0.5px; }
.hero .perspective-note { position: absolute; bottom: 20px; right: 24px; z-index: 2; color: rgba(64, 54, 45, 0.55); margin: 0; }
.perspective-note-dark { position: absolute; right: 24px; bottom: 18px; margin: 0; z-index: 2; text-align: right; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 899px) {
  .hero-bg { background: url("assets/hero/hero-watercolor.webp") 78% center / cover no-repeat; }
  .hero-overlay { background: linear-gradient(180deg, rgba(247, 246, 243, 0.92) 0%, rgba(247, 246, 243, 0.88) 50%, rgba(247, 246, 243, 0.78) 80%, rgba(247, 246, 243, 0.45) 100%); }
  .hero .perspective-note { bottom: auto; top: 82px; left: 16px; right: 16px; text-align: right; }
}

/* ヒーローの配色 */
.hero h1, .hero-sub { color: #56483c; }
.hero-text { color: #40362D; opacity: 1; }
.hero .btn-primary { background: #56483c; color: #fff; }
.hero .btn-outline { background: #8a8259; border-color: #8a8259; color: #fff; }

/* グラデーションボタン（左上 #8a8259 → 右下 #56483d / 135° / 不透明度89%） */
.hero .btn-outline,
.contact .btn-primary {
  background: linear-gradient(135deg, rgba(138, 130, 89, 0.89), rgba(86, 72, 61, 0.89));
  border-color: transparent;
  color: #fff;
}

/* ホバー動作の復旧（色指定の上書きでホバー効果が消えていたため） */
.hero .btn,
.contact .btn { transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease; }
.hero .btn:hover,
.contact .btn-primary:hover { opacity: 1; filter: brightness(1.12); transform: translateY(-2px); }
.hero .external-link-wrap:hover .external-note,
.hero .external-link-wrap:focus-within .external-note { opacity: 1; transform: translateX(-50%) translateY(0); }
