@charset "UTF-8";

/*===============================================
  SP_STYLE.CSS    [画面の横幅が798pxまで（スマホ用）]
===============================================*/
@media screen and (max-width:797.98px){

*, *:before, *:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

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


.pc{ display:none;}
.sp { display:inline; }


/* ///  訴求 ///////////////////////　*/

.vue-all {
    margin: 0 auto;
    text-align: center;
    padding: 0 0 4rem;
    width: 100%;
    height: auto;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #7fc242;
    position: relative;
  }


.vue-all::after{ /*　▼矢印　*/
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 4rem 20vw 2px 20vw;
    border-color: #7fc242 transparent transparent transparent;
    bottom: -6rem;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
}

.vue-all .vue {
margin: 0 auto 0;
    width: 100%;
    float: inherit;
    background: url(../img/img_main_sp.png)no-repeat;
    background-position: center 0%;
    background-size: 100%;
    padding-top: 130%;
    text-align: center;
    height: auto;
  }


.unser-box{
margin: -2rem auto 0;
    padding: 1rem;
    max-width: 92%;
    text-align: center;
    background: #fff;
    opacity: 0;
    border-radius: 2rem;
    filter: drop-shadow(0px 3px 5px rgba(0,0,0,0.3));
    animation: switcher 2s 1s forwards;
}

@keyframes switcher {
    0% { opacity: 0; transform:scale(10)}
    5% { opacity: 0; transform:scale(6),margin-top: -6rem}
    20% { opacity: 0; transform:scale(1),margin-top: -2rem}
    100% { opacity: 1; transform:scale(1),margin-top: -2rem}
}

.count1,
.count2{
    margin: 0 auto 1.5rem;
    width: 100%;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s forwards;
}
.count1{animation-delay: 1.8s;}
.count2{animation-delay: 2.2s;margin-bottom: 1rem}

@keyframes fadeIn {
  0% { opacity: 0; }
  90% { opacity: 0; }
  100% { opacity: 1; }
}


.riquestion-box{
    margin: 3rem 2% 0;
    width: 96%;
    text-align: center;
    border-radius: 2rem;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.3));
    display: flex;
    flex-wrap: wrap;
}

.riquestion{
    margin: 1rem 2%;
    padding: 2rem 2%;
    width: 46%;
    text-align: center;
    filter: drop-shadow(0px 2px 0px rgba(0,0,0,0.03));
    display: grid;
    place-items: center;
    font-size: 86%;
    line-height: initial;
    font-weight: bold;
    border-radius: 2rem;
    background: #ffffc9 url(../img/ic_hatena.png)no-repeat right top;
    background-size: 20%; 
}




/* ///  紹介 ///////////////////////　*/

.introduction-all {
    margin: 2rem auto;
    text-align: center;
    padding: 3rem 0 1rem;
    width: 100%;
        background: #ededdb;
        position: relative;
  }


.introduction-all::after{ /*　▼矢印　*/
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 4rem 20vw 2px 20vw;
    border-color: #ededdb transparent transparent transparent;
    bottom: -4rem;
    right: 30%;
}


.introduction-all .introduction,
.introduction2-all .introduction {
    margin: 0 auto 0;
    text-align: center;
    padding: 0;
    max-width: 1200px;
  }


.introduction-all .introduction h1,
.introduction2-all .introduction h1{
    padding: 1rem;
    margin: -2rem auto 2rem;
}

.introduction1{
    font-size: 120%;
    font-weight: bold;
    margin: 3vh auto 5rem;
    line-height: 1.7;
    width: 90%;
}

.introduction-all .introduction #introduction1 img{
    margin: 0 auto;
    text-align: center;
    max-width: 1000%;
}

.introduction-all .introduction .cap{
    margin: 0;
    font-size: 56%;
    font-weight: normal;
    text-align: right;
    float: right;
}


/* ///  紹介2 ///////////////////////　*/

.introduction2-all {
    margin: 8rem auto;
    text-align: center;
    padding: 0rem 0 2rem;
    width: 100%;
    background: #fff;
    position: relative;
  }


.introduction2{
background: #f6f080;
    font-size: 120%;
    font-weight: bold;
    margin: 2rem auto 0;
    line-height: 1.7;
    max-width: 940px;
    padding: 2rem 1% 3rem;
    border: 2rem solid #7fc242;
    position: relative;
}

