/*
Theme Name: VSEKAI
Theme URI: https://vsekai.com/
Description: VTuber
Version: 1.0.0
Author: KUMOiro design
Author URI: https://vsekai.com/
*/

@charset "UTF-8";
/* CSS Document */

/* 全体のセッティング */

html {
  background: var(--color-gray-0);
}

body {
  position: relative;
  font-family: var(--body-font);
  font-size: var(--body-size);
  background: var(--color-gray-0);
  color: var(--color-gray-800);
}

a {
  display: block;
  text-decoration: none;
}

main {
  width: 100vw;
}

.page {
  width: 100vw;
  background: var(--color-brand-300);
  padding: var(--space-10) 0;
}

.page__inner {
  background: var(--color-gray-0);
  width: clamp(280px, 90vw, var(--container-xl));
  margin: 0 auto;
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-2);
  padding: 60px;


}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .page__inner {
    padding: 60px 10px;
  }

  .page {
    padding: var(--space-8) 0;
  }
}

/* セクションタイトルのスタイル */

.section__title {
  display: grid;
  place-content: center;
  place-items: center;
  margin-bottom: var(--space-6);
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .section__title {
    width: 90%;
    margin: 0 auto var(--space-6);
  }
}

.section__title__en {
  width: clamp(200px, 50vw, 700px);
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .section__title__en {
    width: clamp(200px, 90%, 700px);
  }
}

/* 日本語タイトル */
.section__title__ja {
  font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-lg));
  display: block;
  text-align: center;
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .section__title__ja {
    font-size: clamp(var(--font-size-sm), 4vw, var(--font-size-lg));
  }
}

/* 改行制御 */

/* --- PC以上の画面幅では改行あり・中央揃え --- */

.pc-wrap {
  text-align: center;
  line-height: 2.1;
  /* ← 中央揃えを有効にする */
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .pc-wrap {
    text-align: left;
    line-height: 1.8;
    /* ← 中央揃えを無効にする */
  }
}

.br-pc {
  display: inline;
  /* ← 改行を有効にする */
}

.sp-nowrap {
  white-space: normal;
  /* ← 自然な折返しに戻す */
}

/* ------------------------------
  共通アニメーション
------------------------------ */


/* ふわふわ */

.fuwafuwa {
  display: inline-block;
  opacity: 0.8;
  animation: fuwafuwa 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  will-change: transform;
  mix-blend-mode: screen;
  filter: blur(0.5px);
}

@keyframes fuwafuwa {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25px);
  }
}

/* ゆらゆら */
/* 初期状態（非表示＋少し上にずらす＋ぼかし） */
.fadein-up {
  opacity: 0;
  transform: translateY(-40px);
  filter: blur(5px);
  transition:
    opacity 1.2s ease-out,
    transform 1.2s ease-out,
    filter 1.2s ease-out;
}

/* 表示されたらフェードイン＋位置リセット＋ぼかし解除 */
.fadein-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}


/* ------------------------------
  ボタンホバーアニメーション
------------------------------ */

.ripple-btn {
  position: relative;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  isolation: isolate;
  margin: 0 auto;
}

/* 波紋3枚分 */
.ripple-btn::before,
.ripple-btn::after,
.ripple-btn span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  /* ← 初期サイズ大きく */
  height: 100px;
  border: 10px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  filter: blur(5px);
}

.ripple-btn span {
  position: relative;
  z-index: 1;
}

/* 波紋アニメーション（大きく、ゆっくり） */
@keyframes rippleCenter {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: .7;
  }

  60% {
    transform: translate(-50%, -50%) scale(4.5);
    opacity: .25;
  }

  100% {
    transform: translate(-50%, -50%) scale(5.5);
    opacity: 0;
  }
}

/* 時差で3連続 */
.ripple-btn:hover::before {
  animation: rippleCenter 1.7s ease-out 0s 1;
}

.ripple-btn:hover::after {
  animation: rippleCenter 1.7s ease-out 0.3s 1;
}

