@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/*全体設定*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  font-family: "Montserrat", "Hiragino Kaku Gothic ProN", sans-serif;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  /* transition: opacity 0.3s ease; */
}

img {
  max-width: 100%;
}

/* ローディング */

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.2s 2s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.loading__logo {
  opacity: 0;
  animation: logo_fade 2s 0.5s forwards;
  width: 250px;
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  60% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
  }
}

/* スマホ用メディアクエリ */
/* スマホ用：位置を上に */
@media (max-width: 768px) {
  @keyframes logo_fade {
    0% {
      opacity: 0;
      transform: translateY(-30px); /* 少し上からスタート */
    }
    60% {
      opacity: 1;
      transform: translateY(-50px); /* 上に表示 */
    }
    100% {
      opacity: 0;
      transform: translateY(-50px); /* アニメーション終了後も上 */
    }
  }
}

.layout_guide {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 9999; /* いちおう前に */
}

.guide {
  position: absolute;
  inset: 0;
}

/* 縦 */
.guide_lineList {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 1px;
}
.guide_lineItem {
  flex: 1;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.guide_lineItem:first-child {
  border-left: none;
}

/* 横 */
.guide_rowList {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide_rowItem {
  flex: 1;
}

.guide_rowItem:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.guide_lineItem:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.guide_rowItem:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ヘッダー */
#main_visual {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  background: #000;
  overflow: hidden;
  z-index: 0;
  margin-bottom: 180px; /* これはOK */
}

@media (max-width: 768px) {
  #main_visual {
    margin-bottom: 90px;
  }
}

#canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.header--mv,
.fv_wrapper,
.fv_bottom {
  position: relative;
  z-index: 2;
}

/* ふわっと表示用 */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* MV内ヘッダー */
.header--mv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
}

/* .black_paint a {
  background-color: #000;
  color: #fff !important;
  padding: 0 10px;
} */

/* 通過後追従ヘッダー */
.header--fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  color: #000;
  opacity: 0;
  pointer-events: none;
  /* transition: opacity 0.3s ease; */
  z-index: 1111;
}

.header--fixed a {
  color: #000;
}

.header--fixed ul li a {
  color: #000;
}
.header--fixed.is-visible {
  opacity: 1;
  pointer-events: auto;
}

header .wrapper {
  display: flex;
  align-items: center;
  padding: 25px 50px;
  margin-bottom: 0;
  flex-direction: row;
  justify-content: space-between;
}

ul {
  color: #fff;
  display: flex;
  list-style: none;
  gap: 2.3rem;
}

header h1 {
  display: flex;
}
header h1 a {
  color: #fafafa;
  /* padding: 0.3rem 1rem; */
  /* font-size: 1.3rem; */
  font-size: 16px;
  font-weight: normal;
}

header .navigation a {
  color: #fff;
}

header h1 a {
  color: #fafafa;
  /* padding: 0.3rem 1rem; */
  /* font-size: 1.3rem; */
  font-size: 15px;
  font-weight: normal;
}

.navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}

header h1 a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;

  bottom: -1px; /*アンダーラインが位置する、各リストの下端からの高さ　ヘッダーの下端に合わせています*/
  visibility: hidden; /*ホバー前に、アンダーラインを可視化しない*/
}

header h1 a:hover::after {
  visibility: visible; /*ホバー後、アンダーラインを可視化する*/
}

.header__button {
  display: none;
}

/* body.top .navigation__link {
  color: #000;
  font-size: 14px;
  text-decoration: none; 
  border-bottom: 1px solid transparent; 
  transition:
    color 0.3s,
    border-bottom-color 0.3s; 
} */

.header_2 {
  position: fixed; /* ← 最初から追従 */
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
}

.header_2 ul {
  color: #000;
  display: flex;
  list-style: none;
  gap: 2rem;
}

.header_2 .navigation a {
  color: #000;
}

.header_2 h1 a {
  color: #000;
  /* padding: 0.3rem 1rem; */
  /* font-size: 1.3rem; */
  font-size: 16px;
  font-weight: normal;
}

#scroll-anchor {
  height: 1px;
}

.fv_wrapper {
  position: absolute;
  top: 35%;
  left: 0;
  width: 100%;
  color: #fff;
  z-index: 1;
  pointer-events: none;
}

.fv_wrapper_title {
  max-width: 100%;
  margin: 0px auto;
}

.fv_wrapper_title .title {
  font-size: 130px;
  font-weight: 200;
  text-align: center;
}

.title_name {
  font-size: 15px;
  font-weight: 400;
  text-align: center;
}

.title_sub {
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  line-height: 26px;
}

@media (max-width: 767px) {
  .fv_bottom {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    left: 50%;
    padding-inline: 20px;
    position: absolute;
    bottom: 1%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 10;
    color: #fff;
  }

  .fv_bottom_inner {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;

    bottom: 1%;

    width: 100%;
    z-index: 10;
    color: #fff;
  }
}

.fv_bottom {
  font-size: 14px;
  display: flex;
  left: 50%;
  padding: 0 50px;
  position: absolute;
  bottom: 1%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 10;
  color: #fff;
  gap: 0;
}

.fv_bottom_inner {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  /* padding-inline: 20px; */
  bottom: 1%;
  width: 100%;
  z-index: 10;
  color: #fff;
}

/* ここからコンテンツ */

.sp_title {
  display: block !important;
}

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

/* スクロール前 */
.inview {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

/* 表示状態 */
.inview.is-show {
  opacity: 1;
  transform: translateY(0);
}

.content_top {
  margin-top: 100px;
  height: auto !important;
  overflow: visible !important;
}

.text_wrapper {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1700px;
  width: calc(100% - 100px);
}

.text_wrapper_2 {
  margin-top: 100px;
}

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

  .content_top {
    margin-top: 200px;
  }
}

