html{
    scroll-behavior: smooth;
}

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    height: 100%;
    /*高さを100%にして描画エリアをとる*/
    color: white;
    margin: 0;
    background-color: black;
    background-image: url(../img/background/background01.jpg);
}


.sp{
    display: none;
}
main{
    width: 100%;
    height: 700px;
    display: block;
    background: rgba(0,0,0,0.5);
}

#particles-js {
    position: fixed;
    /*描画固定*/
    z-index: -1;
    /*描画を一番下に*/
    width: 100vw;
    height: 100%;
    background-image: url(../img/background/background01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#wrapper{
    /*描画されるテキストを中央寄せにする*/
        display:flex;
        justify-content: center;
        align-items: center;
    }
    
    #particle{
        width:100%;
        height: 100vh;
        vertical-align: bottom;/*canvasタグ下に余白が生まれるのを防ぐ*/
    }

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

ul {
    padding: 0;
}

li {
    list-style: none;
}


.wrapper {
    position: relative;
    /*描画を#particles-jsよりも上にするためposition:relative;を指定*/
    z-index: 1;
    /*z-indexの数字を大きくすることで描画を#particles-jsよりも上に*/
    height: 100%;
    width: 85%;
    margin: 0 auto;
    color: #fff;
}

header h1{
    width: 150px !important;
}


.ham-menu {
    margin: 10px 30px 0 auto;
}

.ham-menu span {
    height: 1px;
    background-color: black;
    position: relative;
    transition: ease .4s;
    /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
    display: block;
}

.ham-menu span:nth-child(1) {
    top: 0;
    width: 50px;
}

.ham-menu span:nth-child(2) {
    margin: 8px 0;
    width: 30px;
}

/*activeクラスが付与されると線が回転して×になる*/
.ham-menu.active span:nth-child(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
    position: fixed;
}

.ham-menu.active span:nth-child(2) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
    position: fixed;
}


header {
    /* background-color: rgb(0, 0, 0); */
    height: 80px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.title {
    margin: 100px 0 100px 0;
    text-align: center;
}

.top-content {
    display: flex;
    padding: 20px 0 0 30px;
} 
.logo-img{
    color: black;
}

.main-img{
opacity: 0.4;
position: relative;
width: 100vw;
}

#particle{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width:100%;
    height: 100vh;
  vertical-align: bottom;/*canvasタグ下に余白が生まれるのを防ぐ*/
 
}


.news {
    text-align: center;
}
.news-img {
    object-fit: cover;
    width: 360px;
}


.date {
    display: flex;
}

.date-title {
    border: 1px solid black;
    background-color: #fff;
    padding: 0 10px;
    margin: 10px 0 10px 0;
    color: black;
}

.date-day {
    margin: 10px 0 0 10px;
}

.news-content{
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.content {
    width: 360px;
    margin: 0 15px 0 15px;
    text-align-last: left;
    padding-top: 50px;
}


.concept .text h1{
    padding: 0 20px 0 20px;
}

.concept h1 {
    color: white;
}

.concept-title {
    font-size: 24px;
    padding-bottom: 50px;
}
.about .title p{
    color: #fff;
}

.about-content {
    margin: 0 0 0 auto;
    width: 50%;
    height: auto;
    background-color: rgb(32, 32, 32);
    text-align: center;
    padding: 150px 0;
    
   
    
}

.about-content-l {
    width: 50%;
    height: auto;
    background-color: rgb(32, 32, 32);
    text-align: center;
    padding: 150px 0;
    
}


.about-title {
    margin-bottom: 50px;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    border-bottom: 1px solid #fff;
}

.about-content .text {
    padding: 30px ;
}

.about-content-l .text  {
    padding: 30px;
}



.merit-content {
    width: 100%;
    height: auto;
    padding: 40px 50px;
    background-color: rgb(32, 32, 32);
    margin: 0 auto;
}

.merit-title {
    font-size: 20px;
}

.merit-box {
    width: 100%;
    margin: 40px auto;
    background-size: cover;
    background-position: center;
}
@media all and (min-width: 768px) {
  .merit-box {
    height: 300px;
    background-image: url(/img/merit/bg.jpg);
  }
}
@media all and (max-width: 767px) {
  .merit-box {
    height: 250px;
    background-image: url(/img/merit/bg_sp.jpg);
  }
}

.merit-text p {
    padding-bottom: 20px;
}




.plans-text {
    padding-bottom: 50px;
}

.plans-text p {
    text-align: center;
    padding-bottom: 10px;
}

.plans-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
   
}
.plans-box{
    margin: 15px 0;
}

