@charset "utf-8";


/* ========================================================================================= */
/* ==== base 上書き ========= */
/* ========================================================================================= */


main h1 {
	color: #333;
	line-height: 1.4em;
	margin: 0 0 24px;
	padding: 24px 0;
	font-size: 176%;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
}

.product main {
	float: none;
	clear: both;
	width: 100%;
	font-size: 92%;
	margin: 12px 0 40px;
	border-top: 4px solid #488e00;
	background-color: #fff;
	padding: 16px 24px;
	box-sizing: border-box;
}




@media only screen and (max-width: 768px) {

	.product main {
		float: none;
		width: 100%;
		padding: 16px 0;
	}

	.product main h1 {
		padding: 8px 1rem 24px;
	}

	main form section {
		padding: 0 1rem 2rem;
	}

	main #list {
		padding: 1rem;
	}

	main #list>ul>li {
		background-color: #fff;
		padding: 1rem;
		margin-bottom: 1rem;
	}

	main #list>ul>li>section {
		padding-left: 0;
		padding-right: 0;
		margin-bottom: 1em;
	}

	main #list>ul>li>p {
		padding: 1rem;
		margin-bottom: 1em;
	}


}




/* ========================================================================================= */
/* ==== 登録 フォーム  ========= */
/* ========================================================================================= */

/* ----- ページ構成 ------------------------------------------ */
#entry_form {
	display: block;
	background-color: rgb(245, 245, 245);
	padding: 1em 0 0;
}


/* ----- フォーム基本 ------------------------------------------ */
#entry_form .message {
	margin: 1em;
	padding: 1em;
	font-weight: bold;
	font-size: 1.2em;

}

#entry_form .errors {
	color: red;
}

#entry_form>p.errors {
	margin: 1em auto;
	width: calc(100% - 1.5em);
}

.link a {
	color: blue;
	text-decoration: underline;
}




/* ----- 確認画面 ------------------------------------------ */

#entry_form.confirm_form p.inputs {
	font-weight: bold;
	color: #888;
}

#entry_form.confirm_form section#item0 p.inputs {
	color: #333;
	font-size: 1.1em;
}




/* ----- フォームテーブル ------------------------------------------ */
#entry_form table {
	margin: 1em auto;
	width: calc(100% - 1.5em);
	border: none;
	border-collapse: collapse;
	border-spacing: 0;
	max-width: 100% !important;
}



#entry_form table tr td,
#entry_form table tr th {
	border-bottom: 0.5em solid rgb(245, 245, 245);

}

#entry_form table tr.main td,
#entry_form table tr.main th {
	border-bottom: none;
}

#entry_form table th {

	border: none;
	padding: 1em 2em;
	text-align: left;
	width: 16.5em;
	color: #333;
	background-color: #fff;
	word-break: keep-all;
	font-weight: bold;
	font-size: 1.1em;
	line-height: 1.8;
	vertical-align: middle;

}


#entry_form table th span {
	display: inline-block;
	padding: 0 0.5em;
	font-size: 0.8em;
	line-height: 1.8;
	color: #ffffff;
	background-color: #ff0b00;
	text-align: center;
	margin: 0.1em 0 0.1em 1em;
}




#entry_form table td {
	border: none;
	padding: 1em 0.5em;
	text-align: left;
	box-sizing: border-box;
	background-color: #fff;
}




/* ----- フォーム自体 ------------------------------------------ */

/* placeholder */
#entry_form input::placeholder {
	color: rgba(150, 150, 150, 1);
}


/* 入力 */
#entry_form input[type="text"],
#entry_form input[type="date"],
#entry_form input[type="tel"],
#entry_form input[type="email"],
#entry_form input[type="number"],
#entry_form input[type="password"],
#entry_form textarea {

	width: 90%;
	min-width: 16em;
	max-width: 50em;
	box-sizing: border-box;
	font-size: 1.1em;
	color: #666666;
	padding: 0.5em 0.75em;
	line-height: 1.5;
	background-color: #ebebeb;
	border: none;
	border-radius: 2px;

}


#entry_form textarea {
	height: 10em;
}

/* セレクトボックス */
#entry_form td dd span a:hover {
	background: #003549;
	text-decoration: none;
}


#entry_form td>ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	box-sizing: border-box;
	width: 100%;
}

#entry_form td>ul>li {
	display: block;
	box-sizing: border-box;
	width: 50%;
	white-space: nowrap;
}

#entry_form td>ul.nrr>li {
	width: 33%;
}

#entry_form.confirm td>ul>li {
	width: 100%;
}


#entry_form .select_text {

	position: relative;
	padding: 0;
	margin: 0;
}

#entry_form .select_text input[type="text"] {
	border-radius: 4px;
}

#entry_form .select_text::after {
	position: absolute;
	display: block;
	content: '';
	top: calc(50% - 0.25em);
	right: 1em;
	width: 0;
	height: 0;
	font-size: 1rem;
	border-top: 0.5em solid rgba(51, 51, 51, 0.5);
	border-bottom: 0.5em solid rgba(51, 51, 51, 0);
	border-left: 0.5em solid rgba(51, 51, 51, 0);
	border-right: 0.5em solid rgba(51, 51, 51, 0);
	z-index: 100000000;
}

