:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #262423;
  --muted: #625e56;
  --rule: #dad7d0;
  --red: #833d40;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.75 "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-break: strict;
  scroll-padding: 18px;
}
* { box-sizing: border-box; }
body, p, h1, h2, h3, h4, ol, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #a14f50; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.skip:focus { position: absolute; z-index: 2; padding: 10px; background: white; }
.top, .content, footer {
  width: min(calc(100% - 80px), 1260px);
  margin-inline: auto;
}
.top, .masthead, .brand, .notify { display: flex; align-items: center; }
.top { justify-content: space-between; min-height: 83px; border-bottom: 1px solid var(--ink); }
.masthead { gap: 22px; }
.masthead h1 { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .05em; }
.brand { gap: 5px; font: bold 30px/1 Arial,sans-serif; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { width: 30px; fill: var(--red); }
.notify { gap: 12px; min-height: 44px; color: var(--red); font-size: 14px; font-weight: 700; text-decoration: none; }
.notify span { border: 1px solid currentColor; border-radius: 50%; width: 24px; line-height: 22px; text-align: center; }
.notify:hover, footer a:hover { text-decoration: underline; }
.feature {
  display: grid;
  grid-template: "gallery story" auto "picker story" auto / minmax(0,1.52fr) minmax(0,1fr);
  column-gap: clamp(32px,4.4vw,72px);
  padding-block: 32px 50px;
}
.gallery { grid-area: gallery; min-width: 0; }
.scene, .line { margin: 0; }
.frame {
  display: grid;
  grid-template-columns: minmax(0,1fr) clamp(100px,11vw,168px);
  height: clamp(355px,34vw,495px);
  background: #f1eee6;
}
.still { position: relative; min-width: 0; overflow: hidden; background: #ebe6dc; }
.cover, .scene video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 52% center;
}
.scene video { opacity: 0; }
.scene video.has-frame { opacity: 1; }
.line {
  align-self: center;
  justify-self: center;
  writing-mode: vertical-rl;
  font: 500 clamp(28px,2.6vw,39px)/1.45 var(--serif);
  letter-spacing: .055em;
}
.line span { display: block; white-space: nowrap; }
.motion { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; color: white; background: #26211fc4; border: 1px solid #fff9; border-radius: 50%; }
figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-block: 8px 14px; }
figcaption strong { font-size: 15px; letter-spacing: .04em; }
figcaption span { font-size: 12px; color: var(--muted); }
.picker {
  grid-area: picker;
  display: grid; align-self: start;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.picker button { background: none; color: var(--muted); border: 0; border-bottom: 2px solid transparent; padding: 0 0 5px; text-align: left; }
.picker img { width: 100%; height: clamp(48px,5vw,72px); object-fit: cover; object-position: center 36%; display: block; margin-bottom: 3px; }
.picker span { font-size: 13px; font-weight: 550; }
.picker [aria-pressed=true] { border-color: var(--red); color: var(--red); }
.picker [aria-pressed=true] span { font-weight: 750; }
.picker button:hover img { filter: brightness(1.06); }
.story { grid-area: story; align-self: center; padding-bottom: 18px; }
.intro .byline { color: var(--red); font-size: 13px; font-weight: 650; margin-bottom: 6px; }
.story h2, .signup h2 { font: 550 clamp(28px,2.65vw,42px)/1.45 var(--serif); }
.intro h2 + p { margin-top: 9px; color: var(--muted); line-height: 1.9; font-size: 15px; }
.messages { list-style: none; padding: 0; margin-top: 23px; border-top: 1px solid var(--rule); }
.messages li { display: grid; grid-template-columns: 4em minmax(0,1fr); gap: 10px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.speaker { color: var(--red); font-size: 12px; font-weight: 700; }
.mine .speaker { color: var(--muted); }
.messages p { font-size: 15px; line-height: 1.85; }
.signup { display: grid; grid-template-columns: 1fr 1.15fr; gap: 9%; padding-block: 50px 58px; border-top: 1px solid var(--ink); }
.signup > div > p { color: var(--muted); margin-top: 12px; }
.submit { color: white; background: var(--red); border: 0; font-weight: 650; }
.submit:hover:enabled { background: #6f3436; }
.signup .preview-note { font-size: 13px; max-width: 30em; }
form > label:first-child { font-weight: 700; }
form > label small { color: var(--red); margin-left: 4px; }
input[type=email] { display: block; margin: 6px 0 12px; border: 1px solid #a29b8e; border-radius: 6px; padding: 12px 14px; width: 100%; font-size: 16px; color: var(--ink); background: white; }
.policy, .receipt p, .contact { font-size: 14px; color: var(--muted); }
.privacy { margin-block: 15px; border-block: 1px solid var(--rule); }
summary { padding: 11px 1px; font-weight: 650; font-size: 14px; color: var(--red); }
.notice { font-size: 14px; line-height: 1.85; padding: 4px 2px 20px; }
.notice h3 { font: 600 21px/1.55 var(--serif); }
.notice h4 { margin: 20px 0 5px; font-size: 15px; }
.notice p + p, .notice dt { margin-top: 8px; }
.notice dt { font-weight: bold; }
.notice a, .contact a, footer a { color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; padding-block: 6px 12px; font-size: 14px; }
.check input { flex: none; height: 19px; width: 19px; margin: 2px 0; accent-color: var(--red); }
.submit { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; border-radius: 7px; padding: 14px 18px; }
.submit:disabled, .cancel:disabled { opacity: .6; }
#status:not(:empty) { color: var(--red); font-weight: 650; margin-block: 12px; }
.receipt, .contact { margin-top: 12px; }
.cancel { padding: 8px 14px; min-height: 44px; border: 1px solid var(--red); color: var(--red); background: transparent; margin-top: 12px; border-radius: 5px; }
footer { border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding-block: 20px; font-size: 12px; color: var(--muted); }
@media(max-width: 780px) {
  .top, .content, footer { width: min(calc(100% - 36px),600px); }
  .top { min-height: 65px; }
  .masthead { align-items: flex-start; flex-direction: column; gap: 3px; }
  .brand { font-size: 23px; }
  .brand-mark { width: 23px; }
  .masthead h1 { font-size: 11px; letter-spacing: .025em; }
  .notify { font-size: 13px; gap: 6px; }
  .feature { grid-template: "gallery" auto "picker" auto "story" auto / minmax(0,1fr); padding: 16px 0 30px; }
  .frame { grid-template-columns: minmax(0,1fr) clamp(82px,22vw,119px); height: clamp(278px,78vw,402px); }
  .line { font-size: clamp(23px,6vw,31px); line-height: 1.4; letter-spacing: .02em; }
  .motion { bottom: 8px; right: 8px; }
  figcaption { padding-block: 6px 10px; }
  .picker { gap: 8px; }
  .picker img { height: clamp(43px,13vw,62px); }
  .story { padding: 26px 0 0; }
  .story h2, .signup h2 { font-size: 29px; }
  .intro h2 + p { font-size: 14px; margin-top: 5px; }
  .messages { margin-top: 16px; }
  .messages li { padding-block: 11px; grid-template-columns: 3.6em minmax(0,1fr); gap: 6px; }
  .messages p { font-size: 14px; }
  .signup { grid-template-columns: minmax(0,1fr); gap: 20px; padding-block: 32px; }
}
@media(max-width: 360px) {
  .top, .content, footer { width: calc(100% - 28px); }
  .submit { font-size: 14px; }
}
