@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: 2.8vw;
    }
    .tbl01 th,
    .tbl01 td,
    #contact th,
    #contact td {
        padding: 2.15vw 0;
    }
	.udl:before {
		border-left-width: 1.5vw;
		border-bottom-width: 2.5vw;
	}
	.udl:after {
		border-right-width: 1.5vw;
		border-top-width: 2.5vw;
	}

    /* ラジオボタン
    -----------------------------------------------------*/
    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;
		padding: 1vw 1%;
	}
	header h1 {
		padding: 1vw 0 1vw 2%;
	}
	header h1 img {
		height: 8vw;
	}
	header .info .tel {
		order: 1;
	}
	header .info .line {
		order: 2;
	}
	header .info .tel {
		order: 1;
	}
	header .info p:nth-of-type(-n+2) {
	    margin-left: 1vw;
		order: 2;
	}
	header .info p:nth-of-type(3) {
	    margin-left: 0;
	}
	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;
    }
	#sec02 {
	    margin-top: -4.5vw;
	}
	p.note_s {
    width: 92%;
    margin: 0 4% 10vw;
    font-size: 0.7rem;
    padding: 3vw;
	}

    /* .cv コンバージョンエリア
    -----------------------------------------------------*/
	.cv .tel,
	.cv .button {
		max-width: inherit;
	}
    .cv01 .tel {
        position: absolute;
        left: 10%;
        right: 10%;
        bottom: 11%;
    }
    .cv01 .button00 {
        position: absolute;
        left: 10%;
        right: 10%;
        bottom: 23.5%;
        margin: 0 auto;
    }
    .cv01 .button01 {
        position: absolute;
        left: 10%;
        right: 10%;
        bottom: 13.7%;
    }

	/* #reason 選ばれる理由
	-----------------------------------------------------*/
	#reason {
	    background: transparent url(../img/sp/reason_bg.png) no-repeat center top / 100% auto !important;
	    margin-top: -13vw;
	    position: relative;
	    z-index: 2;
	}
	#reason .ttlbox .inner {
		padding: 25vw 10% 13vw;
	}
	#reason .cntbox .inner {
		padding: 0 0 15vw;
	}
	#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: 0;
	}
	#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: 5.3vw;
	}
	#reason .rsnbox .rsn .txtbox .txt {
	    font-size: 3.3vw;
	    margin: 1vw 3% 0;
	    line-height: 1.8;
	}

	/* タイプ別スタイル */
	#reason .rsnbox.type-b .rsn:nth-of-type(2) {
		margin-top: -15vw;
	}
	#reason .rsnbox.type-b .rsn .pic {
		flex: 0 0 100%;
		max-width: 100%;
		margin-top: 5vw;
		padding-top: 0;
	}
	#reason .rsnbox.type-b .rsn .txtbox {
		flex: 0 0 100%;
		max-width: 100%;
	}
	#reason .rsnbox.type-b .rsn .txtbox .title {
		margin-bottom: 0;
		margin-left: 3%;
	}
	#reason .rsnbox.type-b .rsn .txtbox .title dt {
		flex: 0 0 25%;
		max-width: 25%;
		margin-bottom: 2vw;
	}
	#reason .rsnbox.type-b .rsn .txtbox .title dd {
		line-height: 1.15;
	}
	#reason .rsnbox.type-b .rsn .txtbox .title dd .udl {
		line-height: 8vw;
	}
	#reason .rsnbox.type-b.altn .rsn:nth-of-type(2n) .txtbox {
		order: 1;
	}
	#reason .rsnbox.type-b.altn .rsn:nth-of-type(2) .pic {
		order: 2;
		padding-top: 0;
		margin-top: 3vw;
	}
	#reason .rsnbox.type-b.rep-sp .rsn .txtbox {
		padding: 0 2%;
	}
	#reason .rsnbox.type-b.rep-sp .rsn .pic .note {
		font-size: 3vw;
	}
	#reason .cntbox {
	    margin-top: -29vw;
	}
	#reason .rsnbox.type-b .rsn:nth-of-type(1) {
	    background: url(../img/sp/reason_bg01.png) no-repeat right top / 100% auto !important;
	    padding-top: 28vw;
	}
	#reason .rsnbox.type-b .rsn:nth-of-type(2) {
	    background: url(../img/sp/reason_bg02.png) no-repeat right top 9vw / 100% auto !important;
	    padding-top: 28vw;
	}
	#reason .rsnbox.type-b .rsn:nth-of-type(3) {
	    background: url(../img/sp/reason_bg03.png) no-repeat right top 9vw / 100% auto !important;
	    padding-top: 12vw;
	}
	#reason .rsnbox.type-b .rsn .txtbox .title dd .min {
	    font-size: 4vw;
	}
	#reason .rsnbox.type-b .rsn .txtbox .title dd .lrg {
	    font-size: 8vw;
	}
	#reason .rsnbox .rsn .pntbox {
		border-width: 1px;
		margin: 3vw 3%;
	}
	#reason .rsnbox .rsn .pntbox .cap {
		padding: 2vw 4%;
		font-size: 3.4vw;
		color: #FFF;
		background: #ae7c08;
	}
	#reason .rsnbox .rsn .pntbox .cnt {
		padding: 2vw 4% 3vw;
	}
	#reason .rsnbox .rsn .pntbox .cnt .txt {
		font-size: 3.3vw;
		margin: 0;
		line-height: 1.7;
	}
	#reason .rsnbox.type-b .rsn:nth-of-type(2) .pntbox .cnt .txt {
	    flex: 0 0 52%;
	}
	#reason .rsnbox.type-b .rsn:nth-of-type(2) .pntbox .cnt .pic {
	    flex: 0 0 45%;
	    padding-top: 0;
	    margin-top: 1vw;
	}
	#reason .rsnbox.type-b .rsn .pic {
	    padding-top: 0 !important;
	    margin: 3vw 3% 3.5vw;
	}

	/* #voice お客様の声
	-----------------------------------------------------*/
	#voice .ttlbox .inner {
		padding: 13vw 35% 13vw;
	}
	#voice .cntbox .inner {
		padding: 0 4% 12vw;
	}
	#voice .exp {
		margin-bottom: 10vw;
	}
	#voice .psn {
        padding: 0;
    }
    #voice .psn:nth-of-type(n+2) {
        margin-top: 11vw !important;
    }
    #voice .psn .blc {
        align-items: flex-start;
        margin-bottom: 3vw;
    }
    #voice .psn .txtbox {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #voice .psn .cat {
        font-size: 2.8vw;
        padding: .4vw 10px;
        border-radius: 3px;
        margin-bottom: 2vw;
    }
    #voice .psn .title {
        font-size: 4.5vw;
        margin-bottom: 2vw;
        line-height: 1.45;
    }
    #voice .psn .prf {
        font-size: 2.8vw;
    }
    #voice .psn .pic {
        flex: 0 0 34%;
        max-width: 34%;
    }
    #voice .psn .txt {
        font-size: 3.3vw;
        line-height: 1.95;
        border-top: 0;
        padding-top: 0;
        margin-top: 0;
    }

	/* タイプ別スタイル */
	#voice .psnbox.type-col {
		display: block;
	}
	#voice .psnbox.type-col .psn {
		flex: 0 0 100%;
		max-width: 100%;
	}
	#voice .psnbox.frmbox .psn {
		padding: 5vw 5%;
	}
	#voice .psnbox.frmbox .psn:nth-of-type(n+2) {
		margin-top: 5vw !important;
	}
    #voice .altn-sp .psn:nth-of-type(2n) .txtbox {
        order: 2;
    }
	#voice .altn-sp .psn:nth-of-type(2n) .pic {
        order: 1;
    }

	/* #faq よくある質問
	-----------------------------------------------------*/
	#faq .ttlbox .inner {
		padding: 13vw 30% 9vw;
	}
	#faq .cntbox .inner {
		padding: 0 4% 10vw;
	}
	#faq .exp {
		margin-bottom: 10vw;
	}
	#faq ul li {
	    border-radius: 2vw;
	}
	#faq ul li:nth-child(n+2) {
		margin-top: 10px;
	}
	#faq ul li .que {
		padding: 3vw 5%;
		font-size: 3.3vw;
	}
	#faq ul li .ans {
		padding: 3vw 5% 6vw;
		font-size: 3.4vw;
	}
	#faq ul li .que .ini, #faq ul li .ans .ini {
		margin-right: 3%;
		flex: 0 0 8%;
	}
	#faq ul li .ans .txt {
	    padding-top: .5vw;
	    line-height: 1.8;
	}
	#faq ul.pdown li .que:before, #faq ul.pdown li .que:after {
		right: 3%;
		width: 20px;
		height: 20px;
		background-size: 100% auto;
	}

    /* #contact フォーム
    -----------------------------------------------------*/
    #contact .cntbox .inner {
        padding: 10vw 4%;
        min-height: 400px;
    }
	#contact .title {
		font-size: 24px;
	}
    #contact .exp {
        margin-bottom: 30px;
    }
	#contact .rsvbox li:nth-child(n+2) {
		margin-top: 8px;
	}
	#contact .rsvbox li a {
		height: 72px;
		font-size: 16px;
		border-radius: 8px;
	}
	#contact address {
		margin-top: 30px;
		padding-top: 15px;
		font-size: 13px;
		line-height: 1.75;
	}
	#contact address .fb {
		font-size: 15px;
	}
    #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 .ttlbox .inner {
		padding: 13vw 28% 12vw 31%;
	}
	#info .cntbox .inner {
		padding: 0 9% 12vw;
	}
	#info .cntbox .flex {
	    flex-direction: column;
	}
	#info .blc {
	    flex: 0 0 100%;
	    max-width: 100%;
	    padding: 8vw 2% 0;
	    line-height: 1.8;
	    font-size: 3.2vw;
	}
	#info .blc .fb {
		font-size: 3.7vw;
		line-height: 1;
	}
	#doctor .ttlbox .inner {
	    padding: 13vw 36% 8vw 38%;
	}
	#doctor .cntbox .inner {
	    padding: 0 5% 13vw;
	}
	#doctor .dctbox .dct .prf {
		padding: 0 7%;
	}
	#doctor .dctbox .dct .prf dt {
		font-size: 4vw;
	}
	#doctor .dctbox .dct .prf dd {
		font-size: 7vw;
		line-height: 1.2;
		margin-top: 0.5em;
	}
	#doctor .dctbox .dct .prf dd .en {
		font-size: 2.8vw;
		margin-left: 0;
	}
	#doctor .dctbox .dct {
		display:grid;
		grid-template-columns:1fr 1fr;
	}
	#doctor .dctbox .dct .flex {
		display:contents;
	}
	#doctor .dctbox .dct .whtbox {
		margin: 4vw 0 0;
		padding: 10vw 9% 9vw;
		grid-column: 1/3;
	}
	#doctor .dctbox .dct .whtbox .title {
		font-size: 4.8vw;
		margin-bottom: 4vw;
	}
	#doctor .dctbox .dct .whtbox ul{
		column-count:1;
	}
	#doctor .dctbox .dct .whtbox ul li{
	    font-size: 3.7vw;
	    padding-top: 0.8em;
	}
	#access .ttlbox .inner {
	    padding: 12vw 38% 13vw 40%;
	}
	#access .cntbox .inner {
	    padding-bottom: 14vw;
	}
	#access .gmap iframe {
		height: 76vw;
	}

	/*-----------------------------------------------------
		company 会社概要
	-----------------------------------------------------*/
	#company .cntbox .inner {
		padding: 10vw 4% 10vw;
	}

	/*-----------------------------------------------------
		privacy プライバシーポリシー
	-----------------------------------------------------*/
	#privacy .ttlbox .inner {
		padding: 10vw 4% 10vw;
	}
	#privacy .cntbox .inner {
		padding: 10vw 4% 10vw;
	}

    /*-----------------------------------------------------
        footer
    -----------------------------------------------------*/
	footer .sitemap {
		font-size: 2.6vw;
		flex-wrap: wrap;
	}
	footer .sitemap .inner {
		padding: 3vw 4%;
	}
	footer .sitemap ul li {
	}
    footer .sitemap ul li:before,
    footer .sitemap ul li:last-child:after {
        content: none;
    }
    footer .copyright {
        font-size: 2.6vw;
    }
    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: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		width: auto !important;
		height: auto !important;
		padding: 8vw 0 12vw;
	}
	/*スクロールバー全体*/
	#modalForm::-webkit-scrollbar {
		width: 2.5vw;
	}
	#modalCloseArea span.modalClose {
		top: 0;
		right: 0;
		width: 12vw;
		max-width: 45px;
	}
}
