@charset "UTF-8";

.p-main {
	--serif-font: "Noto Serif JP", "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
	--base-color: #fff4f6;
	--main-color: #d05f74;
	--hmk-support-bg: #fff4f6;
	--hmk-support-headline: #212121;
	--hmk-support-num-bg: #d05f74;
	--hmk-support-num: #fff;
}

.p-text-serif {
	font-family: var(--serif-font);
}

.p-text-accent {
	color: var(--main-color);
}

.p-text-marker {
    text-decoration: underline;
    text-decoration-thickness: 0.75em;
    text-decoration-color: #ffffd3;
    text-underline-offset: -0.4em;
    text-decoration-skip-ink: none;
}

.p-text-marker--pink {
	text-decoration-color: #ffe5ea;
}

.p-button {
	position: relative;
	display: inline-flex;
	column-gap: 0.5rem;
	align-items: center;
	justify-content: center;
	padding: 0.5em;
	text-align: center;
	cursor: pointer;
	border-radius: 100vmax;
}

.p-button--primary {
	--primary-button-color: var(--main-color);
	--primary-button-hover-color: #fff;

	color: #fff;
	background: var(--primary-button-color);
	border: 2px solid var(--primary-button-color);
	transition: all .4s ease;
}

@media (any-hover: hover) {
	.p-button--primary:hover {
		color: var(--main-color);
		background: var(--primary-button-hover-color);
	}
}

.p-button--secondary {
	--secondary-button-color: #212121;

	color: var(--secondary-button-color);
	background: #fff;
	border: 1px solid var(--secondary-button-color);
	transition: all .4s ease;
}

@media (any-hover: hover) {
	.p-button--secondary:hover {
		color: #fff;
		background: var(--secondary-button-color);
	}
}

.p-button--arrow-r::after {
	font-family: "nextIcon";
	content: "\e91c";
}

.p-button--arrow-b::after {
	font-family: "nextIcon";
	content: "\e91a";
}

.p-mv {
	position: relative;
	display: flex;
	overflow: hidden;
}

