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

body {
	border-top: 15px solid #0068b7;
	color: #727171;
	/*font-family: 'Kosugi', sans-serif;*/
	font-family:"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}

#header {
	padding: 25px 10px;
}
#header div {
	max-width: 1200px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

h1 {
	width: 245px;
}





/*=========PC用ナビCSS===============*/
#pc-nav ul {
	display: flex;
}
#pc-nav li a {
	display: block;
	padding: 0 15px;
	font-weight: bold;
	transition: all 0.3s;
}
#pc-nav li a:hover {
	color: #0068b7;
}
.underline {
	padding-bottom: 5px;
	position: relative;
}
.underline::before {
  background: #0068b7;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.underline:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
}

@media screen and (max-width:1069px) {
	#pc-nav ul {
		display: none;
	}
}

/*=================================*/







/*=========スマホ用ナビCSS===============*/
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#e5e5e5;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

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

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

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

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

#g-nav li a{
	color: #0068b7;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}
/*=====================================*/






/*=========スマホ用ナビ　ボタンCSS===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:30px;
	right: 15px;
	cursor: pointer;
    width: 60px;
    height:60px;
	border: 1px solid #666;
}
@media screen and (min-width:1069px) {
	.openbtn {
		display: none;
	}
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 15px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 50%;
  }

.openbtn span:nth-of-type(1) {
	top:19px;	
}

.openbtn span:nth-of-type(2) {
	top:27px;
}

.openbtn span:nth-of-type(3) {
	top:35px;
}

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

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 32px;
    left: 20px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
/*======================================*/






/*=============フッターナビ=============*/

/*フッターナビ　リストマーカー1*/
.footer-nav-layer1 li {
	line-height: 2em;
}
.footer-nav-layer1 li:before{
    display:inline-block;
    vertical-align:baseline;
    content:'';
    width:0.8em;
    height:0.8em;
    background:#727171;/*マーカー（四角）の色*/
    margin-right:0.5em;
}
/*---------------------------*/


/*フッターナビ　リストマーカー2*/
.footer-nav-layer2 {
	display: flex;
}
.footer-nav-layer2 li {
	display: block;
	padding: 0 5px;
	position: relative;
    padding-left: 2.3em;
}
.footer-nav-layer2 li:before{
    content: "";
    position: absolute;
    top: 0.7em;
    left: 1.5em;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #727171;/*マーカー（三角）の色*/
	background:#e5e5e5;/*マーカー（三角）の背景の色*/
}
/*---------------------------*/

#footer-nav {
	background-color: #e5e5e5;
}
#footer-nav div {
	max-width: 1200px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 50px;
}
#footer-nav a {
	transition: all 0.3s;
}
#footer-nav a:hover {
	color: #0068b7;
	font-weight: bold;
}

@media screen and (max-width:1033px) {
	#footer-nav div {
		display: none;
	}
	#footer-nav {
		height: 10px;
	}
}
/*================================*/







/*=============フッター=============*/
#footer {
	background-color: #0068b7;
	padding: 50px 10px;
}
#footer div {
	max-width: 1200px;
	margin: auto;
	color: #ffffff;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
@media screen and (max-width:829px) {
	#footer div {
		justify-content: center;
		flex-wrap: wrap;
	}
}
#footer div p img {
	width: 390px;
}
@media screen and (max-width:829px) {
	#footer div p img {
		margin-bottom: 20px;
	}
}
@media screen and (max-width:400px) {
	#footer div p img {
		width: 100%;
		margin: auto;
		margin-bottom: 15px;
	}
	#footer-adress {
		width: 95%;
	}
}

#telfax {
	font-size: 1.5em;
}
@media screen and (max-width:429px) {
	#telfax {
		font-size: 1em;
	}
}
#telfax-number {
	font-size: 1.8em;
	color: #fbee00;
	font-weight: bold;
}
@media screen and (max-width:429px) {
	#telfax-number {
		font-size: 1.3em;
	}
}
#copy {
	font-size: 0.8em;
}
/*==================================*/








/*========フッター前で止まるページトップボタン========*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#0068b7;
	border-radius: 5px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 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);
  }
}

/*==================================*/









/*======index.html以外　共通CSS========*/

.contents {
	max-width: 1200px;
	margin: 70px auto 0;
	margin-bottom: 200px;
}

h2 {
	text-align: center;
	font-size: 30px;
	font-weight: bold;
	letter-spacing: 0.1em;
	color: #0068b7;
	font-feature-settings: "palt";
}
@media screen and (max-width:780px) {
	h2 {
		font-size: 25px;
	}
}

.comment {
	font-size: 17px;
	text-align: center;
	margin: 65px 10px;
	letter-spacing: 0.1em;
	line-height: 1.5em;
}
@media screen and (max-width:780px) {
	.comment {
		font-size: 90%;
	}
}

/*===========================*/



