@charset "utf-8";@charset "UTF-8";

/* ==========================================
   1. 不要なパーツの非表示
   ========================================== */
#header, .keyword-box, .crumbsList, .footer, 
#header .header__nav, #header .header__inner, #header .header__nav--bottom {
    display: none !important;
}

/* ==========================================
   2. スプラッシュ（ロゴサイズはここで調整）
   ========================================== */
#loading-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #db643a;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeout 2.0s forwards;
    pointer-events: none;
}

/* --- PC版ロゴの大きさ --- */
.loader-logo {
    width: 500px; /* PCで小さければここを 600px などに上げてください */
    max-width: 90%;
    animation: zoomIn 1.2s ease-out;
}

.loader-logo img {
    width: 100% !important;
    height: auto !important;
}

@keyframes fadeout {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}
@keyframes zoomIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ==========================================
   3. メインバナー
   ========================================== */
.responsive-banner {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}
.responsive-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   4. アイテムグリッド & ホバー
   ========================================== */
.snapitem-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: #000;
    border: 1px solid #000;
    max-width: 1200px; 
    width: 94%;
    margin: 50px auto; 
}

.snapitem-item {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 2 / 3;
}

.snapitem-item img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

/* ホバー時の黒背景（クレジットがある時だけ動く設定） */
.snapitem-item::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: 0.3s ease;
    z-index: 2;
}
/* クレジット（snapitem-info）があるパネルだけホバーを有効にする */
.snapitem-item:has(.snapitem-info):hover::after { opacity: 1; }
.snapitem-item:has(.snapitem-info):hover img { transform: scale(1.1); }

.snapitem-info {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    z-index: 3;
    opacity: 0;
    transition: 0.3s ease;
    width: 100%;
    padding: 5px 0;
}

.snapitem-item:hover .snapitem-info { opacity: 1; }

.item-name, .item-price, .s-name, .s-price, .buy-btn, .s-buy {
    color: #fff !important;
    font-size: 1.1rem;
    white-space: nowrap;
    font-family: system-ui;
    font-weight: bold;
}
.buy-btn, .s-buy { text-decoration: underline !important; text-underline-offset: 4px; }

/* ==========================================
   5. メインスライダー
   ========================================== */
.snapitem-main-slider {
    grid-column: span 2; grid-row: span 2;
    position: relative; aspect-ratio: 2 / 3; overflow: hidden;
}
.snapitem-main-slider::after { display: none !important; }
.snapitem-slider-inner { position: relative; width: 100%; height: 100%; }
.slide-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; animation: snapitem-overlap 6s infinite; }
.slide-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.slider-credit {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    z-index: 10; display: flex; gap: 15px; align-items: baseline;
}
@keyframes snapitem-overlap { 0%, 100% { opacity: 0; } 15%, 65% { opacity: 1; } }
.slide-item:nth-child(1) { animation-delay: 0s; }
.slide-item:nth-child(2) { animation-delay: 3s; }

/* ==========================================
   6. スマホ用設定（ここを調整してください）
   ========================================== */
@media (max-width: 768px) {
    
    /* ★スマホのスプラッシュロゴサイズ調整枠 */
    .loader-logo {
        width: 280px !important; 
    }

    .responsive-banner {
        width: 95% !important; /* バナーの横幅 */
        margin: 20px auto !important;
    }

    .snapitem-container {
        grid-template-columns: repeat(2, 1fr);
        width: 94%; 
        margin: 20px auto;
    }
    
    .item-name, .item-price, .buy-btn {
        font-size: 0.9rem;
    }
}

/* 左揃え（420px以上のスマホ） */
@media (min-width: 420px) and (max-width: 768px) {
    .snapitem-info { justify-content: flex-start; padding-left: 10px; }
}

/* 極小画面（350px以下） */
@media (max-width: 350px) {
    .item-name, .item-price, .buy-btn { font-size: 0.7rem !important; }
}

.site-copyright-container { width: 100%; padding: 40px 20px; text-align: center; }
.site-copyright-text { font-size: 1rem; color: #888888; }

/* ==========================================
   7. フッターテキストリンク
   ========================================== */
.footer-links-container {
    max-width: 1200px;
    width: 94%;
    margin: 10px auto; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-left: 10px;
}
.footer-text-link {
    color: #000 !important;
    text-decoration: none !important;
    font-size: 1.8rem;
    font-family: "acumin-variable", sans-serif;
    transition: opacity 0.3s;
}
.footer-text-link:hover { opacity: 0.5; }


/* スマホ用調整 */
@media (max-width: 768px) {
.footer-links-container {
        width: 95%;
        margin: 20px auto;
        gap: 10px;
    }
    
    .footer-text-link {
        font-size: 1.6rem; /* スマホでは少し小さく */
    }

    .footer-text-link span {
        margin-left: 15px;
    }
}