html {
    font-family: "Noto Sans JP";
    font-weight: 900;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: black;
    color: white;

}

div.main-gallery {
    flex-direction: row;
}

body:not(div.main-gallery) {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

footer {
    margin-top: auto;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    background-color: black;
    text-align: left;
    flex-wrap: wrap;
    background-color: magenta;
}

.heyfumi-main {
    font-size: 64px;
    flex-wrap: wrap;
    padding-left: 2dvh;
    margin-bottom: 0;
    margin-top: 2dvh;
    color: magenta;
}

.heyfumi-text {
    word-wrap: break-word;
    font-size: 55px;
    flex-wrap: wrap;
    padding-left: 2dvh;
    margin-top: 0;
    color: magenta;
}

.main-list ul {
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding-left: 2dvh;
    padding-right: 2dvh;
    list-style-type: none;
}

.copyright {
    padding-left: 2dvh;
    padding-right: 2dvh;
    font-size: 18px;
    flex-wrap: wrap;
}

.list a {
    margin: 0;
    text-decoration: none;
    font-size: 18px;
    color: black;
    flex-wrap: wrap;
}

.main-text {
    margin: 0;
    font-size: 22px;
}

.main-gallery {
    margin: 0;
    font-size: 22px;
}

.text {
    padding-left: 2.25dvh;
    padding-right: 2.25dvh;
    text-align: justify;
}

.heyfumi-line {
    margin-right: 2.25dvh;
    margin-left: 2.25dvh;
    border: none;
    border-top: 1dvh solid magenta;
    text-decoration: none;
}

.main-gallery {
    padding-top: 2.25dvh;
    padding-right: 2.25dvh;
    padding-left: 2.25dvh;
    padding-bottom: 2.25dvh;
    float: left;
    max-width: 256px;
    max-height: 144px;
    min-width: 256px;
    min-height: 144px;
    width: 25%;
    height: 25%;
}

div.gallery img {
    max-width: 256px;
    max-height: 144px;
    min-width: 256px;
    min-height: 144px;
    width: 100%;
    height: 100%;
}

.gallery-text {
    position: relative;
    text-align: center;
    bottom: 60px;
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
    text-shadow: 0 0 8px rgb(255, 0, 191);
    padding-right: 1dvh;
    padding-left: 1dvh;
}

.gallery-text-2 {
    position: relative;
    text-align: center;
    bottom: 92px;
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
    text-shadow: 0 0 8px rgb(255, 0, 191);
    padding-right: 1dvh;
    padding-left: 1dvh;
}

.back-gallery p {
    margin-top: 36px;
    margin-bottom: 36px;
    font-size: 48px;
}

.back-gallery {
    padding-top: 2.25dvh;
    padding-right: 2.25dvh;
    padding-left: 2.25dvh;
    padding-bottom: 2.25dvh;
    float: left;
    max-width: 256px;
    max-height: 144px;
    min-width: 256px;
    min-height: 144px;
    width: 25%;
    height: 25%;
}

.back-button {
    margin: auto;
    position: relative;
    text-align: center;
    color: white;
    text-shadow: 0 0 16px rgb(255, 0, 191);
}

.back-button a {
    color: white;
    text-decoration: none;
}