@charset "utf-8";

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

/*全体設定*/

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

::-moz-selection {
  background-color: #00ff0c;
}

::selection {
  background-color: rgb(0, 255, 12);
}

section {
  scroll-margin-top: 120px; /* ヘッダーの高さ + 余白 */
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

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

mark {
  background: linear-gradient(transparent 0%, rgb(0, 255, 12) 0%);
}

img {
  max-width: 100%;
}

/* 横幅 */

.wrapper {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 120px;
  text-align: center;
  line-height: 23px;
}

/* ローディングア二メーション */

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1111111;
  background-color: #fff;
  display: flex; /* Safari BFCache用 */
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
  opacity: 1;
  visibility: visible;
}

.loading.fade-out {
  opacity: 0;

  visibility: hidden;
}

.loading__logo {
  width: 400px;
  opacity: 0;

  will-change: transform, opacity; /* Safari対策 */
  backface-visibility: hidden;
  transform: translateY(20px);
  transition: opacity 1.2s ease;
}

.loading__logo.show {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 599px) {
  .loading {
    align-items: flex-start;
    padding-top: 25vh;
  }

  .loading__logo {
    width: 300px;
    margin-top: 60px;
  }
}

/* ヘッダー */

header {
  position: fixed;
  inset: 0 0 auto 0;
  border-bottom: 1px solid #000000;
  z-index: 20;
  width: 100%;
}

header .wrapper {
  max-width: 1050px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  margin-bottom: 0;
  /* max-width: 1024px; */
}

ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header h1 {
  display: flex;
}

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

header h1 a:hover {
  color: #00ff0c;
}

.header__button {
  display: none;
}

body.top .navigation__link {
  color: #000;
  font-size: 16px;
  text-decoration: none; /* 下線を消しておく */
  border-bottom: 1px solid transparent; /* 下線のスペースを確保 */
  transition: color 0.3s, border-bottom-color 0.3s; /* スムーズな変化 */
}

body.top .navigation__link:hover {
  color: #00ff0c;
  border-bottom-color: #00ff0c; /* 緑の下線を表示 */
}

/* ヘッダースクロール後 */

body.scrolled header {
  background-color: #ffffff; /* ヘッダーを白に */
  border-bottom: 1px solid #ccc;
}

body.scrolled header h1 a {
  background-color: #00ff0c; /* 緑 */
  color: #000000; /* 黒 */
}

/* スクロール後のホバー：白文字にする */
body.scrolled header h1 a:hover {
  color: #ffffff; /* 白 */
}

/* スワイパー */

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.swiper-slide-active .swiper-img,
.swiper-slide-duplicate-active .swiper-img,
.swiper-slide-prev .swiper-img {
  animation: zoomUp 7s linear 0s normal both;
}
.swiper-slide img {
  height: auto;
  width: 100%;
  z-index: 0;
}

.swiper {
  visibility: visible !important;
  opacity: 1 !important;
}

/* メインビジュアル */

#main_visual {
  /* margin-bottom: 80px; */
  margin-bottom: 180px;
  position: relative;
  z-index: 0;
}

#main_visual img {
  display: block;
  width: 100%;
  /* height: 100vh; */
  height: 790px;
  object-fit: cover;

  /* アニメーション用初期値 */
  opacity: 0;
  /* transform: translateY(20px); */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

#main_visual.is-show img {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s; /* 100msのタイマー + 200ms遅延で画像表示開始 */
}

.fv_wrapper {
  position: absolute;
  top: 66%;
  left: 0;
  width: 100%;
  color: #fff;

  opacity: 0;
  transform: translateY(calc(-63% + 20px));
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  z-index: 1;
}

#main_visual.is-show .fv_wrapper {
  opacity: 1;
  transform: translateY(-63%);
  transition-delay: 2s;
}

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

.fv_wrapper_title .title {
  padding-left: 80px;
}

.fv_wrapper_title .title_name {
  width: 230px;
  height: auto;
  margin: 210px auto 0;
}

/* 回転 */

@keyframes rotateHalfAndBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.rotate-half-back {
  animation: rotateHalfAndBack 2s ease-in-out forwards;
  transform-box: fill-box;
  transform-origin: center;
}

/* SVGの設定 */

.cls-1-1 {
  /* fill: #00ff0c; */

  fill: #000000;
}

.cls-3 {
  fill: #fff;
  stroke-width: 0px;
}

