/* ============================================================
   HŌJŌ PROPERTIES — realestate.css
   Skova Digital デモサイト用スタイル（セルフホストフォント版）
   4ページ統合CSS
   ============================================================ */

/* ---- index.html ---- */
.demo-banner {
  background: #1A1A1A;
  color: #ffffff;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 9999;
}
.demo-banner a {
  color: #B8975A;
  text-decoration: underline;
  margin-left: 0.25rem;
}
.demo-banner a:hover {
  opacity: 0.8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f5f7fa;
  --bg2:       #ffffff;
  --text:      #1a2332;
  --muted:     #4a5568;
  --border:    #e2e6ec;
  --accent:    #2d4a6e;
  --accent-lt: #3d6a9e;
  --footer-bg: #1a2332;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.025em;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 247, 250, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(26,35,50,0.08);
  transition: transform 300ms ease;
}
.site-header__nav {
  height: 72px;
  display: flex;
  align-items: center;
}
.site-header.hidden-up { transform: translateY(-100%); }
.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}
.nav-link {
  position: relative;
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  padding: 4px 0;
  transition: color 200ms;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #B8975A;
  transition: width 300ms ease-out;
}
.nav-link.active {
  color: #8a6c35;
  font-weight: 500;
}
.nav-link.active::after {
  width: 100%;
}
@media (hover: hover) {
  .nav-link:hover { color: #B8975A; }
  .nav-link:hover::after { width: 100%; }
}
.nav-cta {
  font-size: 0.8125rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.625rem 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 200ms;
  white-space: nowrap;
}
@media (hover: hover) {
  .nav-cta:hover {
    background: var(--bg);
    color: var(--text);
  }
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 768px) {
  .hamburger-btn { display: none; }
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 300ms;
  transform-origin: center;
}
.hamburger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 500ms ease-in-out, visibility 500ms;
}
#mobile-menu[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  padding: 8px 24px;
}
.mobile-nav-link.active { color: var(--accent); }
.mobile-nav-cta {
  font-size: 0.875rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.875rem 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.55);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7.5rem 2rem 6rem;
  text-align: center;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}
.hero-h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 1.5rem;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  letter-spacing: 0.025em;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
  }
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 200ms, transform 200ms;
  white-space: nowrap;
  min-width: 200px;
}
@media (hover: hover) {
  .btn-primary:hover {
    background: var(--accent-lt);
    transform: translateY(-2px);
  }
}
.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.8);
  color: #ffffff;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 200ms;
  white-space: nowrap;
  min-width: 200px;
}
@media (hover: hover) {
  .btn-secondary-hero:hover {
    background: rgba(255,255,255,0.15);
  }
}
.hero-micro {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (min-width: 768px) {
  .container { padding: 0 4rem; }
}
.section-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
}

/* ===== STATS ===== */
.stats-section {
  background: var(--bg2);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item {
  background: var(--bg2);
  text-align: center;
  padding: 3rem 1.5rem;
}
.stat-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.stat-unit {
  font-size: 1rem;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.stat-note {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===== SERVICE CARDS ===== */
.service-section {
  background: var(--bg);
}
.service-header {
  text-align: center;
  margin-bottom: 3rem;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--bg2);
  padding: 2.5rem 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  transition: all 300ms;
  border: 1px solid transparent;
}
@media (hover: hover) {
  .service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
    border-color: var(--accent);
    transform: translateY(-2px);
  }
}
.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-card-h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}
.service-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-card-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms;
}
@media (hover: hover) {
  .service-card-link:hover { gap: 8px; }
}

