@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-width: 1260px;
  min-height: 100vh;
  background-color: #0e0a07;
  color: #f5efe2;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 1;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
body.is-leaving {
  opacity: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure,
p,
h1,
h2,
h3 {
  margin: 0;
}

/* =========================================
   共通背景レイヤー（レンガ・固定歯車・周辺ビネット）
   ========================================= */
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 1260px;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-layer__brick {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/common/bg_oldbrick.webp") center top/cover no-repeat;
}
.bg-layer__gear {
  position: absolute;
  z-index: 1;
}
.bg-layer__gear--lt {
  top: 0;
  left: 0;
  width: 25vw;
  min-width: 220px;
}
.bg-layer__gear--rb {
  right: 0;
  bottom: 0;
  width: 31vw;
  min-width: 260px;
}
.bg-layer__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url("../img/common/bg_shade.webp") center center/100% 100% no-repeat;
  opacity: 0.92;
}

/* サブページ（COMMENT / TRAILER）共通：レンガ背景の赤茶色再現 */
.page-sub .bg-layer__brick {
  filter: brightness(1.28) contrast(1.06) sepia(0.42) saturate(1.45) hue-rotate(-8deg);
}
.page-sub .bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #8d470e;
  mix-blend-mode: overlay;
  opacity: 0.78;
  pointer-events: none;
}

/* =========================================
   トップ専用：初回30th鍵穴カウントアップローディング
   ========================================= */
body.is-opening-lock {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

.opening-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1a0a0a;
  background-image: url("../img/common/bg_brick.webp");
  background-repeat: repeat;
  background-position: center center;
  background-size: auto;
  font-family: "Times New Roman", "Hiragino Mincho ProN", serif;
  color: #fff;
  transform: translateY(0);
  transition: transform 1.4s cubic-bezier(0.77, 0, 0.175, 1);
}
.opening-layer.is-loaded {
  transform: translateY(-100%);
  pointer-events: none;
}
.opening-layer.is-quick-fade {
  background: #000 !important;
  transition: opacity 0.7s ease-out, visibility 0.7s ease-out;
  opacity: 1;
  visibility: visible;
}
.opening-layer.is-quick-fade.is-fade-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.opening-layer.counter-fadeout .counter {
  opacity: 0;
  transform: translateY(-48px) scale(0.95);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}
.opening-layer.show-text .teaser-text {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.initial-blackout {
  position: absolute;
  inset: 0;
  background-color: #000;
  z-index: 2;
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}
.initial-blackout.is-revealed {
  opacity: 0;
}

.keyhole-shadow-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4000px;
  height: 4000px;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}
.keyhole-shadow-wrap.is-cleared {
  opacity: 0;
}
.keyhole-shadow-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.counter {
  font-size: 9rem;
  font-weight: 900;
  font-style: normal;
  position: relative;
  z-index: 3;
  color: #fff;
  letter-spacing: 0.05em;
  transform: translateY(-48px);
  text-shadow: 0 0 10px rgba(255, 0, 51, 0.6), 0 0 25px rgba(255, 0, 51, 0.4), 0 0 50px rgba(255, 0, 51, 0.2);
  opacity: 0;
}
.counter.is-visible {
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

.teaser-text {
  font-size: 4rem;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.1em;
  line-height: 1.2;
  position: absolute;
  z-index: 4;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 0, 51, 0.7), 0 0 35px rgba(255, 0, 51, 0.5);
  opacity: 0;
  transform: scale(1.05);
  width: 100%;
  left: 0;
  text-align: center;
  padding: 0 20px;
}

/* =========================================
   トップページメイン（PC専用・カンプ pc_teaser_1120 完全準拠）
   ========================================= */
.page-home {
  display: flex;
  flex-direction: column;
  min-width: 1260px;
  min-height: 100vh;
}

.home-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4.2vh, 48px) 32px clamp(14px, 2.2vh, 26px);
}

.home-stage {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(24px, 3.2vw, 44px);
}

