/*-- トップ　- */

#pref_list{
	margin: 100px 0 200px 0;
}
.area{
	margin: 60px 0;
}

.area_title{
	background-color: #5cad86;
	padding: 8px 15px;
	margin-bottom: 25px;
	font-weight: bold;
	font-size: 19px;
	color: #fff;
}
.area ul{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.area ul li{
	width: 30%;
	border-bottom: solid 1px #d7d7d7;
	margin-bottom: 20px;

}
.area ul::after{
  content:"";
  display: block;
  width:30%;
}
.area ul li a{
	display: flex;
	justify-content: space-between;
	padding: 15px 20px;
	font-size: 17px;
	color: #242424;
}

.arrow1{
    width: 9px;
    height: 9px;
    border-top: 2px solid #5cad86;
    border-right: 2px solid #5cad86;
    transform: rotate(45deg);
    transition:.2s;
    margin-right: 6px;
    margin-top: 4px;
}
a:hover .arrow1{
    margin-right: 0px;
}


@media screen and (max-width:640px) {
	
.area ul li{
	width: 47%;
	margin-bottom: 15px;
}
#pref_list{
	margin: 80px 0 100px 0;
}
}


/* 代理店一覧ページ内に都道府県一覧を追加 */
#pref_link_list .area {
	margin: 20px 0 30px 0;
}
#pref_link_list .area ul li {
	width: calc(100%/4.9);
	margin-bottom: 5px;
}
#pref_link_list .area ul::after {
	width: calc(100%/4.9);
}
#pref_link_list .hokuriku ul::after,
#pref_link_list .kinki ul::after {
	width: calc(100%/2.13);
}
#pref_link_list .area ul li a {
	padding: 10px 0px 10px 15px;
}
.pref_back {
	margin: 100px 0 200px 0;
}

@media screen and (max-width:640px) {
	
#pref_link_list .area ul li {
	width: 26%;
	margin-bottom: 10px;
}
#pref_link_list .area ul::after {
	width: 26%;
}
.pref_back {
	margin: 50px 0 100px 0;
}
}





/*-- リスト　- */

#agent_list{
	margin: 100px 0 200px 0;
}
.agent_list_desc{
    text-align: center;
    margin-bottom: 80px;
}
.agency_wrap{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 120px;
}

.agency{
	width: 48%;
	border: solid 1px #cecece;
	margin-bottom: 35px;
}
.agency a{
	display: flex;
	color: #242424;
	height: 100%;
}
.agency a:hover{
	background-color: #f3fff9;
}
.agency_img{
	width: 25%;
	margin-left: 3%;
	padding: 15px 0;
}
.agency_img img{
	width: 100%;
	margin-bottom: 5px;
}
.bell_tag{
	width: 100%;
	color: #fff;
	text-align: center;
	background-color: #ff5a00;
	font-size: 12px;
}
.agency_info{
	width: 62%;
	margin-left: 5%;
	position: relative;
	text-align: left;
	padding: 15px 0 55px 0;
}
.agency_info h3{
	font-size: 19px;
	font-weight: bold;
	margin-bottom: 15px;
	padding-top: 3px;
}
.ag_address{
	margin-bottom: 8px;
}
.ag_tel{
	line-height: 120%;
}
.detal_link{
	position: absolute;
	right: 15px;
	bottom: 15px;
	font-weight: bold;
}
.detal_link:after{
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 4px 0 4px 8px;
	border-color: transparent transparent transparent #5cad86;
	margin-left:30px;
	margin-bottom: 1px;
}

.list_inner {
	text-align: center;
}

@media screen and (max-width:640px) {
.list_inner {
	width: 90%;
	letter-spacing: -0.01em;
	text-align: left;
	margin: 35px auto 30px auto;
}

}

/* 代理店詳細ページ内に代理店一覧を追加 */
#agent_link_list{
	margin: 15px 0 200px 0;
}

