@charset "UTF-8";

html {
font-size:16px;
 overflow-x: hidden;
 overflow-y: scroll;
 -webkit-overflow-scrolling: touch;
 }

body{
font-family: 'ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','Yu Gothic UI','MS UI Gothic',sans-serif;

/*
font-family: 'Yu Mincho Light','YuMincho','Yu Mincho','游明朝体','ヒラギノ明朝 ProN','Hiragino Mincho ProN','游明朝体+36ポかな','YuMincho +36p Kana',sans-serif;
*/
	/*スマホのスクロールをスムーズにするらしい*/
	-webkit-overflow-scrolling: touch;
}

ol, ul, li, figure{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

main{

}

@media(max-width:500px){
  html{
  font-size:3.5vw;
  }
}

img{
  width:100%;
  max-width: 100%;
  height: auto;
  align-self: flex-start;/*追加safari対策*/
}

a {
  display: block;
}

label{
  margin: 0;
  padding:0;
}

.wrapper{
  width:100%;
  overflow-x: hidden;
  position: relative;
}

/*.container{
    display: flex;
    justify-content: center;
}*/

.block{
  display: block;
}

.relative{
  position: relative;
  z-index: 1 !important;
}

/*========= 上部固定させるためのCSS ===============*/
#header{
  position: fixed;
  width:100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  background:#fff;
  color:#333;
  padding:0 20px;
}

/*==ヘッダのふわっと出現させるためのCSS*/
/*　上に上がる動き　*/

#header.UpMove{
  position: fixed;
  width:100%;
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 0;
  transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/
#header.DownMove{
  position: fixed;
  width:100%;
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

.k3-logo{
    width:163px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header nav{
    display:flex;
    justify-content: center;
    align-items: center;
}

.head-tel{
    padding:0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.head-contact{
    font-size: 0.9em;
    padding:15px 15px;
    background-color: #70C26F;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact{
    margin-left: 5px;
}

.k3-Btn{
  border: 1px solid #70C26F;
  /*margin: 0 auto;*/
  position: relative;
  width: 210px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.05em;
  background: #70C26F;
  font-size: 12px;
  transition: initial;
  overflow: hidden;
  text-decoration: none;
}

.k3-Btn .icon-img{
    width:34px;
    z-index: 999 !important;
}

.k3-Btn-text{
  margin-left: 5px;
  color: #000;
  font-weight: bold;
  z-index: 1000;
  transition: 0.6s ease all;
}

.k3-Btn:hover .k3-Btn-text{
  color: #70C26F;
  transition: 0.6s ease all;
}

.k3-Btn:before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 50%;
  margin: auto;
  width: 60px;
  height: 60px;
  background: #fff;
  /*
  background-image: url(../image/line-icon.png);
  background-repeat: no-repeat;
  background-position: 28% center;
  background-size: 9px 9px;
  */
  transform: scale(0);
  transition: 0.6s ease all;
}

.k3-Btn:hover:before{
  transform: scale(4.2);
}

.k3-tel-icon{
    width:30px;
}

.k3-tel-txt{
  display:block;
  font-size: 1.2em;
  font-weight: 900;
  font-family: 'Roboto',arial,sans-serif;
}

.k3-tel-txt_sp{
  display:none;
}

@media(max-width:768px){
  #header{
    width:100%;
    height: 60px;
    padding:0 5px;
  }
  .k3-logo{
      width:100px;
      height: 36px;
    }
  .k3-Btn{
  width: 120px;
  height: 34px;
  }
  .k3-Btn .icon-img{
    width:18px;
  }
  .k3-Btn-text{
    font-size: 0.7em;
  }
  .head-tel{
      padding:0 5px;
  }
  .k3-tel-icon{
      width:24px;
  }
  .k3-tel-txt{
    display: none;
  }
  .k3-tel-txt_sp{
    display: inline-block;
    font-size:0.8em;
    font-weight: bold;
    font-family: 'Roboto',arial,sans-serif;
  }
}

/* ヘッダーメニュー
**************************************** */
#g-navi{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#g-navi a{
/*    display: flex;
    justify-content: center;
    align-items: center;
*/
    position:relative;
    font-size: 0.9em;
    padding:0 20px;
    overflow: hidden;
    transition-property: all;
    transition-duration: .4s;
    transition-timing-function: linear;
    transition-delay: .1s;
}

