/* ============================================
   CSS Variables
   ============================================ */
:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #D1FAE5;
  --accent: #FBBF24;
  --bg: #FFFFFF;
  --bg-alt: #F0FDF4;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --text-hero: clamp(36px, 5vw, 56px);
  --text-h2: clamp(28px, 3.5vw, 40px);
  --text-h3: clamp(20px, 2.5vw, 24px);
  --text-body: 16px;
  --text-small: 14px;
  --text-caption: 12px;
  --space-section: clamp(80px, 10vw, 120px);
  --space-group: clamp(40px, 5vw, 64px);
  --space-element: clamp(16px, 2vw, 24px);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ============================================
   Common Components
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-group);
}
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: var(--text-body);
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(5,150,105,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,150,105,0.35);
  filter: brightness(1.05);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Scroll Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.visible .stagger-item:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll.visible .stagger-item:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll.visible .stagger-item:nth-child(3) { transition-delay: 0.15s; }
.animate-on-scroll.visible .stagger-item:nth-child(4) { transition-delay: 0.2s; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ============================================
   Header
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
  padding: 16px 0;
}
header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s;
}
header.scrolled .logo { color: var(--text); }
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.desktop-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}
header.scrolled .desktop-nav a { color: var(--text); }
.desktop-nav a:hover { color: var(--primary); }
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}
.desktop-nav a:hover::after { width: 100%; }

.header-cta {
  padding: 10px 24px;
  font-size: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
header.scrolled .hamburger span { background: var(--text); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  z-index: 1001;
  transition: right 0.3s ease;
  padding: 80px 32px 32px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1000;
}
.overlay.open { opacity: 1; pointer-events: auto; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px clamp(20px, 5vw, 80px) 60px;
}
.hero-text {
  max-width: 600px;
  margin-bottom: 48px;
}
.hero-text h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* Search Box */
.hero-search {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  max-width: 900px;
}
.search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.search-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.search-group select,
.search-group input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.search-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.search-group select:focus,
.search-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}
.search-btn {
  padding: 12px 28px;
  height: fit-content;
}

/* ============================================
   Featured Properties
   ============================================ */
