/* =============================================================================
   サラリーマン ティザーサイト
   WordPress 化時: セクション単位でテンプレート化しやすいよう BEM 風クラス
   ============================================================================= */

:root {
  --color-bg: #0a0a0f;
  --color-surface: #12121a;
  --color-text: #f2f2f5;
  --color-muted: #9a9aa8;
  --color-accent: #5eb3ff;
  --color-menu-bg: #0d3a7a;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

body.is-menu-open {
  overflow: hidden;
}

/* アンカー・scrollIntoView 時に固定ヘッダーと被らないよう余白 */
main > .kv-section,
main > section.section,
.site-footer {
  scroll-margin-top: clamp(64px, 12vw, 88px);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ----- ヘッダー（60th 系: コンパクトロゴ + 右メニュー） ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.85), transparent);
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.site-header__logo img {
  display: block;
  height: clamp(54px, 7.2vw, 74px);
  width: auto;
}

/* 十字 + メニュー（[hidden] は display 指定より弱くなるため明示） */
.menu-trigger[hidden] {
  display: none !important;
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  color: var(--color-text);
}

.menu-trigger__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.menu-trigger__icon::before,
.menu-trigger__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out);
}

.menu-trigger__icon::before {
  width: 18px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.menu-trigger__icon::after {
  width: 2px;
  height: 18px;
  transform: translate(-50%, -50%);
}

.menu-trigger.is-open .menu-trigger__icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-trigger.is-open .menu-trigger__icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-trigger__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .menu-trigger__label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
}

/* ----- 全画面メニュー（右→左スライド・青背景） ----- */
.fullscreen-nav[hidden] {
  display: none !important;
}

.fullscreen-nav {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--color-menu-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--header-h) + 32px) clamp(24px, 6vw, 80px) 48px;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  visibility: hidden;
}

.fullscreen-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.fullscreen-nav__list {
  list-style: none;
  width: 100%;
  max-width: 480px;
}

.fullscreen-nav__link {
  display: block;
  padding: 0.85em 0;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s, padding-left 0.25s var(--ease-out);
}

.fullscreen-nav__link:hover,
.fullscreen-nav__link:focus-visible {
  color: var(--color-accent);
  padding-left: 8px;
}

/* ----- キービジュアル（ヘッダーと重なる） ----- */
.kv-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.kv-section__media {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

.kv-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 画像未配置時のプレースホルダー */
.kv-section--placeholder .kv-section__media {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}

/* picture で PC / タブレット / SP を切替（同一画像運用時は src を同じに） */

/* ----- セクション共通 ----- */
.section {
  position: relative;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  text-align: center;
}

.section__title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.35;
  text-align: center;
}

/* ----- ティザー動画 ----- */
.section-teaser {
  background: var(--color-surface);
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.teaser-frame {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0;
  background: #000;
  overflow: hidden;
}

.teaser-frame__sound {
  position: absolute;
  top: clamp(14px, 2.6vw, 24px);
  right: clamp(14px, 2.6vw, 24px);
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.9), rgba(8, 12, 22, 0.76));
  border-radius: 999px;
  border: 1px solid rgba(144, 188, 255, 0.2);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.teaser-frame__sound button {
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  color: rgba(230, 238, 255, 0.82);
  border: 1px solid transparent;
  transition:
    color 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.teaser-frame__sound button.is-active {
  color: #f8fbff;
  background: radial-gradient(circle at 30% 30%, rgba(127, 201, 255, 0.35), rgba(52, 126, 255, 0.2));
  border-color: rgba(151, 205, 255, 0.6);
  box-shadow:
    0 0 0 1px rgba(133, 197, 255, 0.25) inset,
    0 0 22px rgba(87, 163, 255, 0.35);
}

.teaser-frame__sound button:not(.is-active):hover {
  color: #f6f9ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.teaser-video-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  border-radius: 0;
  overflow: hidden;
  background: #000;
}

.teaser-video-wrap .teaser-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* スマホは縦素材を全面表示 */
@media (max-width: 767px) {
  .teaser-video-wrap .teaser-video {
    object-fit: cover;
    object-position: center center;
  }
}

/* ----- 特報下 バナー3枚 ----- */
.teaser-banners {
  background: #000;
  padding: clamp(22px, 4vw, 40px) clamp(16px, 6vw, 62px);
}

.teaser-banners__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  max-width: 1080px;
  margin: 0 auto;
}

.teaser-banners__item {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #101018;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out), border-color 0.24s var(--ease-out);
}

.teaser-banners__item img {
  display: block;
  width: 100%;
  height: auto;
}

.teaser-banners__item:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 179, 255, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.teaser-banners__item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.teaser-banners__item--c {
  grid-column: 1 / 2;
}

@media (max-width: 767px) {
  .teaser-banners__grid {
    grid-template-columns: 1fr;
  }

  .teaser-banners__item--c {
    grid-column: auto;
  }
}

/* ----- 特報下 続報ビジュアル ----- */
.zokuho-block {
  width: 100%;
  background: #000;
}

.zokuho-block__media {
  display: block;
  width: 100%;
}

.zokuho-block__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- コンセプト（リード文 + 画像グリッド） ----- */
.section-concept {
  max-width: 1120px;
  margin: 0 auto;
}

.concept-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  line-height: 2;
  color: rgba(242, 242, 245, 0.92);
  text-align: center;
}

.concept-lead p + p {
  margin-top: 1.5em;
}

