/*-------------------------------------------------------------------------------------------animation----------*/


/*Fade*/

.fade{
  opacity: 0;
  transform: translateY(30px);/* 下にずれる幅 */
  transition: opacity 1.2s, transform 1.0s;
}
.fade.active{
  opacity: 1;
  transform: translateY(0px);
}


/*appear_border*/

.appear_border{
  background: linear-gradient(#ccc,#ccc) 0 100% / 0 1px no-repeat;
  transition: background 1s ease;
  text-decoration: none;
  padding-bottom: 14px;
  line-height: 2;
}
.appear_border.inview{
  background-size: 100% 1px;
}

@media screen and (max-width:650px){
  
  .appear_border{
    padding-bottom: 8px;
  }
}


/*-------------------------------------------------------------------------------------------copyright----------*/


.copyright{
  position: fixed;
  right: -60px;
  top: 48%;
  z-index: 5;
  font-size: 11px;
  font-weight: bold;
  color: var(--font-gray);
  font-family: 'Bilo', sans-serif;
  letter-spacing: 0.3em;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: rotate(90deg);
}
.sp_copyright{
  position: absolute;
  bottom: 8%;
  margin: 0 auto;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  color: var(--font-gray);
  font-family: 'Bilo', sans-serif;
  letter-spacing: 0.2em;
}

@media screen and (max-width:650px){
  
  .copyright{
    display: none;
  }
  .sp_copyright{
    bottom: 4%;
    font-size: 10px;
    font-weight: normal;
    letter-spacing: 0.2em;
  }
}


/*-------------------------------------------------------------------------------------------more_btn----------*/


.more_btn{
  position: relative;
  width: 290px;
  padding-top: 100px;
  margin: 0 0 0 auto;
  display: flex;
  align-items: center;
  align-content: space-between;
}
.more_btn a{
  position: relative;
  display: inline-block;
  width: 100%;
  height: 70px;
  line-height: 70px;
  border: 1px solid var(--font-black);
  text-align: center;
  border-radius: 35px;
  font-size: 15px;
}
.more_btn a:hover{
  background: var(--font-black);
  color: #fff;
}

/*hover_circle*/

.circle:hover::before,
.more_btn a:hover::before{
  z-index: 1;
  content: '';
  position: absolute;
  left: 0;
  border: 1px solid #ccc;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 1;
  animation: 1.2s hoverCircle forwards;
}
.circle:hover::before{
  top: 20%;
}
.more_btn a:hover::before{
  top: -20%;
}

@keyframes hoverCircle{
  0%{
  transform: scale(0);
  }
  100%{
  transform: scale(2);
  opacity: 0;
  }
}

@media screen and (max-width:650px){
  .more_btn{
    width: 100%;
    padding-top: 25%;
  }
  .more_btn a{
    letter-spacing: 0.2em;
    font-size: 13px;
  }
}


/*-------------------------------------------------------------------------------------------#parallax_img----------*/


.img_wrapper{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
}
.img_wrapper .txt{
  order: 2;
}
.img_wrapper .parallax_img{
  order: 1;
}
.parallax_img{
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: auto;
}
.parallax_img img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.cont .parallax_img{
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0 -2% -10% auto;
}

@media screen and (max-width:650px){
  .img_wrapper .txt{
    order: 1;
  }
  .img_wrapper .parallax_img{
    order: 2;
  }
  .cont .parallax_img{
    margin-right: 0;
    margin-bottom: 3%;
  }
} 


/*-------------------------------------------------------------------------------------------header----------*/


header{
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 10;
}
header h1#logo,
.page header h1#logo{ 
  position: fixed;
  top: 40px;
  left: 40px;
  height: auto;
  line-height: 1;
  z-index: 9999;
}
header h1#logo{
  width: 300px;
}
.page header h1#logo{ 
  width: 60px;
}
header h1#logo p,
.page header h1#logo p{
  width: auto;
  height: 60px;
}
header h1#logo p{
  background: url("../img/logo.png") left top no-repeat;
  background-size: 100% auto;
}
.page header h1#logo p{
  background: url("../img/logo_symbol_wh.png") left top no-repeat;
  background-size: 100% auto;
}

#nav_wrapper{
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
#gnav{
  display: block;
  position: absolute;
  right: 120px;
  top: 40px;
  width: calc(100% - 40%);
}
#gnav ul{
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  column-gap: 3%;
  transition: all .25s;
}
#gnav li{
}
#gnav li a{
  position: relative;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: 16px;
}
#gnav li.current a{
  color: var(--color-yellow);
}
#gnav.off{
  display: none;
}

