@charset "UTF-8";


/* ====================================================================== */
/* PC／スマホ片方にだけ表示 */
/* ====================================================================== */
.is-sp-block,
.is-sp-inline {
	display: none;
}

.is-pc-block {
	display: block;
}

.is-pc-inline {
	display: inline;
}

@media only screen and (max-width: 596px) {
	.is-sp-block {
		display: block;
	}

	.is-sp-inline {
		display: inline;
	}

	.is-pc-block,
	.is-pc-inline {
		display: none;
	}
}

/* ====================================================================== */
/* カラーチェンジ*/
/* ====================================================================== */

.btn_switch {
	border: 1px solid #fff;
	margin: auto;
	width: 100%;
	text-align: center;
}

.btn_switch td {
	padding: 10px;
	border: 1px solid #fff;
}

.btn_switch td a {
	width: 100%;
	height: 100%;
	display: block;
	font-size: 14px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}


/* tempcolor01 赤 ----------------------------------------------
	*/

/* 極薄 */
.tempcolor01 .bgcolor {
	background-color: #fffbfb !important;
}

/* 薄い */
.tempcolor01 .basecolor {
	background-color: #ffe3e3;
}

/* 濃い */
.tempcolor01 .pointcolor {
	color: #7e0000 !important;
}

.tempcolor01 .pointbgcolor {
	background-color: #7e0000 !important;
}

.tempcolor01 .bordercolor {
	border-color: #7e0000;
}

/* ページトップの三角形の色 */
.tempcolor01 .tri-bordercolor {
	border-color: transparent transparent #7e0000 transparent;
}

/* tempcolor02 桃 ----------------------------------------------
	*/

/* 極薄 */
.tempcolor02 .bgcolor {
	background-color: #fffdfe !important;
}

/* 薄い */
.tempcolor02 .basecolor {
	background-color: #ffe9f1;
}

/* 濃い */
.tempcolor02 .pointcolor {
	color: #8e1e58 !important;
}

.tempcolor02 .pointbgcolor {
	background-color: #8e1e58 !important;
}

.tempcolor02 .bordercolor {
	border-color: #8e1e58;
}

/* ページトップの三角形の色 */
.tempcolor02 .tri-bordercolor {
	border-color: transparent transparent #8e1e58 transparent;
}

/* tempcolor03 紫 ----------------------------------------------
	*/

/* 極薄 */
.tempcolor03 .bgcolor {
	background-color: #faf9fc !important;
}

/* 薄い */
.tempcolor03 .basecolor {
	background-color: #ded7ea;
}

/* 濃い */
.tempcolor03 .pointcolor {
	color: #493963 !important;
}

.tempcolor03 .pointbgcolor {
	background-color: #493963 !important;
}

.tempcolor03 .bordercolor {
	border-color: #493963;
}

/* ページトップの三角形の色 */
.tempcolor03 .tri-bordercolor {
	border-color: transparent transparent #493963 transparent;
}


/* tempcolor04 紺 ----------------------------------------------
	*/

/* 極薄 */
.tempcolor04 .bgcolor {
	background-color: #f8f9fa !important;
}

/* 薄い */
.tempcolor04 .basecolor {
	background-color: #d6dce6;
}

/* 濃い */
.tempcolor04 .pointcolor {
	color: #4b576e !important;
}

.tempcolor04 .pointbgcolor {
	background-color: #4b576e !important;
}

.tempcolor04 .bordercolor {
	border-color: #4b576e;
}

/* ページトップの三角形の色 */
.tempcolor04 .tri-bordercolor {
	border-color: transparent transparent #4b576e transparent;
}


/* tempcolor05 青 ----------------------------------------------
	*/

/* 極薄 */
.tempcolor05 .bgcolor {
	background-color: #fafcff !important;
}

/* 薄い */
.tempcolor05 .basecolor {
	background-color: #deecff;
}

/* 濃い */
.tempcolor05 .pointcolor {
	color: #004e9d !important;
}

.tempcolor05 .pointbgcolor {
	background-color: #004e9d !important;
}

.tempcolor05 .bordercolor {
	border-color: #004e9d;
}

/* ページトップの三角形の色 */
.tempcolor05 .tri-bordercolor {
	border-color: transparent transparent #004e9d transparent;
}


/* tempcolor06 碧 ----------------------------------------------
	*/

