/* ================================================================
   NeSTREAM LIVE — 共通スタイルシート
   common.css

   対応テンプレート:
     musicplayer.php    → .mp-page    ラッパー
     webplayer-guide.php → .player-page ラッパー

   構成:
     [A] CSS 変数          テンプレートごとに分離
     [B] 共通ベース        リセット・コンテナ
     [C] 共通コンポーネント
           C-1  ボタン
           C-2  ノートカード
           C-3  セクション共通
           C-4  注意事項ブロック (共通)
     [D] musicplayer.php 固有
           D-1  ヒーロー + オーブ
           D-2  ステップ
           D-3  フォンモックアップ
           D-4  NFC イメージ
           D-5  QR ボックス
           D-6  フィーチャーリスト
           D-7  オフラインアイコン
           D-8  再生コントロール
           D-9  ミニプレイヤー
           D-10 ハイレゾバッジ + モーダル
           D-11 FAQ
     [E] webplayer-guide.php 固有
           E-1  ヒーロー
           E-2  ブランドパネル / イメージパネル
           E-3  フィーチャーグリッド
           E-4  推奨環境テーブル
           E-5  注意事項 (拡張)
     [F] レスポンシブ
================================================================ */


/* ================================================================
   [A] CSS VARIABLES — テンプレートごとに分離
================================================================ */

