.l-page {
    padding-top: 60px;
    background: url("../images/top/l-page_bg.jpg") center / cover no-repeat;
}

/*---------
共通
----------*/

section {
    overflow: inherit;
}

[class*="section_content"]:not(:last-child) {
    padding-bottom: 80px;
}

.content_space {
    width: calc(100% - 40px);
    margin: 0 auto;
}

.title_block {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin: 0 20px;
    min-height: 600px;
}

.section_title {
    font-size: 24px;
    font-weight: 500;
    color: var(--main-color);
    line-height: calc(35 / 24);
    font-family: var(--main-font);
    text-align: center;
    margin-bottom: 16px;
}

.section_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--main-color);
    line-height: calc(24 / 16);
    font-family: var(--main-font);
}

/* ボタン */

[class*="ui_btn"] {
    margin: 0 auto;
    background: #9D0505;
    width: 256px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--point-color);
    font-family: var(--main-font);
    position: relative;
}

[class*="ui_btn"]::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent var(--point-color);
    position: absolute;
    top: 0;
    right: 65px;
    bottom: 0;
    margin: auto;
}



@media (min-width:768px) {

    .l-page {
        padding-top: 0;
    }

    /*---------
        共通
    ----------*/

    [class*="section_content"]:not(:last-child) {
        padding-bottom: 120px;
    }


    .content_space {
        max-width: 1246px;
        width: 100%;
    }

    .title_block {
        max-width: 904px;
        min-height: 476px;
        padding: 40px;
        margin: 0 auto;
        border-radius: 30px;
    }


    .section_title {
        font-size: 28px;
        line-height: calc(41 / 28);
        margin-bottom: 32px;
    }

    .section_text {
        font-size: 18px;
        font-weight: 400;
        line-height: calc(36 / 18);
    }


    /* ボタン */

    [class*="ui_btn"] {
        background: #fff;
        border: 1px solid #9D0505;
        width: 256px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: bold;
        color: var(--main-color);
        position: relative;
        transition: 0.5s;
    }

    [class*="ui_btn"]:hover {
        background: #9D0505;
        border: none;
        color: var(--point-color);
    }

    [class*="ui_btn"]:hover::after {
        border-color: transparent transparent transparent var(--point-color);
    }

    [class*="ui_btn"]::after {
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-color: transparent transparent transparent var(--main-color);
        position: absolute;
        top: 0;
        right: 75px;
        bottom: 0;
        margin: auto;
    }


}


/*-------- メイン ----------*/

/*---------
MV
----------*/

.mv {
    background: url("../images/top/sp_mv.jpg") center / cover no-repeat;
    width: 100%;
    height: 100%;
    padding: 155px 0;
    margin-bottom: 40px;
}

.main_catch {
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
    line-height: calc(32 / 24);
    letter-spacing: 1px;
    font-family: var(--main-font);
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 255, 255, 1);
}


@media (min-width:768px) {

    .mv {
        background: url("../images/top/pc_mv.jpg") center / cover no-repeat;
        padding: 364px 0;
    }

    .main_catch {
        font-size: 40px;
        letter-spacing: 4px;
        line-height: calc(40 / 40);
    }
}



/*---------
knowledge
----------*/

/* 共通ブロック */

/* Swiper 本体は見切れ許可 */

.blog-swiper {
    overflow: visible;
}

.blog-swiper-prev,
.blog-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--sub-color);
    background: #fff;
    cursor: pointer;
    z-index: 5;
}

.blog-swiper-prev {
    left: 0;
}

.blog-swiper-next {
    right: 0;
}

/* 中央だけ少し強調したいなら（必要なければ丸ごと削除してOK） */
.blog-swiper .swiper-slide {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
}

.blog-swiper .swiper-slide-active .slider_item {
    transform: translateY(-4px);
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
}


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

.l-page .slider_box {
    margin-top: -240px;
    position: relative;
}

.l-page .slider_list {
    margin-bottom: 40px;
}


.l-page .slider_item {
    width: 300px;
    background: #fff;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
    margin: 0;
    flex-shrink: 0;
}

.l-page .blog_detail {}

.l-page .blog_visual {
    position: relative;
}

.l-page .blog_photo {
    aspect-ratio: 300/200;
    overflow: hidden;
    position: relative;
}

.l-page .blog_photo img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    object-fit: cover;
    transform: translateY(-50%) translateX(-50%);
}

.l-page .category_badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #7B682C;
    font-size: 12px;
    font-weight: 400;
    color: var(--point-color);
    line-height: calc(20 / 12);
    padding: 1px 16px;
    border-radius: 0 0 3px 0;
    z-index: 1;
}

.l-page .blog_description {
    padding: 16px;
}

