/* ==========================================================================
  Paul Smith Summer Shop LP - 統合カスタムCSS (Swiper対応版)
  ========================================================================== */

/* --------------------------------------------------------------------------
  0. 全体共通・ベース設定
  -------------------------------------------------------------------------- */
:root {
	--color-pale-blue: #ffc17b;
	--color-active-tab: #1a1a1a;
	--color-inactive-tab: #7a8c9e;
}

body {
	margin: 0;
	padding: 0;
}

/* モーダル表示時の背景スクロール固定 */
html.is-modal-open,
body.is-modal-open {
	overflow: hidden !important;
}

section.new-grid {
	padding: 0;
}
.font-joix * {
	font-family:
		Mint Grotesk,
		'游ゴシック体',
		'Yu Gothic',
		YuGothic,
		'ヒラギノ角ゴ Pro',
		'Hiragino Kaku Gothic Pro',
		'メイリオ',
		'Meiryo',
		sans-serif !important;
}
@media (max-width: 991px) {
	.sp-width {
		display: block;
	}
	.pc-width {
		display: none;
	}
}
@media (min-width: 992px) {
	.sp-width {
		display: none;
	}
	.pc-width {
		display: block;
	}
}
/* --------------------------------------------------------------------------
  1. ヒーローセクション
  -------------------------------------------------------------------------- */
.hero-section {
	position: relative;
	width: 100%;
	overflow: visible;
	background-color: #f5f5f5;
}

.hero-link-wrapper {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	touch-action: manipulation;
}

.hero-bg-sp {
	display: block;
	position: relative;
	padding-top: 125%; /* 4:5 */
}

.hero-bg-pc {
	display: none;
	position: relative;
	padding-top: 56.25%; /* 16:9 */
}

.hero-bg-pc iframe,
.hero-bg-sp iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.hero-bg-pc img,
.hero-bg-sp img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.follower-shrimp {
	position: absolute;
	top: 0;
	left: 0;
	width: 300px;
	height: 190px;
	margin-top: 0;
	margin-left: -150px;
	opacity: 0;
	pointer-events: none;
	z-index: 50;
	transition: opacity 0.2s ease;
	transform-origin: top center;
	will-change: transform;
}

.follower-shrimp img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (min-width: 992px) {
	.hero-bg-sp {
		display: none;
	}
	.hero-bg-pc {
		display: block;
	}
}

/* --------------------------------------------------------------------------
  2. イントロセクション
  -------------------------------------------------------------------------- */
.intro-section {
	position: relative;
	width: 100%;
	overflow: visible;
	background-color: #de6c2e;
	padding: 48px 16px;
	box-sizing: border-box;
	z-index: 10;
}

.intro-text-container {
	width: 100%;
	max-width: 1380px;
	margin: 0 auto 0 0;
	text-align: left;
}

.intro-message {
	color: #ffffff;
	font-size: 24px;
	line-height: 32px;
	font-weight: 500;
	margin: 0;
	letter-spacing: 1px;
	word-break: break-word;
}

.follower-parfait {
	position: absolute;
	top: 0;
	left: 0;
	width: 150px;
	height: 309px;
	margin-top: -154.5px;
	margin-left: -75px;
	opacity: 0;
	pointer-events: none;
	z-index: 100;
	transition: opacity 0.2s ease;
	transform-origin: center center;
	will-change: transform;
}

.follower-parfait img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (min-width: 992px) {
	.intro-section {
		padding: 68px 24px;
	}
	.intro-message {
		font-size: 36px;
		line-height: 46px;
	}
}

/* --------------------------------------------------------------------------
  3, 4. ショーケース（For Him / For Her Swiperスライダー）
  -------------------------------------------------------------------------- */
.showcase-section {
	display: flex;
	flex-direction: column;
	width: 100%;
	background-color: #c6d6e3;
	overflow: hidden;
}

.showcase-media {
	width: 100%;
	position: relative;
}

.showcase-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.showcase-content {
	width: 100%;
	padding: 40px 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.content-header {
	padding: 0 16px;
	margin-bottom: 48px;
}

.content-title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 26px;
	text-transform: none;
	margin-bottom: 16px;
}

.content-description {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1.5;
	text-transform: none;
	margin-bottom: 56px;
}

.content-link {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 12px;
	font-weight: bold;
	color: #000;
	text-decoration: none;
}

.content-link .link-arrow {
	transform: rotate(-45deg);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.03, 0.99);
	width: 1.5rem;
	height: 1.5rem;
}

.content-link:hover .link-arrow {
	transform: rotate(0deg);
}

.carousel-nav-pc {
	display: none;
}

/* SP時：スライダーの見切れ領域を許可 */
.showcase-section .content-carousel {
	width: 100%;
	overflow: visible;
}

.showcase-section .swiper {
	width: 100%;
	overflow: visible;
}

.showcase-section .swiper-wrapper {
	/* 意図: スライド切り替え時のパディング変化を滑らかにアニメーションさせる */
	transition:
		transform 300ms ease-out,
		padding 300ms ease-out !important;
}

