html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*====================================================================
全ページ共通CSS
====================================================================*/
*,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}

body {
  background-color: #fff;
  font-size: 18px;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  letter-spacing: 0.05em;
  font-feature-settings: "palt" 1; /* プロポーショナル詰め */
  background: #f5f5f5;
  overflow-wrap: break-word; /* 長い単語を適切に折り返し */
  word-break: normal; /* 通常の単語境界で改行 */
  line-break: strict; /* 日本語の厳格な改行規則 */
  hyphens: auto;
}
/* --- カスタムカーソルのスタイル ---
   カメラの AF 枠（16:9 の四隅のカギ）＋中心の十字。.main-cursor 自体はマウス位置にある大きさ 0 の点で、
   中の十字はぴったり、枠は main.js が入れる --cursor-lag-x/y の分だけ遅れてついてくる。
   リンク等に乗ると枠がキュッと縮む（ピントが合う動き）。 */
.main-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 9999; /* 常に最前面に表示 */
  pointer-events: none; /* マウスイベントを透過 */
  color: #fff;
  mix-blend-mode: difference; /* 明るい背景の上では黒く反転して見える */
  transition: opacity 0.15s ease-out;
}

.main-cursor_frame,
.main-cursor_center {
  position: absolute;
  top: 0;
  left: 0;
}

.main-cursor svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--cursor-stroke);
}

.main-cursor_frame {
  width: var(--cursor-frame-w);
  aspect-ratio: 16 / 9; /* 映像の画角 */
  transform: translate(calc(-50% + var(--cursor-lag-x, 0px)), calc(-50% + var(--cursor-lag-y, 0px)));
  transition: width 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

.main-cursor_center {
  width: var(--cursor-center-size);
  height: var(--cursor-center-size);
  transform: translate(-50%, -50%);
}

/* リンク・ボタン等に乗ったとき：枠がキュッと寄る */
.main-cursor.hover .main-cursor_frame {
  width: var(--cursor-frame-w-hover);
}

@media (prefers-reduced-motion: reduce) {
  .main-cursor_frame {
    transition: none;
  }
}

:root {
  --cursor-frame-w: 44px; /* 16:9 → 高さ約 25px */
  --cursor-frame-w-hover: 32px; /* 16:9 → 高さ 18px */
  --cursor-center-size: 10px;
  --cursor-stroke: 1.25px;
}

/* YouTube などの iframe の上・ウィンドウの外ではカスタムカーソルを隠す
   （iframe の中ではマウスの動きが親ページに届かず、カーソルが境目で止まってしまうため） */
.main-cursor.is-hidden {
  opacity: 0;
}

/* カスタムカーソルがあるページ（PC）では、ボタンやリンクでも指のカーソルを出さない
   （destyle.css の button / label の cursor: pointer などが * の cursor: none より優先されてしまうため） */
@media (min-width: 769px) {
  html:has(.main-cursor) *,
  html:has(.main-cursor) *::before,
  html:has(.main-cursor) *::after {
    cursor: none !important;
  }
}

/* --- YouTube 自前プレイヤー（共通部品：main.js の createYTPlayer） ---
   iframe は pointer-events: none にしてマウスを親ページで受け取り、カスタムカーソルを動画の上でも動かす */
:root {
  --yt-bar-color: #fff;
  --yt-bar-bg: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.65));
  --yt-track-color: rgba(255, 255, 255, 0.35);
  --yt-btn-size: 40px;
  --yt-icon-size: 22px;
  --yt-bar-gap: 8px;
  --yt-bar-padding: 32px 12px 8px;
  --fs-yt-time: 12px;
  --duration-yt-bar: 0.3s;
  --yt-hint-bg: rgba(0, 0, 0, 0.5);
  --yt-hint-border: rgba(255, 255, 255, 0.5);
  --yt-hint-icon-size: 16px;
  --fs-yt-hint: 12px;
}

.yt-player {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
  color: var(--yt-bar-color);
}

.yt-player_media,
.yt-player_media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.yt-player iframe {
  pointer-events: none;
}

/* 全面のクリック層（クリック／タップで再生・一時停止） */
.yt-player_hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.yt-player_bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--yt-bar-gap);
  padding: var(--yt-bar-padding);
  background: var(--yt-bar-bg);
  transition: opacity var(--duration-yt-bar) ease;
}

/* 再生中にマウスが止まったら隠す（一時停止中は常に表示） */
.yt-player.is-idle .yt-player_bar {
  opacity: 0;
  pointer-events: none;
}

.yt-player_btn {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--yt-btn-size);
  height: var(--yt-btn-size);
  color: inherit;
  border-radius: 50%;
}

.yt-player_btn[hidden] {
  display: none;
}

/* ミュート中の「音声をオン」案内（左下・操作バーの上。操作バーが隠れても出し続ける） */
.yt-player_hint {
  position: absolute;
  left: 12px;
  bottom: calc(var(--yt-btn-size) + 20px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--yt-hint-border);
  border-radius: 999px;
  background-color: var(--yt-hint-bg);
  color: var(--yt-bar-color);
  font-size: var(--fs-yt-hint);
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.yt-player_hint[hidden] {
  display: none;
}

.yt-player_hint .yt-icon {
  width: var(--yt-hint-icon-size);
  height: var(--yt-hint-icon-size);
}

.yt-player_hint:focus-visible {
  outline: 2px solid var(--yt-bar-color);
  outline-offset: 2px;
}

.yt-icon {
  width: var(--yt-icon-size);
  height: var(--yt-icon-size);
  display: block;
}

.yt-player.is-playing .yt-icon-play,
.yt-player.is-paused .yt-icon-pause,
.yt-player.is-muted .yt-icon-sound,
.yt-player:not(.is-muted) .yt-icon-muted,
.yt-player.is-fullscreen .yt-icon-fs-enter,
.yt-player:not(.is-fullscreen) .yt-icon-fs-exit {
  display: none;
}

.yt-player_btn:focus-visible,
.yt-player_seek:focus-visible {
  outline: 2px solid var(--yt-bar-color);
  outline-offset: 2px;
}

/* シークバー（input[type=range]） */
.yt-player_seek {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 20px;
  background: transparent;
  --yt-progress: 0%;
}

.yt-player_seek::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--yt-bar-color) var(--yt-progress),
    var(--yt-track-color) var(--yt-progress)
  );
}

.yt-player_seek::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: var(--yt-track-color);
}

.yt-player_seek::-moz-range-progress {
  height: 3px;
  border-radius: 2px;
  background: var(--yt-bar-color);
}

.yt-player_seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--yt-bar-color);
}

.yt-player_seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--yt-bar-color);
}

.yt-player_time {
  flex-shrink: 0;
  font-size: var(--fs-yt-time);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  :root {
    --yt-btn-size: 36px;
    --yt-icon-size: 20px;
    --yt-bar-gap: 4px;
    --yt-bar-padding: 24px 6px 4px;
    --fs-yt-time: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yt-player_bar {
    transition: none;
  }
}

.title-font {
  font-family: "trajan-sans-pro", sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.sp-indent {
  display: none;
}

@media (max-width: 768px) {
  .sp-indent {
    display: block;
  }
  .main-cursor {
    display: none !important;
    cursor: none !important;
  }
  .entrance-cursor {
    display: none !important;
    cursor: none !important;
  }
}

.materials_btn {
  /* width: 240px;
  height: 80px; */
  padding: 4px 8px;
  background-color: #fff;
  /* display: flex; */
  /* align-items: center;
  justify-content: center; */
  transition: 0.3s;
  width: fit-content;
  margin-top: 16px;
}

.materials_btn:hover {
  background-color: #000;
}

.materials_btn p a {
  font-size: 0.9em !important;
  color: #000 !important;
  font-weight: 900;
  transition: 0.3s;
}

.materials_btn:hover p a {
  color: #fff !important;
}
/*====================================================================
ヘッダー
====================================================================*/

/*====================================================================
フッター
====================================================================*/

body .body_bg {
  width: 100dvw;
  height: 100dvh;
  position: fixed;
  left: 0;
  top: 0;
  -o-object-fit: cover;
  object-fit: cover;
  /* filter: brightness(60.8%); */
}

body .body_bg video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

@media (max-width: 768px) {
  body .body_bg video {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    /* filter: brightness(60.8%); */
  }
}

/*====================================================================
top-page
====================================================================*/
/* .page_load {
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  z-index: 9999;
  background: url(https://rproduction-city.com/wp-content/uploads/2023/10/top_mv.mp4);
  background-size: cover;
  background-position: 0 0;
  background-repeat: no-repeat;
}
.page_load img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.top_hero {
  position: relative;
  width: 100dvw;
  height: 100dvh;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
}

.top_hero .top_hero-title {
  padding-left: 10%;
  width: 62%;
}

.top_hero .top_hero-title h1 {
  font-size: 6.8vw;
  font-family: "trajan-sans-pro", sans-serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-align: center;
  color: #fff;
}

.top_hero .top_nav_area {
  position: relative;
  width: 38%;
}

.top_hero .top_nav_area::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  background-color: #fff;
  top: 0;
  left: 14%;
}

.top_hero .top_nav_area .top_nav .top_nav_ul {
  padding-left: 24%;
}

.top_hero .top_nav_area .top_nav .top_nav_ul li p a {
  font-size: 2.02vw;
  line-height: 1.618;
  font-weight: 600;
  font-family: avenir-next-world, sans-serif;
  font-style: normal;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .top_hero {
    position: absolute;
    width: 100dvw;
    height: fit-content;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    display: block;
  }
  .top_hero .top_hero-title {
    padding-left: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
  }
  .top_hero .top_hero-title h1 {
    font-size: 12vw;
  }
  .top_hero .top_nav_area {
    width: 100%;
    /* text-align: center; */
  }
  .top_hero .top_nav_area::after {
    content: "";
    position: absolute;
    width: 80%;
    height: 4px;
    background-color: #fff;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .top_hero .top_nav_area .top_nav .top_nav_ul {
    padding-left: 0;
    padding-top: 30px;
    width: fit-content;
    margin: 0 auto;
  }
  .top_hero .top_nav_area .top_nav .top_nav_ul li p a {
    font-size: 5vw;
    line-height: 1.618;
    font-weight: 400;
  }
}

/*====================================================================
page-共通
====================================================================*/
.page-bg {
  background-color: #000000aa;
  width: 95vw;
  height: 100%;
  position: relative;
  margin: 50px auto;
  padding: 16px;
}

