:root {
  color-scheme: light;
  font-family: "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  color: #17233a;
  background: #f4f1ea;
  --navy: #142944;
  --navy-light: #24476b;
  --gold: #d7aa58;
  --cream: #f4f1ea;
  --paper: #fffdf8;
  --ink: #17233a;
  --muted: #687386;
  --line: #ddd8cc;
  --shadow: 0 20px 55px rgb(27 41 62 / 10%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); }
#schedule, #wishlist, #weather, #add-plan, #add-product { scroll-margin-top: 78px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 38%, rgb(86 129 164 / 42%), transparent 22rem),
    linear-gradient(125deg, #10233d, #183755 60%, #234a68);
}
.hero::after {
  position: absolute;
  right: -7%; bottom: -125px; left: -7%;
  height: 200px;
  border-radius: 50% 50% 0 0;
  background: var(--cream);
  content: "";
}
.topbar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  width: min(1180px, calc(100% - 40px)); margin: auto; padding: 24px 0;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgb(255 255 255 / 35%); border-radius: 50%; color: var(--gold); }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.nav-link { position: relative; padding: 8px 0; color: rgb(255 255 255 / 64%); font-size: .78rem; text-decoration: none; }
.nav-link::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; transform: scaleX(0); background: var(--gold); content: ""; transition: transform .18s ease; }
.nav-link:hover, .nav-link.is-active { color: white; }
.nav-link.is-active::after { transform: scaleX(1); }
.hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 78px 0 150px; }
.eyebrow { margin: 0 0 16px; color: #e3bf79; font-size: .68rem; font-weight: 800; letter-spacing: .22em; }
.eyebrow.dark { color: #9b7533; }
h1 { max-width: 720px; margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(2.7rem, 7vw, 5.6rem); font-weight: 500; line-height: 1.16; letter-spacing: -.04em; }
h1 em { color: #f2ce86; font-style: normal; }
.hero-copy { max-width: 560px; margin: 28px 0 34px; color: rgb(255 255 255 / 73%); font-size: .98rem; line-height: 1.9; }
.primary-action { display: inline-flex; align-items: center; gap: 30px; padding: 15px 20px; border: 1px solid rgb(255 255 255 / 28%); color: white; background: rgb(255 255 255 / 8%); font-size: .85rem; text-decoration: none; backdrop-filter: blur(10px); }
.primary-action span { color: var(--gold); }
.hero-orbit { position: absolute; border: 1px solid rgb(255 255 255 / 10%); border-radius: 50%; }
.orbit-one { top: 95px; right: 8%; width: 390px; height: 390px; }
.orbit-two { top: 180px; right: 14%; width: 220px; height: 220px; }

.view-tabs { position: sticky; z-index: 8; top: 0; border-bottom: 1px solid #d8d1c5; background: rgb(244 241 234 / 94%); box-shadow: 0 8px 24px rgb(24 39 58 / 7%); backdrop-filter: blur(14px); }
.view-tabs-inner { display: grid; grid-template-columns: 1fr 1fr; width: min(560px, calc(100% - 28px)); margin: auto; }
.view-tab { display: grid; position: relative; min-height: 68px; place-content: center; gap: 3px; color: #777064; text-align: center; text-decoration: none; }
.view-tab::after { position: absolute; right: 18px; bottom: 0; left: 18px; height: 3px; transform: scaleX(0); background: var(--gold); content: ""; transition: transform .18s ease; }
.view-tab small { color: #a17b39; font-size: .52rem; font-weight: 800; letter-spacing: .18em; }
.view-tab span { font-size: .76rem; font-weight: 700; }
.view-tab:hover, .view-tab.is-active { color: var(--navy); }
.view-tab.is-active::after { transform: scaleX(1); }

.planner { position: relative; z-index: 3; width: min(1180px, calc(100% - 40px)); margin: -10px auto 0; padding: 20px 0 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 600; }
.visit-settings { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; margin-top: 12px; }
.date-picker { display: grid; gap: 5px; color: var(--muted); font-size: .68rem; }
.date-control { display: grid; position: relative; min-height: 38px; align-items: center; border: 1px solid #d7d0c2; padding: 5px 34px 5px 10px; color: var(--navy); background: rgb(255 255 255 / 52%); font-size: .78rem; cursor: pointer; }
.date-control::after { position: absolute; top: 10px; right: 10px; color: #9b7533; content: "▣"; font-size: .72rem; pointer-events: none; }
.date-control input { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; }
.park-picker { margin: 0; border: 0; padding: 0; }
.park-picker legend { margin-bottom: 5px; padding: 0; color: var(--muted); font-size: .68rem; }
.park-picker > div { display: flex; }
.park-picker label { display: block; position: relative; cursor: pointer; }
.park-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.park-picker span { display: grid; min-width: 68px; min-height: 38px; place-items: center; border: 1px solid #d7d0c2; color: #777161; background: rgb(255 255 255 / 38%); font-size: .7rem; }
.park-picker label + label span { border-left: 0; }
.park-picker input:checked + span { border-color: var(--navy); color: white; background: var(--navy); }
.park-picker input:focus-visible + span { outline: 3px solid rgb(215 170 88 / 24%); outline-offset: 2px; }
.saved-days { display: flex; flex-wrap: wrap; align-items: end; gap: 7px; margin-top: 12px; }
.saved-days label { display: grid; min-width: min(100%, 255px); gap: 5px; color: var(--muted); font-size: .68rem; }
.saved-days select { min-height: 38px; border: 1px solid #d7d0c2; border-radius: 0; padding: 5px 9px; color: var(--navy); background: rgb(255 255 255 / 52%); font-size: .7rem; }
.saved-days button { min-height: 38px; border: 1px solid #d7d0c2; padding: 5px 10px; color: #5d574c; background: rgb(255 255 255 / 42%); font-size: .66rem; cursor: pointer; }
.saved-days #restore-day-button { border-color: var(--navy); color: white; background: var(--navy); }
.saved-days #delete-day-button { color: #8c5a55; }
.data-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.data-actions button, .import-backup-button span { display: grid; min-height: 36px; place-items: center; border: 1px solid #d7d0c2; padding: 6px 11px; color: #5d574c; background: rgb(255 255 255 / 42%); font-size: .64rem; cursor: pointer; }
.data-actions #share-image-button, .data-actions #share-link-button { border-color: #a47b35; color: #7d5c26; }
.import-backup-button { position: relative; }
.import-backup-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.import-backup-button input:focus-visible + span { outline: 3px solid rgb(215 170 88 / 25%); outline-offset: 2px; }
.summary-card { display: flex; align-items: baseline; gap: 7px; padding: 16px 22px; border-left: 2px solid var(--gold); background: rgb(255 255 255 / 42%); }
.summary-card strong { color: var(--navy); font-family: Georgia, serif; font-size: 2rem; }
.summary-card span { color: var(--muted); font-size: .78rem; }
.shared-view-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; border: 1px solid #d3b577; padding: 16px 18px; background: #fff8e9; }
.shared-view-banner strong { color: #705326; font-family: "Yu Mincho", serif; font-size: 1rem; }
.shared-view-banner p { margin: 4px 0 0; color: #7a705f; font-size: .68rem; }
.shared-view-banner button { min-height: 36px; flex: 0 0 auto; border: 1px solid var(--navy); padding: 6px 12px; color: white; background: var(--navy); font-size: .66rem; cursor: pointer; }
.next-plan-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin: -12px 0 28px; border: 1px solid #d7ccba; border-left: 4px solid var(--gold); padding: 15px 18px; background: rgb(255 253 248 / 78%); box-shadow: 0 8px 24px rgb(26 39 57 / 5%); }
.next-plan-label { display: grid; min-width: 58px; place-items: center; gap: 3px; color: #9a7331; }
.next-plan-label span { font-size: 1.25rem; }
.next-plan-label p { margin: 0; font-size: .52rem; font-weight: 800; letter-spacing: .14em; }
.next-plan-body > p { margin: 0; color: var(--muted); font-size: .65rem; }
.next-plan-body h3 { margin: 3px 0; font-family: "Yu Mincho", serif; font-size: 1.05rem; overflow-wrap: anywhere; }
.next-plan-card > button { min-height: 34px; border: 1px solid #b49761; padding: 5px 10px; color: #765a2c; background: transparent; font-size: .62rem; cursor: pointer; }
.planner-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); align-items: start; gap: 46px; }
.timeline-panel { min-height: 420px; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline-item { display: grid; grid-template-columns: 62px 18px minmax(0, 1fr); gap: 17px; position: relative; padding-bottom: 20px; }
.timeline-item:not(:last-child)::after { position: absolute; top: 28px; bottom: -3px; left: 87px; width: 1px; background: #c9c3b7; content: ""; }
.plan-time { padding-top: 18px; color: var(--navy); font-family: Georgia, serif; font-size: 1.05rem; font-weight: 700; line-height: 1.35; text-align: right; white-space: pre-line; }
.timeline-dot { z-index: 1; width: 11px; height: 11px; margin-top: 22px; border: 3px solid var(--cream); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.plan-card { min-width: 0; padding: 20px 22px; border: 1px solid #e0dbd1; background: var(--paper); box-shadow: 0 8px 28px rgb(26 39 57 / 6%); transition: transform .18s ease, box-shadow .18s ease; }
.plan-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.timeline-item.is-pending .plan-card { border-style: dashed; opacity: .58; }
.timeline-item.is-pending .timeline-dot { background: var(--cream); box-shadow: 0 0 0 1px #a79c89; }
.timeline-item.is-pending .plan-time { color: #82796b; }
.plan-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.category-badge { display: inline-flex; padding: 5px 9px; color: #315c77; background: #e5f0f3; font-size: .66rem; font-weight: 800; letter-spacing: .06em; }
.status-badge { display: inline-flex; padding: 5px 9px; color: #765825; background: #f0dfb9; font-size: .66rem; font-weight: 800; letter-spacing: .06em; }
.method-badge, .booking-badge, .completed-badge { display: inline-flex; padding: 5px 9px; font-size: .62rem; font-weight: 800; letter-spacing: .04em; }
.method-badge { color: #3b5e73; background: #e3edf2; }
.booking-badge { color: #66573a; background: #eee9de; }
.completed-badge { color: white; background: #54755f; }
.timeline-item[data-category="restaurant"] .category-badge { color: #7b5730; background: #f4e9d6; }
.timeline-item[data-category="show"] .category-badge { color: #744c78; background: #efe4f0; }
.timeline-item[data-category="greeting"] .category-badge { color: #88505b; background: #f6e5e8; }
.timeline-item[data-category="other"] .category-badge { color: #596171; background: #eceef1; }
.plan-name { margin: 13px 0 9px; font-family: "Yu Mincho", serif; font-size: 1.18rem; line-height: 1.5; overflow-wrap: anywhere; }
.plan-area { margin: 0; color: var(--muted); font-size: .78rem; }
.plan-area > span:first-child { color: var(--gold); font-size: 1rem; }
.plan-memo { margin: 12px 0 0; border-left: 2px solid #d2b579; padding: 7px 10px; color: #665e52; background: #faf6ec; font-size: .72rem; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.official-link { display: inline-flex; width: fit-content; margin-top: 11px; border-bottom: 1px solid #c5ab74; padding-bottom: 2px; color: #765a2c; font-size: .66rem; text-decoration: none; }
.official-link:hover { color: var(--navy); border-color: var(--navy); }
.pending-note { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed #d4cabb; color: #776d5d; font-size: .66rem; }
.plan-warnings { display: grid; gap: 5px; margin-top: 12px; }
.plan-warning { margin: 0; border-left: 2px solid #d29b3f; padding: 6px 8px; color: #745b32; background: #fff8e8; font-size: .64rem; line-height: 1.5; }
.timeline-item.is-completed .plan-card { opacity: .48; }
.timeline-item.is-completed .plan-name { text-decoration: line-through; }
.timeline-item.is-completed .timeline-dot { background: #6f917a; box-shadow: 0 0 0 1px #6f917a; }
.card-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; opacity: 0; transition: opacity .15s ease; }
.plan-card:hover .card-actions, .product-card:hover .card-actions, .icon-button:focus-visible { opacity: 1; }
.icon-button { min-height: 30px; border: 0; padding: 4px 6px; color: var(--muted); background: transparent; font-size: .7rem; white-space: nowrap; cursor: pointer; }
.delete-button:hover { color: #a13737; }
.quick-time-editor { display: grid; gap: 9px; margin-top: 14px; border-top: 1px dashed #d9d0c0; padding-top: 12px; }
.quick-time-editor > p { margin: 0; color: #6d6559; font-size: .68rem; font-weight: 700; }
.quick-time-fields { display: flex; flex-wrap: wrap; gap: 7px; }
.quick-time-fields input { min-height: 38px; border: 1px solid #d7d0c2; padding: 6px 8px; color: var(--navy); background: white; font-size: .72rem; }
.quick-time-editor > div:last-child { display: flex; gap: 7px; }
.quick-time-editor button { min-height: 34px; border: 1px solid #b9a783; padding: 5px 10px; color: #695531; background: transparent; font-size: .62rem; cursor: pointer; }
.quick-time-editor .quick-time-save { border-color: var(--navy); color: white; background: var(--navy); }

.form-card { position: sticky; top: 24px; padding: 30px; border-top: 3px solid var(--gold); background: var(--navy); color: white; box-shadow: 0 24px 55px rgb(18 35 58 / 18%); }
.form-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 28px; }
.form-number { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid rgb(255 255 255 / 22%); border-radius: 50%; color: var(--gold); font-size: 1.35rem; }
.form-heading .eyebrow { margin-bottom: 4px; color: #d8b572; }
.form-heading h2 { font-size: 1.55rem; }
form { display: grid; gap: 17px; }
.spot-picker { border: 1px solid rgb(255 255 255 / 17%); background: rgb(255 255 255 / 4%); }
.spot-picker summary { display: grid; position: relative; gap: 3px; padding: 14px 38px 14px 14px; color: white; font-size: .78rem; cursor: pointer; list-style: none; }
.spot-picker summary::-webkit-details-marker { display: none; }
.spot-picker summary::after { position: absolute; top: 16px; right: 15px; color: var(--gold); content: "＋"; }
.spot-picker[open] summary::after { content: "−"; }
.spot-picker summary small { color: rgb(255 255 255 / 45%); font-size: .62rem; }
.spot-picker-body { border-top: 1px solid rgb(255 255 255 / 12%); padding: 12px; }
.spot-tabs { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 9px; scrollbar-width: none; }
.spot-tabs::-webkit-scrollbar { display: none; }
.spot-tab { flex: 0 0 auto; border: 1px solid rgb(255 255 255 / 15%); padding: 6px 9px; color: rgb(255 255 255 / 58%); background: transparent; font-size: .62rem; cursor: pointer; }
.spot-tab.is-active { border-color: var(--gold); color: #17283d; background: var(--gold); }
.spot-search-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; margin-bottom: 8px; }
.form-card .spot-search-row input { min-height: 36px; padding: 7px 9px; font-size: .66rem; }
.spot-search-row small { min-width: 32px; color: rgb(255 255 255 / 42%); font-size: .6rem; text-align: right; }
.spot-options { display: grid; max-height: 190px; gap: 6px; overflow-y: auto; padding-right: 3px; }
.spot-option { display: grid; gap: 3px; border: 1px solid transparent; padding: 9px 10px; color: white; background: rgb(255 255 255 / 7%); text-align: left; cursor: pointer; }
.spot-option:hover, .spot-option:focus-visible { border-color: rgb(215 170 88 / 70%); outline: none; }
.spot-option strong { font-size: .72rem; font-weight: 650; }
.spot-option small { color: rgb(255 255 255 / 46%); font-size: .6rem; }
.spot-option.is-selected { border-color: var(--gold); background: rgb(215 170 88 / 14%); }
.catalog-link { display: block; margin-top: 10px; color: #daba7a; font-size: .62rem; text-align: right; }
.manual-divider { display: flex; align-items: center; gap: 10px; margin: -2px 0; color: rgb(255 255 255 / 37%); font-size: .6rem; }
.manual-divider::before, .manual-divider::after { height: 1px; flex: 1; background: rgb(255 255 255 / 11%); content: ""; }
.save-spot-button { min-height: 38px; margin-top: -7px; border: 1px dashed rgb(215 170 88 / 58%); color: #e4bf75; background: transparent; font-size: .66rem; cursor: pointer; }
.save-spot-button:hover { background: rgb(215 170 88 / 9%); }
.booking-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 8px; }
.booking-fields label:last-child { grid-column: 1 / -1; }
.form-card label { display: grid; gap: 7px; color: rgb(255 255 255 / 67%); font-size: .72rem; }
.status-fieldset, .time-fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
.status-fieldset legend, .time-fieldset legend { margin-bottom: 8px; padding: 0; color: rgb(255 255 255 / 67%); font-size: .72rem; }
.status-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.form-card .status-option { display: block; position: relative; cursor: pointer; }
.status-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.status-option > span { display: grid; min-height: 60px; align-content: center; gap: 3px; border: 1px solid rgb(255 255 255 / 15%); padding: 9px 10px; background: rgb(255 255 255 / 5%); }
.status-option strong { color: rgb(255 255 255 / 75%); font-size: .7rem; }
.status-option small { color: rgb(255 255 255 / 38%); font-size: .56rem; }
.status-option input:checked + span { border-color: var(--gold); background: rgb(215 170 88 / 13%); }
.status-option input:checked + span strong { color: #f0c979; }
.time-inputs { display: grid; gap: 7px; }
.time-input-row { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.remove-time-button, .add-time-button { border: 1px solid rgb(255 255 255 / 16%); color: rgb(255 255 255 / 62%); background: transparent; font-size: .65rem; cursor: pointer; }
.remove-time-button { width: 42px; }
.add-time-button { width: 100%; min-height: 36px; margin-top: 7px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-card input, .form-card select, .form-card textarea { width: 100%; min-height: 46px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 0; padding: 10px 12px; color: white; background: rgb(255 255 255 / 7%); outline: none; }
.form-card textarea { min-height: 86px; resize: vertical; line-height: 1.65; }
.form-card select option { color: var(--ink); background: white; }
.form-card input::placeholder, .form-card textarea::placeholder { color: rgb(255 255 255 / 35%); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgb(215 170 88 / 15%); }
.form-actions { display: grid; gap: 8px; margin-top: 6px; }
.submit-button, .cancel-button { min-height: 48px; border: 0; cursor: pointer; }
.submit-button { color: #15283f; background: var(--gold); font-weight: 800; }
.submit-button:hover { background: #e4b865; }
.cancel-button { color: rgb(255 255 255 / 70%); background: transparent; }
.storage-note { margin: 20px 0 0; color: rgb(255 255 255 / 42%); font-size: .66rem; line-height: 1.6; text-align: center; }
.empty-state { display: grid; min-height: 390px; place-items: center; align-content: center; border: 1px dashed #c8c1b4; padding: 40px; text-align: center; }
.empty-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid #d2b579; border-radius: 50%; color: var(--gold); font-size: 1.4rem; }
.empty-state h3 { margin: 18px 0 8px; font-family: "Yu Mincho", serif; font-size: 1.25rem; }
.empty-state p { max-width: 380px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.8; }
.empty-state a { margin-top: 18px; color: #8c692e; font-size: .78rem; }
.toast { position: fixed; z-index: 10; right: 20px; bottom: 20px; transform: translateY(20px); padding: 12px 18px; color: white; background: #18324f; box-shadow: var(--shadow); font-size: .78rem; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
[hidden] { display: none !important; }

.products-section { position: relative; z-index: 3; width: min(1180px, calc(100% - 40px)); margin: -10px auto 0; padding: 20px 0 100px; }
.products-heading { align-items: start; }
.products-intro { max-width: 650px; margin: 14px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.8; }
.product-data-actions { margin-top: 14px; }
.products-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); align-items: start; gap: 46px; }
.product-panel { min-height: 420px; }
.product-filters { display: flex; gap: 6px; margin-bottom: 16px; }
.product-filter { min-height: 36px; border: 1px solid #d5cfc2; padding: 6px 15px; color: #6a655b; background: rgb(255 255 255 / 45%); font-size: .7rem; cursor: pointer; }
.product-filter:hover, .product-filter:focus-visible { border-color: #a9803b; outline: none; }
.product-filter.is-active { border-color: var(--navy); color: white; background: var(--navy); }
.product-list { display: grid; gap: 12px; }
.product-card { min-width: 0; border: 1px solid #e0dbd1; border-left: 3px solid #d5ad62; padding: 20px 22px; background: var(--paper); box-shadow: 0 8px 28px rgb(26 39 57 / 6%); }
.product-card[data-product-type="goods"] { border-left-color: #6f8ea4; }
.product-card.is-completed { opacity: .52; }
.product-card.is-completed .product-name { text-decoration: line-through; }
.product-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-type-badge, .product-park-badge, .product-priority-badge, .product-completed-badge { display: inline-flex; padding: 5px 9px; font-size: .64rem; font-weight: 800; letter-spacing: .04em; }
.product-type-badge { color: #7b5730; background: #f4e9d6; }
.product-card[data-product-type="goods"] .product-type-badge { color: #315c77; background: #e5f0f3; }
.product-park-badge { color: #66573a; background: #eee9de; }
.product-priority-badge { color: #796026; background: #f5e4b9; }
.product-priority-badge[data-priority="interested"] { color: #5f6470; background: #eceef1; }
.product-completed-badge { color: white; background: #54755f; }
.product-name { margin: 14px 0 8px; font-family: "Yu Mincho", serif; font-size: 1.2rem; line-height: 1.5; overflow-wrap: anywhere; }
.product-price { width: fit-content; margin: -2px 0 11px; color: #7a5d2c; font-family: Georgia, serif; font-size: .82rem; font-weight: 700; }
.product-facilities { margin-top: 4px; }
.product-facilities > p { margin: 0 0 7px; color: var(--muted); font-size: .7rem; }
.product-facilities > p span { color: var(--gold); font-size: 1rem; }
.product-facilities ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.product-facilities li { display: grid; gap: 2px; max-width: 100%; border: 1px solid #e3ddd1; padding: 6px 9px; color: #5e594f; background: #faf7f0; font-size: .68rem; overflow-wrap: anywhere; }
.product-facilities li strong { font-weight: 650; }
.product-facilities li small { color: #948d81; font-size: .56rem; }
.product-note { margin: 13px 0 0; border-left: 2px solid #d2b579; padding: 7px 10px; color: #665e52; background: #faf6ec; font-size: .7rem; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 15px; margin-top: 13px; border-top: 1px solid #eee9df; padding-top: 11px; }
.product-official-link { color: #765a2c; font-size: .66rem; text-decoration: underline; text-underline-offset: 3px; }
.product-checked-date { color: #8a8478; font-size: .6rem; }
.product-quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 13px; }
.product-quick-actions button { min-height: 38px; border: 1px solid #c8b58e; padding: 6px 10px; color: #6c572f; background: #fffaf0; font-size: .66rem; cursor: pointer; }
.product-quick-actions .product-plan-button { border-color: var(--navy); color: white; background: var(--navy); }
.form-card .product-date-control { display: grid; position: relative; min-height: 46px; align-items: center; border: 1px solid rgb(255 255 255 / 18%); padding: 10px 40px 10px 12px; color: white; background: rgb(255 255 255 / 7%); cursor: pointer; }
.product-date-control::after { position: absolute; top: 14px; right: 13px; color: #d9b56f; content: "▣"; font-size: .72rem; pointer-events: none; }
.form-card .product-date-control input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; border: 0; padding: 0; cursor: pointer; opacity: 0; }
.form-card .product-date-control:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px rgb(215 170 88 / 15%); }
.product-empty { min-height: 340px; }
.product-form-card { position: sticky; top: 24px; }
.product-type-fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
.product-type-fieldset legend { margin-bottom: 8px; padding: 0; color: rgb(255 255 255 / 67%); font-size: .72rem; }
.product-type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.product-type-options label { display: block; position: relative; cursor: pointer; }
.product-type-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.product-type-options span { display: grid; min-height: 46px; place-items: center; border: 1px solid rgb(255 255 255 / 15%); color: rgb(255 255 255 / 70%); background: rgb(255 255 255 / 5%); font-size: .72rem; }
.product-type-options input:checked + span { border-color: var(--gold); color: #f0c979; background: rgb(215 170 88 / 13%); }
.product-type-options input:focus-visible + span { outline: 2px solid #f0c979; outline-offset: 2px; }
.product-details-fields { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 10px; }
.product-priority-fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
.product-priority-fieldset legend { margin-bottom: 8px; padding: 0; color: rgb(255 255 255 / 67%); font-size: .72rem; }
.product-priority-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.product-priority-options label { display: block; position: relative; cursor: pointer; }
.product-priority-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.product-priority-options span { display: grid; min-height: 46px; place-items: center; border: 1px solid rgb(255 255 255 / 15%); color: rgb(255 255 255 / 70%); background: rgb(255 255 255 / 5%); font-size: .66rem; }
.product-priority-options input:checked + span { border-color: var(--gold); color: #f0c979; background: rgb(215 170 88 / 13%); }
.product-priority-options input:focus-visible + span { outline: 2px solid #f0c979; outline-offset: 2px; }
.product-facility-picker { border: 1px solid rgb(255 255 255 / 17%); background: rgb(255 255 255 / 4%); }
.product-facility-picker > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; color: white; font-size: .74rem; cursor: pointer; list-style: none; }
.product-facility-picker > summary::-webkit-details-marker { display: none; }
.product-facility-picker > summary span { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.product-facility-picker > summary span small { color: rgb(255 255 255 / 42%); font-size: .56rem; }
.product-facility-picker > summary strong { flex: 0 0 auto; color: #e2bc72; font-size: .62rem; }
.product-facility-body { border-top: 1px solid rgb(255 255 255 / 12%); padding: 12px; }
.facility-search-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; margin-bottom: 9px; }
.form-card .facility-search-row input { min-height: 36px; padding: 7px 9px; font-size: .66rem; }
.facility-search-row > small { min-width: 34px; color: rgb(255 255 255 / 42%); font-size: .58rem; text-align: right; }
.product-facility-groups { display: grid; max-height: 330px; gap: 7px; overflow-y: auto; padding-right: 3px; }
.facility-group { border: 1px solid rgb(255 255 255 / 11%); }
.facility-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; color: rgb(255 255 255 / 72%); font-size: .66rem; cursor: pointer; list-style: none; }
.facility-group > summary::-webkit-details-marker { display: none; }
.facility-group > summary::after { color: #d7aa58; content: "＋"; }
.facility-group[open] > summary::after { content: "−"; }
.facility-group > summary small { margin-left: auto; color: rgb(255 255 255 / 38%); font-size: .55rem; }
.facility-options { display: grid; gap: 5px; border-top: 1px solid rgb(255 255 255 / 9%); padding: 7px; }
.form-card .facility-option { display: block; position: relative; cursor: pointer; }
.facility-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.facility-option > span { display: grid; gap: 2px; border: 1px solid transparent; padding: 8px 9px; color: white; background: rgb(255 255 255 / 6%); }
.facility-option strong { font-size: .66rem; font-weight: 650; line-height: 1.4; }
.facility-option small { color: rgb(255 255 255 / 43%); font-size: .55rem; }
.facility-option input:checked + span { border-color: var(--gold); background: rgb(215 170 88 / 15%); }
.facility-option input:checked + span::after { position: absolute; top: 9px; right: 9px; color: #e7c278; content: "✓"; font-size: .7rem; }
.facility-option input:focus-visible + span { outline: 2px solid #e7c278; outline-offset: 1px; }
.facility-picker-empty { margin: 0; padding: 18px 10px; color: rgb(255 255 255 / 48%); font-size: .62rem; line-height: 1.7; text-align: center; }
.custom-facility-row { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 10px; }
.form-card .custom-facility-row input { min-height: 38px; padding: 7px 9px; font-size: .64rem; }
.custom-facility-row button { min-height: 38px; border: 1px solid rgb(215 170 88 / 55%); padding: 6px 9px; color: #e1ba70; background: transparent; font-size: .6rem; cursor: pointer; }
.selected-product-facilities { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.selected-facility-chip { border: 1px solid rgb(215 170 88 / 40%); padding: 5px 7px; color: #efd092; background: rgb(215 170 88 / 10%); font-size: .56rem; cursor: pointer; }
.selected-facility-empty { margin: 0; color: rgb(255 255 255 / 35%); font-size: .57rem; }

.weather-section { position: relative; overflow: hidden; padding: 62px max(20px, calc((100% - 1180px) / 2)) 70px; color: white; background: linear-gradient(125deg, #17334e, #295a73); }
.weather-section::before { position: absolute; top: -180px; right: -110px; width: 420px; height: 420px; border: 1px solid rgb(255 255 255 / 9%); border-radius: 50%; content: ""; }
.weather-heading { position: relative; display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.weather-heading .eyebrow { color: #e3bf79; }
.weather-heading h2 { color: white; }
.weather-status { margin: 10px 0 0; color: rgb(255 255 255 / 58%); font-size: .75rem; }
.weather-mark { display: grid; width: 56px; height: 56px; flex: 0 0 auto; place-items: center; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; color: #edc975; font-size: 1.45rem; }
.weather-cards { position: relative; display: grid; grid-template-columns: repeat(7, minmax(115px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.weather-card { min-width: 115px; border: 1px solid rgb(255 255 255 / 13%); border-radius: 0; padding: 15px 12px; color: white; background: rgb(255 255 255 / 6%); font: inherit; text-align: left; }
.weather-card.is-selectable { cursor: pointer; }
.weather-card.is-selectable:hover, .weather-card.is-selectable:focus-visible { border-color: rgb(255 255 255 / 40%); outline: none; background: rgb(255 255 255 / 11%); }
.weather-card.is-selected { border-color: #edc975; box-shadow: inset 0 -3px #d7aa58; }
.weather-card.is-visit-day { border-color: #e0b860; background: rgb(215 170 88 / 16%); box-shadow: inset 0 3px #d7aa58; }
.weather-date { margin: 0; color: rgb(255 255 255 / 60%); font-size: .64rem; }
.weather-card.is-visit-day .weather-date::after { display: block; margin-top: 3px; color: #edc975; content: "来園日"; font-size: .55rem; }
.weather-icon { display: block; margin: 12px 0 8px; font-size: 1.7rem; }
.weather-description { min-height: 2.4em; margin: 0; font-size: .7rem; line-height: 1.4; }
.weather-temperature { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 5px; }
.weather-temperature strong { font-family: Georgia, serif; font-size: 1.05rem; }
.weather-temperature span { color: rgb(255 255 255 / 48%); font-size: .7rem; }
.weather-rain { margin: 0; color: #b9daea; font-size: .62rem; }
.weather-detail-hint { margin: 10px 0 0; color: #edc975; font-size: .55rem; }
.hourly-weather { position: relative; margin-top: 24px; border-top: 1px solid rgb(255 255 255 / 14%); padding-top: 20px; }
.hourly-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.hourly-heading h3 { margin: 0; font-family: "Yu Mincho", serif; font-size: 1rem; }
.hourly-heading p { margin: 0; color: rgb(255 255 255 / 42%); font-size: .58rem; }
.hourly-weather-cards { display: grid; grid-template-columns: repeat(6, minmax(90px, 1fr)); gap: 6px; overflow-x: auto; padding-bottom: 7px; scrollbar-width: thin; }
.hourly-card { min-width: 90px; padding: 12px 8px; background: rgb(8 27 45 / 24%); text-align: center; }
.hourly-time { margin: 0; color: rgb(255 255 255 / 60%); font-family: Georgia, serif; font-size: .72rem; }
.hourly-icon { display: block; margin: 8px 0; font-size: 1.3rem; }
.hourly-temp { margin: 0; font-family: Georgia, serif; font-size: .9rem; }
.hourly-rain { margin: 5px 0 0; color: #b9daea; font-size: .56rem; }
.weather-source { margin: 16px 0 0; color: rgb(255 255 255 / 40%); font-size: .6rem; }
.weather-source a { color: rgb(255 255 255 / 65%); }

@media (max-width: 820px) {
  .hero { min-height: 520px; }
  .hero-content { padding-top: 62px; }
  .planner-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .form-card { position: static; grid-row: 1; }
  .timeline-panel { grid-row: 2; }
  .product-form-card { grid-row: 1; }
  .product-panel { grid-row: 2; }
  .card-actions { opacity: 1; }
  .icon-button { padding-inline: 4px; font-size: .62rem; }
  .weather-cards { grid-template-columns: repeat(7, 130px); }
  .hourly-weather-cards { grid-template-columns: repeat(6, 95px); }
}
body.is-shared-view .topbar-links,
body.is-shared-view .primary-action,
body.is-shared-view .view-tabs,
body.is-shared-view .saved-days,
body.is-shared-view .data-actions,
body.is-shared-view .summary-card,
body.is-shared-view .planner-grid > .form-card,
body.is-shared-view .card-actions { display: none !important; }
body.is-shared-view .planner-grid { grid-template-columns: 1fr; }
body.is-shared-view .planner { margin-top: 0; }
body.is-shared-view .date-control input, body.is-shared-view .park-picker input { pointer-events: none; }
@media (max-width: 520px) {
  .hero::after { bottom: -145px; }
  .topbar, .hero-content, .planner, .products-section { width: min(100% - 28px, 1180px); }
  .topbar { gap: 14px; }
  .topbar-links { gap: 12px; }
  .nav-link { font-size: .68rem; }
  .view-tab { min-height: 60px; }
  .view-tab::after { right: 8px; left: 8px; }
  .view-tab span { font-size: .7rem; }
  .hero-content { padding-top: 52px; }
  .hero-copy { font-size: .88rem; }
  .section-heading { align-items: start; flex-direction: column; }
  #schedule > .section-heading > div:first-child, #wishlist > .section-heading > div:first-child { width: 100%; }
  .visit-settings { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); width: 100%; gap: 12px; }
  .date-picker, .park-picker { min-width: 0; width: 100%; }
  .date-control { width: 100%; }
  .park-picker > div { display: grid; grid-template-columns: 1fr 1fr; }
  .park-picker label, .park-picker span { min-width: 0; width: 100%; }
  .summary-card { padding: 8px 15px; }
  .planner-grid { gap: 28px; }
  .timeline-item { grid-template-columns: 48px 14px minmax(0, 1fr); gap: 10px; }
  .timeline-item:not(:last-child)::after { left: 64px; }
  .plan-card { padding: 17px 15px; }
  .plan-time { font-size: .88rem; }
  .form-card { padding: 24px 20px; }
  .status-options { grid-template-columns: 1fr; }
  .saved-days { display: grid; grid-template-columns: 1fr auto; width: 100%; }
  .saved-days label { grid-column: 1 / -1; width: 100%; }
  .data-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .data-actions #share-image-button, .data-actions #share-link-button { grid-column: 1 / -1; }
  .booking-fields { grid-template-columns: 1fr; }
  .booking-fields label:last-child { grid-column: auto; }
  .custom-facility-row { grid-template-columns: 1fr; }
  .product-details-fields { grid-template-columns: 1fr; }
  .next-plan-card { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .next-plan-card > button { grid-column: 2; justify-self: start; }
  .shared-view-banner { align-items: stretch; flex-direction: column; }
  .shared-view-banner button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
