* {
    margin: 0;
}

html {
    min-width: 700px;
    font-family: "Noto Sans JP", sans-serif;
}

a {
    color: #000;
    text-decoration: none;
}

.notoSans {
    font-family: "Noto Sans JP";
}

.cormorant {
    font-family: "Cormorant";
}

.notoSerif {
    font-family: "Noto Serif JP";
}

.light {
    font-weight: 300;
}

.regular {
    font-weight: 400;
}

.medium {
    font-weight: 500;
}

.bold {
    font-weight: 700;
}

.white {
    color: #FFF;
}

.black {
    color: #000;
}

.red {
    color: #E41A1A;
}

#splashScreen {
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: #FFF;
    z-index: 2;
    pointer-events: auto;
    animation: fadeOut 1s ease 4.5s forwards;
}

#splashCursiveLogo {
    width: 20vw;
    opacity: 0;
}

.loaded#splashCursiveLogo {
    opacity: 1;
}

.loaded#splashCursive1 {
    stroke-dasharray: 202px;
    animation: splashCursive1 4s 1;
}

.loaded#splashCursive2 {
    stroke-dasharray: 8px;
    animation: splashCursive2 4s 1;
}

@keyframes splashCursive1 {
    0% {
        stroke-dashoffset: 202px;
        animation-timing-function: cubic-bezier(.09, .91, .29, .99);
    }
    100% {
        stroke-dashoffset: 0px;
    }
}

@keyframes splashCursive2 {
    0% {
        stroke-dashoffset: 8px;
        animation-timing-function: cubic-bezier(.09, .91, .29, .99);
    }
    30% {
        stroke-dashoffset: 8px;
        animation-timing-function: cubic-bezier(.09, .91, .29, .99);
    }
    100% {
        stroke-dashoffset: 0px;
    }
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        pointer-events: none;
    }
}

.fadeOut {
    opacity: 0;
    transition: 1s;
}

#sideBar {
    width: 15vw;
    max-width: 200px;
    min-width: 150px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #E41A1A;
    box-shadow: 0 0 10px #0008;
    z-index: 1;
}

#navLogo {
    display: block;
    margin: 30px;
    background-color: #E41A1A;
}

ul {
    width: 100%;
    padding: 0;
    list-style: none;
}

ul li {
    padding: 10px 0;
    margin: 5px 0;
    display: flex;
    justify-content: center;
}

ul li a {
    font-size: clamp(16px, 1.65vw, 21px);
}

#twitterLogo {
    width: 100%;
    position: absolute;
    bottom: 0;
}

#twitterLogo a {
    display: block;
    margin: 41%;
    margin-bottom: 20%;
}

#twtrL {
    fill: #FFF;
}

#main {
    margin-left: clamp(150px, 15vw, 200px);
}

#contents {
    width: 100%;
    height: 100%;
    opacity: 0;
}

.loaded#contents {
    animation: fadeIn 1s ease 5.0s forwards;
}

@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}

#topImg {
    pointer-events: none;
    width: 100%;
    height: 50vh;
    background-image: url("./assets/img/top_banner.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    position: relative;
}

#topImg::before {
    width: 100%;
    height: 50vh;
    z-index: 0;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#topImg p {
    padding: 0 0.5vh;
    color: white;
    z-index: 1;
    font-size: 5vh;
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    background: linear-gradient(-90deg, transparent 50%, #000 50%);
    background-size: 200% 100%;
    background-position: 100% 50%;
    animation: top_txt_mkr 1s ease 5s forwards;
}

@keyframes top_txt_mkr {
    100% {
        background-position: 0% 50%;
    }
}

#topMenu {
    width: 100%;
    background-color: #000;
    display: flex;
    justify-content: space-around;
}

#topMenu a {
    width: 30%;
    padding: 2vh 0;
    display: flex;
    justify-content: center;
    transition: 0.3s;
}

#topMenu a:hover {
    background-color: #222;
}

#topMenu a p {
    color: white;
    font-size: 2vh;
}

#topMenu a .allow {
    margin-left: 5px;
    transform: rotate(90deg);
    position: relative;
    transition: 0.5s;
}

#topMenu a:hover .allow {
    transform: translateX(10px) rotate(90deg);
}

#news {
    margin: max(16px, 1.5vw) 10%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.box {
    width: 40%;
    margin: max(16px, 1.5vw);
    padding: max(16px, 1vh);
    background-color: #FFF;
    box-shadow: 0 0 10px #0002;
}

.blankBox {
    width: 40%;
    margin: max(16px, 1.5vw);
    padding: max(16px, 1vh);
    background-color: #FFF;
    box-shadow: 0 0 10px #0002;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

@media screen and (orientation: portrait) {
    .box,
    .blankBox {
        width: 100%;
    }
}

.blankBox svg {
    height: 64px;
    opacity: 10%;
}

.box .sentence {
    margin-top: 0.5em;
    margin-left: 1em;
}

footer {
    width: 100%;
    height: 100px;
    background-color: #EEE;
    display: flex;
    align-items: center;
}

#footerMenu {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

#footerLogo {
    width: 2.5em;
    cursor: pointer;
}

#footerMenu a {
    width: 5em;
    font-size: 1.2em;
    display: flex;
    justify-content: center;
    align-items: center;
}