#entry_form ul.list {
	display: block;
	width: calc(90% - 2px - 0.5em);
	min-width: calc(16em - 2px - 0.5em);
	max-width: calc(50em - 2px - 0.5em);
	max-height: calc(10em - 2px);
	overflow-y: scroll;
	border: 1px solid #ddd;
	transition: all 0.5s;
	opacity: 0;
	position: absolute;
	background-color: rgba(255, 255, 255, 1);
	/* top: 0; */
	/* left: 0.5em; */
	box-sizing: border-box;
	z-index: 100;
	border-radius: 0 0 0.75em 0.75em;
	box-shadow: 0 7px 5px 2px rgba(221, 221, 221, 0.8);
}

#entry_form ul.list li {

	padding: 0.1em 0.3em;
	width: 100%;
}

#entry_form ul.list li a {

	height: 2em;
	line-height: 1.4em;
	padding: 0.25em 0;
	color: #666666;
	text-decoration: none;
	/* border-bottom: 1px solid #ddd; */
	transition: all 0.5s;
	text-align: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.5em;
	box-shadow: 0 0 1px 0 rgba(233, 232, 232, 0.8);

}



#entry_form ul.list li a:hover,
#entry_form ul.list li a.on {
	background-color: rgba(221, 221, 221, 0.8);
}



/* radio */
#entry_form input[type="radio"] {
	display: none;
}

#entry_form input[type="radio"]+label::before {
	position: absolute;
	content: '';
	display: block;
	left: -2em;
	top: 0.15em;
	width: 1.2em;
	height: 1.2em;
	border-radius: 50%;
	background: #dddddd;
}

#entry_form input[type="radio"]+label {
	display: inline-block;
	margin: 0.5em 0 0.5em 2em;
	position: relative;
}

#entry_form input[type="radio"]:checked+label::after {
	position: absolute;
	content: '';
	display: none;
	left: -1.7em;
	top: 0.45em;
}

#entry_form input[type="radio"]:checked+label::before {
	background: #e0e0e0;
}

#entry_form input[type="radio"]:checked+label::after {
	display: block;
	width: 0.6em;
	height: 0.6em;
	background: #777777;
	border-radius: 50%;
}

/* checkbox */
#entry_form input[type="checkbox"] {
	display: none;
}

#entry_form input[type="checkbox"]+label::before {

	position: absolute;
	content: '';
	display: block;
	left: -2em;
	top: 0.15em;
	width: 1.2em;
	height: 1.2em;
	border-radius: 3px;
	background: #dddddd;

}



#entry_form input[type="checkbox"]+label {
	display: inline-block;
	margin: 0.5em 0 0.5em 2em;
	position: relative;
}

#entry_form input[type="checkbox"]:checked+label::after {
	position: absolute;
	content: '';
	display: none;
	left: -1.8em;
	top: 0;
}

#entry_form input[type="checkbox"]:checked+label::before {
	background: #e0e0e0;
}

#entry_form input[type="checkbox"]:checked+label::after {
	display: block;
	width: 1em;
	height: 0.5em;
	border-left: 3px solid #777777;
	border-bottom: 3px solid #777777;
	transform: rotate(-45deg);
}

#entry_form span input[type="checkbox"]+label::before {
	width: 1em;
	height: 1em;
	left: -1.25em;
}

#entry_form span input[type="checkbox"]:checked+label::after {
	top: 0.2em;
	left: -1.25em;
	width: 0.7em;
	height: 0.35em;
}






/* ボタン */
#entry_form .buttons {
	text-align: center;
	padding-top: 1em;
	padding-bottom: 1em;
	background-color: #fff;
}


#entry_form .buttons a {
	display: inline-block;
	text-align: center;
	background: #00728e;
	transition: background 0.3s;
	line-height: 1.5em;
	font-size: 1.1em;
	color: #fff;
	border-radius: 0.25em;
	padding: 0.5em 3em;
	min-width: 10em;
	text-decoration: none;
}

#entry_form .buttons a.rebtn {
	display: inline-block;
	text-align: center;
	background: #8e8e8e;
	transition: background 0.3s;
	line-height: 3em;
	font-size: 1.1em;
	color: #fff;
	border-radius: 0.25em;
	margin: 0 0 0.2em;
	padding: 0 3em;
	min-width: 10em;
	text-decoration: none;
}


#entry_form .buttons a:hover {
	background: #003549;
	text-decoration: none;
}

#entry_form .buttons a.rebtn:hover {
	background: #555;
	text-decoration: none;
}


/* 縦並びにする */
#entry_form table tr td,
#entry_form table tr th {
	width: 100%;
	padding: 0 1em 1.5em;
	display: block;
	box-sizing: border-box;
}


#entry_form table tr th {
	border: none;
}
#entry_form table tr th p {
	margin: 0;
	padding-top: 1.5em;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	column-gap: 0.5em;
	font-weight: bold;
	flex-wrap: wrap;
}
#entry_form table tr th span {
	display: inline-block;
}
#entry_form table tr th img {
	height: 1.05em;
}

#entry_form input[type="text"],
#entry_form input[type="tel"],
#entry_form input[type="email"],
#entry_form input[type="password"],
#entry_form textarea {
	max-width: none;
	width: 100%;
	min-width: 8em;
}


@media only screen and (max-width: 860px) {

	#entry_form table tr td,
	#entry_form table tr th {
		width: 100%;
		padding: 0 1em 1.5em;
		display: block;
		box-sizing: border-box;
	}

	#entry_form table tr th {
		border: none;
		padding-top: 1.5em;
	}

	#entry_form input[type="text"],
	#entry_form input[type="tel"],
	#entry_form input[type="email"],
	#entry_form input[type="password"],
	#entry_form textarea {
		width: 100%;
		min-width: 8em;
	}
}


