@charset "utf-8";
*,::before,::after{
  padding:0;
  margin: 0;
  box-sizing: border-box;
}

ul,ol{
  list-style: none;
}

a{
  color: inherit;
  text-decoration: none;
}
/* ↑デフォルトのスタイル解除 */

body {
  font-family: sans-serif;
  font-size: 1rem;
  color: #000;
  line-height: 1;
  background-color: #ffffff;
}

.header-inner {
  color: #ffffff;
  background: #4d091b;
  max-width: 1500px;
  height: 110px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* aタグで挟まれているからimgタグだけどdisplay blockにしてサイズ変更する */
.header-logo{
  display: block;
  width: 250px;
  margin-left: 50px;

}

.header-logo img{
  width: 150px;
}

.toggle-menu-button{
  display: none;
}

.site-menu ul{
  display: flex;
  
}

.site-menu ul li{
  margin: 20px 20px 0;
  /* margin-left: 20px;
  margin-right: 20px; */

}

.site-menu ul a li{
  font-family: "", sans-serif;
  font-size: 1.5rem;
}
.site-menu ul a li:hover{
  transform: scale(1.2);
  background-image: url(../image/mobile-menu-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.footer{
  color: #ffffff;
  background-color:#4d091b;
  padding-top: 30px;
  padding-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo{
  display: block;
  max-width: 200px;
  width: 100%;
  margin-top: 0px;
  
}

.footer-logo img {
  /* max-width: 100%; */
  width:200%;
  margin-left: -50%;
  /* margin-bottom: 40px; */
}

.footer-tel{
  font-size: 1.63rem;
  font-weight: bold;
  margin-top: 0px;
}

.footer-time{
  font-size: 0.8rem;
  margin-top: 16px;
}

.copyright{
  font-size: 0.88rem;
  font-weight: bold;
  margin-top: 10px;
}

.top{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* background-image: url(../image/icon-top.png);
  background-size: contain; */
  background-color: rgb(255, 0, 0, 0.5);
  color:white;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 3%;
  bottom: 0%;
}

.top img{
  max-width: 50px;
  width: 100%;
}

 /*---------------------- media----------------------------*/

@media (max-width: 800px){
/* 画面サイズが800px以下になったときに適用するデザイン */

  .site-menu ul{
    display: block;
    text-align: center;
  }

  .site-menu a li {
    margin-top: 30px;
  }

  .header-logo{
    width: 100px;
    margin-left:0;
  }

  .header-logo img{
    width: 80%;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    height: 50px;
    z-index: 10;
    box-shadow:0 3px 6px rgba(0, 0, 0, 0.1)  inset;
  }

  .header-inner{
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    position: relative;
    /* innerが基準のレイヤーになる */
  }

  .header-site-menu{
    position: absolute;
    /* innerの子要素にabsをつけたのでinnerの上に重なる */
    top: 100%;
    left: 0;
    right: 0;
    color: #ffffff;
    background-color: #4d091b;
    padding-top: 30px;
    padding-bottom: 50px;
    display: none;
  }

  .header-site-menu.is-show{
        
    background-image: url(../image/mobile-menu-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    
    /* header-site-menuにjsで.is-showが追加されたらheader-site-menuのブロックを表示する */
    /* position: relative; */

    display: inline-block;
    min-width: 120px;
    max-width: 200%;
    color: white;

    
    
  }

  .toggle-menu-button{
    display: block;
    width: 44px;
    height: 34px;
    background-image: url(../image/icon-menu.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #4d091b;
    border: none;
    border-radius: 0;
    outline: none;
  }

  .balloon1 {
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  font-size: 16px;
  background: #e0edff;
  border-radius: 15px;
}

.balloon1:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #e0edff;
}

.balloon1 p {
  margin: 0;
  padding: 0;
}
  
  .main{
    padding-top: 50px;
  }

  .footer-logo{
    max-width: 100px;
    width: 100%;
    margin-top: 0px;
  }

  .footer-tel{
    font-size: 1.25rem;
    margin-top: 0;
  }

  .copyright{
    margin-top: 10px;
  }
  
}