h2 {
  font-size: 4vw;
  margin: 96px 0 48px;
  padding-left: 2.5dvw;
  position: relative;
  font-family: avenir-next-world, sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .page-bg {
    width: calc(100dvw - 8px);
    padding: 8px;
  }
  h2 {
    font-size: 6vw;
    letter-spacing: 0.1em;
    margin: 48px 0 24px;
    padding-left: 2dvw;
  }
}

/*====================================================================
burger-menu
====================================================================*/

.burger {
  position: fixed;
  top: 5%;
  right: 5%;
  height: 40px;
  width: 60px;
  z-index: 9999;
}

.burger span {
  position: absolute;
  margin: auto;
  inset: 0;
  background-color: #fff;
  width: 80%;
  height: 3px;
  transition: 0.3s;
}

.burger span:nth-child(1) {
  top: 30%;
}

.burger span:nth-child(2) {
  top: -30%;
}

.burger.active span:nth-child(1) {
  left: 20%;
}

.burger.active span:nth-child(2) {
  left: -20%;
}

#gnav {
  width: 100vw;
  height: 100dvh;
  background-color: #000;
  position: fixed;
  left: 100%;
  top: 0;
  z-index: 9998;
  transition: 0.5s;
}

#gnav.drawer {
  left: 0;
}

#gnav ul {
  width: 100vw;
  height: 100dvh;
  padding: 100px;
}

#gnav ul li p a {
  display: block;
  line-height: 2;
  font-size: 3vw;
  font-family: avenir-next-world, sans-serif;
  font-weight: 700;
  font-style: normal;
  transition: 0.3s;
  letter-spacing: 0.06em;
  position: relative;
  top: 0;
  left: 0;
}

#gnav ul li p a .txt {
  position: relative;
  top: 0;
  left: 0;
}

#gnav ul li p a .line {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
  opacity: 0;
}

#gnav ul li p a:hover {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
}

@media (max-width: 768px) {
  #gnav ul {
    padding: 50px;
  }
  #gnav ul li p a {
    display: block;
    line-height: 2;
    font-size: 10vw;
    transition: 0.3s;
  }
  #gnav ul li p a:hover {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    text-stroke: 1px #fff;
  }
}

/*====================================================================
 * works page
====================================================================*/
.works-page-bg {
  margin: 0 auto;
  padding: 0;
}

.achievements {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin: 0 auto;
}

.achievements > p {
  width: 100%;
  height: 100%;
  margin: 50px auto;
}

.achievements p iframe {
  object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

/* 制作事例詳細の動画（自前プレイヤーの箱。旧 p > iframe と同じ幅・比率・余白） */
.achievement-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 50px auto;
}

.achievements.block-mode {
  display: block;
}

.achievement_box {
  position: relative;
  width: 33%;
  height: 100%;
  aspect-ratio: 16 / 9;
  transition: 0.3s;
}

.achievements.block-mode .achievement_box {
  width: 100%;
  height: 100%;
  padding: 20px;
}

.achievement_box .details {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: #00000099;
  opacity: 0;
  transition: 0.3s;
}

.achievement_box .details:hover {
  opacity: 1;
}

.achievement_box .details .details_list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.achievement_box .details .details_list p {
  line-height: 1.4;
  font-size: 12px;
}

.achievement_box div.achievement_img_area {
  padding: 10px;
  width: 100%;
  height: 100%;
}

.achievement_box div.achievement_img_area img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#changeLayout {
  position: fixed;
  bottom: 3%;
  right: 5%;
  height: 40px;
  width: 60px;
  border: 2px solid #fff;
  border-radius: 6px;
}

#changeLayout.active {
  border: none;
}

#changeLayout span {
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  border-radius: 2px;
  width: 30%;
  height: 50%;
  transition: 0.3s;
}

#changeLayout span:nth-child(1) {
  left: 0;
}

#changeLayout span:nth-child(2) {
  transform: translate(-50%, -50%);
  left: 50%;
}

#changeLayout span:nth-child(3) {
  right: 0;
}

#changeLayout.active span {
  border: 2px solid #fff;
}

#changeLayout:hover {
  animation: box_up 0.5s ease;
}

@keyframes box_up {
  0% {
    bottom: 3%;
  }
  50% {
    bottom: 4%;
  }
  100% {
    bottom: 3%;
  }
}

@media (max-width: 768px) {
  .works-page-bg {
    padding: 10px;
  }

  .achievement_box {
    width: 50%;
  }

  .achievement_box div.achievement_img_area {
    padding: 4px;
    width: 100%;
    height: 100%;
  }

  .achievements.block-mode .achievement_box {
    padding: 10px 6px;
  }

  .achievement_box .details {
    display: none;
  }
}

/*====================================================================
 * service page
====================================================================*/
.service-page-bg .service-page-fv {
  width: 100%;
  height: 100%;
  border-bottom: 1px solid #fff;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-page-bg .service-page-fv .service-page-fv_mv {
  position: absolute;
  width: 66%;
  aspect-ratio: 16 / 9;
  top: 0;
  right: 0;
  overflow: hidden;
  z-index: 0;
  border: 1px solid #fff;
}

.service-page-bg .service-page-fv .service-page-fv_mv video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 動画ミュート切り替えボタン */
.video-mute-toggle {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  /* cursor: pointer; */
  transition: all 0.3s ease;
  z-index: 99;
  font-size: 18px;
}

.video-mute-toggle:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.video-mute-toggle.muted .unmute-icon {
  display: none;
}

.video-mute-toggle:not(.muted) .mute-icon {
  display: none;
}

.video-mute-toggle .mute-icon,
.video-mute-toggle .unmute-icon {
  transition: opacity 0.3s ease;
}

.video-mute-toggle .mute-icon img,
.video-mute-toggle .unmute-icon img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.service-page-bg .service-page-fv .service-page-fv-main_coppy {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
  width: 60%;
}

.service-page-bg .service-page-fv .service-page-fv-main_coppy h3 {
  font-family: "minion-pro-display", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.4rem;
  line-height: 1.1;
  letter-spacing: 0.025em;
  margin-bottom: 32px;
  width: fit-content;
}

.service-page-bg .service-page-fv .service-page-fv-main_coppy h3 span {
  display: inline-block;
  font-size: 0.4em;
}

.service-page-bg .service-page-fv .service-page-fv-main_coppy p.read-txt {
  /* width: 50%; */
  max-width: 430px; /* 読みやすい最大幅を設定 */
  line-height: 2.2; /* より読みやすい行間に調整 */
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  font-weight: 200;
  margin-bottom: 1.5em; /* 段落間の余白を追加 */
  word-break: keep-all; /* 単語の途中で改行しない */
  overflow-wrap: break-word; /* 長い単語は適切に改行 */
}

.service-page-bg .main-txt {
  margin-top: 10dvh;
}

.service-page-bg .main-txt h4.main-txt_coppy {
  font-size: 2.5vw;
  font-family: "minion-pro-display", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  line-height: 1.4;
}

.service-page-bg .main-txt h4.main-txt_coppy span {
  display: block;
  font-size: 0.6em;
}

.service-page-bg .main-txt .main-txt_box {
  display: flex;
  position: relative;
  width: 100%;
  height: 200dvh;
  top: 0;
  left: 0;
  margin-bottom: 48px;
}

.service-page-bg .main-txt .main-txt_box .txt-area {
  width: 50%;
  transition: all 1s ease-out;
  transform: translateX(0);
  opacity: 1;
  filter: blur(0px);
}

.service-page-bg .main-txt .main-txt_box .txt-area p {
  font-size: 0.95rem;
  line-height: 2.8;
}

/* txt-areaのフェードアウト時のスタイル */
.service-page-bg .main-txt .main-txt_box .txt-area.fade-out {
  transform: translateX(-100px);
  opacity: 0;
  filter: blur(5px);
  pointer-events: none;
}

.service-page-bg .main-txt .main-txt_box .txt-area p {
  max-width: 500px; /* 読みやすい最大幅を設定 */
  line-height: 1.6; /* より読みやすい行間に調整 */
  letter-spacing: 0.075em;
  font-size: 1em;
  font-weight: 200;
  margin-bottom: 1rem; /* 段落間の余白を追加 */
  word-break: keep-all; /* 単語の途中で改行しない */
  overflow-wrap: break-word; /* 長い単語は適切に改行 */
}

.service-page-bg .main-txt .main-txt_box .main-txt_mv {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.service-page-bg .main-txt .main-txt_box .main-txt_mv .main-txt_mv-box {
  width: 50%;
  aspect-ratio: 16 / 9;
  position: sticky;
  top: 48px;
  display: flex;
  justify-content: flex-end;
  margin: 0 0 0 auto;
  transition: width 0.1s ease-out;
}

.service-page-bg .main-txt .main-txt_box .main-txt_mv video {
  object-fit: cover;
  width: 100%;
}

.service-page-bg .illustration-area {
  width: 100%;
  height: 100dvh;
}

.service-page-bg .illustration-area .illustration-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  justify-content: space-around;
  align-items: center;
}

.illustration-box {
  width: 30%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* * SVGを親要素の正方形にフィットさせる
 */
.illustration-box svg {
  width: 100%;
  height: 100%;
}

/*====================================================================
 line-animation 01
====================================================================*/

#line-animation01 .arch01,
#line-animation01 .arch02,
#line-animation01 .arch03 {
  /* 中心点を指定 (viewBox の 500, 500) */
  transform-origin: 500px 500px;

  /* 座標系の基準を viewBox に設定 (ズレ防止) */
  transform-box: view-box;
}

/*
 * 2. アニメーションの適用 (★ 変更点)
 * - 回転1秒 + キープ3秒 = 合計4秒のループ
 * - `linear` (一定速度) を指定
 */

/* (01) arch01: 時計回りに回転 + キープ */
#line-animation01 .arch01 {
  animation: rotate-clockwise-hold 4s infinite linear;
}

/* (01) arch03: 時計回りに回転 + キープ */
#line-animation01 .arch03 {
  animation: rotate-clockwise-hold 4s infinite linear;
}

/* (01) arch02: 反時計回りに180°回転 + キープ */
#line-animation01 .arch02 {
  animation: rotate-counter-clockwise-180-hold 4s infinite linear;
}

/*
 * 3. キーフレームの定義 (★ 変更点)
 */

/* ▼ 時計回り (360°) + 3秒キープ (arch01, arch03) */
@keyframes rotate-clockwise-hold {
  /* アニメーション開始時 */
  0% {
    transform: rotate(0deg);
  }
  /* 1秒 (4秒のうちの25%) かけて360°回転 */
  25% {
    transform: rotate(360deg);
  }
  /* 100% (4秒時点) まで360°のままキープ (これが3秒キープ) */
  100% {
    transform: rotate(360deg);
  }
}

