@charset "UTF-8";

@font-face {
  font-family: "Huifont";
  src: url("../fonts/huifont-regular.woff2") format("woff2"),
       url("../fonts/huifont-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.page_top_video_nav.swiper-button-lock {
  display: inline-flex !important;
}

:root {
  /* 色管理 */
  --black-color: #333;
  --bg-color: #fafafa;
  --white-color: #fff;
  --gray-color01: #efefef;
  --gray-color02: #8e8e93;
  --primary-color: #ca2823;
  --accent-color: #ca29237b;

  /* コンテンツ幅 */
  --content-width-sm: 800px;
  --content-width: 960px;
  --content-width-lg: 1088px;
  --gutter: 16px;

  /* z-index */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;

  /* その他 */
  --contact-arch-height: 58px;
  --pagetop-btn-h: 43px;
  --pagetop-safe: 16px;
}

/* ========== base ========== */

body {
  color: var(--black-color);
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/* キーボード操作時のみフォーカス枠を表示 */
:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* タップした際の青い四角を削除 */
button,
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

/* ========== utility ========== */

@media screen and (min-width: 375px) {
  .u_sm-dn {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

/* PC専用表示（li想定） */
.u_pc-only {
  display: none;
}

/* ✅ 768px以上で PC-only を出すならここ（要件通り） */
@media (min-width: 768px) {
  .u_pc-only {
    display: list-item;
  }
}

/* ========== layout ========== */

.l_container-sm,
.l_container,
.l_container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 32px);
}

.l_container {
  max-width: calc(var(--content-width) + 32px);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + 32px);
}

.l_contents {
  padding: 80px 0;
}

@media screen and (min-width: 1080px) {
  .l_contents {
    padding: 100px 0;
  }
}

/* NEWSだけ上書き */
.page_top_news .l_contents {
  padding-top: 58px;
}
@media screen and (min-width: 768px) {
  .page_top_news .l_contents {
  padding-top: 80px;
}
}

/* liveだけ上書き */
.page_top_live .l_contents {
  padding-top: 58px;
}
@media screen and (min-width: 768px) {
  .page_top_live .l_contents {
  padding-top: 80px;
}
}

/* ========== header ========== */

/* ✅ 高さの管理は1箇所に集約 */
:root {
  --header-h-sp: 64px;    /* 〜767 */
  --header-h-tb: 104px;   /* 768〜959（2段） */
  --header-h-md: 128px;   /* 960〜1439（2段＋ロゴ横テキスト） */
  --header-h-pc: 80px;    /* 1440〜（1段） */

  --header-h-current: var(--header-h-sp);
}

/* header fixed */
.l_header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  width: 100%;
  background: var(--bg-color);
  z-index: var(--z-index-header);
}

/* inner（SPは1段flex） */
.l_header_inner {
  height: var(--header-h-sp);
  display: flex;
  align-items: center;
  gap: 12px;

  /* ✅ paddingはSPで最低限 */
  padding: 0 16px;
}

/* ✅ ヘッダーはコンテナ幅制限しない（崩れ原因になりがち） */
.l_header_inner.l_container {
  max-width: none;
}

/* -----------------------------
  logo
----------------------------- */
.l_header_logo {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
}

.l_header_logoLink {
  display: block;
  width: 100%;
  height: 100%;
}

.l_header_logoImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ロゴ横テキスト：デフォは非表示（SP/TBでは出さない） */
.l_header_logoText {
  display: none;
}

/* -----------------------------
  nav（SPでは非表示）
----------------------------- */
.l_header_nav {
  display: none;
}

.l_header_navList {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.l_header_navLink {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--black-color);
  text-decoration: none;
  line-height: 1;

  /* hover演出用 */
  position: relative;
  padding-bottom: 4px;
}

/* 下線 */
.l_header_navLink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

/* hover */
@media (hover: hover) {
  .l_header_navLink:hover::after {
    transform: scaleX(1);
  }
}

.l_header_nav svg,
.l_header_nav img{
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* -----------------------------
  right area（SNS + 言語 + ハンバーガー）
----------------------------- */
.l_header_right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* sns */
.l_header_sns {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 12px;
}

.l_header_snsLink {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.l_header_snsLink img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* -----------------------------
  768px〜：2段構成（grid）
  「左：ロゴ」「右：上にright、下にnav」
----------------------------- */
@media (min-width: 768px) {
  .l_header_inner {
    height: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;

    column-gap: 24px;
    row-gap: 12px;

    /* ✅ 768〜の余白はここで統一 */
    padding: 20px 24px;
  }

  .l_header_logo {
    width: 65px;
    height: 65px;

    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
  }

  .l_header_right {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0; /* gridでは不要なので明示 */
    gap: 16px;
  }

  /* nav表示（右下） */
  .l_header_nav {
    display: block;
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  /* 768px〜ではハンバーガー非表示 */
  .l_header_hamburger {
    display: none;
  }
}

/* -----------------------------
  960px〜：2段のまま（ロゴ横テキストを出す）
----------------------------- */
@media (min-width: 960px) {
  /* ✅ 960〜の余白はここで統一（後ろで再上書きしない） */
  .l_header_inner {
    padding: 28px 32px;
  }

  /* ロゴリンクを横並びにしてテキスト表示 */
  .l_header_logo {
    width: auto;
    height: auto;
  }

  .l_header_logoLink {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: auto;
    height: auto;
    transition: transform 0.3s ease;
  }

  @media (hover: hover) {
  .l_header_logoLink:hover {
    transform: translateY(2px);
  }
}

  .l_header_logoImg {
    width: 65px;
    height: 65px;
  }

  .l_header_logoText {
    display: inline-block;
    width: 140px;
    height: auto;
    line-height: 1; 
    vertical-align: middle;
  }

  .l_header_navLink {
    font-size: 18px;
  }
}

.u_visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------
  1080px〜：細部調整（必要最低限）
----------------------------- */
@media (min-width: 1080px) {
  .l_header_sns {
    gap: 16px;
  }
}

/* -----------------------------
  1440px〜：1段構成（flexに戻す）
  「ロゴ / ナビ / right」
----------------------------- */
@media (min-width: 1440px) {
  .l_header_inner {
    height: var(--header-h-pc);
    display: flex;
    align-items: center;
    gap: 24px;

    /* ✅ 1段のpadding（好みで調整OK） */
    padding: 0 24px;
  }

  /* gridでの指定を無効化（保険） */
  .l_header_logo,
  .l_header_right,
  .l_header_nav {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    align-self: center;
  }

  /* nav は表示して “伸びる領域” にする → ulの右寄せが効く */
  .l_header_nav {
    display: block;
    flex: 1 1 auto;
  }

  .l_header_navList {
    justify-content: flex-end; /* ✅ ここが効く */
  }

  .l_header_right {
    margin-left: 0;
    flex: 0 0 auto;
  }
}

/* -----------------------------
  fixed header spacing（main側）
----------------------------- */
.l_main {
  padding-top: var(--header-h-current);
}



/* 768px〜 */
@media (min-width: 768px) {
  :root {
    --header-h-current: var(--header-h-tb);
  }
}

/* 960px〜 */
@media (min-width: 960px) {
  :root {
    --header-h-current: var(--header-h-md);
  }
}

/* 1440px〜（PC） */
@media (min-width: 1440px) {
  :root {
    --header-h-current: var(--header-h-pc);
  }
}


/* 下層ページ共通フッター */
.l_footer_sub {
  padding: 48px 16px 28px;
}

.l_footer_sub_inner {
  position: relative;
  max-width: 690px;
  margin-inline: auto;
}

.l_footer_sub_copy {
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  justify-content: center;
  display: block;
  font-family: "Noto Sans", sans-serif;
  font-weight: bold;
}

/* TOPボタン */
.l_footer_sub_top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-color);
  display: grid;
  place-items: center;
  z-index: 50;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  /* 赤背景エリアに合わせてフッターの余白を調整 */
  .l_footer_sub {
    padding: 0px 0px 24px;
    background: var(--primary-color);
  }

  .l_footer_sub_inner {
    max-width: 960px; /* パネル幅に合わせるなら */
    position: relative;
  }

  .l_footer_sub_copy {
    color: var(--white-color); 
    opacity: 0.95;
    font-size: 10px;
  }

}

@media screen and (min-width: 1080px) {
  .l_footer_sub {
    padding: 0px 0px 40px;
    background: var(--primary-color);
  }

  .l_footer_sub_inner {
    max-width: 960px; /* パネル幅に合わせるなら */
    position: relative;
  }

  .l_footer_sub_copy {
    color: var(--white-color); 
    font-size: 12px;
  }
}

/* ========== ホバー ========== */
/* 記事リンク共通 */
.is-article-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s ease;
}

@media (hover: hover) {
  .is-article-link:hover .page_top_news_title,
  .is-article-link:hover .page_top_live_title,
  .page_top_news_item:hover .page_top_news_title,
  .page_top_live_link:hover .page_live_link{
    color: var(--gray-color02);
  }
}


/* ========== module ========== */

/* lang switch */
.m_langSwitch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 60px;
  height: 30px;
  padding: 2px;
  border: 1px solid var(--primary-color);
  border-radius: 999px;
  background: var(--white-color);
  overflow: hidden;
}

/* 動く丸（背景） */
.m_langSwitch::before {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--primary-color);
  transform: translateX(0);
  transition: transform 0.25s ease;
}

/* ENがアクティブのとき右へスライド */
.m_langSwitch.is-en::before {
  transform: translateX(100%);
}



/* ボタンは上に乗せる */
.m_langSwitch_btn {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 100%;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
}

/* active側の文字は白 */
.m_langSwitch_btn.is-active {
  color: var(--white-color);
  background: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .m_langSwitch {
    width: 66px;
    height: 30px;
    padding: 2px;
  }

  .m_langSwitch_btn {
    font-size: 10px;
  }
}

/* キーボード操作対応 */
.m_langSwitch_btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* hamburger (SP only) */
.m_hamburger {
  display: block;
  width: 32px;
  height: 28px;
  position: relative;
  z-index: var(--z-index-modal);
  border: none;
  background: transparent;
}

@media screen and (min-width: 1080px) {
  .m_hamburger {
    display: none;
  }
}

.m_hamburger-bar {
  width: 100%;
  height: 4px;
  position: absolute;
  left: 0;
  background: var(--black-color);
}

.m_hamburger-bar:nth-child(1) {
  top: 0;
}

.m_hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.m_hamburger-bar:nth-child(3) {
  top: 100%;
  transform: translateY(-100%);
}


.m_hamburger-bar {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.m_hamburger.is-active .m_hamburger-bar {
  transform-origin: center;
}

.m_hamburger.is-active .m_hamburger-bar:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.m_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  opacity: 0;
}

.m_hamburger.is-active .m_hamburger-bar:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* ========== SP MENU ========== */

.m_spMenu {
  position: fixed;
  inset: 0;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 64px 40px;
  display: flex;
  flex-direction: column;
  z-index: var(--z-index-menu);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.m_spMenu_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.m_spMenu_close {
  position: fixed; /* ← absolute じゃなく fixed */
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  z-index: var(--z-index-modal);
}

.m_spMenu_close::before,
.m_spMenu_close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px; /* 線の長さ */
  height: 4px; /* ← 太さはここ */
  background: var(--white-color);
  transform-origin: center;
}

.m_spMenu_close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.m_spMenu_close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.m_spMenu.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* PCでは不要 */
@media (min-width: 768px) {
  .m_spMenu {
    display: none;
  }
}

/* SPメニュー内では大きくする */
.m_spMenu.is-active .m_langSwitch {
  width: 66px;
  height: 30px;
  padding: 2px;
  font-size: 10px;
}

.m_spMenu.is-active .m_langSwitch_btn {
  font-size: 10px;
}

.m_spMenu_list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  gap: 30px;
  flex-direction: column;
  display: flex;
}

.m_spMenu_list a {
  color: var(--white-color);
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
}

.m_spMenu_sns {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 50px 0 0;
}

.m_spMenu_sns img {
  width: 24px;
  height: 24px;
  display: block;
}

/* ========== section title / more link ========== */

.m_section_title {
  text-align: center;
}

.m_section_title-en,
.m_section_title-ja {
  display: block;
}

.m_section_title-en {
  font-family: "Limelight", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  font-size: 40px;
}

@media screen and (min-width: 768px) {
  .m_section_title-en {
  font-size: 52px;
}
}

.m_section_title-ja {
  font-family: "Huifont", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  display: inline-block;
  justify-content: center;
  letter-spacing: 0;
}

@media screen and (min-width: 768px) {
  .m_section_title-ja {
  font-size: 20px;
}
}

/* お知らせ（Huifont）にトマトを左右に付ける：TOPとNEWS共通 */
.page_top_news .m_section_title-ja,
.page_news .m_section_title-ja,
.page_live .m_section_title-ja,
.page_video .m_section_title-ja,
.page_discography .m_section_title-ja,
.page_contact .m_section_title-ja,
.page_profile_hero .m_section_title-ja
{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.page_top_news .m_section_title-ja::before,
.page_top_news .m_section_title-ja::after,
.page_news .m_section_title-ja::before,
.page_news .m_section_title-ja::after,
.page_live .m_section_title-ja::before,
.page_live .m_section_title-ja::after,
.page_video .m_section_title-ja::before,
.page_video .m_section_title-ja::after,
.page_discography .m_section_title-ja::before,
.page_discography .m_section_title-ja::after,
.page_contact .m_section_title-ja::before,
.page_contact .m_section_title-ja::after,
.page_profile_hero .m_section_title-ja::before,
.page_profile_hero .m_section_title-ja::after{
  content: "";
  width: 16px;
  height: 16px;
  background: url("../img/tomato2.svg") no-repeat center / contain;
}



/* クリック領域を確保しつつ、線と矢印を擬似要素で描画 */
.m_more_link {
  position: relative;
  display: inline-block;
  padding: 40px 18px 0px 0; /* 右に矢印分の余白 */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--black-color);
  text-decoration: none;
  line-height: 1.8;
  white-space: nowrap;
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
}

