/* かんきつカタログページ用CSS */

/* スプラッシュ画面 */
#splash {
    /*fixedで全面に固定*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
}

#splash_text {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
}

#splash img {
    width: 300px;
    height: auto;
    object-fit: cover;
}

.progressbar-text {
    display: none;
}

#splash p {
    color: black;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
    margin-top: 60px;
}

.menu-sp__catalog label::after {
    right: 0;
}

/* モーダル関連のスタイル */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
}

.modal-container.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-body {
    background: white;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    padding: 20px;
}

.modal-content {
    text-align: center;
}

.modal-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    color: #333;
}

.modal-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 20px 0;
    color: #666;
}

.modal-send-name {
    font-size: 16px;
    margin: 20px 0;
    color: #333;
}

.modal-close-btn__sp {
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin-top: 20px;
}

.modal-close-btn__pc {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.message-scroll {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #999;
    font-size: 12px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 700px) {
    #splash_text {
        top: 20%;
    }

    #splash img {
        width: 80%;
    }

    .modal-body {
        height: 600px !important;
        margin-top: 50px;
        max-width: 95%;
        padding: 15px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-text {
        font-size: 14px;
    }
}

/* 無効化ボタンのスタイル */
.kankitsu-item__button--disabled {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.8;
}

.kankitsu-item__button--disabled:hover {
    background-color: #ccc !important;
    color: #666 !important;
}

/* 来シーズン注記のスタイル */
.kankitsu-item__next-season {
    width: 240px;
    margin-inline: auto;
    font-size: 12px;
    text-align: left;
    margin-top: 8px;
    line-height: 1.5;
    text-indent: -1em;
    padding-left: 1em;
}

/* フィルター用の非表示クラス */
.kankitsu-item.kankitsu-item--hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 商品カード内のハッシュタグをクリック可能にする */
.kankitsu-item__tag {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

/* ページ内リンクのスクロール位置を調整 */
.kankitsu-item {
    scroll-margin-top: 60px;
}
