/* A clock that opens the evening, with every gesture available as a button. */
.time-experience {
    --time-gold: #d8bd87;
    --time-ink: #f6edde;
    position: relative;
    display: block;
    height: auto;
    min-height: 840px;
    padding: 42px 0 30px;
    isolation: isolate;
    background: #121b16;
    color: var(--time-ink);
    overflow: hidden;
}
.time-experience #time-film { z-index: -4; opacity: .8; object-position: 62% center; transition: opacity 1.1s; }
.time-moment-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: var(--moment-position,50% 50%); opacity: 0; transform: scale(1.045); transition: opacity 1.1s,transform 1.8s cubic-bezier(.2,.55,.25,1); }
.time-moment-previous { pointer-events: none; }
.time-experience.is-unlocked #time-film { opacity: 0; }
.time-experience.is-film-aligned #time-film { max-width: none; } /* 位置と大きさは time-experience.js が映像の時計に合わせて決める */
.time-experience.is-unlocked .time-moment-image { opacity: 1; transform: scale(1); }
.time-experience-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,#101913f5 0%,#101913e0 26%,#10191366 62%,#10191340),linear-gradient(0deg,#101913ed 0%,#10191300 46%,#10191333); }
.time-experience-inner { position: relative; }
.time-chapter { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid #d3c29740; color: #d7caaf; font-size: 10px; line-height: 1.8; letter-spacing: .15em; }
.time-chapter > span:last-child { font-size: 10px; letter-spacing: .2em; }
.time-experience-layout { display: grid; grid-template-columns: 1.04fr 1fr; grid-template-rows: auto 156px; grid-template-areas: 'story dial' 'product dial'; align-items: center; column-gap: 7%; min-height: 564px; padding: 52px 0 34px; }
.time-story { grid-area: story; align-self: end; min-height: 310px; }
.time-experience .time-eyebrow { color: var(--time-gold); font-size: 10px; letter-spacing: .2em; min-height: 18px; }
.editorial-site .time-experience h2 { font-family: 'Noto Serif JP',serif; font-size: clamp(35px,3.7vw,53px); font-weight: 300; line-height: 1.8; letter-spacing: .075em; margin: 22px 0; text-wrap: balance; }
.time-experience .time-description { color: #e3ddce; font-size: 13px; line-height: 2.2; letter-spacing: .04em; max-width: 28em; min-height: 60px; }
.time-product-slot { grid-area: product; align-self: end; display: flex; align-items: end; min-height: 144px; }
.time-idle-signature { font-family: 'Noto Serif JP',serif; font-weight: 300; font-size: 20px; line-height: 2; letter-spacing: .14em; padding-bottom: 18px; color: #ded0af; }
.is-unlocked .time-idle-signature { display: none; }
.time-product { width: 100%; border-top: 1px solid #dbceaf66; padding: 20px 0 0; }
.time-product[hidden] { display: none; }
.time-product-label { font-size: 11px; color: #dbc9a7; letter-spacing: .08em; margin-bottom: 12px; }
.time-product-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
#time-product-name { font-family: 'Noto Serif JP',serif; font-size: 23px; font-weight: 300; letter-spacing: .05em; line-height: 1.6; }
.time-product a { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 11px; color: #efe2c7; white-space: nowrap; border-bottom: 1px solid #e5cf9c88; }
.time-product a > span { font-size: 17px; }
#time-product-note { color: #d1cbbc; font-size: 11px; line-height: 1.9; margin-top: 8px; }
.time-dial-space { grid-area: dial; align-self: center; display: flex; align-items: center; flex-direction: column; padding: 28px 0 0; }
.time-dial { position: relative; width: min(100%,370px); aspect-ratio: 1; isolation: isolate; transition: transform .9s cubic-bezier(.2,.55,.25,1); }
.time-dial-glow { position: absolute; inset: -10%; border-radius: 50%; background: radial-gradient(circle,#151d16d9 0%,#171b14ad 46%,#d3af5017 54%,transparent 69%); z-index: -1; }
/* 映像の時計と中心をそろえたとき：目盛りの内側まで沈め、実写の針が画面の針と重ならないように。外側には実物の時計の目盛りが残る。 */
.time-experience.is-film-aligned .time-dial-glow::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle,#141c15f2 0%,#141c15eb 66%,#171b14cc 79%,#171b1470 87%,transparent 92%); transition: opacity 1.1s; }
.time-experience.is-unlocked .time-dial-glow::before { opacity: 0; }
.time-dial-ring { position: absolute; inset: 0; border: 1px solid #d7bf8466; border-radius: 50%; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.time-dial-ring::before { content: ''; position: absolute; inset: 13%; border: 1px solid #cdbd8a33; border-radius: 50%; }
.time-dial-ring::after { content: ''; position: absolute; inset: -12px; border: 1px solid #dacbaa23; border-radius: 50%; }
.time-dial-ticks { position: absolute; inset: 8px; border-radius: 50%; background: repeating-conic-gradient(from -.5deg,#dcc28b99 0deg 1deg,transparent 1deg 6deg); mask-image: radial-gradient(circle at center,transparent 66%,#000 66.5%); }
.time-dial-numbers > span { position: absolute; color: #e2cc9f; font: 300 25px/1 'Noto Serif JP',serif; transition: opacity .7s,transform 1.3s cubic-bezier(.2,.55,.25,1),filter 1.3s; }
.time-dial-numbers > span:nth-child(1) { top: 30px; left: calc(50% - 15px); }
.time-dial-numbers > span:nth-child(2) { right: 34px; top: calc(50% - 13px); }
.time-dial-numbers > span:nth-child(3) { bottom: 30px; left: calc(50% - 7px); }
.time-dial-numbers > span:nth-child(4) { left: 34px; top: calc(50% - 13px); }
.time-dial-minute,.time-dial-second,.time-dial-needle { position: absolute; left: calc(50% - 1px); bottom: 50%; width: 2px; height: 35%; background: #ecd3a2; transform-origin: 50% 100%; pointer-events: none; }
.time-dial-minute { height: 24%; transform: rotate(302deg); width: 3px; background: #e3c286; }
.time-dial-second { width: 1px; height: 38%; background: #e9d8b2aa; animation: time-sweep 36s linear infinite; animation-play-state: paused; }
.time-experience.is-visible:not(.is-unlocked) .time-dial-second { animation-play-state: running; }
.time-dial-ring:hover .time-dial-second { animation-play-state: paused; }
.time-dial-needle { opacity: 0; height: 40%; transform: rotate(var(--dial-angle)); transition: transform .5s cubic-bezier(.2,.65,.3,1),opacity .4s; }
.time-dial-needle::before { content: ''; position: absolute; width: 8px; height: 8px; border: 1px solid #ecd3a2; border-radius: 50%; top: -11px; left: -3px; box-shadow: 0 0 14px #e4b36688; }
.time-dial-activate { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 132px; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid #e2c79799; border-radius: 50%; background: #1b261fed; box-shadow: 0 0 0 7px #dbc08b10,0 10px 38px #00000040; color: #f5e5c7; cursor: pointer; transition: background .3s,box-shadow .3s; }
.time-dial-activate:hover { background: #35412beb; box-shadow: 0 0 0 13px #dbc08b18,0 10px 38px #00000040; }
#time-dial-word { font-family: 'Noto Serif JP',serif; font-size: 43px; font-weight: 300; line-height: 1; }
#time-dial-action { font-size: 11px; line-height: 1.5; letter-spacing: .06em; }
.time-dial-arrow { position: absolute; top: -17px; right: -15px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #d7c28b99; border-radius: 50%; background: #222d23; font-size: 19px; }
.time-dial-marker { position: absolute; color: #edd3a0; opacity: 0; font-family: 'Noto Serif JP',serif; font-size: 14px; letter-spacing: .1em; transition: opacity .7s; }
.time-dial-marker--one { top: -36px; left: 50%; transform: translateX(-50%); }
.time-dial-marker--two { right: -17px; bottom: 18%; }
.time-dial-marker--three { left: -17px; bottom: 18%; }
.time-dial-hint { margin: 32px 0 0; font-size: 11px; letter-spacing: .09em; text-align: center; color: #e1d6bc; line-height: 1.8; }
.is-unlocked .time-dial { transform: scale(.91); }
.is-unlocked .time-dial-numbers > span { opacity: 0; transform: translate(var(--x),var(--y)) rotate(var(--r)); filter: blur(5px); }
.is-unlocked .time-dial-marker,.is-unlocked .time-dial-needle { opacity: 1; }
.is-unlocked .time-dial-second,.is-unlocked .time-dial-minute { display: none; }
.is-dragging .time-dial-ring { cursor: grabbing; }
.is-dragging .time-dial-needle { transition: none; }
.time-scene-choices { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #d3c29759; border-bottom: 1px solid #d3c29759; }
.time-scene-choices > button { display: flex; align-items: center; gap: 22px; text-align: left; padding: 20px 24px; min-height: 92px; position: relative; color: #c8c3b2; background: #10191130; transition: background .3s,color .3s; }
.time-scene-choices > button + button { border-left: 1px solid #d3c29740; }
.time-scene-choices > button::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: #e2c58a; transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.time-scene-choices > button[aria-pressed=true] { background: #b2a27220; color: #fff3d8; }
.time-scene-choices > button[aria-pressed=true]::after { transform: scaleX(1); }
.time-scene-choices > button:hover { background: #b2a27230; color: #fff3d8; }
.time-choice-index { font-family: 'Noto Serif JP',serif; font-weight: 300; font-size: 26px; color: #d7c398; }
.time-choice-label { font-family: 'Noto Serif JP',serif; font-weight: 300; font-size: 21px; line-height: 1.65; letter-spacing: .08em; }
.time-choice-label small { display: block; font-family: 'Noto Sans JP',sans-serif; font-size: 11px; letter-spacing: .045em; color: #d0c6b1; margin-top: 4px; word-break: keep-all; }
.time-choice-mark { margin-left: auto; font-size: 18px; color: #d4c29a; }
.time-scene-choices .is-visited .time-choice-index::after { content: ''; display: inline-block; width: 4px; height: 4px; background: #e5c689; border-radius: 50%; margin: 0 0 3px 5px; }
.time-experience-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-top: 17px; }
.time-small-controls { display: flex; gap: 26px; align-items: center; }
.time-small-controls > button { color: #d1c9b5; font-size: 11px; min-height: 44px; padding: 8px 0; white-space: nowrap; }
.time-small-controls > button[aria-pressed=true] { color: #f5d99f; }
.time-small-controls > button > span { font-size: 16px; padding-left: 5px; }
#time-progress { color: #b9bba7; font-size: 11px; letter-spacing: .06em; }
.time-next { display: inline-flex; align-items: center; gap: 30px; color: #ebd9b4; min-height: 44px; padding: 8px 0; border-bottom: 1px solid #ceb88999; font-size: 11px; }
.time-next > span { font-size: 20px; }
.time-state { font-size: 11px; color: #c3c5b5; letter-spacing: .035em; line-height: 1.9; margin-top: 13px; min-height: 20px; max-width: 75%; }
.time-experience #time-state { font-size: 11px; } /* immersive.css の #time-state（10px）より優先 */
.time-onward { display: inline-flex; align-items: center; gap: 25px; position: absolute; right: 0; bottom: -5px; min-height: 44px; font-size: 11px; color: #c1c3b1; }
.time-onward > span { font-size: 16px; }
.time-experience button:focus-visible,.time-experience a:focus-visible,.time-dial-ring:focus-visible { outline: 2px solid #ecd19a; outline-offset: 5px; }
.time-experience button:disabled { opacity: .5; cursor: default; }
.time-noscript { font-size: 12px; line-height: 2; margin-top: 20px; }
@keyframes time-sweep { from { transform: rotate(10deg); } to { transform: rotate(370deg); } }
@media (max-width: 1050px) {
    .time-experience-layout { column-gap: 5%; }
    .time-dial { width: 305px; }
    .editorial-site .time-experience h2 { font-size: 35px; }
    .time-product-heading { flex-wrap: wrap; gap: 5px 20px; }
    #time-product-name { font-size: 21px; }
    .time-scene-choices > button { padding-inline: 16px; gap: 14px; }
    .time-choice-label { font-size: 19px; }
}
@media (max-width: 767px) {
    .time-experience { padding: 29px 0 30px; min-height: 0; scroll-margin-top: 68px; }
    .time-chapter { padding-bottom: 19px; font-size: 11px; gap: 10px; }
    .time-chapter > span:last-child { font-size: 10px; letter-spacing: .1em; text-align: right; }
    .time-experience #time-film { object-position: 63% center; opacity: .5; }
    .time-moment-image { top: 250px; height: 440px; object-position: var(--moment-position,50% 50%); mask-image: linear-gradient(transparent,#000 16%,#000 74%,transparent); }
    .time-experience-shade { background: linear-gradient(180deg,#101913e8 0%,#101913ad 23%,#10191314 48%,#101913db 73%,#101913 100%); }
    .time-experience-layout { grid-template-columns: 1fr; grid-template-rows: auto 300px 152px; grid-template-areas: 'story' 'dial' 'product'; min-height: 0; gap: 15px; padding: 33px 0 27px; }
    .time-story { align-self: start; min-height: 230px; }
    .time-experience .time-eyebrow { font-size: 10px; }
    .editorial-site .time-experience h2 { font-size: clamp(29px,7.9vw,39px); line-height: 1.65; letter-spacing: .07em; margin: 17px 0; }
    .time-experience .time-description { font-size: 12px; line-height: 2.1; min-height: 50px; max-width: 28em; }
    .time-dial-space { padding-top: 19px; }
    .time-dial { width: 244px; }
    .time-dial-numbers > span { font-size: 19px; }
    .time-dial-numbers > span:nth-child(1) { top: 22px; left: calc(50% - 11px); }
    .time-dial-numbers > span:nth-child(2) { right: 22px; top: calc(50% - 10px); }
    .time-dial-numbers > span:nth-child(3) { bottom: 22px; left: calc(50% - 5px); }
    .time-dial-numbers > span:nth-child(4) { left: 22px; top: calc(50% - 10px); }
    .time-dial-activate { width: 100px; height: 100px; gap: 7px; }
    #time-dial-word { font-size: 34px; }
    #time-dial-action { font-size: 11px; letter-spacing: .02em; }
    .time-dial-arrow { width: 27px; height: 27px; font-size: 16px; top: -12px; right: -11px; }
    .time-dial-marker { font-size: 12px; }
    .time-dial-marker--one { top: -32px; }
    .time-dial-marker--two { right: -15px; }
    .time-dial-marker--three { left: -15px; }
    .time-dial-hint { font-size: 11px; margin-top: 24px; }
    .time-product-slot { min-height: 138px; align-self: center; align-items: center; }
    .time-idle-signature { font-size: 18px; padding-bottom: 0; margin-inline: auto; }
    .time-product { padding-top: 17px; }
    .time-product-label { font-size: 11px; margin-bottom: 7px; }
    .time-product-heading { gap: 4px 12px; }
    #time-product-name { font-size: 22px; }
    .time-product a { font-size: 11px; gap: 13px; min-height: 44px; }
    #time-product-note { font-size: 11px; margin-top: 5px; }
    .time-scene-choices > button { min-height: 94px; padding: 14px 10px; gap: 3px; flex-direction: column; align-items: flex-start; }
    .time-choice-index { font-size: 15px; line-height: 1.6; }
    .time-choice-label { font-size: 18px; line-height: 1.6; }
    .time-choice-label small { font-size: 11px; line-height: 1.5; letter-spacing: 0; margin-top: 3px; }
    .time-choice-mark { position: absolute; right: 10px; top: 16px; font-size: 13px; }
    .time-experience-bottom { padding-top: 12px; gap: 10px; flex-wrap: wrap; }
    .time-small-controls { gap: 21px; }
    .time-small-controls > button { font-size: 11px; }
    #time-sound { min-width: 44px; }
    #time-progress { font-size: 11px; }
    .time-next { font-size: 11px; gap: 22px; }
    .time-state { font-size: 11px; max-width: none; margin-top: 11px; min-height: 34px; }
    .time-onward { position: static; font-size: 11px; margin-top: 2px; }
}
@media (max-width: 359px) {
    .time-chapter > span:last-child { display: none; }
    .time-dial { width: 225px; }
    .time-dial-hint { letter-spacing: .025em; }
    .time-scene-choices > button { padding-inline: 8px; }
    .time-choice-label { font-size: 16px; }
    .time-choice-label small { max-width: 8em; }
    .time-product-heading { display: block; }
    #time-product-name { display: block; font-size: 20px; }
    .time-product a { margin-top: 3px; }
    .time-small-controls { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .time-experience *, .time-experience *::before, .time-experience *::after { animation: none !important; transition: none !important; }
    .time-moment-image,.is-unlocked .time-dial { transform: none; }
    .is-unlocked .time-dial-numbers > span { transform: none; filter: none; }
}
