@charset "UTF-8";
/* CSS Document */

@media(max-width:480px){

#contents{
	width:100%;
	margin: 0 auto;
}


.contents_under{
	width:100%;
}


.main_visual{
	width:100%;
	padding-top:40%;
	background-image:url(../images/mainvisual2s.png);
	background-repeat:no-repeat;
	background-position:top;
	background-size: 100%;
	position:relative;
}



.bt_kigyo{
	display:none;
}

.bt_daihyou{
	display:none;
	
}

.main_area{
	width:94%;
	margin: 0 auto;
}

.mainleft{
	width:100%;
	
}

.right{
	display: none;
}

.philosophy_area1{
	width:100%;
	padding-top:30px;
}

.philosophy_area2{
	width:100%;
	margin-top:40px;
	position:relative;
	padding-bottom: 50px;
	
}

.philosophy_area2_1{
	width:100%;
	
}

.title1{
	width:100%;
	height:36px;
	margin-top:0px;
	background-image: url(../images/page2_1s.png);
	background-repeat: no-repeat;
	overflow: hidden;
}

.title2{
	width:100%;
	height:36px;
	margin-top:20px;
	background-image: url(../images/page2_2s.png);
	background-repeat: no-repeat;
	overflow: hidden;
}


.title3{
	width:100%;
	height:36px;
	margin-top:20px;
	background-image: url(../images/page2_3s.png);
	background-repeat: no-repeat;
	overflow: hidden;
}
	
.title4{
	width:107px;
	height:25px;
	margin: 0 auto;
}



.iframe_area{
	width:100%;
}



.textbox1{
	width:100%;
	margin: 0 auto;
	padding-top: 20px;
	display: inline-flex;
	justify-content: flex-start;
}

.textbox2{
	width:100%;
	margin: 0 auto;
	padding-top: 5px;
	display: inline-flex;
	justify-content: flex-start;
	padding-top: 20px;
}

.textbox3{
	width:100%;
	margin: 0 auto;
}

.textbox4{
	width:100%;
	margin: 0 auto;
	text-align:center;
	padding-top:20px;
	padding-bottom:20px;
}



.box1_1{
	width:100px;
	margin-top: 3px;
}

.box1_2{
	width:auto;
	margin-top: 3px;
}


.box2_1{
	width:100%;
	padding-top:20px;
	margin: 0 auto
}

.box2_2{
	width:131px;
	padding-top:20px;
	margin: 0 auto;
}
	
	
}

@media(min-width:481px){

#contents{
	width:940px;
	margin: 0 auto;
	background-image:url(../images/contents_base1.png);
	background-repeat:repeat-y;
}


.contents_under{
	width:940px;
	height:40px;
	background:url(../images/contents_base2.png);
	margin: 0 auto;
}


.main_visual{
	width:900px;
	height:160px;
	margin-top:0;
	margin-left:0px;
	background-image:url(../images/mainvisual2.png);
	background-repeat:no-repeat;
	background-position:top;
	padding:0px;
	position:relative;
}



.bt_kigyo{
	display:block;
	width:100px;
	height:20px;
	left:235px;
	top:25px;
	position:absolute;
}

.bt_daihyou{
	display:block;
	width:100px;
	height:20px;
	left:235px;
	top:45px;
	position:absolute;
	
}

.main_area{
	width:900px;
	margin-left:20px;
	padding:0px;
}

.mainleft{
	width:850px;
	margin-left:20px;
	margin-top:30px;
}

.right{
	width:260px;
	margin-top:30px;
	float:left;
}

.philosophy_area1{
	width:850px;
}

.philosophy_area2{
	width:620px;
	padding: 30px 3px;
	border: 1px solid #000;
	box-sizing: border-box;
	border-radius:5px;
	margin-top:40px;
	position:relative;
	
}

.philosophy_area2_1{
	width: 100%;
	
}

.title1{
	width:600px;
	height:36px;
	margin-top:0px;
	background-image: url(../images/page2_1.png);
	background-repeat: no-repeat;
}

.title2{
	width:600px;
	height:36px;
	margin-top:20px;
	background-image: url(../images/page2_2.png);
	background-repeat: no-repeat;
}


.title3{
	width:600px;
	height:36px;
	margin-top:20px;
	background-image: url(../images/page2_3.png);
	background-repeat: no-repeat;
}
	
.title4{
	width:107px;
	height:25px;
	margin-top:0px;
}



.iframe_area{
	width:600px;
	margin-top:20px;
	margin-left:40px;
}

.textbox{
	width:582px;
	margin: 0 auto 0;
}


.textbox1{
	margin-top:20px;
	margin-left:0px;
	width:850px;
}

.textbox2{
	padding-top:25px;
	margin-left:0px;
	width:600px;
}

.textbox3{
	width:582px;
	margin: 10px auto 0;
}

.textbox4{
	width:600px;
	text-align:right;
	margin: 10px auto 0;
}



.box1_1{
	width:35px;
	float:left;
}

.box1_2{
	width:550px;
	margin-left:15px;
	float:left;
}


.box2_1{
	width:420px;
	margin-top:20px;
	margin-right: 10px;
	float:right;
}

.box2_2{
	width:132px;
	margin-top:20px;
	margin-right: 20px;
	margin-left:0px;
	float:right;
}
	
}


