/* ------------------------------------------
	Layout
--------------------------------------------- */

.modalBG {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  display: block !important;
  width: 100%;
  height: 200%;
  min-width: 1200px;
  z-index: 9999;
  top: 0;
  left: 0%;
  overflow: hidden;
}


/* ------------------------------------------
	Pia Header
--------------------------------------------- */

#pnhHeader {
  background: url(../images/bg_base.jpg) repeat top center;
  z-index: 4;
  min-height: 95px;
  width: 100%;
  margin: auto;
  margin-bottom: 10px;
  transition: all 0.5s ease;
  top: 0px;
  left: 0px;
  right: 0px;
  margin: auto;
  max-width: 1600px;


}

#pnhHeader .piaWrap {
  padding: 0px 0px 0px 0;
  margin-bottom: 0px;
  display: flex;
  position: relative;
  transition: all 0.5s ease;
}

#pnh #pnhLogo {
  width: 200px;
  min-width: 180px;
  padding-top: 10px;
  margin-bottom: 0;
  transition: all 0.5s ease;
}

#pnhLogo img {
  width: 100%;
}

#pnhHeader div {
  width: calc(100% - 200px);
  min-height: 90px;
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  border-bottom: solid 1px #707070;
  margin-left: 50px;
  transition: all 0.5s ease;
}

#pnhHeader h1 {
  font-size: 18px;
  font-size: 0.9em;
  width: 100%;
  line-height: 1.4;
}

#pnhHeader h1 br {
  display: none;
}

#pnh #pnhHeader div p {
  /* font-size: 14px; */
  font-size: 0.7em;
  width: 100%;
  line-height: 1.4;
  margin-bottom: 10px;
}


/* ------------------------------------------
	hamburger
--------------------------------------------- */
.hamburger-menu {
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 0;
  border: none;
  background: transparent;
  appearance: none;
  padding: 0;
  cursor: pointer;
  top: 40px;
  right: 0;
}

.hamburger-menu__bar {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: #5A3E00;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: .5s;
}

.hamburger-menu__bar:first-child {
  top: 7px;
}
.hamburger-menu__bar:nth-child(2) {
  top: 19px;
}
.hamburger-menu__bar:last-child {
  top: 31px;
}

.hamburger-menu--open {
  border: solid 2px #333F;
  bottom: 25px;
  width: 50px;
  height: 50px;
}

.hamburger-menu--open .hamburger-menu__bar {
  top: 50%;
  width: 35px;
}

.hamburger-menu--open .hamburger-menu__bar:first-child {
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  background: #333;
}

.hamburger-menu--open .hamburger-menu__bar:last-child {
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  background: #333;
}

.hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
  display: none;
}


.closeBtnPC {
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  border: none;
}

.closeBtnPC::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  top: 22px;
  left: -2px;
  background: #333;
  transform: rotate(45deg);
}

.closeBtnPC::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  top: 22px;
  left: -2px;
  background: #333;
  transform: rotate(-45deg);
}

.navigation {
  font-family: ZenKakuGothic;
  display: none;
  position: fixed;
  z-index: 9999;
  top: 40px;
  left: 0px;
  right: 0;
  width: calc(100% - 60px);
  height: calc(100% - 80px);
  padding: 60px 0px 40px 30px;
  background: url(../../common/images/bg_base.jpg) repeat top center;
  margin: auto;
  /*
  min-width: 1300px;
  height: 500px;
  margin: auto;
  box-sizing: border-box;
*/
}

#spNavi {
  display: none;
}

.navigation .piaWrap {
  padding: 0;
}

div#linkMap {
	font-family: Arial,
	Helvetica, 
	Roboto, 
	"メイリオ", 
	Meiryo, 
	"ヒラギノ角ゴ Pro W3", 
	"Hiragino Kaku Gothic ProN", 
	sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  width: calc(100%);
  margin: auto;
  border: none;
}

#linkMap dl {
  width: 31.8%;
  margin-right: 1.2%;
  margin-bottom: 40px;
  position: relative;
}

@media(min-width: 1280px){
  #linkMap dl {
    width: 30.0%;
    margin-right: 4.0%;
    margin-bottom: 40px;
    position: relative;
  }
}

#linkMap dl:nth-child(4) {
  margin-right: 0%;
}