.introduction2::before {
  background: linear-gradient(to right, #7fc242 0%,#fff 50%,#7fc242 100%);
  content: '';
  display: block;
  height: 0.5rem;
  width: 0;
  transform: translateX(-50%);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: absolute;
  top: 0;
  left: 50%;
}
.introduction2::before {
width: 100%;
margin-top: -0.1rem;
}


.introduction2::after {
  background: linear-gradient(to right, #7fc242 0%,#fff 50%,#7fc242 100%);
  content: '';
  display: block;
  height: 0.5rem;
  width: 0;
  transform: translateX(-50%);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: absolute;
  bottom: -1px;
  left: 50%;
}
.introduction2::after {
  width: 100%;
}


.introduction2 p.cap-title {
    text-align: left;
    padding: 2rem 1% 2rem 22%;
    font-size: 1.4rem;
    margin-top: -7rem;
    line-height: 1.4;
}

.introduction2 p.cap{
    margin: 0;
    font-size: 52%;
    font-weight: normal;
    text-align: right;
    float: right;
}



/* ///  紹介DATA ///////////////////////　*/

.appearance-all {
    margin: -8rem auto 0;
    text-align: center;
    padding: 7rem 0 1rem;
    width: 100%;
    background: #bada78;
    position: relative;
  }


.appearance-all::before{ /*　▼矢印　*/
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 4rem 20vw 2px 20vw;
    border-color: #fff transparent transparent transparent;
    top: 1.5rem;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
}


.appearance-all::after{ /*　▼矢印　*/
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 4rem 20vw 2px 20vw;
    border-color: #bada78 transparent transparent transparent;

    bottom: -6rem;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
}

.appearance{
    margin: 0 auto 0;
    text-align: center;
    padding: 0;
    max-width: 1200px;
}

.appearance-all .appearance h1{
    padding: 1rem;
    margin: -2rem auto 1rem;
}


.appearance .appearance-box{
    padding: 0;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.appearance .appearance-box .inner-box{
margin: 0px 3%;
    padding: 1rem 0;
    width: 44%;
    line-height: 1.3;
}


.inner-last{
    margin: 0vh 2.5% 4rem;
    padding: 0 2.5%;
    width: 33%;
    line-height: 1.3;
    display: grid;
    place-items: center;   
}

.appearance img{
    width: 100%;
}

.appearance .cap{
font-size: 78%;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0 0;
    color: #fff;
    vertical-align: top;
    float: left;
    line-height: 1.2;
    width: 100%;
}



/* ///  大野屋　 ///////////////////////　*/

.ceremonia-all{
    margin:3rem auto;
    text-align: center;
  /*background: #fff; *rgba(186,231,120,1): */
    background: linear-gradient(181deg, rgba(186,231,120,0.7) 0%, rgba(237,255,165,0.2) 5%, rgba(237,255,165,0.1) 100%);
}

.ceremonia {
    padding: 1rem 0 7rem;
    background-image: url(../img/img_reef.png),
    url(../img/img_woodback.png);
    background-repeat: repeat-x,repeat-x;
    background-position: 120% -2vh,100% 0vh;
    background-size: 100%, 100%;
}

.ceremonia-box {
    margin: 3rem auto 7rem;
    width: 100%;
    text-align: center;
    background: rgba(237,255,165,0.1);
    line-height: 1.6;
}

.ceremonia-box .temple{
    margin: 0 5%;
    padding: 0 0 1rem;
    position: relative;
    background: #fff;
filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));    
}
 @media screen and (max-width:376px) {
.ceremonia-box .temple{
    background-repeat: no-repeat;
    background-position: 12% 81%;
    background-size: 70%;
  }}







.ceremonia-box .temple::after{
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 4rem 20vw 2px 20vw;
    border-color: #fff transparent transparent transparent;

    bottom: -6rem;
    right: 5%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
}



.ceremonia-box .temple .temple-img{
    padding: 0 3% 0.5rem;
}

.ceremonia-box .temple .temple-img2{
    margin: 2rem auto;
    width: 90%;
}

.ceremonia-box .temple h2{
    margin: -2rem auto 2rem;
    width: 90%;
    font-size: 100%;
    text-align: center;
    line-height: 1.5;
    font-family: serif;
    font-feature-settings: "palt";
}

.ceremonia-box .temple .tyuki{
    margin: 0 6%;
    font-size: 54%;
    text-align: left;
    line-height: 1.5;
    font-feature-settings: "palt";
}

.ceremonia-box .temple .tyuki-r{
    text-indent: -1.5rem;
    font-size: 60%;
    text-align: justify;
    line-height: 1.6;
    padding: 0 10% 1rem;
}

.ceremonia-box .temple .tyukiimg{
    margin: 0rem 10%;
    width: 80%;
    float: left;
}


.ceremonia-box .temple .cap{
    margin: 2rem 6%;
    font-size: 80%;
    color: #3a7200;
    font-weight: 500;
    text-align: justify;
    line-height: 1.6;
    font-feature-settings: "palt";
    /*font-family: serif;*/
}


.ceremonia-box .temple h1{
    padding: 1rem;
    margin: 3rem auto 2rem;
    line-height: 1.5;
    display: inline-flex; /* margin-top調整用*/
    }



/* ///  手続き　 ///////////////////////　*/

.procedure-all{
    margin: -6rem auto 4rem;
    padding-top: 1rem;
    text-align: center;
    background: #f7f7f7;
}

.procedure-all .procedure {
    padding-bottom: 3rem;
    margin: 2rem auto 7rem;
    max-width: 1000px;
    text-align: center;
    position: relative;

}

.procedure-all .procedure::before{
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 4rem 20vw 0 20vw;
    border-color: #f7f7f7 transparent transparent transparent;
    bottom: -5.5rem;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
}


.procedure-all .procedure .procedure-box{
margin: 0px 2% 5rem;
    padding: 1rem 0; 
    width: 96%;
    position: relative;
    background: #fff;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
    border-radius: 1rem;
}

.procedure-all .procedure .procedure-box::before{
content: "";
    position: absolute;
    border-style: solid;
    border-width: 4rem 20vw 2px 20vw;
    border-color: #7fc242 transparent transparent transparent;
    bottom: -6.35rem;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
}

.procedure-box .procedure-boxinner {
    margin: 0 3%;
    border-top: 6px solid #7fc242;
    border-bottom: 6px solid #7fc242;

     }


.procedure-boxinner .point-item {
    margin: 1rem 2% 1rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 3px solid #f4f4f4;
    vertical-align: middle;

     }

.procedure-boxinner .point-item .ttl-cap {
    margin: 0 auto;
    font-size: 86%;
    font-weight: bold;
    text-align: left;
    line-height: 1.4;
    font-feature-settings: "palt";
}


.procedure-boxinner .point-item:first-child {
    margin-top:2.5rem;
     }


.procedure-boxinner .point-item:last-child {
    margin-bottom: 1rem;
    border-bottom: none;
     }

.procedure-boxinner .point-item .num {
    width: 13%;
    margin-top: 0rem;
}

.procedure-boxinner .point-item .num img {
    width: 50%;
    margin: 0 1rem;
}


.procedure-boxinner .point-item .ttl {
    margin: 0 0 1rem;
    font-size: 78%;
    font-weight: bold;
    color: #555;
    line-height: 1.6;
    text-align: left;
    width: 83%;
}

.procedure-boxinner .point-item .ttl-cap {
    margin: 0 auto;
    font-size: 86%;
    text-align: left;
    line-height: 1.4;
    font-feature-settings: "palt";
}

.procedure-all .procedure .example-box{
    margin: 3rem auto;
    padding: 3rem 0 0.1rem;
    width: 93%;
    position: relative;
    background: #fff;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
    border-radius: 2rem;
}


.example-box .example-boxinner{
    margin: 1rem 1.5%;
    padding: 0.5rem 1%;
    font-size: 100%;
    color: #555;
    background: #ededdb;
    line-height: 1.4;
    text-align: center;
    border-radius: 1rem;
}


.example-boxinner .example-item{
    margin: 0 auto 1rem;
    font-size: 1.6rem;
    color: #555;
    background: #fff;
    line-height: 1.4;
    text-align: center;
    border-radius: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.example-boxinner .example-item.last{
    margin: 0 auto;
    font-size: 1.6rem;
    color: #555;
    background: #fff;
    line-height: 1.4;
    text-align: center;
    border-radius: 1rem;
}

.example-boxinner .example-item .capall-inner{
    margin: 0;
    text-align: left;
    font-size: 105%;
    font-weight: bold;
    width: 99%;
    background: #fff;
    display: inherit;
    flex-wrap: wrap;
    border-radius: 1rem 1rem 0 0;
    padding-top: 1rem;
}

.example-boxinner .example-item .num{
    margin: 0 1%;
    text-align: left;
    font-size: 100%;
    width: 18%;
    float: left;
}

.example-boxinner .example-item .ttl{
    margin: 0 2%;
    text-align: left;
    font-size: 106%;
    font-weight: bold;
    width: 76%;
    float: right;
    line-height: 1.5;
    font-feature-settings: "palt";
}

.example-boxinner .example-item .address{
    text-align: center;
    margin: 0.5rem 3% 1rem;
    padding: 0.3rem 1% 0.2rem 1%;
    font-size: 78%;
    font-weight: bold;
    color: #fff;
    background: #3a7200;
    box-shadow: 1px 1px 1px 1px #000 inset;
    width: 95%;
    border-radius: 0.3rem;
    float: left;
}

.example-boxinner .example-item .capall-outer{
    margin: 0 auto;
    font-size: 1.3rem;
    background: #fff;
    line-height: 1.4;
    text-align: center;
    width: 94%;
}

.example-boxinner .example-item .capall-outer .capimg{
    width: 100%;
}

.example-boxinner .example-item .capall-outer .cap-all{
    margin: 0rem auto;
    text-align: left;
    width: 100%;
}

.example-boxinner .example-item .capall-outer .captitle{
    margin: 2rem auto;
    padding: 0.4rem;
    text-align: center;
    font-size: 100%;
    font-weight: bold;
    width: 100%;
    color: #fff;
    background: #333;
    height: auto;
}

.example-boxinner .example-item .capall-outer .cap{
    font-size: 114%;
    color: #333;
    line-height: 1.5;
}

.example-boxinner .example-item .capall-outer .cap2{
    margin: 0 0% 2rem;
    text-align: justify;
    font-size: 110%;
    color: #333;
    width: 66%;
    float: left;
    line-height: 1.5;
}

.example-boxinner .example-item .capall-outer .capimgs{
    margin: 0 0 3rem;
    width: 30%;
    float: right;
}

.procedure h2,
.procedure-box h2,
.example-box h2{
    margin: 2rem auto;
    width: 90%;
    font-size: 100%;
    text-align: center;
    line-height: 1.5;
    font-family: serif;
    font-feature-settings: "palt";
}


.procedure h3 {
    margin: 2rem auto 0.5rem;
    width: 90%;
    font-size: 140%;
    text-align: center;
    line-height: 1.2;
    font-family: serif;
    animation: fadeing 10s infinite;
    font-feature-settings: "palt";
}


@keyframes fadeing {
  0% {opacity: 0;transform: translateY(30px);}
  80% {opacity: 1; }
  100% {opacity: 0; }
}


.procedure h1,
.procedure-box h1,
.example-box h1{
    padding: 1rem;
    margin: 0 auto;
    line-height: 1.4;
}


.movya{
    margin: 0 auto;
    width: 60%;
    text-align: center;
}



/* ///  声　 ///////////////////////　*/

.voice-all{
    margin: 3rem auto;
    padding: 3rem 0;
    text-align: center;
    background: #fdfef2;
}

.voice-all .voice {
    margin: 2rem auto;
    max-width: 1000px;
    text-align: center;
    position: relative;
        display: inline-flex;
    flex-wrap: wrap;
}

.voice-all .voice::before{
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 4rem 20vw 2px 20vw;
    border-color: #fdfef2 transparent transparent transparent;
    bottom: -4.2rem;
    left: 22%;
    right: 22%;
}


.voice-all h1{
    padding: 1rem;
    margin: 0rem auto 0rem;
    line-height: 1.5;
}



.voice-all .voice .voice-box{
    margin: 2rem 4%;
    padding: 1rem;
    width: 96%;
    background: #ffffc9;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
    border-radius: 1rem;
}


.voice-all .voice .voice-box .voiceimg{
    margin: -3rem auto 1rem;
    width: 28%;
    float: left;
}

.voice-all .voice .voice-box .voice-unser{
    margin-left: -30%;
    width: 100%;
    font-size: 100%;
    font-weight: bold;
    color: #1a4400;
}

.voice-unser .font-small{font-size: 80%;}

.voice-all .voice .voice-box .voice-read{
    padding: 1rem;
    width: 100%;
    font-size: 78%;
    line-height: 1.6;
    text-align: justify;
    font-feature-settings: "palt";
}


.voice-all h2{
    margin: 3rem auto;
    line-height: 2;
    width: 90%;
    font-size: 110%;
    text-align: center;
    font-family: serif;
    font-feature-settings: "palt";
    animation: fadeing 10s infinite;
}
 @media screen and (max-width:376px) {
.voice-all h2{
    font-size: 97%;
  }}


@keyframes fadeing {
  0% {opacity: 0;transform: translateY(30px);}
  80% {opacity: 1; }
  100% {opacity: 0; }
}


/* /////////////////////////////////////////　*/
/* ///  bt  wark-man///////////////////////　*/

.bt-all {
margin: 5rem auto 3rem;
    padding: 0.2rem 0;
    background: #edf7d7;
    width: 92%;
    border-radius: 2.2rem;
    filter: drop-shadow(0px 3px 2px rgba(0,0,0,0.2));
}

.bt-all .bt-box {
    margin: 1.5vh 3%;
    text-align: center;
    border: 2px solid #fff;
    border-radius: 2rem;
}


.bt-all .bt-box .bt-ribbon {
    margin: 1.5rem 3%;
    text-align: center;
    filter: drop-shadow(0px 5px 2px rgba(0,0,0,0.1));
}

.bt-all .bt-box .bt-title {
    margin: -1rem 5%;
    font-size: 82%;
    font-weight: bold;
    text-align: center;
}

.font130{font-size:100%!important;}

.bt-all .bt-box .bt-books {
    padding: 2rem 0 1rem;
    text-align: center;
    display: flex;
}

.bt-all .bt-box .bt-books .bt-book {
    padding: 0.5rem 2%;
    font-size: 100%;
    text-align: center;
    width: 50%;
}

.bt-all .bt-box .bt-books .bt-book img {
    width: 80%;
    height: auto;
    text-align: center;
}

.bt-book .bt-txttitle {
    margin: 1rem auto 0;
    font-size: 60%;
    font-weight: bold;
    color: #fff;
    background: #333;
    text-align: center;
    width: 100%;
    padding: 1rem 0 0.8rem;
    border-radius: 4px;
}

.bt-book .bt-txt {
    padding: 1rem 0% 0;
    font-size: 68%;
    font-weight: normal;
    text-align: justify;
    font-feature-settings: "palt";
}


/* btn体裁 */
.bt-all .bt-box .bt-boxinner {
    padding: 0;
    margin: 0 auto 2rem;
    width: 96%;
    color: #fff;
    text-align: center;
    cursor: pointer;
    /*background: #6fb62c ;*//*transparent*/
    /*background: linear-gradient(90deg, rgba(105,152,75,1) 0%, rgba(111,182,44,1) 5%, rgba(111,182,44,1) 95%, rgba(105,152,75,1) 100%);*/
   /* box-shadow: 0 6px 0 rgba(105,152,75,0.4);  ボタンの影*/

}

.bt-all .bt-box .bt-boxinner a{
    color: #fffe00;
    font-size: 94%;
    font-weight: bold;
    text-decoration: none;
    font-feature-settings: "palt";

    padding: 2rem 1rem 1.7rem;
    display: block;
    border-radius: 1rem;
    background-size: 100% 100%;
/*background: #d01f26;*/
  background: linear-gradient(90deg, rgba(187,48,48,1) 0%, rgba(208,31,38,1) 5%, rgba(208,31,38,1) 95%, rgba(187,48,48,1) 100%);
   /* box-shadow: 0 6px 0 rgba(187,48,48,0.4);  ボタンの影*/

    position: relative;
    text-align: center;
    overflow: hidden;
    transition: 0.6s ease-in-out;
}

.bt-all .bt-box .bt-boxinner a::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: rgba(255,255,255,0.4);
    animation: shinyshiny 2s 3s ease-in-out infinite;
}



.bt-all .bt-box .bt-boxinner a:hover{
    display: block;
    padding: 3rem 1rem 2.9rem;

  color: #d01f26;
  background: white;
  box-shadow: 0 0 5px white, 0 0 10px white, 0 0 40px white;
 border-radius: 1rem;

  filter: none;
  animation : infinite;
  -webkit-transform: 1s translateY(3px) ease;
}

@-webkit-keyframes shinyshiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.4; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}




