@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
	width: 100%;
}
:focus {
	outline: 2px solid #c96;
}
body {
	width: 100%;
	line-height: 1.4;
	font-family: "noto sans jp", sans-serif;
	background: repeating-linear-gradient(120deg, transparent 0px 10px, #f4f8ff66 10px 20px, transparent 20px 30px);
}
main {
	display: flex;
	flex-flow: column;
	gap: 1.5em;
	/*min-height: calc(100dvh - 90px);*/
}
h1 {
	margin: 0 auto;
}
.pageTitle {
	font-size: 2em;
	font-weight: 700;
	text-align: center;
	max-width: max-content;
	width: 95%;
	padding: 0.3em 0.5em;
	/* margin-inline: auto; */
	position: relative;
}
.pageTitle::after {
	content: "";
	display: block;
	width: 100%;
	height: 12px;
	bottom: 0;
	left: 0;
	background: linear-gradient(90deg, #cff3a4, #84cfff);
	position: absolute;
	transform: skewX(-15deg);
	z-index: -1;
}
form, .infoBlock {
	display: flex;
	flex-flow: column;
	gap: 1.5em;
	margin-block: 30px;
	width: 50%;
	flex-grow: 1;
	flex-shrink: 0;
	min-width: 300px;
}
form section,
.infoBlock section {
	width: 90%;
	max-width: 960px;
	margin: 0 auto;
	/* margin-inline: auto; */
}
.navButton {
	position: absolute;
	width: 30px;
	height: 30px;
	background: #666;
	top: 50%;
	border-radius: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-weight: 700;
	z-index: 10;
	border: none;
	box-shadow: 0px 2px 2px #0003;
}
.navButton:is(:hover, :focus) {
	background: #888;
}
.navButton:active {
	translate: 0, 2px;
}
.navButton.prev {
	color: transparent;
	left: 0;
	transform: translate(-50%, -50%);
}
.navButton.prev::before {
	content: "";
	display: block;
	position: absolute;
	width: 0.8em;
	height: 0.8em;
	border-left: 3px solid #fff;
	border-bottom: 3px solid #fff;
	top: 50%;
	left: 50%;
	transform: translate(-30%, -50%)  rotateZ(45deg);
}
.navButton.next {
	color: transparent;
	right: 0;
	transform: translate(50%, -50%);
}
:is(.navButton.next,.navButton.prev):hover {
	cursor: pointer;
}
.navButton.next::before {
	content: "";
	display: block;
	position: absolute;
	width: 0.8em;
	height: 0.8em;
	border-right: 3px solid #fff;
	border-top: 3px solid #fff;
	top: 50%;
	left: 50%;
	transform: translate(-70%, -50%)  rotateZ(45deg);
}
.mainContents {
	display: flex;
	flex-flow: row wrap;
	max-width: 1200px;
	/* margin-inline: auto; */
	margin: 0 auto;
}
.center {
	text-align: center;
}
form section p {
	text-align: left;
}
#errors, .formTopMessage {
	width: 95%;
	max-width: 960px;
	margin: 0 auto;
}
#errors {
	padding: 1em 2em;
	border: 3px solid #d66;
	background: #fee;
	font-weight: 700;
}
.errors {
	color: #a33;
	font-weight: 700;
}
.reqBadge {
	display: inline-block;
	/* min-width: 4em; */
	padding: 0.1em 1em;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	border-radius: 5px;
	vertical-align: baseline;
	word-break: keep-all;
	white-space: nowrap;
	text-align: center;
}
@keyframes slide {
	0% {
		/*transform: translate(-120%, 1.2em);*/
		transform: translate(-120%, -1.7em);
		opacity: 0;
	}
	100% {
		/*transform: translate(-120%, 1em);*/
		transform: translate(-120%, -1.7em);
		opacity: 1;
	}
}
.contr .reqBadge {
	animation: 0.2s slide;
	/*transform: translate(-120%, 1em);*/
	transform: translate(-120%, -1.7em);
	position: absolute;
	top: 0;
	left: 0;
}
.contr ul {
	margin-top: 0;
}
.reqBadge.required {
	background: #c33;
}
.reqBadge.required::before {
	content: "必須";
}
.reqBadge.success {
	background: #38a;
}
.reqBadge.success::before {
	content: "OK";
}
.normalSection {
	display: flex;
	flex-flow: column;
	gap: 1em;
	padding: 1.5em 2em;
	background: #e6f2ff;
	border-radius: 10px;
	box-shadow: 0px 4px 8px #0004;
}
.contr [id^=container] {
	position: relative;
}
.contr label, .contr .label {
	font-weight: 700;
}
.contr input, .contr textarea, .contr select {
	padding: 0.5em;
	border-radius: 5px;
	border: 2px solid #99b;
	line-height: 1.4;
	font-size: 1em;
}
.contr input[type=text],
.contr select,
.contr input[type=email],
.contr input[type=date],
.contr input[type=password],
.contr input[type=number],
.contr input[type=search],
.contr input[type=tel],
.contr input[type=url] {
	display: inline-block;
	width: 95%;
}
.contr input[type=checkbox],
.contr input[type=radio] {
	transform: scale(2);
	margin: 1em;
}
.contr input[type=range] {
	transform: scale(2);
	width: 50%;
	display: flex;
	/* margin-inline: auto; */
}
.contr textarea {
	resize: vertical;
	width: 100%;
	min-height: 6em;
}
:where(:focus)::placeholder {
	color: #ccc;
}
#notearea ul {
	display: flex;
	flex-flow: column;
	gap: 0.8em;
	list-style: disc;
	padding-inline: 3em;
	text-align: left;
}