/* .text_wrapper .left {
  font-size: 20px;
  line-height: 1.6em;

  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
} */

.text_wrapper .left {
  font-size: 20px;
  line-height: 1.6em;
}

.text_wrapper .works_title {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.text_wrapper .left_text {
  margin-top: 20px;
  font-size: 16px;
  line-height: 45px;
}

.text_wrapper .left.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-random-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js-random-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.text_wrapper .works_title.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.text_wrapper .right {
  overflow: hidden;
  width: calc(100% - 275px);
}

.text_wrapper .right .english {
  font-size: 18px;
  line-height: 1.6em;
  text-align: justify;
}

.text_wrapper .right .japanese {
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.7em;
  margin-top: 38px;
  text-align: justify;
}

.about_img {
  background-color: #f3f3f3;
  height: 550px;
}

/* 親要素を relative に */
.about_content .text_wrapper .right {
  position: relative;
  overflow: hidden;
  width: calc(100% - 275px);
  /* height: 550px; about_img の高さに合わせる */
}

/* ボール */
.ball {
  width: 500px; /* ボールの元サイズ */
  height: 250px; /* 横幅の半分 */
  background: url("../img/dvd.png") no-repeat center/contain;
  position: absolute;
  top: 0;
  left: 0;
}

/* 流れるテキスト */

.content_wrapper .flowing_text {
  display: flex;
  margin: 135px 0;
  white-space: nowrap;
  width: 100%;
}

.content_wrapper .flowing_text p {
  animation: flowing 40s linear infinite;
}

.content_wrapper .flowing_text p {
  font-size: 3vw;
  height: 100%;
}

@keyframes flowing {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.arrow_wrapper {
  margin: 89px auto 0;
  max-width: 1700px;
  width: calc(100% - 100px);
}

.arrow_wrapper .arrow_button {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 0 auto;
  text-decoration: none;
  width: -moz-fit-content;
  width: fit-content;
}

.arrow_wrapper .arrow_button p {
  color: #000;
  font-size: 20px;
}

.arrow_wrapper .arrow_button .page_arrow {
  margin: 8px 0 auto 8px;
}

.arrow {
  height: 10px;
  position: relative;
  width: 13px;
}

/* 矢印 */

.arrow::before {
  content: "";
  position: absolute;
  background: #000;
  height: 2px;
  left: 0;
  top: 4px;
  width: 13px;
}

.arrow::after {
  content: "";
  position: absolute;
  border-right: 2px solid #000;
  border-top: 2px solid #000;
  height: 6px;
  right: -1px;
  top: 1px;
  transform: rotate(45deg);
  width: 6px;
}

/* ソートの矢印 */

/* 下向き */
.sort_arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #000;
}

/* 上向き */
.works_filter_wrap.is-open .sort_arrow {
  border-top: none;
  border-bottom: 8px solid #000;
}

.arrow_button p {
  position: relative;
  display: inline-block;
}

/* 架線 */
.arrow_button p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: currentColor;

  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

/* hover */
.arrow_button:hover p::after {
  opacity: 1;
  transform: translateY(0);
}

/* ここからソート機能 */

.works_filter_toggle {
  display: none;
}
/* PCだけ / */
@media (min-width: 768px) {
  .works_filter {
    display: flex;
    justify-content: flex-end;
    gap: 0;
  }

  .works_filter button:not(:last-child)::after {
    content: "/";
    margin: 0 16px;
    color: #000;
  }

  /* ===== WORKS FILTER（PC 基準） ===== */
  .works_filter {
    display: flex;
    justify-content: flex-end;
    gap: 0;
    margin: 70px 0px;
  }

  .works_filter_toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  /* SPは縦並び・/なし */
  /* ラッパー */
  .works_filter_wrap {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }

  /* トグル */
  .works_filter_toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
  }

  /* 矢印（三角形） */
  .works_filter_toggle .arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #000;
    transition: transform 0.25s ease;
  }

  /* 初期状態：閉じる */
  .works_filter {
    display: none;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0;
  }

  /* 開いたとき */
  .works_filter_wrap.is-open .works_filter {
    display: flex;
  }

  /* / 完全無効 */
  .works_filter button::after {
    display: none;
  }
}

/* SPのみ：WORKS フィルター専用 */
@media (max-width: 768px) {
  .works_filter,
  .works_filter button,
  .works_filter button span,
  .works_filter_toggle,
  .works_filter_toggle span {
    color: #000;
    -webkit-text-fill-color: #000; /* iOS Safari対策 */
  }
}

@media (max-width: 767px) {
  .works_filter_wrap {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 70px 0px;
  }

  /* SORT : ALL */
  .works_filter_toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 10px;
    font-size: 16px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .works_filter_toggle .arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #000;
    transition: transform 0.25s ease;
  }

  /* フィルタ一覧 */
  .works_filter {
    display: none;
    flex-direction: column;
    gap: 30px;
    padding: 24px 10px;
  }

  .works_filter_wrap.is-open .works_filter {
    display: flex;
  }

  .works_filter button {
    text-align: left;
    font-size: 18px;
  }

  .works_filter {
    display: none;
  }
}

.works_filter button {
  background: none;
  border: none; /* ← button からは消す */
  font-size: 16px;
  cursor: pointer;
  padding: 0;
}

