@charset "UTF-8";

:root {
	--base-color: #f5f3ff;
	--accent-color: #312e81;
	--mincho-font: "Noto Serif JP", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.p-marker {
	text-decoration: underline;
	text-decoration-thickness: 0.5em;
	text-decoration-color: var(--base-color);
	text-underline-offset: -0.2em;
	text-decoration-skip-ink: none;
}

.p-text-accent {
	font-weight: bold;
	color: var(--accent-color);
}

.p-headline-l1 {
	font-family: var(--mincho-font);
	font-weight: bold;
	line-height: 2;
	text-align: center;
}

@media screen and (max-width: 767px) {
	.p-headline-l1 {
		font-size: 1.25rem;
	}
}

@media screen and (min-width: 768px) {
	.p-headline-l1 {
		font-size: 2rem;
	}

	.md\:p-marker {
		text-decoration: underline;
		text-decoration-thickness: 0.5em;
		text-decoration-color: var(--base-color);
		text-underline-offset: -0.2em;
		text-decoration-skip-ink: none;
	}

	.md\:p-text-accent {
		font-weight: bold;
		color: var(--accent-color);
	}
}

.p-info {
	background: var(--base-color);
}

.p-catalog-info {
	display: grid;
	grid-template-rows: repeat(2, auto);
	grid-template-columns: 1fr 2fr;
	background: #fff;
}

.p-catalog-info__img {
	grid-area: 1 / 1 / 2 / 2;
	height: auto;
}

.p-catalog-info__text {
	grid-area: 1 / 2 / 2 / 3;
}

.p-catalog-info__headline {
	font-size: 1.25rem;
	font-weight: bold;
}

.p-catalog-info__body {
	margin-top: 1rem
}

.p-catalog-info__button {
	grid-area: 2 / 1 / 3 / 3;
	align-self: center;
	line-height: 3;
	color: #fff;
	text-align: center;
	background: #000;
}

@media screen and (max-width: 1023px) {
	.p-info {
		display: flex;
		flex-direction: column;
		row-gap: 1rem;
		padding: 1.5rem;
	}

	.p-catalog-info {
		grid-template-columns: min(30%, 144px) 1fr;
		gap: 1rem;
		order: 1;
		padding: 1rem;
	}

	.p-catalog-info__body {
		font-size: 0.875rem;
	}
}

@media screen and (min-width: 1024px) {
	.p-info {
		display: grid;
		grid-template-rows: repeat(2, auto);
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem 4rem;
		padding: 2rem 4rem;
	}

	.p-catalog-info {
		grid-area: 1 / 1 / 3 / 2;
		gap: 1rem 2rem;
		padding: 2rem;
	}
}

.p-order-table-info__headline {
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
}

.p-order-table-info__body {
	margin-top: 1rem;
	text-align: justify;
}

.p-order-notice {
	padding: 1rem;
	border: 1px solid #831843;
}

.p-order-notice__headline {
	font-size: 1.25rem;
	font-weight: bold;
	color: #831843;
	text-align: center;
}

.p-order-notice-list {
	display: flex;
	flex-direction: column;
	margin-top: 1rem;
}

.p-order-notice-list__item {
	margin-left: 1em;
	color: #831843;
	text-indent: -1em;
}

.p-order-notice-list__item::before {
	display: inline-block;
	width: 1em;
	text-align: right;
	content: "・";
}

.p-order-table-area {
	background: var(--base-color);
}

.p-order-table {
	display: flex;
	flex-direction: column;
	row-gap: 3rem;
}

.p-order-table__head {
	color: #fff;
	text-align: center;
	background: var(--accent-color);
}

.p-order-table__headline {
	position: relative;
	flex: 1;
	font-size: 1.5rem;
	line-height: 3;
}

.p-order-table__headline:not(:last-child)::before{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 0;
	height: calc(100% - 2rem);
	margin: auto;
	content: "";
	border-left: 1px dashed #fff;
}

.p-order-table__body {
	display: flex;
	flex-direction: column;
}

.p-order-table__row {
	display: flex;
	align-items: center;
	background: #fff;
	border: 2px solid var(--accent-color);	
}

.p-order-table__data {
	position: relative;
	padding: 1rem;
}

.p-order-table__select {
	padding: 0.25rem 0.5rem;
	appearance: auto;
	border: 1px solid var(--accent-color);
	border-radius: 8px;
}

.p-order-table__select:focus {
	outline: 4px solid color-mix(in srgb, transparent 60%, var(--accent-color));
}

@media screen and (max-width: 767px) {
	.p-order-table__head {
		display: none;
	}

	.p-order-table__body {
		row-gap: 1.5rem;
		padding: 1.5rem;
	}

	.p-order-table__row {
		flex-wrap: wrap;
		overflow: hidden;
		border-radius: 1rem;
	}

	.p-order-table__data {
		font-size: 0.875rem;
	}

	.p-order-table__data:first-child {
		width: 100%;
		color: #fff;
		text-align: center;
		background: var(--accent-color);
	}

	.p-order-table__data:last-child {
		display: flex;
		flex-direction: column;
	}

	.p-order-table__data:not(:first-child, :last-child) {
		flex: 1;
	}

	.p-order-table__label {
		font-size: 0.75rem;
		color: var(--accent-color);
	}
}

@media screen and (min-width: 768px) {
	.p-order-table-area {
		margin-top: 2rem;
		border: 2px solid var(--accent-color);
	}

	.p-order-table__headline {
		font-size: 1.25rem;
	}

	.p-order-table__body {
		row-gap: 1rem;
	}

	.p-order-table__row {
		margin-inline: 2rem;
		border-radius: 2.5em;
	}

	.p-order-table__data {
		position: relative;
		flex: 1;
		padding: 1rem;
		text-align: center;
	}

	.p-order-table__data:not(:first-child, :last-child) {
		flex: 1.2;
	}

	.p-order-table__data:not(:last-child)::after {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 0;
		height: calc(100% - 2rem);
		margin: auto;
		content: "";
		border: 1px dashed var(--accent-color);
	}
}


@media screen and (min-width: 1024px) {
	.p-order-table__headline {
		font-size: 1.5rem;
	}

	.p-order-table__row {
		margin-inline: 4rem;
	}

	.p-order-table__data:not(:first-child, :last-child) {
		flex: 1.2;
	}

}

.p-order-footer {
	display: flex;
	flex-wrap: wrap;
}

.p-order-footer-banner {
	border: 1px solid #304d8b;
	transition: all .4s ease;
}

@media (any-hover: hover) {
	.p-order-footer-banner:hover {
		opacity: 0.6;
	}
}

.p-order-footer-banner__img {
	height: auto;
    vertical-align: bottom;
}

.p-order-total-area {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.p-order-total {
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--accent-color);
}

.p-order-total__num {
	font-size: 1.5em;
	font-weight: bold;
	color: #e14433;
}

.p-order-total-area__button {
	font-size: 1.5rem;
	line-height: 3;
	color: #fff;
	text-align: center;
	cursor: pointer;
	background: #b91c1c;
	border: 1px solid #b91c1c;
}

.p-order-total-area__button:disabled,
.p-order-total-area__button[disabled] {
	pointer-events: none;
	cursor: auto;
	background: #7e7f83;
	border-color: #7e7f83;
}

@media screen and (max-width: 767px) {
	.p-order-footer {
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.p-order-total {
		text-align: right;
	}
}

@media screen and (min-width: 768px) {
	.p-order-footer {
		gap: 2rem;
		align-items: end;
		padding: 3rem;
	}

	.p-order-total-area {
		row-gap: 1rem;
	}

	.p-order-total {
		font-size: 1.25rem;
		text-align: center;
	}
}

@media screen and (min-width: 1024px) {
	.p-order-footer {
		gap: 4rem;
		padding-inline: 4rem;
	}
}

.cart-modal {
	width: calc(100% - 2rem);
	max-width: 720px;
	padding: 0;
	background: #fff;
	border: none;
	border-radius: 8px;
}

.cart-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cart-modal__headline {
	margin-bottom: 0;
}

.cart-modal__close {
	position: relative;
	min-height: 44px;
	aspect-ratio: 1 / 1;
	background: none;
	border: none;
	transition: all .4s ease;
}

@media (any-hover: hover) {
	.cart-modal__close:hover {
		background: rgb(0 0 0 / 5%);
	}
}

.cart-modal__close::before,
.cart-modal__close::after {
	position: absolute;
	inset: 0;
	display: block;
	width: 1rem;
	height: 1px;
	margin: auto;
	content: "";
	background: #000;
}

.cart-modal__close::before {
	transform: rotate(45deg);
}

.cart-modal__close::after {
	transform: rotate(-45deg);
}

.cart-modal__button {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 600px;
	margin: 1rem auto 0;
	line-height: 3;
	text-align: center;
	border-radius: 2.5em;
}

.cart-modal__button--primary {
	color: #fff;
	background: #39657d;
}

.cart-modal__button--tertiary {
	width: fit-content;
	color: #39657d;
	text-decoration: underline;
	background: none;
	border: none;
}

@media screen and (max-width: 767px) {
	.cart-modal__header {
		padding: 1rem;
	}

	.cart-modal__headline {
		font-size: 1.125rem;
	}

	.cart-modal__button {
		line-height: 2;
	}

	.cart-modal__body {
		padding: 1rem;
	}
}

@media screen and (min-width: 768px) {
	.cart-modal__header {
		padding: 1rem 2rem;
	}

	.cart-modal__headline {
		font-size: 1.5rem;
	}

	.cart-modal__body {
		padding: 1rem 2rem 2rem;
	}
}

.p-notice-list__item {
	margin-left: 1em;
	text-indent: -1em;
}

.p-notice-list__item::before {
	margin-right: 0.5em;
	font-size: 0.5em;
	content: "◆";
}