/* ── A-1  musicplayer.php ──────────────────────────────────────── */
.mp-page {
  --mp-bg-gradient: linear-gradient(180deg, #061b2b 0%, #0a2540 100%);
  --mp-bg-section: rgba(6, 27, 43, 0.6);
  --mp-bg-card: rgba(10, 37, 64, 0.7);
  --mp-bg-faq: rgba(0, 0, 0, 0.2);
  --mp-accent: #3b82f6;
  --mp-accent-lt: #f2f2f2;
  --mp-text-1: #f2f2f2;
  --mp-text-2: #f2f2f2;
  --mp-text-muted: #f2f2f2;
  --mp-border: rgba(255, 255, 255, 0.08);
  --mp-border-light: rgba(255, 255, 255, 0.15);
  --mp-border-accent: rgba(255, 255, 255, 0.3);
  --mp-muted: rgba(255, 255, 255, 0.5);
  --mp-subtle: rgba(255, 255, 255, 0.08);
  --mp-link: #7eb8e8;
  --mp-link-hover: #a8d4f7;
  --mp-font-ja: 'Noto Sans JP', sans-serif;
  --mp-font-en: 'Montserrat', sans-serif;
  --mp-video-size: 90%;

  background: var(--mp-bg-gradient);
  min-height: 100vh;
  color: var(--mp-text-1);
  font-family: var(--mp-font-ja);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

/* ── A-2  webplayer-guide.php ─────────────────────────────────── */
.player-page {
  --wp-bg-gradient: linear-gradient(180deg, #061b2b 0%, #0a2540 100%);
  --wp-bg-section: rgba(6, 27, 43, 0.6);
  --wp-bg-card: rgba(10, 37, 64, 0.7);
  --wp-accent: #3b82f6;
  --wp-text-1: #f2f2f2;
  --wp-text-2: #f2f2f2;
  --wp-text-muted: #94a3b8;
  --wp-border: rgba(255, 255, 255, 0.08);
  --wp-border-light: rgba(255, 255, 255, 0.15);
  --wp-border-accent: rgba(255, 255, 255, 0.3);
  --wp-muted: rgba(255, 255, 255, 0.5);
  --wp-subtle: rgba(255, 255, 255, 0.08);
  --wp-link: #7eb8e8;
  --wp-link-hover: #a8d4f7;
  --wp-font-ja: 'Noto Sans JP', sans-serif;
  --wp-font-en: 'Montserrat', sans-serif;

  background: var(--wp-bg-gradient);
  min-height: 100vh;
  color: var(--wp-text-1);
  font-family: var(--wp-font-ja);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: 120px;
  padding-bottom: 80px;
}


/* ================================================================
   [B] 共通ベース — リセット・コンテナ
================================================================ */

.mp-page img,
.player-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mp-page ul,
.player-page ul {
  list-style: none;
  padding: 0;
}

/* ── コンテナ ─────────────────────────────────────────────────── */
/* mp-page: .mp-container を使用 */
.mp-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* player-page: セクションごとの内部コンテナを統一 */
.player-page .hero__container,
.player-page .feature__container,
.player-page .env__container,
.player-page .notice__container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.player-page__inner {
  width: 100%;
}

/* Screen Reader Only */
.player-page .sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ================================================================
   [C] 共通コンポーネント
================================================================ */

/* ── C-0  UTILITIES ─────────────────────────────────────────── */
.mp-text-center {
  text-align: center;
}

.mp-text-left {
  text-align: left;
}

.mp-mb-0 {
  margin-bottom: 0 !important;
}

.mp-mt-48 {
  margin-top: 48px;
}

.mp-mt-36 {
  margin-top: 36px;
}

/* ── C-1  BUTTON ─────────────────────────────────────────────── */
/* .mp-button と .player-page .button を統合 */
.mp-button,
.player-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
}

.mp-button:hover,
.player-page .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mp-button:focus-visible,
.player-page .button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.mp-button--primary,
.player-page .button--primary {
  background: linear-gradient(135deg, #1d6aa8 0%, #0d3a5c 100%);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: 0 2px 20px rgba(29, 106, 168, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mp-button--primary:hover,
.player-page .button--primary:hover {
  background: linear-gradient(135deg, #2278c0 0%, #0f4570 100%);
  box-shadow: 0 4px 28px rgba(29, 106, 168, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.mp-button--ghost,
.player-page .button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f2f2f2;
}

.mp-button--ghost:hover,
.player-page .button--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.mp-button__arrow,
.player-page .button__arrow {
  margin-left: 10px;
  font-size: 18px;
  line-height: 1;
}

/* ── C-2  NOTE CARD ──────────────────────────────────────────── */
/* .mp-note-card と .player-page .note-card を統合 */
.mp-note-card,
.player-page .note-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 20px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mp-note-card {
  margin-top: 20px;
}

.player-page .note-card {
  margin-top: 24px;
}

.mp-note-card__list,
.player-page .note-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-note-card__item,
.player-page .note-card__item {
  position: relative;
  padding-left: 1.6em;
  font-size: 13px;
  line-height: 1.8;
  color: #f2f2f2;
  letter-spacing: 0.02em;
}

/* musicplayer.php: HTML に ※ なし → ::before で付与 */
.mp-note-card__item::before {
  content: '※';
  position: absolute;
  left: 0;
  color: #94a3b8;
}

/* webplayer-guide.php: HTML テキストに ※ を含む → text-indent で整形 */
.player-page .note-card__item {
  padding-left: 1.6em;
  text-indent: -1.6em;
}

.mp-note-card__item+.mp-note-card__item,
.player-page .note-card__item+.note-card__item {
  margin-top: 8px;
}

/* ── C-3  SECTION COMMONS ────────────────────────────────────── */
.mp-section {
  padding: 96px 0;
  position: relative;
}

/* Section background variants */
/* .mp-section--step,
.mp-steps-wrap {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.09) 0%, transparent 55%),
    linear-gradient(160deg, rgba(5, 34, 58, 0.97) 0%, rgba(7, 28, 52, 0.94) 100%);
} */

.mp-section--alt {
  background: rgba(8, 26, 46, 0.72);
}

.mp-section--deep {
  background: var(--mp-bg-faq);
}

.mp-section--violet {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(80, 40, 140, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #0a0a0f 0%, #111118 60%, #0d0d14 100%);
}

/* Section label (eyebrow) */
.mp-section__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mp-accent-lt);
  margin-bottom: 20px;
}

.mp-section__label::before,
.mp-section__label::after {
  content: '';
  flex: 0 0 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.5));
}

.mp-section__label::after {
  background: linear-gradient(to left, transparent, rgba(59, 130, 246, 0.5));
}

/* Section title — 両テンプレート共通のデザイン基準 */
.mp-section__title {
  font-size: clamp(24px, 3.8vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 52px;
  color: #f2f2f2;
  letter-spacing: -0.01em;
  text-align: center;
  position: relative;
  padding-bottom: 28px;
}

.mp-section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: linear-gradient(to right, transparent, #3b82f6, transparent);
  border-radius: 2px;
}

.mp-section__body {
  font-size: 15px;
  color: #f2f2f2;
  line-height: 2;
  max-width: 520px;
  margin-bottom: 32px;
}

/* musicplayer.php: 一部セクションで中央寄せに使う */
.mp-section__body--center {
  margin-left: auto;
  margin-right: auto;
}

/* musicplayer.php: 幅制限を外してセンタリングしたいケース */
.mp-section__body--wide {
  max-width: 100%;
}

/* 2カラムレイアウト */
.mp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.mp-split--rev {
  direction: rtl;
}

.mp-split--rev>* {
  direction: ltr;
}

/* Hero Actions — 両テンプレート共通 */
.mp-hero__actions,
.player-page .hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ── C-4  注意事項ブロック (共通デザイン) ──────────────────────── */
/* セクション背景・パディング */
.mp-notice-section,
.player-page .notice {
  /* background: rgba(6, 27, 43, 0.6); */
  padding: 96px 0;
}

/* 連続する notice の 2件目以降: 上パディングを省略 */
.player-page .notice+.notice {
  padding-top: 0;
  padding-bottom: 96px;
}

/* セクションタイトル */
.mp-notice-title,
.player-page .notice__title {
  text-align: center;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f2f2f2;
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 20px;
}

.mp-notice-title::after,
.player-page .notice__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, transparent, #3b82f6, transparent);
  border-radius: 2px;
}

/* ブロック外枠 */
.mp-notice-blocks-wrapper,
.player-page .notice__blocks-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px 28px;
}

/* 各ブロック */
.mp-notice-block,
.player-page .notice__block {
  padding: 20px 0;
}

.mp-notice-block+.mp-notice-block,
.player-page .notice__block+.notice__block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mp-notice-block:first-child,
.player-page .notice__block:first-child {
  padding-top: 0;
}

.mp-notice-block:last-child,
.player-page .notice__block:last-child {
  padding-bottom: 0;
}

/* ブロックタイトル (h3) */
.mp-notice-block__title,
.player-page .notice__block-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #f2f2f2;
  padding-left: 16px;
  position: relative;
}

.mp-notice-block__title::before,
.player-page .notice__block-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

/* 注意リスト (mp固有) */
.mp-notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mp-notice-list li {
  font-size: 13px;
  color: #f2f2f2;
  line-height: 1.8;
  padding-left: 1.6em;
  position: relative;
}

.mp-notice-list li::before {
  content: '※';
  position: absolute;
  left: 0;
  color: #94a3b8;
}

.mp-notice-footnote {
  margin: 20px 0 0;
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.7;
  color: #f2f2f2;
}


/* ================================================================
   [D] musicplayer.php 固有コンポーネント
================================================================ */

/* ── SVG アイコン（Material Icons ローカル） ───────────────── */
.mp-page .mp-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #a8d4f7;
}

