#footerwrap {
	width:100%;
	background-color:#1C5172;
}
.primary {
	margin-top:10px;
	margin-bottom:50px;
	background-color:rgba(0,0,0,0.4);
	box-shadow: 3px 3px 5px rgba(0,0,0,0.4);
	width:1040px;
	padding-top:10px;
	padding-left:20px;
	padding-right:20px;
	padding-bottom:50px;
	color:#000;
	background-color:#fefefe;
}
.primary a {
	color:#0000EE;
}
.primary a:hover {
	color:#0000EE;
}
#markinfo img {width:22px;height:20px;margin-top:-5px;vertical-align:middle;}
#markinfo .nb {white-space: pre;}
#find_box {
	width:100%;
}
#find_box .find_row {
	display:flex;
	border-top:solid 1px #ccc;
	border-left:solid 1px #ccc;
	border-right:solid 1px #ccc;
	border-bottom:solid 1px #ccc;
	justify-content: center;
	align-items: center;
	background-color:#eee;
}
#find_box .find_row:nth-child(1) {
	border-bottom:none;
}
#find_box .find_row:nth-child(3) {
	margin-top:5px;
}
#find_box .find_l {
	width:30%;
	padding:5px;
}
#find_box .find_r {
	width:70%;
	border-left:solid 1px #ccc;
	text-align:left;
	padding:5px;
	background-color:#fff;
}
#find_box .f_btn {
	display:inline-block;
	border:solid 1px #666;
	text-align:center;
	margin:2px;
	padding-left:5px;
	padding-right:5px;
	cursor:pointer
}
#find_box .f_btn:hover {
	background-color:#C5E8EF;
}
#find_box .selected_btn {
	background-color:#C5E8EF;
}
#find_box #fstr {width:70%;}
#find_box #submitbtn {
	background-color:#0277A5;
	color:#fff;
	border:none;
	border-radius: 5px 5px 5px 5px;
}
#find_box #submitbtn:hover {
	background-color:#149AC4;
}
/*ここから検索結果*/
#find_result_box #f_headarea {
	width:100%;
	position:relative;
	height:60px;
}
#find_result_box #f_headarea .f_head {
	position:absolute;
	border:solid 1px #ccc;
	height:29px;line-height:28px;
	background-color:#eee;
	font-size:14px;
	text-align:left;
	text-indent:3px;
}
#find_result_box #f_headarea #f_01 {left:0px;top:0px;width:25%;}
#find_result_box #f_headarea #f_02 {left:0px;top:30px;width:25%;}
#find_result_box #f_headarea #f_03 {left:25%;top:0px;width:25%;}
#find_result_box #f_headarea #f_04 {left:25%;top:30px;width:45%;}
#find_result_box #f_headarea #f_05 {left:50%;top:0px;width:20%;}
#find_result_box #f_headarea #f_06 {left:70%;top:30px;width:30%;}
#find_result_box #f_headarea #f_07 {left:70%;top:0px;width:15%;}
#find_result_box #f_headarea #f_08 {left:85%;top:0px;width:15%;}
#find_result_box .f_corparea {
	width:100%;
	position:relative;
	height:80px;
	border:solid 1px #ccc;
	margin-bottom:-1px;
}
#find_result_box .f_corparea .f_info {
	position: absolute;
	display: flex;
	align-items: center;   /* 縦方向の中央揃え */
	justify-content: flex-start; /* 横方向の左揃え（必要なら center でもOK） */
	font-size: 14px;
	line-height: 15px;
	height: 40px;
	text-align: left;
	word-break: break-all;
}
#find_result_box .f_corparea .cate {
	left:1%;top:0px;width:24%;
}
#find_result_box .f_corparea .comanum {
	left:1%;top:40px;width:24%;
}
#find_result_box .f_corparea .event_box {
	position:absolute;
	left:auto;right:76%;top:10px;
	height:26px;
	width:100px;
	text-align:right;
}

#find_result_box .f_corparea .event_box .event {
	display:inline-block;
	height:26px;
	width:25px;
	margin-right:1px;
}
#find_result_box .f_corparea .event_box .event img {
	width:100%;
}
#find_result_box .f_corparea .gakusei_message {
	position:absolute;
	left:7%;top:50px;
	width:17%;
	cursor:pointer;
}
#find_result_box .f_corparea .gakusei_message img{
	width:100%;
}
#find_result_box .f_corparea .c_name {
	left:25%;top:0px;width:25%;
}
#find_result_box .f_corparea .catc {
	left:25%;top:40px;width:45%;
}
#find_result_box .f_corparea .url {
	left:50%;top:0px;width:20%;
}
#find_result_box .f_corparea .tel {
	left:70%;top:0px;width:15%;
}
#find_result_box .f_corparea .fax {
	left:85%;top:0px;width:15%;
}
#find_result_box .f_corparea .addr {
	left:70%;top:40px;width:30%;
}