/* ▼ 反時計回り (180°) + 3秒キープ (arch02) */
@keyframes rotate-counter-clockwise-180-hold {
  /* アニメーション開始時 */
  0% {
    transform: rotate(0deg);
  }
  /* 1秒 (4秒のうちの25%) かけて -180°回転 */
  25% {
    transform: rotate(-360deg);
  }
  /* 100% (4秒時点) まで -180° のままキープ (これが3秒キープ) */
  100% {
    transform: rotate(-360deg);
  }
}

/*====================================================================
 line-animation 02
====================================================================*/
/*
     * 1. スタイルの基本設定
     * (SVGファイル内のスタイルをこちらに移動・統一)
     */
#line-animation02 path {
  fill: none;
  stroke: #fff;
  stroke-width: 2px;

  /* ズレ防止のため、座標系を viewBox に設定 */
  transform-box: view-box;
}

/*#line-animation02 path {
    fill: none;
    stroke: #fff;
    stroke-width: 2px;
    transform-box: view-box;
}

/*
 * 2. キーフレームの定義 (★ 合計 3.0秒 に変更)
 * 0.0s - 0.5s (16.67%): 移動
 * 0.5s - 1.0s (33.33%): 全拡大 (scale: 1.2)
 * 1.0s - 2.0s (66.67%): 1秒キープ
 * 2.0s - 2.5s (83.33%): S1以外が消滅 / S1が縮小
 * 2.5s - 3.0s (100%): リセット待機
 */

/* ▼ square01 (基準) のアニメーション */
@keyframes anim-s1 {
  0%,
  16.67% {
    /* 0.5sまで: 移動はしない */
    opacity: 1;
    transform: scale(1);
  }
  33.33% {
    /* 1.0s: 拡大完了 */
    opacity: 1;
    transform: scale(1.2);
  }
  66.67% {
    /* 2.0s: キープ完了 */
    opacity: 1;
    transform: scale(1.2);
  }
  83.33%,
  100% {
    /* 2.5s: 縮小完了 → ループ終了までキープ */
    opacity: 1;
    transform: scale(1);
  }
}

/* ▼ square02〜25 (その他) のアニメーション */
@keyframes anim-s-others {
  0% {
    /* 初期状態: S1の位置へ移動 */
    opacity: 1;
    transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(1);
  }
  16.67% {
    /* 0.5s: 元の位置へ移動完了 */
    opacity: 1;
    transform: translate(0px, 0px) scale(1);
  }
  33.33% {
    /* 1.0s: 拡大完了 */
    opacity: 1;
    transform: translate(0px, 0px) scale(1.2);
  }
  66.67% {
    /* 2.0s: キープ完了 */
    opacity: 1;
    transform: translate(0px, 0px) scale(1.2);
  }
  83.33% {
    /* 2.5s: 消滅完了 */
    opacity: 0;
    transform: translate(0px, 0px) scale(1.2);
  }
  100% {
    /* ループ終了まで非表示 */
    opacity: 0;
    transform: translate(0px, 0px) scale(1.2);
  }
}

/*
 * 3. アニメーションの適用と、各要素の「中心点」「初期位置」の設定
 */

/* 共通設定 (★ animation-duration を 3.0s に変更) */
#line-animation02 path {
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/* アニメーションの割り当て (変更なし) */
#square01 {
  animation-name: anim-s1;
}
#square02,
#square03,
#square04,
#square05,
#square06,
#square07,
#square08,
#square09,
#square10,
#square11,
#square12,
#square13,
#square14,
#square15,
#square16,
#square17,
#square18,
#square19,
#square20,
#square21,
#square22,
#square23,
#square24,
#square25 {
  animation-name: anim-s-others;
}

/* * 各要素の中心点 (transform-origin) と
 * 初期位置への移動オフセット (--tx, --ty)
 * (この部分は変更ありません)
 */

/* --- 1行目 --- */
#square01 {
  transform-origin: 116.67px 116.67px;
  --tx: 0px;
  --ty: 0px;
}
#square02 {
  transform-origin: 308.34px 116.67px;
  --tx: -191.67px;
  --ty: 0px;
}
#square03 {
  transform-origin: 500.01px 116.67px;
  --tx: -383.34px;
  --ty: 0px;
}
#square04 {
  transform-origin: 691.68px 116.67px;
  --tx: -575.01px;
  --ty: 0px;
}
#square05 {
  transform-origin: 883.35px 116.67px;
  --tx: -766.68px;
  --ty: 0px;
}

/* --- 2行目 --- */
#square06 {
  transform-origin: 116.67px 308.34px;
  --tx: 0px;
  --ty: -191.67px;
}
#square07 {
  transform-origin: 308.34px 308.34px;
  --tx: -191.67px;
  --ty: -191.67px;
}
#square08 {
  transform-origin: 500.01px 308.34px;
  --tx: -383.34px;
  --ty: -191.67px;
}
#square09 {
  transform-origin: 691.68px 308.34px;
  --tx: -575.01px;
  --ty: -191.67px;
}
#square10 {
  transform-origin: 883.35px 308.34px;
  --tx: -766.68px;
  --ty: -191.67px;
}

/* --- 3行目 --- */
#square11 {
  transform-origin: 116.67px 500.01px;
  --tx: 0px;
  --ty: -383.34px;
}
#square12 {
  transform-origin: 308.34px 500.01px;
  --tx: -191.67px;
  --ty: -383.34px;
}
#square13 {
  transform-origin: 500.01px 500.01px;
  --tx: -383.34px;
  --ty: -383.34px;
}
#square14 {
  transform-origin: 691.68px 500.01px;
  --tx: -575.01px;
  --ty: -383.34px;
}
#square15 {
  transform-origin: 883.35px 500.01px;
  --tx: -766.68px;
  --ty: -383.34px;
}

/* --- 4行目 --- */
#square16 {
  transform-origin: 116.67px 691.68px;
  --tx: 0px;
  --ty: -575.01px;
}
#square17 {
  transform-origin: 308.34px 691.68px;
  --tx: -191.67px;
  --ty: -575.01px;
}
#square18 {
  transform-origin: 500.01px 691.68px;
  --tx: -383.34px;
  --ty: -575.01px;
}
#square19 {
  transform-origin: 691.68px 691.68px;
  --tx: -575.01px;
  --ty: -575.01px;
}
#square20 {
  transform-origin: 883.35px 691.68px;
  --tx: -766.68px;
  --ty: -575.01px;
}

/* --- 5行目 --- */
#square21 {
  transform-origin: 116.67px 883.35px;
  --tx: 0px;
  --ty: -766.68px;
}
#square22 {
  transform-origin: 308.34px 883.35px;
  --tx: -191.67px;
  --ty: -766.68px;
}
#square23 {
  transform-origin: 500.01px 883.35px;
  --tx: -383.34px;
  --ty: -766.68px;
}
#square24 {
  transform-origin: 691.68px 883.35px;
  --tx: -575.01px;
  --ty: -766.68px;
}
#square25 {
  transform-origin: 883.35px 883.35px;
  --tx: -766.68px;
  --ty: -766.68px;
}

/*====================================================================
 line-animation 03
====================================================================*/
/*
 * ============================================
 * 修正後のアニメーションCSS (合計3.0秒 + 待機ポーズ)
 * ============================================
 */

/*
 * 1. 共通設定
 */
#line-animation03 circle {
  fill: none;
  stroke: #fff;
  stroke-width: 2px;
  stroke-miterlimit: 2;

  /* ★ 変更: ループ時間を 3.0s に固定 */
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-fill-mode: both;
}

/* 各circleの transform-origin を設定 (変更なし) */
#circle01 {
  transform-origin: 745.39px 644.85px;
  transform-box: view-box;
  animation-name: animate-circle01;
}
#circle02 {
  transform-origin: 733.39px 602.09px;
  transform-box: view-box;
  animation-name: animate-circle02;
}
#circle03 {
  transform-origin: 666.13px 621.51px;
  transform-box: view-box;
  animation-name: animate-circle03;
}
#circle04 {
  transform-origin: 697.54px 731px;
  transform-box: view-box;
  animation-name: animate-circle04;
}
#circle05 {
  transform-origin: 875.48px 680.17px;
  transform-box: view-box;
  animation-name: animate-circle05;
}
#circle06 {
  transform-origin: 793.24px 398.6px;
  transform-box: view-box;
  animation-name: animate-circle06;
}
#circle07 {
  transform-origin: 358.82px 506.79px;
  transform-box: view-box;
  animation-name: animate-circle07;
}
#circle08 {
  transform-origin: 358.82px 506.79px;
  transform-box: view-box;
  animation-name: animate-circle08-hidden;
}

/*
 * 2. キーフレームの定義 (★ 全体の % を調整)
 * タイムライン: 3.0秒
 * 0.0s - 0.3s (10%): ボヨン拡大
 * 0.3s - 0.6s (20%): キープ
 * 0.6s - 0.9s (30%): C2 縮小 (0.3s間隔で)
 * ...
 * 2.1s - 2.4s (80%): C7 縮小
 * 2.4s - 3.0s (100%): (★) 待機ポーズ
 */

/*
 * ▼ circle01
 * ★ 変更: 80% (2.4s) の時点で C1 も縮小状態 (scale(1)) に戻る
 */
