@font-face {
  font-family: "Cen";
  src:url("../fonts/GOTHIC.ttf")format("truetype");
}

@font-face {
  font-family: "Ship";
  src: url("../fonts/ShipporiMinchoB1-Medium.otf")format("opentype");
}

@font-face {
  font-family: "Mei";
  src: url("../fonts/meiryo.ttc")format("truetype");
}

.gray{
  color: #4C4948;
}

.outer-copy{
  display: block;
  text-align: center;
}

.inner-copy{
  display: inline;
  font-size: 0.8em;
  color: white;
}

.Cen-text{
  font-family: "Cen";
}

.Mei-text{
  font-family: "Mei";
}

.Ship-text{
  font-family: "Ship";
}

.bold{
  font-weight: bold;
}

.up-margin{
  margin-top: 3%;
}

.up-margin1{
  margin-top: 1%;
}

.down-margin{
  margin-bottom: 3%;
}

*{
  margin: 0;
  padding: 0;
  border: 0;
}

body{
  background: #F3F1E7;
}

.logo{
  position: fixed;
  z-index: 100;
  display: block;
  height: 60px;
  width: auto;
  text-align:left;

}

.logo a{
  display: inline-block;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
}

.logo-pic{
  height: 48px;
}

header{
  position: fixed;
  z-index: 99;
  background: #F3F1E7;
  width: 100%;
  height: 60px;
  display: block;
  text-align: right;
}


.nav{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.nav ul{
  display:inline-flex;
}


.li-last{
  margin-right: 5px;
}

.nav ul li{
  list-style: none;
  display: inline-block;
}

.li-contents{
  margin-right: 25px;
}

.li-last{
  margin-right: 15px;
}



.nav ul li a{
  display: block;
  text-decoration: none;
  text-align: center;
  color: #4C4948;
}



.nav-top{
  font-family: "Cen";
  font-size: 1.2em;
  font-weight: bold;

}

.nav-bottom{
  font-family: "Ship";
  font-size: 0.7em;
}

.inner-a{
  display: inline;
}


footer{
  width: 100%;
  height: auto;
  background: #4C4948;
  bottom: 0;
  left: 0;
}

.hamburger-menu {
  display: none;
}

.head-list{
  display: block;
  text-align: center;
}

.center-con{
  vertical-align: middle;
}

.inner-head-list{
  display: inline-block;
  width: 100%;
  margin-top: 1%;
  margin-bottom: 2%;
}

.head-content{
  display: inline-block;
  margin-left:2%;
  margin-right: 2%;
}

.head-content a{
  text-decoration: none;
  color: white;
}

.outer-contact{
  display: block;
  text-align: center;
}

.inner-contact{
  display: inline-block;
  margin-bottom: 2%;
  width: 95%;
  text-align: center;
}

.outer-contact-content{
  display: inline-block;
  width:47% ;
  vertical-align: middle;
  margin-left: 1%;
  margin-right: 1%;
}

.inner-contact-content-left{
  width: 100%;
  display: block;
  color: white;
  font-size: 2em;
}

.img-contact{
  display: inline-block;
  height: 28px;
}

.inner-contact-content-right a,.inner-contact-content-left a{
  display: inline-block;
  font-size: 35px;
  color: white;
  margin-left: 2%;;
  text-decoration: none;
}

.right-border{
  border-right:1px solid white ;
}

.group-head-content{
  display: inline;
  width: 49%;
  margin: 0;
}



@media screen and (max-width: 959px) {
  .hamburger {
    position: fixed;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1000;
    text-align: right;
    background: #313131;
    right: 0;
    top:0;
}

header{
  position: fixed;
  z-index: 99;
  background: #F3F1E7;
  width: 100%;
  height: 40px;
  display: block;
  text-align: right;
}


/* ハンバーガーメニューのアイコンのスタイル */
.hamburger span {
  top: 50%;
  transform: translateY(-50%);
    display: inline-block;
    width: 70%;
    height: 3px;
    background-color: white;
    margin-bottom: 3px;
    margin-top: 3px;

}

.hamburger.active span:first-of-type{/* ハンバーガーメニューの1番目の線 */
  opacity: 0;
  margin-bottom: 0;
  margin-top: 0;
  transition: 0.5s;
}
.hamburger.active span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
  margin-bottom: 0;
  margin-top: 0;
}
.hamburger.active span:last-of-type{/* ハンバーガーメニューの3番目の線 */
  opacity: 0;
  margin-bottom: 0;
  margin-top: 0;
  transition: 0.5s;
}




.nav{
  display: none;
}

.nav.active{
  position: absolute;
  top:0;
  transform: translateY(0);
  display: block;
  margin-top: 40px;
  background: #F3F1E7;
  width: 100%;
  text-align: center;
}

.nav ul{
  display:inline-block;

}


.li-last{
  margin-right: 0px;
}

.nav ul li{
  list-style: none;
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
}

.li-contents{
  margin-right: 0px;
}

.li-last{
  margin-right: 0px;
}



.nav ul li a{
  display: block;
  text-decoration: none;
  text-align: center;
  color: #4C4948;
}

.logo{
  position: fixed;
  z-index: 100;
  display: block;
  height: 40px;
  width: auto;
  text-align:left;

}
.logo a{
  display: inline-block;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  height: 38px;
}

.logo-pic{
  height: 36px;
}



.nav-top{
  font-family: "Cen";
  font-size: 1.2em;
  font-weight: bold;

}

.nav-bottom{
  font-family: "Ship";
  font-size: 0.7em;
}

.outer-contact-content{
  display: block;
  width:90% ;
  margin: 0 auto;
}

.right-border{
  border-right:none ;
}

.inner-contact-content-right a,.inner-contact-content-left a{
  display: inline-block;
  font-size: 22px;
  color: white;
  margin-left: 2%;;
  text-decoration: none;
}

.group-head-content{
  display: block;
  width: 100%;
  margin: 0 auto;
}
}
