@charset "UTF-8";

/**
 * News Modal - SP Version
 * ニュースモーダルウィンドウ（SP）
 * 
 * @version 1.0.0
 * @date 2025-12-11
 */

@media (max-width: 767px) {
.news-modal.js-modal_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.news-modal.js-modalitem_open {
    display: block;
}

.news-modal .js-modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    z-index: 0;
}

/* モーダルコンテンツ */
.news-modal .js-modal_cont {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-modal.js-modalitem_open .js-modal_cont {
    transform: translateX(100%);
}

.news-modal.js-modal_animating .js-modal_cont {
    transform: translateX(0);
}

.news-modal.js-modal_closing .js-modal_cont {
    transform: translateX(100%);
}

.news-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.news-modal__close svg {
    width: 18px;
    height: 18px;
    stroke: #333;
}

.news-modal__content {
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.news-modal__hero {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-modal__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal__hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
}

.news-modal__list {
    padding: 30px 20px 40px;
}

.news-modal__item {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-modal__item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.news-modal__item:active {
    background: rgba(212, 165, 116, 0.05);
}

.news-modal__date {
    display: block;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 8px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.02em;
}

.news-modal__title {
    display: block;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.7;
}

.news-modal__item:active .news-modal__title {
    color: #d4a574;
}

.news-modal__empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 13px;
}

}

