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

.text_img {
    width: 90%;
}

.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;
}

#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;
}

#text-container {
    padding: 30px 0 30px 0;
    margin: auto;
    max-width: 1000px;
    font-size: 19px;
}

#text-container div {
    width: 100%;
    align-items: center;
    padding: 10px;
}

.text-container-flex,
.text-container-flex-bottom,
.studio-container-flex {
    display: flex;
}

#studio-container {
    padding: 10px 0 10px 0;
    margin: auto;
    max-width: 1000px;
    font-size: 19px;
}

#studio-container div {
    width: 100%;
    align-items: center;
    padding: 10px;
}

.about-text {
    font-family: PingFangSC-Regular, sans-serif;
}

@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: 3vmax;
    }
    .aboutUs-subtext {
        margin: 2rem auto 0 auto;
        font-size: 1vmax;
    }
}