#linkMap dl:nth-child(5) {
  margin-bottom: 0;
}

#linkMap dl:nth-child(6) dt {
  margin-bottom: 40px;
}

#linkMap dl a {
  color: #003f72;
  text-decoration: none;
}

#linkMap dl a:visited {
  color: #003f72;
  text-decoration: none;
}




#linkMap dl dt {
  color: #003f72;
  border-bottom: solid 1px #255b87;
  margin-bottom: 10px;
  line-height: 2;
  font-size: 20px;
  font-size: 1.25em;
  font-weight: bold;
}

/* #linkMap dl dt a:hover {
  text-decoration: underline;
} */

#linkMap dl dt span {
  color: #333;
  font-weight: normal;
  font-size: 16px;
  font-size: 0.8em;
  display: block;
}

#linkMap dl dd {
  line-height: 2;
  font-size: 16px;
  font-size: 1em;
}

#linkMap dl dd a {
  color: #333;
}

#linkMap dl dd a:visited {
  color: #333;
}



#linkMap dl dd.none {
  display: none;
}

/* #linkMap dl dd a:hover {
  color: #003f72;
  text-decoration: underline;
} */

#linkMap dl dd:before {
  content: '・';
}

#linkMap dl dd.btnLinkBlue {
  width: 380px;
  position: absolute;
  bottom: 0px;
  top: 240px;
  right: -350px;
}

#linkMap dl dd.btnLinkBlue a{
  width: 380px;
  min-width: inherit;
  min-height: 57px;
  font-size: 16px;
  font-size: 0.9em;
  color: #5A3E00;
}

#linkMap dl dd.btnLinkBlue a:visited{
  color: #5A3E00;
}



/* #linkMap dl dd.btnLinkBlue a:hover {
  color: #003f72;
  opacity: 0.7;
  text-decoration: none;
} */

#linkMap dl dd.btnLinkBlue:before {
  content: none;
}

/* ------------------------------------------
	768 SP
--------------------------------------------- */

/* ------------------------------------------
	Layout
--------------------------------------------- */
@media(max-width: 768px) {

  .piaWrap {
    width: calc(100% - 20px);
    padding: 0 10px;
    margin: auto;
    box-sizing: border-box;
    /*  background: rgba(0,0,0,0.7);*/
  }

}

/* .piaBgIllust:before,
.piaBgIllust:after {
  width: 80px;
  height: 80px;
} */

