@media screen and (max-width:640px){

/***************** 共通 *****************************/
div#container{
	width: 100%;
	padding:0;
	margin:0;
}
div#wrapper {
	width: 98%;
	padding:0;
	margin:0 1%;
}

.hundred{
	width:100%;
}
.hundred img{
	width:100%;
	height:auto;
}
.pc{
	display:none;
}
.sp{
	display:inherit;
}
.iframe-content {
	position: relative;
	width: 100%;
	padding: 75% 0 0 0;
}
.iframe-content iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}




/***************** header *****************************/
div#header{}
div#header p#logo{
	height:50px;
	background:#ddd;
}
div#header p#logo img{
	height:90%;
	width:auto;
	margin:0.5% 0 0 1%;
}

div#header .open,
div#header .close {
	width: 40px;
	height: 40px;
	display: block;
	position: absolute;
	right: 5px;
	top: 6px;
}
div#header .open {
	background: rgba(255,255,255,0.8) url(../../images/common/header_menu_open.png) no-repeat center center;
	background-size: 40px 40px;
}
div#header .close {
	background: #000 url(../../images/common/header_menu_close.png) no-repeat center center;
	background-size: 40px 40px;
}
div#header .open:hover,
div#header .close:hover {
	cursor: pointer;
}
div#header .menuBox {
  width: 100%;
	height: calc(100vh - 58px);
	padding: 58px 0 0;
	position:absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.8) url(../../images/common/logo.png) no-repeat 0.5% 2px;
	background-size: auto 50px;
	z-index: 9999;
	display: none;
}
div#menu{
	position:absolute;
	top:60px;
	left:0;
	right:0;
	margin:0 auto;
	width:100%;
	background:none;
	z-index:9;
}
div#menu ul{
}
div#menu ul li{
	width:90%;
	margin:1% 5% 3%;
	border:none;
	text-align:center;
	box-sizing:border-box;
}
div#menu ul li a{
	display:block;
	background:#1d88be;
	color:#fff;
	text-decoration:none;
	padding:12px 2px;
	font-size:14px;
}
div#menu ul li ul li,
div#menu ul li ul li:last-child{
	width: 48%;
	margin:1%;
	border: none;
}
div#menu ul li ul li a{
	padding:8px 0;
	background:#999;
}


/***************** top page *****************************/





/***************** content *****************************/
div#content{
	width:100%;
	float:inherit;
}
div#content p.rightImg{
	float:none;
	width:80%;
	margin:0 auto;
	text-align:center;
}
div#content p.rightImg img{
	width:100%;
	height:auto;
}
div#content p.leftImg{
	float:none;
	width:80%;
	margin:0 auto;
	text-align:center;
}
div#content p.leftImg img{
	width:100%;
	height:auto;
}


div#content ul.sixColumns{
	list-style:none;
	margin:0 -0.5%;
}
div#content ul.sixColumns li{
	float:left;
	width:24%;
	margin:0.5%;
}
div#content ul.sixColumns li img{
	width:100%;
	height:auto;
}

dl.table dt{
  width:auto;
  float:inherit;
  padding:15px 0 0;
	color:#666;
}
dl.table dd{
  border-bottom: 1px solid #ddd;
  padding:5px 0 15px;
}

div.scroll table{
	width:100%;
}
div.scroll{
	overflow: auto;
	white-space: nowrap;
}
div.scroll::-webkit-scrollbar{
	height: 5px;
}
div.scroll::-webkit-scrollbar-track{
	background: #F1F1F1;
}
div.scroll::-webkit-scrollbar-thumb {
	background: #BCBCBC;
}


div.tiny img{
	width:100%;
	height:auto;
}


/***************** zaiko *****************************/
table.zaiko caption{
	font-size:18px;
}
table.zaiko caption small{
	font-size:11px;
	margin-left:2px;
}
table.zaiko th {
  padding: 6px 4px;
}
table.zaiko th.size {
	font-size: 110%;
}
table.zaiko th a img{
	margin:0;
}
table.zaiko tr td {
  padding: 6px 4px;
}
table.zaiko tr td.img{
	padding: 6px 0;
}
table.zaiko tr td.img img{
	width:40px;
	margin:-2px 3px -6px;
}

/************************** form ***************************/
form dl {
	border: none;
}
form dl dt {
	float: none;
	width: auto;
	padding: 10px 0 0;
}
form dl dd {
	padding: 10px 0 10px 0;
	border-bottom:1px dotted #aaa;
}
form dl dd:last-child {
	border:none;
}
form abbr.attention,
form abbr.ayl{
	float:left;
	margin-right:5px;
}
form abbr.ayl{
	background:#ccc;
	color:#000;
}
form dl input{
	width:94%;
}
form dl select{
	width:98%;
}
form dl textarea{
	ime-mode:active;
	padding:5px;
	width:98%;
	height:150px;
	box-sizing:border-box;
}
form dl label input{
	width:22px;
}


div#content p.conversion a{
	padding:35px 5px 30px;
	font-size:24px;
}




/******************* gallery ************************/
div#media ul li img {
  max-width: inherit;
  max-height: inherit;
	width:32%;
	height:auto;
}
div.directories div.directory {
  float:inherit;
	width:100%;
	margin:0 1% 20px;
}
div.directories div.directory p a {
  width: 100%;
}
div.directories div.directory p a img {
  width:100%;
	height:auto;
	max-width: auto;
  max-height: auto;
}



/****************** button reset **********************/

input[type="button"],
input[type="submit"],
input[type="text"],
input[type="number"],
input[type="tel"],
select,
textarea{
  border-radius: 0;
	padding:10px;
	width:99%;
	box-sizing:border-box;
}
input[type="button"],
input[type="submit"],
input[type="text"],
input[type="number"],
input[type="tel"],
textarea{
  -webkit-appearance: none;
}


/***************** utility *****************************/
div#utility{
	width:100%;
	margin:20px 0;
	padding:0;
	float:inherit;
	clear:both;
}




/***************** footer *****************************/


}