@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@charset "UTF-8";
:root {
	/* font family */
	--ff-san-serif: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Yu Gothic", "游ゴシック", sans-serif;
	--ff-serif: "Noto Serif JP", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro", "Yu Mincho", "游明朝", serif;
	/* font size */
	--fs-minimum: 0.75em;
	--fs-caption: 0.875em;
	--fs-base: 1em;
	--fs-medium: 1.25em;
	--fs-large: 1.5em;
	/* line height */
	--lh-base: 1;
	--lh-text: 1.5;
	--lh-paragraph: 2;
	/* color */
	--c-black: #000000;
	--c-white: #ffffff;
	--c-access-blue: #003b83;
	--c-light-navy: #99a9ce;
	--c-alart: #ff0000;
	--c-alart-bg: #fff3f3;
	--c-main: #333333;
	--c-sub: #666666;
	--c-border: #e5e5e5;
	--c-placeholder: #aaaaaa;
	--c-input-bg: #f5f5f5;
	--c-input-hover: #f0f0f0;
	--c-check-bg: #cccccc;
	--c-check-hover: #aaaaaa;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	color: var(--c-main);
	font-size: 16px;
	font-family: var(--ff-san-serif);
	line-height: 1;
	text-autospace: normal;
}
.inner {
	margin: 0 auto;
	width: 100%;
	max-width: 1280px;
}

/* row, column */
.form-field {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	border-bottom: 1px dashed var(--c-border);
}
.form-field:first-child {
	padding-top: 0.75em;
}
.item-label,
.item-container {
	margin: 1em 0;
}
.item-label {
	width: 25%;
}
.item-container {
	width: calc(75% - 1rem);
	padding: 0 2px;
}
.field-label {
	display: inline-block;
	line-height: var(--lh-text);
}
.value {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.field-label,
.value {
	margin: 0.75em 0;
}

/* required label */
.required .field-label::after {
	content: "必須";
	display: inline-block;
	flex: 0 0 auto;
	color: var(--c-sub);
	font-size: var(--fs-minimum);
	line-height: var(--lh-base);
	margin-left: 0.75em;
	padding: 0.375em 0.5em;
	background-color: #f0f0f0;
	border-radius: 0.5em;
	vertical-align: 1px;
}

/* text, textarea */
input[type="text"],
textarea {
	font-size: var(--fs-base);
	padding: 0.75em 1em;
	background-color: var(--c-input-bg);
	border: 1px solid transparent;
	border-radius: 0.5rem;
	width: 100%;
}
input[type="text"] {
	line-height: var(--lh-base);
	height: 3em;
}
textarea {
	line-height: var(--lh-text);
	height: 15em;
}

/* select */
.pd-select .item-value {
	position: relative;
	width: fit-content;
}
.pd-select .item-value::after {
	position: absolute;
	right: 0.75em;
	bottom: 0.75em;
	font-family: 'Material Icons';
	content: 'expand_more';
	font-size: 1.25em;
	line-height: var(--lh-base);
	color: var(--c-sub);
	pointer-events: none;
}
select {
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	min-width: 20em;
	height: 3em;
	padding: 0.75em 3em 0.75em 1em ;
	background-color: var(--c-input-bg);
	border: 1px solid transparent;
	border-radius: 9999px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}
select:has(option[value=""]:checked) {
    color: var(--c-placeholder) !important;
}
select:valid {
    color: var(--c-black) !important;
}
select option {
    color: var(--c-black) !important;
}

/* checkbox, radio */
input[type="checkbox"],
input[type="radio"] {
	opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}
.pd-checkbox .value label,
.pd-radio .value label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	line-height: var(--lh-text);
	width: fit-content;
	cursor: pointer;
}
.pd-checkbox .value label::before,
.pd-radio .value label::before {
	font-family: 'Material Icons';
	font-size: 1.25em;
	line-height: var(--lh-base);
	color: var(--c-check-bg);
	margin-top: 1px;
}
.pd-checkbox .value label::before {
	content: 'check_box_outline_blank';
}
.pd-radio .value label::before {
	content: 'radio_button_unchecked';
}

/* privacy policy, recaptcha */
.Privacy_policy,
.pd-captcha {
	padding: 1em 0;
	border-bottom: none;
}
.Privacy_policy .item-container,
.pd-captcha .item-container {
	width: fit-content;
	margin: 0 auto;
}
.Privacy_policy .field-label,
.Privacy_policy .value {
	margin: 0;
}
.Privacy_policy label {
	padding: 0.75em 1em;
	background-color: var(--c-input-bg);
	border: 1px solid transparent;
	border-radius: 9999px;
}
.Privacy_policy .no-label,
.pd-captcha .no-label {
	text-align: center;
}
.Privacy_policy .policy-link {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}
.Privacy_policy .policy-link a {
	color: var(--c-main);
	font-size: var(--fs-caption);
	text-decoration: none;
}
.Privacy_policy .policy-link a::after {
	display: inline-block;
	font-family: 'Material Icons';
	content: 'open_in_new';
	color: var(--c-sub);
	margin-left: 0.25em;
	vertical-align: -2px;
}

