@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */

}
body {
  color: #333; /* RGB */
  font-family: 'Zen Kaku Gothic New', "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 1.6em;
  /*line-height: 2.4rem;*/
  line-height: 1.5em;
  text-align: center;
}
section h2 {
  font-size: 2.4rem;
}
a:hover {
  opacity: 0.5;
}
.none {
  display: none;
}
/*--------------------------------------------ヘッダー*/
.header {
  height: 50px;
  width: 100%;
}
.header__navigation {
  display: none;
}

.header__logo {
  display: none;
}

/* SP Topのみ*/
body.home .header {
  background: none;
  position: absolute;
}

body.home .header__logo {
  display: block;
  position: absolute;
  top: 80%;
  left:15%;
  z-index: 1;
}

body.home .header__logo-sp{
  display: none;
}
.btn-tel{
    width: 266px;
    height: 56px;
    position: fixed;
    right: 90px;
    bottom: 10px;
    display: flex;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    align-items: center;
    background-color: #E31919;
    padding: 5px 20px 5px 50px;
    margin: auto;
    font-size: 20px;
    letter-spacing: 0.3rem;
    font-family: 'Prompt', sans-serif;
    text-decoration: none;
    z-index: 9999;
}
.btn-tel::after{
  content: "";
  background: url("../images/tel_button.svg") no-repeat center;
  background-size: contain;
  width: 24px;
  height: 24px;
  position: absolute;
  top: calc(50% - 12px);
  left: 15px;
}
@media(min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}
.drawer-nav {
  display: none;
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -120%;
  width: 100%;
  height: 100vh;
  background: #B7282E;
  transition: all 0.6s;
}
#g-nav.panelactive {
  right: 0;
}
#g-nav.panelactive #g-nav-list {
  position: fixed;
  z-index: #B7282E;
  width: 100%;
  height: 100vh; 
  overflow: auto;
}
#g-nav ul {
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#g-nav li {
  list-style: none;
  text-align: center;
}
#g-nav li a {
  color: #fff;
  text-decoration: none;
  padding: 15px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 9999;
  right: 20px;
  cursor: pointer;
  width: 56px;
  height: 56px;
  background: #fff;
  bottom: 10px;
  border: 1px solid #E31919;
  border-radius: 50%;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #E31919;
  width: 45%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
.nav-drawer__sns {
  display: block;
  margin: 16px 0 0 0;
}
.nav-drawer__sns img {
    width: 28px;
    height: 28px;
}
.nav-drawer__sns-pc {
  display: none;
}
/*-------------------------------menuボタンスマホ*/
@media(min-width:1040px) { 
  .header,
  body.home .header{
    width: 100px;
    height: 100%;
    position: fixed;
    background: #B7282E;
    top: 0;
    right: 0;
    z-index: 999;
  }
  .header__logo {
    display: block;
    margin: 50px auto 150px;
  }
   .header__button {
    left: auto;
    right: 130px;
  }
  .nav-drawer__link-top {
    bottom: auto;
    position: initial; 
    margin: 0 auto 50px;
  }
  .nav-drawer__sns-pc img {
    margin: 0 auto;
    width: 28px;
    height: 28px;
  }
  .openbtn {
    bottom: 10px;
  }
  .btn-tel {
    right: 120px;
  }
   .main {
  margin-right: 100px;
	}
  .header__logo-sp {
    display: none;
  }
  
  body.home .header__logo {
    position: static;
  }
  #g-nav li a {
    padding: 20px;
  }
}
/*--------------------------------------------footer*/
.footer {
  min-height: 365px;
  background-color: #B7282E;
  color: #FFF;
  position: relative;
  padding-bottom: 70px;
}
.footer__contents {
  padding: 50px 35px 50px;
}
.footer__contents-logo {
  display: flex;
  align-items: center;
}
.footer__contents-img-logo {
  width: 50px;
  height: 50px;
  background-size: contain; 
  background-repeat: no-repeat;
  margin-right: 20px;
}
.footer__contents h2 {
  font-family: 'Potta One', cursive;
  text-align: left;
  font-weight: normal;
}
.footer__contents-name-logo {
  text-align: left;
  padding-left: 70px;
}
.footer a {
  color: #FFF;
  text-decoration: none;
}
.site-map {
  display: flex;
  text-align: left;  
  padding: 10px 0 0 70px;
  font-size: 1.4rem;
}
.site-map-right {
  line-height: 5rem;
}
.site-map-left {
  margin-left: 50px;
  line-height: 5rem;
}
.footer__copyright {
  position: absolute;
  bottom: 30px;
  left: 0px;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
}
/*--------------------------------------------footerレスポンシブ*/
@media(min-width: 1040px) {
  .footer__contents {
    max-width: 1040px;
    margin: 0 auto;
  }
  .site-map {
    justify-content: start;
  }
  .footer__contents::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 150px;
    width: 300px;
    height: 344px;
    background-size: contain; 
    background-repeat: no-repeat;
    background-image: url("../images/mokumoku3.png");
  }
}
 .footer__contents::after {
  animation-name:fadeInAnime;
  animation-duration:3s;
  animation-fill-mode:both;
  opacity:0;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  }
@keyframes fadeInAnime{
  from {
    transform:translateY(0);
    opacity: 0;
  }

  to {
    transform:translateY(-20px);
    opacity: 1;
  }
}