﻿@charset "utf-8";

#contents table td span.mb {
	display: none;
}
#footer {
	overflow: hidden;
	/zoom: 1;
}
#contents p.copyright {
	margin-top: 20px;
	
}

/*===============================================
  画面の横幅が680px以下に適用
===============================================*/
@media screen and (max-width: 680px){
	/*--------------------------------------
		common
	--------------------------------------*/
	html {
		font-size: 10px;
	}
	a:link {
		text-decoration: underline;
	}
	/* box-sizing */
	*, *:before, *:after {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
	}
	img {
		max-width: 100%;
	}

	body {
		font-size: 1.6rem;
		line-height: 1.4;
	}
	#container {
		width: 94% !important;
	}


	/*--------------------------------------
		#header
	--------------------------------------*/
	#container #header {
		margin-bottom: 15px;
	}
	#container #header h1 {
		padding: 5px 0;
		font-size: 2.0rem;
	}
	#container #header img {
		width: 70px;
		height: auto;
	}


	/*--------------------------------------
		流れ
	--------------------------------------*/
	#container ul {
		height: auto;
		text-align: left;
	}

	#container ul li {
		float: none;
		margin-bottom: 10px;
		text-align: left;
		display: inline-block;
	}
	#container ul li img {
		margin-right: 5px;
	}
	#container ul li img:last-child {
		margin-right: 0;
	}


	/*--------------------------------------
		#contents
	--------------------------------------*/
	#contents {
		width: 100%;
		margin-top: 0;
	}
	#contents table {
		border: none;
		width: 100%;
		margin-bottom: 20px;
	}
	#contents table th {
		width: 150px;
	}
	#contents table td span.mb {
		float: none;
		display: inline;
	}
	#contents table td span.del {
		display: none;
	}

	#contents input[type="text"],
	#contents select,
	#contents table td textarea {
		border: 1px solid #CCCCCC;
		margin: 0 0 5px;
	}
	#contents table td input {
		border-radius: 5px;
		padding: 10px;
	}
	#contents table td input.form-mini {
		width: 60px;
		padding: 10px;
		margin-right: 10px;
	}
	#contents table td input.form-short {
		width: 100px;
		padding: 10px;
		margin: 1px 10px 5px 0px;
	}
	#contents table td input.form-middle {
		width: 100%;
		padding: 10px;
	}
	#contents table td input.form-long {
		width: 100%;
		padding: 10px;
	}

	#contents table td select {
		padding: 5px 0;
		margin-right: 5px;
	}
	#contents table td textarea {
		border-radius: 5px;
		width: 100%;
		padding: 5px;
	}

	/* カートの中身テーブル */
	#contents table.viewcart {
		border-bottom: 1px solid #CCCCCC;
	}
	#contents table.viewcart tr {
		border: 1px solid #CCCCCC;
		border-bottom: none;
		padding: 10px;
		display: block;
	}
	#contents table.viewcart tr:first-child {
		display: none;
	}
	#contents table.viewcart td {
		border: none;
		padding: 0 0 6px;
		display: block;
	}

	/* お客様情報テーブル */
	#contents table.form td span.mb {
		margin: 6px 0 2px;
		display: block;
	}
	#contents table.form td .time {
		margin-top: 10px;
	}

	/* ラジオボタン */
	#contents .radio {
		overflow: hidden;
	}
	#contents .radio input {
		display: none;
	}
	#contents .radio label{
		border-radius: 3px;
		display: block;
		float: left;
		cursor: pointer;
		margin: 0 10px 5px 0;
		padding: 10px;
		background: #CCC;
		color: #869198;
		font-size: 16px;
		text-align: center;
		line-height: 1;
		transition: .2s;
	}
	#contents .radio input[type="radio"]:checked + label {
		background-color: #3366FF;
		color: #fff;
	}


	/*--------------------------------------
		#footer
	--------------------------------------*/
	#footer {
		width: 100%;
		margin: 10px auto;
		display: -webkit-flex;
		display: -moz-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-moz-flex-directiont: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
		-webkit-box-align: center;
	}
	#footer input[type="button"],
	#footer input[type="submit"] {
		width: 60%;
		padding: 10px;
		margin: 0 auto 15px;
	}

}


/*===============================================
  画面の横幅が480px以下に適用
===============================================*/
@media screen and (max-width: 480px){
	#contents table.form {
		border-bottom: 1px solid #CCCCCC;
	}
	#contents table.form th,
	#contents table.form td {
		border-bottom: none;
		width: 100%;
		padding-top: 11px;
		display: block;
	}
}


