@charset "utf-8";

/* --- 1. Global Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* 修正点：htmlとbodyに横揺れ防止をかける */
html, body {
    overflow-x: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch; /* スムーズなスクロールを保証 */
}
html { scroll-behavior: smooth; }
body {
    background-color: #000;
    color: #fff;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }

/* --- 2. Main Layout --- */
.sp-only{
	display: none;
}
.main-wrapper {
    position: relative;
    background-image: url("../img/bg.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
    padding-bottom: 0;
   /* overflow-x: hidden;*/
}

/* 画面の両サイドに見切れる表示・時計回りにゆっくり回転 (維持) */
.side-deco {
    position: absolute;
    width: 400px;
    height: 400px;
    background-image: url("../img/reborn_20th_parts4.png");
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
    animation: rotateClockwise 60s linear infinite;
}
.side-deco--left {
    left: 2%;
    top: 50%;
    transform: translate(-50%, -50%);
    --tw-x: -50%;
}
.side-deco--right {
    right: 2%;
    top: 50%;
    transform: translate(50%, -50%);
    --tw-x: 50%;
}

@keyframes rotateClockwise {
    from { transform: translate(var(--tw-x, 0), -50%) rotate(0deg); }
    to { transform: translate(var(--tw-x, 0), -50%) rotate(360deg); }
}

/* --- 3. Header & Nav --- */
.header { background: #fff; padding: 15px 0; text-align: center; }
.header__logo { height: 50px; }

.g-nav { padding: 20px 0; background: #000; }
.g-nav__list { display: flex; justify-content: center; align-items: center; list-style: none; }
.g-nav__link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0 40px;
    transition: color 0.3s;
}
.g-nav__link:hover { color: #ff8c00; }

.nav-border {
    border-left: 1px solid #444;
    border-right: 1px solid #444;
}

.header__obi{
	background: #e57b47;
	color: #fff;
	font-weight: bold;
	padding: 5px;
	text-align: center;
	font-size: 16px;
}

/* --- 4. Main Visual --- */
.main-visual { 
    width: 100%; 
    margin-bottom: -10px; 
    background: transparent; 
    overflow: hidden; 
}
.main-visual__img {
    opacity: 0;
    filter: blur(30px);
    transform: scale(1.15);
    animation: focusInMV 2s cubic-bezier(0.2, 0, 0.2, 1) forwards;
    width: 100%;
}
@keyframes focusInMV {
    0% { opacity: 0; filter: blur(30px); transform: scale(1.15); }
    100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

/* --- 5. 無限ループスライダー --- */
.loop-slider { width: 100%; overflow: hidden; padding: 0px 0 80px; }
.loop-slider__canvas { display: flex; width: max-content; }
.loop-slider__list {
    display: flex; list-style: none;
    animation: loop-animation 80s linear infinite reverse;
}
.loop-slider__list li { width: 1000px; margin: 0 20px; }
@keyframes loop-animation { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* --- 6. 共通セクションボックス --- */
.section-full-width {
    position: relative;
    width: 100%;
}
.section-container { 
    max-width: 1000px; 
    margin: 0 auto 50px; 
    padding: 0 20px; 
    position: relative;
    z-index: 2;
}

.section-box {
    background-color: #f6f6f6;
    position: relative;
    overflow: hidden;
    color: #000;
    border-top: 5px solid #000;
    border-bottom: 5px solid #000;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    padding: 60px 80px;
    margin-bottom: 30px;
}

.section-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/グランジ４.jpg");
    background-size: cover;
    background-position: center;
    filter: brightness(0.98) grayscale(100%);
    opacity: 0.15;
    z-index: 1;
}

/* 線の接着調整 (維持) */
.line {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    opacity: 0.2;
    --gap: 25px;
    --line-h: 15px;
}

.line--t, .line--b {
    left: var(--gap);
    right: var(--gap);
    height: var(--line-h);
    background-image: url("../img/reborn_20th_parts1.png");
    background-repeat: repeat-x;
    background-size: contain;
    border-top: 2px solid #a38b78;
}
.line--t { top: var(--gap); }
.line--b { bottom: var(--gap); transform: scaleY(-1); }

.line--l, .line--r {
    top: var(--gap);
    bottom: var(--gap);
    width: var(--line-h);
}
.line--l { left: var(--gap); border-left: 2px solid #a38b78;}
.line--r { right: var(--gap); border-right: 2px solid #a38b78;}

.line-inner {
    width: 100%;
    height: 100%;
    background-repeat: repeat-y;
    background-size: var(--line-h) auto;
}
.line--l .line-inner { background-image: url("../img/reborn_20th_parts2.png"); }
.line--r .line-inner { background-image: url("../img/reborn_20th_parts3.png"); }

.section-box__title { 
    text-align: center; 
    padding-bottom: 10px; 
    margin-bottom: 30px; 
    position: relative;
    z-index: 10;
}
.section-box__title img { max-width: 500px;}

/* --- 7. NEWSデザイン --- */
.news-scroll-area { max-height: 400px; overflow-y: auto; position: relative; z-index: 10; }
.news-list { list-style: none; }
.news-list__item { border-bottom: 1px solid #bbb; }
.news-list__link {
    display: flex;
    flex-direction: column;
    padding: 10px 10px;
    text-decoration: none;
    color: #333;
}
.news-list__link:hover { background: rgba(255, 255, 255, 0.4); }
.news-list__date { font-family: 'Impact', sans-serif; font-size: 1.1rem;color: #000; margin-bottom: 5px; letter-spacing: 1px;}
.news-list__text { font-size: 1rem; font-weight: bold; line-height: 1.4; }

/* --- 8. GOODSデザイン --- */
.goods-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    position: relative;
    z-index: 10;
}
.goods-grid__item {
    display: flex;
}
.product-card { 
    background: #fff; 
    color: #000;      
    padding: 0 0 30px; 
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: none; 
    border: 1px solid #666;
    position: relative; /* ラベル配置の基準点 */
}

.product-card__name { 
    background: #252525; 
    color: #fff;      
    font-size: 0.8rem; 
    font-weight: bold; 
    margin-bottom: 0; 
    padding: 12px 5px; 
    text-align: center;
    line-height: 1.4;
    height: 6em; /* 修正：全ての高さを統一 */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; 
}

/* 追加：ランダムラベルのスタイル */
.random-label {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: #ff8c00;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    font-weight: bold;
    z-index: 15;
}

.product-card__image-box,
.product-card__price {
    margin-left: 10px;
    margin-right: 10px;
}

.product-card__image-box { 
    background: #000; 
    width: calc(100% - 20px); 
    aspect-ratio: 1/1; 
    margin-top: 10px; 
    margin-bottom: 15px; 
    border: none;
    overflow: hidden; 
}
.product-card__image-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
}

.product-card__info {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-card__price { 
    font-family: 'Impact', sans-serif; 
    font-size: 1rem; 
    color: #000; 
    display: inline-block;
    padding: 0 4px;
    width: fit-content;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto; 
    margin-right: auto;
	border-bottom: 2px solid #000;
}

.product-card__price span { 
    font-size: 0.7rem; 
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: normal;
    margin-left: 2px;
    color: #333;
}

.comingsoon{
	font-family:  'Impact', sans-serif;
	text-align: center;
	margin-top: 20px;
	font-size: 40px;
	line-height: 1.2;
}

/* --- 9. GOODSINFOデザイン (維持) --- */
.section-info-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 40px;
    background-color: #252525;

    padding-top: 100px; 
    margin-top: 30px;  
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
}
.section-info-title {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    margin-left: calc(50% - 50vw);
    width: 100vw;
}
.section-info-title::before,
.section-info-title::after {
    content: "";
    flex: 1;
    height: 10px;
}
.section-info-title img { max-width: 50px; padding: 0 40px; }

.article-detail { 
    font-size: 0.9rem; 
    line-height: 1.8; 
    color: #000; 
    font-weight: 500; 
    position: relative; 
    z-index: 10;
    text-align: left; 
}

.info-header {
    margin-bottom: 15px; 
}

.info-date {
    background-color: #e57b47; 
    color: #fff;
    padding: 2px 12px;
    font-family: 'Impact', sans-serif;
    font-size: 1.1rem;
    display: table;
    margin-bottom: 10px; 
    margin-top: 0px;
    letter-spacing: 1px;
}

.info-title {
    font-size: 1.2rem;
    font-weight: bold;
    padding-bottom: 5px; 
    border-bottom: 1px solid #000;
    color: #000;
    line-height: 1.4;
    margin-bottom: 0;
}

.bordernone{
	border-bottom: none;
	text-align: center;
	margin-bottom: 10px;
}
.titleline{
	max-width: 500px;
	margin: 0 auto 20px;
}

.info-body {
    margin-top: 15px;
}

.copy{
    text-align: center;
    background: #252525;
    font-size: 14px;
}

.img1{
	margin: 20px auto;
	width: 80%;
}



/* --- 10. Responsive --- */
@media (max-width: 896px) {
    .goods-grid { grid-template-columns: repeat(2, 1fr);column-gap: 10px; }
    .g-nav__link { padding: 0 15px; font-size: 0.8rem; }
    .section-box { padding: 40px 30px; }
    .line { --gap: 10px; --line-h: 15px; } 
    .section-info-title img { max-height: 60px; padding: 0 20px; }
    .side-deco { width: 250px; height: 250px; }
	.section-box__title img{
	max-height: 50px;	
	}
}

@media (max-width: 480px) {
	.header__obi{
		font-size: 12px;
	}
	.g-nav{
		padding: 12px 0;
	}
    .g-nav__link { padding: 0 15px;}
	
	/* 1. メインビジュアルのアニメーションを早くする */
    .main-visual__img {
        animation-duration: 0.8s; /* 2sから0.8sに短縮 */
    }

    /* 2. 改行コードの修正 */
    .sp-only {
        display: inline !important; /* blockではなくinlineにすることで<br>として機能させます */
    }
    .section-box { padding: 30px 20px; }
	.loop-slider{
		padding: 0 0 30px;
	}
	.loop-slider__list li{
		width: 600px;
	}
	.side-deco--right{
		top: 40%;
	}
	.side-deco--left{
		left: -5%;
			top:4%;
	}
	
    .line { --gap: 5px; --line-h: 10px; }
	.titleline{
		width: 90%;
	}
	.bordernone{
	margin-bottom: 0px;
}
    .section-container { margin-bottom: 30px; }
	.section-box__title{
		margin-bottom: 10px;
	}
	.section-box__title img{
		width: 90%;
		max-width: 250px;
	}
	.news-list__text , .news-list__date , .article-detail ,.product-card__price{
		font-size: 0.8rem;
	}
    .product-card { padding: 0 0 30px; }
    .product-card__image-box { 
        width: calc(100% - 10px); 
        margin-left: 5px;
        margin-right: 5px;
    }
	.product-card__name{
		font-size: 0.7rem;
	}
    .product-card__price { font-size: 1.1rem; line-height: 1.2;}
    .side-deco { width: 300px; height: 300px; opacity: 0.1; }
    .info-title { font-size: 1rem; }
	.info-date{
		font-size: 0.7rem;
	}

	.line--l, .line--r {
    top: var(--gap);
    bottom: var(--gap);
    width: var(--line-h);
    /* ↓ これを追加 ↓ */
    box-sizing: content-box; 
}
	.main-wrapper {
        /* background-attachment: fixed はiOSでスクロール不可の最大原因 */
        background-attachment: scroll !important; /* スマホでの表示の不具合を防ぐため固定を解除 */
        background-size: 500px auto;/* 画像自体の表示サイズを指定（数値を小さくすると柄が細かくなります） */
        background-repeat: repeat; /* 縦に長く伸びても背景がループするように設定 */
        /* 明示的にスクロールを許可 */
        overflow: visible;
	}
	.img1{
		width: 100%;
	}
}
@media (max-width: 400px) {
.product-card__name{
		font-size: 0.56rem;
	}
}