html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

body {
    width: 100%;
    margin: 0 0 80px 0;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Meiryo UI', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

.wrap {
    overflow: hidden;
}

footer {
    text-align: left;
}

footer ul li {
    display: inline-block;
    margin: 5px 15px;
}

footer ul li a {
    text-decoration: none;
    color: #0000ff;
    font-weight: 600;
    font-size: 0.8rem;
}

a:hover {
    opacity: 0.7;
}

.menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}

.menu-trigger {
    opacity: 1;
    display: none;
    transition: all .4s;
    box-sizing: border-box;
    position: fixed;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 26px;
    z-index: 200;
}

.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ccc;
    border-radius: 4px;
}

.menu-trigger span:nth-of-type(1) {
    top: 0;
}

.menu-trigger span:nth-of-type(2) {
    top: 11px;
}

.menu-trigger span:nth-of-type(3) {
    bottom: 0;
}

.menu-trigger span:nth-of-type(2)::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 4px;
    background-color: #ccc;
    border-radius: 4px;
    transition: all .4s;
}

.menu-trigger.active span:nth-of-type(1) {
    transform: translateY(20px) scale(0);
}

.menu-trigger.active span:nth-of-type(2) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.menu-trigger.active span:nth-of-type(2)::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.menu-trigger.active span:nth-of-type(3) {
    transform: translateY(-20px) scale(0);
}

nav.drawer {
    position: fixed;
    z-index: 199;
    top: 0;
    right: -70vw;
    height: 100vh;
    width: 70vw;
    transition: right 400ms;
    background-color: #ebebeb;
    text-align: center;
    overflow-y: hidden;
}

nav.drawer.active {
    right: 0vw;
}

nav.drawer .nav-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

nav.drawer ul {
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

nav.drawer ul li {
    margin-top: 10px;
}

nav.drawer ul li a {
    text-decoration: none;
    color: #000;
    white-space: nowrap;
    font-size: 1.6rem;
    line-height: 2rem;
}

nav.drawer ul li a.small-menu {
    font-size: 1rem;
    line-height: 1.3rem;
}

nav.drawer ul li:nth-child(3) {
    margin-top: 20px;
}

nav.drawer .drawer-line-contact {
    margin-top: 30px;
}

nav.drawer .drawer-line-contact p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00b900;
    margin-bottom: 10px;
}

#layer {
    display: none;
    background: transparent;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 198;
}

#layer.active {
    display: block;
}

.line {
    position: fixed;
    display: flex;
    background: #fff;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

.copyright {
    margin-top: 50px;
    text-align: center;
    width: 100%;
    font-size: 0.8rem
}

.line-contact {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.4);
}

.line-contact-title {
    color: #00b900;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

.line-contact-message {
    font-size: 0.9rem;
}

.line-contact a {
    display: block;
    height: 27px;
}

.line-btn {
    height: 100%;
    object-fit: contain;
}

.horizontal-liner {
    position: relative;
    width: 100%;
    height: 3px;
}

.horizontal-liner span:first-child {
    position: absolute;
    top: 0;
    right: 0;
    height: 2px;
    width: 88%;
    background: #cccccc;
}

.horizontal-liner span:last-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 12%;
    background: #0000ff;
}


.page-top {
    text-align: right;
    margin: 12px 10px;
}

.page-top a {
    text-decoration: none;
    color: #0000ff;
}

.page-top a span.arrow {
    display: inline-block;
    text-align: center;
    border: 0.5px solid #888;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    transform: translate(3px, 3px);
}

.page-top a span.arrow i {
    transform: translateY(2.5px);
}

@media (max-width: 768px) {
    .line .line-contact-message {
        display: none;
    }

    .menu-trigger {
        display: inline-block;
    }

    footer {
        text-align: center;
    }

    footer ul {
        padding-left: 0;
    }

    footer ul li a {
        font-size: 0.7rem;
    }
}
