@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Oswald:wght@200..700&display=swap');

/* メイン */
main {
    padding-top: 104px;
}

#page_title_container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
}

/* ページタイトル */
.page_title {
    position: relative;
    display: inline-block;
    font-family: "Oswald";
    font-size: 96px;
    font-weight: bold;
    line-height: 80%;
    color: #f5f4f0;
    margin: 0;
}

.page_title span.animation {
    display: inline-block;
    transform: rotateX(90deg);
    animation: page_title 0.4s linear forwards;
}

@keyframes page_title {
    0% {
        transform: rotateX(90deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}

.page_title span.page_title_sub {
    font-family: "Noto Sans JP";
    font-size: 32px;
    font-weight: 100;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    color: #f5f4f0;
    white-space: nowrap;
    line-height: 100%;
    padding: 0 96px;
    margin: 0 24px;
    letter-spacing: 0.1em;
}

.page_title span.page_title_sub:before {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: #f5f4f0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.page_title span.page_title_sub:after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: #f5f4f0;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.page_title span.page_title_sub.animation {
    opacity: 0;
    animation: page_title_sub 0.4s linear forwards;
}

@keyframes page_title_sub {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    /* メイン */
    main {
        padding-top: 176px;
    }

    #page_title_container {
        max-width: none;
        width: 100%;
        padding: 0 8vw;
    }

    /* ページタイトル */
    .page_title {
        line-height: 100%;
        width: 84vw;
        margin: 0 auto;
        text-align: center;
    }

    .page_title span.page_title_sub {
        top: 100%;
        left: 0;
        right: 0;
        transform: translateY(32px);
        white-space: wrap;
        line-height: 100%;
        padding: 0 64px;
        max-width: 272px;
        margin: 0 auto;
    }

    .page_title span.page_title_sub:before {
        width: 48px;
    }

    .page_title span.page_title_sub:after {
        width: 48px;
    }
}