#title_2 .cls-1 {
  fill: #fff; /* 黒にしてみる */
}

/* スクロールダウンの位置 */

.scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  /* transition-delayなし */
  position: absolute;
  bottom: 3.5em;
  left: 49%;
  width: 3em;
  z-index: 1;
}

.scroll.is-show {
  opacity: 1;
  transform: translateY(0);
  /* transition-delayなし */
}

.scroll span {
  width: 1em;
  height: 1em;
  position: absolute;
  bottom: 25%;
  right: 27%;
  transform: translateY(0);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 10px solid #00ff0c;
  z-index: 2;
  animation: arrow-move09 2s infinite ease-in-out;
  /* animation: arrow-move09 2.3s infinite 
cubic-bezier(0.97, -0.06, 0.01, 1.53); */
}

.scroll:hover span {
  animation-play-state: paused;
}

@keyframes arrow-move09 {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  48% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.side_fixed.is-fixed {
  position: fixed;
  bottom: 30%;
  left: 2%;
  transform: rotate(90deg);
  transform-origin: left center;
  color: #000000;
  z-index: 1111;
}

.side_fixed .inner {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.side_fixed .inner span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00ff0c;
  display: block;
  margin-left: 14px;
  margin-right: 14px;
}

.side_fixed {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.side_fixed.is-show {
  opacity: 1;
}

/* セクションコンテンツ */

h2 {
  margin: 0 auto;
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 50px;
}

.content {
  border-top: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
  padding: 20px;
  position: relative;
  overflow: unset;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  transition-delay: 0.3s; /* 遅らせる */
}

.content.in-view {
  opacity: 1;
  transform: translateY(0);
}

.content_inner {
  gap: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 50px 20px 170px;
}

.text p {
  /* padding-right: 50px; */
  font-size: 14px;
  line-height: 26px;
}

h2 ul li img {
  width: 100px;
  margin: 0 auto 0;
}

.section-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s, transform 0.9s;
  transition-delay: 0s; /* 遅延なし */
}

.section-title.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-title img {
  height: 60px;
}

.content img {
  width: 170px;
  border-radius: 50%;
  /* margin: 0 19px 0 70px; */
}

#about .text {
  text-align: left;
  margin: 20px 51px 20px 0px;
}

h3 {
  text-align: left;
  font-weight: 500;
  font-size: 1.1rem;
  margin: 10px 0;
}

.about_item-1 {
  position: absolute;
  top: -77px;
  left: 82%;
  width: 20%;
}

.about_item-2 {
  position: absolute;
  top: 250px;
  left: -1%;
  width: 20%;
}

/* inViewプラグイン実装 */
/* .service-card  */
.photo_card {
  transition: 0.6s;
  opacity: 0;
  transform: translateY(50px);
}

/* .service-list.in-view .service-card */
.photo-list.in-view .photo_card {
  opacity: 1;
  transform: translateY(0);
}

.photo_card:nth-of-type(2) {
  transition-delay: 0.4s;
}

.photo_card:nth-of-type(3) {
  transition-delay: 0.8s;
}

#photo img {
  max-width: 100%;
}

.photo_image {
  position: relative; /* 疑似要素を重ねるため */
  display: inline-block;
}

.photo_image::before,
.photo_image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}

.photo_image::before {
  background: #fff;
  mix-blend-mode: color;
}

.photo_image::after {
  background: #00c709;
  mix-blend-mode: screen;
}

.photo_image:not(:hover)::before,
.photo_image:not(:hover)::after {
  opacity: 0;
}

#photo ul {
  display: flex;
  list-style: none;
  justify-content: space-between;
  column-gap: 25px;
}

#photo li {
  width: 32%;
}

.photo_text {
  margin: 0 5px;
}

#photo h3 {
  margin: 25px auto 10px auto;
}

#photo p {
  font-size: 14px;
  text-align: left;
}

/* スライダー */

.slider-wrapper {
  display: flex;
  overflow: hidden;
  margin: 150px 0;
}

.slider {
  animation: scroll-left 70s infinite linear 0.5s both;
  display: flex;
  z-index: -1;
}

.slide {
  width: calc(160vw / 1);
}

.slide img {
  display: block;
  width: 100%;
}

.wrapper_works {
  padding: 160px 0;
  background-color: #919191;
  text-align: center;
  line-height: 23px;
  margin-bottom: 120px;
}

.works_wrap {
  max-width: 1030px;
  margin-left: auto;
  margin-right: auto;
}

