﻿
/*-------------------------------------------
	fonts
--------------------------------------------*/
@import url('css-EBGaramond400700NotoSansJP400700PinyonScriptRoboto400700.css');
/*--------------------------------------------------
	reset
--------------------------------------------------*/
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, del, ins, em, img, hr, q, strong, sub, sup, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}
ul, ol {
	list-style: none;
}
table, th, td {
	border: 0;
	border-collapse:collapse;
}
th {
	font-weight: normal;
	text-align: left;
}
img {
	border: 0;
	vertical-align:top;
}
a img {
border: 0;
}
a, a:link {
	color:#039;
}
a:hover {
color:#47B8FC;
filter:alpha( opacity=70 );
-ms-filter: alpha( opacity=07 );
-webkit-filter: alpha( opacity=70 );
-moz-filter: alpha( opacity=70 );
-o-filter: alpha( opacity=70 );
opacity:0.7;
transition: opacity .30s ease-in-out;
-ms-transition: opacity .30s ease-in-out;
-webkit-transition: opacity .30s ease-in-out;
-moz-transition: opacity .30s ease-in-out;
-o-transition: opacity .30s ease-in-out;
}
body {
  -webkit-text-size-adjust: 100%;
}
div, ul, dl, dt, dd, p, h1, h2, h3, h4, h5, h6 {
	zoom: 1;
}
html {
  font-size: 62.5%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
}
body {
  font-family:'Roboto','Noto Sans JP','游ゴシック Medium',YuGothic,YuGothicM,'メイリオ',Meiryo,sans-serif;
  color:#333; 
  font-size: 14px;
  font-size: 1.4rem;
  line-height:1.8;
  letter-spacing: 0.02em;
  font-weight: 400;
  background : #fff;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

@media screen and (max-width:768px){
img {
  max-width: 100%;
  height: auto;
}
}
/*--------------------------------------------------
	common
--------------------------------------------------*/
#wrapper{
 display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#footer {
  margin-top: auto;
}

.inner{
width:950px;
margin:0 auto;
}

@media screen and (max-width:950px){
#top .inner{
width:100%;
margin:0;
} 
}
@media screen and (max-width:768px){
.inner{
width:100%;
margin:0;
box-sizing:border-box;
}
.innersec{
padding:0 20px
}
}

/*--------------------------------------------------
	header
--------------------------------------------------*/
.headcont,
.gnavbox{
width:950px;
margin:0 auto;
}

.headcont {
display: flex;
align-items: flex-start;
justify-content: space-between;
}
#header a{
text-decoration:none;
}

#header .logo {
margin-top:10px;
}
#header ul.headnavi{
display: flex;
margin-top:10px;
}
#header ul.headnavi li{
text-align:center;
margin-left:15px;
}
#header ul.headnavi li.gnavibtn{
display: none;
}
#header ul.headnavi li a,
#header ul.headnavi li p{
display:block;
width:157px;
line-height:35px;
font-size:16px;
font-family: 'EB Garamond', serif;
font-weight: 600;
color:#fff;
letter-spacing: 0.08em;
}
#header ul.headnavi li:nth-child(1) a{/* changed on 201020 */
background:#D8BF10;
/* close
background:#ccc;
color:#eee;
*/
}
#header ul.headnavi li:nth-child(2) a{
background:#25AFE6;
}


@media screen and (max-width:768px){
.headcont,
.gnavbox{
width:100%;
margin:auto;
}


#header .logo {
	margin:15px 0 0 10px;
	line-height:1;
}
#header .logo img{
width:120px;
}
#header ul.headnavi{
margin-top:0;
align-items: center;
}
#header ul.headnavi li{
margin-left:2px;
}

#header ul.headnavi li p,
#header ul.headnavi li a{
width:65px;
height:50px;
line-height:50px;
font-size:11px;
}
#header ul.headnavi li.gnavibtn a{
width:50px;
}

