html,
body {
    margin: 0;
    /* 画面の枠が消える */
    padding: 0;
}

body {
    overflow-x: hidden;
}

img {
    /* メニュー実装時ドラック不可の原因はココかも！ */
    user-drag: none;
    /* ドラッグ禁止（Safari） */
    -webkit-user-drag: none;
    /* 画像ドラッグ禁止（Chrome） */
    pointer-events: none;
    /* マウス操作を無効化 */
}

/* ↓ 画面いっぱいに表示させたいときにこのクラスをつける。（Safariにも対応！）【このクラスをつけた子要素の指定は、100%を使うと省略可】*/
.fullScreen {
    height: calc(var(--vh, 1vh) * 100);
    /* アドレスバーを除いた実寸の高さ */
}

nav {
    user-select: none;
    /* テキストの選択禁止 */
}

article {
    position: relative;
    display: grid;
    margin: 0;
    padding: 0;
    /* height: 1245vh; */
    background: linear-gradient(to bottom,
            #050937 165vh, 300vh, #141BB2 465vh, 650vh, #B5DBEF 850vh);
}

#rocket {
    position: fixed;
    max-width: 25%;
    max-height: 25%;
    top: 30%;
    right: 85%;
    transform: rotate(110deg) scale(0.001);
    transition: 0.7s ease-out;
    z-index: 0;
    pointer-events: auto;
    cursor: pointer;
}

#earth {
    position: fixed;
    max-width: 25%;
    max-height: 25%;
    top: 60%;
    left: 60%;
    opacity: 0;
    transition: 0.3s linear;
    z-index: 0;
}

#parachute {
    display: none;
    position: fixed;
    max-width: 45%;
    max-height: 45%;
    top: 20%;
    left: 78%;
    transition: 0.7s ease-out;
    z-index: 1;
    pointer-events: auto;
    cursor: pointer;
}

#parachute.appearance {
    display: grid;
    transform: translate(0vw, 20vh) rotate(15deg);
    position: fixed;
}

a img {
    display: block;
}

a {
    display: inline-block;
}

#space {
    position: relative;
    width: 100%;
    margin: 0;
    padding-top: 1px;
    /* linkButtonによるmargin相殺防止 */
    /* height: 450vh; 全画面の宇宙 */
}

/* ↓ fullscreen設定アリ */
#mainVisual {
    margin: 0;
    width: 100%;
    height: 100vh;
    display: grid;
    position: fixed;
    color: rgb(204, 202, 75);
    z-index: 0;
}

#title {
    position: relative;
    margin: 0;
    padding: 0;
}

#titleRogo {
    position: absolute;
    margin: 0;
    top: 5%;
    left: 29.5%;
    max-width: 40%;
    max-height: auto;
    z-index: -1;
}

#subTitle {
    position: absolute;
    margin: 0;
    top: 15%;
    left: 20%;
    max-width: 60%;
    max-height: auto;
    z-index: -1;
}

#schedule {
    position: relative;
    margin: 0;
    top: 75%;
    left: 28%;
    max-width: 40%;
    max-height: auto;
    z-index: -1;
}

/* ↑ ～～～～～～～～～ */
#utiiConstellation {
    display: grid;
    position: absolute;
    top: 25%;
    right: -2%;
    max-width: 40%;
    max-height: auto;
    transform: rotate(25deg);
}

#galaxy {
    position: absolute;
    top: 0%;
    left: 0%;
    max-width: 35%;
    max-height: auto;
}

#mainVisual p {
    position: relative;
    margin: 0;
    color: rgb(253, 140, 140);
    font-size: 2rem;
    width: 90%;
    height: auto;
    top: 70%;
    left: 5%;
}

#galaxy-lightChange-listener {
    position: absolute;
    top: 150vh;
}

#galaxy-lightChange {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255);
    pointer-events: none;
    opacity: 0;
    z-index: 400;
}

#galaxy-lightChange.moving {
    animation: flash 0.5s ease-out;
}

@keyframes flash {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#linkButton {
    margin-top: 250vh;
    width: 100%;
    height: 80vh;
    display: grid;
    position: relative;
    text-align: center;
}

#linkButton h1 {
    position: relative;
    margin: 0;
    color: white;
    font-size: 3rem;
    width: 30%;
    height: 0%;
    top: 40%;
    left: 35%;
}

