@charset "UTF-8";

/* ----------------------------------------------------------------
    TOPページ用CSS
---------------------------------------------------------------- */

/* ================================================================
    ヒーローセクション
================================================================ */
.topMV {
    position: relative;
}

.topMV_inner {
    position: relative;
    width: 100%;
}

.topMV_img {
    display: block;
    width: 100%;
}

.topMV_img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    vertical-align: top;
}

.topMV_body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 16px;
}

.topMV_ttl {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 16px;
}

.topMV_lead {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: #ffffff;
}

/* ================================================================
    お知らせセクション
================================================================ */
.topNews {
    padding: 32px 10px 0;
}

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

.topNews_ttl {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 16px;
}

.topNews_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topNews_item {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d9d9d9;
}

.topNews_date {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #333333;
    flex-shrink: 0;
}

.topNews_txt {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    flex: 1;
    min-width: 0;
}

/* ================================================================
    製品一覧セクション
================================================================ */
.topProducts {
    padding: 40px 10px 40px;
}

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

.topProducts_ttl {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 24px;
}

.topProducts_list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.topProducts_item {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    overflow: hidden;
}

.topProducts_link {
    display: block;
    text-decoration: none;
}

.topProducts_img {
    display: block;
    width: 100%;
    height: 170px;
    overflow: hidden;
}

.topProducts_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}

.topProducts_body {
    background: #ffffff;
    padding: 24px 16px;
}

.topProducts_itemTtl {
    margin-bottom: 8px;
}

.topProducts_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.topProducts_itemTtl_txt {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    color: #333333;
    transition: all 0.3s;
}

.topProducts_itemTtl_icon {
    font-size: 20px;
    color: #0062b1;
    transition: transform 0.3s, all 0.3s;
}

.topProducts_btnList {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #d9d9d9;
}

.topProducts_btnList_item {
    width: 100%;
}

.topProducts_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 10px 20px;
    border: 1px solid #0062b1;
    border-radius: 20px;
    background: #ffffff;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.topProducts_btn:hover {
    background: #0062b1;
}

.topProducts_btn:hover .topProducts_btn_txt,
.topProducts_btn:hover .topProducts_btn_icon {
    color: #ffffff;
}

.topProducts_btn_txt {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #0062b1;
    flex: 1;
    text-align: left;
}

.topProducts_btn_icon {
    font-size: 16px;
    color: #0062b1;
    width: 6px;
    text-align: center;
}

/* ================================================================
    PC表示（768px以上）
================================================================ */
@media (min-width: 768px) {
    /* ヒーローセクション */
    .topMV_img img {
        height: 460px;
    }

    .topMV_body {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .topMV_ttl {
        font-size: var(--font-size-42);
        color: #FFF;
        font-weight: var(--font-weight-500);
    }

    .topMV_lead {
        font-size: 20px;
        line-height: 1.8;
    }

    /* お知らせセクション */
    .topNews {
        padding: 80px 20px 0;
    }

    .topNews_inner {
        display: flex;
        gap: 32px;
        align-items: flex-start;
    }

    .topNews_ttl {
        font-size: 24px;
        line-height: 1.6;
        margin-bottom: 0;
        flex-shrink: 0;
        width: 96px;
    }

    .topNews_list {
        flex: 1;
        flex-direction: column;
        gap: 8px;
    }

    .topNews_item {
        padding: 0 20px 8px;
    }

    /* 製品一覧セクション */
    .topProducts {
        padding: 80px 20px 104px;
    }

    .topProducts_ttl {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .topProducts_link:hover .topProducts_itemTtl_txt {
        color: var(--color-brand-kayakublue);
    }

    .topProducts_link:hover .topProducts_itemTtl_icon {
        transform: translateX(20px);
    }

    .topProducts_itemTtl_txt {
        font-size: 24px;
    }

    .topProducts_list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .topProducts_img {
        height: 240px;
    }

    .topProducts_btnList {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* __fullクラスがついた要素は全幅表示 */
    .topProducts_btnList_item__full {
        grid-column: 1 / -1;
    }
}

