@charset "utf-8";

/* =============================================================================

Component CSS

・独立したコンポーネントにできそうだったもの「.c-×××」

上記はここに記述する

============================================================================= */

/* VIEW MORE ボタン（通常） */
.c-btn-more {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0.1rem solid var(--cc-pinkgold);
	border-radius: 3rem;
	background: transparent;
	color: var(--cc-pinkgold);
	background-color: #FBFAF6;
	font-family: var(--ff-loniki);
	font-weight: var(--text-fw-en);
	text-decoration: none;
	letter-spacing: 0.3em;
	line-height: 1.4;
	transition: all 0.2s ease;

	@media (width > 767px) {/* PC */
		min-width: 26rem;
		height: 5rem;
		padding-inline: 5rem;
		font-size: 1.4rem;
		padding-block: 0;
	}
	@media (width <= 767px) {/* SP */
		min-width: 20rem;
		height: 4.2rem;
		padding-inline: 4rem;
		font-size: 1.2rem;
	}

	&::after {
		content: '';
		position: absolute;
		background-image: url('/assets/img/icon-arrow-pg.svg');
		background-repeat: no-repeat;
		background-position: center;
		background-size: .9rem .7rem;
		transition: all 0.3s ease-out;

		@media (width > 767px) {/* PC */
			inset-inline-end: 2.9rem;
			width: 1.6rem;
			height: 1.4rem;
		}
		@media (width <= 767px) {/* SP */
			inset-inline-end: 2rem;
			width: 1.4rem;
			height: 1.2rem;
		}
	}

	@media(hover) {
		&:hover::after {
			transform: translateX(0.8rem);
		}
	}
}

/* CONTACT ボタン */
.c-btn-contact {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 5rem;
	background: var(--cc-black-B);
	color: var(--cc-white-A);
	font-family: var(--ff-loniki);
	font-weight: var(--text-fw-en);
	text-decoration: none;
	letter-spacing: 0.2em;
	line-height: 1.8;

	@media (width > 767px) {/* PC */
		min-width: 31.5rem;
		height: 6rem;
		padding-inline: 5rem;
		font-size: 1.4rem;
	}
	@media (width <= 767px) {/* SP */
		min-width: 22rem;
		height: 4.8rem;
		padding-inline: 4rem;
		font-size: 1.2rem;
	}

	&::after {
		content: '';
		position: absolute;
		background-image: url('/assets/img/icon-arrow-w.svg');
		background-repeat: no-repeat;
		background-position: center;
		background-size: .9rem .7rem;
		transition: all 0.3s ease-out;

		@media (width > 767px) {/* PC */
			inset-inline-end: 2.4rem;
			height: 1.4rem;
			width: 1.6rem;
		}
		@media (width <= 767px) {/* SP */
			inset-inline-end: 2rem;
			height: 1.4rem;
			width: 1.6rem;
		}
	}
	@media(hover) {
		&:hover::after {
			transform: translateX(0.8rem);
		}
	}
}

/* My listボタン */
.c-btn-mylist {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 5rem;
	background: var(--cc-pinkgold);
	color: var(--cc-white-A);
	font-family: var(--ff-loniki);
	font-weight: var(--text-fw-en);
	text-decoration: none;
	letter-spacing: 0.2em;
	line-height: 1.8;
	transition: all 0.2s ease;

	@media (width > 767px) {/* PC */
		min-width: 31.5rem;
		height: 6rem;
		padding-inline: 4rem;
		font-size: 1.4rem;
	}
	@media (width <= 767px) {/* SP */
		min-width: 22rem;
		height: 4.8rem;
		padding-inline: 7rem;
		font-size: 1.4rem;
	}

	&::before {
		content: '';
		position: absolute;
		background-image: url('/assets/img/icon-heart-w.svg');
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
		transition: all 0.3s ease-out;

		@media (width > 767px) {/* PC */
			inset-inline-start: 4rem;
			width: 1.8rem;
			height: 2rem;
		}
		@media (width <= 767px) {/* SP */
			inset-inline-start: 2rem;
			width: 1.1rem;
			height: 1.2rem;
		}
	}

	&::after {
		content: '';
		position: absolute;
		background-image: url('/assets/img/icon-arrow-w.svg');
		background-repeat: no-repeat;
		background-position: center;
		background-size: .9rem .7rem;
		transition: all 0.3s ease-out;

		@media (width > 767px) {/* PC */
			inset-inline-end: 2.4rem;
			height: 1.4rem;
			width: 1.6rem;
		}
		@media (width <= 767px) {/* SP */
			inset-inline-end: 2rem;
			height: 1.4rem;
			width: 1.6rem;
		}
	}

	@media(hover) {
		&:hover::after {
			transform: translateX(0.8rem);
		}
	}
}