#g-navi a::before {
  /*position: absolute;
  width: 100%;
  height: auto;
  top:0;
  left:0;
  background-color: #333;
  transform: translateX(-110%);
  z-index: 1001;
  */
}

#g-navi a:hover {
  color: #D22D25;
}

@media(max-width:768px){
  #g-navi {
    display:none;
  }
}

.k3-footcontact_mail{
  border: 1px solid #E00014;
  /*margin: 0 auto;*/
  position: relative;
  width: 224px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.05em;
  background: #E00014;
  font-size: 1em;
  transition: initial;
  overflow: hidden;
  text-decoration: none;
}

.k3-footcontact_mail .icon-img{
  display: block;
    width:30px;
    z-index: 999 !important;
}

.k3-footcontact_mail p{
  margin-left: 5px;
  color: #fff;
  font-weight: bold;
  z-index: 1000;
  transition: 0.6s ease all;
}

.k3-footcontact_mail:hover p{
  color: #E00014;
  transition: 0.6s ease all;
}

.k3-footcontact_mail:before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 50%;
  margin: auto;
  width: 60px;
  height: 60px;
  background-color: #fff;
  transform: scale(0);
  transition: 0.6s ease all;
}
.k3-footcontact_mail:hover:before{
  transform: scale(4.2);
}








.k3-footcontact_line{
  border: 1px solid #fff;
  /*margin: 0 auto;*/
  position: relative;
  width: 224px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.05em;
  background: #fff;
  font-size: 1em;
  transition: initial;
  overflow: hidden;
  text-decoration: none;
}

.k3-footcontact_line .icon-img{
  display: block;
    width:30px;
    z-index: 999 !important;
}

.k3-footcontact_line p{
  margin-left: 5px;
  color: #000;
  font-weight: bold;
  z-index: 1000;
  transition: 0.6s ease all;
}

.k3-footcontact_line:hover p{
  color: #fff;
  transition: 0.6s ease all;
}

.k3-footcontact_line:before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 50%;
  margin: auto;
  width: 60px;
  height: 60px;
  background-color: #4CC564;
  transform: scale(0);
  transition: 0.6s ease all;
}
.k3-footcontact_line:hover:before{
  transform: scale(4.2);
}

.k3-footlogo{
  width:15%;
}

.k3-foot_paddall{
  padding:60px 0;
}
.k3-foot_padd{
  padding:0 30px;
}

.k3-sp-paddtop30x{
  padding:0;
}



@media(max-width:768px){
  .k3-footlogo{
    width:35%;
  }
  .k3-foot_paddall{
    padding:60px 0 30px 0;
  }
  .k3-foot_padd{
    padding:20px 15px 20px 15px;
  }
  .k3-sp-paddtop30x{
    padding:30px 0 0 0;
  }

}


.footerend{
  font-size: 0.9em;
  width:100%;
  padding:16px 0;
  text-align: center;
  background-color: #fff;
}


.menu-btn{
  display: none;
}

.menu-content{
  display: none;
}

@media(max-width:768px){
/*メニューボタン*/
.menu-btn {
    position: relative;
    display: flex;
    height: 40px;
    width: 40px;
    margin-left: 5px;
    margin-right: 1px;
    justify-content: center;
    align-items: center;
    z-index: 1000;

	   border: 1px solid #000;
     background-color:transparent;
	    border-radius: 50%;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 20px;
        border-radius: 3px;
        background-color: #000;
        position: absolute;

        transition-duration: 0.5s;
    }

    .menu-btn span:before {
        bottom: 8px;
    }
    .menu-btn span:after {
        top: 8px;
    }

    .menu-content {
        display: block;
      	position: fixed;
        top:-60px;
        left:0;
        z-index: 998 !important;
        width:100%;
        height: 40px;
        background-color: rgba(255,255,255,0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.5s;/*アニメーション設定*/
      }

      .menu-item{
        width:fit-content;
        padding:0 8px;/*0 10px*/
        font-size: 0.7em;
        display: flex;
        justify-content: center;
        align-items:center;
      }
}

#menu-btn-check{
  display:none !important;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span:before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span:after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check:checked ~ .menu-content {
    /*メニューを画面内へ*/
  top:60px;
}