/*検索結果のスマホ・タブレットモード*/
@media screen and (max-width: 850px) {
#find_result_box #f_headarea {
	height:120px;
}
#find_result_box #f_headarea .f_head {
	height:19px;line-height:18px;
	font-size:14px;
}
#find_result_box #f_headarea #f_01 {left:0px;top:0px;width:70%;}
#find_result_box #f_headarea #f_02 {left:70%;top:0px;width:30%;}
#find_result_box #f_headarea #f_03 {left:0px;top:20px;width:100%;}
#find_result_box #f_headarea #f_04 {left:0px;top:40px;width:100%;}
#find_result_box #f_headarea #f_05 {left:0px;top:60px;width:100%;}
#find_result_box #f_headarea #f_06 {left:0px;top:80px;width:100%;}
#find_result_box #f_headarea #f_07 {left:0px;top:100px;width:50%;}
#find_result_box #f_headarea #f_08 {left:50%;top:100px;width:50%;}
#find_result_box .f_corparea {
	height:192px;
}
#find_result_box .f_corparea .f_info {
	height: 24px;font-size:14px;display:block;
}
#find_result_box .f_corparea .cate {
	left:1%;top:24px;width:100%;
}
#find_result_box .f_corparea .comanum {
	left:90%;top:24px;width:9%;text-align:right!important;
}
#find_result_box .f_corparea .event_box {
	left:1%;top:1px;right:auto;
	height:24px;line-height:16px;
	width:50%;
	text-align:left;
}
#find_result_box .f_corparea .event_box .event {
	
}
#find_result_box .f_corparea .event_box .event img {
	width:100%;
	max-width:20px;
}
#find_result_box .f_corparea .gakusei_message {
	position:absolute;
	left:50%;top:1px;
	height:20px;line-height:20px;
	width:49%;
	text-align:right;
}
#find_result_box .f_corparea .gakusei_message img {
	width:100%;
	max-width:160px;
}
#find_result_box .f_corparea .c_name {
	left:1%;top:48px;width:100%;
}
#find_result_box .f_corparea .catc {
	left:1%;top:72px;width:100%;
}
#find_result_box .f_corparea .url {
	left:1%;top:96px;width:100%;
}
#find_result_box .f_corparea .tel {
	left:1%;top:168px;width:50%;
}
#find_result_box .f_corparea .fax {
	left:50%;top:168px;width:50%;
}
#find_result_box .f_corparea .addr {
	left:1%;top:120px;width:100%;height:29px;
}
}
/*ここまで検索結果*/
/*ここから詳細画面*/
.primary #company {
	width:990px;
	border:solid 1px #666;
	padding-left:25px;
	padding-right:25px;
}
#company_in {
	margin-top:20px;
}
.primary #toparea {
	width:100%;
	height:80px;
}
.primary #toparea #top01 {
	width:410px;
	height:80px;
	float:right;
	position:relative;
}
.primary #toparea #top01 #logo {
	height:80px;
	width:160px;
	position:absolute;
	left:0px;
	top:0px;
}
.primary #toparea #top01 img {
	height:80px;
	width:160px;
}
.primary #toparea #top01 #cate {
	width:240px;
	height:40px;
	line-height:40px;
	top:0px;
	left:170px;
	text-align:center;
	font-size:18px;
	color:#0070C0;
	position:absolute;
}
.primary #toparea #top01 #top01_btm {
	width:240px;
	top:40px;
	left:170px;
	height:40px;
	position:absolute;
}
.primary #toparea #top01 #top01_btm #comanum {
	width:150px;
	height:40px;
	line-height:40px;
	top:0px;
	left:0px;
	text-align:center;
	font-size:20px;
	color:#0070C0;
	font-weight:bold;
	position:absolute;
}
.primary #toparea #top01 #top01_btm .event_box {
	width:100px;
	height:26px;
	top:7px;
	right:0px;
	text-align:center;
	padding:0px;
	position:absolute;
}
.primary #toparea #top01 #top01_btm .event_box .event {
	top:0px;right:0px;
	width:24px;
	height:24px;
	display:inline-block;
	position:relative;
	margin:0px;
}
.primary #toparea #top01 #top01_btm .event_box .event img{
	width:24px;
	height:24px;
}
.primary #toparea #top02 {
	width:520px;
	height:80px;
	float:left;
	position:relative;
}
.primary #toparea #top02 #c_name {
	width:540px;
	height:40px;
	line-height:40px;
	left:0px;
	top:0px;
	text-align:left;
	font-size:20px;
	position:absolute;
	font-weight:bold;
}
.primary #toparea #top02 #catc {
	width:540px;
	height:40px;
	line-height:40px;
	left:0px;
	top:40px;
	text-align:left;
	font-size:20px;
	position:absolute;
}
#infoarea{display:flex;font-size:12px;line-height:16px;text-align:left;margin-top:20px;}
#info01,#info02,#info03{width:32%;}
#info01,#info02{margin-right:2%;}
#findedtable {width:100%;max-width:990px;}
#gakusei_message {width:100%;max-width:990px;}
#gakusei_message th {background-color:#0070C0;color:#fff;}
#findedtable th {background-color:#eee;}
.imgwrap {
	display:flex;position:relative;width:100%;max-width: 990px;
}
.imgwrap .imgbox {
	width:25%;font-size:12px;
}
/*ここまで詳細画面*/
#topbtn {
	position:fixed;
	bottom:5px;right:5px;
	width:80px;
	text-align:center;
	z-index:100;
	cursor:pointer;
	margin-top:10px;
	border-radius: 5px 5px 5px 5px;
	font-size:16px;
	border:solid #FFFFFF 1px;
	color:#FFFFFF;
	background-color:rgba(255,0,0,0.1);
}
#topbtn:hover {
	background-color:rgba(255,0,0,0.4);
}
/* 768px以上 ipad */
@media screen and (max-width: 1040px) {
.primary {
	width:94%;
}
.primary #company {
	width:calc(100% - 50px);
}
.primary #toparea {
	height:160px;
}
.primary #toparea #top01,.primary #toparea #top02 {
	width:100%;
	clear:both;
}
#infoarea{display:block;margin-top:5px;border-top:solid 1px #666;font-size:14px;line-height:18px;}
#info01,#info02,#info03{width:100%;}
#info01,#info02{margin-right:0%;}
#info02 {margin-top:16px;}
.imgwrap {
	display:block;width:100%;max-width: 990px;
}
.imgwrap .imgbox {
	width:32%;font-size:14px;float:left;word-break: break-all;
}
}
/*スマホモード*/
@media screen and (max-width: 600px) {
.primary {
	margin-top:10px;
	width:96%;
	padding-top:10px;
	padding-bottom:20px;
	padding-left:5px;
	padding-right:5px;
}
/**/
.primary #company {
	width:calc(100% - 4px);
	padding-left:0px;
	padding-right:0px;
}
#company_in {
	margin-top:0px;
}
.primary #toparea {
	height:auto;
	background-color:#00f;
}
.primary #toparea #top01 {
	width:100%;
	height:auto;
}
.primary #toparea #top01 #cate {
	left:0px;
	width:100%;
	position:relative;
}
.primary #toparea #top01 #logo {
	width:100%;
	height:auto;
	position:relative;
}
.primary #toparea #top01 img {
	width:100%;
	height:auto;
}
.primary #toparea #top01 #top01_btm {
	width:96%;
	height:40px;
	left:0px;
	top:0px;
	position:relative;
}
.primary #toparea #top01 #top01_btm #comanum {
	width:70%;
	text-align:left;
	font-size:18px;
}
.primary #toparea #top01 #top01_btm #event {
}