.ripple-btn:hover span::before {
  animation: rippleCenter 1.7s ease-out 0.6s 1;
}

.ripple-btn img {
  transition: 0.5s;
}

.ripple-btn:hover img {
  scale: 1.1;
  transition: 0.5s;
}

/* 小さめボタン */

.btn-link {
  transition: var(--duration-fast);
}

.btn-link:hover {
  transition: var(--duration-fast);
  scale: 1.1;
}

/* ------------------------------
  背景固定用共通
------------------------------ */

/* ---- ベース：セクション本体 ---- */
.section__fixed {
  position: relative;
  width: 100vw;
  min-height: 100dvh;
  /* 画面いっぱい */
  display: grid;
  place-items: center;
  isolation: isolate;
  /* 自前のレイヤー */
  z-index: 0;
  padding-bottom: 200px;
  /* セクション本来の背景（固定していない通常背景）
   → is-pinned中は消すのでダブり防止 */
  background: var(--color-brand-300);
  overflow: hidden;
}

/* ---- 固定背景レイヤー（最初は非表示） ---- */
.section__fixed::before {
  content: "";
  width: 100vw;
  position: fixed;
  /* ← これで“固定”を再現（iOS対応） */
  inset: 0;
  background: url('img/kirakira-parts01.png') center center no-repeat;
  background-size: 120%;
  z-index: -1;
  /* 背景として後ろに */
  opacity: 0;
  /* 初期は見せない */
  pointer-events: none;
  transition: opacity .25s ease;
  will-change: opacity;
  transform: translateZ(0);
  /* 描画を安定化 */
  overflow: hidden;
}

/* ---- 画面内に入った時だけ固定背景を出す ---- */
.section__fixed.is-pinned::before {
  opacity: 1;
}


/* この後ろに来るセクションは通常どおりスクロールで重なる */
.news-inner,
.regulations-company,
.company,
.regulations,
.footer,
.audition__banner {
  position: relative;
  z-index: 1;
  /* 背景の上に載る */
  background: transparent;
  /* 透けさせたい場合 */
  /* 必要なら下地用に rgba(255,255,255,.85) など */
}




/* ------------------------------
  ヘッダー 
------------------------------ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 15px 15px 15px 40px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .header {
    background: transparent;
  }
}

.header__inner {
  display: flex;
  justify-content: space-between;
}

/* ハンバーガー */

.nav__btn {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  border: none;
  border-radius: var(--radius-round);
  cursor: pointer;
  isolation: isolate;
  width: 50px;
  height: 50px;
  background: var(--color-gray-0);
  z-index: 1001;
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .nav__btn {
    display: block;
  }
}

.nav__btn span:nth-child(1) {
  position: absolute;
  top: 16px;
  left: calc(50% - 12px);
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #005bae;
  animation: bar01 .5s forwards;
}

.nav__btn span:nth-child(2) {
  position: absolute;
  top: 24px;
  left: calc(50% - 12px);
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 4px;
  background: #005bae;
  transition: all .1s .1s;
  opacity: 1;
}

.nav__btn span:nth-child(3) {
  position: absolute;
  top: 32px;
  left: calc(50% - 12px);
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 4px;
  background: #005bae;
  animation: bar03 .5s forwards;
}

.header.active .nav__btn span:nth-of-type(1) {
  animation: active-bar01 .5s forwards;
}

.nav__btn.active span:nth-of-type(2) {
  opacity: 0;
}

.nav__btn.active span:nth-of-type(3) {
  animation: active-bar03 .5s forwards;
}


/* アニメーション */
@keyframes bar01 {
  0% {
    transform: translateY(9px) rotate(45deg);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes bar03 {
  0% {
    transform: translateY(-8px) rotate(-45deg);
  }

  50% {
    transform: translateY(-8px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes active-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(8px) rotate(0);
  }

  100% {
    transform: translateY(8px) rotate(45deg);
  }
}

@keyframes active-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-8px) rotate(0);
  }

  100% {
    transform: translateY(-8px) rotate(-45deg);
  }
}