/* iOS Safari で filter + inline SVG が消えるケースがあるため、SVG は currentColor で着色 */
.mp-page svg.mp-icon,
.mp-page svg.mp-icon * {
  fill: currentColor;
}

/* 画像フォールバック（<img class="mp-icon">）は filter で着色 */
.mp-page img.mp-icon {
  filter: invert(84%) sepia(42%) saturate(700%) hue-rotate(175deg) brightness(100%) contrast(93%);
}

/* ── D-1  HERO ───────────────────────────────────────────────── */
.mp-hero {
  position: relative;
  /* ファーストビューは画面高に追従しつつ上限/下限を持たせる */
  min-height: clamp(560px, 86vh, 700px);
  min-height: clamp(560px, 86svh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 88px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(59, 130, 246, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(6, 27, 43, 0.8) 0%, transparent 70%),
    transparent;
}

.mp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 60%, rgba(59, 130, 246, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(139, 92, 246, 0.09) 0%, transparent 45%);
  pointer-events: none;
}

/* .mp-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.12));
  pointer-events: none;
  z-index: 2;
} */

.mp-hero .mp-container {
  position: relative;
  z-index: 1;
}

/* Hero Orbs */
.mp-hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.mp-hero__orb {
  position: absolute;
  border-radius: 50%;
  /* will-change: transform, opacity; */
}

.mp-hero__orb--1 {
  width: 80vw;
  height: 80vw;
  top: -30vw;
  left: -25vw;
  background: radial-gradient(circle at center, rgba(42, 124, 244, 1.0) 0%, transparent 68%);
  filter: blur(80px);
  animation: mp-orb-1 16s ease-in-out infinite alternate;
}

.mp-hero__orb--2 {
  width: 500px;
  height: 500px;
  top: -140px;
  right: -100px;
  background: radial-gradient(circle at center, rgba(42, 124, 244, 0.22) 0%, transparent 68%);
  filter: blur(70px);
  animation: mp-orb-2 20s ease-in-out infinite alternate;
}

.mp-hero__orb--3 {
  width: 420px;
  height: 420px;
  bottom: -100px;
  left: 50%;
  background: radial-gradient(circle at center, rgba(42, 124, 244, 0.16) 0%, transparent 68%);
  filter: blur(80px);
  animation: mp-orb-3 13s ease-in-out infinite alternate;
}

@keyframes mp-orb-1 {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  to {
    transform: translate(90px, 70px) scale(1.18);
    opacity: 0.75;
  }
}

@keyframes mp-orb-2 {
  from {
    transform: translate(0, 0) scale(1.1);
    opacity: 1;
  }

  to {
    transform: translate(-70px, 90px) scale(0.88);
    opacity: 0.7;
  }
}

@keyframes mp-orb-3 {
  from {
    transform: translateX(-50%) scale(1);
    opacity: 0.8;
  }

  to {
    transform: translateX(-28%) scale(1.25);
    opacity: 1;
  }
}

/* Hero ロゴ */
.mp-hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 24px;
  position: relative;
}

.mp-hero__logo-icon {
  width: 48px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.mp-hero__logo-txt {
  width: 180px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Hero テキスト */
.mp-hero__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--mp-accent-lt);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mp-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 12px;
  color: #f2f2f2;
}

.mp-hero__title em {
  font-style: normal;
}

.mp-hero__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  color: #f2f2f2;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.mp-hero__subtitle-ja {
  font-family: var(--mp-font-ja);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.mp-hero__desc {
  font-size: 14px;
  color: #f2f2f2;
  max-width: 560px;
  margin: 0 auto 8px;
  line-height: 1.8;
}

/* ── D-2  STEPS ──────────────────────────────────────────────── */
.mp-step-head {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0 auto 20px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  padding: 5px 14px;
}

.mp-step-head__label,
.mp-step-head__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mp-accent-lt);
  line-height: 1;
}

/* ── D-3  PHONE MOCKUP ───────────────────────────────────────── */
.mp-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mp-phone {
  position: relative;
  width: 290px;
  aspect-ratio: 245 / 500;
  box-sizing: border-box;
}

/* iPhone モックアップ PNG を最前面オーバーレイ */
.mp-phone::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/musicplayer/iPhone17_ Mockup.png') center top / 100% auto no-repeat;
  pointer-events: none;
  z-index: 10;
}

/* 黒背景レイヤー（ローディング前から表示） */
.mp-phone::before {
  content: '';
  display: block;
  position: absolute;
  width: var(--mp-video-size);
  left: 50%;
  transform: translateX(-50%);
  top: 15px;
  aspect-ratio: 9 / 19.5;
  background: #000;
  border-radius: 30px;
  z-index: 0;
  pointer-events: none;
}

