@charset "UTF-8";

/*----------------------------------------
  header
------------------------------------------ */

header {
  padding: 1rem 1rem 2rem 1rem;
}
header .hdFlex{
  align-items: center;
}
header .logoLink {
  width: 330px;
}
header img {
  width: 100%;
}
header h1 {
  font-size: 12px;
  font-weight: normal;
}
header nav {
  flex: 6;
}
header nav ul#menu-global {
  display: flex;
  justify-content: flex-end;
  gap: 2%;
  margin: 3rem 2rem 0.8rem 0;
}
header nav ul li a {
    font-size: 0.9rem;
    font-weight: 600;
}
header nav ul li a:hover{
    color:#b70000;
    opacity:1;
}
header .headContact {
  width: 210px;
  justify-content: flex-end;
}
header .headContact .mail {
    background: #b70000;
    color: #FFF;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    padding: 13px;
    width: 100%;
}

/*----------------------------------------
  footer
------------------------------------------ */

footer {
    background: #333333;
    padding: 2.5rem 1rem;
    border-top: 10px solid #c40d02;
}
footer .leftWrapper {
    flex: 1;
}
footer .leftWrapper h2 a{
    color: #FFF;
    font-size: 2rem;
    margin-bottom: 10px;
}
footer .leftWrapper p {
  color: #FFF;
  margin: 0;
  font-size: 90%;
}
footer .rightWrapper {
  flex: 1;
}
footer nav {

}
footer nav ul {
  flex-wrap: wrap;
  display: flex;
  justify-content: flex-end;
  gap: 3%;
  margin-bottom: 2rem;
}
footer nav li {

}
footer nav a {
  color:#FFF;
  font-size: 90%;
  font-weight: 600;
}
footer small {
  font-size: 80%;
  text-align:right;
  color:#FFF;
  display:block;
}



@media (max-width: 1010px) {

  /** header **/

  /** modal **/
  header .headContact.spModal {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 101;
    width: 100%;
    padding: 0!important;
    display: flex;
    align-items: center;
  }
  header .headContact.spModal .mail{
    flex: 1;
    font-size: 120%;
  }
  header .headContact.spModal .tel{
    flex:1;
    width:100%;
    background:#FFF;
    padding: 12px;
  }
  header .headContact.spModal .tel img{
    width: 50%!important;
    margin: 0 auto;
  }

  /** footer **/
  footer{
    padding-bottom: 7rem;
  }
}


@media (max-width: 790px) {

  /** header **/
  header {

  }
  /** nav **/
  header nav {
    width: 100%;
    display: none;
    background: linear-gradient(#FFF 53%, #b30100f5 240%);
    margin: 0;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    height: 100%;
  }
  header nav ul#menu-global{
    display: block;
    position:relative;
    width: 80%;
    margin: 2rem auto 0 auto;
    padding-top: 6rem;
  }
  header nav ul#menu-global:before{
    content:"";
    background:url(../img/common/logo.png) no-repeat;
    background-size:contain;
    position:absolute;
    left:0;
    right:0;
    top:0;
    margin:auto;
    width: 300px;
    height: 100px;
  }
  header nav ul li::before {
    display: none;
  }
  header nav ul.flex {
    display: block;
    margin: 0;
    background: #000;
  }
  header nav ul li {
    padding: 20px 0;
  }
  header nav ul li:last-child {
    border: none;
  }
  header nav ul li a {
    font-family: 'Noto Serif JP', "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: 600;
    display: block;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #ab1b1b36;
  }
  #nav_toggle {
    display: block;
    width: 40px;
    height: 40px;
    margin: 10px 0;
    z-index: 10000;
    margin: 0 0 0 auto;
  }
  #nav_toggle div {
    position: relative;
  }
  #nav_toggle span {
    display: block;
    height: 1px;
    background: #000000;
    position: absolute;
    width: 100%;
    left: 0;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }
  #nav_toggle span:nth-child(1) {
    top: 0px;
  }
  #nav_toggle span:nth-child(2) {
    top: 12px;
  }
  #nav_toggle span:nth-child(3) {
    top: 24px;
  }
  .open #nav_toggle span:nth-child(1) {
    top: 12px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .open #nav_toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav_toggle span:nth-child(3) {
    top: 12px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }

  /** footer **/
  footer .flex{
    display:block;
  }
  footer .leftWrapper{
    text-align: center;
  }
  footer nav ul{
    display: block;
  }
  footer nav a{
    text-align: center;
    padding: 20px;
    display: block;
    border-bottom: 1px solid #ffffff45;
  }
  footer small{
    text-align:center;
  }

}

@media (max-width: 520px) {

  header .headContact.spModal .tel img{
    width: 70% !important;
  }
  header .headContact.spModal .tel{
    padding: 11px 1px 8px 1px;
  }

}

@media (max-width: 480px) {

  header{
    padding: 10px 1rem;
  }
  header .logoLink{
    width: 250px;
  }
  header nav ul#menu-global:before{
    width: 230px;
    left: -40px;
    top: -6px;
  }

}

@media (max-width: 380px) {

  header .headContact.spModal .tel{
    padding: 12px 1px 10px 1px;
  }
  header .headContact.spModal .tel img{
    width: 90% !important;
  }


}