/* --------------------------------------------------------------------------
  SP向け：Slick時代の「1.26表示」と「動的パディング（0% / 10.3% / 20.6%）」の完全再現
  -------------------------------------------------------------------------- */
@media (max-width: 991px) {
	/* 意図: スライド1枚の幅をコンテナの79.4%（約80%）に固定し、巨大化を防ぐ */
	.showcase-section .swiper-slide {
		width: 79.4% !important;
	}

	/* ① 1枚目：左端ピタッ、右側に20.6%見切れ */
	.showcase-section .swiper.is-first .swiper-wrapper {
		padding-left: 0% !important;
		padding-right: 20.6% !important;
	}

	/* ② 中間：左右10.3%ずつの余白で「完全中央寄せ」 */
	.showcase-section .swiper.is-middle .swiper-wrapper {
		padding-left: 10.3% !important;
		padding-right: 10.3% !important;
	}

	/* ③ 最終：右端ピタッ、左側に20.6%見切れ */
	.showcase-section .swiper.is-last .swiper-wrapper {
		padding-left: 20.6% !important;
		padding-right: 0% !important;
	}
}

/* スライドアイテム (5:7 アスペクト比) */
.slide-item {
	position: relative;
	display: block;
	cursor: pointer;
}

.item-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

.slide-image-wrapper {
	position: relative;
	aspect-ratio: 5 / 7;
	background-color: #f5f5f5;
	margin-bottom: 16px;
	overflow: hidden;
}

.slide-image-main,
.slide-image-hover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s ease;
}

.slide-image-hover {
	opacity: 0;
}

.item-info {
	padding: 0 16px;
	font-size: 12px;
	font-weight: 600;
}

.item-name {
	margin-bottom: 4px;
	line-height: 1.4;
}
.item-price-wrapper {
	margin-bottom: 12px;
}
.item-price {
	color: #000;
}

#section-for-her {
	background-color: #ffc17b;
}

@media (min-width: 992px) {
	.showcase-section {
		flex-direction: row-reverse;
	}
	.showcase-section.is-reverse {
		flex-direction: row;
	}
	.showcase-media {
		width: 50%;
	}

	.showcase-content {
		width: 44%;
		padding: 80px 0;
		margin-right: 6%;
		justify-content: center;
		min-width: 0;
	}
	.showcase-section.is-reverse .showcase-content {
		margin-right: 0;
		margin-left: 6%;
	}

	/* PC表示では領域外への貫通を絶対に防ぐ */
	.showcase-section .content-carousel,
	.showcase-section .swiper {
		overflow: hidden !important;
	}

	.content-title {
		font-size: 24px;
		line-height: 32px;
	}
	.content-description {
		font-size: 14px;
		font-weight: 500;
		letter-spacing: normal;
		line-height: 1.5;
		text-transform: none;
		margin-bottom: 56px;
	}
	.content-header {
		position: relative;
		padding-left: 32px;
		margin-bottom: 36px;
	}
	#section-for-her .content-header {
		padding-left: 0;
	}

	.carousel-nav-pc {
		display: flex;
		gap: 16px;
		position: absolute;
		right: 0;
		bottom: 0;
	}
	#section-for-her .carousel-nav-pc {
		padding-right: 24px;
	}

	.nav-prev,
	.nav-next {
		background: none;
		border: none;
		font-size: 20px;
		cursor: pointer;
		color: #000;
		padding: 0;
	}
	.nav-prev.is-disabled,
	.nav-next.is-disabled {
		color: #aaa;
		pointer-events: none;
		opacity: 0.3;
	}

	.slide-item:hover .slide-image-main {
		opacity: 0;
	}
	.slide-item:hover .slide-image-hover {
		opacity: 1;
	}

	.item-info {
		display: flex;
		flex-direction: row;
	}
	.item-name {
		width: 80%;
	}
	.item-price-wrapper {
		width: 20%;
		display: flex;
		justify-content: flex-end;
	}
}

/* --------------------------------------------------------------------------
  5, 8. PC静止画セクション
  -------------------------------------------------------------------------- */
.sp_full_img img,
.pc_full_img img {
	width: 100%; /* 画像の幅を100%に */
	height: auto; /* 画像の高さも親要素に合わせる */
	display: block; /* インライン要素の余白をなくす */
}

@media (max-width: 991px) {
	.sp_full_img {
		display: block; /* SPサイズの画像を表示 */
	}
	.pc_full_img {
		display: none; /* PCサイズの画像を非表示 */
	}
}

@media (min-width: 992px) {
	.sp_full_img {
		display: none; /* SPサイズの画像を非表示 */
	}
	.pc_full_img {
		display: block; /* PCサイズの画像を表示 */
	}
}
/*ページ下の余白を0に*/
.page-main {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
  6. 店舗セクション＆モーダルシステム
  -------------------------------------------------------------------------- */

.store-section {
	width: 100%;
	padding: 0;
	box-sizing: border-box;
	background-color: #c6d6e3;
}
.store-flex {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.store-description {
	font-size: 14px;
	line-height: 1.8;
	padding: 60px 2.66% 60px;
	color: #000000;
	margin: 0;
}
.store-flex-inner-left {
	padding-top: 60px;
}
.instore-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #1a1a1a;
	text-decoration: none;
	font-weight: 600;
	margin-top: 16px;
}

.instore-link .link-arrow {
	transform: rotate(-45deg);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.03, 0.99);
	width: 16px;
	height: 16px;
}

