:root {
  color-scheme: light;
  --canvas: #fff;
  --paper: #fff;
  --ink: #20162c;
  --muted: #584b63;
  --purple: #48256c;
  --purple-strong: #33164f;
  --border: #ded4e8;
  --soft: #f0e9f6;
  --gold: #ffcf45;
  --gutter: clamp(1.125rem, 3.5vw, 2.25rem);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 1rem; line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
a { color: var(--purple); }
a:focus-visible, summary:focus-visible { outline: 3px solid #9a5bcb; outline-offset: 4px; }
[id] { scroll-margin-block-start: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), 1170px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .75rem; left: var(--gutter); padding: .5rem 1rem; border-radius: 6px; background: white; transform: translateY(-140%); }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #e7dce9; background: var(--paper); }
.header-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.brand { justify-self: start; }
.brand img { width: 128px; height: auto; }
.top-nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.3rem); }
.top-nav a, .site-footer a, .breadcrumb a { text-underline-offset: .2em; }
.top-nav a { font-size: .9rem; font-weight: 650; text-decoration: none; color: var(--ink); }
.top-nav a:hover, .site-footer a:hover { text-decoration: underline; }
.header-inner > .button { justify-self: end; }
.breadcrumb { width: 100%; color: var(--muted); font-size: .8125rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.breadcrumb li + li::before { content: '/'; color: #786886; margin-inline-end: .45rem; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 85% 12%, #7c36ae 0, transparent 56%), linear-gradient(122deg, #3f165f, #290e43 52%, #190f2a);
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(137deg, transparent 66%, #a458cb28 66% 76%, transparent 76%), linear-gradient(137deg, transparent 70%, #e5af422c 70% 70.2%, transparent 70.2%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; column-gap: clamp(1.65rem, 4vw, 3.9rem); padding-block: clamp(2.5rem, 5.1vw, 4.8rem); }
.hero-copy { min-width: 0; }
.hero-rush { display: inline-flex; max-width: 100%; flex-wrap: wrap; align-items: stretch; overflow: hidden; border-radius: 7px; background: #fff0c7; color: #2b1836; line-height: 1.3; }
.hero-rush strong, .hero-rush span { display: grid; align-items: center; min-height: 42px; padding: .36rem .67rem; }
.hero-rush strong { flex-grow: 1; background: var(--gold); font-size: clamp(1.25rem, 2.25vw, 1.75rem); font-weight: 850; }
.hero-rush span { font-size: .9rem; font-weight: 750; }
h1 { margin-block: .85rem .87rem; line-height: 1.11; }
.hero-claim, .hero-product { display: block; }
.hero-claim { font-size: clamp(3.15rem, 5.45vw, 5.4rem); font-weight: 890; line-height: 1.12; letter-spacing: -.075em; }
.hero-claim span { color: #ffd458; }
.hero-product { margin-top: .72rem; font-size: clamp(1.35rem, 2.13vw, 2rem); font-weight: 800; letter-spacing: -.025em; }
.hero-lead { max-width: 29rem; color: #f1e8f8; font-size: clamp(1rem, 1.4vw, 1.125rem); }
.hero-price { display: grid; width: fit-content; max-width: 100%; grid-template-columns: auto auto; align-items: baseline; gap: .05rem .7rem; margin-top: 1.05rem; padding: .48rem .7rem; border: 1px solid #ffffff64; border-radius: 8px; background: #1e0c3098; }
.price-label { align-self: center; color: #fff; font-size: .875rem; font-weight: 760; }
.hero-price strong { font-size: clamp(1.85rem, 3.2vw, 2.45rem); font-weight: 850; letter-spacing: -.035em; line-height: 1.05; color: #ffe087; white-space: nowrap; }
.hero-price small { font-size: .48em; letter-spacing: 0; }
.price-note { grid-column: 1 / -1; color: #f0dff9; font-size: .8125rem; }
.hero-actions { margin-top: 1.17rem; }
.hero-actions .button { min-height: 55px; font-size: 1rem; }
.hero-guides { display: flex; flex-wrap: wrap; gap: .24rem 1.1rem; margin-top: .76rem; }
.hero-guides .text-link { color: #fff5ff; font-size: .9rem; }
.hero-figure { position: relative; min-width: 0; border: 5px solid #e2c5fa; border-radius: 15px; isolation: isolate; background: #2a1938; box-shadow: 0 20px 44px #190c2d82; }
.hero-figure picture, .change-photo picture { display: block; }
.hero-figure img { aspect-ratio: 1.23; width: 100%; object-fit: cover; border-radius: 10px; }
.hero-figure figcaption { position: absolute; right: .65rem; bottom: .65rem; padding: .26rem .6rem; border-radius: 5px; background: #21142c; color: #fff; font-size: .75rem; }

.action-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .6rem 1.08rem; min-height: 48px; border: 1px solid var(--purple); border-radius: 9px; background: var(--purple); color: #fff; font-weight: 750; font-size: .9375rem; line-height: 1.35; text-align: center; text-decoration: none; }
.button:hover { background: var(--purple-strong); border-color: var(--purple-strong); }
.button-accent { color: #2c183b; background: var(--gold); border-color: var(--gold); box-shadow: inset 0 -3px 0 #a7691c45; }
.button-accent:hover { color: #2c183b; background: #ffdf72; border-color: #ffdf72; }
.button-small { min-height: 42px; padding: .475rem .78rem; font-size: .875rem; }
.button-outline { background: transparent; color: var(--purple); border-color: #986bb4; }
.button-outline:hover { color: var(--purple-strong); background: var(--soft); border-color: var(--purple); }
.text-link { color: var(--purple); text-decoration: underline; text-underline-offset: .23em; font-weight: 700; }

.section { padding-block: clamp(2.55rem, 5.2vw, 4.6rem); }
.section-head { display: grid; gap: .65rem; max-width: 48rem; margin-bottom: 1.7rem; }
h2 { font-size: clamp(1.86rem, 3.65vw, 3.25rem); letter-spacing: -.053em; line-height: 1.25; font-weight: 840; }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 780; line-height: 1.4; letter-spacing: -.025em; }
.section-head p, article p, figcaption p, .measure-help p, .questions details p { color: var(--muted); }
.update-section { background: #fff0c7; }
.update-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.22fr); align-items: center; gap: clamp(1.2rem, 4.6vw, 4rem); }
.update-inner .section-head { margin: 0; align-content: start; }
.update-inner .button { width: fit-content; margin-top: .5rem; }
.change-photo { position: relative; border: 4px solid #fff; border-radius: 13px; overflow: hidden; background: #472d49; box-shadow: 0 10px 25px #94621529; }
.change-photo img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.change-labels { position: absolute; left: .6rem; right: .6rem; bottom: .6rem; display: flex; justify-content: space-between; gap: .5rem; color: #fff; font-size: .85rem; font-weight: 800; }
.change-labels span { padding: .25rem .57rem; border-radius: 4px; background: #292031; }
.change-labels span + span { background: var(--gold); color: #2c183b; }
.change-figure figcaption { margin-top: .4rem; color: #63481d; font-size: .8125rem; }
.shipping { background: var(--paper); }
.shipping-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 5vw, 4.25rem); }
.shipping-inner .section-head { margin: 0; }
.shipping-inner .section-head > a { justify-self: start; }
.shipping-card { padding: clamp(1rem, 2.5vw, 1.65rem); border: 1px solid var(--border); border-top: 5px solid var(--gold); border-radius: 12px; background: #f8f4fc; }
.shipping-times { margin-block: .75rem; }
.shipping-times > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem .75rem; padding-block: .35rem; border-bottom: 1px solid var(--border); }
.shipping-times dt { color: var(--muted); }
.shipping-times dd { margin: 0; font-weight: 800; color: var(--purple-strong); }
.shipping-card p { color: var(--muted); }
.shipping-card .shipping-contact { margin-top: .75rem; font-weight: 750; color: var(--ink); }
.shipping-card .button { margin-top: .5rem; font-size: 1rem; }
.shipping-card .shipping-hours { margin-top: .35rem; font-size: .875rem; }
.mounting { background: #f5edfb; }
.mount-grid, .diagram-grid, .example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.7vw, 1.75rem); }
.mount-card, .diagram-card, .example-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--paper); }
.mount-card { display: flex; flex-direction: column; align-items: stretch; border-top: 5px solid #623384; }
.mount-card + .mount-card { border-top-color: #d79027; }
.mount-card > img, .example-card > img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.mount-content { padding: clamp(1.08rem, 2.4vw, 1.6rem); display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.mount-content h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; }
.type { display: inline-block; background: var(--soft); color: var(--purple-strong); border-radius: 5px; padding: .2rem .48rem; font-size: .9rem; font-weight: 800; letter-spacing: 0; }
.mount-content p { margin-block: .65rem 1.05rem; }
.mount-content .button { margin-top: auto; }
.image-note { margin-top: .85rem; font-size: .875rem; color: var(--muted); }

.measurement { background: #fff; }
.diagram-card { display: flex; flex-direction: column; }
.diagram-slot, .diagram-adhesive { padding: .9rem 1.15rem .95rem; background: #faf7fc; border-bottom: 1px solid var(--border); }
.diagram { position: relative; min-height: 205px; aspect-ratio: 1.9; color: var(--purple-strong); font-size: .875rem; font-weight: 750; }
.film-outline { position: absolute; inset: 20% 3% 5% 17%; border: 2px solid var(--purple); border-radius: 5px; background: repeating-linear-gradient(135deg, #ece0f2 0 6px, #f5edf9 6px 12px); }
.film-edge { position: absolute; top: 8%; left: 0; width: 100%; text-align: center; }
.visible-area { display: grid; place-items: center; position: absolute; inset: 26% 10% 13%; padding: .3rem; border: 2px dashed #76518e; border-radius: 3px; background: #fff; text-align: center; }
.diagram-adhesive .film-outline { background: #eee7f3; border-color: #756382; }
.diagram-adhesive .visible-area { border: 2px solid var(--purple); background: #e7d4f0; }
.dimension-width, .dimension-height { position: absolute; display: grid; place-items: center; z-index: 1; }
.dimension-width { left: 17%; right: 3%; top: 9%; height: 1px; background: var(--purple); }
.dimension-height { left: 10%; width: 1px; top: 20%; bottom: 5%; background: var(--purple); }
.diagram-adhesive .dimension-width { left: 25%; right: 11%; }
.diagram-adhesive .dimension-height { top: 40%; bottom: 15%; }
.dimension-width span, .dimension-height span { position: absolute; padding: .15rem .4rem; background: #faf7fc; line-height: 1.25; white-space: nowrap; }
.dimension-height span { writing-mode: vertical-rl; padding: .25rem .13rem; }
.dimension-width::before, .dimension-width::after, .dimension-height::before, .dimension-height::after { content: ''; position: absolute; width: 7px; height: 7px; border-top: 1px solid var(--purple); border-left: 1px solid var(--purple); }
.dimension-width::before { left: 0; transform: rotate(-45deg); }
.dimension-width::after { right: 0; transform: rotate(135deg); }
.dimension-height::before { top: 0; transform: rotate(45deg); }
.dimension-height::after { bottom: 0; transform: rotate(225deg); }
.diagram-card figcaption, .example-card figcaption { padding: clamp(1rem, 2.55vw, 1.55rem); }
.diagram-card figcaption p, .example-card figcaption p { margin-top: .38rem; }
.measure-example, .measure-help { border: 1px solid var(--border); border-radius: 12px; margin-top: 1.25rem; padding: clamp(.95rem, 2.55vw, 1.7rem); }
.measure-example { background: var(--soft); }
.measure-example p { margin-top: .3rem; color: var(--muted); }
.measure-help { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem; align-items: center; background: var(--paper); }
.measure-help > div { flex: 1 1 26rem; }
.measure-help p { margin-top: .3rem; }

.example-grid { row-gap: clamp(1rem, 3.8vw, 2rem); }
.examples { background: #2e154a; color: #fff; }
.examples .section-head p { color: #f2e5fa; }
.example-card { color: var(--ink); }
.example-card > img { aspect-ratio: 1.75; }
.questions details { margin-block: .65rem; padding: .85rem 1.05rem; background: var(--paper); border: 1px solid var(--border); border-radius: 9px; }
.questions summary { min-height: 32px; cursor: pointer; font-weight: 745; color: var(--ink); }
.questions details p { padding-top: .2rem; padding-left: 1.05rem; }
.questions details a { text-underline-offset: .2em; }
.closing { background: linear-gradient(126deg, #40205e, #612187); color: white; }
.closing-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 1.7rem; }
.closing-inner p { color: #eee1f5; margin-top: .65rem; }
.button-on-dark { background: #fff; border-color: #fff; color: #2e154a; }
.button-on-dark:hover { background: #f2e4fa; border-color: #f2e4fa; color: #2e154a; }
.mobile-order { display: none; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 2rem; color: var(--muted); }
.footer-brand { font-size: 1.1rem; font-weight: 800; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .38rem 1.25rem; font-size: .875rem; }

@media (max-width: 799px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 61px; gap: .75rem; }
  .brand img { width: 106px; }
  .top-nav { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.05rem; padding-block: 1.42rem 1.7rem; }
  .hero-claim { font-size: clamp(2.85rem, 9.2vw, 4.7rem); }
  .hero-product { margin-top: .55rem; }
  .hero-figure img { aspect-ratio: 1.5; }
  .hero-figure { border-width: 3px; border-radius: 12px; }
  .hero-guides { margin-top: .65rem; }
  .hero-actions { margin-top: .89rem; }
  .update-inner, .shipping-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mount-grid, .diagram-grid, .example-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions, .closing-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .hero-actions .button, .closing-actions .button { padding-inline: .45rem; font-size: .875rem; }
  .hero-actions .button { min-height: 49px; }
  .hero-price { margin-top: .75rem; }
  .section-head { margin-bottom: 1.15rem; }
  .diagram { min-height: 186px; }
  .site-footer { padding-block: 1.45rem; }
  .mobile-order { position: fixed; z-index: 2; inset: auto 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; padding: .5rem var(--gutter) calc(.5rem + env(safe-area-inset-bottom)); border-top: 1px solid #decee8; background: #fff; }
  .mobile-order .button { min-height: 45px; padding-inline: .35rem; font-size: .85rem; }
}
@media (max-width: 360px) {
  .diagram-slot, .diagram-adhesive { padding-inline: .7rem; }
}
