/* Pierre Zero - Brand Story Page Styles (No Animations) */

/* =================================================================
   BRAND STORY ARTICLE
   ================================================================= */
.brandstory-article {
    padding-top: 0px;
}

/* =================================================================
   BRAND INTRODUCTION SECTION
   ================================================================= */
.brand-intro {
    padding: 100px 0;
}

.brand-intro-title {
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.4;
    text-align: center;
    margin: 0 0 50px 0;
    white-space: nowrap;
}

.brand-intro-text {
    max-width: 786px;
    margin: 0 auto;
}

.brand-intro-text p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 20px 0;
}

.brand-intro-text p:last-child {
    margin-bottom: 0;
}

/* =================================================================
   STORY SECTIONS
   ================================================================= */
.story-section {
    padding: 150px 0;
}

.story-content {
    display: flex;
    gap: 30px;
    align-items: center;
    width: 100%;
}

.story-section.reverse .story-content {
    flex-direction: row-reverse;
}




.story-text {
    flex: 1;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* =================================================================
   STORY HEADER
   ================================================================= */
.story-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.story-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    color: #d6c677;
    margin: 0;
    font-variation-settings: 'wdth' 100;
}

.story-number span {
    font-size: 2em;
	margin-left: .3em;
}

.story-header h3 {
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.4;
    color: #3f3d3c;
    margin: 0 0 1em 0;
}

/* =================================================================
   STORY DESCRIPTION
   ================================================================= */
.story-description {
    width: 100%;
}

.story-description p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    margin: 0 0 16px 0;
}

.story-description p:last-child {
    margin-bottom: 0;
}


/* =================================================================
   CONTAINER WIDE
   ================================================================= */
.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

/* Large screens and down */
@media (max-width: 1200px) {
    .story-content,
    .story-section.reverse .story-content {
        flex-direction: column;
        gap: 50px;
    }
    
    .story-image,
    .story-text {
        max-width: none;
    }
    
    .brand-intro-title {
        font-size: 28px;
        white-space: normal;
    }
}

/* Medium screens and down */
@media (max-width: 768px) {
    .brandstory-article {
        padding-top: 0px;
    }
    
    .container-wide {
        padding: 0 20px;
    }
    
    .brand-intro {
        padding: 60px 0;
    }
    
    .brand-intro-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .brand-intro-text p {
    }
    
    .story-section {
        padding: 80px 0;
    }
    
    .story-content {
        gap: 30px;
    }
    
    .story-header {
        gap: 10px;
    }
    
    .story-number {
        font-size: 20px;
    }
    
    .story-header h3 {
        font-size: 20px;
        white-space: normal;
    }
    
    .story-description p {
    }
    
    .product-banner {
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
}

/* Small screens */
@media (max-width: 576px) {
    .brand-intro {
        padding: 40px 0;
    }
	.story-text {
		padding: 2rem 3rem;
    }
    .story-description {
    width: 100%;
}
    .brand-intro-title {
    }
    
    .story-section {
        padding: 60px 0;
    }
    
    .story-header h3 {
        font-size: 22px;
    }
    
    .story-number {
        font-size: 14px;
    }
    
    .product-banner {
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
}


/* =================================================================
   ACCESSIBILITY ENHANCEMENTS
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
    .product-banner {
        transition: none;
    }
    
    .product-banner:hover {
        transform: none;
    }
    
    .banner-overlay {
        transition: none;
    }
    
    .story-section:hover .story-image img {
        transform: none;
        transition: none;
    }
    
    .story-number:hover {
        transform: none;
        transition: none;
    }
}

/* Focus styles for better accessibility */
.product-banner:focus {
    outline: 2px solid #d6c677;
    outline-offset: 2px;
}

.view-more-btn:focus {
    outline: 2px solid #d6c677;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .story-number {
        color: #b8a500;
    }
    
    .banner-overlay {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    }
}

/* =================================================================
   PRINT STYLES
   ================================================================= */
@media print {
    .brandstory-article {
        padding-top: 0;
    }
    
    .story-section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
    
    .story-content,
    .story-section.reverse .story-content {
        flex-direction: column;
        gap: 20pt;
    }
    
    .product-banner {
        display: none;
    }
    
    .brand-intro-title {
    }
    
    .story-header h3 {
        font-size: 14pt;
    }
    
    .story-description p,
    .brand-intro-text p {
    }
}


/* 前後のコンテンツ用のスタイル */
.content-before, .content-after {
    height: 80vh; /* スクロール距離を確保 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
}
.content-before {
    background-color: #fafafa;
}
.content-after {
    background-color: #f0f8ff; /* 色を変えて区別しやすくする */
}
.arrow {
    margin-top: 2rem;
    font-size: 3rem;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}
.banner-content .view-more-btn {
  background: #D6C677;
  color: #3f3d3c;
	transition : all 0.5s ease 0s;
	text-decoration: none;
}
.banner-content .view-more-btn:hover {
  opacity: .9;
}

/* --- パララックスセクション --- */

.dummy-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #f0f0f0;
    color: #555;
}

