﻿@charset "utf-8";

*{
	margin: 0;
	padding: 0;
}

a{
	text-decoration: none;
	outline: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0); 
}
a img{
	border: none;
}

table{
	border-collapse: separate;
	border-spacing:0;
}

ul{
	list-style-type: none;
}

	
/*
共通スタイル*/

#wrapper{
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	font-family: arial, sans-serif;
}

header{
	width: 100%;
	position: relative;
}

header h1{
	padding-left: 5px;
	background-color: #000;
	color: #FFF;
}

header h1 span{
	margin-left: 10px;
	font-size: 14px;
}

header p{
	padding: 5px 5px 0 20px;
	font-size: 14px;
	line-height: 1.4em;
}

header p.home_mark{
	position: absolute;
	right: 0;
	top: -4px;
	width: 4%;
}

header p.home_mark img{
	width: 100%;
	height: auto;
}


#contents section{
	clear: both;
	padding-top: 30px;
	line-height: 1.4em;
}

section h1{
	font-size: 16px;
	margin-bottom: 15px;
	margin-left: 5px;
}

section p{
	box-sizing: border-box;
	margin-left: 16px;
	width: 100%;
	font-size: 14px;
}

p.sample_info{
  width: 400px;
	float: left;
}

p.sample_info img{
	width: 100%;
	height: auto;
	border: solid 1px #666;
	margin-right: 2%;
}

p.info_text{
	width: 450px;
	float: left;
}


p.info_text a img{
	width: 16%;
	height: auto;
}

p.contact{
	font-size: 14px;
	clear: both;
	padding: 20px 10px;
}

.back{
	clear: both;
	text-align: right;
	margin-top: 10px;
}


footer{
	clear: both;
	text-align: center;
}

/* 600px以下のスタイル ----*/
@media (max-width: 600px){
	#wrapper{
		box-sizing: border-box;
		width: 100%;
	}

header p.home_mark{
	position: absolute;
	right: 0;
	top: -2px;
	width: 6%;
}


	section p{
		box-sizing: border-box;
	}

	p.sample_info{
	  width: 45%;
		float: left;
	}

	p.sample_info img{
		width: 100%;
		height: auto;
		box-sizing: border-box;
		border: solid 1px #666;
	}

	p.info_text{
		width: 45%;
		float: left;
	}

	p.info_text a img{
		width: 30%;
		height: auto;
	}

}/*↑↑ 600px以下 ---*/

/* 360px以下のスタイル ----*/
@media (max-width: 360px){

	#wrapper{
		box-sizing: border-box;
		width: 100%;
	}

header p.home_mark{
	position: absolute;
	right: 0;
	top: 0;
	width: 8%;
}

	section p{
		box-sizing: border-box;
	}

	p.sample_info{
	  width: 45%;
		float: left;
	}

	p.sample_info img{
		width: 100%;
		height: auto;
		box-sizing: border-box;
		border: solid 1px #666;
	}

	p.info_text{
		width: 45%;
		float: left;
	}

	p.info_text a img{
		width: 40%;
		height: auto;
	}

}/*↑↑ 360px以下 ---*/
