/* 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 */

.pink {
    width: min(95%, 1300px);
    margin: 0 auto;
    text-align: center;
}

.pink a {
    color: #ff5596;
    font-size: min(3vw, 14px);
}

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: #f67f93;
}

#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: 80px 0 20px;
    text-align: center;
}

/* PC */

.top_main {
    padding: min(10vw, 60px) 0;
    background: linear-gradient(90deg, #ffddec, #fff, #ffddec);
}

.top_main img {
    display: block;
    width: min(90%, 900px);
    margin: 0 auto;
}

.wrap {
    width: min(95%, 1300px);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 auto;
    padding-top: 20px;
}

h4.oatime {
    width: 100%;
    text-align: center;
    background: linear-gradient(to right, #f9a0af, #f67f93, #f9a0af);
    padding: 1.5em 0;
}

h4.oatime span {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 600;
    color: #fff;
    display: inline-block;
    font-size: min(4vw, 24px);
    text-shadow: 0px 0px 4px #f67f93;
}

.wrap #right_side {
    padding-top: 0;
}

.wrap .left_side {
    width: min(calc(100% - 320px), 980px);
}

.wrap article {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
    border-radius: 20px;
    border: 4px solid #ffddec;
    text-align: left;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;
    font-size: min(3.2vw, 18px);
    padding: 2em 1.5em;
    margin-bottom: min(6vw, 40px);
}

main {
    background: url(../images/bg.png);
    background-repeat: repeat;
    background-size: 12px 12px;
}

article section {
    transform: rotate(0.03deg);
    margin-bottom: min(6vw, 50px);
}

article section:last-of-type {
    margin-bottom: 0;
}

article section h1 {
    font-size: min(4vw, 24px);
    margin-bottom: 0.5em;
    padding-bottom: 0.3em;
    font-weight: 600;
    border-bottom: 4px dotted #ffddea;
}

article.about section h1 {
    display: flex;
    align-items: center;
}

article.about section h1::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url(../images/ribbon.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.2em;
}

article.about section ul li {
    display: flex;
    align-items: center;
}

article.about section ul li img {
    width: min(50%, 240px);
}

article.about .comment_box {
    display: flex;
    justify-content: space-between;
    padding-top: 2em;
    align-items: flex-start;
}

article.about .comment_box img {
    display: block;
    width: 35%;
}

article.about .comment_box .textarea {
    width: 63%;
}

.textarea p {
    font-size: min(3.2vw, 15px);
}

article.about .comment_box h2 {
    font-size: min(3.8vw, 20px);
    font-weight: bold;
    border-bottom: 1px dashed #bbb;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
}

article.event {
    position: relative;
}

article.event .ribbon {
    display: block;
    position: absolute;
    top: 0;
    left: 1.5em;
    width: min(8vw, 120px);
}

article.event_01 section h1,
article.event_02 section h1 {
    display: block;
    text-align: center;
}

article section h1 small {
    display: block;
    font-size: min(2.5vw, 16px);
}

article.event section p {
    margin-bottom: 2em;
    padding-top: 1em;
}

article.event dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

article.event dl dt {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
    background: #ffddea;
    color: #ff3783;
    width: 25%;
    text-align: center;
    padding-top: 1em;
}

article.event dl dd {
    padding-top: 1em;
    margin-bottom: 3em;
    width: 73%;
}

.textarea a,
.event dl dd a {
    color: #ff5596;
}

article.event dl dd .btn,
article.form a {
    display: inline-block;
    padding: 0.5em 1em;
    background: linear-gradient(45deg, #ff3783, #ff87b5, #ff3783);
    box-sizing: border-box;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s;
    margin-top: 1em;
}

article.event dl dd .btn:hover {
    opacity: 0.75;
}

article.event_01 ul {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
}

article.event_01 ul li {
    width: min(75%, 240px);
    margin-right: 1em;
}

article.event_01 ul li:last-of-type {
    margin-right: 0;
}

article.event_01 ul li img {
    width: 100%;
}

article.event_02 dd img {
    width: min(50%, 240px);
    display: block;
}

article.event_02 .comment_box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

article.event_02 .comment_box img {
    display: block;
    width: 35%;
}

article.event_02 .comment_box .textarea {
    width: 63%;
}

article.event_02 .comment_box h2 {
    font-size: min(3.8vw, 20px);
    font-weight: bold;
    border-bottom: 1px dashed #bbb;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
}

article.event_02 .comment_box a {
    display: inline-block;
    word-wrap: break-word;
}

article.form {
    text-align: center;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    margin-bottom: 1em;
}

article.form a {
    margin-top: 0;
}

.logo_resize {
    flex-wrap: wrap;
}

article.about section ul li.logo_resize img {
    width: min(26%, 200px);
}

/*SP*/

@media screen and (max-width:980px) {
    #header {
        min-height: 80px;
    }

    #page_all {
        overflow-x: hidden;
    }

    #pan_box {
        overflow-x: scroll;
    }

    .wrap {
        width: 95%;
    }

    .wrap .left_side {
        width: 100%;
    }

    .wrap #right_side {
        display: none;
    }

    article.about .comment_box {
        display: block;
    }

    article.about .comment_box img {
        display: block;
        margin: 0 auto;
        margin-bottom: 1em;
    }

    article.about .comment_box .textarea {
        width: 100%;
    }

    article.event dl {
        display: block;
    }

    article.event dl dt,
    article.event dl dd {
        width: 100%;
    }

    article.event dl dt {
        padding: 1em 0 1em 1em;
        text-align: left;
        box-sizing: border-box;
    }

    article.event dl dd {
        padding-top: 0;
    }

    article.event dl dd .btn {
        display: block;
        width: 14em;
        text-align: center;
        margin: 0 auto;
    }

    article.event .ribbon {
        width: min(20vw, 120px);
    }

    .wrap article.event {
        padding-top: min(20.5vw, 130px);
    }

    article.event_02 .comment_box {
        flex-direction: column;
    }

    article.event_02 dd img {
        margin: 0 auto 1em;
    }

    article.event_02 .comment_box .textarea {
        width: 90%;
        margin: 0 auto;
    }
}
