/* -------- ここからリセット ------- */
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
address,
em,
img,
small,
strong,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
table,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
footer,
header,
nav,
section {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
header,
footer,
aside,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
    list-style-type: none;
}

* {
    box-sizing: border-box;
}

/* -------- ここまでリセット ------- */

/*全ページ共通*/
@charset "UTF-8";

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

html {
    background-image: url(../img/awrapback.png);
    color: #4e4e4e;
    font-size: 14px;
    font-weight: 500;
    height: 100%;
    line-height: 1rem;
    position: relative;
    width: 100%;
}

body {
    height: 100%;
    position: relative;
    width: 100%;
}

.touch_hover {
    background-color: #8fe3c3;
}

a {
    color: #794f3b;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: (0, 0, 0, 0);
    opacity: 1;
    transition: .2s ease-in;
    text-decoration: none
}

a:hover {
    opacity: .6
}

h2 {
    color: #ff718c;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

h4 {
    color: #078bfb;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto;
}

hr {
    border: 0px solid white;
    background-image: url(../img/line.png);
    height: 30px;
    background-repeat: repeat-x;
    width: 50%;
    margin: 1rem auto;
    text-align: center;
}

hr.slash-3 {
    height: 8px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="3px" height="3px" viewBox="0 0 3 3" fill="hsla(0, 0%, 65%, 1.0)"><polygon points="0,0.5 0,1.5 1.5,3 2.5,3"/><polygon points="2.5,0 1.5,0 3,1.5 3,0.5"/></svg>');
    background-size: 3px 3px;
    width: 65%;
}

#top_image {
    padding: 0;
    position: relative;
    margin: 0;
    width: 100%;
}

.pagetop {
    position: fixed;
    bottom: 10px;
    right: 0px;
    z-index: 10000;
}

.pagetop a {
    display: block;
    text-align: center;
    padding: 5px 10px;
}

.pagetop a img {
    height: auto;
    width: 60px;
    opacity: 0.9;
}

.pagetop a:hover {
    display: block;
    text-align: center;
    padding: 5px 10px;
    opacity: 0.7;
}

footer {
    background-image: url(../img/foot.png);
    background-repeat: repeat-x;
    padding: 1rem 0 0.5rem 0;
    text-align: center;
    position: relative;
    right: 50%;
    left: 50%;
    margin-right: -50%;
    margin-left: -50%;
    width: 100%;
}

footer address {
    font-weight: 500;
    line-height: 1rem;
    margin: 0;
    padding-top: 12rem;
}

footer p,
footer a {
    color: white;
    font-style: normal;
    margin-bottom: 1rem;
}

footer small {
    color: white;
    margin: 0;
}

/*ここまで全ページ共通*/


/*ここからPC用*/
@media screen and (min-width: 1025px) {

    h1 {
        display: block;
        margin: 0 auto;
        width: 800px;
        line-height: 1.5rem;
        font-size: 1.2rem;
        text-align: left;
    }

    section {
        background-color: white;
        box-shadow: 0 0 16px #9d9d9d;
        border-radius: 4px;
        margin: 2rem auto 5rem;
        padding: 2rem;
        height: auto;
        width: 800px;
    }

    .pc_logo {
        display: block !important;
        margin: 0 auto;
        width: 100%;
    }
}


/*ここからipad用*/
@media screen and (max-width: 1024px) {
    html {
        font-family: "M PLUS Rounded 1c";
    }

    h1 {
        font-size: 1.2rem;
        text-align: center;
    }

    section {
        background-color: white;
        box-shadow: 0 0 6px #999;
        border-radius: 4px;
        margin: 2rem auto 5rem;
        padding: 2rem;
        height: auto;
        width: 100%;
    }

    .pc_logo {
        display: block !important;
        margin: 0 auto;
        width: 100%;
    }
}

/*ここからスマホ用*/
@media screen and (max-width: 767px) {
    html {
        font-family: "M PLUS Rounded 1c";
    }

    body {
        font-size: 14px;
        background-image: url(../img/awrapback.png);
    }

    h1 {
        font-size: 1rem;
        margin: 1rem auto 2rem;
        padding: 0 1rem;
    }

    h2 {
        font-size: 4vw;
        width: 70%;
    }

    h4 {
        font-size: 4vw;
        width: 70%;
    }

    img.logo {
        display: inline-block;
        width: 30px;
        height: auto;
        margin: 0 auto;
    }

    img {
        margin: 0;
        padding: 0;
        border: 0;
        width: 100%;
        height: auto
    }

    section {
        background-image: url(../img/awrapback.png);
        background-repeat: repeat;
        margin: 0rem auto;
        padding: 2rem 1rem;
        width: 100%;
    }

    .pc_logo {
        display: none !important;
        margin: 0 auto;
        width: 100%;
    }

    footer {
        background-image: url(../img/foot.png);
        background-repeat: repeat-x;
        background-size: auto 100%;
        font-weight: 400;
        padding: 1rem 0 2.5rem 0;
        text-align: center;
        width: 100vw;
    }

    footer address {
        font-style: normal;
        font-weight: 500;
        font-size: 0.9rem;
        line-height: 1rem;
        margin: 0;
        padding-top: 9rem;
    }

    footer small {
        color: white;
        margin: 1rem auto;
    }
}
/*パソコン用*/
@media screen and (min-width: 1025px) {
    #top_image {
        background-image: url('../img/staff_bg.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        padding: 0;
        margin: 0;
        height: 500px;
        width: 100%;
        max-width: 2000px;
        overflow: hidden;
    }

    #header-dot {
        background-image: url(../img/dot2.pnasg);
        margin: 0;
        padding-top: 80px;
        height: 100%;
        width: 100%;
    }
}

/*ipad用*/
@media screen and (max-width: 1024px) {
    #top_image {
        background-image: url('../img/staff_bg.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        padding: 0;
        margin: 0;
        height: 55vw;
        width: 100%;
        overflow: hidden;
    }
}

/*スマホ用*/
@media screen and (max-width: 767px) {
    #top_image {
        background-image: url('../img/staff_bg.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        padding: 0;
        margin-top: 60px;
        height: 55vw;
        width: 100%;
        overflow: hidden;
    }
    #guidelines {
        background-image: url('../img/background_1.jpg');
    }
}