:root {
  --navy: #1c2f56;
  --accent: #0b60ad;
  --text: #333333;
  --muted: #7a7a7a;
  --about-bg: #cacaca;
  --footer: #333333;
  --font: "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, 1080px);
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero.png") center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 47, 86, 0.3);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
}

.hero__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero__title {
  margin: 0;
  font-size: clamp(50px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.manifesto {
  padding: 4.5rem 0 3.5rem;
}

.manifesto__heading {
  margin: 0 0 2.5rem;
  padding-left: 30px;
  font-size: clamp(40px, 5vw, 45px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.manifesto__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .manifesto__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.manifesto__text p {
  margin: 0 0 1.25rem;
}

.manifesto__text p:last-child {
  margin-bottom: 0;
}

.service {
  background: var(--navy);
  padding: 4rem 0 5rem;
}

.section-title {
  margin: 0 0 2.5rem;
  text-align: center;
  font-size: 25px;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.section-title--light {
  color: #fff;
}

.service-card {
  display: grid;
  background: #fff;
  box-shadow: 2px 2px 15px 5px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.service-card + .service-card {
  margin-top: 2.5rem;
}

@media (min-width: 860px) {
  .service-card {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.service-card__body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card__body h3 {
  margin: 0 0 1rem;
  font-size: 20px;
  font-weight: 700;
}

.service-card__body p {
  margin: 0 0 0.9rem;
  font-size: 15px;
}

.btn {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
}

.btn:hover {
  opacity: 0.88;
}

.message {
  padding: 4.5rem 0;
}

.message__card {
  display: grid;
  gap: 2rem;
  background: #fff;
}

@media (min-width: 800px) {
  .message__card {
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.message__photo img {
  width: 220px;
  max-width: 100%;
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
}

.message__body p {
  margin: 0 0 1rem;
}

.message__sign {
  margin-top: 1.5rem;
  text-align: right;
}

.about {
  background: var(--about-bg);
  padding: 3.5rem 0 4rem;
}

.about__dl {
  margin: 0;
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.about__dl dt,
.about__dl dd {
  margin: 0;
}

.about__dl dt {
  color: var(--text);
  font-size: 16px;
}

.about__dl dd {
  margin-top: 0.2rem;
  font-weight: 500;
}

.about a {
  color: var(--text);
  text-decoration: none;
}

.site-end {
  background: var(--footer);
  color: #fff;
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
}

.site-end__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.site-end__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.site-end__nav a:hover {
  text-decoration: underline;
}

.site-end__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