@media screen and (min-width: 1080px) {
  .m_more_link {
    padding: 64px 18px 0px 0;
  }
}

/* 下線 */
.m_more_link::after {
  content: "";
  position: absolute;
  right: 2px;              /* 矢印と被らないように少し短く */
  bottom: 0px;             /* 文字からの距離 */
  height: 1px;
  background: currentColor; /* 色は文字色に追従 */
  width: 120px;
  transition: transform 0.25s ease;
}

/* 矢印（右上に抜ける） */
.m_more_link::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px; /* 下線と高さを揃える */
  height: 0px;
  border-top: 1px solid currentColor;
  width: 13px;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  .m_more_link:hover::after {
    transform: translateX(6px);
  }

  .m_more_link:hover::before {
    transform: translate(6px, -3px) rotate(45deg);
  }
}

/* キーボード操作時 */
.m_more_link:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

/* ページネーション */
.m_pager {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
@media screen and (min-width: 1080px) {
  .m_pager {
  margin-top: 80px;
  gap: 28px;
  }
}

.m_pager_num {
  color: var(--black-color);
  text-decoration: none;
  font-size: 12px;
  font-family: "Noto Sans", sans-serif;
  transition: color 0.25s ease, transform 0.25s ease;
}

@media screen and (min-width: 1080px) {
  .m_pager_num {
  color: var(--black-color);
  text-decoration: none;
  font-size: 15px;
  font-family: "Noto Sans", sans-serif;
}
}

.m_pager_num.is-current,
.m_pager_num.current,
.m_pager .page-numbers.current {
  width: 30px;
  height: 30px;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

@media screen and (min-width: 1080px) {
  .m_pager_num.is-current,
  .m_pager_num.current,
.m_pager .page-numbers.current {
  width: 32px;
  height: 32px;
}
}


.m_pager_arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  text-decoration: none;
  color: var(--black-color);

  /* ホバー */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.m_pager_arrow .iconify {
  width: 20px;
  height: 20px;
}

@media screen and (min-width: 1080px) {
  .m_pager_arrow .iconify {
  width: 24px;
  height: 24px;
}
}

/* .m_pager_arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
} */


/* hoverできる環境だけ */
@media (hover: hover) {
  .m_pager_num:hover {
    color: var(--gray-color02);
    transform: translateY(0.5px);
  }

  /* currentはホバー無効 */
  .m_pager_num.is-current:hover {
    color: var(--black-color);
    transform: none;
  }
}

@media (hover: hover) {
  .m_pager_arrow:hover {
    transform: translateX(-1px);
    opacity: 0.8;
  }

  .m_pager_arrow--next:hover {
    transform: translateX(1px);
  }
}


/* =========================
  MODULE：SHARE
========================= */
.m_share{
  align-items: center;
  gap: 20px;
  margin-top: 64px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.m_share_label{
  font-family: "Huifont", "Noto Sans JP", sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--black-color);
}

.m_share_list{
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.m_share_link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  /* ホバー */
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.m_share_link img{
  display: block;
  width: 20px;
  height: 20px;
}

.page_videoDetail .page_videoDetail_actions {
  margin-top: 64px;
  display: grid;
  place-items: center;
}

@media screen and (min-width: 1080px) {
  .m_share{
  margin-top: 80px;
  }
  .m_share_label{
  font-size: 18px;
  }

  .m_share_link img{
  width: 24px;
  height: 24px;
  }
}

/* ホバー */
@media (hover: hover) {
  .m_share_link:hover {
    transform: translateY(2px);
  }
}

.m_share_link:focus-visible {
  transform: translateY(2px);
}

/* =========================
  MODULE：PILL BUTTON（HOME / BACK 共通）
========================= */
.m_btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 136px;
  height: 40px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--black-color);
  background: var(--white-color);
  color: var(--black-color);
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.25);

  /* ホバー */
  transition:transform 0.4s ease,opacity 0.4s ease;
}

/* actions（共通：中央寄せ＋余白） */
.m_actions {
  margin-top: 64px;
  display: grid;
  place-items: center;
}

@media screen and (min-width: 1080px) {
  .m_actions {
  margin-top: 80px;
}
}

/* アイコン（iconify を想定） */
.m_btn .m_btn_icon{
  display: inline-block;
  font-size: 1.2em; /* iconifyはfont-sizeで効くことが多い */
  line-height: 1;
}

@media screen and (min-width: 1080px){
  .m_btn{
    gap: 16px;
    width: 300px;
    height: 60px;
    font-size: 16px;
    letter-spacing: 0.1em;
  }
}

/* ホバー */
.m_btn:hover {
  transform: translateY(2px);
}
.m_btn:focus-visible {
  transform: translateY(2px);
}

.m_share_item {
  display: grid;
  place-items: center; 
}

/* SNSアイコン共通ホバー */
.m_snsLink img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}

.m_snsLink:hover img {
  transform: scale(1.1);
}

/* html body */
html, body {
  height: 100%;
  background: var(--bg-color);
}

body {
  margin: 0;
  min-height: 100dvh;        /* ← 100%ではなく100vh */
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  line-height: 1.8;
  letter-spacing: 0.1em;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
}

.l_main { flex: 1 0 auto; }
.l_footer { margin-top: auto; }


/* ========== TOP KV ========== */

.page_top {
  background-color: var(--bg-color);
  height: 100dvh;
  overflow: hidden;
}

/* KVは画面に固定（背面） */
.kvLayer {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.page_top_kv {
  padding: 78px 8px 0;
  display: block;
}

@media screen and (min-width: 768px) {
  .page_top_kv {
    padding: 120px 16px 0;
    display: block;
  }
}

@media screen and (min-width: 1080px) {
  .page_top_kv {
    padding: 130px 32px 0;
    display: block;
  }
}

@media screen and (min-width: 1440px) {
  .page_top_kv {
    padding: 100px 32px 0;
    display: block;
  }
}

.page_top_kv_inner {
  position: relative;
  overflow: hidden;
  background: var(--primary-color);
  border-radius: 30px;
  width: 100%;

  /* ✅ flex環境で高さが潰れるのを防ぐ */
  align-self: stretch;
  flex: 0 0 auto;

  /* 高さが小さすぎる保険 */
  min-height: 210px;
}

/* 🔑 高さを比率で作る本体 */
.page_top_kv_inner::before {
  content: "";
  display: block;
  padding-top: 52%;
  max-height: 380px;
}

@media screen and (min-width: 1080px) {
  .page_top_kv_inner {
    aspect-ratio: auto;
    min-height: 520px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 0 16px;
  }
}

.page_top_kv_text {
  position: absolute;
  top: 32px;
  left: 24px;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .page_top_kv_text {
    left: 35px;
    top: 115px;
    transform: none;
    text-align: left;
    width: 420px;

    /* ✅ 768で 35px / 115px、画面が広がると増えて中央寄りに */
    left: clamp(35px, 7vw, 120px);
    top: clamp(125px, 11vw, 190px);
  }
}

@media screen and (min-width: 1080px) {
  .page_top_kv_text {
    position: relative;
    top: -248px;
    width: 42%;
    align-items: center;
    display: flex;
  }
}

@media screen and (min-width: 1200px) {
  .page_top_kv_text {
    position: relative;
    top: -300px;
    width: 42%;
    align-items: center;
    display: flex;
  }
}

.page_top_kv_heading {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

/* タイトル（ひらがな＋mate） */
.page_top_kv_title {
  margin: 0;
  line-height: 1; /* 念のため */
}

.page_top_kv_titleImg{
  display: block;
  width: clamp(132px, 32vw, 390px); /* ← “font-sizeの代わり” */
  height: auto;
}

/* official website */
.page_top_kv_subtitle {
  margin-top: 5px;
  font-family: "Huifont", "Noto Sans JP", sans-serif;
  line-height: 1;
  color: var(--white-color);
  opacity: 0.9;
  white-space: nowrap;
  font-size: clamp(10px, 3vw, 12px);
  letter-spacing: 0em;
}


/* 右：画像 */
.page_top_kv_image {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;

  /* ✅ 画面が広くなったら一緒に大きくなる */
  width: min(65%, 520px);
  aspect-ratio: 480 / 374;
  height: auto;
}

.page_top_kv_image picture {
  display: block;
}

.page_top_kv_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (min-width: 768px) {
  .page_top_kv_image {
    align-items: flex-end;
  }

  .page_top_kv_image img {
    width: 100%;
    object-fit: cover;
    display: block;
  }
}

@media (min-width: 1080px) {
  .page_top_kv_image img {
    object-position: right bottom;
  }
}

@media screen and (min-width: 1080px) {
  .page_top_kv_subtitle {
    font-size: 21px;
    margin-top: 14px;
  }

  .page_top_kv_image {
    position: relative;
    right: auto;
    bottom: auto;

    width: 70%;
    max-width: 820px; /* 画像の上限 */
    aspect-ratio: 480 / 374;

    /* ✅ 必ず右に寄る */
    margin-left: auto;
  }
}

@media screen and (min-width: 1440px) {
  .page_top_kv_image {
    max-width: 880px; /* 画面が広い人向け */
  }
}

/* 1440px未満では表示しない */
.kv_scroll__label {
  display: none;
}

/* 1440px以上：赤枠を1252pxで中央固定 */
@media screen and (min-width: 1440px) {
  .page_top_kv {
    position: relative; /* scroll UIの基準 */
  }

  .page_top_kv_inner {
    width: min(86.9vw, 1760px); /* ★1440で約1252px / それ以上はvwで増える */
    max-height: calc(100vh - 130 px);
    margin-inline: auto;
  }

  /* 余白(=(vw-1252)/2)の“真ん中”に置く */
  .kv_scroll {
    position: absolute;
    left: calc((100% - min(86.9vw, 1760px)) / 4); /* ★innerが可変でも追従 */
    top: 75%;
    transform: translate(-50%, -25%);

    width: 24px;
    height: 250px;

    pointer-events: none;
    z-index: 20;
    overflow: hidden;
  }

  /* 縦ライン（固定） */
  .kv_scroll::before {
    content: "";
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: var(--bg-color);
    opacity: 0.9;
  }

  .kv_scroll::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);

    width: 12px;
    height: 60px;

    background-image:
      url("../img/tomato4.svg"),
      url("../img/tomato4.svg"),
      url("../img/tomato4.svg");
    background-repeat: no-repeat;
    background-size: 12px 12px;

    /* 12px(トマト) + 11px(gap) = 23px 間隔 */
    background-position:
      center 0px,
      center 23px,
      center 46px;
  }

  /* scroll down 文字：縦書きで安定させる */
  .kv_scroll__label {
    display: block;
    position: absolute;
    left: -6px; /* ラインの左に寄せる */
    top: 110px;

    writing-mode: vertical-rl; /* ✅ 縦書き */

    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    color: var(--primary-color);
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  /* 矢印（固定のV） */
  .kv_scroll__label::after {
    content: "";
    position: absolute;
    left: calc(50% - 1px);
    bottom: -46px;

    width: 4px;
    height: 24px;
    border-left: 1px solid var(--bg-color);
    transform: translateX(-50%) rotate(37deg);
    opacity: 0.9;
  }

  /* ============================
      流れるパーツ（KONOCODE風）
      線が上→下へ流れて、最後に斜め線も一緒に落ちる
     ============================ */

  .kv_scroll__flow {
    position: absolute;
    top: -40%;
    transform: translateX(-50%);
    width: 1px;
    height: 34%;
    background: var(--primary-color);
    opacity: 1;
    z-index: 4;

    animation: kv-flow 1.6s ease-in-out infinite;
  }

  /* 流れる矢印（固定矢印と同じ形・同じ角度で“先端”として付ける） */
  .kv_scroll__flow::after {
    content: "";
    position: absolute;
    left: calc(50% - 1px);
    bottom: -9px;
    height: 24px;
    border-left: 1px solid var(--primary-color);
    transform: translateX(200%) rotate(30deg);
    opacity: 1;
  }

  @keyframes kv-flow {
    0%   { top: -40%; opacity: 0; }
    15%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: 110%; opacity: 0; }
  }
}


/* ========== TOP NEWS (SP) ========== */

.page_top{
  height: 100dvh;
  overflow: hidden;
  background: var(--bg-color);
}

.kvLayer{
  position: fixed;
  inset: 0;
  z-index: 0;
}

.scrollLayer {
  position: relative;
  z-index: 1;
  height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  padding-top: clamp(240px, 54vw, 650px);
}

@media screen and (min-width: 1330px) {
  .scrollLayer{
    padding-top: 100dvh;
  }
}

.page_top_news {
  background: var(--bg-color);
  position: relative;
}

/* セクション見出しの中央寄せ（画像みたいな配置） */
.page_top_news .m_section_title {
  text-align: center;
}

/* お知らせ（Huifont）にトマトを左右に付ける */
.page_top_news .m_section_title-ja {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.page_top_news .m_section_title-ja::before,
.page_top_news .m_section_title-ja::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../img/tomato2.svg") no-repeat center / 100% 100%;
}

