/**
 * File: single.css
 * Usage: MOVIE個別ページ(映像で触れる)のスタイル。
 * Note: el_pill / bl_secHead / bl_lineTtl / bl_videoCard は top/common.css を利用。
*/

.ly_movieSingle,
.ly_topicSingle {
  background: #f5f3f0;
}

/* ============================================================
 FV(アーカイブと共通のヒーロー。archive.css の .ly_archiveFv 系をミラー)
 MOVIE個別 = MOVIEアーカイブFV / TOPICS個別 = news_topicsアーカイブFV
============================================================ */
.ly_singleFv {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  padding-block: calc(var(--header-h) + 24px) 32px;
  background: var(--color-black) center / cover no-repeat;
  background-image: url(../img/top/video-fv.webp);
  color: var(--color-white);
  overflow: hidden;
}

.ly_singleFv::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* TOPICS個別:背景画像とオーバーレイのみ差し替え(news_topicsアーカイブと共通) */
.ly_singleFv__topic {
  background-image: url(../img/top/topics-fv.jpg);
}

.ly_singleFv__topic::before {
  background: rgba(0, 0, 0, 0.4);
}

.bl_singleFv_map {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 0;
  width: 280px;
  height: auto;
  opacity: 0.5;
  transform: translateX(-50%);
  pointer-events: none;
}

.bl_singleFv_copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding-inline: var(--pad-inner);
}

.bl_singleFv_en {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.bl_singleFv_line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-white);
}

.bl_singleFv_ttl {
  font-size: clamp(24px, 4.4vw, 34px);
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.bl_singleFv_lead {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {
  .ly_singleFv {
    min-height: 360px;
    padding-block: calc(var(--header-h) + 40px) 40px;
  }

  .bl_singleFv_en {
    font-size: 24px;
  }

  .bl_singleFv_map {
    top: 50px;
    width: 367px;
  }
}

/* ============================================================
 パンくず
============================================================ */
.bl_breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-dgray);
}

.bl_breadcrumb a {
  transition: opacity 0.3s ease;
}

.bl_breadcrumb a:hover {
  opacity: 0.6;
}

.bl_breadcrumb_sep {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.bl_breadcrumb_sep svg {
  width: 100%;
  height: 100%;
}

/* ============================================================
 本編(サムネ + 説明)
============================================================ */
.ly_singleIntro {
  padding-block: 64px 80px;
}

.bl_singleIntro {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 背面の紙テクスチャ(画面幅いっぱい) */
.bl_singleIntro::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset-block: -48px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: url(../img/top/paper-bg.webp) center / contain no-repeat;
  pointer-events: none;
}

.bl_singleIntro_head,
.bl_singleIntro_thumb,
.bl_singleIntro_body {
  position: relative;
  z-index: 1;
}

/* 見出しブロック(動画の上):vol+タイトル → 日付 → 大見出し */
.bl_singleIntro_head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.bl_singleIntro_meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bl_singleIntro_vol {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-dgray);
}

.bl_singleIntro_date {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

.bl_singleIntro_ttl {
  margin: 0;
  font-size: clamp(24px, 4.4vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.bl_singleIntro_thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #e9e2d6;
}

.bl_singleIntro_thumb img,
.bl_singleIntro_thumb iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* YouTube埋め込みは操作できるようにする */
.bl_singleIntro_thumb__video iframe {
  display: block;
  border: 0;
  pointer-events: auto;
}

/* 動画の下に区切り線 → 本文 */
.bl_singleIntro_body {
  padding-top: 32px;
  border-top: 1px solid #cabfad;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.bl_singleIntro_body p {
  margin: 0;
}

.bl_singleIntro_body p + p {
  margin-top: 1.75em;
}

/* ============================================================
 ACTION(この想いを、次の一歩へ)
============================================================ */
.ly_singleAction {
  position: relative;
  padding-block: 96px;
  background: var(--color-accent);
  color: var(--color-white);
}

.ly_singleAction::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(168, 141, 106, 0.86), rgba(168, 141, 106, 0.86)),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(../img/top/action-bg.jpg) center / cover no-repeat;
  pointer-events: none;
}

