/* =============================================
   東京みらい不動産 LP - Style Sheet
   ============================================= */

/* ---------- Reset & Variables ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary - 落ち着いたネイビー */
  --primary: #1a2744;
  --primary-light: #2a3f6b;
  --primary-dark: #0f1a30;

  /* Accent - 上品なゴールド */
  --accent: #c9a84c;
  --accent-light: #ddc477;
  --accent-dark: #a8872e;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f7f4;
  --light-gray: #eeecea;
  --gray: #999;
  --dark-gray: #555;
  --text: #333;
  --text-light: #666;

  /* Danger */
  --red: #c0392b;

  /* Spacing */
  --section-py: 100px;
  --container-width: 1100px;

  /* Typography */
  --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  --font-en: 'Inter', 'Noto Sans JP', sans-serif;

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

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

body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.sp-only { display: none; }
.pc-only { display: inline; }

/* ---------- Utility - Fade In ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   Header
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 39, 68, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  height: 70px;
}

/* Header Left */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo {
  height: 36px;
  width: auto;
}
.header-company {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--white);
}
.nav-link:hover::after {
  width: 100%;
}
.cta-nav {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700;
}
.cta-nav::after { display: none; }
.cta-nav:hover {
  background: var(--accent-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  background: var(--primary-dark);
  overflow: hidden;
  margin-top: 70px;
}
.hero-bg-img {
  display: none;
  width: 100%;
  height: auto;
}
/* スマホ用ヒーロー画像 */
.hero-bg-img-sp {
  display: none;
}
.hero-adachi {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 85%;
  max-width: 500px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,0.6));
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}
.hero-adachi.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* PC表示: hero.jpg */
@media (min-width: 769px) {
  .hero {
    height: auto;
  }
  .hero-bg-img {
    display: block;
  }
}

/* スマホ表示: hero-sp.jpg（写真全体を表示） */
@media (max-width: 768px) {
  .hero {
    height: auto;
    margin-top: 70px;
  }
  .hero-bg-img {
    display: none;
  }
  .hero-bg-img-sp {
    display: block;
    width: 100%;
    height: auto;
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 100px 20px 60px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 8px 28px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 30px;
  animation: fadeInDown 0.8s ease;
}
.hero-title {
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-area {
  display: block;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 10px;
}
.hero-type {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1.2;
}
.hero-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-price-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.hero-price {
  font-size: 1.5rem;
  font-weight: 700;
}
.hero-price em {
  font-size: 3rem;
  font-style: normal;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-en);
  letter-spacing: 2px;
}
.hero-price small {
  font-size: 0.85rem;
  font-weight: 400;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}
.hero-cta {
  animation: fadeInUp 0.8s ease 0.8s both;
  font-size: 1.05rem;
  padding: 16px 50px;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 3px;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollDown 1.5s ease infinite;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201,168,76,0.4);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* =============================================
   Catch Section
   ============================================= */
.catch-section {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  background: var(--off-white);
  text-align: center;
}
.catch-text {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.8;
  color: var(--primary);
  margin-bottom: 25px;
}
.catch-text strong {
  color: var(--accent-dark);
  font-weight: 900;
  position: relative;
}
.catch-text strong::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  opacity: 0.5;
}
.catch-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
}

/* =============================================
   Section Common
   ============================================= */
.section {
  padding: var(--section-py) 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 3px;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 15px auto 0;
}
.section-sub {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* =============================================
   Roots in Ayase Section
   ============================================= */

/* Intro header */
.roots-intro {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  background: var(--white);
}
.roots-header {
  text-align: center;
}
.roots-en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 3px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.roots-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: 3px;
  line-height: 2;
  margin-bottom: 15px;
}
.roots-lead {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent-dark);
  letter-spacing: 2px;
  padding: 8px 24px;
  border: 1px solid var(--accent);
  border-radius: 30px;
}

/* Each block: fixed bg image + scrolling text */
.roots-block {
  position: relative;
  z-index: 1;
}

/* Fixed background image */
.roots-bg-fixed {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.roots-block.is-active .roots-bg-fixed {
  opacity: 1;
  z-index: 0;
}

/* Spacer to show image only area before text */
.roots-spacer {
  height: 80vh;
}

/* Text content area */
.roots-block-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80vh;
}
.roots-content-inner {
  max-width: 600px;
  margin: 0;
  background: none;
  padding: 50px;
  text-align: left;
}

/* Slide up animation */
.roots-slide-up {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1s ease, transform 1s ease;
}
.roots-slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Number */
.roots-number {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: -10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5);
}
.roots-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: #ffffff;
  background: none;
  padding: 0;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5);
}
.roots-block-title {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 1px;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5);
}
.roots-catch {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 2;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 3px solid var(--accent);
  text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5);
}
.roots-text {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 2.6;
  margin-bottom: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5);
}