/* ===== PROPERTIES ===== */
.properties-section {
  background: var(--bg2);
}
.properties-header {
  margin-bottom: 2.5rem;
}
.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .property-grid { grid-template-columns: repeat(3, 1fr); }
}
.property-card {
  background: var(--bg2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  transition: all 300ms;
  display: block;
}
@media (hover: hover) {
  .property-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
    transform: translateY(-2px);
  }
}
.property-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.property-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms;
}
@media (hover: hover) {
  .property-card:hover .property-img-wrap img { transform: scale(1.04); }
}
.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  text-transform: uppercase;
}
.badge-sale { background: var(--accent); color: #fff; }
.badge-rent { background: #4a7a5e; color: #fff; }
.property-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.property-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
  letter-spacing: -0.025em;
}
.property-area {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.property-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.property-detail {
  font-size: 0.75rem;
  color: var(--muted);
}
.properties-more {
  text-align: center;
  margin-top: 2.5rem;
}
.btn-outline {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.875rem 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 200ms;
}
@media (hover: hover) {
  .btn-outline:hover {
    background: var(--bg);
    color: var(--text);
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--accent);
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.cta-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.btn-cta-white {
  display: inline-block;
  background: #ffffff;
  color: var(--accent);
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 200ms;
}
@media (hover: hover) {
  .btn-cta-white:hover { background: #f0f0f0; }
}
.cta-micro {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--footer-bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (min-width: 768px) {
  .footer-inner { padding: 0 4rem; }
}
.footer-top {
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 2fr 3fr; gap: 4rem; }
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-content: flex-start;
}
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
  transition: color 200ms;
}
@media (hover: hover) {
  .footer-nav a:hover { color: rgba(255,255,255,0.95); }
}
.footer-nap {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-nap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-nap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-nap-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-nap-item {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.footer-nap-label {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #969ca8;
  margin-bottom: 4px;
  display: block;
}
.footer-copy {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  font-size: 0.75rem;
  color: #969ca8;
  text-align: center;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}
.property-card-reveal {
  opacity: 0;
  transform: scale(0.95);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .property-card-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto !important; }
}

/* ---- about.html ---- */
.demo-banner {
  background: #1A1A1A;
  color: #ffffff;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 9999;
}
.demo-banner a {
  color: #B8975A;
  text-decoration: underline;
  margin-left: 0.25rem;
}
.demo-banner a:hover { opacity: 0.8; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f5f7fa; --bg2: #ffffff; --text: #1a2332; --muted: #4a5568;
  --border: #e2e6ec; --accent: #2d4a6e; --accent-lt: #3d6a9e; --footer-bg: #1a2332;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif; background: var(--bg);
  color: var(--text); line-height: 1.8; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,247,250,0.96); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(26,35,50,0.08);
  transition: transform 300ms ease;
}
.site-header__nav { height: 72px; display: flex; align-items: center; }
.site-header.hidden-up { transform: translateY(-100%); }
.header-inner {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo { font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -0.025em; }
.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-link {
  position: relative; font-size: 0.875rem; color: var(--muted);
  letter-spacing: 0.05em; padding: 4px 0; transition: color 200ms;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: #B8975A; transition: width 300ms ease-out;
}
.nav-link.active { color: #8a6c35; font-weight: 500; }
.nav-link.active::after { width: 100%; }
@media (hover: hover) { .nav-link:hover { color: #B8975A; } .nav-link:hover::after { width: 100%; } }
.nav-cta {
  font-size: 0.8125rem; color: var(--accent); border: 1px solid var(--accent);
  padding: 0.625rem 1.5rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 200ms; white-space: nowrap;
}
@media (hover: hover) { .nav-cta:hover { background: var(--bg); color: var(--text); } }
.hamburger-btn {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: none; cursor: pointer;
}
@media (min-width: 768px) { .hamburger-btn { display: none; } }
.hamburger-btn span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 300ms; transform-origin: center; }
.hamburger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--bg2); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  transition: opacity 500ms ease-in-out, visibility 500ms;
}
#mobile-menu[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
#mobile-menu[aria-hidden="false"] { opacity: 1; visibility: visible; }
.mobile-nav-link { font-size: 1.25rem; font-weight: 700; color: var(--text); letter-spacing: 0.05em; padding: 8px 24px; }
.mobile-nav-link.active { color: var(--accent); }
.mobile-nav-cta { font-size: 0.875rem; color: var(--accent); border: 1px solid var(--accent); padding: 0.875rem 2rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
@media (min-width: 768px) { .container { padding: 0 4rem; } }
.section-h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--text); line-height: 1.3; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.section-sub { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; }

/* ===== PAGE HERO ===== */
.page-hero {
  min-height: 50vh; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.page-hero-inner { padding: 4rem 2rem 3rem; }
.page-hero-label { display: block; font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.page-hero-h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--text); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 1rem; }
.page-hero-sub { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; }

/* ===== SPLIT (Representative) ===== */
.split-section {
  background: var(--bg2);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
@media (min-width: 768px) {
  .split-section { grid-template-columns: 1fr 1fr; min-height: 520px; }
}
.split-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 2rem;
}
@media (min-width: 768px) {
  .split-text { padding: 5rem 6rem 5rem 4rem; }
}
@media (min-width: 1024px) {
  .split-text { padding: 5rem 8rem 5rem 4rem; }
}
.split-photo { position: relative; overflow: hidden; min-height: 320px; }
@media (min-width: 768px) { .split-photo { min-height: auto; } }
.split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #f0ece6; }
.split-h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text); line-height: 1.3; letter-spacing: -0.025em; margin-bottom: 0.5rem; }
.split-name { font-size: 0.875rem; color: var(--accent); font-weight: 500; margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.split-body { font-size: 0.875rem; color: var(--muted); line-height: 1.9; }
.split-body p + p { margin-top: 1rem; }

/* ===== COMPANY INFO TABLE ===== */
.info-section { background: var(--bg2); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:nth-child(even) td { background: #f8f9fb; }
.info-table th {
  width: 160px; padding: 1rem 1.5rem; text-align: left;
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  vertical-align: top; white-space: nowrap;
}
@media (max-width: 639px) { .info-table th { width: 100px; padding: 0.875rem 1rem; font-size: 0.8125rem; } }
.info-table td { padding: 1rem 1.5rem; font-size: 0.875rem; color: var(--muted); line-height: 1.8; }
@media (max-width: 639px) { .info-table td { padding: 0.875rem 1rem; font-size: 0.8125rem; } }

/* ===== STAFF ===== */
.staff-section { background: var(--bg); }
.staff-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .staff-grid { grid-template-columns: repeat(3, 1fr); } }
.staff-card {
  background: var(--bg2); padding: 2rem; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
}
.staff-initial {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent); color: #ffffff;
  font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.staff-name { font-size: 1.125rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; letter-spacing: -0.025em; }
.staff-role { font-size: 0.8125rem; color: var(--accent); font-weight: 500; margin-bottom: 0.75rem; }
.staff-career { font-size: 0.8125rem; color: var(--muted); line-height: 1.7; margin-bottom: 0.75rem; }
.staff-comment { font-size: 0.8125rem; color: var(--muted); line-height: 1.8; font-style: italic; }

/* ===== TIMELINE ===== */
.timeline-section { background: var(--bg2); }
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2rem; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); transform: translateX(-4px);
  box-shadow: 0 0 0 3px var(--bg2), 0 0 0 5px var(--border);
}
.timeline-year { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; margin-bottom: 0.25rem; }
.timeline-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.timeline-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ===== ACCESS ===== */
.access-section { background: var(--bg); }
.access-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .access-grid { grid-template-columns: 1fr 1.5fr; align-items: start; } }
.access-info-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 0.25rem; display: block; }
.access-info-value { font-size: 0.9375rem; color: var(--text); margin-bottom: 1.25rem; line-height: 1.7; }
.map-placeholder {
  aspect-ratio: 16 / 9; background: var(--border); border: 1px solid #d0d5dc;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.875rem; letter-spacing: 0.05em;
}

