:root {
  --ink: #0b0b0c;
  --ink-soft: #1b1b1d;
  --paper: #f5f5f3;
  --white: #fff;
  --gold: #b99962;
  --gold-light: #d4bc91;
  --line: rgba(11, 11, 12, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  padding: 0 clamp(24px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,.72), transparent);
  transition: background .25s, height .25s;
}
.site-header.scrolled { height: 68px; background: rgba(11,11,12,.97); }
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand-name { display: grid; gap: 4px; }
.brand-name strong { font: 500 clamp(24px, 2.2vw, 32px)/.9 Georgia, "Times New Roman", serif; letter-spacing: .01em; white-space: nowrap; }
.brand-name em { color: var(--gold-light); font: 700 9px/1 Arial, sans-serif; font-style: normal; letter-spacing: .32em; }
nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-size: 14px; }
nav a { position: relative; }
nav a:not(.nav-phone)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px; background: var(--gold); transition: width .2s; }
nav a:hover::after { width: 100%; }
.nav-phone { padding: 9px 15px; border: 1px solid rgba(255,255,255,.55); }
.menu-button { display: none; color: white; border: 0; background: transparent; letter-spacing: .12em; }

.hero { position: relative; min-height: 760px; height: 100svh; color: white; overflow: hidden; background: var(--ink); }
.hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.56) 43%, rgba(0,0,0,.08) 76%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 48%); }
.hero-copy { position: absolute; left: clamp(24px, 8vw, 126px); top: 50%; width: min(660px, 70vw); transform: translateY(-46%); }
.eyebrow { margin: 0 0 18px; color: var(--gold); font: 700 13px/1.3 Arial, sans-serif; letter-spacing: .2em; }
.hero h1 { margin: 0 0 24px; font: 500 clamp(46px, 6.5vw, 94px)/1.08 Georgia, "Yu Mincho", serif; letter-spacing: .025em; }
.hero-copy > p:not(.eyebrow) { max-width: 560px; margin: 0; font-size: 18px; }
.hero-actions, .access-actions { display: flex; align-items: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 54px; padding: 13px 25px; align-items: center; justify-content: center; font-weight: 700; letter-spacing: .03em; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--ink); background: var(--gold-light); }
.button-gold:hover { background: white; }
.button-ghost { border: 1px solid rgba(255,255,255,.6); }
.button-ghost:hover { color: var(--ink); background: white; }
.button-dark { color: white; background: var(--ink); }
.hero-actions .button span { margin-left: 12px; font-size: 19px; }
.hero-badges { position: absolute; left: clamp(24px, 8vw, 126px); bottom: 34px; display: flex; gap: 22px; color: rgba(255,255,255,.75); font: 700 11px/1 Arial, sans-serif; letter-spacing: .13em; }
.hero-badges span { padding-left: 15px; border-left: 1px solid var(--gold); }