/* 極薄 */
.tempcolor06 .bgcolor {
	background-color: #f8fcfc !important;
}

/* 薄い */
.tempcolor06 .basecolor {
	background-color: #cce8ec;
}

/* 濃い */
.tempcolor06 .pointcolor {
	color: #23636d !important;
}

.tempcolor06 .pointbgcolor {
	background-color: #23636d !important;
}

.tempcolor06 .bordercolor {
	border-color: #23636d;
}

/* ページトップの三角形の色 */
.tempcolor06 .tri-bordercolor {
	border-color: transparent transparent #23636d transparent;
}

/* tempcolor07 緑 ----------------------------------------------
*/

/* 極薄 */
.tempcolor07 .bgcolor {
	background-color: #fbfdfb !important;
}

/* 薄い */
.tempcolor07 .basecolor {
	background-color: #d6e8d7;
}

/* 濃い */
.tempcolor07 .pointcolor {
	color: #39633a !important;
}

.tempcolor07 .pointbgcolor {
	background-color: #39633a !important;
}

.tempcolor07 .bordercolor {
	border-color: #39633a;
}

/* ページトップの三角形の色 */
.tempcolor07 .tri-bordercolor {
	border-color: transparent transparent #39633a transparent;
}


/* tempcolor08 黄色 ----------------------------------------------
*/

/* 極薄 */
.tempcolor08 .bgcolor {
	background-color: #fefdf8 !important;
}

/* 薄い */
.tempcolor08 .basecolor {
	background-color: #f8edbe;
}

/* 濃い */
.tempcolor08 .pointcolor {
	color: #887000 !important;
}

.tempcolor08 .pointbgcolor {
	background-color: #887000 !important;
}

.tempcolor08 .bordercolor {
	border-color: #887000;
}

/* ページトップの三角形の色 */
.tempcolor08 .tri-bordercolor {
	border-color: transparent transparent #887000 transparent;
}

/* tempcolor09 茶色 ----------------------------------------------
*/

/* 極薄 */
.tempcolor09 .bgcolor {
	background-color: #fefcf9 !important;
}

/* 薄い */
.tempcolor09 .basecolor {
	background-color: #faebd8;
}

/* 濃い */
.tempcolor09 .pointcolor {
	color: #70430d !important;
}

.tempcolor09 .pointbgcolor {
	background-color: #70430d !important;
}

.tempcolor09 .bordercolor {
	border-color: #70430d;
}

/* ページトップの三角形の色 */
.tempcolor09 .tri-bordercolor {
	border-color: transparent transparent #70430d transparent;
}


/* tempcolor10 灰色 ----------------------------------------------
*/

/* 極薄 */
.tempcolor10 .bgcolor {
	background-color: #f7f7f7 !important;
}

/* 薄い */
.tempcolor10 .basecolor {
	background-color: #d3d3d3;
}

/* 濃い */
.tempcolor10 .pointcolor {
	color: #444444 !important;
}

.tempcolor10 .pointbgcolor {
	background-color: #444444 !important;
}

.tempcolor10 .bordercolor {
	border-color: #444444;
}

/* ページトップの三角形の色 */
.tempcolor10 .tri-bordercolor {
	border-color: transparent transparent #444444 transparent;
}


/* common ----------------------------------------------
*/

/* ボタン色 */
.button .prev a {
	border: 1px solid #777777;
	box-shadow: 2px 2px #777777;
	background-color: #aaaaaa;
}

.button .next a {
	border: 1px solid #a14300;
	box-shadow: 2px 2px #a14300;
	background-color: #de7022;
}


/* ====================================================================== */
/* タグ上書き */
/* ====================================================================== */
html,
body {
	background-color: #333333;
	height: 100%;
	margin: 0;
}

body {
	font-family:
		"ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "ＭＳ Ｐゴシック", sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

a {
	color: #ff0000;
}

a:hover {
	text-decoration: none;
}

@media only screen and (max-width: 596px) {
	body {
		overflow-x: hidden;
		font-size: 16px;
		min-width: 320px;
		margin: 0;
	}

	img {
		width: 100%;
	}
}

/* ====================================================================== */
/* フレーム */
/* ====================================================================== */
#wrapper {
	background-color: #efefef;
	position: relative;
	box-sizing: border-box;
	overflow-x: hidden;
}