.p-mv__headline {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: var(--serif-font);
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
	filter: drop-shadow(0 0 5px #fff);
}

.p-mv-thumb {
	position: relative;
	display: flex;
	align-items: flex-end;
}

.p-mv-thumb__img {
	flex: 1;
	min-width: 0;
}

.p-mv-thumb__img:last-child {
	transform: rotate(7deg) translateX(-30%);
	transform-origin: bottom right;
}

.p-mv-thumb--refrect {
	transform: rotateX(180deg);
	-webkit-mask-image: linear-gradient(to top, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 30%);
	mask-image: linear-gradient(to top, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 30%);
}

@media screen and (max-width: 767px) {
	.p-mv {
		flex-direction: column;
		aspect-ratio: 750 / 626;
		padding: 1.5rem;
		background: url("/client_info/HARMONICK/view/userweb/ext/okaeshi/kekkonuchiiwai/images/firstview_sp.jpg") left top / cover no-repeat;
	}

	.p-mv-thumb {
		column-gap: 0.25rem;
		align-self: flex-end;
		width: 80%;
	}
}

@media screen and (min-width: 768px) {
	.p-mv {
		align-items: center;
		justify-content: flex-end;
		aspect-ratio: 1200 / 373;
		padding: 4rem;
		background: url("/client_info/HARMONICK/view/userweb/ext/okaeshi/kekkonuchiiwai/images/firstview.jpg") left top / cover no-repeat;
	}

	.p-mv-thumb {
		column-gap: 0.5rem;
		width: 50%;
	}

	.p-mv-thumb--refrect {
		position: absolute;
		right: 4rem;
		bottom: -25%;
		width: calc(50% - 4rem);
	}
}

.p-service-list {
	display: flex;
	background: var(--base-color);
}

.p-service-list__item {
	display: flex;
	flex: 1;
}

@media screen and (max-width: 767px) {
	.p-service-list {
		flex-direction: column;
		padding: 0.5rem 1rem;
	}

	.p-service-list__item {
		align-items: center;
		padding-block: 0.5rem;
	}

	.p-service-list__item:not(:last-child) {
		border-bottom: 1px dashed #c6bfc0;
	}

	.p-service-list__item::after {
		font-family: "nextIcon";
		color: var(--main-color);
		content: '\e90d';
	}
}

@media screen and (min-width: 768px) {
	.p-service-list {
		padding: 2rem calc(50% - 600px);
	}

	.p-service-list__item {
		flex-direction: column;
		row-gap: 0.5rem;
		text-align: center;
	}
}

.p-sec {
	display: flex;
	flex-direction: column;
}

.p-sec--pink {
	background: var(--base-color);
}

.p-sec__headline {
	font-family: var(--serif-font);
	text-align: center;
	line-height: 1.5;
}

.p-sec__body {
	width: 100%;
	max-width: 960px;
	margin-inline: auto;
}

.p-sec__body--wide {
	max-width: 1200px;
}

@media screen and (max-width: 767px) {
	.p-sec {
		row-gap: 1.5rem;
		padding: 4rem 1rem;
	}

	.p-sec__headline {
		font-size: 1.375rem;
	}
}

@media screen and (min-width: 768px) {
	.p-sec {
		row-gap: 3rem;
		padding-block: 4rem;
	}

	.p-sec__headline {
		font-size: 2rem;
	}
}

.p-box {
	background: var(--base-color);
	padding: 1rem;
	border-radius: 10px;
}

.p-ranking-sec {
	display: flex;
	flex-direction: column;
	row-gap: 2.5rem;
}

.p-ranking-sec__headline {
	position: relative;
	z-index: 0;
	padding-block: 0.5em;
	margin-inline: auto;
	font-family: var(--serif-font);
	text-align: center;
	border-block-color: #ff9499;
	border-block-style: solid;
}

.p-ranking-sec__headline::after {
	position: absolute;
    top: 50%;
    left: 50%;
	z-index: -1;
	width: 100%;
	content: "";
	border-block: 1px solid #ff9499;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 767px) {
	.p-ranking-sec__headline {
		width: 80%;
		margin-inline: auto;
		border-block-width: 1px;
	}

	.p-ranking-sec__headline::after {
		height: calc(100% + 12px);
	}
}

@media screen and (min-width: 768px) {
	.p-ranking-sec__headline {
		width: fit-content;
		padding-inline: 2.5em;
		border-block-width: 4px;
		font-size: 1.75rem;
	}

	.p-ranking-sec__headline::after {
		height: calc(100% + 22px);
	}
}


.p-ranking-list {
	display: grid;
}

.p-ranking-list__item {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 7;
	row-gap: 0.5rem;
	text-align: center;
}

@media screen and (max-width: 767px) {
	.p-ranking-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}

@media screen and (min-width: 768px) {
	.p-ranking-list {
		grid-template-columns: repeat(6, 1fr);
		column-gap: 1.5rem;
	}
}

.p-ranking-tab-list {
	width: 100%;
	max-width: 960px;
	margin-inline: auto;
	column-gap: 1px;
}

.p-ranking-tab-list__item {
	flex: 1;
}

.p-ranking-tab-list__button {
	width: 100%;
	padding-block: 0.5rem;
	color: #606060;
	background: transparent;
	border-inline: 2px solid #bebec1;
	border-top: 2px solid #bebec1;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
}

.p-ranking-tab-list__button[data-tab-state="active"] {
	color: #fff;
	background: var(--main-color);
	border-color: var(--main-color);
}

[data-tab-target-group="price"][data-tab-state="inactive"] {
	display: none;
}

[data-tab-target-group="relationship"][data-tab-state="inactive"] {
	display: none;
}

@media screen and (max-width: 767px) {
	.p-ranking-tab-list {
		display: grid;
		grid-template-columns: repeat(4, 45%);
		overflow-x: scroll;
		scroll-snap-type: x mandatory;
	}

	.p-ranking-tab-list__item {
		scroll-snap-align: start;
	}

	.p-ranking-tab-list__button {
		font-size: 0.875rem;
	}
}

@media screen and (min-width: 768px) {
	.p-ranking-tab-list {
		display: flex;
		justify-content: center;
	}
}

.p-catalog-select-wrapper {
	position: relative;
}

.p-catalog-select-wrapper::after {
	position: absolute;
	inset-block: 0;
	right: 1em;
	height: 1em;
	margin-block: auto;
	font-family: "nextIcon";
	line-height: 1;
	color: var(--main-color);
	content: '\e91a';
}

.p-catalog-select {
	width: 100%;
	padding: 1em;
	color: var(--main-color);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	background: #fff;
	border: 2px solid var(--main-color);
	border-radius: 100vmax;
}

.p-catalog-series-img {
	position: absolute;
	bottom: 0;
}

.p-catalog-series-img:nth-child(1),
.p-catalog-series-img:nth-child(5) {
	width: 30%;
}

.p-catalog-series-img:nth-child(2),
.p-catalog-series-img:nth-child(4) {
	width: 35%;
}

.p-catalog-series-img:nth-child(3) {
	inset-inline: 0;
	z-index: 2;
	width: 40%;
	margin-inline: auto;
}

.p-catalog-series-img:nth-child(2) {
	left: 12.5%;
}

.p-catalog-series-img:nth-child(4) {
	right: 12.5%;
	z-index: 1;
}

.p-catalog-series-img:nth-child(5) {
	right: 0;
}


.p-catalog-series-list {
	display: grid;
}

.p-catalog-series-list__item {
	display: flex;
	flex-direction: column;
	row-gap: 1rem;
}

@media screen and (max-width: 767px) {
	.p-catalog-series-list {
		grid-template-columns: repeat(1, 1fr);
	}

	.p-catalog-series-list__item {
		padding: 2rem 1rem;
	}

	.p-catalog-series-list__item:nth-child(even) {
		background: #fff;
	}
}

@media screen and (min-width: 768px) {
	.p-catalog-series-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}

	.p-catalog-series-list__item {
		padding: 2rem;
		background: #fff;
		border-radius: 16px;
	}
}