@media screen and (max-width:1200px){
  
  #gnav li a{
    font-size: 16px;
  }
}

@media screen and (max-width:1100px){
  
  #gnav ul{
    display: none;
  }
  header h1#logo{
    width: 60px;
  }
  header h1#logo p{
    background: url("../img/logo_symbol.png") left top no-repeat;
    background-size: 100% auto;
  }
}

@media screen and (max-width:650px){
  
  header h1#logo,
  .page header h1#logo{ 
    top: 4%;
    left: 6.5%;
    width: 44px;
  }
  .page header h1#logo p{
    background: url("../img/logo_symbol.png") left top no-repeat;
    background-size: 100% auto;
  }
}


/*------------------------------------sp_menu----------*/


#sp_nav.panelactive{
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}
/*ナビの数が増えた場合縦スクロール*/
#sp_nav_list{
  display: none;
  position: fixed;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  z-index: 999;
  overflow: auto;
  background-color: aliceblue;
  -webkit-overflow-scrolling: touch;
}
#sp_nav.panelactive #sp_nav_list{
  display: block;
}
#sp_nav ul{
  opacity: 0;
}
#sp_nav.panelactive ul{
  opacity: 1;
}
/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#sp_nav.panelactive ul li{
  animation-name: naviAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 1;
}
@keyframes naviAnime{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
.sp_nav_cont{
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 32px solid aliceblue;/* 枠線 */
  box-sizing: border-box;
  border-radius: 80px;
}
.sp_nav_cont ul{
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 50px;
}
.sp_nav_cont ul li{
  width: 100%;
  padding-bottom: 30px;
}
.sp_nav_cont ul li a{
  font-size: 21px;
  font-weight: bold;
  letter-spacing: 0.2em;
}
.sp_nav_cont .sns_nav{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}
.sp_nav_cont .sns_nav p{
  font-weight: bold;
  font-size: 13px;
  padding-right: 20px;
}
.sp_nav_cont .sns_nav div{
  margin: 0 20px;
}
.sp_nav_cont .sns_nav .fb img{
  width: 12px;
  height: auto;
}
.sp_nav_cont .sns_nav .ig img{
  width: 24px;
  height: auto;
}

@media screen and (max-width:1100px){
  #sp_nav_list{
    width: 70%;
  }
  .page #sp_nav_list{
    width: 75%;
  }
}

@media screen and (max-width:650px){
  
  #sp_nav_list,
  .page #sp_nav_list{
    width: 100%;
  }
  .sp_nav_cont{
    border: 10px solid aliceblue;/* 枠線 */
    border-radius: 50px;
  }
  .sp_nav_cont ul li{
    padding-bottom: 4%;
  }
  .sp_nav_cont ul li a{
    font-size: 14px;
  }
  .sp_nav_cont .sns_nav p{
    white-space: nowrap;
    font-style: italic;
    font-size: 10px;
    padding-right: 5%;
  }
  .sp_nav_cont .sns_nav div{
    margin: 0 5%;
  }
}


/*------------------------------------ Hamburger btn ----------*/


.openbtn{
  z-index: 9999;
  position: fixed;
  top: 26px;
  right: 26px;
  width: 70px;
  height: 70px;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0px 20px 0 rgba(45,48,50,0.18);
}
.openbtn span{
  transition: all 0.3s ease-out 0s;
  display: inline-block;
  position: absolute;
  left: 14px;
  width: 100%;
  height: 1px;
  background: var(--font-black);
}
.openbtn span:nth-of-type(1){
  top: 26px;
  width: 60%;
}
.openbtn span:nth-of-type(2){
  top: 35px;
  width: 53%;
}
.openbtn span:nth-of-type(3){
  top: 44px;
  width: 47%;
}
.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3){
}
/*activeクラスが付与されると線が回転して×になる*/
.openbtn.active span:nth-of-type(1),
.openbtn.active span:nth-of-type(3){
  top: 34px;
  left: 22px;
  width: 40%;
}
.openbtn.active span:nth-of-type(1){
  transform: rotate(135deg);
}
.openbtn.active span:nth-of-type(2){
  opacity: 0;
}
.openbtn.active span:nth-of-type(3){
  transform: rotate(-135deg);
}