@keyframes animate-circle01 {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  /* ボヨン (0.3s) */
  6.67% {
    opacity: 1;
    transform: scale(1.1);
  } /* 0.2s */
  10% {
    opacity: 1;
    transform: scale(1);
  } /* 0.3s: 拡大完了 */
  /* キープ (0.3s) */
  20% {
    opacity: 1;
    transform: scale(1);
  } /* 0.6s: キープ完了 */
  /* (★) 2.4s (80%) まで C1 は scale(1) を維持 (C7が縮小完了するまで) */
  80% {
    opacity: 1;
    transform: scale(1);
  }
  /* (★) 待機ポーズ (0.6s) */
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/*
 * ▼ circle02
 * 縮小率: 0.6179
 * ★ 変更: 20%-30% (0.6s-0.9s) に縮小
 */
@keyframes animate-circle02 {
  0% {
    opacity: 1;
    transform: scale(0.6179);
  }
  6.67% {
    opacity: 1;
    transform: scale(1.1);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  } /* 0.3s: 拡大完了 */
  20% {
    opacity: 1;
    transform: scale(1);
  } /* 0.6s: キープ完了・縮小開始 */
  /* 0.3sかけて縮小 */
  30% {
    opacity: 1;
    transform: scale(0.6179);
  } /* 0.9s: 縮小完了 */
  /* (★) 待機ポーズ */
  100% {
    opacity: 1;
    transform: scale(0.6179);
  }
}

/*
 * ▼ circle03
 * 縮小率: 0.3819
 * ★ 変更: 30%-40% (0.9s-1.2s) に縮小
 */
@keyframes animate-circle03 {
  0% {
    opacity: 1;
    transform: scale(0.3819);
  }
  6.67% {
    opacity: 1;
    transform: scale(1.1);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  } /* 0.9s: 縮小開始 */
  40% {
    opacity: 1;
    transform: scale(0.3819);
  } /* 1.2s: 縮小完了 */
  100% {
    opacity: 1;
    transform: scale(0.3819);
  }
}

/*
 * ▼ circle04
 * 縮小率: 0.2360
 * ★ 変更: 40%-50% (1.2s-1.5s) に縮小
 */
@keyframes animate-circle04 {
  0% {
    opacity: 1;
    transform: scale(0.236);
  }
  6.67% {
    opacity: 1;
    transform: scale(1.1);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  } /* 1.2s: 縮小開始 */
  50% {
    opacity: 1;
    transform: scale(0.236);
  } /* 1.5s: 縮小完了 */
  100% {
    opacity: 1;
    transform: scale(0.236);
  }
}

/*
 * ▼ circle05
 * 縮小率: 0.1459
 * ★ 変更: 50%-60% (1.5s-1.8s) に縮小
 */
@keyframes animate-circle05 {
  0% {
    opacity: 1;
    transform: scale(0.1459);
  }
  6.67% {
    opacity: 1;
    transform: scale(1.1);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  } /* 1.5s: 縮小開始 */
  60% {
    opacity: 1;
    transform: scale(0.1459);
  } /* 1.8s: 縮小完了 */
  100% {
    opacity: 1;
    transform: scale(0.1459);
  }
}

/*
 * ▼ circle06
 * 縮小率: 0.0901
 * ★ 変更: 60%-70% (1.8s-2.1s) に縮小
 */
@keyframes animate-circle06 {
  0% {
    opacity: 1;
    transform: scale(0.0901);
  }
  6.67% {
    opacity: 1;
    transform: scale(1.1);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  60% {
    opacity: 1;
    transform: scale(1);
  } /* 1.8s: 縮小開始 */
  70% {
    opacity: 1;
    transform: scale(0.0901);
  } /* 2.1s: 縮小完了 */
  100% {
    opacity: 1;
    transform: scale(0.0901);
  }
}

/*
 * ▼ circle07
 * 縮小率: 0.0557
 * ★ 変更: 70%-80% (2.1s-2.4s) に縮小
 */
@keyframes animate-circle07 {
  0% {
    opacity: 1;
    transform: scale(0.0557);
  }
  6.67% {
    opacity: 1;
    transform: scale(1.1);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  70% {
    opacity: 1;
    transform: scale(1);
  } /* 2.1s: 縮小開始 */
  80% {
    opacity: 1;
    transform: scale(0.0557);
  } /* 2.4s: 縮小完了 */
  100% {
    opacity: 1;
    transform: scale(0.0557);
  }
}

/*
 * ▼ circle08 (終始非表示) (変更なし)
 */
@keyframes animate-circle08-hidden {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
/*====================================================================
 * service page works slideshow
====================================================================*/
.service-page_works {
  width: 100%;
  overflow: hidden;
}

.service-page_works h3.service-page_works-title {
  font-size: 32px;
  font-weight: 200;
  color: var(--text-color-light);
  transition: opacity var(--duration-fast),
    transform var(--duration-content-fade);
}

.works-slideshow {
  position: relative;
  max-width: 100%;
  margin: 40px auto;
}

.works-slide-wrapper {
  display: flex;
  overflow: visible;
  scroll-behavior: smooth;
  height: 100%; /* 高さを100%に設定 */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* なめらかなトランジション追加 */
}

.works-slide-item {
  min-width: 33.333%;
  padding: 0 10px;
  transition: transform 0.3s ease, opacity 0.3s ease; /* アイテム自体のトランジション */
  display: flex;
  flex-direction: column;
}

.works-slide-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 16px;
}

.works-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.works-slide-img:hover img {
  transform: scale(1.05);
}

.works-slide-content h4 {
  font-size: 1.2em;
  margin-bottom: 8px;
  font-weight: 600;
}

.works-slide-content h4 a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.works-slide-content h4 a:hover {
  opacity: 0.7;
}

.works-slide-content p {
  font-size: 0.9em;
  line-height: 1.6;
  color: #ccc;
}

.works-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

/* 新しいナビゲーションコンテナ */
.works-slide-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.works-slide-nav button,
.works-slide-nav-container button {
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;

  pointer-events: auto;
  transition: all 0.3s ease; /* transitionを包括的に変更 */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 1;
}

.works-slide-nav button:disabled,
.works-slide-nav-container button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: scale(1);
}

.works-slide-nav button:active,
.works-slide-nav-container button:active {
  transform: scale(0.95); /* クリック時の縮小効果 */
}

/* CSS矢印の描画 - くの字型 */
.slide-prev::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-right: 4px;
  transition: all 0.3s ease; /* 矢印のトランジション追加 */
}

.slide-next::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-left: 4px;
  transition: all 0.3s ease; /* 矢印のトランジション追加 */
}

.works-slide-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.works-slide-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);

  transition: all 0.3s ease; /* トランジション追加 */
}

.works-slide-dots .dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

/* .works-slide-dots .dot.active {
  background: #fff;
  transform: scale(1.3);
} */

@media (max-width: 768px) {
  .works-slide-item {
    min-width: 100%;
  }

  .works-slide-nav button,
  .works-slide-nav-container button {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .works-slide-nav button:hover,
  .works-slide-nav-container button:hover {
    transform: scale(1.05); /* モバイルでは控えめな拡大 */
  }

  /* モバイル用の矢印サイズ調整 - くの字型 */
  .slide-prev::before {
    width: 6px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
  }

  .slide-next::before {
    width: 6px;
    height: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
  }

  .works-slide-nav-container {
    gap: 20px; /* モバイルではgapを小さく */
  }

  .service-page-bg .service-page-fv {
    height: 100%;
    padding: 16px;
  }

  .service-page-bg .service-page-fv .service-page-fv_mv {
    position: relative;
    width: 100%;
  }

  .video-mute-toggle {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
  }

  .service-page-bg .service-page-fv .service-page-fv-main_coppy {
    width: 100%;
  }

  .service-page-bg .service-page-fv .service-page-fv-main_coppy h3 {
    font-family: "Noto Serif JP", serif;
    font-size: 1rem;
    font-weight: 100;
    line-height: 1.1;
    margin-bottom: 16px;
    margin-top: 24px;
  }

  /* サービスページの読みやすさ向上 */
  .service-page-bg .service-page-fv .service-page-fv-main_coppy p.read-txt {
    width: 100%; /* モバイルでは幅を広く */
    font-size: 0.8em; /* フォントサイズを少し大きく */
    line-height: 1.6; /* より読みやすい行間 */
    letter-spacing: 0.05em; /* 文字間隔を少し詰める */
    margin-bottom: 2em; /* 段落間の余白を増加 */
    text-align: left; /* モバイルでは左揃え */
    padding: 0px; /* 左右に余白を追加 */
  }

  .service-page-bg .illustration-area {
    margin: 24px auto;
    height: 100%;
  }

  .service-page-bg .main-txt h4.main-txt_coppy {
    font-size: 1.5em;
    margin-bottom: 24px;
  }

  .service-page-bg .main-txt h4.main-txt_coppy span {
    display: block;
    font-size: 0.4em;
  }

  .service-page-bg .main-txt .main-txt_box {
    flex-direction: column;
    height: 200dvh;
    margin-bottom: 48px;
  }

  .service-page-bg .main-txt .main-txt_box .txt-area {
    width: 100%;
  }

  .service-page-bg .main-txt .main-txt_box .main-txt_mv {
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
  }
}

.service-page-bg .contact-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 24px;
  background-color: #000;
}

.service-page-bg .contact-btn a p {
  font-size: 32px;
  font-weight: 200;
  color: var(--text-color-light);
  transition: opacity var(--duration-fast),
    transform var(--duration-content-fade);
}

.service-page-bg .contact-btn a div {
  height: 32px;
  width: 32px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.service-page-bg .contact-btn a div span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 1px;
  background-color: #fff;
}

.service-page-bg .contact-btn a div span:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 1px;
  top: 0;
  right: 0;
  transform: rotate(45deg);
  transform-origin: right;
  background-color: #fff;
}

.service-page-bg .contact-btn a div span:before {
  content: "";
  position: absolute;
  width: 50%;
  height: 1px;
  top: 0;
  right: 0;
  transform: rotate(-45deg);
  transform-origin: right;
  background-color: #fff;
}

/*====================================================================
 * privacy-poricy
====================================================================*/

main.privacy-policy .page-bg {
  position: relative;
  line-height: 1.4;
}

main.privacy-policy .page-bg h2 {
  font-size: 2.2vw;
  text-align-last: left;
  margin-bottom: 0;
}

/*====================================================================
  page-about
====================================================================*/
.aboutpage-bg {
  padding-left: 0;
  margin-top: 0;
  padding-top: 160px;
}

.about_content h3 {
  font-size: 2.8vw;
  margin-bottom: 30px;
  font-family: "trajan-sans-pro", sans-serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin-left: 16px;
}

/* about FV：写真を画面に固定したまま、スクロールで暗くしながらコピーを1行ずつ出す
   （html に .js-copy-scroll が付いたときだけ。page-about.php の先頭のインラインスクリプトで付ける。JS 無効時は暗い写真の上に全文を表示） */
.main_coppy {
  width: 95vw;
  position: relative;
  margin: 0 auto;
}

.js-copy-scroll .main_coppy {
  height: calc(100svh + var(--copy-scroll-distance));
}

.main_coppy_stage {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.js-copy-scroll .main_coppy .main_coppy_stage {
  position: sticky;
  top: 0;
}

.main_coppy .about_fv {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 1) 100%);
}

.main_coppy .about_fv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  display: block;
  /* 下に向かって徐々に透過 */
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}

.main_coppy p {
  position: relative;
  text-align: center;
  line-height: 2.6;
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: 1em;
}

/* 段落（空行）ごとの間隔 */
.main_coppy_txt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.3em;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* 明るい部分に重なったときの補助 */
}

.main_coppy .copy-line {
  display: block;
}

/* 左揃え。太字（strong）以外の行は細字 */
.main_coppy_stage {
  justify-content: flex-start;
  padding: 0 var(--copy-inset);
}