.mp-phone img,
.mp-phone video {
  width: var(--mp-video-size);
  display: block;
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
  border-radius: 30px;
  top: 15px;
}

/* iPhoneスクショのステータスバーを隠して黒で埋める */
.mp-phone img {
  clip-path: inset(30px 0 0 0);
}

/* 動画再生不可時のフォールバック画像（clip-path・object-fit をリセット） */
.mp-phone img.mp-phone__fallback {
  clip-path: none;
  object-fit: contain;
  object-position: center center;
}

/* 動画: iOS Safari 向け GPU アクセラレーション・角丸 webkit プレフィックス */
.mp-phone video {
  border-radius: 30px;
  -webkit-border-radius: 30px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@supports not (aspect-ratio: 1) {

  .mp-phone img,
  .mp-phone video {
    height: 446px;
  }
}

/* リプレイボタン（事前レンダリング済み: .is-active で表示） */
.mp-phone__replay {
  display: none;
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: background 0.35s ease, border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mp-phone__replay.is-active {
  display: flex;
  animation: mp-fade-in 0.3s ease;
}

.mp-phone__replay:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: scale(1.1);
}

/* アイコン: インラインSVGにfill直接指定 / 汎用filterを打ち消す */
.mp-page .mp-phone__replay .mp-icon {
  width: 20px;
  height: 20px;
  filter: none;
}

@keyframes mp-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.mp-phone-duo {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
}

.mp-phone-duo .mp-phone:nth-child(2) {
  margin-bottom: -36px;
  transform: scale(0.9);
  opacity: 0.8;
  filter: blur(0.3px);
}

/* ── D-4  NFC IMAGES ─────────────────────────────────────────── */
.mp-nfc-image-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin: 28px auto 0;
  max-width: 780px;
}

.mp-nfc-or {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--mp-text-muted);
  letter-spacing: 0.12em;
  white-space: nowrap;
  flex-shrink: 0;
}

.mp-nfc-or::before,
.mp-nfc-or::after {
  content: '';
  display: block;
  width: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.18);
}

.mp-nfc-image-row figcaption {
  font-size: 12px;
  color: var(--mp-text-muted);
  padding: 8px 12px;
  text-align: center;
}

.mp-nfc-figure--dark {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

figure.mp-nfc-figure--dark {
  background: #1a1a1a;
}

.mp-nfc-figure--dark img {
  object-fit: contain;
  width: 100%;
  max-height: 300px;
  display: block;
}

.mp-nfc-figure--wide img {
  width: 100%;
}

.mp-nfc-image-single {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--mp-bg-card);
  border: 1px solid var(--mp-border);
}

.mp-nfc-image-single img {
  width: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.9;
}

/* ── D-5  QR BOX ─────────────────────────────────────────────── */
.mp-qr-display {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mp-qr-display img {
  max-width: 260px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(59, 130, 246, 0.1);
}

.mp-qr-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 520px;
  margin: 24px auto 0;
}

.mp-qr-box__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--mp-bg-card);
  border: 1px solid var(--mp-border);
  border-radius: 12px;
  padding: 16px 20px;
}

.mp-qr-box__icon {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.mp-qr-box__icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mp-qr-box__text {
  font-size: 13px;
  color: #f2f2f2;
  line-height: 1.7;
  text-align: center;
}

.mp-qr-box__label {
  font-size: 1px;
  color: #f2f2f2;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.mp-qr-box__stores {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.mp-qr-box__stores a {
  display: block;
  transition: opacity 0.2s, transform 0.2s;
}

.mp-qr-box__stores a:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.mp-qr-box__stores img {
  height: 45px;
  width: auto;
  display: block;
}

/* ── D-6  FEATURE LIST ───────────────────────────────────────── */
.mp-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

/* musicplayer.php: 冒頭の手順リスト用（以前はインラインで指定） */
.mp-feature-list--compact {
  max-width: 560px;
  margin: auto;
  margin-bottom: 30px;
}

.mp-feature-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.mp-feature-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  /* 垂直中央 */
  justify-content: center;
  /* 水平中央 */
  height: 1.8em;
  width: 16px;
  /* ドットの左右の余白を確保 */
}

.mp-page .mp-feature-item__icon .mp-icon {
  width: 18px;
  height: 18px;
}

.mp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.mp-feature-item__text {
  font-size: 14px;
  color: #f2f2f2;
  line-height: 1.8;
}

/* ── D-7  OFFLINE ICONS ──────────────────────────────────────── */
.mp-offline-icons {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin: 56px 0 48px;
}

.mp-offline-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mp-offline-icon__circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
  padding: 0;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s, filter 0.3s;
}

.mp-offline-icon__circle:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.3));
}

.mp-offline-icon__circle img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
}

.mp-offline-icon__label {
  font-size: 13px;
  color: #f2f2f2;
  text-align: center;
  letter-spacing: 0.02em;
}

.mp-offline-desc {
  font-size: 14px;
  color: #f2f2f2;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ── D-8  PLAYBACK CONTROLS ──────────────────────────────────── */
.mp-playback-controls {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
}

.mp-playback-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mp-playback-control__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.mp-playback-control__icon:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  transform: scale(1.06);
}

