@font-face {
    font-family: "Noto serif";
    src: url("/Images/furusato-movie/assets/NotoSerifJP-Regular.otf") format("opentype");
}

@font-face {
    font-family: "Noto sans";
    src: url("/Images/furusato-movie/assets/NotoSansJP-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Libre Baskerville";
    src: url("/Images/furusato-movie/assets/LibreBaskerville-Regular.ttf") format("truetype");
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1.5s 2.5s forwards;
}

div#header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
}

.navigation {
    position: relative;
    padding: 15px;
}

#container {
    margin-top: 60px;
}

body {
    font-family: "Noto serif";
    color: #242422;
    margin: 0 auto;
    max-width: 100%;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.list {
    padding-left: 10px;
}

.loading__logo {
    opacity: 0;
    animation: logo_fade 2s 0.5s forwards;
    width: 10%;
}

@keyframes logo_fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    60% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
    }
}

.main-image {
    width: 100%;
}

nav {
    font-family: "Libre Baskerville", "Noto serif", serif;
    font-size: 1.4rem;
}

nav ul {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.616);
    display: table;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: 2.7rem;
    text-align: center;
}

nav ul li {
    display: table-cell;
    min-width: 50px;
}

nav ul li a {
    font-family: "Libre Baskerville", serif;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.5rem 0;
    text-decoration: none;
    color: palevioletred !important;
}

nav ul li a:hover {
    color: #0089BB;
}

nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
}

html {
    max-width: 1.0;
    scroll-behavior: smooth;
}

.main-image {
    margin-top: 2.7rem;
}

.story-body {
    text-align: center;
    margin: 0 auto;
}

.story {
    font-family: "Noto serif";
    margin: 0 auto;
    margin-bottom: 3em;
    font-size: 1.4rem;
}

section {
    margin-bottom: 7rem;
}

.news-date {
    font-size: 1.4rem;
}

.staff1 {
    font-family: "Noto sans";
}

.staff2 {
    font-family: "Noto sans";
}

.staff-a {
    font-size: 2.3rem;
    line-height: 1.5em;
}

.staff-b {
    font-size: 1.4rem;
    line-height: 1.5em;
}

.staff-c {
    font-size: 1.9rem;
    line-height: 1.5em;
}

.staff-d {
    line-height: 1.5em;
}

.staff1 {
    text-align: center;
    margin-bottom: 3rem;
}

.staff1 p {
    line-height: 1.5em;
}

.staff2 {
    text-align: center;
}

.staff2 p {
    line-height: 1.5em;
}

.section-title {
    text-align: center;
    font-size: 1.9rem;
    color: palevioletred;
    font-family: "Libre Baskerville", serif;
    margin-top: 2em;
    margin-bottom: 1em;
}

.cast-info {
    margin: 0 auto;
    text-align: center;
    width: 60%;
}

.cast-data {
    font-family: "Noto sans";
    display: inline-block;
    width: 100%;
    text-align: left;
}

.cast-data-1 {
    font-size: 1.2rem;
    line-height: 2em;
}

.cast-name {
    font-family: "Noto serif";
    font-size: 1.9rem;
}

.centering {
    display: flex;
    justify-content: space-evenly;
}

.movie-wrapper {
    margin: 0 auto;
    width: 60%;
}

.location-wrapper {
    font-family: "Noto sans";
    margin: 0 auto;
    width: 60%;
}

.location-item {
    width: 30%;
    margin-bottom: 3em;
}

.location-name {
    font-size: 1.4rem;
    line-height: 2;
}

.comment-data {
    border: 1px solid palevioletred;
    padding: 0rem 1rem;
    margin-bottom: 1rem;
}

.comment-wrapper {
    font-family: "Noto sans";
    margin: 0 auto;
    width: 60%;
}

.comment-name {
    font-size: 20px;
    color: palevioletred;
}

.comment-background {
    padding-top: 1rem;
    padding-bottom: 7rem;
    background-image: url(/Images/furusato-movie/background.png);
    background-size: 100%;
}

.comments {
    font-family: "Noto sans";
    line-height: 2;
}

.upfade {
    opacity: 0;
    z-index: 10;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(150px);
}

.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    transform: translateY(0);
}

.rightfade {
    opacity: 0;
    z-index: 10;
    visibility: hidden;
    transition: all 1s;
    transform: translateX(-100%);
}

.is-active2 {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    transform: translateX(0);
}

.news-body {
    font-family: "Noto serif";
    width: 40%;
    margin: 0 auto;
    line-height: 2em;
}

.news-wrapper {
    width: 50%;
    margin: 0 auto;
}

.news-title {
    font-size: 1.8rem;
    color: palevioletred;
    line-height: 1em;
}

.news-item {
    border: 1px solid palevioletred;
    padding: 0rem 1rem 1rem 1rem;
    margin: 1.5rem;
}

.banner-wrapper {
    margin: 0 auto;
    width: 50%;
}

.centering2 {
    display: flex;
    justify-content: space-evenly;
}

.centering2 img {
    max-width: 234px;
    height: auto;
}

