@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}

/* ヘッダー
------------------------------------------------------------*/
#header{
    position: relative;
    overflow:hidden;
    width:100%;
    height:568px;
}

#header img{
    position:absolute;
    left:50%;
    width:1280px;
    height:568px;
    margin-left:-640px;
}

#slogan{
    position: absolute;
    top: 50%;
    width: 100%;
    -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
    color: #fff;
    line-height: 1.2;
    text-align: center;
}

#slogan h1{
    font-size: 40px;
    font-family: 'Pacifico', cursive;
    margin-bottom: 20px;
    font-weight:normal;
    text-shadow: 2px 2px 1px #808080,
    	-2px 2px 1px #808080,
    	2px -2px 1px #808080,
    	-2px -2px 1px #808080;
}

#slogan h2{
    font-size: 20px;
    font-weight:normal;
    text-shadow: 1px 1px 1px #808080,
    	-1px 1px 1px #808080,
    	1px -1px 1px #808080,
    	-1px -1px 1px #808080;
}


/* フッター
------------------------------------------------------------*/
#footer{
    clear: both;
    padding: 50px 10px 50px 0;
    text-align: center;
    font-size: 12px;
}


/* 共通
------------------------------------------------------------*/
h1, h2,h3{
    font-family: 'Josefin Sans', 'Noto Sans JP',serif;
}

section h2{
  color: #333;/*文字色*/
  border-bottom: solid 3px #364e96;/*下線*/
}

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

section{clear:both;}

section h2{
    font-size: 18px;
    font-weight:normal;
    text-align: center;
}

section h3{
    font-size: 14px;
    font-weight:normal;
    text-align: center;
}

.inner{
    width: 94%;
    margin: 0 auto;
/*    padding-bottom: 50px;*/
}

.col2 li{
    display: inline-block;
    width: 100%;
    margin: 20px 0 20px 0;
}


/* SEC01 VISION
------------------------------------------------------------*/

.vision{
    width: 70%;
    margin: 0 auto;
    padding-top: 20px;
/*    padding-bottom: 10px;*/
}
.vision figure{
    text-align: center;
}
.vision img{
    width: 40%;
    margin: 0 auto;
}


/*-------------------------------------
sec02 card-list----------------------
--------------------------------------*/
/* カードレイアウト部分をラッピングし、
Flexboxを指定"space-between"で各アイテムを均等に配置し、
最初と最後のアイテムを端に寄せます。*/
#cardlayout-wrap {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    margin: 2em auto;
    max-width: 960px;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

/* リンクテキストの下線を非表示 */
a.card-link {
    text-decoration: none;
}

/* カードレイアウト内の画像を幅いっぱいに表示 */
/*
#cardlayout-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
}

.card-figure {
    margin: 0;
    padding: 0;
}
*/

/* カードレイアウトのタイトル部分 */
.card-title {
    margin: 0.6em 0 0;
    color: #333;
    text-align: center;
    font-size: 1em;
}
.card-title1{
    border: double 5px #B5E61E;
}

.card-title2{
    border: double 5px #9AD9EA;
}

.card-title3{
    border: double 5px #FFC90E;
}

.card-title4{
    border: double 5px #C8BFE6;
}

.card-title5{
    border: double 5px #12B5CB;
}

.card-title6{
    border: double 5px #FEAEC9;
}


/* カードレイアウトの説明文部分 */
.card-text-tax {
    margin: 0;
    padding: 0.7em;
    color: #333;
}

/* カードレイアウトを1カラムで配置 */
.card-list {
    margin: 0.5em auto;
    padding: 0;
    width: 96%;
/*    background: #f0f0f0;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);*/
}

/* 画面幅768px以上の場合カードレイアウトを2カラムで配置 */
@media all and (min-width: 768px) {
    .card-list {
        margin: 0.5em 0;
        width: calc(96% / 2); /* 96%幅を2で割るという指定 */
    }
}

/* 画面幅992px以上の場合カードレイアウトを3カラムで配置 */
@media all and (min-width: 992px) {
    .card-list {
        width: calc(96% / 3); /* 96%幅を3で割るという指定 */
}
    
/* 最後の行が3列より少ない場合左寄せにレイアウトさせる */
    #cardlayout-wrap::after{
        content: "";
        display: block;
        width: calc(96% / 3);
    }
}