/* inViewプラグイン実装 */
/* .service-card  */
.works_card {
  transition: 0.6s;
  opacity: 0;
  transform: translateY(50px);

  background-color: #fff;
  padding: 10px 10px 25px 10px;
  cursor: pointer;
}

.works_card_big {
  background-color: #fff;
  padding: 10px 10px 25px 10px;
  cursor: pointer;
}

.works_card_big .works_image {
  width: 640px;
  height: 336px;
}

/* .service-list.in-view .service-card */
.works-list.in-view .works_card {
  opacity: 1;
  transform: translateY(0);
}

.works_card:nth-of-type(2) {
  transition-delay: 0.4s;
}

.works_card:nth-of-type(3) {
  transition-delay: 0.8s;
}

#works img {
  max-width: 100%;
}

.works_image {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 300px;
  height: 250px;
}

.works_image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: none; /* ← トランジションを消す */
}

/* 黄緑ブレンドのオーバーレイ */
.works_image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #00c709; /* 黄緑（YellowGreen） */
  mix-blend-mode: screen;
  opacity: 0.7; /* ブレンドの強さ */
  transition: none; /* ← フェードなしで切り替え */
}

/* ホバーで一瞬でカラーに */
.works_image:hover img {
  filter: none; /* グレースケール解除 */
}

.works_image:hover::after {
  opacity: 0; /* 黄緑フィルターを即消す */
}

.works_wrap .section-title {
  filter: brightness(0) saturate(100%) invert(47%) sepia(96%) saturate(669%)
    hue-rotate(97deg) brightness(105%) contrast(140%);
}

.works_image::before,
.works_image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s; */
}

#works ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* 横も縦も同じ間隔 */
  justify-content: flex-start; /* space-between ではなく flex-start に */
}

.works-list li {
  flex: 0 0 31%; /* 32% や calc だと誤差で折り返すことがあるので少し小さく */
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .works-list li {
    flex: 0 0 100%; /* 1列表示 */
  }
}

/* #works li {
  width: 32%;
} */

.works_text {
  margin: 0 5px;
}

#works h3 {
  margin: 10px auto 3px auto;
}

#works p {
  font-size: 14px;
  background-color: #00ff0c;
  border-radius: 25px;
  width: 51px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---- 既存の works セクションCSSはそのままでOK ---- */

/* ===== モーダル（A方式） ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  padding: 20px;
}

/* モーダルコンテンツ PC用 */
.modal-content {
  background: #fff;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 120px 150px 150px 150px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 120px 150px 150px 150px;
  max-width: 100%;
  width: 1000px;
  height: 650px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-content img {
  width: 100%;
}

.modal-content h3 {
  margin-top: 20px;
  font-size: 18px;
}

.modal-content p {
  margin: 15px 0 40px 0;
  font-size: 16px;
  color: #000000;
  text-align: left;
}

.bnr_label_wrap {
  display: flex;
}

.bnr_label_wrap p {
  margin-right: 5px;
}

.bnr_label {
  background-color: #03ff0e;
  display: table;
  padding: 0 10px;
  border-radius: 25px;
}

.tag_wrap {
  display: flex;
  gap: 5px;
}

.close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  background-color: #00ff0c;
}

/* バツ印の線2本 */
.close::before,
.close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1.5px;
  background-color: #000000; /* ← 線の色（今のテーマカラー） */
  transform-origin: center;
  transition: 0.2s ease;
}

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

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