/* 文字だけ下線 */
.works_filter button span {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.works_filter button.is-active span {
  border-bottom-color: #000;
}

/* / を間隔として使う */
.works_filter button:not(:last-child)::after {
  content: "/";
  margin: 0 16px;
  color: #010101;
}

.works_title {
  font-size: 20px;
  line-height: 1.6em;
}

.works .text_wrapper {
  display: inherit;

  justify-content: space-between;
  margin: 0 auto;
  max-width: 1700px;
  width: calc(100% - 100px);
}

/* .works_image {
  gap: 50px;
  display: flex;
  flex-wrap: wrap;
  max-width: 1692px;
  width: 100%;
  justify-content: space-between;
} */

.works_image {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

@media screen and (max-width: 768px) {
  .works_image {
    grid-template-columns: repeat(2, 1fr); /* or 1fr */
    gap: 20px;
  }
}

.content_wrapper .works_image {
  margin: 20px 0 148px 0;
}

.content_wrapper .works .works_contents {
  cursor: pointer;
}

.works_contents {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* 非表示 */
.works_contents.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  position: absolute;

  visibility: hidden; /* ← これが決定打 */
}

/* 表示 */
.works_contents:not(.is-hidden) {
  visibility: visible;
}

/* 親は relative */
.works_image {
  position: relative;
}

.works_contents {
  cursor: pointer;
}

.works_contents {
  align-items: center;
  display: flex;
  /* flex-flow: column;
  height: 348px; */
  justify-content: flex-start;
  position: relative;
  text-align: center;
  /* width: 25%; */
  flex-direction: column;
}

.works_contents p {
  font-size: 14px;
  margin-top: 10px;
  line-height: 22px;
}

/* 画像ラッパー（はみ出し防止） */
.works_contents .img {
  overflow: hidden;
  /* width: 240px; */
  height: 240px;
}

/* 画像本体 */
.works_contents .img img {
  width: 100%;
  height: auto;
  transition: transform 0.09s ease-out;
  padding: 10px;
}

/* ホバー時：画像だけ縮む */
.works_contents:hover .img img {
  transform: scale(0.95);
}
/* 画像ラッパー（はみ出し防止） */
.works_contents video {
  overflow: hidden;
}

/* 画像本体 */
.works_contents video {
  width: 100%;
  height: auto;
  transition: transform 0.09s ease-out;
}

/* ホバー時：画像だけ縮む */
.works_contents:hover video {
  transform: scale(0.95);
}
.slide_thumb {
  position: relative;
  width: 240px;
  /* height: 240px; */
  overflow: hidden;
}

.slide_thumb,
.works_contents .img {
  width: 100%;
  aspect-ratio: 1 / 1; /* 正方形を維持 */
  height: auto;
}
.slide_thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: translateY(-100%);
  animation-name: slidePush;
  animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  animation-iteration-count: infinite;
}

/* タイミングずらし */
.slide_thumb[data-count="3"] img {
  animation-duration: 12s;
}

.slide_thumb[data-count="3"] img:nth-child(1) {
  animation-delay: 0s;
}
.slide_thumb[data-count="3"] img:nth-child(2) {
  animation-delay: 4s;
}
.slide_thumb[data-count="3"] img:nth-child(3) {
  animation-delay: 8s;
}

/* 4枚用 */
.slide_thumb[data-count="4"] img {
  animation-duration: 16s;
}

.slide_thumb[data-count="4"] img:nth-child(1) {
  animation-delay: 0s;
}
.slide_thumb[data-count="4"] img:nth-child(2) {
  animation-delay: 4s;
}
.slide_thumb[data-count="4"] img:nth-child(3) {
  animation-delay: 8s;
}
.slide_thumb[data-count="4"] img:nth-child(4) {
  animation-delay: 12s;
}

/* 上から切り替わる */
@keyframes slidePush {
  /* 上で待機（見えない） */
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  /* フェードしながら入る */
  5% {
    transform: translateY(0);
    opacity: 1;
  }

  /* 表示キープ */
  25% {
    transform: translateY(0);
    opacity: 1;
  }

  /* 押し出されながらフェードアウト */
  30% {
    transform: translateY(100%);
    opacity: 0;
  }

  /* 下で待機 */
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* モーダル */
/* ===== WORKS MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal_bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.modal_work {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.modal_work.is-active {
  display: grid;
}

.modal_content {
  position: relative;
  height: 100vh;
  margin: 0 10vw;
  display: flex;
  align-items: stretch;
  z-index: 2;
}

.modal_inner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;

  height: 100%;
  overflow-y: auto;

  background: #f6f6f6;
  padding: 80px 100px;
}

.modal_bg {
  z-index: 1;
  cursor: pointer;
}

.modal_content {
  z-index: 2;
}

.modal_text {
  font-size: 15px;
  margin-top: 20px;
  text-align: justify;
}

/* 左：テキスト */
.modal_left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #000;
  margin-top: 40px;
}

.modal_left .modal_text_title {
  font-size: 24px;
  font-weight: 500;
}

.modal_work_content {
  font-size: 15px;
}

.modal_links {
  display: flex;
  gap: 25px;
}

.modal_links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 0;
  /* padding-bottom: 4px; */
  border-bottom: 1.5px solid currentColor;
  text-decoration: none;
}

.modal_links a::after {
  content: none !important; /* 既存の下線疑似要素を殺す */
}

.modal_links .ext {
  width: 14px;
  height: 14px;
  transform: translateY(1px);
  flex: 0 0 auto;
}

@media screen and (max-width: 768px) {
  .modal_links .ext {
    width: 12px;
    height: 12px;
    transform: translateY(1px);
    flex: 0 0 auto;
  }

  .modal_work a {
    font-size: 16px;
  }
}

