@charset "utf-8";

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


.osaka {
width:90%;
font-size:14px;
font-size:1.4rem;
padding:10px 10px 10px 60px;
background:#f6f6f6 url("https://www.iifas.jp/img/osaka.jpg") no-repeat 5px 5px;
color:#000066;
border-radius:8px;
border: 1px solid #bbd3de;
margin:20px auto 10px;
line-height:1.3;
}
.osaka a{
color:#800000;
text-decoration:underline;
}

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


/* 商品写真
------------------------------------------------------------*/
#main .grid{
width:50%;
padding:20px 30px 10px;
float:left;
}
#main .grid .grid_content{
border:1px solid #ccc;
}
#main .grid .grid_content .text{
font-size:14px;
font-size:1.4rem;
background-color:#eee;
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;
}

#main2{
width:600px;
margin:10px auto 20px;
}
#main2 .grid_content{
border:1px solid #ccc;
margin-bottom:20px;
}
#main2 .grid_content .text{
font-size:14px;
font-size:1.4rem;
background-color:#eee;
color:#000066;
line-height:1.2;
padding:5px;
}

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


#order .que_sec_link{
width:400px;
text-align:center;
padding:5px;
margin:0 auto;
border:1px solid #333;
border-radius:5px;
background:#EEE;
background:-moz-linear-gradient(top,#fff 0%,#eee);
background:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
cursor:pointer;
}
#order .que_sec_link a{
color:#000080;
text-decoration:none;
font-weight:normal;
font-size:16px;
font-size:1.6rem;
line-height:1;
}
#order .que_sec_link a:hover{
color:#800000;
text-decoration:underline;
}


/* 施工方法
------------------------------------------------------------*/
#apply img {
max-width:98%;
height:auto;
}

#apply dl{
width:25%;
/*height:250px;*/
border:1px solid #000066;
background-color:#F5F5DC;
margin:0;
padding:10px;
float:left;
}

#apply dd {
color:#800000;
}

#apply dt img{
border:1px solid #999;
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:#000066;
width:240px;
}

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


/* 取り外し試験結果
------------------------------------------------------------*/
#remove img {
max-width:98%;
height:auto;
}

#remove .rem_photo {
float:left;
margin:0 10px 10px 0;
}
#remove .rem_photo img{
border:1px solid #ccc;
}

/* ご注文
------------------------------------------------------------*/
#order .register {
border:2px solid #900;
border-radius:5px;
padding:15px;
margin-bottom:20px;
background:url("https://www.iifas.jp/img/bg18.png") 0 0 repeat-x;
}
#order .register p.register_title{
background:url("https://www.iifas.jp/img/warning2.gif") no-repeat 5px 5px;
padding-left:44px;
margin-bottom:10px;
font-size:20px;
font-size:2.0rem;
font-weight:bold;
color:#990000;
line-height:1.3;
}

/* 注文テーブル
------------------------------------------------------------*/
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;
}

/* 幅980px以下から
------------------------------------------------------------*/
@media only screen and (max-width:980px){
	.osaka .osaka_link{
	display:none;
	}
}

/* 幅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 .grid{
	padding:20px 10px 10px;
	}
	#main2{
	width:98%;
	}
}

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

	#main .grid{
	width:100%;
	padding:10px;
	}
	#apply dl{
	width:50%;
	}
	#remove .rem_photo{
	width:48%;
	margin:0 2% 10px 0;
	}

	#order .que_sec_link{
	width:100%;
	}
}