.bt-all .bt-box .tell-box {
    margin: 0rem 5% 2rem;
    width: 90%;
}

.bt-all .bt-box .tell-box .tell-cap {
    margin: 0rem auto;
    font-size: 82%;
    font-weight: bold;
    text-decoration: none;
    font-feature-settings: "palt";
}


.bt-all .bt-box .tellimg {
    margin: 0.5rem 5%;
    width: 90%;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.bt-all .bt-box .tellimg img {
    width: 100%;
    padding: 1rem 0 0;
}


.bt-all .bt-box .tellimg span{
    margin-top: 0;
    width: 46%;
    vertical-align: bottom;
    font-size: 86%;
}



/* /////////////////////////////////////////　*/
/* ///  bts  ///////////////////////　*/

.bts-all {
    margin: 0rem auto;
    text-align: center;
    padding: 0; 
    width: 100%;
    position: relative;
}

.bts-all h1{
    padding: 1rem;
    margin: 6rem auto 4rem;
}


.bts-all .bts-box {
    margin: 0 auto;
    padding: 0.5rem 0;
    background: #edf7d7;
    width: 90%;
    border-radius: 1.5rem;
    filter: drop-shadow(0px 3px 2px rgba(0,0,0,0.2));
    position: relative;
    animation: fuwari 2s;
}

.bts-box-h{
    background: #edf7d7!important; /*#fff*/
}

.bts-all .bts-box::after {
    content: "";
    position: absolute;
    background: url(../img/book-03.png) no-repeat;
    width: 50%;
    height: 50%;
    background-size: contain;
    transform: translateY(-50%);
    top: -5%;
    left: 73%;


  -webkit-animation-name:fuwari; /*  */
  -webkit-animation-duration:5s;
  -webkit-animation-iteration-count:infinite;
  /*-webkit-animation-direction:alternate;*/
  -webkit-animation-timing-function:ease;

  -moz-animation-name:fuwari;
  -moz-animation-duration:5s;
  -moz-animation-iteration-count:infinite;
  /*-moz-animation-direction:alternate;*/
  -moz-animation-timing-function:ease;
}

@-webkit-keyframes fuwari {
  0% {-webkit-transform:translate(0, 0);}
  50% {-webkit-transform:translate(0, -8px);}
  100% {-webkit-transform:translate(0, 0);}
}

@-moz-keyframes fuwari {
  0% {-moz-transform:translate(0, 0);}
  50% {-moz-transform:translate(0, -8px);}
  100% {-moz-transform:translate(0, 0);}
}



}