.modal_links .ext {
  transition: transform 0.1s ease;
  transform: translateY(1px); /* 通常位置 */

  stroke: currentColor;
  stroke-width: 1.3; /* ←太さ */
  stroke-linecap: square; /* ←端 */
  stroke-linejoin: miter; /* ←角 */
  fill: none;
}

/* hover：サイズそのまま、右上へ少し */
.modal_links a:hover .ext {
  transform: translate(3px, -3px);
}

@media screen and (max-width: 768px) {
  .modal_links {
    justify-content: flex-end; /* 右寄せ */
  }
}

@media screen and (max-width: 768px) {
  .modal_links {
    gap: 20px;
  }
}
/* 
.work_case {
  margin-top: 35px;
  font-size: 15px;
}

.case {
  margin: 10px 0;
  display: flex;
}

.case_title {
  min-width: 140px;
} */

.modal_work_tag {
  font-size: 15px;
}

.modal_work a {
  color: #000;
  font-weight: 550;
  margin-top: 20px;
  font-size: 18px;
}
.modal_work a {
  position: relative;
  text-decoration: none;
  color: inherit;
  width: fit-content;
}

.modal_work a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
}

.modal_work a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.modal_work a:hover {
  opacity: 0.5;
}

/* 右：画像 */
.modal_right img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.modal_close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.modal_close::before,
.modal_close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 2px;
  background: #000;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

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

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

.modal_close:hover::before {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.3);
  background: #555;
}

.modal_close:hover::after {
  transform: translate(-50%, -50%) rotate(-45deg) scale(1.3);
  background: #555;
}

@media (min-width: 769px) {
  /* 外枠：padding無し（×はここ基準で置く） */
  .modal_inner {
    position: relative; /* ← absolute基準に必須 */
    padding: 0;
    background: #f6f6f6;
    height: 100%;
    overflow-y: auto;
  }

  /* ×置き場（レイアウトは増やさない） */
  .modal_head {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 0;
  }

  /* ×ボタン：inner右上に固定 */
  .modal_close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 30;
  }

  /* 本文側で余白を持つ（元のpaddingを移植） */
  .modal_body {
    padding: 80px 100px;
  }

  /* SPは本文paddingを小さく */
  @media (max-width: 768px) {
    .modal_body {
      padding: 80px 30px;
    }
  }
}

.modal__backtop {
  color: #000;
  font-size: 14px;

  text-align: center;
  width: 50%;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal__backtop {
  display: block;
  margin: 20% auto 20%;
}

.modal__backtop.is-visible {
  opacity: 1;
  pointer-events: auto;
  margin: 80px auto;
}

.modal__backtop p {
  position: relative;
  display: inline-block;
}

.modal__backtop p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: #000;
}

/* SP */
@media (max-width: 768px) {
  .modal_content {
    padding-top: 60px; /* 見た目の余白 */
  }

  .modal_content::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.3); /* ← ここが「透ける黒」 */
    z-index: 3;
  }

  .modal_inner {
    position: relative;
    z-index: 2;
  }

  .modal_inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .modal_close {
    top: 59.9px;
    background-color: #d1d1d1;
    padding: 30px;
    right: 0;
  }
}

.asobi {
  margin: 150px 0 50px 0;
}

/* ここからasobiのスライダー */

.slick-slider div {
  transition: none;
  pointer-events: none;
  pointer-events: none; /* 子要素クリック無効 */
  touch-action: none; /* タッチ操作を無効化 */
  -ms-touch-action: none; /* 古いIE用 */
}

.slide-items {
  width: 100%;
  height: 100%;
  margin-top: 80px;
  pointer-events: none;
  transition: none;
  pointer-events: none; /* 子要素クリック無効 */
  touch-action: none; /* タッチ操作を無効化 */
  -ms-touch-action: none; /* 古いIE用 */
  /* margin-bottom: 80px; */
}

.slide-items img,
.slide-items video {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.slide-items .slick-slide {
  height: 500px; /* 画像と同じ見た目高さ */
  box-sizing: border-box;
  margin: 0 0.7px; /* ← 数字を変えて調整 */

  padding: 50px;
}

.slide-items li {
  width: 100%;
  height: 100%;
  overflow: hidden; /* ← はみ出しをカット */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-items .slick-slide {
  height: clamp(280px, 50vw, 500px);
  padding: 50px;
}

.slide-items img,
.slide-items video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 1190px) {
  .slide-items .slick-slide {
    height: clamp(280px, 42vw, 880px);
  }
}

@media screen and (min-width: 2000px) {
  .slide-items .slick-slide {
    height: clamp(280px, 50vw, 900px);
  }
}

@media screen and (min-width: 2140px) {
  .slide-items .slick-slide {
    height: clamp(280px, 53vw, 900px);
  }
}

@media screen and (max-width: 768px) {
  .slide-items .slick-slide {
    height: auto; /* 高さを自動 */
    padding: 0; /* 無駄なパディングを消す */
  }

  .slide-items video {
    width: 100%;
    height: auto;
    max-height: 100vh; /* 画面内に収める */
    display: block;
    object-fit: contain;
  }
}

.slide-items li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-items .bg-red {
  background: #831c11;
}
.slide-items .bg-black {
  background: #000;
}
.slide-items .bg-yellow {
  background: #eace00;
}
.slide-items .bg-green {
  background: #0a4931;
}

.slide-items .bg-lightgreen {
  background: #08ca32;
}

.slide-items .bg-blue {
  background: #10184f;
}

/* Youtubeの場合 */
.yt-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.yt-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 100%; /* ★ 横幅を枠に合わせる */
  height: 44.5vw; /* ★ 16:9（= 9/16 = 56.25%）相当 */

  min-height: 100%; /* ★ 高さが足りなければ拡大 */
  min-width: 177.77%; /* ★ 横が足りなければ拡大 */

  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* SP */
@media screen and (max-width: 767px) {
  .yt-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .yt-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%; /* ★ 横幅を枠に合わせる */
    height: 140vw; /* ★ 16:9（= 9/16 = 56.25%）相当 */

    min-height: unset; /* ★ 高さが足りなければ拡大 */
    min-width: unset; /* ★ 横が足りなければ拡大 */

    transform: translate(-50%, -50%);
    pointer-events: none;
  }
}

