.page {
    position: relative;
    width: 100%;
    height: 100vh;

    padding: 0;
    /*要素内の余白は消す*/
}

.scroll {

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
    /*
    width: 40px;
    height: 40px;
    */
    width: 2rem;
    height: 2rem;

    background: gray;
    color: #FFF;
    text-decoration: none;
    text-align: center;
    margin: 10px 0;

    position: absolute;
    /* 親要素を基準に絶対配置 */
    top: 100%;
    /* 上から50% */
    left: 50%;
    /* 左から50% */
    transform: translate(-50%, -200%);

    opacity: 0;

}


/*
バナー
*/
.banner-text {
    position: absolute;
    /* 親要素を基準に絶対配置 */
    top: 50%;
    /* 上から50% */
    left: 50%;
    /* 左から50% */
    transform: translate(-50%, -50%);

    /* 要素の中心を基準に中央寄せ */
    color: white;
    /* 文字色 */
    text-align: center;
    width: 80%;
    /* 幅を調整 */
    z-index: 2;
    /* 画像より手前に表示 */
    
    font-size: 5vw;

    opacity: 0;
}

.banner-img {
    /*
    width: 99%;
    */
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
    position: absolute;
    object-fit: cover;
    background-position: center;

    opacity: 0;
    /* 初期状態では非表示に設定 */
}

/*
コンテンツページ
*/

.inner-img {
    
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
    position: absolute;
    object-fit: cover;
    background-position: center;

    opacity: 0.5;
    /* 初期状態では非表示に設定 */
}

.inner-text {
    position: absolute;
    top: 10%;
    left: 10%;
    /* 親要素を基準に絶対配置 */
    
    color: white;
    /* 文字色 */
    text-align: center;
    width: 80%;
    height: 80%;
    /* 幅を調整 */
    z-index: 2;
    /* 画像より手前に表示 */

    padding: auto 100px;

    background-color: rgb(0, 0, 0, 0.5);

}

.inner-text h2 {
    font-size: min(2rem, 5vw);
}

.content {

    font-size: 1.2rem;
    line-height: 3rem;
}
