@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "BIZ UDPGothic";
  src: url("../fonts/BIZ-UDGothicR.ttc") format("collection");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--base-bg);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.phrase {
  display: inline-block;
  white-space: nowrap;
}

.copy-line,
.title-line {
  display: block;
}

.site-header {
  padding-top: 24px;
  background: var(--base-bg);
}

.dots4 {
  gap: 12px;
}

.dots4 i {
  width: 14px;
  height: 14px;
}

.hero {
  padding: 32px 0 72px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--text-sub);
}

h1,
h2,
.representative {
  font-family: var(--font-heading);
  font-weight: 700;
}

h1 {
  margin: 0;
  color: var(--brand-primary-dark);
  font-size: clamp(26px, 7vw, 44px);
  line-height: 1.45;
  letter-spacing: .01em;
}

.hero-sub {
  margin: 24px 0 0;
}

.cta-link {
  display: inline-flex;
  width: min(100%, 560px);
  min-height: 58px;
  margin-top: 32px;
  padding: 14px 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 19px;
  line-height: 1.35;
  transition: filter .15s ease;
}

.cta-link:hover {
  filter: brightness(.96);
}

.cta-link:focus-visible {
  outline: 3px solid var(--text-main);
  outline-offset: 4px;
}

.cta-note {
  margin: 14px 0 0;
  color: var(--text-sub);
}

.sheet-preview {
  width: min(76vw, 286px);
  margin: 36px 0 0;
  padding: 8px;
  border: 1px solid var(--neutral);
  border-radius: var(--radius);
  background: var(--brand-tint);
}

.sheet-preview img {
  border-radius: 6px;
}

.content-section {
  padding: 64px 0;
}

.section-tint {
  background: var(--brand-tint);
}

.section-inner {
  max-width: 840px;
}

.compact-inner {
  max-width: 760px;
}

h2 {
  margin: 0 0 32px;
  padding-left: 14px;
  border-left: 4px solid var(--brand-primary);
  color: var(--brand-primary-dark);
  font-size: clamp(27px, 6.5vw, 36px);
  line-height: 1.45;
}

h2 .phrase + .phrase {
  margin-left: .28em;
}

.numbered-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.numbered-list li {
  position: relative;
  min-width: 0;
  min-height: 58px;
  padding: 13px 14px 13px 58px;
  border: 1px solid var(--neutral);
  border-radius: var(--radius);
  background: var(--base-bg);
  counter-increment: item;
}

.numbered-list li::before {
  content: counter(item);
  position: absolute;
  top: 12px;
  left: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--brand-primary);
  border-radius: 50%;
  color: var(--brand-primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1;
}

.numbered-list .phrase + .phrase {
  margin-left: .18em;
}

.steps-list li {
  background: var(--brand-tint);
}

.faq-list {
  margin: 0;
}

.faq-item {
  padding: 24px 0;
  border-top: 1px solid var(--neutral);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--neutral);
}

.faq-item dt {
  margin: 0 0 8px;
  color: var(--brand-primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
}

.faq-item dd {
  margin: 0;
}

.greeting-section {
  padding-top: 72px;
  padding-bottom: 40px;
}

.greeting-inner {
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.portrait {
  width: 176px;
  aspect-ratio: 1;
  border: 1px solid var(--neutral);
  border-radius: 50%;
  object-fit: cover;
}

.greeting-copy p {
  margin: 0;
}

.greeting-copy p + p {
  margin-top: 4px;
}

.representative {
  color: var(--brand-primary-dark);
}

.final-cta {
  padding: 0 0 80px;
}

.final-cta-inner {
  display: flex;
  justify-content: center;
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--neutral);
  background: var(--brand-tint);
}

.footer-inner {
  color: var(--text-sub);
  font-size: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p + p {
  margin-top: 6px;
}

@media (min-width: 720px) {
  .container {
    width: min(calc(100% - 64px), 1040px);
  }

  .site-header {
    padding-top: 32px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 88px;
  }

  .hero-sub {
    font-size: 20px;
  }

  .sheet-preview {
    width: 300px;
    margin-top: 44px;
  }

  .content-section {
    padding: 88px 0;
  }

  .numbered-list {
    gap: 16px;
  }

  .numbered-list li {
    padding-left: 66px;
  }

  .numbered-list li::before {
    left: 18px;
  }

  .greeting-inner {
    grid-template-columns: 220px auto;
    align-items: center;
    justify-content: center;
    text-align: left;
  }

  .portrait {
    width: 220px;
  }

  .final-cta {
    padding-bottom: 96px;
  }
}

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

  .cta-link {
    transition: none;
  }
}