.bl_singleAction {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 共通:応援タグ */
.bl_supportTag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 16px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* メインの大カード */
.bl_supportFeat {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-black);
}

.bl_supportFeat_body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bl_supportFeat_ttl {
  font-size: 24px;
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.bl_supportFeat_desc {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.bl_supportFeat_img {
  display: block;
  aspect-ratio: 640 / 341;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(28, 28, 28, 0.08);
}

.bl_supportFeat_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* カードのSwiper(SPは横スライド / PCはグリッド) */
.bl_supportSlider {
  position: relative;
}

.bl_supportSwiper {
  width: 100%;
}

.bl_supportSlide {
  width: min(86vw, 420px);
  height: auto;
}

.bl_supportSlide .bl_supportFeat,
.bl_supportSlide .bl_supportCard {
  height: 100%;
}

.bl_supportNav {
  margin-top: 24px;
}

/* サブの2カード */
.bl_supportCard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-black);
}

.bl_supportCard_ttl {
  font-size: 20px;
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.bl_supportCard_row {
  display: flex;
  gap: 16px;
}

.bl_supportCard_text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
}

.bl_supportCard_desc {
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.05em;
}

.bl_supportCard_img {
  flex: 0 0 auto;
  align-self: flex-start; /* 行の高さに引き伸ばされないようにし、aspect-ratio を維持(両端の見切れ防止) */
  width: 40%;
  max-width: 304px;
  aspect-ratio: 1200 / 640;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(28, 28, 28, 0.08);
}

