body {
	font-family: 'Noto Sans JP', "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #222;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
}
img {
	width: 100%;
	height: auto;
}
.large {
	font-size: 120%;
}
.larger {
	font-size: 133.5%;
}
.font_90 {
	font-size: 90%;	
}
.font_75 {
	font-size: 75%;	
}
.small {
	font-size: 14px;
}
.smaller {
	font-size: 12px;
}
.letter {
	letter-spacing: -0.05em;
}
.bold {
	font-weight: bold;
}
.bolder {
	font-weight: bolder;
}
.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}
.italic {
	font-style: italic;
}
.red {
	color: #ff0000;
}
.blue {
	color: #204091;
}
.yellow {
	color: #ffff00;
}
.hidden {
	visibility: hidden;
}
.annotation {
	font-size: 10px;
	color: #666;
}
h2 {
    margin-bottom: 0.5em;
}
strong {
	font-weight: bold;
}


/* footer
-------------------------------------------------------*/
footer {
	background-color: #464747;
    color: #fff;
	text-align: center;
}
footer .inner:not(:has(a)) {
	padding-top: 10px;
}
footer a {
	line-height: 3em;
	display: inline-block;
	padding: 0 1em;
}


/* 404
-------------------------------------------------------*/
section:has(h1.entry-title) {
	font-size: 2em;
	border: 1px solid #c03014;
	padding: 1em 0;
	margin: 1em 10px;
}
.error404 section {
	text-align: center;
}
.error404 section p {
	margin-bottom: 30px;
}


/* content
-------------------------------------------------------*/
.inner {
	padding: 0 20px 20px;
}
@media screen and (max-width: 768px) {
	.inner {
		padding: 0 10px 20px;
	}
}


/* introduction
-------------------------------------------------------*/
h1:has(video) {
	margin-bottom: 0.5em;
}
h1 video {
	line-height: 0;
	width: 100vw;
	max-width: 700px;
	height: auto;
	display: block;
	image-rendering: pixelated;
}


