@charset "utf-8";

@media screen and (min-width:769px) {
    .pc_on {
        display: block;
    }

    .sp_on {
        display: none;
    }

    .dt_megenairanko_header,
    .dt_megenairanko_header h1 {
        position: relative;
        height: 394px
    }

    .dt_megenairanko_header::before {
        content: "";
        background: url(../images/img_vi_left.png)repeat-x center center;
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%
    }

    .dt_megenairanko_header::after {
        content: "";
        background: url(../images/img_vi_right.png)repeat-x center center;
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%
    }

    .dt_megenairanko_header h1 {
        background: url(../images/img_vi.jpg)no-repeat center center;
        width: 100%;
        text-indent: -9999px;
        z-index: 2
    }

    .dt_megenairanko_header p {
        opacity: 0
    }
}

@media screen and (max-width:768px) {
    .sp_on {
        display: block;
    }

    .pc_on {
        display: none;
    }

    .dt_megenairanko_header {
        background: url(../images/img_vi_sp.jpg)repeat-x center center;
        background-size: cover;
        width: 100%;
        height: 108.26666667vw;
        text-indent: -9999px
    }

    .dt_megenairanko_header * {
        opacity: 0
    }
}

@media screen and (min-width:769px) {
    .dt_megenairanko_desc .dt_txt {
        padding: 70px 10px;
        font-size: 16px;
        line-height: 2
    }
}

@media screen and (max-width:768px) {
    .dt_megenairanko_desc .dt_txt {
        padding: 10.93333333vw 0;
        line-height: 2;
        font-size: 12px
    }
}

@media screen and (min-width:769px) {
    .dt_megenairanko_section {
        margin-top: 120px
    }

    .dt_megenairanko_section.dt_first {
        margin-top: 0
    }

    .dt_megenairanko_section .dt_ttl_01 {
        background-image: url(../images/ttl_01.png)
    }

    .dt_megenairanko_section .dt_ttl_02 {
        background-image: url(../images/ttl_02.png)
    }

    .dt_megenairanko_section .dt_ttl_03 {
        background-image: url(../images/ttl_03.png)
    }

    .dt_megenairanko_section .dt_ttl_04 {
        background-image: url(../images/ttl_04.png)
    }

    .dt_megenairanko_section .dt_ttl_01_do {
        background-image: url(../images/tab/ttl_01_do.png)
    }

    .dt_megenairanko_section .dt_ttl_02_do {
        background-image: url(../images/tab/ttl_02_do.png)
    }

    .dt_megenairanko_section .dt_ttl_03_do {
        background-image: url(../images/tab/ttl_03_do.png)
    }

    .dt_megenairanko_section .dt_movie {
        margin: 60px auto 0;
        width: 826px;
        height: 464px
    }

    .dt_megenairanko_section .dt_desc {
        position: relative
    }

    .dt_megenairanko_section .dt_desc .dt_txt {
        position: relative;
        z-index: 2;
        text-align: center;
        line-height: 2;
        padding-top: 28px
    }

    .dt_megenairanko_section .dt_desc .dt_img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 200px
    }

    .dt_megenairanko_section .dt_desc .dt_img_01 {
        background: url(../images/img_01.png)
    }

    .dt_megenairanko_section .dt_desc .dt_img_02 {
        background: url(../images/img_02.png)
    }

    .dt_megenairanko_section .dt_desc .dt_img_03 {
        background: url(../images/img_03.png)
    }

    .dt_megenairanko_section .dt_desc .dt_img_04 {
        background: url(../images/img_04.png)
    }

    .dt_megenairanko_section .dt_desc_01 .dt_txt {
        padding-left: 30px
    }
}

@media screen and (max-width:768px) {
    .dt_megenairanko_section {
        margin-top: 5.33333333vw
    }

    .dt_megenairanko_section.dt_first {
        margin-top: 0
    }

    .dt_megenairanko_section .dt_movie {
        margin: 9.33333333vw auto 0;
        width: 92.26666667vw;
        height: 52vw
    }

    .dt_megenairanko_section .dt_desc .dt_txt {
        padding-top: 4.26666667vw;
        text-align: center;
        line-height: 2;
        font-size: 12px
    }

    .dt_megenairanko_section .dt_desc .dt_img {
        background-size: cover;
        width: 100%
    }

    .dt_megenairanko_section .dt_desc .dt_img_01 {
        background-image: url(../images/img_01_sp.png);
        height: 41.33333333vw
    }

    .dt_megenairanko_section .dt_desc .dt_img_02 {
        background-image: url(../images/img_02_sp.png);
        height: 48vw
    }

    .dt_megenairanko_section .dt_desc .dt_img_03 {
        background-image: url(../images/img_03_sp.png);
        height: 38.66666667vw
    }

    .dt_megenairanko_section .dt_desc .dt_img_04 {
        background-image: url(../images/img_04_sp.png);
        height: 41.33333333vw
    }
}

/* タブ切り替え */
.tab_list {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 55px;
    padding: 0 20px 10px;
    overflow: hidden;
}

.tab_list .tab {
    max-width: 436px;
    cursor: pointer;
    position: relative;
    opacity: .6;
}

.tab_list .tab.active {
    opacity: 1;
}

.tab_list .tab01.active::before,
.tab_list .tab01.active::after,
.tab_list .tab02.active::before,
.tab_list .tab02.active::after {
    position: absolute;
    content: "";
    display: block;
    background-repeat: repeat-x;
    height: 8px;
    bottom: -4px;
}

.tab_list .tab01.active::before,
.tab_list .tab01.active::after {
    background: url(../images/tab/tab01_line.png) right / cover;
}

.tab_list .tab02.active::before,
.tab_list .tab02.active::after {
    background: url(../images/tab/tab02_line.png) right / cover;
}

.tab_list .tab01.active::before {
    width: 100%;
    left: -99%;
}

.tab_list .tab01.active::after {
    width: 200%;
    right: -199%;
}

.tab_list .tab02.active::before {
    width: 200%;
    left: -199%;
}

.tab_list .tab02.active::after {
    width: 100%;
    right: -99%;
}

.tab_article_list .tab_article:not(.active) {
    display: none;
}

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

    .tab_list .tab01.active::before,
    .tab_list .tab01.active::after,
    .tab_list .tab02.active::before,
    .tab_list .tab02.active::after {
        height: 7px;
    }

    .tab_list .tab01.active::before {
        left: -96%;
    }

    .tab_list .tab01.active::after {
        right: -196%;
    }

    .tab_list .tab02.active::before {
        left: -196%;
    }

    .tab_list .tab02.active::after {
        right: -96%;
    }
}