:root {
  --ink: #16221f;
  --muted: #65716d;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --forest: #1f5a49;
  --forest-dark: #143a31;
  --cedar: #8b3f2b;
  --snow: #e7eff3;
  --gold: #c69234;
  --line: #d9ded9;
  --shadow: 0 18px 50px rgba(22, 34, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  background: var(--paper);
}

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

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

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(22, 34, 31, 0.1);
  background: rgba(247, 245, 239, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #263733;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: var(--forest);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}

.main {
  overflow: hidden;
}

.section,
.hero-inner,
.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: end;
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 24, 22, 0.82), rgba(9, 24, 22, 0.34) 56%, rgba(9, 24, 22, 0.12)),
    url("images/kawafune-exterior.jpg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, var(--paper), rgba(247, 245, 239, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 0 118px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 16px 0 22px;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.07;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: #fff;
  background: var(--forest);
  box-shadow: 0 12px 30px rgba(31, 90, 73, 0.24);
}

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

.button.light {
  color: var(--forest-dark);
  background: #fff;
  border-color: var(--line);
}

.section {
  padding: 92px 0;
}

.section.compact {
  padding: 64px 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .eyebrow {
  color: var(--cedar);
}

.section h2,
.section-title {
  margin: 12px 0 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-subtitle {
  color: var(--muted);
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 54px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
}

.media-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--snow);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.media-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  color: #fff;
  background: rgba(16, 35, 31, 0.74);
  font-size: 12px;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  color: #33433f;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  font-size: 12px;
  font-weight: 900;
}

.plain-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--cedar);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--snow);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-kicker {
  color: var(--cedar);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

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

.card p {
  color: var(--muted);
}

.text-link {
  margin-top: auto;
  color: var(--forest);
  font-weight: 900;
}

.wide-band {
  background: var(--forest-dark);
  color: #fff;
}

.wide-band .section-subtitle,
.wide-band .card p {
  color: rgba(255, 255, 255, 0.75);
}

.wide-band .card {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.wide-band .text-link,
.wide-band .card-kicker {
  color: #f0c46b;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timeline-item strong {
  color: var(--forest);
}

.cta {
  padding: 78px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 58, 49, 0.92), rgba(31, 90, 73, 0.68)),
    url("images/hasekake-landscape.jpg") center / cover;
}

.cta-inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.18;
}

.cta p {
  max-width: 710px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 28, 25, 0.83), rgba(11, 28, 25, 0.28)),
    var(--hero-image, url("images/kawafune-exterior.jpg")) center / cover;
}

.page-hero-inner {
  padding: 104px 0 86px;
}

.page-hero p {
  max-width: 720px;
  font-size: 18px;
}

.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--forest);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
  align-items: start;
}

.article {
  display: grid;
  gap: 30px;
}

.article h2 {
  margin-top: 0;
}

.article p + p {
  margin-top: 12px;
}

.article-image {
  overflow: hidden;
  border-radius: 8px;
  background: var(--snow);
}

.article-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.info-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.info-box h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.data-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.data-list div {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.data-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

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

.data-list dd {
  margin: 0;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form label {
  font-weight: 800;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #cdd5cf;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid rgba(31, 90, 73, 0.18);
  border-color: var(--forest);
}

.form-message {
  min-height: 24px;
  color: var(--forest);
  font-weight: 900;
}

.source-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.source-list a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  color: #dfe7e3;
  background: #0d2520;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: #fff;
}

.footer-note {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

@media (max-width: 900px) {
  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    border-radius: 8px;
  }

  .hero {
    min-height: 720px;
  }

  .feature-grid,
  .split,
  .split.reverse,
  .detail-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .hero-inner,
  .page-hero-inner {
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .hero {
    min-height: 640px;
  }

  .section {
    padding: 68px 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .footer-note {
    display: grid;
  }
}