.bl_supportCard_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.bl_singleAction_more {
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
 注目の動画
============================================================ */
.ly_singleReco {
  padding-block: 80px;
}

.bl_singleReco {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.bl_singleReco_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* 各カードの背面に紙テクスチャ */
.bl_singleReco_list .bl_videoCard {
  position: relative;
}

.bl_singleReco_list .bl_videoCard::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -16px -16px -24px -16px;
  background: url(../img/top/paper-bg.webp) center / contain no-repeat;
  pointer-events: none;
}

.bl_singleReco_list .bl_videoCard > * {
  position: relative;
  z-index: 1;
}

.bl_singleReco_desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.bl_singleReco_more {
  text-align: center;
}

/* ============================================================
 レスポンシブ(PC)
============================================================ */
@media screen and (min-width: 768px) {
  .ly_singleIntro {
    padding-block: 120px 160px;
  }

  .bl_singleIntro {
    gap: 60px;
  }

  .bl_singleIntro_body {
    padding-top: 60px;
  }

  .bl_singleIntro_meta {
    gap: 36px;
  }

  .bl_singleIntro_vol {
    font-size: 28px;
  }

  .ly_singleAction {
    padding-block: 160px;
  }

  .bl_singleAction {
    gap: 40px;
  }

  /* メインカードは横並び(テキスト左・画像右) */
  .bl_supportFeat {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 24px;
  }

  /* PC:Figmaトークン(Dsp_Small_bold=28 / Dsp_Xs_bold=22) */
  .bl_supportFeat_ttl {
    font-size: 28px;
  }

  .bl_supportCard_ttl {
    font-size: 22px;
  }

  .bl_supportFeat_body {
    flex: 1 1 0;
    min-width: 0;
  }

  .bl_supportFeat_img {
    flex: 0 0 auto;
    width: 640px;
    max-width: 60%;
  }

  /* PCはSwiperを無効化し、フィーチャー全幅 + サブ2列のグリッドに戻す */
  .bl_supportSwiper .swiper-wrapper {
    flex-wrap: wrap;
    gap: 24px;
    transform: none !important;
  }

  .bl_supportSlide {
    width: calc(50% - 12px);
    margin: 0 !important;
  }

  .bl_supportSlide__feature {
    width: 100%;
  }

  .bl_supportNav {
    display: none;
  }

  .ly_singleReco {
    padding-block: 120px 120px;
  }

  .bl_singleReco {
    gap: 48px;
  }

  .bl_singleReco_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* ============================================================
 TOPICS 個別(記事 / post_type: post)
============================================================ */
.bl_topicArticle {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: 64px 80px;
}

.bl_topicArticle_head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bl_topicArticle_meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bl_topicArticle_date {
  font-family: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

.bl_topicArticle_cat {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-white);
  font-family: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

.bl_topicArticle_ttl {
  font-size: 26px;
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.bl_topicArticle_line {
  display: block;
  width: 100%;
  height: 1px;
  background: #d9d2c7;
}

/* アイキャッチ:アスペクト比を固定せず原寸の縦横比で表示(切り抜き・縮みなし) */
.bl_topicArticle_thumb {
  margin-top: 8px;
}

.bl_topicArticle_thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* 本文 */
.bl_topicArticle_body {
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.bl_topicArticle_body p {
  margin: 0 0 1.75em;
}

.bl_topicArticle_body p:last-child {
  margin-bottom: 0;
}

.bl_topicArticle_body strong {
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
}

/* 見出し:左罫線(アクセント)+ 太字 */
.bl_topicArticle_body h2,
.bl_topicArticle_body h3 {
  margin: 2.4em 0 1em;
  padding-left: 16px;
  border-left: 4px solid var(--color-accent);
  font-size: 22px;
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.bl_topicArticle_body h2:first-child,
.bl_topicArticle_body h3:first-child {
  margin-top: 0;
}

/* 本文中の画像:アスペクト比を指定せず max-width + height auto(切り抜き・縮みなし)。
   figure の text-align:center があれば中央寄せされる(画像は inline のまま)。 */
.bl_topicArticle_body figure {
  margin: 2.5em 0;
}

.bl_topicArticle_body img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
  vertical-align: middle;
}

.bl_topicArticle_body figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-dgray);
  text-align: center;
}

/* リンク */
.bl_topicArticle_body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  word-break: break-all;
  transition: opacity 0.3s ease;
}

.bl_topicArticle_body a:hover {
  opacity: 0.65;
}

/* ============================================================
 関連記事
============================================================ */
.ly_relatedTopics {
  padding-bottom: 96px;
}

.bl_relatedTopics {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.bl_relatedTopics_head {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bl_relatedTopics_ttl {
  font-size: 26px;
  font-weight: 700;
  -webkit-text-stroke: 0.4px currentColor;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--color-black);
  white-space: nowrap;
}

.bl_relatedTopics_line {
  flex: 1;
  height: 1px;
  background: var(--color-accent);
}

.bl_relatedTopics_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.bl_relatedCard {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bl_relatedCard_thumb {
  display: block;
  aspect-ratio: 312 / 175;
  overflow: hidden;
  border-radius: 2px;
}

.bl_relatedCard_thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.bl_relatedCard:hover .bl_relatedCard_thumb img {
  transform: scale(1.04);
}

.bl_relatedCard_meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bl_relatedCard_date {
  font-family: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

.bl_relatedCard_cat {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--color-white);
  font-family: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

.bl_relatedCard_ttl {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.bl_relatedCard_link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

.bl_relatedCard_link .el_arrow {
  display: inline-flex;
  width: 42px;
}

.bl_relatedTopics_more {
  margin-top: 16px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .bl_topicArticle {
    gap: 40px;
    padding-block: 96px 120px;
  }

  .bl_topicArticle_ttl {
    font-size: 42px;
  }

  /* 本文テキスト列はやや狭め(画像・見出しもこの幅で揃う) */
  .bl_topicArticle_body {
    max-width: 840px;
    margin-inline: auto;
    width: 100%;
  }

  .bl_topicArticle_body h2,
  .bl_topicArticle_body h3 {
    font-size: 28px;
  }

  .ly_relatedTopics {
    padding-bottom: 160px;
  }

  .bl_relatedTopics_ttl {
    font-size: 34px;
  }

  .bl_relatedTopics_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}
