@charset “UTF-8”;

html, body {
    width: 100%;
    min-width: 960px;
    height: 100%;
}

.sp{
    display: none;
}
.btn {
    width: 100%;
    display: block;
    padding: 18px 0;
    font-size: 0.933rem;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    color: #333;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #fff;
    background-image: url("../img/btn_arrow.png");
    background-repeat: no-repeat;
    background-position: right 20px center;
    transition:all .5s;
    box-sizing: border-box;
}
.btn:hover{
    background-position: right 10px center;
}

#sp_menu{
    display: none;
    width: 100%;
    height: 100vh;
    padding: 30% 0 0;
    background-color: #2B6A24;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    background-image: url('../img/sp_menu_bg.png');
    background-position: bottom 0 left 0;
    background-repeat: no-repeat;
    box-sizing: border-box;
}
#sp_menu ul{
    width: 70%;
    height: auto;
    margin: auto;
    margin-bottom: 100px;
}
#sp_menu ul li {
    margin-bottom: 40px;
}
#sp_menu ul li a{
    display: block;
    text-align: center;
    font-size: 1.333rem;
    color: #fff;
}
#sp_menu .logo{
    display: table;
    margin: auto;
}

.trigger_box{
    width: 40px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100000;
}
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger {
    display: none;
    position: absolute;
    width: 40px;
    height: 31px;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 25px;
    z-index: 100000;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #2B6A24;
  border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 14px;
}
.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: 3px;
    background-color: #2B6A24;
    border-radius: 4px;
    transition: all .4s;
}
.menu-trigger.active span{
    background-color: #fff;
}
.menu-trigger.active span:nth-of-type(2)::after {
    background-color: #fff;
}
.menu-trigger.active span:nth-of-type(1) {
transform: translate(50%) 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: translate(-50%) scale(0);
}

header{
    width: 100%;
    min-width: 960px;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255,255,255,.9);
    box-sizing: content-box;
}
#gnav{
    max-width: 800px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: auto;
    -webkit-overflow-scrolling: touch;

}
#gnav ul li{
    float: left;
}
#gnav ul li:nth-last-child(1){
    margin-left: 90px;
}
#gnav ul li a{
    font-size: 0.933rem;
    color: #333;
}
#gnav ul li a:hover{
    color: #2B6A24;
    font-weight: bold;
}
.gnav_left a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}
.gnav_left a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #2B6A24;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}
.gnav_left a:hover::after {
    transform-origin: right top;
    transform: scale(1, 1);
}
.gnav_right a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}
.gnav_right a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #2B6A24;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}
.gnav_right a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

#gnav .logo{
    margin: 0 60px;
    display: block;
    float: left;
}

main{
    min-width: 960px;
    padding-top: 120px;
    padding-bottom: 160px;
    background-color: #fff;
}

section{
    min-width: 960px;
}

#pagetop{
    width: 90px;
    height: 90px;
    position: absolute;
    right: 50px;
    bottom: 50px;
    border-radius: 50%;
    transition:all .5s;
}
#pagetop:hover{
    background-color: rgba(255,255,255,.2);
}

footer{
    width: 100%;
    padding: 50px 0 40px 0;
    min-width: 960px;
    background-color: #2B6A24;
}
footer .inner{
    width: 900px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer .inner.sp{
    display: none;
}
footer p,
footer small{
    color: #fff;
}
footer p.address{
    font-size: 0.8rem;
}
footer p.name{
    font-size: 1.066rem;
}

@media screen and (max-width:480px){
    /*画面幅が480px以下の時*/
    html, body {
        min-width: 0;
    }
    .pc {
        display: none;
    }
    .sp{
        display: block;
    }
    .btn{
        padding: 13px 0;
    }
    header{
        position: fixed;
        padding: 10px 0;
        min-width: 0;
    }
    #gnav{
        width: 100%;
    }
    #gnav .gnav_left,
    #gnav .gnav_right{
        display: none;
    }
    #gnav .logo{
        float: none;
        margin: auto;
        width: 35%;
    }
    #gnav .logo img{
        width: 100%;
    }
    .menu-trigger{
        display: inline-block;
    }
    #pagetop{
        width: 70px;
        height: 70px;
        bottom: 20px;
        right: 5%;
    }
    #pagetop img{
        width: 100%;
        height: auto;
    }
    #pagetop:hover{
        background-color: rgba(255,255,255,0);
    }
    footer{
        min-width: 0;
        padding: 30px 0 20px;
    }
    footer .inner.pc{
        display: none;
    }
    footer .inner.sp{
        display: block;
    }
    footer .inner{
        display: block;
        width: 70%;
    }
    footer .inner ul{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5px;
    }
    footer .inner ul li{
        color: #fff;
        text-align: center;
        width: 45%;
    }
    footer .inner ul li a{
        display: block;
        width: 100%;
    }
    footer .inner ul li a img{
        width: 100%;
    }
    footer p, footer small{
        font-size: 0.8rem;
        text-align: center;
    }
    small{
        margin-top: 30px;
        display: block;
    }
}
