@charset "utf-8";

/**** Clearfix ****/
#main:after, #apply:after, #apply .kabe_apply:after, #apply .kabe_bit:after, #use:after{content:""; display:table;clear:both;}
#main, #apply, #apply .kabe_apply, #apply .kabe_bit, #use{zoom:1;}


.kabe_finished {
width:90%;
background-image: url("https://www.iifas.jp/img/bg18.png");
padding:5px 15px;
border:2px solid #900;
border-radius:8px;
margin:0 auto 30px;
}
.kabe_finished p {
margin: 0.5em 0;
padding: 0;
line-height: 1.2;
}

#size img {
max-width:98%;
height:auto;
}


/* 商品写真
------------------------------------------------------------*/
#main .grid{
width:50%;
padding:20px;
float:left;
}
#main .grid .grid_content{
border:1px solid #ccc;
}
/*#main .grid .grid_content .text{
font-size:14px;
font-size:1.4rem;
color:#000066;
line-height:1.2;
padding:5px;
}*/

#main .grid .grid_content img{
width:100%;
height:auto;
/*border-bottom:1px solid #ccc;*/
vertical-align:bottom;
}

#main .grid .grid_content .flash{
position:relative;
width:100%;
padding-top:75%;
height:0;
}
#main .grid .grid_content .flash iframe{
position:absolute;
top:0;
right:0;
width:100%;
height:100%;
}

/* 施工方法
------------------------------------------------------------*/
#apply dl{
/*width:150px;*/
width:25%;
/*height:260px;*/
border:1px solid #990000;
background-color:#F5F5DC;
/*margin:0 10px 20px 0;*/
margin:0;
padding:10px;
float:left;
}

#apply dd {
color:#800000;
}

#apply dt img{
margin:10px auto 20px;
width:96%;
height:auto;
border:solid 1px #ccc;
display:block;
}

#apply .kabe_apply{
margin-bottom:20px;
}

#apply .kabe_bit{
margin-top:30px;
background:#f8f8f8;
border:1px solid #007079;
padding:10px;
border-radius:5px;
}
#apply .kabe_bit a{
color:#000080;
font-weight:bold;
text-decoration:underline;
}


/* 注文テーブル
------------------------------------------------------------*/
table.order_table{
border:1px solid #666;
width:96%;
margin:0 auto;
}

table.order_table th{
border:1px solid #666;
padding:3px;
text-align:center;
vertical-align:middle;
line-height:1.3;
background-image:url('https://www.iifas.jp/img/bg01.jpg');
background-repeat:repeat-x;
background-position:0px 50%;
}

table.order_table td.sp_only{
display:none;
}

table.order_table td{
border:1px solid #666;
padding:3px;
vertical-align:middle;
}

table.order_table tr:hover{
background-color:#eee;
}

table.order_table select{
font-size:1.8rem;
}

/* PC用
------------------------------------------------------------*/
@media only screen and (min-width:961px){
}

/* 幅960px以下（iPadサイズ）から
------------------------------------------------------------*/
@media only screen and (max-width:960px){
}

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

	table.order_table{
	width:100%;
	border:none;
	}
	table.order_table thead{
	display:none;
	}
	table.order_table th{
	display:none;
	}
	table.order_table tr{
	display:block;
	margin:5px 0;
	border:1px solid #999;
	}
	table.order_table td{
	display:list-item;
	border:none;
	list-style-type:none;
	margin:3px 0 3px 20px;
	padding:2px;
	}
	table.order_table td.sp_only{
	display:list-item;
	}

	table.order_table td.center{text-align:left!important;}
	table.order_table td.right{text-align:left!important;}
	table.order_table td br{display:none;}

	table.order_table td:nth-of-type(1){
	background-image:url('https://www.iifas.jp/img/bg01.jpg');
	font-weight:bold;
	margin-left:0;
	}

	table.order_table tbody td:nth-of-type(1):before { content:"■商品コード："; }
	table.order_table tbody td:nth-of-type(2):before { content:"品　名";background:#e6e6e6; padding:2px;}
	table.order_table tbody td:nth-of-type(3):before { content:"入り数"; background:#e6e6e6;color:#000;font-weight:normal;padding:2px;}
	table.order_table tbody td:nth-of-type(4):before { content:"価格[税別]";background:#e6e6e6;color:#000;font-weight:normal;padding:2px;}
	table.order_table tbody td:nth-of-type(5):before { content:"ご注文⇒"; background:#fff3f3;color:#900;font-weight:bold;padding:2px;}

}

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

	#main .grid{
	width:100%;
	padding:10px;
	}

}

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

	#apply dl{
	width:50%;
	}

}
