/* form_base ここから */
/* 全ての要素 */
* {
	font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans", "ヒラギノ角ゴシック", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS P Gothic", system-ui, sans-serif;
	/* font-family: 'Noto Sans JP', system-ui, sans-serif; */
	transition: all .3s;
}

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
}

.body_tbl {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex: 1;
}

body {
	width: 100%;
	/* background: var(--green-color-primary); */
	background: var(--white-color-primary);
	color: var(--base-color);
	font-size: 16px;
	line-height: 160%;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	word-break: normal;
	/* opacity: 0; */
}

a {
	text-decoration: underline;
	color: var(--base-color);
	&:hover {
		text-decoration: none;
		color: var(--main-color);
	}
	&.link {
		margin-inline: .3em;
		&::after {
			content: "\29C9";
			margin-left: .3em;
			font-size: .9em;
			vertical-align: middle;
			color: var(--main-color);
			text-decoration: none;
			pointer-events: none;
		}
	}
}

hr {
	border-bottom: 1px dashed #ccc;
	margin: 20px auto 10px auto;
}

.caution_red1 {
	display: inline-block;
	border: 1px solid var(--invalid-color);
	color: var(--invalid-color);
	font-size: 14px;
	line-height: 140%;
	margin-top: 5px;
	padding: 3px 7px;
}

.caution_red2 {
	display: inline-block;
	background: var(--invalid-color);
	color: var(--white-color-primary);
	font-size: 14px;
	margin-top: 5px;
	padding: 3px 7px;
}

/* button */
.btn_wrapper {
	text-align: center;
	margin: 30px auto;
}

.btn_wrapper a {
	display: inline-block;
	width: 90%;
	max-width: 300px;
	background: var(--main-color);
	/* border-bottom: 3px solid #228685; */
	border-radius: 4px;
	box-sizing: border-box;
	color: var(--white-color-primary) !important;
	font-size: 1.125rem;
	-webkit-font-smoothing: antialiased;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	letter-spacing: 1px;
	line-height: 140%;
	padding: 15px 10px;
	margin: 0px 5px 30px 5px;
	cursor: pointer;
}

a.btn_black {
	background: #444;
	border-bottom: 3px solid #000;
}

a.btn_mint {
	background: var(--main-color);
	border-bottom: 3px solid #257b7a;
}

a.btn_pink {
	background: #ec8484;
	border-bottom: 3px solid #be5252;
}

.btn_wrapper a:last-child {
	margin-bottom: 0px;
}

.btn_wrapper a:hover {
	filter: alpha(opacity=90);
	-ms-filter: alpha(opacity=90);
	opacity: 0.9;
}

/* button_mini_size */
a.btn_mini {
	display: inline-block;
	background: #223a70;
	border-bottom: 2px solid #001248;
	border-radius: 3px;
	box-sizing: border-box;
	color: var(--white-color-primary) !important;
	font-size: 0.875rem;
	-webkit-font-smoothing: antialiased;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	letter-spacing: 1px;
	line-height: 140%;
	padding: 7px 15px;
	margin: 5px 5px 5px 5px;
	cursor: pointer;
}

a.btn_mini:hover {
	filter: alpha(opacity=90);
	-ms-filter: alpha(opacity=90);
	opacity: 0.9;
	text-decoration: none;
}

a.btn_mini2 {
	display: inline-block;
	background: #e4faff;
	border: 1px solid #223a70;
	box-sizing: border-box;
	color: #006699 !important;
	font-size: 0.875rem;
	-webkit-font-smoothing: antialiased;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	letter-spacing: 1px;
	line-height: 140%;
	padding: 5px 10px;
	margin: 5px 5px 5px 5px;
	cursor: pointer;
}

a.btn_mini2:hover {
	filter: alpha(opacity=90);
	-ms-filter: alpha(opacity=90);
	opacity: 0.9;
	text-decoration: none;
}

/* btn_square */
.btn_square_wrapper {
	text-align: center;
	margin-bottom: 30px;
}

.btn_square {
	position: relative;
	display: flex;
	justify-content: space-around;
	width: fit-content;
	min-width: 200px;
	max-width: 400px;
	background: var(--white-color-primary);
	border: 1px solid var(--gray-color-tertiary);
	border-radius: 3px;
	box-sizing: border-box;
	text-align: left;
	/* margin: 10px 10px 20px 10px; */
	padding: 15px 20px;
	vertical-align: top;
	text-decoration: none;
	color: var(--base-color);

	&:hover {
		background-color: var(--green-color-tertiary);
		color: var(--main-color);
	}
}

.btn_square a {
	display: block;
	color: #2e6ea8;
	font-size: 20px;
	box-sizing: border-box;
	font-weight: bold;
	text-decoration: none;
}

.btn_square span {
	display: block;
	font-size: 12px;
	font-weight: normal;
	line-height: 140%;
	margin-top: 5px;
}

/* .btn_square::after {
	content: "";
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 10px 10px;
	border-color: transparent transparent #223a70 transparent;
} */
.no_link {
	background: none;
	border: none;
}

.no_link::after {
	content: none;
}

@media screen and (max-width:639px) {
	.btn_square {
		width: 95%;
		max-width: 400px;
		margin: 10px auto 20px auto;
	}
}

/* footer */
footer {
	display: flex;
	flex-flow: column;
	background: var(--white-color-primary);
	/* color: var(--white-color-primary); */
	font-size: 12px;
	/* padding: 15px 15px; */
	border-top: var(--gray-color-primary) 1.5px solid;

	& #footer_main-wrapper {
		display: flex;
		justify-content: space-around;
		align-items: center;
		padding: 15px;
	}

	& #footer_bottom-wrapper {
		background-color: var(--blue-color-primary);
		color: var(--white-color-primary);
		padding: 5px;
		min-height: 36px;
	}
}

@media screen and (max-width:639px) {
	footer {
		& #footer_main-wrapper {
			flex-flow: column-reverse;
		}
	}
}

/* footer p {
	text-align: center;
} */
.copyright {
	text-align: center;
}

/* 文字装飾 */
.bold {
	font-weight: bold;
}

.red {
	color: var(--invalid-color);
}

/* 表示切替用 */
.invisible {
	opacity: 0;
	
	&.height_none {
		height: 0;
	}
}

.u-line {
	text-decoration: underline !important;
    display: inline-block !important;
    margin: 0 !important;
}

/* form_base ここまで */