#header ul.headnavi li.gnavibtn{
display:block;
}
#spbtn {
		position: relative;
		display: block;
		float: right;
		width: 42px;
		height: 42px;
		z-index: 3;
	}
	#spbtn span {
		position: absolute;
		display: block;
		background: #666;
		width: 24px;
		height: 1px;
		left: 12px;
		transition: all 0.4s;
		-webkit-transition: all 0.4s;
		-moz-transition: all 0.4s;
	}
	#spbtn span:first-child {
		top: 16px;
	}
	#spbtn span:nth-child(2) {
		margin-top: -1px;
		top: 50%;
	}
	#spbtn span:last-child {
		bottom: 16px;
	}
	
	
	#spbtn.gnavon {
	z-index:9999;
	}
	#spbtn.gnavon span{
	background:#fff;
	
	}
	#spbtn.gnavon span:first-child {
		-webkit-transform: translateY(9px) rotate(45deg);
		-moz-transform: translateY(8px) rotate(45deg);
		-ms-transform: translateY(8px) rotate(45deg);
		transform: translateY(8px) rotate(45deg);
	}
	#spbtn.gnavon span:nth-child(2) {
		opacity: 0;
	}
	#spbtn.gnavon span:last-child {
		-webkit-transform: translateY(-8px) rotate(-45deg);
		-moz-transform: translateY(-8px) rotate(-45deg);
		-ms-transform: translateY(-8px) rotate(-45deg);
		transform: translateY(-9px) rotate(-45deg);
	}
}/*768px*/



/*--------------------------------------------------
	global navi
--------------------------------------------------*/
.gnavbox {
	position: relative;
	margin-top:20px;
}
#gnavi{
width:100%;
display: flex;
justify-content: space-between;
font-size:1.5rem;
font-weight:700;
letter-spacing: 0.1em;
}

#gnavi>li{
position: relative;
width:33.33%;
line-height: 43px;
text-align: center;
z-index:2;
}

#gnavi li p:hover {
cursor: pointer;
color:#68B8E3;
}
#gnavi li p.navon{
color:#68B8E3;
}
#gnavi li:hover > ul{
display: block;
}


/* sub-menu */
#gnavi ul{
display: none;
position: absolute;
width:100%;
top: 43px;
left: 0;
z-index:99999;
opacity: 0.9;
filter: alpha(opacity=90);
}

#gnavi ul li{
margin-bottom:1px;
background: #68B8E3;
}

#gnavi ul li a{
display:block;
width:100%;
padding:15px 0px;
height: auto;
line-height: 1;
font-size:1.3rem;
color:#fff;
text-decoration: none;
white-space: nowrap;
}

#gnavi ul li a:hover{
color:#fff;
background: #264359;
}



/************************************************/

@media screen and (max-width:768px){

.gnavbox {
	display: none;
	position: fixed;
	margin-top:0;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(66, 93, 156,1);
	z-index: 990;
	transition: opacity .6s ease, visibility .6s ease;
   }

#gnavi{
margin-top:50px;
padding:0 5%;
flex-direction: column;
}
#gnavi>li{
width:100%;
line-height: auto;

}
#gnavi>li+li{
margin-top:30px;
}
#gnavi li p:after{
content: "";
display: block;
border-bottom:2px solid #25AFE6; 
width:25px;
margin:0 auto 10px;
}
#gnavi li p,
#gnavi li p:hover{
color:#fff;
}
#gnavi li p.navon{
color:#fff;
}
#gnavi ul li a:hover{
background:none;
}

/* sub-menu */
#gnavi li ul{
display:block;
position: relative;
top: auto;
left: auto;
opacity: 1;
filter: alpha(opacity=100);
}

#gnavi li ul li{
margin-bottom:0;
background:none;
}

#gnavi li ul li a,
#gnavi li ul li div,
#gnavi li ul li a:hover{
padding:10px 0;
color:#fff;
white-space: nowrap;
font-weight:normal;
}



}/*768px*/



/*--------------------------------------------------
	main
--------------------------------------------------*/
.contentswrap{
padding-bottom:60px;
}
.contentstitle{
width:100%;
height:100px;
text-align:center;
}
.contentstitle h1{
padding-top:35px;

font-weight: bold;
font-size:27px;
color:#fff;
letter-spacing: 0;
text-shadow: 0 0 10px #000;
}