@media screen and (min-width: 1200px) {
  .yt-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%; /* ★ 横幅を枠に合わせる */
    height: 49.5vw; /* ★ 16:9（= 9/16 = 56.25%）相当 */

    min-height: 100%; /* ★ 高さが足りなければ拡大 */
    min-width: 177.77%; /* ★ 横が足りなければ拡大 */

    transform: translate(-50%, -50%);
    pointer-events: none;
  }
}

@media screen and (min-width: 2000px) {
  .yt-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%; /* ★ 横幅を枠に合わせる */
    height: 53vw; /* ★ 16:9（= 9/16 = 56.25%）相当 */

    min-height: 100%; /* ★ 高さが足りなければ拡大 */
    min-width: 177.77%; /* ★ 横が足りなければ拡大 */

    transform: translate(-50%, -50%);
    pointer-events: none;
  }
}

.slide-items.scrolling {
  animation: scroll-left linear infinite;
}

/* スクロール速度は秒数で調整 */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* 要素を2回コピーして-50%移動でループ */
}
.asobi_slide_text {
  display: flex;
  justify-content: space-between;
  margin: 15px 70px;
}

.asobi_slide_text p {
  font-size: 14px;
}

.asobi_2pic {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 150px 0 0 0;
  position: relative;
}
.left-wrapper,
.right-wrapper {
  width: 45%;
  padding-top: 71%; /* 高さを確保 */
  position: relative;
}
.left-wrapper img,
.right-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease;
}

/* ここからscale */
.mag-loop {
  width: 100%;
  display: grid;
  place-items: center;
}

.mag-loop__canvas {
  /* width: min(1365px, 100%); */
  width: min(2000px, 100%);
  aspect-ratio: 16 / 9;
  background: #fff;
  position: relative;
  /* overflow: hidden; */
  margin: 130px 0 0 0;
}

.mag-loop__canvas {
  /* 左小スロット（もっと左へ） */
  --left-w: 420px;
  --left-h: 300px;
  --left-x: 50px; /* ← 240 → 160 */
  /* --left-bottom: 175px; */

  /* 右大スロット（少し左へ） */
  --right-top: 10px;
  --right-right: 45px; /* ← 18 → 80 */
  --right-w: 350px;
}

.mag-loop__img {
  position: absolute;
  top: var(--right-top);
  right: var(--right-right);
  width: var(--right-w);
  height: calc(100% - (var(--right-top) * 2));
  object-fit: contain;
  display: block;

  will-change: transform;
  transform-origin: top left;
  /* 初期はJSでtransformを入れる */
}
.mag-loop__img.is-incoming {
  object-fit: contain;
}

.mag-loop__canvas {
  --stack-bottom: 95px; /* PC基準。SPはvwで上書きしてOK */
}

@media (max-width: 768px) {
  .mag-loop__canvas {
    --stack-bottom: 9vw;
  }
}

@media (max-width: 768px) {
  .mag-loop {
    place-items: start;
  }

  .mag-loop__canvas {
    width: 100%;
    aspect-ratio: 15 / 15;
    min-height: 0;
    --right-top: 0vw;
    --right-right: 0vw;
    --right-w: 60vw;
    --left-w: 40vw;
    --left-h: 50vw;
    --left-x: 0vw;
    /* --left-bottom: 9vw; */
    margin: 90px 0 30px 0;
  }
}

@media (min-width: 1200px) {
  .mag-loop__canvas {
    --left-w: 420px;
    --left-h: 385px;
    --left-x: 50px;
    /* --left-bottom: 155px; */
    /* --right-top: 10px; */
    --right-right: 45px;
    --right-w: 420px;
  }
}

@media (min-width: 1250px) {
  .mag-loop__canvas {
    --left-w: 420px;
    --left-h: 64vh;
    --left-x: 80px;
    /* --left-bottom: 0vh; */
    /* --right-top: 10px; */
    --right-right: 80px;
    --right-w: 420px;
  }
}
/* SPは切れが気になるなら left もcontainに寄せる（任意） */
/* .mag-loop__img.is-left { object-fit: contain; } */

/* ここから動画のサムネ */
@media screen and (min-width: 768px) {
  .contents .category .modal_thumb_container {
    margin-top: 20px;
  }
}

@media screen and (min-width: 768px) {
  .modal_thumb_container .modal_thumb {
    width: 25%;
  }
}

.modal_thumb_container {
  pointer-events: none;
  display: flex;
  flex-wrap: wrap;
  margin: 150px 20px 5.3333333333vw 20px;
}

.modal_thumb_container .modal_thumb {
  aspect-ratio: 1 / 1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* width: 50%; */
  align-items: center;
}

.modal_thumb .thumb {
  width: 70%;
  height: 70%;
  overflow: hidden; /* ← はみ出しカット */
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal_thumb img,
.modal_thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← 正方形にトリミング */
  display: block;
}

.works_content {
  margin-top: 150px;
  overflow: hidden;
}

/* ここからskill */

.skill_title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.skill_subtitle {
  margin: 20px 0 5px 0;
}

.skill_name {
  font-size: 16px;
  margin: 0 0 60px 0;
}

