body p,body ul,body dd,body ol,body section {
  margin: 0;
  padding: 0;
}

body a{
  color: rgb(43, 43, 43);
}

#ast-scroll-top {
  display: none!important;
}

body #primary  {
  margin: 0;
}

body a:hover,body a:focus {
  color: canvastext;
}

.error-404.not-found .page-header {
  height: 400px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: static;
}

.error-404.not-found .page-content {
  display: none;
}

header {
  width: 100%;
  position: fixed;
  z-index: 999;
}

.hamburger_menu {
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
}

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

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

.hamburger_menu  span:before {
  bottom:8px;
}

.hamburger_menu  span:after {
  top: 8px;
}

header nav{
  background: #fff;
  display: flex;
  justify-content: space-between;
  max-height: 95px;
  font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic",
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo",
    sans-serif;
}

nav .contact a {
  font-size: 16px;
  font-weight: bold;
  display: block;
  width: 15vw;
  max-width: 400px;
  border: none;
  color: #fff;
  line-height: 95px;
  text-align: center;
  text-decoration: none;
  background-color: #ff8c00;
}

nav .contact a::before {
  content: "";
  display: inline-block;
  background-image: url(../../common/img/base/contact.svg);
  background-repeat: no-repeat;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  margin-top: -1px;
}

nav .contact a:hover {
  background-color: #ffaa00;
  opacity: 0.7;
}

header .area1 {
  flex: 1.4;
  display: flex;
  align-items: center;
}

nav:after{
  content: '';
  clear: both;
  display: table;
}
nav .logo{
  float: left;
  font-size: 10px;
  font-weight: 600;
  line-height: 33px;
  padding-left: 12px;
  background-color: white;
}
nav .area1 .logo{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-top: -10px;
}

.area1 .logo img {
  width: 100%;
  max-width: 250px;
}

header nav .area2 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 10px;
  flex: 3;
}

header .address_area a {
    color: #B92A28;
    font-weight: bold;
    font-size: 24px;;
}

header nav .area2 p {
    font-size: 12px;
    font-weight: bold;
    color: #A39D91;
    text-align: right;
}

header .sns_container {
  display: flex;
}

header .sns_container .sns_area {
  display: flex;
}

header .sns_area a {
  width: 25px;
  height: 25px;
  margin-right: 7px;
}

header .sns_area a:nth-last-of-type(1) {
  margin-right: 15px;
}

header .sns_container img{
  margin-top: 4px;
  width: 25px;
  height: 25px;
}

header nav .area3 {
  flex: .8;
}

header nav .area3 .contact{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

header nav ul{
  float: right;
  list-style: none;
  display:flex;
  font-weight: 500;
}
header nav ul li{
  margin: 0 6px;
}

header nav ul li:nth-last-of-type(1) {
  margin: 0;
}

header nav ul li:nth-last-of-type(2) {
  margin-right: 0;
}

header nav ul li a{
  color: #333;
    line-height: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

header nav ul li a:hover{
  color: #000000;
    border-radius: 5px;
    text-decoration-line: underline;
}
header nav ul ul li a:hover{
  box-shadow: none;
    color: #000000;
    border-radius: 5px;
    background-color: white;
    opacity: 0.9;
    padding: 0px 26px;
    text-decoration: none;
}

header nav ul ul{
  position: absolute;
    visibility: hidden;
    transition: top .3s;
    display: block;
    background-color: #000;
    border-radius: 8px;
}

header nav ul ul::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 0;
height: 0;
border-style: solid;
border-width: 0 15px 15px 15px;
border-color: transparent transparent #000 transparent;
}


header nav ul li:hover > ul{
    top: 95px;
    opacity: 1;
    visibility: visible;
}
header nav ul ul li{
  position: relative;
    margin: 0px;
    width: 182px;
    float: none;
    color: #fff;
    display: flex;
    justify-content: center;
}

header nav ul ul li a{
  width: 100%;
  line-height: 50px;
  color: #fff;
  text-decoration: underline;
  text-align: center;

}

.show,.icon,input{
  display: none;
}
.fa-plus{
  font-size: 15px;
  margin-left: 40px;
}

#page {
  padding-top: 95px;
}

@media screen and (max-width: 1250px) {
  header .pcv {
    display: none;
  }
}

@media screen and (max-width: 1080px) {
  #page {
    padding-top: 60px;
  }

  header .pc_view {
    display: none;
  }

  header{
    width: 100%;
    overflow-x: hidden;
  }

  .hamburger_menu {
    display: flex;
  }

  header nav {
    height: 60px;
  }

  header .area1 {
    flex:4;
  }

  header nav .area1 .logo {
    margin-top: 0;
  }

  header nav .area2 {
    flex:0;
    margin-right: 0;
  }
  header nav ul{
    display: none;
    flex-direction: column;
    margin-right: 0px;
    width: 100%;
    height: 100lvh;
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    top: 60px;
  }

  header nav ul ul::before {
    display: none;
  }

  header nav .in_menu {
    display: flex!important;
  }

  header nav .logo{
    padding-left: 20px;
    width: 100%;
  }
  .show + a, header ul{
    display: none;
  }
  header nav ul li,header nav ul ul li{
    display: block;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #fff;
    background-color: unset;
  }

  header nav ul ul li a {
    text-align: left;
  }

  header nav ul li a {
    display: block;
    width: 100%;
    color: #fff;
    font-size: 16px;
    padding: 0 20px;
    line-height: 55px;
  }

  .show{
    display: block;
    color: white;
    font-size: 16px;
    padding: 0 20px;
    line-height: 55px;
    cursor: pointer;
    font-weight: 700;
  }
  .show:hover{
    color: #f12f2c;
  }
  header .icon{
    display: block;
    color: white;
    position: absolute;
    top: 0;
    right: 40px;
    line-height: 70px;
    cursor: pointer;
    font-size: 25px;
  }
  header nav ul ul{
    top: 70px;
    border-top: 0px;
    float: none;
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    max-height: 160px;
    background-color: rgba(65, 65, 65, 0.8);
  }
  header nav ul li:nth-of-type(3) ul {
    max-height:205px;
  }

  header nav ul ul a{
    padding-left: 40px;
    display: block;
    text-decoration: none!important;
  }
  header nav ul ul ul a{
    padding-left: 80px;
  }
  header nav ul ul ul li{
    position: static;
  }
  [id^=btn]:checked + ul{
    display: block;
  }

  header nav ul ul li{
    border-bottom: 1px solid #fff;
  }

  header nav ul ul li:nth-of-type(1){
    border-top: 1px solid #fff;
  }

  header nav ul ul li:nth-last-of-type(1){
    border-bottom: none;
  }
  span.cancel:before{
    content: '\f00d';
  }

  .sp_sns_area {
    display: flex;
    flex-direction: row;
    max-height: 80px;
    background-color: unset;
  }

  .sp_sns_area li {
    flex:1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .sp_sns_area li:nth-of-type(1) {
    border-top: none;
    border-bottom: none;
    border-right: 1px solid #fff;
  }

  .sp_sns_area li a {
    text-align: center!important;
    padding: 8px 0;
  }

  .sp_sns_area li img {
    width: 100%;
    max-width: 60px;
  }
  header nav ul li a:hover {
    color: #f12f2c;
    text-decoration: none;
  }
  header nav ul ul li a:hover {
    border-radius: unset;
    background-color: unset;
    opacity: unset;
    padding-left: 40px;
    color: #f12f2c;
  }
  header nav ul .sp_sns_area li a:hover {
    padding: 0;
  }
  .faq_box {
    display: block!important;
  }
}