/* NEWSリスト */
.page_top_news_list {
  margin-top: 40px;
}

.page_top_news_item {
  border-bottom: 1px solid var(--gray-color01);
  padding: 0;
}

.page_top_news_link {
  display: block;
  text-decoration: none;
  padding: 16px;
}

.page_top_news_meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

/* 日付 */
.page_top_news_date {
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.024em;
  color: var(--gray-color02);
  line-height: 100%;
}

/* NEWバッジ（画像そのまま） */
.page_top_news_badge {
  display: inline-flex;
  align-items: center;
  width: 40px;
  height: 30px;  /* 画像heightに合わせる */
  line-height: 1;           /* 念のため */
  margin-left: 8px;
  transform-origin: center;
  animation: new-pico 1.4s ease-in-out infinite;
  will-change: transform;
}

.page_top_news_badgeImg {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 1080px) {
  .page_top_news_badge {
  width: 50px;
  height: 30px;
  margin-left: 4px;
}
}

/* タイトル */
.page_top_news_title {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0em;
  color: var(--black-color);
}

/* VIEW MORE（右寄せ＋矢印） */
.page_top_news_more {
  display: flex;
  justify-content: flex-end;
}

/* --- NEWSの飾りトマト ---*/
.page_top_news {
  position: relative; /* セクション内で絶対配置するため */
}

.page_top_news_deco {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48px;  /* 画像の見た目サイズ */
  height: 40px;
  pointer-events: none; /* クリック邪魔しない */
  transform: translate3d(0, 0, 0) rotate(0deg);
  will-change: transform;
}

.page_top_news_decoImg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ✅ 記事ブロック：690px以上は伸ばさない（TBもPCも共通） */
.page_top_news_list {
  max-width: 690px;
  margin-inline: auto; /* セクション内で中央に */
}

/* VIEW MORE も記事幅に合わせる（右端が揃う） */
.page_top_news_more {
  max-width: 690px;
  margin-inline: auto;
  justify-content: flex-end;
}

.page_top_news_title {
  overflow-wrap: anywhere;
}


/* 768px〜：余白と読みやすさを調整（記事幅は690固定） */
@media screen and (min-width: 768px) {
  .page_top_news_list {
    margin-top: 56px;
  }

  .page_top_news_link {
    padding: 18px 24px;
  }

  .page_top_news_meta {
    margin-bottom: 10px;
    gap: 10px;
  }

  .page_top_news_date {
    font-size: 14px;
  }

  .page_top_news_title {
    font-size: 16px;
    line-height: 1.7;
  }

  /* 飾りトマト：画面が広いときも右下に“ちゃんと見える”ように少し内側へ */
  .page_top_news_deco {
    right: 8px;
    bottom: 8px;
  }
}

@media screen and (min-width: 1080px) {
  .page_top_news_link {
    padding: 24px 24px;
  }
}

@media screen and (min-width: 1080px) {
  .page_top_news .l_container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  /* 左カラム：320固定。中のタイトルを中央へ */
  .page_top_news_left {
    flex: 0 0 320px;
    display: flex;
  }

  /* 右カラム：残り幅を使い、最大690で止める */
  .page_top_news_right {
    flex: 1 1 auto;
    width: 100%;
    max-width: 690px;
    min-width: 0;
    margin-left: auto;
  }

  .page_top_news_list {
    margin-top: 0;
  }

  .page_top_news_more {
    display: flex;
    justify-content: flex-end; /* 右カラム内で右寄せ */
  }
}

@media screen and (min-width: 1440px) {
    .page_top_news .l_container {
        max-width: calc(var(--content-width-lg) + 32px);
    }

    /* 左カラム：420固定。中のタイトルを中央へ */
    .page_top_news_left {
    flex: 0 0 400px;
    display: flex;
  }
}


/* ========== TOP LIVE (TB/PC) ========== */
.page_top_live {
  border: 5px solid var(--primary-color);
  background: var(--bg-color);
}

/* セクション見出し：中央寄せ（デザイン準拠） */
.page_top_live .m_section_title {
  text-align: center;
}

/* 「ライブ」にトマトを左右に付ける（NEWSと同じルール） */
.page_top_live .m_section_title-ja {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.page_top_live .m_section_title-ja::before,
.page_top_live .m_section_title-ja::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../img/tomato2.svg") no-repeat center / contain;
}

/* 右ブロック：690px以上は伸ばさない */
.page_top_live_right,
.page_top_live_list,
.page_top_live_more {
  max-width: 690px;
  margin-inline: auto;
}

.page_top_live_title {
  overflow-wrap: anywhere;
}

/* リスト */
.page_top_live_list {
  margin-top: 40px;
}

.page_top_live_item {
  border-bottom: 1px solid var(--gray-color01);
}

/* カード全体リンク（WP化に強い） */
.page_top_live_link {
  display: block;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}

/* 日付＋曜日の行 */
.page_top_live_meta {
  display: flex;
  margin-bottom: 16px;
  white-space: nowrap;
  align-items: center;
}

/* 日付 */
.page_top_live_date {
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary-color);
  line-height: 1;
}

/* 曜日 */
.page_top_live_week {
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary-color);
  line-height: 1;
  margin-left: 1px;
}


/* NEWバッジ（画像そのまま） */
.page_top_live_badge {
  display: inline-flex;
  align-items: center;
  height: 30px;  /* 画像heightに合わせる */
  width: 40px;
  line-height: 1;           /* 念のため */
  margin-left: 16px;
  /* ホバー */
  transform-origin: center;
  animation: new-pico 1.4s ease-in-out infinite;
  will-change: transform;
}

.page_top_live_badgeImg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes new-pico {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.12); }
  55%  { transform: scale(0.96); }
  100% { transform: scale(1); }
}

/* タイトル（本文） */
.page_top_live_title {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--black-color);
}

/* VIEW MORE：NEWSと同じm_more_linkを流用 */
.page_top_live_more {
  display: flex;
  justify-content: flex-end;
} 


@media screen and (min-width: 768px) {
  .page_top_live_list {
    margin-top: 56px;
  }

  .page_top_live_link {
    padding: 18px 24px;
  }

  .page_top_live_title {
    font-size: 16px;
    line-height: 1.7;
  }
}

@media screen and (min-width: 1080px) {
  .page_top_live .l_container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

    /* 左カラム：320固定。中のタイトルを中央へ */
  .page_top_live_left {
    flex: 0 0 320px;
    display: flex;
  }

  /* 右カラム：残り幅を使い、最大690で止める */
  .page_top_live_right {
    flex: 1 1 auto;
    width: 100%;
    max-width: 690px;
    min-width: 0;
    margin-left: auto;
  }

  .page_top_live_list {
    margin-top: 0;
  }

  .page_top_live_more {
    display: flex;
    justify-content: flex-end;
  }
}

@media screen and (min-width: 1440px) {
    .page_top_live .l_container {
        max-width: calc(var(--content-width-lg) + 32px);
    }

    /* 左カラム：400固定。中のタイトルを中央へ */
    .page_top_live_left {
    flex: 0 0 400px;
    display: flex;
  }
}

/* ========== TOP VIDEO (SP) ========== */
/* NEWSだけ上書き */
.page_top_video .l_contents {
  padding: 80px 0 120px;
  background: var(--bg-color);
}

@media screen and (min-width: 700px) {
  .page_top_video .l_contents {
    padding: 80px 0 160px;
}
}

@media screen and (min-width: 1000px) {
  .page_top_video .l_contents {
    padding: 80px 0 180px;
}
}

@media screen and (min-width: 1440px) {
  .page_top_video .l_contents {
    padding: 80px 0 200px;
}
}

.page_top_video {
  position: relative;
  z-index: 1;
}

/* 見出し：中央寄せ */
.page_top_video .m_section_title {
  text-align: center;
}

/* 「ビデオ」にトマトを左右に付ける（NEWS/LIVEと同じルール） */
.page_top_video .m_section_title-ja {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.page_top_video .m_section_title-ja::before,
.page_top_video .m_section_title-ja::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../img/tomato2.svg") no-repeat center / contain;
}

.page_top_video_right {
  max-width: 690px;
  margin-inline: auto; /* SP/TBは中央 */
}

/* スライダーも右幅に追従 */
.page_top_video_slider {
  width: 100%;
  margin-top: 40px;
  position: relative;
}

/* VIEW MORE は右カラム内で右寄せ */
.page_top_video_more {
  display: flex;
  justify-content: flex-end;
}

/* Track: いまは“1枚だけ見える”想定 */
/* .page_top_video_track {
  overflow: hidden;
} */

/*TODO: Swiper未導入時の仮実装（導入後は削除） */
.page_top_video_list { 
  display:flex; 
}

/* 1スライド */
.page_top_video_item {
  flex: 0 0 100%;
}

/* カード全体リンク */
.page_top_video_link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* サムネ（グレーの角丸ボックス） */
.page_top_video_thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d9d9d9;
  border-radius: 32px;
  overflow: hidden;
}

.page_top_video_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* タイトル（サムネの下） */
.page_top_video_caption {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--black-color);
}

.page_top_video_controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  position: relative;
  z-index: 10;
}

/* 矢印ボタン（左右） */
.page_top_video_nav {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 0;
  background: var(--gray-color02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 20;
}

/* 矢印アイコン */
.page_top_video_navIcon {
  font-size: 24px;
  height: 24px;
  color: var(--white-color);
  display: block;
}



/* ドット（中央） */
.page_top_video_pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

/* ドットの見た目 */
.page_top_video_dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(34, 34, 34, 0.25);
}

.page_top_video_dot.is-active {
  background: rgba(34, 34, 34, 1);
}

/* VIEW MORE */
.page_top_video_more {
  display: flex;
  justify-content: flex-end;
}

/* hover（PCだけ） */
@media (hover: hover) {
  .page_top_video_nav:hover,
  .page_top_video_dot:hover,
  .page_top_video_link:hover {
    opacity: 0.8;
  }
}

/* focus（キーボード） */
.page_top_video_nav:focus-visible,
.page_top_video_dot:focus-visible,
.page_top_video_link:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

@media screen and (min-width: 1080px) {
  .page_top_video .l_container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  /* 左カラム：NEWS/LIVEと同じ幅感に揃える（まず320） */
  .page_top_video_left {
    flex: 0 0 320px;
    display: flex;
  }

  /* 左の中身（EN/JA縦並び＆中央寄せ）は m_section_title が既にOK */
  .page_top_video .m_section_title {
    text-align: center;
  }

  /* 右カラム：残りを使いつつ、最大690で止める */
  .page_top_video_right {
    flex: 1 1 auto;
    width: 100%;
    max-width: 690px;
    min-width: 0;
    margin-left: auto;   /* ← 右へ寄せて左と“くっつける” */
    margin-inline: 0;    /* SP/TBのauto中央を打ち消し */
  }

  /* 右カラム内では上余白を消す（NEWS/LIVEと同じ） */
  .page_top_video_slider {
    margin-top: 0;
  }
}

@media screen and (min-width: 1440px) {
    .page_top_video .l_container {
        max-width: calc(var(--content-width-lg) + 32px);
    }

    /* 左カラム：400固定。中のタイトルを中央へ */
    .page_top_video_left {
    flex: 0 0 400px;
    display: flex;
  }
}

/* ========== TOP CONTACT (SP〜共通) ========== */
.page_top_contact {
  position: relative;
  background: var(--primary-color);
  color: var(--white-color);

  /* アーチ窓の高さ＝食い込み量（375→768→1080で自然に増える） */
  --arch-window: clamp(43px, 11.4vw, 124px);

  /* 窓の高さと同じだけ上を空ける */
  padding-top: var(--arch-window);
}

/* 窓の高さと同じだけ上に出す */
.page_top_contact_arch {
  position: absolute;
  top: calc(var(--arch-window) * -1);
  left: 0;
  width: 100%;
  height: var(--arch-window);
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* SVGを窓いっぱいに “下合わせ” で敷く */
.page_top_contact_archPic {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.page_top_contact_archImg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  display: block;
}


.page_top_contact .contact-title {
  margin-top: 60px;
}

/* ✅ 本文は必ずアーチより前へ */
.page_top_contact .l_container {
  position: relative;
  z-index: 2;
}


/* 中身は必ず上に乗せる */
.page_top_contact_inner {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 24px;
}

@media screen and (min-width: 768px) {
  .page_top_contact_inner {
    margin-top: 0px;
}
}

.page_top_contact_heading {
  text-align: center;
  margin: 0;
}

.page_top_contact .m_section_title {
  text-align: center;
}

.page_top_contact .m_section_title-ja{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.page_top_contact .m_section_title-ja::before,
.page_top_contact .m_section_title-ja::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../img/tomato3.svg") no-repeat center / contain;
}

/* リード文 */
.page_top_contact_text {
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0;
}


/* CTA */
.page_top_contact_cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .page_top_contact_cta {
    margin-top: 64px;
  }
}

/* ボタン（白丸＋影） */
.page_top_contact_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 200px;
  padding: 20px 26px;
  border-radius: 999px;
  background: var(--white-color);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

@media screen and (min-width: 1080px) {
  .page_top_contact_btn {
  gap: 11px;
  min-width: 300px;
  padding: 21px 83px;
  transition:
      transform 0.4s ease,
      opacity 0.4s ease;
}
}

/* ボタン内テキスト */
.page_top_contact_btnLabel {
  font-family: "Noto Sans jp", sans-serif;
  font-size: 14px;
  line-height: 1;
}