.header__logo {
  width: clamp(120px, 40vw, 260px);
}


.nav {
  position: static;
  transform: none;
  background: transparent;
  z-index: 999;
}

.nav__list {
  display: flex;
  gap: var(--space-2);
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .nav__list {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(100%);
    padding-top: var(--space-6);
    transition: var(--duration-normal);
  }

  .header.active .nav__list {
    transform: translateX(0);
    transition: var(--duration-normal);
  }
}

.nav__item {
  width: clamp(120px, 15vw, 180px);
  text-align: center;
}

.nav__item img {
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .nav__item img {
    width: clamp(120px, 50vw, 330px);
  }
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .nav__item {
    width: 100%;
  }
}

.nav__item a {
  color: var(--color-gray-800);
  transition: var(--duration-normal);
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .nav__item a {
    padding: var(--space-5);
  }
}

.nav__item a:hover {
  color: var(--color-brand-700);
  transition: var(--duration-normal);
}

/* スマホの慣性スクロール防止 */

html.is-locked,
body.is-locked {
  overflow: hidden;
  height: 100%;
  touch-action: none;
}



/* ------------------------------
  キービジュアル
------------------------------ */
.kv {
  width: 100vw;
}

.kv__inner {
  width: 100%;
}

.kv__inner img {
  width: 100%;
}



/* ------------------------------
  追従バナー
------------------------------ */

.floating-audition {
  position: fixed;
  right: 20px;
  bottom: 40px;
  width: clamp(180px, 30vw, 280px);
  z-index: 998;
  transition: opacity var(--duration-fast), transform var(--duration-fast);
  filter: drop-shadow(var(--shadow-1));
}

.floating-audition.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.floating-audition.is-over-footer {
  transform: translateY(-250px);
}

.floating-audition__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: var(--color-gray-0);
  cursor: pointer;
  padding-bottom: 4px;
}




/* ------------------------------
  世界観
------------------------------ */


/* ストーリー */

.story {
  position: relative;
  width: 100vw;
  overflow: hidden;
}

.story .section__title .section__title__ja {
  color: var(--color-gray-0);
  margin-bottom: var(--space-8);
}

.story__text h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
}

.story {
  position: relative;
  background: url('img/city-bg.png') top/cover no-repeat;
  overflow: hidden;
}

.story__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  width: clamp(300px, 95vw, var(--container-xl));
  margin: 0 auto var(--space-16);
  position: relative;
}



.story__inner::after {
  content: "";
  display: block;
  position: absolute;
  top: -80px;
  right: -100px;
  width: clamp(50px, 20vw, 250px);
  height: clamp(50px, 20vw, 250px);
  background: url('img/aqua01.png') top/cover no-repeat;
  z-index: 3;
  opacity: 0.8;
  animation: fuwafuwa 4s ease-in-out infinite;
  animation-duration: 3s;
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .story__inner::after {
    top: 0px;
    right: 0px;
  }
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .story__inner::after {
    top: -40px;
    right: -10vw;
    width: clamp(50px, 35vw, 250px);
    height: clamp(50px, 35vw, 250px);

  }
}

.story__inner::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: clamp(50px, 40vw, 400px);
  height: clamp(50px, 40vw, 400px);
  background: url('img/aqua02.png') top/cover no-repeat;
  z-index: 3;
  opacity: 0.8;
  animation: fuwafuwa 4s ease-in-out infinite;
  animation-duration: 3s;
  animation-delay: 0.5s;
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .story__inner::before {
    bottom: -200px;
    left: 0px;
  }
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .story__inner::before {
    bottom: -220px;
    left: 0px;
    width: clamp(50px, 70vw, 400px);
    height: clamp(50px, 70vw, 400px);

  }
}

.story__flex {
  border-radius: var(--radius-3);
  width: 50%;
  overflow: hidden;
  position: relative;
  bottom: 20px;
  right: -20px;
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .story__flex {
    width: 80vw;
    top: 0px;
    left: -6vw;
  }
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .story__flex {
    width: 90vw;
    top: 0px;
    left: 0vw;
    margin-bottom: var(--space-6);
  }
}

