/**
 * Portal Index Page Styles
 *
 * Index-specific styles only. Shared portal styles are in portal-common.css.
 *
 * PC: 1400px base design
 * SP: 400px base design
 *
 * @package Okayama
 */



.portal-hero {
	position: relative;
	overflow: hidden;
	height: 561px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.portal-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	-webkit-mask-image: var(--hero-mask);
	mask-image: var(--hero-mask);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.portal-hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portal-hero__overlay {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-top: 30px;
}


.portal-hero__overlay-img {
	max-width: 100%;
	width: auto;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.portal-page .portal-hero__overlay-img--pc {
	display: block;
}

.portal-page .portal-hero__overlay-img--sp {
	display: none;
}

@media (max-width: 768px) {
	.portal-page .portal-hero__overlay-img--pc {
		display: none;
	}

	.portal-page .portal-hero__overlay-img--sp {
		display: block;
	}
}


.portal-hero__slider {
	position: relative;
	z-index: 2;
	overflow: hidden;
}

.portal-hero__slider-track {
	display: flex;
	gap: 40px;
	will-change: transform;
}

.portal-hero__slider-item {
	flex-shrink: 0;
	width: 361px;
	height: 340px;
	border-radius: 0;
	overflow: hidden;
}

.portal-hero__slider-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}



.portal-intro {
	text-align: center;
	padding: 80px 20px 0;
}

.portal-intro__inner {
	max-width: 940px;
	margin: 0 auto;
}

.portal-intro__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
}

.portal-intro__title p {
	margin: 0;
}

.portal-intro__divider {
	margin: 32px auto;
	width: 151px;
}

.portal-intro__divider-img {
	width: 100%;
	height: auto;
}

.portal-intro__text {
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
}

.portal-intro__text p {
	margin: 0;
}



.portal-emergency {
	max-width: 1100px;
	margin: 40px auto 0;
	padding: 0 20px;
}

.portal-emergency__inner {
	display: flex;
	align-items: stretch;
	background-color: #fff;
	border: 1px solid #e52c2c;
	border-radius: 8px;
	overflow: hidden;
	height: 59px;
}

.portal-emergency__label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 143px;
	flex-shrink: 0;
	background-color: #e52c2c;
	color: #fff;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
}

.portal-emergency__content {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 0 24px;
	flex: 1;
	min-width: 0;
}

.portal-emergency__date {
	font-family: 'Reddit Sans', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: #333;
	flex-shrink: 0;
}

.portal-emergency__text {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.portal-emergency__text a {
	color: inherit;
	text-decoration: none;
}

.portal-emergency__text a:hover {
	text-decoration: underline;
}



.portal-main {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 80px;
	padding: 80px 0 0;
	background-image: var(--deco-bg);
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 100% auto;
}


.portal-deco-clouds {
	position: relative;
	pointer-events: none;
	z-index: 2;
}

.portal-deco-cloud {
	position: absolute;
}

.portal-deco-cloud--left {
	width: 110px;
	bottom: -10px;
	left: 10%;
}

.portal-deco-cloud--right {
	width: 104px;
	bottom: -10px;
	right: 16%;
}

.portal-main > section {
	position: relative;
	z-index: 1;
}





.portal-products {
	position: relative;
	width: 100vw;
	height: 980px;
}

.portal-products__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.portal-products__bg-img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.portal-products__inner {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
	padding-top: 110px;
}

.portal-products__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	margin-bottom: 25px;
}

.portal-products__title {
	font-size: 35px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
	color: var(--portal-text);
}

.portal-products__subtitle {
	font-family: 'Reddit Sans', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.6;
	color: var(--portal-text);
	text-transform: uppercase;
}

.portal-products__card {
	background-color: var(--portal-bg);
	border-radius: var(--portal-radius-md);
	padding: 64px 80px;
	height: 530px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}


.portal-products__carousel {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-height: 0;
}

.portal-products__carousel-prev,
.portal-products__carousel-next {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
	width: 33px;
	height: 32px;
	transition: opacity 0.3s ease;
}

.portal-products__carousel-prev:hover,
.portal-products__carousel-next:hover {
	opacity: 0.7;
}

.portal-products__carousel-track {
	flex: 1;
	overflow: hidden;
}


.portal-products__slide {
	display: none;
}

.portal-products__slide.is-active {
	display: block;
}

.portal-products__slide-inner {
	display: flex;
	gap: 40px;
	align-items: center;
}

.portal-products__slide-image {
	flex-shrink: 0;
	width: 293px;
	height: 300px;
	position: relative;
	overflow: hidden;
}

.portal-products__slide-bag {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;

}

.portal-products__slide-img {
	position: absolute;

	top: 21%;

	left: 1%;
	width: 96%;
	height: 79.9%;
	object-fit: cover;
	clip-path: polygon(8.3% 0%, 91.7% 0%, 100% 100%, 0% 100%);
	z-index: 1;
}

.portal-products__slide-bag-outline {
	position: absolute;
	top: 21%;
	left: 0.5%;


	z-index: 2;
}