/* =============================================
   Overview Section
   ============================================= */
.overview-section {
  position: relative;
  z-index: 2;
  background: var(--primary);
  color: var(--white);
}
.overview-section .section-en {
  color: var(--accent);
}
.overview-section .section-title {
  color: var(--white);
}
.overview-section .section-title::after {
  background: var(--accent);
}

/* Overview Main Layout */
.ov-main {
  max-width: 600px;
  margin: 0 auto;
}

/* 間取り + 面積 */
.ov-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 10px 0;
}
.ov-madori {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--white);
}
.ov-area p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

/* Divider */
.ov-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 20px 0;
}

/* 価格 */
.ov-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
}
.ov-price-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.ov-price-value {
  font-size: 1.3rem;
  font-weight: 700;
}
.ov-price-value em {
  font-style: normal;
  font-size: 2.8rem;
  font-family: var(--font-en);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 2px;
}
.ov-price-tax {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* 所在地・交通 */
.ov-info-block {
  padding: 5px 0;
  text-align: center;
}
.ov-info-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.ov-info-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.8;
}

/* Detail Table */
.detail-table-wrap {
  background: var(--off-white);
  border-radius: 8px;
  padding: 40px;
  overflow-x: auto;
  color: #0F0F10;
}
.detail-table {
  width: 100%;
  border-collapse: collapse;
}
.detail-table th,
.detail-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  color: #0F0F10;
}
.detail-table th {
  width: 200px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(26,39,68,0.03);
  white-space: nowrap;
}
.td-sub {
  font-size: 0.8rem;
  color: #666;
}
.detail-table tr:last-child th,
.detail-table tr:last-child td {
  border-bottom: none;
}
.table-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--red);
  padding: 12px 20px;
  background: rgba(192,57,43,0.05);
  border-radius: 4px;
  border-left: 3px solid var(--red);
}

/* =============================================
   Renovation Section
   ============================================= */
.renovation-section {
  position: relative;
  z-index: 2;
  background: var(--off-white);
}
.reno-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.reno-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.reno-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.reno-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.reno-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.reno-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.reno-extra {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.reno-extra-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 14px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--light-gray);
}
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

/* =============================================
   Floor Plan Section
   ============================================= */
.floorplan-section {
  position: relative;
  z-index: 2;
  background: var(--white);
}
/* =============================================
   Before / After Section
   ============================================= */
.ba-section {
  position: relative;
  z-index: 2;
  background: var(--white);
}
.ba-label {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
  letter-spacing: 1px;
}
.ba-compare {
  display: flex;
  align-items: center;
  gap: 15px;
}
.ba-side {
  flex: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.ba-img {
  width: 100%;
  aspect-ratio: 663/869;
  object-fit: cover;
  display: block;
}
.ba-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 14px;
  border-radius: 3px;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 1;
}
.ba-before-tag {
  background: rgba(0,0,0,0.6);
  color: var(--white);
}
.ba-after-tag {
  background: var(--accent);
  color: var(--primary-dark);
}
.ba-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .ba-compare {
    gap: 10px;
  }
  .ba-arrow {
    font-size: 1rem;
  }
  .ba-tag {
    font-size: 0.6rem;
    padding: 4px 10px;
    top: 8px;
    left: 8px;
  }
}

/* Floorplan Images */
.floorplan-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.floorplan-img-card {
  background: var(--off-white);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
}
.floorplan-img-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.floorplan-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* =============================================
   Gallery Section
   ============================================= */
/* Gallery Slider */
.gallery-section {
  position: relative;
  z-index: 2;
  background: var(--off-white);
}
.gallery-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.gallery-slider {
  display: flex;
  transition: transform 0.5s ease;
  cursor: grab;
}
.gallery-slider.dragging {
  transition: none;
  cursor: grabbing;
}
.gallery-slide {
  min-width: 100%;
  position: relative;
}
.gallery-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 30px 20px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
}
/* Arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.gallery-arrow:hover {
  background: var(--accent);
  color: var(--white);
}
.gallery-prev { left: 15px; }
.gallery-next { right: 15px; }
/* Dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-gray);
  border: 2px solid var(--gray);
  cursor: pointer;
  transition: var(--transition);
}
.gallery-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* =============================================
   Loan Section
   ============================================= */