/* ===== CTA ===== */
.cta-section { background: var(--accent); }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; color: #ffffff; line-height: 1.3; letter-spacing: -0.025em; margin-bottom: 1rem; }
.cta-sub { font-size: 0.9375rem; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 2rem; }
.btn-cta-white { display: inline-block; background: #ffffff; color: var(--accent); padding: 1rem 2.5rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: background 200ms; }
@media (hover: hover) { .btn-cta-white:hover { background: #f0f0f0; } }
.cta-micro { margin-top: 1rem; font-size: 0.8125rem; color: rgba(255,255,255,0.65); }

/* ===== FOOTER ===== */
.site-footer { background: var(--footer-bg); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
@media (min-width: 768px) { .footer-inner { padding: 0 4rem; } }
.footer-top { padding-top: 4rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 3fr; gap: 4rem; } }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-content: flex-start; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.7); letter-spacing: 0.03em; transition: color 200ms; }
@media (hover: hover) { .footer-nav a:hover { color: rgba(255,255,255,0.95); } }
.footer-nap { padding-top: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-nap-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .footer-nap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-nap-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-nap-item { font-size: 0.8125rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-nap-label { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: #969ca8; margin-bottom: 4px; display: block; }
.footer-copy { padding-top: 1.5rem; padding-bottom: 2rem; font-size: 0.75rem; color: #969ca8; text-align: center; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto !important; }
}

/* ---- properties.html ---- */
.demo-banner {
  background: #1A1A1A;
  color: #ffffff;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 9999;
}
.demo-banner a {
  color: #B8975A;
  text-decoration: underline;
  margin-left: 0.25rem;
}
.demo-banner a:hover { opacity: 0.8; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f5f7fa; --bg2: #ffffff; --text: #1a2332; --muted: #4a5568;
  --border: #e2e6ec; --accent: #2d4a6e; --accent-lt: #3d6a9e; --footer-bg: #1a2332;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif; background: var(--bg);
  color: var(--text); line-height: 1.8; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,247,250,0.96); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(26,35,50,0.08);
  transition: transform 300ms ease;
}
.site-header__nav { height: 72px; display: flex; align-items: center; }
.site-header.hidden-up { transform: translateY(-100%); }
.header-inner {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo { font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -0.025em; }
.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-link {
  position: relative; font-size: 0.875rem; color: var(--muted);
  letter-spacing: 0.05em; padding: 4px 0; transition: color 200ms;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: #B8975A; transition: width 300ms ease-out;
}
.nav-link.active { color: #8a6c35; font-weight: 500; }
.nav-link.active::after { width: 100%; }
@media (hover: hover) { .nav-link:hover { color: #B8975A; } .nav-link:hover::after { width: 100%; } }
.nav-cta {
  font-size: 0.8125rem; color: var(--accent); border: 1px solid var(--accent);
  padding: 0.625rem 1.5rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 200ms; white-space: nowrap;
}
@media (hover: hover) { .nav-cta:hover { background: var(--bg); color: var(--text); } }
.hamburger-btn {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: none; cursor: pointer;
}
@media (min-width: 768px) { .hamburger-btn { display: none; } }
.hamburger-btn span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 300ms; transform-origin: center; }
.hamburger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--bg2); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  transition: opacity 500ms ease-in-out, visibility 500ms;
}
#mobile-menu[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
#mobile-menu[aria-hidden="false"] { opacity: 1; visibility: visible; }
.mobile-nav-link { font-size: 1.25rem; font-weight: 700; color: var(--text); letter-spacing: 0.05em; padding: 8px 24px; }
.mobile-nav-link.active { color: var(--accent); }
.mobile-nav-cta { font-size: 0.875rem; color: var(--accent); border: 1px solid var(--accent); padding: 0.875rem 2rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
@media (min-width: 768px) { .container { padding: 0 4rem; } }
.section-label { display: block; font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--text); line-height: 1.3; letter-spacing: -0.025em; margin-bottom: 1rem; }
.section-sub { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; }

/* ===== PAGE HERO ===== */
.page-hero {
  min-height: 50vh; background: var(--bg);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.page-hero-inner { padding: 4rem 2rem 3rem; }
.page-hero-label { display: block; font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.page-hero-h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--text); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 1rem; }
.page-hero-sub { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; }

/* ===== PROPERTIES LIST ===== */
.properties-section { background: var(--bg2); }
.property-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .property-grid { grid-template-columns: repeat(3, 1fr); } }
.property-card {
  background: var(--bg2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  transition: all 300ms; display: block;
}
@media (hover: hover) {
  .property-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
    transform: translateY(-2px);
  }
}
.property-img-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.property-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms; }
@media (hover: hover) { .property-card:hover .property-img-wrap img { transform: scale(1.04); } }
.property-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 10px; text-transform: uppercase;
}
.badge-sale { background: var(--accent); color: #fff; }
.badge-rent { background: #4a7a5e; color: #fff; }
.property-body { padding: 1.25rem 1.5rem 1.5rem; }
.property-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; letter-spacing: -0.025em; }
.property-area { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.75rem; }
.property-price { font-size: 1.125rem; font-weight: 700; color: var(--accent); margin-bottom: 0.25rem; }
.property-detail { font-size: 0.75rem; color: var(--muted); }

/* Property card reveal (scale effect) */
.property-card-reveal { opacity: 0; transform: scale(0.95); }

/* ===== AREA CARDS (Differentiator) ===== */
.area-section { background: var(--bg); }
.area-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
.area-card {
  position: relative; background: var(--bg2);
  border: 1px solid var(--border); overflow: hidden;
  padding: 2rem; transition: all 300ms;
}
.area-card-bg {
  position: absolute; inset: 0;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  opacity: 0.12; transition: opacity 300ms;
}
@media (hover: hover) {
  .area-card:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(29,35,50,0.08); }
  .area-card:hover .area-card-bg { opacity: 0.18; }
}
.area-card-content { position: relative; z-index: 1; }
.area-name { font-size: 1.125rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; letter-spacing: -0.025em; }
.area-count { font-size: 0.875rem; color: var(--accent); font-weight: 500; margin-bottom: 0.25rem; }
.area-price { font-size: 0.8125rem; color: var(--muted); }

/* ===== CTA ===== */
.cta-section { background: var(--accent); }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; color: #ffffff; line-height: 1.3; letter-spacing: -0.025em; margin-bottom: 1rem; }
.cta-sub { font-size: 0.9375rem; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 2rem; }
.btn-cta-white { display: inline-block; background: #ffffff; color: var(--accent); padding: 1rem 2.5rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: background 200ms; }
@media (hover: hover) { .btn-cta-white:hover { background: #f0f0f0; } }
.cta-micro { margin-top: 1rem; font-size: 0.8125rem; color: rgba(255,255,255,0.65); }
.btn-cta-link { display: inline-block; color: rgba(255,255,255,0.8); font-size: 0.875rem; letter-spacing: 0.05em; margin-top: 1rem; text-decoration: underline; }

/* ===== FOOTER ===== */
.site-footer { background: var(--footer-bg); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
@media (min-width: 768px) { .footer-inner { padding: 0 4rem; } }
.footer-top { padding-top: 4rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 3fr; gap: 4rem; } }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-content: flex-start; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.7); letter-spacing: 0.03em; transition: color 200ms; }
@media (hover: hover) { .footer-nav a:hover { color: rgba(255,255,255,0.95); } }
.footer-nap { padding-top: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-nap-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .footer-nap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-nap-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-nap-item { font-size: 0.8125rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-nap-label { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: #969ca8; margin-bottom: 4px; display: block; }
.footer-copy { padding-top: 1.5rem; padding-bottom: 2rem; font-size: 0.75rem; color: #969ca8; text-align: center; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .property-card-reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto !important; }
}

/* ---- service.html ---- */
.demo-banner {
  background: #1A1A1A;
  color: #ffffff;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 9999;
}
.demo-banner a {
  color: #B8975A;
  text-decoration: underline;
  margin-left: 0.25rem;
}
.demo-banner a:hover { opacity: 0.8; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f5f7fa; --bg2: #ffffff; --text: #1a2332; --muted: #4a5568;
  --border: #e2e6ec; --accent: #2d4a6e; --accent-lt: #3d6a9e; --footer-bg: #1a2332;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif; background: var(--bg);
  color: var(--text); line-height: 1.8; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,247,250,0.96); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(26,35,50,0.08);
  transition: transform 300ms ease;
}
.site-header__nav { height: 72px; display: flex; align-items: center; }
.site-header.hidden-up { transform: translateY(-100%); }
.header-inner {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo { font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -0.025em; }
.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-link {
  position: relative; font-size: 0.875rem; color: var(--muted);
  letter-spacing: 0.05em; padding: 4px 0; transition: color 200ms;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: #B8975A; transition: width 300ms ease-out;
}
.nav-link.active { color: #8a6c35; font-weight: 500; }
.nav-link.active::after { width: 100%; }
@media (hover: hover) { .nav-link:hover { color: #B8975A; } .nav-link:hover::after { width: 100%; } }
.nav-cta {
  font-size: 0.8125rem; color: var(--accent); border: 1px solid var(--accent);
  padding: 0.625rem 1.5rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 200ms; white-space: nowrap;
}
@media (hover: hover) { .nav-cta:hover { background: var(--bg); color: var(--text); } }
.hamburger-btn {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: none; cursor: pointer;
}
@media (min-width: 768px) { .hamburger-btn { display: none; } }
.hamburger-btn span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 300ms; transform-origin: center; }
.hamburger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--bg2); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  transition: opacity 500ms ease-in-out, visibility 500ms;
}
#mobile-menu[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
#mobile-menu[aria-hidden="false"] { opacity: 1; visibility: visible; }
.mobile-nav-link { font-size: 1.25rem; font-weight: 700; color: var(--text); letter-spacing: 0.05em; padding: 8px 24px; }
.mobile-nav-link.active { color: var(--accent); }
.mobile-nav-cta { font-size: 0.875rem; color: var(--accent); border: 1px solid var(--accent); padding: 0.875rem 2rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
@media (min-width: 768px) { .container { padding: 0 4rem; } }
.section-h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--text); line-height: 1.3; letter-spacing: -0.025em; margin-bottom: 1rem; }
.section-sub { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; }

/* ===== PAGE HERO ===== */
.page-hero {
  min-height: 50vh; background: var(--bg);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.page-hero-inner { padding: 4rem 2rem 3rem; }
.page-hero-label { display: block; font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.page-hero-h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--text); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 1rem; }
.page-hero-sub { font-size: 0.9375rem; color: var(--muted); line-height: 1.8; }

/* ===== SERVICE DETAIL (split-style 65:35) ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 768px) {
  .service-detail { grid-template-columns: 65fr 35fr; min-height: 460px; }
}
@media (min-width: 768px) {
  .service-detail.reverse { grid-template-columns: 35fr 65fr; }
  .service-detail.reverse .service-visual { order: -1; }
}
.service-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 2rem;
}
@media (min-width: 768px) {
  .service-text { padding: 5rem 4rem; }
}
.service-visual {
  position: relative; overflow: hidden; min-height: 280px;
}
@media (min-width: 768px) { .service-visual { min-height: auto; } }
.service-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #f0ece6; }
.service-label { display: block; font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.service-h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text); line-height: 1.3; letter-spacing: -0.025em; margin-bottom: 1rem; }
.service-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.9; margin-bottom: 1.5rem; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.service-features li {
  font-size: 0.875rem; color: var(--text); line-height: 1.7;
  padding-left: 1.5rem; position: relative;
}
.service-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

/* ===== PURCHASE FLOW (Differentiator) ===== */
.flow-section { background: var(--bg); }
.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
@media (min-width: 640px) { .flow-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .flow-grid { grid-template-columns: repeat(6, 1fr); } }
.flow-step {
  position: relative;
  background: var(--bg2);
  padding: 2rem 1.25rem;
  text-align: center;
}
.flow-step::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--border);
  z-index: 1;
}
@media (min-width: 1024px) {
  .flow-step:last-child::after { display: none; }
}
@media (max-width: 1023px) {
  .flow-step::after { display: none; }
}
.flow-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 0.875rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
}
.flow-icon { color: var(--accent); width: 28px; height: 28px; margin: 0 auto 0.5rem; }
.flow-title { font-size: 0.875rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; line-height: 1.4; }
.flow-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg2); }
.faq-list { max-width: 760px; }
details {
  border-bottom: 1px solid var(--border);
}
details:first-of-type { border-top: 1px solid var(--border); }
summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; cursor: pointer; list-style: none;
  font-size: 0.9375rem; font-weight: 500; color: var(--text); line-height: 1.6;
}
summary::-webkit-details-marker { display: none; }
.faq-chevron {
  width: 20px; height: 20px; color: var(--accent);
  flex-shrink: 0; margin-left: 1rem;
  transition: transform 300ms ease;
}
details[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  font-size: 0.875rem; color: var(--muted); line-height: 1.9;
  padding-bottom: 1.5rem;
}

