@charset "utf-8";

@import url("https://fonts.googleapis.com/earlyaccess/notosansjp.css");

/*----------------------------------
  reset
----------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%;
	vertical-align: baseline; background: transparent;
}
body {
	line-height: 1; color: #333;
	font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック","MS P Gothic","Osaka","Hiragino Kaku Gothic Pro", Verdana,Arial, Helvetica, sans-serif; 
	-webkit-text-size-adjust: none;
}
ol, ul { list-style: none; }

:focus { outline: 0; }
img { max-width: 100%; }

/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: collapse; border-spacing: 0; }

a {
    transition: .2s;
}

/*----- common -----*/

body {
    font-family: "Noto Sans JP","Roboto";
    -webkit-text-size-adjust: 100%;
}
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

@media all and (max-width: 768px){
    .wrap {
        padding: 0 4vw;
    }
}

header {
    border-top: 10px solid #a8e1da;
    padding: 50px 0;
}
header h1 {
    font-size: 24px;
}
header h1 a {
    color: #333;
    text-decoration: none;
}

@media all and (max-width: 768px){
    
    header {
        padding: 40px 0;
        border-bottom: 5px solid #a8e1da;
    }
    header h1 {
        font-size: 24px;
    }
    
}
@media all and (max-width: 479px){
    
    header {
        padding: 8vw 0;
    }
    header h1 {
        font-size: 5vw;
    }
    
}
    
nav {
    display: block;
    margin-bottom: 40px;
    border-top: 1px solid #4A9E92;
    border-bottom: 1px solid #4A9E92;
    background: #f1fffa;
}
nav .menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
nav ul {
    display: flex;
    width: 100%;
}
nav ul li a {
    display: block;
    padding: 20px 30px;
    color: #333;
    text-decoration: none;
    transition: .25s;
}
nav ul li a:hover,
nav ul li.current_page_item a{
    background: #a8e1da;
}
nav ul li ul.children {
    display: none;
}

#spmenu {
    display: none;
}

@media all and (max-width: 768px){
    
    #spmenu {
        display: block;
        position: absolute;
        top: 50px;
        right: 4vw;
        width: 30px;
        height: 26px;
        cursor: pointer;
    }
    #spmenu,
    #spmenur span {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
    }
    #spmenu span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: #4A9E92;
        border-radius: 4px;
    }
    #spmenu span:nth-of-type(1) {
        top: 0;
    }
    #spmenu span:nth-of-type(2) {
        top: 11px;
    }
    #spmenu span:nth-of-type(3) {
        bottom: 0;
    }

    #spmenu.open span:nth-of-type(1) {
        -webkit-transform: translateY(11px) rotate(-45deg);
        transform: translateY(11px) rotate(-45deg);
    }
    #spmenu.open span:nth-of-type(2) {
        opacity: 0;
    }
    #spmenu.open span:nth-of-type(3) {
        -webkit-transform: translateY(-11px) rotate(45deg);
        transform: translateY(-11px) rotate(45deg);
    }    
    
    nav {
        display: none;
        margin-bottom: 0;
        border: none;
    }
    nav .menu {
        padding: 0;
    }
    nav ul {
        display: block;
        width: 100%;
    }
    nav ul li {
        border-bottom: 1px solid #a8e1da;
    }
    nav ul li:last-child {
        border-bottom: 4px solid #a8e1da;
    }
    nav ul li a {
        padding: 20px 4vw;
    }
    
}
@media all and (max-width: 479px){
    
    #spmenu {
        top: 10vw;
    }
    
}
@media all and (min-width: 769px){    
    nav {
        display: block!important;
    }
}


footer {
    margin-top: 80px;
    background: #f1fffa;
    border-top: 1px solid #4A9E92;
}
.footer_inner {
    padding: 40px 0;
}
footer .menu ul {
    display: flex;
    justify-content: center;
}
footer .menu ul a {
    display: block;
    padding: 20px 30px;
    color: #333;
    text-decoration: none;
}
footer .menu ul a:hover {
    text-decoration: underline;
}
footer .menu ul li ul.children {
    display: none;
}

footer h1 {
    padding: 32px 0;
    background: #a8e1da;
    color: #fff;
    font-size: 20px;
    text-align: center;
}
footer h1 a {
    color: #fff;
    text-decoration: none;
}
footer h1 a:hover {
    text-decoration: underline;
}
footer .copyright {
    padding: 20px 0;
    background: #4A9E92;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

@media all and (max-width: 768px){
    
    .footer_inner {
        padding: 30px 0;
    }
    footer .menu ul {
        display: block;
    }
    footer .menu ul a {
        padding: 2vw 0;
    }
    
}
@media all and (max-width: 479px){
    
    footer {
        margin-top: 16vw;
    }
    .footer_inner {
        padding: 5vw 0;
    }
    footer .menu ul a {
        padding: 5vw 0;
    }

    footer h1 {
        padding: 8vw 0;
        font-size: 5vw;
    }
    footer .copyright {
        padding: 5vw 0;
        font-size: 3vw;
    }
    
    
}


/* parts */

.error404 h2 {
    font-size: 96px;
    color: #4A9E92;
}
.error404 p {
    padding: 0 0 50px;
}

.btn a {
    display: inline-block;
    padding: 12px 24px;
    background: #4A9E92;
    border-radius: 5px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}
.btn a:hover {
    background: #a8e1da;
}

@media all and (max-width: 768px){
    
    .error404 h2 {
        font-size: 72px;
    }
    .error404 p {
        padding: 0 0 40px;
    }

    .btn a {
        padding: 10px 20px;
        font-size: 14px;
    }

}
@media all and (max-width: 479px){
    
    .error404 h2 {
        font-size: 10vw;
    }
    .error404 p {
        padding: 0 0 5vw;
    }

    .btn a {
        padding: 2vw 4vw;
        font-size: 3.75vw;
    }
    
}