.story__flex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__text {
  background: rgba(255, 255, 255, 0.75);
  padding: var(--space-8);
  width: 50%;
  overflow: hidden;
  position: relative;
  top: 20px;
  right: 20px;
  line-height: 2.1;
  border-radius: var(--radius-3);

}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .story__text {
    width: 80vw;
    top: -40px;
    right: -6vw;
  }
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .story__text {
    width: 90vw;
    top: 0px;
    right: 0vw;
    padding: var(--space-6);
  }
}

.story__text h3 {
  text-align: center;
}


@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .story__text h3 {
    text-align: left;
  }
}

.story__text::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url('img/logo-transparent.png') center center / contain no-repeat;
  background-size: 50%;
  opacity: 0.1;
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .story__text::before {
    background-size: 90%;

  }
}



.story::after {
  content: "";
  display: block;
  width: 100%;
  height: 400px;
  position: absolute;
  bottom: -1px;
  left: 0;
  background: url('img/wave01.png') top/cover no-repeat;
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .story::after {
    height: 150px;
  }
}


/* ------------------------------
  所属メンバー
------------------------------ */

.member {
  width: 100vw;
  overflow: hidden;
}

.member__banner {
  width: clamp(280px, 90vw, var(--container-xl));
  margin: 0 auto var(--space-10);
}

.member__inner {
  position: relative;
}



/* ------------------------------
  ニュース
------------------------------ */


.news__inner {
  width: clamp(280px, 90vw, var(--container-xl));
  margin: 0 auto;
  background: url('img/news-bg.png') top/cover no-repeat;
  padding: var(--space-8) var(--space-8);
  position: relative;
  z-index: 2;
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-2);
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .news__inner {
    padding: var(--space-8) var(--space-4);
  }
}

.news__inner::after {
  content: "";
  display: block;
  position: absolute;
  top: -70px;
  right: -100px;
  width: clamp(50px, 35vw, 300px);
  height: clamp(50px, 35vw, 300px);
  background: url('img/quill-pen.png') top/cover no-repeat;
  z-index: 1;
  animation: fuwafuwa 4s ease-in-out infinite;
  animation-duration: 3s;
}


@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .news__inner::after {
    top: -90px;
    right: -40px;
    width: clamp(50px, 45vw, 300px);
    height: clamp(50px, 45vw, 300px);
  }
}

.news__inner::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -120px;
  left: -160px;
  width: clamp(50px, 40vw, 300px);
  height: clamp(50px, 40vw, 300px);
  background: url('img/stone.png') top/cover no-repeat;
  z-index: 1;
  animation: fuwafuwa 4s ease-in-out infinite;
  animation-duration: 3s;
  animation-delay: 0.5s;
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .news__inner::before {
    bottom: -130px;
    left: -60px;
    width: clamp(50px, 50vw, 300px);
    height: clamp(50px, 50vw, 300px);
  }
}

/* --- スライドの器：高さは中身(カード)に合わせて揃える --- */
.news-slider .swiper-wrapper {
  align-items: stretch !important;
}

.news-slider .swiper-slide {
  display: flex;
  align-items: stretch;
  height: auto;
  background: none;
  /* 見た目はカード側へ */
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

/* --- カード本体（見た目と高さ管理はここに集約） --- */
.ns-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  color: var(--color-gray-800);
  height: 100%;
}

/* 画像は固定比率で共通高さ */
.ns-thumb {
  aspect-ratio: 191 / 100;
  width: 100%;
  flex-shrink: 0;
}

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

.ns-thumb--ph {
  display: block;
  width: 100%;
  height: 100%;
  background: #e9e9e9;
}

