﻿/*---------
在庫状況リスト
----------*/


/*----共通ブロック ----*/


/*----コンテンツブロック ----*/

.news_list {
    display: flex;
    flex-direction: column;
    gap: calc(30px / 2);
    margin-bottom: calc(60px / 2);
}

.news_item {
    margin: 0 15px;
    padding-bottom: calc(30px / 2);
    border-bottom: 1px solid #333333;
}

.news_item:first-child {
    padding-top: calc(30px / 2);
    border-top: 1px solid #333333;
}

.news_detail {
    display: flex;
    flex-direction: column;
    gap: calc(10px / 2);
    position: relative;
    color: var(--text-color);
}

.date_text {
    font-size: calc(28px / 2);
    font-weight: 400;
}

.news_title {
    font-size: calc(32px / 2);
    font-weight: 500;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    padding-right: 30px;
}

.news_detail::after {
    content: "";
    position: absolute;
    background: url("../images/availability/news_title_arrow.png") center / cover no-repeat;
    width: calc(30px / 2);
    height: calc(30px / 2);
    right: 0;
    bottom: 0;
}

@media (min-width:768px) {

    /*----共通ブロック ----*/

    .section_content--availability .title_block {
        margin-bottom: 40px;
    }

    .section_content--availability .content_box {
        max-width: 1000px;
        margin: 0 auto;
    }

    /*----コンテンツブロック ----*/

    .news_list {
        gap: 30px;
        margin-bottom: 100px;
    }

    .news_item {
        margin: 0;
        padding-bottom: 30px;
    }

    .news_item:first-child {
        padding-top: 30px;
    }

    .news_detail {
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
    }

    .news_detail::after {
        width: 24px;
        height: 24px;
        transition: transform 0.3s ease;
        top: 50%;
        right: 30px;
        bottom: auto;
        transform: translateY(-50%);
    }

    .date_text {
        font-size: 16px;
    }

    .news_title {
        font-size: 24px;
        padding-right: 100px;
    }


    /* PCホバー時に動く */
    .news_detail:hover::after {
        transform: translateY(-50%) translateX(10px);
    }
}



/*---------
在庫状況の詳細
----------*/

/*----共通ブロック ----*/


.section_content--availability_detail .news_title {
    padding-right: 0;
    display: block;
    overflow: visible;
    -webkit-line-clamp: initial;
}

.section_content--availability_detail .date_text {
    font-size: calc(28px / 2);
}

/*----コンテンツブロック ----*/

.news_detail_box {
    margin-bottom: calc(80px / 2);
}

.news_detail_title {
    padding-bottom: calc(30px / 2);
    border-bottom: 1px solid #333333;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: calc(50px / 2);
}

.news_detail_body {
    padding: 0 15px;
}

.news_detail_img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
    overflow: hidden;
}

.news_detail_img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news_detail_text {
    font-size: calc(32px / 2);
    line-height: calc(56 / 32);
    word-break: break-all;
}

@media (min-width:768px) {



    /*----共通ブロック ----*/

    .section_content--availability_detail .news_title {
        font-size: 30px;
    }

    .section_content--availability_detail .date_text {
        font-size: 16px;
        letter-spacing: 0.1em;
    }

    /*----コンテンツブロック ----*/

    .news_detail_box {
        max-width: 1000px;
        margin: 0 auto 100px;
    }

    .news_detail_title {
        padding-bottom: 25px;
        gap: 20px;
        margin-bottom: 60px;
    }

    .news_detail_body {
        padding: 0 105px;
    }

    .news_detail_img {
        max-width: 788px;
        margin-bottom: 60px;
    }

    .news_detail_text {
        font-size: 16px;
        line-height: calc(32 / 16);
        letter-spacing: 0.04em;
    }

}