@charset "UTF-8";

@import url("./reset.css");
@import url("./header.css");
@import url("./footer.css");

@font-face {
    font-family: avenir-next-condensed-regular;
    src: url(../font/avenir-next-condensed-regular.woff) format("woff");
}

html, * {
    font-family: avenir-next-condensed-regular,Arial,Helvetica,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,游ゴシック体,Yu Gothic,YuGothic,メイリオ,Meiryo,sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 10px;
}

body {
    width: 100%;
    height: 100%;
}

main {
    width: 100%;
    min-height: calc(82vh - 70px);
    margin-top: 18vh;
}

a {
    text-decoration: none;
    color: #000;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    letter-spacing: 2px;
    font-weight: normal;
}

h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: normal;
}

main > section {
    width: 70%;
    margin: auto;
}

#page_top {
    display: block;
    position: fixed;
    bottom: 80px;
    right: 0px;
    width: 50px;
    height: 14vh;
    min-height: 100px;
    background-color: #eae8e1;
    box-shadow: 0px 5px 5px rgba(100,100,100,0.5);
    border-radius: 10px 0px 0px 10px;
}


#page_top::before {
    content: "";
    display: block;
    width: 8px;
    height: calc(100% - 40px);
    border-top: 4px solid #665a1a;
    border-right: 1px solid #665a1a;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) skew(0deg, -70deg);
    -webkit- transform: translateY(-50%) translateX(-50%) skew(0deg, -70deg);
}

#page_top:hover {
    background-color: #e8e6d8;
}


pre {
    /*display: block; */
    /* overflow-wrap: break-word; */
    width: 100%;
    white-space: pre-wrap;

}


/*960px以下*/
@media screen and (max-width: 960px) {
    body main {
        margin-top: 70px;
        min-height: calc(100vh - 140px);
    }

    body main > section {
        width: 100%;
    }

    main > section:first-of-type {
        padding: 50px 20px;
    }

    h2 {
        text-align: center;
    }
    #page_top {
        z-index: 1;
    }

}

/*520px以下*/
@media screen and (max-width: 520px) {
    main > section:first-of-type {
        padding: 30px 20px;
    }
}