:root {
  color: #162e30;
  background: #f7f7ee;
  font-family: Inter, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(1120px, 88%);
  margin: auto;
}
header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid #b8c5bd;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
.brand {
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 850;
  letter-spacing: -0.05em;
}
.brand span {
  font-weight: 500;
  font-size: 0.85em;
}
header > a:last-child,
footer {
  font-size: 0.85rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 7%;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.subject {
  color: #346865;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.1vw, 4.75rem);
  line-height: 1.25;
  letter-spacing: -0.065em;
  margin: 0.25em 0;
}
.hero p {
  max-width: 35em;
}
.channel {
  display: inline-block;
  background: #163f40;
  color: white;
  text-decoration: none;
  padding: 0.7em 1.15em;
  margin-top: 0.75em;
  border-radius: 0.3em;
}
figure {
  margin: 0;
  padding: 1.8rem;
  background: #183c40;
  color: #f8fbef;
  border-radius: 0.6rem;
}
.diagram {
  height: 245px;
  display: flex;
  justify-content: space-evenly;
  border-bottom: 2px solid #93b6ad;
  background: repeating-linear-gradient(
    to top,
    transparent 0 48px,
    #3a595a 49px 50px
  );
}
.lane {
  position: relative;
  width: 40%;
  text-align: center;
}
.lane span {
  font-size: 0.85rem;
  background: #183c40;
}
.lane:after {
  content: "";
  position: absolute;
  top: 35px;
  left: 50%;
  height: calc(100% - 49px);
  border-left: 2px dotted #9dc4aa;
}
.half:after {
  height: calc(50% - 23px);
}
.lane i {
  position: absolute;
  width: 26px;
  height: 26px;
  left: calc(50% - 13px);
  bottom: 0;
  border-radius: 50%;
  background: #bde581;
  z-index: 1;
}
.half i {
  bottom: calc(50% - 24px);
  background: #ffbe87;
}
figcaption {
  font-size: 0.83rem;
  margin-top: 1.1rem;
}
.about {
  border-top: 1px solid #b8c5bd;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  padding: 2rem 0 4rem;
}
.about p:first-child {
  margin-top: 0;
}
h2 {
  font-size: 1.35rem;
  margin: 0;
}
.policy {
  max-width: 780px;
  padding: 3rem 0;
}
.policy h1 {
  line-height: 1.35;
}
.policy h2 {
  margin-top: 2.5rem;
}
footer {
  border-top: 1px solid #b8c5bd;
  border-bottom: 0;
}
@media (max-width: 700px) {
  .hero,
  .about {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .diagram {
    height: 210px;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }
  header,
  main,
  footer {
    width: 90%;
  }
}