/* 左カラム：ティザービジュアル（白額縁付き） */
.home-visual {
  display: flex;
  justify-content: center;
  animation: fadeSlideUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-visual__frame {
  width: 100%;
  max-width: 520px;
  padding: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(212, 180, 100, 0.35);
}
.home-visual__frame img {
  width: 100%;
  height: auto;
}

/* 右カラム：DETECTIVE CONAN 2027・ロゴ・公開日・ナビ・SNS・30thバナー */
.home-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeSlideUp 0.9s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-dc-title {
  width: min(82%, 410px);
  margin: 0 auto clamp(10px, 1.6vh, 18px);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}
.home-dc-title img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.home-logo {
  width: 100%;
  max-width: 540px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65));
}
.home-logo img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.home-roadshow {
  margin-top: clamp(8px, 1.4vh, 16px);
  width: clamp(250px, 28vw, 370px);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.75));
}
.home-roadshow img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* グローバルナビ（公開表記の下の余白を広げて、シャーロックバナー下端を原画白枠下端に揃える） */
.home-nav {
  margin-top: clamp(68px, 6.6vh, 84px);
  width: 100%;
}
.home-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(26px, 3.6vw, 48px);
}
.home-nav__link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 6px 14px;
  color: #f5efe2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.65);
  cursor: pointer;
}
.home-nav__link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0d78c, transparent);
  transform: translateX(-50%);
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-nav__link:hover, .home-nav__link:active, .home-nav__link:focus-visible {
  outline: none;
}
.home-nav__link:hover::after, .home-nav__link:active::after, .home-nav__link:focus-visible::after {
  width: 100%;
}
.home-nav__link:hover .home-nav__en, .home-nav__link:active .home-nav__en, .home-nav__link:focus-visible .home-nav__en {
  color: #f0d78c;
  transform: translateY(-5px) scaleX(0.9);
  text-shadow: 0 0 14px rgba(240, 215, 140, 0.55), 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.65);
}
.home-nav__link:hover .home-nav__ja, .home-nav__link:active .home-nav__ja, .home-nav__link:focus-visible .home-nav__ja {
  opacity: 1;
  transform: translate(-50%, 0);
}
.home-nav__en {
  display: inline-block;
  font-family: "Sorts Mill Goudy", "Goudy Old Style", "Times New Roman", serif;
  font-size: clamp(1.38rem, 2.05vw, 1.8rem);
  letter-spacing: 0.06em;
  line-height: 1.1;
  transform: scaleX(0.9);
  transform-origin: center center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), color 0.28s ease, text-shadow 0.28s ease;
}
.home-nav__ja {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translate(-50%, 5px);
  opacity: 0;
  white-space: nowrap;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #f0d78c;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 公式SNSリンク */
.home-sns {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  font-family: "Sorts Mill Goudy", "Goudy Old Style", "Times New Roman", serif;
  font-size: clamp(0.98rem, 1.3vw, 1.16rem);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.65);
}
.home-sns__label {
  color: #f5efe2;
}
.home-sns__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
}
.home-sns__list a {
  position: relative;
  display: inline-block;
  padding: 2px 4px 2px;
  transition: color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.25s ease;
}
.home-sns__list a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0d78c, transparent);
  transform: translateX(-50%);
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-sns__list a:hover,
.home-sns__list a:focus-visible {
  color: #f0d78c;
  transform: translateY(-2px) scale(1.06);
  text-shadow: 0 0 12px rgba(240, 215, 140, 0.65), 0 2px 6px rgba(0, 0, 0, 0.9);
  outline: none;
}
.home-sns__list a:hover::after,
.home-sns__list a:focus-visible::after {
  width: 100%;
}

/* 30th シャーロックプロジェクト バナー（影なし・透過配慮） */
.home-project-bnr {
  margin-top: clamp(16px, 2.4vh, 26px);
  width: 100%;
  max-width: 500px;
}
.home-project-bnr__link {
  display: block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}
.home-project-bnr__link:hover {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.08);
}
.home-project-bnr__link img {
  width: 100%;
  height: auto;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   フッター（関連バナー4枚＋シェア＋ポリシー＋コピーライト）
   ========================================= */
.site-footer {
  position: relative;
  z-index: 15;
  flex-shrink: 0;
  width: 100%;
  padding: clamp(14px, 2vh, 24px) 24px clamp(38px, 4.5vh, 48px);
  text-align: center;
}
.site-footer--sub {
  margin-top: 24px;
  padding: 12px 24px 24px;
}
.site-footer__inner {
  max-width: 920px;
  margin: 0 auto;
}

/* バナー4枚横並び（4枚とも元比率のまま高さをピタッと揃える） */
.footer-banners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(24px, 3vh, 32px);
}
.footer-banners__item {
  flex: 0 1 auto;
}
.footer-banners__item a {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.68);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.footer-banners__item a:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.footer-banners__item img {
  height: clamp(54px, 5.2vw, 72px);
  width: auto;
  max-width: 100%;
  display: block;
}

/* フッター中央シェアアイコン */
.footer-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-share__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}
.footer-share__list {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-share__list a {
  display: block;
  width: 32px;
  height: 32px;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.footer-share__list a:hover {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.15);
}
.footer-share__list img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ポリシーリンク */
.footer-policy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(245, 239, 226, 0.88);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  margin-bottom: 14px;
}
.footer-policy a {
  transition: color 0.2s ease, opacity 0.2s ease;
}
.footer-policy a:hover {
  color: #f0d78c;
}

/* コピーライト（明朝体） */
.footer-copy {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(245, 239, 226, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}
.footer-copy small {
  font-size: inherit;
}

/* =========================================
   サブページ（COMMENT / TRAILER 共通・PC専用）
   ========================================= */
.page-sub {
  display: flex;
  flex-direction: column;
  min-width: 1260px;
  min-height: 100vh;
}

.sub-header {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 18px 28px 10px;
}
.sub-header__inner {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  gap: 12px;
}
.sub-header__left {
  display: flex;
  justify-content: flex-start;
}
.sub-header__logo {
  display: block;
  width: clamp(130px, 14vw, 185px);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.sub-header__logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.85)) brightness(1.06);
}
.sub-header__center {
  display: flex;
  justify-content: center;
  padding-top: 2px;
}
.sub-header__dc-title {
  width: clamp(190px, 22vw, 310px);
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}
.sub-header__right {
  display: flex;
  justify-content: flex-end;
}

