@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: Noto_Serif_JP;
  src: url(../font/Noto_Serif_JP/NotoSerifJP-VariableFont_wght.ttf);
}


@font-face {
  font-family: Grechen_Fuemen;
  src: url(../font/Grechen_Fuemen/GrechenFuemen-Regular.ttf);
}


body {
  width: 100%;
  font-family: Noto_Serif_JP;
  background-image: url(../images/body-visual.jpg);
  /* background-color: #2b2b2b; */
}

header {
  display:  block;/* スライドアニメ指定効果を効かすため */
  position:  relative;            /* スライドアニメ位置指定 */
  background-image: url(../images/header-visual.jpg);
  background-size: 100% 100%;
  font-family: arial;
  width: 100%;
  height: 50vw;
  animation: bugfix infinite 1s;/* ボタンアニメーション指定 */
  -webkit-animation: bugfix infinite 1s;/* ボタンアニメーション指定 */
  animation: anime1 1s ease;      /* スライドアニメーション指定 */
}

/* スライドアニメーション指定 */
@keyframes anime1 {
  0% {
      opacity:  0;                /* 透明度指定 */
      top: 50px;                  /* 位置指定 */
  }
  100% {
      opacity:  1;                /* 透明度指定 */
      top: 0;                     /* 位置指定 */
  }
}

.header-box {
  position: fixed;
  width: 100%;
  height: 7vw;
  z-index: 1000;
  background-color: rgba(43, 43, 43, 0);
}


h1 {
  display: flex;
  width: 98%;
  padding: 0 1.5%;
}

h1 a {
  display: block;
  width: 7%;
  margin-right: auto;
}

h1 a img {
  display: block;
  width: 100%;
  background-size: 100% 100%;
}

h1 p {
  width: 9.8%;
  text-align: center;
  margin-top: 2%;
  color: white;
  font-size: 1vw;
}

h1 p:nth-of-type(1) {
  letter-spacing: .5em;
  font-family: Noto_Serif_JP;
}

h1 p:nth-last-child(1) {
  margin-right: 41%;
  letter-spacing: .6em;
  font-family: Grechen_Fuemen;
}

/* ハンバーガーボタン */

@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
#overlay-button {
  position: absolute;
  right: 2.3%;
  top: 10%;
  padding: 2% 1.5%;
  /* padding: 26px 11px; */
  z-index: 5;
  cursor: pointer;
  user-select: none;
}
#overlay-button span {
  
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: white;
  position: relative;
  display: block;
  transition: all .3s ease-in-out;
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
}
#overlay-button span:after {
  
  top: 10px;
}
#overlay-button span:before, #overlay-button span:after {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: white;
  position: absolute;
  content: "";
  transition: all .3s ease-in-out;
}
#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
  background: #c0c6c9;
}

input[type=checkbox] {
  display: none; 
  
}

input[type=checkbox]:checked ~ #overlay {
  visibility: visible; 
}

input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
  
  
}
input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);

}
input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);


}

#overlay {
  height: 100vh;
  width: 100vw;
  background-color: rgba(13, 0, 21, 0.5);
  z-index: 2;
  visibility: hidden;
  position: fixed;
  top: 0;
}

#overlay.active {
  transition: .4s ease-in-out;
}
#overlay ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
  padding-left: 0;
  list-style-type: none;
}
#overlay ul li {
  padding: 0.5%;
}
#overlay ul li a {
  display: block;
  line-height: 2;
  text-decoration: none;
  font-family: Noto_Serif_JP;
  font-size: 1.5em;
  color: #c0c6c9;
}

#overlay ul li a::after {
  display: block;/* 疑似要素はブロックレベル要素ではないので
  プロパティを効かすため変換する */
  content: "";/* 疑似要素で線を作る時は中身は入れない */
  width: 0%;/* :hover時に線を伸ばしたいので0%にして見えなくした */
  height: 0.09vw;/* heightを入れないと何も見えない */
  background-color: #fffffc;
  transition: 0.6s;
}

