@charset "UTF-8";

#h2_title{
	background: url(../img/philosophy/philosophy_head.jpg);
}

/*-----------------------------------
	philosophy_block
-----------------------------------*/

#philosophy_block {
	margin: 120px 0 100px;
}
#philosophy_block h3 {
	font-size: 34px;
	font-size: 3.4rem;
	letter-spacing: 0.15em;
	text-align: center;
	color: #1c6dc9;
	position: relative;
}
#philosophy_block h3:before {
	content: "";
	display: block;
	width: 130px;
	height: 1px;
	background: #1c6dc9;
	position: absolute;
	top: 10px;
	left: 0;
}
#philosophy_block h3:after {
	content: "";
	display: block;
	width: 130px;
	height: 1px;
	background: #1c6dc9;
	position: absolute;
	top: 10px;
	right: 0;
}
#philosophy_block .left {
	width: 77%;
}
#philosophy_block .right {
	width: 23%;
}

#philosophy_block table {
	border-collapse: separate;
	margin-top: 50px;
	padding: 30px 0;
	border: 1px dashed #d2d2d2;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
	margin-right: 30px;
}
#philosophy_block table th {
	width: 160px;
	color: #1c6dc9;
	font-size: 20px;
	font-size: 2rem;
	letter-spacing: 0.1em;
	text-align: center;
	vertical-align: middle;
}
#philosophy_block table td {
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: bold;
	color: #272727;
	padding: 25px 10px 25px 0;
}

#philosophy_block .right img {
	margin-top: 50px;
}
#philosophy_block .right p {
	text-align: center;
	font-weight: bold;
	margin-top: 10px;
}

@media screen and (max-width: 840px) {

	#philosophy_block {
		margin-top: 60px;
	}
	#philosophy_block h3 {
		line-height: 130%;
	}
	#philosophy_block h3:before,
	#philosophy_block h3:after {
		top: 40px;
	}
	#philosophy_block table {
		padding: 0;
	}
	#philosophy_block table td {
		font-size: 15px;
		font-size: 1.5rem;
		padding: 15px 10px 15px 0;
		line-height: 150%;
	}

}

@media screen and (max-width: 640px) {

	#philosophy_block {
		margin: 40px 0 60px;
	}
	#philosophy_block h3 {
		font-size: 20px;
		font-size: 2rem;
		line-height: 140%;
		padding: 0 25px;
	}
	#philosophy_block h3:before,
	#philosophy_block h3:after {
		width: 40px;
		top: 25px;
	}
	#philosophy_block .left {
		width: 100%;
		float: none;
	}
	#philosophy_block .right {
		width: 100%;
		float: none;
		text-align: center;
	}
	#philosophy_block table {
		margin-top: 30px;
		padding: 10px;
		margin-right: 0;
	}
	#philosophy_block table th {
		display: block;
		width: 100%;
		padding: 5px 0 10px;
	}
	#philosophy_block table td {
		display: block;
		width: 100%;
		font-size: 14px;
		padding: 10px 0;
	}
	
	#philosophy_block .right img {
		margin-top: 20px;
		max-width: 260px;
	}

}

/*-----------------------------------
	philosophy_block
-----------------------------------*/

#local_block {
	margin-bottom: 50px;
}
#local_block h3 {
	margin-bottom: 70px;
}
#local_block .local_box {
	margin-bottom: 80px;
}
#local_block .local_box .text_box {
	width: 480px;
}
#local_block .local_box h4 {
	font-size: 24px;
	font-size: 2.4rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 130%;
	color: #1e90d1;
	margin-bottom: 10px;
}
#local_block .local_box h4 span {
	display: block;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 400;
	letter-spacing: 0.2em;
	margin-bottom: 15px;
	padding-bottom: 5px;
	color: #545454;
	border-bottom: 2px solid #1e90d1;
}
#local_block .local_box img {
	margin-top: 45px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	box-shadow: 0 15px 10px -5px rgba(146, 146, 146, 0.2);
}
#local_block .local_box p {
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 200%;
}
#local_block .btm_text {
	font-size: 20px;
	font-weight: 500;
	text-align: center;
	letter-spacing: 0.1em;
	color: #1989ca;
}

@media screen and (max-width: 840px) {

	#local_block .local_box .left {
		width: 47%;
	}
	#local_block .local_box .right {
		width: 47%;
	}

}