.share-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.share-box__icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}
.share-box__list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.share-box__list a {
  display: block;
  width: 28px;
  height: 28px;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.share-box__list a:hover {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.15);
}

/* CLOSEボタン（カンプ準拠：縦積み・大×＋下線＋CLOSE） */
.btn-close {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  padding: 8px 6px 7px;
  background: rgba(12, 9, 6, 0.88);
  border: 1px solid #d4b464;
  color: #f0d78c;
  font-family: "Sorts Mill Goudy", "Goudy Old Style", "Times New Roman", serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-close__icon {
  position: relative;
  width: 34px;
  height: 22px;
  margin-bottom: 5px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-close__icon::before, .btn-close__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #f0d78c;
}
.btn-close__icon::before {
  transform: translateY(-50%) rotate(33deg);
}
.btn-close__icon::after {
  transform: translateY(-50%) rotate(-33deg);
}

.btn-close__text {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1;
  padding-top: 5px;
  padding-left: 0.14em;
  border-top: 1px solid rgba(212, 180, 100, 0.55);
}
.btn-close:hover {
  background: rgba(34, 24, 14, 0.96);
  border-color: #f0d78c;
  color: #fff5d6;
  transform: translateY(-1px);
}
.btn-close:hover .btn-close__icon {
  transform: rotate(180deg);
}

/* 下部CLOSEボタン */
.sub-close-bottom {
  margin-top: 44px;
  text-align: center;
}

.btn-close--lg {
  width: auto;
  height: auto;
  flex-direction: row;
  gap: 8px;
  padding: 12px 34px;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
}
.btn-close--lg .btn-close__icon {
  width: 16px;
  height: 16px;
  margin-bottom: 0;
}
.btn-close--lg .btn-close__text {
  width: auto;
  border-top: none;
  padding-top: 2px;
  padding-left: 0;
}

.sub-main {
  flex: 1;
  padding: 8px 24px 20px;
}

.sub-container {
  max-width: 1240px;
  margin: 0 auto;
}

.sub-title {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.75));
  animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sub-title img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.comment-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  max-width: 720px;
  margin: 12px auto 0;
}

.comment-card {
  width: 100%;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.75));
  animation: fadeSlideUp 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.comment-card:nth-child(2) {
  animation-delay: 0.2s;
}
.comment-card img {
  width: 100%;
  height: auto;
}

.trailer-wrap {
  width: 86%;
  max-width: 1200px;
  margin: 26px auto 0;
  animation: fadeSlideUp 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.trailer-frame {
  padding: 10px;
  background: linear-gradient(135deg, #2a1e12, #0d0906);
  border: 1px solid #d4b464;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.72);
}
.trailer-frame__ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.trailer-frame__ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #f5efe2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.65);
}

/* 動画切り替え目次グリッド（3列均等・シャーロック調プレート） */
.trailer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
  margin-top: 26px;
}

.trailer-list__item {
  display: flex;
}

.trailer-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 10px 16px;
  background: rgba(12, 9, 6, 0.78);
  border: 1px solid rgba(212, 180, 100, 0.45);
  color: #f5efe2;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* 左端のダイヤ飾り（未選択時） */
.trailer-tab::before {
  content: "◆";
  flex-shrink: 0;
  font-size: 0.65rem;
  color: rgba(212, 180, 100, 0.7);
  transition: transform 0.25s ease, color 0.25s ease;
}

.trailer-tab:hover {
  background: rgba(32, 22, 13, 0.94);
  border-color: #f0d78c;
  color: #fff5d6;
  transform: translateY(-1px);
}
.trailer-tab:hover::before {
  color: #f0d78c;
}

/* 選択中（再生中）のプレート */
.trailer-tab.is-active {
  background: linear-gradient(135deg, rgba(48, 32, 15, 0.96), rgba(22, 15, 9, 0.96));
  border-color: #f0d78c;
  color: #f0d78c;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(240, 215, 140, 0.3), inset 0 0 0 1px rgba(240, 215, 140, 0.45);
}
.trailer-tab.is-active::before {
  content: "▶";
  font-size: 0.72rem;
  color: #f0d78c;
}

.trailer-tab__text {
  display: block;
}

/* 超ロングタイトル用：長体（横幅82%圧縮） */
.trailer-tab__text.is-condensed {
  display: inline-block;
  transform: scaleX(0.82);
  transform-origin: left center;
  width: 122%; /* 1 ÷ 0.82 ≒ 122% で折り返し位置を広げる */
  letter-spacing: 0.01em;
}

/* サブページ用 */
.sub-copyright {
  margin-top: 14px;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(245, 239, 226, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.btn-gotop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.75));
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-gotop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.btn-gotop:hover {
  transform: translateY(-4px) scale(1.05);
}
