/* --------------------------------
 * reset
 * -------------------------------- */
html, body, h1, h2, h3, h4, ul, ol, dl, li, dt, dd,
p, div, span, img, a, table, tr, th,td {
    font-weight: normal;
    font-size: 100%;
    padding: 0;
    border: 0;
    margin: 0;
    vertical-align: baseline;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

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

body {
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

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

/* --------------------------------
 * base
 * -------------------------------- */
body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

img {
    height: auto;
}

.wrap {
    overflow: hidden;
}

.sp {
    display: none;
}

a {
    color: #231815;
    text-decoration: none;
}

h2 {
    padding-bottom: 20px;
    color: #A5885E;
    font-size: 32px;
    font-weight: bold;
}

h2:first-letter {
    color: #3FB266;
}

h3 {
    padding-bottom: 10px;
    color: #A5885E;
    font-size: 18px;
}

p {
    color: #231815;
    padding-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

body {
    background-color: #F5ECDE;
}

footer {
    width:100%;
    background-color:#fff;
    margin:0 auto;
    padding: 1% 0;
    font-size:0.9em;
    text-align:center;
}

/* --------------------------------
* PC only
* -------------------------------- */

@media screen and (min-width:769px) {

    /* --------------------------------
     * mainnav
     * -------------------------------- */
    #mainnav {
        position: relative;
        width: 1024px;
        min-width: 100%;
        margin: 0 auto;
    }

    .nav_inner {
        position: absolute;
        z-index: 20;
        width: 100%;
        padding: 20px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #fff;
    }

    .nav_inner.fixed {
        position: fixed;
        top: 0;
    }

    #mainnav ul {
        display: flex;
        white-space: nowrap;
    }

    #mainnav li {
        position: relative;
        font-size: 12px;
    }

    #mainnav:not(.syojyo_mainnav) li:not(:nth-child(7)):after {
        display: inline-block;
        content: '';
        background-color: #6d563c;
        position: absolute;
        height: 12px;
        width: 1px;
        transform: rotate(45deg);
        right: 4px;
    }

    #mainnav li a {
        padding: 0 25px 0 20px;
        color: #6d563c;
    }
}


/* --------------------------------
* sp only
* -------------------------------- */
@media screen and (max-width:768px) {

    /* --------------------------------
    * base
    * -------------------------------- */
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .sp_in {
        position: static;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    h3 {
        padding-bottom: 10px;
        color: #A5885E;
        font-size: 22px;
    }

    p {
        color: #231815;
        padding-bottom: 25px;
        font-size: 16px;
        line-height: 1.6;
    }


    /* --------------------------------
    * mainnav
    * -------------------------------- */
    header nav {
        background: rgba(255, 255, 255, 0.90);
        position: fixed;
        z-index: 1;
        display: none;
        width: 100%;
        top: 40px;
    }

    header nav ul {
        display: block;
        padding: 0 0 12rem 0;
    }

    header nav li {
        font-size: 0.85rem;
        padding: 20px;
        color: #6d563c;
        border-bottom: 2px solid rgba(109, 86, 60, 0.4);
        text-align: center;
    }

    header nav a {
        color: #6d563c;
        font-weight: bold;
        text-shadow: none;
    }

    header nav li:hover {
        background-color: #fff;
    }

    #hamburger {
        width: 100%;
        background: rgba(63, 178, 102, 1);
        padding: 8px 10px 8px 10px;
        box-sizing: border-box;
        position: fixed;
        z-index: 100;
    }

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

    .trigger {
        position: relative;
        width: 30px;
        height: 23px;
    }

    .trigger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 5px;
        background-color: #FFF;
        border-radius: 4px;
        opacity: 1;
    }

    .trigger a:hover {
        opacity: 1;
    }

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

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

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

    .trigger.active span:nth-of-type(1) {
        -webkit-transform: translateY(9px) rotate(-45deg);
        transform: translateY(9px) rotate(-45deg);
    }

    .trigger.active span:nth-of-type(2) {
        left: 50%;
        opacity: 0;
        -webkit-animation: active-menu-bar02 .8s forwards;
        animation: active-menu-bar02 .8s forwards;
    }

    @-webkit-keyframes active-menu-bar02 {
        100% {
            height: 0;
        }
    }

    @keyframes active-menu-bar02 {
        100% {
            height: 0;
        }
    }

    .trigger.active span:nth-of-type(3) {
        -webkit-transform: translateY(-9px) rotate(45deg);
        transform: translateY(-9px) rotate(45deg);
    }

    .onanimation {
        display: block;
    }


}
