/* 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 */

body {
    font-size: 16px;
    font-family: sans-serif;
    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: #1a2684;
}

#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: 60px 0;
    text-align: center;
}

/* PC */

.bold {
    font-weight: bold;
}

.spbr {
    display: none;
}

.top_main {
    background: linear-gradient(0deg, rgba(198, 230, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(198, 230, 255, 1) 100%);
}

.top_main img {
    width: 800px;
}

.oatime {
    position: relative;
    background: #eee;
    padding: 40px 0;
    text-align: center;
    z-index: 1;
}

.oatime img {
    width: 700px;
}

.oatime .stream_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 14px;
}

.oatime .stream_box img {
    display: block;
    width: 400px;
}

.oatime .stream_box a:nth-of-type(1) {
    margin-right: 20px;
}

main {
    position: relative;
    background: url(../images/bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding-top: 60px;
}

main article {
    position: relative;
    z-index: 1;
}

main section {
    width: min(90%, 980px);
    background: url(../images/sec_bg.jpg);
    background-size: cover;
    background-position: center bottom;
    margin: 0 auto 4em;
    box-shadow: 0px 0px 6px #ae997e;
    padding: 24px 100px 120px;
    box-sizing: border-box;
}

section h1 {
    margin-bottom: 60px;
}

section h2 {
    display: inline-block;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 32px;
    border-bottom: 4px dotted #555;
    color: #da2a2a;
}

section p {
    font-size: 16px;
}

article .bnr {
    display: block;
    width: min(90%, 780px);
    margin: 0 auto;
    transition: 0.2s;
}

article .bnr img {
    width: 100%;
}

article .bnr:hover {
    opacity: 0.75;
}

.weed img {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 0;
}

#sns_button {
    position: relative;
    z-index: 1;
}

.videobox {
    width: 685px;
    height: 385px;
    margin: 0 auto;
}

.videobox iframe {
    width: 100%;
    height: 100%;
}

/*SP*/

@media screen and (max-width:1000px) {
    .spbr {
        display: block;
    }

    #header {
        min-height: 80px;
    }

    #page_all {
        overflow-x: hidden;
    }

    #pan_box {
        overflow-x: scroll;
    }

    .top_main img {
        width: 100%;
    }

    .oatime {
        padding: 5vw 0;
    }

    .oatime img {
        width: 85%;
    }

    .oatime .stream_box {
        display: block;
        padding-top: 3vw;
    }

    .oatime .stream_box a {
        display: block;
        width: min(85%, 320px);
        margin: 0 auto;
    }

    .oatime .stream_box img {
        display: block;
        width: 100%;
    }

    .oatime .stream_box a:nth-of-type(1) {
        margin: 0 auto 0.3em;
    }

    main {
        padding-top: 4vw;
    }

    main article {
        text-align: left;
    }

    main section {
        padding: 24px 6vw 10vw;
        margin-bottom: 2em;
        text-align: center;
    }

    main section h1 {
        text-align: center;
        margin-bottom: 4vw;
    }

    main section h2 {
        font-size: 18px;
        margin: 0 auto 4vw;
        text-align: center;
    }

    main section h1 img {
        width: min(80%, 400px);
    }

    main section p {
        font-size: 14px;
        text-align: left;
    }

    .videobox {
        width: 90%;
        height: 50vw;
        margin: 0 auto;
    }
}
