@charset "UTF-8";
*,*::before,*::after{box-sizing:border-box}*{margin:0}html,body{height:100%}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{font-size:1em;overflow-wrap:break-word}#root,#__next{isolation:isolate}
:root {
    --black: #2e2624;
    --gray: #bfbfbf;
    --beige: #e6e3e2;
    --blue: #021a7f;
    --navy: #00032d;
    --gothic: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    --mincho: "dnp-shuei-mincho-pr6n",	YuMincho, 'Yu Mincho', sans-serif;
}
#overlay-input , #overlay-button , #overlay {
  display:none;
 }
input[type=checkbox] {
  display: none!important;  
}
input[type=checkbox]:checked ~ #overlay {
  visibility: visible; 
}
input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
}
input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);
}
input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);
}
@media (min-width: 1px) and (max-width: 1050px) {
  a:hover {
    opacity: 1;
  }
}
body {
  font-family: "dnp-shuei-mincho-pr6n", sans-serif;
  color: var(--black);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 2px;
  -webkit-font-feature-settings: 'palt';
  font-feature-settings: 'palt';
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  text-align: justify;
  animation: bugfix infinite 1s;
  -webkit-animation: bugfix infinite 1s;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  image-rendering: -webkit-optimize-contrast;
}
a {
  position: relative;
  display: inline-block;
  color: #231815;
  text-decoration: none;
  transition: all .5s;
}
header a {
  transition: all 0s;
}
a::after {
  position: absolute;
  bottom: -5px;
  left: 50%;
  content: '';
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: .3s;
  transform: translateX(-50%);
}
a:hover {
  opacity: .7;
}
a:hover::after {
  width: 100%;
}
.serif{
  font-family: "trajan-pro-3", serif;
  font-weight: 400;
  font-style: normal;
}

/**header**/
.change-color {
  display:none;
}
@media screen and (max-width: 960px) {
  .change-color {
    display:block;
    opacity: 0;
  }
}
.change-color {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.header a {
  color: #fff;
}
.header-box{
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin:0 auto;
  padding: 25px;
}
.header-ttl1 {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}
.header-ttl1 > span {
  display:block;
  margin-bottom:0.5em;
}
a.index-link::after {
    content: '';
    width: 0!important;
    height: 0!important;
}
.header-navi > ul {
  display: flex;
  align-items: flex-end;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  list-style: none;
}
.header-navi > ul > li {
  margin-right: 2em;
}

.header.change-color {
  display:none;
}
@media screen and (max-width: 960px) {
  .header.change-color {
    display:block;
    opacity: 0;
  }
}
@media screen and (max-width: 1148px) {
  .header-ttl1 {
    font-size: 16px;
  }
  .header-ttl1 > span {
    display:block;
  }
  .header-navi > ul > li {
    font-size: 0.8em;
    margin-right: 1.5em;
  }
}
@media screen and (max-width: 960px) {
  .change-color {
    background-color: rgba(51,55,73,0.7);
    height: 90px;
  }
  .header-navi {
    display:none;
  }
  @keyframes bugfix {
    from {
      padding: 0;
    }
    to {
      padding: 0;
    }
  }
  @-webkit-keyframes bugfix {
    from {
      padding: 0;
    }
    to {
      padding: 0;
    }
  }
  #overlay-input , #overlay-button , #overlay {
    display:block;
  }
  #overlay-button {
    position: fixed;
    right: 15px;
    top: 9px;
    padding: 26px 11px;
    z-index: 5;
    cursor: pointer;
    user-select: none;
  }
  #overlay-button span {
    height: 1px;
    width: 41px;
    background-color: white;
    position: relative;
    display: block;
    transition: all .2s ease-in-out;
  }
  #overlay-button span:before {
    top: -10px;
    visibility: visible;
  }
  #overlay-button span:after {
    top: 10px;
  }
  #overlay-button span:before, #overlay-button span:after {
    position: absolute;
    right: 0;
    height: 1px;
    width: 35px;
    background-color: white;
    content: "";
    transition: all .2s ease-in-out;
  }
  #overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
    background: #fff;
  }

  #overlay {
    height: 100vh;
    width: 100vw;
    background-color: var(--navy);
    z-index: 4;
    visibility: hidden;
    position: fixed;
  }
  #overlay.active {
  }
  #overlay ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 100vh;
    padding-left: 0;
    list-style-type: none;
  }
  #overlay ul li {
    padding: 1em;
    width: 100%;
  }
  #overlay ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
  }

#overlay ul li.side-menu_bg a {
    color: var(--navy);
}
  span.menu-txt {
    top: 19px;
    color:#fff;
    font-size: 10px;
    letter-spacing: 2px;
  }
  span.menu-txt , span.menu-txt:before , span.menu-txt:after {
    content: none!important;
    height: 0!important;
    width: 0!important;
  }
}

/**footer**/
footer {
  width:100%;
  background: var(--blue);
  color: #fff;
}
footer .footer{
  padding: 1em; 
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url(/jhm19/asset/1658_breadcrumbs.jpg) repeat-y center / cover;
}
footer address {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-style:normal;
}
footer .secretariat-ttl {
  margin-bottom: 5px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: bold;
  font-size:18px;
}
footer address .secretariat-name {
  position: relative;
  margin:0 10px 0 0;
}
footer address .secretariat-name:after {
  position: absolute;
  top: 50%;
  right: -7px;
  transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  content: "";
  margin: 0 15px 0 0;
  padding: 0;
  height: calc(2em + 10px);
  width: 2px;
  background: #fff; 
}
footer address .secretariat-name > div:first-of-type {
  margin-bottom: 5px;
  transform: scale(0.9, 1);
  transform-origin: top left;
;}
footer address .secretariat-name > div:last-of-type {
  font-size: 1.1em
;}
footer address .secretariat-address > div:last-of-type {
  margin-top: 5px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: bold;
  font-size:20px;
}
footer address .secretariat-address > div span {
  font-weight: 400;
  font-size:14px;
}
footer .copyright{
  margin:10px 0 0;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-size:12px;
}
.mail {
  word-break: break-all;
}
/**/
.max-width_1200 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 1220px) {
  .max-width_1200 {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    padding: 5%;
  }
}
@media screen and (max-width: 992px) {
  footer .footer {
    text-align: center;
  }
  footer address .secretariat-name:after {
    height: 0;
    width: 0;
  }
  footer address .secretariat-name {
    margin: 0 0 10px 0;
  }
  footer address {
    flex-direction: column;
    padding-top: 10px;
    align-items: center;
  }
  .secretariat-address {
    line-height: 1.5;
  }
}