.instore-link:hover .link-arrow {
	transform: rotate(0deg);
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;
	touch-action: none;
}

.modal-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

.modal-content {
	background-color: #ffffff;
	width: 95%;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 8px;
	position: relative;
	padding: 40px 20px 30px;
	touch-action: auto;
	-webkit-overflow-scrolling: touch;
}

.modal-close {
	position: absolute;
	top: 5px;
	right: 5px;
	background: transparent;
	border: none;
	cursor: pointer;
	color: #000;
	font-size: 16px;
	text-decoration: underline;
	padding: 15px;
	z-index: 10;
}

.modal-body-inner {
	display: flex;
	flex-direction: column-reverse;
	gap: 20px;
	align-items: center;
}

.modal-look-img {
	width: 100%;
	height: auto;
	display: block;
}
h2.modal-look-title {
	font-size: 18px;
	font-weight: 600;
	padding-bottom: 16px;
}
p.modal-look-text {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 16px;
}

@media (min-width: 992px) {
	.store-section {
		padding: 68px 24px;
	}
	.store-flex {
		padding: 0 30px;
		flex-direction: row;
	}
	.store-flex-inner-left {
		width: 58.34%;
		padding-top: 100px;
		padding-right: 30px;
		display: flex;
		flex-direction: column;
	}
	.store-flex-inner-right {
		width: 41.66%;
	}
	.store-flex-inner-imgs {
		width: 100%;
		display: flex;
		align-items: center;
		padding-top: 60px;
		gap: 2px;
	}
	.store-flex-inner-img {
		width: 50%;
	}

	.modal-content {
		width: 80%;
		max-width: 1200px;
		padding: 40px 32px 32px;
	}
	.modal-body-inner {
		flex-direction: row;
		gap: 40px;
	}
	.modal-look-area {
		width: 50%;
		position: sticky;
		top: 0;
	}
	.modal-item-area {
		width: 50%;
		display: flex;
		flex-direction: column;
	}
}

/* --------------------------------------------------------------------------
  7. カテゴリ切り替えセクション
  -------------------------------------------------------------------------- */
.category-switch-section {
	width: 100%;
	background-color: #ffc17b;
	padding: 48px 0 32px;
	color: #000000;
	box-sizing: border-box;
}

.category-header-container {
	width: 100%;
	padding: 0 5%;
	margin-bottom: 25px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.tab-wrapper {
	display: flex;
	gap: 20px;
}

.tab-button {
	background: none;
	border: none;
	padding: 0;
	font-size: 24px;
	font-weight: 500;
	color: #7a8c9e;
	cursor: pointer;
	transition: color 0.3s ease;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.tab-button.is-active {
	color: #1a1a1a;
}

.category-content-panel {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.category-content-panel.is-active {
	display: block;
	opacity: 1;
}

.category-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	width: 100%;
}

.category-card {
	display: block;
	position: relative;
	width: calc(50% - 1px);
	background-color: #ffc17b;
	border: none;
}

.card-link {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

.card-image-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 5 / 7;
	background-color: #f5f5f5;
	overflow: hidden;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	mask-image: -webkit-radial-gradient(white, black);
	transform: translateZ(0);
}

.card-image-main {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1) translateZ(0);
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.15);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 2;
}

.card-title {
	width: 100%;
	padding: 16px 14px;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #1a1a1a;
}

.category-card:active .card-image-main {
	transform: scale(1.03);
	transition: transform 0.15s ease-out;
}
.category-card:active .card-image-overlay {
	opacity: 1;
	transition: opacity 0.15s ease-out;
}

@media (min-width: 768px) {
	.category-switch-section {
		padding: 50px 0 48px;
	}
	.category-header-container {
		padding: 0 24px;
		margin-bottom: 35px;
	}
	.tab-button {
		font-size: 28px;
	}
	.category-grid {
		flex-wrap: nowrap;
		gap: 2px;
	}
	.category-card {
		width: calc(25% - 1.5px);
	}
	.card-title {
		padding: 16px 24px 0;
		font-size: 12px;
		font-weight: 500;
	}
	.category-card:hover .card-image-main {
		transform: scale(1.03);
	}
	.category-card:hover .card-image-overlay {
		opacity: 1;
	}
}

/* --------------------------------------------------------------------------
  9. ストライプ背景セクション
  -------------------------------------------------------------------------- */
.stripe-bg-section {
	width: 100%;
	height: 50vh;
	background-image: url('https://www.paulsmith.co.jp/application/files/6917/8313/1431/stripe-summer-shop-desktop.png');
	background-size: 590%;
	background-position: center;
	background-repeat: no-repeat;
}

@media (min-width: 992px) {
	.stripe-bg-section {
		background-size: 110%;
	}
}
