/* common */
/* ============================================ */
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust:none;
}
html.active body {
  touch-action: none;
  overflow-y: hidden;
}
body{
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.075em;
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  background: linear-gradient(90deg, #180905 50%, #4a0202 50%);
}
img{
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}
::-webkit-full-page-media, :future, :root img{
  image-rendering: unset;
}
a{
  transition: 0.3s;
}
a:hover{
  opacity: 0.8;
}
@media (max-width: 768px) {
  .pc{
    display: none;
  }
}
@media (min-width: 481px){
  #bg-fixed{
    width: 100%;
    background-image: url(../img/mv-x.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center 40px;
    height: auto;
    min-height: 100vh;
  }
}
@media (min-width: 769px){
  a[href^="tel:"]{
    pointer-events: none;
  }
  .sp{
    display: none;
  }
}


/* header */
/* ============================================ */
#hd{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: #000;
  box-shadow: 0 16px 16px 0 rgba(0, 0, 0, 1);
  z-index: 100;
}
#hd_inner{
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}
#pc_nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0 0;
  transition: 0.3s;
}
#pc_nav h1{
  color: #e72020;
}
#nav_menu{
  display: flex;
  line-height: 1;
}
#nav_menu li:not(:last-child){
  border-right: 1px solid;
}
#nav_menu a{
  display: block;
  padding: 0 1rem;
  white-space: nowrap;
}
#nav_menu li:last-child a{
  padding-right: 0;
}
#nav_bottom{
  display: flex;
  justify-content: center;
  align-items: center;
}
#nav_bottom #site_name_01,
#nav_bottom #site_name_02{
  width: 40%;
  text-align: center;
}
#nav_bottom #site_icon img{
  width: 60px;
  filter: drop-shadow(0 0 15px #eadd4d);
}
#sns{
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 222px;
  height: 49px;
  background-image: url(../img/bg_sns.png);
  background-repeat: no-repeat;
  background-size: cover;
  line-height: 1;
  z-index: 1;
}
#sns a{
  padding: 0 0.7rem;
}


/* HB menu */
#sp_nav{
  display: none;
}
#sp_nav_wrap{
  position: fixed;
  z-index: 999; 
  top: -120%;
  left: 0;
  width: 100%;
  height: 100vh;
  background:#4a0202;
  overflow: scroll;
  transition: all 0.6s;
}
#sp_nav_wrap.open{
  top: 0;
}
#sp_nav_wrap.open #sp_nav_wrap-list{
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 1000vh;
  -webkit-overflow-scrolling: touch;
}
#sp_nav_list{
  width: 80%;
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}
#sp_nav_list > li > a{
  position: relative;
  padding: 0.5rem;
  display: block;
  font-size: 18px;
  background-color: #4a0202;
}
#hb_btn{
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 5px;
  cursor: pointer;
  width: 45px;
  height: 45px;
}
#hb_btn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 2px;
  background-color: #fff;
  width: 45%;
}
#hb_btn span:nth-of-type(1) {
  top:15px; 
}
#hb_btn span:nth-of-type(2) {
  top:23px;
}
#hb_btn span:nth-of-type(3) {
  top:31px;
}
#hb_btn.active span:nth-of-type(1) {
  top: 15px;
  left: 15px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
#hb_btn.active span:nth-of-type(2) {
  opacity: 0;
}
#hb_btn.active span:nth-of-type(3){
  top: 27px;
  left: 15px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
@media (max-width: 1000px){
  #nav_bottom #site_name_01, #nav_bottom #site_name_02{
    font-size: 5vw;
  }
  #nav_bottom #site_icon img{
    width: 6vw;
  }
}
@media (max-width: 768px){
  #pc_nav h1{
    font-size: 14px;
  }
  #hd_nav{
    display: none;
  }
  #sp_nav{
    display: block;
  }
  #sp_nav_list > li > a{
    font-size: 25px;
  }
  #nav_bottom #site_icon img{
    width: 40px;
  }
}
@media (max-width: 520px){
  input[type="submit"],
  input[type="button"] {
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
  }
  input[type="submit"]::-webkit-search-decoration,
  input[type="button"]::-webkit-search-decoration {
    display: none;
  }
  input[type="submit"]::focus,
  input[type="button"]::focus {
    outline-offset: -2px;
  }
}



/* footer */
/* ============================================ */
#footer{
  padding: 30px 0;
}
#footer #copyright{
  font-size: 10px;
  text-align: center;
}
#footer #copyright a{
  text-decoration: underline;
}
@media (max-width: 520px){
  #footer{
    padding: 5% 0 15%;
  }
}


/* page top */
#to_top{
  position: fixed;
  bottom: 0;
  right: 50px;
  opacity: 0;
  transition: 0.3s;
  z-index: 20;
}
#to_top.show{
  opacity: 1;
}
@media (max-width: 520px){
  #to_top{
    width: 50px;
    bottom: 0;
    right: 2%;
  }
}


#page_thanks{
  position: relative;
  min-height: 100vh;
}
#page_thanks footer{
  width: 100%;
  position: absolute;
  bottom: 0;
}