@media screen and (min-width: 1080px) {
  .page_top_contact_btnLabel {
  font-family: "Noto Sans jp", sans-serif;
  font-size: 16px;
  line-height: 1;
}
}

.page_top_contact_btnIcon {
  width: 22px;
  height: 18px;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}

.page_top_contact_btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

@media (hover: hover) {
  .page_top_contact_btn:hover {
    transform: translateY(2px);
  }
}

/* キーボード対応 */
.page_top_contact_deco:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

/* --------------- プロフィールリンクエリア全体 ----------------- */
.page_top_contact_profile {
  margin-top: 40px;
  display: flex;
  justify-content: center; /* 中央寄せ */
}

.page_top_contact_bottom--sp { 
  display: block; 
}

.page_top_contact_bottom--pc {
  display: none;
}

/* 768px〜 */
@media screen and (min-width: 768px) {
  .page_top_contact_bottom--sp {
    display: none;
  }

  .page_top_contact_bottom--pc {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 80px 16px 0;
  }
}

@media screen and (min-width: 960px) {
  .page_top_contact_bottom--pc {
    margin: 80px 32px 0;
  }
}

@media screen and (min-width: 1440px) {
    .page_top_contact_bottom--pc {
    margin: 24px 64px 0;
  }
}

/* リンク全体を包括するコンテナ */
.page_top_contact_profileLink {
  display: flex;
  align-items: flex-end; /* 画像の下揃えに合わせる */
  justify-content: center;
  text-decoration: none;
  position: relative;
  width: 100%;
  max-width: 500px; /* 広がりすぎ防止 */
  gap: 16px;
  margin-top: 51px;
}

@media screen and (min-width: 768px) {
  .page_top_contact_profile--pc {
    display: flex;
    align-items: flex-end;
    width: 60%;
  }
}

@media screen and (min-width: 1440px) {
    .page_top_contact_profile--pc {
    width: 26%;
  }
}

@media screen and (min-width: 1600px) {
    .page_top_contact_profile--pc {
    width: 23%;
  }
}

@media screen and (min-width: 768px) {
  .page_top_contact_profileLink--pc {
  display: flex;
  width: 100%;
  /* max-width: 400px; */
}
}


/* --- 写真部分 --- */
.page_top_contact_profileImg {
  flex: 0 0 140px;   /* 画像を固定幅に近づける */
  min-width: 0;      /* 余計なはみ出し防止 */
}

@media (min-width: 480px) {
  .page_top_contact_profileImg {
    flex-basis: 180px;
  }
}


.page_top_contact_profileImg img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- テキストエリア部分 --- */
.page_top_contact_profileInfo {
  padding-bottom: 60px; /* 写真の顔より少し上の位置に来るよう調整 */
  padding-left: 15px;
  position: relative;
}

.page_top_contact_group {
  display: flex;
  align-items: flex-end;
}

@media screen and (min-width: 768px) {
  .page_top_contact_group {
  position: absolute;
  bottom: 45px;
  pointer-events: none;
  left: 30px;

}
}

@media screen and (min-width: 1080px) {
  .page_top_contact_group {
  position: absolute;
  bottom: 82px;
  pointer-events: none;
  left: 50px;
}
}

@media screen and (min-width: 1440px) {
  .page_top_contact_group {
  position: absolute;
  bottom: 85px;
  pointer-events: none;
  left: 50px;
}
}


/* テキスト本体 */
.page_top_contact_profileText {
  font-family: "Huifont", "Noto Sans JP", sans-serif;
  color: var(--white-color);
  font-size: 12px;
  line-height: 100%;
  white-space: nowrap; /* 改行位置をHTMLのbrに委ねる */
}

/* 指アイコン */
.page_top_contact_profileIcon {
  display: inline-block;
  vertical-align: middle;
  transform: rotate(-30deg) translate(0px ,3px) ;
  width: 16px;
  height: 16px;
  height: auto;
}

@media screen and (min-width: 1080px) {
    .page_top_contact_profileText {
      letter-spacing: 0.1em;
      line-height: 180%;
    }
}

@media screen and (min-width: 1080px) {
  .page_top_contact_profileIcon {
  width: 30px;
}
}

/* --- 飾り線（2本線） --- */
.page_top_contact_profileLines {
  position: absolute;
  left: -10px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .page_top_contact_profileLines {
  left: 8px;
  bottom: 8px;
}
}

@media screen and (min-width: 1080px) {
  .page_top_contact_profileLines {
  left: 8px;
  bottom: 56px;
}
}

.page_top_contact_profileLines::before,
.page_top_contact_profileLines::after {
  content: "";
  position: absolute;
  background: var(--white-color);
  height: 1px;
}

/* 上の線 */
.page_top_contact_profileLines::before {
  width: 25px;
  top: -35px;
  left: 0;
  transform: rotate(-35deg);
}

@media screen and (min-width: 1080px) {
  .page_top_contact_profileLines::before {
  width: 40px;
}
}

@media screen and (min-width: 1440px) {
  .page_top_contact_profileLines::before {
  width: 50px;
  top: -45px;
  transform: rotate(340deg);
}
}

/* 下の線 */
.page_top_contact_profileLines::after {
  width: 25px;
  top: 15px;
  left: 0;
  transform: rotate(25deg);
}

@media screen and (min-width: 1080px) {
  .page_top_contact_profileLines::after {
    width: 40px;
  }
}

@media screen and (min-width: 1440px) {
  .page_top_contact_profileLines::after {
  width: 50px;
  transform: rotate(21deg);
}
}

.page_top_contact_copy {
  display: none;
}



@media screen and (min-width: 1440px) {
  .page_top_contact_bottom--pc {
    display: flex;
    align-items: flex-end;
  }

  .page_top_contact_copy {
    display: block;
    background: none;
    padding: 0;
    margin: 0;

    /* 中央配置 */
    width: auto;
    text-align: center;
    white-space: nowrap;
  }
}

.page_top_contact_profileImg--pc img,
.page_top_contact_profileImg img{
  display: block;
  animation: piko 1.5s ease-in-out infinite;
  will-change: transform;
  animation: piko 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ぴこぴこ定義（控えめ） */
@keyframes piko {
  0%, 20%, 100% { transform: translateY(0); }
  40%           { transform: translateY(5px); }
  }

/* 動きを減らしたい人への配慮 */
@media (prefers-reduced-motion: reduce) {
  .page_top_contact_profileImg--pc img,
  .page_top_contact_profileImg img{
    animation: none;
  }
}


/* ========== FOOTER ========== */
.page_top_footer {
  background: var(--white-color);
  position: relative;
  z-index: 10; /* CONTACTの重なりより上に来るように */
}

@media screen and (min-width: 1440px) {
  .page_top_footer {
    display: none;
}
}

@media screen and (min-width: 768px) {
  .page_top_contact_profile {
    display: none;
  }

  .page_top_contact_profileImg--pc {
    width: 35%;
  }

  .page_top_contact_profileText {
    font-size: 14px;
  }

  .page_top_contact_actions {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 24px;
    padding-bottom: 32px;
  }

  .page_top_contact_sns {
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

@media screen and (min-width: 1440px) {
  .page_top_contact_profileImg--pc {
    width: 70%;
  }
}


.page_top_footer_main {
  padding: 32px 0 0;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .page_top_footer_main {
    display: none;
  }
}

/* フッター内レイアウト */
.l_footer_inner {
  position: relative; /* TOPボタンの配置基準 */
  padding-bottom: 24px;
}

/* --- SNS Icons --- */
.page_top_footer_sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; 
}

@media screen and (min-width: 768px) {
  .page_top_footer_sns {
    flex-wrap: wrap; /* アイコンが多いので折り返し許可 */
    gap: 20px;
    max-width: 260px; /* 3列2行っぽく並ぶように制限 */
  }
}

.page_top_contact_snsLink--pc {
  display: block;
  width: 30px;
  height: 30px;
  opacity: 1;
  transition: opacity 0.3s;
}

.page_top_contact_snsLink--pc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page_top_footer_snsLink {
  display: block;
  width: 20px;
  height: 20px;
  opacity: 1;
  transition: opacity 0.3s;
}

.page_top_footer_snsLink img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page_top_footer_snsLink:focus-visible,
.m_page_top_btn:focus-visible{
  outline:2px solid var(--accent-color);
  outline-offset:3px;
}

/* Hover effect */
@media (hover: hover) {
  .page_top_footer_snsLink:hover {
    opacity: 0.7;
  }
}

/* --- Copyright --- */
.page_top_footer_copy {
  margin-top: 16px;
  color: var(--primary-color); /* 赤文字 */
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.1em;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
  line-height: 180%;
  font-weight: bold;
}

@media screen and (min-width: 500px) {
  .page_top_footer_copy {
    font-size: 10px;
  }
}

@media screen and (min-width: 1080px) {
  .page_top_footer_copy {
    font-size: 12px;
  }
}

.page_top_footer_copyBar {
  display: none;
}

@media (min-width: 768px) and (max-width: 1439.98px) {
  .page_top_footer_copyBar{
    display: block;
    padding-top: 24px;
    background: #fff;
    color: var(--primary-color);
    text-align: center;
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    letter-spacing: .1em;
    font-size: 12px;
  }

  /* 768〜1079は footer の通常コピーライトは使わないなら消す */
  .page_top_footer_copy{
    display: none;
  }
}


/* ========== Page Top Button (Image) ========== */
.m_page_top_btn {
  display: block;
  width: 35px;
  height: 43px;
  position: absolute;
  z-index: 2;
  /* アニメーション */
  transition: transform 0.3s ease;
}

@media screen and (min-width: 1080px) {
  .m_page_top_btn {
  width: 64px;
  height: 77px;
  }
}

.m_page_top_btn--top {
  position: absolute;
  right: 16px;
  bottom: 52px;
}


@media screen and (min-width: 768px) {
  .m_page_top_btn--top {
    display: none;
  }
}

.m_page_top_btn--sub {
    position: absolute;
    right: 0;
    bottom: 16px;
}

  /* 768px〜：ボタンは“パネル右下に乗る” */
@media screen and (min-width: 768px) {
  .m_page_top_btn--sub {
    position: absolute;
    right: 52px;
    top: -130px;
  }
}

@media screen and (min-width: 1080px) {
    .m_page_top_btn--sub {
    position: absolute;
    right: 40px;
    top: -190px;
  }
}

@media screen and (min-width: 1440px) {
    .m_page_top_btn--sub {
    position: absolute;
    right: -8px;
    top: -230px;
  }
}

/* Hover Animation */
.page_top_btn img {
  display: block;
  width: 100%;
  height: 100%;
}

.page_top_btn--pc{
  display: inline-block; /* transform効かせる用 */
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .page_top_btn--pc:hover,
  .m_page_top_btn:hover{
    transform: translateY(2px);
  }
}


/* =========================
  NEWS page（news.html）
========================= */
.page_news {
  background: var(--bg-color);
}

.page_news .page_news_section {
  padding: 64px 16px;
  background: transparent; /* SPは赤なし */
}

.page_news .page_news_panel {
  /* SPは白枠なし */
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

/* ページタイトル：中央 */
.page_news .page_news_title {
  text-align: center;
  margin-bottom: 40px;
}


/* 768px〜：赤背景＋白角丸パネル */
@media screen and (min-width: 768px) {
  .page_news .page_news_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }

  .page_news .page_news_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px 64px 80px;
    max-width: 960px;
    margin-inline: auto;
  }

  /* NEWS一覧はTOPと同じ幅690で中央寄せ済み */
  .page_news .page_top_news_list {
    margin-top: 0;
  }
}

/* 1080px〜： */
@media screen and (min-width: 1080px) {
  .page_news .page_news_section {
    padding: 120px 0px 80px;
  }

    .page_news .page_news_panel {
    padding: 80px 64px 120px;
    max-width: 960px;
    margin-inline: auto;
  }
}

/* 1440px〜： */
@media screen and (min-width: 1440px) {
  .page_news .page_news_section {
    padding: 150px 0px 100px;
  }

    .page_news .page_news_panel {
    padding: 80px 0px 120px;
    max-width: 1080px;
    margin-inline: auto;
  }

  .page_news .page_news_list {
    max-width: 900px;
  }
}

/* =========================
  LIVE page（live.html）
  ※ NEWSと見え方は同じ
========================= */
.page_live {
  background: var(--bg-color);
}

/* --- セクション全体 --- */
.page_live .page_live_section {
  padding: 64px 16px;
  background: transparent; /* SPは赤なし */
}

/* --- 白パネル --- */
.page_live .page_live_panel {
  background: transparent; /* SPは枠なし */
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

/* --- ページタイトル --- */
.page_live .page_live_title {
  text-align: center;
  margin-bottom: 40px;
}

/* --- LIVE一覧（TOP流用） --- */
.page_live .page_live_list {
  margin-top: 0;
}


/* =========================
  768px〜：赤背景＋白パネル
========================= */
@media screen and (min-width: 768px) {
  .page_live .page_live_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }

  .page_live .page_live_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px 64px 80px;
    max-width: 960px;
    margin-inline: auto;
  }

  /* 一覧は中央寄せ（690固定） */
  .page_live .page_live_list {
    max-width: 690px;
    margin-inline: auto;
  }
}

/* =========================
  1080px〜
========================= */
@media screen and (min-width: 1080px) {
  .page_live .page_live_section {
    padding: 120px 0 80px;
  }

  .page_live .page_live_panel {
    padding: 80px 64px 120px;
    max-width: 960px;
  }
}

