:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --white: #ffffff;
  --ink: #203b32;
  --muted: #5d6a62;
  --green: #246448;
  --line: #d8dfd5;
  --lime: #c9de9b;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  scrollbar-color: #8b9d8e var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.3em;
  -webkit-tap-highlight-color: #c9de9b66;
}

a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 6px;
  border-radius: 2px;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 24px;
  padding: 10px 20px;
  transform: translateY(-160%);
  background: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--paper);
}

.header-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding-block: 8px;
  line-height: 1.3;
}

.wordmark-company {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.wordmark-name {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 24px;
}

.site-nav .nav-contact {
  min-height: 46px;
  padding: 8px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.arrow {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 1px;
  flex: 0 0 24px;
  background: currentColor;
}

.arrow::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.hero {
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: center;
  gap: 48px;
  padding-block: 92px 104px;
}

.hero h1 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.6;
}

.hero h1 span {
  color: var(--green);
}

.hero-description {
  margin-top: 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.1;
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 360px;
  justify-self: end;
}

.phase-orbit {
  position: absolute;
  top: 4px;
  right: -12px;
  width: 304px;
  height: 304px;
  border: 1px solid #c3cfbc;
  border-radius: 50%;
}

.phase {
  position: absolute;
  bottom: 24px;
  width: 33.333%;
  border-radius: 90px 90px 0 0;
}

.phase-first {
  left: 0;
  height: 136px;
  background: #dce7cb;
}

.phase-second {
  left: 33.333%;
  height: 226px;
  background: var(--lime);
}

.phase-third {
  left: 66.666%;
  height: 316px;
  background: var(--green);
}

.phase-baseline {
  position: absolute;
  right: -12px;
  bottom: 24px;
  left: -12px;
  height: 1px;
  background: #b3c1aa;
}

.section {
  padding-block: 96px;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.85fr 2fr;
  gap: 72px;
}

.section-heading h2,
.contact h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.section-heading p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.services {
  background: var(--white);
}

.service {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: start;
  gap: 26px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.9;
}

.service p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.company-details > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding-block: 21px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.company-details > div:first-child {
  padding-top: 7px;
}

.company-details dt {
  color: var(--muted);
}

.contact {
  padding-block: 74px;
  background: var(--ink);
  color: var(--white);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-copy p {
  margin-top: 20px;
  color: #d4dfd7;
  font-size: 14px;
  line-height: 2;
}

.contact-link {
  display: inline-flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 12px;
  border-bottom: 1px solid #839b8c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(20px, 2.3vw, 28px);
  letter-spacing: -0.02em;
}

.contact a:focus-visible {
  outline-color: var(--lime);
}

.footer-inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-name {
  font-size: 13px;
  font-weight: 700;
}

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

@media (hover: hover) {
  .site-nav > a:hover,
  .text-link:hover {
    color: var(--green);
    text-decoration: underline;
  }

  .site-nav .nav-contact:hover {
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
  }

  .contact-link:hover {
    color: var(--lime);
    border-bottom-color: var(--lime);
  }
}

@media (max-width: 1000px) {
  .container {
    width: calc(100% - 64px);
  }

  .hero-inner {
    gap: 32px;
    padding-block: 72px 84px;
  }

  .hero-visual {
    height: 300px;
  }

  .phase-orbit {
    width: 240px;
    height: 240px;
  }

  .phase-first {
    height: 106px;
  }

  .phase-second {
    height: 186px;
  }

  .phase-third {
    height: 266px;
  }

  .section-grid {
    grid-template-columns: 0.75fr 2fr;
    gap: 40px;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 24px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 20px;
  }

  .container {
    width: calc(100% - 48px);
  }

  .header-inner {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-block: 16px 8px;
  }

  .wordmark-name {
    font-size: 22px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
  }

  .site-nav .nav-contact {
    min-height: 44px;
    gap: 10px;
    padding: 0;
    border: 0;
  }

  .site-nav .arrow {
    width: 15px;
    flex-basis: 15px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 50px 42px;
  }

  .hero h1 {
    font-size: clamp(28px, 7.5vw, 43px);
    line-height: 1.65;
  }

  .hero-description {
    margin-top: 20px;
    font-size: 13px;
  }

  .text-link {
    margin-top: 22px;
    font-size: 13px;
  }

  .hero-visual {
    width: 225px;
    height: 210px;
    margin-top: 4px;
    margin-right: 12px;
  }

  .phase-orbit {
    top: 2px;
    width: 184px;
    height: 184px;
  }

  .phase {
    bottom: 8px;
  }

  .phase-first {
    height: 80px;
  }

  .phase-second {
    height: 140px;
  }

  .phase-third {
    height: 200px;
  }

  .phase-baseline {
    bottom: 8px;
  }

  .section {
    padding-block: 56px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 24px;
  }

  .section-heading p {
    margin-top: 14px;
    font-size: 13px;
  }

  .service h3 {
    font-size: 19px;
  }

  .company-details > div {
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding-block: 18px;
    font-size: 13px;
  }

  .contact {
    padding-block: 52px;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .contact-copy p {
    margin-top: 16px;
    font-size: 13px;
  }

  .contact-link {
    width: 100%;
    max-width: 360px;
    min-height: 54px;
    gap: 16px;
    font-size: clamp(18px, 5vw, 24px);
  }

  .footer-inner {
    min-height: 116px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

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