@charset "utf-8";

html{
  height: auto;
}

main h2{
  font-weight: 700;
  color: #555;
}
.aboutTitle{
  color: #2f94ca;
}

#detailTxt{
  color: #555;
}


/* スライドショー */
#film{
  position: relative;
}
#slideWrap{
  display: flex;
  max-width: 100%;
  overflow-x: hidden;
  background: #333;
}
.aboutDisp{
  display: flex;
  flex-direction: column;
  animation: slideshow 20s linear infinite;
}
#filmScreenWrap{
  transform-origin: left;
}
.filmImg{
  display: flex;
}
.filmTop{
  display: flex;
  justify-content: space-between;
}
.filmWhite{
  background: #fff;
}
.filmWhiteSp{
  display: none;
}
.filmImg a{
  transition: all 0.1s;
}
.filmImg a:hover{
  filter: sepia(1) contrast(1.25);
}
.filmImg a img{
  height: 100%;
  aspect-ratio: 16/9;
}
@keyframes slideshow{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-100%); }
}


/* 静止画 */
#stopDisp{
  display: flex;
}
#stopDispCon1 div, #stopDispCon2 div, #stopDispCon3 div{
  overflow: hidden;
}
#stopDispCon1 p, #stopDispCon2 p, #stopDispCon3 p{
  display: flex;
  flex-direction: column;
}
#stopDispCon1 p button, #stopDispCon2 p button, #stopDispCon3 p button{
  width: fit-content;
  border-radius: 1000px;
  color: #fff;
  background: #2f94ca;
  transition: all 0.2s;
}
#stopDispCon1 p button:hover, #stopDispCon2 p button:hover, #stopDispCon3 p button:hover{
  background: #163849;
}
#sdc2Wrap, #stopDispCon2, #stopDispCon3{
  width: 100%;
}
#stopDispCon1 div img, #stopDispCon2 div img, #stopDispCon3 div img{
  width: 100%;
}





/* PCサイズ */
@media screen and (min-width: 1025px){

  main{
    min-height: calc(100vh - 208px);
    margin-top: 80px;
    margin-bottom: 50px;
  }

  main h2{
    font-size: 1.5rem;
  }

  #aboutTxt{
    margin-top: 30px;
    line-height: 1.5rem;
  }

  #detailTxt{
    margin-top: 10px;
    font-size: 0.85rem;
  }


  /* スライドショー */
  #filmScreen{
    height: 250px;
    margin-top: 50px;
    perspective: 100px;
  }
  #filmScreenWrap{
    width: 130%;
    height: 100%;
    border-left: 8px solid #333;
    border-right: 10px solid #333;
    border-radius: 2px;
    transform: rotateY(2deg);
  }
  #slideWrap{
    height: 100%;
  }
  .filmImg{
    height: calc(100% - 36px);
  }
  .filmImg a img{
    padding: 0 5px;
  }
  .filmTop{
    padding: 0 8px;
  }
  .filmWhite{
    width: 10px;
    height: 12px;
    margin: 3px 0;
    border-radius: 1px;
  }


  /* 静止画 */
  #stopDisp{
    width: 95%;
    margin: 100px auto 0 auto;
    justify-content: center;
  }
  #stopDispCon1{
    width: 30%;
  }
  #stopDispCon1:hover #stopDispCon1 > div{
    border-radius: 5px;
  }
  #stopDispCon1Img, #stopDispCon2Img, #stopDispCon3Img{
    transition: all 0.25s;
  }
  #stopDispCon1:hover #stopDispCon1Img, #stopDispCon2:hover #stopDispCon2Img, #stopDispCon3:hover #stopDispCon3Img{
    transform: scale(125%);
  }
  #stopDispCon1 p, #stopDispCon2 p, #stopDispCon3 p{
    text-align: center;
  }
  #stopDispCon1 p button, #stopDispCon2 p button, #stopDispCon3 p button{
    margin-left: auto;
    margin-right: auto;
  }
  #stopDispCon1 p, #stopDispCon2 p, #stopDispCon3 p{
    margin-top: 5px;
  }
  #stopDispCon1 p span, #stopDispCon2 p span, #stopDispCon3 p span{
    font-size: 1.05rem;
  }
  #stopDispCon1 p button, #stopDispCon2 p button, #stopDispCon3 p button{
    margin-top: 10px;
    padding: 9px 20px 10px 20px;
  }
  #sdc2Wrap{
    display: flex;
    width: 67%;
  }
  #stopDispCon2, #stopDispCon3{
    margin-left: 5%;
  }
}





