@charset "utf-8";

/* mv */
@media (min-width: 769px) {
    .underlayer_mv_img {
        background: url('../../images/about/mission/mv.webp') no-repeat 50% 50% / cover;
    }
}
@media (max-width: 768px) {
    .underlayer_mv_img {
        background: url('../../images/about/mission/mv_sp.webp') no-repeat 50% 50% / cover;
    }
    .underlayer_mv_ttl_wrap {
        min-height: 0;
    }

}

/* mission */
.mission {
    margin-top: 100rem;
}
.border_flex_ttl {
    line-height: 1.4;
}
.border_flex_img_content {
    position: relative;
    padding: 1px;
    background-color: var(--color-black);
}
.border_flex_img_content_inner {
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
}
.border_flex_img_content_ttl,
.border_flex_img_content_txt {
    line-height: 1.4;
}
.border_flex_img_content_l {
    border-right: 1rem solid rgba(0, 0, 0, 0.2);
}
.border_flex_img_content_copy {
    line-height: 1.4;
    text-align: center;
}
.border_flex_img_content_guest {
    margin-inline: auto;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
}
.border_flex_img_content_logo {
    margin-inline: auto;
    display: block;
}
.border_flex_img_content_img {
    margin-inline: auto;
    position: absolute;
    left: 0;
    right: 0;
}
.border_flex_img_content_arrow {
    line-height: 1.4;
    display: flex;
    align-items: center;
    position: absolute;
    top: 100%;
}
.border_flex_img_content_arrow_left_up {
    border-left: 1px solid var(--color-black);
    position:absolute;
    right: min(9px, 9rem);
    bottom: 1px;
}
.border_flex_img_content_arrow_left_up::before {
    content:"";
    height: min(13px, 13rem);
    width: min(13px, 13rem);
    position:absolute;
    z-index: 1;
    top:1rem;
    left:0;
    border-top: 1px solid var(--color-black);
    border-left: 1px solid var(--color-black);
}
.border_flex_img_content_arrow_right_down {
    border-left: 1px solid var(--color-black);
    position:absolute;
    left: min(9px, 9rem);
    top: 1px;
}
.border_flex_img_content_arrow_right_down::before {
    content: "";
    height: min(13px, 13rem);
    width: min(13px, 13rem);
    position: absolute;
    z-index: 1;
    bottom: 1rem;
    left: 0;
    border-top: 1px solid var(--color-black);
    border-left: 1px solid var(--color-black);
}
.mission .border_flex_img img {
    width: 100%;
}
@media (min-width: 769px) {
    .border_flex_content {
        padding-top: 50px;
    }
    .border_flex_ttl {
        margin-top: 100px;
        font-size: 22px;
    }

    .border_flex_img {
        margin-top: 100px;
    }
    .border_flex_img_content {
        padding: 1px;
    }
    .border_flex_img_content_inner {
        min-height: min(210px, 210rem);
        padding-left: min(73px, 73rem);
        gap: min(32px, 32rem);
    }
    .border_flex_img_content + .border_flex_img_content {
        margin-top: min(80px, 80rem);
    }
    .border_flex_img_content_l {
        width: min(355px, 355rem);
        min-height: min(112px, 112rem);
        display: flex;
        align-items: center;
    }
    .border_flex_img_content_r {
        width: min(235px, 235rem);
    }
    .border_flex_img_content_ttl {
        font-size: min(22px, 22rem);
    }
    .border_flex_img_content_txt {
        margin-top: min(20px, 20rem);
        font-size: min(14px, 14rem);
    }
    .border_flex_img_content_guest {
        top: min(58px, 58rem);
        font-size: min(33px, 33rem);
    }
    .border_flex_img_content_copy {
        font-size: min(20px, 20rem);
    }
    .border_flex_img_content_logo {
        margin-top: min(25px, 25rem);
    }
    .border_flex_img_content_logo_1 {
        width: min(180px, 180rem);
    }
    .border_flex_img_content_logo_2 {
        width: min(235px, 235rem);
    }
    .border_flex_img_content_img {
        width: min(237px, 237rem);
        bottom: min(10px, 10rem);
    }

    .border_flex_img_content_arrow {
        height: min(80px, 80rem);
        font-size: min(14px, 14rem);
    }
    .border_flex_img_content_arrow_l {
        padding-right: min(40px, 40rem);
        right: min(422px, 422rem);
    }
    .border_flex_img_content_arrow_r {
        padding-left: min(40px, 40rem);
        left: min(422px, 422rem);
    }
    .border_flex_img_content_arrow_left_up {
        bottom: 0;
        height: 100%;
    }
    .border_flex_img_content_arrow_left_up::before {
        transform: translate(calc(-50% - 0.5px), 1px) scale(0.8, 1) rotate(45deg);
    }
    .border_flex_img_content_arrow_right_down {
        top: 0;
        height: 100%;
    }
    .border_flex_img_content_arrow_right_down::before {
        transform: translate(calc(-50% - 0.5px), -1px) scale(0.8, 1) rotate(-135deg);
    }
}
@media (max-width: 768px) {
    .border_flex .border_flex_inner:nth-child(1) .border_flex_content:nth-child(1) {
        padding-top: 40rem;
    }
    .border_flex_ttl {
        font-size: 16rem;
    }
    .border_flex_img {
        margin-top: 100rem;
    }
    .border_flex_img_content {
        padding: 4rem;
        border-radius: 6rem;
    }
    .border_flex_img_content_inner {
        min-height: 160rem;
        padding-left: 21rem;
        border-radius: 4rem;
        gap: 8rem;
        position: relative;
    }
    .border_flex_img_content_green .border_flex_img_content_inner,
    .border_flex_img_content_red .border_flex_img_content_inner {
        padding-block: 55rem 20rem;
    }
    .border_flex_img_content + .border_flex_img_content {
        margin-top: 62rem;
    }
    .border_flex_img_content_l {
        width: 145rem;
        display: flex;
        align-items: center;
    }
    .border_flex_img_content_r {
        width: 142rem;
    }
    .border_flex_img_content_ttl {
        margin-inline: auto;
        font-size: 14rem;
        text-align: center;
        position: absolute;
        top: 20rem;
        left: 0;
        right: 0;
    }
    .border_flex_img_content_txt {
        font-size: 11rem;
    }
    .border_flex_img_content_guest {
        top: 40rem;
        font-size: 25rem;
    }
    .border_flex_img_content_copy {
        font-size: 12rem;
    }
    .border_flex_img_content_logo {
        margin-top: 15rem;
    }
    .border_flex_img_content_logo_1 {
        width: 108rem;
    }
    .border_flex_img_content_logo_2 {
        width: 142rem;
    }
    .border_flex_img_content_img {
        width: 232rem;
        bottom: 0;
    }

    .border_flex_img_content_arrow {
        height: 62rem;
        font-size: 12rem;
    }
    .border_flex_img_content_arrow_l {
        padding-right: 32rem;
        right: 182rem;
    }
    .border_flex_img_content_arrow_r {
        padding-left: 32rem;
        left: 182rem;
    }
    .border_flex_img_content_arrow_left_up {
        bottom: 0px;
        height: calc(100% - 0px);
    }
    .border_flex_img_content_arrow_left_up::before {
        transform: translate(calc(-50% - 0.5px), 1.5px) scale(0.8, 1) rotate(45deg);
        top: 0.5px;
    }
    .border_flex_img_content_arrow_right_down {
        top: 0;
        height: calc(100% - 0px);
    }
    .border_flex_img_content_arrow_right_down::before {
        transform: translate(calc(-50% - 0.5px), -1.5px) scale(0.8, 1) rotate(-135deg);
        bottom: 0.5px;
    }
}