/* =========================
  1440px〜
========================= */
@media screen and (min-width: 1440px) {
  .page_live .page_live_section {
    padding: 150px 0 100px;
  }

  .page_live .page_live_panel {
    padding: 80px 0 120px;
    max-width: 1080px;
  }

  /* 読み幅を少し広げる */
  .page_live .page_live_list {
    max-width: 900px;
  }
}
/* =========================
  VIDEO一覧
========================= */

/* --- セクション全体 --- */
.page_video .page_video_section {
  padding: 64px 16px;
  background: transparent; /* SPは赤なし */
}

.page_video {
  background: var(--bg-color);
}

/* 白パネル（SPは無し） */
.page_video .page_video_panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

.page_video_title {
  text-align: center;
  margin-bottom: 40px;
}

/* 一覧グリッド */
.page_video_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media screen and (min-width: 1080px) {
  .page_video_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1440px) {
  .page_video_panel {
    max-width: 1080px;
  }
}


/* カード */
.page_video_link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* サムネ（角丸なし） */
.page_video_thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d9d9d9;
  overflow: hidden; /* 角丸はしないが安全のため */
}

.page_video_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page_video_caption {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  font-family: "Noto Sans JP", sans-serif;
}

.page_video_date {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--black-color);
  font-family: "Noto Sans", sans-serif;
  line-height: 1;
  letter-spacing: 0;
}

@media screen and (min-width: 768px) {
  .page_video .page_video_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }

  .page_video .page_video_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px;
    max-width: 960px;
    margin-inline: auto;
  }

  .page_video .page_video_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 32px;
  }
}

@media screen and (min-width: 1080px) {
    .page_video .page_video_section  {
    padding: 120px 0 80px;
  }

  .page_video .page_video_panel {
    padding: 80px 64px 120px;
    max-width: 960px;
  }
}



/* =========================
  1440px〜
========================= */
@media screen and (min-width: 1440px) {
  .page_video .page_video_section {
    padding: 150px 0 100px;
  }

  .page_video .page_video_panel {
    padding: 80px 0 120px;
    max-width: 1080px;
    margin-inline:auto
  }

  /* 読み幅を少し広げる */
  .page_video .page_video_list {
    max-width: 984px;
    margin-inline: auto;
    grid-template-columns: repeat(2, 1fr); /* 2列固定のままにするなら */
    gap: 80px 24px; /* 好みで */
  }

  .page_video_caption {
    font-size: 16px;
  }

  .page_video_date {
    font-size: 15px;
  }
}

/* =========================
  DISCOGRAPHY 一覧
========================= */
/* --- セクション全体 --- */
.page_discography .page_disc_section {
  padding: 64px 16px;
  background: transparent; /* SPは赤なし */
}

.page_discography {
  background: var(--bg-color);
}

/* 白パネル（SPは無し） */
.page_discography .page_disc_panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

.page_discography .page_disc_title {
  text-align: center;
  margin-bottom: 40px;
}

/* フィルター */
.page_disc_filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 12px;
  margin-bottom: 40px;
}

.page_disc_filterBtn {
  appearance: none;
  border: 1px solid var(--black-color);
  background: var(--bg-color);
  color: var(--black-color);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-family: "Noto Sans JP", sans-serif;

  transition: transform 0.35s ease, opacity 0.35s ease;
}

@media (hover: hover) {
  .page_disc_filterBtn:hover {
    transform: translateY(2px);
    opacity: 0.85;
  }
}

@media (hover: hover) {
  .page_disc_filterBtn.is-active:hover,
  .page_disc_filterBtn[aria-pressed="true"]:hover {
    transform: none;
    opacity: 1;
  }
}

.page_disc_filterBtn.is-active:active,
.page_disc_filterBtn[aria-pressed="true"]:active {
  transform: none;
}

.page_disc_filterBtn:active {
  transform: translateY(1px);
}

.page_disc_filterBtn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}


.page_disc_filterBtn.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
  box-shadow: 2px 2px 2px rgba(51,51,51,0.25);
}

/* 一覧グリッド（SPは2列にしたい場合） */
.page_disc_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ←SPで2列（画像通り） */
  gap: 24px 24px;
}

.page_disc_link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.page_disc_thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #d9d9d9;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (hover: hover) {
  .is-article-link:hover .page_disc_thumb {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
}

.page_disc_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page_disc_caption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.08em;
  font-family: "Noto Sans JP", sans-serif;
}

.page_disc_meta {
  margin-top: 8px;
  font-size: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}

.page_disc_date {
  font-family: "Noto Sans", sans-serif;
  line-height: 100%;
  letter-spacing: 0;
}

.page_disc_release {
  letter-spacing: 0.02em;
  font-family: "Noto Sans JP", sans-serif;
}

.page_disc_cat {
  margin-top: 8px;
  font-size: 12px;
  color: var(--primary-color);
  letter-spacing: 0.02em;
  line-height: 100%;
}

/* まずデフォルトは「存在しない扱い」= 1行崩さない */
.page_disc_filterBreak{
  display: none;
}

/* 472px〜557pxだけ：Blu-ray/DVD と OTHER を2行目に揃える */
@media screen and (min-width: 472px) and (max-width: 557px) {
  .page_disc_filterBreak {
    display: block;
    flex-basis: 100%;
    height: 0;
  }
}


/* =========================
  768px〜：赤背景＋白パネル
========================= */
@media screen and (min-width: 768px) {
  .page_discography .page_disc_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }

  .page_discography .page_disc_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px 40px 80px;
    max-width: 960px;
    margin-inline: auto;
  }


  .page_disc_caption {
    margin-top: 16px;
    font-size: 15px;
}

.page_disc_meta {
  margin-top: 12px;
  font-size: 14px;
  }

.page_disc_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px; /* 3列時の隙間もここで確定 */
  }

}

/* =========================
  1080px〜
========================= */
@media screen and (min-width: 1080px) {
  .page_discography .page_disc_section {
    padding: 120px 0 80px;
  }

  .page_discography .page_disc_panel {
    padding: 80px 48px 120px;
    max-width: 960px;
  }

  .page_disc_filterBtn {
  padding: 10px 25px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-family: "Noto Sans JP", sans-serif;
}

.page_discography .page_disc_title {
  margin-bottom: 64px;
}

.page_disc_cat {
  margin-top: 12px;
  font-size: 14px;
  color: var(--primary-color);
  letter-spacing: 0.02em;
  line-height: 100%;
}

.page_disc_filter {
  gap: 16px;
  margin-bottom: 64px;
}

}

/* =========================
  1440px〜
========================= */
@media screen and (min-width: 1440px) {
  .page_discography .page_disc_section {
    padding: 150px 0 100px;
  }

  .page_discography .page_disc_panel {
    padding: 80px 0 120px;
    max-width: 1080px;
    margin-inline: auto;
  }

  /* 中身の読み幅を制御（VIDEOでやったのと同じ） */
  .page_discography .page_disc_list {
    max-width: 984px;
    margin-inline: auto;
  }

    .page_disc_caption {
    margin-top: 20px;
    font-size: 16px;
  }
}

/* =========================
  CONTACT（contact.html）
========================= */
.page_contact {
  background: var(--bg-color);
}

/* ---------- レイアウト・パネル ---------- */
.page_contact .page_contact_section {
  padding: 64px 16px;
  background: transparent;
}
@media screen and (min-width: 768px) {
  .page_contact .page_contact_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }
}
@media screen and (min-width: 1080px) {
  .page_contact .page_contact_section {
    padding: 120px 0 80px;
  }
}
@media screen and (min-width: 1440px) {
  .page_contact .page_contact_section {
    padding: 150px 0 100px;
  }
}

.page_contact .page_contact_panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .page_contact .page_contact_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px 64px 80px;
    max-width: 960px;
    margin-inline: auto;
  }
}
@media screen and (min-width: 1080px) {
  .page_contact .page_contact_panel {
    padding: 80px 64px 120px;
  }
}
@media screen and (min-width: 1440px) {
  .page_contact .page_contact_panel {
    padding: 80px 0 120px;
    max-width: 1080px;
  }
}

/* ---------- タイトル・リード文 ---------- */
.page_contact .page_contact_title {
  text-align: center;
  margin-bottom: 52px;
}

.page_contact .page_contact_lead {
  text-align: center;
  font-size: 15px;
  line-height: 160%;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}
@media screen and (min-width: 768px) {
  .page_contact .page_contact_lead {
    font-size: 16px;
    margin-bottom: 52px;
  }
}

/* ---------- フォーム全体ベース ---------- */
.page_contact .page_contact_form {
  max-width: 690px;
  margin-inline: auto;
}

.page_contact .page_contact_row {
  margin-top: 34px;
}

.page_contact .page_contact_labelRow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 8px;
}
/* CF7が勝手に出力する <p> タグの囲みを無効化してGridを復活させる */
.page_contact .page_contact_labelRow p {
  display: contents;
}

.page_contact .page_contact_label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 100%;
  color: var(--black-color);
}
@media screen and (min-width: 1080px) {
  .page_contact .page_contact_label {
    font-size: 16px;
    line-height: 180%;
  }
}

.page_contact .page_contact_hint {
  justify-self: end;
  font-size: 12px;
  color: var(--gray-color02);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@media screen and (min-width: 1080px) {
  .page_contact .page_contact_hint {
    font-size: 14px;
  }
}

.page_contact .page_contact_note {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--gray-color02);
  letter-spacing: 0.04em;
}

.page_contact_help {
  font-size: 12px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.02em;
  line-height: 180%;
  margin-top: 10px;
}

/* ---------- 必須/任意バッジ ---------- */
.page_contact .page_contact_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  /* width: 40px; */
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@media screen and (min-width: 1080px) {
  .page_contact .page_contact_badge {
    height: 24px;
    /* width: 46px; */
    padding: 5px 12px;
    font-size: 12px;
  }
}

.page_contact .page_contact_badge.is-required {
  background: var(--primary-color);
  color: var(--white-color);
}

.page_contact .page_contact_badge.is-optional {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

/* ---------- 入力エリア (input / textarea) ---------- */
.page_contact .page_contact_input,
.page_contact .page_contact_textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--gray-color02);
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  background: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .page_contact .page_contact_input,
  .page_contact .page_contact_textarea {
    padding: 12px 16px;
    font-size: 16px;
  }
}

.page_contact .page_contact_textarea {
  resize: vertical;
  min-height: 170px;
}
@media screen and (min-width: 1080px) {
  .page_contact .page_contact_textarea {
    min-height: 240px;
  }
}

/* ---------- ラジオボタン (CF7) ---------- */
/* CF7デフォルトのリストアイテムの左マージン(1em)を打ち消す */
.page_contact .wpcf7-list-item {
  margin: 0;
}

.page_contact .page_contact_radios .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  column-gap: 0px;
  margin-top: 8px;
}

.page_contact .page_contact_radios .wpcf7-list-item {
  margin: 0;
  flex: 0 0 calc((100% - 150px) / 3);
}

.page_contact .page_contact_radios label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page_contact .page_contact_radios .wpcf7-list-item-label,
.page_contact .page_contact_radios span {
  white-space: nowrap;
}

.page_contact .page_contact_radios input[type="radio"],
.page_contact input[type="radio"],
.page_contact input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: radio; /* checkboxは下で上書き */
  accent-color: var(--black-color);
  width: 22px;
  height: 22px;
  margin: 0;
}

.page_contact input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
}
@media screen and (min-width: 768px) {
  .page_contact input[type="radio"],
  .page_contact input[type="checkbox"] {
    width: 24px;
    height: 24px;
  }
}

/* ---------- 個人情報保護方針チェックボックス ---------- */
.page_contact .wpcf7-acceptance label {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .page_contact .wpcf7-acceptance label {
    font-size: 15px;
  }
}

.page_contact .page_contact_privacyLink {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}
@media (hover: hover) {
  .page_contact .page_contact_privacyLink:hover {
    opacity: 0.6;
  }
}

/* ---------- 送信ボタン ---------- */
.page_contact .page_contact_actions {
  margin-top: 76px;
  display: grid;
  place-items: center;
}
@media screen and (min-width: 1080px) {
  .page_contact .page_contact_actions {
    margin-top: 80px;
  }
}

.page_contact .page_contact_actions p {
  margin: 0;
}

.page_contact .page_contact_submit {
  width: min(300px, 100%);
  height: 45px;
  border-radius: 999px;
  border: 1px solid var(--primary-color);
  background-color: var(--white-color);
  color: var(--primary-color);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.25);
  letter-spacing: 0.1em;
  padding-right: 50px;
  background-image: url("/wp-content/themes/tomatomate/assets/img/tomato1.svg");
  background-repeat: no-repeat;
  background-size: 22px 18px;
  background-position: right 18px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.page_contact .page_contact_submit:hover,
.page_contact .page_contact_submit:focus-visible {
  transform: translateY(2px);
}

@media screen and (min-width: 768px) {
  .page_contact .page_contact_submit {
    width: 250px;
    height: 50px;
    font-size: 15px;
    padding-right: 52px;
    background-position: right 72px center;
  }

  .page_contact_lead .sp-only {
    display: none; /* 2つ目の改行を無効化して繋げる */
    }
}
@media screen and (min-width: 1080px) {
  .page_contact .page_contact_submit {
    width: 300px;
    height: 60px;
    font-size: 16px;
    padding-right: 60px;
    background-position: right 100px center;
  }
}

/* ---------- CF7 システムメッセージ ---------- */
.page_contact .wpcf7-form-control-wrap {
  display: block;
}
.page_contact .wpcf7 form.wpcf7-form p {
  margin: 0;
  padding: 0;
}
.page_contact .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
}
.page_contact .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 12px;
  color: var(--primary-color);
  letter-spacing: 0.02em;
}
.wpcf7-spinner {
  display: none;
}

