@charset "utf-8";

/* =====================================
	normalize
===================================== */
/* html */
html {
	scroll-behavior: smooth;
}

/* body */
body {
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	background: var(--color-x-dark-gray) no-repeat right top;
	background-size: auto 530px;
}
@media (min-width: 1025px) {
	body {
		background-image: url("../files/bg_body_01.png");
	}
}


/* =====================================
	header
===================================== */
/* header */
.header__inner {
	display: grid;
	gap: 30px;
	grid-template-columns: 1fr auto;
	width: 100%;
	max-width: var(--inner-width-large);
	min-height: var(--header-height);
	margin: 0 auto;
	background-color: var(--color-white);
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}
@media (max-width: 1024px) {
	.header__inner {
		align-items: center;
		padding: 0 15px;
	}
	.header__inner:has([aria-expanded="true"]) {
		background-color: var(--color-x-dark-gray);
	}
}
@media (min-width: 1025px) {
	.header {
		padding: 0 var(--inner-padding);
	}
	.header__inner {
		padding: 0 0 0 30px;
	}
}

/* brand */
.brand {
	align-self: center;
	margin: 0;
	font-size: 1.0rem;
}


/* =====================================
	main
===================================== */
/* cover */
.cover__inner {
	display: grid;
	gap: 15px;
	align-content: center;
	max-width: var(--inner-width);
	margin: 0 auto;
	padding: 25px var(--inner-padding);
	color: var(--color-white);
}
.cover__heading {
	margin: 0;
}
.cover__text {
	background-color: var(--color-x-dark-gray);
}
.cover__list {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (max-width: 768px) {
	.cover__inner {
		min-height: 135px;
	}
	.cover__heading {
		font-size: 2.6rem;
	}
}
@media (min-width: 769px) {
	.cover__inner {
		min-height: 195px;
	}
	.cover__heading {
		font-size: 3.0rem;
	}
}
@media (max-width: 1024px) {
	.cover {
		background: no-repeat url("../files/bg_body_01.png") center top;
		background-size: cover;
	}
}

/* contents */
.contents {
	background-color: var(--color-white);
}
.contents__inner {
	max-width: var(--inner-width);
	margin: 0 auto;
	padding: 60px var(--inner-padding);
}
.contents__inner > :first-child {
	margin-top: 0;
}
.contents__inner > :last-child {
	margin-bottom: 0;
}


/* =====================================
	footer
===================================== */
.footer {
	flex-grow: 1;
	background-color: var(--color-white);
	border-top: 40px solid var(--color-x-light-gray);
}
.footer__inner {
	max-width: var(--inner-width-large);
	margin: 0 auto;
	display: grid;
	gap: 30px 20px;
	flex-wrap: wrap;
}
@media (max-width: 768px) {
	.footer__inner {
		padding: 30px var(--inner-padding);
		justify-content: center;
	}
}
@media (min-width: 769px) {
	.footer__inner {
		padding: 75px var(--inner-padding);
		grid-template-columns: 1fr auto;
		align-items: end;
	}
}

/* copyright */
.copyright {
	font-size: 1.1rem;
}
@media (max-width: 768px) {
	.copyright {
		text-align: center;
	}
}


/* =====================================
	list-step
===================================== */
.list-step {
	display: flex;
	overflow: hidden;
	margin: 0 0 40px 0;
	padding: 0;
	list-style: none;
	border-radius: 5px;
}
.list-step__item {
	position: relative;
	display: flex;
	gap: 0 15px;
	align-content: center;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	min-height: 70px;
	padding: 0 20px;
	background-color: var(--color-x-light-gray);
}
.list-step__item[aria-current="step"] {
	color: var(--color-white);
	background-color: var(--color-x-dark-gray);
}
.list-step__item:nth-child(1) {
	z-index: 3;
}
.list-step__item:nth-child(2) {
	z-index: 2;
}
.list-step__item:not(:last-child) {
	filter: drop-shadow(3px 0 0 var(--color-white));
}
.list-step__item:not(:last-child)::after {
	position: absolute;
	top: 0;
	right: -20px;
	display: block;
	width: 20.5px;
	height: 100%;
	content: "";
	background-color: inherit;

	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.list-step__number {
	font-size: 1.3rem;
}
.list-step__text {
	font-size: 1.8rem;
}
.list-step + * {
	margin-top: 0;
}


/* =====================================
	aform
===================================== */
/* aform-header */
.aform-header {
	display: none;
}

/* aform-content */
.aform-content {
	margin-top: 40px;
	border-top: 1px solid var(--color-light-gray);
}
.aform-content dl {
	display: grid;
	gap: 10px 40px;
	margin: 0;
	padding: 20px 0;
	border-bottom: 1px solid var(--color-light-gray);
}
.aform-label {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr auto;
	align-items: center;
}
.aform-required {
	margin-left: 0;
	padding: 6px 8px;
	border-radius: 4px;
	background: var(--color-red);
	font-size: 1.2rem;
	font-weight: bold;
}
#aform-confirm-form .aform-required {
	display: none;
}
.aform-validation.tel {
	display: none;
}
.aform-content dl dd {
	margin: 0;
}
.aform-checkbox-ul,
.aform-radio-ul {
	display: flex;
	gap: 10px 30px;
	flex-wrap: wrap;
}
.aform-checkbox-ul li,
.aform-radio-ul li {
	margin-right: 0;
}
.aform-vertical-ul li {
	width: 100%;
}
.aform-input-example {
	margin-bottom: 10px;
	color: var(--color-dark-gray);
	font-size: 1.2rem;
	font-weight: inherit;
}
.aform-input-example.privacy {
	font-size: inherit;
}
.aform-error:has(label) {
	margin-top: 5px;
	color: var(--color-red);
}
@media (max-width: 768px) {
	.aform-content dl dt {
		justify-self: start;
	}
}
@media (min-width: 769px) {
	.aform-content dl {
		grid-template-columns: 14.5em 1fr;
	}
}

/* confirm_msg */
#aform_confirm_msg {
	display: none;
}