@media screen and (max-width:680px) {
#agent_list{
	margin: 80px 0 100px 0;
}
.agency_wrap{
	display: block;
}

.agency{
	width: 98%;
	margin:0 auto 20px auto;
}
.agency_info{
	padding: 12px 0 40px 0;
}
.agency_info h3{
	font-size: 17px;
	margin-bottom: 12px;
}
.ag_address{
	font-size: 13px;
}
.ag_tel{
	font-size: 13px;
}
.bell_tag{
	font-size: 10px;
}
.detal_link{
	right: 10px;
	bottom: 8px;
}

#agent_link_list{
	margin: 0 0 100px 0;
}
#agent_link_list .agency_wrap{
	margin-bottom: 30px;
}

}





/*-- 詳細ページ- */
#agent{
	margin: 100px 0 200px 0;
}
.agent_name{
	display: flex;
	justify-content: space-between;
	padding: 16px;
	border-bottom: solid 1px #c2c2c2;
	font-size: 32px;
}
.name_bell_tag{
	color: #fff;
	text-align: center;
	background-color: #ff5a00;
	font-size: 12px;
	padding: 0 8px;
	display: inline;
}
.agent_top{
	display: flex;
	margin: 40px auto;
	justify-content: space-between;
	width: 96%;
}
.agent_intro{
	width: 80%;
	line-height: 180%;
}
.agent_top_img{
	width: 150px;
}
.agent_top_img img{
	width: 100%;
}

.agent_info table{
	width: 100%;
	border-left: solid 1px #d8d8d8;
	border-top: solid 1px #d8d8d8;
	font-size: 16px;
	margin-bottom: 50px;
}
.agent_info table th{
	border-right: solid 1px #d8d8d8;
	border-bottom: solid 1px #d8d8d8;
	padding: 15px 25px;
	text-align: left;
	width: 22%;
	background-color: #f7f7f7;
	font-weight: bold;
}
.agent_info table td{
	border-right: solid 1px #d8d8d8;
	border-bottom: solid 1px #d8d8d8;
	padding: 15px 25px;
	text-align: left;
}
#map{
	width: 100%;
	height: 580px;
	margin: 80px 0 150px 0;
}
.return_btn{
	display: flex;
	justify-content:  center;
}
.link_btn5{
	display: block;
	width: 300px;
	padding: 18px 0;
	text-align: center;
	border: solid 1px #939393;
	margin-right: 30px;
	color: #242424;
	font-weight: bold;
}
.link_btn5:hover{
	background-color: #5cad86;
	color: #fff;
	border: solid 1px #fff;
}
.link_btn4{
	display: block;
	width: 300px;
	padding: 18px 0;
	text-align: center;
	background-color: #5cad86;
	color: #fff;
	margin-left: 30px;
	font-weight: bold;
	border: solid 1px #fff;
}
.link_btn4:hover{
	border: solid 1px #939393;
	color: #242424;
	background-color: #fff;
}

@media screen and (max-width:640px) {
#agent{
	margin: 60px 0 100px 0;
}
.agent_name{
	display: block;
	padding: 12px;
	font-size: 24px;
}
.name_bell_tag{
	margin-top: 10px;
	display: inline-block;
}
.agent_top{
	display: block;
}
.agent_top_img{
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
}
.agent_intro{
	width: 100%;
}
.agent_info table{
	width: 100%;
	font-size: 14px;
	margin-bottom: 20px;
}
.agent_info table th{
	padding: 12px 8px;
	width: 30%;
	letter-spacing: -0.01em;
	font-size: 12px;
}
.agent_info table td{
	padding: 12px 8px;
}
#map{
	height: 320px;
	margin: 50px 0 50px 0;
}
.return_btn{
	display: block;
	width: 100%;
	text-align: center;
}
.link_btn5{
	width: 90%;
	margin:0 auto 15px auto;
}
.link_btn4{
	width: 90%;
	margin:0 auto;
}

}