.mp-playback-control__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.mp-playback-control__name {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* ── D-9  MINI PLAYER ────────────────────────────────────────── */
.mp-mini-player-image {
  max-width: 460px;
  margin: 28px 0;
  border-radius: 16px;
  overflow: hidden;
  /* background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12); */
  /* padding: 15px 0; */
}

.mp-mini-player-image img {
  width: 100%;
  display: block;
}

.mp-mini-note {
  font-size: 13px;
  color: #f2f2f2;
  margin-top: 8px;
}

/* ── D-10  HI-RES BADGES + MODAL ────────────────────────────── */
.mp-hires-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px auto 0;
  max-width: 560px;
  width: 100%;
}

.mp-hires-badge {
  background: rgba(10, 37, 64, 0.8);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden;
  cursor: pointer;
}

.mp-hires-badge:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(14, 48, 84, 0.9);
}

.mp-hires-badge__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
}

.mp-hires-badge__logo {
  flex-shrink: 0;
  width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-hires-badge__logo img {
  height: 34px;
  width: auto;
  max-width: 96px;
  object-fit: contain;
  display: block;
}

/* バッジヘッダー内テキストブロック：flex child が縮小できるよう保証 */
.mp-hires-badge__logo+div {
  min-width: 0;
  flex: 1;
}

.mp-hires-badge__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #f2f2f2;
}

.mp-hires-badge__desc {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
  line-height: 1.6;
}

.mp-hires-badge__arrow {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 1.2em;
  line-height: 1;
  opacity: 0.6;
}

.mp-page .mp-hires-badge__arrow.mp-icon {
  width: 16px;
  height: 16px;
}

/* Hi-Res モーダル */
.mp-hires-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mp-hires-modal-overlay.is-open {
  display: flex;
}

.mp-hires-modal {
  background: rgba(10, 37, 64, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  padding: 40px 40px 36px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: mp-modal-in 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes mp-modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mp-hires-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}

.mp-hires-modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.mp-hires-modal__close .mp-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.mp-hires-modal__logo {
  margin-bottom: 20px;
}

.mp-hires-modal__logo img {
  height: 38px;
  width: auto;
  display: block;
}

.mp-hires-modal__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.mp-hires-modal__subtitle {
  font-size: 13px;
  color: #f2f2f2;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.mp-hires-modal__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0 20px;
}

.mp-hires-modal__desc {
  font-size: 14px;
  color: #f2f2f2;
  line-height: 2;
  margin-bottom: 24px;
}

.mp-hires-modal__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mp-hires-modal__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #f2f2f2;
}

.mp-hires-modal__feature .mp-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

/* ── D-11  FAQ ───────────────────────────────────────────────── */
.mp-faq-section {
  background-color: #f2f2f2;
}

.mp-faq-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 48px;
}

.mp-faq-title__en {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #333;
  letter-spacing: -0.01em;
}

.mp-faq-title__ja {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.mp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mp-faq-item {
  border-radius: 8px;
  overflow: hidden;
  background: var(--mp-bg-card);
  border: 1px solid var(--mp-border);
  margin-bottom: 12px;
}

.mp-faq-item__q {
  width: 100%;
  background: rgba(10, 37, 64, 0.85);
  border: none;
  color: #f2f2f2;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}

.mp-faq-item__qmark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #7eb8e8;
  margin-right: 12px;
  flex-shrink: 0;
}

.mp-faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--mp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #f2f2f2;
  transition: transform 0.3s;
}

.mp-faq-item.is-open .mp-faq-item__icon {
  transform: rotate(45deg);
}

.mp-faq-item__a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px 0 56px;
  font-size: 14px;
  color: #f2f2f2;
  line-height: 1.9;
  border-top: 0px solid var(--mp-border);
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-top-width 0.4s ease;
}

.mp-faq-item.is-open .mp-faq-item__a {
  max-height: 600px;
  opacity: 1;
  padding: 16px 24px 20px 56px;
  border-top-width: 1px;
  color: #1a1a1a;
  background: #ffffff;
}

.mp-faq-more {
  text-align: center;
  margin-top: 40px;
}

.mp-faq-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-accent-lt);
  border: 1px solid var(--mp-accent-lt);
  padding: 12px 28px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.mp-faq-more a:hover {
  background: var(--mp-accent-lt);
  color: #000;
}


/* ================================================================
   [E] webplayer-guide.php 固有コンポーネント
================================================================ */

/* ── E-1  HERO ───────────────────────────────────────────────── */
.player-page .hero__container {
  position: relative;
  padding: 48px 24px 64px;
  /* background:
    radial-gradient(ellipse at 50% -10%, rgba(59, 130, 246, 0.18) 0%, transparent 60%); */
}

.player-page .hero__title_wapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.player-page .hero__brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 16px;
}

.player-page .hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: #f2f2f2;
  text-align: center;
}

.player-page .hero__lead {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #f2f2f2;
  line-height: 1.7;
  text-align: center;
}

.player-page .hero__notice-text {
  margin: 16px auto 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.8;
  color: #f2f2f2;
  text-align: center;
}

