@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f8fafc;
  --line: #dbe7f6;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --navy: #07111f;
  --navy-2: #0d1b31;
  --white: #ffffff;
  --radius: 20px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
  word-break: keep-all;
}

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

p,
h1,
h2,
h3,
li,
summary,
strong {
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(219, 231, 246, 0.78);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  font-size: 24px;
  font-weight: 800;
}

.brand-mark {
  display: none;
}

.nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-cta {
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 112px max(24px, calc((100vw - var(--max)) / 2)) 86px;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  background-size: 96px 96px, auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
  gap: 56px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-grid > *,
.grid-2 > *,
.grid-3 > *,
.cta-box > *,
.trust-strip > *,
.table-row > *,
.process-step > *,
.footer-grid > * {
  min-width: 0;
}

.eyebrow,
.section-kicker,
.card-kicker {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6vw, 74px);
  line-height: 1.08;
  font-weight: 820;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.78;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-weight: 760;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.hero-panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 80px rgba(37, 99, 235, 0.12);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: #475569;
  font-size: 13px;
  font-weight: 760;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cbd5e1;
}

.decision-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.decision-list li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.decision-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.decision-list strong {
  font-size: 15px;
  line-height: 1.45;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 36px auto 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.trust-strip div {
  min-height: 108px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.2;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 104px max(24px, calc((100vw - var(--max)) / 2));
}

.section.dark {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  background-size: 92px 92px, auto;
  color: var(--white);
}

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

.section-head {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-title {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.14;
  font-weight: 800;
}

.section-copy {
  color: var(--muted);
  font-size: 18px;
}

.dark .section-copy {
  color: rgba(226, 232, 240, 0.76);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card,
.price-card,
.faq-card,
.compare-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.055);
}

.info-card {
  padding: 28px;
}

.info-card h3,
.compare-card h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.32;
}

.info-card p,
.compare-card p,
.price-card p,
.faq-card p {
  color: var(--muted);
}

.dark .info-card,
.dark .compare-card {
  border-color: rgba(191, 219, 254, 0.22);
  background: rgba(15, 23, 42, 0.58);
  box-shadow: none;
}

.dark .info-card p,
.dark .compare-card p {
  color: rgba(226, 232, 240, 0.72);
}

.price-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.price-card.featured {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.price-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.price {
  display: block;
  margin: 8px 0 18px;
  font-size: 42px;
  line-height: 1;
  font-weight: 820;
}

.price small {
  color: var(--muted);
  font-size: 16px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #334155;
  font-size: 15px;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 850;
}

.dark .check-list li {
  color: rgba(226, 232, 240, 0.84);
}

.table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.table-row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row > * {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.table-row > *:last-child {
  border-right: 0;
}

.table-row strong {
  color: var(--ink);
}

.table-row span,
.table-row p {
  margin: 0;
  color: var(--muted);
}

.process-timeline {
  display: grid;
  gap: 16px;
}

.process-step {
  display: grid;
  grid-template-columns: 84px 1fr 280px;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(191, 219, 254, 0.22);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.58);
}

.process-step span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.24);
  color: #bfdbfe;
  font-weight: 850;
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.process-step p {
  margin: 0;
  color: rgba(226, 232, 240, 0.76);
}

.process-step em {
  color: #bfdbfe;
  font-style: normal;
  font-weight: 760;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-card {
  padding: 0;
}

.faq-card summary {
  cursor: pointer;
  padding: 22px 24px;
  font-size: 18px;
  font-weight: 780;
}

.faq-card p {
  margin: 0;
  padding: 0 24px 24px;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 86px max(24px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 78% 18%, rgba(37, 99, 235, 0.44), transparent 34%),
    radial-gradient(circle at 18% 86%, rgba(14, 165, 233, 0.18), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0f1f3a 54%, #101827 100%);
  color: var(--white);
}

.cta-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
  pointer-events: none;
}

.cta-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.cta-box h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.16;
}

.cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-section .button {
  border-color: var(--white);
  color: var(--white);
}

.cta-section .button.primary {
  background: var(--white);
  color: var(--navy);
}

.site-footer {
  border-top: 1px solid rgba(147, 197, 253, 0.14);
  background: linear-gradient(180deg, #07111f 0%, #050b14 100%);
  color: #94a3b8;
  padding: 84px 20px 36px;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 48px;
}

.footer-section {
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.03em;
}

.footer-logo img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
}

.footer-description {
  margin: 14px 0 0;
  color: #bfdbfe;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.footer-copy {
  margin: 22px 0 0;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

.footer-heading {
  margin: 0 0 18px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: default;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding: 0;
  text-align: left;
  text-transform: inherit;
}

.footer-toggle-icon {
  display: none;
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(147, 197, 253, 0.26);
  border-radius: 50%;
}

.footer-toggle-icon::before,
.footer-toggle-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: #bfdbfe;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.footer-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.footer-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a,
.footer-list span {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.footer-list a {
  min-height: 44px;
  transition: color 0.2s ease;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #bfdbfe;
}

.footer-bottom {
  display: grid;
  gap: 16px;
  margin-top: 58px;
}

.footer-disclaimer,
.footer-copyright {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.footer-copyright {
  color: #475569;
}

@media (max-width: 900px) {
  .site-header {
    gap: 14px;
    padding-inline: 18px;
    overflow: hidden;
  }

  .nav-links {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 18px;
    overflow: visible;
    font-size: 13px;
  }

  .nav-links a {
    display: none;
  }

  .nav-links a:first-child,
  .nav-links a:last-child {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
  }

  .page-hero {
    padding: 78px 20px 66px;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(38px, 10vw, 52px);
  }

  .hero-copy,
  .section-copy {
    font-size: 17px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
    margin-inline: 20px;
  }

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 72px 20px;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-row > * {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .table-row > *:last-child {
    border-bottom: 0;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 64px 20px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-brand {
    margin-bottom: 28px;
  }

  .footer-accordion {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }

  .footer-accordion:last-child {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .footer-heading {
    margin: 0;
  }

  .footer-toggle {
    min-height: 58px;
    color: #f8fafc;
    cursor: pointer;
    touch-action: manipulation;
  }

  .footer-toggle-icon {
    display: inline-block;
  }

  .footer-accordion.is-open .footer-toggle-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
  }

  .js-enabled .footer-accordion .footer-list {
    max-height: 0;
    overflow: hidden;
    gap: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition:
      max-height 0.28s ease,
      opacity 0.2s ease,
      padding 0.28s ease,
      transform 0.28s ease;
  }

  .js-enabled .footer-accordion.is-open .footer-list {
    max-height: 760px;
    gap: 4px;
    opacity: 1;
    padding: 0 0 16px;
    transform: translateY(0);
  }

  .footer-list a,
  .footer-list span {
    display: flex;
    min-height: 44px;
    align-items: center;
    font-size: 14px;
  }

  #footer-contact .footer-line {
    min-height: 38px;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .footer-bottom {
    margin-top: 34px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 21px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-title,
  .section-title {
    letter-spacing: 0;
  }

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

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .trust-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

html[lang="ja"] body,
html[lang="ja"] button,
html[lang="ja"] input,
html[lang="ja"] select,
html[lang="ja"] textarea {
  font-family: "Pretendard Variable", Pretendard, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
}

html[lang="ja"] p,
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] li,
html[lang="ja"] summary,
html[lang="ja"] strong {
  line-break: strict;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  html[lang="ja"] .hero-title {
    font-size: clamp(34px, 9.4vw, 46px);
    line-height: 1.18;
  }

  html[lang="ja"] .eyebrow,
  html[lang="ja"] .section-kicker,
  html[lang="ja"] .card-kicker {
    letter-spacing: 0.08em;
  }
}