@media only screen and (max-width: 576px) {
    #container {
        font-size: 0.9rem;
    }

    .centering {
        display: flex;
        flex-flow: column;
    }

    .whats_new_table {
        width: 85%;
    }

    .whats_new_td {
        padding-right: 1.5rem;
    }

    nav ul {
        display: flex;
        flex-flow: column;
    }

    nav ul li {
        display: table-cell;
        min-width: 50px;
    }

    nav {
        font-family: "Libre Baskerville", "Noto serif", serif;
        font-size: 1.2rem;
        position: fixed;
        right: -320px;
        top: 0;
        width: 300px;
        height: 100vh;
        padding-top: 30px;
        background-color: #fff;
        transition: all .6s;
        z-index: 1100;
        overflow-y: auto;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .hamburger {
        position: absolute;
        right: 15px;
        top: 8px;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 1200;
    }

    .cast-info {
        margin: 0 auto;
        text-align: center;
        width: 90%;
    }

    .navigation #list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .navigation #list li {
        text-align: center;
        padding: 0 14px;
    }

    .hamburger_border {
        position: absolute;
        left: 11px;
        width: 18px;
        height: 2px;
        background-color: #333;
        transition: all .6s;
    }

    .hamburger_border_top {
        top: 14px;
    }

    .hamburger_border_center {
        top: 20px;
    }

    .hamburger_border_bottom {
        top: 26px;
    }

    .black_bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 100;
        background-color: #333;
        opacity: 0;
        visibility: hidden;
        transition: all .6s;
        cursor: pointer;
    }

    /* 陦ｨ遉ｺ縺輔ｌ縺滓凾逕ｨ縺ｮCSS */
    .nav-open nav {
        right: 0;
    }

    .nav-open .black_bg {
        opacity: .8;
        visibility: visible;
    }

    .nav-open .hamburger_border_top {
        transform: rotate(45deg);
        top: 20px;
    }

    .nav-open .hamburger_border_center {
        width: 0;
        left: 50%;
    }

    .nav-open .hamburger_border_bottom {
        transform: rotate(-45deg);
        top: 20px;
    }

    .cast-data-1 {
        font-size: 1rem;
        line-height: 2em;
    }

    .cast-name {
        font-family: "Noto serif";
        font-size: 1.2rem;
    }

    .location-item {
        display: flex;
        width: 100%;
    }

    .location-data {
        width: 60%;
    }

    .location-image {
        width: 40%;
        padding-right: 1rem;
    }

    .location-name {
        line-height: 1.4rem;
        padding-bottom: 1rem;
        font-size: 1.2rem;
    }

    .centering2 {
        display: flex;
        flex-flow: column;
    }

    .movie_item_wrapper img {
        width: 100%;
        margin-bottom: 1rem;
        object-fit: contain;
    }

    .movie_item_wrapper iframe {
        width: 100%;
        margin-bottom: 1rem;
        aspect-ratio: 16/9;
        height: auto;
    }

    .movie_item_wrapper p {
        padding-top: 0;
        margin-top: 0;
        margin-bottom: 2em;
    }

    .story {
        font-family: "Noto serif";
        margin: 0 auto;
        margin-bottom: 3em;
        font-size: 0.9rem;
    }

    .news-wrapper {
        width: 90%;
        margin: 0 auto;
    }

    .comment-wrapper {
        font-family: "Noto sans";
        margin: 0 auto;
        width: 90%;
    }

    .location-wrapper {
        font-family: "Noto sans";
        margin: 0 auto;
        width: 90%;
    }

    .story-body {
        text-align: center;
        margin: 0 auto;
        width: 90%;
    }

    section {
        margin-bottom: 3rem;
    }

    .news-body {
        font-family: "Noto serif";
        width: 90%;
        margin: 0 auto;
        line-height: 2em;
    }

    .staff-a {
        font-size: 1.2rem;
        line-height: 1.5em;
    }

    .staff-b {
        font-size: 1rem;
        line-height: 1.5em;
    }

    .staff-c {
        font-size: 0.9rem;
        line-height: 1.5em;
    }

    .banner-wrapper img {
        margin-bottom: 1rem;
    }
}

@media only screen and (min-width: 577px) {
    .header_inner {
        max-width: 980px;
        width: 100%;
        padding: 15px 30px;
        margin-left: auto;
        margin-right: auto;
    }

    .whats_new_table {
        width: 70%;
        min-width: 400px;

    }

    .whats_new_td {
        padding-right: 1.5rem;
    }

    .navigation #list {
        text-align: left;
    }

    .navigation #list li {
        display: inline-block;
        text-align: left;
        padding-left: 20px;
    }

    .movie_pc {
        display: flex;
        flex-wrap: wrap;
    }

    .movie_item_wrapper {
        text-align: center;
        width: calc(100%/3);
    }

    .movie_item_wrapper iframe {
        aspect-ratio: 16/9;
        width: 90%;
        height: auto;
    }

    .movie_item_wrapper img {
        width: 90%;
        object-fit: contain;
    }
}