.main_coppy .main_coppy_txt p {
  text-align: left;
}

.main_coppy span.copy-line {
  font-weight: 300; /* header.php の Google Fonts で Noto Sans JP 300 を読み込み */
}

.main_coppy strong {
  font-family: "klee-one", "Noto Sans JP", sans-serif; /* Adobe Fonts（header.php の JS 版キットで読み込み） */
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0.075em;
}

/* 写真を暗くする膜（不透明度は JS がスクロール量から --copy-dim に入れる） */
.main_coppy_dim {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--copy-dim-max);
  pointer-events: none;
}

.js-copy-scroll .main_coppy .main_coppy_dim {
  opacity: var(--copy-dim, var(--copy-dim-min)); /* JS が値を入れる前もスクロール前の暗さで表示 */
}

.js-copy-scroll .main_coppy .copy-line {
  opacity: 0;
  transform: translateY(0.6em);
  filter: blur(6px);
  transition: opacity var(--duration-copy-reveal) ease,
    transform var(--duration-copy-reveal) cubic-bezier(0.22, 1, 0.36, 1),
    filter var(--duration-copy-reveal) ease;
}

.js-copy-scroll .main_coppy .copy-line.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-copy-scroll .main_coppy .copy-line {
    transform: none;
    filter: none;
    transition: opacity 0.3s ease;
  }
}

:root {
  /* 色 */
  --popup-bg-color: #000000ed;
  --text-color-light: #fff;
  --border-color-light: #fff;
  --popup-video-overlay: rgba(0, 0, 0, 0.6); /* 背景動画の上の文字を読ませる膜 */
  --popup-player-bg: rgba(0, 0, 0, 0.9);
  --popup-player-w: min(80vw, calc(70dvh * 16 / 9)); /* 動画プレイヤーの幅 */

  /* about：コピーの出現 */
  --duration-copy-reveal: 1.2s;
  --copy-scroll-distance: 180svh; /* コピーを出し切るまでのスクロール量 */
  --copy-inset: 10%; /* コピーの左余白（写真の幅に対して） */
  --copy-dim-min: 0.2; /* スクロール前の暗さ（1行目を読ませる最低限） */
  --copy-dim-max: 0.55; /* 写真を暗くする最大値 */

  /* 余白 */
  --creator-row-gap: 32px; /* 一覧の行間（4人目以降の折り返し） */
  --products-gap: 16px;
  --products-gap-pc: 4px; /* ポップアップ（PC）の Products 一覧の隙間 */
  --popup-content-h-pc: 68dvh; /* ポップアップ（PC）の中身の高さ */
  --popup-switcher-h-pc: 80px; /* 中身を上に寄せる量（この値の半分だけ上がる）。Back と Other Creators 帯との間隔がほぼ同じになるよう調整 */
  --delay-products-item: 0.06s; /* Products のサムネを1枚ずつずらす間隔 */

  /* 本人写真（カラー1枚をCSSで白黒にする） */
  --member-photo-mono: grayscale(1) contrast(1.15) brightness(1.05);
  --creator-caption-padding: 12px; /* 一覧で写真に重ねる肩書き・名前の余白 */
  --member-photo-position: 50% 35%; /* 縦長写真を正方形に切り抜くときの位置（顔が切れない高さ） */
  --duration-photo-color: 0.8s; /* ポップアップで白黒→カラー */

  /* 文字サイズ */
  --fs-member-profile-label: 11px; /* From / Born */
  --fs-member-profile-value: 15px; /* Hiroshima / 1996 */
  --fs-products-title: 20px;
  --fs-products-name: 12px;

  /* アニメーション速度 */
  --duration-bg-expand: 0.6s;
  --duration-content-fade: 0.5s;
  --duration-fast: 0.3s;
  --duration-switch: 0.25s; /* メンバー切り替え速度 */

  /* イージング */
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===================================
   ベースコンポーネント (PC)
   =================================== */
.creator_wrapper {
  display: flex;
  align-items: center;
  margin: 160px 0;
  padding-right: 16px;
}

.creator_wrapper .title_area {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 40%;
  aspect-ratio: 7 / 5;
  background-color: var(--popup-bg-color);
  border-radius: 0 999px 999px 0;
  box-shadow: 1px 0 4px #333, 5px 0 16px rgba(51, 51, 51, 0.8),
    11px 0 36px rgba(51, 51, 51, 0.6), 19px 0 64px rgba(51, 51, 51, 0.4),
    30px 0 100px rgba(51, 51, 51, 0.2);
}

.creator_wrapper .title_area h4 {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-color-light);
  transition: opacity var(--duration-fast),
    transform var(--duration-content-fade);
}

.creator_wrapper .creator_box {
  display: grid;
  grid-template-columns: repeat(3, 30%); /* 横3列、4人目以降は折り返して積む */
  justify-content: space-around;
  row-gap: var(--creator-row-gap);
  width: 60%;
}

.creator_wrapper .member {
  padding: 8px;
}

.creator_wrapper .member .flex-left .job_title {
  font-weight: 200;
  margin-bottom: 4px;
  font-size: 14px;
}

.creator_wrapper .member .flex-left .name {
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.creator_wrapper .member .flex-left .member_img img {
  width: 100%;
  height: auto; /* img の height 属性より aspect-ratio を優先 */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: var(--member-photo-position);
  filter: var(--member-photo-mono);
  display: block;
}

/* 一覧：肩書き・名前を写真の下側に重ねる（写真が全行にまたがり、文字は下の2行に載る） */
.creator_wrapper .member .flex-left {
  display: grid;
  grid-template-rows: 1fr auto auto;
}

.creator_wrapper .member .flex-left > * {
  grid-column: 1;
}

.creator_wrapper .member .flex-left .member_img {
  grid-row: 1 / -1;
  position: relative;
}

/* 白文字を読めるように下側を暗くする */
.creator_wrapper .member .flex-left .member_img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}

.creator_wrapper .member .flex-left .job_title,
.creator_wrapper .member .flex-left .name {
  position: relative;
  z-index: 1;
  padding: 0 var(--creator-caption-padding);
  color: var(--text-color-light);
}

.creator_wrapper .member .flex-left .job_title {
  grid-row: 2;
  margin-bottom: 2px;
}

.creator_wrapper .member .flex-left .name {
  grid-row: 3;
  margin-bottom: 0;
  padding-bottom: var(--creator-caption-padding);
}

/* 生まれ年・出身はポップアップ内だけ表示 */
.member-profile {
  display: none;
}

.creator_wrapper .member .flex-right {
  display: none;
}

/* ===================================
   ポップアップウィンドウ (PC)
   =================================== */
#member_popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh; /* 100vhから変更 */
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-fast), visibility 0s var(--duration-fast);
}

#member_popup .popup-bg {
  position: absolute;
  top: 20vh;
  left: 0;
  width: 40%;
  height: 50vh;
  background-color: var(--popup-bg-color);
  border-radius: 0 999px 999px 0;
  z-index: -1;
  transition: all var(--duration-bg-expand) var(--ease-in-out-cubic);
}

/* 背景動画（開いたメンバーの分だけJSでsrcを設定） */
#member_popup .popup-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--duration-fast);
}

#member_popup .popup-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#member_popup .popup-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--popup-video-overlay);
}

#member_popup .popup-back_btn {
  position: absolute;
  top: 40px;
  left: 40px;
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 18px;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--duration-content-fade) var(--duration-content-fade);
}

#member_popup .popup-content_wrapper {
  width: 90%;
  max-width: 1200px;
  height: 65dvh;
  display: flex;
  align-items: flex-end;
  gap: 5%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-content-fade) var(--duration-content-fade),
    transform var(--duration-content-fade) var(--duration-content-fade);
}

#member_popup .popup-content_wrapper.is-switching {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-switch), transform var(--duration-switch);
}

#member_popup .popup-member_switcher {
  position: absolute;
  bottom: 2%;
  right: 2%;
  display: flex;
  gap: 16px;
  opacity: 0;
  transition: opacity var(--duration-content-fade) var(--duration-content-fade);
}

.popup-member_switcher .switcher-item {
  width: 100px;

  border: 2px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  transition: border-color var(--duration-fast), transform var(--duration-fast);
}

.popup-member_switcher .switcher-item .switcher-text {
  font-size: 0.7em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.popup-member_switcher .switcher-item:hover {
  border-color: var(--border-color-light);
  transform: scale(1.05);
}

.popup-member_switcher .switcher-item .member_img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.popup-member_switcher .switcher-item .member_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--member-photo-position);
  filter: var(--member-photo-mono);
}

/* ===================================
   ポップアップ表示時の変化 (PC)
   =================================== */
body.popup-active #member_popup {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

body.popup-active #member_popup .popup-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

body.popup-active #member_popup.has-video .popup-video {
  opacity: 1;
  transition: opacity var(--duration-content-fade) var(--duration-bg-expand);
}

body.popup-active .creator_wrapper {
  pointer-events: none;
}

body.popup-active .creator_wrapper .title_area h4 {
  opacity: 0;
  transform: translateX(-100px);
}

body.popup-active #member_popup .popup-back_btn,
body.popup-active #member_popup .popup-content_wrapper,
body.popup-active #member_popup .popup-member_switcher {
  opacity: 1;
  transform: translateY(0);
}

/* ポップアップ時の内部レイアウト (PC) */
body.popup-active #member_popup .popup-content_wrapper .flex-left {
  width: 30%;
  flex-shrink: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.popup-active #member_popup .popup-content_wrapper .flex-left .name p {
  font-size: 2em;
  font-weight: 600;
  letter-spacing: 0.075em;
  line-height: 1.4;
}

body.popup-active #member_popup .popup-content_wrapper .flex-left .job_title p {
  font-weight: 200;
}

body.popup-active #member_popup .popup-content_wrapper .flex-left .member_img {
  flex: 1;
  width: 100%;
  min-height: 0;
}

body.popup-active
  #member_popup
  .popup-content_wrapper
  .flex-left
  .member_img
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--member-photo-position);
}

/* 写真：開いたら白黒 → カラー（コンテンツのフェードインに合わせて遅らせる） */
#member_popup .popup-content_wrapper .flex-left .member_img img {
  filter: var(--member-photo-mono);
  transition: filter var(--duration-photo-color) ease var(--duration-content-fade);
}

#member_popup .popup-content_wrapper.is-color .flex-left .member_img img {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  #member_popup .popup-content_wrapper .flex-left .member_img img {
    transition: none;
  }
}