/* 5列 × 3行（計15セル） */
.concept-gallery {
  --cg-gap: clamp(8px, 1.5vw, 16px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  gap: var(--cg-gap);
  margin-top: clamp(40px, 6vw, 72px);
  list-style: none;
  padding: 0;
}

@media (max-width: 520px) {
  .concept-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

.concept-gallery__cell {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s var(--ease-out), border-color 0.2s, box-shadow 0.25s;
  aspect-ratio: 4 / 3;
}

.concept-gallery__cell:hover,
.concept-gallery__cell:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(94, 179, 255, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.concept-gallery__cell:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.concept-gallery__thumb {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1e1e28, #12121a);
}

.concept-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* コンセプト用モーダル：パネルを広めに（画像向け） */
.news-modal--concept .news-modal__panel {
  max-width: min(960px, 96vw);
  max-height: min(90vh, 900px);
}

.news-modal--concept .news-modal__title {
  padding-right: 48px;
}

.news-modal__body--concept img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 16px;
}

.news-modal__body--concept .concept-modal-caption {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(242, 242, 245, 0.88);
  margin: 0;
}

/* ----- ニュース ----- */
.section-news {
  background: var(--color-surface);
}

.news-list {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.news-list__row {
  width: 100%;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: baseline;
  text-align: left;
  padding: clamp(18px, 2.5vw, 24px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
  cursor: pointer;
}

@media (max-width: 540px) {
  .news-list__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.news-list__row:hover,
.news-list__row:focus-visible {
  background: rgba(255, 255, 255, 0.03);
}

.news-list__row:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.news-list__date {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.news-list__title {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.5;
}

/* ----- モーダル ----- */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.news-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.news-modal__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: min(85vh, 720px);
  overflow: auto;
  background: #16161f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 40px);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}

.news-modal.is-open .news-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.news-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.2s, transform 0.2s;
}

.news-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.news-modal__date {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.news-modal__title {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 20px;
  line-height: 1.45;
}

.news-modal__body {
  font-size: 0.9375rem;
  color: rgba(242, 242, 245, 0.88);
}

.news-modal__body p + p {
  margin-top: 1em;
}

/* ----- ラジオ（YouTube） ----- */
.section-radio {
  padding-bottom: clamp(80px, 12vw, 140px);
}

.radio-period {
  margin-bottom: clamp(56px, 8vw, 88px);
  text-align: center;
}

.radio-period:last-child {
  margin-bottom: 0;
}

.radio-period__title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 16px;
  text-align: center;
}

.radio-period__concept {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin-bottom: 12px;
  line-height: 1.85;
  text-align: center;
}

.radio-period__playlist {
  display: inline-block;
  margin-bottom: 24px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.radio-period__playlist:hover {
  color: #8ecfff;
}

.radio-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) transparent;
  text-align: left;
  justify-content: flex-start;
}

.radio-scroll::-webkit-scrollbar {
  height: 6px;
}

.radio-scroll::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

.radio-card {
  flex: 0 0 auto;
  width: min(280px, 72vw);
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s var(--ease-out), border-color 0.2s;
}

.radio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 179, 255, 0.4);
}

.radio-card__thumb {
  aspect-ratio: 16 / 9;
  background: #222;
  overflow: hidden;
}

.radio-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.radio-card__meta {
  padding: 12px 14px 16px;
}

.radio-card__ep {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.radio-card__label {
  font-size: 0.8125rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----- お問い合わせ ----- */
.section-contact {
  background: var(--color-surface);
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.contact-form__field {
  margin-bottom: 22px;
}

.contact-form__field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--color-muted);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form__field textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form__submit {
  margin-top: 8px;
  padding: 16px 40px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--color-accent);
  color: #0a0a0f;
  border-radius: 999px;
  transition: filter 0.2s, transform 0.2s;
}

.contact-form__submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ----- 右下 TOP（画像・ホバーでカタカタ・クリックで上空へ飛ぶ） ----- */
.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 948;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  transform: translateZ(0);
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.to-top[hidden] {
  display: none;
}

.to-top:focus-visible {
  outline: none;
  border-radius: 12px;
  box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-accent);
}

.to-top__inner {
  display: block;
  transform-origin: 50% 60%;
  will-change: transform;
}

.to-top__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(112px, 24vw);
  max-height: min(112px, 24vw);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.to-top:hover:not(.is-launching) .to-top__inner {
  animation: toTopRattle 0.28s steps(2, end) infinite;
}

.to-top.is-launching {
  pointer-events: none;
}

.to-top.is-launching .to-top__inner {
  animation: toTopLaunch 0.58s cubic-bezier(0.2, 0.85, 0.35, 1) forwards;
}

@keyframes toTopRattle {
  0%,
  100% {
    transform: translate(0, 0) rotate(-5deg);
  }
  33% {
    transform: translate(2px, -3px) rotate(6deg);
  }
  66% {
    transform: translate(-3px, 2px) rotate(-4deg);
  }
}

@keyframes toTopLaunch {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
  35% {
    transform: translateY(-18vh) scale(1.05) rotate(-6deg);
    opacity: 1;
  }
  100% {
    transform: translateY(calc(-100vh - 120px)) scale(0.35) rotate(22deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .to-top:hover:not(.is-launching) .to-top__inner {
    animation: none;
  }

  .to-top.is-launching .to-top__inner {
    animation: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
}

body.is-menu-open .to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ----- フッター ----- */
.site-footer {
  padding: 48px clamp(20px, 5vw, 72px) 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.site-footer__logo {
  margin-bottom: 20px;
}

.site-footer__logo img {
  height: clamp(56px, 7vw, 84px);
  width: auto;
  opacity: 0.85;
}

.site-footer__copy {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin-bottom: 24px;
}

.site-footer__links a {
  font-size: 0.8125rem;
  color: var(--color-muted);
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: var(--color-accent);
}
