@charset "utf-8";
/* CSS Document */

html {
	height: 100%;
}

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.bg {
	flex: 1;
}

.form_contents {
	width: 100%;
	max-width: 1260px;
}

.main_in {
	margin: 10px;
	padding: 10px 30px;
	background: #FFF;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.main {
	border-collapse: collapse;
	text-align: left;
	line-height: 1.5;
	width: 100%;
	border-top: 10px solid #FFF;
	border-left: 10px solid #FFF;
	margin-bottom: 1.5em;
}

.main th {
	padding: 10px;
	font-weight: bold;
	color: #FFF;
	border-right: 10px solid #FFF;
	border-bottom: 10px solid #FFF;
	background: #080059;
	text-align: center;
	white-space: nowrap;
	width: 150px;
}

.main_in th {
	padding: 10px;
	font-weight: bold;
	border-right: 10px solid #FFF;
	text-align: left;
	white-space: nowrap;
	width: 250px;
}

.main_in tr {
	display: flex;
	padding-bottom: 10px;
	align-items: center;
}

.main td {
	padding: 10px;
	vertical-align: top;
	background: #FFF;
	border-right: 10px solid #FFF;
	border-bottom: 10px solid #FFF;
}

.text_big {
	font-size:2.0rem;
	font-weight: bold;
}

.sub_title_center {
	text-align: center;
	display: block;
}

.sub_title {
	text-align: left;
	display: inline-block;
	padding: 10px 0;
	width: 85%;
	gap: 30px;
	border-bottom: 1px solid #080059;
	text-align: left;
}

.explain {
	text-align: left;
	display: inline-block;
	width: 85%;
	text-align: left;
}

.close_button {
	display: flex;
	justify-content: center;
	width: 270px;
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #080059;
	text-decoration: none;
	border-radius: 7px;
}

.close_button:hover {
	background: #E2E8EC;
	color: #080059;
	text-decoration: none;
}

.entry_button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 270px;
	padding: 5px;
	margin-top: 10px;
	margin-bottom: 5px;
	background:rgb(250, 135, 28);
	/* border: 1px solid #080059 !important; */
	color: rgb(255, 255, 255);
	text-decoration: none;
	border-radius: 7px;
}

.entry_button:hover {
	background:rgb(255, 162, 75);
	text-decoration: none;
	cursor: pointer;
}

.back_button {
	display: flex;
	justify-content: center;
	align-items: center;
	/* width: 270px; */
	padding: 5px;
	margin-top: 30px;
	margin-bottom: 5px;
	background: #fff !important;
	/* border: 1px solid rgb(142, 140, 161) !important; */
	/* text-decoration: none; */
	border-radius: 7px;
}

.back_button:hover {
	/* background: #E2E8EC !important; */
	color:rgb(164, 164, 164);
	/* text-decoration: none; */
	cursor: pointer;
}

input[type="text"],
input[type="date"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="submit"],
input[type="button"],
select,
textarea,
button {
  -moz-default-appearance: none;
  -webkit-default-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  border: none;
  font-family: 'Noto Sans JP', 'Open Sans', Arial, Roboto, "Droid Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "游ゴシック", YuGothic, sans-serif;
  font-size: 1.6rem;
  box-sizing: border-box;
}

.confirm {
	padding: 4px;
	margin: 3px 2px;
	vertical-align: middle;
	width: 300px;
}

select {
	width: 520px;
}

input[type="number"] {
	width: 460px;
}

input[type="text"], 
input[type="number"], 
input[type="date"], 
input[type="password"], 
textarea, 
select {
	background: #F7FBFF;
	border: 1px solid #CCCCCC;
	padding: 4px;
	margin: 3px 2px;
	vertical-align:middle;

}

input[type="text"]:focus, 
input[type="date"]:focus, 
input[type="number"]:focus, 
textarea:focus {
	border: 1px solid #999;
	background: #FFF;
}

input[type="radio"], 
input[type="checkbox"] {
	vertical-align: middle;
}

input[type="radio"], 
input[type="checkbox"],
x:-moz-any-link, x:default {
	margin: 5px 2px;
}

input[type="reset"], 
input[type="button"] {
	padding: 0.2em 0.6em;
}

.w-full {
	width: 100%;
}

.w-30 { width: 30px }
.w-40 { width: 40px }
.w-65 { width: 65px }
.w-100 { width: 100px }
.w-160 { width: 160px }
.w-240 { width: 240px }
.w-370 { width: 370px }
.w-450 { width: 450px }
.w-500 { width: 500px }

.remarks {
  width: 100%;
	box-sizing: border-box;
}

table {
	table-layout: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

/*
*  
/* ------------------------------------*/
.error {
	border: solid 1px #FFF;
	font-weight:bolder;
	padding: 0.1em 4px;
	color: #FFF;
  	font-size: 1.4rem;
	background: #F60;
	display: flex;
	width: 100%;
}

.error_text {
	text-align: left;
	border: solid 1px #FFF;
	display: inline-block;
	font-weight: bold;
	padding: 0.1em 0.3em;
	color: #F60;
}


.error_content {
	text-align: center;
	display: block;
}

.error_text {
	text-align: left;
	border: solid 1px #FFF;
	display: inline-block;
	font-weight: bold;
	padding: 0.1em 0.3em;
	color: #F60;
}

/* ボタン */
input[type="submit"],
input[type="button"],
button {
  font-size: 1.8rem;
}

/* 表示領域が992px以上の場合に適用するスタイル */
@media screen and (min-width: 992px) {
	.form_contents {
		padding: 0 10px;
	}
}

/* 表示領域が570px以下の場合に適用するスタイル */
@media print, screen and (max-width: 570px) {
	.main_in th, td {
		display: block;
 		width: 100%;
		padding-left: 10px;
	}
	.main_in tr {
		display: block;
		padding-bottom: 20px;
	}
	.main_in {
		padding: 10px;
	}

	.sub_title {
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.explain {
		width: 100%;
	}

	table {
		align-items: start;
	}

	select {
		width: 350px;
	}	

	input[type="number"] {
		width: 300px;
	}
}
