@charset "utf-8";
/* CSS Document */ 
:root {
 scroll-behavior: smooth;
 scroll-padding-top: 115px;
 overflow: auto;
}
*, *::before, *::after {
 box-sizing: border-box;
}
html, body {
 margin: 0;
 padding: 0;
}
body {
 font-size: 16px;
 color: #333;
 background: #fff;
font-family: "Noto Sans JP", "ヒラギノ角ゴ W6", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
 line-height: 1.6
}
h1, h2, h3, h4, p {
 margin: 0px;
 padding: 0px;
}
p {
 margin-bottom: 20px;
}
ul, li, dl, dt, dd {
 margin: 0px;
 padding: 0px;
 list-style-type: none;
}
img {
 margin: 0px;
 padding: 0px;
 border: none;
}
a, a:visited {
 color: #333;
 text-decoration: none;
}
table {
 margin: 0px auto;
 border-collapse: collapse;
 border: 1px solid #ccc;
}
th, td {
 border: 1px solid #ccc;
 padding: 4px;
}
h1 {
 font-size: 14px;
 margin-bottom: 10px;
 font-weight: normal
}
small {
 display: block;
 color: #fff;
 font-size: 14px;
 text-align: center;
 background:#e71b1e;
 padding:15px 0;
}
.mb_only {
 display: none;
}

header {
 width: 100%;
 background:#fff;
 box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
 margin: 0 auto;
 position: fixed;
  z-index: 100;
 }
#SiteHeaderTop{
 width: 100%;
 height: 65px;
 padding: 0 0 0 20px;
 margin:0 auto 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 }

#SiteHeaderTop p{
font-size:12px;
margin-bottom:2px;
}

#SiteHeaderLeft{
padding-top:8px;
width:526px;
}

#SiteName {
 display: flex;
 align-items: center;
 height: 40px
}
#SiteName a {
 display: block;
 width: 100%;
}
#SiteName a img {
 display: block;
 width: 100%;
 height: auto;
}
#SiteHeaderBottom{
padding:0 20px;
}

header nav {
 display: flex;
 justify-content: flex-end;
 width: 100%;
 margin-bottom:5px;
}
header nav ul {
 display: flex;
 width: 100%;
 max-width: 900px;
 justify-content: space-between
}
header nav li {
 margin: 0 20px
}
header nav li:last-of-type {
 margin: 0 0 0 20px
}
header nav li a {
 font-size: 16px;
 font-weight:bold;
 transition: all 0.1s ease-in
}
header nav li a:hover {
 color: #e71b1e
}
#FooterWrap {
 width: 100%;
}
#Footer {
 width: 100%;
}
#MenuWrap{
width: 100%;
background:#ccc;
padding:10px 0;
}

#Menu ul {
margin:0 auto;
display:flex;
justify-content:center;
}

#Menu li {
 padding: 10px 25px 10px 10px;
}
#Menu li a {
 position: relative;
padding-left: 11px;
	}
 #Menu li a:hover {
 color:#e71b1e;
	}

#Menu li a:before {
 position: absolute;
 content: " > ";
 width: 20px;
 height: 20px;
 top: 0px;
 right: -25px;
}

#FooterContent{
display:flex;
width: 100%;
max-width: 1500px;
padding: 20px;
justify-content: space-between;
align-items: center;
margin: 0 auto
}
#FooterInfo p{
line-height: 1.2;
margin-bottom: 0
}
#FooterInfo p:first-of-type{
margin-bottom: 10px
}

#PageTop {
 right: 10px;
 bottom: 60px;
 position: fixed;
 z-index: 1000;
 display: none
}

#PageTop a {
 display: block;
 position: relative;
 width: 50px;
 height: 50px;
 border-radius: 4px;
 background:rgba(231,27,30,0.8);
 transition: all 0.2s ease-in-out
}
#PageTop a:hover {
 box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
#PageTop a:before {
 position: absolute;
 content: "";
 width: 40px;
 height: 30px;
 background: url("../img/page_top.png") no-repeat center;
 background-size:36px auto; 
 top: 10px;
 left: 5px;
}