.skills_content {
  margin-top: 100px;
}

.text_wrapper .right .mail .japanese {
  margin-top: 10px;
}

.SP {
  display: none !important;
}

@media screen and (max-width: 736px) {
  .footer .top_button {
    bottom: 7.4666666667vw;
    cursor: pointer;
    height: 3.6vw;
    position: absolute;
    right: 4vw;
    width: 4.5333333333vw;
    z-index: 100;
  }

  .SP {
    display: block !important;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 30px 30px 33px 30px;
  }

  .top_button_arrow::before {
    background: #fff;
  }

  .footer .arrow::before {
    height: 0.5333333333vw;
    left: 0;
    width: 4.5333333333vw;
  }

  .top_button_arrow::after {
    border-right: 0.5333333333vw solid #fff;
    border-top: 0.5333333333vw solid #fff;
  }
  .top_button_arrow {
    transform: rotate(-90deg);
  }
  .top_button_arrow a {
    display: block;
    width: 100%;
    height: 100%;
  }
  .SP,
  .SP a,
  .top_button_arrow {
    pointer-events: auto !important;
  }

  .top_button.SP {
    z-index: 9999; /* nav や footer より前に表示 */
    pointer-events: auto !important; /* 念のため */
  }
}

#footer_visual {
  position: relative;
  width: 100%;
  height: 300px; /* フッターの高さに合わせる */
  overflow: hidden;
}

#footer_canvas {
  margin-top: 150px;
  width: 100%;
  height: 100%;
  display: block;
}

footer {
  position: relative;
}

footer {
  position: relative;
  min-height: 60vh;
}

footer .fv_bottom {
  position: absolute;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  left: 50%;
  padding-inline: 10px;
  position: absolute;
  top: 35%;
  transform: translate(-50%, -50%);
  width: calc(100% - 60px);
  z-index: 10;
  color: #fff;
  pointer-events: none;
}

.footer_wrapper {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 32px;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;

  z-index: 20;
  color: #fff;
  pointer-events: none;
}

.footer_portfolio {
  font-size: 94px;
  font-weight: 200;
}

.footer_left_block {
  display: flex;
  flex-direction: column;
}

.footer_text_left {
  max-width: 560px;
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.85;
}

.footer_text_right {
  justify-self: end;
  font-size: 14px;
  white-space: nowrap;
}

#footer_visual {
  height: 300px; /* ← three.js 用に固定 */
}

/* ハンバーガー */
/* ハンバーガー */
/* ハンバーガー */
/* ハンバーガー */
/* ハンバーガー */
/* ハンバーガー */

/* デフォルト（MV内） */
.header__button span,
.header__button span::before,
.header__button span::after {
  background: #fff;
}

/* メインビジュアルを過ぎた後 */
/* .header--fixed.is-visible .header__button span, */
.header--fixed.is-visible .header__button span::before,
.header--fixed.is-visible .header__button span::after {
  background: #000;
}
.header__button span {
  background: transparent;
}

.nav-anim {
  display: flex;
}

.header__button {
  display: none;
  width: 35px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30;
}

.header__button span,
.header__button span::before,
.header__button span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;

  left: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.header__button span {
  top: 50%;
  transform: translateY(-50%);
  background: transparent; /* 常に消す */
}

.header__button span::before {
  top: -4px;
}

.header__button span::after {
  top: 4px;
}

.header__button.is-open span {
  background: transparent; /* ← 消すのは背景だけ */
}

.header__button.is-open span::before {
  top: 0;
  transform: rotate(30deg);
}

.header__button.is-open span::after {
  top: 0;
  transform: rotate(-30deg);
}

.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
}
/* ここからSP */
/* ここからSP */
/* ここからSP */
/* ここからSP */
/* ここからSP */

