@charset "utf-8";


.btn {
	top: 0px;
	left: 0px;
	right: 0px;
	border: 0px solid;
	margin-bottom:0px;

}

.btn:hover{
		opacity: 0.7;
		transition: 0.5s;
	}

.btn2:hover{
		opacity: 0.7;
		transition: 0.5s;
	}

@media screen and (max-width: 780px) {
.btn {
	margin-bottom:60px;

}	
	
 .btn2{
        width: 100%; 
    }
}

/* ← 追加！ボタン自体にも装飾の反映を安定させる */
.submit-button {
  all: unset; /* ボタンのデフォルト装飾を無効化 */
  display: inline-block;
  width: 100%;
  height: auto;
  text-align: center;
  cursor: pointer;
}

/* .btn_box03 の背景アニメはそのままでOK！ */



/*  ボタン アニメーション
---------------------------------------------------------- */
@keyframes anime{
10%{transform:scale(.95); opacity:1.5}
80%{opacity:.1}to{transform:scale(1.2,1.2); opacity:0}
}


/*01*/
.btn_box {
  position: relative;
  top: 20px;
  width: 80%;
  max-width: 886px;
  margin: 1% auto 50px;
  display: block; 
  animation: poyon 2s infinite;
  transition: 0.2s;
  z-index: 10;
  text-align: center; 
}


.btn_box:before, .btn_box:after {
    content: "";
    position: absolute;
    z-index: -10;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0;
    border-radius:90px;
    background:#ada169;
}
.btn_box:before {animation: anime 2s ease-out infinite;}
.btn_box:after {animation: anime 2s ease-out 1s infinite;}
/*/01*/



.btn_row{
  width: 80%;
  max-width: 900px;   /* 必要なら調整 */
  margin: 0 auto;     /* これで親が中央 */
  padding: 0;         /* 親のpaddingがあるとズレる */
  display: flex;
  align-items: center;
  justify-content: center; /* いったん center にして検証 */
  gap: 16px;
}



.btn2_side{
  width: 35%;
  margin: 0;
  display: block;
}




.btn_box02{
flex-shrink: 0;
  width: 75%;
  margin: 0;
  display: block;
  position: relative;
  top: 0px;
  animation: poyon 2s infinite;
  transition: 0.2s;
  z-index: 10;
  text-align: center;
}


.btn_box02:before, .btn_box02:after {
    content: "";
    position: absolute;
    z-index: -10;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0;
    border-radius:90px;
    background:#ada169;
}
.btn_box02:before {animation: anime 2s ease-out infinite;}
.btn_box02:after {animation: anime 2s ease-out 1s infinite;}

@media (max-width: 768px){
	
  .btn_row{
    flex-direction: column;
    align-items: center;
  }

  .btn2_side{
    width: 60%;     /* お好みで調整 */
	margin: 10% auto 0;
  }

  .btn_box02{
    width: 100%;
  }
	
  .btn_box02:before, .btn_box02:after {
    content: "";
    position: absolute;
    z-index: -10;
    width: 100%;
    height: 60%;
    top: 0px;
    left: 0;
    border-radius:90px;
    background:#ada169;
}
}
/*/02*/

/*03*/
.btn_box03 {
  position: relative;
  top: 0px;
  width: 90%;
  max-width: 700px;
  margin: 10% auto 0px;
  display: block; 
  animation: poyon 2s infinite;
  transition: 0.2s;
  z-index: 10;
  text-align: center; 
}


.btn_box03:before, .btn_box03:after {
    content: "";
    position: absolute;
    z-index: -10;
    width: 100%;
    height: 100%;
   
    left: 0;
    border-radius:90px;
    background:#ada169;
}
.btn_box03:before {animation: anime 2s ease-out infinite;}
.btn_box03:after {animation: anime 2s ease-out 1s infinite;}
/*/03*/

/*04*/
.btn_box04 {
  position: relative;
  top: 30px;
  margin-bottom:50px;
  width: 100%;
  max-width: 700px;
  margin: 1% auto 0;
  display: block; 
  animation: poyon 2s infinite;
  transition: 0.2s;
  z-index: 1000;
  text-align: center; 
}


.btn_box04:before, .btn_box04:after {
    content: "";
    position: absolute;
    z-index: -10;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0;
    border-radius:90px;
    background:#7cce6a;
}
.btn_box04:before {animation: anime 2s ease-out infinite;}
.btn_box04:after {animation: anime 2s ease-out 1s infinite;}
/*/04*/

.btn_top-wrap{
  position: relative;
  display: inline-block;
}

@keyframes anime{
  10% { transform: scale(.95); opacity: 0.8; }
  80% { opacity: .2; }
  100% { transform: scale(1.3); opacity: 0; }
}

.btn_top-wrap::before,
.btn_top-wrap::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(173,161,105,0.8);
  z-index: -1;
}

.btn_top-wrap::before{
  animation: anime 2s ease-out infinite;
}

.btn_top-wrap::after{
  animation: anime 2s ease-out 1s infinite;
}