@media screen and (max-width: 768px) {
  .page_contact .page_contact_input,
  .page_contact .page_contact_textarea,
  .page_contact .wpcf7 input[type="text"],
  .page_contact .wpcf7 input[type="email"],
  .page_contact .wpcf7 input[type="tel"],
  .page_contact .wpcf7 input[type="url"],
  .page_contact .wpcf7 input[type="number"],
  .page_contact .wpcf7 textarea,
  .page_contact .wpcf7 select {
    font-size: 16px;
  }
}


/* =========================
  VIDEO DETAIL（下層ページ）
========================= */
.page_videoDetail{
  background: var(--bg-color);
}

/* section（SPは赤なし） */
.page_videoDetail .page_videoDetail_section{
  padding: 64px 16px;
  background: transparent;
}

/* panel（SPは枠なし） */
.page_videoDetail .page_videoDetail_panel{
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

/* 記事（中身を中央に） */
.page_videoDetail .page_videoDetail_article{
  max-width: 690px;
  margin-inline: auto;
}

/* サムネ領域 */
.page_videoDetail_media{
  width: 100%;
}

.page_videoDetail_embedBox{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}

.page_videoDetail_embedBox iframe{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

/* タイトル + 日付 */
.page_videoDetail .page_videoDetail_head{
  margin-top: 20px;
}

.page_videoDetail .page_videoDetail_title{
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 100%;
}

@media screen and (min-width: 500px) {
  .page_videoDetail .page_videoDetail_title{
  font-size: 16px;
  }
}

.page_videoDetail .page_videoDetail_date{
  display: block;
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 120%;
  font-family: "Noto Sans", sans-serif;
}

@media screen and (min-width: 500px) {
  .page_videoDetail .page_videoDetail_date{
  font-size: 15px;
  }
}

/* BACK中央 */
.page_videoDetail .page_videoDetail_actions{
  margin-top: 52px;
  display: grid;
  place-items: center;
}

@media screen and (min-width: 768px){
  .page_videoDetail .page_videoDetail_section{
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }

  .page_videoDetail .page_videoDetail_panel{
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px 64px 80px;
    max-width: 960px;
    margin-inline: auto;
  }

  .page_videoDetail .page_videoDetail_article{
    max-width: 720px; /* 白パネル内の見た目が整う */
  }

  .page_videoDetail .page_videoDetail_thumb{
    aspect-ratio: 421 / 280; /* PCで少し縦を出す（画像の雰囲気に近い） */
  }
}

@media screen and (min-width: 1080px){
  .page_videoDetail .page_videoDetail_section{
    padding: 120px 0 80px;
  }

  .page_videoDetail .page_videoDetail_panel{
    padding: 80px 64px 120px;
    max-width: 960px;
  }

  .page_videoDetail .page_videoDetail_date{
    margin-top: 12px;
  }

  .page_videoDetail .page_videoDetail_actions{
    margin-top: 80px;
}
}

@media screen and (min-width: 1440px){
  .page_videoDetail .page_videoDetail_panel{
    padding: 80px 0 120px;
    max-width: 1080px;
  }
}
/* =========================
  NEWS DETAIL
========================= */
.page_newsDetail {
  background: var(--bg-color);
}

/* section（SPは赤なし） */
.page_newsDetail .page_newsDetail_section {
  padding: 64px 16px;
  background: transparent;
}

/* panel（SPは枠なし） */
.page_newsDetail .page_newsDetail_panel {
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

/* 記事（中身を中央に） */
.page_newsDetail .page_newsDetail_article {
  max-width: 690px;
  margin-inline: auto;
}

/* title */
.page_newsDetail .page_newsDetail_title {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  font-weight: 700;
}

/* date */
.page_newsDetail .page_newsDetail_date {
  display: block;
  font-size: 14px;
  color: var(--gray-color02);
  margin: 0 0 16px;
  font-family: "Noto Sans JP", sans-serif; /* ←修正 */
  line-height: 1;
  letter-spacing: 0.02em;
}

/* =========================
  本文（the_content想定：防御込み）
========================= */
.page_newsDetail .page_newsDetail_content {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere; /* 長いURL・英数字で横はみ出し防止 */
}

.page_newsDetail .page_newsDetail_content > *:first-child {
  margin-top: 0;
}

.page_newsDetail .page_newsDetail_content p {
  margin: 0 0 1.8em;
}

.page_newsDetail .page_newsDetail_content figure {
  margin: 0;
}

/* 画像・動画・埋め込みは幅からはみ出さない（画像混在対応） */

.page_newsDetail .page_newsDetail_content video,
.page_newsDetail .page_newsDetail_content iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.page_newsDetail .page_newsDetail_content img {
  width: auto;        /* ← これが重要 */
  max-width: 100%;    /* はみ出し防止 */
  height: auto;
  margin: 40px 0;     /* 左寄せ */
  display: block;
}

.page_newsDetail .page_newsDetail_content a {
  word-break: break-word;
}

/* WPの画像配置クラス（最低限） */
.page_newsDetail .page_newsDetail_content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page_newsDetail .page_newsDetail_content .alignleft {
  float: left;
  margin: 0 16px 16px 0;
  max-width: 50%;
}

.page_newsDetail .page_newsDetail_content .alignright {
  float: right;
  margin: 0 0 16px 16px;
  max-width: 50%;
}

/* float解除（回り込みが次の要素に残らないように） */
.page_newsDetail .page_newsDetail_content::after {
  content: "";
  display: block;
  clear: both;
}

/* 横スクロールになりやすい要素の保険 */
.page_newsDetail .page_newsDetail_content pre,
.page_newsDetail .page_newsDetail_content code {
  max-width: 100%;
  overflow-x: auto;
}

.page_newsDetail .page_newsDetail_content table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block; /* 狭い画面で表だけ横スクロールに逃がす */
}

/* 縦長がデカすぎるの防止（任意） */
@media screen and (min-width: 768px) {
  .page_newsDetail .page_newsDetail_content img {
    max-height: 80vh;
    object-fit: contain;
  }
}

/* =========================
  500px〜
========================= */
@media screen and (min-width: 500px) {
  .page_newsDetail .page_newsDetail_date {
    margin-bottom: 32px;
  }
}

/* =========================
  768px〜 赤背景＋白パネル
========================= */
@media screen and (min-width: 768px) {
  .page_newsDetail .page_newsDetail_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }

  .page_newsDetail .page_newsDetail_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px;
    max-width: 960px;
    margin: 0 auto;
  }

  .page_newsDetail .page_newsDetail_date {
    margin-bottom: 40px;
  }
}

/* =========================
  1080px〜
========================= */
@media screen and (min-width: 1080px) {
  .page_newsDetail .page_newsDetail_section {
    padding: 120px 0 80px;
  }

  .page_newsDetail .page_newsDetail_panel {
    padding: 80px 64px 120px;
    max-width: 960px;
  }

  .page_newsDetail .page_newsDetail_title {
    font-size: 20px;
  }

  .page_newsDetail .page_newsDetail_date {
    font-size: 15px;
    margin-bottom: 64px;
  }
}

/* =========================
  1440px〜
========================= */
@media screen and (min-width: 1440px) {
  .page_newsDetail .page_newsDetail_section {
    padding: 150px 0 100px;
  }

  .page_newsDetail .page_newsDetail_panel {
    padding: 80px 0px 120px;
    max-width: 1080px;
  }
}
/* =========================
  LIVE DETAIL
========================= */
.page_liveDetail {
  background: var(--bg-color);
}

/* section（SP） */
.page_liveDetail .page_liveDetail_section {
  padding: 64px 16px;
  background: transparent;
}

/* panel（SP） */
.page_liveDetail .page_liveDetail_panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

/* article（本文幅） */
.page_liveDetail .page_liveDetail_article {
  max-width: 670px;
  margin-inline: auto;
}

/* title */
.page_liveDetail .page_liveDetail_title {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 180%;
  letter-spacing: 0.02em;
  font-weight: bold;
}

/* meta（dl内のrow） */
.page_liveDetail .page_liveDetail_meta {
  margin: 0;
}

.page_liveDetail .page_liveDetail_row {
  margin: 0 0 32px;
}

/* label（左） */
.page_liveDetail .page_liveDetail_label {
  color: var(--primary-color);
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 100%;
  font-family: "Noto Sans", sans-serif;
}

/* value（右） */
.page_liveDetail .page_liveDetail_value {
  margin: 0;
  color: var(--black-color);
  font-size: 15px;
  line-height: 180%;
  letter-spacing: 0.02em;
  font-family: "Noto Sans JP", sans-serif; /* ←基本はJP */
}

/* Dayのtimeだけ Noto Sans */
.page_liveDetail .page_liveDetail_date {
  font-family: "Noto Sans JP", sans-serif;
}

/* Timeの値だけ Noto Sans（HTMLで--time付けた前提） */
.page_liveDetail .page_liveDetail_row--time .page_liveDetail_value {
  font-family: "Noto Sans", sans-serif;
}

.page_liveDetail .page_liveDetail_content img {
  width: auto;        /* ← これが重要 */
  max-width: 100%;    /* はみ出し防止 */
  height: auto;
  margin: 40px 0;     /* 左寄せ */
  display: block;
}


/* =========================
  the_content 防御（画像・URL・埋め込み）
========================= */
.page_liveDetail .page_liveDetail_content {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 180%;
  letter-spacing: 0.02em;
}

.page_liveDetail .page_liveDetail_content > *:first-child {
  margin-top: 0;
}

.page_liveDetail .page_liveDetail_content p {
  margin: 0 0 1.8em;
}

.page_liveDetail .page_liveDetail_content video,
.page_liveDetail .page_liveDetail_content iframe,
.page_liveDetail .page_liveDetail_content embed,
.page_liveDetail .page_liveDetail_content object {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Gutenbergで入ってきがちなラッパー保険 */
.page_liveDetail .page_liveDetail_content .wp-block-image,
.page_liveDetail .page_liveDetail_content .wp-block-embed,
.page_liveDetail .page_liveDetail_content .wp-block-video {
  max-width: 100%;
}

/* 表・preなど横はみ出し要素は横スクロールに逃がす */
.page_liveDetail .page_liveDetail_content table,
.page_liveDetail .page_liveDetail_content pre {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* 画像の上下余白（本文内） */
.page_liveDetail .page_liveDetail_content img {
  margin: 32px 0;
  width: auto;        /* ← これが重要 */
  max-width: 100%;    /* はみ出し防止 */
  height: auto;
  display: block;
}



/* 縦長（A4）暴走防止：任意だがおすすめ */
@media screen and (min-width: 768px) {
  .page_liveDetail .page_liveDetail_content img {
    max-height: 80vh;
    object-fit: contain;
  }
}

/* =========================
  768px〜（赤背景＋白パネル／2カラム）
========================= */
@media screen and (min-width: 768px) {
  .page_liveDetail .page_liveDetail_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }

  .page_liveDetail .page_liveDetail_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px;
    max-width: 960px;
    margin: 0 auto;
  }

  .page_liveDetail .page_liveDetail_article {
    max-width: 720px;
  }

  .page_liveDetail .page_liveDetail_title {
    margin-bottom: 40px;
  }

  .page_liveDetail .page_liveDetail_row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 24px;
    margin: 40px 0 0;
  }

  .page_liveDetail .page_liveDetail_label {
    margin: 0;
    align-self: start;
    line-height: 180%;
  }

  /* 右カラムが縮められるようにする（はみ出し防止の核心） */
  .page_liveDetail .page_liveDetail_value {
    min-width: 0;
  }
}

/* =========================
  1080px〜
========================= */
@media screen and (min-width: 1080px) {
  .page_liveDetail .page_liveDetail_section {
    padding: 120px 0 80px;
  }

  .page_liveDetail .page_liveDetail_panel {
    padding: 80px 64px 120px;
    max-width: 960px;
  }

  .page_liveDetail .page_liveDetail_title {
    font-size: 20px;
    margin-bottom: 64px;
  }

  .page_liveDetail .page_liveDetail_label,
  .page_liveDetail .page_liveDetail_value {
    font-size: 16px;
  }

  .page_liveDetail .page_liveDetail_row {
    column-gap: 80px;
  }
}

/* =========================
  1440px〜
========================= */
@media screen and (min-width: 1440px) {
  .page_liveDetail .page_liveDetail_section {
    padding: 150px 0 100px;
  }

  .page_liveDetail .page_liveDetail_panel {
    max-width: 1080px;
  }
}

/* =========================
  DISCOGRAPHY DETAIL
========================= */
.page_discographyDetail { background: var(--bg-color); }

.page_discographyDetail_section {
  padding: 64px 16px;
  background: transparent;
}

.page_discographyDetail_panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

.page_discographyDetail_jacket:empty{
  display: none;
}



@media (min-width: 768px) {
  .page_discographyDetail_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }
  .page_discographyDetail_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px;
    max-width: 960px;
    margin: 0 auto;
  }
}

.page_discographyDetail_jacket {
  width: 100%;
  margin: 0 0 24px;
}

.page_discographyDetail_jacket img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  align-items: center;
  justify-content: center;
}

/* PCでは左寄せ・サイズ抑えたいなら */
@media (min-width: 768px) {
  .page_discographyDetail_jacket {
    max-width: 360px;
    margin: 0 0 32px;
  }
}

.page_discographyDetail_title {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-weight: bold;
  margin: 0 0 10px;
}

