#aboutUs-title {
    text-align: center;
}

.text_img {
    width: 90%;
}

.header-bgimg {
    object-position: center 90%;
}

.layer {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.layer_white {
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aboutUs-header-title {
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    position: absolute;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    color: black;
    height: 100%;
    font-size: 5vmax;
    animation: fadeIn ease 2s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.aboutUs-subtext {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    margin: 4rem auto 0 auto;
    color: white;
    font-size: 2vmax;
    border-radius: 1rem;
}

#aboutUs-title {
    margin-top: 10px;
    font-size: 40px;
    font-weight: bold;
}

.performance_container_title {
    font-family: "ヒラギノ角zゴ Pro W3", "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
    font-size: 40px;
    text-align: center;
    padding: 30px 0 15px 0;
}

.performance_container {
    position: relative;
}

.performance_top_imgs {
    width: 100%;
    display: grid;
    grid-template-columns: 30% 30% 30%;
    gap: 5%;
}

.performance_top_imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.performance_container_1 {
    font-family: PingFangSC-Regular, sans-serif;
    padding: 50px 0 30px 0;
    font-size: 20px;
}

.performance_container_2 {
    display: flex;
    justify-content: space-between;
    font-family: PingFangSC-Regular, sans-serif;
    font-size: 20px;
}

.performance_historys_title {
    font-family: "ヒラギノ角zゴ Pro W3", "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
    font-size: 40px;
    margin-bottom: 30px;
    position: relative;
}

.performance_historys_title::after {
    width: 20%;
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    border-bottom: 1px solid black;
}

.performance_container_2 {
    margin: 3rem;
}

.performance_container_2_left {
    width: 30%;
    display: flex;
    flex-direction: column;
}

.performance_container_2_left img {
    width: 100%;
    margin-bottom: 5%;
}

.performance_container_2_right {
    width: 65%;
}

.performance_container_2_right_2 {
    margin: 3% 0;
    position: relative;
}

.performance_container_2_right_3 {
    margin: 3% 0;
    position: relative;
}

.performance_container_2_right_2::after {
    width: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    border-bottom: 1px solid black;
}

.performance_container_2_right_4 {
    display: flex;
}

.performance-contact-box {
    width: 100%;
    padding: 2rem;
    margin: 0 2rem;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 10%);
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
}

.performance-contact-box:hover {
    cursor: pointer;
}

#title {
    width: 100%;
    height: 300px;
    position: relative;
}

#title-bg {
    display: block;
    width: 100%;
    height: 300px;
    background: url('/material/aboutUs/about_text_bg.jpg') fixed no-repeat 50% 50%;
    /* https://masterfulstudio.com/mfs_img/cover/about_text_bg.jpg */
    background-size: cover;
    position: absolute;
}

#title-t1 {
    font-family: PingFangSC-Regular, sans-serif;
    position: absolute;
    color: black;
    bottom: 110px;
    right: 16px;
    font-size: 30px;
}

#title-t1:after {
    content: "";
    /* This is necessary for the pseudo element to work. */
    display: block;
    /* This will put the pseudo element on its own line. */
    margin: 0 auto;
    /* This will center the border. */
    width: 100%;
    /* Change this to whatever width you want. */
    padding-top: -4px;
    /* This creates some space between the element and the border. */
    border-bottom: 2px solid black;
    /* This creates the border. Replace black with whatever color you want. */
}

#title-t2 {
    font-family: "ヒラギノ角zゴ Pro W3", "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
    position: absolute;
    color: black;
    bottom: 50px;
    right: 16px;
    font-size: 40px;
}

#title-t3 {
    font-family: "Avenir Light";
    font-style: oblique;
    position: absolute;
    color: black;
    bottom: 8px;
    right: 16px;
    font-size: 40px;
}

#text-container_bg {
    /* background: url("https://masterfulstudio.com/mfs_img/cover/about_text_bg.jpg")
      fixed no-repeat 50% 50%; */
    background-size: cover;
}

.performanceSwiper {
    height: 425px;
    text-align: center;
    font-size: 30px;
}

.performanceSwiper a {
    text-decoration: none;
    color: black;
}

.performanceSwiper a:hover {
    color: black;
}

.performanceSwiper img {
    width: 100%;
    height: 90%;
    padding: 0 60px;
    object-fit: contain;
}

@media only screen and (max-width: 1374px) {
    .performance_container_2_right_4 {
        flex-direction: column;
    }
    .performance_container_2_right_4 a {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    .performance_container_2_left {
        width: 45%;
    }
    .performance_container_2_right {
        width: 50%;
    }
    .performance-contact-box {
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 1200px) {
    .performance_container_2 {
        margin: 3rem 0;
    }
}

@media only screen and (max-width: 992px) {
    .performance_top_imgs {
        grid-template-columns: auto;
    }
    .performance_top_imgs img:first-child {
        grid-column-start: 1;
        grid-column-end: 3;
    }
}

@media only screen and (max-width: 768px) {
    .performance_container_2 {
        width: 100%;
        flex-direction: column;
    }
    .performance_container_2_left {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
    }
    .performance_container_2_right {
        width: 100%;
        font-size: 18px;
    }
    .performance_container_2_left img {
        width: 48%;
    }
    .performance_container_1 {
        font-size: 18px;
    }
    .performance_historys_title::after {
        width: 40%;
    }
    .performanceSwiper {
        height: 300px;
        text-align: center;
        font-size: 20px;
    }
    .performance_top_imgs img:first-child {
        height: 350px;
    }
    .performance_top_imgs img {
        height: 175px;
    }
}

@media only screen and (max-width: 600px) {
    .text-container-flex {
        display: block;
    }
    .text_img {
        width: 100%;
    }
    .text-container-flex-bottom {
        flex-direction: column-reverse;
    }
    .studio-container-flex {
        flex-direction: column;
    }
    .aboutUs-header-title {
        font-size: 35px;
    }
    .aboutUs-subtext {
        margin: 2rem auto 0 auto;
        font-size: 20px;
    }
    .performance_container_title {
        font-size: 30px;
    }
    .performance_historys_title {
        font-size: 30px;
    }
    .performance_top_imgs img:first-child {
        height: 230px;
    }
    .performance_top_imgs img {
        height: 115px;
    }
}

@media only screen and (max-width: 499px) {
    .performanceSwiper {
        height: 200px;
        font-size: 15px;
    }
    .performanceSwiper img {
        padding: 0 40px;
    }
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 20px;
    }
}