#linkButton h2 {
    position: relative;
    margin: 0;
    color: white;
    font-size: 3rem;
    width: 30%;
    height: 0%;
    top: 10%;
    left: 35%;
}

#link-list {
    position: relative;
    padding: 5%;
    display: flex;
}

.btn {
    display: inline-block;
    margin: auto;
}

.btn a {
    display: inline-block;
}

.btnIcon {
    margin: 0 auto;
    width: 80%;
    border-radius: 10px;
}

.btn:hover {
    transform: scale(1.1, 1.1);
}

#information {
    margin-top: 20vh;
    width: 100%;
    display: grid;
    position: relative;
    text-align: center;
    contain: content;
    padding-bottom: 100vh;
    /*明転が入る幅の調節*/
}

#information h1 {
    position: relative;
    margin: 0;
    color: white;
    font-size: 3rem;
    width: 30%;
    height: auto;
    top: 40%;
    left: 35%;
}

#information h2 {
    position: relative;
    margin: 0;
    color: white;
    font-size: 3rem;
    width: 30%;
    height: auto;
    top: 10%;
    left: 35%;
}

#space-lightChange-listener {
    position: relative;
}

#space-lightChange {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255);
    pointer-events: none;
    opacity: 0;
    z-index: 400;
}

#space-lightChange.moving {
    animation: flash 2s ease-out;
}

@keyframes flash {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#sky {
    position: relative;
    width: 100%;
    margin: 0;
    padding-top: 1px;
    /* margin相殺防止 */
}

/* ↓ fullscreen設定アリ */
#cloudArea {
    display: grid;
    position: relative;
    margin: 0 auto;
    /* jsでtop450vhから出現 */
    /* margin-top: 150vh; */
    padding-top: 1px;
    /* margin相殺防止 */
    top: 100vh;
    width: 100%;
    height: 150vh;
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

#cloud_wrapper {
    /*雲をcloudAreaの相対指定をしたかったが、画面固定するために、position要素fixedを使用しているため、このdiv要素を間にかませた。*/
    display: grid;
    position: relative;
    margin: 0 auto;
    /* margin-top: 50vh; */
    width: 100%;
    /* height: 100%; */
    text-align: center;
    z-index: 10;
}

.cloud {
    position: absolute;
    display: none;
    max-width: 45%;
    max-height: 30%;
    top: 0%;
    left: 0%;
    z-index: 10;
    transition: all 0.5s ease-in;
}

#project {
    /* margin-top: 150vh; */
    width: 100%;
    display: grid;
    position: relative;
    text-align: center;
}

#project h1 {
    position: relative;
    margin: 0;
    color: black;
    font-size: 2.5rem;
    width: 30%;
    height: auto;
    top: 40%;
    left: 35%;
}

#project h2 {
    position: relative;
    margin: 0;
    color: black;
    font-size: 3rem;
    width: 30%;
    height: auto;
    top: 10%;
    left: 35%;
}




/*協賛企業の装飾は別ファイル*/
#sponsor {
    margin: 0;
    width: 100%;
    display: grid;
    position: relative;
    text-align: center;
}

#sponsor p {
    font-size: 2em;
}

#countDown {
    margin: 0 auto;
    width: 90%;
    display: grid;
    position: relative;
    text-align: center;
}

#backPlate {
    position: relative;
    margin: 0;
    top: 10%;
    left: 10%;
    width: 80%;
    height: auto;
    font-size: 2em;
    background-color: #77aaca;
    border-radius: 20px;
}

#message {
    position: relative;
    margin: 0;
    top: 0;
    left: 0;
    color: white;
}

#countDown .timer {
    position: relative;
    color: white;
    max-width: 60ch;
    font-size: 5.5vw;
    line-height: 1.6;
    margin: 0 auto;
}

#countDown h2 {
    position: relative;
    max-width: 60ch;
    font-size: 3.5vw;
    line-height: 1.6;
    margin: 0 auto;
}

footer {
    margin-top: 20vh;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #cfeaff;
    font-family: sans-serif;
    padding-top: 1px;
    width: 100%;
    z-index: 0;
}

#inquiry_sns {
    display: grid;
    position: absolute;
    margin: 0;
}