/* テキスト部で高さを均等化 */
.ns-caption {
  padding: 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ns-title {
  margin: 0 0 .5em;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-excerpt {
  flex: 1;
  margin: 0 0 .75em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-meta {
  margin-top: auto;
  font-size: var(--font-size-xs);
  opacity: .75;
}

/* 矢印は“絶対配置”でフローから外し、幅計算に影響させない */
.news-slider .swiper-button-prev,
.news-slider .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
}

.news-slider .swiper-button-prev {
  left: 0;
}

å .news-slider .swiper-button-next {
  right: 0;
}

/* ドットは通常通り中央 */
.news-slider .swiper-pagination {
  position: static;
  margin-top: 16px;
  text-align: center;
}

/* 下のボタンを確実に中央寄せ */
.news-btn {
  width: clamp(200px, 95%, 650px);
  margin: 24px auto 0;
  display: block;
  text-align: center;
}

.news-btn img {
  display: block;
  margin: 0 auto;
}







/* ------------------------------
  オーディション
------------------------------ */

.audition__banner {
  width: 100dvw;
  height: 100dvh;
  position: relative;
  display: grid;
  place-items: center;
  background: url('img/audition-btn-bg.png') top/cover no-repeat;
}

.audition__banner__inner::before {
  content: "";
  display: block;
  position: absolute;
  width: clamp(50px, 30vw, 300px);
  height: clamp(50px, 30vw, 300px);
  bottom: 60px;
  left: 120px;
  background: url('img/audition-character01.png') top/cover no-repeat;
  z-index: 1;
  animation: fuwafuwa 4s ease-in-out infinite;
  animation-duration: 3s;
}

.audition__banner__inner::after {
  content: "";
  display: block;
  position: absolute;
  width: clamp(50px, 30vw, 300px);
  height: clamp(50px, 30vw, 300px);
  bottom: 60px;
  right: 120px;
  background: url('img/audition-character02.png') top/cover no-repeat;
  z-index: 1;
  animation: fuwafuwa 4s ease-in-out infinite;
  animation-duration: 3s;
  animation-delay: 0.5s;
}


@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .audition__banner__inner::before {
    width: clamp(50px, 40vw, 400px);
    height: clamp(50px, 40vw, 400px);
    bottom: 30px;
    left: 0px;
  }

  .audition__banner__inner::after {
    width: clamp(50px, 40vw, 400px);
    height: clamp(50px, 40vw, 400px);
    top: 40px;
    right: 0px;
  }
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  /* var(--bp-lg) */
  .audition__banner__inner::before {
    width: clamp(50px, 60vw, 400px);
    height: clamp(50px, 60vw, 400px);
    bottom: 10px;
    left: 0px;
  }

  .audition__banner__inner::after {
    width: clamp(50px, 60vw, 400px);
    height: clamp(50px, 60vw, 400px);
    top: 20px;
    right: 0px;
  }
}


.audition__btn img {
  width: clamp(200px, 90%, 650px);
  margin: 0 auto;
}


/* ------------------------------
  レギュレーション　企業概要
------------------------------ */





/* ---- ベース：セクション本体 ---- */
.regulations-company {
  position: relative;
  width: 100vw;
  min-height: 100dvh;
  /* 画面いっぱい */
  display: grid;
  place-items: center;
  isolation: isolate;
  /* 自前のレイヤー */
  z-index: 0;
  padding-top: var(--space-10);
  padding-bottom: 200px;
  /* セクション本来の背景（固定していない通常背景）
   → is-pinned中は消すのでダブり防止 */
  background: url('img/contact-bg-bg.png') top/cover no-repeat;
  overflow: hidden;
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .regulations-company {
    padding-bottom: var(--space-10);
  }
}

/* ---- 固定背景レイヤー（最初は非表示） ---- */
.regulations-company::before {
  content: "";
  width: 100vw;
  position: fixed;
  /* ← これで“固定”を再現（iOS対応） */
  inset: 0;
  background: url('img/contact-bg.png') top/cover no-repeat;
  background-size: 120%;
  z-index: -1;
  /* 背景として後ろに */
  opacity: 0;
  /* 初期は見せない */
  pointer-events: none;
  transition: opacity .25s ease;
  will-change: opacity;
  transform: translateZ(0);
  /* 描画を安定化 */
  overflow: hidden;
}

/* ---- 画面内に入った時だけ固定背景を出す ---- */
.section__fixed.is-pinned::before {
  opacity: 1;
}


/* この後ろに来るセクションは通常どおりスクロールで重なる */
.regulations,
.company,
.footer {
  position: relative;
  z-index: 1;
  /* 背景の上に載る */
  background: transparent;
  /* 透けさせたい場合 */
  /* 必要なら下地用に rgba(255,255,255,.85) など */
}



/* レギュレーション */

.regulation__scroll {
  width: clamp(280px, 90vw, 1100px);
  height: 60dvh;
  overflow: hidden;
  border-radius: var(--radius-3);
  margin: 0 auto var(--space-12);
}

@media screen and (max-width: 576px) {

  /* var(--bp-sm) */
  .regulation__scroll {
    margin: 0 auto var(--space-10);
  }
}

.regulation__scroll__box {
  width: clamp(280px, 90vw, 1100px);
  height: 60dvh;
  overflow: scroll;
  padding: 60px;
  border-radius: var(--radius-3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);

}



/* Chrome / Edge / Safari 対応 */
.regulation__scroll__box::-webkit-scrollbar {
  width: 10px;
  /* バーの太さ */
}

.regulation__scroll__box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.4);
  /* トラック部分（溝） */
  border-radius: 10px;
}

