/* ページ全体の基本設定 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    color: #ffffff; /* 文字の基本色: 白 */
    font-family: 'Montserrat', sans-serif; /* サイト全体のフォントをモダンなものに */
    
    /* コンテンツを中央に配置 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* スクロールバーを非表示に */
}

body {    
    background-color: #000;
    /* グラデーションのサイズを画面の4倍に設定 */
    background-size: 400% 400%;

}


/* テキストをまとめるラッパー */
.content-wrapper {
    padding: 20px;
    position: relative;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.2s forwards;
}

/* メインタイトル "ResoilX" のスタイル */
.main-title {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.7); /* 背景が動くため、可読性を上げる影を少し強く */
}

/* サブテキストのスタイル */
.subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #cccccc;
    margin-top: 1rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    
    opacity: 0;
    animation: fadeInSub 1.5s ease-out 0.8s forwards;
}


/* テキストのフェードイン用アニメーション */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
@keyframes fadeInSub {
    to {
        opacity: 1;
    }
}