@charset "UTF-8";

body {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

header {
    margin: 0px;
    padding: 0px;
}
header h1 {
    font-size: 24px;
    text-align: center;
    margin: 10px;
    padding: 30px 0px 120px;
}

main {
    margin: 0px;
    padding: 0px;
}
main div {
    margin: 0px;
    padding: 0px 0px 80px;
}
main div h2 {
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-indent: 1em;
    line-height: 300%;
    border-style: solid;
    border-color: #000000;
    border-width: 0px 0px 0px 2px;
    margin: 0px 0px 30px;
}
main div h3 {
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-indent: 1em;
    line-height: 300%;
    margin: 0px 0px 30px;
}

main div ul {
    margin: 0px 0px 60px;
}
main div ul li {
    text-align: left;
    line-height: 150%;
    margin: 0px 0px 20px;
}
main a {
    font-size: 16px;
    color: #0000cc;
    text-decoration: underline;
}
main a:hover {
    color: #333333;
    text-decoration: none;
}

footer {
    text-align: center;
    border-style: solid;
    border-color: #cccccc;
    border-width: 1px 0px 0px 0px;
    margin: 0px;
    padding: 20px 0px;
}

img {
    border: none;
    margin: 0px;
    padding: 0px;
}

/**
 * ハンバーガーメニュー
 */
* {
    box-sizing: border-box;
}
nav {
    top: 0;
    margin: 0px;
    padding: 0px;
}
nav ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.menu {
    position: fixed;
    top: 0;
    right: -70%;
    width: 70%;
    height: 100vh;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    background-color: #000000;
    opacity: 0.75;
    transition: .3s;
    padding: 0 0 30%;
}
.menu-list {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
}
.menu.open {
    position: absolute;
    right: 0;
}
.menu-list a {
    color: #ffffff;
    text-decoration: none;
}
.menu-list a:hover {
    color: #cccccc
}
::before, ::after {
    box-sizing: inherit;
}
button {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    vertical-align: middle;
    text-align: inherit;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.btn {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    z-index: 10;
}
.btn-line {
    display: block;
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #cccccc;
    transition: .2s;
}
.btn-line::before,
.btn-line::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #cccccc;
    transition: .5s;
}
.btn-line::before {
    transform: translateY(-16px);
}
.btn-line::after {
    transform: translateY(16px);
}
.btn-line.open {
    background-color: transparent;
}
.btn-line.open::before ,
.btn-line.open::after {
    content: "";
    background-color: #333333;
    transition: .2s;
}
.btn-line.open::before {
    transform: rotate(45deg);
}
.btn-line.open::after {
    transform: rotate(-45deg);
}
body.fixed {
    position: fixed;
}

/**
 * トップにスクロールするボタン
 */
#fortop {
    position: fixed;
    bottom: 5em;
    right: 1em;
    width: 4em;
    display: none;

    background-color: #333333;
    opacity: 0.75;
    border-radius: 6px;
    text-align: center;
    margin: 0px;
    padding: 10px;
}
#fortop a {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
}
#fortop a:hover {
    color: #cccccc;
}

/**
 * タブレット: 481px以上に適用されるCSS
 */
@media screen and (min-width: 481px) {
    body {
        text-align: center;
    }
    header, main, footer {
        width: 480px;
        margin: 0px auto;
    }
    .btn {
        display: none;
    }
}

/**
 * PC: 960px以上に適用されるCSS
 */
@media screen and (min-width: 960px) {
    body {
        text-align: center;
    }
    header, main, footer {
        width: 960px;
        margin: 0px auto;
    }
    .btn {
        display: none;
    }
}