:root {
  --ink: #111629;
  --muted: #606982;
  --line: #e2e6ef;
  --soft: #f5f7fb;
  --blue: #3458ec;
  --blue-dark: #2342c8;
  --violet: #7050e9;
  --green: #0f9f75;
  --orange: #dc7728;
  --white: #fff;
  --shadow: 0 24px 70px rgba(26, 38, 82, 0.11);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -60px; padding: 10px 16px; color: white; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(225, 229, 239, .82);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand-logo { display: block; width: 32px; height: 32px; border-radius: 8px; }
.primary-nav { display: flex; align-items: center; gap: 30px; color: #3d465d; font-size: 14px; font-weight: 700; }
.primary-nav > a:not(.button):hover { color: var(--blue); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: none; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(52, 88, 236, .25); outline-offset: 3px; }
.button[aria-disabled="true"] { cursor: not-allowed; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 9px 24px rgba(52, 88, 236, .23); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--ink); border-color: #ccd2df; background: white; }
.button-dark { color: white; background: var(--ink); }
.button-small { min-height: 42px; padding: 8px 17px; border-radius: 10px; }
.button-white { color: var(--blue-dark); background: white; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.58); background: rgba(255,255,255,.08); }
.download-link.is-recommended { position: relative; color: white !important; border-color: var(--blue) !important; background: var(--blue) !important; box-shadow: 0 10px 26px rgba(52,88,236,.28) !important; }
.download-link.is-recommended:hover { background: var(--blue-dark) !important; }
.download-link.is-alternative { color: var(--ink) !important; border-color: #ccd2df !important; background: white !important; box-shadow: none !important; }
.hero-actions .download-link.is-recommended::after, .result-actions .download-link.is-recommended::after { content: "おすすめ"; position: absolute; right: 9px; top: -10px; padding: 3px 7px; color: white; border: 2px solid white; border-radius: 99px; background: var(--green); box-shadow: 0 4px 10px rgba(15,159,117,.25); font-size: 8px; font-weight: 900; letter-spacing: .04em; }
.platform-icon { display: block; flex: 0 0 auto; width: 28px; height: 28px; }
.button-primary .platform-icon, .download-link.is-recommended .platform-icon { filter: brightness(0) invert(1); }
.button small { display: block; margin-bottom: 2px; opacity: .7; font-size: 10px; font-weight: 600; text-align: left; }

.hero { position: relative; overflow: hidden; padding: 88px 0 78px; background: linear-gradient(180deg, #f9faff 0%, #fff 80%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(#e8ebf4 1px, transparent 1px), linear-gradient(90deg, #e8ebf4 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, black, transparent 68%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(12px); opacity: .33; }
.hero-glow-one { width: 430px; height: 430px; left: -220px; top: -120px; background: #b9c7ff; }
.hero-glow-two { width: 380px; height: 380px; right: -190px; top: 130px; background: #ddd2ff; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; text-align: center; }
.eyebrow, .kicker { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid #d8def9; border-radius: 99px; background: rgba(255,255,255,.78); }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #24b47e; box-shadow: 0 0 0 4px rgba(36,180,126,.13); }
.hero h1 { max-width: 900px; margin: 23px auto 20px; font-size: clamp(38px, 5.3vw, 66px); line-height: 1.18; letter-spacing: -.055em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-actions .button { min-width: 230px; }
.hero-note { margin: 12px 0 0; color: #7a8298; font-size: 12px; }

.experience-card { position: relative; order: -1; width: 100%; max-width: 970px; min-height: 232px; margin: 0 auto 50px; overflow: hidden; border: 1px solid rgba(216,221,234,.95); border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); text-align: left; }
.mission-panel { padding: 30px; }
.experience-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.experience-heading h2 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.experience-heading p { margin: 1px 0 0; color: var(--muted); font-size: 13px; }
.step-badge, .status-label { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.step-badge { flex: 0 0 auto; padding: 4px 8px; border-radius: 6px; background: #edf0ff; }
.url-field { display: flex; align-items: center; min-height: 62px; padding: 6px 6px 6px 18px; border: 1px solid #ccd2df; border-radius: 14px; background: white; box-shadow: inset 0 1px 2px rgba(20,30,55,.03); }
.url-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(52,88,236,.1); }
.link-icon { display: block; flex: 0 0 auto; width: 21px; height: 21px; }
.url-field input { min-width: 0; flex: 1; padding: 10px 13px; border: 0; outline: none; color: var(--ink); font-size: 15px; }
.url-field input::placeholder { color: #959cad; }
.url-field .button { min-height: 48px; }
.field-error { margin: 8px 0 0; color: #c53a4b; font-size: 12px; }
.sample-link-row { display: flex; align-items: center; justify-content: flex-start; gap: 5px; margin-top: 9px; padding-left: 52px; color: #858da1; font-size: 11px; }
.sample-link-row button { min-width: 0; padding: 3px 0; overflow: hidden; color: var(--blue); border: 0; border-bottom: 1px solid rgba(52,88,236,.5); background: none; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.sample-link-row button:hover { border-bottom-color: currentColor; }
.privacy-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #82899b; font-size: 11px; text-align: center; }
.privacy-row p { margin: 0; }

.progress-panel, .error-panel { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.progress-orbit { position: relative; width: 62px; height: 62px; margin-bottom: 14px; border: 1px solid #dfe4f6; border-radius: 50%; }
.progress-orbit::before { content: ""; position: absolute; inset: 13px; border-radius: 12px; background: var(--blue); transform: rotate(45deg); }
.progress-orbit span { position: absolute; inset: -1px; border: 2px solid transparent; border-top-color: var(--blue); border-radius: 50%; animation: orbit 1.3s linear infinite; }
.progress-orbit i { position: absolute; left: 27px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
@keyframes orbit { to { transform: rotate(360deg); } }
.progress-panel h2, .error-panel h2 { margin: 6px 0 2px; font-size: 24px; }
.progress-panel > p:not(.status-label), .error-panel > p { margin: 0; color: var(--muted); }
.progress-track { position: relative; width: min(440px, 90%); height: 9px; margin-top: 24px; overflow: hidden; border-radius: 99px; background: #e8ebf3; box-shadow: inset 0 1px 2px rgba(28,39,79,.08); }
.progress-track span { position: relative; display: block; width: 8%; height: 100%; overflow: hidden; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #8069ef); box-shadow: 0 0 16px rgba(52,88,236,.4); transition: width .5s linear; }
.progress-track span::after { content: ""; position: absolute; inset: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); transform: translateX(-120%); animation: progress-shine 1.4s ease-in-out infinite; }
@keyframes progress-shine { to { transform: translateX(300%); } }
.progress-stage { margin-top: 9px !important; color: var(--blue) !important; font-size: 12px; font-weight: 800; }

.result-panel { padding: 28px; background: linear-gradient(180deg, #fbfcff, white); }
.success-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 18px; color: var(--green); font-size: 13px; font-weight: 800; }
.success-line span { display: grid; width: 24px; height: 24px; place-items: center; color: white; border-radius: 50%; background: var(--green); }
.download-gate { max-width: 720px; margin: 0 auto; padding: 32px 28px 26px; border: 1px solid #dfe4f0; border-radius: 20px; background: white; box-shadow: 0 18px 48px rgba(31,42,80,.1); text-align: center; }
.download-gate-icon { display: grid; width: 62px; height: 62px; margin: 0 auto 12px; place-items: center; color: white; border-radius: 18px; background: linear-gradient(135deg, var(--blue), #7659e8); box-shadow: 0 12px 26px rgba(52,88,236,.3); font-size: 30px; font-weight: 900; }
.download-gate-icon img { filter: brightness(0) invert(1); }
.download-gate h2 { margin: 5px auto 9px; font-size: clamp(25px, 4vw, 34px); line-height: 1.3; letter-spacing: -.035em; }
.download-gate-copy { max-width: 610px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.download-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; color: #424c64; font-size: 12px; font-weight: 800; }
.download-benefits span::first-letter { color: var(--green); }
.download-arrow { margin: 17px auto -4px; color: var(--blue); font-size: 23px; font-weight: 900; animation: download-point 1.1s ease-in-out infinite; }
@keyframes download-point { 50% { transform: translateY(6px); } }
.result-actions { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.result-actions.download-emphasis .button { min-width: 270px; min-height: 62px; padding-inline: 24px; font-size: 14px; }
.result-actions.download-emphasis .download-link.is-recommended { animation: cta-pulse 1.8s ease-in-out infinite; }
@keyframes cta-pulse { 50% { box-shadow: 0 12px 34px rgba(52,88,236,.48), 0 0 0 7px rgba(52,88,236,.09) !important; } }
.result-footnote { margin-top: 10px !important; color: #868ea1 !important; font-size: 10px !important; }
.error-icon { display: grid; width: 56px; height: 56px; place-items: center; color: #bd3f52; border-radius: 50%; background: #fff0f2; font-size: 24px; font-weight: 900; }
.error-panel .button { margin-top: 18px; }

.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-heading h2, .download-layout h2, .faq-layout h2 { margin: 8px 0 12px; font-size: clamp(29px, 4vw, 43px); line-height: 1.3; letter-spacing: -.04em; }
.section-heading p, .download-layout > div > p, .faq-layout > div > p { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 285px; overflow: hidden; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.feature-card-large { grid-row: span 2; min-height: 588px; }
.feature-number { position: absolute; top: 22px; right: 24px; color: #cbd0dc; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 22px; border-radius: 14px; font-size: 15px; font-weight: 900; }
.feature-icon img { display: block; width: 25px; height: 25px; }
.icon-blue { color: var(--blue); background: #edf0ff; }.icon-violet { color: var(--violet); background: #f1edff; }.icon-green { color: var(--green); background: #e7f7f2; }.icon-orange { color: var(--orange); background: #fff1e6; }
.feature-card h3 { margin: 0 0 9px; font-size: 20px; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.mini-app { position: absolute; left: 28px; right: 28px; bottom: -10px; height: 255px; display: flex; overflow: hidden; border: 1px solid #d9deeb; border-radius: 15px 15px 0 0; background: #f7f8fc; box-shadow: 0 18px 40px rgba(24,37,77,.12); }
.mini-sidebar { width: 54px; padding: 20px 14px; background: #202946; }.mini-sidebar i { display: block; height: 8px; margin-bottom: 16px; border-radius: 3px; background: #67708c; }.mini-content { flex: 1; padding: 18px; }.mini-toolbar { width: 70%; height: 19px; margin-bottom: 15px; border-radius: 6px; background: #e1e5ef; }.mini-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }.mini-grid i { height: 74px; border-radius: 7px; background: linear-gradient(135deg,#d5dcf5,#e5e7ee); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.steps li > span { display: grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; color: white; border-radius: 11px; background: var(--blue); font-weight: 900; }
.steps h3 { margin: 2px 0 7px; font-size: 17px; }.steps p { margin: 0; color: var(--muted); font-size: 13px; }

.download-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: center; }
.download-cards { display: grid; gap: 13px; }
.download-cards article { display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 35px rgba(31,42,80,.05); }
.download-cards article.is-recommended-card { border-color: rgba(52,88,236,.55); box-shadow: 0 14px 38px rgba(52,88,236,.12); }
.download-cards article.is-recommended-card::before { content: "この端末におすすめ"; grid-column: 1 / -1; width: max-content; margin-bottom: -8px; padding: 3px 8px; color: var(--blue); border-radius: 99px; background: #edf0ff; font-size: 9px; font-weight: 900; }
.os-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--blue); border-radius: 14px; background: #edf0ff; font-size: 26px; }
.os-icon img { display: block; width: 25px; height: 25px; }
.download-cards h3, .download-cards p { margin: 0; }.download-cards p { color: var(--muted); font-size: 12px; }.download-cards small { display: block; margin-top: 3px; color: #9a6370; font-size: 10px; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.faq-list details { border-bottom: 1px solid #d9deea; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { margin: -4px 35px 20px 0; color: var(--muted); font-size: 14px; }
.faq-icon { display: grid; flex: 0 0 auto; width: 27px; height: 27px; place-items: center; color: var(--blue); border-radius: 8px; background: white; }

.final-cta { padding: 90px 0; color: white; background: linear-gradient(135deg, #253fc4, #563bd1); }
.final-cta-inner { text-align: center; }.kicker-light { color: #c9d1ff; }.final-cta h2 { margin: 8px 0; font-size: clamp(32px, 5vw, 50px); letter-spacing: -.04em; }.final-cta p { margin: 0; color: #d9ddff; }.final-cta .hero-actions { margin-top: 25px; }
.site-footer { padding: 48px 0 25px; background: #0f1425; color: white; }
.footer-top { display: flex; justify-content: space-between; gap: 50px; }.footer-top > div p { max-width: 460px; margin: 14px 0 0; color: #949cb3; font-size: 12px; }.footer-top nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: start; color: #c5cad7; font-size: 12px; }.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 42px; padding-top: 20px; border-top: 1px solid #252b3e; color: #767f98; font-size: 10px; }
@media (max-width: 900px) {
  .primary-nav { position: absolute; top: 64px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
  .primary-nav[data-open="true"] { display: flex; }.primary-nav a { padding: 11px; }.menu-button { display: block; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }.feature-card-large { grid-row: span 2; }
  .download-layout, .faq-layout { grid-template-columns: 1fr; gap: 38px; }.steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding: 58px 0 54px; }.hero h1 { font-size: 36px; }.hero-copy { font-size: 14px; }
  .hero-actions, .result-actions { flex-direction: column; }.hero-actions .button { width: 100%; min-width: 0; }
  .experience-card { margin: 0 auto 36px; border-radius: 18px; }.mission-panel { padding: 20px; }
  .url-field { display: grid; grid-template-columns: auto 1fr; padding: 7px 7px 7px 14px; }.url-field .button { grid-column: 1 / -1; width: 100%; margin-top: 4px; }.url-field input { padding-inline: 10px; font-size: 13px; }
  .sample-link-row { padding-left: 45px; }
  .privacy-row { align-items: flex-start; text-align: left; }.progress-panel { min-height: 320px; }
  .download-gate { padding: 26px 17px 22px; }.download-benefits { flex-direction: column; gap: 4px; }.result-actions.download-emphasis .button { min-width: 0; }
  .section { padding: 72px 0; }.section-heading { margin-bottom: 32px; }.feature-grid { grid-template-columns: 1fr; }.feature-card-large { min-height: 560px; }
  .download-cards article { grid-template-columns: auto 1fr; }.download-cards article .button { grid-column: 1 / -1; }
  .faq-layout { gap: 25px; }.final-cta { padding: 70px 0; }.footer-top, .footer-bottom { flex-direction: column; }.footer-bottom { gap: 5px; }.footer-top nav { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.legal-body { background: #f8f9fc; }
.legal-header { border-bottom: 1px solid var(--line); background: white; }
.legal-header .container { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.legal-header .container > a:last-child { color: var(--blue); font-size: 13px; font-weight: 800; }
.legal-main { max-width: 820px; padding-top: 78px; padding-bottom: 100px; }
.legal-main h1 { margin: 8px 0 18px; font-size: clamp(36px, 6vw, 54px); line-height: 1.2; letter-spacing: -.045em; }
.legal-lead { margin: 0 0 44px; color: var(--muted); font-size: 18px; }
.policy-date { margin: -8px 0 42px; color: #858da1; font-size: 12px; }
.legal-main section { margin-top: 38px; padding-top: 4px; }
.legal-main section h2 { margin: 0 0 10px; font-size: 21px; }
.legal-main section p, .legal-main section li, .legal-steps p { color: #555f76; font-size: 14px; }
.legal-main section a, .legal-steps a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-main section li + li { margin-top: 8px; }
.legal-steps { display: grid; gap: 14px; padding: 0; margin: 38px 0; list-style: none; counter-reset: guide; }
.legal-steps li { position: relative; padding: 22px 22px 20px 64px; border: 1px solid var(--line); border-radius: 16px; background: white; counter-increment: guide; }
.legal-steps li::before { content: counter(guide); position: absolute; left: 20px; top: 20px; display: grid; width: 30px; height: 30px; place-items: center; color: white; border-radius: 9px; background: var(--blue); font-weight: 900; }
.legal-steps p { margin: 5px 0 0; }
.legal-actions { display: flex; gap: 10px; margin-top: 46px; }
.legal-footer { padding: 30px 0; color: #9aa2b5; background: #111629; }
.legal-footer .container { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; }
@media (max-width: 640px) {
  .legal-main { padding-top: 52px; padding-bottom: 72px; }
  .legal-lead { font-size: 16px; }
  .legal-actions { flex-direction: column; }
  .legal-actions .button { width: 100%; }
}
