:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #5f6b63;
  --paper: #ffffff;
  --soft: #f2f6f0;
  --line: #d9e1d6;
  --green: #0c5b3d;
  --green-2: #153f32;
  --red: #bd2f2f;
  --amber: #f1b741;
  --shadow: 0 20px 60px rgba(19, 42, 31, 0.18);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 225, 214, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-size: 18px;
  line-height: 1.2;
}

.brand-sub {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #314036;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: var(--amber);
}

.hero {
  position: relative;
  display: grid;
  min-height: 74vh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero picture,
.hero-image,
.hero-shade,
.hero-content {
  grid-area: 1 / 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 24, 18, 0.82) 0%, rgba(10, 24, 18, 0.6) 35%, rgba(10, 24, 18, 0.12) 70%),
    linear-gradient(0deg, rgba(10, 24, 18, 0.42), rgba(10, 24, 18, 0.08));
}

.hero-content {
  z-index: 2;
  align-self: center;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.section h2,
.contact-band h2 {
  margin: 0;
  line-height: 1.25;
}

.hero h1 {
  font-size: 64px;
  font-weight: 900;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 20px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 30px rgba(189, 47, 47, 0.24);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.button.dark {
  color: #fff;
  background: var(--green-2);
  box-shadow: none;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info div {
  min-width: 0;
  padding: 22px 28px;
  background: #fff;
}

.info-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quick-info strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.45;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.section-heading h2,
.contact-band h2 {
  font-size: 36px;
  font-weight: 900;
}

.lead {
  margin: 34px 0 0;
  color: #314036;
  font-size: 18px;
  font-weight: 600;
}

.services {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 78px max(24px, calc((100% - 1120px) / 2));
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-card {
  min-height: 250px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(28, 49, 37, 0.06);
}

.service-number {
  display: inline-flex;
  min-width: 42px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.service-card h3 {
  margin: 22px 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.visit-flow {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
}

.flow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-list span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.flow-list p {
  margin: 0;
  color: #314036;
  font-weight: 600;
}

.access {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: 34px;
  align-items: stretch;
}

.detail-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
  font-weight: 700;
}

.detail-list a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.map-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 22%, rgba(241, 183, 65, 0.38) 0 9%, transparent 10%),
    linear-gradient(135deg, #e7efe4 0%, #f8fbf6 54%, #e2ecdf 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-road {
  position: absolute;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(12, 91, 61, 0.12);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.42);
}

.road-a {
  width: 120%;
  height: 68px;
  transform: rotate(-22deg);
}

.road-b {
  width: 68px;
  height: 120%;
  transform: rotate(17deg);
}

.map-pin {
  position: absolute;
  top: 26%;
  left: 58%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(44, 61, 51, 0.22);
}

.map-card {
  position: relative;
  z-index: 1;
  width: min(360px, calc(100% - 48px));
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 225, 214, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(21, 63, 50, 0.14);
}

.map-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
}

.map-card p:not(.eyebrow) {
  margin: 12px 0 0;
  color: #314036;
  font-weight: 700;
}

.map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 14px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 52px max(24px, calc((100% - 1120px) / 2));
  color: #fff;
  background: var(--green);
}

.contact-band p:not(.eyebrow) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
}

.qr-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 260px;
  gap: 34px;
  align-items: center;
}

.qr-section h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.3;
}

.qr-section p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.qr-card {
  display: grid;
  justify-items: center;
  padding: 22px;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 33, 28, 0.12);
}

.qr-card img {
  width: 190px;
  height: 190px;
}

.qr-card p {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: 12px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
  padding: 22px 28px;
  color: #fff;
  background: #121916;
  font-size: 13px;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 68vh;
  }

  .hero-image {
    min-height: 560px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .quick-info,
  .intro,
  .visit-flow,
  .access,
  .qr-section {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: auto;
    padding: 12px 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-image {
    min-height: 540px;
    object-position: 58% center;
  }

  .hero-content {
    width: min(100% - 36px, 1120px);
    padding: 48px 0 70px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .contact-band {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .quick-info div {
    padding: 18px;
  }

  .section,
  .intro {
    width: min(100% - 36px, 1120px);
    padding: 58px 0;
  }

  .services {
    padding: 58px 18px;
  }

  .section-heading h2,
  .contact-band h2,
  .qr-section h2 {
    font-size: 28px;
  }

  .qr-card {
    justify-self: stretch;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .flow-list li,
  .detail-list div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .map-panel {
    min-height: 320px;
  }

  .contact-band {
    padding: 42px 18px;
  }
}
