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%;
}


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

.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;
}

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


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



h2{
  font-size: 20px;
  margin: 8vh auto 2vh 10vw;
}
article input[type="text"]{
  width: 80%;
  border:1px solid #707070;
  background-color: #fff;
  padding: 1vw;
  margin: 0 auto 0 10vw;
  }

article h3{
  font-size: 18px;
  padding-top: 5vh;
}

article{
  width: 80vw;
  margin: 0 auto;
  border-bottom: solid 1px;
}

#others{
  margin-bottom: 5vh;
}

.card{
  margin-top: 5vh;
}
#card-add{
  text-align: center;
}
.card-add{
  color:black;
  border: solid 1px black;
  padding: 1vw 5vw;
}

.pay{
  margin: 5vh auto;
}

.confirm{
  width: 80vw;
  margin: 0 auto;
  padding-top: 10vh;
  padding-bottom: 5vh;
  border-bottom: solid 1px;
}

dl{
  display: flex;
  margin: 3vh auto auto 3vh;
}

dd{
  margin-left: 20vw;
}

.total{
  margin: 2vh 0 auto 5vw;
  font-size: 20px;
}
.price{
  font-size: 20px;
  color: red;
  margin: 2vh auto auto 25vw;
}


.confirm-btn{
  border: solid 1px ;
  text-align: center;
  padding: 1vw 5vw;
}
#confirm-btn{
  text-align: center;
  margin: 10vh auto;
}





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

#name{
  font-size: 25px;
}
#price{
  font-size: 23px;
}

h2{
  font-size: 30px;
}

article h3{
  font-size: 25px;
}

.card{
  font-size: 23px;
}

.card-add{
  font-size: 20px;
}

.pay{
  font-size: 23px;
}
dl{
  font-size: 23px;
}

dd{
  margin-left: 35vw;
  font-size: 23px;
}

.total{
  margin: 2vh 0 auto 7vw;
  font-size: 27px;
}
.price{
  font-size: 27px;
  margin: 2vh auto auto 37vw;
}


.confirm-btn{
  padding: 2vw 5vw;
  font-size: 20px;
}

}


@media screen and (min-width: 960px){
  
  .cont01{
    padding-left: 10vw;
  }
  img{
    width: 20vw;
  }

/* -------------------カウントボタン---------------- */
.detail{
  padding-top: 10vh;
}

.container{
  font-size: 25px;
  padding-left: 10vw;
}

.inputtext{
  height: 5vh;
}

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


#gift-button{
  margin-left: 11vw;
  font-size: 18px;
}


.card{
  padding-left: 10vw;
}
#card-add{
  margin-left: -10vw;
  padding-top: 3vh;
}
.pay{
  margin-left: 10vw;
}

.confirm{
  width: 80vw;
  margin: 0 auto;
  padding-top: 10vh;
  padding-bottom: 5vh;
  border-bottom: solid 1px;
}

dl{
  margin: 3vh auto auto 20vh;
}

dd{
  margin-left: 30vw;
}

.total{
  margin: 8vh 0 auto 5vw;
  font-size: 30px;
}
.price{
  font-size: 30px;
  color: red;
  margin: 8vh auto auto 25vw;
}


.confirm-btn{
  border: solid 1px ;
  text-align: center;
  padding: 1vw 5vw;
}
#confirm-btn{
  text-align: center;
  margin: 10vh auto;
}

}