/* From Hiroshima / Born 1996（名前の下） */
#member_popup .popup-content_wrapper .member-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.6em;
  margin: 2px 0 8px;
  color: var(--text-color-light);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.member-profile_label {
  font-size: var(--fs-member-profile-label);
  font-weight: 200;
}

.member-profile_value {
  font-size: var(--fs-member-profile-value);
  font-weight: 400;
}

.member-profile_sep {
  font-size: var(--fs-member-profile-label);
  font-weight: 200;
}

body.popup-active #member_popup .popup-content_wrapper .flex-right {
  width: 70%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2em;
  color: var(--text-color-light);
}

/* products */
.member-products {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.member-products_title {
  font-size: var(--fs-products-title);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.member-products_list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--products-gap);
  overflow-y: auto;
  min-height: 0;
  padding-right: 4px;
}

.member-products_card {
  display: block;
  width: 100%;
  text-align: left;
  color: var(--text-color-light);
}

.member-products_thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #222;
}

.member-products_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-fast);
}

.member-products_card.is-playable:hover .member-products_thumb img,
.member-products_card.is-playable:focus-visible .member-products_thumb img {
  transform: scale(1.05);
}

.member-products_card:not(.is-playable) .member-products_thumb img {
  opacity: 0.5; /* 動画なし（クリック不可） */
}

.member-products_name {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-products-name);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* ポップアップ（PC）：写真と Products の一覧の高さ、From と Products 見出しのラインをそろえる
   左右の中身を1つのグリッドに並べ直す（.flex-left / .flex-right / .member-products は display: contents）
   行：肩書き / 名前 / From・Products見出し / 写真・一覧 */
@media (min-width: 769px) {
  body.popup-active #member_popup .popup-content_wrapper {
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 0 5%; /* 行間は各要素の余白で詰める */
    align-items: end;
    height: var(--popup-content-h-pc);
    margin-bottom: var(--popup-switcher-h-pc); /* 下の「Other Creators」帯の分だけ上に寄せる */
  }

  body.popup-active #member_popup .popup-content_wrapper .flex-left .job_title p {
    line-height: 1.4;
  }

  body.popup-active #member_popup .popup-content_wrapper .flex-left .name p {
    line-height: 1.25;
  }

  #member_popup .popup-content_wrapper .member-profile {
    margin: 4px 0 12px;
  }

  body.popup-active #member_popup .popup-content_wrapper .flex-left,
  body.popup-active #member_popup .popup-content_wrapper .flex-right,
  body.popup-active #member_popup .popup-content_wrapper .member-products {
    display: contents;
  }

  #member_popup .popup-content_wrapper .flex-left > *,
  #member_popup .popup-content_wrapper .member-profile {
    grid-column: 1;
  }

  #member_popup .popup-content_wrapper .flex-left .job_title { grid-row: 1; }
  #member_popup .popup-content_wrapper .flex-left .name { grid-row: 2; }

  #member_popup .popup-content_wrapper .member-profile,
  #member_popup .popup-content_wrapper .member-products_title {
    grid-row: 3;
    align-self: baseline;
  }

  #member_popup .popup-content_wrapper .member-products_title {
    grid-column: 2;
    margin-bottom: 12px; /* From の下の余白（member-profile の margin-bottom）とそろえる */
    line-height: 1.5;
    font-size: var(--fs-member-profile-value);
  }

  body.popup-active #member_popup .popup-content_wrapper .flex-left .member_img,
  #member_popup .popup-content_wrapper .member-products_list {
    grid-row: 4;
    align-self: stretch;
    height: 100%;
    min-height: 0;
  }

  /* 一覧：最大3×3。件数が少ないときは列・行を減らして枠いっぱいに伸ばす（列・行数は PHP が style で渡す） */
  #member_popup .popup-content_wrapper .member-products_list {
    grid-column: 2;
    gap: var(--products-gap-pc);
    grid-template-columns: repeat(var(--products-cols, 3), minmax(0, 1fr));
    grid-auto-rows: calc((100% - (var(--products-rows, 3) - 1) * var(--products-gap-pc)) / var(--products-rows, 3));
    padding-right: 0;
  }

  #member_popup .member-products_item,
  #member_popup .member-products_card {
    height: 100%;
    min-height: 0;
  }

  #member_popup .member-products_card {
    position: relative;
    overflow: hidden;
  }

  #member_popup .member-products_thumb {
    aspect-ratio: auto;
    height: 100%;
  }

  /* タイトルはサムネイルの下側に重ねる */
  #member_popup .member-products_name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 24px 10px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* ポップアップ（PC）：他のクリエイターへの切替を、画面下の帯（Other Creators）にまとめる */
@media (min-width: 769px) {
  #member_popup .popup-member_switcher {
    left: 50%;
    right: auto;
    bottom: 24px;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    align-items: center;
    gap: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    overflow-x: auto;
    color: var(--text-color-light);
  }

  body.popup-active #member_popup .popup-member_switcher {
    transform: translateX(-50%);
  }

  #member_popup .popup-member_switcher::before {
    content: "Other Creators";
    flex-shrink: 0;
    font-size: var(--fs-member-profile-label);
    font-weight: 200;
    letter-spacing: 0.08em;
    opacity: 0.7;
  }

  .popup-member_switcher .switcher-item {
    width: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .popup-member_switcher .switcher-item:hover {
    transform: none;
  }

  .popup-member_switcher .switcher-item .member_img {
    order: -1;
    width: 56px;
    flex-shrink: 0;
  }

  .popup-member_switcher .switcher-item .member_img img {
    transition: filter var(--duration-fast);
  }

  .popup-member_switcher .switcher-item:hover .member_img img {
    filter: none;
  }

  .popup-member_switcher .switcher-item .switcher-text {
    font-size: 1em;
    margin: 0;
  }

  .popup-member_switcher .switcher-item .job_title p {
    font-size: var(--fs-member-profile-label);
    font-weight: 200;
    line-height: 1.4;
    opacity: 0.8;
  }

  .popup-member_switcher .switcher-item .name p {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.05em;
  }

  .popup-member_switcher .switcher-item .name br {
    display: none;
  }

  .popup-member_switcher .switcher-item:hover .name p {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* Products：ポップアップを開いた・切り替えたときに、サムネイルを順番にパラパラ出す
   （.is-color は開くたびに JS が付け直すので、そのタイミングを使う） */
#member_popup .member-products_item {
  opacity: 0;
  transform: translateY(12px);
}

#member_popup .popup-content_wrapper.is-color .member-products_item {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--duration-content-fade) + min(var(--i, 0), 11) * var(--delay-products-item));
}

@media (prefers-reduced-motion: reduce) {
  #member_popup .member-products_item {
    transform: none;
  }

  #member_popup .popup-content_wrapper.is-color .member-products_item {
    transition: opacity 0.3s ease;
    transition-delay: 0s;
  }
}

/* products の動画プレイヤー（ポップアップの上に重ねる） */
#member_popup .popup-player {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--popup-player-bg);
}

#member_popup .popup-player[hidden] {
  display: none;
}

#member_popup .popup-player_frame {
  width: var(--popup-player-w);
  aspect-ratio: 16 / 9;
}

#member_popup .popup-player_frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* 閉じるボタン（×は線で描画）。動画の右上に置き、ハンバーガーと重ならないようにする */
#member_popup .popup-player_close {
  position: absolute;
  top: calc((100% - var(--popup-player-w) * 9 / 16) / 2 - 64px);
  right: calc((100% - var(--popup-player-w)) / 2);
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-color-light);
  border-radius: 50%;
}

#member_popup .popup-player_close::before,
#member_popup .popup-player_close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background-color: var(--text-color-light);
}

#member_popup .popup-player_close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#member_popup .popup-player_close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ===============================================
    ▼▼▼ スマートフォン対応用の追加CSS (768px以下) ▼▼▼
   =============================================== */
@media (max-width: 768px) {
  .main_coppy p {
    font-weight: 400;
    font-size: 15px;
    line-height: 2.2;
  }

  .main_coppy_txt {
    gap: 1em;
  }

  .main_coppy_stage {
    --copy-inset: 24px;
  }

  /* --- ベースコンポーネントの調整 --- */
  .creator_wrapper {
    flex-direction: column; /* 縦積みに変更 */
    margin: 40px 0 64px; /* 上下の余白を縮小 */
    padding-right: 0;
  }

  .creator_wrapper .title_area {
    width: 100%;
    aspect-ratio: auto; /* アスペクト比を解除 */
    height: 150px; /* 高さを固定 */
    border-radius: 0;
    margin-bottom: 32px;
  }

  .creator_wrapper .title_area h4 {
    font-size: 24px; /* フォントサイズを調整 */
  }

  .creator_wrapper .creator_box {
    width: 100%;
    grid-template-columns: repeat(3, 33%); /* 幅を調整 */
    align-items: center; /* 中央寄せ */
    gap: var(--creator-row-gap) 0;
  }

  .creator_wrapper .member .flex-left .name {
    letter-spacing: 0.075em;
    margin-bottom: 0;
    line-height: 1.2;
  }

  .creator_wrapper .member .flex-left .job_title {
    font-size: 11px;
  }

  /* SP の一覧：肩書き・名前は写真に重ねず、写真の下に置く */
  .creator_wrapper .member .flex-left {
    grid-template-rows: auto auto auto;
  }

  .creator_wrapper .member .flex-left .member_img {
    grid-row: 1;
    margin-bottom: 6px;
  }

  .creator_wrapper .member .flex-left .member_img::after {
    content: none;
  }

  .creator_wrapper .member .flex-left .job_title {
    grid-row: 2;
  }

  .creator_wrapper .member .flex-left .name {
    grid-row: 3;
    font-size: 16px;
  }

  :root {
    --creator-caption-padding: 0px;
  }

  /* --- ポップアップウィンドウの調整 --- */
  #member_popup {
    display: block;
  }

  #member_popup .popup-content_wrapper {
    flex-direction: column; /* ポップアップ内も縦積みに */
    width: 100%;
    height: 85dvh; /* 高さを画面に合わせる */
    gap: 16px;
    overflow-y: auto; /* 内容がはみ出たらスクロール */
    padding: 60px 0 20px; /* 上下のパディング調整 */
  }

  #member_popup .popup-back_btn {
    top: 20px;
    left: 20px;
  }

  /* --- ポップアップ内部レイアウトの調整 --- */
  body.popup-active #member_popup .popup-content_wrapper .flex-left {
    width: calc(100% - 8px);
    margin: 0 auto;
    order: 1; /* 表示順序：一番上 */
  }

  body.popup-active #member_popup .popup-content_wrapper .flex-right {
    width: 100%;
    height: auto;
    order: 2; /* 表示順序：二番目 */
    padding: 0 8px; /* 左右に少し余白 */
  }

  #member_popup .popup-content_wrapper .member-profile {
    justify-content: center;
  }

  .member-products_list {
    grid-template-columns: repeat(2, 1fr);
    overflow-y: visible; /* SPはポップアップ全体でスクロール */
  }

  body.popup-active #member_popup .popup-content_wrapper .flex-left .name p {
    font-size: 1.2em;
    text-align: center;
  }

  body.popup-active
    #member_popup
    .popup-content_wrapper
    .flex-left
    .job_title
    p {
    text-align: center;
  }

  /* --- メンバー切り替えスイッチャーの調整 --- */
  #member_popup .popup-member_switcher {
    position: relative; /* 配置基準を変更 */
    order: 3; /* 表示順序：一番下 */
    width: 100%;
    justify-content: center; /* 中央寄せ */
    right: auto;
    padding: 0;
    gap: 15px;
    background-color: #000;
  }

  .popup-member_switcher .switcher-item {
    width: 60px; /* スイッチャーの画像を小さく */
  }
}