#main {
	overflow: hidden;
	margin: 0 auto;
	width: 640px;
	height: auto !important;
	/*IE6対策*/
	height: 100%;
	/*IE6対策*/
	min-height: 80%;
	box-sizing: border-box;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	text-align: center;
	padding-bottom: 90px;
}

@media only screen and (max-width: 596px) {
	#main {
		overflow-x: hidden;
		width: auto;
		border-left: none;
		border-right: none;
		text-align: center;
		box-sizing: border-box;
		padding-bottom: 90px;
	}
}

/* ====================================================================== */
/* スクエニヘッダ */
/* ====================================================================== */
#sqex-header {
	min-width: 100%;
	margin: 0 auto;
	background-color: #000;
	border-bottom: 1px solid #838383;
}

#sqex-header table {
	margin-right: auto;
	margin-left: auto;
	width: 850px;
}

/* ----- ロゴ ----- */
#sqex-header-logo {
	padding-top: 8px;
	padding-bottom: 8px;
}

#sqex-header-logo img {
	width: 130px;
	vertical-align: middle;
	padding-left: 15px;
}

/* ----- スマホ用メニュー ----- */
.sqex-header-menu {
	display: none;
}

@media only screen and (max-width: 596px) {

	/* ===== ヘッダ高さ用 ===== */
	#sqex-header-box:after {
		content: '';
		display: block;
		padding-top: 0;
	}

	/* ===== ヘッダ位置 ===== */
	#sqex-header {
		position: relative;
		z-index: 10;
		min-width: initial;
		min-width: 100%;
	}

	#sqex-header table {
		width: 98%;
	}

	/* ----- ロゴ ----- */
	#sqex-header-logo {
		width: 40%;
		text-align: center;
		margin: auto;
	}

	#sqex-header-logo img {
		width: 50%;
		padding: 2%;
	}
}

/* ====================================================================== */
/* テキスト関連 */
/* ====================================================================== */
/* ===== 注釈 ===== */
.caution {
	color: #cd5200;
	font-size: 14px;
	margin-top: 10px;
}

/*アンケートエラー*/
.enq-error {
	font-weight: bold;
	color: #ed0000;
	font-size: 16px;
}

.h-indent {
	text-indent: -1em;
	padding-left: 1em;
}

/* ====================================================================== */
/* ヘッダ */
/* ====================================================================== */
#header {
	margin-right: auto;
	margin-left: auto;
	width: 640px;
	box-sizing: border-box;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

#header img {
	width: 638px;
}

@media only screen and (max-width: 596px) {
	#header {
		width: 100%;
		padding-top: 0px;
		border-left: none;
		border-right: none;
	}

	#header img {
		width: 100%;
	}
}

/* ====================================================================== */
/* 見出し */
/* ====================================================================== */
h1 {
	font-weight: bold !important;
	font-size: 16px !important;
	width: 100% !important;
	margin-top: 30px !important;
	margin-bottom: 20px !important;
}

h1 p {
	width: 600px;
	margin: 0 auto;
	line-height: 1.4;
	padding-bottom: 3px;
}

h3 {
	position: relative !important;
	margin-bottom: 8px !important;
	font-weight: bold !important;
	font-size: 16px !important;
	text-align: left !important;
	vertical-align: middle !important;
	padding-top: 4px;

}

h3 p.ico-circle {
	width: 18px;
	height: 18px;
	display: inline-block;
	vertical-align: middle;
	border-radius: 50%;
	box-sizing: border-box;
	margin-right: 5px;
	margin-bottom: 3px;
	border: solid 4px;
}

.borderbottom {
	border-bottom: 4px solid;
}

@media only screen and (max-width: 596px) {
	h1 p {
		width: 92% !important;
		margin: 0 auto 20ox auto !important;
		line-height: 1.4 !important;
		padding-bottom: 3px;
	}
}

/* ====================================================================== */
/*エラー枠 */
/* ====================================================================== */
.error-area {
	width: 100%;
	margin: auto;
	padding: 20px;
	box-sizing: border-box;
	text-align: left;
	font-size: 14px;
}

.error-box {
	width: 600px;
	/* background-color:#ffe1e1;
		margin:auto;
		padding:15px; */
	margin: 1.25em 0 0.75em;
	box-sizing: border-box;
	text-align: left;
	position: relative;
}

