/* ロゴの書体は自己配信し、端末による字幅の違いを抑える。 */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #fdfcf8;
  --ink: #151715;
  --muted: #57613f;
  --line: #a9ada3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

a:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 6px;
}

.wrap {
  width: min(1160px, calc(100% - 104px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: var(--paper);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.brand-name {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 600;
}

.brand-bird {
  width: 20px;
  height: 15px;
  margin-left: 2px;
}

nav {
  display: flex;
  gap: 38px;
  font-size: 14px;
}

/* 社名と鳥を一体にし、鳥だけが次の行へ送られないようにする。 */
.hero {
  min-height: 535px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-block: 74px 104px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.035em;
  white-space: nowrap;
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(50px, 10.8vw, 160px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.055em;
  word-spacing: 0.09em;
}

.wordmark-bird {
  width: 0.57em;
  height: 0.4275em;
  flex: none;
}

.hero-services {
  margin: 24px 0 0;
  font-size: 18px;
  color: var(--muted);
  letter-spacing: 0.1em;
  line-height: 1.8;
  text-align: center;
}

.company {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  padding-block: 72px 64px;
}

h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.9;
}

.company-details {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}

.company-details > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
}

.company-details .contact-row {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  margin-bottom: 0;
}

.contact-email {
  overflow-wrap: anywhere;
}

.site-footer {
  padding-block: 0 28px;
  color: var(--muted);
}

.site-footer small {
  font-size: 10px;
}

/* スマホでは承認画像に合わせて一列にし、必要な連絡先を常にナビに残す。 */
@media (width <= 680px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .site-header {
    min-height: 92px;
    gap: 12px;
  }

  .brand {
    font-size: 14px;
    letter-spacing: -0.5px;
  }

  .brand-bird {
    width: 15px;
    height: 11.25px;
  }

  nav {
    font-size: 12px;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: 330px;
    padding-block: 62px 82px;
  }

  .wordmark {
    font-size: 14vw;
    letter-spacing: -0.055em;
    word-spacing: 0.09em;
  }

  .hero-services {
    font-size: clamp(10px, 3.3vw, 14px);
    letter-spacing: 0.025em;
    margin-top: 14px;
    white-space: nowrap;
  }

  .company {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 54px 42px;
  }

  h2 {
    font-size: 19px;
  }

  .company-details {
    font-size: 14px;
  }

  .company-details > div {
    grid-template-columns: 78px 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }

  .company-details .contact-row {
    display: block;
    padding-top: 36px;
    margin-top: 44px;
  }

  .contact-row dt {
    color: var(--ink);
    font-size: 18px;
    margin-bottom: 16px;
  }

  .contact-email {
    font-size: clamp(16px, 4.5vw, 20px);
  }
}