/* qa form
-------------------------------------------------------*/
#qa {
	border: 3px solid #204091;
	margin: 0 20px 20px;
	overflow: hidden;
}
#qa form {
	display: flex;
	width: 400%;
	transition: transform 0.5s ease;
}
.question,
.result {
	width: 100%;
	padding: 0 40px 0.5em;
}
.question {
	height: 0;
}
#qa form .question:nth-child(1) {
	height: auto;
}
.question p:first-of-type,
.result p:first-of-type {
	background-color: #204091;
	font-size: clamp(1rem, 3vw, 1.25rem);
	line-height: 2;
	margin: 0 -40px 20px;
}
.question p:first-of-type {
	color: #fff;
}
.s_num {
	background-color: #ccc;
	border-radius: 50%;
	font-size: 150%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 1.2em;
	height: 1.2em;
	margin: 0.25em;
	position: relative;
}
.s_num:has(+ .s_num)::after {
	content: '';
	background-color: #ccc;
	display: block;
	width: 0.5em;
	height: 3px;
	position: absolute;
	right: -0.5em;
}
.s_num.active {
	background-color: #eeda65;
	color: #204091;
}
.s_num.active:has(+ .s_num.active)::after {
	background-color: #eeda65;
}
.question h2 {
	font-size: clamp(1.25rem, 5vw, 2rem);
	margin-bottom: 40px;
}
.question h2::before {
	content: 'Ｑ';
	color: #204091;
	font-family: monospace;
	font-size: 1.5em;
	font-weight: bolder;
	margin-right: 0.5em;
	filter: drop-shadow(1px 1px 1px #204091);
}
.answer_select {
	display: flex;
	flex-wrap: wrap;
}
.qa_button {
	background-color: #204091;
	color: #fff;
	font-size: clamp(1.25rem, 4vw, 1.5rem);
	line-height: 3;
	border-radius: 10px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: calc(50% - 10px);
	margin-bottom: 20px;
}
.input_text_title {
	display: inline-block;
	margin-bottom: 5px;
}
.input_tel {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
}
input[type="email"],
input[type="tel"] {
	line-height: 3;
	border: 2px solid #204091;
	border-radius: 10px;
	padding: 0 10px;
	margin-bottom: 20px;
}
.input_tel > span {
	margin-bottom: 20px;
}
.was-validated input[type="email"]:invalid,
.was-validated input[type="tel"]:invalid {
	border-color: #f00;
}
.was-validated input[type="email"]:invalid,
.was-validated .input_tel:has(input[type="tel"]:invalid) > input,
.was-validated .input_tel:has(input[type="tel"]:invalid) > span {
	margin-bottom: calc(5px + 1em + 20px);
}
.was-validated .input_email:has(input[type="email"]:invalid),
.was-validated .input_tel:has(input[type="tel"]:invalid) {
	position: relative;
}
.was-validated .input_email:has(input[type="email"]:invalid)::before {
    content: 'メールアドレスを正しく入力してください';
}
.was-validated .input_tel:has(input[type="tel"]:invalid)::before {
    content: '電話番号を正しく入力してください';
}
.was-validated .input_email:has(input[type="email"]:invalid)::before,
.was-validated .input_tel:has(input[type="tel"]:invalid)::before {
    display: block;
    color: #f00;
	letter-spacing: -0.05em;
    line-height: 1;
    position: absolute;
    bottom: 20px;
	left: 1.25em;
}
.was-validated .input_email:has(input[type="email"]:invalid)::after,
.was-validated .input_tel:has(input[type="tel"]:invalid)::after {
	content: '';
	display: inline-block;
	width: 1em;
	height: 1em;
	background-color: #f00;
	border-radius: 50%;
	background-image: linear-gradient(45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%), linear-gradient(-45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%);
	background-size: 0.5em 0.5em;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	bottom: 20px;
	left: 0;
}
input[type="email"] {
	width: 100%;
}
.question input[type="tel"] {
	width: calc((100% - 1em - 20px) / 11 * 4);
}
.question input[type="tel"]:first-of-type {
	width: calc((100% - 1em - 20px) / 11 * 3);
}
input::placeholder {
	opacity: 0.5;
}
.input_privacy {
	display: inline-block;
	width: 100%;
	margin-bottom: 20px;
}
input[type="checkbox"] {
	position: relative;
}
input[type="checkbox"]::before {
	content: '';
	border: 2px solid #204091;
	display: block;
	width: 0.8em;
	height: 0.8em;
	margin-right: 0.5em;
}
input[type="checkbox"]:checked::after {
	content: '';
	background-color: #f00;
	display: block;
	clip-path: polygon(35% 100%, 0% 65%, 18% 47%, 35% 64%, 95% 0%, 100% 5%);
	width: 0.9em;
	height: 0.9em;
	position: absolute;
	left: 0.1em;
	bottom: 0.1em;
}
button[type="submit"] {
	background: linear-gradient(#6293c8 0%, #204091 75%);
	color: #fff;
	border: 2px solid #fff;
	border-radius: 1.6em;
	box-shadow: 0 3px 3px #00000075, 0 0 3px #00000025;
	font-size: clamp(1.25rem, 4vw, 1.5rem);
	line-height: 3;
	display: block;
	width: 90%;
	margin: 0 auto 20px;
	position: relative;
}
button[type="submit"]::before,
button[type="submit"]::after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
button[type="submit"]::before {
	background-color: #fff;
	border-radius: 50%;
	width: 1.5em;
	height: 1.5em;
	right: 1em;
}
button[type="submit"]::after {
	background: linear-gradient(#6293c8 0%, #204091 75%);
	clip-path: polygon(0 0, 0 100%, 100% 50%);
	width: calc(0.8em * 0.866);
	height: 0.8em;
	right: 1.3em;
}
button[type="submit"] > span:first-of-type {
	filter: drop-shadow(1px 1px 0 #00000025) drop-shadow(1px -1px 0 #00000025) drop-shadow(-1px -1px 0 #00000025) drop-shadow(-1px 1px 0 #00000025);
}
form:has(.question #a1-1:checked),
form:has(.question #a1-2:checked),
form:has(.question #a1-3:checked),
form:has(.question #a1-4:checked) {
	transform: translateX(-25%);
}
form:has(.question #a1-1:checked) .question:nth-child(2),
form:has(.question #a1-2:checked) .question:nth-child(2),
form:has(.question #a1-3:checked) .question:nth-child(2),
form:has(.question #a1-4:checked) .question:nth-child(2) {
	height: auto;
}
form:has(.question #a2-1:checked),
form:has(.question #a2-2:checked),
form:has(.question #a2-3:checked),
form:has(.question #a2-4:checked) {
	transform: translateX(-50%);
}
form:has(.question #a2-1:checked) .question:nth-child(3),
form:has(.question #a2-2:checked) .question:nth-child(3),
form:has(.question #a2-3:checked) .question:nth-child(3),
form:has(.question #a2-4:checked) .question:nth-child(3) {
	height: auto;
}
form:has(.question #a3-1:checked),
form:has(.question #a3-2:checked),
form:has(.question #a3-3:checked),
form:has(.question #a3-4:checked) {
	transform: translateX(-75%);
}
form:has(.question #a3-1:checked) .question:nth-child(4),
form:has(.question #a3-2:checked) .question:nth-child(4),
form:has(.question #a3-3:checked) .question:nth-child(4),
form:has(.question #a3-4:checked) .question:nth-child(4) {
	height: auto;
}
div:has(+ .result_title) {
	margin-bottom: 20px;
}
.result_thanks {
	font-size: clamp(1.25rem, 5vw, 2rem);
}
.result_title {
	font-size: clamp(1rem, 4.5vw, 1.75rem);
	border-top: 2px dotted #204091;
	border-bottom: 2px dotted #204091;
	padding: 1em 0;
	margin-bottom: 10px;
}
.result_title + div {
	font-size: clamp(1rem, 3vw, 1.25rem);
	margin-bottom: 20px;
}
@media screen and (min-width: 769px) {
	.question .qa_button:nth-of-type(odd) {
		margin-right: 20px;
	}
	.qa_scroll {
		max-width: 80%;
	}
}
@media screen and (max-width: 768px) {
	#qa {
		margin-right: 10px;
		margin-left: 10px;
	}
	.question,
	.result {
		padding-right: 10px;
		padding-left: 10px;
	}
	.question p:first-of-type {
		margin-right: -10px;
		margin-left: -10px;
		margin-bottom: 20px;
	}
	.question h2 {
		margin-bottom: 20px;
	}
	.qa_button {
		line-height: 2.5;
		width: 100%;
		margin-bottom: 10px;
	}
	input[type="email"],
	input[type="tel"] {
		line-height: 2.5;
	}
}


/* page .gutenberg
-------------------------------------------------------*/
#contents.gutenberg h1:not(header h1) {
	background-image: linear-gradient(135deg, #204091 92%, transparent 92%, transparent 92.5%, #204091 92.5%, #204091 94%, transparent 94%, transparent 95%, #204091 95%);
	color: #fff;
	font-size: 150%;
	font-weight: bolder;
	padding: 0.5em;
	margin: 0.5em 0 1em;
}
#contents.gutenberg *:has(+ h2) {
	margin-bottom: 2em;
}
#contents.gutenberg h2 {
	font-size: 120%;
	font-weight: bold;
	color: #204091;
	border-left: 5px solid #204091;
	border-bottom: 1px solid #204091;
	padding: 0.25em 0 0.25em 1em;
	margin-bottom: 0.5em;
}
#contents.gutenberg h3 {
	font-size: 120%;
	font-weight: bold;
	color: #204091;
	padding: 0.25em 0;
	margin-bottom: 0.5em;
}
#contents.gutenberg h4 {
	font-size: 110%;
	font-weight: bold;
	color: #204091;
	padding: 0.25em 0;
	margin-bottom: 0.5em;
}
#contents.gutenberg p {
	margin-bottom: 1em;	
}
#contents.gutenberg ul li {
	list-style-type: disc;
	padding: 0 0 0.5em 0;
	margin-left: 1.5em;
}

@media screen and (max-width: 768px) {
	#contents.gutenberg h1:not(header h1) {
		margin-right: -10px;
		margin-left: -10px;
	}
}


/* page #page_amugi-lp2
-------------------------------------------------------*/
#page_amugi-lp2 .question p:first-of-type,
#page_amugi-lp2 .result p:first-of-type {
	background-color: #f0889f;
}
#page_amugi-lp2 #qa {
	border-color: #f0889f;
}
#page_amugi-lp2 .s_num.active {
	color: #f0889f;
}
#page_amugi-lp2 .question h2::before {
	color: #f0889f;
	filter: drop-shadow(1px 1px 1px #f0889f);
}
#page_amugi-lp2 .qa_button {
	background-color: #42afbb;
}
#page_amugi-lp2 input[type="email"],
#page_amugi-lp2 input[type="tel"] {
	border-color: #42afbb;
}
#page_amugi-lp2 input[type="checkbox"]::before {
	border: 2px solid #42afbb;
}
#page_amugi-lp2 button[type="submit"] {
	background: linear-gradient(#65bfc7 0%, #42afbb 75%);
}
#page_amugi-lp2 button[type="submit"]::after {
	background: linear-gradient(#65bfc7 0%, #42afbb 75%);
}
#page_amugi-lp2 .result_title {
	border-top-color: #f0889f;
	border-bottom-color: #f0889f;
}