#maincontents{
padding:50px 0;
}
.lead{
margin-bottom:50px;
}
.sec{
margin-top:80px;
}
.stitle{
	position: relative;
	margin-bottom:10px;
	padding: 0 0 0 .6em;
	border-left: 6px solid #001A43;
	font-size:1.6em;
	font-weight:700;
	color:#396CA6;
	line-height:1.5;
}
.stitle::before {
	position: absolute;
	left: -6px;
	bottom: 0;
	content: '';
	width: 6px;
	height: 70%;
	background-color: #52A6D4;
}
.stitle:after{
	position: absolute;
	left: 0;
	bottom: 0;
	content: '';
	width: 100%;
	height: 0;
}
.stitle2{
	font-size:1.6em;
	font-weight:700;
	color:#396CA6;
	line-height:1.5;
}

.mt10{
margin-top:10px;
}
.mt30{
margin-top:30px;
}
.mt80{
margin-top:80px;
}
.ctxt{
color:#28435B;
font-weight:700;
}
.flx{
display: flex;
justify-content: space-between;
}

@media screen and (max-width:768px){
.contentswrap{
padding-bottom:30px;
}
.lead{
margin-bottom:50px;
padding:0 10px;
}
.sec{
margin-top:50px;
padding: 0 20px;
}
.stitle{
	font-size:1.8rem;
}
}/*768px*/



/*--------------------------------------------------
	footer
--------------------------------------------------*/
.rtop {
	position: fixed;
	bottom: 20px;
	right: 20px;
}
.rtop img{
width:70px;
height:70px;
}

#footer {
	width:100%;
	background:#f3f3f3;
	border-top:5px solid #29435C;
}
#footer .ftr_box{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:20px 0 15px;
	border-bottom:1px solid #d5d5d5;
}
#footer .ftr_logo{
width:200px;
}
#footer .ftr_box ul{
	display: flex;
	justify-content: flex-end;
	width: calc(100% - 200px);
}
#footer .ftr_box ul li+li{
	margin-left:30px;
}
#footer .ftr_box ul li a{
	padding-left:10px;
	font-size:0.9em;
	color:#333;
	text-decoration:none;
	background:url(../image/ftr_arrow.png) no-repeat left 3px;
}
#footer .ftr_box ul li a:hover{
	color:#4A92C4;
	text-decoration:underline;
}
.copy{
	padding:20px 0;
	text-align:center;
	border-top:1px solid #fff;
}
.copy p{
	font-size:0.7em;
	color:#666;
	letter-spacing:0.06em;
}

@media screen and (max-width:768px){
.rtop {
	position:inherit;
	text-align:center;
	background:#29435C;
}
.rtop a{
	position:inherit;
	text-align:center;
	width:100%;
}

.rtop img{
width:60px;
height:60px;
}


#footer .ftr_box{
flex-direction: column;
	padding-bottom: 0;
}

#footer .ftr_logo{
width:100%;
text-align:center;
}
#footer .ftr_box ul{
width:100%;
margin-top:20px;
flex-wrap: wrap;
justify-content: space-between;
}
#footer .ftr_box ul li+li{
	margin-left:0;
}
#footer .ftr_box ul li{
	width:50%;
	border-top:1px solid #ccc;
}
#footer .ftr_box ul li:nth-child(odd) {
  border-right: 1px solid #ccc;
}
#footer .ftr_box ul li a{
	display:block;
	padding:10px 0;
	text-align:center;
	background:none;
}
#footer .ftr_box ul li a:hover{
	color:#333;
	text-decoration:none;
}
}/*768px*/

/*--------------------------------------------------
	clearfix
--------------------------------------------------*/

.cf:after,
.sec:after{
	content: "";
	display: block;
	clear: both;
}

.cf,
.sec{
	min-height: 1%; /* for Firefox　*/
	zoom: 1;
}

.forpc {
	display: block;
	@media screen and (max-width:768px){
		display: none;
	}
}

.forsp {
	display: none;
	@media screen and (max-width:768px){
		display: block;
	}
}