@charset "UTF-8";
/*
Theme Name: ENCOUNT
Description:ENCOUNT
Theme URI: テーマの URL
Author: beReady
Author URI: 作った人の URL
*/
body {
padding-top: 130px;
}

#mainVisual {
	width: 100%;
	height: 380px;
	background-color: #00c1ae;
	position: relative;
	padding-top: 90px;
}

#mainVisual h1 {
	color: #fff;
	font-size: 42px;
	font-weight: 200;
	display: block;
	text-align: center;
	letter-spacing: 0.1em;
	font-family: "HiraginoSans-W1", ".HiraKakuInterface-W1";
}
#mainVisual h1 span {
	padding-top: 24px;
	padding-bottom: 5px;
	letter-spacing: 0.05em;
	text-align: center;
	font-weight: 100;
	border-bottom: 1px solid #fff;
	position: relative;
	line-height: 1.0;
}
#mainVisual h1 span.small {
	font-size: 22px;
}

#mainVisual ul {
	width: 595px;
	margin: 53px auto 0 auto;
}
#mainVisual ul li {
	-webkit-flex-shrink:0;/*--- safari（PC）用 ---*/
    flex-shrink:0;
}
#mainVisual ul li:first-child {
	width: 193px;
}
#mainVisual ul li:nth-child(2) {
	width: 386px;
	margin-top: 20px;
}
#mainVisual ul li figure img{
	width: 100%;
}

/***********news*************/

#news {
	background-color: #e9e9e9;
	padding-top: 110px;
	padding-bottom: 40px;
}
#news > dl {
	overflow: hidden;
	box-sizing: border-box;
	padding: 15px 30px;
	background-color: #fff;
	-webkit-justify-content: flex-start; /* Safari */
  	justify-content:         flex-start;
  	-webkit-align-items: flex-start; /* Safari */
  align-items:         flex-start;
}
#news dl dt {
	background-color: #fff;
  	position: relative;
  	float: left;
  	width:  150px;
  	-webkit-justify-content: flex-start; /* Safari */
  justify-content:         flex-start;
  padding-top: 8px;
}
#news dl dt figure {
	width: 20px;
	margin-left: 20px;
}
#news dl dd {
	width: 100%;

}
#news dl dd div {
	width: 100%;
	position: relative;
	    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    padding: 15px 0;
    border-bottom: 1px dashed #e9e9e9;
}
#news dl dd div:last-child {
	border-bottom: none;
}
#news ul.pc {
	display: block;
}
#news ul.sp {
	display: none;
}
#news ul li h1 {
	padding-right: 20px;
}
#news ul li figure {
	width: 18px;
	padding-right: 25px;
}
#news ul li figure img {
	width: 100%;
}
#news dl dd time {
	width: 115px;
	color: #3d3d3d;
}
#news dl dd h2 {
	font-weight: normal;
}
#news dl dd a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}
/* ==========================================
  #target
========================================== */
#target {
	padding-bottom: 115px;
}
#target {
	margin-top: 120px;
}
#target h1 {
	font-size: 42px;
	font-weight: normal;
	letter-spacing: 0.1em;
	position: relative;
	display: block;
	text-align: center;
	margin: 0 auto 80px auto;
	line-height: 1.0;
	padding-bottom: 20px;
}
#target h1 span {
	border-bottom: 2px solid #3d3d3d;
	padding-bottom: 20px;
}
@media all and (-ms-high-contrast:none){
	#target h1 span {
		padding-bottom: 10px;
	}
}
.win #target h1 span{
    /*Windows (全バージョン)のみ*/
    padding-bottom: 10px;
}
#target h1:before {
	content: "";
    position: absolute;
    bottom: -25px;
    left: 50%;
    margin-left: -16px;
    border: 13px solid transparent;
    border-top: 13px solid #FFF;
    z-index: 2;
}
#target h1:after {
	content: "";
	position: absolute;
	bottom: -29px;
	left: 50%;
	margin-left: -17px;
	border: 14px solid transparent;
	border-top: 14px solid #3d3d3d;
	z-index: 1;
}
#target ul li p {
	font-size: 22px;
    text-align: center;
    font-weight: 200;
    position: relative;
    padding-bottom: 36px;
    margin-bottom: 36px;

}
#target ul li:hover p {
	-webkit-animation: up .5s forwards;
  	animation: up .5s forwards;
  	transition: 0.2s;
}

