/* 動画視聴フロー（位置確認・パスワード・アンケート・視聴）用の追加スタイル。
   デザイン側の styles.css は変更せず、足りない部品だけをここに置く。1rem = 10px */
[hidden] { display: none !important; }

button.c-btn__01 { border: 0; cursor: pointer; font-family: inherit; }
button.c-btn__01:disabled { opacity: 0.45; cursor: default; }
.app-flow .c-btn__01 { margin-top: 20px; }
.app-flow .c-btn__01--gray { height: 44px; }

.app-flow { max-width: 320px; margin: 0 auto; }
.app-flow p, .app-flow li, .app-flow label { font-size: 1.4rem; line-height: 1.8; letter-spacing: 0.04em; }
.app-flow a { text-decoration: underline; }
.app-flow a.c-btn__01 { text-decoration: none; }
.app-list { margin: 12px 0; padding-left: 1.4em; list-style: disc; }
ol.app-list { list-style: decimal; }
.app-list li { list-style: inherit; }
.app-list--note { list-style: none; padding-left: 0; }
.app-list--note li { font-size: 1.2rem; }

.app-steps { display: flex; justify-content: center; gap: 6px; margin: 0 0 24px; list-style: none; }
.app-steps li { padding: 3px 10px; background: #ccd4d6; color: #231815; font-size: 1.1rem; font-weight: bold; letter-spacing: 0.04em; white-space: nowrap; }
.app-steps li[aria-current="step"] { background: #667f8b; color: #fff; }

.app-notice { margin: 16px 0; padding: 12px 14px; background: rgba(255, 255, 255, 0.7); font-size: 1.4rem; font-weight: bold; line-height: 1.7; text-align: center; }
.app-notice--error { border-left: 4px solid #a62d25; color: #a62d25; text-align: left; }

.app-spinner { width: 40px; height: 40px; margin: 28px auto; border: 4px solid #ccd4d6; border-top-color: #a62d25; border-radius: 50%; animation: app-spin 1s linear infinite; }
@keyframes app-spin { to { transform: rotate(360deg); } }

.app-label { display: block; margin-bottom: 8px; font-weight: bold; text-align: center; }
.app-hint { min-height: 1.6em; margin-top: 8px; font-size: 1.2rem !important; }
.app-hint--warn { color: #a62d25; }
#turnstile { margin: 8px 0; }

/* パスワード入力ページ：デザインの .form-pass に、位置確認ステップと無効状態を足す */
.sec-password .app-steps { margin-top: 36px; }
.sec-password .form-pass { margin-top: 0; }
.form-pass__ttl label { font-size: inherit; line-height: inherit; letter-spacing: inherit; }
.form-pass__input { text-align: center; }
.form-pass__btn:disabled { opacity: 0.45; cursor: default; }
.form-pass .app-hint { max-width: 260px; min-height: 0; margin: -12px auto 21px; }
.form-pass .app-hint:empty { display: none; }
.form-pass #turnstile { margin: 0; }
.form-pass #turnstile:not(:empty) { margin-bottom: 21px; }
#step-code > .app-hint { margin-top: 16px; text-align: center; }

.app-help { margin-top: 16px; padding: 12px 14px; background: rgba(255, 255, 255, 0.7); }
.app-manual { margin-top: 28px; padding: 12px 14px; border: 1px dashed #667f8b; }
.app-manual .form-control { font-size: 1.6rem; }

.app-survey-q { margin: 0 0 16px; padding: 12px 14px 6px; background: rgba(255, 255, 255, 0.7); border: 0; }
#btn-answer { scroll-margin-bottom: 16px; }
.app-survey-q legend { float: left; width: 100%; margin-bottom: 4px; font-size: 1.4rem; font-weight: bold; line-height: 1.6; }
.app-survey-q .pure-list__input { display: block; clear: both; border-top: 1px solid #ccd4d6; }
.app-survey-q .pure-list__input span { font-size: 1.4rem; }

.app-player { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 16px; background: #000; }
.app-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.app-remaining { margin-bottom: 14px; font-size: 1.4rem; font-weight: bold; text-align: center; }

.app-doc { max-width: 640px; margin: 0 auto; }
.app-doc h2 { margin: 28px 0 8px; padding-left: 10px; border-left: 4px solid #667f8b; font-size: 1.5rem; font-weight: bold; line-height: 1.6; }
.app-doc p, .app-doc li { font-size: 1.4rem; line-height: 1.8; }
.app-doc p { margin: 8px 0; }
.app-doc a { text-decoration: underline; }
.app-links { display: flex; justify-content: center; gap: 20px; margin-top: 32px; font-size: 1.3rem; }
.app-links a { text-decoration: underline; }

.app-inapp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: 12px 16px; background: #231815; color: #fff; font-size: 1.3rem; line-height: 1.6; text-align: center; }
.app-inapp a { color: #fff; font-weight: bold; text-decoration: underline; }