/* ホバー時の軽いアニメーション */
.close:hover::before,
.close:hover::after {
  background-color: #000000; /* 濃い緑に変化 */
  transform: translate(-50%, -50%) scale(1.1) rotate(45deg);
}
.close:hover::after {
  transform: translate(-50%, -50%) scale(1.1) rotate(-45deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal_wrap {
  display: flex;
  gap: 50px;
}

.modal_img {
  flex-basis: 50%;
}

.modal_comment {
  text-align: left;
  flex-basis: 50%;
}

.work_tag {
  background-color: #919191;
  color: #00ff0c;
  display: inline-block;
  padding: 0 10px;
}

.work_case {
  margin-top: 35px;
  font-size: 15px;
}

.web_cont {
  margin-top: 30px;
  background-color: #000000;
  display: inline-block;
  color: #fff;
  padding: 5px 20px;
  border-radius: 0px;
  cursor: pointer;
}

.web_cont img {
  width: 14px;
}

.web_cont a {
  color: #fff;
  text-decoration: none;
  margin-right: 4px;
}

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

.case_title {
  min-width: 140px;
}

.more {
  display: inline-block;
  border-radius: 50%;
  border: 1px solid black;
  background-color: transparent;
  transition: all 0.25s ease;
  transition-delay: 0s !important; /* ホバー時の遅延をキャンセル */
}

.more svg {
  width: 100%;
  height: auto;
  display: block;
}

.more svg .cls-outline {
  fill: none;
  stroke: black;
  transition: stroke 0.25s ease, fill 0.25s ease;
}

.more svg .cls-text {
  fill: black;
  transition: fill 0.25s ease;
}

.more:hover {
  background-color: black !important;
  transform: scale(1.1) !important;
  transition-delay: 0s !important; /* ホバー時の遅延をキャンセル */
}

.more:hover svg .cls-outline {
  fill: black;
  stroke: none;
}

.more:hover svg .cls-text {
  fill: #00ff0c;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.fin_box {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  background: #00ff0c;
}

.fin_box_img img {
  margin: 40px 60px;
}

.fin_text_box p {
  text-align: center;
  font-size: 14px;
  line-height: 36px;
}

.fin_text_box {
  margin: 140px 70px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.fin_img {
  justify-content: space-around;
  display: flex;
  flex-direction: column;
}

.fadein-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示時 */
.fadein-wrapper.in-view .fadein-target {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延クラス（順番） */
.fadein-wrapper.in-view .delay-1 {
  transition-delay: 0s;
}
.fadein-wrapper.in-view .delay-2 {
  transition-delay: 0.3s;
}
.fadein-wrapper.in-view .delay-3 {
  transition-delay: 0.6s;
}
.fadein-wrapper.in-view .delay-4 {
  transition-delay: 0.9s;
}

.end_bottom {
  width: 40%;
  margin: 0 auto;
  transform-origin: center bottom;
  /* 最初はアニメーションなし */
}

.end_bottom.in-view {
  animation: yurayura 1s ease-in-out 1 forwards;
}

@keyframes yurayura {
  0% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* ページトップのスタイル */

.pagetop {
  height: 80px;
  width: 80px;
  bottom: 20px;
  right: 20px;
  cursor: pointer;

  position: absolute;
  z-index: 10;
}

.pagetop a {
  height: 100%;
  display: block;
  width: 100%;
}

.pagetop a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background: url(./img/pagetop.svg) no-repeat center center;
  background-size: contain;
  pointer-events: none;
  transition: none; /* ホバーでのフィルター変化なし */
}

/* ホバー時 */
.pagetop:hover {
  transform: scale(1.1);
  /* box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.8); 白い光彩 */
}

/* フッター */

footer {
  z-index: -1;

  background-image: url(img/footer_image.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.footer_wrapper {
  display: flex;
  text-align: center;
  color: white;

  min-height: 680px; /* 好きな高さに調整 */
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.footer_content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 80px 40px 20px 40px;
  line-height: 36px;
  font-size: 14px;
}

footer small {
  margin-top: 80px;
}

.footer_box_title {
  padding-left: 30px;
  width: 370px;
}

.footer_content h3 {
  text-align: center;
  margin: 20px 0 8px 0;
}

.footer_content p {
  text-align: center;
  font-size: 14px;
  line-height: 36px;
}

.none {
  display: none;
}

#contact a {
  color: #fff;
}

#contact h3 {
  text-align: center;
}

#contact h3 img {
  width: 180px;
  margin-top: 70px;
}

/* parallax対象だけ sticky に */
.parallax-section {
  position: sticky;
  top: 0;
  z-index: 10;
  transform: translateY(-100%);
  transition: transform 1s ease;
}

/* in-viewで覆いかぶさるように降りてくる */
.parallax-section.in-view {
  transform: translateY(0);
  z-index: -1;
}

/* レスポンシブSP版*/
/* レスポンシブSP版*/
/* レスポンシブSP版*/
/* レスポンシブSP版*/
/* レスポンシブSP版*/
/* レスポンシブSP版*/

@media screen and (max-width: 599px) {
  .wrapper {
    margin-bottom: 110px;
  }

  header .wrapper {
    padding: 20px 25px;
  }

  header nav ul {
    display: none;
    margin-top: 60px;
  }

  /* ハンバーガーメニュー設定 */

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

  .header__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 60px;
    height: 60px; */
    border: none;
    background-color: transparent;
  }

  .header__button span {
    position: relative;
    display: block;
    width: 30px;
    height: 2px;
    margin-inline: auto;
    background-color: #000;
  }

  .header__button span::before,
  .header__button span::after {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
    background-color: inherit;
    transition: all 0.3s ease;
  }

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

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

  /* メニューボタンの表示を切り替える */

  body.is-open .header__button {
    z-index: 30;
  }

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

  body.is-open .header__button span::before,
  body.is-open .header__button span::after {
    top: 0;
    background-color: #333;
  }

  body.is-open .header__button span::before {
    transform: rotate(45deg);
  }

  body.is-open .header__button span::after {
    transform: rotate(-45deg);
  }

  /* ナビゲーション */

  .navigation {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    list-style: none;
    background-color: #00ff0c;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%) translateZ(0); /* ← これ大事 */
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
  }
  body.is-open .navigation {
    transform: translateX(0) translateZ(0);
    opacity: 1;
    pointer-events: auto;
  }

  .is-resize .navigation {
    transition: none;
  }

  .navigation__item {
    text-transform: uppercase;
  }

  .navigation__link {
    text-decoration: none;
    color: #000;
  }

  body.is-open .navigation {
    transform: translateX(0);
  }

  #photo.wrapper {
    margin-bottom: 40px;
  }

  header .wrapper {
    margin-right: 0;
  }

  #mainvisual img {
    height: calc(100vh - 0px);
  }

  #main_visual {
    margin-bottom: 120px;
  }

  .fv_wrapper_title .title {
    padding-left: 50px;
  }
  .scroll {
    left: 47%;
  }

  h2 {
    margin-bottom: 35px;
  }

  .content_inner {
    flex-direction: column;
    padding: 40px 34px;
    row-gap: 10px;
  }

  .fin_box {
    flex-direction: column;
    align-items: center;
    /* margin-top: 110px; */
  }

  .fin_box_img img {
    margin: unset;
  }

  .fin_text_box {
    margin: 80px 50px 110px 50px;
  }

  .fv_wrapper_title .title_name {
    width: 230px;
    height: auto;
    margin: 16rem auto 0;
  }

  .fv_wrapper_title .title {
    padding-left: 40px;
    width: 97%;
  }

  .content {
    height: 640px;
  }

  .about_item-1 {
    position: absolute;
    top: -77px;
    left: 69%;
    width: 30%;
  }

  .about_item-2 {
    position: absolute;
    top: 90%;
    left: 1%;
    width: 30%;
  }

  #about .text {
    margin: 15px 0 20px 0;
    text-align: justify;
  }

  #photo ul {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
  }

  #photo li {
    width: 100%;
    margin-bottom: 3rem;
  }

  .photo_text {
    margin: 0px 16px;
  }

  .slide {
    width: calc(320vw / 1);
  }

  .slider-wrapper {
    margin: 60px 0 100px 0;
  }

  #works ul {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
  }

  #works li {
    width: 100%;
    margin-bottom: 3rem;
  }

  .works_card {
    transition: 0.6s;
    opacity: 0;
    transform: translateY(50px);
    background-color: #fff;
    padding: 35px 10px 25px 10px;
    cursor: pointer;
  }

  .modal_wrap {
    display: flex;
    gap: 0;
    flex-direction: column;
  }

  #modal3 .modal_wrap {
    gap: 50px;
  }

  .modal-content {
    background: #fff;
    padding: 50px 40px 40px 40px;
    max-width: 100%;
    width: 100%;
    height: 100%; /* 画面全体を覆う */
    max-height: 100%; /* 縦も画面いっぱい */
    padding: 60px 30px; /* 余白を小さく */
    border-radius: 0; /* 角丸を消すと全画面っぽくなる */
    overflow-y: auto; /* 縦スクロール可能 */
    animation: fadeIn 0.3s ease;
  }
  .modal {
    padding: 0;
    z-index: 555555;
  }

  .works_text {
    margin: 0px 16px;
  }

  .footer_content {
    padding: 80px 10px 20px 10px;
  }

  .footer_wrapper {
    gap: 90px;
  }

  .pagetop {
    position: absolute;
    left: 50%;
    bottom: 100px;
    transform: translateX(-50%) scale(1);
    transition: transform 0.3s ease;
  }

  .pagetop:hover {
    transform: translateX(-50%) scale(1.1);
  }
}
