/* ============================================================
   ページヘッダー
   ============================================================ */
.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 28px 18px;
}
.ph-inner {
  max-width: 900px;
  margin: 0 auto;
}
.ph-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--ink3);
  text-decoration: none;
  margin-bottom: 10px;
  transition: .15s;
}
.ph-back:hover { color: var(--or); }

.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--or);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.ph-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
}
.ph-title span { color: var(--or); }

/* ============================================================
   土台動画ブロック
   ============================================================ */
.kiso-block {
  background: #1a1208;
  padding: 28px 28px 0;
  position: relative;
}
.kiso-inner {
  max-width: 900px;
  margin: 0 auto;
}
.kiso-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
}
.kiso-step {
  background: var(--or);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  letter-spacing: .04em;
}

/* 動画＋説明のグリッド */
.kiso-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: flex-start;
}

/* 動画サムネイル */
.kiso-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  flex-shrink: 0;
}
.kiso-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
  transition: opacity .2s;
  display: block;
}
.kiso-video:hover img { opacity: .6; }
.kiso-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--or);
  transition: .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.kiso-video:hover .kiso-play {
  background: #fff;
  transform: translate(-50%,-50%) scale(1.08);
}
.kiso-duration {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
}

/* 説明テキスト */
.kiso-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 17px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.kiso-text {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.85;
  margin-bottom: 16px;
}
.kiso-text strong { color: #fff; }

.kiso-points {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.kiso-pt {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.08);
}

.kiso-watched {
  font-size: 12px;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(110,231,183,.1);
  border: 1px solid rgba(110,231,183,.25);
  border-radius: 8px;
  padding: 8px 14px;
}

/* 下矢印 */
.kiso-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 0;
}
.kiso-next-line {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.15);
}
.kiso-next-label {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  margin: 6px 0 4px;
}
.kiso-next-arrow {
  font-size: 20px;
  color: var(--or-m);
  line-height: 1;
  padding-bottom: 4px;
}

/* ============================================================
   困りごとセクション区切り
   ============================================================ */
.sec-div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 16px;
}
.sec-div-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--or-m), transparent);
}
.sec-div:last-child .sec-div-line {
  background: linear-gradient(to left, var(--or-m), transparent);
}
.sec-div-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink2);
  white-space: nowrap;
  background: var(--paper);
  padding: 0 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .kiso-block { padding: 20px 16px 0; }
  .kiso-grid  { grid-template-columns: 1fr; gap: 16px; }
  .ph-title   { font-size: 18px; }
}

/* ============================================================
   困りごとナビリスト（social.php）
   ============================================================ */
.trouble-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.tnl-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: .2s;
  cursor: pointer;
}
.tnl-card:hover {
  border-color: var(--or);
  box-shadow: 0 4px 20px rgba(232,98,26,.12);
  transform: translateX(3px);
}
.tnl-card:hover .tnl-arrow { color: var(--or); transform: translateX(3px); }

