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

:root {
  --white:   #ffffff;
  --off:     #f8f7f5;
  --pale:    #f0ede8;
  --border:  #e2ddd7;
  --muted:   #b0a89e;
  --mid:     #7a7068;
  --dark:    #2e2a26;
  --black:   #1a1714;
  --accent:  #1a5ca8;
  --serif:   'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --sans:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --wide:    0.1em;
  --widest:  0.2em;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--dark);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 64px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.site-logo-en {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  line-height: 1;
}

.site-logo-ja {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mid);
  line-height: 1;
}

nav { display: flex; align-items: center; gap: 0; }

nav a {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 20px;
  font-size: 12px;
  letter-spacing: var(--wide);
  color: var(--dark);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--off);
  border-bottom: 0.5px solid var(--border);
  padding: 56px 48px 48px;
}

.page-hero-label {
  font-size: 10px;
  letter-spacing: var(--widest);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ── SECTION ── */
.section {
  padding: 72px 48px;
  border-bottom: 0.5px solid var(--border);
}

.section-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── TABLE ── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.info-table th, .info-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 0.5px solid var(--border);
}

.info-table th {
  background: var(--off);
  color: var(--mid);
  font-weight: 400;
  width: 180px;
  white-space: nowrap;
}

.info-table td { color: var(--dark); line-height: 1.8; }

/* ── PRINCIPLE CARDS ── */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.principle-card {
  background: var(--off);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
}

.principle-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: var(--wide);
}

.principle-card p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.9;
}

/* ── BODY TEXT ── */
.body-text {
  font-size: 14px;
  color: var(--dark);
  line-height: 2;
  max-width: 760px;
}

.body-text p + p { margin-top: 16px; }

.body-text .highlight {
  color: var(--accent);
  font-weight: 500;
}

/* ── MAP ── */
.map-wrap { margin-top: 24px; }

.map-embed {
  width: 100%;
  height: 320px;
  border: none;
  filter: grayscale(20%);
  display: block;
  border-radius: 4px;
}

/* ── ARROW LIST ── */
.arrow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.arrow-list li {
  padding: 20px 0;
  border-bottom: 0.5px solid var(--border);
  font-size: 14px;
  color: var(--dark);
  line-height: 2;
  padding-left: 16px;
  position: relative;
}

.arrow-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 18px;
  line-height: 2;
}

.arrow-list a { color: var(--accent); text-decoration: none; }
.arrow-list a:hover { text-decoration: underline; }

/* ── SERVICE BLOCK ── */
.service-block {
  background: var(--off);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  margin-bottom: 24px;
}

.service-block h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--border);
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: var(--muted);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo-en {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-logo-ja {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.footer-nav { display: flex; gap: 28px; }

.footer-nav a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: var(--wide);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-copy {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.7;
  width: 100%;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  header { padding: 0 20px; }
  nav a { padding: 0 12px; font-size: 11px; }
  .page-hero { padding: 40px 20px 32px; }
  .section { padding: 48px 20px; }
  .info-table th { width: 120px; }
  footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-nav { flex-wrap: wrap; gap: 16px; }
}
