@charset "UTF-8";

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

/* モーダル背景 */
.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: 90%;
    max-width: 800px;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    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: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    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:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

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

/* モーダルコンテンツエリア */
.news-modal__content {
    max-height: 85vh;
    overflow-y: auto;
}

/* バナー画像 */
.news-modal__hero {
    position: relative;
    width: 100%;
    height: 300px;
    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: 48px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
}

/* ニュースリスト */
.news-modal__list {
    padding: 40px 60px 60px;
}

.news-modal__item {
    display: flex;
    align-items: baseline;
    padding: 18px 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:hover {
    background: rgba(212, 165, 116, 0.05);
}

.news-modal__date {
    font-size: 14px;
    color: #999;
    min-width: 110px;
    margin-right: 30px;
    flex-shrink: 0;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.02em;
}

.news-modal__title {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    flex: 1;
}

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

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