.tnl-thumb {
  width: 100px;
  height: 72px;
  flex-shrink: 0;
  background: var(--or-p) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tnl-thumb-fallback { font-size: 28px; }
.tnl-body   { flex: 1; padding: 12px 4px; min-width: 0; }
.tnl-title  { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 3px; }
.tnl-sub    { font-size: 11px; color: var(--ink3); }
.tnl-arrow  { font-size: 22px; color: var(--ink3); padding-right: 16px; flex-shrink: 0; transition: .15s; }

/* ============================================================
   詳細ページ：なぜ？セクション（single-trouble.php）
   ============================================================ */
.ph-subtitle {
  font-size: 13px;
  color: var(--ink3);
  margin-top: 6px;
  font-style: italic;
}

.why-section {
  background: #1a1208;
  padding: 32px 28px;
}
.why-inner {
  max-width: 900px;
  margin: 0 auto;
}
.ws-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.ws-step {
  background: var(--or);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
}
.ws-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: flex-start;
}
.ws-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.ws-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
  display: block;
  transition: opacity .2s;
}
.ws-video:hover img { opacity: .6; }
.ws-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--or);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: .2s;
}
.ws-video:hover .ws-play { transform: translate(-50%,-50%) scale(1.08); }
.ws-duration {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 6px;
}
.ws-no-video {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.4);
}
.ws-video-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; font-size: 48px; opacity: .3;
}
.ws-text-label {
  font-size: 11px; font-weight: 700;
  color: var(--or-m); letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 10px;
}
.ws-text {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.9;
}
.ws-text strong { color: #fff; }

/* ============================================================
   詳細ページ：遊びセクション（single-trouble.php）
   ============================================================ */
.play-section {
  background: var(--paper2);
  padding: 36px 28px 60px;
}
.play-inner {
  max-width: 900px;
  margin: 0 auto;
}
.ps-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink2);
  margin-bottom: 24px;
}
.ps-step {
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
}
.play-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
}
.play-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.pc-thumb {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #f4a06a, #e8621a);
  overflow: hidden;
}
.pc-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.pc-thumb-fallback {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; opacity: .5;
}
.pc-sense {
  position: absolute; bottom: 10px; left: 12px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 10px;
}
.pc-body   { padding: 16px 18px 20px; }
.pc-title  { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.pc-row    { display: flex; gap: 10px; margin-bottom: 8px; align-items: flex-start; }
.pc-row-label { font-size: 11px; font-weight: 700; color: var(--ink3); white-space: nowrap; padding-top: 1px; }
.pc-row-text  { font-size: 12px; color: var(--ink2); line-height: 1.6; }

.pc-voice {
  background: var(--or-p);
  border-left: 3px solid var(--or);
  border-radius: 0 8px 8px 0;
  padding: 10px 12px;
  margin: 10px 0;
}
.pc-voice-label { font-size: 10px; font-weight: 700; color: var(--or-d); margin-bottom: 4px; }
.pc-voice-text  { font-size: 12px; color: var(--ink2); line-height: 1.7; }

.pc-tip {
  background: var(--grn-l);
  border: 1px solid rgba(26,153,112,.2);
  border-radius: 8px;
  padding: 10px 12px;
}
.pc-tip-label { font-size: 10px; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.pc-tip-text  { font-size: 12px; color: #047857; line-height: 1.6; }

.play-empty {
  font-size: 13px; color: var(--ink3);
  text-align: center; padding: 40px 0;
}

/* 下部ナビ */
.bottom-nav { padding: 20px 28px; border-top: 1px solid var(--border); background: var(--white); }
.bn-inner   { max-width: 900px; margin: 0 auto; }
.bn-back    {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--ink3); text-decoration: none; transition: .15s;
}
.bn-back:hover { color: var(--or); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .tnl-thumb { width: 80px; height: 60px; }
  .tnl-title { font-size: 13px; }
  .why-section  { padding: 24px 16px; }
  .ws-grid      { grid-template-columns: 1fr; }
  .play-section { padding: 24px 16px 48px; }
  .play-grid    { grid-template-columns: 1fr; }
}

/* ============================================================
   single-trouble.php 遊びカード（リンク版）
   ============================================================ */
.play-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: .2s;
  cursor: pointer;
}
.play-card:hover {
  border-color: var(--or);
  box-shadow: 0 6px 24px rgba(232,98,26,.14);
  transform: translateY(-3px);
}
.play-card:hover .pc-link-label { color: var(--or-d); }

.pc-purpose {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.6;
  margin-bottom: 10px;
}
.pc-link-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--or);
  margin-top: 4px;
  transition: .15s;
}

/* ============================================================
   single-play.php
   ============================================================ */
.sp-header .ph-title { margin-bottom: 10px; }

.sp-sense-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.sp-sense-tag {
  background: var(--or-l);
  color: var(--or-d);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--or-m);
}

.sp-wrap  { background: var(--paper2); padding: 32px 28px 60px; }
.sp-inner { max-width: 720px; margin: 0 auto; }

.sp-hero-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16/7;
}
.sp-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.sp-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.sp-block {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.sp-block-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink3);
  letter-spacing: .06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.sp-block-text {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.8;
}

.sp-block-voice {
  border-left: 4px solid var(--or);
  border-radius: 0 12px 12px 0;
  background: var(--or-p);
}
.sp-block-voice .sp-block-label { color: var(--or-d); }

