@charset "UTF-8";
/* CSS Document */

header h1 {
    width: 255px;
    height: auto;
    padding: 15px;
}

@media screen and (max-width: 480px) {
    header h1 {
        width: 200px;
        padding: 10px;
    }
}

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

#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
	z-index: -1;
	opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
	top:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgba(0,113,183,0.85);/*背景を少し透過させる*/
    /*動き*/
	transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
	opacity: 1;
	z-index:999;
}

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

/*ナビゲーション*/
#g-nav ul {
    display: none;/*はじめは非表示*/
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    background: url("../img/logo_menu.svg") no-repeat left 40px;
    background-size: 300px auto;
    padding-left: 380px;
    width: 800px;
}


#g-nav.panelactive ul {
    display: block;
}
/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #fff;
    text-align: left;
	text-decoration: none;
	padding:1em 1em 1em 0;
    font-size: 120%;
	display: block;
	text-transform: uppercase;
	font-weight: bold;
    font-family: 'Shippori Mincho', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    border-bottom: 1px solid #FFF;
    width: 100%;
    letter-spacing: 0.03em;
    position: relative;
}
#g-nav li:first-child a {
    border-top: 1px solid #FFF;
}
#g-nav li a:after {
    content: "▶︎";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 50%;
}
#g-nav li a span {
    font-size: 80%;
    padding: 0 1em;
}
#g-nav li a span:before {
    content: "−";
}
#g-nav li a span:after {
    content: "−";
}

@media screen and (max-width: 800px) {
    #g-nav ul {
        background: url("../img/logo_menu.svg") no-repeat left top;
        background-size: auto 100px;
        padding-top: 130px;
        padding-left: 0;
        width: 90%;
    }
}


/*==================================================
機能編　5-2-2 ボタン：2本線が×に
===================================*/

/*ボタン外側*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*ボタン内側*/

.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 13px;
    height: 5px;
	background-color: #009ae3;
  }
.openbtn span:nth-of-type(1) {
	top:22px;	
  	width: 50%;
}
.openbtn span:nth-of-type(2) {
	top:30px;
  	width:50%;
}
/*activeクラスが付与されると線が回転して×に*/

.openbtn.active span:nth-of-type(1) {
    top: 20px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 35%;
}

.openbtn.active span:nth-of-type(2) {
    top: 32px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 35%;
}

@media screen and (max-width: 480px) {
    .openbtn {
        top: 5px;
    }
}

/*ぱんくずリスト*/
#pankuzu {
    background: #e9e9e9;
    width: 100%;
    padding: 0.65em 1.8em;
    /*font-size: 0;*/
    line-height: 1.5em;
    font-size: 90%;
}
#pankuzu li {
    display: inline-block;
    color: #0071b5;
}
#pankuzu li:after {
    content: "  ／  ";
}
#pankuzu li:last-child:after {
    content: none;
}
#pankuzu li a{
    color: #333;
    text-decoration: none;
}
#pankuzu br {
    display: none !important;
}
@media screen and (max-width: 480px) {
    #pankuzu {
        font-size: 90%;
        padding: 0.5em 1em;
    }
}

/*レイアウトCSS*/
main {
}

/*section*/
.section1150 {
	max-width: 1150px;
	margin: 0 auto 4em;
}
.section1100 {
	max-width: 1100px;
	margin: 2em auto 4em;
}

.section1000 {
	max-width: 1000px;
	margin: 0 auto 4em;
}
.section800 {
    max-width: 800px;
    margin: 2em auto;
}

/*.inner {
	width: 100%;
	padding-bottom: 3em;
}*/

@media screen and (max-width: 1100px) {
    .section1100 {
        padding: 1em;
    }
}

@media screen and (max-width: 780px) {
    .section800 {
        padding: 1em;
    }
}


/*アコーディオン*/
.accordion {
}
.accordion dt {
}
.accordion dt.active {
}
.accordion dd {
	display: none;
}

/*========= footerためのCSS ===============*/
footer .inner {
    padding: 5% 3% 3%;
    border-top:1px solid #999;
}
footer .f-logo {
    width: 475px;
    height: auto;
    display: inline-block;
    margin-bottom: 1em;
}

.sitemap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 2em;
}
.sitemap a {
    color: #0071b7;
    text-decoration: underline;
    margin: 0 1em;
}

.copyright {
    background: #009fe8;
    color: #FFF;
    text-align: center;
    padding: 0.7em 1em;
    letter-spacing: 0.03em;
}

@media screen and (max-width: 810px) {
    .sitemap {
        justify-content: flex-start;
    }
    /*.sitemap li:nth-child(1),
    .sitemap li:nth-child(2),
    .sitemap li:nth-child(3) {
        width: 33%;
    }*/
    
}

@media screen and (max-width: 480px) {
    footer .f-logo {
        width: 100%;
    }
    footer .f-logo img {
        width: 100%;
    }
    
    .sitemap a {
        margin: 0 5px;
    }
}

/*ページトップボタン*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background:#0071b5;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.7rem;
  /*transition:all 0.3s;*/
  border-radius: 50%;
  font-family: "futura-pt-bold", sans-serif;
}

#page-top a:hover{
  background: #0098e1;
  background-image: url("../img/pagetop.svg");
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-position: center;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 1;
  transform: translateY(100px);
  }
}