:root {
  --blue:#1d4ed8; --action:#2563eb; --cyan:#06b6d4; --emerald:#10b981;
  --ink:#1f2937; --muted:#52657c; --line:#d8e8f5;
  --rounded:"Zen Maru Gothic","Hiragino Maru Gothic ProN","Hiragino Kaku Gothic ProN",system-ui,sans-serif;
  --body:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,system-ui,sans-serif;
  --shadow:0 22px 48px rgba(29,78,216,.14);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:#fff; font:16px/1.85 var(--body); letter-spacing:.035em; overflow-wrap:anywhere; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; }
a, button { font:inherit; }
:focus-visible { outline:3px solid var(--cyan); outline-offset:4px; }
h1,h2,h3,summary { text-wrap:balance; word-break:auto-phrase; font-family:var(--rounded); font-feature-settings:"palt" 1,"kern" 1; line-break:strict; overflow-wrap:anywhere; }
h1,h2,h3,p,figure { margin-top:0; }
.wrap { width:min(1140px,calc(100% - 40px)); margin-inline:auto; }
.site-header { position:relative; z-index:2; border-bottom:1px solid #e2edf6; background:#fff; }
.header-inner { display:flex; justify-content:space-between; align-items:center; gap:20px; min-height:76px; }
.header-inner img,.footer-inner img { width:min(234px,57vw); }
.header-inner span { color:#45617d; font:700 .82rem/1.5 var(--rounded); white-space:nowrap; }
.section { padding:104px 0; }
.section--pale { background:linear-gradient(155deg,#f1faff,#fff 62%,#e9f8ff); }
.section-head { max-width:780px; margin:0 auto 52px; text-align:center; }
.section-head h2 { margin:15px 0 10px; font-size:clamp(1.7rem,3vw,2.7rem); font-weight:800; line-height:1.42; letter-spacing:.045em; }
.section-head > p:last-child:not(.eyebrow) { margin:0; color:var(--muted); font-size:.96rem; }
.eyebrow { display:inline-flex; align-items:center; gap:.5rem; margin:0; padding:.38rem .88rem; border:1px solid #aee5f2; border-radius:999px; color:#087795; background:#edfcff; font:700 .78rem/1.35 var(--rounded); }
.eyebrow::before { flex:none; width:.52rem; height:.52rem; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--cyan)); content:""; }
.gradient-text { color:var(--blue); background:linear-gradient(90deg,var(--blue),var(--cyan)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.cta,.cta-panel-link { display:inline-flex; min-height:56px; align-items:center; justify-content:center; gap:.65rem; padding:.72rem 1.55rem; border:0; border-radius:999px; color:#fff; background:linear-gradient(100deg,var(--action),var(--cyan)); box-shadow:0 14px 26px rgba(37,99,235,.27); font:800 1rem/1.35 var(--rounded); letter-spacing:.035em; text-align:center; text-decoration:none; transition:transform .2s ease,box-shadow .2s ease; }
.cta:hover,.cta-panel-link:hover { transform:translateY(-2px); box-shadow:0 18px 33px rgba(37,99,235,.34); }
.cta:disabled { color:#365675; background:#dcecf7; box-shadow:none; cursor:default; }
/* Hero: the reference page's dot field, pale gradient, ring, and browser frame. */
.hero { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(156deg,#eaf6ff,#fff 54%,#e0f8fc); }
.hero::before { position:absolute; z-index:-1; inset:0; opacity:.52; background:radial-gradient(circle,#93c5fd 0 2px,transparent 2.8px) 0 0/28px 28px; -webkit-mask-image:linear-gradient(#000,transparent 84%); mask-image:linear-gradient(#000,transparent 84%); content:""; }
.hero::after { position:absolute; z-index:-1; top:-190px; right:-170px; width:530px; height:530px; border:46px solid rgba(103,232,249,.17); border-radius:50%; content:""; }
.hero-layout { display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); gap:40px; align-items:center; min-height:610px; padding:70px 0 86px; }
.hero-copy { min-width:0; }
.nw { display:inline-block; }
.hero h1 { margin:18px 0 12px; font-size:clamp(2.2rem,3.9vw,3.45rem); font-weight:800; line-height:1.27; letter-spacing:.045em; }
.hero h1 .gradient-text { display:inline-block; }
.hero-subline { margin:0 0 18px; color:#40536d; font:700 1.05rem/1.65 var(--rounded); }
.hero-lead { max-width:500px; margin:0 0 20px; color:#40536d; font-size:1rem; }
.offer { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 26px; }
.offer strong,.offer > span { display:inline-flex; align-items:center; flex-wrap:wrap; padding:.35rem .76rem; border:1px solid #d4e5f4; border-radius:999px; color:#45617d; background:rgba(255,255,255,.88); font:700 .78rem/1.5 var(--rounded); }
.offer strong { color:var(--blue); }
.offer > span { border-radius:18px; }
.offer .free { margin:0 .18em; padding:.05em .55em; border:1px solid #9ce7ca; border-radius:999px; color:#087957; background:#ecfff6; white-space:nowrap; }
.cta-group p { margin:12px 0 0; color:#677b92; font-size:.73rem; }
.hero-visual { position:relative; min-width:0; margin:0; padding:8px 8px 70px 0; }
.browser-frame { overflow:hidden; padding:9px; border:1px solid rgba(178,213,239,.94); border-radius:25px; background:rgba(255,255,255,.9); box-shadow:var(--shadow); transform:rotate(1deg); }
.browser-chrome { height:21px; padding:6px 5px; }
.browser-chrome::before { display:block; width:7px; height:7px; border-radius:50%; background:#b9cddd; box-shadow:11px 0 #d1e0eb,22px 0 #e0eaf1; content:""; }
.browser-frame img { width:100%; border-radius:17px; }
.screen { overflow:hidden; border:1px solid #cce0ee; border-radius:18px; background:#fff; box-shadow:0 20px 43px rgba(52,94,138,.11); }
.screen img { width:100%; }
.hero-phone { position:absolute; right:-2%; bottom:37px; width:28%; border-width:5px; border-radius:22px; box-shadow:0 18px 35px rgba(49,89,124,.17); }
.hero-visual figcaption { position:absolute; bottom:15px; left:0; right:25%; }
.screen-note { display:flex; align-items:center; justify-content:center; gap:.38rem; color:#57728f; font-size:.71rem; }
.screen-note::before { flex:none; width:.45rem; height:.45rem; border-radius:50%; background:var(--emerald); content:""; }
figcaption { color:#5d7488; font-size:.76rem; line-height:1.6; text-align:center; }
/* Pain, showcase, support, and request shapes follow the monitor page. */
.problem-layout { max-width:950px; }
.problem .section-head { margin-bottom:30px; }
.problem-layout > p { max-width:800px; margin:0 auto; padding:27px 32px; border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:0 10px 28px rgba(47,104,163,.055); color:var(--muted); }
.wide-capture { position:relative; max-width:1030px; margin:0 auto; padding:10px 10px 12px; border-radius:27px; }
.wide-capture::before,.feature-capture::before { position:absolute; z-index:1; top:18px; left:18px; padding:.25rem .58rem; border:1px solid rgba(255,255,255,.7); border-radius:999px; color:#345770; background:rgba(255,255,255,.9); font:700 .72rem/1.4 var(--rounded); content:"実際の画面（例）"; }
.wide-capture img,.feature-capture img { border-radius:17px; }
.wide-capture figcaption,.feature-capture figcaption,.phone-capture figcaption { padding-top:9px; }
.coverage-list { display:grid; grid-template-columns:170px 1fr; gap:26px; align-items:start; max-width:1030px; margin:38px auto 0; padding:24px; border:1px solid #cce8f7; border-radius:23px; background:#fff; box-shadow:0 16px 36px rgba(41,108,165,.075); }
.coverage-list > p { margin:7px 0 0; color:var(--blue); font:800 1rem/1.5 var(--rounded); }
.coverage-list ul { display:flex; flex-wrap:wrap; gap:9px; margin:0; padding:0; list-style:none; }
.coverage-list li { padding:6px 13px; border-radius:999px; color:#176a98; background:#eefaff; font:700 .82rem/1.5 var(--rounded); }
.feature-layout { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:22px 35px; align-items:center; padding:28px; border:1px solid var(--line); border-radius:27px; background:#fff; box-shadow:0 15px 36px rgba(35,100,154,.09); }
.feature-layout .section-head { grid-column:1/-1; margin-bottom:0; }
.feature-copy { padding:26px 26px 28px; border:1px solid #cfeaf7; border-radius:22px; background:linear-gradient(150deg,#f1faff,#fff 70%); }
.feature-copy::before { display:grid; width:48px; height:48px; place-items:center; margin-bottom:14px; border-radius:50%; color:#fff; background:linear-gradient(135deg,var(--blue),var(--cyan)); box-shadow:0 9px 19px rgba(37,99,235,.21); font:800 .95rem/1 var(--rounded); letter-spacing:.04em; }
.feature-copy--read::before { content:"01"; }.feature-copy--answer::before { content:"02"; }.feature-copy--bookmark::before { content:"03"; }.feature-copy--essay::before { content:"04"; }
.feature-copy p { margin:0; color:#334a63; font:700 1.08rem/1.95 var(--rounded); letter-spacing:.04em; }
.feature-capture { position:relative; min-width:0; margin:0; padding:7px 7px 10px; border-radius:18px; box-shadow:none; }
.feature-layout--reverse { grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr); }
.feature-layout--reverse .feature-copy { grid-column:2; grid-row:2; }
.feature-layout--reverse .feature-capture { grid-column:1; grid-row:2; }
.mobile-sample { display:grid; grid-template-columns:minmax(0,1fr) 215px; gap:30px; align-items:center; max-width:700px; margin-top:35px; padding:22px 28px; border:1px solid #cce8f7; border-radius:26px; background:#fff; box-shadow:0 16px 36px rgba(41,108,165,.075); }
.mobile-sample h3 { margin:0 0 8px; font-size:clamp(1.2rem,2.3vw,1.8rem); line-height:1.5; }
.mobile-sample p { margin:0; color:var(--muted); font-size:.9rem; }
.phone-capture { margin:0; padding:6px 6px 10px; border-radius:18px; }
.phone-capture img { border-radius:12px; }
.strategy-inner { max-width:950px; padding:34px; border:1px solid #cce8f7; border-radius:28px; background:#fff; box-shadow:0 16px 36px rgba(41,108,165,.075); }
.strategy .section-head { margin-bottom:24px; }
.strategy-inner > p { max-width:770px; margin:0 auto; color:var(--muted); }
.prose { max-width:980px; }
.guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; max-width:none; }
.request { padding:28px 26px; border:1px solid #d7eaf6; border-radius:23px; background:#fff; }
.request h3 { margin:0 0 9px; font-size:1.16rem; line-height:1.5; }
.request p { margin:0; color:#5e7189; font-size:.88rem; }
.exam-index > .wrap > p { max-width:850px; margin:0 auto 30px; color:var(--muted); text-align:center; }
.exam-toc ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0; padding:0; list-style:none; }
.exam-toc a { display:flex; height:100%; align-items:center; min-height:70px; padding:14px 18px; border:1px solid var(--line); border-radius:18px; color:#174677; background:#fff; box-shadow:0 10px 28px rgba(47,104,163,.055); font:700 .94rem/1.5 var(--rounded); text-decoration:none; }
.exam-toc a::before { flex:none; width:.5em; height:.5em; margin-right:12px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--cyan)); content:""; }
.exam-toc a:hover { border-color:#78c5e0; text-decoration:underline; }
/* Each exam gets the same light support panel and prominent pill CTA. */
.exam-section { border-bottom:1px solid var(--line); scroll-margin-top:16px; }
.exam-section > .wrap { max-width:1040px; }
.exam-section-head { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-bottom:25px; padding:25px 28px; border:1px solid #cce8f7; border-radius:27px; background:#fff; box-shadow:0 16px 36px rgba(41,108,165,.075); }
.exam-section-head .section-head { flex:1; min-width:0; margin:0; text-align:left; }
.exam-section-head h2 { margin-bottom:0; font-size:clamp(1.6rem,2.6vw,2.25rem); }
.exam-cta { flex:none; max-width:310px; }
.exam-overview { margin:0 0 10px; color:var(--blue); font:700 1.05rem/1.8 var(--rounded); }
.exam-section > .wrap > p:not(.eyebrow) { max-width:830px; }
.booklet-types { color:var(--muted); font-size:.92rem; }
.subject-block,.sample-block { margin-top:35px; }
.subject-block h3,.sample-block h3 { margin-bottom:9px; font-size:1.4rem; }
.subject-block > p { color:var(--muted); font-size:.9rem; }
.subject-list { display:flex; flex-wrap:wrap; gap:9px; margin:16px 0 0; padding:0; list-style:none; }
.subject-list li { position:relative; display:flex; gap:13px; align-items:baseline; overflow:hidden; min-width:160px; padding:8px 14px 15px; border:1px solid #c8e3ef; border-radius:13px; background:#fff; font-size:.91rem; }
.subject-list li::after { position:absolute; bottom:0; left:0; width:var(--bar-width,0%); height:5px; background:linear-gradient(90deg,var(--blue),var(--cyan)); content:""; }
.subject-list strong { color:var(--blue); white-space:nowrap; }
.sample-card { padding:clamp(19px,3vw,32px); border:1px solid #c8e3ef; border-radius:23px; background:#fff; box-shadow:0 10px 25px rgba(49,89,124,.07); }
.sample-card + .sample-card { margin-top:18px; }
.sample-meta { margin-bottom:16px; color:#376482; font-size:.86rem; }
.sample-stem,.choice-text { white-space:normal; overflow-wrap:anywhere; line-break:strict; }
.sample-stem { margin-bottom:23px; font-weight:600; }
.sample-choices { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.sample-choices li { display:grid; grid-template-columns:2em minmax(0,1fr); gap:10px; align-items:start; }
.choice-number { display:inline-grid; place-items:center; width:1.8em; height:1.8em; border-radius:50%; color:#17598a; background:#eaf6fc; font-weight:700; }
.sample-answer { margin-top:22px; padding-top:13px; border-top:1px solid var(--line); }
.sample-answer summary { width:fit-content; color:#16568b; font-weight:700; cursor:pointer; }
.sample-answer p { margin:8px 0 0; }
.sample-figure { overflow-x:auto; margin:12px 0; padding:12px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.sample-figure svg { display:block; max-width:100%; height:auto; margin:0 auto; }
.sample-figure figcaption { margin-top:6px; font-size:.78rem; }
.source-note { margin:14px 0 0; color:var(--muted); font-size:.84rem; }
.source-note a { color:#155697; text-decoration:underline; text-underline-offset:3px; }
.faq > .wrap { max-width:900px; }
.faq-item { border-bottom:1px solid #d8e7f2; }
.faq-item summary { position:relative; padding:21px 42px 21px 0; cursor:pointer; list-style:none; font-size:1rem; font-weight:700; line-height:1.65; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { position:absolute; top:21px; right:4px; color:var(--action); font:400 1.45rem/1.5 var(--body); content:"＋"; }
.faq-item[open] summary::after { content:"−"; }
.faq-item p { margin:0 0 21px; color:#5b7088; font-size:.88rem; }
/* Repeated conversion panels stay light, with the same CTA treatment as the hero. */
.cta-panel { padding:25px 0; background:#fff; }
.cta-panel-inner { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:clamp(27px,4vw,44px); border:1px solid #cce8f7; border-radius:28px; background:linear-gradient(125deg,#effaff,#fff 56%,#e9f8ff); box-shadow:0 16px 36px rgba(41,108,165,.075); }
.cta-panel-copy { min-width:0; }
.cta-panel-badge { display:inline-block; margin-bottom:12px; padding:.3rem .7rem; border:1px solid #aee5f2; border-radius:999px; color:#087795; background:#edfcff; font:700 .75rem/1.4 var(--rounded); }
.cta-panel h2 { margin:0 0 5px; color:var(--blue); font-size:clamp(1.42rem,2.5vw,2rem); line-height:1.45; }
.cta-panel p { margin:0; color:var(--muted); font-size:.9rem; }
.cta-panel-link { flex:none; }
.final { position:relative; isolation:isolate; overflow:hidden; padding:94px 0; background:linear-gradient(128deg,#e0f2fe 0%,#ecfeff 55%,#dbeafe 100%); text-align:center; }
.final::before,.final::after { position:absolute; z-index:-1; border:1px solid rgba(6,182,212,.25); border-radius:50%; content:""; }
.final::before { top:-140px; left:-110px; width:390px; height:390px; }
.final::after { right:-90px; bottom:-170px; width:420px; height:420px; }
.final-inner { max-width:760px; }
.final .eyebrow { background:#fff; }
.final h2 { margin:17px 0 11px; color:var(--blue); font-size:clamp(1.75rem,3vw,2.7rem); line-height:1.45; }
.final p:not(.eyebrow) { margin:0 auto 25px; color:#334155; font-size:.92rem; }
.final .cta { min-width:min(100%,365px); }
footer { padding:31px 0 90px; border-top:1px solid #e2e8f0; color:#475569; background:#fff; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.footer-inner p { max-width:31em; margin:0; font-size:.76rem; text-align:right; }
.sticky { position:fixed; z-index:20; right:12px; bottom:12px; left:12px; display:flex; min-height:58px; align-items:center; justify-content:center; padding:10px 20px; border-radius:999px; color:#fff; background:linear-gradient(100deg,var(--action),var(--cyan)); box-shadow:0 16px 36px rgba(12,55,116,.35); font:800 .96rem/1.35 var(--rounded); letter-spacing:.04em; text-align:center; text-decoration:none; transform:translateY(150%); transition:transform .25s ease; }
.sticky::before { content:"無料で会員登録・ログインして使う"; }
.sticky.is-visible { transform:translateY(0); }
@media (min-width:740px) { .sticky { right:0; left:0; bottom:24px; width:350px; margin:auto; } }
@media (max-width:920px) {
  .hero-layout { grid-template-columns:1fr; gap:27px; min-height:0; }
  .hero-copy { max-width:660px; margin:auto; text-align:center; }
  .hero-lead { margin-right:auto; margin-left:auto; }
  .offer { justify-content:center; }
  .hero-visual { max-width:680px; margin:auto; }
  .browser-frame { transform:none; }
  .feature-layout,.feature-layout--reverse { grid-template-columns:1fr; }
  .feature-layout--reverse .feature-copy,.feature-layout--reverse .feature-capture { grid-column:1; grid-row:auto; }
  .exam-section-head { flex-direction:column; align-items:stretch; }
  .exam-section-head .section-head { text-align:center; }
  .exam-cta { align-self:center; max-width:none; }
}
@media (max-width:700px) {
  .cta-panel-inner { flex-direction:column; align-items:stretch; gap:20px; }
  .cta-panel-link { width:100%; }
  .exam-toc ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .wrap { width:calc(100% - 32px); }
  .section { padding:72px 0; }
  .header-inner { min-height:64px; }
  .header-inner img { width:min(202px,54vw); }
  .header-inner span { font-size:.76rem; }
  .hero-layout { padding:50px 0 65px; }
  .hero h1 { font-size:clamp(2rem,9vw,2.6rem); }
  .hero-subline { font-size:.95rem; }
  .hero-lead { font-size:.91rem; }
  .hero .cta { width:100%; }
  .hero-visual { padding:5px 5px 45px 0; }
  .browser-frame { padding:7px; border-radius:20px; }
  .browser-frame img { border-radius:13px; }
  .hero-phone { right:0; bottom:26px; width:34%; border-width:3px; border-radius:14px; }
  .hero-visual figcaption { right:30%; bottom:0; font-size:.65rem; }
  .section-head { margin-bottom:35px; }
  .section-head h2 { font-size:clamp(1.65rem,8vw,1.9rem); }
  .section-head > p:last-child:not(.eyebrow) { font-size:.87rem; }
  .problem-layout > p { padding:20px; font-size:.9rem; }
  .wide-capture,.feature-capture { padding:5px 5px 9px; }
  .coverage-list { grid-template-columns:1fr; gap:10px; margin-top:26px; padding:18px; }
  .coverage-list li { padding:5px 10px; font-size:.8rem; }
  .feature-layout { gap:18px; padding:18px; border-radius:22px; }
  .feature-copy { padding:18px 18px 20px; }
  .feature-copy::before { width:40px; height:40px; font-size:.82rem; }
  .feature-copy p { font-size:.95rem; }
  .mobile-sample { grid-template-columns:minmax(0,1fr) 130px; gap:14px; padding:16px; }
  .mobile-sample h3 { font-size:1.12rem; }
  .mobile-sample p { font-size:.82rem; }
  .strategy-inner { padding:22px; }
  .guide-grid { grid-template-columns:1fr; gap:13px; }
  .request { padding:21px 19px; border-radius:19px; }
  .exam-toc ul { grid-template-columns:1fr; }
  .exam-section-head { padding:22px 18px; }
  .exam-cta { width:100%; }
  .subject-list li { min-width:0; }
  .sample-card { padding:18px; }
  .cta-panel { padding:16px 0; }
  .cta-panel-inner { padding:26px 21px; border-radius:22px; }
  .cta-panel h2 { font-size:1.5rem; }
  .cta-panel p { font-size:.82rem; }
  .final { padding:72px 0; }
  .final .cta { width:100%; }
  .footer-inner { display:block; }
  .footer-inner p { margin-top:15px; text-align:left; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .cta,.cta-panel-link,.sticky { transition:none; } }