.about_content dl {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.6;
  margin: 0 16px;
}

.about_content dl dt {
  width: 30%;
  margin: 8px 0;
}

.about_content dl dd {
  width: 70%;
  margin: 16px 0;
}

@media (max-width: 768px) {
  .about_content h3 {
    font-size: 5vw;
  }
  .about_content dl {
    display: block;
  }
  .about_content dl dt {
    width: 100%;
    margin: 0;
    font-size: 14px;
    font-weight: 300;
  }
  .about_content dl dd {
    width: 100%;
    margin: 0 0 8px;
    letter-spacing: 0.1em;
    line-height: 1;
    font-size: 0.8em;
  }
}

/*====================================================================
  page-news
====================================================================*/

.news__item {
  margin-bottom: 30px;
  line-height: 1.4;
}

/*====================================================================
  form
====================================================================*/
/* === Layout & Structure === */
.formarea {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.formarea .form-side {
  color: #fff;
  position: sticky;
  top: 40px;
  height: fit-content;
  width: fit-content;
  max-width: 100dvw;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 64px;
  font-size: 16px;
  padding-right: 16px;
}

.formarea .form-side .form-side_txt p.form-read {
  font-weight: 600;
  font-size: 1.5em;
}

.formarea .form-side .tel_number {
  letter-spacing: 0.075em;
  font-size: 1.5em;
  font-weight: 600;
}

.formarea .contact-form {
  width: auto;
  padding-left: 16px;
  font-size: 18px;
  margin-bottom: 120px;
  border-left: 0.5px solid #666;
  flex: 1;
}

/* === Form Fields === */
.form-wrap {
  padding-bottom: 24px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #666;
}

.form-title {
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 8px;
}

span.required {
  display: inline-block;
  background-color: #dc3232;
  color: #fff;
  font-size: 12px;
  padding: 4px;
  margin-left: 12px;
  font-weight: 400;
}

.form_box,
.isp-btn {
  width: 100%;
  overflow: scroll;
}

.form_box p span {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  margin-top: 4px;
  margin-bottom: 8px;
  font-size: 16px;
}

input.wpcf7-text,
input.wpcf7-tel,
input.wpcf7-email,
textarea.wpcf7-textarea {
  display: block;
  width: 100%;
  padding: 6px 10px;
  background-color: #fefefe;
  line-height: 1.6;
  font-size: 16px;
  color: #333;
}

/* === Error & Validation === */
.wpcf7-not-valid-tip {
  font-size: 16px;
  margin-top: 6px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #dc3232;
}

/* === Checkbox === */
.checkbox-cl01 input {
  display: none;
}

.checkbox-cl01 input + span {
  display: inline-block;
  padding-left: 32px;
  line-height: 50px;
  position: relative;
}

.checkbox-cl01 input + span::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  transition: all 0.12s, border-color 0.08s;
}

.checkbox-cl01 input:checked + span::before {
  width: 10px;
  height: 16px;
  top: 16px;
  left: 4px;
  border-radius: 0;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(45deg);
  opacity: 1;
}

/* === Radio Buttons === */
.form-wrap-ul input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: transparent;
  position: relative;
  margin-right: 8px;

  border: 2px solid #fefefe;
}

.form-wrap-ul input[type="radio"]:checked::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-color: #fefefe;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* === Radio Button Label === */
.form-wrap-ul label {
  display: flex;
  align-items: center;
}

.wpcf7-list-item {
  margin: 0;
}

.agree_chk {
  font-size: 12px;
}

.agree_chk a {
  text-decoration: underline;
  color: #59afff;
}

/* === Submit Button === */
.submit-btn {
  margin-top: 24px;
  width: 50%;
  height: 70px;

  background-color: #fefefe;
  transition: 0.6s;
  border: 1px solid #fefefe;
}

.submit-btn:hover {
  background-color: #000;
}

.submit-btn p {
  background-color: #000;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  color: #fefefe; /* 初期文字色を黒に設定 */
  mix-blend-mode: difference; /* ブレンドモードを差分に設定 */
}

.submit-btn p input {
  width: 100%;
  height: 100%;
  padding-left: 50px;
  font-weight: 900;
}

.submit-btn p .submit-arrow {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  background-color: #fefefe;
  mix-blend-mode: difference; /* ブレンドモードを差分に設定 */
  transition: 0.6s;
}

.submit-btn p .submit-arrow .arrow {
  position: absolute;
  display: inline-block;
  color: #000;
  vertical-align: middle;
  text-decoration: none;
  font-size: 15px;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.submit-btn p .submit-arrow .arrow::before,
.submit-btn p .submit-arrow .arrow::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.submit-btn:hover p .submit-arrow {
  right: 4px;
}

.arrow1::before {
  left: 2px;
  width: 50%;
  height: 3px;
  background: #000;
  mix-blend-mode: difference;
}
.arrow1::after {
  left: 25% !important;
  width: 30%;
  height: 30%;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  mix-blend-mode: difference;
}

.wpcf7-spinner {
  display: none !important;
}

/* === Extra Text Sections === */
.exp,
.recaptcha_txt {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 8px;
  font-weight: 200;
}

.recaptcha_txt {
  margin-top: 30px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .formarea {
    flex-direction: column;
  }

  .formarea .form-side,
  .formarea .contact-form,
  .form_box,
  .isp-btn,
  .submit-btn,
  .exp,
  .recaptcha_txt {
    width: 100%;
    padding-left: 0;
    border-left: none;
  }

  .formarea .form-side {
    position: static !important;
    margin-bottom: 48px;
    gap: 32px;
    padding-right: 0;
  }

  .formarea .form-side .form-side_txt p.form-read {
    font-size: 1.3em;
  }
}

/*====================================================================
  single-page-bg
====================================================================*/

.single-page-bg .achievements {
  margin-bottom: 30px;
}

.single-page-bg .achievements .wp-block-image {
  aspect-ratio: 16 / 9;
}

.single-page-bg .details_list dl {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.4;
}

.single-page-bg .details_list dl dt {
  flex: 0 0 16%;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 200;
}

.single-page-bg .details_list dl dd {
  flex: 0 0 84%;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 400;
}

.single-page-bg .wp-block-video {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .single-page-bg .details_list dl dt {
    flex: 0 0 30%;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 200;
  }

  .single-page-bg .details_list dl dd {
    flex: 0 0 70%;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 400;
  }
}

/*====================================================================
  works 詳細　YTB
====================================================================*/

.ytp-endscreen-content {
  display: none;
}

/*====================================================================
  biography-entrance
====================================================================*/
.entrance-cursor {
  padding: 2rem;
  width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 50%; /* 円形にする */
  border: 1px solid #fff;
  /* 見た目の設定 */
  aspect-ratio: 1 / 1;
  background-color: transparent;
  border-radius: 50%; /* 円形にする */
  border: 1px solid #fff;

  /* 位置の設定（JSで left / top を上書き） */
  position: fixed;
  top: -200px;
  left: -200px;
  z-index: 9999; /* 常に最前面に表示 */

  /* マウスイベントを透過させるための重要設定 */
  pointer-events: none;

  /* 中心を基準に位置を調整するため */
  transform: translate(-50%, -50%);
  will-change: left, top;
}

.entrance-cursor::after {
  content: "ENTER →";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  font-weight: 200;
  white-space: nowrap;
  display: block;
}

.biography-entrance-page {
  margin: 0;
  overflow: hidden;
  width: 100vw;
  height: 100lvh;
}

body:has(.biography-entrance-page) {
  background-color: #1a1a1a;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.biography-entrance__link {
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100lvh;
  z-index: 0;
  display: block;
}

/*====================================================================
  biography-archive-page
====================================================================*/
.biography-archive-page {
  background-color: #333;
  width: 100dvw;
  height: 100lvh;
  top: 0;
  left: 0;
  position: fixed;
  z-index: -1;
}

/* 画面を左右に二分する縦の中央罫線 */
.biography-archive-page::after {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100lvh;
  background-color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 1;
}

/* ---- 右半分の動画背景コンテナ ---- */
.biography-archive__bg {
  position: fixed;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100lvh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  transition: width 0.75s cubic-bezier(0.77, 0, 0.175, 1),
              left  0.75s cubic-bezier(0.77, 0, 0.175, 1);
}

/* ポップアップ open 時：bg 拡張 + dim */
.biography-archive__bg.is-popup-open {
  width: 90%;
  left: 10%;
}

.biography-archive__bg.is-popup-open::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
  animation: bgDimIn 0.6s ease forwards;
}

@keyframes bgDimIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 動画2枚重ねでクロスフェード */
.biography-archive__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center; /* 右半分コンテナ内で左寄せ表示 */
  opacity: 0;
  transition: opacity 0.7s ease;
}