.story-container {
    /* スマホでは特別なスタイルは不要 */
}

.story-section {
    padding: 20px 0; /* セクション間の余白 */
}

.story-image {
    margin: 0;
    width: 100%;
    height: 50vh; /* スマホでの画像の高さ */
	overflow: hidden;
}

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

.story-text-wrapper {
    padding: 2rem 0;
}


.text-content + .text-content {
    margin-top: 1.5em;
}


/* ======================================================= */
/* ===== PC用スタイル（スクロールテリングを有効化） ===== */
/* ======================================================= */
@media (min-width: 769px) {
    /* スクロール領域を確保 */
    .story-container {
        position: relative;
        height: 900vh; /* 全テキスト数(9) x 100vh */
		margin-bottom: 150px;
    }

    /* 各セクションを重ねて画面に固定し、スライドインの準備 */
    .story-section {
        position: sticky;
        top: 0;
        height: 100vh;
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        clip-path: inset(100% 0 0 0); /* 初期状態は非表示 */
        transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: clip-path;
    }
    
    /* 最初のセクションは最初から表示 */
    .story-section:first-child {
        clip-path: inset(0 0 0 0);
        z-index: 1;
    }

    /* JSでこのクラスを付けてスライドインさせる */
    .story-section.is-revealed {
        clip-path: inset(0 0 0 0);
    }

    /* 左右分割レイアウト */
    .story-image {
        width: 50%;
        height: 100%;
    }
    .story-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transform: scale(1); /* ★★★ この行を追加してズームを防止 ★★★ */
    }
    .story-text-wrapper {
        width: 50%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 25vh 0px 0;
        box-sizing: border-box;
		position: relative;
    }

    /* テキストの表示制御 */
    .story-text-wrapper .text-content {
        position: absolute;
        width: 100%;
        max-width: 630px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.6s, visibility 0.6s;
		left: 0;
		padding: 0 30px 0 90px;
		box-sizing: border-box;
    }
    /* JSでこのクラスを付けて表示させる */
    .story-text-wrapper .text-content.is-active {
        opacity: 1;
        visibility: visible;
    }

}
/* Product Banner Section */
.product-banner-section {
    padding: 0;
}
.product-banner-section a {
    display: block;
}

.product-banner {
    position: relative;
  background-color: #3f3d3c;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}



.banner-background {
    width: 50%;
}

.banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 63.64% 54.26%;
    background-size: 100.99% 244.09%;
}



.banner-content {
	width: 100%;
    max-width: 1400px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	padding: 0 30px;
	box-sizing: border-box;
}
.banner-content-text{
	width: 50%;
	display: flex;
	flex-direction: column;
	gap: 30px;
	color: white;
}
.banner-more{
	display: flex;
	justify-content: flex-start;
}
.banner-content h2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 40px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
}

.banner-content .view-more-btn {
    background-color: transparent;
    color: #fff;
    transition : all 0.5s ease 0s;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,1.00);
}
.banner-content .view-more-btn:hover {
  opacity: .9;
  color: #fff;
}
@media (max-width: 768px) {

    
    .product-banner {
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content .view-more-btn {
        font-size: 14px;
        gap: 15px;
    }
	.banner-content {
	position: relative;
	top: 0%;
	left: 0%;
		transform: translate(0%, 0%);
}
	.banner-content-text {
		gap: 10px;
		text-align: center;
		width: 100%;
		padding-top: 30px;
}
	.product-banner {
   flex-direction: column;
		gap: 30px;
}
	.banner-background {
    width: 80%;
    margin-bottom: 2rem;
}
	.banner-more{
	justify-content: center;
}
}

/* スマホ向けのメディアクエリ */
        @media (max-width: 767px) {
            /* アニメーションの初期状態（下から少し移動して透明） */
            .story-image img {
                transform: translateY(20px);
                transition: transform 0.4s ease-out;
            }

            /* アニメーション実行後の状態（元の位置に戻って不透明） */
            .story-image.is-visible img {
                transform: translateY(0);
            }
        }