@charset "UTF-8";

img {
  width: 100%;
  height: auto;
}
a {
  color: #000;
  text-decoration: none;
}
a:hover {
  color: #000;
}
/* 文字基準 */
html, h1, h2, h3, h4, h5, h6, p {
  font-family: 'ヒラギノ角ゴシック', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  line-height: 1.6;
}
/* 文字基準 */
/*header*/
header {
  display: block;
}
/*contents*/
.contents {
  position: relative;
  width: auto;
  margin: 0 auto;
  /*background-color: #FFE7E7;*/
  max-width: 100%;
  overflow: hidden;
  
}
.contents .mar-style {
  width: calc(100% - 10px);
  margin: 0 auto 40px;
  background-color: #92F7CE;
}
@media screen and (min-width: 768px) {
  .contents .mar-style {
    max-width: 1000px;
    width: auto;
    background-color: #92F7CE;
    margin: 0 auto 40px;
  }
}
.contents .wide-style {
  width: 100%;
  margin: 40px auto;
  background-color: #66ABE9;
}
/*footer*/
footer {
  width: 100%;
  padding: 10px 0;
  background-color: #BEECF5;
  color: #333333;
  text-align: center;
  font-size: 0.813em;
}
footer p{
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  font-size: 14px;
}
footer p.footer_bold{
  font-size: 18px;
  font-weight: 600;
}
footer p.copy{
  font-size: 12px;
}
.footer_btn{
  position: absolute;
  content: "";
  background-image: url(../images/pagetop.png);
  background-size: 100%;
  top: -12.5px;
  right: 0px;
  display: block !important;
  width: 90px;
  height: 80px;
  z-index: 999;
}
.footer_btn a{
  width: 100%;
  height: 100%;
  display: block;
}
.footer_inner{
 display: flex;
 flex-wrap: wrap; 
 justify-content: space-between;
 flex-direction: row;
 text-align: justify;
 padding: 40px 70px 33px;
 align-items: flex-end;
 max-width: 1280px;
 width: 100%;
 margin: 0 auto;
 position: relative;
}
/*nav*/
.inner {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}
.inner:after {
  content: "";
  clear: both;
  display: block;
}
/* header */
#top-head {
  position: absolute;
  top: -100px;
  z-index: 999;
  width: 100%;
  margin: 100px auto 0;
  padding: 15px 0 0;
  line-height: 1;
}
#top-head a, #top-head {
  color: #000;
  text-decoration: none;
}
#top-head .inner {
  position: relative;
}
#top-head .logo {
  float: left;
  display: block !important;
}
#top-head .logo a{
  float: left;
  font-size: 2.5rem;
  color: #fff;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

/* Fixed */
#top-head.fixed {
  position: fixed;
  top: 0;
  padding-top: 10px;
  margin-top: 0;
  background: #000;
  background:#69C3BE;
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
}
@media screen and (min-width: 500px) {
  #top-head.fixed {
    height: 75px;
  }
  #top-head.fixed .logo a {
    font-size: 2.5rem;
    line-height: 50px;
  }
}
#top-head.fixed .logo {
  font-size: 1.500em;
  color: #333;
}

/*parts*/
.alpha a:hover {
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
  opacity: 0.5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha(opacity=50)";
}
.fade {
  opacity: 1;
}

/*========= ナビゲーションのためのCSS ===============*/

body.panelactive {
    height: 100vh;
    overflow: hidden;
}
#g-nav{
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position:fixed;
  z-index: -1;
  opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
  top:0;
  width:100%;
  height: 0vh;/*ナビの高さ*/
  background:url(../images/bg_menu.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
    /*動き*/
  transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/

#g-nav.panelactive{
opacity: 1;
z-index:999;
height: 100vh;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/

.nav_inner{
  margin-top: 50px;
}
#g-nav ul {
  display: none;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:370px;
  left:50%;
  transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 555px;
  max-width: 750px;
  width: 100%;
  margin-top: 50px;
}