.page_discographyDetail_meta { 
  margin-bottom: 32px; 
}

/* 日付 + RELEASE */
.page_discographyDetail_release {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* 日付（ACF） */
.page_discographyDetail_releaseDate {
  font-family: "Noto Sans", sans-serif;
}

/* RELEASE（固定文字） */
.page_discographyDetail_releaseSuffix {
  font-family: "Noto Sans JP", sans-serif;
}

.page_discographyDetail_type {
  color: var(--primary-color);
  letter-spacing: 0.02em;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.2;

}

.page_discographyDetail .entry-content {
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 180%;
}

.page_discographyDetail .entry-content img,
.page_discographyDetail .entry-content video,
.page_discographyDetail .entry-content iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.page_discographyDetail .page_discographyDetail_article {
  max-width: 690px;
  margin-inline: auto;
}

/* ジャケット：画像の基本（SPも含む） */
.page_discographyDetail_jacket img{
  width: 100%;
  height: auto;
  display: block;
}

/* YouTubeの比率固定（高さがおかしい対策） */
.page_discographyDetail_embedBox{
  margin: 24px 0;
  aspect-ratio: 16 / 9;
  width: 100%;
}
.page_discographyDetail_embedBox iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.single-discography .l_main{ flex: 0 0 auto; }
/* THANKSだけ main を伸ばさない */

.page_thanks .l_main{
  flex: 0 0 auto; /* = 伸びない */
}



/* =========================
  768px〜：PCだけ2カラム
========================= */
@media screen and (min-width: 768px) {

  /* 2カラムの親＝article */
  .page_discographyDetail .page_discographyDetail_article{
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    column-gap: 40px;
    align-items: start;
    max-width: 960px;   /* ここは好みで */
  }

  /* 左カラム：ジャケットを固定 */
  .page_discographyDetail .page_discographyDetail_jacket{
    grid-column: 1;
  }

  /* 右カラム：ジャケット以外を全部まとめて2列目に流す */
  .page_discographyDetail .page_discographyDetail_article > :not(.page_discographyDetail_jacket){
    grid-column: 2;
    min-width: 0; /* はみ出し防止（超重要） */
  }

  /* タイトルと日付の間隔はここで調整 */
  .page_discographyDetail .page_discographyDetail_title{
    font-size: 18px;
    line-height: 120%;
    margin: 0 0 24px;
  }
  .page_discographyDetail .page_discographyDetail_meta{
    margin: 0 0 24px;
  }

}

/* =========================
  1080px〜：PCだけ2カラム
========================= */
@media screen and (min-width: 1080px) {

  /* 2カラムの親＝article */
  .page_discographyDetail .page_discographyDetail_article{
    grid-template-columns: 240px minmax(0, 1fr);
    column-gap: 64px;
    max-width: 960px;
  }

  /* タイトルと日付の間隔はここで調整 */
  .page_discographyDetail .page_discographyDetail_title{
    font-size: 20px;
    line-height: 120%;
    margin: 0 0 32px;
  }
  .page_discographyDetail .page_discographyDetail_meta{
    margin: 0 0 32px;
  }
  .page_discographyDetail_embedBox{
  margin: 32px 0;
  }
  .page_discographyDetail_content.entry-content{
    font-size: 16px;
  }

}

/* =========================
  1440px〜：PCだけ2カラム
========================= */
@media screen and (min-width: 1440px) {
  .page_discographyDetail .page_discographyDetail_section {
    padding: 150px 0 100px;
  }
  .page_discographyDetail_panel {
    padding: 80px 64px 120px;
    max-width: 1080px;
  }

  /* 2カラムの親＝article */
  .page_discographyDetail .page_discographyDetail_article{
    grid-template-columns: 320px minmax(0, 1fr);
    column-gap: 64px;
    max-width: 1080px;
  }

  /* タイトルと日付の間隔はここで調整 */
  .page_discographyDetail .page_discographyDetail_title{
    font-size: 30px;
    line-height: 180%;
    margin: 0 0 12px;
  }
  .page_discographyDetail .page_discographyDetail_meta{
    margin: 0 0 40px;
  }

  .page_discographyDetail_embedBox{
  margin: 40px 0;
}

.page_discographyDetail_release {
  line-height: 1.8;
}

.page_discographyDetail_type {
  line-height: 1.8;
}
}

/* =========================
  PROFILE DETAIL
========================= */
.page_profileDetail { background: var(--bg-color); }

/* section（SP） */
.page_profileDetail .page_profileDetail_section {
  padding: 40px 16px 80px;
  background: transparent;
}

/* panel（SP：枠なし） */
.page_profileDetail .page_profileDetail_panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

/* article（本文幅） */
.page_profileDetail .page_profileDetail_article {
  max-width: 720px;
  margin-inline: auto;
}

/* 写真（SPは上） */
.page_profileDetail .page_profileDetail_photo {
  width: 100%;
  margin: 0 auto 32px;
  max-width: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page_profileDetail .page_profileDetail_photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page_profileDetail_bioItem {
  margin: 0 16px 0;
}

/* タイトル */
.page_profileDetail .page_profileDetail_title {
  margin: 0 auto 8px;
  font-size: 25px;
  line-height: 100%;
  letter-spacing: 0.1em;
  font-family: "Huifont", "Noto Sans JP", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page_profileDetail_photoWrap {
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央寄せ */
}


/* 肩書き */
.page_profileDetail .page_profileDetail_role {
  font-size: 15px;
  letter-spacing: 0.02em;
  font-family: "Noto Sans", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 自己紹介 */
.page_profileDetail_bioTitle{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--primary-color);
  letter-spacing: 0.02em;
  margin: 40px 0 16px;
}

/* SVGアイコン */
.page_profileDetail_bioIcon{
  width: 20px;
  height: 20px;
}


/* 本文 */
.page_profileDetail .page_profileDetail_content {
  font-size: 15px;
  line-height: 180%;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

/* Q&A */
.page_profileDetail .page_profileDetail_qa {
  margin: 32px 0;
}

.page_profileDetail .page_profileDetail_qaRow {
  display: flex;
  align-items: start;
}

/* Q&A セクション */
.page_profileDetail_qa{
  margin-top: 48px;
}

/* 見出し */
.page_profileDetail_qaTitle{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}

/* 🍅 */
.page_profileDetail_qaIcon{
  width: 18px;
  height: 18px;
}

/* 1問1答ブロック */
.page_profileDetail_qaItem{
  border-bottom: 2px solid var(--gray-color01);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 8px;
}

.page_profileDetail_qaItem:first-child .page_profileDetail_qaRow:first-child {
  margin-top: 0;
}


/* Q/A 行 */
.page_profileDetail_qaRow{
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Q / A 丸アイコン */
.page_profileDetail_qaLabel{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--black-color);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: "Huifont", "Noto Sans JP", sans-serif;
  margin-top: 3px;
}

.page_profileDetail_qaLabel.is-answer{
  background:var(--bg-color);
  color: var(--black-color);
  border: 1px solid var(--black-color);
  margin-top: 3px;
}

/* 質問 */
.page_profileDetail_qaQuestion{
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 160%;
}

/* 答え */
.page_profileDetail_qaAnswer{
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 160%;
}

.page_profileDetail_bioText {
  border-bottom: 2px solid var(--gray-color01);
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* =========================
  768px〜（赤背景＋白パネル／2カラム）
========================= */
@media screen and (min-width: 768px) {
  .page_profileDetail .page_profileDetail_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }

  .page_profileDetail .page_profileDetail_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px;
    max-width: 960px;
    margin: 0 auto;
  }

  .page_profileDetail_bioItem:first-child .page_profileDetail_bioTitle {
  margin-top: 0;
}



  .page_profileDetail .page_profileDetail_title {
    margin-top: 24px;
  }


  /* 2カラム */
  .page_profileDetail .page_profileDetail_article {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    column-gap: 48px;
    align-items: start;
    max-width: 960px;
  }

  .page_profileDetail .page_profileDetail_photo {
    margin: 0;
  }

  .page_profileDetail .page_profileDetail_main {
    min-width: 0; /* はみ出し防止 */
  }

  .page_profileDetail_qaItem:last-child {
    margin-bottom: 0px;
  }
}

/* =========================
  1080px〜
========================= */
@media screen and (min-width: 1080px) {
  .page_profileDetail .page_profileDetail_section {
    padding: 120px 0 80px;
  }

  .page_profileDetail .page_profileDetail_panel {
    padding: 80px 64px 120px;
    max-width: 960px;
  }

  .page_profileDetail .page_profileDetail_article {
    grid-template-columns: 280px minmax(0, 1fr);
    column-gap: 64px;
  }

  .page_profileDetail .page_profileDetail_title {
    margin-top: 32px;
    font-size: 32px;
    margin-bottom: 10px;
  }

  .page_profileDetail .page_profileDetail_role {
    font-size: 16px;
  }

  .page_profileDetail .page_profileDetail_content {
    font-size: 16px;
  }

  .page_profileDetail_qaItem:last-child {
    margin-bottom: 20px;
  }

}

/* =========================
  1440px〜
========================= */
@media screen and (min-width: 1440px) {
  .page_profileDetail .page_profileDetail_section {
    padding: 150px 0 100px;
  }

  .page_profileDetail .page_profileDetail_panel {
    max-width: 1080px;
  }

  .page_profileDetail .page_profileDetail_article {
    max-width: 1080px;
    grid-template-columns: 320px minmax(0, 1fr);
  }
}

/* =========================
  PROFILE (LIST)
========================= */
.page_profile {
  background: var(--bg-color);
}

/* 上段 */
.page_profile_hero {
  padding: 64px 0px 80px;
  position: relative; z-index: 0;
}

.page_profile_heroInner {
  max-width: 960px;
  margin-inline: auto;
}

/* 見出し（共通っぽく見えるように） */
.page_profile_heading {
  text-align: center;
  margin-bottom: 32px;
}

.page_profile_hero .page_profile_heading {
  margin-bottom: 42px;
}

.page_profile_title {
  font-family: "Limelight", serif;
  font-size: 40px;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  color: var(--black-color);
}

.page_profile_subTitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: "Huifont", "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  color: var(--black-color);
}

/* MEMBERセクションだけに tomato3 */
.page_profile_heading--member .m_section_title-ja{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.page_profile_heading--member .m_section_title-ja::before,
.page_profile_heading--member .m_section_title-ja::after{
  content: "";
  width: 16px;
  height: 16px;
  background: url("../img/tomato3.svg") no-repeat center / contain;
}

/* KV（写真） */
.page_profile_kv {
  margin: 24px auto 16px;
  max-width: 640px;
  position: relative;
}

/* 赤い“影” */
.page_profile_kv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page_profile_kv img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.page_profile_unitName {
  text-align: center;
  font-family: "Huifont", "Noto Sans JP", sans-serif;
  letter-spacing: 0.1em;
  line-height: 160%;
  font-size: 18px;
  margin: 32px 0 40px;
  color: var(--black-color);
}

.page_profile_text {
  max-width: 567px;
  margin-inline: auto;
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--black-color);
}

.page_profile_text p {
  margin: 0 0 18px;
  font-size: 15px;
  text-align: left;
}

@media screen and (min-width: 768px) {
  .page_profile_unitName {
  line-height: 160%;
  font-size: 24px;
  margin: 32px 0 40px;
}
}

@media screen and (min-width: 1080px) {
    .page_profile_unitName {
  font-size: 32px;
  margin: 40px 0 48px;
}
}

/* =========================
  MEMBER（赤背景＋カーブ）
========================= */
/* 赤セクション内の見出し */
.page_profile_heading--member {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.page_profile_memberTitle {
  font-family: "Limelight", serif;
  font-size: 40px;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  color: #fff;
}

.page_profile_memberSub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: "Huifont", "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  color: #fff;
}

.page_profile_memberSubIcon {
  width: 10px;
  height: 10px;
  background: url("./../img/tomato2.svg") no-repeat center / contain;
  display: inline-block;
  filter: brightness(100);
}

.page_profile_cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr)); /* ← SPでも2列 */
  gap: 15px; /* 今の見た目に合わせて */
  justify-items: center;

  /* ★ここがポイント：カード群の最大幅を固定 */
  width: min(720px, 100%);
  margin-inline: auto;
}

.page_profile_card {
  width: 100%;
  max-width: 300px;
}

.page_profile_cardLink {
  width: 100%;
  min-width: 0; /* 164px固定を無効化 */
  display: block;
  text-align: center;
  margin-inline: auto;
  max-width: 328px;
}

/* 写真 */
.page_profile_cardImg {
  width: 100%;
  max-width: 328px; /* 画像もカードに合わせる */
  margin: 0 auto 12px;
}

.page_profile_cardImg img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* 名前/役割 */
.page_profile_cardName {
  margin: 0 0 2px;
  font-family: "Huifont", "Noto Sans JP", sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(18px, 4vw, 32px);
  line-height: 1.6;
}

.page_profile_cardRole {
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: 0.02em;
  font-size: clamp(14px, 3.2vw, 16px);
}

/* ボタン（ピル） */
.page_profile_cardBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:var(--white-color);
  color: var(--primary-color);
  letter-spacing: 0.02em;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
  font-size: clamp(12px, 3vw, 15px);
  min-width: clamp(153px, 40vw, 240px);
  height: clamp(40px, 9vw, 60px);

  /* ホバー */
  transition:transform 0.4s ease,opacity 0.4s ease;
}

.page_profile_cardLink:hover .page_profile_cardBtn {
  transform: translateY(2px);
}

