@charset "utf-8";
/* CSS Document */
#header {
  color: #FFF;
}
@media (max-width: 1024px) {
  #header {
    position: fixed;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: 99999;
    background-color: rgba(1, 113, 187, .8);
  }
  #header.open {
    background-color: #0171BB;
  }
  #header .sitename {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 55px;
  }
  #header .sitename img {
    height: 55px;
  }
  #header .spBtn {
    position: fixed;
    top: 0px;
    right: 0px;
    padding: 10px;
  }
  #header .navWrap {
    padding: 8px;
    display: none;
    overflow: auto;
    height: 100vh;
    -webkit-overflow-scrolling: touch;
  }
  #header.close .navWrap {
    background-color: #FFF;
    animation: fadeIn .8s ease 1 normal;
  }
  #header.open .navWrap {
    display: block;
    background-color: #0171BB;
    animation: fadeIn .8s ease 1 normal;
  }
  #header.open .navWrap a {
    color: #FFF;
  }
  #header.open .gnavi {
		background-color: rgba(255,255,255,.8);
		border-radius: 8px;
		margin-bottom: 15px;
  }
  #header.open .gnavi ul li {
		border-top: 1px dotted #333;
  }
  #header.open .gnavi ul.naviL li:first-child {
		border-top: none;
  }
  #header.open .gnavi ul li a {
		display: block;
		padding: 8px 0;
		color: #000;
  }
	#header .headContact {
		color: #FCEF01;
	}
  #header .headContact .tel {
		line-height: 1.4;
		margin-bottom: 15px;
	}
  #header .headContact .tel .number {
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 32px;
  }
  #header .headWrap .headContact .mail a {
    background-color: #fcef01;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
    border-radius: 4px;
		padding: 8px;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}
@media screen and (max-width: 1024px) {
  .menu-trigger, .menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
  }
  .menu-trigger {
    position: relative;
    width: 40px;
    height: 34px;
  }
  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #FFF;
    border-radius: 4px;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 15px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  .menu-trigger span:nth-of-type(1) {
    animation: menu-bar01 .75s forwards;
  }
  .menu-trigger span:nth-of-type(2) {
    transition: all .25s .25s;
    opacity: 1;
  }
  .menu-trigger.active span:nth-of-type(1) {
    transform: translateY(15px) rotate(-45deg);
  }
  .menu-trigger.active span:nth-of-type(2) {
    left: 50%;
    opacity: 0;
    animation: active-menu-bar02 .8s forwards;
  }
  .menu-trigger.active span:nth-of-type(3) {
    transform: translateY(-15px) rotate(45deg);
  }
}
@keyframes active-menu-bar02 {
  100% {
    height: 0;
  }
}
@media (min-width: 1025px) {
  #header .headWrap {
    position: relative;
    width: 1200px;
    height: 236px;
    margin: 0 auto;
  }
  #header .headWrap .commonsname {
    position: absolute;
    top: 15px;
    left: 0px;
    text-align: left;
    width: 440px;
    height: 150px;
  }
  #header .headWrap .commonsname p {
    font-size: 12px;
  }
  #header .headWrap .commonsname h1 {
    margin-bottom: 20px;
    width: 150px;
    height: 28px;
  }
  #header .headWrap .commonsname h2 {
		font-size: 22px;
  }
  #header .headWrap .headContact {
    position: absolute;
    top: 15px;
    right: 0px;
    color: #fcef01;
    width: 440px;
    height: 150px;
    text-align: left;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  #header .headWrap .headContact .tel {
    line-height: 1.2;
    margin-right: 15px;
  }
  #header .headWrap .headContact .tel .number {
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 36px;
  }
  #header .headWrap .headContact .mail a {
    background-color: #fcef01;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    border-radius: 4px;
  }
  #header .headWrap .sitename {
    z-index: 9999;
    position: absolute;
    bottom: 0px;
    left: 430px;
  }
  #header .headWrap .gnavi {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: #FFF;
    border-radius: 15px;
  }
  #header .headWrap .gnavi ul {
    width: 450px;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  #header .headWrap .gnavi ul li a {
    display: inline-block;
    padding: 1em;
    text-decoration: none;
    font-weight: bold;
  }
}