/*リストのレイアウト設定*/

.menu_title{
  text-align: center;

}
.menu_title p{
  color: #fff;
  font-size: 50px;
  font-family: "garamond";
  font-weight: lighter;
  letter-spacing: 15px;
}
#g-nav li{
  list-style: none;
  text-align: center; 
  color: #fff;
  width: 50%;
  text-align: justify;
}
#g-nav li a{
color: #fff;
text-decoration: none;
padding:26px 0px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
font-size: 30px;
font-weight: 300;
letter-spacing: 10px;
}
#g-nav li a.another{
  text-transform: lowercase;
  letter-spacing: 5px;
}
#g-nav li a.menu_right{
  padding-left: 81px;
}
#g-nav li a span{
  font-size: 40px;
  font-family: garamond;
  letter-spacing: -3px;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
  position: relative;
  z-index: 9999;/*ボタンを最前面に*/
  top:-8px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height:34px;
  margin-left: auto;
}

/*×に変化*/	
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 4px;
  background-color: #fff;
  width: 100%;
}
.openbtn span:nth-of-type(1) {
top:6px;	
}
.openbtn span:nth-of-type(2) {
top:24px;
}
.openbtn span:nth-of-type(3) {
top:40px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 100%;
}
.openbtn.active span:nth-of-type(2) {
opacity: 0;
}
.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 100%;
}

@media screen and (max-width: 800px){
  #g-nav li a {
    padding: 23px 0px;
    font-size: 29px;
    letter-spacing: 8px;
  }
  #g-nav li a span {
    font-size: 37px;
  }
  #g-nav li a.menu_right {
    padding-left: 35px;
  }
  #g-nav.panelactive ul {
    max-width: 623px;
  }
}

@media screen and (max-width: 660px){
  #g-nav li a {
    padding: 23px 0px;
    font-size: 23px;
    letter-spacing: 5px;
  }
  #g-nav li a span {
    font-size: 30px;
  }
  #g-nav li a.menu_right {
    padding-left: 5px;
  }
  #g-nav.panelactive ul {
    max-width: 480px;
    height: 530px;
  }
}

@media screen and (max-width: 520px){
  .nav_inner {
    margin-top: 90px;
  }
  .menu_title p{
    font-size: 35px;
  }
  #g-nav.panelactive ul {
    top: 280px;
    flex-direction: column;
    height: 660px;
    max-width: 220px;
    margin-top: 200px;
  }
  #g-nav li{
    width: 100%;
  } 
  #g-nav li a {
    padding: 18px 0px;
    font-size: 20px;
    letter-spacing: 4px;
  }
  #g-nav li a span {
    font-size: 23px;
  }
  #g-nav li a.menu_right {
    padding-left: 5px;
  }
  #g-nav {
    position: fixed;
    z-index: -1;
    opacity: 0;
    top: 0;
    width: 100%;
    height: 0vh;
    overflow: hidden;
    background: url(../images/sp_bg_menu.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: all 0.3s;
  }
  #g-nav.panelactive {
    width: 100%;
    height: 100vh;
  }
}

@media screen and (max-width: 500px){
  .inner{
    padding: 0 15px;
  }
  #top-head.fixed{
    height: 55px;
  }
  #top-head .logo a {
    font-size: 1.8rem;
  }
  .openbtn {
    top: -11px;
  }
  .openbtn span{
    width: 32px;
    height: 2.5px;
  }
  .openbtn span:nth-of-type(2) {
    top: 17px;
  }
  .openbtn span:nth-of-type(3) {
    top: 28px;
  }
  #top-head.fixed .logo a {
    font-size: 1.8rem;
    line-height: 35px;
  }
  .footer_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 15px 33px;
  }
  .footer_inner div{
    text-align: center;
  }
  footer p.footer_bold {
    line-height: 27px;
    padding-top: 8px;
  }
  .footer_mail{
    padding: 10px 0 20px;
  }
}

