@charset "utf-8";
/* CSS Document */
/*-----------------------reset---------------------*/
*, :before, :after {
    padding: 0;
    margin: 0;
	box-sizing: border-box;
}
img {
    vertical-align:bottom;
}
body{
    font-family: "Noto Sans JP","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo","sans-serif";
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    letter-spacing: 0.08em;
}
ul{
	list-style-type: none;
}
a{
    text-decoration: none;
    color: #333333;
}
/*---------------header scroll space-----------------*/
main {
    padding-top: 70px;
}
/*-----------------------header----------------------*/
header {
    width: 100%;
    height: 70px;
    position: fixed;
    background-color: rgba(255,255,255,0.80);
    top: 0px;
    left: 0px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.05);
    z-index: 1;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
    display: flex;
    justify-content: space-between;
    padding-left: 5px;
    align-items: center;
}
h1 img {
    width: 200px;
    height: auto;
    display: block;
}
header ul {
    display: flex;
}
header  li  {
    position: relative;
    margin-left: 10px;
    margin-right: 10px;
}
header li a  {
    padding-left: 5px;
    padding-right: 5px;
    font-weight: 600;
    margin-bottom: 0px;
    padding-bottom: 10px;
    padding-top: 10px;
    display: inline-block;
}
header li a:hover {
    color: #007da3;
}
header li a:before {
    height: 2px;
    width: 0;
    position: absolute;
    left: 50%;
    background-color: #007da3;
    content: "";
    transition: 0.5s;
    bottom: -2px;
}
header li a:hover:before {
    width: 100%;
    left: 0%;
}
/* -----------------pagetop-btn ----------------*/
.pagetop-btn {
    position: fixed;
    right: 40px;
    bottom: 40px;
    display: none;
}
.pagetop-btn a {
    display: inline-block;
    color: #fff;
    background-color: #009ccc;
    border-radius: 50px;
    position: relative;
    height: 60px;
    width: 60px;
    opacity: 0.8;
	transition: all 0.4s ease;
}
.pagetop-btn a:before {
    content:  '';
    width: 20px;
    height: 20px;
    display:  block;
    border-top: solid 3px;
    border-right: solid 3px;
    transform: rotate(-45deg);
    position:  absolute;
    top: 10px;
    bottom:  0;
    left:  0;
    right:  0;
    margin:  auto;
}
.pagetop-btn a:hover{
    background-color: #007599;
}
/*--------------------footer--------------------*/
footer {
    width: 100%;
    background-color: #d7d7d7;
    min-height: 150px;
	margin-top: 250PX;
}
.footer-inner {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}
footer ul {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
    max-width: 550px;
    font-weight: 600;
    flex-wrap: wrap;
}
footer li {
    position: relative;
}

footer li a:hover {
    color: #7c7c7c;
    transition: 0.4s;
}
footer li:after {
    content: "|";
    position: absolute;
    right: -23px;
}
footer li:last-of-type:after {
    content: "";
}
.copyright {
    font-size: 14px;
    padding-bottom: 10px;
}
.pc{
    display: none;
}
/*/////////////////////////////////////////////
         ビューポートの幅が800px以下の場合のcss
////////////////////////////////////////////////*/
@media (max-width:800px){

/*----------------ハンバーガーMENU設定------------------*/
	header nav {
    		position: fixed;
    		top: 0px;
    		left: 0px;
    		width: 100%;
    		height: 100%;
    		background-color: rgba(0,69,155,1);
    		padding-top: 100px;
    		z-index: 2;
	}
	header ul {
    		display: block;
    		height: 100%;
    		padding-bottom: 50px;
    		overflow: auto;
    		text-align: center;
    		font-size: 18px;
	}
	header li a{
		color: #ffffff;
		border-top: 1px solid #ffffff;
		border-bottom: 1px solid #ffffff;
		display: block;
		margin-bottom: -1px;
		margin-left: 60px;
		margin-right: 60px;
	}
	header li a:hover:before {
    		width: 0%;
	}
	header li a:hover{
		color: #FFFFFF;
    		background-color: rgba(0,125,163,0.70);
	}
	.nav-btn {
   		 width: 70px;
    		height: 50px;
    		position: relative;
    		z-index: 3;
	}
	.nav-btn span {
    		width: 30px;
    		height: 2px;
    		background-color: #000000;
    		position: absolute;
    		left: 20px;
	}
	.nav-btn span:nth-child(1)  {
    		top: 12px;
	}
	.nav-btn span:nth-child(2) {
    		top: 23px;
	}
	.nav-btn span:nth-child(3) {
    		top: 34px;
	}
/*------------------ハンバーガーmenu開閉設定-----------------*/
	header nav{
		left:100%;
		transition: 0.5s;
	}
	.menu-open header nav{
		left:0%; /*navのwidth:70%*/
	}
/*-------ハンバーガーmenuクリックしたときの.nav_btn動作-------*/
	.menu-open .nav-btn span:nth-child(1){
		top:23px;
		transform: rotate(135deg);
		background-color: #ffffff;
	}
	.menu-open .nav-btn span:nth-child(2){
		width: 0;
		left:50%;
		background-color: #ffffff;
	}
	.menu-open .nav-btn span:nth-child(3){
		top:23px;
		transform: rotate(-135deg);
		background-color: #ffffff;
	}
	.nav-btn span{
		transition: 0.3s;
	}
/*------------page_topボタン位置変更----------------*/
	.pagetop-btn {
    		right: 10px;
    		bottom: 10px;
	}	
}
/*///////////////////////////////////////////////////
        ビューポートの幅が600px以下の場合のcss
///////////////////////////////////////////////////*/
@media (max-width:600px){
	body{
		font-size:14px;
	}
/*------------------header調整-----------------*/
	header{
		height: 50px;
	}
	.header-inner {
    	height: 50px;
}
	header h1 img{
    	width: 130px;
	}
	header h1{
		z-index: 1;
	}
	main {
    	padding-top: 50px;
	}
/*---------------footer調整*-------------------*/
	footer {
	margin-top: 200PX;
}
	footer ul{
		display: block;
	}
	footer li{
    	padding: 10px 0;		
	}
	footer li:after {
    	content: "";
	}
/*--------------header分スペース用-------------*/
	main {
    	padding-top: 50px;
	}
/*--------ページトップボタン設定40*40----------*/
	.pagetop-btn a{
		width: 50px;
		height: 50px;
	}
	.pagetop-btn a:before {
    	width: 15px;
    	height: 15px;	
	}
}
/*//////////////////////////////////////////////
       ビューポートの幅が490px以下の場合のcss
///////////////////////////////////////////////*/
@media (max-width:490px){
/*-------------copyrightサイズ---------------*/
	.copyright {
    	font-size: 12px;
	}
		.sp{
		display: block;
	}
}