.box {
    width: 380px;
    height: 200px;
    background-size: cover;
    object-fit: cover;
    margin: 0 10px 0 10px;
}

.plans-btn {
    background-color: black;
    width: 380px;
    margin: 0 10px 0 10px;
    display: flex;
    justify-content: center;
}

.plans-btn p {
    line-height: 32px;
}

.fa-solid {
    padding: 3px 0 0 90px;
}

.access {
    padding-bottom: 100px;
}

.access .title {
    text-align: center;
}

.access-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.access-left {
    width: 45%;
    margin: 0;
}

.access-left p,
li {
    padding-bottom: 10px;
}
.access-left ul{
    margin-top: 20px;
}
.access-right {
    width: 45%;
    margin: 0 20px;
}

.access-right iframe{
    width: 100%;
}


footer {
    text-align: center;
    height: auto;
    padding-bottom: 50px;
    background-color: rgb(32, 32, 32);
}

.icon {
    padding: 50px;
}

.fa-brands {
    background-color: rgb(90, 90, 90);
    font-size: 2em;
    border-radius: 50%;
    padding: 15px;
    margin: 0 10px 0 10px;
}

footer .logo-img {
    width: 150px !important;
}
.footer-text{
    display: flex;
    justify-content: center;
}

.footer-text ul {
    display: flex;
    justify-content: center;
    padding: 30px 0 50px 0;

}

.footer-text li {
    margin: 0 5px 0px 5px;
}

/* ハンバーガーメニュー */
    #nav-drawer {
    position: relative;
  }
  
  /*チェックボックス等は非表示に*/
  .nav-unshown {
    display:none;
  }
  
  /*アイコンのスペース*/
  #nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
  }
  
  /*ハンバーガーの形をCSSで表現*/
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: #fff;
    display: block;
    content: '';
    cursor: pointer;
    z-index: 99999;
  }

  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }

  /*閉じる用の薄黒箇所*/
  #nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
  }
  
  /*メニューの中身*/
  #nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    max-width: 330px;/*最大幅（お好みで調整を）*/
    height: 100%;
    background: rgb(32, 32, 32);
    transition: .3s ease-in-out;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
    
  }
  #nav-content .logo-img h1{
    padding: 20px;
    font-size: 45px;
  }

  #nav-content .logo-img img{
      width: 150px !important;
  }
  #nav-content ul{
   
    margin: 70px 0 0 60px;

  }

  #nav-content li{
   
    padding-bottom: 30px;
  }

  #nav-content .icon{
    margin:350px 0 0 20px;
    padding: 0;
 
        
  }
  #nav-content .icon i{
    display: block;
    color: #fff;
   width: 62px;
  margin-bottom: 15px;
  }

  .nav-item{
    display: flex;
  }

  #nav-input:checked + #nav-open span:before{
      display: none;
  }

  #nav-input:checked + #nav-open span{
    transform:rotate(45deg);
    top: 10px;
}
#nav-input:checked + #nav-open span::after{
    transform:rotate(90deg);
    top: 0px;
}

#nav-input:checked + #nav-open{
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
}
  
  /*チェックがついたら表示させる*/
  #nav-input:checked ~ #nav-close {
    display: block;
    opacity: .5;
  }
  
  #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
  }
  
  #nav-input:checked ~ span::before{
      display: none;
  }
  .header-logo-menu{
   display: flex;
   display: -moz-flex;
   display: -o-flex;
   display: -webkit-flex;
   display: -ms-flex;
   flex-direction: row;
   -moz-flex-direction: row;
   -o-flex-direction: row;
   -webkit-flex-direction: row;
   -ms-flex-direction: row;
  }
  
  /*ロゴやサイトタイトルをセンタリング*/
  .logo-area{text-align:center;margin:auto;}
  
/* ハンバーガーメニュー */

/*
右から左へ
----------------------------*/
@keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  /*
  IE11対策
  ----------------------------*/
  _:-ms-lang(x)::-ms-backdrop,
  .d-demo {
    display: -ms-grid;
    overflow: hidden;
  }
  /*----------------------------*/
  
  .d-demo__wrap {
    display: flex;
    overflow: hidden;
  }
  
  .d-demo__list {
    display: flex;
    list-style: none;
  }
  
  .d-demo__list--left{
  animation :infinity-scroll-left 95s infinite linear 0.5s both;
  }
  
  .d-demo__item {
    width: calc(100vw / 4);
  }
  .d-demo__item > img{
     width: 100%;
     height: 300px;
    object-fit: cover;
  }

  .d-demo__wrap--hover{
      z-index: 99;
  }

  .d-demo__wrap--hover:hover .d-demo__list--left{
    animation-play-state: paused;
  }