@media screen and (max-width: 1000px) {
body {
 font-size: 14px;

}
 :root {
  scroll-padding-top: 50px;
 }
 header {
  height: 65px;
  padding: 0px
 }
 small {
  font-size: 12px;
 }
 .mb_only {
  display: block;
 }
.pc_only {
 display: none;
}

#SiteHeaderTop{
 width: 100%;
 height: 65px;
 padding: 0 0 0 10px;
 }

#SiteHeaderTop p{
display: none
}

#SiteHeaderLeft{
padding-top:0;
width:80%;
max-width:500px;
}
 #SiteName {
  display: flex;
  align-items: center;
 }
 #SiteName a {
  height: auto;
  margin-right: 10px
 }

#SiteHeaderRight{
width:65px;
height: 65px;
margin-right: 60px
}


#SiteHeaderRight a{
height: 100%;
background:#e71b1e;
display: flex;
justify-content: center;
align-items: center;
line-height: 1
}

#SiteHeaderRight a img{
width:26px;
height: auto;
}
#SiteHeaderBottom{
display: none
}


 #FooterWrap {
  padding: 0;
 }
 #FooterWrap.active {
  padding-top: 50px;
  background-position: top 50px center;
 }
 
 #FooterContent {
 flex-direction: column;
 padding: 0 10px 10px 20px
 }
 
 
 
 
 #Footer {
  display: block;
  padding: 0;
 }
 #FooterName {
  padding: 30px 0
 }
 #FooterName img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto
 }
 small {
  margin: 0;
  padding: 10px;
 }
 /*ー-------------------------------------------------------
	ここからハンバーガーメニュー
ー-------------------------------------------------------*/
 #SpMenu {
  display: block;
  float: right;
  font-size: 15px;
  width: 30px;
  margin:-63px 14px 0px;
 }
 #BtnMenu, #BtnMenu span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
 }
 #BtnMenu {
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 20px;
 }
 #BtnMenu span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ed4f3f;
  border-radius: 2px;
 }
 #BtnMenu span:nth-of-type(1) {
  top: 0;
 }
 #BtnMenu span:nth-of-type(2) {
  top: 9px;
 }
 #BtnMenu span:nth-of-type(3) {
  bottom: 0;
 }
 #BtnMenu.active span:nth-of-type(1) {
  -webkit-transform: translateY(9px) rotate(-315deg);
  transform: translateY(9px) rotate(-315deg);
 }
 #BtnMenu.active span:nth-of-type(2) {
  opacity: 0;
 }
 #BtnMenu.active span:nth-of-type(3) {
  -webkit-transform: translateY(-9px) rotate(315deg);
  transform: translateY(-9px) rotate(315deg);
 }
 
#MenuWrap {
 padding:0;
 background: #f5f5f5s
}

 #Menu ul {
 display: block;
  border-top: 1px solid #dbd3cf;
 }
 #Menu li {
  display: block;
  background:#fff;
  padding: 0
 }
 #Menu li a {
  color: #333;
  text-decoration: none;
  display: block;
  padding-top: 15px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  border-bottom: 1px solid #dbd3cf;
  font-size: 14px
 }
 
 #Menu li a:before {
 position: absolute;
 content: " > ";
 width: 20px;
 height: 20px;
 top: 13px;
 right: 5px;
}
 
 #Menu li:hover {
  background:#ededed;
 }

 #PageTop {
  right: 10px;
  bottom: 14px;
 }
}


@media screen and (max-width: 767px) {

header{
 height: 50px;
 }

#SiteHeaderTop{
 height: 50px;
 }

#SiteHeaderTop p{
display: none
}

#SiteHeaderLeft{
padding-top:0;
}
#SiteName{
height: auto
}

#SiteHeaderRight{
width:50px;
height: 50px;
margin-right: 50px
}
#SpMenu {
margin:-55px 10px 0px 0;
  }


}