@charset "UTF-8";

:root {
	--main-color: #1d3b50;
	--accent-color: #ffda4e;
	--shadow-color: 0deg 0% 63%;
}

.p-button {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 0.5rem;
	line-height: 2.5;
	border-radius: 2.5em;
	transition: all .4s ease;
}

@media screen and (max-width: 767px) {
	.p-button {
		padding-inline: 0.5em;
	}
}

.p-button--primary {
	background: var(--main-color);
	color: #fff;
}

@media (any-hover: hover) {
	.p-button--primary:hover {
		background: color-mix(in srgb, #000 25%, var(--main-color));
	}
}

.p-button--secondary {
	border: 1px solid var(--main-color);
	background: #fff;
	color: var(--main-color);
}

@media (any-hover: hover) {
	.p-button--secondary:hover {
		background: color-mix(in srgb, var(--main-color) 10%, #fff);
	}
}

.p-button--red {
	background: #f00;
	color: #fff;
}

@media (any-hover: hover) {
	.p-button--red:hover {
		background: color-mix(in srgb, #000 25%, #f00);
	}
}

.p-button--gold {
	background: #fff;
	color: #b6910e;
	border: 1px solid ;
}

@media (any-hover: hover) {
	.p-button--gold:hover {
		background: color-mix(in srgb, #b6910e 10%, #fff);
	}
}

.p-button--corner {
	border-radius: 0.5em;
}

.p-button--arrow-b::after {
	width: 0.5rem;
	aspect-ratio: 1 / cos(30deg);
	clip-path: polygon(50% 100%,100% 0,0 0);
	background: currentColor;
	content: "";
	transition: all .4s ease;
}

.p-button--arrow-b[data-toggle-state="active"]::after {
	transform: rotate(180deg);
}

.p-button--arrow-r::after {
	width: 0.5rem;
	aspect-ratio: 1 / 1;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
	content: "";
}

.p-container {
	width: 100%;
	max-width: 1024px;
	margin-inline: auto;
}

.p-header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.p-header__sub-text::before {
	content: "＼";
}

.p-header__sub-text::after {
	content: "／";
}

.p-header__headline {
	margin: 0;
	line-height: 1.5;
}

.p-header__headline--mark {
	text-decoration: underline;
	text-decoration-thickness: 1.25em;
	text-decoration-color: var(--accent-color);
	text-underline-offset: -1em;
	text-decoration-skip-ink: none;
}

[data-toggle-trigger] {
	cursor: pointer;
}

[data-toggle-target] {
	display: grid;
	grid-template-rows: 0fr;
	pointer-events: none;
	opacity: 0;
}
@keyframes toggle-apper {
	0% {
		grid-template-rows: 0fr;
		opacity: 1;
	}

	25% {
		grid-template-rows: 1fr;
		opacity: 1;
	}

	100% {
		grid-template-rows: 1fr;
		opacity: 1;
	}
}

@keyframes toggle-disapper {
	0% {
		grid-template-rows: 1fr;
		opacity: 1;
	}

	25% {
		grid-template-rows: 1fr;
		opacity: 0;
	}

	100% {
		grid-template-rows: 0fr;
		visibility: hidden;
		opacity: 0;
	}
}

[data-toggle-target][data-toggle-state="active"] {
	pointer-events: auto;
	animation: toggle-apper 0.4s linear forwards;
}

[data-toggle-target][data-toggle-state="inactive"] {
	animation: toggle-disapper 0.4s linear forwards;
}

.p-top {
	line-height: 3;
	background: var(--main-color);
	color: #fff;
	text-align: center;
}

.p-mv {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 2rem;
	background: #e8f1f4;
}

.p-mv-appeal-list {
	display: flex;
}

.p-mv-appeal-list__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
	aspect-ratio: 1 / 1;
	background: #fff;
	border: 1px solid var(--main-color);
	border-radius: 50%;
	box-shadow: 2px 2px 0 var(--main-color);
	color: var(--main-color);
}

@media screen and (max-width: 767px) {
	.p-mv {
		padding-block: 1.5rem;
	}

	.p-mv-appeal-list {
		column-gap: 0.75rem;
		width: calc(100% - 2rem);
	}
}

@media screen and (min-width: 768px) {
	.p-mv {
		padding-block: 3rem;
	}

	.p-mv-appeal-list {
		column-gap: 1.5rem;
	}
	
	.p-mv-appeal-list__item {
		width: 160px;
	}
}

.p-mv-splide {
	width: 100%;
}

.p-mv-catalog-card {
	background: #fff;
	margin-bottom: 1rem;
	box-shadow: 
    0.3px 0.3px 0.5px hsl(196deg 12% 58% / 0.36),
    1.1px 1.1px 1.8px -0.8px hsl(196deg 12% 58% / 0.36),
    2.7px 2.7px 4.3px -1.7px hsl(196deg 12% 58% / 0.36),
    6.6px 6.6px 10.5px -2.5px hsl(196deg 12% 58% / 0.36);
	border-radius: 16px;
	overflow: hidden;
}

.p-mv-catalog-card__thumb {
	width: 100%;
	height: auto;
}

.p-mv-catalog-card__body {
	position: relative;
	display: flex;
	flex-direction: column;
}

.p-mv-catalog-card__ribbon {
	position: absolute;
	top: 0;
	color: #fff;
	background: var(--catalog-ribbon-color);
	font-size: 0.75rem;
	text-align: center;
	clip-path: polygon(0 0, 100% 0%, 100% 100%, 50% 75%, 0 100%);
}

.p-mv-catalog-card__ribbon--pink {
	--catalog-ribbon-color: #ff7ba6;
}

.p-mv-catalog-card__ribbon--brown {
	--catalog-ribbon-color: #896239;
}

.p-mv-catalog-card__ribbon--red {
	--catalog-ribbon-color: #be272d;
}

.p-mv-catalog-card__ribbon--orange {
	--catalog-ribbon-color: #ee5a24;
}

.p-mv-catalog-card__ribbon--yellow {
	--catalog-ribbon-color: #f8ad3b;
}

.p-mv-catalog-card__ribbon--purple {
	--catalog-ribbon-color: #662d8e;
}

@media screen and (max-width: 767px) {
	.p-mv-catalog-card__body {
		row-gap: 0.5rem;
		padding: 1rem 0.5rem;
	}
	
	.p-mv-catalog-card__ribbon {
		right: 0.5rem;
		padding: 0.25rem 0.5rem 1.25rem;
	}
}

@media screen and (min-width: 768px) {
	.p-mv-catalog-card__body {
		row-gap: 1rem;
		padding: 1rem;
	}

	.p-mv-catalog-card__ribbon {
		right: 1rem;
		padding: 0.5rem 0.5rem 1rem;
	}
}

.p-input-hidden {
	visibility: hidden;
}

.p-select-wrap {
	position: relative;
}

.p-select-wrap::after {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 1rem;
	margin: auto;
	width: 0.5rem;
	height: fit-content;
	aspect-ratio: 1 / cos(30deg);
	clip-path: polygon(50% 100%, 100% 0, 0 0);
	background: currentColor;
	content: "";
}

.p-select {
	border: 1px solid #666;
	border-radius: 8px;
	line-height: 3;
	text-indent: 1em;
	width: 100%;
}

.p-sec {
	display: flex;
	flex-direction: column;
}

.p-sec-body {
	display: flex;
	flex-direction: column;
}

@media screen and (max-width: 767px) {
	.p-sec {
		padding-block: 2rem;
		row-gap: 1.5rem;
	}
	.p-sec--child {
		row-gap: 1rem;
	}
	.p-sec-header__sub-text {
		font-size: 1.25rem;
	}
	.p-sec-header__sub-text--s {
		font-size: 1rem;
	}
	.p-sec-header__headline {
		font-size: 1.75rem;
	}
	.p-sec-header__headline--s {
		font-size: 1.5rem;
	}
	.p-sec-body {
		row-gap: 1.5rem;
	}
}

@media screen and (min-width: 768px) {
	.p-sec {
		padding-block: 4rem;
		row-gap: 2.5rem;
	}
	.p-sec--child {
		row-gap: 1.5rem;
	}
	.p-sec-header__sub-text {
		font-size: 1.5rem;
	}
	.p-sec-header__sub-text--s {
		font-size: 1.25rem;
	}
	.p-sec-header__headline {
		font-size: 2.5rem;
	}
	.p-sec-header__headline--s {
		font-size: 2rem;
	}
	.p-sec-body {
		row-gap: 2rem;
	}
}

.p-series-intro {
	align-items: center;
}
.p-series-intro__thumb {
	height: auto;
}
.p-series-intro__logo {
	height: auto;
}
.p-series-intro__headline {
	margin-bottom: 0;
}
.p-series-intro__text {
	margin-bottom: 0;
	text-align: justify;
}

@media screen and (max-width: 767px) {
	.p-series-intro {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(3, auto);
		padding: 1rem;
        gap: 1rem;
	}
	.p-series-intro__thumb {
		grid-area: 1 / 1 / 2 / 2;
	}
	.p-series-intro__logo {
		grid-area: 1 / 2 / 2 / 3;
	}
	.p-series-intro__body {
		display: contents;
	}
	.p-series-intro__headline {
		grid-area: 2 / 1 / 3 / 3;
		text-align: center;
	}
	.p-series-intro__text {
		grid-area: 3 / 1 / 4 / 3;
	}
}
@media screen and (min-width: 768px) {
	.p-series-intro {
		display: flex;
		flex-wrap: wrap;
		column-gap: 2rem;
	}
	.p-series-intro__thumb {
		width: 30%;
	}
	.p-series-intro__body {
		display: flex;
		flex-direction: column;
		row-gap: 1rem;
		flex: 1;
	}
}

.p-product-thumb-list {
	display: flex;
}
.p-product-thumb-list__img {
	width: 100%;
	height: auto;
}
.p-product-thumb-list__caption {
	position: absolute;
	bottom: 0;
	inset-inline: 0;
	background: rgba(0,0,0,.5);
	color: #fff;
	line-height: 2;
	text-align: center;
}
@media screen and (max-width: 767px) {
	.p-product-thumb-list {
		flex-wrap: wrap;
	}
	.p-product-thumb-list__item {
		flex-basis: 25%;
		flex-grow: 1;
	}
	.p-product-thumb-list__item--half {
		flex-basis: 50%;
	}
	.p-product-thumb-list__item--third {
		flex-basis: calc(100% / 3);
	}
}
@media screen and (min-width: 768px) {
	.p-product-thumb-list__item {
		flex: 1;
	}
}

.p-course-card-list {
	display: flex;
	flex-wrap: nowrap;
	column-gap: 0.5rem;
	overflow-x: auto;
}
.p-course-card-list__item {
	flex-shrink: 0;
}
.p-course-card {
	margin-bottom: 1rem;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 
    0.3px 0.3px 0.5px hsl(var(--shadow-color) / 0.36),
    1.1px 1.1px 1.8px -0.8px hsl(var(--shadow-color) / 0.36),
    2.7px 2.7px 4.3px -1.7px hsl(var(--shadow-color) / 0.36),
    6.6px 6.6px 10.5px -2.5px hsl(var(--shadow-color) / 0.36);
}
.p-course-card__body {
	display: flex;
	flex-direction: column;
}
.p-course-card__headline {
	color: currentColor;
	margin-bottom: 0;
}
.p-course-card__thumb {
	height: auto;
}
@media screen and (max-width: 767px) {
	.p-course-card__body {
		padding: 0.75rem;
	}
	.p-course-card-list {
		padding-inline: 1rem;
	}
	.p-course-card-list__item {
		flex-basis: 55%;
	}
}
@media screen and (min-width: 768px) {
	.p-course-card__body {
		padding: 1rem;
	}
	.p-course-card-list__item {
		flex-basis: 22.5%;
	}
}

.p-price-list {
	display: grid;
	overflow: hidden;
}
@media screen and (max-width: 767px) {
	.p-price-list {
		padding-inline: 1rem;
		gap: 0.5rem;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and (min-width: 768px) {
	.p-price-list {
		gap: 0.75rem;
		grid-template-columns: repeat(5, 1fr);
	}
}

.p-scene-list {
	display: grid;
}

.p-scene-list__link {
	transition: all .4s ease;
}
@media (any-hover: hover) {
	.p-scene-list__link:hover {
		opacity: 0.6;
	}
}
.p-scene-list__img {
	height: auto;
}
@media screen and (max-width: 767px) {
	.p-scene-list {
		padding-inline: 1rem;
		gap: 0.5rem;
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 768px) {
	.p-scene-list {
		gap: 2rem;
		grid-template-columns: repeat(3, 1fr);
	}
}

.p-scene-catalog-list__item {
	display: flex;
	flex-direction: column;
	row-gap: 0.5rem;
	border-top: 12px solid var(--scene-catalog-color);
	text-align: center;
}

.p-scene-catalog-list__item--pink {
	--scene-catalog-color: #ff7ba6;
}

.p-scene-catalog-list__item--yellow {
	--scene-catalog-color: #f5aa3b;
}

.p-scene-catalog-list__item--purple {
	--scene-catalog-color: #662d8b;
}

.p-scene-catalog-list__item--red {
	--scene-catalog-color: #bb272d;
}

.p-scene-catalog-list__item--lime {
	--scene-catalog-color: #89c33f;
}

.p-scene-catalog-list__item--teal {
	--scene-catalog-color: #00a69a;
}

@media screen and (max-width: 767px) {
	.p-scene-catalog-list__item {
		padding: 2rem 1.5rem;
	}
}

@media screen and (min-width: 768px) {
	.p-scene-catalog-list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}

	.p-scene-catalog-list__item {
		display: grid;
		grid-template-rows: subgrid;
		grid-row: span 6;
		align-items: center;
		padding: 1.5rem 1rem;
	}
}

.p-service-list {
	display: grid;
    counter-reset: service-counter;
}

.p-service-list__item {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 2;
	gap: 0;
	text-align: center;
	border: 1px solid #ea1d24;
	counter-increment: service-counter;
	border-radius: 8px;
}

.p-service-list__header {
	text-align: center;
	background: #ea1d24;
	color: #fff;
	line-height: 2;
	border-radius: 8px 8px 0 0;
}

.p-service-list__body {
	padding-block: 0.5rem;
	align-self: center;
}

@media screen and (max-width: 767px) {
	.p-service-list {
		gap: 1rem;
		grid-template-columns: repeat(2, 1fr);
		padding-inline: 1rem;
	}
}

@media screen and (min-width: 768px) {
	.p-service-list {
		gap: 2rem;
		grid-template-columns: repeat(3, 1fr);
	}
}

.p-faq-list {
	display: flex;
	flex-direction: column;
	row-gap: 2rem;
}

.p-faq-list__item {
	display: flex;
	flex-direction: column;
}

.p-faq-list__headline {
	font-weight: bold;
	text-align: justify;
}

.p-faq-list__headline::before {
	content: "Q.";
}

.p-faq-list__desc {
	text-align: justify;
}

@media screen and (max-width: 767px) {
	.p-faq-list__item {
		row-gap: 0.5rem;
	}

	.p-faq-list__headline {
		font-size: 1.125rem;
	}
}

@media screen and (min-width: 768px) {
	.p-faq-list__item {
		row-gap: 1rem;
	}

	.p-faq-list__headline {
		font-size: 1.5rem;
	}
}

.p-footer {
	background: var(--main-color);
	color: #fff;
}

.p-footer__copyright {
	display: block;
	text-align: center;
	line-height: 3;
	background: #efefef;
	color: #212121;
}