.bts-all .bts-box .bts-inner {
    margin: 0.1rem 2%;
    text-align: center;
    border: 2px solid #fff;
    border-radius: 1rem;
}

.bts-inner-b{
    border: 4px solid #fff!important; /*edf7d7*/
}


.bts-all .bts-box .bts-inner .bts-title {
    margin: 1rem 12% 1rem 0;
    font-size: 80%;
    font-weight: bold;
    text-align: center;
    width: 80%;
}



/* btn体裁 */
.bts-all .bts-box .bts-boxinner {
    padding: 0;
    margin: 0 auto 2rem;
    width: 96%;
    color: #fff;
    text-align: center;
    cursor: pointer;
    /*background: #6fb62c ;*//*transparent*/
    /*background: linear-gradient(90deg, rgba(105,152,75,1) 0%, rgba(111,182,44,1) 5%, rgba(111,182,44,1) 95%, rgba(105,152,75,1) 100%);*/
   /* box-shadow: 0 6px 0 rgba(105,152,75,0.4);  ボタンの影*/

}

.bts-all .bts-box .bts-boxinner a{
    color: #fffe00;
    font-size: 94%;
    font-weight: bold;
    text-decoration: none;
    font-feature-settings: "palt";

    padding: 2rem 1rem 1.7rem;

    display: block;
    border-radius: 1rem;
    background-size: 100% 100%;
/*background: #d01f26;*/
  background: linear-gradient(90deg, rgba(187,48,48,1) 0%, rgba(208,31,38,1) 5%, rgba(208,31,38,1) 95%, rgba(187,48,48,1) 100%);
   /* box-shadow: 0 6px 0 rgba(187,48,48,0.4);  ボタンの影*/

    position: relative;
    text-align: center;
    overflow: hidden;
    transition: 0.6s ease-in-out;
}

.bts-all .bts-box .bts-boxinner a::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: rgba(255,255,255,0.4);
    animation: shinyshiny 2s 3s ease-in-out infinite;
}



.bts-all .bts-box .bts-boxinner a:hover{
    display: block;
    padding: 3rem 1rem 2.9rem;

    color: #d01f26;
    background: white;
    box-shadow: 0 0 5px white, 0 0 10px white, 0 0 40px white;
    border-radius: 1rem;

  filter: none;
  animation : infinite;
  -webkit-transform: 1s translateY(3px) ease;
}

@-webkit-keyframes shinyshiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.4; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}



.bts-all .bts-box .bts-inner.bts-inner-b a:hover{
  background: #fff;
}





}