.error-box .error-caption {
	position: relative;
	margin-bottom: 8px;
	font-weight: bold;
	color: #ed0000;
	font-size: 16px;
	margin-top: 10px;
	margin-bottom: 25px;
	padding-left: 40px;
}

.error-box .error-caption:before {
	width: 33px;
	height: 28px;
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	display: block;
	background-image: url(../img/icon/ico_error.png);
	background-repeat: no-repeat;
	background-size: contain;
}

@media only screen and (max-width: 596px) {
	.error-area {
		width: 92%;
		padding: 20px 0;
	}

	.error-box {
		width: 100%;
		/* padding:10px; */
	}

	.error-box .error-caption {
		margin-bottom: 20px;
		padding-left: 38px;
		font-size: 16px !important;
		margin-top: 10px;
	}

	.error-box .error-caption:before {
		top: -4px;
	}
}


/* ====================================================================== */
/*アンケートメイン */
/* ====================================================================== */

/*注意事項*/
.caution-box {
	width: 100%;
	margin: auto;
	text-align: left;
	font-size: 14px;
	padding: 10px 15px;
	box-sizing: border-box;
	margin-bottom: 30px;
}

/*アンケートリード文*/
.question-box {
	width: 638px;
	margin: auto;
	padding: 0px;
	box-sizing: border-box;
	text-align: left;
	font-size: 14px;
}

.question-read {
	width: 600px;
	margin: auto;
	padding-bottom: 10px;
	box-sizing: border-box;
	text-align: left;
	font-size: 14px;
}

@media only screen and (max-width: 596px) {
	.question-box {
		width: 100%;
	}

	.question-read {
		width: 92%;
	}
}

/* ====================================================================== */
/* アイコン */
/* ====================================================================== */
.ico-box {
	width: 100%;
	height: 25px;
	padding-bottom: 3px;
	margin: 0 auto;
}

.ico-hissu {
	width: 73px;
	height: 25px;
	background-image: url(../img/icon/ico_hissu.png);
	background-repeat: no-repeat;
	background-size: contain;
	float: left;
	margin-right: 8px;
}

.ico-fukusu {
	width: 86px;
	height: 25px;
	background-image: url(../img/icon/ico_fukusu.png);
	background-repeat: no-repeat;
	background-size: contain;
	float: left;
	margin-right: 8px;
}

/* ====================================================================== */
/* アンケートフォーム */
/* ====================================================================== */

/* 設問番号 */
.enq-number {
	font-weight: bold !important;
	font-size: 16px !important;
	width: 100% !important;
	color: #fff;
	margin: 15px auto 0 auto;
	line-height: 1.4;
	padding: 5px 15px;
}

.enq-label {
	width: 638px;
	padding: 15px;
	box-sizing: border-box;
	margin: 0 auto 20px auto;
}

.enq-form,
.enq-form-select,
.agree-form {
	width: 600px !important;
	margin: 0 auto 40px auto !important;
	border-radius: 4px !important;
	background-color: #fff !important;
	font-size: 14px !important;
	text-align: left !important;
	border: 1px solid #c6c6c6 !important;
	padding: 18px 15px 0 15px !important;
	box-sizing: border-box !important;
	clear: both;
	line-height: 0;
}

/* 解答欄まとめPC */
.select-set {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 1em auto 2em;
}
.text-set {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 1em 0.5rem 0;
}

.select-set:last-of-type {
	margin: 0 auto 1em;
}

.select-set select {
	vertical-align: middle;
	flex: 2;
}

.select-set .select-label, .text-set .text-label  {
	flex: 1;
	line-height: 1.4;
}

.select-set select,
.select-set .select-label  {
	justify-content: space-around;
	margin: 0 10px;
}

.text-set .text-label  {
	/*justify-content: start;*/
	/*margin: 0 10px;*/
}

.preview-box .select-set {
	padding: 0 1em;
}

/* //解答欄まとめPC */

.agree-form-input {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-bottom: 18px !important;
}

.agree-form-input input[type=checkbox] {
	margin-right: 10px;
}

.enq-form label {
	padding-left: 1.2em;
	position: relative;
	top: -1.2em;
	display: block;
	cursor: pointer;
	line-height: 1.5;
}

.enq-form-select label {
	padding-left: 0.5em;
	margin-bottom: 0.5em;
	position: relative;
	line-height: 1.5;
}