@-webkit-keyframes up {
  0% {
    -webkit-transform: translateY(-15px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
#target ul li p span {
	padding-bottom: 5px;
    border-bottom: 2px solid #00c1ae;
    margin-bottom: 6px;
    letter-spacing: 0.1em;
    display: inline-block;
    line-height: 1.0;
    color: #3d3d3d;
}
#target ul li p:after {
	content: "";
	background-image: url(images/top/arrow_down.svg);
	background-size: 15px auto;
	position: absolute;
	display: block;
	width: 15px;
	height: 10px;
	background-repeat: no-repeat;
	top: 133px;
	left: 0;
	right: 0;
	margin: auto;
}
#target ul li a {
	width: 300px;
	line-height: 1.0;
	padding: 31px 0;
	font-size: 18px;
	display: block;
	background-color: #00c1ae;
	color: #fff;
	vertical-align: middle;
	text-align: center;
	letter-spacing: 0.1em;
}


#target ul li:last-child p:after {
	top: 133px;
}
/* ==========================================
   SecWrap
========================================== */
.SecWrap {
	padding: 204px 0 100px 0;
    
    margin-top: -209px;
}
.SecWrap h1 {
	font-size: 28px;
	color: #00c1ae;
	text-align: center;
	letter-spacing: 0.1em;
	font-weight: normal;
	overflow: hidden;
	border-top: 1px solid #dadada;
	padding-top: 100px;
}
.SecWrap h1 span {
	position: relative;
	display: inline-block;
	margin: 0 2.5em;
	padding: 0 1em;
	text-align: left;
}
.SecWrap h1 span::before,
.SecWrap h1 span::after {
  position: absolute;
  top: 50%;
  content: '';
  width: 55px;
  height: 1px;
  background-color: #00c1ae;
}
.SecWrap h1 span::before {
  right: 100%;
}
.SecWrap h1 span::after {
  left: 100%;
}
.SecWrap ul {
	-webkit-align-items: flex-start; /* Safari */
	-ms-flex-align:　flex-start;/*--- IE10 ---*/
  	align-items: flex-start;
  	padding-top: 74px;
  	-webkit-justify-content: space-between; /* Safari */
  	justify-content: space-between;
  	-webkit-box-pack: space-between;
}
.SecWrap ul li {
	width: 475px;
}
.SecWrap ul li figure {
	width: 100%;
}
.SecWrap ul li figure img {
	width: 100%;
}
.SecWrap ul li h2 {
	font-size: 22px;
	letter-spacing: 0.1em;
	line-height: 1.63;
	font-weight: normal;
	color: #3d3d3d;
	font-weight: 200;
}
.SecWrap ul li p {
	font-size: 15px;
	line-height: 2.0;
	padding-top: 25px;
	margin: 0;
	color: #3d3d3d;
}


.SecWrap ul li h2.space {
	letter-spacing: 0.03em;
}
/* ==========================================
   suggest
========================================== */
#suggest {
	background-color: #e9e9e9;
	padding-bottom: 50px;
}
#suggest ul {
	padding: 92px 0 117px 0;
}
#suggest ul li {
	width: 480px;
}
#suggest ul li figure{
	width: 470px;
}
#suggest ul li figure img{
	width: 100%;
}
#suggest section ul li h1 {
	font-size: 34px;
	letter-spacing: 0.1em;
	font-feature-settings : "palt" 1;
	line-height: 1.7;
	color: #fff;
	font-weight: 200;
}
#suggest section#panf {
	background-color: #00c1ae;
}
#suggest section h2 {
	font-size: 22px;
	color: #00c1ae;
	letter-spacing: 0.1em;
	font-feature-settings : "palt" 1;
	line-height: 1.63;
	text-align: center;
	font-weight: 200;
	display: block;
	width: 80%;
	background-color: #fff;
	margin: -40px auto 0 auto;
	padding: 20px 0;
	position: relative;
}
#suggest section h2:after {
	content: "";
	position: absolute;
	bottom: -14px;
	left: 0;
	right: 0;
	margin: auto;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 14px 7.5px 0 7.5px;
	border-color: #ffffff transparent transparent transparent;
}
#suggest section p {
	line-height: 2.0;
	font-size: 15px;
	padding-top: 45px;
	margin-bottom: 60px;
}
#suggest section.panfsecond h2 {
	margin: 0 auto;
	width: 90%;
}
#gnav.fixed {
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 130px;
    background-color: #fff;
    z-index: 1000;
    border-top: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
    padding-top: 13px;
    padding-bottom: 13px;
}

