@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;
    }
	.flex_sp {
		display: -webkit-box;
		display: -webkit-flex;
		display: flex;
		justify-content: space-between;
	}
    .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;
    }
	.tbl01 th,
    #contact th {
        padding: 8px 15px !important;
	}
	header a,
    .cv a,
    .floatbox a {
        display: block;
	}

    /* ラジオボタン
    -----------------------------------------------------*/
    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: 9vw;
	}
	header .info .tel {
		order: 2;
	}
	header .info .button {
		order: 1;
	}
	header .info .tel img,
	header .info .button img {
		height: 13vw;
	}

    /*-----------------------------------------------------
        content
    -----------------------------------------------------*/
    #mainvisual,
    .sec,
    .cv {
        background: none !important;
    }
    #mainvisual {
        min-height: 125vw;
    }
	#mainvisual .inner{
		padding-bottom: 8vw;
    }
	#mainvisual .btn{
		left: 10vw;
		right: 10vw;
		bottom: 0.7%;
	}
    .sec,
    .cv {
        min-height: 33vw;
    }
    .ttlbox {
        background: none !important;
    }

	/* section セクション
	-----------------------------------------------------*/
	.ttlbox h2{
		font-size: 7vw;
	}
	.cntbox h3{
		font-size: 5vw;
	}

    /* .cv コンバージョンエリア
    -----------------------------------------------------*/
	.cv .tel,
	.cv .button {
		max-width: inherit;
	}
    .cv01 .tel {
        left: 30%;
        right: 30%;
        bottom: 65%;
    }
    .cv01 .button00 {
        left: 10%;
        right: 8%;
        bottom: 3.5%;
        margin: 0 auto;
    }
    .cv01 .button01 {
        left: 30%;
        right: 30%;
        bottom: 5%;
    }

	#sec02{
		position:relative;
		z-index:2;
		margin-bottom:-15vw;
	}
	
	#sec03 .video {
		top: 74%;
		left: 0;
		max-width: unset;
		width: auto;
	}
	#sec03 .video > *{
		max-width:81vw;
		width: 100%;
		height: auto;
		aspect-ratio: 16/9;
	}
	/* #reason 選ばれる理由
	-----------------------------------------------------*/
	#reason .ttlbox .inner {
		padding: 11.2vw 6.5% 0;
	}
	#reason .cntbox .inner {
		padding: 10.5vw 11% 16.4vw;
	}
	#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: 6vw;
		line-height: 1.25;
	}
	#reason .rsnbox .rsn .txtbox .txt {
	    font-size: 3.6vw;
	}

	/* タイプ別スタイル */
	#reason .rsnbox.type-b .rsn:nth-of-type(n+2) {
		margin-top: 11.3vw;
	}
	#reason .rsnbox.type-b .rsn .pic {
		flex: 0 0 100%;
		max-width: 100%;
		margin-top: 5vw;
	}
	#reason .rsnbox.type-b .rsn .pic img {
		box-shadow: 2vw 2vw 1vw #00000029;
	}
	#reason .rsnbox.type-b .rsn .txtbox {
		flex: 0 0 100%;
		max-width: 100%;
	}
	#reason .rsnbox.type-b .rsn .txtbox .title {
		margin-bottom: 4.1vw;
	}
	#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: 4vw;
	}
	#reason .rsnbox.type-b.rep-sp .rsn .pic {
		order: 1 !important;
		margin-top: 0;
	}

	/* #voice お客様の声
	-----------------------------------------------------*/
	#voice .voice_box{
		flex-direction:column;
		bottom: 11.6%;
		left:5vw;
		right:5vw;
		margin: 0;
		gap: 4vw;
	}
	#voice .voice_box .voice{
		max-width:unset;
        height: auto;
        max-height: unset;
	}
	#voice .voice_box .voice > * {
		width: 87vw;
		height: auto;
		aspect-ratio: 16/9;
		margin: 0 auto;
	}

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

    /* #contact フォーム
    -----------------------------------------------------*/
    #contact .cntbox .inner {
        padding: 10vw 4%;
        min-height: 400px;
    }
    #contact .title {
		font-size: 24px;
	}
	#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 td input[name="address_address"] {
		width: 100%;
	}
    #contact button[type="submit"],
    #contact button[type="button"] {
        width: auto !important;
    }

    #contact td .note {
        font-size: 13px;
    }

	/*-----------------------------------------------------
		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: 14px;
		flex-wrap: wrap;
	}
	footer .sitemap .inner {
		padding: 3vw 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: 10px;
    }
    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 送信完了
    -----------------------------------------------------*/
    .thanks header h1 {
	    padding: 1vw 0;
	}
	.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;
	}
}
