body {
  font-family: "yu-mincho-pr6n", sans-serif;
  margin: auto;
  padding: 0;
  scroll-behavior: smooth;
  color: #4d4d4d;
  overflow: hidden;
}



html {
  font-size: 10px;
  scroll-behavior: smooth;

}

@media (min-width: 1025px) {
  .sp {
    display: none;
  }



  .backgreen {
    background-image: url(../img/backgreen.jpg);
    background-size: cover;
    z-index: -1;
  }


}

@media (max-width: 1024px) {
  .pc {
    display: none;
  }

  .back {
    display: none;
  }

}



.fv {
  height: 100vh;
  position: relative;
  overflow: hidden;
}


.company {
  top: 2%;
  left: 1%;
  position: absolute;
  font-size: 20px;
  color: white;
  line-height: 1.4;
  display: flex;
  align-items: center;
  opacity: 0;
  animation: fadeInOnly 0.6s ease-out forwards;
  animation-delay: 4s;
  animation-fill-mode: forwards;
  z-index: 2;

}

.company img {
  width: 7%;
  object-fit: contain;
  /* ← coverにすると切れるので注意 */
  padding-right: 1vh;
}


.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  width: 100%;
  /* ← 明示的に追加 */
  max-width: 100%;
  padding: 0 20px;
  /* スマホ対策 */
  box-sizing: border-box;

}

@keyframes fadeInOnly {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes colorIn {
  0% {
    color: white;
  }

  100% {
    color: rgb(255, 255, 255);
  }
}



/* 全体のフェードイン */
.main-title {
  font-size: 68px;
  text-align: center;
  opacity: 0;
  animation: fadeInOnly 0.8s ease-out forwards;
  animation-delay: 0.4s;
  animation-fill-mode: both;
  text-shadow: 0 0 4px white;

}

/* 各文字のアニメーション（初期は白） */
.main-title span {
  display: inline-block;
  color: #4d4d4d;
  animation: colorIn 0.3s forwards;
  animation-fill-mode: forwards;

}

.main-title span:nth-child(1) {
  animation-delay: 1.000s;
}

.main-title span:nth-child(2) {
  animation-delay: 1.156s;
}

.main-title span:nth-child(3) {
  animation-delay: 1.313s;
}

.main-title span:nth-child(4) {
  animation-delay: 1.469s;
}

.main-title span:nth-child(5) {
  animation-delay: 1.625s;
}

.main-title span:nth-child(6) {
  animation-delay: 1.781s;
}

.main-title span:nth-child(7) {
  animation-delay: 1.938s;
}

.main-title span:nth-child(8) {
  animation-delay: 2.094s;
}

.main-title span:nth-child(9) {
  animation-delay: 2.250s;
}

.main-title span:nth-child(10) {
  animation-delay: 2.406s;
}

.main-title span:nth-child(11) {
  animation-delay: 2.563s;
}

.main-title span:nth-child(12) {
  animation-delay: 2.719s;
}

.main-title span:nth-child(13) {
  animation-delay: 2.875s;
}

.main-title span:nth-child(14) {
  animation-delay: 3.031s;
}

.main-title span:nth-child(15) {
  animation-delay: 3.188s;
}

.main-title span:nth-child(16) {
  animation-delay: 3.344s;
}

.main-title span:nth-child(17) {
  animation-delay: 3.500s;
}


.sub-title {
  font-size: 40px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInOnly 1s ease-out forwards;
  animation-delay: 3.5s;
  animation-fill-mode: forwards;
  text-shadow: 0 0 4px white;

}


@media (max-width: 768px) {
  .sub-title {
    font-size: 18px;
  }
}

.img {
  position: absolute;
  z-index: 1;
  opacity: 0;
  /* ← 初期状態を 0 に変更 */
  max-width: 20%;
  animation: fadeInOnly 0.9s ease-out forwards;
  animation-fill-mode: both;

}

/* 各画像の位置（例） */
.img1 {
  top: 5%;
  right: 20%;
  animation-delay: 1.4s;

}

.img2 {
  top: 20%;
  right: 5%;
  animation-delay: 2.4s;

}

.img3 {
  bottom: 5%;
  left: 20%;
  animation-delay: 3.4s;

}

.img4 {
  bottom: 20%;
  left: 5%;
  animation-delay: 4.4s;

}

@media (min-width: 1025px) {

  .backgreen {
    background-image: url(../img/backgreen.jpg);
    background-size: cover;
    z-index: -1;
  }
}

@media (min-width: 1025px) {

  .backblue {
    background-image: url(../img/backblue.jpg);
    background-size: cover;
    z-index: -1;
    color: white;
    

  }

  .backblue h2 {
   font-size: 28px;
   text-align: center;
   text-shadow: 0 0 2px white;

  }
  
  .backblue h3 {
    font-size: 20px;
    text-align: center;
    padding-bottom: 2vh;
    text-shadow: 0 0 1px white;

   }
   
}

.tabContents {
  position: relative;
}

/* スライダー上部にリストタブを配置 */
.inner {
  position: relative;
}

.tabbox {
  display: none;
  /* 最初は全て非表示 */
}

.tabbox.active {
  display: block;
  /* アクティブなタブのみ表示 */
}

.slider {
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 0 auto;
}

.slider img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
  margin: 0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;
  /*絶対配置にする*/
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;
  /*矢印の色*/
  border-right: 2px solid #666;
  /*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/


.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}
.slick-dots button {
 
  display: none;
}

@media screen and (min-width: 1200px) {

  .listTab {
      display: flex;
      justify-content: center;
      padding: 0;
      margin: 0;
      list-style: none;
   
      z-index: 10;
      /* スライドの上に表示されるようにする */
  }

  .listTab li {
      margin: 0 10px;
      background-color: #EAEFF4;
      font-size: 20px;

  }

  .listTab li a {
      display: block;
      padding: 10px 20px;
      color: white333;
      text-decoration: none;
      transition: all 0.3s ease;

  }

  .listTab li.active a {
      border-bottom: 2px solid black;
  }

  .listTab li a:hover {
      background-color: #dddddd;
      /* ホバー時の背景色 */
      border-bottom: 2px solid black;
      /* ホバー時の下線色 */
      color: white;
  }
}

@media screen and (min-width: 1200px) {

  .slick-prev {
      left: 32.5% !important;
      transform: none !important;
  }

  .slick-prev::before {
      content: "";
      display: block;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-right: 5px solid white;
      position: absolute;
      top: 45%;
      left: 50%;
  }

  .slick-next {
      right: 32.5% !important;
      transform: none !important;
  }

  .slick-next::before {
      content: "";
      display: block;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-left: 5px solid white;
      position: absolute;
      top: 45%;
      left: 50%;
  }

  .slick-prev,
  .slick-next {
      position: absolute !important;
      top: 36% !important;
      cursor: pointer !important;
      outline: none !important;
      height: 80px !important;
      width: 50px !important;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 1000;
      border-top: 2px solid black !important;
      border-right: 2px solid black !important;
      border-left: 2px solid black !important;
      border-bottom: 2px solid black !important;
      border-radius: 10px !important;
      /* 高い値を設定して、最前面に表示 */
      margin: auto !important;
  }
}

a:link {
  color: black
}