@media screen and (max-width: 375px) {
	body {
		padding-top: 70px;
	}
	#header {
		border-bottom: 1px solid #dadada;
	}
	.SecWrap {
		padding: 35px 0 60px 0;
    	margin-top: -35px;
	}
	.SecWrap h1 {
		padding-top: 60px;
	}
	.SecWrap ul {
		-webkit-flex-wrap: wrap; /* Safari */
  		flex-wrap: wrap;
  		padding-top: 60px;
	}
	#mainVisual h1 span {
		font-size: 32px;
	}

	#mainVisual h1 span.small {
		font-size: 14px;
		width: 80%;
		margin: 20px auto;
	}
	#mainVisual h1 span:before,
	#mainVisual h1 span:after {
		width: 22px;
	}

	#news ul li {
	 	display: block;
	 	overflow: hidden;
	 	padding: 15px 5px 15px 30px;
	 }

	#news ul li a {
		color: #3d3d3d;
	}
	#news ul li h1 {
		padding-bottom: 10px;
		float: left;
		font-size: 16px;
		padding-right: 15px;
	}
	#news ul li figure {
		float: left;
		padding-right: 20px;
	}
	#news ul li time {
		padding-bottom: 10px;
		display: block;
		float: left;
		font-size: 12px;
	}
	#news ul li h2 {
		float: left;
		width: 57%;
		font-size: 13px;
		font-feature-settings : "palt" 1;
	}
	#news dl {
		-webkit-flex-wrap: wrap;
    flex-wrap: wrap;
	}
	#news dl dt {
		-webkit-flex-wrap: wrap;
	    flex-wrap: wrap;
	    width: 100%;
	}
	#news dl dd div {
		-webkit-flex-wrap: wrap;
	    flex-wrap: wrap;
	}
	#news dl dd time {
		width: 100%;
		padding-bottom: 5px;
	}
	#news dl dt figure {
		display: none;
	}

	
	.SecWrap ul li {
		width: 100%;
		margin-bottom: 40px;
	}
	#mainVisual {
		padding-top: 60px;
		height: 425px;
	}
	#mainVisual ul {
		width: 90%;
		margin: 30px auto 0 auto;
	}
	#mainVisual ul li:first-child {
		width: 29%;
    	margin-left: 5%;

	}
	#mainVisual ul li:nth-child(2) {
		width: 60%;
		margin-top: 40px;
	}
	#target h1 {
		font-size: 22px;
	}
	#target ul {
	  -webkit-flex-wrap: wrap; /* Safari */
	  flex-wrap: wrap;
	}
	#target {
		padding-bottom: 30px;
		margin-top: 80px;
	}
  #target ul li {
    width: 100%;
    margin-bottom: 80px;
  }
  #target ul li a {
  	width: 80%;
  	margin: 0 auto;
  	padding: 27px 0;
  }
  #target ul li p {
  	font-size: 18px;
  	padding-bottom: 26px;
    margin-bottom: 26px;
  }
  #target ul li p:after {
  	top: 122px;
  }
  #target ul li:last-child p:after {
  	top: 122px;
  }
  #suggest section h2,
  #suggest section.panfsecond h2 {
  	font-size: 18px;
  	width: 100%;
  }
  #medical h1 {
  	font-size: 20px;
  }
  #medical h1 span {
  	margin: 0 0.5em;
  }
  #suggest section ul li h1 {
  	font-size: 28px;
  }
  #suggest ul {
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap: wrap;
  }
  #suggest ul li {
  	width: 100%;
  }
  #suggest ul li:nth-child(2) {
  	margin-top: 40px;
  }
  #suggest ul li figure {
  	width: 100%;
  }
  #news {
	padding-top: 60px;
　}
  #news ul {
  	width: 90%;
  }
  

}



