@charset "UTF-8";
@import url("style.css");

/*================================================
 *  共通
 ================================================*/
 
/*  見出し */
.midashi01 {
	margin: 0 0 30px 0;
	padding: 5px 10px 6px 10px;
	background-color: #0082cd;
	border-radius: 6px;
}
.midashi01_2 {
	margin: 40px 0 15px 0;
}
.midashi01 span {
	display: block;
	background: rgb(0,122,126);
	background: linear-gradient(90deg, rgba(0,60,129,1) 75%, rgba(0,60,129,0) 100%);
	border-left: 5px solid rgb(216, 214, 214);
	font-size: 24px;
	color: #fff;
	font-weight: bold;
	padding: 6px 0 6px 15px;
}

#sub_con_info_box a {
	color: #000;
	text-decoration: none;
}


/*================================================
 *  トップページ
 ================================================*/
#hero_box {
	width: 100%;
	background-image: url(../image/hero_bg.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
#hero_box figure {
	text-align: center;
	padding: 110px 20px;
}
#hero_box img {
	width: 708px;
}

#strength_box {
	text-align: center;
}
#strength_box img {
	max-width: 90%;
}
#shinrai_box {
	background-image: url(../image/logo_bg.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto;
}
#shinrai_box p{
	font-size: 17px;
}
#shinrai_box p:not(:first-child) {
	margin-top: 30px;
}



.clear {
    clear:both;
}

/*================================================
 *  事業内容
 ================================================*/
#bg_box_service {
	background-image: url(../image/bg_service.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	width: 100%;
}
#catch_service > h3 {
	font-size: 30px;
	font-weight: bold;
}
#catch_service > p {
	font-size: 17px;
	margin-top: 1em;
}
#hinmoku_box {
	margin-top: 30px;
}
#hinmoku_box h4 {
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	border: none;
	background-color: rgb(0,130,205,0.8);
	padding: 7px 15px;
	margin: 0;
}
#hinmoku_box ul {
	display: flex;
	flex-wrap: wrap;
	background-color: rgb(228,235,239,0.8);
	padding: 15px;
}
#hinmoku_box li {
	font-size: 17px;
	min-width: 40%;
	margin-top: 7px;
	margin-bottom: 7px;
	line-height: 140%;
}
#ph_service {
	margin-top: 40px;
}
#ph_service img {
	width: 456px;
}
#ph_service #ph_service01 {
	text-align: left;
}
#ph_service #ph_service02 {
	text-align: right;
}
#ph_service figcaption {
	font-size: 16px;
}

/*================================================
 *  会社概要　and　会社沿革
 ================================================*/
#bg_box_profile {
	background-image: url(../image/bg_profile.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	width: 100%;
}
#bg_box_history {
	background-image: url(../image/bg_history.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	width: 100%;
}
.pro-his table {
	width: 100%;
}
.pro-his th, .pro-his td {
	font-size: 17px;
	border: solid 1px #555;
	padding: 15px 20px;
	line-height: 180%;
}
#pro_box table {
	background-color: rgb(210, 229, 245, 0.7);
}
#pro_box th {
	width: 140px;
}
#his_box table {
	background-color: rgb(255, 244, 225, 0.7);
}
#his_box th {
	width: 120px;
}

#pro_box dd a {
	color: #000;
	text-decoration: none;
}


/*================================================
 *  アクセス
 ================================================*/
#bg_box_access {
	background-image: url(../image/bg_access.png);
	background-repeat: no-repeat;
	background-size: 100% auto;
	width: 100%;
}
#access_box h3 {
	font-size: 20px;
	color: #003c81;
	border-bottom: solid 2px #003c81;
}
#ichinomiya {
	margin-top: 70px;
}
#access_box p {
	font-size: 17px;
	margin: 15px 0;
}
#access_box p a {
	color: #000;
	text-decoration: none;
}
.map_box {
	
}
.googlemap-box {
	max-width: 850px;
	margin: 0 auto;
}
.GoogleMap{
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 70%;/*比率をお好みで*/
	border: solid 1px #777;
	box-sizing: border-box;
}
.GoogleMap iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*================================================
 *  タブレット向けデザイン
 ================================================*/
