/*----- html body -----*/
html > body {
	background-image: url(./image/background_pc.svg);
	background-attachment: fixed;
	background-size: cover;
	background-position: 50% 0;
	display: grid;
	grid-template-columns: 2fr 700px 1fr;
	overflow: hidden;
	@media (width < 1450px) {
		grid-template-columns: 1fr 700px;
	}
	@media (width < 1200px) {
		grid-template-columns: 1fr 700px 1fr;
	}
	@media (width < 700px) {
		grid-template-columns: 1fr;
	}
}
/*----- pcArea -----*/
section.pcArea {
	position: fixed;
	left: 0;
	top: 0;
	@media (width < 1200px) {
		display: none;
	}
	> div {
		width: 500px;
		margin-inline: auto;
		padding-top: 60px;
		padding-inline: min(8%, 60px);
		> figure {
			&:nth-of-type(2) {
				margin-bottom: 20px;
			}
			> a {
				text-decoration: none;
				&:hover {
					opacity: 0.8;
				}
				> img {
					display: inline;
					max-width: 100%;
				}
			}
		}
		> div {
			margin-block: 50px 70px;
			> div {
				margin-bottom: 20px;
				&:last-of-type {
					margin-bottom: 0px;
				}
				> a {
					text-decoration: none;
					&:hover {
						opacity: 0.8;
					}
					> h2 {
						display: inline;
						line-height: 1.4;
						font-weight: 500;
						color: #fff;
						font-size: min(1.1rem, 5.0vw);
						font-weight: 700;
					}
				}
			}
		}
	}
}
/*----- main -----*/
main {
	background-color: #fff;
	grid-column: 2/3;
	@media (width < 700px) {
		grid-column: 1/2;
	}
}
section.panel {
	padding: 30px 5%;
	> picture {
		max-width: 1920px;
		margin-inline: auto;
		> img {
			width: 100%;
		}
	}
}
@keyframes panelTextMove {
	0% {
		margin-left: 50px;
		opacity: 0;
	}
	100% {
		margin-left: 0px;
		opacity: 1;
	}
}
section.title {
	padding: 0px 5% 0px 5%;
	> div {
		> h2 {
			text-align: center;
			font-size: min(2.4rem, 6.5vw);
			line-height: 1.0;
			color: var(--color-accent);
			font-weight: 600;
			margin-bottom: 20px;
		}
		> h3 {
			font-size: min(1.4rem, 5.5vw);
			line-height: 1.5;
			font-weight: 600;
			text-align: center;
		}
		> p {
			font-size: min(1.0rem, 4.0vw);
			font-weight: 500;
			line-height: 1.4;
			text-align: center;
		}
	}
}
section.mailform {
	padding: 50px 2% 100px 2%;
	> div {
		max-width: 900px;
		margin-inline: auto;
		> form {}
		> #submitResult {
			background-color: var(--color-accent);
			font-size: 1rem;
			line-height: 1.6;
			color: #fff;
			padding: 10px 20px;
			border-radius: 3px;
			&:empty {
				display: none;
			}
		}
	}
}