@media (max-width: 768px) {
  /* 画像本体 */
  .works_contents .img img {
    padding: 0;
  }
  .title_sub {
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    line-height: 18px;
    margin-top: 3px;
  }

  .fv_wrapper {
    position: absolute;
    top: 38%;
    left: 0;
    width: 100%;
    color: #fff;
    z-index: 1;
    pointer-events: none;
  }
  /* このセレクタを追加 */
  .filter--black {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 39%);
    z-index: 1; /* ← canvas より上 */
    pointer-events: none;
  }
  .nav-anim {
    position: static; /* まず通常に */
  }
  .nav-anim {
    display: contents; /* or display:block */
  }

  .header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 22222;
    justify-content: flex-end;
    width: 100%;
  }
  .header__button {
    display: block;
  }

  .header--fixed a {
    color: #000;
  }
  .header__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    z-index: 1001;
  }

  header .wrapper {
    display: flex; /* ← 戻す */
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    overflow: hidden; /* 応急処置 */
  }

  .sp_title {
    font-size: 4.6666666667vw;
    margin: 120px 6.2666666667vw 0 0;
    text-align: right;
  }

  /* ===== overlay ===== */
  .navigation {
    position: fixed;
    inset: 0;
    background: #000;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 999;

    display: flex;
    flex-direction: column;
    padding: 20px 25px; /* 上左右下 */
    box-sizing: border-box;
  }

  .navigation.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* top */
  .spnav__top {
    display: flex;
    /* align-items: center; */
    align-items: unset;
    justify-content: space-between;
    min-height: 32px;
  }

  .spnav__brand {
    color: #fff;
    font-size: 15px;
    letter-spacing: unset;
  }

  .header_2 .spnav__brand {
    color: #000000;
    font-size: 16px;
    letter-spacing: unset;
  }

  .header_2 .spnav__big {
    color: #000;
  }

  .header_2 .spnav__meta {
    color: #000;
  }
  /* menu list */
  .spnav__list {
    margin: 80px 0 0; /* 上からの落とし込み */
    padding: 0;
    list-style: none;

    display: flex;
    flex-direction: column;
    gap: 44px; /* 画像みたいに余白多め */
    align-items: flex-start; /* ← 左寄せ */
  }

  .spnav__list a {
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-decoration: none;
  }

  /* bottom */
  .spnav__bottom {
    margin-top: auto; /* ← 下に押し付け */
  }

  .spnav__big {
    color: #fff;
    font-size: clamp(52px, 14vw, 92px);
    font-weight: 200;
    letter-spacing: 0.02em;
    line-height: 0.95;
    margin-bottom: 18px;
  }

  .spnav__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    color: #fff;
    font-size: 11px;
    line-height: 1.6;
    opacity: 0.9;
  }

  .spnav__meta p {
    margin: 0 0 10px;
  }

  .spnav__metaR {
    text-align: left;
  }

  /* ===== × を右上に固定（既存のハンバーガーボタンを使う）===== */
  .header__button {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 1001;
  }

  /* メニュー開いてる間、header内のh1は“見えなくてOK”なら消す */
  body.nav-open .header h1 {
    opacity: 0;
  }

  .content_top {
    margin-top: 70px;
    height: auto !important;
    overflow: visible !important;
  }

  .fv_bottom {
    font-size: 14px;
    /* display: flex
; */
    justify-content: center;
    left: 50%;
    padding-inline: 0;
    position: absolute;
    bottom: 1%;
    transform: translate(-50%, -50%);
    /* width: calc(100% - -51px); */
    z-index: 10;
    color: #fff;
  }
  .text_wrapper {
    display: block;
    max-width: initial;
    width: 88vw;
    margin-bottom: 50px;
  }

  .text_wrapper .right {
    margin-top: 50px;
    overflow: hidden;
    width: auto;
  }

  .content_wrapper .flowing_text p {
    font-size: 10vw;
    height: 100%;
  }

  .text_wrapper .left {
    font-size: 6.6666666667vw;
    line-height: 1em;
  }

  .content_wrapper .flowing_text {
    display: flex;
    margin: 105px 0;
    white-space: nowrap;
    width: 100%;
  }

  .works_title {
    font-size: 6.6666666667vw;
    line-height: 1em;
  }

  .works .text_wrapper {
    display: inherit;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1700px;
    /* width: calc(100% - 100px); */
    width: 88vw;
  }

  .works_image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  /* SPだけ：work07〜work61 を非表示 */
  /* トップページのSPだけ：work07〜work61 を非表示 */
  @media (max-width: 768px) {
    body.top .works_contents[data-work="work07"],
    body.top .works_contents[data-work="work08"],
    body.top .works_contents[data-work="work09"],
    body.top .works_contents[data-work="work10"],
    body.top .works_contents[data-work="work11"],
    body.top .works_contents[data-work="work12"],
    body.top .works_contents[data-work="work13"],
    body.top .works_contents[data-work="work14"],
    body.top .works_contents[data-work="work15"],
    body.top .works_contents[data-work="work16"],
    body.top .works_contents[data-work="work17"],
    body.top .works_contents[data-work="work18"],
    body.top .works_contents[data-work="work19"],
    body.top .works_contents[data-work="work20"],
    body.top .works_contents[data-work="work21"],
    body.top .works_contents[data-work="work22"],
    body.top .works_contents[data-work="work23"],
    body.top .works_contents[data-work="work24"],
    body.top .works_contents[data-work="work25"],
    body.top .works_contents[data-work="work26"],
    body.top .works_contents[data-work="work27"],
    body.top .works_contents[data-work="work28"],
    body.top .works_contents[data-work="work29"],
    body.top .works_contents[data-work="work30"],
    body.top .works_contents[data-work="work31"],
    body.top .works_contents[data-work="work32"],
    body.top .works_contents[data-work="work33"],
    body.top .works_contents[data-work="work34"],
    body.top .works_contents[data-work="work35"],
    body.top .works_contents[data-work="work36"],
    body.top .works_contents[data-work="work37"],
    body.top .works_contents[data-work="work38"],
    body.top .works_contents[data-work="work39"],
    body.top .works_contents[data-work="work40"],
    body.top .works_contents[data-work="work41"],
    body.top .works_contents[data-work="work42"],
    body.top .works_contents[data-work="work43"],
    body.top .works_contents[data-work="work44"],
    body.top .works_contents[data-work="work45"],
    body.top .works_contents[data-work="work46"],
    body.top .works_contents[data-work="work47"],
    body.top .works_contents[data-work="work48"],
    body.top .works_contents[data-work="work49"],
    body.top .works_contents[data-work="work50"],
    body.top .works_contents[data-work="work51"],
    body.top .works_contents[data-work="work52"],
    body.top .works_contents[data-work="work53"],
    body.top .works_contents[data-work="work54"],
    body.top .works_contents[data-work="work55"],
    body.top .works_contents[data-work="work56"],
    body.top .works_contents[data-work="work57"],
    body.top .works_contents[data-work="work58"],
    body.top .works_contents[data-work="work59"],
    body.top .works_contents[data-work="work60"],
    body.top .works_contents[data-work="work61"],
    body.top .works_contents[data-work="work62"],
    body.top .works_contents[data-work="work64"],
    body.top .works_contents[data-work="work65"],
    body.top .works_contents[data-work="work66"],
    body.top .works_contents[data-work="work67"],
    body.top .works_contents[data-work="work68"],
    body.top .works_contents[data-work="work69"] {
      display: none !important;
    }
  }

  /* asobiのスライダー */

  .slide-items img,
  .slide-items video {
    width: 100%;
    height: auto;
    display: block;
  }

  .slide-items .slick-slide {
    /* height: 500px;  */
    height: 550px; /* 画像と同じ見た目高さ */
    box-sizing: border-box;
    margin: 0; /* ← 数字を変えて調整 */

    padding: 50px;
  }

  .slide-items li {
    width: 100%;
    height: 100%;
    overflow: hidden; /* ← はみ出しをカット */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* .slide-items .slick-slide {
    height: clamp(280px, 50vw, 500px);
    padding: 50px;
  } */

  .slide-items img,
  .slide-items video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .asobi_2pic {
    display: flex;
    justify-content: center;
    margin: 100px 0 0 0;
    flex-direction: column;
    gap: 0;
  }

  .left-wrapper,
  .right-wrapper {
    width: 100%;
    padding-top: 158%;
    position: relative;
  }

  .modal_thumb_container .modal_thumb {
    width: 50%;
  }

  .modal_thumb_container {
    pointer-events: none;
    display: flex;
    flex-wrap: wrap;
    margin: 20.333333vw 0 0 0;
  }

  .arrow_wrapper {
    margin: 20px auto 0;
    max-width: 1700px;
    width: 88vw;
  }

  .fv_wrapper_title {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 0 4vw; /* ← ここが効く */
    box-sizing: border-box;
  }

  .fv_wrapper_title .title {
    font-size: clamp(36px, 15vw, 66px);
    font-weight: 200;
    text-align: center;
    line-height: 1.1;
  }

  .content_wrapper .works_image {
    margin: 20px 0 88px 0;
  }

  .slide-items {
    width: 100%;
    height: 100%;
    margin-top: 40px;
  }

  footer .fv_bottom {
    position: absolute;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    left: 50%;
    padding-inline: 0;
    position: absolute;
    top: 35%;
    transform: translate(-50%, -50%);
    width: calc(100% - 60px);
    z-index: 10;
    color: #fff;
    pointer-events: none;
  }

  .asobi {
    margin: 100px 0;
  }

  .works_asobi .asobi {
    margin: 100px 0 0 0;
  }

  .footer_portfolio {
    font-size: 59px;
    font-weight: 200;
  }

  .footer_wrapper {
    position: absolute;
    left: 20px;
    right: 27px;
    bottom: 32px;
    display: flex;
    grid-template-columns: 1fr auto;
    align-items: center;
    z-index: 20;
    color: #fff;
    pointer-events: none;
    flex-direction: column;
    gap: 20px;
  }

  .footer_left_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .spbr {
    display: none;
  }

  .header--fixed ul li a {
    color: #000000;
  }

  /* .header--fixed.is-visible .header__button.is-open span::before,
  .header--fixed.is-visible .header__button.is-open span::after {
    background: #ffffff;
  } */

  .header--fixed.is-visible .header__button.is-open span {
    background: transparent;
  }

  .header--fixed.is-visible .navigation.is-open {
    background: #fff;
  }
  .header_2 .navigation.is-open {
    background: #fff;
  }

  .header_2 .header__button.is-open span {
    background: transparent;
  }

  .header_2 .header__button span {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
    background: #00000000;
  }

  .header_2 .header__button span::before,
  .header_2 .header__button span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
    background: #000;
  }

  .header--fixed .spnav__brand {
    color: #000;
    font-size: 15px;
    letter-spacing: unset;
  }

  .header--fixed .navigation .spnav__brand a {
    color: #000 !important;
  }

  .header--fixed .spnav__big {
    color: #000;
  }

  .header--fixed .spnav__meta {
    color: #000;
  }

  /* ここからabout */

  .about_content .text_wrapper .right {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .modal {
    position: fixed;
    inset: 0;
    z-index: 22222222;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
  }

  .modal_content {
    position: relative;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: stretch;
    z-index: 2;
  }

  .modal_work.is-active {
    display: flex;
    flex-direction: column;
  }

  .modal_inner {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    overflow-y: auto;
    background: #f6f6f6;
    padding: 80px 30px;
  }

  #footer_canvas {
    margin-top: 130px;
    width: 100%;
    height: 100%;
    display: block;
  }

  /* #canvas {
    width: 100%;
    height: 100vh;
    display: block;
  }
  canvas {
    height: calc(100vh - env(safe-area-inset-bottom));
  } */

  .asobi_slide_text {
    display: flex;
    justify-content: space-between;
    margin: 15px 20px;
  }

  /* グローバルの ul {...} はやめて、ナビだけに当てる */
  header .navigation ul {
    gap: 2.5rem !important;
  }
}

/* PCではSPメニューの中身を無効化（レイアウト干渉防止） */
@media (min-width: 769px) {
  .navigation .spnav__top,
  .navigation .spnav__bottom {
    display: none !important;
  }

  /* ついでにSP用リストの余計な縦レイアウトもPCでは解除 */
  .navigation .spnav__list {
    margin: 0 !important;
    gap: 2.3rem !important; /* いつもの間隔に */
    flex-direction: row !important;
    align-items: center !important;
  }

  .navigation .spnav__list a {
    font-size: 15px !important;
    letter-spacing: normal !important;
  }
}

/* グローバルの ul {...} はやめて、ナビだけに当てる */
header .navigation ul {
  display: flex;
  list-style: none;
  gap: 2.3rem;
}

.navigation__item a.black_paint {
  background: #000;
  color: #fff !important;
  padding: 0 10px;
  display: inline-block;
}

body.top .navigation__item a.black_paint {
  background: transparent !important;
  padding: 0 !important;
  color: inherit !important;
}
