@charset "UTF-8";


.text__center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

@media screen and (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* Swipper */

.swiper-container {
    position: relative;
}

.swiper {
    margin-top: 40px;
}

.swiper-slide {
    width: min(100%, 1320px);
    padding-inline: 1rem;
    height: auto;
}

.swiper .overlay-text {
    height: 100%;
}

.swiper-nav-prev {
    border-right: 1px solid #DFDFDF;
}

.overlay-text {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    font-feature-settings: "palt";
    display: block;
}

.overlay-text__inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    color: #FFF;
    background: rgba(0, 0, 0, 0.5);
    padding-inline: 1rem;
}

.overlay-text h2 {
    font-size: 2rem;
}

.overlay-text p {
    padding-bottom: 1rem;
}


@media screen and (max-width: 768px) {
    .overlay-text {
        display: flex;
        flex-direction: column;
    }

    .overlay-text img {
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
    }
    
    .overlay-text__inner {
        position: relative;
        background: #4B4B4B;
        height: 100%;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-block: 1rem;

        &>p{
            padding-bottom: 0;
        }
    }

    .overlay-text h2 {
        font-size: 1.6rem;
        line-height: 1;
        margin-bottom: 0.5rem;
    }
    
}

.swiper-nav {
    margin-top: 24px;
    width: min(100%, 1320px);
    margin-inline: auto;
    padding-inline: 1rem;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 16px;

    &>div.swiper-nav-inner {
        display: flex;
        align-items: center;
        border: 2px solid #DFDFDF;
        padding: 4px;
        box-shadow: 0px 4px 0px 0px #dfdfdf;
        border-radius: 10px;

        & .material-icons {
            font-size: 1.8rem;
            color: var(--color-main);
            height: 90%;
            display: block;
        }
    }
}

.swiper-nav-prev_1 {
    padding-right: 2px;
    border-right: 1px solid #DFDFDF;
}

.swiper-nav-next {
    padding-left: 2px;
}

.swiper-pagination {
    position:initial;
    text-align: unset;
    width: auto;
}

.container > h2 {
    margin-bottom: 8px;
}

.container > p {
    margin-bottom: 40px;
}

/* sec02 */
#sec02 .container > h2 {
    margin-bottom: 40px;
}

.box__topSec02 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.box__topSec02-inner {
    flex: 1;
    padding-right: 20px;
}

.box__topSec02>div:last-child {
    flex: 1;
    min-width: 200px;
}

.box__topSec02 iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.box__topSec02-img {
    width: 90%;
    display: flex;
    gap: 10px;
    border-radius: 10px;
}

.box__topSec02-img img {
    border-radius: 10px;
}

.box__topSec02-img02 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
}

.box__topSec02-img02>div {
    flex: 1 1 auto;
}

.box__topSec02-img02 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* * SP */
@media screen and (max-width: 768px) {
    .box__topSec02 {
        flex-direction: column;
        align-items: center;
    }

    .box__topSec02-inner {
        padding-right: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .box__topSec02-img {
        width: auto;
        display: flex;
        gap: 10px;
        justify-content: center;
        padding-bottom: 20px;
    }

    .box__topSec02-img img {
        width: 100%;
        height: auto;
    }

    .box__topSec02-img02 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2列に */
        gap: 10px;
        width: 100%;
        max-width: 480px;
        /* 必要に応じて制限 */
        margin: 0 auto;
        /* 中央寄せ */
    }

    .box__topSec02-img02>div {
        width: 100%;
    }

    .box__topSec02-img02 img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
    }


}

/* sec03 */
#sec03 {
    background: #F2F6FC 0% 0%;
}

.tab_content__inner {
    padding: 3%;
    border: 1px solid var(--color-black);
    background-color: #fff;
}

.tab_content__list {
    display: flex;
    gap: 40px 24px;
    padding-top: 2.6%;
    flex-wrap: wrap;
}

.tab_content__list>div {
    width: calc(25% - 18px);
    box-sizing: border-box;
}

.tab_content__list img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}


/* sec04 */
.box__topSec04 {
    display: flex;
    margin-top: 30px;
    justify-content: space-between;
}

.box__topSec04>div {
    width: calc(33.333% - 14px);
    box-sizing: border-box;
}

.box__topSec04 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 4px;
}

/* SP */
@media screen and (max-width: 768px) {
    .box__topSec04 {
        flex-direction: column;
    }

    .box__topSec04>div {
        width: 100%;
        padding-bottom: 10.6%;
        font-feature-settings: "palt";

        &:last-child {
            padding-bottom: 0;
        }
    }

    .box__topSec04 img {
        width: 100%;
        height: auto;
        display: block;
        /* padding-bottom: 6.1%; */
    }

}

