body {
    background-color: #fefaf5;
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
}

.richbv_container .article-main img {
    width: 100vw;
}

.footer {
    position: relative;
    z-index: 9999;
}

html {
    overflow-x: hidden;
}

.richbv_inner {
    position: relative;
    width: 1920px;
    max-width: 100%;
    margin: 0 auto;
}

.richbv_container .article-head .head-bv {
    background-color: #f5f5f5;
}

#area3 .richbv_container img {
    max-width: 100%;
}

section {
    margin-bottom: 80px;
}

section h2 {
    font-weight: bold;
    font-size: 30px;
}

.richbv_container .richbv-article {
    overflow: visible;
}

.richbv_container {
    color: #000;
    font-size: 16px;
}

.txt_contianer {
    margin-right: 50px;
}

.txt_contianer h2 {
    width: 470px;
    max-width: 100%;
    border-bottom: 1px solid #02c8ff;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.area2 .txt_contianer h2 {
    border-bottom: 1px solid #ff9000;
}

.txt_contianer .txt {
    width: 470px;
    max-width: 100%;
    margin-right: auto;
    margin-bottom: 35px;
}

.img_container {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.img_container.spOnly {
    display: none;
}

.img_container img {
    width: 440px;
    height: 530px;
}

.img_container span {
    font-size: 12px;
    margin-top: 10px;
}

.img_caption {
    text-align: center;
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
}

#area2 .img_caption{
    text-align: left;
}

.flex {
    display: flex;
    flex-direction: row;
}

.wrap {
    position: relative;
    overflow-x: visible;
    z-index: 99999;
}

.area2 .img_container {
    margin-right: 50px;
}

.area2 .img_container img {
    margin-left: -120px;
}

.area2 {
    position: relative;
    margin-bottom: 20px;
}

#area4,
#area6 {
    width: 2000px;
    margin: 0 auto 80px;
    padding: 80px 0;
    margin-left: -580px;
    background-color: #07182b;
}

#area4 .section_inner,
#area6 .section_inner {
    width: 840px;
    margin: 0 auto;
}

#area4 h2,
#area5 h2,
#area6 h2 {
    font-size: 30px;
    font-weight: bold;
    border-bottom: 1px solid #02c8ff;
    padding-bottom: 30px;
    margin-bottom: 30px;
    color: #fff;
}

#area5 h2 {
    color: #000;
    border-color: #ff9000;
}

#area4 .txt,
#area6 .txt {
    color: #fff;
}

#area1 .img01 img {
    width: 100%;
}

.richbv_container {
    position: relative;
    width: 100vw;
    max-width: 100%;
    margin: 0 auto;
}

.richbv_container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 通常時 */
.richbv_container::before {
    content: "";
    /* 必須 */
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    /* 0.5秒かけて変化 */
}

/* クラスがついた時（ふわっと消える） */
.richbv_container.is-hidden::before {
    opacity: 0;
    visibility: hidden;
    /* クリック判定などもなくすため */
}


@media screen and (max-width:768px) {
    section {
        margin-bottom: 70px;
    }

    .richbv_container::before {}

    .txt_contianer h2 {
        font-size: 22px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .flex {
        display: flex;
        flex-direction: column;
    }

    .img_container.pcOnly {
        display: none;
    }

    .img_container.spOnly {
        display: block;
    }

    .area1 .txt:last-of-type {
        margin-bottom: 0;
    }

    .area2 .img_container img {
        margin-left: auto;
    }

    .area2 .img_container {
        margin-right: auto;
    }

    #area2 .img_caption{
        text-align: center;
    }
}

.richbv_container .wrap:before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    top: -12px;
    left: 0;
    background-color: #fff;
}

.richbv_container .wrap {
    position: relative;
    width: 1000px;
    max-width: 100%;
    min-height: unset;
    /* background-color: #fff; */
    background: linear-gradient(to bottom, #fff, #fff 10%, transparent 20%);
    margin: -220px auto;
    padding: 0 80px 80px 80px;
    z-index: 30;
}

.richbv_container .article-main {
    position: relative;
    padding-top: 0;
}

.richbv_container .article-main::after {
    content: "";
    position: absolute;
    top: 360px;
    width: 103vw;
    height: 100%;
    z-index: -1;
    display: inline-block;
}

@keyframes global {
    from {
        transform: translateX(0) scale(0.3, 1);
    }

    to {
        transform: translateX(-100%) scale(0.3, 1);
    }
}

@media screen and (max-width:768px) {
    .richbv_container .article-main::after {
        top: 20px;
        width: 156%;
        height: 40vh;
        display: block;
        left: -3vw;
    }
}

.txt {
    margin-bottom: 40px;
}

.text_wrap {
    position: relative;
    margin-bottom: 440px
}

.text_wrap_inner {
    position: relative;
    width: 46%;
    margin-right: auto;
    z-index: 2;
}

.text_img {
    position: absolute;
    right: 50%;
    top: 90%;
    transform: translate(50%, -50%);
    width: 1300px;
    background-color: #000;
    z-index: 1;
}


.credit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #000;
    border-right: none;
    border-left: none;
    padding: 40px 100px;
}

