@charset "utf-8";

html { font-size: 15px;}

body {
  font-family:'Noto Sans JP','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
	line-height: 1.8;
	letter-spacing: 0;
	color: #333333;
	overflow-x: hidden;
}

.clearFix:after{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	_zoom: 1;
}

a,a img,input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="image"]{
	-webkit-transition: 0.2s ease-out;
	-moz-transition: 0.2s ease-out;
	-o-transition: 0.2s ease-out;
	-ms-transition: 0.2s ease-out;
}

a:hover img,
input[type="button"]:hover,
input[type="submit"]:hover,
button[type="button"]:hover,
input[type="reset"]:hover,
input[type="image"]:hover{
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
}

hr{
	display: block;
  max-width: 110vw;
	margin: 50px -5% 50px;
	height: 0;
  border: 0 none;
	clear: both;
}

a{ color: #1f518e;}
a[href^="tel:"] { cursor: default; }

img{
	max-width: 100%;
	height: auto;
}

.flexbox{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ふわっと表示 */
.appear{
	opacity : 0;
	transition: .8s;
	transform : translate(0, 50px);	
}
.appear.scrollin {
	opacity : 1;
	transform : translate(0, 0);
}


/**************************************************
 text
**************************************************/
h2{
	margin: 0;
	font-size: 1.4rem;
	line-height: 1.2;
	letter-spacing: 0.2rem;
  text-align: center;
  text-indent: 0.5rem;
	color: #0e1a2e;
}
h2 small{
	font-size: 0.6rem;
	letter-spacing: normal;
}


/**************************************************
 nav
**************************************************/
nav ul{
	margin: 0;
	padding: 0;
	etter-spacing: -.4em;
	text-align: center;
}

nav ul li{
	display: inline-block;
	margin: 0;
	padding: 0;
	letter-spacing: normal;
	line-height: 1.0;
	list-style: none;
}

nav ul li a{
	position: relative;
	display: block;
	padding: 20px 0;
	color: #0e1a2e;
	font-weight: 500;
}
nav ul li a:hover{
	color: #1f518e;
	text-decoration: none;
}

nav ul li a::after {
  content: '';
	position: absolute;
  bottom: 0;
 	left: 25%;
  display: block;
  width: 0;
  border-bottom: 2px solid #1f518e;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
}
nav ul li a:hover::after { width: 50%;}


/**************************************************
 header
**************************************************/
header{
	position: fixed;
	top: 0;
	z-index: 100;
	width: 100%;
	height: 100px;
	margin: 0;
	padding: 20px 5vh;
	background-color: rgba(255,255,255,0.80);
}
header .flexbox{
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
	flex-wrap: nowrap;
}

h1{
	position: relative;
	width: 50%;
	max-width: 360px;
	line-height: 1;
}

h1 a.h1_wrap{
  -webkit-box-align: flex-end;
  -webkit-align-items: flex-end;
  -ms-flex-align: flex-end;
  align-items: flex-end;
}

h1 span{ display: inline-block;}

.logo_note{
	position: absolute;
	top: 0;
	left: calc(20% + 1.5%);
	font-size: 0.8rem;
	color: #7e7e7e;
}
.logo_image{ width: 20%;}
.logo_text{ width: 76%;}


/**************************************************
 globalNavi
**************************************************/
#globalNavi{
	width: 60%;
	max-width: 700px;
}

#globalNavi ul{
	margin: 0;
	padding: 0;
}

#globalNavi ul li{
	width: 25%;
	margin: 0;
	padding: 0;
	list-style: none;
}


