@charset "utf-8";

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


/* 商品写真
------------------------------------------------------------*/
#main .grid{
width:50%;
padding:20px;
float:left;
}
#main .grid .grid_content{
border:1px solid #ccc;
}
#main .grid .grid_content img{
width:100%;
height:auto;
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%;
}


/* 施工方法／施工後等の取り外し
------------------------------------------------------------*/
#main2{
padding:20px;
background: url('https://www.iifas.jp/img/bg18.png') 0px 0px repeat-x;
border-radius:8px;
border:2px dashed #006600;
margin:20px 10px 30px;
}
#main2 .grid{
float:left;
}
#main2 .grid:first-of-type{
/*width:420px;*/
width:50%;
padding-right:20px;
border-right:1px solid #666;
}
#main2 .grid:last-of-type{
/*width:230px;*/
width:50%;
padding-left:20px;
}
#main2 .grid .grid_title{
font-size:20px;
font-size:2.0rem;
padding:2px 0 8px 20px;
background: url('https://www.iifas.jp/img/yaz3_green.gif') no-repeat 2px 6px;
color:#006600;
font-weight:bold;
line-height:1.2;
}
#main2 .grid .grid_content{
padding-left:20px;
color:#000066;
}
#main2 .grid img{
max-width:100%;
height:auto;
vertical-align:bottom;
}


/* 製品案内ビデオ
------------------------------------------------------------*/
#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%;
}


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

	#main2{
	padding:10px;
	margin:20px 0 30px;
	}
}

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

#main2 .grid:first-of-type{
width:100%;
padding-right:0;
border-right:none;
}
#main2 .grid:last-of-type{
width:100%;
padding-left:0;
padding-top:20px;
}
#main2 .grid img.float-r{
float:none;
}

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

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

	#video{
	padding:20px;
	}

}
