:root {
  --ink: #1c2a35;
  --muted: #5c6b76;
  --paper: #fbfaf7;
  --sand: #f1ede5;
  --navy: #17324d;
  --navy-deep: #10233a;
  --sage: #7c9a86;
  --sage-soft: #e7efe9;
  --accent: #d0672f;
  --accent-strong: #b8551f;
  --line: rgba(23, 50, 77, 0.13);
  --radius: 18px;
  --shadow: 0 18px 48px rgba(16, 35, 58, 0.12);
  --shadow-soft: 0 8px 24px rgba(16, 35, 58, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-feature-settings: "palt";
  line-height: 1.9;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(251, 250, 247, 0.4);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 6px 20px rgba(16, 35, 58, 0.08);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(160px, 18vw, 210px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.nav a {
  padding: 6px 2px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 88px) 100px;
  background:
    radial-gradient(1100px 620px at 88% -10%, var(--sage-soft), transparent 62%),
    radial-gradient(900px 560px at -12% 110%, #f6e6d8, transparent 58%),
    var(--paper);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.hero h1 {
  margin: 0;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: clamp(2.2rem, 5.6vw, 4.3rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
}

.hero .button {
  margin-top: 36px;
}

.hero-deco {
  position: absolute;
  right: clamp(-140px, -6vw, -60px);
  bottom: -140px;
  width: clamp(320px, 42vw, 560px);
  height: clamp(320px, 42vw, 560px);
  border: 1.5px solid var(--line);
  border-radius: 50%;
}

.hero-deco::before {
  content: "";
  position: absolute;
  inset: 46px;
  border: 1.5px solid rgba(124, 154, 134, 0.35);
  border-radius: 50%;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(184, 85, 31, 0.32);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.primary::after {
  content: "→";
  font-weight: 900;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(70px, 9vw, 130px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.35;
  font-weight: 900;
  color: var(--navy);
}

h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  font-weight: 800;
  color: var(--navy);
}

/* ---------- Business ---------- */

.business {
  background: #fff;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.business-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.business-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.business-card:hover .business-image img {
  transform: scale(1.04);
}

.business-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(16, 35, 58, 0.82);
  backdrop-filter: blur(6px);
}

.business-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: 28px;
  align-items: flex-start;
}

.business-body p {
  margin: 0;
  color: var(--muted);
}

.business-body .button {
  margin-top: auto;
}

/* ---------- Company ---------- */

.company {
  background: var(--sand);
}

.company-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  max-width: 860px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.company-table div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 20px 26px;
  background: #fff;
}

.company-table dt {
  color: var(--navy);
  font-weight: 900;
}

.company-table dd {
  margin: 0;
  color: var(--muted);
}

.company-table a {
  color: var(--accent-strong);
  font-weight: 800;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 42px clamp(20px, 6vw, 88px) 48px;
  color: rgba(255, 255, 255, 0.75);
  background: var(--navy-deep);
}

.site-footer p {
  margin: 10px 0 0;
}

.footer-logo {
  display: block;
  width: 190px;
  height: auto;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
}

.footer-nav {
  display: grid;
  gap: 10px;
  text-align: right;
  font-size: 0.95rem;
}

.footer-nav a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .business-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-nav {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-logo {
    width: 150px;
  }

  .nav {
    font-size: 0.88rem;
    gap: 14px;
  }

  .hero {
    padding: 130px 18px 70px;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px;
  }

  .business-body {
    padding: 22px;
  }

  .section {
    padding-inline: 18px;
  }

  .business-body .button,
  .hero .button {
    width: 100%;
  }
}