.credit .txt {
    text-align: center;
    margin-bottom: 0;
}

@media screen and (max-width:768px) {
    .txt_contianer {
        width: 100%;
        margin-right: auto;
    }

    .richbv_container img {
        max-width: 100%;
    }

    .img_container img {
        height: auto;
    }

    .richbv_container .article-main {
        padding-top: 0px;
        padding-bottom: 60px;
    }

    .main-img {
        width: 100%;
        margin: 0 auto;
    }

    .richbv_container .wrap {
        width: 100%;
        margin: -360px auto 0;
        padding: 20px;
        background: linear-gradient(to bottom, #fff, #fff 5%, transparent 8%);
    }

    body .richbv_section h2 {
        font-size: 20px;
        width: 90%;
        margin: 40px auto;
    }

    #area4,
    #area6 {
        margin: 0 auto 70px;
        margin-left: -20px;
        width: 100vw;
        max-width: 100vw;
    }

    #area4 .section_inner,
    #area6 .section_inner {
        width: 100%;
        padding: 0 20px
    }

    .profile_footer {
        width: 100%;
        margin-top: 0;
        padding: 60px 20px;
    }

    .profile_footer_inner {
        width: 100%;
        padding: 0;
    }

    .credit {
        padding: 30px 0;
    }

    .credit .txt {
        font-size: 12px;
    }
}


.pc {
    display: block;
}

.sp {
    display: none;
}

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

    .sp {
        display: block;
    }
}


/* リセット */
@media screen and (max-width:768px) {

    .richbv_container .article-head .cat-logo {
        flex: 1;
        width: 100%;
    }

    .richbv_container .article-head .cat-logo img {
        width: 100%;
    }

    .richbv_container .article-head .cat-txt {
        width: max-content;
        text-align: right;
    }

    .richbv_container .article-head .head-cat {
        flex-wrap: nowrap;
    }

}


.txt_wrap2 img {
    max-width: 100%;
}

/* 監視対象の初期状態：隠しておく */
.parallax-ready {
    opacity: 0;
    transform: translateY(50px);
    /* 最初は50px下に配置 */
    transition: opacity 2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 画面に入った時の状態：見える位置へ */
.parallax-active {
    opacity: 1;
    transform: translateY(0);
}

.left {
    position: absolute;
    top: 640px;
    left: -110px;
    width: 569px;
    z-index: -60;
}

.left2 {
    position: absolute;
    top: 2000px;
    left: -110px;
    width: 569px;
    z-index: -60;
}

.left3 {
    position: absolute;
    top: 3320px;
    left: -180px;
    width: 569px;
    z-index: -60;
}

.left4 {
    position: absolute;
    top: 4930px;
    left: -140px;
    width: 770px;
    z-index: -60;
}

.left5 {
    position: absolute;
    top: 6990px;
    left: -140px;
    width: 569px;
    z-index: -60;
}

.right {
    position: absolute;
    top: 870px;
    right: -110px;
    width: 728px;
    z-index: -60;
}

.right2 {
    position: absolute;
    top: 2260px;
    right: -110px;
    width: 728px;
    z-index: -60;
}

.right3 {
    position: absolute;
    top: 3530px;
    right: -110px;
    width: 728px;
    z-index: -60;
}

.right4 {
    position: absolute;
    top: 4980px;
    right: -140px;
    width: 728px;
    z-index: -60;
}

.right5 {
    position: absolute;
    top: 7070px;
    right: -140px;
    width: 728px;
    z-index: -60;
}

.sp1,
.sp2,
.sp3,
.sp4,
.sp5,
.sp6,
.sp7,
.sp8,
.spImageContainer {
    display: none;
}

.spImageContainer {
    position: absolute;
    top: 620px;
    display: flex;
    flex-direction: column;
}

.spImageContainer>img {
    margin-bottom: 80px;
}

.spImageContainer>.sp7 {
    margin-top: 180px;
}

.spImageContainer>.sp8 {
    margin-top: 2540px;
}

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

    .left,
    .left2,
    .left3,
    .left4,
    .left5,
    .right,
    .right2,
    .right3,
    .right4,
    .right5 {
        display: none;
    }

    .sp1,
    .sp2,
    .sp3,
    .sp4,
    .sp5,
    .sp6,
    .sp7,
    .sp8 {
        display: block;
    }
}