/*====================================================================
  biography-archive スライドショー
====================================================================*/
.biography-archive__list {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* ---- 各アイテム共通 ---- */
.biography-archive__item {
  width: 100vw;
  position: absolute;
  left: 0;
  top: 50%;
  /* translateY(offset) をJSで上書き */
  transform: translateY(-50%) scale(0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 前後（visible） */
.biography-archive__item.is-prev,
.biography-archive__item.is-next {
  opacity: 1;
  pointer-events: auto;
}

/* active：必ず画面中央 */
.biography-archive__item.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.biography-archive__item.is-active
  .biography-archive__inner
  .biography-archive__body {
  padding: 0 0 0 3vw;
}

/* それ以外（非表示） */
.biography-archive__item.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* popup open 時：対象以外のアイテムをフェードアウト */
.biography-archive__item.is-popup-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.45s ease !important;
}

/* ---- アイテム内レイアウト ---- */
.biography-archive__inner {
  display: flex;
  position: relative;
  /* サムネイルの高さに合わせて内側に余白 */
  padding: 20px 0;
  min-height: clamp(120px, 22vw, 280px);
  text-decoration: none;
  color: inherit;
}

/* タイトルエリア：画面左半分に配置 */
.biography-archive__body {
  display: flex;
  align-items: center;
  padding: 0 0 0 6vw;
  box-sizing: border-box;
  width: 50%;
  flex-wrap: nowrap;
  gap: 1rem;
  transition: .3s;
}

.biography-archive__title {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  word-break: keep-all;
  width: fit-content;
}

.biography-archive__line {
  height: 1px;
  background-color: #fff;
  width: 100%;
  flex: 1;
  transition: width  0.55s cubic-bezier(0.77, 0, 0.175, 1),
              flex   0.55s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.4s ease;
}

/* ポップアップ open 時：line 消去 */
.biography-archive__line.is-popup-open {
  width: 0 !important;
  flex: 0 !important;
  opacity: 0;
}

/* サムネイル：中央の罫線上（left:50%）を中心に配置 */
.biography-archive__thumbnail {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: clamp(120px, 22vw, 280px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  transition: transform 0.5s ease, opacity 0.5s ease;
  border: 1px solid #fff;
  box-shadow: 4px 4px 1vw #ffffff66;
}

/* ポップアップ open 時：thumbnail フェードアウト */
.biography-archive__thumbnail.is-popup-open {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.08);
}

/* is-active のときサムネイルを拡大 */
.biography-archive__item.is-active .biography-archive__thumbnail {
  transform: translate(-50%, -50%) scale(1.25);
}

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

/* ---- no posts ---- */
.biography-archive__no-posts {
  color: #fff;
  text-align: center;
}

/*====================================================================
  biography-archive ポップアップ
====================================================================*/

/* 全画面ラッパー */
.biography-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  pointer-events: none;
  visibility: hidden;
}

.biography-popup.is-open {
  pointer-events: auto;
  visibility: visible;
}

/* 暗幕オーバーレイ */
.biography-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.biography-popup.is-open .biography-popup__overlay {
  opacity: 1;
}

/* 上段（head：画面中央より左）＋ 下段（動画：右寄せ）を縦中央に配置 */
.biography-popup__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 90%;          /* bg と同幅 */
  height: 100dvh;
  margin-left: 10%;    /* bg の left に揃える */
  padding: 40px 20px 40px 0;
  box-sizing: border-box;
  overflow-y: auto;
}

/* 上段：右端を画面中央（50vw）に揃える（content の left が 10vw のため margin-left は 10vw） */
.biography-popup__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 30vw;
  margin: auto 0 0 10vw; /* margin-top: auto → 縦中央寄せ（はみ出し時は上から表示） */
}

/* 共通ブロック */
.biography-popup__block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: clamp(12px, 1.5vw, 24px);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.biography-popup.is-open .biography-popup__block {
  opacity: 1;
  transform: translateY(0);
}

/* フェードインの時間差 */
.biography-popup__block--tl { transition-delay: 0.10s; }
.biography-popup__block--ml { transition-delay: 0.14s; }
.biography-popup__block--mr { transition-delay: 0.18s; }
.biography-popup__block--bl { transition-delay: 0.22s; }

/* 下段：動画（右寄せ・幅 60vw） */
.biography-popup__block--bl {
  width: 60vw;
  padding: 0;
  margin: 0 0 auto auto; /* margin-bottom: auto → 縦中央寄せ */
}

/* 上端揃え → R1996 と I DENCITY（同サイズ）の中心ラインが揃う */
.biography-popup__block--ml,
.biography-popup__block--mr {
  width: auto;
  align-self: flex-start;
}

/* event_txt */
.biography-popup__event-txt {
  font-size: clamp(0.65rem, 0.9vw, 0.9rem);
  /* color: rgba(255, 255, 255, 0.82); */
  color: #000;
  background-color: #ffffff99;
  padding: 0.5em 0 0.5em 1.5em;
  letter-spacing: 0.08em;
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

/* 値がない場合は非表示 */
.biography-popup__event-txt:empty {
  display: none;
}

/* R1996 / I DENCITY ラベル */
.biography-popup__label {
  display: block;
  font-family: sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1.2;
  text-transform: none;
  margin: 0;
}

.biography-popup__label--r1996 {
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  text-shadow: 0 0 40px rgba(255,255,255,0.25);
}

.biography-popup__label--idencity {
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  text-shadow: 0 0 40px rgba(255,255,255,0.25);
}

/* subscribers */
.biography-popup__subscribers {
  font-size: clamp(0.7rem, 1vw, 0.95rem);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  margin: 0.45em 0 0;
  text-align: center;
  width: fit-content;
}

/* 動画（pv） */
.biography-popup__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.6);
}

/* ==============================
   biography-popup スマホレイアウト
   ============================== */
@media (max-width: 767px) {

  /* コンテンツ全体 */
  .biography-popup__content {
    width: 85%;
    margin-left: auto;
    padding: 16px 4px;
  }

  /* 上段・動画ともに全幅で縦積み */
  .biography-popup__head {
    width: 100%;
    margin-left: 0;
  }

  .biography-popup__block--bl {
    width: 100%;
  }

  /* event_txt（スマホ用） */
  .biography-popup__event-txt {
    font-size: clamp(0.6rem, 2.5vw, 0.8rem);
    padding: 0.4em 0.6em;
    letter-spacing: 0.06em;
    line-height: 1.6;
  }

  /* 動画（スマホ用） */
  .biography-popup__video {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  }

  .biography-popup__block--ml {
    width: 35%;
  }

  .biography-popup__block--mr {
    width: 50%;
  }

  /* ラベル（スマホ用） */
  .biography-popup__block--ml .biography-popup__label,
  .biography-popup__block--mr .biography-popup__label {
    font-size: clamp(1rem, 4vw, 1.4rem);
    margin: 0;
  }

  .biography-popup__block--mr .biography-popup__subscribers {
    font-size: clamp(0.6rem, 2.5vw, 0.8rem);
    margin: 0.3em 0 0;
    margin-right: 0;
    text-align: center;
    align-self: center;
    width: auto;
  }

  /* ---- popup open 時：タイトル回転アニメーション ---- */

  /* スマホ時：list・inner の overflow を解放して回転がクリップされないようにする */
  .biography-archive__list {
    overflow: visible;
  }
  .biography-archive__inner {
    overflow: visible;
  }

  /* タイトルの基本設定：要素中心を起点に回転できるよう準備 */
  .biography-archive__title {
    display: inline-block;
    transform-origin: center center;
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  }

  /* popup open 時：要素中心を起点に90度回転してとどまる */
  .biography-archive__title.is-popup-open {
    transform: rotate(-90deg);
  }
}

/*====================================================================
  biography-single 記事ページ
====================================================================*/

/*====================================================================
  about：クリエイターポップアップ（SP）— PC と同じ考え方にそろえる
  （上に肩書き・名前・From を左寄せ → 写真 → Products の詰まった一覧、
    画面下に「Other Creators」の帯。既存の SP 指定より後ろに置いて上書きする）
====================================================================*/
@media (max-width: 768px) {
  #member_popup .popup-content_wrapper {
    height: calc(100dvh - var(--popup-switcher-h-sp));
    margin-bottom: var(--popup-switcher-h-sp);
    gap: 24px;
    padding: 64px 16px 24px;
  }

  body.popup-active #member_popup .popup-content_wrapper .flex-left,
  body.popup-active #member_popup .popup-content_wrapper .flex-right {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body.popup-active #member_popup .popup-content_wrapper .flex-left .job_title p,
  body.popup-active #member_popup .popup-content_wrapper .flex-left .name p {
    text-align: left;
  }

  body.popup-active #member_popup .popup-content_wrapper .flex-left .name p {
    font-size: 1.5em;
    line-height: 1.25;
  }

  #member_popup .popup-content_wrapper .flex-left .name br {
    display: none;
  }

  #member_popup .popup-content_wrapper .member-profile {
    justify-content: flex-start;
    margin: 4px 0 12px;
  }

  body.popup-active #member_popup .popup-content_wrapper .flex-left .member_img {
    flex: none;
    aspect-ratio: 4 / 5;
  }

  #member_popup .member-products_title {
    margin-bottom: 12px;
    font-size: var(--fs-member-profile-value);
    line-height: 1.5;
  }

  #member_popup .member-products_list {
    gap: var(--products-gap-pc);
    padding-right: 0;
  }

  /* Other Creators：画面下に固定した帯。人数が増えたら横スクロール */
  #member_popup .popup-member_switcher {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: var(--popup-switcher-h-sp);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    grid-template-rows: auto 1fr;
    align-items: center;
    justify-content: start;
    gap: 6px 24px;
    padding: 10px 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #000;
    overflow-x: auto;
    color: var(--text-color-light);
  }

  #member_popup .popup-member_switcher::before {
    content: "Other Creators";
    grid-row: 1;
    grid-column: 1 / -1;
    font-size: var(--fs-member-profile-label);
    font-weight: 200;
    letter-spacing: 0.08em;
    opacity: 0.7;
  }

  .popup-member_switcher .switcher-item {
    grid-row: 2;
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    overflow: visible;
  }

  .popup-member_switcher .switcher-item:hover {
    transform: none;
  }

  .popup-member_switcher .switcher-item .member_img {
    order: -1;
    width: 44px;
    flex-shrink: 0;
  }

  .popup-member_switcher .switcher-item .switcher-text {
    font-size: 1em;
    margin: 0;
  }

  .popup-member_switcher .switcher-item .job_title p {
    font-size: var(--fs-member-profile-label);
    font-weight: 200;
    line-height: 1.4;
    opacity: 0.8;
  }

  .popup-member_switcher .switcher-item .name p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .popup-member_switcher .switcher-item .name br {
    display: none;
  }

  :root {
    --popup-switcher-h-sp: 96px; /* 下の Other Creators 帯の高さ */
  }
}

/* Products のサムネイルタイトル：一時的に非表示（2026-10-16 社長指示。戻すときはこのルールを消す） */
#member_popup .member-products_name {
  display: none;
}

/* reCAPTCHA のバッジを非表示（もとはカスタマイザーの「追加CSS」に書かれていた指定。追加CSSはテーマごとに保存されるため、テーマを切り替えても効くようにここへ移した） */
.grecaptcha-badge {
  visibility: hidden;
}