/* スマホ・タブレットサイズ */
@media screen and (max-width: 1024px){

  main{
    min-height: calc(100vh - 265px);
    margin-bottom: 50px;
  }

  main h2{
    font-size: 1.5rem;
  }
  #aboutTxt{
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.5rem;
  }


  /* スライドショー */
  #film{
    margin-top: 50px;
  }
  #filmScreen{
    height: 250px;
    perspective: 100px;
  }
  #filmScreenWrap{
    width: 120%;
    height: 100%;
    border-left: 8px solid #333;
    border-right: 10px solid #333;
    border-radius: 2px;
    transform: rotateY(2deg);
  }
  #slideWrap{
    height: 250px;
  }
  ::-webkit-full-page-media, :future, :root #slideWrap{
    height: auto;
  }
  .filmImg{
    height: calc(100% - 36px);
  }
  .filmImg a img{
    padding: 0 5px;
  }
  ::-webkit-full-page-media, :future, :root .filmImg a img{
    width: 380px;
    height: 214px;
  }
  .filmTop{
    padding: 0 8px;
  }
  .filmWhite{
    width: 10px;
    height: 12px;
    margin: 3px 0;
    border-radius: 1px;
  }


  /* 静止画 */
  #stopDisp{
    flex-direction: column;
    width: 95%;
    margin: 100px auto 0 auto;
  }
  #stopDispCon1{
    display: flex;
  }
  #stopDispCon1 > div, #stopDispCon2 div, #stopDispCon3 div{
    width: 50%;
  }
  #stopDispCon1 p, #stopDispCon2 p, #stopDispCon3 p{
    justify-content: center;
  }
  #stopDispCon1 p{
    width: calc(50% - 15px);
    margin-left: 15px;
  }
  #stopDispCon1 p span, #stopDispCon2 p span, #stopDispCon3 p span{
    font-size: 1.1rem;
  }
  #stopDispCon1 p button, #stopDispCon2 p button, #stopDispCon3 p button{
    margin-top: 10px;
    padding: 12px 30px 13px 30px;
    font-size: 1.05rem;
  }
  #sdc2Wrap > div{
    display: flex;
    align-items: center;
  }
  #stopDispCon2{
    display: flex;
    flex-direction: row-reverse;
  }
  #stopDispCon2 p{
    margin-right: 15px;
  }
  #stopDispCon2 p button{
    margin-left: auto;
    margin-right: 0;
  }
  #stopDispCon3{
    display: flex;
  }
  #stopDispCon3 p{
    margin-left: 15px;
    text-align: right;
  }

  /* 詳細テキスト */
  #detailTxt{
    margin-top: 10px;
  }
}

/* スクロールが見切れないよう設定 */
@media screen and (max-width: 850px){
  #filmScreenWrap{ width: 110%; }
}





/* スマホ専用サイズ ※微調整用 */
@media screen and (max-width: 499px){

  main{
    min-height: calc(100vh - 249px);
  }
  main h2{
    font-size: 1.35rem;
  }
  #aboutTxt{
    font-size: 1rem;
    line-height: 1.5rem;
  }



  /* スライドショー */
  #filmScreen{
    width: 100vw;
    height: 152px;
    margin-left: calc(50% - 50vw);
    perspective: unset;
  }
  #filmScreenWrap{
    width: 100vw;
    border-left: unset;
    border-right: unset;
    border-radius: unset;
  }
  #slideWrap{
    height: 100%;
  }
  ::-webkit-full-page-media, :future, :root #slideWrap{
    height: auto;
  }
  .aboutDisp{
    animation: slideshow 15s linear infinite;
  }
  ::-webkit-full-page-media, :future, :root .aboutDisp{
    width: 874.65px;
  }
  .filmImg{
    height: calc(100% - 28px);
  }
  ::-webkit-full-page-media, :future, :root .filmImg{
    height: 164px;
  }
  ::-webkit-full-page-media, :future, :root .filmImg a img{
    width: 291.55px;
    height: 164px;
  }
  .filmWhite{
    width: 7px;
    height: 8px;
  }
  ::-webkit-full-page-media, :future, :root .filmWhite{
    margin: 4px 0;
  }
  ::-webkit-full-page-media, :future, :root .filmWhiteSp{
    display: block !important;
  }


  /* 静止画 */
  #stopDispCon1, #sdc2Wrap > div{
    flex-direction: column;
  }
  #stopDispCon1 > div, #stopDispCon1 p, #stopDispCon2 img, #stopDispCon3 img{
    width: 100%;
  }
  #stopDispCon1 p, #stopDispCon2 p, #stopDispCon3 p{
    margin-left: 0;
    margin-right: 0;
  }
  #stopDispCon1 p button, #stopDispCon2 p button, #stopDispCon3 p button{
    margin-left: auto;
    margin-right: auto;
    padding: 12px 30px 13px 30px;
    font-size: 1.05rem;
  }
  #stopDispCon2, #stopDispCon3{
    flex-direction: column;
  }
  #stopDispCon2 div, #stopDispCon3 div{
    width: 100%;
  }
  #sdc2Wrap, #stopDispCon3{
    margin-top: 70px;
  }
  #stopDispCon1 p span, #stopDispCon2 p span, #stopDispCon3 p span{
    display: block;
    margin-top: 5px;
    text-align: center;
  }



  /* 詳細テキスト */
  #detailTxt{
    font-size: 0.8rem;
  }
}