.l-page .date_text {
    font-size: 14px;
    font-weight: 300;
    color: var(--main-color);
    line-height: calc(18 / 14);
    font-family: var(--point-font);
    margin-bottom: 8px;
}

.l-page .blog_title {
    font-size: 18px;
    font-weight: 500;
    color: var(--main-color);
    line-height: calc(24 / 18);
    font-family: var(--main-font);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 8px;
}

.l-page .blog_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--main-color);
    line-height: calc(24 / 16);
    font-family: var(--main-font);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.pager_box.sp_in {
    display: flex;
    justify-content: space-between;
    gap: 279px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.pager_button.pager_prev,
.pager_button.pager_next {
    width: 32px;
    height: 32px;
    background: none;
    padding: 0;
}



@media (min-width:768px) {

    .pager_box.sp_in {
        display: none;
    }

    .ui_btn--blog.sp_in {
        display: none;
    }

    .pager_box.pc_in {
        display: flex;
        align-items: center;
        max-width: 1032px;
        margin: 0 auto;
    }

    .l-page .swiper-button-lock {
        display: block;
    }

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

    .l-page .slider_box {
        margin-top: -200px;
        position: relative;
    }


    .l-page .slider_item {
        width: 328px;
        background: #fff;
        box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
        transition: .3s;
    }

    .l-page .slider_item:hover {
        box-shadow: none;
    }

    .l-page .blog_detail {
        max-width: 328px;
    }

    .l-page .blog_visual {
        position: relative;
    }

    .l-page .blog_photo {
        aspect-ratio: 300/200;
    }

    .l-page .blog_description {
        padding: 16px;
    }

    .l-page .date_text {
        font-size: 14px;
        font-weight: 300;
        color: var(--main-color);
        line-height: calc(18 / 14);
        font-family: var(--point-font);
        margin-bottom: 8px;
    }

    .l-page .blog_title {
        font-size: 18px;
        font-weight: 500;
        color: var(--main-color);
        line-height: calc(24 / 18);
        font-family: var(--main-font);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        margin-bottom: 8px;
    }

    .l-page .blog_text {
        font-size: 16px;
        font-weight: 400;
        color: var(--main-color);
        line-height: calc(24 / 16);
        font-family: var(--main-font);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .pager_button.pager_prev,
    .pager_button.pager_next {
        position: relative;
        background: none;
        padding: 0;
        width: 56px;
        height: 56px;
        border: none;
        padding: 0;
        background: transparent;
        cursor: pointer;
    }

    /* 外側のうっすら白い円 */
    .pager_button.pager_prev::before,
    .pager_button.pager_next::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.8);
        transition: background 0.5s ease;
    }

    .pager_button.pager_prev:hover::before,
    .pager_button.pager_next:hover::before {
        background: var(--sub-color);
        transition: 0.5s;
    }

    /* 内側の線の円 + 矢印用のベース */
    .pager_button.pager_prev::after,
    .pager_button.pager_next::after {
        content: "";
        position: absolute;
        inset: 9px;
        border-radius: 50%;
        border: 2px solid var(--sub-color);
        box-sizing: border-box;
    }

    .pager_button.pager_prev:hover::after,
    .pager_button.pager_next:hover::after {
        border: 2px solid var(--point-color);
    }

    .pager_button.pager_prev span,
    .pager_button.pager_next span {
        position: absolute;
        width: 12px;
        height: 12px;
        border-top: 2px solid var(--sub-color);
        border-right: 2px solid var(--sub-color);
    }

    .pager_button.pager_prev:hover.pager_prev span,
    .pager_button.pager_next:hover.pager_next span {
        border-top: 2px solid var(--point-color);
        border-right: 2px solid var(--point-color);
    }

    /* 左矢印（←） */
    .pager_button.pager_prev span {
        transform: rotate(225deg);
        /* 左向き */
        left: 50%;
        top: 50%;
        translate: -8px -50%;
    }

    /* 右矢印（→） */
    .pager_button.pager_next span {
        transform: rotate(45deg);
        /* 右向き */
        right: 50%;
        top: 50%;
        transform-origin: center;
        translate: 8px -50%;
    }


    .pager_button.pager_prev span::after {
        content: "";
        display: block;
        width: 19px;
        height: 2px;
        background: var(--sub-color);
        left: 50%;
        top: 50%;
        transform: rotate(-45deg);
        translate: -6px 5.6px;
    }

    .pager_button.pager_next span::after {
        content: "";
        display: block;
        width: 19px;
        height: 2px;
        background: var(--sub-color);
        transform: rotate(-45deg);
        translate: -6px 5.6px;
    }

    .pager_button.pager_prev:hover span::after,
    .pager_button.pager_next:hover span::after {
        background: var(--point-color);
    }


}