@charset "UTF-8";


@media only screen and (max-width: 991px) {

	body {
        -webkit-overflow-scrolling: touch;
	}


    /* HEADER
    ---------------------------------------------------------- */
	header {
	    height: 42px;
	}

    #header-sp {
        display: block;
        height: 42px;
    }

    #header-sp-inner {
        width: 100%;
        height: 42px;
    }

    #header-sp-nav-top {
        width: 100%;
        height: 42px;
        position: relative;
    }

    #logo-sp,
    #logo-sp a {
        display: block;
        width: 180px;
        height: 38px;
        padding: 0;
        margin: 0 auto;
        line-height: 0;
    }

    #logo-sp a {
        padding-top:8px;
        height: 38px;
    }

    #logo-sp img {
        width: 180px;
        height: auto;
    }

    /* メニューアイコン */
    #header-sp-nav-btn {
        position: absolute;
        top: 12px;
        left: 12px;
        width: 25px;
        height: 25px;
        cursor: pointer;
    }

    #menu {
        display: block;
    }

    #menu span {
        position: absolute;
        width: 100%;
        height: 3px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .2s linear;
        -moz-transition: .2s linear;
        -o-transition: .2s linear;
        transition: .2s linear;
    }

    #menu span.l1 {
        top: 0px;
    }

    #menu span.l2 {
        top: 8px;
    }

    #menu span.l3 {
        top: 16px;
    }

    #menu.open span.l1 {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 10px;
        left: 0;
    }

    #menu.open span.l2 {
        width: 0%;
        opacity: 0;
    }

    #menu.open span.l3 {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 10px;
        left: 0;
    }

    #menu #header-sp-nav-btn-text {
        position: absolute;
        width: auto;
        height: 6px;
        top:27px;
    }

    /* メニュー */
    #gnav-sp {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 42px;
        bottom:0;
        left: 0;
        z-index: 1000;
        display: none;
        background: #fff;
        color:#000;
        padding-bottom: 20px;
	}

    #gnav-sp a {
    	color:#000;
        display: block;
        text-decoration: none;
        text-align: center;
        font-size: 16px;
    }

    #gnav-sp>ul {
        border-top: 1px solid #c9caca;
    }

    #gnav-sp>ul>li>a {
        text-align: left;
        padding: 12px 10px;
        font-size: 12px;
        line-height: 1.4;
        position: relative;
        border-bottom: 1px solid #c9caca;
	}


    #gnav-sp>ul>li>a:after {
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        right: 13px;
        width: 8px;
        height: 8px;
        margin: -4px 0 0 0;
        border-top: solid 3px #8F8F90;
        border-right: solid 3px #8F8F90;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transform-origin: 50% 50% 0px;
        -ms-transform-origin: 50% 50% 0px;
        transform-origin: 50% 50% 0px;
    }


	main {
        padding-top: 42px;
	}

	#main-visual {
		width: 100%;
	    height:auto;
	}

	.sp-buttons {
		display: none;
	}



    #footer {
        width: auto;
        margin: 0 10px 30px 10px;
        border-top: 1px solid #8b8d8c;
        padding: 30px 0 0 0;
        letter-spacing: 0;
        clear: both;
        margin-top: 15px;
        padding-top: 15px;
        border-top-width: 1px;
        border-top-style: solid;
        font-size: 12px;
        margin-bottom: 15px;
    }

}



@media only screen and (min-width: 768px) and (max-width: 991px) {


    #header-sp-nav-top {
        width: 750px;
        height: 42px;
        margin: 0 auto;
        position: relative;
    }


    #gnav-sp>ul {
        border-top: 1px solid #c9caca;
        width: 750px;
        margin: 0 auto;
    }

    /* トップページ
    ---------------------------------------------------------- */

    main {
	    width: 750px;
	}

	#container {
	    width: 750px;
	}

}


@media only screen and (max-width: 767px) {

    body {
        font-size: 14px;
        line-height: 1.4;
    }

    /* トップページ
    ---------------------------------------------------------- */
	main {
	    width: auto;
	}

	#main-visual {
		width: 100%;
	    height:auto;
	}

	#container {
	    width: auto;
	    padding: 0 10px;
	}

    #top-name img {
        width: 90%;
    }

    .entop-sec-layer {
        padding: 0 0 40px 0;
        margin: 0 0 40px 0;
        border-bottom: 1px solid #333;
        display: table;
    }

    .entop-sec-left {
        width: auto;
        display: block;
        padding: 0 0 20px 0;
    }

    .entop-sec-right {
        width: auto;
        display: block;
    }

    .entop-sec-right img {
        max-width: 100%;
        height: auto;
    }
	/* FAQ
	---------------------------------------------------------- */
	#faq-name {
		font-size: 24px;
	}
	.q-box {
		font-size: 18px;
	}
}


@media only screen and (max-width: 320px) {

}