.regulation__scroll__box::-webkit-scrollbar-thumb {
  background: #005bae;
  /* ←バーの色をここで変更！ */
  border-radius: 10px;
}

.regulation__scroll__box::-webkit-scrollbar-thumb:hover {
  background: #003067;
  /* ホバー時の色 */
}

/* Firefox 対応 */
.regulation__scroll__box {
  scrollbar-color: #005bae rgba(255, 255, 255, 0.4);
  scrollbar-width: thin;
}



.regulation__guide {
  font-size: 20px;
  color: #005bae;
  font-weight: 700;
  padding-bottom: 40px;
}

.regulation__guide__text {
  padding-bottom: 40px;
  font-size: 18px;
}

.regulation__group {
  padding-left: 30px;
  padding-bottom: 40px;
  position: relative;
}

.regulation__group::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 2px;
  left: 0;
  background: url('img/star-icon.png') top/cover no-repeat;
}

.regulation__group h3 {
  padding-bottom: 20px;
}

.regulation__group p {
  padding-bottom: 20px;
}

.regulation__group li {
  padding: 4px;
  list-style: inside;
}



/* 会社概要 */

/* カード枠 */
.company-card {
  padding: 0 0 60px;
  display: grid;
  place-items: center;
}

.company-card__inner {
  width: clamp(280px, 90vw, 1100px);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: clamp(28px, 5vw, 56px);
}

/* テーブル */
.company-table {
  width: 100%;
  border-collapse: separate;
  /* 下線の余白を作りやすくする */
  border-spacing: 0;
  table-layout: fixed;
}

/* セル基本 */
.company-table th,
.company-table td {
  padding: clamp(18px, 3.5vw, 36px) clamp(12px, 3vw, 28px);
  font-size: 18px;
  line-height: 1.3;
}

.company-table th {
  width: 20%;
}

.company-table td {
  width: 80%;
}


/* 行の下線（左右に少し余白を残す） */
.company-table tr:not(:last-child) td,
.company-table tr:not(:last-child) th {
  border-bottom: 1px solid #003067;
  ;
  /* 線の色を画像の青に寄せる */
}

/* 下線の左右を短く見せるため、行に内側余白をかける */
.company-table tr>* {
  /* 下線の端を内側に寄せる感じ */
  padding-left: clamp(28px, 6vw, 80px);
  padding-right: clamp(28px, 6vw, 80px);
}