.loan-section {
  position: relative;
  z-index: 2;
  background: var(--white);
}
.loan-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 50px;
  position: relative;
  border: 1px solid var(--light-gray);
}
.loan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 6px 24px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
.loan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.loan-item {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
}
.loan-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.loan-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}
.loan-highlight {
  background: var(--primary);
}
.loan-highlight .loan-label {
  color: rgba(255,255,255,0.7);
}
.loan-highlight .loan-value {
  color: var(--accent);
}
.loan-monthly em {
  font-style: normal;
  font-size: 2rem;
  font-family: var(--font-en);
}
.loan-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
}

/* =============================================
   Access Section
   ============================================= */
.access-section {
  position: relative;
  z-index: 2;
  background: var(--off-white);
}
.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.access-map {
  border-radius: 8px;
  overflow: hidden;
  min-height: 400px;
  background: var(--light-gray);
}
.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}
.access-info {
  padding: 10px 0;
}
.access-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.facility-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.facility-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 8px;
  transition: var(--transition);
}
.facility-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.facility-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.facility-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}
.facility-item span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* =============================================
   Contact Section
   ============================================= */
.contact-section {
  position: relative;
  z-index: 2;
  background: var(--white);
}
.contact-content {
  max-width: 800px;
  margin: 0 auto;
}
.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 50px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px;
  border-radius: 8px;
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.phone-card {
  background: var(--primary);
  color: var(--white);
}
.mail-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
}
.contact-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.contact-card-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 4px;
}
.contact-card-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}
.phone-card .contact-card-value {
  color: var(--accent);
}
.contact-card-note {
  display: block;
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 4px;
}

/* Contact Form */
.contact-form {
  background: var(--off-white);
  padding: 40px;
  border-radius: 12px;
}
.contact-form h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.required {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 5px;
  font-weight: 700;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-group textarea {
  resize: vertical;
}
.form-privacy {
  text-align: center;
}
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}
.checkbox-label a {
  color: var(--accent-dark);
  text-decoration: underline;
}
.btn-submit {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  font-size: 1rem;
  padding: 16px;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
  position: relative;
  z-index: 2;
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
}
.cta-text {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 30px;
  letter-spacing: 2px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  position: relative;
  z-index: 2;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.footer-logo .logo-text {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}
.footer-license {
  font-size: 0.8rem;
  margin-bottom: 15px;
  opacity: 0.6;
}
.footer-address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 2;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.footer-notes {
  font-size: 0.85rem;
}
.footer-notes p {
  margin-bottom: 8px;
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* =============================================
   Bottom Navigation (Mobile)
   ============================================= */
.bottom-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--primary);
  justify-content: center;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.bottom-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 12px 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  flex: 1;
  text-align: center;
  transition: var(--transition);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.bottom-nav-item:last-child {
  border-right: none;
}
.bottom-nav-item:active {
  background: rgba(255,255,255,0.05);
}
.bottom-nav-cta {
  color: var(--accent);
  font-weight: 700;
}

/* =============================================
   Back to Top
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* =============================================
   Animations
   ============================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 968px) {
  :root {
    --section-py: 70px;
  }

  .roots-intro {
    padding: 80px 0 60px;
  }
  .roots-content-inner {
    padding: 30px 20px;
    margin: 0;
  }
  .roots-spacer {
    height: 70vh;
  }

  .nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 30px;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .nav.active {
    display: flex;
  }
  .nav-link {
    padding: 15px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    text-align: center;
  }
  .nav-link::after { display: none; }
  .cta-nav {
    margin-top: 10px;
    padding: 14px 20px;
    text-align: center;
  }
  .hamburger {
    display: none;
  }
  .nav {
    display: none !important;
  }
  .bottom-nav {
    display: flex;
  }

  .ov-top {
    gap: 20px;
  }

  .reno-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floorplan-images {
    grid-template-columns: 1fr;
  }

  .access-content {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .loan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }

  .header-inner {
    justify-content: center;
  }
  .header-company {
    display: none;
  }
  .header-left {
    gap: 0;
  }
  .header-logo {
    height: 45px;
  }
  .nav {
    display: none !important;
  }
  .hero-adachi {
    left: 5px;
    bottom: 45px;
    width: 90%;
  }

  .hero-price em {
    font-size: 2.2rem;
  }

  .ov-madori {
    font-size: 1.4rem;
  }
  .ov-price-value em {
    font-size: 2.2rem;
  }

  .reno-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reno-extra {
    flex-direction: column;
    align-items: center;
  }

  .floorplan-images {
    gap: 20px;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }

  .loan-grid {
    grid-template-columns: 1fr;
  }
  .loan-card {
    padding: 40px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 25px;
  }

  .detail-table-wrap {
    padding: 20px;
  }
  .detail-table th {
    width: 120px;
    font-size: 0.8rem;
  }
  .detail-table td {
    font-size: 0.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
