/* loader */

#loader {
    background: #fdf3dd;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
}

/*背景*/
.loader,
.loader:before,
.loader:after {
    background: #aaa;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    height: 4em;
    width: 1em;
    top: 50%;
}

.loader {
    color: #ccc;
    text-indent: -9999em;
    margin: auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader:before,
.loader:after {
    position: absolute;
    top: 0;
    content: '';
}

.loader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loader:after {
    left: 1.5em;
}

@-webkit-keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

@keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

/* loader */

#sns_button {
    margin-bottom: 1em;
}

body {
    font-size: 16px;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 400;
    color: #333;
    background: #fff;
    line-height: 1.5;
}

img {
    vertical-align: bottom;
}

.panlist {
    text-align: left;
    font-size: 12px;
    padding-left: 1em;
    color: #fff;
    background: #000;
}

#pagetop a {
    text-decoration: none;
    text-align: center;
    display: block;
    width: 60px;
    line-height: 60px;
    color: #fff;
    background: #333;
    border-radius: 100%;
    position: fixed;
    transition: 0.2s;
}

#pagetop a:hover {
    opacity: 0.75;
    box-shadow: 0px 0px 12px 4px #fff;
}

#footer #f_PC,
footer #f_SP {
    margin: 0 auto !important;
}

#sns_button {
    padding-top: 80px;
    text-align: center;
}

/* PC */