/* スクロールバーを考慮して20px大きいサイズで切り替え */
@media screen and (max-width:979px) {

}


/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width:767px) {

	/*　スマホ　ヒーローイメージ　*/
	#hero_box {
		background-image: url(../image/hero_bg_sp.png);
	}
	#hero_box figure {
		padding: 70px 10px;
	}

	#strength_box img {
		max-width: 85%;
	}
	#shinrai_box {
		background-image: url(../image/logo_bg.png);
		background-position: center;
		background-repeat: no-repeat;
		background-size: 90%;
	}
	#shinrai_box p{
		font-size: 15px;
	}
	#shinrai_box p:not(:first-child) {
		margin-top: 20px;
	}
	
	/*   スマホ　h3見出し、h4見出し  */
	.midashi01 {
		margin: 0 0 15px 0;
	}
	.midashi01 span {
		font-size: 16px;
	}
	.midashi01_2 {
		margin: 30px 0 15px 0;
	}

	h4 {
		font-size:15px;
	}

	#sub_con_info_box a {
		color: #0758d1;
		text-decoration: underline;
	}

	/*================================================
 	*  スマホ　事業内容
 	================================================*/
	 #bg_box_service {
		background-image: url(../image/bg_service_sp.png);
	}
	#catch_service > h3 {
		font-size: 17px;
	}
	#catch_service > p {
		font-size: 15px;
	}
	#hinmoku_box h4 {
		font-size: 15px;
	}
	#hinmoku_box ul {
		padding: 10px;
	}
	#hinmoku_box li {
		font-size: 15px;
		min-width: 90%;
		margin-top: 4px;
		margin-bottom: 4px;
		line-height: 140%;
	}
	#ph_service {
		margin-top: 30px;
	}
	#ph_service img {
		width: 85%;
	}
	#ph_service #ph_service01 {
		text-align: center;
	}
	#ph_service #ph_service02 {
		text-align: center;
		margin-top: 20px;
	}
	#ph_service figcaption {
		font-size: 15px;
	}

	/*================================================
	*  スマホ　会社概要　and　会社沿革
	================================================*/
	#bg_box_profile {
		background-image: url(../image/bg_profile_sp.png);
	}
	#bg_box_history {
		background-image: url(../image/bg_history_sp.png);
	}
	.pro-his th, .pro-his td {
		font-size: 15px;
		border: solid 1px #555;
		padding: 15px 10px;
		line-height: 160%;
	}
	#pro_box th {
		width: auto;
	}
	#his_box th {
		width: 74px;
	}
	#pro_box dd a {
		color: #0758d1;
		text-decoration: underline;
	}


	/*================================================
	*  スマホ　アクセス
	================================================*/
	#bg_box_access {
		background-image: url(../image/bg_access_sp.png);
	}
	#access_box p a {
		color: #0758d1;
		text-decoration: underline;
	}
	#access_box h3 {
		font-size: 17px;
		text-align: center;
		text-shadow    : 
       1px  1px 2px #ffffff,
      -1px  1px 2px #ffffff,
       1px -1px 2px #ffffff,
      -1px -1px 2px #ffffff,
       1px  0px 2px #ffffff,
       0px  1px 2px #ffffff,
      -1px  0px 2px #ffffff,
       0px -1px 2px #ffffff;
	}
	#ichinomiya {
		margin-top: 40px;
	}
	#access_box p {
		font-size: 15px;
		text-align: center;
	}
	#access_box p a {
		color: #0758d1;
		text-decoration: underline;
	}
	.googlemap-box {
		padding: 0;
	}
	.GoogleMap{
		padding-top: 120%;/*比率をお好みで*/
	}


}