/*=============================
.btn-trigger
=============================*/
.btn-trigger {
  position: absolute;
	top: 18px;
	right: 15px;
  width: 30px;
  height: 24px;
  cursor: pointer;
	display: none;
  transition: all .5s;
	z-index: 100;
}
.btn-trigger span {
  display: inline-block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all .5s;
}
.btn-trigger, .btn-trigger span {
  transition: all .5s;
}
.btn-trigger span:nth-of-type(1) {
  top: 0;
}
.btn-trigger span:nth-of-type(2) {
  top: 11px;
}
.btn-trigger span:nth-of-type(3) {
  bottom: 0;
}
.btn-trigger.active {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
.btn-trigger.active span:nth-of-type(1),
.btn-trigger.active span:nth-of-type(3) {
  width: 10px;
}
.btn-trigger.active span:nth-of-type(1) {
  -webkit-transform: translate(23px,8px) rotate(45deg);
  transform: translate(23px,8px) rotate(45deg);
}
.btn-trigger.active span:nth-of-type(3) {
  -webkit-transform: translate(23px,-8px) rotate(-45deg);
  transform: translate(23px,-8px) rotate(-45deg);
}

.open .btn-trigger{ right: -60px;}

.open .btn-trigger span {
  background-color: #fff;
  width: 30px;
}


/**************************************************
 contact
**************************************************/
.contact_wrap{
	background-color: #1f518e;
}

.contact_info{ color: #fff;}

.contact_wrap .flexbox{
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;	
}

.contact_wrap .flexbox > div{
	width: 50%;
	height: 200px;
	text-align: center;
	font-size: 1.2rem;
}

.contact_info{
	display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: center;
  -ms-flex-pack: justify;
  justify-content: center;
  align-items: center; /* 縦方向中央揃え */
  flex-wrap: wrap;
	
}

.contact_btn a{
	position: relative;
	width: 100%;
	height: 100%;
	color: #fff;
	background-color: #0e1a2e;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: center;
  -ms-flex-pack: justify;
  justify-content: center;
  align-items: center; /* 縦方向中央揃え */
  flex-wrap: wrap;	
	background-image: linear-gradient(to right, rgba(0,0,0,0) 50%, #1f518e 50%);
  background-position: 0 0;
  background-size: 200% auto;
  -webkit-transition: .2s;
	transition: 0.2s;
}
.contact_btn a::after{
	position: absolute;
	right: 3rem;
	top: calc(50% - 4px);
	content: '';
	display: inline-block;
  width: 8px;
  height: 8px;
	margin: 0 0 0 2rem;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.contact_btn a:hover{
	color: #FFFFFF;
	text-decoration: none;
  background-position: -100% 0;
}


/**************************************************
 footer
**************************************************/
#ftNavi ul li{ padding: 0 1rem;}

.ft_add{
	padding: 20px;
	text-align: center;
	background-color: #f5f5f5;
}

.ft_add h3{
	margin: 0;
	padding: 0 0 5px 0;
	font-size: 1.2rem;
}
.ft_add p{
	margin: 0;
	padding: 0;
}

.ft_btn{ margin: 15px 0 0;}

.ft_btn a{
	display: inline-block;
	padding: 0 10px;
	border-left: 1px solid #0e1a2e;
	color: #0e1a2e;
	font-size: 0.9rem;
}
.ft_btn a:first-child{ border: none;}
.ft_btn a:hover{ text-decoration: underline;}

.copyright{
	padding: 20px;
	background-color: #0e1a2e;
	color: #fff;
	font-size: 0.8rem;
	text-align: center;
}


/**************************************************
 Responsive
**************************************************/

@media screen and (max-width: 690px){
	
	html{ font-size: calc(0.9rem + ((1vw - 7.47px) * 0.0853));}
	
	/** header ********************/
	header{
		height: 60px;
		padding: 15px 10px;
	}
	
	h1{ width: 50%;}
	h1 a.h1_wrap{
		-webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;		
	}
	.logo_note{	display: none;}
	
	#globalNavi{ width: auto;}
	
	#globalNavi ul {
		display: block;
    position: fixed;
    top: 60px;
    right: -100vw;
    bottom: 0;
    width: 100vw;
    background: rgba(255,255,255,0.90);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: .5s;
    z-index: 3;
  }
	#globalNavi.open ul {	right: 0; }
	
	#globalNavi ul li{
		width: 100%;
		border-bottom: 1px dotted #ddd;
	}
	
	#globalNavi ul li a::after{ display: none}
	
	#globalNavi ul li a:hover{
		background-color: #0e1a2e;
		color: #fff;
	}
	
	#menu{ display: inline-block;}
	
	
	/** contact ********************/
	.contact_wrap .flexbox > div{
		width: 100%;
		height: 120px;
	}
	
	/** footer ********************/
	nav ul li{
		width: 49%;
		padding: 0;
	}
	nav ul li a::after{ display: none;}
	nav ul li a:hover{
		background-color: #1f518e;
		color: #fff;
	}
	
	.ft_btn a{
		display: block;
		border: none;
	}
	
}