@media screen and (max-width: 640px) {

	#local_block {
		margin-bottom: 30px;
	}
	#local_block h3 {
		margin-bottom: 10px;
	}
	#local_block .local_box {
		margin-bottom: 20px;
	}
	#local_block .local_box .left,
	#local_block .local_box .right {
		width: 100%;
	}
	#local_block .local_box h4 {
		font-size: 20px;
		font-size: 2rem;
		text-align: center;
	}
	#local_block .local_box img {
		margin-top: 30px;
		box-shadow: none;
	}
	#local_block .local_box .text_box {
		width: 100%;
		margin-top: 20px
	}
	#local_block .btm_text {
		font-size: 16px;
		margin-top: 50px;
	}


}

/*-----------------------------------

	sns

-----------------------------------*/
#sns {
	margin-bottom: 150px;
}
#sns ul li {
    width: 24.2%;
    height: 74px;
    margin-left: 1%;
    float: left;
    position: relative;
}
#sns ul li a {
    width: 100%;
    height: 74px;
    font-family: 'メイリオ', 'Meiryo', verdana, 'ヒラギノ角ゴ Pro W3',
        'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic',
        Sans-Serif;
    font-size: 18px;
    letter-spacing: 0.025rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    display: block;
    padding-top: 12px;
    position: absolute;
    box-sizing: border-box;
    border-radius: 4px;
}
#sns ul li a span {
    padding: 15px 0 0 10px;
    display: inline-block;
}
#sns ul li a img {
    width: 32px;
    vertical-align: middle;
}
#sns ul li a:hover {
    top: 6px;
    box-shadow: none !important;
}
#sns ul li:first-child {
    margin-left: 0;
}
#sns ul li:first-child a {
    background: #31ae36;
    box-shadow: 0 5px 0 0 #248027;
}
#sns ul li:nth-child(2) a {
    background: #373737;
    box-shadow: 0 5px 0px 0px #000;
}
#sns ul li:nth-child(2) a img{
	width: 27px;
}
#sns ul li:nth-child(3) a {
    background: #4267b2;
    box-shadow: 0 5px 0px 0px #2f5093;
}
#sns ul li:nth-child(4) a {
    background: #df4d7e;
    box-shadow: 0 5px 0px 0px #bf3f6a;
}
#sns .line_box {
	width: 740px;
	margin: 60px auto 0;
	border: 3px solid #31ae36;
}
#sns .line_box h3 {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 30px;
	padding: 15px 0 15px 0;
	color: #fff;
	background: url(../img/index/icon_sns_line.png) #31ae36 no-repeat;
	text-align: center;
	background-position: 175px center;
}
#sns .line_box .text_box {
	width: 500px;
	padding-left: 30px;
	margin-top: 30px;
}
#sns .line_box .text_box p {
	font-size: 15px;
	font-weight: 500;
	line-height: 180%;
}
#sns .line_box .img_box img {
	border: 1px solid #ddd;
	margin-right: 50px;
	margin-bottom: 30px;
}

@media screen and (max-width: 840px) {

    #sns ul li {
        width: 24.25%;
        margin-left: 1%;
    }
    #sns ul li:first-child {
        margin-left: 0;
    }
    #sns ul li a {
        width: 100%;
        font-size: 14px;
    }
    #sns ul li a img {
        width: 20px;
    }
	#sns .line_box {
		width: 100%;
	}
	#sns .line_box .text_box {
		width: 60%;
		padding-left: 5%;
	}
	#sns .line_box .img_box {
		margin-right: 5%;
	}
	#sns .line_box .img_box img {
		margin-right: 0;
		margin-bottom: 20px;
	}
	#sns .line_sp {
		display: none;
	}
	#sns .line_box h3 {
		padding-left: 65px;
		text-align: left;
		background-position: 10px center;
	}

}

@media screen and (max-width: 640px) {
	#sns {
		margin-bottom: 80px;
	}
    #sns ul {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    #sns ul li {
        width: 100%;
        height: 40px;
        margin-left: 0;
        float: none !important;
        position: relative;
    }
    #sns ul li a {
        width: 100%;
        height: auto;
        font-size: 16px;
        padding: 8px 0;
    }
    #sns ul li a img {
        width: 10%;
    }
    #sns ul li a span {
        padding: 3px 0 0 10px;
    }
    #sns ul li:first-child,
    #sns ul li:nth-child(2),
    #sns ul li:nth-child(3) {
        margin-bottom: 20px;
    }
	#sns .line_box {
		display: none;
	}
	#sns .line_sp {
		display: block;
		margin-top: 40px;
	}
	#sns .line_sp img {
		display: block;
		margin:  0 auto;
	}
}