@media screen and (max-width:650px){
  
  .openbtn{
    top: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }
  .openbtn span{
    left: 11px;
  }
  .openbtn span:nth-of-type(1){
    top: 18px;
  }
  .openbtn span:nth-of-type(2){
    top: 26px;
  }
  .openbtn span:nth-of-type(3){
    top: 34px;
  }
  /*activeクラスが付与されると線が回転して×になる*/
  .openbtn.active span:nth-of-type(1),
  .openbtn.active span:nth-of-type(3){
    top: 26px;
    left: 16px;
  }
  
}


/*-------------------------------------------------------------------------------------------contents----------*/


#wrapper_all{
  position: relative;
  width: 100%;
  display: flex;
  justify-items: stretch;
  justify-content: space-between;
}

@media screen and (max-width:650px){
  #wrapper_all{
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }
}


/*-------------------------------------------------------------------------------------------#side_visual----------*/


#side_visual{
  position: fixed;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: var(--page-bg);
}
.slider{
  margin-inline: auto;
  width: 100%;
}
.slick-img{
  position: relative;
}
.slick-img::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 30, 34, 0.15);
}
.slick-img img{
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100lvh;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}
@keyframes zoomUp{
  0%{
  transform: scale(1);
  }
  100%{
  transform: scale(1.12); /* 拡大率 */
  }
}
.add-animation{
  animation: zoomUp 12s linear 0s normal both;
  transition: all .25s;
}
/*画像読み込み遅延対策*/
.slider > li:not(:first-child){
    display: none;
}
#side_visual .txt{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
}
#side_visual .txt h2{
  writing-mode: vertical-rl;
  margin: 0 auto;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.2em;
  padding-bottom: 50px;
}
#side_visual .txt p{
  font-size: 12px;
  letter-spacing: 0.35em;
}

@media screen and (max-width:1100px){
  #side_visual{
    width: 25%;
  }
  .top_page #side_visual{
    width: 30%;
  }
  #side_visual .txt h2{
    font-size: 25px;
  }
  #side_visual .txt p{
    font-size: 11px;
  }
  
}

@media screen and (max-width:650px){

  #side_visual,
  .top_page #side_visual{
    position: relative;
    width: 100%;
    z-index: 3;
  }
  #side_visual,
  .slick-img img{
    height: 80svh;
  }
  .page #side_visual,
  .page .slick-img img{
    height: 100svh;
  }
  .slick-img::after{
    background:
      linear-gradient(
        to bottom, 
        rgba(255, 255, 255, 0) 30%, 
        rgba(202, 210, 222, 0.25) 100%);
  }
  #side_visual .txt{
    top: 52%;
  }
  #side_visual .txt h2{
    font-size: 21px;
    text-shadow: 0px 0px 12px rgba(202, 210, 222, 0.5);
    padding-bottom: 14px;
    letter-spacing: 0.3em;
  }
  #side_visual .txt p{
    font-size: 12px;
    letter-spacing: 0.3em;
  }
}


/*-------------------------------------------------------------------------------------------#main_cont----------*/


#main_cont{
  position: relative;
  overflow: hidden;
  width: 60%;
  margin-left: 40%;
  background-color: var(--page-bg);
}
#wrapper{
  position: relative;
  width: 70%;
  margin: 0 auto;
  padding: 65lvh 0 250px;
  text-align: left;
}
.page #wrapper{
  padding-top: 30lvh;
}
#wrapper .cont{
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 250px;
}
.cont .head_num{
  font-size: 38px;
  font-weight: bold;
}
.cont h3,
.cont h4{
  line-height: 1.8;
  font-weight: normal;
  letter-spacing: 0.25em;
}
.cont h3{
  font-size: 34px;
  padding-bottom: 60px;
}
.cont h4{
  font-size: 27px;
  padding-bottom: 40px;
}
.page .cont h3{
  font-size: 32px;
}
.page .cont:not(:first-child) .txt p{
  font-size: 15px;
}
.thumb{
  width: 100%;
  height: auto;
}
.thumb a img{
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

@media screen and (max-width:1100px){
  #main_cont{
    width: 75%;
    margin-left: 25%;
  }
  .top_page #main_cont{
    width: 70%;
    margin-left: 30%;
  }
  .cont .head_num{
    font-size: 36px;
  }
  .cont h3{
    font-size: 30px;
  }
  .cont h4{
    font-size: 22px;
  }
  .page .cont h3{
    font-size: 28px;
  }
  
}