/* placeholder color */
input::placeholder,
textarea::placeholder {
    color: var(--c-placeholder) !important;
    opacity: 1;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: var(--c-placeholder) !important;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
    color: var(--c-placeholder) !important;
    opacity: 1;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: var(--c-placeholder) !important;
}

/* hover */
input[type="text"]:hover,
textarea:hover,
select:hover,
.Privacy_policy label:hover {
	background-color: var(--c-input-hover);
}
.pd-checkbox .value label:hover,
.pd-radio .value label:hover,
.policy-link a:hover {
	color: var(--c-black);
}
.pd-checkbox .value label:hover::before,
.pd-radio .value label:hover::before {
	color: var(--c-check-hover);
}

/* error, description */
.errors {
	color: var(--c-alart);
	text-align: center;
	margin: 1em 0;
	padding: 2em;
}
.errors,
.error.required .field-label::after {
	background-color: var(--c-alart-bg);
}
.error.no-label,
.description {
	font-size: var(--fs-caption);
	margin-top: 0.5em;
}
.error.no-label,
.error.pd-checkbox .value label::before,
.error.pd-radio .value label::before,
.error.required .field-label::after {
	color: var(--c-alart);
}
.description {
	color: var(--c-sub);
	line-height: var(--lh-text);
}
.error input[type="text"], 
.error textarea,
.error select,
.error.Privacy_policy label {
	border-color: var(--c-alart);
}

/* focus, checked */
input[type="text"]:focus,
textarea:focus,
select:focus {
	outline: 2px solid var(--c-black);
	background-color: var(--c-white);
	border-color: var(--c-white);
}
.pd-checkbox .value input[type="checkbox"]:checked + label::before {
	content: 'check_box';
	color: var(--c-black);
}
.pd-radio .value input[type="radio"]:checked + label::before {
	content: 'radio_button_checked';
	color: var(--c-black);
}

/* submit button */
.submit.action-container {
	margin-top: 2em;
}
.submit .button-primary {
	display: block;
	color: var(--c-white);
	font-size: var(--fs-medium);
	text-align: center;
	margin: 0 auto;
	padding: 0.75em 1em;
	width: 100%;
	max-width: 50%;
	min-width: 20em;
	height: 3.2em;
	background-color: var(--c-main);
	border: 1px solid transparent;
	border-radius: 9999px;
}
.submit .button-primary:hover {
	background-color: var(--c-black);
	border-color: var(--c-black);
	cursor: pointer;
}

/* カラムの移動 */
.items-row,
.items-col {
	display: flex;
	gap: 1rem;
}
.items-row {
	flex-direction: row;
}
.items-col {
	flex-direction: column;
}
.items-row .item {
	width: calc((100% - 1rem) / 2);
}

/* before, after form content */
.before-content a,
.after-content a {
	color: var(--c-main);
	text-decoration: underline;
}
.before-content a:hover,
.after-content a:hover {
	color: var(--c-black);
	text-decoration: none;
}
.content {
	font-size: var(--fs-base);
	line-height: var(--lh-text);
	text-align: center;
	padding: 2em;
	background-color: var(--c-white);
	border-radius: 1em;
}
.content .title {
	font-size: var(--fs-large);
	margin-bottom: 1em;
}
.content p {
	color: var(--c-sub);
	margin-top: 1em;
}


/* mobile */
@media screen and (max-width: 440px) {
	.inner {
		max-width: 440px;
	}
	.form-field,
	.items-row {
		flex-direction: column;
	}
	.item-label,
	.item-container,
	.items-row .item,
	.pd-select .item-value,
	select,
	.pd-checkbox .value label,
	.pd-radio .value label,
	.Privacy_policy .item-container {
		width: 100%;
	}
	.item-label {
		margin: 1.25em 0 0;
	}
	.field-label,
	.value {
		margin: 0;
	}
	.item-container {
		margin: 0 0 1.25em;
	}
	.pd-checkbox .value label,
	.pd-radio .value label {
		padding: 0.75em 1em;
		background-color: var(--c-input-bg);
		border-radius: 0.5em;
		min-height: 3em;
	}
	.submit .button-primary {
		max-width: 100%;
		min-width: 100%;
	}
}

/* linkit */
.linkit.Usage textarea {
	height: 7.5em;
}