.section { padding: clamp(82px, 10vw, 150px) clamp(24px, 8vw, 126px); }
.section-heading { max-width: 660px; margin-bottom: 52px; }
h2 { margin: 0 0 22px; font: 500 clamp(35px, 4vw, 58px)/1.25 Georgia, "Yu Mincho", serif; letter-spacing: .02em; }
.section-heading > p:last-child, .about-copy > p, .tour-card p { color: #555; }
.stock-showcase { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: clamp(38px, 6vw, 92px); align-items: stretch; }
.stock-photo { position: relative; min-height: 690px; overflow: hidden; background: #ddd; }
.stock-photo img { width: 100%; height: 100%; object-fit: cover; }
.stock-photo > span { position: absolute; left: 24px; bottom: 24px; padding: 10px 15px; color: white; background: rgba(0,0,0,.75); font: 700 12px Arial, sans-serif; letter-spacing: .16em; }
.stock-choice { padding: clamp(8px, 2vw, 30px) 0; }
.stock-choice .section-heading { margin-bottom: 32px; }
.portal-list { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: white; }
.portal-link { position: relative; min-height: 116px; padding: 22px 24px; display: grid; grid-template-columns: 1fr 46px; gap: 16px; align-items: center; overflow: hidden; transition: color .22s, background .22s; }
.portal-link + .portal-link { border-left: 1px solid var(--line); }
.portal-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 45%, rgba(255,255,255,.13)); transform: translateX(55%); transition: transform .3s; }
.portal-link:hover { color: white; background: var(--ink); }
.portal-link:hover::after { transform: translateX(0); }
.portal-link div { position: relative; z-index: 1; }
.portal-link small, .portal-link strong { display: block; }
.portal-link small { margin-bottom: 5px; color: #777; font-size: 12px; }
.portal-link:hover small { color: #bbb; }
.portal-link strong { font-size: clamp(17px, 1.7vw, 23px); letter-spacing: .025em; }
.portal-arrow { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; }
.portal-link:hover .portal-arrow { border-color: rgba(255,255,255,.45); }
.stock-note { margin-top: 24px; color: #666; font-size: 14px; }
.stock-note a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--ink); }
.stock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stock-card { position: relative; min-height: 270px; padding: 38px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: white; background: #121214; transition: transform .25s; }
.stock-card::before { content: ""; position: absolute; width: 250px; height: 250px; right: -90px; bottom: -130px; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; }
.stock-card::after { content: ""; position: absolute; width: 200px; height: 1px; right: -20px; bottom: 60px; background: rgba(255,255,255,.22); transform: rotate(-32deg); }
.stock-card:hover { transform: translateY(-5px); }
.stock-card.carsensor { background: linear-gradient(135deg, #126e3e, #083f24); }
.stock-card.goonet { background: linear-gradient(135deg, #e02c2d, #921a1b); }
.stock-label { position: relative; z-index: 1; opacity: .75; font-size: 13px; letter-spacing: .12em; }
.stock-card strong { position: relative; z-index: 1; font-size: clamp(28px, 3vw, 43px); letter-spacing: .04em; }
.stock-link { position: relative; z-index: 1; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.35); padding-top: 15px; }

.about { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); padding-left: 0; gap: clamp(50px, 7vw, 110px); align-items: center; background: white; }
.about-image img { min-height: 660px; object-fit: cover; object-position: center; }
.about-copy { padding-right: clamp(24px, 6vw, 100px); }
.feature-list { list-style: none; margin: 42px 0 0; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.feature-list li > span { color: var(--gold); font: 700 13px Arial, sans-serif; }
.feature-list strong, .feature-list small { display: block; }
.feature-list strong { margin-bottom: 4px; font-size: 17px; }
.feature-list small { color: #666; font-size: 14px; line-height: 1.7; }

.group-section { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(40px, 8vw, 120px); color: white; background: #171719; }
.group-copy { max-width: 760px; }
.group-copy h2 { max-width: 720px; }
.group-copy > p:last-child { max-width: 660px; color: #bbb; }
.group-link { min-height: 154px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid rgba(255,255,255,.25); transition: color .2s, background .2s, transform .2s; }
.group-link:hover { color: var(--ink); background: var(--gold-light); transform: translateY(-3px); }
.group-link small, .group-link strong { display: block; }
.group-link small { margin-bottom: 8px; color: #aaa; font-size: 12px; letter-spacing: .08em; }
.group-link:hover small { color: #4b4031; }
.group-link strong { font: 500 clamp(25px, 3vw, 39px)/1 Georgia, serif; }
.group-link > span:last-child { font-size: 28px; }

.tour { color: white; background: var(--ink); }
.tour-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.tour-card p { color: #bbb; }
.tour-card img { height: 480px; object-fit: cover; }

.consultation { background: white; }
.consultation-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; }
.consultation-grid img { width: 100%; height: 520px; object-fit: cover; }
.consultation-grid img:last-child { object-position: center 62%; }

.access { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(46px, 8vw, 120px); align-items: stretch; }
.access dl { margin: 42px 0 0; border-top: 1px solid var(--line); }
.access dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.access dt { color: #777; }
.access dd { margin: 0; font-weight: 600; }
.text-link { font-weight: 700; border-bottom: 1px solid var(--ink); }
.map-frame { min-height: 520px; background: #ddd; }
.map-frame iframe { width: 100%; height: 100%; min-height: 520px; border: 0; filter: grayscale(1) contrast(.9); }

footer { padding: 44px clamp(24px, 6vw, 90px); display: flex; justify-content: space-between; align-items: center; gap: 30px; color: white; background: #050505; }
footer p, footer > a:last-child { color: #aaa; font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: 28px; color: #aaa; font-size: 13px; }
.footer-links a:hover { color: white; }
.mobile-actions { display: none; }

@media (max-width: 900px) {
  .site-header { height: 68px; padding: 0 20px; background: rgba(11,11,12,.95); }
  .brand-name strong { font-size: 22px; }
  .menu-button { display: block; }
  nav { position: absolute; top: 68px; left: 0; right: 0; padding: 26px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: rgba(11,11,12,.98); }
  nav.open { display: flex; }
  nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-phone { margin-top: 12px; text-align: center; }
  .hero { min-height: 700px; }
  .hero-copy { width: calc(100% - 48px); left: 24px; top: 48%; }
  .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.18)), linear-gradient(0deg, rgba(0,0,0,.48), transparent 60%); }
  .hero-info { left: 24px; right: auto; bottom: 28px; }
  .hero-badges { display: none; }
  .stock-showcase { grid-template-columns: 1fr; }
  .stock-photo { min-height: 520px; }
  .stock-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; padding: 0 0 90px; gap: 58px; }
  .about-image img { min-height: 420px; }
  .about-copy { padding: 0 24px; }
  .tour-card, .access, .group-section { grid-template-columns: 1fr; }
  .consultation-grid { grid-template-columns: 1fr; }
  .consultation-grid img { height: 420px; }
  .tour-card img { height: 380px; }
  .map-frame { min-height: 400px; }
  .map-frame iframe { min-height: 400px; }
  footer { padding-bottom: 105px; flex-direction: column; align-items: flex-start; }
  .mobile-actions { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); box-shadow: 0 -4px 20px rgba(0,0,0,.2); }
  .mobile-actions a { padding: 14px; text-align: center; color: white; font-weight: 700; }
  .mobile-actions a:last-child { color: var(--ink); background: var(--gold-light); }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 44px; }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(300px, 100%); }
  .section { padding: 78px 22px; }
  .stock-card { min-height: 230px; padding: 28px; }
  .stock-photo { min-height: 380px; }
  .portal-list { grid-template-columns: 1fr; }
  .portal-link { grid-template-columns: 1fr 44px; min-height: 96px; padding: 17px 16px; }
  .portal-link + .portal-link { border-left: 0; border-top: 1px solid var(--line); }
  .portal-arrow { width: 42px; height: 42px; }
  .about { padding-top: 0; }
  .about-image img { min-height: 330px; }
  .tour-card img { height: 280px; }
  .consultation-grid img { height: 300px; }
  .access dl > div { grid-template-columns: 90px 1fr; gap: 12px; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
