@charset "utf-8";

/**** Clearfix ****/
#tabNav:after{content:""; display:table;clear:both;}
#tabNav{zoom:1;}

/* 見出し
------------------------------------------------------------*/
h2#main_header2 {
text-align:left;
margin:0 0 10px;
border-top:1px dotted #CCC;
border-left:1px dotted #CCC;
border-right:1px dotted #CCC;
border-bottom:3px solid #660000;
padding:8px 5px 5px;
font-size:25px;
font-size:2.5rem;
color:#000080;
font-weight:normal;
background:url('../img/bg_h1.jpg')  repeat-x center bottom;
line-height:1;
}

h2#main_header2 div {
padding-left:38px;
background:url('../img/cart_28x25.gif') no-repeat 0 -2px;
}

#content p{margin:10px 0 10px;}

#content a{
text-decoration:underline;
color:#800000;
}

#content a:hover {
text-decoration:underline;
color:#800000;
}

/* タブ
------------------------------------------------------------*/
#tabNav {
width:100%;
padding-top:20px;
border-bottom:5px #000080 solid;
}

#tabNav ul {
/*width:99%;*/
margin:0 auto;
padding:0;
list-style-type:none;
text-align:center;
}

#tabNav ul li {
margin-top:5px;
margin-right:5px;
float:left;
width:200px;
height:34px;
}

#tabNav ul li a {
display:block;
position:relative; /* IE6用 */
padding:5px;
background: url(../img/tab_gen.gif);
vertical-align:middle;
font-size:14px;
font-size:1.4rem;
line-height:1.2;
border:1px solid #666;
border-bottom:none;
border-top-left-radius:10px;
border-top-right-radius:10px;
height:100%;
text-decoration:none;
color:#000000;
}

#tabNav ul li a:hover {
text-decoration:underline;
color:#800000;
}

#tabNav ul li.active a {
background: url(../img/tab_act.gif);
color:#ffffff;
pointer-events:none;
}
#tabNav ul li.active a:hover {
text-decoration:none;
color:#ffffff;
}

#indexes {
width:90%;
background: #f5f5f5;
border-radius: 8px;
margin:0 auto 10px;
text-align:center;
}

#indexes ul li{
display:inline-block;
padding:5px;
white-space:nowrap;
}

#indexes ul li.law1_1 {width:9em;}
#indexes ul li.law1_2 {width:12em;}
#indexes ul li.law1_3 {width:10em;}
#indexes ul li.law1_4 {width:20em;max-width:100%;}
#indexes ul li.law1_5 {width:8em;}
#indexes ul li.law1_6 {width:10em;}

#indexes ul li a{
text-decoration:none;
color:#000000;
}
#indexes ul li a:hover{
text-decoration:underline;
color:#800000;
}

/* コンテンツ
------------------------------------------------------------*/
#tabContents {
padding:30px 10px;
border:1px solid #000080;
margin-bottom:30px;
}

h3 {
font-size:20px;
color:#660000;
line-height:1.2;
font-weight:bold;
margin:30px 0 0;
padding:2px 0 0 14px;
background:url(https://www.iifas.jp/img/button_red.gif) no-repeat 0 8px;
border-bottom:solid 2px #660000;
text-align:left;
}

.h3_content a{
text-decoration:underline;
color:#800000;
}

.h3_content .topofpage a{
font-size:12px;
font-size:1.2rem;
line-height:1;
}

.sub_content{
margin:5px 20px 20px;
/*margin:0 auto 10px;*/
}

.sub_content dl{
display:table-row;
}
.sub_content dt{
display:table-cell;
width:180px;
padding:5px 18px 5px 5px;
text-align:right;
background:url(https://www.iifas.jp/img/tri_black_s.gif) right 8px no-repeat;
}
.sub_content dt span{
font-weight:bold;
}
.sub_content dd{
display:table-cell;
padding:5px 5px 5px 10px;
text-align:left;
}

.sub_content ul.circle_black2 {
}
.sub_content ul.list_dot li {
list-style-type:none;
padding-left:14px;
background:url(https://www.iifas.jp/img/list_dot.gif) 0px 0px no-repeat;
}

.sub_content .margin_left {
margin-left:50px;
}

.sub_content p{margin:10px 0 10px;}

.sub_content a{
text-decoration:underline;
}
.sub_content a:hover{
color:#990000;
}

/* 各種テーブル
------------------------------------------------------------*/
table.how2pay_table{
border-collapse:collapse;
border-spacing:0;
border:1px solid #99cc99;
}
table.how2pay_table th{
padding:3px;
background-color:#f5f5dc;
text-align:center;
vertical-align:bottom;
border:1px solid #99cc99;
}
table.how2pay_table td{
padding:3px;
text-align:center;
vertical-align:middle;
border:1px solid #99cc99;
line-height:1.2;
}

.table_wrapper{
width:100%;
overflow-x:auto;
}
.table_wrapper::-webkit-scrollbar{
width:8px;
height:8px;
}
.table_wrapper::-webkit-scrollbar-track{
background: #F1F1F1;
}
.table_wrapper::-webkit-scrollbar-thumb {
background: #BCBCBC;
}


/* 幅980px以下から
------------------------------------------------------------*/
@media only screen and (max-width:980px){

	.h3_content .topofpage{
	display:none;
	}
}

/* 幅760px以下から
------------------------------------------------------------*/
@media only screen and (max-width:760px){

	.sub_content img.payment_img{
	width:96%;
	height:auto;
	}
}

/* 幅640px以下から
------------------------------------------------------------*/
@media only screen and (max-width:640px){

	#tabNav ul li{
	width:32%;
	height:50px;
	margin-right:1%;
	}

	#content .margin_left {
	margin-left:10px;
	}
}

/* 幅480px以下から
------------------------------------------------------------*/
@media only screen and (max-width:480px){

	.sub_content{
	margin:10px 0;
	}

	.sub_content dl{
	display:block;
	}
	.sub_content dt{
	display:block;
	width:100%;
	padding:5px 0 0 18px;
	text-align:left;
	background:url(https://www.iifas.jp/img/tri_black_s.gif) left 8px no-repeat;
	}
	.sub_content dd{
	display:block;
	padding:0 5px 5px 20px;
	}

}
