@charset "UTF-8";
/* CSS Document */
@media screen and (min-width: 960px) {
    .sp-img {
        display: none;
    }
}

.inner {
    width: 980px;
    margin: 0 auto;
}

.inner:after {
    content: "";
    clear: both;
    display: block;
}

/* header */
#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 0px 0 0;
    line-height: 1;
    z-index: 999;
}

#top-head a,
#top-head {
    color: #fff;
    text-decoration: none;
}

#top-head .inner {
    position: relative;
    background: #FFFD00;

}

#top-head .logo {
    float: left;
    font-size: 36px;
}

#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 14px;
}

#global-nav ul li {
    float: left;
}

#global-nav ul li a {
    padding: 0 30px;
}

/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 60px;
    background: rgba(255, 255, 255, .7);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}

#top-head.fixed .logo {
    font-size: 24px;
    color: #333;
}

#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}

/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 101;
    padding: 10px;
    background: #08ad44;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #FFF;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 5px;
}

#nav-toggle span:nth-child(2) {
    top: 18px;
}

#nav-toggle span:nth-child(3) {
    top: 31px;
}

/*-------------------------------------------------------------------------------------------------------*/
#top-head,
.inner {
    width: 100%;
    padding: 0;
}

#top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
}

/* Fixed reset */
#top-head.fixed {
    padding-top: 0;
    background: transparent;
    box-shadow: 0px 8px 24px 3px #b3b3b3;

}

#mobile-head {
    background: #08ad44;
    width: 100%;
    height: 60px;
    z-index: 999;
    position: relative;
}

#top-head.fixed .logo,
#top-head .logo {
    position: absolute;
    left: 13px;
    top: 13px;
}

#top-head.fixed .logo img,
#top-head .logo img {
    left: 13px;
    top: 13px;
    width: 40%;
}


#global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: -596px;
    background: #FFF;
    width: 100%;
    text-align: center;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

#global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
}

#global-nav ul li {
    float: none;
    position: static;
    border-bottom: 1px solid #CCC;
    width: 100%;
    text-align: center;
}

#global-nav ul li img {
    width: 100%;
}

#top-head #global-nav ul li a:hover {
    background: #DDD;
}

#top-head #global-nav ul li a,
#top-head.fixed #global-nav ul li a {
    display: block;
    color: #333;
    padding: 20px 10px;
    background: #f3f3f3;
    font-size: 130%;
    position: relative;
}

#top-head #global-nav ul li.global-nav-reserve a,
#top-head.fixed #global-nav ul li.global-nav-reserve a {
    color: #e2143d;
}

#top-head #global-nav ul li a::after {
    position: absolute;
    top: 45%;
    right: 20px;
    display: block;
    content: '';
    width: 10px;
    height: 10px;
    margin-top: -4px;
    border-top: 2px solid #037f30;
    border-right: 2px solid #037f30;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-toggle {
    display: block;
}

/* #nav-toggle 切り替えアニメーション */
.open #nav-toggle span:nth-child(1) {
    top: 18px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
}

.open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
}

.open #nav-toggle span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
}

/* #global-nav スライドアニメーション */
.open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(656px);
    -webkit-transform: translateY(656px);
    transform: translateY(656px);
}

.logo-img {
    width: 75%;
    padding: 15px 0 0 10px;
}

.logo-img img {
    width: auto;
    height: 40px;
    object-fit: contain;
}