@charset "UTF-8";
*{
  box-sizing: border-box;
}
body{
  --header-height: 100px;
  --tc: #002979;
  position: relative;
  width: 100%;
  color: #333;

  font-size: 16px;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  line-height: 1.6;
}
a{
  text-decoration: none;
}
img,svg{
  max-width: 100%;
  height: auto;
}
main{
  padding-top: var(--header-height);
  padding-bottom: 160px;
}
.jcc{
  display: flex;
  justify-content: center;
}
/**/
/*--gmenu--*/
/**/
#gmenu-cb{
  display: none;
}
#gmenu{
  position: fixed;
  z-index: 10000;
  top: var(--header-height);
  left: 0;

  width: 100dvw;
  min-height: calc(100dvh - var(--header-height));
  background: transparent;

  visibility: hidden;
  overflow-x: hidden;

  transition: 0.3s all ease-in;
}
#gmenu-cb:checked ~ #gmenu{
  transition: 0.3s all ease-in;
  visibility: visible;
  background: var(--tc);
}
.gMenu-navWrapper{
  width: 100%;
  height: calc(100dvh - var(--header-height));
  max-height: calc(100dvh - var(--header-height));
}
.gMenu-navContent{
  position: relative;/*for closebtn*/

  display: flex;
  justify-content: center;

  width: 100%;
  height: 100%;
  padding-top: 10vh;
}
.gMenu-navContent ul{
  display: flex;
  flex-direction: column;

  width: 100%;

  border-top: solid 1px #EFF9FF;
}
.gMenu-navContent ul li{
  text-align: center;

  width: 100%;
  border-bottom: solid 1px #EFF9FF
}
.gMenu-navContent ul li a{
  display: block;
  width: 100%;
  padding: 16px 0;

  font-size: 20px;
  color: #fff;
  font-weight: 700;
}

/**/
/*--header--*/
/**/
header#header{
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  padding-left: 2vw;

  font-size: 20px;
  font-weight: 700;

  background: var(--tc);
}
header#header a{
  color: #fff;
}
header#header nav ul{
  display: flex;
}
header#header nav .header-link{
  display: inline-flex;
  justify-content: center;
  align-items: center;

  height: var(--header-height);
  padding: 0 32px;
}
#header-logo{
  width: 212px;
}
#header-tel{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  height: calc(var(--header-height) - 16px);
  padding: 0 32px;
  margin-block: auto;

  font-size: 15px;
  line-height: 1;
  color: #fff;
  text-align: center;

  border-left: solid 1px #fff;
}
#header-tel a{
  font-size: 28px;
  line-height: 1.6;
}
#header-contact{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--header-height);
  padding: 0 20px;

  text-align: center;

  background: #891527;
}
#header-hum{
  display: none;

  align-items: center;
  justify-content: center;

  width: var(--header-height);
  height: var(--header-height);
}
#header-hum span{
  position: relative;

  display: inline-block;
  width: 66.5%;
  height: 3px;

  background: #fff;
  border-radius: 1px;
}
#header-hum span::before,
#header-hum span::after{
  content: '';
  position: absolute;

  width: 100%;
  height: 3px;

  background: #fff;
  border-radius: 1px;
  transition: 0.3s all linear;
}
#header-hum span::before{
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s all linear;
}
#header-hum span::after{
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s all linear;
}
body:has(#gmenu-cb:checked) #header-hum span{
  background: transparent;
  transition: 0.3s all linear;
}
body:has(#gmenu-cb:checked) #header-hum span::before{
  top: 0;
  left: 50%;
  transform: translateX(-50%)rotate(-25deg);
  background: #fff;
  transition: 0.3s all linear;
}
body:has(#gmenu-cb:checked) #header-hum span::after{
  top: 0;
  left: 50%;
  transform: translateX(-50%)rotate(25deg);
  background: #fff;
  transition: 0.3s all linear;
}

/**/
/*--footer--*/
/**/
footer#footer{
  padding-top: 32px;
  padding-left: 3vw;
  padding-right: 2vw;
  padding-bottom: 16px;
  margin-bottom: 24px;
  
  background: #EFF9FF;
}
div.footer-content{
  display: flex;
  justify-content: space-between;
}
div.footer-left{
  display: flex;
  align-items: center;
  gap: 72px;
  padding-top: 24px;

  font-size: 20px;
}
#footer-logo{
  display: inline-block;
  margin-bottom: 24px;
}
#footer-tel{
  color: var(--tc);
  font-size: 39px;
  font-weight: 700;
}
div.footer-left address{
  line-height: 1.3;
}
div.footer-left ul{
  display: flex;
  flex-direction: column;
}
div.footer-left ul>*+*{
  margin-block-start: 16px;
}
div.footer-left ul a{
  color: var(--tc);
  font-weight: 700;
}
#footer-contact{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px;

  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.6;

  background: #891527;
}
footer#footer .copyright{
  color: #9A9A9A;
  text-align: right;
}

@media (min-width : 1200px){
  header#header nav .header-link,
  header#header nav .header-link:hover,
  #header-tel a,
  #header-tel a:hover,
  #header-contact,
  #header-contact:hover{
    transition: 0.3s all linear;
  }
  header#header nav .header-link:hover,
  #header-tel a:hover,
  #header-contact:hover{
    opacity: 0.8;
  }
}
@media (max-width : 1200px){
  body{
    --header-height: 64px;
  }
  /**/
  /*--header--*/
  /**/
  header#header nav ul{
    display: none;
  }
  #header-hum{
    display: flex;
  }
  #header-logo{
    width: min(36vw,212px);
  }
  /**/
  /*--footer--*/
  /**/
  div.footer-content{
    display: flex;
    justify-content: center;
    flex-direction: column;

    margin-bottom: 40px;
  }
  #footer-contact{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px;
    margin-top: 32px;
  }
}
@media (max-width : 599px){
  /**/
  /*--footer--*/
  /**/
  footer#footer{
    padding: 48px 16px;
    margin-bottom: 24px;
    
    background: #EFF9FF;
  }
  #footer-logo{
    display: inline-block;
    width: min(66.5%,291px);
    margin-bottom: 24px;
  }
  div.footer-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 0 ;
  
    font-size: min(4.8vw,20px);
  }
  div.footer-left ul{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 16px;
  }
  #footer-tel{
    font-size: min(7vw,39px);
  }
  footer#footer .copyright{
    font-size: min(3.5vw,16px);
  }
}