.sp-block-tip {
  background: var(--grn-l);
  border-color: rgba(26,153,112,.2);
}
.sp-block-tip .sp-block-label { color: var(--green); }
.sp-block-tip .sp-block-text  { color: #047857; }

/* この遊びが役立つ困りごと */
.sp-related { margin-top: 8px; }
.sp-related-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink3);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sp-related-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sp-related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  transition: .15s;
}
.sp-related-item:hover {
  border-color: var(--or);
  transform: translateX(3px);
}
.sp-related-item:hover .sp-ri-arrow { color: var(--or); }
.sp-ri-title  { font-size: 13px; font-weight: 700; color: var(--ink); flex: 1; line-height: 1.35; }
.sp-ri-sub    { font-size: 11px; color: var(--ink3); }
.sp-ri-arrow  { font-size: 20px; color: var(--ink3); flex-shrink: 0; transition: .15s; }

@media (max-width: 640px) {
  .sp-wrap  { padding: 20px 16px 48px; }
  .sp-inner { max-width: 100%; }
}

/* ============================================================
   動画セクション共通（single-trouble.php）
   ============================================================ */
.trouble-video-section {
  padding: 32px 28px;
}
.tv-kiso   { background: #1a1208; }
.tv-taisho { background: #0d1f12; }

.tv-inner {
  max-width: 900px;
  margin: 0 auto;
}
.tv-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.tv-step {
  background: var(--or);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  letter-spacing: .04em;
}
.tv-step-green {
  background: var(--green);
}

/* 動画＋テキストのグリッド */
.tv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: flex-start;
}

/* 動画プレーヤー */
.tv-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.tv-video img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.tv-video:hover img { opacity: .6; }

.tv-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--or);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: .2s;
}
.tv-play-green { color: var(--green); }
.tv-video:hover .tv-play { transform: translate(-50%,-50%) scale(1.08); }

.tv-duration {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 6px;
}
.tv-no-video {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.35);
}
.tv-placeholder {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; opacity: .25;
}

/* テキスト側 */
.tv-text-label {
  font-size: 11px; font-weight: 700;
  color: var(--or-m);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 10px;
}
.tv-text-label-green { color: #6ee7b7; }
.tv-text {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.9;
}
.tv-text strong { color: #fff; }
.tv-text-green  { color: rgba(255,255,255,.75); }

.tv-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tv-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 9px 12px;
  line-height: 1.5;
}
.tv-points li::before {
  content: "›";
  color: #6ee7b7;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.3;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .trouble-video-section { padding: 24px 16px; }
  .tv-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   single-trouble.php リデザイン
   ============================================================ */

/* セクション共通 */
.tv-section   { padding: 40px 28px; }
.tv-kiso      { background: #141008; }
.tv-taisho    { background: #0a1a0f; }
.tv-inner     { max-width: 940px; margin: 0 auto; }

/* ステップ見出し */
.tv-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.tv-step-badge {
  flex-shrink: 0;
  background: var(--or);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-top: 3px;
}
.tv-step-green { background: var(--green); }

.tv-heading-main {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}
.tv-heading-sub {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* 動画＋説明グリッド */
.tv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* 動画プレーヤー */
.tv-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.tv-video img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity .25s;
}
.tv-video:hover img { opacity: .55; }

.tv-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  transition: .2s;
}
.tv-video:hover .tv-play-btn { transform: translate(-50%,-50%) scale(1.05); }

.tv-play-circle {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--or);
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.tv-play-circle-green { color: var(--green); }
.tv-play-label {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.5);
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.tv-duration {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,.65); color: #fff;
  font-size: 11px; padding: 3px 9px; border-radius: 6px;
  z-index: 1;
}
.tv-no-video {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.3);
}
.tv-placeholder {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; opacity: .2;
}

/* 右側説明 */
.tv-desc-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.tv-desc-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tv-desc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.tv-desc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 14px;
}
.tv-desc-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--or);
  color: #fff;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900;
  margin-top: 1px;
}
.tv-desc-num-green { background: var(--green); }
.tv-desc-item-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.tv-desc-item-text {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

/* 行動の背景ボックス */
.tv-why-box {
  background: rgba(232,98,26,.12);
  border: 1px solid rgba(232,98,26,.25);
  border-radius: 10px;
  padding: 14px 16px;
}
.tv-why-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--or-m);
  margin-bottom: 8px;
}
.tv-why-text {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
}

