:root {
  --primary: #171717;
  --accent: #c8a55a;
  --accent-hover: #b8943f;
  --bg: #f5f5f5;
  --cream: #f5f4f2;
  --font-serif: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-jp: 'Noto Serif JP', serif;
  --font-sans: 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  color: var(--primary);
  background: var(--bg);
  letter-spacing: 0.1em;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.site-nav.scrolled {
  background: rgba(23,23,23,0.9);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo { text-decoration: none; }
.nav-logo span {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  font-family: var(--font-jp);
  font-weight: 300;
}
.nav-logo-line {
  margin-top: 6px;
  width: 24px; height: 1px;
  background: rgba(200,165,90,0.7);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
  animation: heroZoom 20s linear infinite alternate;
  transform-origin: left center;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(23,23,23,0.7) 0%, rgba(23,23,23,0.5) 50%, transparent 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px 60px;
}
.hero-text { max-width: 56rem; }
.hero-title {
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.6;
  font-family: var(--font-jp);
  min-height: 7em;
}
.hero-title .line {
  display: block;
  min-height: 1.6em;
}
.cursor {
  display: inline-block;
  width: 2px; height: 0.9em;
  background: rgba(255,255,255,0.9);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(200,165,90,0.9);
  margin-top: 40px;
  margin-bottom: 48px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  font-family: var(--font-jp);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-subtitle.show { opacity: 1; transform: translateY(0); }
.hero-btn-wrap {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-btn-wrap.show { opacity: 1; transform: translateY(0); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 16px 40px;
  border-radius: 0;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(200,165,90,0.25);
  font-family: var(--font-jp);
  letter-spacing: 0.05em;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,165,90,0.35);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-arrow { font-size: 1.1rem; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-sub { font-size: 1rem; letter-spacing: 0.05em; }

/* ── Fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Services ── */
.services {
  padding: 120px 0;
  position: relative;
  z-index: 10;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245,244,242,0.3);
  z-index: -1;
}
.services .section-title { color: var(--primary); }
.services .section-sub   { color: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(23,23,23,0.1);
}
.service-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: background 0.7s;
}
.service-card.light { background: #f5f4f2; }
.service-card.light:hover { background: rgba(23,23,23,0.5); }
.service-card.dark  { background: rgba(23,23,23,0.5); backdrop-filter: blur(4px); }
.service-card.dark:hover  { background: #f5f4f2; backdrop-filter: none; }

.service-num {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  transition: color 0.7s;
}
.service-card.light .service-num           { color: #e0ddd9; }
.service-card.light:hover .service-num     { color: rgba(255,255,255,0.2); }
.service-card.dark .service-num            { color: rgba(255,255,255,0.2); }
.service-card.dark:hover .service-num      { color: #e0ddd9; }

.service-name {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 24px;
  transition: color 0.7s;
  font-family: var(--font-jp);
}
.service-card.light .service-name          { color: #1f1f1f; }
.service-card.light:hover .service-name    { color: #fff; }
.service-card.dark .service-name           { color: #fff; }
.service-card.dark:hover .service-name     { color: #1f1f1f; }

.service-line {
  width: 24px; height: 1px;
  background: var(--accent);
  margin-bottom: 24px;
  transition: width 0.7s;
}
.service-card:hover .service-line { width: 48px; }

.service-desc {
  font-size: 0.875rem;
  line-height: 2;
  font-family: var(--font-jp);
  font-weight: 400;
  flex: 1;
  transition: color 0.7s;
}
.service-card.light .service-desc          { color: #555; }
.service-card.light:hover .service-desc    { color: rgba(255,255,255,0.75); }
.service-card.dark .service-desc           { color: rgba(255,255,255,0.75); }
.service-card.dark:hover .service-desc     { color: #555; }

/* ── About ── */
.about {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}
.about .section-title { color: #fff; text-align: center; margin-bottom: 48px; }
.about-lead { text-align: center; margin-bottom: 64px; }
.about-tagline {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.7;
  font-family: var(--font-jp);
}
.about-text {
  color: rgba(255,255,255,0.9);
  line-height: 1.9;
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-jp);
}
.about-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
  font-family: var(--font-jp);
}
.about-item {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
}
.about-item dt { font-weight: 700; color: #fff; font-size: 1rem; white-space: nowrap; }
.about-item dd { color: rgba(255,255,255,0.85); font-size: 1rem; white-space: nowrap; }
.about-item--wide { grid-column: 1 / -1; }

/* ── Contact ── */
.contact {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245,244,242,0.3);
  z-index: -1;
}
.contact .section-title { color: var(--primary); }
.contact .section-sub   { color: #555; }

.contact-cards {
  display: flex;
  gap: 1px;
  max-width: 900px;
  margin: 0 auto 64px;
  background: rgba(255,255,255,0.06);
}
.contact-card {
  flex: 1;
  background: rgba(23,23,23,0.5);
  backdrop-filter: blur(4px);
  padding: 32px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background 0.5s, transform 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.contact-card:hover {
  background: rgba(23,23,23,0.65);
  transform: translateY(-4px);
}
.contact-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
  transition: color 0.5s;
}
a.contact-card:hover .contact-icon { color: var(--accent); }
.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.contact-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 16px;
  font-family: var(--font-jp);
}
.contact-value {
  display: block;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-jp);
  font-size: 0.9rem;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}
a.contact-card:hover .contact-value { color: var(--accent); }

/* ── Contact Form ── */
.contact-form-wrap { max-width: 720px; margin: 0 auto 48px; }
.contact-form {
  background: rgba(23,23,23,0.5);
  backdrop-filter: blur(4px);
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-family: var(--font-jp);
}
.required { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font-jp);
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group select option { background: #2a2a2a; color: #fff; }
.form-group textarea { resize: vertical; }
.form-submit { text-align: center; margin-top: 32px; }
.form-result {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  font-family: var(--font-jp);
  min-height: 1.5em;
  line-height: 1.6;
}
.form-result.success { color: #6dcc88; }
.form-result.error   { color: #ff6b6b; }

/* ── Map ── */
.map-wrap {
  max-width: 960px;
  margin: 0 auto;
  height: 384px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 10;
}
.map-wrap iframe { display: block; }

/* ── Footer ── */
.footer {
  background: rgba(0,0,0,0.9);
  color: rgba(255,255,255,0.5);
  padding: 32px;
  text-align: center;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-family: var(--font-jp);
  transition: color 0.3s;
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.875rem; }

/* ── Sub pages (privacy / legal) ── */
.page-header {
  background: var(--primary);
  color: #fff;
  padding: 80px 0 64px;
}
.page-header .eyebrow {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  font-family: var(--font-jp);
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.page-header .sub {
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  font-size: 0.9rem;
  font-family: var(--font-jp);
}
.page-content {
  background: var(--cream);
  padding: 64px 0;
}
.page-lead {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 48px;
  font-family: var(--font-jp);
  line-height: 1.9;
  tracking: normal;
}
.policy-section { margin-bottom: 40px; }
.policy-section header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}
.policy-num {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}
.policy-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-jp);
  letter-spacing: 0.05em;
}
.policy-body {
  padding-left: 40px;
  color: #555;
  font-size: 0.875rem;
  line-height: 1.9;
  font-family: var(--font-jp);
}
.policy-body p + p { margin-top: 12px; }
.policy-list { list-style: none; margin-top: 12px; }
.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.policy-list li::before { content: '—'; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.policy-divider { border: none; border-top: 1px solid #e8e8e5; margin: 32px 0; }
.legal-table { border-collapse: collapse; width: 100%; }
.legal-table tr { border-top: 1px solid #e8e8e5; }
.legal-table tr:last-child { border-bottom: 1px solid #e8e8e5; }
.legal-table th {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #222;
  font-family: var(--font-jp);
  font-weight: 400;
  padding: 20px 0;
  vertical-align: top;
  width: 160px;
  text-align: left;
}
.legal-table td {
  color: #222;
  font-size: 0.875rem;
  line-height: 1.9;
  font-family: var(--font-jp);
  padding: 20px 0 20px 32px;
  vertical-align: top;
}
.page-meta {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #e8e8e5;
  font-size: 0.875rem;
  color: #888;
  font-family: var(--font-jp);
  line-height: 1.9;
}
.back-link {
  display: inline-block;
  margin-top: 48px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-family: var(--font-jp);
  transition: color 0.3s;
}
.back-link:hover { color: var(--accent-hover); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 24px; }

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

  .contact-cards { flex-direction: column; }
  .contact-form  { padding: 32px 24px; }

  .container { padding: 0 20px; }
  .hero-content { padding: 100px 20px 60px; }

  .legal-table { display: block; }
  .legal-table tr { display: flex; flex-direction: column; padding: 16px 0; }
  .legal-table th { width: 100%; padding: 0 0 4px; font-size: 0.75rem; }
  .legal-table td { padding: 0; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-info    { grid-template-columns: repeat(3, 1fr); }
}