.primary #toparea #top02 {
	padding-left:2%;
	padding-right:2%;
	width:96%;
	height:auto;
	padding-bottom:10px;
	margin-bottom:10px;
	border-bottom:solid 1px #666;
}

.primary #toparea #top02 #c_name {
	width:100%;
	height:auto;
	line-height:120%;
	left:0px;
	text-align:left;
	font-size:3.4vw;
	position:relative;
	font-weight:bold;
}
.primary #toparea #top02 #catc {
	width:100%;
	height:auto;
	line-height:120%;
	left:0px;
	top:auto;
	margin-top:5px;
	text-align:left;
	font-size:3.4vw;
	position:relative;
}
#infoarea{
	padding-left:2%;
	padding-right:2%;
	width:96%;
	border-top:none;
}
#findedtable {font-size:14px;}
#gakusei_message {font-size:14px;}
#findedtable td, #gakusei_message td {
	border: none;
}
#findedtable #hinmoku {border-bottom:solid 1px #666;}
#findedtable th, #gakusei_message th {
	border-right: none;
	border-left: none;
}
.imgwrap .imgbox {
	width:48%;font-size:14px;float:left;word-break: break-all;
}

/**/
.pcbr {display:none;}
.smpbr {display:inline;}
.linetable {
	width:100%;
}
.linetable th {
	width:30%;
}
.submitbtn2 {
	width:200px;
}
}
/* 600px以下 */
@media screen and (max-width: 600px) {
#find_box .find_row {
	display:block;
	background-color:transparent;
}
#find_box .find_l {
	width:98%;
	background-color:#eee;
}
#find_box .find_r {
	width:98%;
	background-color:transparent;
}
}
/* iPhone5 415px以下 */
@media screen and (max-width: 415px) {
.imgwrap .imgbox {
	width:98%;font-size:14px;float:left;word-break: break-all;
}
}
/* iPhone5 320px以下 */
@media screen and (max-width: 320px) {

}
/*main*/
#main {background-color:#fff;}
#topsub {background: none!important;}
#navi-in {box-shadow: 3px 3px 5px rgba(0,0,0,0.4);}