/* 次へ矢印 */
.tv-next-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 0;
}
.tv-next-line {
  width: 1px; height: 20px;
  background: rgba(255,255,255,.12);
}
.tv-next-label {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  margin: 6px 0 4px;
}
.tv-next-chevron {
  font-size: 22px;
  color: rgba(255,255,255,.2);
  line-height: 1;
}

/* STEP3 見出し */
.ps-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.ps-step-badge {
  flex-shrink: 0;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-top: 3px;
}
.ps-heading-main {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 4px;
}
.ps-heading-sub {
  font-size: 12px;
  color: var(--ink3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .tv-section  { padding: 28px 16px; }
  .tv-grid     { grid-template-columns: 1fr; gap: 20px; }
  .tv-heading-main { font-size: 17px; }
  .ps-heading-main { font-size: 16px; }
}

/* リピーター遊びカード番号 */
.play-card-acf { cursor: default; }
.play-card-acf:hover {
  transform: translateY(-3px);
  border-color: var(--or-m);
}
.pc-num {
  position: absolute;
  top: 10px; left: 12px;
  width: 26px; height: 26px;
  background: var(--or);
  color: #fff;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* ============================================================
   タブ切り替え（social.php）
   ============================================================ */
.trouble-tabs-wrap { background: var(--paper2); }
.tt-inner { max-width: 900px; margin: 0 auto; padding: 24px 28px 60px; }

/* タブボタン */
.tt-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}
.tt-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: .15s;
  position: relative;
}
.tt-tab::after {
  content: '›';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--ink3);
  transition: .15s;
}
.tt-tab:hover {
  border-color: var(--or-m);
  background: var(--or-p);
}
.tt-tab.active {
  border-color: var(--or);
  background: var(--or-p);
  border-left: 4px solid var(--or);
}
.tt-tab.active::after { color: var(--or); transform: translateY(-50%) rotate(90deg); }
.tt-tab-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.tt-tab-sub {
  font-size: 11px;
  color: var(--ink3);
}
.tt-tab.active .tt-tab-title { color: var(--or-d); }

/* タブコンテンツ */
.tt-contents { margin-top: 0; }
.tt-content  { display: none; padding-top: 20px; }
.tt-content.active { display: block; }

