
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

section{
    padding: 8rem 0 15rem;

    .section-title {
        text-align: center;
        margin-bottom: 3rem;

        h3 {
            font-size: 2.5rem;
            font-weight: bold;
            color: #333;
            margin: 0;
        }
    }

    /* レスポンシブデザイン */
    @media (max-width: 768px) {
        padding: 3rem 0 8rem;

        .section-title h3 {
            font-size: 2rem;
        }
    }

    @media (max-width: 480px) {
        .section-title {
            margin-bottom: 2rem;

            h3 {
                font-size: 1.5rem;
            }
        }
    }

}

/* 奇数番目のセクション（1番目、3番目、5番目...） */
section:nth-child(odd) {
    background-color: #ffffff;
}

/* 偶数番目のセクション（2番目、4番目、6番目...） */
section:nth-child(even) {
    background-color: #efefef;
}


.content-wrapper {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
}

/***********************************
* フッター
***********************************/
.site-footer {
    padding: 2rem 0;
    border-top: 1px solid #888;
    color: #666;
    text-align: center;

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;

        p {
            font-size: 0.9rem;
            margin: 0;
        }
    }

    /* レスポンシブデザイン */
    @media (max-width: 768px) {
        padding: 1.5rem 0;

        .footer-content {
            padding: 0 1rem;

            p {
            font-size: 0.85rem;
            }
        }
    }

    @media (max-width: 480px) {
        padding: 1rem 0;

        .footer-content p {
            font-size: 0.8rem;
        }
    }
}




/***********************************
* ボタン
***********************************/
.submit-btn {
	position: relative;
	padding: 1rem 4rem;
    background-color: unset;
	color: #222;
	border: 2px solid #222;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	vertical-align: middle;
    overflow: hidden;
	cursor: pointer;
    z-index: 1;

    &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: #222;
        transform: translateX(-100%);
        transition: all .3s;
        z-index: -1;
    }
    &:hover {
        color: #fff;
        &::before {
            transform: translateX(0);
        }
    }
}

/***********************************
* 画面名セクション
***********************************/
.screen-name-section {
    position: relative;
    height: 400px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

    & .screen-name-container {
        position: relative;
        z-index: 2;
        text-align: center;
        color: white;
        width: 100%;

        & .screen-title {
            font-size: 3.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
            letter-spacing: 0.1em;
            line-height: 1.2;

            &::after {
                content: '';
                display: block;
                width: calc(50%);
                height: 2px;
                background-color: white;
                margin: 1.5rem auto 0;
                box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            }
        }

        & .screen-title-en {
            font-size: 1.4rem;
            font-weight: 300;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
            letter-spacing: 0.2em;
            margin-bottom: 2rem;
            opacity: 0.9;
        }
    }

    /* レスポンシブデザイン */
    @media (max-width: 768px) {
        height: 300px;

        & .screen-name-container {
            padding: 0 1rem;

            & .screen-title {
                font-size: 2.5rem;
                margin-bottom: 0.8rem;
            }

            & .screen-title-en {
                font-size: 1.1rem;
                margin-bottom: 1.5rem;
            }
        }
    }

    @media (max-width: 480px) {
        height: 250px;

        & .screen-name-container {
            & .screen-title {
                font-size: 2rem;
                margin-bottom: 0.6rem;

                &::after {
                    width: 85%;
                    margin: 1rem auto 0;
                }
            }

            & .screen-title-en {
                font-size: 1rem;
                margin-bottom: 1.2rem;
            }
        }
    }
}