/* ------------------------------------------
	SP Pia Header
--------------------------------------------- */
@media(max-width: 768px) {

  .navigation {
    display: none;
  }

  #pnh #pnhSpTitle {
    background: #C4D9E4;
    text-align: center;
    font-size: 17px;
    line-height: 1.2;
    padding: 5px 0;
    margin-bottom: 0px;
    font-weight: normal;

  }

  #pnhSpTitle span {
    display: block;
  }

  #pnhHeader {
    background: url(../images/bg_base.jpg) repeat top center;
    z-index: 4;
    height: auto;
    min-height: inherit;
    width: 100%;
    margin: auto;
    border-bottom: solid 2px #5A3E00;
    padding-bottom: 5px;
  }


  #pnhHeader .piaWrap {
    width: calc(100% - 20px);
    height: auto;
    padding: 0px 0px 0px 0;
    display: flex;
    align-items: center;
  }

  #pnh #pnhLogo {
    max-width: 140px;
    min-width: 140px;
    padding-top: 5px;
    margin: 0;
    float: left;
  }

  #pnhHeader div {
    width: calc(58%);
    height: auto;
    min-height: inherit;
    padding-top: 0%;
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
    border: none;
    float: left;
    box-sizing: border-box;
    padding-left: 10px;
  }

  #pnh #pnhHeader div p {
    margin-bottom: 0;
    line-height: 1;
    font-size: 14px;
    font-size: 0.65em;
    text-align: left;
  }

  #pnhHeader div h1 {
    display: none;
  }

  #pnhHeader div h1 span,
  #pnhHeader div br {
    display: none;
  }

  .hamburger-menu {
    top: 15px;
    z-index: 3;
  }

  .hamburger-menu--open {
    border: solid 2px #FFF;
  }

  .hamburger-menu--open .hamburger-menu__bar:last-child {
    background: #FFF;
  }

  .hamburger-menu--open .hamburger-menu__bar:first-child {
    background: #FFF;
  }

  .modalBG {
    background: rgba(0, 63, 114, 0.85);
    overflow: hidden;
    min-width: auto;
    z-index: 9999;
  }


  #spNavi {
    padding: 0px 0px 45px 0px;
    font-family: Arial,
    Helvetica, 
    Roboto, 
    "メイリオ", 
    Meiryo, 
    "ヒラギノ角ゴ Pro W3", 
    "Hiragino Kaku Gothic ProN", 
    sans-serif;
    position: fixed;
    z-index: 9999;
    top: 80px;
    width: calc(100% - 40px);
    left: 0;
    right: 0;
    margin: auto;
    box-sizing: border-box;
    background: url(../../common/images/bg_base.jpg);
    display: none;
    height: 80%;
    font-size: 1em;

  }

  #spNavi dl {
    margin-bottom: 30px;
    overflow: scroll;
    height: 100%;

  }

  #spNavi dt {
    color: #003F72;
    font-size: 20px;
    font-size: 1.25em;
    font-weight: bold;
    min-height: 80px;
    border-bottom: solid 1px #003F72;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    position: relative;
    line-height: 1.5;
  }

  #spNavi dt.aboutTabH {
    padding-left: 20px;
  }


  #spNavi dt.aboutTabH::after {
    content: "";
    width: 12px;
    height: 12px;
    border-bottom: solid 3px #003F72;
    border-right: solid 3px #003F72;
    position: absolute;
    right: 15px;
    bottom: 15px;
    transform: rotate(45deg);
    transition: transform 0.5s ease-in-out;
  }

  #spNavi dt.aboutTabH.active::after {
    transform: rotate(225deg);
  }

  #spNavi dt a {
    display: block;
    color: #003F72;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    box-sizing: border-box;
    text-decoration: none;
  }

  #spNavi dt a:visited{
    color: #003F72;
  }

  #spNavi dt.aboutTabH a {
    width: 100%;
    min-height: 30px;
    padding-left: 0px;
  }

  #spNavi dt.aboutTabH a:nth-child(2),
  #spNavi dt span {
    display: block;
    color: #333;
    font-size: 16px;
    font-size: 0.8em;
    font-weight: normal;
    width: 100%;
    box-sizing: border-box;
    padding-right: 2em;
    line-height: 1.4;
  }  

  #spNavi dd {
    display: none;
  }

  #spNavi dd a {
    display: block;
    color: #333;
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    text-indent: -1em;
    padding-left: 1em;
    font-size: 15px;
    font-size: 0.9em;
    border-bottom: solid 1px #C4D9E4;
    padding-left: 40px;
    text-decoration: none;
    padding-right: 1em;
    line-height: 1.4;
  }

  #spNavi dd a:visited{
    color: #333;
  }

  #spNavi dt#spNavLink {
    border: none;
    padding: 30px 30px 20px 30px;
    height: auto;
    display: block;
    font-size: 1em;
  }

  #spNavi #spNavLink a {
    margin: auto;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 40px);
    min-height: 90px;
    padding: 0px 0;
    background: #FFF;    
    border-top: solid 5px #1d69b3;
    box-shadow: 10px 10px 0px 0 #9abdd8;
    text-indent: 0;
    padding-left: 0;

    font-size: 16px;
    font-size: 1em;
    color: #5A3E00;
    font-weight: normal;
  }

  #spNavi #spNavLink a:visited{
    color: #5A3E00;
  }

  .closeBtnSP {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0px;
    top: -55px;
    z-index: 6;
    background: none;
    border: none;
    color: #FFF;
    font-size: 30px;
    z-index: 1;
  }

  .closeBtnSP::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    top: 25px;
    left: 5px;
    background: #FFF;
    transform: rotate(45deg);
    pointer-events: none;
    z-index: -1;
  }
  
  .closeBtnSP::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    top: 25px;
    left: 5px;
    background: #FFF;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: -1;
  }


}

.spH{
  display: none;
}

@media(max-width: 470px){
  #pnh #pnhHeader div p{
    font-size: 12px;
    line-height: 1.2;
  }
}

@media(max-width: 440px){
  #pnhHeader div .spH{
    display: block;
  }
}

@media(max-width: 330px){
  #pnh #pnhHeader div p{
    font-size: 11px;
  }
}
