@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;
        width: 100% !important;
        font-size: 13px;
        border: 0;
    }
    .tbl01 th,
    #contact th {
		padding: 8px 15px !important;
	}
    .tbl01 td,
    #contact td {
        padding: 15px !important;
    }

    /* ラジオボタン
    -----------------------------------------------------*/
    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: 0 3%;
	}
	header h1 {
	}
	header h1 img {
		height: 7.5vw;
	}
	.old-name {
		font-size: 10px;
		text-indent: 0.5em;
	}
	.old-clinic-name {
		display: block;
		margin-left: 0;
	}
	header .info {
		padding-bottom: 0;
	}
	header .info .tel {
		order: 2;
	}
	header .info .button01 {
		order: 1;
	}
	header .info .button02 {
		order: 3;
	}
	header .info .tel img,
	header .info .button img {
		height: 13vw;
	}
	header .info p:not(.tel) a {
		padding: 0;
	}

    /*-----------------------------------------------------
        content
    -----------------------------------------------------*/
    #mainvisual,
    .sec,
    .cv {
        background: none !important;
    }
    #mainvisual {
        min-height: 125vw;
    }
    .sec,
    .cv {
        min-height: 33vw;
    }
    .ttlbox {
        background: none !important;
    }
	#sec08 {
	    margin-top: -1vw;
	}

    /* .cv コンバージョンエリア
    -----------------------------------------------------*/
	.cv .tel,
	.cv .button {
		max-width: 27%;
		bottom: 11vw;
	}
    .cv01 .line {
		left: 7.5%;
	}
	.cv01 .tel {
	    left: 36%;
	    right: 36%;
	    margin: auto;
	}
	.cv01 .button00 {
	    right: 7.5%;
	}
	
	/* #expert-gallery
	-----------------------------------------------------*/
	#expert-gallery {
	    background-image: url(../img/sp/expert-gallery_bg.png) !important;
		background-size: 100% auto;
	}
	#expert .inner {
	    padding-top: 0;
	}
	#expert h2 {
		font-size: 7.4vw;
		margin-right: 15%;
		padding: 4.5vw 2% 3vw 6.5%;
		line-height: 1.5;
		letter-spacing: .10em;
	}
	#expert h2 .txt {
	    letter-spacing: normal;
	}
	#expert h2:after {
		left: 0;
	}
	#expert h2 .min {
		font-size: 3.9vw;
		display: inline-block;
	}
	#expert .prfbox .pic {
		top: 21vw;
		width: 43%;
		right: 0;
	}
	#expert .prfbox .txtbox {
		padding: 20vw 2% 7vw 5%;
		max-width: inherit;
	}
	#expert .prfbox .prf {
		font-size: 6.3vw;
		margin-bottom: 20vw;
		padding-left: 6vw;
	}
	#expert .prfbox ul {
		font-size: 2.8vw;
		line-height: 2.25;
	}
	#expert .prfbox ul li {
		padding-left: 1em;
	}
	#expert .prfbox ul li:before {
		content: '・';
		margin-left: -1em;
	}
	#expert .prfbox .txt {
		font-size: 20.8px;
	}
	#expert .exp {
		padding: 0 8% 3vw;
		font-size: 3.7vw;
		line-height: 1.7;
		letter-spacing: normal;
	}
	#expert .picbox {
		margin: 0 6% !important;
	}
	#expert .picbox .pic {
		padding: 1px !important;
	}
	#expert .picbox .col-12 {
		margin-top: 0;
	}
	
	#gallery .inner {
		padding: 13vw 5.5% 11vw;
	}
	#gallery h2 {
	    font-size: 5.4vw;
	    margin-bottom: 14vw;
	}
	
	/* #voice お客様の声
	-----------------------------------------------------*/
	#voice .inner {
    margin-bottom: 0;
	}
	#voice .ttlbox .inner {
		padding: 5vw 24% 7vw 18%;
	}
	#voice .cntbox .inner {
		padding: 0 0 12vw;
	}
	#voice .exp {
		margin-bottom: 10vw;
	}
	#voice .psn {
        padding: 0;
    }
    #voice .psn:nth-of-type(n+2) {
        margin-top: 9vw !important;
    }
    #voice .psn .blc {
        align-items: flex-start;
    }
    #voice .psn .txtbox {
        flex: 0 0 92%;
        max-width: 92%;
        padding: 5vw 4% 4vw 7%;
    }
    #voice .psn .cat {
        font-size: 2.8vw;
        padding: 2px 7px;
        border-radius: 3px;
        margin-bottom: 2vw;
    }
    #voice .psn .title {
        font-size: 4.2vw;
        letter-spacing: .25em;
    }
    #voice .psn .prf {
        font-size: 2.6vw;
        min-width: 18vw;
        text-align: right;
    }
    #voice .psn .pic {
        max-width: 78%;
        position: relative;
        top: inherit !important;
        margin-top: -23vw;
        z-index: 2;
	}
	#voice .psn:nth-of-type(2n) .pic {
		margin-left: 22%;
	}
	#voice .psn.t2 .pic {
		margin-top: -38vw;
	}
    #voice .psn .txt {
        font-size: 3.5vw;
        line-height: 2.05;
        margin-top: -8vw;
        padding: 15vw 4% 31vw 8%;
        position: relative;
        z-index: auto;
    }

	/* タイプ別スタイル */
	#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: 10vw 24% 0 23%;
	}
	#faq .cntbox .inner {
		padding: 0 4% 12vw;
	}
	#faq .exp {
		margin-bottom: 10vw;
	}
	#faq ul li:nth-child(n+2) {
		margin-top: 6vw;
	}
	#faq ul li .que {
		padding: 3vw 3.5% 4vw;
		font-size: 3.6vw;
		min-height: 18vw;
	}
	#faq ul li .ans {
		padding: 6vw 3.5% 7vw;
		line-height: 1.6;
		font-weight: 500;
		font-size: 3.3vw;
	}
	#faq ul li .que .ini, #faq ul li .ans .ini {
		margin-right: 5%;
		flex: 0 0 7%;
	}
	#faq ul li .ans .txt {
	    padding-top: 0;
	    line-height: 2;
	}
	#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 .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 .ttlbox .inner {
		padding: 15vw 4% 10vw;
	}
	#info .ttlbox h2 {
		font-size: 5.3vw;
		letter-spacing: .10em;
	}

	#info .cntbox .inner {
		padding: 0 0 6vw;
	}
	#info .ovvbox {
	    margin-top: 6vw;
	}
	#info .frm {
		padding: 17vw 5% 10vw;
		margin-left: 5.5%;
		margin-top: -10vw;
	}
	#info .frm:after {
		content: '';
		position: absolute;
		z-index: 1;
		top: 0;
		left: 0;
		right: -100%;
		bottom: 0;
		background: #FFF;
	}
	#info .frm > div {
		position: relative;
		z-index: 2;
	}
	#info .ovvbox .title {
	    font-size: 3.8vw;
	    padding: 4vw 5% 5.5vw 7%;
	    margin-right: 14%;
	}
	#info .ovvbox .title:after {
		content: '';
		position: absolute;
		z-index: 1;
		top: 0;
		right: 0;
		bottom: 0;
		left: -100%;
		background: #fac5c0;
	}
	#info .ovvbox .title .inn {
		position: relative;
		z-index: 2;
	}
	#info .ovvbox .ovv {
	    font-size: 3.2vw;
	    padding-bottom: 9vw;
	    line-height: 1.65;
	}
	#info .ovvbox .ovv:nth-of-type(n+2) {
		padding-top: 6vw;
	}
	#info .ovvbox .ovv .info:nth-of-type(n+2) {
	    margin-top: 4.5vw;
	}
	#law .ttlbox .inner {
	    padding-top: 45px;
	    padding-bottom: 45px;
	}
	#law .cntbox .inner {
	    padding-bottom: 110px;
	}
	#info .ovvbox .ovv.sdgs {
		padding-left: 0;
	}
	#info .ovvbox .ovv.sdgs .cap {
		font-size: 3.8vw;
		margin: 5vw 0 5vw;
	}
	#info .ovvbox .ovv.sdgs .cap .lrg {
		font-size: 4.7vw;
		margin-top: 3vw;
		display: inline-block;
	}
	#info .ovvbox .ovv.sdgs .flex {
		flex-direction: column;
	}
	#info .ovvbox .ovv.sdgs .flex > .pic {
		flex: 0 0 100%;
		max-width: 100%;
		margin-left: 0;
	}
	#info .ovvbox .ovv.sdgs .txtbox {
		flex: 0 0 100%;
		max-width: 100%;
		line-height: 1.8;
		font-size: 3vw;
		margin-top: 7vw;
	}
	#info .ovvbox .ovv.sdgs .txtbox .txt {
		padding: 0 7% 0 3%;
	}
	#info .ovvbox .ovv.sdgs .txtbox .pic {
		margin: 6vw 1% 0;
	}
	#payment {
		margin-top: 1vw;
	}
	#payment h2 {
		margin: 0 0 6vw;
		font-size: 7vw;
	}
	#payment .paybox {
	    display: block;
	}
	#payment .paybox .pay:nth-of-type(n+2) {
		margin-top: 4vw;
	}
	#payment .paybox .pay h3 {
		font-size: 3.6vw;
		background-size: 6vw auto;
		padding: 2.5vw 3% 2.5vw 15%;
		background-position: left 5% center;
	}
	#payment .paybox .pay .txtbox {
		padding: 4vw 2% 4vw 4%;
		font-size: 3.25vw;
	}
	#payment .paybox .pay .txtbox .card {
		margin-bottom: 5vw;
		max-width: 45%;
	}
	
	#access .inner {
		padding-top: 4vw;
		padding-bottom: 0;
	}
	#access h2 {
	    font-size: 5.4vw;
	    margin-bottom: 7vw;
	}
	#access .gmap {
	    margin-left: 0;
	    margin-right: 0;
	    margin-bottom: 0;
	}
	#access .gmap iframe {
		height: 89vw;
	}
	#access .flex {
		flex-direction: column;
		padding: 5vw 4% 12vw;
	}
	#access .txt {
		font-size: 3vw;
		line-height: 1.75;
		width: 93%;
		margin-bottom: 8vw;
	}
	#access .pic {
	    flex: 0 0 96%;
	    max-width: 96%;
	}
	
	/*-----------------------------------------------------
		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;
	}
	footer .sitemap .inner {
		padding: 2vw 4%;
	}
	footer .sitemap ul li {
		margin: 0.5em 0;
	}
    footer .sitemap ul li:before,
    footer .sitemap ul li:last-child:after {
        content: none;
    }
    footer .copyright {
        font-size: 2.6vw;
    }
    footer .copyright .inner {
		padding: 2.5vw 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 3.5vw 12vw;
	}
	/*スクロールバー全体*/
	#modalForm::-webkit-scrollbar {
		width: 2.5vw;
	}
	#modalCloseArea span.modalClose {
		top: 0;
		right: 0;
		width: 12vw;
		max-width: 45px;
	}
}
