@charset "utf-8";

/*
 * 汎用
 * --------------------------------------------------
 */

.page-title {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    aspect-ratio: 5/1;
    position: relative;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-title video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.page-title img {
    width: calc(100% + 100px);
    height: auto;
    object-fit: cover;
    object-position: 50px center;
    animation: title-slide 5s forwards;
    position: absolute;
}

@keyframes title-slide {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(-50px);
    }
}

.page-title h1 {
    font-size: 2cqi;
    line-height: 1;
    font-weight: 500;
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    color: #ffffff;
    letter-spacing: 0.1cqi;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
}

@media (max-width: 767px) {
    .page-title {
        aspect-ratio: 16/9;
    }

    .page-title h1 {
        font-size: 5cqi;
    }
}

/*
 * 中身
 * --------------------------------------------------
 */
.page-content h2 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: 2.4cqi;
    line-height: 2;
    font-weight: 600;
}

.page-content h3 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1.8cqi;
    line-height: 2;
    font-weight: 600;
}

.page-content p {
    font-size: 1.4cqi;
    line-height: 1.5;
    font-weight: 400;
}

@media (max-width: 767px) {
    .page-content h2 {
        font-size: 5cqi;
        line-height: 1.5;
        margin: 4cqi 0px 2cqi 0px;
    }

    .page-content h3 {
        font-size: 4cqi;
        line-height: 1.5;
        margin: 3cqi 0px 1cqi 0px;
    }

    .page-content p {
        font-size: 3.5cqi;
        line-height: 2;
        font-weight: 400;
    }
}