:root {
  --ink: #15202b;
  --muted: #64707d;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #e5ded3;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --coral: #d7654b;
  --gold: #c79a3a;
  --shadow: 0 22px 60px rgba(21, 32, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  border-radius: 6px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.3;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.16), rgba(215, 101, 75, 0.1)),
    radial-gradient(circle at right top, rgba(199, 154, 58, 0.22), transparent 34%),
    var(--paper);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(11, 79, 74, 0.06), rgba(11, 79, 74, 0.6));
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(0.86);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
}

.hero-panel,
.service-card,
.company-table {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 20px 45px rgba(21, 32, 43, 0.18);
}

dl {
  margin: 0;
}

.hero-panel dl,
.company-table dl {
  display: grid;
  gap: 18px;
}

.hero-panel div,
.company-table div {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child,
.company-table div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

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

dd {
  margin: 0;
  font-weight: 800;
}

.section {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 28px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card a,
.text-link,
.news-card a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 900;
}

.position-section {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 72px);
  background: #fff;
}

.position-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.position-layout > img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.position-copy {
  max-width: 620px;
}

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

.position-copy ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.position-copy li {
  padding: 13px 16px;
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  font-weight: 800;
}

.image-section {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 72px);
  background: #102b2a;
}

.image-section h2 {
  color: #fff;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-grid figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--teal-dark);
}

.image-grid figure:first-child {
  grid-column: span 2;
  min-height: 360px;
}

.image-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  image-rendering: auto;
  transition: transform 0.35s ease;
}

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

.image-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  font-weight: 800;
}

.partners-section {
  background: var(--paper);
}

.partner-banner {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.partner-banner img {
  display: block;
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.advantage-grid a {
  display: flex;
  min-height: 86px;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.advantage-grid a:hover {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.news-section {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 72px);
  background: #fff;
}

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

.news-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 6px;
}

.news-card time {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.news-card h3 {
  margin: 6px 0 8px;
  font-size: 19px;
}

.news-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-number {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #fff;
}

.company-table {
  padding: clamp(22px, 4vw, 36px);
  box-shadow: none;
}

.company-table a {
  color: var(--teal);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: clamp(34px, 6vw, 72px) clamp(20px, 5vw, 72px);
  padding: clamp(28px, 5vw, 46px);
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: 8px;
}

.contact-section h2 {
  margin-bottom: 10px;
}

.contact-section p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-section .eyebrow {
  color: #f1c56a;
}

.contact-actions {
  display: grid;
  gap: 10px;
  min-width: min(100%, 320px);
}

.contact-link {
  display: block;
  padding: 13px 16px;
  color: var(--ink);
  background: #fff;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  word-break: break-word;
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .position-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 560px;
  }

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

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

  .image-grid figure,
  .image-grid figure:first-child {
    grid-column: auto;
    min-height: 300px;
  }

  .advantage-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .contact-section {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .brand strong {
    font-size: 14px;
  }

  .button {
    width: 100%;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 620px;
  }

  .hero-panel {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .position-layout > img {
    min-height: 260px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card img {
    height: 190px;
  }
}