/* aform-button-area */
.aform-button-area {
	display: flex;
	gap: 10px 15px;
	justify-content: center;
	margin-top: 40px;
	padding: 0;
	background: none;
}
.aform-button-area input {
	appearance: none;
	display: inline-flex;
	align-items: center;
	width: 330px;
	min-height: 56px;
	margin: 0;
	padding: 0 35px 0 20px;
	transition: background-color 0.3s, background-position 0.3s;
	text-decoration: none;
	color: var(--color-white);
	border: none;
	background: var(--color-x-dark-gray) no-repeat url("../files/ico_arrow_white_01.svg") right 20px center;
	font-size: 1.4rem;
	font-weight: bold;
	border-radius: 0;
}
.aform-button-area input#aform_btn_back {
	background: var(--color-dark-gray);
}
@media (hover: hover) {
	.aform-button-area input:hover {
		background-color: var(--color-dark-gray);
		background-position: right 15px center;
	}
	.aform-button-area input#aform_btn_back:hover {
		background: var(--color-x-dark-gray);
	}
}

/* aform-input */
.aform-input[type="text"],
.aform-input[type="tel"],
.aform-input[type="email"] {
	appearance: none;
	height: 38px;
	padding: 0 15px;
	border: 1px solid var(--color-gray);
	border-radius: 4px;
	font-size: 1.6rem;
}

/* aform-textarea */
.aform-textarea {
	appearance: none;
	padding: 10px 15px;
	border: 1px solid var(--color-gray);
	border-radius: 4px;
	font-size: 1.6rem;
}

/* aform-checkbox */
.aform-checkbox {
	appearance: none;
	width: 0;
	height: 0;
	margin: 0;
	border: none;
}
.aform-checkbox + label {
	position: relative;
	display: inline-block;
	padding-left: 32px;
}
.aform-checkbox + label::before {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 22px;
	height: 22px;
	content: "";
	border: solid 1px var(--color-gray);
	border-radius: 4px;
	background-color: var(--color-white);
}
.aform-checkbox:checked + label::after {
	position: absolute;
	top: 0;
	left: 6px;
	display: block;
	width: 10px;
	height: 16px;
	content: "";
	transform: rotate(45deg);
	border-right: solid 4px var(--color-blue);
	border-bottom: solid 4px var(--color-blue);
}
.aform-checkbox:focus + label::before {
	outline: auto;
}

/* aform-radio */
.aform-radio {
	appearance: none;
	width: 0;
	height: 0;
	margin: 0;
	border: none;
}
.aform-radio + label {
	position: relative;
	display: inline-block;
	padding-left: 32px;
}
.aform-radio + label::before {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 22px;
	height: 22px;
	content: "";
	border: solid 1px var(--color-gray);
	border-radius: 50%;
	background-color: var(--color-white);
}
.aform-radio:checked + label::after {
	position: absolute;
	top: 5px;
	left: 5px;
	display: block;
	width: 12px;
	height: 12px;
	content: "";
	border-radius: 50%;
	background-color: var(--color-blue);
}
.aform-radio:focus + label::before {
	outline: auto;
}

/* aform-note */
.aform-note {
	margin: 2em 0;
}
#aform-confirm-form .aform-note {
	display: none;
}

/* aform_result */
#aform_result:empty {
	margin: 0;
	padding: 0;
}
