/*-------------------
 PCのみ
 -------------------*/
@media screen and (min-width:951px) {
    .sp-only {
        display: none !important;
    }

    a:hover {
        opacity: 0.5;
        transition-duration: 1s;
        text-decoration: underline;
    }

    .top .navbutton-item:hover {
        background-position: bottom 10px center;
        transition: all 1s;
    }
}

/*-------------------
 スマホのみ
 -------------------*/
@media screen and (max-width:950px) {
    .pc-only {
        display: none !important;
    }

    .header,
    .main,
    .footer,
    .wrapper,
    .inner-box {
        width: 100vw;
        overflow: hidden;
        box-sizing: border-box;
    }

    .inner-box {
        box-sizing: border-box;
    }


    .header .wrapper .inner-box .right-part {
        width: 70px;
        margin-right: 80px;
    }

    .banner-list {
        width: 70px;
    }

    .sp-menu-btn {
        -webkit-appearance:none;
        appearance: none;
        width: 60px;
        height: 60px;
        background-color: #93c6ce;
        box-sizing: border-box;
        padding: 20px;
        position: fixed;
        top: 0;
        right: 0;
		z-index: 9999;
    }

    .sp-menu-btn span {
        display: block;
        width: 20px;
        height: 4px;
        background-color: #fff;
        position: absolute;
        transition: all 0.5s;
    }

    .sp-menu-btn span:nth-of-type(1) {
        top:20px;
    }

    .sp-menu-btn span:nth-of-type(2) {
        top:28px;
    }

    .sp-menu-btn span:nth-of-type(3) {
        top:36px;
    }

    .sp-menu-btn.opened span:nth-of-type(1) {
        top:28px;
        transform: rotate(45deg);
    }

    .sp-menu-btn.opened span:nth-of-type(2) {
        opacity: 0;
    }

    .sp-menu-btn.opened span:nth-of-type(3) {
        top:28px;
        transform: rotate(-45deg) ;
    }

    .top .footer .footer-bottom {
        height: 60px;
        line-height: 60px;
        box-sizing: border-box;
        display: block;
        background-color: #595757;
        color: #fff;
    }

    /*-----------------------------
     * sp-menu
     *-----------------------------*/
	 .sp_menu {
        display: block;
        position: fixed;
        top: 60px;
        width: 100%;
        height: calc(100vh - 60px);
        left:-110vw;
        background-color: rgba(147, 198, 206, 0.9);
        z-index: 1000;
        padding: 10px 10px 300px;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .sp-menu-list {
        margin-bottom: 40px;
    }

    .sp-menu-item {
        border-top: solid 1px #93ab36; 
    }

    .sp-menu-item:last-of-type {
        border-bottom: solid 1px #93ab36;
    }

    .sp-menu-item a {
        display: block;
        padding: 20px 22px;
        font-size: 1.6rem;
        color: #fff;
        font-weight: bold;
    }

    .sp-menu-item a.sp-menu-item__parent::after {
        content: "";
        width: 23px;
        height: 13px;
        display: inline-block;
        background-image: url(../images/icons/icon_down_w.png);
        background-repeat: no-repeat;
        position: relative;
        left: 10px;
    }

    .sp-menu-sublist {
        border-top: solid 1px #93ab36;
        display: none;
    }

    .sp-menu-subitem a {
        font-weight: normal;
    }

    .banner-list {
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .banner-item:not(:last-of-type) {
        margin-right: 50px;
    }

    /*--------------------------------------------------
    　ホーム
    　--------------------------------------------------*/
    .header h1{
        text-align: left;
        padding: 0 0 0 10px;
    }

    .header {
        padding-top: 0;
        padding-bottom: 0;
        padding: 0;
    }
    
     .header .wrapper .inner-box {
        height: 60px;
    }

    .header .wrapper .inner-box .left-part .logo img {
        width: 200px;
        height: auto;
    }

    .top .main .wrapper .inner-box {
        height: auto;
        min-height: auto;
    }
    
     .top .main-visual {
        position: static;
        z-index: 1;
        width: auto;
        height: auto;
        overflow: hidden;
    }

    .top .main-visual-slider-item {
        width: 100vw;
        height: 52vw;
    }

    .top .content {
        width: 100vw;
        position: relative;
        z-index: 999;
        height: auto;
        margin-top: -52vw;
    }

    .top .content .catchcopy {
        font-size: 2.4rem;
        font-weight: bold;
        height: 52vw;
        line-height: 52vw;
        color: #fff;
        margin-top: 0;
    }

    .top .navbutton-list {
        width: 100vw;
        height: auto;
        position: static;
        display: block;
        text-align: center;
        padding: 40px;
        box-sizing: border-box;
    }

    .top .navbutton-item {
        width: 100%;
        height: 150px;
    }
    
    .top .navbutton-item:not(:last-of-type) {
        margin-right: 0;
        margin-bottom: 40px;
    }
}