.enq-form-input {
	text-align: center;
}

.enq-form-input input {
	width: 600px !important;
	margin: 0 auto 20px !important;
	border-radius: 4px !important;
	background-color: #fff !important;
	font-size: 14px !important;
	text-align: left !important;
	border: 1px solid #c6c6c6 !important;
	padding: 0 5px !important;
	box-sizing: border-box !important;
	overflow: auto;
}

@media only screen and (max-width: 596px) {
	.enq-form-input input {
		width: 92% !important;
	}

	/* 解答欄まとめSP */
	.select-set, .text-set {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin: 0 auto 2em;
	}


	.select-set select {
		vertical-align: middle;
		flex: 1;
	}

	.select-set .select-label, .text-set .text-label {
		flex: 1;
		margin-bottom: 1em;
		font-size: 16px;
		font-weight: bold;
	}

	.select-set select,
	.select-set .select-label {
		justify-content: space-around;
		margin: 0.75em;
	}

	.text-set .text-label {
		/*justify-content: start;*/
		margin: 0.75em;
	}

	.preview-box .select-set {
		flex-direction: row;
		margin: 0 auto;
		padding: 0;
	}

	/* //解答欄まとめSP */
}

.enq-form-select {
	padding-bottom: 15px !important;
}

.enq-form-select select {
	width: 100%;
	padding: 0.75em;
}


.enq-form-textarea {
	text-align: center !important;
}

.enq-form-textarea textarea {
	width: 600px !important;
	height: 150px !important;
	margin: 0 auto 10px !important;
	border-radius: 4px !important;
	background-color: #fff !important;
	font-size: 14px !important;
	text-align: left !important;
	border: 1px solid #c6c6c6 !important;
	padding: 20px !important;
	box-sizing: border-box !important;
	overflow: auto;
}

.enq-form-textarea .note {
	margin-right: auto;
	margin-left: auto;
	color: #cd5200;
	width: 600px;
	text-align: right;
}

@media only screen and (max-width: 596px) {
	.enq-form-textarea .note {
		width: 92%;
	}
}

.enq-form-textarea02 textarea,
.enq-form-textarea02 input {
	width: 60% !important;
	height: 30px !important;
	overflow: hidden;
	margin: 0 auto 10px 20px !important;
	border-radius: 4px !important;
	background-color: #fff !important;
	font-size: 14px !important;
	text-align: left !important;
	border: 1px solid #c6c6c6 !important;
	padding: 5px !important;
	box-sizing: border-box !important;
}

.enq-form-textarea02 textarea:focus,
.enq-form-textarea02 input:focus,
.enq-form-textarea textarea:focus {
	background-color: #ffffdf !important;
}

.enq-ans {
	width: 600px;
	margin: 10px auto 0 auto;
	padding: 0px 0 26px 0;
	box-sizing: border-box;
	text-align: left;
	font-size: 14px;
	word-break: break-all;
}

@media only screen and (max-width: 596px) {
	.enq-label {
		width: 100% !important;
		padding: 10px !important;
	}

	.enq-form,
	.enq-form-select,
	.agree-form {
		width: 92% !important;
		font-size: 14px !important;
	}

	.enq-form label {
		top: -1.1em;
	}

	.enq-form-textarea textarea {
		width: 92% !important;
		padding: 0px !important;
	}

	.enq-ans {
		width: 92%;
	}
}

/**
 * 郵便番号
 */
.postalcode {
	display: flex;
	justify-content: start;
	align-items: center;
}

.postalcode input:first-of-type {
	width: 100px;
}

.postalcode input:last-of-type {
	width: 140px;
}

@media only screen and (max-width: 596px) {

	.postalcode input:first-of-type,
	.postalcode input:last-of-type {
		width: 100%;
	}
}

/*確認画面用*/
.preview-box {
	width: 638px;
	margin: auto;
	padding: 0px;
	box-sizing: border-box;
	text-align: left;
	font-size: 14px;
}

@media only screen and (max-width: 596px) {
	.preview-box {
		width: 100%;
	}
}

/* ====================================================================== */
/* ボタン */
/* ====================================================================== */
.btnArea {
	padding-top: 30px;
}

.btnArea ul {
	display: inline-block;
}

.btnArea li {
	display: inline-block;
}