/* 動画ブロック共通 */
.ttc-video-block {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}
.ttc-kiso   { background: #141008; }
.ttc-taisho { background: #0a1a0f; }

.ttc-video-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 12px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.65);
}
.ttc-vstep {
  background: var(--or);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 10px;
  letter-spacing: .04em;
}
.ttc-vstep-green { background: var(--green); }
.ttc-vstep-teal  { background: #0e8080; }

.ttc-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 20px 20px;
  align-items: flex-start;
}
.ttc-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.ttc-video img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity .2s;
}
.ttc-video:hover img { opacity: .6; }
.ttc-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--or);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: .2s;
}
.ttc-play-green { color: var(--green); }
.ttc-video:hover .ttc-play { transform: translate(-50%,-50%) scale(1.08); }
.ttc-dur {
  position: absolute; bottom: 8px; right: 10px;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: 10px; padding: 2px 7px; border-radius: 5px;
}
.ttc-no-video {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: rgba(255,255,255,.3);
}
.ttc-video-ph {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; opacity: .2;
}
.ttc-why-label {
  font-size: 10px; font-weight: 700;
  color: var(--or-m);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 8px;
}
.ttc-why-label-green { color: #6ee7b7; }
.ttc-why-body {
  font-size: 12px;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
}
.ttc-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ttc-points li {
  font-size: 12px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex; align-items: center; gap: 6px;
}
.ttc-points li::before {
  content: '›';
  color: #6ee7b7;
  font-weight: 700;
  font-size: 15px;
}

/* 遊びブロック */
.ttc-play-block {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}
.ttc-play-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink2);
  border-bottom: 1px solid var(--bdr2);
}
.ttc-play-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
}
.ttc-play-card {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: .15s;
}
.ttc-play-card:hover {
  border-color: var(--or-m);
  box-shadow: var(--sh);
}
.ttc-pc-thumb {
  position: relative;
  height: 100px;
  background: linear-gradient(135deg,#f4a06a,#e8621a);
  overflow: hidden;
}
.ttc-pc-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.ttc-pc-ph {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; opacity: .4;
}
.ttc-pc-num {
  position: absolute; top: 8px; left: 10px;
  width: 22px; height: 22px;
  background: var(--or); color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
}
.ttc-pc-body { padding: 10px 12px; }
.ttc-pc-title { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 4px; line-height: 1.3; }
.ttc-pc-desc  { font-size: 11px; color: var(--ink3); line-height: 1.5; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .tt-inner { padding: 16px 16px 48px; }
  .ttc-video-grid { grid-template-columns: 1fr; }
  .ttc-play-grid  { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   困りごとカード（single-trouble.php STEP2）
   ============================================================ */
.item-section {
  background: var(--paper2);
  padding: 36px 28px;
}
.item-inner {
  max-width: 940px;
  margin: 0 auto;
}
.item-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.item-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: .2s;
}
.item-card:hover {
  border-color: var(--or-m);
  box-shadow: var(--sh);
  transform: translateY(-2px);
}
.item-card-img {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #fef0e6, #f4a06a);
  overflow: hidden;
}
.item-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s;
}
.item-card:hover .item-card-img img { transform: scale(1.04); }
.item-card-img-ph {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; opacity: .35;
}
.item-card-num {
  position: absolute; top: 10px; left: 12px;
  width: 28px; height: 28px;
  background: var(--or); color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.item-card-body {
  padding: 14px 16px 16px;
}
.item-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}
.item-card-text {
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.75;
}

@media (max-width: 640px) {
  .item-section { padding: 24px 16px; }
  .item-grid    { grid-template-columns: 1fr; }
  .item-card-img { height: 130px; }
}

/* ============================================================
   困りごとカード：クリックで動画展開
   ============================================================ */
.item-card-clickable { cursor: pointer; }
.item-card-clickable:hover .item-card-play-badge { opacity: 1; }
.item-card.open {
  border-color: var(--or);
  box-shadow: 0 0 0 2px var(--or);
}

/* 動画を見るバッジ（画像上） */
.item-card-play-badge {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(232,98,26,.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity .2s;
}
.item-card-clickable:hover .item-card-play-badge,
.item-card.open .item-card-play-badge {
  opacity: 1;
}

/* カード下部CTA */
.item-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--bdr2);
}
.item-card-cta-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--or);
}
.item-card-cta-arrow {
  font-size: 16px;
  color: var(--or);
  transition: transform .2s;
}
.item-card.open .item-card-cta-arrow { transform: rotate(180deg); }

/* 動画パネル */
.item-panel {
  grid-column: 1 / -1; /* 2カラムを横断 */
  display: none;
  background: #141008;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--or);
}
.item-panel.open { display: block; animation: fadeUp .25s ease both; }

.item-panel-inner { padding: 20px; }
.item-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.item-panel-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.item-panel-close {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: .15s;
  white-space: nowrap;
}
.item-panel-close:hover { background: rgba(255,255,255,.2); color: #fff; }

.item-panel-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.item-panel-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
}
.item-panel-thumb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.item-panel-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .6;
}
.item-panel-ph {
  font-size: 48px;
  opacity: .3;
  position: relative; z-index: 1;
}
.item-panel-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--or);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  z-index: 2;
  transition: .2s;
}
.item-panel-thumb:hover .item-panel-play { transform: translate(-50%,-50%) scale(1.08); }

@media (max-width: 640px) {
  .item-panel { grid-column: 1; }
}

/* ============================================================
   下部ナビ（bottom-nav）
   ============================================================ */
.bottom-nav {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px 28px;
}
.bn-inner {
  max-width: 940px;
  margin: 0 auto;
}
.bn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink3);
  text-decoration: none;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  transition: .15s;
}
.bn-back:hover {
  color: var(--or);
  border-color: var(--or-m);
  background: var(--or-l);
}

@media (max-width: 640px) {
  .bottom-nav { padding: 16px; }
}