@charset "utf-8";


:root{
    --blue: #66ccc5;
    --red: #ff928a;
}

.keyVisual{
    padding-bottom: 37px;
    border-bottom: none;
}



.on-off_top{
    max-width: 1920px;
    margin-inline: auto;
    position: relative;
}

.on-off_top_bgimg{
    position: absolute;
    top: -40px;
    right: -20px;
    border-radius: 10px;
    z-index: 0;
    max-width: 920px;
    width: 61.25vw;
    border: 1px solid #000;
}

.on-off_top_banner{
    position: relative;
    left: -20px;
    max-width: 370px;
    width: 23.13vw;
    min-width: 185px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 17px;
    margin-top: 54px;
    margin-left: 0;
    margin-right: auto;
    background-color: #000;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-align: right;
    z-index: 1   ;
}

.on-off_top_banner .blue{
    color: var(--blue);
}
.on-off_top_banner .red{
    color: var(--red);
}
.on-off_top_text{
    display: block;
    margin-top: 38px;
    margin-left: max(10px, calc((100% - 1400px) / 2));
    position: relative;
    z-index: 1;
    max-width: 577px;
    width: 36.06vw;
}


@media screen and (max-width: 768px) {
    .on-off_top_bgimg{
        border-radius: 5px;
        top: -238px;
        width: 325px;
        aspect-ratio: 1/ 1;
        object-fit: cover;
        right: 0;
    }
    .on-off_top_banner{
        margin-top: 230px;
        max-width: 140px;
        width: 100%;
        min-width: auto;
        height: 35px;
        font-size: 18px;
        z-index: 1;
        left: 0;
    }
    .on-off_top_text{
        width: 300px;
    }
}
.avatar{
    margin-top: 85px;
}
.avatar_flex{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
}
.avatar_flex p{
    text-align: left;
}
.avatar_cate{
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}
.avatar_cate li{
    display: inline-block;
    font-size: 14px;
    color: #666;

}
@media screen and (max-width: 768px) {
    .avatar{
        margin-top: 20px;
    }
    .avatar_flex{
        gap: 4px;
        font-size: 12px;
    }
    .avatar_flex img{
        width: 50px;
        height: 50px;
    }
    .avatar_cate li{
        font-size: 12px;
    }
}
.onoff{
    margin-top: 113px;
}
.onoff .page_title{
    margin-top: 0;
}
.onoff .page_title .blue{
    position: relative;
    color: var(--blue);
}
.onoff .page_title .blue::after{
    content: "";
    position: absolute;
    width: 136px;
    height: 30px;
    bottom: 0;
    left: 0;
    background: url("../img/icon_on_01.png") no-repeat center center/ contain;
    z-index: -1;
}
.onoff .page_title .red{
    position: relative;
    color: var(--red);
}
.onoff .page_title .red::after{
    content: "";
    position: absolute;
    width: 147px;
    height: 113px;
    top: 0;
    bottom: 0;
    left: -8px;
    right: 0;
    margin: auto;
    background: url("../img/icon_off_01.png") no-repeat center center/ contain;
    z-index: -1;
}

.onoff_flex{
    margin-top: 26px;
    display: flex;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}
.onoff_box{
    width: 50%;
    padding-top: 60px;
    padding-bottom: 70px;
}
.onoff_box img{
    max-width: 660px;
    width: 100%;
    margin-inline: auto;
}
.onoff_flex .onoff_on{
    background-color: var(--blue);
    border-right: 1px dashed #000;
    padding-left: max(10px, calc((100% - 1400px) / 2));
    padding-right: 40px;
}
.onoff_flex .onoff_off{
    background-color: var(--red);
    padding-right: max(10px, calc((100% - 1400px) / 2));
    padding-left: 40px;
}
.onoff_flex .onoff_off img{
    position: relative;
    top: -22px;
}
.onoff_text{
    position: relative;
    margin-top: 10px;
    max-width: 620px;
    width: 38.75vw;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 10px;
    text-align: left;
}
.onoff_on .onoff_text{
    margin-left: auto;
    margin-right: 0;
}
.onoff_off .onoff_text{
    margin-left: 0;
    margin-right: auto;
}
.onoff_text p + p{
    margin-top: 30px;
}
.onoff_text::before{
    content: "";
    display: block;
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 9px 21px 9px;
    border-color: transparent transparent #000 transparent;
    z-index: 1;
}
.onoff_text::after{
    content: "";
    display: block;
    position: absolute;
    top: -21px; /* 配置場所 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    /* 横18px(9+9) / 縦21px */
    border-width: 0 9px 21px 9px;
    /* ここに「中身の色（白）」を指定 */
    border-color: transparent transparent #fff transparent;
    z-index: 2;
    pointer-events: none;
}
.onoff_on .onoff_text::before{
    left: 40px;
}
.onoff_on .onoff_text::after{
    left: 40px;
}

.onoff_off .onoff_text::before{
    right: 20px;
    left: auto;
}
.onoff_off .onoff_text::after{
    right: 20px;
    left: auto;
}


@media screen and (max-width: 768px) {
    .onoff{
        margin-top: 50px;
    }
    .onoff_box img{
        max-width: 405px;
    }
    .onoff_text{
        max-width: 620px;
        width: 100%;
    }
    .onoff .page_title{
        font-size: 40px;
        text-align: center;
    }
    .onoff .page_title .blue::after{
        width: 81.5px;
    }
    .onoff .page_title .red::after{
        width: 88px;
        left: -5px;
    }
    .onoff_flex{
        margin-top: 15px;
        flex-direction: column;
    }
    .onoff_box{
        width: 100%;
    }
    .onoff_flex .onoff_on{
        padding: 30px 15px 50px;
        border-right: none;
        border-bottom: 1px dashed #000;
    }
    .onoff_text{
        max-width: 78.67vw;
        padding: 20px;
        font-size: 13px;
    }
    .onoff_text p + p{
        margin-top: 15px;
    }
    .onoff_flex .onoff_off{
        padding: 30px 15px 50px;
    }
    .onoff_flex .onoff_off img{
        top: 0;
    }
    .onoff_text::before{
        border-width: 0 5px 10px 5px;
        top: -10px;
    }
    .onoff_text::after{
        border-width: 0 5px 10px 5px;
        top: -10px;
    }
    .onoff_off .onoff_text{
        margin-top: 15px;
    }
}

@media screen and (max-width: 500px) {
    .onoff_box img{
        max-width: 100%;
    }
    .onoff_text{
        max-width: 295px;
    }
}

.myStory h2{
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
}

.myStory_flex .item{
    width: 40%;
}
@media screen and (max-width: 768px) {
    .myStory h2{
        font-size: 26px;
    }
    .myStory_flex .item{
        width: 50%;
    }
}