:root { --blue: #00a0d0; --ink: #242424; --muted: #626262; --line: #e5e5e5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: #f2f2f2; color: var(--ink); font: 16px/1.5 "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; }
.page { max-width: 640px; margin: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
button, input { font: inherit; color: inherit; }
button, summary, label { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #242424; outline-offset: 3px; }
[hidden] { display: none !important; }
p { margin: 0 0 8px; }
h1 { margin: 0 0 12px; font-size: 24px; font-weight: 700; }
h2, h3, h4, h5 { margin: 0 0 12px; font-size: 18px; font-weight: 700; line-height: 1.5; }
h2, .total-box h4, .ticket-details h5, #purchase-notes h3 { border-left: 4px solid var(--blue); padding-left: 10px; }
.skip-link { position: absolute; top: -100px; padding: 12px; background: white; z-index: 2; }
.skip-link:focus { top: 0; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 12px; background: white; box-shadow: 0 2px 3px #0003; }
.site-header img { display: block; object-fit: contain; min-width: 0; }
.facility-logo { width: 52%; height: 48px; }
.asoview-logo { width: 39%; height: 20px; }
main { padding: 20px 16px 0; }
main > section, main > details, .page-intro { margin-bottom: 24px; }
.purchased-link { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0 0 24px; padding: 8px 4px; border: 2px solid var(--blue); border-radius: 4px; background: white; color: var(--blue); font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; }
.page-intro > a { display: inline-flex; align-items: center; min-height: 48px; }
.muted { color: var(--muted); }
.panel, .card, .product-category { background: white; border-radius: 4px; box-shadow: 0 1px 4px #0002; }
.panel { padding: 16px; }
.saving { color: var(--blue); font-weight: 700; }
#repeater-deadline { margin: 16px 0 0; }
.featured-deadline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 12px; padding: 12px 14px; border-radius: 4px; background: #c62828; color: white; font-weight: 700; }
.featured-deadline time { font-size: 20px; }
.featured-countdown { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: white; color: #c62828; font-size: 18px; white-space: nowrap; }
.featured-cards { display: grid; gap: 12px; }
.featured-card { padding: 14px 16px 16px; border-radius: 4px; border-top: 4px solid var(--blue); background: white; box-shadow: 0 1px 4px #0002; }
.featured-image { flex: none; aspect-ratio: 1216 / 811; margin: -14px -16px 12px; background: #e5e5e5; }
.featured-image img { display: block; width: 100%; height: auto; }
.featured-tag { display: inline-block; margin: 0 0 6px; padding: 2px 8px; border-radius: 4px; background: #e6f6fb; color: #00739a; font-size: 14px; font-weight: 700; }
.featured-card h3 { margin: 0 0 8px; border: 0; padding: 0; font-size: 18px; }
.featured-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 2px; }
.featured-price span { min-width: 5.5em; font-weight: 700; }
.featured-price strong { color: var(--blue); font-size: 26px; font-weight: 700; line-height: 1.3; }
.featured-price del { color: var(--muted); font-size: 14px; }
.featured-saving { margin: 8px 0 4px; color: #c62828; font-size: 18px; font-weight: 700; }
.featured-saving span { color: var(--muted); font-size: 14px; font-weight: 400; }
.featured-point { margin: 0 0 12px; color: var(--muted); }
#featured-note { margin: 12px 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chooser { padding-block: 0; }
.chooser > summary { display: flex; align-items: center; gap: 8px; padding: 16px 0; }
.chooser > summary::-webkit-details-marker { display: none; }
.chooser > summary::before { content: '+'; color: var(--blue); flex: none; font-size: 18px; font-weight: 700; }
.chooser[open] > summary::before { content: '−'; }
.chooser > summary h2 { margin: 0; }
.chooser[open] { padding-bottom: 16px; }
#recommendations { margin-top: 24px; }
#recommendations h3 { border-left: 4px solid var(--blue); padding-left: 10px; }
fieldset { min-width: 0; border: 0; border-top: 1px solid var(--line); margin: 20px 0; padding: 12px 0 0; }
legend { display: flex; align-items: center; gap: 8px; padding: 0 8px 0 0; font-size: 18px; font-weight: 700; }
.question-number { flex: none; color: var(--blue); }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.two-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options label { position: relative; min-width: 0; }
.options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.options span { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 48px; padding: 8px 2px; border: 1px solid #c8c8c8; border-radius: 4px; text-align: center; line-height: 1.4; background: white; }
.options input:checked + span { color: var(--blue); border: 2px solid var(--blue); padding: 7px 1px; font-weight: 700; }
.options input:focus-visible + span { outline: 3px solid #242424; outline-offset: 3px; }
.repeat-question .muted:last-child { margin: 8px 0 0; }
.party-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.party-label strong, .party-label span { display: block; }
.party-label span { color: var(--muted); }
.stepper { display: flex; align-items: center; flex: none; gap: 2px; }
.stepper button { height: 48px; width: 48px; border: 1px solid var(--blue); border-radius: 4px; background: white; color: var(--blue); font-size: 24px; }
.stepper button:disabled { cursor: default; color: #888; background: #f2f2f2; border-color: var(--line); }
.stepper output { width: 28px; text-align: center; font-size: 20px; font-weight: 700; }
.primary { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 48px; padding: 12px; border: 0; border-radius: 4px; color: white; background: var(--blue); font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; }
.primary:hover, .purchased-link:hover { opacity: .8; }
.cards { display: grid; gap: 16px; }
.card { min-width: 0; overflow: hidden; overflow-wrap: anywhere; }
.product-image { position: relative; height: 152px; background: #e5e5e5; }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-title { position: absolute; inset: 0; display: flex; align-items: flex-end; margin: 0; padding: 16px; background: linear-gradient(transparent, #000d); color: white; font-size: 18px; font-weight: 500; line-height: 1.45; }
.card-body { padding: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 4px; }
.badge { color: var(--blue); font-size: 16px; font-weight: 700; }
.prices { margin: 0; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.price-row dt { font-size: 16px; font-weight: 700; }
.price-row dd { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin: 0; text-align: right; }
.discount-badge { border-radius: 4px; padding: 1px 4px; color: white; background: var(--blue); font-size: 10px; font-weight: 400; }
.price-amounts { white-space: nowrap; }
.price-row del { margin-right: 8px; color: #000; font-size: 12px; }
.price-row strong { font-size: 20px; font-weight: 700; color: var(--blue); }
.currency { font-size: 12px; font-weight: 700; }
.price-unit { margin: 8px 0; color: var(--muted); }
.total-box { margin: 12px 0; padding: 12px 0; border-block: 1px solid var(--line); }
.total-box h4 { margin-bottom: 4px; }
.total-box p:last-child { margin-bottom: 0; }
.total-price { display: block; font-size: 28px; font-weight: 700; color: var(--blue); }
.calculation-notes, .set-contents { margin: 8px 0; }
.notice { padding: 8px 10px; border-left: 4px solid var(--blue); background: #f2f2f2; }
.sales-deadline { margin: 12px 0; }
.periods { margin: 16px 0; }
.periods div { margin-bottom: 8px; }
.periods dt { font-weight: 700; }
.periods dd { margin: 0; }
summary { min-height: 48px; padding: 12px 0; }
.ticket-details > summary { color: var(--blue); text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.ticket-details[open] > summary { margin-bottom: 8px; }
.ticket-details p, #purchase-notes p { white-space: pre-line; overflow-wrap: anywhere; }
.ticket-details h5 { margin-top: 16px; }
.product-category { margin: 12px 0; }
.product-category > summary { display: flex; align-items: center; gap: 8px; padding: 16px 12px; font-size: 18px; font-weight: 700; }
.product-category > summary::-webkit-details-marker { display: none; }
.product-category > summary::before { content: '+'; color: var(--blue); flex: none; }
.product-category[open] > summary::before { content: '−'; }
.category-count { margin-left: auto; color: var(--muted); white-space: nowrap; font-size: 16px; font-weight: 400; }
.product-category > .cards { padding: 0 12px 12px; }
.purchase-help { padding-block: 0; }
.purchase-help > summary { color: var(--ink); font-size: 18px; font-weight: 700; }
#purchase-notes { padding-bottom: 8px; }
#purchase-notes h3 { margin-top: 16px; }
#cg-guidance .cg-cards { flex-direction: column; margin: 0 16px; }
#cg-guidance .cg-card { width: auto; margin: 16px 0 0; }
#cg-guidance .cg-card:first-of-type { margin: 0; }
#cg-guidance, #cg-guidance .cg-desc, #cg-guidance a.cg-btn,
#cg-guidance .cg-inquiry, #cg-guidance .cg-note, #cg-guidance .cg-list-title,
#cg-guidance .cg-list li, #cg-guidance .cg-footlinks { font-size: 16px; line-height: 1.5; }
#cg-guidance a.cg-btn { height: auto; min-height: 48px; padding: 10px; }
#cg-guidance .cg-inquiry dl { display: block; }
#cg-guidance .cg-inquiry dd { margin-left: 0; }
#cg-guidance .cg-method { overflow-wrap: anywhere; }
#cg-guidance .cg-footlinks { flex-direction: column; }
.page > .cg-footer { min-height: 100px; height: auto; padding: 24px 16px; }
@media (max-width: 360px) {
  .panel { padding-inline: 12px; }
  .product-title { padding: 12px; }
  .party-row { flex-wrap: wrap; gap: 8px; }
  .price-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (min-width: 960px) {
  .page { max-width: 1040px; }
  main { padding: 32px 24px 0; }
  .purchased-link { max-width: 400px; margin-left: auto; }
  .featured-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .featured-card { display: flex; flex-direction: column; }
  .featured-tag { align-self: flex-start; }
  .site-header { padding: 6px 24px; }
  .facility-logo { width: 192px; object-position: left center; }
  .asoview-logo { width: 160px; object-position: right center; }
  .featured-card .purchase-link { margin-top: auto; }
  .featured-point { margin-bottom: 16px; }
  .featured-price span { min-width: 0; }
  .featured-deadline { padding: 14px 20px; }
  #choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  #choices > fieldset { grid-column: 1; }
  #choices > fieldset:nth-child(2) { grid-column: 2; grid-row: 1 / span 3; }
  .chooser > .primary { max-width: 400px; margin-inline: auto; }
  #recommended-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .product-category > .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  #cg-guidance .cg-cards { flex-direction: row; margin: 0 24px; gap: 16px; }
  #cg-guidance .cg-card, #cg-guidance .cg-card:first-of-type { flex: 1; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
