@font-face { font-family: "MacroLab Sans"; src: url("./fonts/noto-sans-jp-lp.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "MacroLab Serif"; src: url("./fonts/noto-serif-jp-lp.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
/* 添付デザインの共通スタイル。フォントは必要な文字を収録して同一サイトから配信する。 */
:root {
  --sans: "MacroLab Sans", "Inter", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Yu Gothic", Meiryo, sans-serif;
  --serif: "MacroLab Serif", "Hiragino Mincho ProN", "Noto Serif CJK JP", "Yu Mincho", YuMincho, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --bg: #f8faf7; --surface: #fff; --ink: #142c31; --muted: #596b6c;
  --line: #d9e2dc; --soft: #eef3ee; --accent: #246853;
  --button: #193d34; --button-text: #fff; --focus: #157b67;
  --max: 1160px; --radius: 16px;
  color-scheme: light;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-gutter: stable; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,p { margin: 0; }
h1,h2,h3 { overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: 1.45; }
h2 { font-weight: 500; font-size: clamp(28px, 3.05vw, 40px); line-height: 1.55; letter-spacing: -.035em; }
h3 { font-size: 21px; font-weight: 600; line-height: 1.6; letter-spacing: -.025em; }
p { overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
button { color: inherit; cursor: pointer; border: 0; padding: 0; background: none; }
a,button,summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: not-allowed; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
[hidden] { display: none !important; }
:where(a,button,summary,[tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
::selection { background: #bedfcb; color: #17332b; }
.wrap { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 108px; }
.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; top: -100px; left: 16px; padding: 12px 20px; background: #fff; color: #17332b; z-index: 999; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: .04em; margin-bottom: 22px; }
.eyebrow-line { display: block; width: 24px; height: 1px; background: currentColor; }
.micro { font-size: 12px; line-height: 1.7; font-weight: 500; letter-spacing: .04em; }
.fine-print { color: var(--muted); font-size: 13px; line-height: 1.85; }
.tiny-dot { display: inline-block; width: 6px; height: 6px; background: currentColor; border-radius: 50%; flex: 0 0 auto; }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid var(--line); font-size: 12px; border-radius: 5px; line-height: 1.4; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 50px; padding: 13px 20px; border-radius: 8px; border: 1px solid transparent; font-size: 14px; line-height: 1.65; font-weight: 600; text-align: center; transition: background .16s, border-color .16s, transform .16s; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--button); color: var(--button-text); }
.btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--small { padding: 9px 13px; min-height: 44px; font-size: 13px; }
@media (hover: hover) { .btn:not(:disabled):hover { transform: translateY(-1px); } .btn--primary:not(:disabled):hover { filter: brightness(1.09); } .btn--outline:hover { border-color: var(--ink); } }
.btn:disabled { background: #dfe5df; border-color: #dfe5df; color: #55675c; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color .16s; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link .icon { width: 17px; height: 17px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; }
.announcement { min-height: 38px; padding: 8px 24px; display: flex; justify-content: center; align-items: center; gap: 20px; font-size: 12px; line-height: 1.65; background: #dce9de; color: #244b3d; }
.announcement-state { display: inline-flex; align-items: center; gap: 10px; }
.announcement-state .icon { width: 14px; height: 14px; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--accent); }
.brand-mark svg { width: 30px; height: 30px; }
.wordmark { font-family: var(--sans); font-size: 23px; line-height: 1.05; font-weight: 650; letter-spacing: -.055em; }
.byline { display: block; margin-top: 7px; font-family: var(--mono); letter-spacing: .16em; font-size: 8px; font-weight: 400; color: var(--muted); }
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a,.login-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--muted); }
.nav-menu a:hover,.login-link:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-actions .btn { min-height: 42px; font-size: 12px; padding: 10px 15px; gap: 12px; }
.menu-toggle { display: none; }
.hero-lede { color: var(--muted); font-size: 16px; line-height: 2; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.section-heading { margin-bottom: 46px; }
.section-heading > p:last-child { color: var(--muted); margin-top: 20px; max-width: 750px; }
.split-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
.split-heading > p:last-child { margin: 0 0 5px; }
.section-lede { color: var(--muted); margin-top: 24px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; }
.check-list .icon { width: 17px; height: 17px; margin-top: 5px; color: var(--accent); }
/* Full-size, authentic product screen gallery. No decorative fake data. */
.product-gallery { border: 1px solid #374b4d; border-radius: 14px; background: #111e23; color: #eaf2ee; overflow: hidden; }
.gallery-chrome { display: flex; align-items: center; justify-content: space-between; padding: 12px 23px; border-bottom: 1px solid #2e4045; background: #142329; }
.gallery-wordmark { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: -.03em; }
.gallery-wordmark .tiny-dot { color: #bbd8c3; width: 5px; height: 5px; }
.gallery-chrome .micro { color: #aec2bf; font-size: 11px; }
.screen-tabs { display: flex; align-items: stretch; padding: 8px; gap: 6px; border-bottom: 1px solid #2e4045; }
.screen-tabs button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; color: #afc2c0; font-size: 13px; line-height: 1.5; min-height: 48px; padding: 10px 12px; border: 1px solid transparent; border-radius: 6px; }
.screen-tabs button .icon { width: 17px; height: 17px; }
.screen-tabs button[aria-selected="true"] { background: #263c39; border-color: #425952; color: #d8edde; }
.screen-tabs button:hover { color: #fff; }
.product-gallery :focus-visible { outline-color: #bce7cc; outline-offset: -4px; }
.screen-context { display: flex; justify-content: space-between; gap: 30px; padding: 22px 28px; border-bottom: 1px solid #2e4045; background: #111d22; }
.screen-context > div { flex: 1; min-width: 0; }
.screen-context .micro { color: #94b3a8; font-family: var(--mono); font-size: 10px; }
.screen-context h3 { font-size: 19px; font-weight: 500; margin-top: 4px; }
.screen-context p { color: #afc1c1; font-size: 13px; line-height: 1.85; width: 46%; align-self: center; }
.screen-open { display: block; width: 100%; position: relative; cursor: zoom-in; }
.screen-open img { width: 100%; aspect-ratio: 1902 / 1079; object-fit: cover; }
.zoom-pill { position: absolute; bottom: 18px; right: 18px; display: flex; align-items: center; gap: 8px; background: #f4f7f2; color: #1b3831; font-size: 12px; line-height: 1.5; padding: 11px 14px; border: 1px solid #f4f7f2; border-radius: 7px; box-shadow: 0 3px 15px #0003; }
.zoom-pill .icon { width: 16px; height: 16px; }
.image-note { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 15px; }
.image-note .icon { width: 15px; height: 15px; margin-top: 3px; }
/* Notification is a structural illustration, not a fabricated sent message. */
.routine-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.email-stage { min-width: 0; }
.email-card { background: #fff; color: #263f39; border: 1px solid #d4ddd3; border-radius: 12px; padding: 28px; box-shadow: 0 22px 45px -25px #253d3336; }
.email-top { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #e1e6e0; padding-bottom: 20px; margin-bottom: 25px; }
.email-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: #e9f0e8; }
.email-top strong { font-size: 14px; font-weight: 600; letter-spacing: -.04em; display: block; line-height: 1.4; }
.email-top div > span { font-size: 11px; color: #64716b; }
.email-time { margin-left: auto; color: #637369; font-size: 10px; }
.email-card h3 { font-size: 18px; font-weight: 500; }
.email-intro { color: #61736a; font-size: 12px; margin-top: 7px; }
.email-row { padding: 20px 0; display: flex; gap: 14px; align-items: flex-start; border-bottom: 1px solid #e1e6e0; }
.email-row > span { color: #687e70; font: 12px/1.9 var(--mono); }
.email-row strong { font-size: 13px; display: block; font-weight: 500; }
.email-row p { color: #66756d; font-size: 12px; margin-top: 3px; }
.email-row > .icon { margin-left: auto; width: 17px; height: 17px; color: #657f6c; margin-top: 3px; }
.email-cta { margin-top: 22px; border: 1px solid #d4ddd3; display: flex; justify-content: space-between; align-items: center; padding: 13px; font-size: 12px; border-radius: 6px; }
.email-cta .icon { width: 16px; height: 16px; }
.email-stage > .fine-print { margin-top: 18px; }
/* Textbook covers are editable CSS/SVG editorial compositions. */
.book-cover { --book-ink: #284937; width: 206px; height: 290px; position: relative; padding: 24px 20px; border-radius: 2px 6px 6px 2px; color: var(--book-ink); background: #e8edde; border: 1px solid #c5d0bf; box-shadow: inset 5px 0 0 #d3dccc, inset 7px 0 0 #b8c7b660, 6px 9px 13px -8px #0a1a225c; overflow: hidden; }
.book-series { display: block; font: 7px/1.7 var(--mono); letter-spacing: .12em; }
.book-title > span { display:block; white-space:nowrap; }
.book-title > .book-title-long { font-size:.83em; }
.book-title { display: block; margin-top: 25px; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.75; letter-spacing: -.055em; position: relative; z-index: 1; }
.book-subtitle { display: block; margin-top: 13px; font-size: 9px; line-height: 1.85; letter-spacing: .05em; position: relative; z-index: 1; }
.book-art { position: absolute; bottom: 26px; right: -4px; width: 95%; height: 100px; stroke: var(--book-ink); stroke-width: 1; opacity: .36; }
.book-bottom { position: absolute; bottom: 17px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; font: 6px var(--mono); letter-spacing: .12em; }
.book-bottom > span { font-family: var(--serif); font-size: 20px; }
.book-cover--case { --book-ink: #dbe8da; background: #243d39; border-color: #213a35; box-shadow: inset 5px 0 0 #1c312e, inset 7px 0 0 #46605860, 6px 9px 13px -8px #0a1a225c; }
.book-cover--mini { width: 178px; height: 246px; padding: 21px 17px; }
.book-cover--mini .book-title > span { display:block; white-space:nowrap; }
.book-title > .book-title-long { font-size:.83em; }
.book-title { font-size: 18px; margin-top: 20px; }
.book-cover--mini .book-subtitle { font-size: 8px; }
.book-cover--mini .book-art { height: 87px; }
/* Native disclosures, accessible without JavaScript. */
.faq-section { display: grid; grid-template-columns: .8fr 1.4fr; gap: 90px; }
.faq-heading .text-link { margin-top: 26px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; padding-block: 22px; font-size: 15px; line-height: 1.75; }
.faq-list summary .icon { width: 18px; height: 18px; color: var(--muted); }
details[open] > summary > .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 32px 25px 0; }
.faq-answer p { color: var(--muted); font-size: 14px; line-height: 2; }
.site-footer { padding: 58px 0 32px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 50px; }
.footer-top > div > p { margin-top: 20px; color: var(--muted); font-size: 12px; }
.footer-links { display: grid; grid-template-columns: auto auto; gap: 8px 32px; }
.footer-links a { font-size: 12px; min-height: 36px; display: flex; align-items: center; color: var(--muted); }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 45px; padding-top: 26px; display: flex; justify-content: space-between; gap: 50px; color: var(--muted); }
.footer-bottom > span { font: 11px/1.8 var(--mono); white-space: nowrap; }
.footer-bottom p { max-width: 730px; font-size: 11px; line-height: 1.9; }
/* Lightbox: native dialog handles background inertness and keyboard focus trapping. */
.screen-dialog { --line:#364a4c; --ink:#e7f1e9; --muted:#b1c6c1; --focus:#b8e1c7; --button:#dae8db; --button-text:#183328; color-scheme:dark; width: min(1320px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; border: 1px solid #49615a; border-radius: 14px; background: #132329; color: var(--ink); padding: 0; }
.screen-dialog::backdrop { background: #060b10d9; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.dialog-top .micro { color: var(--muted); font-size: 10px; }
.dialog-top h2 { font-family: var(--sans); font-size: 18px; margin-top: 3px; }
.dialog-controls { display: flex; align-items: center; gap: 10px; }
.dialog-viewport { max-height: calc(100dvh - 258px); overflow: auto; overscroll-behavior: contain; background: #0c171d; }
.dialog-viewport img { display: block; width: 100%; height: auto; max-width: none; }
.dialog-viewport.is-zoomed img { width: auto; max-width: none; }
.dialog-bottom { padding: 9px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); }
.dialog-bottom .text-link { font-size: 12px; }
.dialog-note { color: var(--muted); font-size: 11px; padding: 0 22px 15px; }
.mobile-cta { position: fixed; z-index: 35; bottom: 0; left: 0; right: 0; align-items: center; justify-content: space-between; gap: 14px; background: var(--bg); border-top: 1px solid var(--line); padding: 12px 20px max(12px, env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px #14292c06; }
.mobile-cta > div { display: flex; flex-direction: column; gap: 1px; line-height: 1.7; }
.mobile-cta span { font-size: 10px; }
.mobile-cta strong { font-size: 14px; font-weight: 600; }
.mobile-cta strong small { font-size: 10px; }
.mobile-cta .btn { min-height: 46px; padding: 10px 13px; gap: 8px; font-size: 12px; flex: 0 0 auto; }
.mobile-cta .btn span { font-size: 12px; }
.noscript-note { margin: 20px; padding: 18px; background: var(--soft); font-size: 14px; }
@media (min-width: 761px) { .mobile-cta { display: none !important; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .nav-menu { gap: 18px; }
  .nav-actions { gap: 14px; }
  .login-link { display: none; }
  .split-heading { gap: 40px; }
  .routine-layout { gap: 48px; }
  .faq-section { gap: 45px; grid-template-columns: .8fr 1.3fr; }
}
@media (max-width: 760px) {
  html { scrollbar-gutter: auto; }
  html { scroll-padding-top: 85px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 68px; }
  h2 { font-size: 29px; line-height: 1.6; }
  .eyebrow { font-size: 12px; margin-bottom: 17px; }
  .announcement { font-size: 10px; gap: 12px; padding: 8px 15px; }
  .announcement-state .icon { width: 12px; height: 12px; }
  .nav-shell { min-height: 65px; gap: 10px; }
  .wordmark { font-size: 21px; }
  .brand { gap: 7px; }
  .brand-mark { width: 29px; }
  .brand-mark svg { width: 27px; height: 27px; }
  .byline { font-size: 7px; margin-top: 6px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { font-size: 11px; min-height: 40px; padding: 9px 12px; }
  .nav-actions .btn .icon { display: none; }
  .menu-toggle { display: grid; width: 40px; height: 40px; }
  .nav-menu { position: absolute; top: 100%; left: -20px; right: -20px; display: flex; align-items: stretch; gap: 0; padding: 12px 22px 18px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; }
  .nav-menu a { padding: 12px 10px; min-height: 48px; font-size: 14px; }
  .js .nav-menu:not(.is-open) { display: none; }
  html:not(.js) .nav-shell { flex-wrap: wrap; }
  html:not(.js) .nav-menu { position: static; order: 4; width: 100%; }
  html:not(.js) .menu-toggle { display: none; }
  .hero-lede { font-size: 15px; line-height: 2.05; }
  .split-heading { display: block; }
  .split-heading > p:last-child { margin: 22px 0 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading p { font-size: 14px; }
  .routine-layout { grid-template-columns: 1fr; gap: 38px; }
  .email-card { padding: 23px; }
  .email-row { padding-block: 18px; }
  .gallery-chrome { padding: 10px 14px; }
  .screen-tabs { padding: 6px; gap: 3px; }
  .screen-tabs button { flex-direction: column; gap: 5px; font-size: 10px; padding: 9px 3px; min-height: 61px; }
  .screen-tabs button .icon { width: 17px; height: 17px; }
  .screen-context { padding: 17px; display: block; }
  .screen-context h3 { font-size: 17px; }
  .screen-context p { width: 100%; font-size: 12px; margin-top: 10px; }
  .zoom-pill { bottom: 10px; right: 10px; font-size: 10px; padding: 8px 10px; gap: 6px; }
  .zoom-pill .icon { width: 14px; height: 14px; }
  .image-note { font-size: 11px; }
  .faq-section { grid-template-columns: 1fr; gap: 26px; }
  .faq-heading .text-link { margin-top: 14px; }
  .faq-list summary { font-size: 14px; min-height: 76px; padding-block: 20px; gap: 18px; }
  .faq-answer { padding: 0 0 23px; }
  .faq-answer p { font-size: 13px; }
  .site-footer { padding: 44px 0 115px; }
  .footer-top { flex-direction: column; gap: 26px; }
  .footer-top > div > p { font-size: 12px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 7px 20px; }
  .footer-links a { min-height: 44px; font-size: 11px; }
  .footer-bottom { margin-top: 26px; padding-top: 24px; flex-direction: column; gap: 17px; }
  .footer-bottom p { font-size: 10px; }
  .screen-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 10px; }
  .dialog-top { padding: 13px; gap: 10px; }
  .dialog-top h2 { font-size: 15px; }
  .dialog-top .micro { font-size: 9px; }
  .dialog-controls { gap: 7px; }
  .dialog-controls .btn { font-size: 11px; padding: 7px 10px; }
  .dialog-controls .icon-btn { width: 40px; height: 44px; }
  .dialog-viewport { max-height: calc(100dvh - 232px); }
  .dialog-bottom { padding: 8px 14px; }
  .dialog-note { padding: 0 14px 13px; font-size: 10px; }
  .mobile-cta:not([hidden]) { display: flex; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .nav-actions .btn { padding-inline: 9px; }
  .wordmark { font-size: 19px; }
  .brand-mark { width: 25px; }
  .screen-tabs button { font-size: 9px; }
  .mobile-cta { padding-inline: 12px; gap: 8px; }
  .mobile-cta strong { font-size: 12px; }
  .mobile-cta span { font-size: 9px; }
  .btn { font-size: 13px; padding-inline: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 正式アイコンを見本と同じロゴ枠に収める。 */
.brand-mark img { width: 100%; height: auto; border-radius: 23%; }
