:root {
  color-scheme: light;
  --lp-ink: #21365c;
  --lp-muted: #52627b;
  --lp-line: #dbe5f4;
  --lp-yellow-light: #fff6d9;
  --lp-shadow: 0 12px 36px rgb(35 65 140 / 7%);
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  min-width: 0;
  margin: 0;
  background: var(--color_white);
  color: var(--lp-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1.6rem;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--color_primary); }
a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--color_primary_dark); outline-offset: 5px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.wrap { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.5; color: var(--color_primary_dark); }
section { padding-block: 72px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--color_primary);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .14em;
}
.sec-head { margin-bottom: 32px; text-align: center; }
.sec-head h2 { font-size: 3.4rem; letter-spacing: .015em; }
.sec-head > p:last-child:not(.eyebrow) { margin-top: 16px; color: var(--lp-muted); }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--lp-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { position: relative; display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; }
.logo img {
  width: 104px;
}
.nav { display: flex; gap: 18px; align-items: center; }
.nav > a:not(.btn) { padding-block: 12px; font-size: 1.3rem; font-weight: 700; color: var(--lp-ink); white-space: nowrap; }
.nav > a:not(.btn):hover { color: var(--color_primary); text-decoration: underline; text-underline-offset: 5px; }
.btn {
  display: inline-flex;
  position: relative;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 13px 26px;
  border: 2px solid var(--color_primary);
  border-radius: 999px;
  color: var(--color_primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.btn::after { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn-primary { color: #fff; background: var(--color_primary); box-shadow: 0 5px 0 #d4e2ff; }
.btn-primary:hover { background: var(--color_primary_hover); border-color: var(--color_primary_hover); transform: translateY(-2px); }
.btn-ghost { background: #fff; }
.btn-ghost:hover { background: var(--color_bg_primary); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: 1.25rem; }
.hero { position: relative; padding-block: 40px; background: var(--color_bg_primary); }
.hero-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-partner-logos { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.hero-city-banner { width: 200px; max-width: 100%; height: auto; flex-shrink: 0; }
.hero-partner-cross { color: var(--lp-muted); font-size: 2.6rem; font-weight: 400; line-height: 1; flex-shrink: 0; }
.hero-freee-logo { width: 116px; height: auto; flex-shrink: 0; }
.hero-title-part { display: inline-block; }
.hero h1 { font-size: 3.2rem; line-height: 1.5; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; font-size: 4.6rem; font-weight: 900; color: var(--color_primary); background: linear-gradient(transparent 77%, var(--color_yellow) 77%, var(--color_yellow) 92%, transparent 92%); }
.hero .lead { margin-top: 18px; max-width: 580px; color: var(--lp-ink); font-size: 1.6rem; line-height: 1.9; }
.hero .hero-cta { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-visual { position: relative; width: 100%; max-width: 380px; justify-self: center; padding: 10px; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 12% -1% 5%; border-radius: 48% 52% 45% 55%; background: #fff; z-index: -1; }
.hero-visual::after { content: ""; position: absolute; top: 7%; right: 0; width: 62px; height: 62px; border-radius: 50%; background: #ffe49a; z-index: -1; }
.hero-visual img { width: 100%; }
.about { background: var(--color_white); }
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.about-copy h2 { font-size: 3.4rem; }
.about-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--lp-muted); }
.compare { display: grid; gap: 18px; }
.compare-row { padding: 24px 26px; border: 1px solid var(--lp-line); border-radius: 16px; background: #f7f9fc; }
.compare-row .tag { display: inline-block; border-radius: 5px; padding: 2px 10px; background: #e5eaf2; color: #506079; font-size: 1.2rem; font-weight: 700; }
.compare-row p { margin-top: 10px; color: var(--lp-muted); font-size: 1.4rem; line-height: 1.85; }
.compare-row p b { display: block; margin-bottom: 5px; font-size: 1.9rem; color: var(--lp-ink); }
.compare-row.is-new { border: 2px solid var(--color_primary); background: var(--color_bg_primary); box-shadow: var(--lp-shadow); }
.compare-row.is-new .tag { color: #fff; background: var(--color_primary); }
.compare-row.is-new p b { color: var(--color_primary); }
.notice { display: flex; align-items: flex-start; gap: 18px; margin-top: 40px; padding: 23px 28px; border-radius: 12px; background: var(--lp-yellow-light); }
.notice .mark { flex-shrink: 0; color: #7b4900; background: #ffe7a2; border-radius: 5px; padding: 2px 10px; font-size: 1.3rem; font-weight: 800; }
.notice p { margin: 0; font-size: 1.4rem; line-height: 1.9; }
.notice strong { font-weight: 800; }
#products { background: #f5f8fe; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.product { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 30px 32px 28px; border: 1px solid var(--lp-line); border-radius: 22px; background: #fff; box-shadow: var(--lp-shadow); }
.product-visual { display: grid; place-items: center; aspect-ratio: 2 / 1; margin: -6px -8px 2px; border-radius: 14px; background: var(--color_bg_primary); }
.product-visual img { width: 72%; max-height: 100%; object-fit: contain; }
.product h3 { font-size: 2.9rem; letter-spacing: .01em; }
.product .for { margin-top: 2px; color: var(--lp-muted); font-size: 1.3rem; }
.plans { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.plans li { padding: 5px 10px; border-radius: 5px; background: var(--color_bg_primary); color: var(--color_primary_dark); font-size: 1.25rem; font-weight: 700; line-height: 1.6; }
.product .desc { color: var(--lp-muted); font-size: 1.5rem; line-height: 1.9; }
.feat { display: grid; gap: 13px; margin-top: 2px; padding-top: 21px; border-top: 1px solid var(--lp-line); }
.feat li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 1.4rem; line-height: 1.85; }
.feat li::before { content: ""; width: 8px; height: 12px; margin: 5px 0 0 5px; border-right: 2px solid var(--color_primary); border-bottom: 2px solid var(--color_primary); transform: rotate(45deg); }
.portals-sec { position: relative; background: #fff; }
.portals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 14px; list-style: none; }
.portals li { min-width: 0; }
.portal-card { border: 1px solid var(--lp-line); border-radius: 12px; background: #fff; }
.portal-general, .portal-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 78px; padding: 17px 21px; color: var(--color_primary_dark); font-size: 1.5rem; font-weight: 700; line-height: 1.65; overflow-wrap: anywhere; border-radius: 12px; }
.portal-general { border: 1px solid var(--lp-line); background: #fff; transition: background .2s, border-color .2s; }
.portal-heading { cursor: pointer; list-style: none; }
.portal-heading::-webkit-details-marker { display: none; }
.portal-heading::marker { content: ""; }
.portal-general::after, .portal-heading::after, .portal-products a::after { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-top: 2px solid var(--color_primary); border-right: 2px solid var(--color_primary); transform: rotate(45deg); }
.portal-heading::after { transform: translateY(-2px) rotate(135deg); }
.portal-card[open] > .portal-heading::after { transform: translateY(2px) rotate(-45deg); }
.portal-card[open] > .portal-heading { border-bottom: 1px solid var(--lp-line); border-radius: 12px 12px 0 0; }
.portal-general:hover, .portal-heading:hover { background: var(--color_bg_primary); }
.portal-general:hover { border-color: var(--color_primary); }
.portal-products { display: grid; gap: 10px; padding: 14px; list-style: none; }
.portal-products a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 12px; border: 1px solid var(--lp-line); border-radius: 8px; color: var(--color_primary_dark); background: #fff; font-size: 1.3rem; font-weight: 700; line-height: 1.7; overflow-wrap: anywhere; transition: background .2s, border-color .2s; }
.portal-product-label { display: block; flex: 1 1 auto; min-width: 0; }
.portal-product-plan { white-space: nowrap; }
.portal-products a:hover { background: var(--color_bg_primary); border-color: var(--color_primary); }
#flow { background: var(--color_bg_primary); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.step { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px 22px; border-radius: 16px; background: #fff; box-shadow: var(--lp-shadow); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -14px; width: 9px; height: 9px; border-top: 2px solid var(--color_primary); border-right: 2px solid var(--color_primary); transform: rotate(45deg); }
.step .num { display: block; width: fit-content; padding: 3px 11px; border-radius: 5px; color: var(--color_primary); background: var(--color_bg_primary); font-size: 1.25rem; font-weight: 800; letter-spacing: .06em; }
.step h3 { font-size: 1.9rem; line-height: 1.6; }
.step p { color: var(--lp-muted); font-size: 1.4rem; line-height: 1.9; }
.step .when { display: block; margin-top: auto; padding: 7px 10px; border-radius: 6px; background: var(--lp-yellow-light); font-size: 1.15rem; font-weight: 700; line-height: 1.7; }
.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 32px; padding: 26px 30px; border-radius: 16px; background: #fff; }
.guide-cta p { font-size: 1.5rem; font-weight: 700; }
.guide-cta .btn { flex-shrink: 0; }
#faq { padding-bottom: 72px; }
.faq { max-width: 900px; margin-inline: auto; display: grid; gap: 16px; }
.faq details { border: 1px solid var(--lp-line); border-radius: 14px; background: #fff; }
.faq summary { display: grid; grid-template-columns: 32px minmax(0, 1fr) 24px; align-items: start; gap: 16px; padding: 25px 28px; list-style: none; cursor: pointer; font-size: 1.6rem; font-weight: 700; line-height: 1.8; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q, .faq .a-body .a { font-size: 2.2rem; font-weight: 800; line-height: 1.3; text-align: center; }
.faq summary .q { color: var(--color_primary); }
.faq summary .tog { align-self: center; text-align: center; color: var(--color_primary); font-size: 2rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary { background: #f6f9ff; border-radius: 14px 14px 0 0; }
.faq details[open] summary .tog { transform: rotate(45deg); }
.faq .a-body { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 22px 68px 28px 28px; font-size: 1.5rem; line-height: 1.9; color: var(--lp-muted); }
.faq .a-body .a { color: #956000; }
.final { position: relative; padding-block: 64px; background: var(--color_bg_primary); text-align: center; }
.final h2 { font-size: 3.4rem; }
.final p { margin-top: 18px; color: var(--lp-muted); }
.final .hero-cta { justify-content: center; margin-top: 30px; }
footer { padding-block: 32px; color: #fff; background: var(--color_primary_dark); font-size: 1.2rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }

@media (max-width: 1199px) {
  .nav { gap: 15px; }
  .hero-body { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; }
  .hero h1 { font-size: 2.7rem; }
  .hero h1 em { font-size: 3.9rem; }
  .portals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 20px; padding: 24px 28px; }
  .step .num { grid-row: 1 / 4; align-self: start; }
  .step p, .step .when { grid-column: 2; }
  .step .when { justify-self: start; margin-top: 2px; }
  .step:not(:last-child)::after { top: auto; right: auto; left: 48px; bottom: -14px; transform: rotate(135deg); }
}
@media (max-width: 959px) {
  .site-header .wrap { min-height: 70px; }
  .nav > a:not(.btn) { display: none; }
  .hero-body { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { max-width: 660px; margin-inline: auto; text-align: center; }
  .hero-partner-logos { justify-content: center; }
  .hero h1 { font-size: 3.2rem; }
  .hero h1 em { font-size: 4.6rem; }
  .hero .lead { max-width: none; text-align: left; }
  .hero-cta { justify-content: center; }
  .hero-visual { width: min(400px, 78%); margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-copy h2 { font-size: 3.2rem; }
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .compare-row { padding: 22px; }
  .products { grid-template-columns: 1fr; max-width: 660px; margin-inline: auto; }
  .product-visual { aspect-ratio: 2.4 / 1; }
  .product-visual img { width: 55%; }
  .guide-cta { flex-direction: column; align-items: stretch; gap: 20px; text-align: center; }
  .guide-cta .btn { align-self: center; }
}
@media (max-width: 599px) {
  html { scroll-padding-top: 82px; }
  .wrap { width: calc(100% - 40px); }
  section { padding-block: 56px; }
  .site-header .wrap { min-height: 68px; gap: 12px; }
  .logo img { width: 86px; }
  .btn-sm { padding-inline: 14px; font-size: 1.2rem; gap: 10px; }
  .hero { padding-block: 32px 40px; }
  .hero-body { gap: 22px; }
  .hero-partner-logos { gap: 12px; margin-bottom: 20px; }
  .hero-city-banner { width: 164px; }
  .hero-partner-cross { font-size: 2.2rem; }
  .hero-freee-logo { width: 96px; }
  .hero h1 { font-size: 2.2rem; letter-spacing: -.04em; }
  .hero h1 em { font-size: 3.1rem; letter-spacing: -.04em; }
  .hero .lead { margin-top: 18px; font-size: 1.5rem; line-height: 1.9; }
  .hero-cta { gap: 12px; margin-top: 24px; }
  .hero-cta .btn { width: 100%; min-height: 54px; }
  .hero-visual { width: min(320px, 90%); }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2, .about-copy h2, .final h2 { font-size: 2.6rem; line-height: 1.6; }
  .sec-head > p:last-child:not(.eyebrow) { font-size: 1.5rem; text-align: left; margin-top: 14px; }
  .eyebrow { font-size: 1.1rem; margin-bottom: 10px; }
  .about-copy > p:not(.eyebrow) { font-size: 1.5rem; margin-top: 18px; }
  .compare { grid-template-columns: 1fr; gap: 14px; }
  .compare-row { padding: 21px; }
  .compare-row p b { font-size: 1.8rem; }
  .notice { flex-direction: column; gap: 12px; padding: 22px; margin-top: 28px; }
  .product { gap: 18px; padding: 24px; border-radius: 18px; }
  .product-visual { margin: -4px -4px 0; aspect-ratio: 1.75 / 1; }
  .product-visual img { width: 80%; }
  .product h3 { font-size: 2.6rem; }
  .plans { gap: 7px; }
  .plans li { padding-inline: 9px; }
  .portals { grid-template-columns: 1fr; gap: 12px; }
  .portal-general, .portal-heading { min-height: 72px; padding: 18px 22px; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .step .num { grid-row: auto; }
  .step p, .step .when { grid-column: auto; }
  .step h3 { font-size: 1.9rem; }
  .step .when { justify-self: start; }
  .step:not(:last-child)::after { left: 50%; }
  .guide-cta { margin-top: 26px; padding: 24px 20px; }
  .guide-cta .btn { width: 100%; padding-inline: 16px; }
  #faq { padding-bottom: 56px; }
  .faq { gap: 12px; }
  .faq summary { grid-template-columns: 24px minmax(0, 1fr) 18px; gap: 10px; padding: 20px 16px; font-size: 1.45rem; }
  .faq summary .q, .faq .a-body .a { font-size: 2rem; }
  .faq .a-body { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 20px 16px; font-size: 1.4rem; }
  .final { padding-block: 52px; }
  .final p { font-size: 1.5rem; text-align: left; }
  footer { padding-block: 28px; font-size: 1.05rem; }
  footer .wrap { flex-direction: column; gap: 8px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
