@charset "utf-8"; 

img{
  max-width: 100%;
  height: auto;
}
body{
  color: black;
  font-family: 'Times New Roman', Times, serif;
}

.header{
  display: flex;
  margin-bottom: 60px;
  box-sizing: border-box;
}

.left{
max-width: 30%;
text-align: center;
padding: 0 5px;
margin: 0 auto;
box-sizing: border-box;
}
.left h1{
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 10px;
  /* margin-top: 50px; */
  margin-bottom: 10px;
}
.left p{
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 10px;
  margin-bottom: 80px;
}
.left h2{
  font-size: 8rem;
  font-weight: bold;
  letter-spacing: 10px;
  margin-left: 100px;
  position: absolute;
  color:rgba(156, 149, 40, 0.616);
}

.right{
  box-sizing: border-box;
  height: 100vh;

}
.right img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
}

.left ul{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-top: 300px;
  font-size: 1.2rem;
  margin:300px auto 0;
}

.top{
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 40px;
  font-size: 0.9rem;
}

.top a{
  text-decoration: none;
  color: #000;
}

.bottom{
  font-size: 1.5rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.header i{
  color: #000;
}
.header li :hover{
  font-size: 1.5rem;
  font-weight: bold;
  color: rgb(228, 219, 93);
  transition: 0.5s;
}

.btn{
  text-align: center;
  margin: 150px auto;
}




/*表示するテキストが切り替わる*/
.btntextchange{
  /*テキストの基点とするためrelativeを指定*/
position: relative;
  /*ボタンの形状*/
border: 1px solid #555;
border-radius:25px;
  min-width:300px;
  min-height: 50px;
padding: 20px;
  text-align: center;
display: inline-block;
  text-decoration: none;
  color: #333;
  outline: none;
  /*アニメーションの指定*/
  transition: all .2s;
  font-size: 2rem;
  font-weight: bold;
}

/*hoverした際の変化*/
.btntextchange:hover{
background:rgb(228, 219, 93);
color:#333;
border: none;
}

.btntextchange span{
  /*絶対配置でテキストの位置を決める*/
position: absolute;
left: 50%;
top:50%;
  transform:translate(-50%,-50%);
  /*アニメーションの指定*/
  transition: all .5s;
/*ブロック要素にしてテキスト折り返しなし*/  
display: block;
white-space: nowrap;
}

/*差し替わるテキストの設定*/
.btntextchange span:nth-child(2){
opacity:0;/*透過0に*/
}

/*hoverするとテキストが入れ替わる設定*/
.btntextchange:hover span:nth-child(1){
opacity:0;/*透過0に*/
}

.btntextchange:hover span:nth-child(2){
opacity:1;/*不透明に*/
}



.footer{
  width:100%;
  margin: 0 auto;
  padding: 30px 0;
  background-color: #000;
  color: #fff;
}
.copylight{
  font-size: .5rem;
  margin: 40px auto 10px;
  text-align: center;
}
.f-text{
  padding: 0 20px;
}

.f-text h2{
  font-size: 1.3rem;
  letter-spacing: 3px;
  margin-bottom: 5px;
}
.f-text h3{
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.f-text p{
  font-size: .9rem;
  letter-spacing: 3px;
  margin-bottom: 3px;
}


.f-flex{
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
.f-flex  li{
  margin-right: 20px;
}
.f-flex li:hover{
  font-weight: bold;
  color: rgb(228, 219, 93);
  transition: 0.5s;
}


.footer .icons a,i{
  color:#fff;
}
.footer .icons a:hover{
  font-size: 1.8rem;
  font-weight: bold;
  color: rgb(228, 219, 93);
  transition: 1s;
}
.footer .icons i:hover{
  font-size: 1.8rem;
  font-weight: bold;
  color: rgb(228, 219, 93);
  transition: 1s;
}


@media (max-width: 850px){
  .header{
    display: block;
  }
    .left{
      max-width: 100%;
      text-align: center;
      padding: 0 5px;
      margin: 0 auto;
      }
      .left h1{
        font-size: 1.5rem;
        font-weight: bold;
        letter-spacing: 10px;
        margin-top: 20px;
        margin-bottom: 10px;
      }
      .left p{
        font-size: 1.2rem;
        font-weight: bold;
        letter-spacing: 10px;
        margin-bottom: 40px;
      }
      .left h2{
        font-size: 4rem;
        font-weight: bold;
        letter-spacing: 10px;
        margin: 0 0 20px 0;
        position:inherit;
      }
      
      .right{
        margin: 0 auto;
        /* width: 100%;
        height: 100vh;
        object-fit: cover; */
        background-image: url(../img/back.jpg);
        max-width: 640px;
        max-height: 478px;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    
      }

      .right img{
    /* width:100%;
    height:100%; */
    opacity: 0;
  }

  .left ul{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    margin:50px auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
  }




  .f-flex{
    max-width: 800px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
  }

  .f-flex .top{
    margin-bottom: 20px;
  }
  .f-flex .bottom{
    margin-bottom: 30px;
  }

}

/* @media (max-width: 650px){
  .img{
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 80px auto;
  }
} */