/* ===== 基本ボタン ===== */
.button a {
	width: 222px;
	display: block;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	padding: 15px;
	border-radius: 6px;
	box-sizing: border-box;
	text-align: center;
}

.button a:hover {
	opacity: 0.7;
}

.button .prev a {
	margin-right: 15px;
	margin-bottom: 5px;
}

.button .next a {
	margin-right: 10px;
	margin-bottom: 10px;
}

@media only screen and (max-width: 596px) {
	.btnArea ul {
		display: inline-block;
		width: 100%;
	}

	.btnArea li {
		display: inline-block;
		width: 44%;
	}

	/* ===== 基本ボタン ===== */
	.button a {
		width: 100%;
		display: block;
		color: #fff;
		font-weight: bold;
		text-decoration: none;
		padding: 10px;
		border-radius: 6px;
		box-sizing: border-box;
		text-align: center;
		font-size: 18px !important;
	}

	.button .prev {
		margin-right: 2%;
	}
}

/* ====================================================================== */
/* トップへ戻る */
/* ====================================================================== */

.ico-pagetop {
	width: 48px;
	height: 48px;
	display: block;
	border-radius: 50%;
	box-sizing: border-box;
	padding-bottom: 20px;
	position: relative;
	border: solid 4px;
}

.ico-tri {
	position: absolute;
	right: 6px;
	bottom: 13px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 14px 17px 14px;
}


#page-top {
	position: fixed;
	bottom: 70px;
	right: 20px;
}

#page-top a {
	display: block;
}

#page-top a:hover {
	text-decoration: none;
}

#page-top img {
	width: 70%;
	padding-bottom: 20px;
}

@media only screen and (max-width: 596px) {
	#page-top {
		position: fixed;
		bottom: 45px;
		right: 0px;
	}

	#page-top img {
		width: 70%;
		padding-bottom: 20px;
	}

	#page-top a {
		display: block;
	}

	#page-top a:hover {
		text-decoration: none;
	}
}


/* ====================================================================== */
/* フッタ */
/* ====================================================================== */
#footer {
	width: 100%;
	text-align: center;
	height: 60px;
	position: absolute;
	bottom: 0;
	background-color: #333333;
	box-sizing: border-box;
}

#copyright {
	padding-top: 20px;
	padding-bottom: 20px;
	color: #ffffff;
	text-align: center;
	font-size: 12px;
	box-sizing: border-box;

}

@media only screen and (max-width: 596px) {
	#footer {
		width: 100%;
		text-align: center;
		height: auto;
		position: absolute;
		bottom: 0;
		background-color: #333333;
		box-sizing: border-box;
	}

	#copyright {
		margin-right: auto;
		margin-left: auto;
		width: 92%;
		box-sizing: border-box;
		font-size: 10px;
		padding: 8px;
	}
}





/* ====================================================================== */
/* 今回のカスタム要素 */
/* ====================================================================== */
h1.pagetitle {
	margin-top: 0 !important;
	margin-bottom: 0.5em !important;
	padding: 1.5em 0.5em;
	color: #ffffff !important;
}
.day,
.time div {
	text-align: center;
	border-radius: 0.35em;
}
.time div.bgred {background: #edd1d1;}
.time div.bggray {background: #dddddd;}
.time div.bgblue {background: #d1d1ed;}

.day {
	width: 280px;
	margin: 0 auto 0.5em;
	padding: 0.75em;
}

.time {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	row-gap: 0.5em;
}

.time div {
	box-sizing: border-box;
	flex-basis: 15%;
	padding: 0.75em 1.75em;
}
/* 最終行の子要素だけ右マージンを削除 */
.time:before {
    content: "";
	flex-basis: 15%;
    margin: 0;
	order: 1;
}
.time:after {
    content: "";
	flex-basis: 15%;
    margin: 0;
}

select[name="ORDER_NUM"] {
	flex:4.5;
}
input[type="text"] {
	padding:0.5em;
}

@media only screen and (max-width: 596px) {
	.time {
	}
	/* スマホ向けの場合の最終行の子要素の右マージン削除 */
	.time:before {
		flex-basis: 22.5%;
    }
	.time:after {
		flex-basis: 22.5%;
    }

	.time div {
		flex-basis: 22.5%;
		padding: 0.75em 1.25em;
	}
	.day {
		width: 80%;
	}

}