/*まずはお決まりのボックスサイズ算出をborer-boxに */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;/*rem算出をしやすくするために*/
}

.btn-base,
a.btn-base,
button.btn-base {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1.3rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}





.btn--orange,
a.btn--orange {
  color: #fff;
  background-color: #f6ad48;
}
.btn--orange:hover,
a.btn--orange:hover {
  color: #fff;
  background: #f56500;
}



.btn--green,
a.btn--green {
  color: #fff;
  background-color: #83c896;
}
.btn--green:hover,
a.btn--green:hover {
  color: #fff;
  background: #83c896;
}








/*グラデーションボタン*/



a.btn-gradient {
  font-weight: normal;
  padding: 12px 28px;
  color: #fff;
  border-radius: 0;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(40%, #c79e3b),
    to(#b79647)
  );
  background-image: -webkit-linear-gradient(left, #c79e3b 40%, #b79647 100%);
  background-image: linear-gradient(90deg, #c79e3b 40%, #b79647 100%);
}

a.btn-gradient:after {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  content: "";
  -webkit-transition: all 0.5s;
  transition: all 0.5s;

  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#c79e3b),
    color-stop(#b79647)
  );

  background-image: -webkit-linear-gradient(left, #c79e3b, #b79647);

  background-image: linear-gradient(90deg, #c79e3b, #b79647);
}

a.btn-gradient span {
  position: relative;
  z-index: 1;
}

a.btn-gradient:hover {
  color: #fff;
}

a.btn-gradient:hover:after {
  opacity: 0;
}




a.btn-gradient {
  
}


a.btn--radius {
   border-radius: 100vh;
}














.link-wrap {
    color: #999;
}

.link-wrap:hover {
    text-decoration: none;
    color: #999;
}


.link-inner {
padding:8%;
}





.link-wrap {
    position: relative;
    overflow: hidden;

    background: #FFF;

}
.link-wrap:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;


    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
.link-wrap:hover:after {
    opacity: .8;
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.link-wrap .link-inner {
    z-index: 3;
    position: relative;

}






.bnr-h3 {
  color: #EE9A7E;
  font-size: 22px;
    margin-bottom:4px;
    line-height: 1.6;
    font-weight: bold;
}

.bnr-h3 span {
   display: block;
    color: rgba(0,0,0,0.2);
    font-size:15px;
    margin-bottom:4px;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
}







.link-wrap .button,
.link-wrap::before .button,
.link-wrap::after .button {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}


.link-wrap:hover .button {
  color: #fff;
}
.link-wrap::after .button {
  bottom: -100%;
  width: 100%;
  height: 100%;
}
.link-wrap:hover .button::after {
  bottom: 0;
  background-color: #EE9A7E;
}


.home-sub-yobo,
.home-sub-cerec {
    display: block;
    
 
    /*border:8px solid #fff;*/
    box-shadow: 0px 1px 4px rgba(0,0,0,0.1);
    /*cursor: pointer;*/
     border-top:3px solid #EE9A7E;
         /* border-bottom:2px solid #EE9A7E;*/
}



.home-sub-dr:after {background:url(../_images/pro/home-bnr-yobo.jpg) center center / cover no-repeat;}

.home-sub-dh:after {background:url(../_images/pro/home-bnr-cerec.jpg) center center / cover no-repeat;}

.home-sub-da:after {background:url(../_images/pro/home-bnr-cerec.jpg) center center / cover no-repeat;}


.btn-agree{
  font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1.3rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    border-radius: 0.5rem;
  color: #fff;
    background-color: #f6ad48;
    border: none;
}


.btn-agree:disabled {
  color: #bbb;
  background: #eee;
}



