body{
    font-size: 16px;
    color: #FFF;
    font-family:  'Nico Moji', sans-serif;
    scroll-behavior: smooth;
    background-color: #fff;
}
img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a{
    text-decoration: none;
    color: #fff;
}
li{
    list-style: none;
}
h2{
    font-size: 1.5rem;
}
h3{
    font-size: 40px;
}
p{
    font-size: 20px;
}
/* fade-animation */
.fadeUp{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s;
}
.fadeUp.inView{
    transform: translateY(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeLeft{
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s;
}
.fadeLeft.inView{
    transform: translateX(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeRight{
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s;
}
.fadeRight.inView{
    transform: translateX(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeBlur{
    opacity: 0;
    filter: blur(10px);
    transition: all 0.5s;
}
.fadeBlur.inView{
    opacity: 1;
    filter: blur(0);
    transition-delay: 0.3s;
}
/* header */
.logo{
    position: fixed;
    top: 0;
    left: 20px;
    width: 15%;
    height: 4%;
}
.logo a{
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.logo img{
    width: 100%;
    height: 100%;
}
/* ハンバーガーメニュー */
.hamb {
    position: fixed;
    cursor: pointer;
    z-index: 300;
    right: 70px;
    top: 25px;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    padding: 15px;
    border-radius: 50px;
  }
  
  .black-bg ul{
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  
  .black-bg ul li {
    text-align: center;
    padding: 20px 0;
  }
  
  .black-bg ul li a {
    color: #fff;
    font-size: 18px; 
    font-weight: bold;
    display: block;
    text-decoration: none;
  }
  
  .line {
    position: absolute;
    width: 27px;
    height: 1px;
    background-color: #000;
    
}
.line:nth-child(1){
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
  } 

  .line:nth-child(2)  {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  
  .line:nth-child(3)  {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);

  }
  
  .black-bg {
    position: fixed;
    background: #17212d;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    z-index: 100;
  }
  
  .black-bg.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
  }
  
  #hamb.active .line {
    background-color: #fff;
  }
  
  /*アニメーション*/
  .black-bg {
    transition: opacity 0.6s, visibility 0.35s, width 0.35s;
  }
  #hamb.active .line:nth-child(1) {
    top: 50%;
    left: 15%;
    transform: translateY(-50%) rotate(-45deg);
  }
  #hamb.active .line:nth-child(2) {
      opacity: 0;
      background: #FFF;
  }
  #hamb.active .line:nth-child(3) {
    bottom: 45%;
    left: 15%;
    transform: rotate(45deg);
  }
  .animation {
    transition: all .9s;
  }

  .box-all{
    width: 100%;
    height: 100%;
    /* background: linear-gradient(315deg, rgba(240, 230, 200, 1) 0%, rgba(192, 200, 190, 1) 20%, rgba(150, 170, 180, 1) 70%, rgba(80, 120, 160, 1) 100%); */
}
  .box{
    color: #fff;
    height: 100vh;
    padding: 40px;
    position: relative;
    color: #000;
}
.mobile{
    display: none;
}
.box-img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    height: 90%;
}
 .box img{
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
}
.pagenation{
    padding: 20px;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.pagenation li{
    list-style-type: none;
    margin-bottom: 20px;
}
.pagenation a{
    display: block;
    height: 10px;
    border: 1px solid #000;
    border-radius: 50%;
    width: 10px;
}
.pagenation a.active{
    background: #000;
}
.box3 .box-img{
    background: #AA978E;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
    color: #fff;
}
.box-flex{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
}
.box-flex h3{
    width: 100%;
    height: 20%;
    text-align: center;
    padding-top: 100px;
    position: relative;
}
.box-flex h3::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 100%;
    border-bottom: #fff 2px solid;
}

/* スライダーのコンテナ */
.sliderArea {
    width: 90%;
    height: 70%;
    margin: 0 auto;
    margin-top: 100px;
    padding: 0 25px;
  }
  .sliderArea.w300 {
    max-width: 300px;
  }
  .slick-slide {
    margin: 0 5px;
  }
  .slick-slide img {
    width: 100%;
    height: auto;
  }
  .slick-prev, .slick-next {
    z-index: 1;
  }
  .slick-prev:before, .slick-next:before {
    color: #000;
  }
  .slick-slide {
    transition: all ease-in-out .3s;
    opacity: .2;
  }
  .slick-active {
    opacity: 1;
  }
  .slick-current {
    opacity: 1;
  }
  .thumb {
    margin: 20px 0 0;
  }
  .thumb .slick-slide {
    cursor: pointer;
  }
  .thumb .slick-slide:hover {
    opacity: .7;
  }
  .slick-dots{
    bottom: -50px;
  }
  .slider-flex{
    width: 100%;
    height: 100%;
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.slider-flex-flex{
    width: 100%;
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 50px;
  }
  .slider-flex h4{
    width: 100%;
    text-align: center;
    font-size: 40px;
    color: #fff;
  }
  .slider-content{
    width: 45%; 
    height: 100%;
  }
  .slider-content p{
    width: 90%;
    margin: 0 auto;
    font-size: 18px;
    line-height: 40px;
    font-weight: lighter;
  }
  .flex-img{
      width: 45%;
      height: 50%;
    } 
    .flex-img img{
        width: 100%;
        height: 100%;
        object-fit: cover;
  }


  .arrow_box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 20px 0 0;
    position: relative;
}

.prev-arrow,
.next-arrow {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all .3s ease;
    cursor: pointer;
    position:absolute;
}

.next-arrow{
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
}

.prev-arrow {
    top: 50%;
    left: -30px;
    transform: translateY(-50%) rotate(180deg);
    margin-right: 20px;
}

.prev-arrow::before,
.next-arrow::before{
    position:absolute;
    content: "";
    width:25px;
    height:25px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    transform:rotate(45deg);
}
.recruit-content{
    width: 50%;
    height: 100%;
    background-color: #FFF;
    margin: 0 auto;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
}
.recruit-content h2{
    width: 100%;
    text-align: center;
    padding: 50px 0;
    font-size: 40px;
}
.table-scroll{
    width: 90%;
    height: 600px;
    overflow-y: scroll;
    margin:  0 auto;

}
table{
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse; /* テーブルの枠線をきれいに表示 */
}
tbody{
    width: 100%;
}
tr{
    display: table-row;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 30px 0;
    border-top: 1px solid #000;
}
th{
    width: 50%;
    text-align: left;
    font-weight: bold;
    line-height: 40px;
}
td:first-child {
    flex: 0 0 40%; /* 最初のtdを40%の幅に設定 */
}
td{
    line-height: 40px;
    width: 60%;
}

.mCSB_inside>.mCSB_container {
    margin-right: 0;
}

.access-all{
    width: 90%;
    height: 90%;
    margin: 0 auto;
    box-shadow: rgb(0, 0, 0, 0.5) 1px 1px 10px;
    text-align: center;
    background-color: #AA978E;
    color: #fff;
}
.access-all h3{
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.access-all p{
    font-size: 20px;
}
.access-all span{
    font-size: 18px;
    line-height: 20px;
    display: inline-block;
    margin-left: 10px;
}
iframe{
    width: 90%;
    height: 70%;
    margin-top: 30px;
    box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 10px;
    border-radius: 30px;
}

.fixed-center-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(0, 0, 0, 0.5);
    font-size: 100px;
    font-weight: bold;
    text-align: center;
    z-index: 100; /* 他の要素の上に表示 */
    pointer-events: none; /* クリックイベントを受けないようにする */
    transition: opacity 0.3s ease-in-out;
    opacity: 1; /* 最初は見えるように設定してみる */
    border-bottom: rgba(0, 0, 0, 0.5) 5px double;
}

 /* 画面右下の固定ボタン (丸型) */
 .fixed-button {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: #a1bbd6;
    border: #fff 3px solid;
    color: #fff; /* テキストの色 */
    width: 250px; /* ボタンの幅 */
    height: 250px; /* ボタンの高さ (幅と同じにすることで丸くする) */
    border-radius: 50%; /* 円形にする */
    display: flex; /* フレックスボックスを使用 */
    justify-content: center; /* 上下方向と水平方向の中央寄せ */
    align-items: center; /* 垂直方向の中央寄せ */
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 0; /* アイテム間のスペースをゼロに */
    font-size: 20px; /* フォントサイズを調整 */
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3); /* ボックスシャドウ */
    z-index: 1000; /* 他の要素より前面に表示 */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* ホバー時のトランジション */
    animation: bounce 2s infinite; /* ボタンが定期的に跳ねるアニメーション */
    padding: 0; /* ボタン内の余白をなくす */
    align-content: center; /* 折り返し時に内容を中央に */
}
.down, .button-text {
    margin: 0; /* マージンを削除 */
    padding: 0; /* 余白を削除 */
    flex-basis: auto; /* 各要素のサイズに合わせる */
    width: 100%; 
}
.down{
    width: 100%;
}

.down {
    font-size: 24px; /* 矢印のフォントサイズを大きくする */
    margin-top: 5px; /* 矢印の上のスペースを少し追加 */
}
.fixed-button:hover {
    background-color: #2f7ccf; /* ホバー時の背景色 */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.4); /* ホバー時のボックスシャドウ */
}

/* ボタンが跳ねるアニメーション */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0); /* 元の位置 */
    }
    40% {
        transform: translateY(-10px); /* 少し上に移動 */
    }
    60% {
        transform: translateY(-5px); /* 少し上に移動 */
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px); /* 矢印が少し下に移動 */
    }
}
/* モバイル端末 (600px以下) のスタイル */
@media (max-width: 600px) {

    h3{
        font-size: 25px;
    }
    p{
        font-size: 12px;
    }
    /* ロゴ */
    .logo {
        width: 30%;
    }

    /* ハンバーガーメニュー */
    .hamb {
        right: 10px;
        top: 15px;
        width: 30px;
        height: 30px;
    }
    .mobile{
        display: block;
    }
    .desktop{
        display: none;
    }
    .box-img img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .box-flex h3::before{
        display: none;
    }
    .box-flex
    .sliderArea{
        margin-top: 10px;
    }
    .slider-flex h4{
        font-size: 18px;
    }
    .slider-flex-flex{
        flex-wrap: wrap-reverse;
    }
    .slider-content{
        width: 100%;
        margin-top: 20px;
    }
    .slider-content p{
        font-size: 12px;
        line-height: 20px;
    }
    .prev-arrow::before,
    .next-arrow::before{
        width:15px;
        height:15px;
        border-right:  1px solid #fff;
        border-top: 1px solid #fff;
        top:0;
        bottom:0;
        left:0;
        right:0;
        margin:auto;
        transform:rotate(45deg);
    }
    .recruit-content{
        width: 100%;
        overflow: hidden;
    }
    .recruit-content h2{
        font-size: 25px;
    }
    .table-scroll{
        width: 100%;
        height: 70%;
    }
    table{
        width: 90%;
        height: 100%;
        font-size: 12px;
    }
    tr{
        display: flex;
        
    }
    th{
        width: 100%;
    }
    td{
        width: 100%;
    }
    .box6{
        padding: 20px;
        padding-top: 40px;
    }
    .access-all{
        width: 100%;
    }
    .access-all h3{
        flex-wrap: wrap;
    }
    .access-all span{
        font-size: 16px;
    }
    .fixed-button{
        width: 150px;
        height: 150px;
        font-size: 14px;
      }
    .flex-img{
        width: 80%;
    }
}