:root { --navy: #234568; --ink: #243247; --accent: #b93c4a; --paper: #f3f5fa; --tint: #e9edf6; }
html { background: var(--tint); }
body { margin: 0; color: var(--ink); font: 500 16px/1.5 "M PLUS 2", sans-serif; background: url('../img/bg_container.png') center top / cover no-repeat fixed; }
.translations { position: relative; width: min(100%, 444px); margin-inline: auto; border-inline: 2px solid var(--navy); background: var(--paper); overflow: clip; }
.translations a, .translations button, .age-gate-action { cursor: pointer; }
.translations a:focus-visible, .translations button:focus-visible, .translations summary:focus-visible, .translations select:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.translations button:disabled { cursor: not-allowed; }
.translations img { display: block; }
.lp-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px; background: #fff; }
.lp-header > a { flex: 0 1 156px; min-width: 0; }
.lp-header > a img { width: 100%; height: auto; }
.language-switch { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.language-switch label { font-size: 16px; font-weight: 700; }
.language-switch select { box-sizing: border-box; appearance: none; width: 106px; padding: 9px 28px 9px 13px; border: 1px solid var(--ink); border-radius: 8px; background: #fff url('../img/icon-language.svg') right 0 center / 24px 24px no-repeat; color: var(--ink); font: 500 14px/24px "M PLUS 2", sans-serif; cursor: pointer; }
.hero { position: relative; display: flex; flex-direction: column; gap: 24px; padding-block: 36px; overflow: clip; }
.hero-copy { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 0 24px 40px; }
.hero-heading { display: flex; flex-direction: column; gap: 8px; }
.hero-character { position: absolute; width: 75%; height: auto; max-width: none; left: 40.6822%; top: 121px; aspect-ratio: 330 / 401; object-fit: cover; transform: rotate(7.59deg); pointer-events: none; }
.eyebrow { color: var(--navy); font-size: 16px; font-weight: 700; line-height: 18.2px; letter-spacing: 1px; }
.hero h1 { color: var(--navy); font-size: clamp(30px, 8.63vw, 38px); font-weight: 900; line-height: 1.14; }
.hero-lead { font-size: 18px; line-height: 1.5; }
.trust-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.trust-badges li { display: flex; align-items: center; gap: 4px; padding: 4px 8px 4px 4px; border-radius: 24px; background: #fff; font-size: 14px; font-weight: 700; line-height: 18.2px; }
.badge-icon { flex: 0 0 24px; width: 24px; height: 24px; color: #00b781; font-size: 24px; }
.badge-icon--positive { color: #fabe00; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-cta { padding-inline: 24px; }
.cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 13px 15px; border: 1px solid var(--accent); border-radius: 35px; background: var(--accent); color: #fff; text-align: center; text-decoration: none; font-size: 16px; font-weight: 900; line-height: 24px; }
.cta:hover { filter: brightness(.94); }
.cta--outline { border-color: var(--navy); background: #fff; color: var(--navy); font-weight: 500; }
.panel { display: flex; flex-direction: column; gap: 18px; padding: 40px 24px; }
.panel h2 { width: 100%; color: var(--navy); font-size: 28px; line-height: 1.25; font-weight: 900; text-align: center; }
.tint { background: var(--tint); }
.translation-policy { gap: 20px; }
.policy-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; border-radius: 10px; background: #fff; text-align: center; font-size: 14px; line-height: 24px; }
.policy-card h3 { display: flex; align-items: center; gap: 4px; padding: 4px 8px 4px 4px; font-weight: 700; line-height: 18.2px; }
.comparison { display: flex; flex-direction: column; gap: 10px; }
.comparison-image { width: 100%; min-width: 0; position: relative; overflow: hidden; aspect-ratio: 191 / 113; }
.comparison-image img { position: absolute; max-width: none; max-height: none; height: 363.42%; width: 154.59%; left: -54.59%; top: -95.29%; }
.comparison-image--translated img { height: 362.84%; width: 154.34%; left: -54.34%; top: -95.14%; }
.comparison-image--translated img[data-display-language="zh-TW"] { height: 362.7%; top: -94.93%; }
.lineup { padding-bottom: 36px; scroll-margin-top: 20px; }
.lineup-lead { text-align: center; font-size: 14px; line-height: 21px; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.book-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px; border-radius: 8px; background: #fff; }
.book-cover { position: relative; width: 100%; aspect-ratio: 75 / 106; overflow: hidden; }
.book-cover img { position: absolute; max-width: none; max-height: none; object-fit: cover; }
.book-cover--after-five img { left: 0; top: 0; width: 102.6667%; height: 100.9434%; }
.book-cover--magic img { left: -5.3333%; top: -4.717%; width: 110.6667%; height: 109.434%; }
.book-cover--mama img { left: 0; top: -1.8868%; width: 210.71%; height: 104.717%; object-fit: fill; }
.book-cover--couple img { left: -7.88%; top: -8.1612%; width: 216.58%; height: 114.1206%; object-fit: fill; }
.book-cover--friend img { left: 0; top: -3.7736%; width: 100%; height: 104.717%; }
.book-card h3 { font-size: 14px; line-height: 21px; font-weight: 700; overflow-wrap: anywhere; }
.book-tags { align-self: flex-start; padding: 4px 8px; border-radius: 24px; background: #fabe00; color: #243247; font-size: 12px; font-weight: 500; line-height: 12px; }
.book-tags--en { background: #dcebfa; }
.book-tags--zh-tw { background: #ddf1e8; }
.book-price { font-size: 16px; line-height: 24px; font-weight: 700; }
.tax-label { font-size: 12px; font-weight: 500; white-space: nowrap; }
.book-card .preorder { margin-top: auto; }
.preorder { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 40px; padding: 4px 8px; border: 1px solid var(--accent); border-radius: 35px; background: #fabe00; color: var(--accent); font-size: 16px; font-weight: 700; line-height: 20px; text-align: center; text-decoration: none; }
.preorder .material-icons { flex: 0 0 20px; width: 20px; height: 20px; font-size: 20px; }
.preorder > :last-child { flex: 0 1 auto; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.preorder:hover { filter: brightness(.94); }
.price-note { font-size: 14px; line-height: 21px; }
.how-to { padding-block: 36px; }
.order-content { display: flex; flex-direction: column; gap: 40px; }
.order-steps { display: flex; flex-direction: column; gap: 24px; }
.order-step { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding-inline: 16px; }
.order-step + .order-step { padding-top: 24px; border-top: 1px solid #fff; }
.order-step h3 { display: flex; align-items: flex-start; gap: 12px; color: var(--navy); font-size: 18px; font-weight: 700; line-height: 24px; }
.order-step h3 > :last-child { flex: 1; min-width: 0; padding-top: 6px; }
.step-number { display: flex; flex: 0 0 36px; align-items: center; justify-content: center; height: 36px; border-radius: 50%; color: #fff; background: var(--navy); font-size: 20px; font-weight: 900; line-height: 20px; }
.order-body { font-size: 14px; line-height: 24px; }
.order-body .order-note { margin-top: 12px; }
.order-step > .cta { margin-top: 12px; }
.order-rate-link { display: flex; align-items: center; gap: 4px; }
.order-rate-link img { flex: 0 0 24px; }
.order-guides, .payment-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px; border-radius: 10px; background: #fff; }
.order-guides h3, .payment-card h3 { display: flex; align-items: center; gap: 4px; padding: 4px 8px 4px 4px; color: var(--navy); font-size: 18px; font-weight: 700; line-height: 24px; }
.order-guides .material-icons, .payment-card .material-symbols-outlined { flex: 0 0 24px; width: 24px; height: 24px; font-size: 24px; }
.payment-card .material-symbols-outlined { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.order-guide-links { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.order-guide-button { display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px; border: 1px solid var(--navy); border-radius: 24px; color: var(--navy); font-size: 14px; font-weight: 700; line-height: 18.2px; text-align: center; text-decoration: none; }
.order-guide-button:hover { background: var(--paper); }
.text-link { color: var(--navy); font-size: 15px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { text-decoration: none; }
.bundle { padding-block: 36px; background: #fff; }
.bundle-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 2px solid var(--navy); border-radius: 8px; }
.bundle-card h2 { font-size: 23px; font-weight: 700; line-height: 30px; color: var(--ink); }
.fee-estimate { font-size: 12px; }
.shipping-payment { background: var(--tint); }
.payment-body { display: flex; flex-direction: column; gap: 8px; width: 100%; font-size: 14px; line-height: 24px; text-align: center; }
.payment-note { font-size: 14px; }
.faq { gap: 20px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--navy); border-radius: 8px; background: #fff; color: #25252b; overflow: clip; }
.faq summary { display: flex; align-items: center; gap: 8px; padding: 14px; font-size: 15px; font-weight: 700; line-height: 22.5px; cursor: pointer; }
.question-mark { display: flex; flex: 0 0 28px; align-items: center; justify-content: center; height: 28px; border-radius: 50%; color: #fff; background: #25252b; font-size: 14px; }
.faq summary > span:nth-child(2) { flex: 1; min-width: 0; }
.faq summary img { flex: 0 0 18px; margin-left: 2px; }
.faq details[open] summary img { transform: rotate(180deg); }
.faq details > p { padding: 0 20px 12px; font-size: 14px; line-height: 21px; }
.news { gap: 16px; background: var(--navy); color: var(--tint); text-align: center; }
.news h2 { font-size: 26px; color: #fff; }
.social-links { display: flex; align-items: center; justify-content: center; gap: 24px; padding-top: 20px; }
.social-links a { display: flex; align-items: center; justify-content: center; flex: 0 0 50px; height: 50px; border-radius: 50%; background: #fff; }
.social-links img { object-fit: contain; }
.closing { display: flex; flex-direction: column; gap: 16px; padding: 36px 24px; text-align: center; }
.closing p { font-size: 12px; line-height: 18px; }
/* 福袋LPと同じ、1組分の距離を移動して繰り返すカルーセル。 */
.cover-preview { position: relative; padding-block: 24px; background: #ffffff99; backdrop-filter: blur(1.5px); }
.cover-preview-viewport { overflow-x: auto; }
.cover-preview-viewport:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.cover-preview.is-ready .cover-preview-viewport { overflow: hidden; }
.cover-preview-track { display: flex; width: max-content; }
.cover-preview-group { display: flex; flex: 0 0 auto; align-items: center; gap: 16px; padding-right: 16px; }
.cover-preview-group li { flex: 0 0 140px; }
.cover-preview-group img { display: block; width: 140px; height: 150px; max-width: none; object-fit: contain; }
.cover-preview.is-ready .cover-preview-track { animation: cover-scroll 30s linear infinite; }
.cover-preview:is(:hover, :focus-within) .cover-preview-track { animation-play-state: paused; }
@keyframes cover-scroll { to { transform: translateX(calc(-1 * var(--cover-preview-distance))); } }
html[data-age-check="pending"] { overflow: hidden; }
html[data-age-check="pending"] .translations { pointer-events: none; user-select: none; }
.age-gate { box-sizing: border-box; width: calc(100% - 32px); max-width: 560px; max-height: calc(100dvh - 32px); margin: auto; padding: 36px; overflow-y: auto; border: 2px solid var(--navy); border-radius: 24px; background: #fff; color: var(--ink); font: 500 14px/1.7 "M PLUS 2", sans-serif; text-align: center; }
.age-gate::backdrop { background: #2432474d; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.age-gate[open] { display: flex; flex-direction: column; gap: 16px; }
.age-gate h2 { font-size: 24px; font-weight: 700; line-height: 1.5; }
.age-gate-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.age-gate-action { display: flex; align-items: center; justify-content: center; padding: 14px 12px; border: 2px solid var(--accent); border-radius: 12px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; text-decoration: none; }
.age-gate-action--leave { border-color: var(--navy); background: #fff; color: var(--navy); }
.age-gate-action:hover { filter: brightness(.94); }
.age-gate-action:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.age-gate-action:disabled { opacity: .5; cursor: not-allowed; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .translations { border-inline: 0; }
  .lp-header, .language-switch { gap: 4px; }
  .language-switch select { padding: 4px 24px 4px 8px; background-position: right 2px center; background-size: 20px 20px; white-space: nowrap; }
  .age-gate { padding: 28px 20px; }
  .age-gate h2 { font-size: 20px; }
  .age-gate-actions { grid-template-columns: 1fr; }
}
@media (max-width: 400px) { .lp-header { padding-inline: 14px; } .language-switch label { font-size: 14px; } .language-switch select { width: 96px; } .lp-header > a { flex-basis: 132px; } .panel h2 { font-size: 25px; } .news h2 { font-size: 23px; } .bundle-card h2 { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cover-preview.is-ready .cover-preview-track { animation: none; } .cover-preview.is-ready .cover-preview-viewport { overflow-x: auto; } .cover-preview-group[aria-hidden="true"] { display: none; } }
@media (max-width: 400px) { .preorder { font-size: 15px; } }
