@charset "utf-8";

/* リセットCSS */
body,h1,h2,h3,h4,h5,p,ul,li,dl,dd,dt,figure{
    margin: 0;
    padding: 0;
    list-style: none;
}

a{text-decoration: none;}

img{vertical-align: bottom;}


/* 全体 */
body{
    font-size: 16px;
    font-family: YuGothic,"Yu Gothic",游ゴシック,游ゴシック体,sans-serif;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    background-color: #8b8b8b;
}

/* Mac用（SafariやMac Chrome向け） */
@media screen and (-webkit-min-device-pixel-ratio: 1.5) {
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;
    }
}

*{box-sizing: border-box;}

.flex{
    display: flex;
    text-align: center;
}

.wrap{
    width: 1520px;
    margin: 0 auto;
} 

/* ヘッター */
header{
    background-color: #68222d;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 12;
}

h1{
    padding-right: 30px;
    overflow: hidden;
}

.bc-1-1{
    margin-top: 150px;
}

.bc-1{
    margin-top: 150px;
}

header .wrap{
    align-items: center;
}

header .wrap .flex{
    gap: 30px;
}

header .wrap .flex p{
    width: 50%;
    height: auto;
}

header a{
    transition: opactiy 0.3s;
}

header a:hover{
    opacity: 0.7;
}

.icon-00{
    padding-top: 20px;
}

/* ナビゲーション */
.openbtn{
	position: fixed;
    top: 50px;
    right: 50px;
	background:#452F22;
	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 5px;
    z-index: 50;
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
	background: #fff;
  	width: 45%;
  }


.openbtn span:nth-of-type(1) {
	top:13px;	
}

.openbtn span:nth-of-type(2) {
	top:19px;
}

.openbtn span:nth-of-type(3) {
	top:25px;
}

.openbtn span:nth-of-type(3)::after {
	content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
	position: absolute;
	top:5px;
	left:-2px;
	color: #fff;
	font-size: 0.6rem;
	text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

.openbtn.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(3)::after {
	content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
	top:5px;
	left:4px;
}



nav ul{
    position: fixed;
    display: none;
    list-style-type: none;
    width: 100%;
    /* padding-top: 150px; */
    z-index: 10;
}

nav li a{
    display: block;
    width: 100%;
    line-height: 100%;
    color: #fff;
    background-color: rgba(8, 4, 24, 0.7);
    text-align: center;
    font-size: 20px;
    padding: 20px;
    letter-spacing: 0.3em;
    transition: opacity 0.3s,letter-spacing 0.3s;
    z-index: 1;
}

nav li a:hover{
    opacity: 0.7;
    letter-spacing: 0.5em;
}



/* CONTACT */
main .ma-4{
    padding: 20px 0;
}

.form-container{
    text-align: center;
    margin: 50px auto 20px;
    background-color: rgba(51, 51, 51, 0.7);
    color: #fff;
    display: flex;
    max-width: 1000px;
    height: auto;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

form{
    width: 700px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.3em;
    padding: 10px;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

form button {
    width: 95%;
    padding: 10px;
    background-color: #68222d;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin: 10px 5px;
}

form button:hover {
    opacity: 0.7;
}

form textarea{
    height: 200px;
    resize: none;
}

/* トップボタン */
.top-btn{
    display: block;
    z-index: 10;
    right: 0;
    position: fixed;
    bottom: 20px;
}

.top-btn img{
    width: 200px;
    height: 200px;
}


/* アニメーション */
.top-btn {
    animation-name: swing;
    animation-duration: 1.0s;
    animation-timing-function: ease-out;
    animation-delay: 0;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    }
    @keyframes swing {
        0% {
          transform: translate(0, 0) rotate(5deg);
        }
        50% {
          transform: translate(0, 10px) rotate(0deg);
        }
        100% {
          transform: translate(0, 0) rotate(-5deg);
        }
      }
      
    .top-btn{
        transition: transform 0.5s ease 0s;
    }
    .top-btn:hover{
        transform:rotate(360deg);
    }

/* フッダー */
footer{
    text-align: center;
    background-color: #452F22;
    line-height: 50px;
}


footer small{font-size: 12px;}



/* jsクルクルテキスト */
.rollAnime.roll span {
    transition-property: opacity,transform;
    transform: rotateY(360deg);
    transition: all .8s cubic-bezier(.77,0,.175,1);
    transition-timing-function: cubic-bezier(.77,0,.175,1);
    display: inline-block;
}



/* 画面がふわっと現れる */
/* fadeUp */
.fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeUpAnime{
      from {
        opacity: 0;
        transform: translateY(100px);
      }
    
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* アニメーション１回分の時間の長さを指定するCSS*/

.change-time05{
    animation-duration: 0.5s;
  }
  
  .change-time1{
    animation-duration: 1s;
  }
  
  .change-time15{
    animation-duration: 1.5s;
  }
  
  .change-time2{
   animation-duration: 2s;
  }

  .change-time25{
    animation-duration: 2.5s;
   }

   .change-time3{
    animation-duration: 3s;
   }
    
    /* スクロールをしたら出現する要素にはじめに透過0を指定　*/
     
    .fadeUpTrigger{
        opacity: 0;
    }


/* contact-confrim */
main .bc-4 .form-container form .co-waku01{
    padding: 5px auto 15px;
    margin: 10px auto;
}

main .bc-4 .form-container form .co-waku02{
    background-color: #fff;
    border-radius: 5px;
    color: #333;
    padding: 10px 5px;
}



/* contact-thanks */
.form-container02 p{
    margin: 50px auto;
    text-align: center;
    line-height: 2;
}










