:root {
  --bg: #f7f9f8;
  --surface: #ffffff;
  --text: #172321;
  --muted: #66736f;
  --line: #dbe3e0;
  --accent: #0d5a58;
  --accent-soft: #dfeeed;
  --max-width: 1180px;
  --shadow: 0 18px 55px rgba(29, 53, 50, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

img,
svg {
  display: block;
}

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

a:focus-visible {
  outline: 3px solid rgba(13, 90, 88, 0.28);
  outline-offset: 4px;
  border-radius: 6px;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 248, 0.88);
  border-bottom: 1px solid rgba(219, 227, 224, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.site-logo {
  width: clamp(150px, 16vw, 190px);
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  color: #36413e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
}

.global-nav a,
.footer-inner a,
.text-link {
  transition: color 180ms ease, opacity 180ms ease;
}

.global-nav a:hover,
.footer-inner a:hover,
.text-link:hover {
  color: var(--accent);
}

.hero {
  padding: clamp(84px, 11vw, 150px) 0 clamp(76px, 9vw, 122px);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1180px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact h2,
.page-header h1,
.error-content h1 {
  font-family: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  color: #173b3a;
  font-size: clamp(2.75rem, 6.4vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-copy {
  margin-top: clamp(34px, 4vw, 54px);
  color: #3f4c48;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
}

.hero-copy p {
  margin: 0.28em 0;
}

.projects {
  padding: clamp(74px, 9vw, 120px) 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  color: #173b3a;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.project-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.project-visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--accent-soft);
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-visual:hover img {
  transform: scale(1.018);
}

.project-body {
  display: grid;
  grid-template-columns: auto 1px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(24px, 4vw, 46px);
}

.project-number {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
}

.project-divider {
  width: 1px;
  height: 76px;
  background: var(--line);
}

.project-copy {
  min-width: 0;
}

.project-label {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.35;
}

.project-copy > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.external-link {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.external-link:hover {
  transform: translateY(-2px);
  background: var(--accent-soft);
  border-color: rgba(13, 90, 88, 0.25);
}

.external-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.future-projects {
  min-height: 88px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #7b8884;
  border: 1px dashed #cbd7d3;
  border-radius: 16px;
}

.future-projects p {
  margin: 0;
  font-size: 0.9rem;
}

.plus-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #b9c7c2;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
}

.contact {
  padding: clamp(70px, 9vw, 112px) 0;
  background: #eef3f1;
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 7vw, 92px);
}

.contact h2 {
  margin: 0;
  color: #173b3a;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.1;
}

.contact-heading {
  position: sticky;
  top: 126px;
}

.contact-intro {
  margin: 24px 0 20px;
  color: var(--muted);
}

.contact-privacy-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-privacy-note a,
.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(13, 90, 88, 0.34);
  text-underline-offset: 0.22em;
}

.contact-privacy-note a:hover,
.inline-link:hover {
  text-decoration-color: currentColor;
}

.contact-form {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-form iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #9db5af;
  color: #264440;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.site-footer {
  padding: 28px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #75817d;
  font-size: 0.78rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.subpage-main {
  min-height: calc(100vh - 188px);
}

.content-container {
  max-width: 880px;
}

.page-header {
  padding: clamp(72px, 9vw, 116px) 0 clamp(50px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin: 0;
  color: #173b3a;
  font-size: clamp(2.45rem, 5.4vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.page-header p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
}

.content-section {
  padding: clamp(56px, 8vw, 96px) 0 clamp(76px, 10vw, 128px);
}

.company-profile,
.policy-operator {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.company-profile > div,
.policy-operator > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 28px;
}

.company-profile > div + div,
.policy-operator > div + div {
  border-top: 1px solid var(--line);
}

.company-profile dt,
.policy-operator dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.company-profile dd,
.policy-operator dd {
  margin: 0;
}

.plain-list {
  margin: 0;
  padding-left: 1.25em;
}

.plain-list li + li {
  margin-top: 8px;
}

.legal-content section + section {
  margin-top: 52px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 20px;
  color: #173b3a;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
}

.legal-content p,
.legal-content ul {
  color: #45514e;
}

.legal-content p {
  margin: 0;
}

.legal-content p + p {
  margin-top: 16px;
}

.legal-content ul {
  margin: 18px 0 0;
  padding-left: 1.4em;
}

.legal-content li + li {
  margin-top: 8px;
}

.policy-date {
  margin-top: 64px !important;
  color: var(--muted) !important;
  font-size: 0.9rem;
  text-align: right;
}

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(72px, 10vw, 132px) 0;
}

.error-content {
  max-width: 720px;
  text-align: center;
}

.error-code {
  margin: 0 0 12px;
  color: var(--accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 0.72;
}

.error-content .eyebrow {
  margin-top: 36px;
}

.error-content h1 {
  margin: 0;
  color: #173b3a;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.2;
}

.error-content > p:not(.error-code, .eyebrow) {
  margin: 24px 0 32px;
  color: var(--muted);
}

.button-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #ffffff;
  transition: transform 180ms ease, background 180ms ease;
}

.button-link:hover {
  transform: translateY(-2px);
  background: #0a4b49;
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .header-inner {
    min-height: 72px;
  }

  .site-logo {
    width: 136px;
  }

  .global-nav {
    gap: 18px;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 72px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.3rem);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .project-card {
    border-radius: 16px;
  }

  .project-body {
    grid-template-columns: auto 1px minmax(0, 1fr);
    gap: 18px;
  }

  .project-divider {
    height: 64px;
  }

  .external-link {
    grid-column: 3;
    width: 44px;
    height: 44px;
    margin-top: 4px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-heading {
    position: static;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .company-profile > div,
  .policy-operator > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }
}

@media (max-width: 460px) {
  .header-inner {
    gap: 12px;
  }

  .site-logo {
    width: 120px;
  }

  .global-nav {
    gap: 12px;
    font-size: 0.76rem;
  }

  .project-body {
    grid-template-columns: auto 1px minmax(0, 1fr);
    padding: 22px 18px;
  }

  .project-copy > p:last-child {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
