@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;
    text-align: left;
}
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%;}00000
img,abbr,acronym,fieldset{border:0;}

body{
	font: 16px/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: #0033cc;
	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:100%;
}

#header img{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

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

#slogan h1{
	font-size: 50px;
	letter-spacing: 8px;
	font-family: 'Pacifico', cursive;
	margin-bottom: 30px;
	font-weight:bold;
}

#slogan h2{
	font-size: 20px;
	font-weight:bold;
	color: #666666;
}






/* フッター
------------------------------------------------------------*/
hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

address {
  font-style: normal;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer {
  padding: 2rem;
  font-size: 14px;
  color: #000;
  background: #fff;
}

.footer__navi-heading {
  font-weight: 600;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 0.2rem;
}

.footer__navi li {
  margin-bottom: 1rem;
}

.footer__address {
  margin-bottom: 2rem;
}

.footer__address a {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .md-flex {
    display: flex;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .footer__address a {
    text-decoration: none;
    pointer-events: none;
  }
}

@media (min-width: 1024px) {
  .lg-flex {
    display: flex;
  }
}


/* 共通
------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6{
	font-family: 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
}

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

section{clear:both;}

section h2{
	font-size: 22px;
	font-weight:bold;
	color: #032280;
	text-align: center;
	margin-top: 0;
}




section h3{
	font-size: 30px;
	font-weight:bold;
	text-align: center;
	  position: relative;
  padding: 0.5rem;
}

section h3:before {
  position: absolute;
  bottom: 5px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #fef37f;
}

section h4{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #162a67;
}

p.center {text-align: center}
p.left {text-align: left}
p.right {text-align: right}

section h5{
	font-size: 30px;
	font-weight:bold;
	color: #fff;
	text-align: center;
	position: relative;
  padding: 0.5rem;
}

section h5:after {
  position: absolute;
  bottom: 5px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 10px;
  background: #fef37f;
}

h6 {
	font-size: 18px;
  position: relative;
  padding: 1rem .5rem;
}

h6:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  content: '';
  border-radius: 3px;
  background-image: -webkit-gradient(linear, right top, left top, from(#32dad4), to(#fef480));
  background-image: -webkit-linear-gradient(right, #32dad4 0%, #fef480 100%);
  background-image: linear-gradient(to left, #32dad4 0%, #fef480 100%);
}

.moji{
	font-size: 20px;
	color: #fef37e;
	text-align: center;
}

.moji2{
	font-size: 36px;
	color: #fef37e;
	text-align: center;
}


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

.inner2{
	width: 650px;
	margin: 10;
	padding-bottom: 30px;
	text-align: center;
}

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


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

.vision{
	width: 80%;
	margin: 0 auto;
	padding-bottom: 80px;
}


/* SEC02 MESSAGE
------------------------------------------------------------*/
.wrap{
	width: 80%;
	margin: 0 auto;
	padding-bottom: 80px;
}
.wrap2{
	width: 100%;
	margin: 0 auto;
	padding-bottom: 80px;
    background-color: #edece4;
}



.bg{
	line-height: 0;
}

.txt h2{
	padding: 0 0 10px !important;
}


/* SEC03 SERVICE MESSAGE STORY
------------------------------------------------------------*/
.col3 li{
	margin-bottom: 50px;
}

.col3 img{
	max-width: 200px;
	display: block;
	margin: -5px auto 20px;
}


.col4 li{
	margin-bottom: 50px;
}

.col4 img{
	max-width: 200px;
	display: block;
	margin: -5px auto 20px;
}




/* SEC04 STORY & SUCCESS
------------------------------------------------------------*/
#sec04{
	background: url(../images/bgSec04.jpg) no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	color: #000;
}

#sec04_2{
	background: url(../images/bgSec05.jpg) no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	color: #fff;
	text-align: center;
}

#sec04_3{
	background: url(../images/bgSec07.jpg) no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	color: #fff;
	text-align: center;
}

#sec04_4{
	background: url(../images/bgSec08.jpg) no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	color: #fff;
	text-align: center;
}



/* SEC05 PROFILE
------------------------------------------------------------*/
#sec05{
	margin-top: 0;
	background-color: #edece4;
}

#sec05 dl{
	line-height: 1.4;
}

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

#sec05 dd{
	width: 65%;
	float: left;
	text-align: left;
	margin-bottom: 20px;
	line-height: 1.4em;
}

#sec05 header{
	display: none;
}

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

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}




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

@media only screen and (min-width: 1200px){
	.inner{
    width: 1024px;
    padding-bottom: 120px;
    text-align: center;
	}

	section h2{
		padding: 70px 0 20px;
	}
	.txt h2{
		padding: 0 0 20px !important;
	}
}

