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;
}
.star_yellow {
	color: #f9ce04;
}
.marker {
	background: linear-gradient(transparent 60%, #ff0 60%);
    padding: 0 0.5em;
}
.marker_red {
	background: linear-gradient(transparent 5%, #ffc9af 5%);
	line-height: 1.6;
    padding: 0 0.25em;
}
.a_link {
	color: #00b;
	text-decoration: underline;
	line-height: 1.2;
}
.annotation {
	font-size: 10px;
	color: #666;
}
h2 {
    margin-bottom: 0.5em;
}
strong {
	font-weight: bold;
}
.title_blue {
	background-image: linear-gradient(90deg, #1487d8 14px, #0fafff 15px);
	color: #fff;
	padding: 0.25em 0;
}
.title_lightblue {
	background-image: linear-gradient(90deg, #52b5e8 12px, #88c9ea 13px);
	color: #fff;
	padding: 0.25em 0;
	margin-bottom: 0.5em;
}
.scroll-x2 {
	overflow-x: auto;
}
@media screen and (max-width: 768px) {
	.inner:has(.scroll-x) {
		position: relative;
		padding-right: 0;
		padding-left: 0;
	}
	.inner:has(.scroll-x)::after {
		content: "";
		background: linear-gradient(to right, transparent, #fff);
		display: block;
		width: 10px;
		height: 100%;
		position: absolute;
		right: 0;
		top: 0;
	}
	.scroll-x {
		overflow-x: scroll;
	}
	.scroll-x > * {
		padding: 0 10px;
	}
	.scroll-x2 {
		letter-spacing: -0.025em;
	}
}


/* header
-------------------------------------------------------*/
.logo {
	max-width: 10em;
}
.logo img {
    vertical-align: top;
}
.pr_text {
	font-size: 12px;
	text-align: right;
	color: #666;
}
#header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
@media screen and (max-width: 768px) {
	.pr_text {
		padding: 5px;
	}
}


/* 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;
	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;
	color: #fff;
	font-size: clamp(1rem, 3vw, 1.25rem);
	line-height: 2;
	margin: 0 -40px 20px;
}
.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;
}
input[type="email"],
input[type="tel"] {
	line-height: 3;
	border: 2px solid #204091;
	border-radius: 10px;
	padding: 0 10px;
	margin-bottom: 20px;
}
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);
}
.qa_scroll {
	height: 100px;
	overflow-y: scroll;
	border: 1px solid #ccc;
	padding: 10px;
	background-color: #f9f9f9;
	margin: 0 auto 20px;
}
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_title {
	font-size: clamp(1.25rem, 5vw, 2rem);
	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;
	}
}


/* single
-------------------------------------------------------*/


/* page
-------------------------------------------------------*/
body.page 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;
}
body.page *:has(+ h2) {
	margin-bottom: 2em;
}
body.page 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;
}
body.page h3 {
	font-size: 120%;
	font-weight: bold;
	color: #204091;
	padding: 0.25em 0;
	margin-bottom: 0.5em;
}
body.page h4 {
	font-size: 110%;
	font-weight: bold;
	color: #204091;
	padding: 0.25em 0;
	margin-bottom: 0.5em;
}
body.page p {
	margin-bottom: 1em;	
}
body.page ul li {
	list-style-type: disc;
	padding: 0 0 0.5em 0;
	margin-left: 1.5em;
}

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