.player-page .hero__notice-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px auto 0;
  font-size: 14px;
  font-weight: 600;
  color: #7eb8e8;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.player-page .hero__notice-link:hover {
  color: #a8d4f7;
  text-decoration: underline;
}

/* ── E-2  BRAND PANEL / IMAGE PANEL ─────────────────────────── */
.player-page .brand-panel {
  background: linear-gradient(145deg, rgba(20, 60, 100, 0.6), rgba(10, 30, 50, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
}

.player-page .brand-panel__inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  gap: 16px;
}

.player-page .brand-panel__logo {
  max-width: 100%;
  height: auto;
  display: block;
}

.player-page .brand-panel__text {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #f2f2f2;
  opacity: 0.9;
}

.player-page .image-panel {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-page .image-panel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── E-3  FEATURE GRID ───────────────────────────────────────── */
.player-page .feature__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: stretch;
  margin: 56px auto 0;
  max-width: 980px;
  padding: 0 24px;
}

/* ── E-4  推奨環境テーブル ────────────────────────────────────── */
.player-page .env {
  padding: 96px 0;
  background: rgba(0, 0, 0, 0.2);
}

.player-page .env h2 {
  font-size: clamp(24px, 3.8vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: center;
  color: #f2f2f2;
  margin: 0 0 40px;
  position: relative;
  padding-bottom: 24px;
}

.player-page .env h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: linear-gradient(to right, transparent, #3b82f6, transparent);
  border-radius: 2px;
}

.player-page .env__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-page .env__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #f2f2f2;
}

.player-page .env__table th,
.player-page .env__table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

.player-page .env__table th {
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #94a3b8;
}

.player-page .env__table tbody tr:last-child td {
  border-bottom: none;
}

.player-page .env__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
}

.player-page .env__status--ok {
  background: rgba(46, 125, 50, 0.2);
  color: #81c784;
}

.player-page .env__status--partial {
  background: rgba(255, 167, 38, 0.2);
  color: #ffb74d;
}

.player-page .env__status--ng {
  background: rgba(229, 57, 53, 0.2);
  color: #e57373;
}

.player-page .env__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  vertical-align: middle;
}

.player-page .env__badge--recommended {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: #fff;
}

.player-page .env__note-cell {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.player-page .env__legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  flex-wrap: wrap;
}

.player-page .env__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
}

.player-page .env__legend-item .env__status {
  width: 22px;
  height: 22px;
  font-size: 13px;
}

.player-page .env__notes {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.player-page .env__notes li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  padding-left: 1em;
  text-indent: -1em;
}

.player-page .env__notes li+li {
  margin-top: 8px;
}

.player-page .env__actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ── E-5  NOTICE 拡張（webplayer-guide 固有の内部要素） ─────── */
.player-page .notice__subtitle {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #f2f2f2;
}

.player-page .notice__subtitle:not(:first-of-type) {
  margin-top: 20px;
}

.player-page .notice__text {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  color: #f2f2f2;
}

.player-page .notice__text+.notice__text {
  margin-top: 12px;
}

.player-page .notice__note {
  font-size: 12px;
  line-height: 1.7;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.player-page .notice__model {
  font-size: 12px;
  line-height: 1.6;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.player-page .notice__link {
  margin: 8px 0 0;
}

.player-page .notice__link a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #7eb8e8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.player-page .notice__link a:hover {
  color: #a8d4f7;
  text-decoration: underline;
}

.player-page .notice__footnote {
  color: #f2f2f2;
  margin: 24px 0 0;
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.7;
}

/* ================================================================
   [F] RESPONSIVE
================================================================ */

/* ── Tablet（769–1024px） ───────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .mp-hero {
    padding: 84px 24px 72px;
    min-height: clamp(520px, 78svh, 640px);
  }

  .mp-hero__logo {
    padding-bottom: 22px;
    margin-bottom: 18px;
  }

  .mp-hero__title {
    font-size: clamp(24px, 3.2vw, 34px);
    margin-top: 0;
  }

  .mp-hero__desc {
    max-width: 620px;
  }

  /* オーブが大きすぎて余白が“重く”ならないよう調整 */
  .mp-hero__orb--1 {
    width: 72vw;
    height: 72vw;
    top: -26vw;
    left: -22vw;
    filter: blur(72px);
  }

  .mp-hero__orb--2 {
    width: 440px;
    height: 440px;
    top: -120px;
    right: -90px;
    filter: blur(64px);
  }

  .mp-hero__orb--3 {
    width: 380px;
    height: 380px;
    bottom: -90px;
    filter: blur(72px);
  }
}

