:root {
  --navy: #04384c;
  --navy-deep: #1f2937;
  --blue: #2993c4;
  --blue-light: #e8f5fa;
  --yellow: #ffdf28;
  --red: #ee3232;
  --text: #333;
  --muted: #556577;
  --border: #d4e4ea;
  --shadow: 0 16px 44px rgb(4 56 76 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.65;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.container--narrow {
  max-width: 820px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 78px;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand__icon {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

.brand__title {
  font-size: 20px;
  letter-spacing: .03em;
}

.brand__name {
  color: var(--blue);
  font-size: 23px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 34px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.button--header {
  min-height: 50px;
  padding: 0 27px;
  color: #fff;
  background: #e8720c;
}

.button--primary {
  color: #fff;
  background: #e8720c;
}

.button--primary span {
  font-size: 26px;
  line-height: 1;
}

.button--large {
  min-height: 72px;
  padding: 0 52px;
  border-radius: 12px;
  font-size: 21px;
}

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: var(--text);
  background: #f7f9fb;
}

.hero__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  background-image: linear-gradient(90deg, #f7f9fb 0%, transparent 20%), url("assets/hero-assistant-v2.jpg");
  background-position: center;
  background-size: cover;
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1200px, calc(100% - 48px));
  min-height: 520px;
  margin: 0 auto;
}

.hero__copy {
  width: 54%;
  max-width: 640px;
  padding: 46px 0 52px;
}

.hero__audience {
  display: inline-flex;
  margin-bottom: 21px;
  padding: 7px 20px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  background: var(--blue-light);
}

.hero h1 {
  font-size: clamp(38px, 4.2vw, 52px);
  line-height: 1.36;
  letter-spacing: .025em;
}

.marker {
  color: var(--blue);
}

.hero__price {
  display: inline-block;
  margin-top: 19px;
  color: var(--navy);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: .04em;
}

.hero__price span {
  font-size: 80px;
  line-height: 1;
}

.hero__lead {
  margin: 4px 0 28px;
  font-size: 17px;
}

.hero__lead strong {
  display: inline-block;
  margin-bottom: 6px;
  padding-bottom: 2px;
  border-bottom: 4px solid var(--red);
  font-size: 31px;
  line-height: 1.45;
}

.hero__image-inline {
  display: none;
}

.hero__actions {
  display: flex;
  gap: 12px;
}

.hero__note {
  margin-top: 14px;
  font-size: 13px;
  opacity: .9;
}

.section-kicker {
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
}

.worries {
  padding: 68px 0 78px;
  background: #fff;
}

.worries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.worry-card {
  position: relative;
  padding: 34px 29px 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.worry-card__number {
  position: absolute;
  top: 16px;
  right: 22px;
  color: rgb(41 147 196 / 15%);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.worry-card h2 {
  position: relative;
  margin-bottom: 18px;
  padding-top: 17px;
  font-size: 22px;
  line-height: 1.55;
}

.worry-card p {
  color: var(--muted);
  font-size: 15px;
}

.solution {
  background: var(--blue-light);
}

.solution__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: end;
  gap: 52px;
  padding-top: 68px;
}

.solution__assistant img {
  max-height: 575px;
  margin: auto;
  object-fit: contain;
  object-position: bottom;
}

.solution__body {
  align-self: center;
  padding-bottom: 64px;
}

.solution__body .section-kicker {
  text-align: left;
}

.solution__body h2 {
  margin: 14px 0 33px;
  font-size: clamp(32px, 3.2vw, 43px);
  line-height: 1.45;
}

.solution__body h2 span {
  color: var(--blue);
}

.task-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-list li {
  padding: 18px 24px;
  border-radius: 10px;
  background: #fff;
}

.task-list strong {
  display: block;
  font-size: 22px;
}

.task-list span {
  color: var(--muted);
  font-size: 13px;
}

.steps {
  padding: 76px 0;
}

.section-title {
  margin: 10px 0 42px;
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.5;
  text-align: center;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.steps__grid article {
  padding: 30px 30px 32px;
  border-top: 4px solid var(--blue);
  background: #f6f9fc;
}

.steps__grid span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.steps__grid h3 {
  margin: 8px 0 13px;
  font-size: 22px;
}

.steps__grid p {
  color: var(--muted);
  font-size: 15px;
}

.offer {
  padding: 0 0 76px;
}

.offer__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 42px 64px;
  border-radius: 18px;
  color: #fff;
  background: var(--blue);
}

.offer__label {
  color: rgb(255 255 255 / 85%);
  font-weight: 700;
}

.offer h2 {
  color: #fff;
  font-size: 39px;
}

.offer h2 span {
  font-size: 65px;
}

.offer__box > div > p:last-child {
  font-size: 15px;
}

.offer__box .button--primary {
  background: #fff;
  color: var(--navy);
}

.faq {
  padding: 68px 0 78px;
  background: #f6f8fb;
}

.faq details {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.faq details:first-of-type {
  border-radius: 13px 13px 0 0;
}

.faq details:last-of-type {
  border-bottom: 0;
  border-radius: 0 0 13px 13px;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::before {
  content: "Q";
  color: var(--blue);
  font-size: 22px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 15px 0 0 39px;
  color: var(--muted);
  font-size: 15px;
}

.closing {
  padding: 65px 0 72px;
  text-align: center;
  background: var(--blue-light);
}

.closing__icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 13px;
  border-radius: 50%;
}

.closing h2 {
  margin-bottom: 12px;
  font-size: clamp(29px, 3vw, 39px);
}

.closing p {
  color: var(--muted);
}

.closing__actions {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 28px;
}

.footer {
  padding: 28px 24px;
  color: #fff;
  background: var(--navy-deep);
  text-align: center;
}

.footer__service {
  font-size: 16px;
  font-weight: 700;
}

.footer__company {
  margin-top: 6px;
  color: #becad8;
  font-size: 14px;
}

.footer__copy {
  margin-top: 12px;
  color: #8a9bab;
  font-size: 12px;
}

.contact {
  padding: 68px 0 80px;
  background: #fff;
}

.contact__sub {
  margin-top: -30px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.contact__form {
  max-width: 600px;
  margin: 0 auto;
}

.contact__form iframe,
.contact__form .hs-form,
.contact__form .hbspt-form {
  max-width: 100%;
}

.contact__note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 78px - 110px);
  padding: 60px 0;
  background: #f7f9fb;
}

.thanks__inner {
  text-align: center;
}

.thanks__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
}

.thanks h1 {
  font-size: clamp(24px, 4vw, 32px);
  color: var(--navy);
}

.thanks__message {
  margin: 16px 0 36px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.mobile-only,
.mobile-cta {
  display: none;
}

@media (max-width: 920px) {
  .desktop-only {
    display: none;
  }

  .header {
    height: 68px;
  }

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

  .brand__icon {
    width: 48px;
    height: 48px;
  }

  .brand__sub {
    font-size: 12px;
  }

  .brand__name {
    font-size: 18px;
  }

  .button--header {
    display: none;
  }

  .hero {
    min-height: unset;
    color: var(--text);
    background: #f7f9fb;
  }

  .hero__image {
    display: none;
  }

  .hero__image-inline {
    display: block;
    width: 100%;
    margin: 18px 0 0;
    max-height: 300px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
  }

  .hero__inner {
    width: calc(100% - 38px);
    min-height: unset;
  }

  .hero__copy {
    width: 100%;
    padding: 30px 0 26px;
  }

  .hero__audience {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(31px, 7.9vw, 43px);
    line-height: 1.4;
  }

  .hero__price {
    margin-top: 12px;
    font-size: 32px;
  }

  .hero__price span {
    font-size: 60px;
  }

  .hero__lead {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .hero__lead strong {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__note {
    color: var(--muted);
    text-align: center;
  }

  .worries__grid,
  .steps__grid {
    grid-template-columns: 1fr;
  }

  .solution__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 52px;
  }

  .solution__body {
    order: -1;
    padding-bottom: 20px;
  }

  .solution__body .section-kicker {
    text-align: center;
  }

  .solution__body h2 {
    text-align: center;
  }

  .solution__assistant img {
    max-height: 395px;
  }

  .offer__box {
    flex-direction: column;
    align-items: stretch;
    padding: 36px 28px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 68px;
  }

  .container {
    width: calc(100% - 34px);
  }

  .mobile-only {
    display: block;
  }

  .brand__sub {
    display: none;
  }

  .brand__name {
    margin-left: 0;
  }

  .hero__image {
    height: 60vw;
    min-height: 222px;
  }

  .button {
    min-height: 55px;
    padding: 0 22px;
    font-size: 16px;
  }

  .worries,
  .steps,
  .faq {
    padding: 51px 0;
  }

  .worry-card {
    padding: 25px 22px;
  }

  .task-list {
    grid-template-columns: 1fr;
  }

  .steps__grid {
    gap: 14px;
  }

  .steps__grid article {
    padding: 22px;
  }

  .offer {
    padding: 0 0 53px;
  }

  .offer h2 {
    font-size: 32px;
  }

  .offer h2 span {
    font-size: 54px;
  }

  .faq details {
    padding: 18px;
  }

  .faq details p {
    margin-left: 0;
  }

  .closing {
    padding: 53px 0;
  }

  .closing__actions {
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: block;
    padding: 8px 13px;
    background: #fff;
    box-shadow: 0 -5px 18px rgb(0 0 0 / 13%);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 52px;
    border-radius: 8px;
    color: #fff;
    background: #e8720c;
    font-weight: 700;
  }
}