/* ===== CTA ===== */
.cta-section { background: var(--accent); }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; color: #ffffff; line-height: 1.3; letter-spacing: -0.025em; margin-bottom: 1rem; }
.cta-sub { font-size: 0.9375rem; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 2rem; }
.btn-cta-white { display: inline-block; background: #ffffff; color: var(--accent); padding: 1rem 2.5rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: background 200ms; }
@media (hover: hover) { .btn-cta-white:hover { background: #f0f0f0; } }
.cta-micro { margin-top: 1rem; font-size: 0.8125rem; color: rgba(255,255,255,0.65); }

/* ===== FOOTER ===== */
.site-footer { background: var(--footer-bg); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
@media (min-width: 768px) { .footer-inner { padding: 0 4rem; } }
.footer-top { padding-top: 4rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 3fr; gap: 4rem; } }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-content: flex-start; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.7); letter-spacing: 0.03em; transition: color 200ms; }
@media (hover: hover) { .footer-nav a:hover { color: rgba(255,255,255,0.95); } }
.footer-nap { padding-top: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-nap-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .footer-nap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-nap-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-nap-item { font-size: 0.8125rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-nap-label { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: #969ca8; margin-bottom: 4px; display: block; }
.footer-copy { padding-top: 1.5rem; padding-bottom: 2rem; font-size: 0.75rem; color: #969ca8; text-align: center; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto !important; }
  details[open] .faq-chevron { transition: none; }
}

/* ---- contact.html ---- */

/* ===== CONTACT LAYOUT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 360px;
    gap: 5rem;
    align-items: start;
  }
}

/* ===== CONTACT FORM COL ===== */
.contact-form-col {}
.contact-form-heading {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.contact-form-sub {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
}
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-required {
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--accent);
  color: #ffffff;
  padding: 2px 6px;
  letter-spacing: 0.05em;
}
.form-optional {
  font-size: 0.6875rem;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 6px;
  letter-spacing: 0.05em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  padding: 0.75rem 1rem;
  transition: border-color 200ms, box-shadow 200ms;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,74,110,0.12);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #a0aab4;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-textarea {
  resize: vertical;
  min-height: 160px;
}
.form-error {
  font-size: 0.8125rem;
  color: #c0392b;
  display: none;
}

/* ===== CHECKBOX ===== */
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.form-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-checkbox-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}
.form-privacy-link {
  color: var(--accent);
  text-decoration: underline;
  transition: opacity 200ms;
}
@media (hover: hover) {
  .form-privacy-link:hover { opacity: 0.75; }
}

/* ===== SUBMIT BUTTON ===== */
.form-submit-btn {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #ffffff;
  padding: 1rem 2rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: background 200ms, transform 200ms;
  text-align: center;
}
@media (hover: hover) {
  .form-submit-btn:hover:not(:disabled) {
    background: var(--accent-lt);
    transform: translateY(-1px);
  }
}
.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-micro {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ===== SUCCESS MESSAGE ===== */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
}
.form-success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.form-success-sub {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== CONTACT INFO SIDEBAR ===== */
.contact-info-col {}
.contact-info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem;
}
.contact-info-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-info-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-info-value {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.7;
}
.contact-info-note {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== FAQ (contact page — button-based accordion) ===== */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  text-align: left;
  gap: 1rem;
}
.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 300ms ease;
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease;
}
.faq-body-inner {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.9;
  padding-bottom: 1.5rem;
}