/* sec05 */
#sec05 {
    background: #F6F2FC 0% 0%;
}

.box__topSec05 {
    display: flex;
    justify-content: space-between;
    gap: 1.3%;
}

.box__topSec05>div {
    width: calc(50% - 10px);
    box-sizing: border-box;
}

.box__topSec05 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 4px;
}

@media screen and (max-width: 768px) {
    .box__topSec05 {
        flex-direction: column;
    }

    .box__topSec05>div {
        width: 100%;
        padding-bottom: 8.5%;
        font-feature-settings: "palt";

        &:last-child {
            padding-bottom: 0;
        }
    }

    .box__topSec05 img {
        /* padding-bottom: 6.4%; */
    }

}


/* =======================================
   タブ・アコーディオン切替
======================================= */
.tabs {
    display: block;
}

.accordion {
    display: none;
}

.tab_content {
    display: none;
}

/* タブの入力がチェックされたときに、対応するコンテンツを表示 */
.tab_item:checked+.tab_content {
    display: block;
}

/* =======================================
   スマホ表示（768px以下）での切り替え
======================================= */
@media screen and (max-width: 768px) {
    .tabs {
        display: none;
    }

    .accordion {
        display: block;
    }

    .tab_content {
        display: none;
    }

    /* アコーディオンの入力がチェックされたときに、対応するコンテンツを表示 */
    .accordion_input:checked+.accordion_label+.accordion_content {
        display: block;
    }
}

/*==== sec04 タブ切り替え全体のスタイル ==== */
/*タブのスタイル*/
.tab_item {
    width: calc((100% - 40px) / 5);
    height: 60px;
    border-radius: 10px 10px 0 0;
    margin-right: 10px;
    background-color: #DFDFDF;
    line-height: 1.5;
    font-size: clamp(0.8rem, calc(1.25vw + 0.3rem), 1rem);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    text-align: center;
    transition: all 0.2s ease;
}

@media screen and (max-width: 980px) {
    .tab_item {
        line-height: 1.2;
    }
}

.tab_item:last-of-type {
    margin-right: 0;
}

.tab_item:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
    display: none;
    clear: both;
    overflow: hidden;
    /* background-color: #fff; */
}

/* 選択されているタブのコンテンツのみを表示 */
#tab_a:checked~#content_a,
#tab_b:checked~#content_b,
#tab_c:checked~#content_c,
#tab_d:checked~#content_d,
#tab_e:checked~#content_e {
    display: block;
}

/* 選択されているタブのスタイルを変える */
.tabs input:checked+.tab_item {
    background-color: var(--color-main);
    color: #fff;
}



/* =================================
   アコーディオンのコンテンツ部分 
================================= */

@media screen and (max-width: 768px) {

    .accordion_content-inner {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
        margin-top: 24px;
    }

    .accordion_content > h4 {
        font-size: 1.75rem;
    }
    /* 画像が親要素内で最大限に表示されるように */
    .accordion_content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

    /* チェックボックス（input）は非表示 */
    .accordion_input {
        display: none;
    }

    /* ラベル（タブのヘッダー） */
    .accordion_label {
        position: relative;
        display: block;
        padding: 6% 1.8%;
        background-color: var(--color-main);
        cursor: pointer;
        color: #fff;
        text-align: center;
        transition: background-color 0.3s;
        /* margin-bottom: 4.2%; */
    }

    .accordion_label:not(:first-child) {
        margin-top: 24px;
    }    
    /* ▼ を表示 */
    .accordion_label::after {
        content: "";
        position: absolute;
        top: 48%;
        right: 28px;
        width: 8px;
        height: 8px;
        border-top: 2px solid var(--color-white);
        border-right: 2px solid var(--color-white);
        transform: rotate(135deg);
        transition: transform 0.3s ease;
    }

    /* チェックが入ったら上向きに回転 */
    .accordion_input:checked+.accordion_label::after {
        transform: translate(-50%, -50%) rotate(-45deg);
        /* 上向き */
    }

    /* コンテンツのスタイル */
    .accordion_content {
        display: none;
        padding: 10.6% 4%;
        background-color: #fff;
    }

    /* チェックボックスが選択されたときにコンテンツを表示 */
    .accordion_input:checked+.accordion_label+.accordion_content {
        display: block;
    }
}