/* Tertiaryボタン（アイコンのみ） */
.c-btn-tertiary {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0.1rem solid var(--cc-pinkgold);
	border-radius: 50%;
	background: #FBFAF6;
	text-decoration: none;
	transition: all 0.3s ease-out;
	transform: scale(1);

	@media (width > 767px) {/* PC */
		width: 2.2rem;
		height: 2.2rem;
	}
	@media (width <= 767px) {/* SP */
		width: 2.2rem;
		height: 2.2rem;
	}

	svg {
		width: .9rem;
		height: .7rem;
		transition: all 0.3s ease-out;
		transform: scale(1);
        transform-origin: center;
	}

	@media(hover) {
		&:hover {
			transform: scale(0.9);
			background-color: var(--cc-pinkgold);
			& svg {
				& path {
					fill: var(--cc-white-A);
				}
			}
		}
	}
}

/* Tertiaryボタン（テキスト＋アイコン） */
.c-btn-tertiary-text {
	min-width: 2rem;
	display: inline-flex;
    align-items: center;
	font-size: 1.4rem;
	line-height: 1;
	span:not(.c-btn-tertiary) { /* テキスト部分 */
		position: relative;
		display: inline-block;
		margin-right: .8rem;
		z-index: 1;
		&::before {
			display: block;
			content: '';
			position: absolute;
			inset: 0;
			background-color: #DCCFC2;
			transition: all 0.3s ease-out;
			transform: scaleX(0);
			transform-origin: left;
			will-change: transform;
			z-index: -1;
		}
	}
	.c-btn-tertiary {
		pointer-events: none;

	}
	@media(hover) {
		&:hover {
			& span:not(.c-btn-tertiary)::before {
				transform: scaleX(1);
			}
			.c-btn-tertiary {
				transform: scale(0.9);
				background-color: var(--cc-pinkgold);
				& svg {
					& path {
						fill: var(--cc-white-A);
					}
				}
			}

		}
	}
}

/* タブ切り替え表示 */
.c-tab {
	width: 100%;

	.c-tab-nav {
		width: 100%;
		display: flex;
		align-items: flex-end;
		justify-content: center;
		border-bottom: 1px solid var(--cc-line-A);
		position: relative;
	}

	.c-tab-nav-item {
		color: var(--cc-pinkgold);
		font-family: var(--ff-loniki);
		font-weight: var(--text-fw-en);
		line-height: 1.8;
		text-decoration: none;
		letter-spacing: 0.2em;
		text-align: center;
		cursor: pointer;
		display: flex;
		justify-content: center;
		position: relative;

		@media (width > 767px) {
			font-size: 2rem;
			height: 5rem;
			width: 18rem;
		}
		@media (width <= 767px) {
			font-size: 1.4rem;
			height: 4rem;
			width: 100%;
		}

		&.-ja {
			font-family: var(--ff-default);
			font-weight: var(--text-fw-ja);
			line-height: 2.4;

			@media (width > 767px) {
				font-size: 1.8rem;
				height: 5rem;
				width: 18rem;
			}
			@media (width <= 767px) {
				font-size: 1.4rem;
				height: 4rem;
				width: 100%;
			}
		}

		&.-large {
			@media (width > 767px) {
				width: 22rem;
			}
		}

		&.active {
			cursor: inherit;
		}
	}

	.c-tab-underline {
		position: absolute;
		bottom: -2px;
		left: 0;
		width: 0;
		height: 3px;
		background-color: var(--cc-pinkgold);
		transition: all 0.3s ease;
	}

	.c-tab-content {
		visibility: hidden;
		position: absolute;
		width: 0;
		height: 0;
		overflow: hidden;

		&.active {
			visibility: visible;
			position: static;
			width: 100%;
			height: auto;
		}
	}
}