@charset "utf-8";
/* CSS Document */

/* ----------------------------------
         * 全体・共通スタイル
         * ---------------------------------- */


        .lead-text {
            text-align: center;
            margin-bottom: 40px;
            opacity: 0.9;
            font-size: 0.9rem;
        }

        /*  12個のアイテムを並べるグリッド（PC: 4列、スマホ: 2列） */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 3fr);
    gap: 15px;
    perspective: 1200px;
	width: 100%;
	max-width:1000px;
    margin: 0 auto;
}

        /* アイテムのコンテナ */
.window-container {
    position: relative;
    width: 100%;
	max-width:230px;
    aspect-ratio: 3 / 4;
    cursor: pointer;
}
        .window-container img {
            width: 100%;
			height: auto;
        }

 .window-door {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border: 2px solid #d4af37;
    border-radius: 8px;
    /*display: flex;*/
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    transform-origin: left center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
    backface-visibility: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.window-door::after {
    content: '✨';
    position: absolute;
    right: 8px;
    top: 50%;
   transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.7;
}

.product-visual {
    font-size: 3rem;
  margin-bottom: 5px;
    width: 96%;
    display:block;
    align-items: center;
    justify-content: center;
	padding-top:10px;
}

.product-name {
    color: #333333;
    font-size: 0.85rem;
    font-weight: 400;
    margin: 0;
    text-align: left;
	line-height: 1.4;
	font-family: 'Noto Serif JP','Noto Serif CJK', serif;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
   overflow: hidden;
}
.product-price{
    color: #333333;
    font-size: 0.85rem;
    font-weight: 400;
    text-align:right;
	line-height:0.4;
	padding-bottom:20px;
	 font-family: 'Noto Serif JP','Noto Serif CJK', serif;	
}
.window-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fcf8f2;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.fit-image-placeholder {
    width: 100%;
    height: 75%;
    background-color: #eaddca;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #6b533a;
    font-weight: bold;
    overflow: hidden;
}

.detail-btn {
    display: inline-block;
    width: 60%;
    padding: 15px 0;
    background-color: #b22222;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s;
}

.detail-btn:hover {
    background-color: #8f1b1b;
}



        /* 🚪 クリックされて「open」クラスがついた時の動き（左に開く） */
.window-container.open .window-door {
    transform: rotateY(-140deg);
}

 /* 閉じるボタン */
  .modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
  }
  .modal-close:hover {
    color: #000;
  }
/* モーダル（クリック時に開く画面） */
  .modal-overlay {
    display: none; /* 初期状態は非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .modal-overlay.active {
    display: flex;
    opacity: 1;
  }

  .modal-content {
    background: #fff;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }

  /* 閉じるボタン */
  .modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
  }
  .modal-close:hover {
    color: #000;
  }

  /* 着用画像 */
  .modal-img {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 6px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
  }



        .cz_gallery-container {
            display: grid;
            grid-template-columns: 1fr 2fr; /* 左と右を 1:3 の比率で分割 */
            gap: 20px;  
			width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            padding:10px;
			background: #131a32;
        }
        .cz_gallery-container2 {
            display: grid;
            grid-template-columns: 1fr 1fr; 
            gap: 20px;  
			width: 100%;
			max-width:1100px;
            margin: 0 auto;
            padding:10px;
			background: #131a32;
        }
       .cz_text {
            width: 33%;
            height: auto;
		   	padding:10px;
        }
       .cz_image_area{
            width: 66%;
		   height:auto;
		  max-width:600px;
			padding:50px 30px;
        }
       .cz_image_area img{
            width: 100%;
        }

