@charset "UTF-8";


div#header div.h2 h2 {
	background: url(../images/ohaka_search_h2.jpg) top left no-repeat;
}

@media screen and (max-width: 768px) {
	img{
		max-width: 100%;
		height: auto;
	}
}

/* ============ 各ページの内容 #main ============== */

@media screen and (max-width: 768px) {
    .h3-title span{display: none;}
}

/* h4タイトル */
#main h4.h4_1 {
	display: block;
	width: 640px;
	height: 30px;
	text-indent: -9999px;
	overflow: hidden;
	margin: 20px 0 0 40px;
	background: url(../images/ohaka_search_s_marble_h3_2.gif) no-repeat left top;
}


#main h4.h4_2 {
	display: block;
	width: 640px;
	height: 28px;
	text-indent: -9999px;
	overflow: hidden;
	margin: 30px 0 20px 40px;
	background: url(../images/ohaka_search_s_marble_h3_3.gif) no-repeat left top;
}


#main h4.h4_3 {
	display: block;
	width: 640px;
	height: 28px;
	text-indent: -9999px;
	overflow: hidden;
	margin:30px 0 0 40px;
	background: url(../images/ohaka_search_s_marble_h3_4.gif) no-repeat left top;
}

@media screen and (max-width: 768px) {
#main h4.h4_1,
#main h4.h4_2,
#main h4.h4_3
	{
	width:auto;
	color: #ed412d;
	margin-top: 30px;
	text-indent: 0px;
	background-image: url(none);
	background-color:#ffffff;
	border:1px solid #ed412d;
	padding: 10px 10px 0 10px;
	margin: 40px 20px 0px 20px;
	}
}





/* h4タイトル */

#main h5 {
	width: 640px;
	height: 22px;
	text-indent: -9999px;
	overflow: hidden;
	margin:30px 0 20px 40px;
	padding:0;
	clear:both;
}



#main h5.sm1 {
	background:url(../images/ohaka_search_s_marble_h4_1.gif) top left no-repeat;
}
#main h5.sm2 {
	background:url(../images/ohaka_search_s_marble_h4_2.gif) top left no-repeat;
}
@media screen and (max-width: 768px) {
#main h5.sm1,
#main h5.sm2{
	width:auto;
	color: #ed412d;
	margin-top: 30px;
	text-indent: 0px;
	background-image: url(none);
	background-color:#ffffff;
	border-bottom:1px solid #a2a2a2;
	padding: 10px 10px 0 10px;
	margin: 40px 20px 20px 20px;
	}
}


#main h6 {
	clear:both;
	width:88px;
	height:14px;
	margin:0 0 10px 55px;
	padding:0;
}
/* pタグ */
#main p.p1 {
	margin: 20px 0 0 40px;
	padding-bottom: 10px;
	color: #4f5a60;
	clear:both;
}
@media screen and (max-width:768px) {
    #main p.p1 {
        margin: 20px 15px 0 15px;
    }    
}


/* === 表示部分 === */
ol{
	width:635px;
	margin:0 0 0 40px;
	background-color: #FFF1E9;
	border: 1px solid #E2EAF0;
	padding:0 0 20px 0;
}

@media screen and (max-width: 768px) {
ol{
	width:auto;
	margin:20px 10px 0 10px;
	padding: 0 15px 35px 0;
}
}

ol li{
	width:580px;
	margin:20px 0 0 20px;
}

@media screen and (max-width: 768px) {
ol li{
	width:auto;
}
}

ol li dl dt#list01{
	font-weight:bold;
	margin:0;
	padding-left:30px;
	background-image: url(../images/ohaka_search_s_marble_list1.gif);
	background-repeat: no-repeat;
	background-position: left top;
	height:20px;
}
ol li dl dt#list02{
	font-weight:bold;
	margin:0;
	padding-left:30px;
	background-image: url(../images/ohaka_search_s_marble_list2.gif);
	background-repeat: no-repeat;
	background-position: left top;
	height:20px;
}
ol li dl dt#list03{
	font-weight:bold;
	margin:0;
	padding-left:30px;
	background-image: url(../images/ohaka_search_s_marble_list3.gif);
	background-repeat: no-repeat;
	background-position: left top;
	height:20px;
}
ol li dl dd{
	line-height:1.5em;
	margin:5px 0 0 30px;
}
ul.type{
	margin:15px 0 0 40px;
	padding:0;
}
ul.type li{
	display:inline;
	float:left;
	margin:0 10px 25px 0;
}
ul.type li#btn01,
ul.type li#btn01 a{
	background-image:url(../images/ohaka_search_s_marble_btn1.jpg);
	text-indent:-9999px;
	width:105px;
	height:29px;
	display:block;
	overflow:hidden;
}
ul.type li#btn01 a:hover{
	background-image:url(../images/ohaka_search_s_marble_btn1_on.jpg);
}
ul.type li#btn02,
ul.type li#btn02 a{
	background-image:url(../images/ohaka_search_s_marble_btn2.jpg);
	text-indent:-9999px;
	width:105px;
	height:29px;
	display:block;
	overflow:hidden;
}
ul.type li#btn02 a:hover{
	background-image:url(../images/ohaka_search_s_marble_btn2_on.jpg);
}
ul.list {
	width: 635px;
	margin: 10px 0 0 55px;
	padding:0 0 10px 0;
	clear:both;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
ul.list {
	width: auto;
    margin:10px auto;
    justify-content: center;
}
}

ul.list li{
	width: 127px;
	display:inline-block;
	height:auto;
	margin-bottom:10px;
	padding:0;
	font-size:11px;
}

@media screen and (max-width: 768px) {
	ul.list li.list_left{
		clear:none;
	}
}

ul.list li a{
	text-decoration: none;	
	color: #40474d;
	width: 127px;
	height:auto;
	padding:0 12px 0 0;
	line-height:2.0em;
	margin:0;
	font-size: 93%;
}

@media screen and (max-width: 768px) {
ul.list li a{
	padding:0;
}
}

@media screen and (max-width: 768px) {
.search_menu h4 {
	color: #D43421;
	border-bottom: solid thin;
	border-bottom-color: #ccc;
	padding: 10px;
	font-size: 16px;
	text-align: center;
	letter-spacing: 8px;
}
}

@media screen and (max-width: 768px) {
.search_menu img {
	border:solid thin;
	border-radius: 10px;
	border-color: #D43421;
	
}
}

@media screen and (max-width: 768px) {
.search_menu ul {
	margin: 3% 0 3% 0;
	width: 100%;
	
}
}


@media screen and (max-width: 768px) {
.search_menu li {
  width: 48%;
  float: left;
  margin-left:1%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
	
}
}