@media only screen and (min-width: 800px){
	body{
		font-size:16px;
	}
	
  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;
		padding-left: 30px;
	}

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

	}
	
	#mainnav.changeNav li{
		padding: 20px 10px;
	}
	
	
	
	
	
	justify-content:flex-end; を指定.list-menu{
  margin-bottom: 50px;
}
	
.logo{
　//float: left;によって<logo>要素と<list-menu>要素が横並びになる
  margin:20px 0 0 30px;
  float:left;
}

.logo img{
　//logoのサイズ
  width:50px;
}

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

	#sec02_02 .txt, #sec02_02 .bg{
		float: right;
	}
	#sec02_03 .txt, #sec02_03 .bg{
		float: right;
		background-color: #edece4;
	}

	.vMid{
		display: table-cell;
		padding: 0 50px;
		vertical-align: middle;
	}
	
	/* SEC03 SERVICE MESSAGE STORY
	-----------------*/
	.col3{
		text-align: center;
	}

	.col3 li{
		display: inline-block;
		width: 30%;
		padding: 0 1.5%;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	.col4{
		text-align: center;
	}

	.col4 li{
		display: inline-block;
		width: 18%;
		padding: 0 1.5%;
		margin-bottom: 0;
		vertical-align: top;
		text-align: left;
	}
	
	/* 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: #fef481;
		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;
	}
}

/*ボタン*/
/* 001 */
.button001 a {
    background: #eee;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 10px;
    color: #000;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.button001 a:hover {
	text-decoration: none;
    background: #ffcc33;
    color: #FFF;
}


.button001 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #313131;
    border-right: 3px solid #313131;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button001 a:hover:after {
    border-color: #FFF;
}

/* 002*/
.button002 a {
    background: #ffff66;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 10px;
    color: #000;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.button002 a:hover {
	text-decoration: none;
    background: #f9f3ab;
    color: #000;
}


.button002 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #313131;
    border-right: 3px solid #313131;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button002 a:hover:after {
    border-color: #000;
}



/* NEWS 設定
------------------------------------------------------------*/



.news {
  padding: 50px 0;
  background: #faf8e0;
}


.inner3 {
  width: 80%;
  background-color: #fff;
  margin: 0 auto;
  padding: 10px 0 50px;
}


.sub_ttl {
  font-size: 30px;
  text-align: center;
  margin-bottom: 20px;
}

/* ここからがニュース記事のCSS */

.news_list {
  margin: 0 5%;
}

.news_list_item {
  padding: 10px 0;
  border-bottom: 1px solid #e2dccf;
}

.news_list_item:first-child {
  border-top: 1px solid #e2dccf;
}
.news_list_item a {
 position: relative;
 display: flex;
 padding-right: 30px;
}

.news_list_date {
  font-size: 15px;
  display: flex;
  margin-right: 15px;
  align-items: center;
}

.news_item {
  background: #fef37f;
  border-radius: 14px;
  width: 6em;
  /* 親要素の文字サイズを基準 */
  text-align: center;
  margin-left: 20px;
}

.arrow {
  width: 25px;
  height: 1px;
  background: #e2dccf;
  position: absolute;
  top: 50%;
  right: 0;
}

.arrow::after {
  content: "";
  display: block;
  width: 6px;
  height: 1px;
  background: #e2dccf;
  transform: rotate(45deg);
  position: absolute;
  right: 0px;
  bottom: 2px;
}


@media screen and (max-width: 1024px) {
    .news_list_item a {
        display: block;
    }
}

@media screen and (max-width: 769px) {
    .news_list_item a  {
        font-size: 14px;
    }


}
@media screen and (max-width: 480px) {
    .arrow {
        display: none;
    }
    .news_list_item a {
        padding-right: 0;
    }
}
/*記事*/

.box-017 {
    max-width: 85%;
    margin: 0 auto;
    padding: 1.5em 2.5em 2.5em 2.5em;
    border-top: 5px solid #ccb996;
    border-radius: 3px;
    background-color: #eeede1;
}

.box-018 {
    max-width: 85%;
    margin: 0 auto;
    padding: 1.5em 2.5em 2.5em 2.5em;
}

.box-017 > div {
    margin-bottom: .5em;
    color: #a3906d;
    font-weight: 600;
    font-size: 1.05em;
}

.box-017 > p {
    margin: 0;
    color: #333;
}

.box-017 > h4 {
    margin: 0;
    color: #a3906d;
}



/*テーブル組み換え*/
table {
  margin: 5px auto;
}
.tbl-r02 th {
  color: #000;
  padding: 5px;
}
.tbl-r02 td {
  padding: 5px;
}
 
@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
  .tbl-r02 {
    width: 80%;
  }
  .tbl-r02 th,
  .tbl-r02 td {
　　border-bottom: none;
    display: block;
    width: 100%;
  }
}