.properties {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.property-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.property-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.property-card:hover .property-card-img img {
  transform: scale(1.05);
}
.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #1F2937;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}
.property-card-body {
  padding: 20px;
}
.property-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.property-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}
.property-address {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.property-address svg {
  flex-shrink: 0;
  color: var(--text-muted);
}
.property-specs {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.property-spec {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   Why Us
   ============================================ */
.why-us {
  padding: var(--space-section) 0;
  background: var(--bg-alt);
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-us-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-us-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.why-us-card h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.why-us-card p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   Area
   ============================================ */
.area {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.area-item {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.area-item:hover {
  border-color: var(--primary);
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.area-item span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================
   Flow
   ============================================ */
.flow {
  padding: var(--space-section) 0;
  background: var(--bg-alt);
}
.flow-steps {
  display: flex;
  gap: 0;
  align-items: flex-start;
  justify-content: center;
}
.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 16px;
  max-width: 220px;
}
.flow-step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -8px;
  width: 40px;
  height: 2px;
  background: var(--border);
}
.flow-step:last-child::after { display: none; }
.flow-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.flow-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.flow-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Voice (Testimonials)
   ============================================ */
.voice {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.voice-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.voice-card::before {
  content: '\201C';
  font-size: 64px;
  color: var(--primary-light);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
  font-family: Georgia, serif;
}
.voice-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.voice-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.voice-name {
  font-size: 15px;
  font-weight: 600;
}
.voice-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.voice-text {
  font-size: var(--text-body);
  color: var(--text);
  line-height: 1.8;
}
.voice-stars {
  display: flex;
  gap: 2px;
  margin-top: 16px;
  color: var(--accent);
}

/* ============================================
   Blog
   ============================================ */
.blog {
  padding: var(--space-section) 0;
  background: var(--bg-alt);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 24px;
}
.blog-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.blog-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--text);
}
.blog-card-body .blog-date {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: var(--space-section) 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  text-align: center;
  color: #fff;
}
.cta h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cta .btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ============================================
   Numbers
   ============================================ */
.numbers {
  padding: 60px 0;
  background: var(--primary);
  color: #fff;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.number-item .number-value {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.number-item .number-label {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 8px;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: #111827;
  color: #D1D5DB;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #9CA3AF;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D1D5DB;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #9CA3AF;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6B7280;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: #6B7280;
  transition: color 0.2s;
}
.footer-links a:hover { color: #D1D5DB; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .search-form {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-btn {
    grid-column: span 2;
  }
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .header-cta.desktop-only { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 100svh; }
  .hero-content { padding-top: 100px; }
  .hero-text h1 { font-size: clamp(28px, 7vw, 40px); }
  .search-form {
    grid-template-columns: 1fr;
  }
  .search-btn {
    grid-column: 1;
    width: 100%;
    justify-content: center;
  }

  .properties-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-step { max-width: 100%; }
  .flow-step::after { display: none; }
  .voice-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .number-item .number-value { font-size: 36px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .area-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; }
  .hero-search { padding: 20px; }
}

/* ============================================
   サブページ共通スタイル（Phase 3 追加）
   ============================================ */

/* ページヒーロー（下層ページ共通） */
.page-hero {
  padding: clamp(120px, 15vw, 160px) 0 clamp(40px, 5vw, 60px);
  background: var(--bg-alt);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }
.page-title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.2;
}
.page-subtitle {
  font-size: var(--text-small);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* CTA帯（下層ページ共通） */
.cta-band {
  padding: var(--space-section) 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-band p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cta-band .btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ナビゲーション active 状態 */
.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}
.nav-link.active::after {
  width: 100%;
}

/* トップページ「詳しく見る」リンク */
.section-more {
  text-align: center;
  margin-top: var(--space-group);
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s;
}
.more-link:hover { gap: 8px; }

/* ============================================
   サブページ固有スタイル（Phase 3 追加）
   ============================================ */

/* About: 代表メッセージ */
.message-section {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.message-photo {
  flex-shrink: 0;
  width: 280px;
}
.message-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.message-body h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.message-body .message-name {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: 24px;
}
.message-body p {
  font-size: var(--text-body);
  color: var(--text);
  line-height: 2;
  margin-bottom: 16px;
}

/* About: 会社情報テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--border);
}
.company-table th,
.company-table td {
  padding: 20px 16px;
  font-size: var(--text-body);
  text-align: left;
  vertical-align: top;
}
.company-table th {
  font-weight: 600;
  color: var(--text);
  width: 160px;
  white-space: nowrap;
}
.company-table td {
  color: var(--text-muted);
  line-height: 1.8;
}

/* About: スタッフ紹介 */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.staff-card {
  text-align: center;
}
.staff-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.staff-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.staff-card .staff-role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.staff-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.7;
}

/* About: 店舗情報 */
.office-card {
  display: flex;
  gap: 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.office-card img {
  width: 400px;
  flex-shrink: 0;
  object-fit: cover;
}
.office-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.office-card-body h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 20px;
}
.office-info-row {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  font-size: var(--text-small);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.office-info-row strong {
  color: var(--text);
  font-weight: 600;
  width: 80px;
  flex-shrink: 0;
}

/* Service: サービスカード */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-detail-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-detail-card h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 12px;
}
.service-detail-card p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.service-detail-card ul {
  padding-left: 0;
}
.service-detail-card li {
  font-size: var(--text-small);
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.service-detail-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Service: 特徴 */
.features-row {
  display: flex;
  gap: 32px;
}
.feature-item {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
}
.feature-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 16px;
}
.feature-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.7;
}

/* Works: 物件一覧 */
.works-properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Works: 成約事例 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.case-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card-body {
  padding: 24px;
}
.case-card-body h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.case-card-body p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.7;
}
.case-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* Contact: フォーム */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-form .form-group {
  margin-bottom: 24px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-form label .required {
  color: #EF4444;
  margin-left: 4px;
  font-size: 12px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Contact: FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.8;
}

/* Contact: 会社情報サイドバー */
.contact-sidebar h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-small);
  color: var(--text-muted);
}
.contact-info-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}
.contact-info-item strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  font-size: 15px;
}

/* Map */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* Section spacing for subpages */
.section {
  padding: var(--space-section) 0;
}
.section:nth-child(even) {
  background: var(--bg-alt);
}

/* ============================================
   Phase 3 レスポンシブ追加
   ============================================ */
@media (max-width: 1024px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
  .works-properties-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .message-section { flex-direction: column; }
  .message-photo { width: 200px; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .office-card { flex-direction: column; }
  .office-card img { width: 100%; height: 200px; }
  .features-row { flex-direction: column; }
  .works-properties-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .company-table th { width: 120px; }
}