/* 角のRをカードっぽく見せたいとき（任意） */
.company-table {
  border-radius: 18px;
  overflow: clip;
  /* 角丸を厳密に反映（対応ブラウザ） */
}

/* アクセシビリティ：視覚的に非表示のcaption */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.contact__banner {
  width: clamp(200px, 90vw, 650px);
  margin: 0 auto;
}



/* ------------------------------
  フッター
------------------------------ */


/* フッター */
.footer {
  background: #003067;
  color: #fff;
  padding: 30px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: 20vw 500px 1fr;
  margin-bottom: var(--space-2);
  align-items: center;
  /* 上下中央揃え */
  position: relative;
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .footer__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;

  }
}

.footer__item {
  margin-bottom: var(--space-8);
}

.footer__logo {
  width: 120px;
}

@media screen and (max-width: 1024px) {

  /* var(--bp-lg) */
  .footer__logo {
    margin-top: 20px;
    margin-bottom: var(--shadow-3);
  }
}

.footer__list {
  display: flex;
  flex-wrap: wrap;
}



.footer__list li a {
  display: block;
  padding: 10px;
  transition: var(--duration-fast);
}

.footer__list li a:hover {
  color: var(--color-brand-300);
  transition: var(--duration-fast);
}

.sns__list {
  display: flex;
  max-width: 150px;
  gap: 30px;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
}


@media screen and (max-width: 1024px) {
  /* var(--bp-lg) */

  .sns__list {
    max-width: 200px;
    gap: 30px;
    position: relative;
  }

  .sns__list li {
    max-width: 70px;
  }

  .footer__list {
    flex-direction: column;

  }
}




.copyright {
  font-size: var(--font-size-xs);
  text-align: center;
}

/* ------------------------------
  投稿ページ
------------------------------ */


.single-page {
  margin: var(--space-10) 0;

}

.single-page-inner {
  width: clamp(300px, 95vw, var(--container-xl));
  margin: 0 auto;
}


.single-page-title {
  width: 100%;
  background: var(--color-brand-100);
  padding: var(--space-4);
}



/* =========================================
   Single Post Typography (scoped)
   対象：シングルページ本文のみ
   使い方：.single-page-article に記事ラッパ、.single-page-article-content に本文ラッパを当てる
   ========================================= */

/* ベース文字設定（本文の読みやすさ） */
.single-page-article .single-page-article-content {
  --font-size-base: var(--font-size-lg);
  --line-height-base: 1.6;
  color: var(--color-gray-800);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

/* 文章ブロックの基本余白（p, ul, ol, blockquote, pre, table など） */
.single-page-article .single-page-article-content :where(p, ul, ol, blockquote, pre, table, figure, iframe, .wp-block-image, .wp-block-gallery, .wp-block-embed, .wp-caption, hr) {
  margin-block: var(--space-6);
}

.wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.is-style-default {
  margin: 20px 0;
}

.wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.is-style-default .smb-btn {
  background: var(--color-brand-700) !important;
  border-radius: 100px !important;
  color: #fff !important;
}

.wp-block-snow-monkey-blocks-btn.smb-btn-wrapper.is-style-ghost .smb-btn {
  border: var(--color-brand-700) 1px solid;
  border-radius: 100px !important;
}

.smb-btn-box__btn-wrapper .smb-btn {
  background: var(--color-brand-700) !important;
  border-radius: 100px !important;
  color: #fff !important;
}


.single-page-nav a {
  width: 100px;
  padding: 10px;
  text-align: center;
  background: var(--color-brand-700) !important;
  color: #fff !important;
  border-radius: 5px;
}

/* ------------------------------
  404
------------------------------ */

.error__404 {
  width: clamp(200px, 90vw, 900px);
  margin: var(--space-12) auto var(--space-10);
}

.error__404__btn a {
  display: block;
  width: clamp(200px, 90vw, 400px);
  background: var(--color-brand-700);
  padding: var(--space-4) var(--space-2);
  border-radius: 100px;
  text-align: center;
  margin: var(--space-10) auto;
  color: #fff;
}