@charset "utf-8";

/*-------------------- 共通 --------------------*/
html {
    font-size: 62.5%;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    font-size: 1.6rem;
    line-height: 1.5;
}

/*---------- logo ----------*/
.logo {
    width: 50%;
}
.logo img {
    width: 100%;
    height: auto;
}
.logo__text {
    margin-bottom: 10px;
}

/*---------- section-heading ----------*/
.section-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}
.section-heading__text {
    font-size: 3.0rem;
    text-align: center;
    margin: 0 5px;
}
.sp-br {
    display: none;
}

/*---------- button ----------*/
.button-reserve {
    width: 150px;
    height: 60px;
}
.button-reserve a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    background-color: #fbb03b;
    border: 5px solid #fbb03b;
    transition: 0.3s;
}
.button-reserve a::before {
    content: url(../images/mail_icon.png);
    margin-top: 4px;
    margin-right: 5px;
}
.button-reserve a:hover {
    color: #fbb03b;
    background-color: #fff;
    border: 5px solid #fbb03b;
}
.button-reserve a:hover::before {
    content: url(../images/mail_icon_hover.png);
}

/*-------------------- header --------------------*/
/*---------- header-top ----------*/
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 10px auto 50px;
}

/*---------- header-nav ----------*/
.header-nav {
    margin-bottom: 30px;
}
.header-nav__list {
    display: flex;
    justify-content: space-between;
    max-width: 960px;
    margin: auto;
}
.header-nav__item {
    width: 25%;
    border-left: 1px solid #666;
    text-align: center;
}
.header-nav__item a {
    display: block;
    padding: 5px 0;
    color: #006835;
    transition: 0.3s;
}
.header-nav__item:last-of-type {
    border-right: 1px solid #666;
}
.header-nav__item a:hover {
    color: #fff;
    background-color: #006835;
}
.button-reserve__nav {
    display: none;
}

/*-------------------- footer --------------------*/
footer {
    max-width: 960px;
    margin: auto;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/*---------- footer-nav ----------*/
.footer-nav {
    margin-bottom: 40px;
}
.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-nav li {
    margin-right: 15px;
    margin-left: 15px;
}
.footer-nav li a:hover{
    color: #006835;
    font-weight: bold;
}

/*---------- page-top ----------*/
.page-top {
    position: fixed;
    right: 10px;
    bottom:10px;
    z-index: 2;
    opacity: 0;
    transform: translateY(100px);
}
.page-top a {
    position: relative;
    display: block;
    background: #006835;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    transition:all 0.3s;
}
.page-top a:hover {
    background: rgba(2,105,54,0.5);
}
.page-top a::before {
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 15px;
    height: 15px;
    margin: auto;
    content: '';
    transform: rotate(-45deg);
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
}
.page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
    to {
      opacity: 1;
    transform: translateY(0);
    }
}
.page-top.DownMove{
    animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
    from {
        opacity: 1;
    transform: translateY(0);
    }
    to {
        opacity: 1;
    transform: translateY(100px);
    }
}

/*---------- copyright----------*/
.copyright {
    text-align: center;
    margin-bottom: 50px;
}
.copyright small {
    font-size: 1.2rem;
}


/*-------------------- レスポンシブ --------------------*/
/*-------------------- max-width: 768px --------------------*/
@media screen and (max-width: 768px) {
    
    /*-------------------- 共通 --------------------*/
    /*---------- logo ----------*/
    .logo__text {
        font-size: 1.2rem;
    }
    .logo__text--sp {
        display: none;
    }
    
    /*---------- section-heading ----------*/
    .section-heading__text {
        font-size: 2.4rem;
    }
    .sp-br {
        display: block;
    }

    /*---------- button ----------*/
    .button-reserve {
        width: 150px;
        height: 60px;
    }

    /*-------------------- header --------------------*/
    .header-top {
        width: auto;
        padding: 0 5%;
        margin-right: 50px;
    }

    /*---------- header-nav ----------*/
    .header-nav {
        display: block;
        position: fixed;
        z-index: 1000;
        top: -120%;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #006835;
        transition: all 0.6s;
    }
    .header-nav.panelactive {
        top: 0;
    }
    .header-nav.panelactive .header-nav__inner {
        position: fixed;
        z-index: 1000;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    .header-nav__list {
        position: absolute;
        z-index: 1000;
        top: 50%;
        left: 50%;
        width: 100%;
        transform: translate(-50%, -50%);
        flex-direction: column;
        align-items: center;
    }
    .header-nav__item {
        width: 100%;
        border: none;
        text-align: center;
        margin-left: 0;
    }
    .header-nav__item a {
        display: block;
        padding: 30px 0;
        color: #fff;
        font-size: 2.4rem;
        transition: 0.3s;
    }
    .header-nav__item a:hover {
        color: #006835;
        background-color: #fff;
    }
    .header-nav__item:last-of-type {
        border-right: none;
    }

    /*---------- openbtn ----------*/
    .openbtn{
        position: fixed;
        top: 10px;
        right: 3%;
        z-index: 10000;
        background:#006835;
        cursor: pointer;
        width: 50px;
        height:50px;
    }
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: #fff;
        width: 45%;
    }
    .openbtn span:nth-of-type(1) {
        top:13px;	
    }
    .openbtn span:nth-of-type(2) {
        top:19px;
    }
    .openbtn span:nth-of-type(3) {
        top:25px;
    }
    .openbtn span:nth-of-type(3)::after {
        content:"Menu";
        position: absolute;
        top:5px;
        left:-2px;
        color: #fff;
        font-size: 0.6rem;
        text-transform: uppercase;
    }

    /*---------- active ----------*/
    .openbtn.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .openbtn.active span:nth-of-type(3){
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
    .openbtn.active span:nth-of-type(3)::after {
        content:"Close";
        transform: translateY(0) rotate(-45deg);
        top:5px;
        left:4px;
    }

    .button-reserve__nav {
        display: block;
        position: absolute;
        top: 10px;
        right: 50px;
        margin-right: 5%;
    }
    
    /*-------------------- footer --------------------*/
    footer {
        padding: 0 5%;
    }
    .footer-nav__item {
        margin-bottom: 15px;
    }
}
/*-------------------- max-width: 375px --------------------*/
@media screen and (max-width: 375px) {
    
    /*-------------------- 共通 --------------------*/
    /*---------- logo ----------*/
    .logo {
        width: 75%;
        height: 50px;
    }
    .logo img {
        width: 90%;
    }
    .logo__text {
        font-size: 1rem;
    }

    /*---------- button ----------*/
    .button-reserve {
        width: 100px;
        height: 50px;
    }
    .button-reserve a {
        font-size: 1.4rem;
    }
    .button-reserve__nav a {
        font-size: 1.6rem;
    }

    /*---------- section-heading ----------*/
    .section-heading__text--small {
        font-size: 2rem;
    }
}