/* SEC04 STORY & SUCCESS
------------------------------------------------------------*/
/*
#sec04 h2{
    text-decoration: none;
}

#sec04{
    background: url(../img/i000_386-min.jpg) no-repeat 100% 100% fixed;
    background-size: cover;
    -webkit-background-size: cover;
    color: #fff;
    margin: 0 auto;
}
*/



/* SEC05 PROFILE
------------------------------------------------------------*/
/*
#sec05{
    padding-top: 50px;
}
*/

#sec05 dl{
    line-height: 1.2;
}

#sec05 dt{
    clear: left;
    float: left;
    display: block;
    width: 30%;
    margin-right: 10%;
    margin-bottom: 20px;
    text-align: right;
    line-height: 1.6em;
}

#sec05 dd{
    width: 60%;
    float: left;
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.6em;
}

#sec05 header{
    display: none;
}

#map{
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}

#map iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}
/*--------------------------
-----slick box layout-------
---------------------------*/
.slick-box {
  width: 80%;
  margin: 0 auto;
  background-color: white;
}
.slick-item {
  width: 100%;
  /*箱の高さを合わせる*/
  height: 30vw; /* ←一度コメントアウトしslickが完成したら戻す*/
  padding: 20px 0;
  /*slick cssがblockになっているので強制的にflexにする*/
  display: flex!important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
}
/*レスポンシブの設定*/
@media screen and (max-width:1024px){
  .slick-item {
    /*箱の高さを合わせる*/
    height: 48vw;
    padding: 40px 0;
  }
}
@media screen and (max-width:640px){
  .slick-box {
    width: 100%;
  }
  .slick-item {
    /*箱の高さを合わせる*/
    height: 80vw;
  }
}

/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
		padding-bottom: 120px;
	}
	section h2{
		padding: 70px 0 20px;
	}
	.txt h2{
		padding: 0 0 20px !important;
	}
}

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
  a#menu{
		display:none;
	}

	.panel{
		display:block !important;
	}

	#mainnav{
		position:fixed;
		top: 0;
		width:100%;
		z-index:500;
	}

	#mainnav ul{
		text-align: right;
		padding-right: 30px;
	}

	#mainnav li{
		display: inline-block;
		padding: 45px 10px 20px;
		font-size: 14px;
		font-weight: 300;
	}
	
  #mainnav a{
		color: #000;
	}
	
	#mainnav.changeNav{
		background: rgba(255,255,255,.9);
		border-bottom: 1px solid #d1d1d1;
	}
	
	#mainnav.changeNav li{
		padding: 20px 10px;
	}

	/* SEC02 MESSAGE
	-----------------*/
	.txt, .bg{
		width: 50%;
		float: left;
		display: table;
/*	background: #f6f6f6;*/
	}

	#sec02_02 .txt, #sec02_02 .bg{
		float: right;
	}

	.vMid{
		display: table-cell;
		padding: 0 100px;
		vertical-align: middle;
	}

	/* SEC05 PROFILE
	-----------------*/
/*
	#sec05{
		padding-top: 120px;
	}
*/
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}

@media only screen and (min-width: 641px){
	.col2 li{
		width: 40%;
		padding: 0 3%;
		vertical-align: top;
	}
}

@media only screen and (max-width: 640px){
	#map iframe{
	  width: 96% !important;
		left: 2%;
	}
}

@media only screen and (max-width: 799px){
	#slogan h1{
		font-size: 31px;
	}

	#slogan h2{
		font-size: 16px;
	}

  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #000;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #000;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: 0;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		right: 0;
		width: 100%;
		text-align: right;
		z-index:500;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display:block;
		padding:15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
	}

	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.col3 li{
		margin: 0 auto;
		display: block;
	max-width: 288px;
	}
}

@media only screen and (max-width: 1199px){
	section h2{
		padding: 50px 0 20px 0;
	}
	#sec01 h2{
		padding: 70px 0 20px;
	}
	.vMid{
		padding: 0 20px;
	}
}