.portal-products__slide-content {
	flex: 1;
	min-width: 0;
}

.portal-products__slide-meta {
	margin-bottom: 16px;
}

.portal-products__slide-region {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
}

.portal-products__slide-region svg {
	flex-shrink: 0;
}

.portal-products__slide-name {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
	margin: 10px 0 0;
}

.portal-products__slide-divider {
	width: 100%;
	height: 1px;
	background-color: var(--portal-gray);
	margin: 16px 0;
}

.portal-products__slide-desc {
	font-size: 16px;
	line-height: 2;
	margin: 0;
}

.portal-products__slide-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	line-height: 2;
	margin-top: 24px;
	transition: opacity 0.3s ease;
	color: var(--portal-text);
}

.portal-products__slide-link:hover {
	opacity: 0.7;
}


.portal-products__dots {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.portal-products__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #cce4eb;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.portal-products__dot.is-active {
	background-color: var(--portal-blue);
}




.portal-main .portal-shop-banner {
	margin-bottom: 100px;
}



@media (max-width: 1280px) {

	.portal-main {
		padding-left: 5%;
		padding-right: 5%;
	}

	.portal-products {
		height: auto;
		padding-bottom: 80px;
	}

	.portal-products__inner {
		padding-left: 5%;
		padding-right: 5%;
	}

	.portal-products__card {
		padding: 48px 40px;
		height: auto;
	}
}



@media (max-width: 768px) {


	.portal-hero {
		height: 384px;
		border-radius: 0 0 20px 20px;
	}

	.portal-hero__bg {
		-webkit-mask-image: none !important;
		mask-image: none !important;
	}

	.portal-hero__bg-img {
		object-position: center;
	}

	.portal-hero__overlay {
		margin-top: 20px;
	}


	.portal-page .portal-hero__overlay-img {
		height: auto;
	}

	.portal-hero__slider-track {
		gap: 13px;
		will-change: transform;
	}

	.portal-hero__slider-item {
		width: 212px;
		height: 200px;
	}


	.portal-intro {
		padding: 40px 5% 0;
	}

	.portal-intro__title {
		font-size: 18px;
	}

	.portal-intro__title p + p {
		margin-top: 0;
	}

	.portal-intro__divider {
		margin: 24px auto;
	}

	.portal-intro__text {
		font-size: 14px;
	}


	.portal-emergency {
		margin: 24px auto 0;
		padding: 0 5%;
	}

	.portal-emergency__inner {
		flex-direction: column;
		height: auto;
		border-radius: 6px;
	}

	.portal-emergency__label {
		width: 100%;
		height: 36px;
		font-size: 14px;
	}

	.portal-emergency__content {
		flex-direction: column;
		gap: 4px;
		padding: 12px 16px;
		align-items: flex-start;
	}

	.portal-emergency__date {
		font-size: 14px;
	}

	.portal-emergency__text {
		font-size: 14px;
		white-space: normal;
	}


	.portal-deco-clouds {
		display: none;
	}


	.portal-main {
		gap: 60px;
		padding: 60px 5% 0;
		background-position: left top;
		background-size: auto;
	}

	.portal-main .portal-shop-banner {
		margin-bottom: 80px;
	}


	.portal-products {
		height: auto;
		padding: 60px 0;
		width: 100vw;
	}

	.portal-products__bg {
		-webkit-mask-image: none !important;
		mask-image: none !important;
	}

	.portal-products__inner {
		padding: 32px 5% 50px;
		background-color: var(--portal-bg);
		border-radius: 20px;
		max-width: none;
		margin: 0 5%;
	}

	.portal-products__heading {
		margin-bottom: 24px;
	}

	.portal-products__title {
		font-size: 28px;
	}

	.portal-products__subtitle {
		font-size: 16px;
	}

	.portal-products__card {
		padding: 0;
		border-radius: 0;
		max-width: none;
		margin: 0;
		height: auto;
		gap: 24px;
		background: none;
	}

	.portal-products__carousel {
		flex-direction: column;
		position: relative;
	}

	.portal-products__carousel-prev,
	.portal-products__carousel-next {
		position: absolute;
		top: 120px;
		transform: translateY(-50%);
		z-index: 5;
		width: 40px;
		height: 40px;
	}

	.portal-products__carousel-prev {
		left: 0;
	}

	.portal-products__carousel-next {
		right: 0;
	}

	.portal-products__carousel-prev svg,
	.portal-products__carousel-next svg {
		width: 100%;
		height: 100%;
	}

	.portal-products__slide-inner {
		flex-direction: column;
		gap: 16px;
	}

	.portal-products__slide-image {
		width: 230px;
		height: 240px;
		margin: 0 auto;
	}

	.portal-products__slide-name {
		font-size: 18px;
	}

	.portal-products__slide-desc {
		font-size: 14px;
	}

	.portal-products__slide-link {
		font-size: 14px;
		margin-top: 8px;
	}

	.portal-products__dots {
		gap: 10px;
	}

	.portal-products__dot {
		width: 8px;
		height: 8px;
	}

}
