@charset "utf-8";

@media only screen and (max-width: 767px) {
    /*-----------------------------------------------------
        common
    -----------------------------------------------------*/
    body {
        font-size: 14px;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    img.sp,
    span.sp {
        display: inline-block;
    }
    .inner {
        padding-left: 0;
        padding-right: 0;
        width: auto;
    }
    .btn_efc a:hover img {
        transform: translateY(1vw);
    }
    .tbl01,
    #contact table {
        font-size: 14px;
    }
    .tbl01 th,
    .tbl01 td,
    #contact th,
    #contact td {
        display: block;
        padding: 15px !important;
        width: 100% !important;
        font-size: 13px;
        border: 0;
    }

    /* ラジオボタン
    -----------------------------------------------------*/
    input[type="radio"] + label::before {
        top: 1px;
    }
    input[type="radio"]:checked + label::after {
        top: 4px;
        left: 3px;
        width: 8px;
        height: 8px;
    }

    /* チェックボックス
    -----------------------------------------------------*/
    input[type="checkbox"]:checked + label:after {
        top: 3px;
    }

	/*-----------------------------------------------------
		header
	-----------------------------------------------------*/
	header:not(.fixed):not(.fixed_sp) {
		position: relative;
	}
	header:not(.fixed):not(.fixed_sp):not(.ws) {
		position: absolute;
	}
	header.fixed,
	header.fixed_sp {
		position: fixed;
		z-index: 9999;
		top: 0;
		left: 0;
		right: 0;
	}
	header .inner {
		height: auto;
	}
	header h1 {
		padding: 1vw 0 1vw 2%;
	}
	header h1 img {
		height: 7.75vw;
	}
	header .info .tel {
		order: 2;
		margin-right: 0;
	}
	header .info .button01 {
		order: 1;
	}
	header .info .button02 {
		order: 3;
	}
	header .info .tel img,
	header .info .button img {
		height: 13vw;
	}

    /*-----------------------------------------------------
        content
    -----------------------------------------------------*/
    #mainvisual,
    .sec,
    .cv {
        background: none !important;
    }
    #mainvisual {
        min-height: 125vw;
    }
    .sec,
    .cv {
        min-height: 33vw;
    }
    .ttlbox {
        background: none !important;
    }
    #sec07 .inner {
	    padding-top: 5vw;
		padding-bottom: 9vw;
	}


    /* .cv コンバージョンエリア
    -----------------------------------------------------*/
	.cv .tel,
	.cv .button {
		max-width: inherit;
	}
    .cv .tel,
    .cv .button00,
    .cv .button01 {
        left: 9%;
        right: 9%;
    }

    .cv01 .tel {
        bottom: 44.7%;
    }
    .cv01 .button00 {
        bottom: 48.7%;
    }
    .cv01 .button01 {
        bottom: 52.8%;
    }

	.cv02 .tel {
		bottom: 17.2%;
	}
	.cv02 .button00 {
		bottom: 20.6%;
	}
	.cv02 .button01 {
		bottom: 24%;
	}

	.cv03 .tel {
		bottom: 20.6%;
	}
	.cv03 .button00 {
		bottom: 35.1%;
	}
	.cv03 .button01 {
		bottom: 49.5%;
	}


	/* #reason 選ばれる理由
	-----------------------------------------------------*/
	#reason .cntbox .inner {
		padding: 10vw 4%;
	}
	#reason .exp {
		margin-bottom: 10vw;
	}
	#reason .rsnbox .rsn {
		flex-direction: column;
		flex: 0 0 100%;
		max-width: 100%;
		padding-top: 53vw;
	}
	#reason .rsnbox .rsn:nth-of-type(n+2) {
		margin-top: 10vw;
	}
	#reason .rsnbox .rsn .txtbox {
		flex: 0 0 100%;
		max-width: 100%;
	}
	#reason .rsnbox .rsn .txtbox .title {
		margin-bottom: 5vw;
	}
	#reason .rsnbox .rsn .txtbox .title dt {
		flex: 0 0 20%;
		max-width: 20%;
	}
	#reason .rsnbox .rsn .txtbox .title dd {
		font-size: 5vw;
	}
	#reason .rsnbox .rsn .pic {
	}
	/* タイプ別スタイル */
	#reason .rsnbox.type-b .rsn {
	}
	#reason .rsnbox.type-b .rsn:nth-of-type(n+2) {
		margin-top: 10vw;
	}
	#reason .rsnbox.type-b .rsn .pic {
		flex: 0 0 100%;
		max-width: 100%;
		margin-top: 5vw;
	}
	#reason .rsnbox.type-b .rsn .txtbox {
		flex: 0 0 100%;
		max-width: 100%;
	}
	#reason .rsnbox.type-b .rsn .txtbox .title {
		margin-bottom: 5vw;
	}
	#reason .rsnbox.type-b .rsn .txtbox .title dt {
		flex: 0 0 15%;
		max-width: 15%;
		margin-right: 5%;
	}
	#reason .rsnbox.type-b .rsn .txtbox .title dd {
		flex: 0 0 80%;
		max-width: 80%;
	}
	#reason .rsnbox.type-b.altn .rsn:nth-of-type(2n) .txtbox {
		order: 1;
	}
	#reason .rsnbox.type-b.altn .rsn:nth-of-type(2n) .pic {
		order: 2;
	}
	#reason .rsnbox.type-b.rep-sp .rsn .txtbox {
		order: 2 !important;
		margin-top: 5vw;
	}
	#reason .rsnbox.type-b.rep-sp .rsn .pic {
		order: 1 !important;
		margin-top: 0;
	}

	/* #faq よくある質問
	-----------------------------------------------------*/
	#faq .ttlbox .inner {
		padding: 12vw 33% 6vw;
	}#faq .cntbox .inner {
		padding: 0 3% 3vw;
	}
	#faq .exp {
		margin-bottom: 10vw;
	}
	#faq ul li:nth-child(n+2) {
		margin-top: 10px;
	}
	#faq ul li .que {
	    padding: 2.5vw 12% 2.5vw 4%;
	}
	#faq ul li .ans {
		padding: 3vw 2%;
		line-height: 1.6;
	}
	#faq ul li .que .ini {
		margin-right: 3%;
		flex: 0 0 7%;
	}
	#faq ul li .ans .ini {
		margin-right: 2%;
		flex: 0 0 8%;
	}
	#faq ul.pdown li .que:before, #faq ul.pdown li .que:after {
		right: 5%;
		width: 4vw;
		height: 4vw;
		background-size: 100% auto;
	}
	#faq ul li .que .txt {
		padding-top: 0;
		font-size: 3.4vw;
	}
	#faq ul li .ans .txt {
		padding-top: 0;
		font-size: 3.3vw;
	}

    /* #contact フォーム
    -----------------------------------------------------*/
    #contact .cntbox .inner {
        padding: 10vw 4%;
        min-height: 400px;
    }
    #contact .exp {
        margin-bottom: 10vw;
    }
    #contact table {
        margin-bottom: 30px;
    }
    #contact tr {
        margin-bottom: 20px;
        padding: 0;
    }
    #contact tr:last-child {
        margin-bottom: 0;
    }
    #contact tr {
        display: block;
        margin: 0;
    }
    #contact th,
    #contact td {
        display: block;
        width: 100%;
    }
    #contact td input,
    #contact td input.lng,
    #contact td textarea {
        width: 100%;
    }
    #contact td select {
        width: 110px;
    }
    #contact button[type="submit"],
    #contact button[type="button"] {
        width: auto !important;
    }

    #contact td .note {
        font-size: 13px;
    }

	/* #info 運営会社情報 / #law 特定商取引法に基づく表示
	-----------------------------------------------------*/
	#info .cntbox > .inner {
		padding: 0 5% 12vw;
	}
	#info .ttlbox .inner {
		padding: 19vw 29% 6vw;
	}
	#info .ttlbox h2 .cmt {
		right: -16vw;
		top: -9vw;
		width: 49%;
	}
	#info .info {
		font-size: 3.2vw;
		text-align: left;
		padding: 0 5%;
		line-height: 1.75;
	}
	#info .info:nth-of-type(n+2) {
		margin-top: 30px;
	}
	#info .info.doctor,
	#info .info.access {
		padding-top: 7vw;
		margin-top: 7vw;
	}
	#info .info.access {
		padding-left: 0;
		padding-right: 0;
	}
	#info .gmap {
		margin-top: 5vw;
	}
	#info .gmap iframe {
		height: 75vw;
	}

	#law .ttlbox .inner {
		padding: 6vw 4% 8vw;
	}
	#law .cntbox .inner {
		padding: 0 4% 10vw;
	}

	/* #payment お支払い方法
	-----------------------------------------------------*/
	#payment .ttlbox .inner {
		padding: 10vw 31% 8vw;
	}
	#payment .cntbox .inner {
		padding: 0 3% 10vw;
	}
	#payment .paybox .pay:nth-of-type(n+2) {
		margin-top: 7vw;
	}
	#payment .paybox .pay h3 {
		font-size: 3.6vw;
		padding: 3vw 3% 3vw 14%;
		background-position: left 3% center;
	}
	#payment .paybox .pay:nth-of-type(1) h3 {
		background-size: 8% auto;
	}
	#payment .paybox .pay:nth-of-type(2) h3 {
		background-size: 7% auto;
	}
	#payment .paybox .pay:nth-of-type(3) h3 {
		background-size: 5% auto;
		background-position: left 4% center;
	}
	#payment .paybox .pay h3 {
		font-size: 3.6vw;
		padding: 3vw 3% 3vw 14%;
		background-position: left 3% center;
		background-size: 8% auto;
	}
	#payment .paybox .pay .txtbox {
		font-size: 3.3vw;
		padding-top: 3vw;
		line-height: 2;
	}
	#payment .paybox .pay .txtbox .card {
		margin-bottom: 20px;
	}

    /*-----------------------------------------------------
        footer
    -----------------------------------------------------*/
    footer {
    	background: url(../img/sp/footer.png) no-repeat center center / cover !important;
    }
    footer .inner {
		padding: 2vw 4% 3vw;
		}
	footer .sitemap {
		font-size: 3vw;
	}
	footer .sitemap .inner {
		padding: 3vw 4%;
	}
	footer .sitemap ul {
		justify-content: center;
	}
	footer .sitemap ul li {
		margin: 0.5em 0;
	}
    footer .sitemap ul li:before,
    footer .sitemap ul li:last-child:after {
        content: none;
    }
    footer .logo {
		position: static;
		margin: 4vw 20% 7vw;
		left: 25px;
	}
    footer .copyright {
        font-size: 10px;
        text-align: center;
    }
    footer .copyright .inner {
		padding: 3vw 4%;
	}
    #page-top {
        bottom: 18vw;
        width: 50px;
    }
    .floatbox:not(.fixed):not(.fixed_sp) {
        position: static;
    }
    .floatbox.fixed,
    .floatbox.fixed_sp {
        position: fixed;
        z-index: 9999;
        bottom: 0;
        left: 0;
        right: 0;
    }

	/* タイプ別スタイル */
	footer .inner.type-col {
		flex-direction: column;
	}

    /*-----------------------------------------------------
        confirm 内容確認 / thanks 送信完了
    -----------------------------------------------------*/
    .confirm #contact .exp,
    .thanks #contact .exp {
        text-align: left;
    }
    .confirm #contact .btnbox {
        display: block;
    }
    .confirm #contact button[type="submit"] {
        order: 1;
        margin-left: auto;
        margin-right: auto;
    }
    .confirm #contact button[type="button"] {
        order: 2;
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
    }

	/*-----------------------------------------------------
		modal
	-----------------------------------------------------*/
	#modalForm {
		top: 3vw !important;
		right: 2vw !important;
		bottom: 3vw !important;
		left: 2vw !important;
		width: auto !important;
		height: auto !important;
		padding: 5vw 2.5vw 7.5vw;
	}
	/*スクロールバー全体*/
	#modalForm::-webkit-scrollbar {
		width: 2.5vw;
	}
	#modalCloseArea span.modalClose {
		top: -1vw;
		right: -1vw;
		width: 12vw;
	}

}