#sendarea input[type=checkbox] {
	transform: scale(2);
	border: 2px solid #ccc;
	margin: 1em;
}
.btnGo {
	display: block;
	width: min(100% ,240px);
	min-height: 60px;
	border: 4px solid #99b;
	background: #fff;
	box-shadow: 0px 4px 10px #0006;
	font-weight: 700;
	color: #333;
	transition: 0.2s;
	transition-property: background;
}
.btnGo:is(:hover, :focus) {
	background: #e8f0ff;
}
.btnGoBack {
	display: block;
	width: min(100% ,240px);
	min-height: 60px;
	border: 4px solid #a0a0aa;
	background: #f0f0f0;
	box-shadow: 0px 4px 10px #0006;
	font-weight: 700;
	color: #333;
	transition: 0.2s;
	transition-property: background;
}
.btnGoBack:is(:hover, :focus) {
	background: #e8f0ff;
}
a[target="_blank"]:not(.noAfter)::after {
	font-family: "Font Awesome 5 Free";
	content: "\f35d";
	font-weight: 900;
	margin-right: 0.5em;
	margin-left: 0.5em;
}

/* carousel */
#infoCarousel .container {
	position: relative;
	margin-block: 30px;
	display: flex;
	flex-flow: row;
	overflow: scroll;
	scroll-snap-type: x mandatory;
	align-items: center;
	aspect-ratio: 5/4;
	scrollbar-width: none;
}
#infoCarousel .container>* {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	flex-shrink: 0;
	scroll-snap-align: start;
}
#infoCarousel .container::-webkit-scrollbar {
	display: none;
}

/* confirm */
.confirmHeader {
	font-weight: 700;
	text-align: center;
	margin-block: 10px;
}
.confirmTable {
	width: min(100% ,960px);
	/* margin-inline: auto; */
}
.confirmTable th {
	width: 150px;
	padding-block: 1em;
	background: #abc9;
}
.confirmTable.questionnaire th {
	width: 40%;
	text-align: left;
	padding-left: 0.5em;
}
.confirmTable td {
	padding: 1em 1em;
	background: #def9;
}
.confirmButtonContainer {
	display: flex;
	justify-content: center;
	gap: 20px 60px;
	flex-wrap: wrap;
}

/* complete */
.buttonDownload {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	/* margin-inline: auto; */
	padding: 1em 2em;
	background: #ffd;
	color: #333;
	font-weight: 700;
	text-decoration: none;
	border-radius: 10px;
	border: 4px solid #fc8;
	box-shadow: 0px 4px 4px #0004;
	margin: 1em;
	transition: 0.2s;
}
.buttonDownload:is(:hover,:focus) {
	background: #fdd;
}
.buttonDownload:active {
	transform: translateY(2px);
	box-shadow: 0px 2px 2px #0006;
}
.holidays {
	margin: 10px auto 0;
}
div:has(>.contact_understanding) {
	margin: 0 auto;
	padding: 0 2em;
}
.flexRow > li {
	text-indent: -3em;
	padding-left: 3em;
}
.lix3 {
	display: flex;
	flex-wrap: wrap;
	column-gap: 5%;
	
	li {
		flex-basis: 30%;
		text-indent: -3em;
		padding-left: 3em;
	}
}

@media (min-width: 560px) {
	.flexRow {
		display: flex;
		flex-flow: row wrap;
		gap: 1em 2em;
	}
	.flexRow > li {
		flex-basis: calc(50% - 2em);
	}
}

@media (max-width: 959px) {
	.lix3 li {
		flex-basis: 45%;
	}
}

@media (max-width: 559px) {
	header {
		padding: 10px;
		flex-flow: column;
		height: unset;
		gap: 10px;
	}
	header .companyBS {
		text-align: center;
		
	}
	.pageTitle {
		font-size: 1.2em;
	}
	form section {
		width: 95%;
	}
	.normalSection {
		padding-inline: 1em;
	}
	.contr textarea {
		min-height: 12em;
	}
	#notearea ul {
		padding-inline: 2em 1em;
	}
	.contr .reqBadge {
		position: relative;
	}
	.lix3 {
		flex-direction: column;
	}
}