.p-wrapping-sec {
	display: flex;
	flex-direction: column;
}

.p-wrapping-sec__headline {
	width: fit-content;
	min-width: 7em;
	padding: 0.5em 2em;
	margin-inline: auto;
	color: #fff;
	text-align: center;
	background: var(--main-color);
	border-radius: 100vmax;
}

@media screen and (max-width: 767px) {
	.p-wrapping-sec {
		row-gap: 1.5rem;
	}
}

@media screen and (min-width: 768px) {
	.p-wrapping-sec {
		row-gap: 2rem;
	}
}

.p-wrapping-paper-list {
	display: grid;
	gap: 0.5rem;
}

@media screen and (max-width: 767px) {
	.p-wrapping-paper-list {
		grid-template-columns: repeat(2, 1fr);
	}

	[data-toggle-target="wrapping-paper"][data-toggle-state="inactive"] {
		display: none;
	}
}

@media screen and (min-width: 768px) {
	.p-wrapping-paper-list {
		grid-template-columns: repeat(7, 1fr);
	}
}

.p-article-list {
	display: flex;
	flex-direction: column;
}

.p-article-list__item {
	border-bottom: 1px dashed #c8c9ca;
}

.p-article-list__inner {
	display: flex;
	position: relative;
	align-items: center;
	transition: all .4s ease;
}

.p-article-list__inner::after {
	font-family: 'nextIcon';
	content: "\e90d";
	transition: all .4s ease;
}

@media (any-hover: hover) {
	.p-article-list__inner:hover {
		opacity: 0.75;
	}

	.p-article-list__inner:hover::after {
		transform: translateX(1em);
	}
}

@media screen and (max-width: 767px) {
	.p-article-list__inner {
		padding-block: 0.75rem;
		column-gap: 0.5rem;
	}
}

@media screen and (min-width: 768px) {
	.p-article-list__inner {
		padding-block: 1rem;
		column-gap: 1.5rem;
	}

	.p-article-list__inner::after {
		font-size: 1.5rem;
	}
}

.p-flow-list {
	display: grid;
	column-gap: 1rem;
	margin-inline: auto;
	counter-reset: flow;
}

.p-flow-list__item {
	position: relative;
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	row-gap: 1rem;
	padding: 2rem 1rem 1rem;
	background: #fff;
	border-radius: 8px;
}

.p-flow-list__item::before {
	position: absolute;
	inset-inline: 0;
	top: -1em;
	display: flex;
	place-content: center;
	place-items: center;
	width: 2em;
	aspect-ratio: 1 / 1;
	margin-inline: auto;
	color: #fff;
	content: counter(flow);
	counter-increment: flow;
	background: var(--main-color);
	border-radius: 50%;
}

@media screen and (max-width: 767px) {
	.p-flow-list {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 3rem;
	}
}

@media screen and (min-width: 768px) {
	.p-flow-list {
		grid-template-columns: repeat(4, 1fr);
		row-gap: 1rem;
	}
}