@media screen and (max-width:650px){
  #main_cont,
  .top_page #main_cont{
    width: 100%;
    margin: 0 auto;
  }
  #wrapper,
  .page #wrapper{
    width: 80%;
    padding-top: 5%;
  }
  #wrapper .cont{
    padding-top: 150px;
  }
  .page #wrapper .cont{
    padding-top: 100px;
  }
  .page #wrapper .cont:first-child{
    padding-top: 15%;
  }
  .cont .head_num{
    font-size: 28px;
  }
  .cont h3,
  .cont h4{
    padding-bottom: 15%;
  }
  .cont h3{
    font-size: 24px;
  }
  .cont h4{
    font-size: 17px;
  }
  .page .cont h3{
    font-size: 20px;
    padding-bottom: 10%;
  }
  .page .cont:not(:first-child) .txt p{
    font-size: 14px;
  }
}


/*---------------------------------------------------video_area----------*/


.video_area{
  position: fixed;
  top: 0;
  right: 0;
  z-index: 0;
  width: 60%;
  display: flex;
}
.video_area #video{
  justify-content: center;
  align-items: center;
  width: auto;
  height: 100vh;
  opacity: .2;
}

@media screen and (max-width:1100px){
  .video_area{
    width: 70%;
  }
  .page .video_area{
    width: 75%;
  }
  
}

@media screen and (max-width:650px){
  .video_area,
  .page .video_area{
    width: 100%;
  }
  
}

/*---------------------------------------------------works_list----------*/


.works_list li{
  padding-bottom: clamp(50px,7.69vw,13%);
}
.works_list li:last-child{
  padding-bottom: 0;
}
.works_list li a{
  display: block;
  width: 100%;
}
.works_list .img{
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.works_list .img img{
  object-fit: cover;
  width: 100%;
  height: 100%;
  vertical-align: top;/*余白消し*/
}
.works_list a:hover .img img{
  transform: scale(1.1);
  transition: .7s;
  opacity: 1;
}
.works_list .caption{
  padding-top: 30px;
}
.works_list .caption .cat{
  display: inline-block;
  margin: 0 2% 2% 0;
  padding: 0 3%;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  color: #919394;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.2em;
  border: 1px solid #ddd;
  background-color: #fff;
}
.works_list .caption .tit{
  font-size: 19px;
}

@media screen and (max-width:1100px){
  
  .works_list .caption{
    padding-top: 4%;
  }
  .works_list .caption .tit{
    font-size: 17px;
  }
}

@media screen and (max-width:650px){
  
  .works_list .img{
    box-shadow: 1px 1px 8px 0px rgba(87,89,91,0.05);
  }
  .works_list .caption{
    padding-top: 5%;
  }
  .works_list .caption .cat{
    height: 28px;
    line-height: 28px;
    border-radius: 14px;
    padding: 0 4%;
    letter-spacing: 0.2em;
    font-size: 11px;
    color: #aaa;
  }
  .works_list .caption .tit{
    margin-top: 3%;
    letter-spacing: 0.2em;
    line-height: 1.8;
  }
}


/*-------------------------------------------------------------------------------------------#f-contact----------*/


#f_contact{
  position: relative;
  padding: 150px 0;
  text-align: left;
  width: 100%;
  background-color: rgba(227,230,232,0.35);
}
#f_contact .cont{
  width: 70%;
  margin: 0 auto;
  text-align: left;
}

@media screen and (max-width:650px){
  #f_contact{
    padding: 30% 0;
  }
  #f_contact .txt br{
    display: none;
  }
}


/*-------------------------------------------------------------------------------------------footer----------*/


footer{
  position: relative;
  width: 100%;
  padding: 200px 0 180px;
}
footer .info{
  width: 70%;
  margin: 0 auto;
}
footer .co_name img{
  width: 344px;
  height: auto;
  padding-bottom: 22px;
}
footer .info p{
  font-size: 13px;
  line-height: 1.8;
  padding-bottom: 40px;
}
footer .sns{
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .sns div{
  margin: 0 20px;
}
footer .sns div:first-child img{
  width: 12px;
  height: auto;
}
footer .sns div:last-child img{
  width: 24px;
  height: auto;
}

@media screen and (max-width:1100px){
  
  footer .co_name img{
    width: 300px;
    padding-bottom: 5%;
  }
  footer .info p{
    font-size: 13px;
    padding-bottom: 9%;
  }
  footer .sns{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  footer .sns div{
    margin: 0 4%;
  }
}

@media screen and (max-width:650px){
  footer{
    padding: 40% 0 34%;
  }
  footer .info{
    width: 64%;
    min-width: 200px;
  }
  footer .co_name img{
    width: 100%;
    padding-bottom: 7%;
  }
  footer .info p{
    font-size: 11px;
    padding-bottom: 12%;
  }
}