header{
  height: 10vh;
  background-color: burlywood;
}

h1{
    color: white;
    font-size: 30px;
    line-height: 10vh;
    margin-left: 8vw;
}


/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#g-nav.panelactive{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
  top: 0;
  width:100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
  z-index:3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: burlywood;
    /*丸のスタート位置と形状*/
  transform: scale(0);/*scaleをはじめは0に*/
  right:-50px;
    top:-50px;
    transition: all .6s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
  transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
    display: none;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
    opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}


/*リストのレイアウト設定*/
#g-nav li{
  text-align: center; 
  list-style: none;
}

#g-nav li a{
  color: #333;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}


/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
  border-radius: 50%;
  background-color: burlywood;
  top:10px;
  right: 10px;
  z-index: 9999;/*ボタンを最前面に*/
  cursor: pointer;
  width: 50px;
  height:50px;
}
  
/*×に変化*/  
.openbtn1 i{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: #666;
    width: 45%;
  }

.openbtn1 i:nth-of-type(1) {
  top:15px; 
}

.openbtn1 i:nth-of-type(2) {
  top:23px;
}

.openbtn1 i:nth-of-type(3) {
  top:31px;
}

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

.openbtn1.active i:nth-of-type(2) {
  opacity: 0;
}

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

#section1 {
    height: 100vh;
    background-image: url(../image/bg_1.jpg);
    background-size: cover;
}
#section1 div{
    height: 100vh;
    backdrop-filter: blur(3px);
}
#section1 h1 {
    color: white;
    font-size: 32px;
    text-align: center;
    padding-top: 50vh;
}

#section2 {
    height: 100vh;
}

#section2 h2 {
    width: 100%;
    background-color: burlywood;
    line-height: 2em;
    padding-left: 3%;
    font-size: 24px;
    border: solid 1px burlywood;
    color: white;
}
#section2 p {
    width: 90%;
    margin: 3vh auto;
    line-height: 2em;
    text-align: center;
}
#section2 p span {
    text-align: center;
    font-size: 24px;
}
#section2 a {
    display: block;
    width: 50%;
    margin: 0 auto;
    border: solid 1px black;
    padding: 1em;
    text-align: center;
}

#section3 {
    height: 100vh;
}


/* ------------------------------------------------- */

.cont01{
    display: flex;
    margin: 15vh 3vw auto 3vw;
    padding-bottom: 5vh;
    border-bottom: solid 1px;
}
img{
    width: 38vw;
}

/* -------------------カウントボタン---------------- */
.detail{
  /* border: solid red; */
  padding-top: 10vh;
}
.container{
  display: flex;
}
.field{
  display: flex;
  margin: auto 3vw;
}
.inputtext{
  text-align: center;
  border: solid 1px black;
  width: 8vw;
  height: 3vh;
  line-height: 3vh;
}
.button{
  color:black;
  border: solid 1px black;
  padding: 0 1vw;
}
/* --------------------------------------------- */

#name{
  margin-bottom: 5vh;
  text-align: center;
}
#delete{
  border: solid 1px black;
  padding: 0 1vw;
}

/* --------------------------------------------- */


.cont02{
  display: flex;
  justify-content: end;
  font-size: 25px;
  margin-top: 7vh;
  /* border: solid ; */
}
#total-price{
  padding-left: 10vw;
  padding-right: 5vw;
}

.next{
  border: solid 1px ;
  text-align: center;
  padding: 3vw 10vw;
}
#next-button{
  text-align: center;
  padding-top: 15vh;
}



@media screen and (min-width: 560px){

.container{
  font-size: 25px;
}

#name{
  margin-bottom: 5vh;
  text-align: center;
  font-size: 25px;
}

#delete{
  border: solid 1px black;
  padding: 0 1vw;
}

.cont02{
  display: flex;
  justify-content: end;
  font-size: 35px;
  margin-top: 7vh;
  /* border: solid ; */
}

#total-price{
  padding-left: 10vw;
  padding-right: 5vw;
}

.next{
  border: solid 1px ;
  text-align: center;
  padding: 1vw 5vw;
}
#next-button{
  text-align: center;
  padding-top: 9vh;
  font-size: 25px;
}

}


@media screen and (min-width: 960px){

  .cont01{
    padding-left: 5vw;
    border-bottom: solid 1px white;
  }
  .cont02{
    font-size: 25px;
    margin-top: 45vh;
  }
  img{
    width: 15vw;
  }
  .detail{
    padding-top: 8vh;
  }

  .container{
    font-size: 20px;
  }
  
/* -------------------カウントボタン---------------- */
.inputtext{
  height: 5vh;
}
/* --------------------------------------------- */


#next-button{
  padding-top: 15vh;
  padding-left: 50vw;
  padding-bottom: 10vh;
  font-size: 20px;
}

.cont{
  display: flex;
  width: 90vw;
  margin: 0 auto;
  border-bottom: solid 1px;
}

}