@charset "UTF-8";

/*-----------------------------------

	base

-----------------------------------*/
html {
    overflow-y: auto;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 62.5%;
	overflow-x: hidden;
}
body {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	font-size: 15px;
    font-size: 1.5em;
	color: #000000;
    line-height: 2;
	letter-spacing:0.05em;
	font-weight: 400;
	background: #ffffff;
	margin:0 !important;
	width: 100%;
}
body.open {
    height: 100vh;
    overflow: hidden;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
.contents_inner{
	max-width: 1180px;
    width: 95%;
	margin: 0 auto;
}
img {
    max-width: 100%;
    height: auto;
}
a, a:link, a:visited {
    color: #000000;
	text-decoration:none;
    cursor: pointer;
}
a:hover {
    opacity: 0.8;
	text-decoration:none;
}
.sp{
	display:none;
}
.pc{
	display:block;
}
.left{
	float: left;
}
.right{
	float: right;
}
@media screen and (max-width: 1180px) {
}
@media screen and (max-width: 840px) {
}
@media screen and (max-width: 640px) {
	body {
		font-size: 13px;
		font-size: 1.3em;
		line-height: 1.8em;
	}
    .sp{
        display:block;
    }
    .pc{
        display:none;
    }
}

/*-----------------------------------

	clearfix

-----------------------------------*/
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}
/*-----------------------------------

	header

-----------------------------------*/
header {
    width: 100%;
    position: fixed;
    top: 0;
    background: #fff;
    z-index: 999;
}
header .contents_inner {
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    -webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
    height: 120px;
}
header #logo {
    width: 271px;
    -ms-flex-item-align: center;
	align-self: center;
}
header #logo a {
    display: block;
}
header nav {
    -ms-flex-item-align: center;
	align-self: center;
}
header nav ul {
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    line-height: 1;
}
header nav ul li:not(:last-child) {
    margin-right: 40px;
}
header nav ul li a {
    font-size: 18px;
    text-align: center;
    display: block;
}
header nav ul li a span {
    display: block;
    color: #8BA499;
    margin-top: 10px;
}
.menu_btn_wrap {
    display: none;
}
@media screen and (max-width: 1180px) {
}
@media screen and (max-width: 840px) {
    header .contents_inner {
        height: 60px;
    }
    header #logo {
        max-width: 160px;
        width: 40%;
    }
    .menu_btn_wrap {
        display: block;
		width: 60px;
		height: 60px;
		cursor:pointer;
		background: #ffffff;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 999;
	}
	.menu_btn {
        width: 36px;
		height: 26px;
		display: block;
		position: absolute;
		top: 17px;
		left: 12px;
		background: #000;
		border-top: 12px solid #ffffff;
		border-bottom: 12px solid #ffffff;
		box-sizing: border-box;
		-moz-transition: all 0.3s;
		-webkit-transition: all 0.3s;
		transition: all 0.3s;
		z-index:999;
	}
	.menu_btn:before {
		content:'';
		position:absolute;
        width: 36px;
		height: 2px;
		background: #000;
		top:-12px;
		-moz-transition:all 0.3s;
		-webkit-transition:all 0.3s;
		transition:all 0.3s;
	}
	.menu_btn:after {
		content:'';
		position:absolute;
        width: 36px;
		height: 2px;
		background: #000;
		bottom:-12px;
		-moz-transition:all 0.3s;
		-webkit-transition:all 0.3s;
		transition:all 0.3s;
	}
	.menu_btn.active {
		background:#ffffff;
	}
	.menu_btn.active:before{
		-moz-transform:rotate(-135deg);
		-webkit-transform:rotate(-135deg);
		transform:rotate(-135deg);
		top:0;
		left:0;
	}
	.menu_btn.active:after {
		-moz-transform:rotate(135deg);
		-webkit-transform:rotate(135deg);
		transform:rotate(135deg);
		bottom:0;
		left:0;
	}
    header nav {
		width: 100%;
		height: auto;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		background: #fff;
		position: fixed;
        display:inline-block;
        opacity: 0;
        overflow: hidden;
		top: 60px;
        left: 0;
        padding: 20px;
		z-index: 999;
		box-sizing: border-box;
		-webkit-overflow-scrolling: touch;
		transition: 0.3s;
		-webkit-transition: 0.3s;
		-moz-transition: 0.3s;
		-o-transition: 0.3s;
		-ms-transition: 0.3s;
	}
	header nav.toggle{
        opacity: 1;
        overflow: visible;
	}
    header nav ul {
        -webkit-box-pack: center;
    	-ms-flex-pack: center;
    	justify-content: center;
    }
    header nav ul li a {
        font-size: 16px;
    }
}
@media screen and (max-width: 640px) {
    header nav ul li:not(:last-child) {
        margin-right: 20px;
    }
    header nav ul li a {
        font-size: 14px;
    }
}
/*-----------------------------------

	contents

-----------------------------------*/

/*-----------------------------------

	pagetop

-----------------------------------*/
#pagetop{
    position: fixed;
    right: 20px;
    bottom: 50px;
    cursor: pointer;
    z-index: 999;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #0099FF;
    border-radius: 50%;
    transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
}
#pagetop::after {
    content: "";
    width: 11px;
    height: 6px;
    background: url(../img/common/pagetop_icon_bl.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    margin: auto;
}
#pagetop:hover {
    background: #0099FF;
}
#pagetop:hover::after {
    background: url(../img/common/pagetop_icon_wh.png) no-repeat;
    background-size: contain;
}
@media screen and (max-width: 640px) {
}

/*-----------------------------------

	footer

-----------------------------------*/
footer {
    background: #C5D1CC;
}
footer .contents_inner {
    padding: 50px 0;
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    -webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
footer #f_logo {
    width: 271px;
}
footer #f_nav ul {
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    border-left: 1px solid #000;
}
footer #f_nav ul li {
    border-right: 1px solid #000;
    line-height: 1;
}
footer #f_nav ul li a {
    display: inline-block;
    padding: 0 20px;
}
footer small {
    display: block;
    text-align: center;
    padding: 30px 0;
    font-size: 15px;
}

@media screen and (max-width: 1180px) {
    footer #f_logo {
        width: 210px;
    }
    footer #address {
        font-size: 13px;
        letter-spacing: 0;
    }
    footer #address br.sp {
        display: inline-block;
    }
    footer #f_nav ul li a {
        font-size: 13px;
        padding: 0 15px;
        letter-spacing: 0;
    }
    footer small {
        padding: 20px 0;
        font-size: 13px;
    }
}
@media screen and (max-width: 840px) {
    footer .contents_inner {
        -webkit-box-orient: vertical;
      	-webkit-box-direction: normal;
      	-ms-flex-direction: column;
      	flex-direction: column;
        -webkit-box-align: center;
    	-ms-flex-align: center;
    	align-items: center;
    }
    footer #f_logo {
        margin-bottom: 20px;
    }
    footer #address {
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 640px) {
    footer .contents_inner {
        padding: 30px 0;
    }
}