#overlay ul li a:hover::after {
  width: 100%;/* カーソルを乗せたら線が出るようにした */
  transition: 0.6s;
}

#overlay ul li a:hover {
  color: #fffffc;
  /* color: #000!important; */
  transition: 0.6s;
}

/* メイン */


main {
  width: 100%;
  height: 339vw;
}

main .space-container1 {
position: relative;
height: 150vw;
}

/* ボーダー スクロール */

.scroll {
position  : absolute;
writing-mode : vertical-rl;
top : -10%;
left : 50%;
z-index: 1;

transform: translateX(-50%) translateY(-50%);
}
.scroll::after {
content : "";
display : inline-block;
position : absolute;
background-color: #888084;
right: 50%;
bottom : -19vw;/*  */
transform : translateX(-50%);
width : 0.8px;
height : 22vw;/* 長さ調節 */

animation: scroll 2.8s infinite;
}
@keyframes scroll {
0% {
transform: scale(1, 0);
transform-origin: 0 0;
}
50% {
transform: scale(1, 1);
transform-origin: 0 0;
}
50.1% {
transform: scale(1, 1);
transform-origin: 0 100%;
}
100% {
transform: scale(1, 0);
transform-origin: 0 100%;
}
}


/* スクロールボックス */
main .space-container1 .space-visual1 {
  clip-path: inset(0);
  width: 100%;
  height: 32vw;
  margin-top: 15vw;
  padding: 1vw;
  z-index: 10;
  box-sizing:border-box;
}

main .space-container1 .space-visual1::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width:100%;
  height: 100%;
  filter: opacity(50%);
  background-image: url(../images/sec3-visual2.jpg);
  background-size: 100% 100%;
}


main .space-container1 .space-visual1 h2 {
  position: absolute;
  top: 3.6%;
  left: 26.8%;
  letter-spacing: 0.5em;
  text-shadow: 1px 1px 2px #fffffc;
  z-index: 10;
  color: #888084;
  font-size: 3vw;
 }


main .space-container1 h3 {
  position: absolute;
  top: 38%;
  left: 42%;
  text-align: center;
  letter-spacing: 0.4em;
  z-index: 1;
  font-size: 2.2vw;
  color: #fffffc;
}

main .space-container1 .space-visual2 {
  position: absolute;
  width: 65%;
  top: 30%;
  left: 8%;
}

main .space-container1 .space-visual2 img {
  width: 100%;
}

main .space-container1 .space-visual3 {
  position: absolute;
  width: 45%;
  top: 57%;
  left: 55%;
}

main .space-container1 .space-visual3 img {
  width: 100%;
  filter: blur(5px);
  transition: 0.8s;
}

main .space-container1 .space-visual3 img:hover {
  filter: blur(0px);
  transition: 0.8s;
}

main .space-container1 .space-visual4 {
  position: absolute;
  width: 70%;
  top: 77%;
  left: 13%;
}

main .space-container1 .space-visual4 img {
  width: 100%;
  opacity: 0.7;
}

main .space-container1 p {
  position: absolute;
  top: 63.5%;
  left: 34%;
  line-height: 2.2;
  white-space: pre-wrap;
  text-align: center;
  letter-spacing: 0.4em;
  font-size: 1.4vw;
  color: #fffffc;
}


main .space-container2 {
  width: 80%;
  height: 98vw;
  margin-top: 25%;
  margin-left: auto;
  margin-right: auto;
  background-image: url(../images/sec2-back.jpg);
}

main .space-container2 h3 {
  padding-top: 12%;
  text-align: center;
  letter-spacing: 0.4em;
  font-size: 2.2vw;
  color: #2b2b2b;
}


/* 切り替え画像 */

main .space-container2 .slider-container {
  position: relative;
  width: 80%;
  height: 33vw;
  top: 8%;
  left: 10%;
  overflow: hidden;
}

main .space-container2 .slideimg {
  position: absolute;
  inset: 0;/*親要素内にフルサイズで配置*/
  opacity: 0;
  background-size: 100% 100%;/* 画像をスライド全体にカバー */
  animation: slideAnime 12s infinite; /* 15秒で1サイクル */
}

