@charset "utf-8";

/* 新着情報セクション */
.section__news {
    padding-block: 120px;
}

.section__news .section__inner {
    margin-inline: auto;
    width: 1200px;
}

.section__news .sectionTtl {
    display: grid;
    place-items: center;
}

.section__news .news-list {
    margin-top: 50px;
    display: grid;
    gap: 20px;
}

.section__news .news-item {
    border: 1px solid var(--col_gray);
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.section__news .news-item .date {
    font-family: var(--font_MavenPro);
    font-size: 1rem;
    font-weight: 600;
    color: var(--col_primary);
    flex-shrink: 0;
}

.section__news .news-item .title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.6;
}

.section__news .news-item .title a {
    color: var(--col_font);
    text-decoration: none;
    transition: color 0.3s ease;
}

.section__news .news-item .title a:hover {
    color: var(--col_primary);
}

.section__news .news-empty {
    margin-top: 50px;
    text-align: center;
    padding: 80px 20px;
}

.section__news .news-empty p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: #666;
}

.section__news .btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--col_primary);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background 0.3s ease;
}

.section__news .btn:hover {
    background: color-mix(in srgb, var(--col_primary) 80%, #000);
}

/* フッターサイトマップはshared-components.cssで統一定義済み - 重複削除 */

/* タブレット対応 */
@media (min-width: 768px) and (max-width: 1439px) {
    .section__news {
        padding-block: 8.33vw;
    }
    
    .section__news .section__inner {
        width: 83.33vw;
    }
    
    .section__news .news-list {
        margin-top: 3.47vw;
        gap: 1.39vw;
    }
    
    .section__news .news-item {
        padding: 2.08vw;
        gap: 2.08vw;
    }
    
    .section__news .news-item .date {
        font-size: 1.11vw;
    }
    
    .section__news .news-item .title {
        font-size: 1.25vw;
    }
    
    .section__news .news-empty {
        margin-top: 3.47vw;
        padding: 5.56vw 1.39vw;
    }
    
    .section__news .news-empty p {
        font-size: 1.25vw;
        margin-bottom: 2.08vw;
    }
    
    .section__news .btn {
        padding: 1.04vw 2.78vw;
        font-size: 1.11vw;
    }
    
    /* フッターサイトマップのレスポンシブはshared-components.cssで統一 */
}

/* 機器・設備画像サイズ調整 - 元デザインに完全対応 */
@media (min-width: 1440px), print {
    .section__facilities .section__inner .card {
        max-width: 100%;
    }
    
    .section__facilities .section__inner .card figure {
        width: 100%;
        height: auto;
    }
    
    .section__facilities .section__inner .card figure img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* Swiperスライド内のカードサイズ制限 */
    .section__facilities .section__inner .swiperWrap .swiper-slide {
        max-width: 400px;
        width: auto;
    }
    
    /* Swiperナビゲーション矢印の完全再現 */
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button {
        -webkit-appearance: none;
        appearance: none;
        background: var(--col_font);
        border: 0;
        cursor: pointer;
        height: 70px;
        position: relative;
        width: 70px;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button:before {
        background: url(../images/common/icon_arr.svg) center/contain no-repeat;
        content: "";
        height: 12px;
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        width: 12px;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button.prev:before {
        scale: -1;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button.next:before {
        scale: 1;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button.swiper-button-disabled {
        pointer-events: none;
        background: #b6b7b7;
    }
}

@media (min-width: 768px) and (max-width: 1439px) {
    .section__facilities .section__inner .card {
        max-width: 100%;
    }
    
    .section__facilities .section__inner .card figure {
        width: 100%;
        height: auto;
    }
    
    .section__facilities .section__inner .card figure img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* Swiperスライド内のカードサイズ制限 */
    .section__facilities .section__inner .swiperWrap .swiper-slide {
        max-width: 27.78vw;
        width: auto;
    }
    
    /* Swiperナビゲーション矢印の完全再現（タブレット） */
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button {
        -webkit-appearance: none;
        appearance: none;
        background: var(--col_font);
        border: 0;
        cursor: pointer;
        height: 4.86vw;
        position: relative;
        width: 4.86vw;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button:before {
        background: url(../images/common/icon_arr.svg) center/contain no-repeat;
        content: "";
        height: 0.83vw;
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        width: 0.83vw;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button.prev:before {
        scale: -1;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button.next:before {
        scale: 1;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button.swiper-button-disabled {
        pointer-events: none;
        background: #b6b7b7;
    }
}

/* スマートフォン対応 */
@media only screen and (max-width: 767px) {
    .section__news {
        padding-block: 15.63vw;
    }
    
    .section__news .section__inner {
        padding-inline: 5.21vw;
        width: 100%;
    }
    
    .section__news .news-list {
        margin-top: 7.81vw;
        gap: 3.91vw;
    }
    
    .section__news .news-item {
        border: 1px solid var(--col_gray);
        padding: 5.21vw;
        display: block;
    }
    
    .section__news .news-item .date {
        font-size: 3.39vw;
        margin-bottom: 2.6vw;
        display: block;
    }
    
    .section__news .news-item .title {
        font-size: 4.17vw;
    }
    
    .section__news .news-empty {
        margin-top: 7.81vw;
        padding: 13.02vw 5.21vw;
    }
    
    .section__news .news-empty p {
        font-size: 4.17vw;
        margin-bottom: 5.21vw;
    }
    
    .section__news .btn {
        padding: 3.91vw 7.81vw;
        font-size: 3.91vw;
    }
    
    /* フッターサイトマップのスマートフォン対応もshared-components.cssで統一 */
    
    .section__facilities .section__inner .card {
        max-width: 100%;
    }
    
    .section__facilities .section__inner .card figure {
        width: 100%;
        height: auto;
    }
    
    .section__facilities .section__inner .card figure img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* Swiperナビゲーション矢印の完全再現（スマートフォン） */
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button {
        -webkit-appearance: none;
        appearance: none;
        background: var(--col_font);
        border: 0;
        cursor: pointer;
        height: 18.23vw;
        position: relative;
        width: 18.23vw;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button:before {
        background: url(../images/common/icon_arr.svg) center/contain no-repeat;
        content: "";
        height: 3.13vw;
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        width: 3.13vw;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button.prev:before {
        scale: -1;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button.next:before {
        scale: 1;
    }
    
    .section__facilities .section__inner .swiperWrap .swiper-navigation-button.swiper-button-disabled {
        pointer-events: none;
        background: #b6b7b7;
    }
}