:root {
  --text: #222222;
  --text-faq: #2c2c2a;
  --white: #ffffff;
  --navy: #1c2a48;
  --yellow: #e6ca2f;
  --gold: #ab8f50;
  --placeholder: #909090;
  --border: #a5a5a5;
  --light: #f1f1f1;
  --beige: #e2e0d4;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-en: "Roboto", sans-serif;
  --font-faq: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  --content: 1062px;
  --content-wide: 1280px;
  --content-narrow: 844px;
  --header-h: 96px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

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

button,
input {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--white);
  padding: 8px 12px;
}

/* Header */

.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 20px 80px;
  background: var(--white);
}

.logo {
  display: block;
  width: 171.39px;
  height: 33.88px;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 171.39px;
  height: 33.88px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.header-tel a {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  filter: brightness(1.06);
}

.btn:active {
  filter: brightness(0.96);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--text);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-header {
  height: 44px;
  padding: 12px 32px;
  font-size: 14px;
  white-space: nowrap;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 80px;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-photo {
  mix-blend-mode: plus-lighter;
  opacity: 0.2;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: min(1280px, 100%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--white);
  min-width: 0;
}

.hero-lead {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.hero-title {
  margin: 0;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-title span {
  display: block;
  color: var(--yellow);
}

.hero-stats {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border-radius: 8.67px;
}

.hero-stat-icon {
  display: grid;
  place-items: center;
  width: 45.51px;
  height: 45.51px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero-stat-icon img {
  display: block;
  width: 26.01px;
  height: 26.01px;
}

.hero-stat p {
  margin: 0;
  font-size: 17.34px;
  font-weight: 700;
  line-height: 1.4;
}

/* Lead form */

.lead-card {
  width: 519px;
  max-width: 100%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
  background: var(--white);
}

.lead-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.lead-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--white);
}

.lead-note {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
}

.text-em {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

.lead-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.field select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23222222' d='M1.4.3 6 4.9 10.6.3 12 1.7 6 7.7 0 1.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
}

.field select:invalid {
  color: var(--placeholder);
}

.field select option {
  color: var(--text);
}

.field input::placeholder {
  color: var(--placeholder);
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.btn-submit {
  align-self: center;
  padding: 12px 32px;
  font-size: 16px;
}

.lead-card .wpcf7,
.lead-card .wpcf7-form {
  margin: 0;
}

.lead-card-body .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cl-lead .lead-card-body .wpcf7-form {
  gap: 24px;
}

.field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.lead-card .wpcf7-submit {
  width: auto;
  appearance: none;
  font-family: inherit;
}

.lead-card .wpcf7-spinner {
  margin: 0 0 0 8px;
}

.lead-card .wpcf7-not-valid-tip,
.lead-card .wpcf7-response-output {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.lead-card .wpcf7-form p {
  margin: 0;
}

.lead-card .wpcf7-form .field input,
.lead-card .wpcf7-form .field select {
  max-width: 100%;
}

/* Pain */

.section {
  padding: 80px 60px;
}

.section-title {
  margin: 0 0 40px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.pain-inner {
  max-width: var(--content);
  margin: 0 auto;
}

.pain-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.pain-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 300px;
  text-align: center;
}

.pain-illust {
  width: 180px;
  height: 180px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--light);
  flex-shrink: 0;
}

.pain-illust img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
}

.pain-item p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

/* Message banner */

.message {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 60px 60px;
  background: var(--beige);
  text-align: center;
}

.message-arrow {
  display: block;
  width: 248px;
  height: 33px;
  margin-top: -1px;
  transform: rotate(180deg);
}

.message p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.7;
}

.message-mark {
  padding: 0 0.04em;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% 0.5em;
  background-position: 0 100%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Reasons */

.reasons-inner {
  max-width: var(--content);
  margin: 0 auto;
}

.reason-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.reason-row + .reason-row {
  margin-top: 0;
}

.reason-text {
  display: flex;
  flex: 1;
  gap: 12px;
  min-width: 0;
  align-items: flex-start;
}

.reason-num {
  flex-shrink: 0;
  margin: 0;
  font-family: var(--font-en);
  font-size: 120px;
  font-weight: 900;
  line-height: 0.85;
  background: linear-gradient(180deg, #eed473 35.577%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reason-copy h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.reason-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.reason-visual {
  width: 410px;
  height: 326px;
  flex-shrink: 0;
  overflow: hidden;
}

.reason-visual img {
  display: block;
  width: 410px;
  height: 326px;
  object-fit: contain;
}

/* CTA */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 260px;
  overflow: hidden;
  background: linear-gradient(104.31deg, #f1d778 1.26%, #cab338 62.02%, #967526 100%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, calc(100% - 160px));
  margin: 0 auto;
  padding: 44px 0;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 458px;
}

.cta-copy h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
}

.cta-note {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.cta-copy .btn {
  padding: 14px 32px;
  font-size: 16px;
}

.cta-sub {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-sub:hover {
  opacity: 0.75;
}

.cta-photo {
  position: absolute;
  top: -178px;
  right: -40px;
  width: 549px;
  height: 617px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.cta-photo img {
  width: 392px;
  height: 511px;
  object-fit: cover;
  transform: rotate(20.97deg);
}

.docs-stack {
  position: relative;
  width: 388px;
  height: 199px;
  flex-shrink: 0;
}

.docs-stack img {
  position: absolute;
  width: 227px;
  height: 127px;
  object-fit: cover;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.25);
}

.docs-stack .doc-back {
  top: 0;
  right: 0;
  transform: rotate(4deg);
  filter: blur(1.3px);
}

.docs-stack .doc-mid {
  top: 24px;
  right: 50px;
  transform: rotate(4deg);
  filter: blur(1.3px);
}

.docs-stack .doc-front {
  top: 56px;
  left: 0;
  transform: rotate(-4deg);
}

.docs-stack--lg {
  width: 100%;
  height: 244px;
}

.docs-stack--lg img {
  width: 263px;
  height: 146px;
}

.docs-stack--lg .doc-back {
  top: 7px;
  right: 22px;
}

.docs-stack--lg .doc-mid {
  top: 35px;
  left: 140px;
  right: auto;
}

.docs-stack--lg .doc-front {
  top: 72px;
  left: 22px;
}

/* Cases */

.cases-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 29px;
  margin-bottom: 40px;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.case-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #d9d9d9;
}

.case-photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.case-headline {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  min-height: 48px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 12px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.case-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 8px 16px;
  background: var(--beige);
  text-align: center;
}

.stat-label {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.stat-value {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.2;
}

.stat-value .lg {
  font-size: 70px;
  font-weight: 900;
}

.stat-value .md {
  font-size: 40px;
  font-weight: 900;
}

.stat-value .sm {
  font-size: 28px;
  font-weight: 700;
}

/* Flow */

.flow {
  padding: 80px 120px;
}

.flow-inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.flow-title {
  margin: 0 0 40px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 769px) {
  .flow-title-break {
    display: none;
  }
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 24px 48px;
  background: var(--light);
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
}

.flow-icon img {
  display: block;
  width: 40px;
  height: 40px;
}

.flow-step h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
}

.flow-step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.flow-arrow {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.flow-arrow img {
  display: block;
  width: 26px;
  height: 11px;
  transform: rotate(180deg);
}

/* FAQ */

.faq {
  background: var(--light);
  padding: 80px;
}

.faq-inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 24px 32px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.faq-q,
.faq-a {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.faq-q {
  align-items: center;
  margin-bottom: 8px;
}

.qa-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.qa-icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.qa-icon span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.qa-icon--q span {
  color: var(--white);
}

.qa-icon--a span {
  color: var(--navy);
}

.faq-q p,
.faq-a p {
  margin: 0;
  font-family: var(--font-faq);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-faq);
}

.faq-q p {
  font-weight: 700;
}

/* Document + contact */

.document {
  padding: 80px;
  background: var(--beige);
}

.contact-box {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.contact-box h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.contact-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

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

.contact-box .lead-card {
  width: 519px;
  max-width: 100%;
  flex-shrink: 0;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.contact-aside-copy {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.contact-aside-copy .text-em {
  font-size: 18px;
}

.contact-docs {
  width: min(388px, 100%);
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 388px;
}

.contact-action p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.contact-action .btn,
.phone-panel {
  width: 100%;
  height: 64px;
  font-size: 16px;
}

.phone-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--white);
  color: var(--navy);
}

.phone-panel strong {
  font-size: 17px;
  font-weight: 900;
}

.phone-panel span {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

/* Footer */

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer-sep {
  margin: 0 0.8em;
}

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

.footer a:hover {
  text-decoration: underline;
}

.sp-cta {
  display: none;
}

/* Responsive */

@media (max-width: 1200px) {
  .header,
  .hero {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .lead-card {
    width: 100%;
    max-width: 519px;
    margin: 0 auto;
  }

  .reason-visual {
    width: min(320px, 40%);
    height: auto;
    aspect-ratio: 410 / 326;
  }

  .reason-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 410 / 326;
  }

  .cta-inner {
    width: calc(100% - 80px);
    flex-direction: column;
    align-items: flex-start;
  }

  .docs-stack {
    align-self: center;
  }

  .flow,
  .document {
    padding-left: 40px;
    padding-right: 40px;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    height: 72px;
    padding: 12px 15px;
  }

  .logo,
  .logo img {
    width: 140px;
    height: auto;
  }

  .header-right {
    gap: 0;
  }

  .header-right .btn-header {
    display: none;
  }

  .header-tel {
    font-size: 11px;
  }

  .header-tel a {
    font-size: 16px;
    font-weight: 700;
  }

  .sp-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    gap: 8px;
    padding: 10px 15px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }

  .sp-cta .btn {
    flex: 1;
    height: 48px;
    padding: 12px 8px;
  }

  .footer {
    padding-bottom: calc(18px + 68px + env(safe-area-inset-bottom, 0px));
  }

  .hero,
  .section,
  .faq,
  .flow,
  .document {
    padding: 64px 15px;
  }

  .hero {
    padding-top: 48px;
  }

  .message {
    padding: 0 15px 40px;
  }

  .cta-inner {
    width: calc(100% - 30px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .section-title,
  .flow-title {
    font-size: 20px;
    margin-bottom: 36px;
  }

  .cta-copy h2,
  .contact-box h2 {
    font-size: 20px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    column-gap: 16px;
    row-gap: 8px;
  }

  .hero-stat {
    padding: 8px 0;
  }

  .hero-stat p {
    font-size: 14px;
  }

  .pain-grid,
  .case-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .message p {
    font-size: 20px;
  }

  .reason-copy {
    display: contents;
  }

  .reason-num {
    grid-column: 1;
    grid-row: 1;
    font-size: 80px;
  }

  .reason-text {
    display: contents;
  }

  .reason-row,
  .reason-row--reverse {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 48px 12px;
    flex-direction: unset;
    max-width: 500px;
    margin-inline: auto;
  }

  .reason-copy h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 18px;
  }

  .reason-visual {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    justify-self: center;
  }

  .reason-copy p {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
    font-size: 16px;
  }

  .reason-row + .reason-row {
    margin-top: 64px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
  }

  .flow-step {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
  }

  .flow-icon {
    width: 80px;
    height: 80px;
    aspect-ratio: 1;
  }

  .flow-step > div:not(.flow-icon) {
    width: 100%;
  }

  .flow-step h3 {
    text-align: center;
    font-size: 18px;
  }

  .flow-step p {
    text-align: left;
    font-size: 16px;
  }

  .contact-box {
    padding: 32px 15px;
  }

  .contact-box h2 {
    width: 100%;
    text-align: center;
  }

  .contact-action {
    align-items: center;
    margin-inline: auto;
    text-align: center;
  }

  .cta-photo {
    display: none;
  }
}