body {
    text-align: left;
    background: url(../images/bg.jpg);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.top_main {
    width: 95%;
    max-width: 1280px;
    display: flex;
    margin: 0 auto;
    padding-top: 2vw;
}

.top_main h3 small {
    font-size: min(3vw, 24px);
}

.top_left {
    width: 50%;
}

.top_left img {
    width: 100%;
}

.top_right {
    width: 50%;
}

.top_right h2 {
    width: 100%;
}

.top_right h2 img {
    width: 100%;
}

.top_right h3 {
    width: 95%;
    font-size: min(3vw, 40px);
    font-weight: 800;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
    margin: 0 auto 1em;
    padding: 0.5em 0;
}

.top_right a,
.bnr_map {
    display: block;
    width: 95%;
    margin: 0 auto;
    transition: 0.2s;
}

.top_right a:hover,
.bnr_map:hover {
    opacity: 0.9;
}

.top_right a img {
    width: 100%;
}

.onlySp {
    display: none;
}

.onlyPc {
    display: block;
}

.top_main.onlyPc {
    display: flex;
}

.oatime {
    background: url(../images/oatime_bg.jpg);
    background-size: cover;
    background-position: center center;
    color: #fff;
    font-weight: 800;
    font-size: min(4.5vw, 40px);
    text-align: center;
    padding: 0.5em 0;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.oatime p {
    line-height: 1;
    margin-bottom: 0.4em;
    transform: rotate(0.03deg);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.oatime small {
    display: block;
    font-size: min(3.5vw, 16px);
    line-height: 2;
}

.oatime p small {
    display: inline;
    font-size: min(3vw, 20px);
}

.oatime span.mx {
    display: inline-block;
    padding: 0.2em;
    background: #167aad;
    margin-right: 0.4em;
    font-size: min(3.5vw, 28px);
}

.oatime p:nth-of-type(2) span.mx,
.oatime p:nth-of-type(3) span.mx {
    background: #fd3279;
}

.oatime p:last-of-type {
    margin-bottom: 0;
}

.oatime .oaday {
    display: inline-block;
    line-height: 1;
}

.oatime .oaday small {
    display: inline-block;
}

.oatime small.caution {
    width: 100%;
}

.oatime .oainfo {
    display: inline-block;
}

.oatime .bnr {
    width: 100%;
    padding-top: 0.25em;
}

.oatime .bnr a {
    display: block;
    width: min(90%, 480px);
    margin:0 auto;
}

.oatime .bnr img {
    width: 100%;
}

.wrap {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.wrap main {
    display: flex;
    justify-content: space-between;
}

.wrap #right_side {
    padding-top: 0;
    font-family: sans-serif;
}

.wrap main article {
    width: calc(100% - 320px);
    transform: rotate(0.03deg);
    font-size: min(2.2vw, 20px);
}

.wrap main section {
    width: 100%;
    background: #fff;
    box-sizing: border-box;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0px 0px 4px #ccc;
    margin-bottom: 40px;
}

article section h1 {
    text-align: center;
    font-size: min(8vw, 50px);
    font-weight: 800;
    color: #063eb1;
    line-height: 1;
    margin-bottom: 0.5em;
}

article section h1 span {
    display: block;
    font-weight: 400;
    font-size: min(4vw, 16px);
    padding-top: 0.5em;
}

.bnr_map {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.bnr_map img {
    width: 100%;
}

section.cast h2 {
    display: inline-block;
    padding: 0.2em 0 0.2em 0.5em;
    font-size: min(4vw, 28px);
    background: #167aad;
    color: #fff;
    font-weight: 600;
}

section.cast h2:nth-of-type(2),
section.cast h2:nth-of-type(3) {
    background: #fd3279;
}

section.cast ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

section.cast ul::after {
    content: "";
    display: block;
    width: 30%;
    height: 1px;
}

section.cast ul li {
    width: 40%;
    text-align: center;
    margin-bottom: 2em;
    font-weight: 600;
}

section.cast ul li p span {
    background: linear-gradient(0deg, #ddf 30%, transparent 30%);
    padding: 0 1em;
    line-height: 2;
    font-weight: 800;
}

section.cast ul li img {
    width: 85%;
    border-radius: 10px;
}

section.map p {
    margin-bottom: 2em;
}

section.map a.map_about {
    display: block;
    width: 100%;
    margin-bottom: 2em;
}

section.map a.map_about img {
    width: 100%;
}

section.map h2 {
    border-bottom: 1px dashed #555;
    margin-bottom: 4px;
    padding-bottom: 4px;
}

section.map small {
    display: block;
    /*    font-size: 0.8em;*/
    margin-bottom: 2em;
}

.map_form {
    display: block;
    padding: 1em;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(#13aabc, #2767fc);
    transition: 0.2s;
    margin-bottom: 1em;
}

.map_form:hover {
    opacity: 0.75;
}

.map small.caution {
    padding: 1em;
    box-sizing: border-box;
    font-size: 0.8em;
    border: 1px solid #ccc;
    margin-bottom: 0.5em;
}

.map small.caution strong {
    font-weight: bold;
    display: block;
}

section.cast ul li small {
    display: block;
    font-size: 0.7em;
}

/*SP*/

@media screen and (max-width:800px) {
    .onlyPc {
        display: none;
    }

    .top_main.onlyPc {
        display: none;
    }

    .onlySp {
        display: block;
    }

    .top_main {
        position: relative;
    }

    .top_main .cast {
        display: block;
        width: 90%;
        margin: 0 auto;
    }

    .top_main h2 {
        width: 90%;
        margin: 0 auto;
    }

    .top_main h2 img {
        width: 100%;
    }

    .top_main h3 {
        width: 90%;
        font-size: min(4.5vw, 40px);
        font-weight: 800;
        color: #fff;
        background: rgba(0, 0, 0, 0.75);
        text-align: center;
        margin: 0 auto;
        padding: 0.5em 0;
        transform: rotate(0.03deg);
    }

    .top_main a {
        display: block;
        position: absolute;
        bottom: 1em;
        left: 0;
        right: 0;
        width: 90%;
        margin: 0 auto;
    }

    .top_main a img {
        width: 100%;
    }

    .oatime {
        padding: 1em 0;
        align-items: center;
    }

    .oatime p {
        align-items: center;
    }

    .oatime span.mx {
        padding: 0.5em 0.2em;
    }

    #right_side {
        display: none;
    }

    #header {
        min-height: 80px;
    }

    #page_all {
        overflow-x: hidden;
    }

    #pan_box {
        overflow-x: scroll;
    }

    .wrap main article {
        width: 100%;
        font-size: min(4vw, 20px);
    }

    .wrap main section {
        padding: 2em;
    }

    section.cast ul li {
        width: 45%;
    }

    section.cast ul li img {
        width: 100%;
    }
}