@media screen and  (max-width: 959px) {
.pc{		
	}
	            .grid-container {
				display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 25px;
				margin: 0 auto;
				width:100%;
				padding:1%;
            }
	

}
        /* 📱 スマホ対応（2列配置） */
        @media (max-width: 768px) {
            .grid-container {
				display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
				margin: 0 auto;
				width:100%;
				padding:2%;
            }
            h1 { font-size: 1.6rem;
			}
            .product-visual {
				font-size: 0.75rem;
			}
		.cz_image_area{
           width:100%;
		   margin: 0 auto;
		   padding:10px;
        }
		 .cz_image_area img{
            width: 100%;
        }
		

          .product-name {
				font-size: 0.75rem; 
}
          .fit-image-placeholder { 
				font-size: 0.75rem; 
			}
       }



 /* 全体のコンテナ：左右の2カラムに分割 */
        .gallery-container {
            display: grid;
            grid-template-columns: 1fr 1fr; /* 左と右を 1:1 の比率で分割 */
            gap: 20px;                   /* 画像間のすき間 */
            margin: 0 auto;
            padding:10px 0 50px;
			background: #6d181d;
			width: 100%;
			max-width:1100px;
        }

        /* 画像の共通設定：枠からはみ出さないようにする */
        .gallery-container img {
            width: 100%;
            height: auto;
            object-fit: cover; /* 縦横比を維持したまま領域を埋める */

        }

        /* 左側の大きい画像エリア */
        .large-image {
            width: 100%;
            padding:10px;
            height: auto;
        }
        /* 右側の小さい画像9枚のエエリア：3×3のグリッド */
        .small-images-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 横に3分割 */
            grid-template-rows: repeat(3, 1fr);    /* 縦に3分割 */
            gap: 10px;
			padding:10px;
		    width: 100%;
   
        }
        .cz-images-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr); /* 横に7分割 */
            grid-template-rows: repeat(2, 1fr);   /* 縦に2分割 */
            gap: 10px;
			padding:10px;
			left:0;
        }
        .cz_gallery-container {
            display: grid;
           grid-template-columns: repeat(2, 1fr); /* 横に2分割 */
            gap: 20px;  
			width: 100%;
            margin: 0 auto;
			background: #131a32;
        }
       .cz_text {
            width:34%;
		    max-width: 400px;
            height: auto;
		   	padding:50px;
        }
       .cz_image_area{
           width:90%;
		   height:auto;
		   max-width: 700px;
		   padding:10px;
        }
       .cz_image_area img{
            width: 100%;
        }

.cz_slider-container {
  width: 100%;
  max-width: 1000px;
overflow: hidden;
	margin: 0 auto;
	padding:0 5px 30px 5px;
}
.cz_slider-track {
  display: flex;
  width: max-content; /* 中身の幅に合わせて横一列に伸ばす */
  animation: scroll-left 30s linear infinite; /* 30秒かけて1周 */
}
.cz_slider-track:hover {
  animation-play-state: paused;
}
.cz_slide {
 /* 画面幅の1/7のサイズにする（1画面に7枚表示） */
  width: calc(100vw / 5);
  max-width:200px;
  padding: 5px; /* 画像同士の隙間はpaddingで作ると計算がズレません */
  box-sizing: border-box;
  flex-shrink: 0;
  color:#ffffff;
  font-size:12px;
  display: inline-block;
  overflow-wrap: anywhere;
  word-break: normal;
}


/* 画像の設定 */
.cz_slide img {
  width: 100%;
  max-width:200px;
  height: auto;
  display: block;
  padding:5px;
}


.cz-name {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.4;
font-family: 'Noto Serif JP','Noto Serif CJK', serif;
}
.cz-price {
  font-size: 15px;
  font-weight: bold;
  color: #ffffff; 
  margin: 0;
   text-align:right;
font-family: 'Noto Serif JP','Noto Serif CJK', serif;
}

/* 全体の半分（13枚分）移動したら0%に戻るアニメーション */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}




        /* 画面幅が狭いとき（スマホなど）のレスポンシブ対応 */
        @media (max-width: 768px) {
            .gallery-container {
                grid-template-columns: 1fr; /* 縦1列に並べる */
				margin: 0 auto;
				gap: 10px;  
			width: 100%;
            }
			 .cz_gallery-container {
            display: grid;
            grid-template-columns: 1fr;  /* 縦1列に並べる */
            gap: 12px;  
			width: 100%;
            margin: 0 auto;
			background: #131a32;
        }
       .cz_text {
            width:100%;
            height: auto;
		   	padding:20px;
		   	 margin: 0 auto;
        }
       .cz_image_area{
           width:100%;
		   height:auto;
		   margin: 0 auto;
        }
       .cz_image_area img{
            width: 100%;
		   margin: 0 auto;
        }
.cz_slide {
  width: calc(100vw / 7);
  width:100%;
  padding: 5px;
  box-sizing: border-box;
  flex-shrink: 0;
  color:#ffffff;
  font-size:12px;
  display: inline-block;
  overflow-wrap: anywhere;
  word-break: normal;
}
        }
