/* loading_progressBar アニメーション */
#loadingBar-container {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: #000000;
    color: #fff;
    text-align: center;
}

#loadingBar {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: #fff;
}

*{
    font-family: "Pixelify Sans", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333333;
    background-color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.fadein {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s;
    display: flex;
}

@media (max-width: 786px) {
    .fadein {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}
header {
    position: fixed;
    z-index: 998;
    height: 80px;
    width: 100%;
    background-color: #f2f2f261;
    backdrop-filter: blur(8px);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    font-size: 24px;
    letter-spacing: 0.1em;
    margin-left: 20px;
}

header ul {
    display: flex;
    column-gap: 40px;
    justify-content: space-between;
    list-style: none;
}

header a {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}
header .container ul li:nth-child(1) a:hover {
    color: #119100;
}
header .container ul li:nth-child(2) a:hover {
    color: #ff0000;
}
header .container ul li:nth-child(3) a:hover {
    color: #0066ff;
}
@media(max-width:786px) {
    header .container {
        justify-content: center;
    }
    header h1 {
        margin: 0 0;
    }
    header ul {
        display: none;
    }
}

.firstview {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.firstview-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.firstview h1 {
    font-size: 100px;
    margin: 0;
    letter-spacing: 0.05em;
}

.rotating-text {
    font-size: 36px;
    margin-top: 20px;
    height: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-item {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeInOut 4s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.firstview video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    pointer-events: none;
}
@media (max-width: 786px) {
    .firstview h1 {
        font-size: 80px;
    }
}
.gradation {
    position: relative;
}
.gradation::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, transparent, transparent, transparent, transparent, transparent,  #ffffff);
}

.survival {
    margin-top: 50px;
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    overflow: hidden;
}

.survival img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    pointer-events: none;
}

.section1-container {
    position: absolute;
    top: 45%;
    left: 4%;
    width: 100%;
    height: 0%;
    display: flex;
    flex-direction: column;
    row-gap: 7px;
}

.survival h1 {
    font-size: 120px;
    color: #ffffff;
    text-shadow: 2px 2px 4px #000000;
}

.survival-p1 {
    font-size: 18px;
    color: #ffffff;
    text-shadow: 1px 1px 3px #000000;
}

.survival-p2 {
    font-size: 18px;
    color: #ffffff;
    text-shadow: 1px 1px 3px #000000;
}
@media (max-width: 786px) {
    .section1-container {
        position: static;
    }
    .survival h1 {
        font-size: 85px;
    }
    .survival-p1, .survival-p2 {
        font-size: 15px;
    }
}

.gradation2 {
    position: relative;
}
.gradation2::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #ffffff, transparent, transparent, transparent, #000000);
}

.pvp {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #1a1a1a;
    overflow: hidden;
}

.pvp img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    pointer-events: none;
}

.section2-container {
    position: absolute;
    top: 45%;
    left: 4%;
    width: 100%;
    height: 0%;
    display: flex;
    flex-direction: column;
    row-gap: 7px;
}

.pvp h1 {
    font-size: 160px;
    color: #ffffff;
    text-shadow: 2px 2px 4px #000000;
}

.pvp-p1 {
    font-size: 18px;
    color: #ffffff;
    text-shadow: 1px 1px 3px #000000;
}

.pvp-p2 {
    font-size: 18px;
    color: #ffffff;
    text-shadow: 1px 1px 3px #000000;
}
@media (max-width: 786px) {
    .pvp img {
        object-position: -500px;
    }
    .section2-container {
        position: static;
    }
    .pvp h1 {
        font-size: 120px;
    }
    .pvp-p1, .pvp-p2 {
        font-size: 15px;
    }
}
.gradation3 {
    position: relative;
}
.gradation3::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg,#000000,transparent, transparent, transparent, transparent, transparent, #ffffff);
}

.build {
    margin-top: 50px;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.build img {
    width: 50%;
    height: 100vh;
    object-fit: cover;
    pointer-events: none;
}

.section3-container {
    position: absolute;
    top: 30%;
    left: 55%;
    width: 100%;
    height: 0%;
    display: flex;
    flex-direction: column;
    row-gap: 7px;
}

.build h1 {
    font-size: 160px;
    color: #000000;
    text-shadow: 2px 2px 4px #ffffff;
}

.build-p1 {
    font-size: 16px;
    color: #000000;
    text-shadow: 1px 1px 3px #ffffff;
}

.build-p2 {
    font-size: 18px;
    color: #000000;
    text-shadow: 1px 1px 3px #ffffff;
}
@media (max-width: 786px) {
    .build img {
        width: 100%;
    }
    .section3-container {
        position: static;
    }
    .build h1 {
        color: #ffffff;
        font-size: 100px;
        text-shadow: 1px 1px 3px #000000;
    }
    .build-p1, .build-p2 {
        color: #ffffff;
        font-size: 14px;
        text-shadow: 1px 1px 3px #000000;
    }
}
.gradation4 {
    position: relative;
}
.gradation4::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #ffffff, transparent, transparent, transparent,transparent);
}

footer {
    width: 100%;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

footer p {
    color: #666666;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin: 0;
}

footer a {
    text-decoration: underline;
}

/* licenses.html styles */
body.licenses-page {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

body.licenses-page .container {
    max-width: 100vw;
    background-color: white;
}

body.licenses-page h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

body.licenses-page h2 {
    color: #555;
    margin-top: 30px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.license-item {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #8B4513;
}

.license-item h3 {
    margin-top: 0;
    color: #333;
}

.license-item p {
    margin: 10px 0;
    line-height: 1.6;
    color: #666;
}

body.licenses-page a {
    color: #0066cc;
    text-decoration: underline;
    overflow-wrap: break-word;
    word-break: break-word;
}

.license-original-code-title {
    overflow-wrap: break-word;
    word-break: break-word;
}

body.licenses-page footer {
    text-align: center;
    background-color: #ddd;
    margin-top: 30px;
}

body.licenses-page footer a {
    color: #666;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin: 0;
}