.page_profile_cardLink:focus-visible .page_profile_cardBtn {
    transform: translateY(2px);
  }

.page_profile .l_footer_sub {
  background: var(--primary-color);
  position: relative;
}

.page_profile .l_footer_sub_inner{
  position: static; /* ← これが重要！ */
}

.page_profile .m_page_top_btn--sub{
  position: absolute;
  right: 16px;   /* SP */
  bottom: 32px;  /* いったん footer内に置く */
}

.page_profile .l_footer_sub_copy {
  color: var(--white-color); 
}

@media screen and (min-width: 500px) {
  .page_profile_hero {
  padding-bottom: 120px;
  }
}

/* =========================
  768px〜
========================= */
@media screen and (min-width: 768px) {
  .page_profile_hero {
  padding-bottom: 180px;
}

  .page_profile_heading--member {
    margin-bottom: 80px;
  }

  .page_profile_title,
  .page_profile_memberTitle {
    font-size: 48px;
  }

  .page_profile_text {
    font-size: 15px;
  }

  .page_profile_cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  .page_profile_cards{
    gap: 48px;
  }

  .page_profile_cardName {
  margin: 24px 0 8px;
}

.page_profile_cardRole {
  margin: 0 0 32px;
}

.page_profile .m_page_top_btn--sub {
    position: absolute;
    right: 32px;
    top: -60px;
  }

}


/* =========================
  1080px〜
========================= */
@media screen and (min-width: 1080px) {
  .page_profile_heading--member {
    margin-bottom: 100px;
  }

  .page_profile_hero {
  padding-bottom: 200px;  
  }

  .page_profile_kv {
    max-width: 720px;
  }

  .page_profile_card {
  width: 100%;
  max-width: 328px;
  }

  /* 写真 */
.page_profile_cardImg {
  width: 100%;
  max-width: 328px; /* 画像もカードに合わせる */
  margin: 0 auto 12px;
}

  .page_profile_cardName {
  margin: 24px 0 8px;
}

.page_profile_cardRole {
  margin: 0 0 40px;
}

.page_profile .m_page_top_btn--sub {
    right: 64px;
    bottom: 64px; 
  }
}
/* =========================
  PROFILE MEMBER（TOPと同じアーチ窓方式）
========================= */
.page_profile_member{
  position: relative;
  z-index: 1;
  background: var(--primary-color);
  color: var(--white-color);

  /* アーチ窓の高さ（TOPと同じ） */
  --arch-window: clamp(43px, 11.4vw, 124px);

  /* ✅ ここだけ可変にして “空きすぎ” を吸収する */
  /* 画面が大きいほど詰める（vwをマイナス方向に効かせる） */
  --member-top-space: clamp(-32px, -2vw, 8px);

  /* ✅ paddingショートハンド禁止：上書き事故を防ぐ */
  padding-top:calc(var(--arch-window) + var(--member-top-space));
  padding-bottom: 64px;
}

/* 中身はアーチより前へ */
.page_profile_memberInner{
  position: relative;
  z-index: 2;
}

/* PROFILEだけ：窓に必ず収めたい場合（TOPは崩さない） */
.page_profile_arch .page_top_contact_archImg{
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  max-width: none;
}

/* =========================
  768px〜（下余白だけ変える）
========================= */
@media screen and (min-width: 768px){
  .page_profile_member{ padding-bottom: 140px; 

  --member-top-space: -40px;
  }
}

/* =========================
  1080px〜（下余白だけ変える）
========================= */
@media screen and (min-width: 1080px){
  .page_profile_member{ padding-bottom: 160px; 
  
    --member-top-space: -80px;
  }
}


#top { scroll-margin-top: 80px; }

/* =========================
  Opening (Loading)
========================= */
.loading {
  position: fixed;
  inset: 0;                 /* top/left/right/bottom:0 の短縮 */
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background:var(--bg-color);

  display: flex;
  align-items: center;
  justify-content: center;

  /* 背景が最後に消える（記事は 1.5s 2.5s） */
  animation: loading-fadeout 1.5s 2.5s forwards;
}

@keyframes loading-fadeout {
  0% { opacity: 1; }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.loading__logo {
  width: 126px;   /* ←ここをあなた用に変更 */
  opacity: 0;
  animation: logo-fade-simple 2.5s 0.5s forwards;

  /* ロゴが出て→消える（記事は 2s 0.5s） */
  /* animation: logo-fade 2s 0.5s forwards; */
}

@keyframes logo-fade-simple {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* 画面が大きい時だけロゴを少し大きく（任意） */
@media screen and (min-width: 768px) {
  .loading__logo { width: 180px; }
}

@media screen and (min-width: 1440px) {
  .loading__logo { width: 200px; }
}

/* 動きを減らしたい設定の人への配慮（推奨） */
@media (prefers-reduced-motion: reduce) {
  .loading,
  .loading__logo {
    animation: none;
  }
  .loading { display: none; }
}

/* TOP以外ではレイヤーを出さない（kvLayerはTOP専用） */
body:not(.page_top) .kvLayer { display: none; }

/* scrollLayerはTOPだけ特殊スクロールにする。TOP以外は通常ページ */
body:not(.page_top) .scrollLayer {
  position: static;
  height: auto;
  overflow: visible;
}

/* ===== PROFILE footer 上書き ===== */
/* PROFILEページだけ：全幅で赤背景＋白コピーライト */
.page_profile .l_footer_sub {
  background: var(--primary-color);
}

.page_profile .l_footer_sub_copy {
  color: var(--white-color);
}

/* =========================
  THANKS（page-thanks.php）
========================= */
/* THANKSだけ：bodyのflexレイアウトを無効化 */
body.page_thanks{
  display: block;
  min-height: auto; /* 必要なら */
}

/* THANKSページだけTOPボタンを消す */
body.page_thanks .m_page_top_btn{
  display: none;
}

.page_thanks_section{
  padding: 64px 16px;
  background: var(--bg-color);
}

.page_thanks_panel{
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
  text-align: center;
}

.page_thanks_title{
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 180%;
}

.page_thanks_text{
  margin-top: 32px;
  font-size: 15px;
  line-height: 180%;
  letter-spacing: 0em;
}

/* =========================
  768px〜（赤背景＋白パネル）
========================= */
@media screen and (min-width: 768px) {
  .page_thanks_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }

  .page_thanks_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
  }
}

/* =========================
  1080px〜（赤背景＋白パネル）
========================= */

@media screen and (min-width: 1080px) {
  .page_thanks_section { padding: 120px 0 80px; }
  .page_thanks_panel { padding: 80px 64px 120px; max-width: 960px; }
}

@media screen and (min-width: 1440px) {
  .page_thanks_section { padding: 150px 0 100px; }
  .page_thanks_panel { max-width: 1080px; }
}


/* =========================
  PRIVACY POLICY
========================= */

/* 全体背景（SP） */
.page_privacy {
  background: var(--bg-color);
}

/* =========================
  section（SP）
========================= */
.page_privacy .page_privacy_section {
  padding: 64px 16px;
  background: transparent;
}

/* =========================
  panel（SP：枠なし）
========================= */
.page_privacy .page_privacy_panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

/* =========================
  article（本文幅）
========================= */
.page_privacy .page_privacy_article {
  max-width: 720px;
  margin-inline: auto;
}

/* =========================
  title
========================= */
.page_privacy .page_privacy_title {
  margin: 0 0 64px;
  font-size: 18px;
  line-height: 180%;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-align: center;
}

/* =========================
  本文エリア（WP想定の防御込み）
========================= */
.page_privacy .page_privacy_content {
  font-size: 15px;
  line-height: 180%;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page_privacy .page_privacy_content > *:first-child {
  margin-top: 0;
}

.page_privacy .page_privacy_content h2 {
  margin: 40px 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.page_privacy .page_privacy_content ul,
.page_privacy .page_privacy_content ol {
  margin: 0 0 1.6em;
  padding-left: 1.2em;
}

.page_privacy .page_privacy_content li {
  margin: 0.4em 0;
}

/* はみ出し防止（画像・動画など） */
.page_privacy .page_privacy_content img,
.page_privacy .page_privacy_content video,
.page_privacy .page_privacy_content iframe,
.page_privacy .page_privacy_content embed,
.page_privacy .page_privacy_content object {
  max-width: 100%;
  height: auto;
  display: block;
}

.page_privacy .page_privacy_content table,
.page_privacy .page_privacy_content pre {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* =========================
  下線リンク
========================= */
.u_linkLine {
  color: var(--black-color);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

.u_linkLine:hover {
  opacity: 0.7;
}

/* リンクを確実にクリック可能にする（privacy限定） */
body.page_privacy .entry-content a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  text-decoration: underline;
  text-underline-offset: 0.18em; /* 線と文字の距離 */
  text-decoration-thickness: 1px; /* 線の太さ */
  text-decoration-skip-ink: auto; /* 文字に被りにくい */
  transition: opacity 0.25s ease, text-decoration-thickness 0.25s ease;
}

/* もしパネルの疑似要素があるなら、クリックを邪魔しない */
body.page_privacy .page_privacy_panel::before,
body.page_privacy .page_privacy_panel::after {
  pointer-events: none;
}

/* ホバーできる環境だけ hover を効かせる（スマホ誤反応防止） */
@media (hover: hover) {
  body.page_privacy .page_privacy_content.entry-content a:hover {
    opacity: 0.75;
    text-decoration-thickness: 2px; /* ホバーで少し強調 */
  }
}

/* キーボード操作でも分かるように（アクセシビリティ） */
body.page_privacy .page_privacy_content.entry-content a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}


/* =========================
  768px〜（赤背景＋白パネル）
========================= */
@media screen and (min-width: 768px) {

  .page_privacy .page_privacy_section {
    padding: 80px 32px 64px;
    background: var(--primary-color);
  }

  .page_privacy .page_privacy_panel {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 64px;
    max-width: 960px;
    margin: 0 auto;
  }

  .page_privacy .page_privacy_title {
    font-size: 20px;
    margin-bottom: 40px;
  }
}

/* =========================
  1080px〜
========================= */
@media screen and (min-width: 1080px) {

  .page_privacy .page_privacy_section {
    padding: 120px 0 80px;
  }

  .page_privacy .page_privacy_panel {
    padding: 80px 64px 120px;
    max-width: 960px;
  }

  .page_privacy .page_privacy_title {
    font-size: 22px;
    margin-bottom: 56px;
  }

  .page_privacy .page_privacy_content h2 {
    margin: 56px 0 16px;
  }
}

/* =========================
  1440px〜
========================= */
@media screen and (min-width: 1440px) {

  .page_privacy .page_privacy_section {
    padding: 150px 0 100px;
  }

  .page_privacy .page_privacy_panel {
    max-width: 1080px;
  }
}

.page_privacy .page_privacy_content p {
  margin: 0 0 1.6em;
  font-size: 15px;
  line-height: 180%;
  letter-spacing: 0.02em;
}

.page_privacy .page_privacy_content h2 {
  margin: 48px 0 16px;
}

/* =========================
   404 (WordPress)  ※bodyに error404 が付く
========================= */
body.error404 {
  background: var(--bg-color, #f2f2f2); /* SPは白/薄グレー側に */
}

/* セクション余白 */
body.error404 .page_404_section {
  padding: 96px 16px 80px;
}

/* 中央寄せ */
body.error404 .page_404_inner {
  width: min(100%, 960px);
  margin-inline: auto;
}

/* カード（SPは枠なし・背景なしでもOK） */
body.error404 .page_404_card {
  text-align: center;
}

body.error404 .page_404_title {
  margin: 0 0 28px;
  font-size: clamp(20px, 4.8vw, 24px);
  line-height: 1.25;
}

body.error404 .page_404_text {
  margin: 0 0 56px;
  line-height: 1.9;
  opacity: 0.8;
  font-size: 15px;
  letter-spacing: 0em;
}

/* ボタン位置 */
body.error404 .page_404_actions {
  display: flex;
  justify-content: center;
}

/* 768px〜：赤背景＋白パネル */
@media screen and (min-width: 768px) {
  body.error404 {
    background: var(--primary-color, #E2031B);
  }

  body.error404 .page_404_section {
    padding: 120px 24px 96px;
  }

  body.error404 .page_404_card {
    background: #fff;
    border-radius: 30px;
    padding: 80px 64px;
    box-shadow: 0 18px 30px rgba(0,0,0,0.12);
  }

  body.error404 .page_404_title {
  margin: 0 0 64px;
}

body.error404 .page_404_text {
  margin: 0 0 64px;
}
}

/* 1080px〜：上下余白拡張 */
@media screen and (min-width: 1080px) {
  body.error404 .page_404_section {
    padding: 140px 24px 110px;
  }
}


/* reCAPTCHAバッジを非表示にする（Google公式で許可された方法） */
.grecaptcha-badge { visibility: hidden; }


/* --- 言語切り替え：プライバシーポリシーのチェックボックス --- */

/* 1. 基本（日本語）の時は、英語のテキストを隠す */
.privacy-text-en {
    display: none;
}

/* 2. htmlのlang属性が「en」を含んでいる時（英語ページの時） */
html[lang*="en"] .privacy-text-en {
    display: inline; /* 英語を表示する */
}
html[lang*="en"] .privacy-text-ja {
    display: none; /* 日本語を隠す */
}

/* 下層ページ本文リンクを青にする */
.entry-content a {
  color:#1a73e8; 
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.25s ease;
}

@media (hover: hover) {
  .entry-content a:hover {
    opacity: 0.7;
  }
}

.entry-content a:visited {
  color: #551a8b;
}


.page_top_footer{
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