/* ── 768px 以下 ─────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* ------------------------------------------------
     横スクロール抑止（オーブ/ぼかし等のはみ出し対策）
  ------------------------------------------------ */
  .mp-page,
  .player-page {
    overflow-x: hidden;
  }

  /* iOS/Safari などでの意図しない横はみ出し対策 */
  .mp-page *,
  .mp-page *::before,
  .mp-page *::after,
  .player-page *,
  .player-page *::before,
  .player-page *::after {
    box-sizing: border-box;
    min-width: 0;
  }

  /* `ul` の固定マージンがスマホで詰まり/はみ出しの原因になりやすい */
  .mp-page ul,
  .player-page ul {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 18px;
  }

  /* ------------------------------------------------
     共通コンテナ: 左右余白を 24px → 16px に縮小
  ------------------------------------------------ */
  .mp-container {
    padding: 0 16px;
  }

  /* ------------------------------------------------
     mp-page — ヒーロー
  ------------------------------------------------ */
  .mp-hero {
    padding: 48px 16px 44px;
    min-height: clamp(420px, 74svh, 560px);
  }

  .mp-hero__logo {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mp-hero__logo-icon {
    width: 48px;
  }

  .mp-hero__logo-txt {
    width: 168px;
  }

  .mp-hero__eyebrow {
    margin-bottom: 12px;
  }

  .mp-hero__title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: clamp(22px, 6vw, 32px);
  }

  .mp-hero__subtitle {
    margin-bottom: 20px;
  }

  .mp-hero__desc {
    margin-bottom: 16px;
    text-align: left;
  }

  .mp-hero__actions,
  .player-page .hero__actions {
    margin-top: 24px;
    gap: 12px;
  }

  /* ------------------------------------------------
     mp-page — セクション共通
  ------------------------------------------------ */
  .mp-section {
    padding: 48px 0 52px;
  }

  .mp-section__label {
    margin-bottom: 12px;
  }

  .mp-section__title {
    font-size: clamp(20px, 5.5vw, 28px);
    padding-bottom: 18px;
    margin-bottom: 28px;
  }

  .mp-section__body {
    font-size: 14px;
    margin-bottom: 18px;
    max-width: 100%;
  }

  /* ------------------------------------------------
     mp-page — 2カラム
  ------------------------------------------------ */
  .mp-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mp-split--rev {
    direction: ltr;
  }

  /* ------------------------------------------------
     mp-page — Feature リスト（横余白・アイコン間隔）
  ------------------------------------------------ */
  .mp-feature-list {
    padding: 0 4px;
    gap: 14px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .mp-feature-item {
    gap: 10px;
  }

  .mp-feature-item__icon {
    width: 18px;
    height: 1.6em;
  }

  /* ------------------------------------------------
     mp-page — NFC画像 / QRボックス
  ------------------------------------------------ */
  .mp-nfc-image-row {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 12px;
    margin-top: 16px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .mp-nfc-or {
    flex-direction: row;
    gap: 12px;
    padding: 0;
  }

  .mp-nfc-or::before,
  .mp-nfc-or::after {
    width: 48px;
    height: 1px;
    flex: none;
  }

  .mp-nfc-figure--dark {
    width: 220px;

  }

  .mp-nfc-figure--dark img svg {
    max-height: 200px;
    width: auto;
  }

  .mp-qr-box {
    margin: 16px auto 0;
  }

  .mp-qr-box__inner {
    width: 100%;
    flex-direction: column;
    gap: 14px;
  }

  .mp-qr-box__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .mp-qr-box__stores {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 16px;
  }

  .mp-qr-box__stores a {
    /* flex: 1 1 160px; */
  }

  .mp-qr-box__stores img {
    height: 42px;
  }

  /* ------------------------------------------------
     mp-page — ノートカード
  ------------------------------------------------ */
  .mp-note-card,
  .player-page .note-card {
    padding: 16px;
  }

  /* ------------------------------------------------
     mp-page — 注意事項ブロック
  ------------------------------------------------ */
  .mp-notice-section {
    padding: 56px 0;
  }

  .mp-notice-blocks-wrapper,
  .player-page .notice__blocks-wrapper {
    padding: 16px;
  }

  /* ------------------------------------------------
     mp-page — フォンモックアップ
     top値を幅の比率で調整（290px→260px: 15×260/290≈13px）
  ------------------------------------------------ */
  .mp-phone {
    width: 260px;
  }

  .mp-phone::before {
    top: 13px;
    border-radius: 26px;
  }

  .mp-phone img,
  .mp-phone video {
    top: 13px;
    border-radius: 26px;
  }

  .mp-phone video {
    border-radius: 26px;
    -webkit-border-radius: 26px;
  }

  /* ------------------------------------------------
     mp-page — オフラインアイコン
  ------------------------------------------------ */
  .mp-offline-icons {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 28px 0 20px;
  }

  .mp-offline-icon__circle,
  .mp-offline-icon__circle img {
    width: 60px;
    height: 60px;
  }

  .mp-offline-icon__label {
    font-size: 12px;
  }

  /* ------------------------------------------------
     mp-page — 再生コントロール
  ------------------------------------------------ */
  .mp-playback-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  .mp-playback-control__icon {
    width: 56px;
    height: 56px;
  }

  .mp-playback-control__icon img {
    width: 34px;
    height: 34px;
  }

  .mp-playback-control__name {
    font-size: 11px;
  }

  /* ------------------------------------------------
     mp-page — ミニプレイヤー
  ------------------------------------------------ */
  .mp-mini-player-image {
    max-width: 100%;
    width: 100%;
    margin: 16px auto 0;
  }

  /* ------------------------------------------------
     mp-page — Hi-Res バッジ
  ------------------------------------------------ */
  .mp-hires-badges {
    margin-top: 20px;
  }

  .mp-hires-badge {
    padding: 14px 16px;
  }

  .mp-hires-badge__header {
    gap: 18px;
    padding: 0;
  }

  .mp-hires-badge__logo {
    width: 30%;
  }

  .mp-hires-badge__logo img {
    height: 24px;
  }

  .mp-hires-badge__name {
    font-size: 14px;
  }

  .mp-hires-badge__desc {
    font-size: 11px;
  }

  /* ------------------------------------------------
     mp-page — Hi-Res モーダル（下からシート表示）
  ------------------------------------------------ */
  .mp-hires-modal-overlay {
    padding: 16px;
    align-items: center;
  }

  .mp-hires-modal {
    padding: 28px 20px 24px;
    border-radius: 16px;
    max-height: 88vh;
    max-width: 100%;
  }

  .mp-hires-modal__close {
    top: 12px;
    right: 12px;
  }

  .mp-hires-modal__logo {
    margin-bottom: 14px;
  }

  .mp-hires-modal__logo img {
    height: 28px;
  }

  .mp-hires-modal__title {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .mp-hires-modal__subtitle {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .mp-hires-modal__divider {
    margin-bottom: 14px;
  }

  .mp-hires-modal__desc {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 14px;
  }

  .mp-hires-modal__features {
    gap: 10px;
    padding: 0 4px;
  }

  .mp-hires-modal__feature {
    font-size: 13px;
    align-items: flex-start;
    gap: 10px;
  }

  .mp-hires-modal__feature .mp-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* ------------------------------------------------
     mp-page — FAQ
  ------------------------------------------------ */
  .mp-faq-title {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
  }

  .mp-faq-item__q {
    padding: 14px 16px;
    font-size: 14px;
  }

  .mp-faq-item.is-open .mp-faq-item__a {
    padding: 12px 16px 16px 40px;
  }

  .mp-faq-more {
    margin-top: 24px;
  }

  /* ------------------------------------------------
     player-page — ヒーロー / グリッド
  ------------------------------------------------ */
  .player-page .hero__container {
    padding: 28px 16px 40px;
  }

  .player-page .hero__container,
  .player-page .feature__container,
  .player-page .env__container,
  .player-page .notice__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .player-page .hero__title {
    font-size: clamp(18px, 6vw, 28px);
  }

  .player-page .feature__grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
    padding: 0 16px;
    gap: 16px;
  }

  .player-page .brand-panel {
    min-height: 180px;
  }

  .mp-feature-list--compact {
    margin: auto;
    margin-bottom: 30px;
  }


  /* ------------------------------------------------
     player-page — 推奨環境・注意事項
  ------------------------------------------------ */
  .player-page .env {
    padding: 56px 0;
  }

  .player-page .notice {
    padding: 56px 0;
  }

  .player-page .notice+.notice {
    padding-top: 0;
    padding-bottom: 56px;
  }

  /* ------------------------------------------------
     共通ボタン
  ------------------------------------------------ */
  .mp-button,
  .player-page .button {
    min-height: 48px;
    padding: 12px 20px;
    font-size: 14px;
  }

  /* ------------------------------------------------
     player-page — トップ余白削減
     musicplayer.php に合わせて 120px → 80px
  ------------------------------------------------ */
  .player-page {
    padding-top: 80px;
    padding-bottom: 56px;
  }

  /* ------------------------------------------------
     player-page — CTAボタン フル幅
  ------------------------------------------------ */
  .player-page .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .player-page .hero__actions .button {
    width: 100%;
    max-width: 480px;
  }

  /* ------------------------------------------------
     player-page — 推奨環境テーブル → カードレイアウト
     スクロールなしで全カラムを縦積み表示
  ------------------------------------------------ */
  .player-page .env__table-wrap {
    overflow-x: visible;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  .player-page .env__table,
  .player-page .env__table thead,
  .player-page .env__table tbody,
  .player-page .env__table tr,
  .player-page .env__table td {
    display: block;
  }

  /* ヘッダー行を視覚的に非表示（アクセシビリティは保持） */
  .player-page .env__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  /* 各行をカード化 */
  .player-page .env__table tbody tr {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 8px;
  }

  /* td: data-label をラベルとして ::before に表示 */
  .player-page .env__table td {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    border: none;
    font-size: 13px;
    line-height: 1.5;
    color: #f2f2f2;
  }

  .player-page .env__table td+td {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .player-page .env__table td::before {
    content: attr(data-label);
    flex-shrink: 0;
    width: 52px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.03em;
  }

  /* 備考が空のセルを非表示 */
  .player-page .env__table td:empty {
    display: none;
  }

  .player-page .env__table {
    min-width: 0;
    width: 100%;
  }

  /* ------------------------------------------------
     player-page — hero テキスト左揃え（スマホ可読性向上）
  ------------------------------------------------ */
  .player-page .hero__notice-text {
    text-align: left;
  }
}

@media screen and (max-width: 480px) {
  .mp-container {
    padding: 0 14px;
  }

  .mp-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mp-hero__desc {
    font-size: 13px;
    line-height: 1.75;
  }

  .mp-section {
    padding: 48px 0;
  }

  .mp-phone {
    width: 230px;
  }

  .mp-phone::before {
    top: 12px;
    border-radius: 24px;
  }

  .mp-phone img,
  .mp-phone video {
    top: 12px;
    border-radius: 24px;
  }

  .mp-phone video {
    -webkit-border-radius: 24px;
  }

  .mp-faq-item__q {
    padding: 12px 14px;
  }
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}