@charset "utf-8";

/**** Clearfix ****/
#main_kabekko:after, #main_kabekko_q:after, #apply:after{content:""; display:table;clear:both;}
#main_kabekko, #main_kabekko_q, #apply{zoom:1;}

.kabekko_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;
}
.kabekko_finished p {
margin: 0.5em 0;
padding: 0;
line-height: 1.2;
}

.kabekko_prize{
text-align:center;
margin-bottom:15px;
}
.kabekko_prize img{
max-width:96%;
height:auto;
}

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

.limited {
clear:both;
font-size:14px;
font-size:1.4rem;
padding:10px 10px 10px 45px;
background:#f5f5f5 url("https://www.iifas.jp/img/sale.png") no-repeat 5px 5px;
color:#000066;
border-radius:8px;
/*border: 1px solid #bbd3de;*/
margin:10px 0 0;
}


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

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

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

/* 商品写真（カベッコQ）
------------------------------------------------------------*/
#main_kabekko_q .grid{
width:33%;
padding:15px;
float:left;
}
#main_kabekko_q .grid .grid_content{
background-color:#eee;
border:1px solid #ccc;
}
#main_kabekko_q .grid .grid_content .text{
font-size:14px;
font-size:1.4rem;
color:#000066;
line-height:1.2;
padding:5px;
}


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

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

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

#apply dd {
color:#800000;
line-height:1.3;
}

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

#apply .apply_tab {
border:1px solid #666;
border-top-left-radius:5px;
border-top-right-radius:5px;
color:#fff;
text-align:center;
padding:5px;
background-color:#800000;
width:100px;
}

#apply .apply_content {
float:left;
margin:0 0 15px 15px;
}


/* 製品案内ビデオ
------------------------------------------------------------*/
#video{
padding:30px;
}
#video .youtube{
position:relative;
width:100%;
padding-top:56.25%;
height:0;
}
#video .youtube iframe{
position:absolute;
top:0;
right:0;
width:100%;
height:100%;
}


/* クロネコDM便
------------------------------------------------------------*/
.kuroneko_dm {
border:2px solid #009;
border-radius:5px;
padding:5px;
margin:20px 0;
background: url("https://www.iifas.jp/img/mail_delivery.gif") no-repeat 5px -5px;
}
.kuroneko_dm .mail_collapsable {
cursor:pointer;
padding:10px 5px 10px 60px;
font-weight:bold;
color:#009;
}
.kuroneko_dm .content_collapsable {
font-size:14px;
font-size:1.4rem;
padding:10px;
}
.kuroneko_dm .content_collapsable a {
font-size:14px;
font-size:1.4rem;
color:#009;
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){

	/*.kabekko_prize img{
	}*/

}

/* 幅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;}

	#main_kabekko_q .grid{
	width:50%;
	}

	#apply dl.kabekko_q2{
	width:50%;
	}
}

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

	.kabekko_prize img{
	display:none;
	}

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

	#video{
	padding:20px;
	}

	#apply dl{
	width:50%;
	}

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

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

	#apply dl.kabekko_q1{
	width:50%;
	}
}