@keyframes slideAnime {
  0%, 63%, 100% { opacity: 0; }/* スライドの非表示タイミング */
  20%, 33% { opacity: 1; }/* スライドの表示タイミング */
}

/* 各スライドのアニメーションタイミングを均等にずらす */
main .space-container2 .slideimg:nth-of-type(1){
  background-image: url(../images/space-visual4.jpg);
  animation-delay: 0s;
  background-position:100%;
}

main .space-container2 .slideimg:nth-of-type(2) {
  background-image: url(../images/space-visual5.jpg);
  animation-delay: 4s;
  background-position:10%;
}

main .space-container2 .slideimg:nth-of-type(3) {
  background-image: url(../images/space-visual6.jpg);
  animation-delay: 8s;
}


main .space-container2 p {
  margin-top: 20%;
  margin-left: 28%;
  writing-mode: vertical-rl;
  text-align: center;
  white-space: pre-wrap;
  letter-spacing: 0.4em;
  line-height: 2.4;
  font-size: 1.4vw;
  color: #2b2b2b;
}

main .space-container2 p span {
  text-combine-upright: all;
}


main .space-visual5 {
  width: 100%;
  margin-top: 6%;
}

main .space-visual5 img {
  width: 100%;
  vertical-align: bottom;
  opacity: 0.8;
}

/* フッター */

.footer-wrapper {
  display: flex;
  width: 88%;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5% 0%;
}

.footer-wrapper .footer-container {
  display: flex;
  width: 40%;
  margin-left: 5%;
}

.footer-container .footer-rogo {
  width: 25%;
}

.footer-container .footer-rogo img {
  width: 100%;

}

.footer-container .footer-resbox {
width: 70%;
margin-left: 5%;
}

.footer-container .footer-resbox p:nth-of-type(1) {
  font-size: 1.2vw;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.1em;
}

.footer-container .footer-resbox p:nth-of-type(2) {
  font-size: 2vw;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.2em;
}


.footer-container .footer-resbox2 {
  width: 90%;
  margin-top: 2%;
  margin-left: auto;
  margin-right: auto;
}


.footer-container .footer-resbox2 a {
  display: block;
  text-decoration: none;
  line-height: 2.4;
  letter-spacing: 0.08em;
  text-align: center;
  border-radius: 0.8vw;
  background-color: #fffffc;
  color: #2b2b2b;
  font-size: 1vw;
  transition: .6s cubic-bezier(0.37, 0, 0.63, 1);
}

.footer-container .footer-resbox2:hover a {
  background: #888084;
  color:  #fffffc;
  letter-spacing: 0.2em;
  transition: .6s;
}


.footer-nav {
  width: 35%;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 20%;
}

.footer-nav ul {
  display: flex;
}

.footer-nav ul li {
  width: calc( 100% / 6 );
  writing-mode: vertical-rl;
  list-style-type: none;
}

.footer-nav ul li a {
  letter-spacing: 0.5em;
  text-decoration: none;
  line-height: 3;
  font-size: 1vw;
  color: #fffffc;
}

.footer-nav ul li a::before {
  display: block;
  content: "";
  width: 1px;
  height: 0;
  background-color: #fffffc;
  transition: 0.7s;
}

.footer-nav ul li a:hover::before {
  width: 1px;
  height: 6vw;
  transition: 0.7s;
}




.sns-icon {
  
  width: 50%;
  height: fit-content;
  margin-left: 28.5%;
}

.sns-icon a {
  color: #fffffc;
  font-size: 2vw;
}

.sns-icon a .fa-brands {
  transition: 0.5s;
}

.sns-icon a .fa-brands:hover {
  color: #888084;
  transform: scale(1.2,1.2);
  transition: 0.5s;
}

.fa-square-instagram {
  margin-left: 3%;
  margin-right: 3%;
}


footer {
  padding: 2%;
  background-color: #433d3c;
}

footer p {
  margin-top: 3%;
  text-align: center;
  font-size: 0.9vw;
  color: #fffff4;
}