@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: 9vw;
		padding-right: 2vw;
	}
	header .info .tel {
		order: 2;
		margin-right: 0;
	}
	header .info .button {
		order: 1;
	}
	header .info .tel img,
	header .info .button img {
		height: 14vw;
	}
	header .info p:nth-of-type(n+2) {
		 margin-left: 0;       
    }
	
    /*-----------------------------------------------------
        content
    -----------------------------------------------------*/
    #mainvisual,
    .sec,
    .cv {
        background: none !important;
    }
    #mainvisual {
        min-height: 125vw;
    }
    .sec,
    .cv {
        min-height: 33vw;
    }
    .ttlbox {
        background: none !important;
    }
	#sec04 .read {
		position: relative;
		z-index: 2;
	}
	#sec04 .main {
		margin-top: -7vw;
		display: block;
		position: relative;
		z-index: 1;
	}

    /* .cv コンバージョンエリア
    -----------------------------------------------------*/
	.cv .tel,
	.cv .button {
		max-width: inherit;
	}
    .cv01 .tel {
		position: absolute;
		left: 5%;
		bottom: 6%;
		max-width: initial;
		right: 5%;
	}
	.cv01 .button00 {
		position: absolute;
		left: 10%;
		right: 10%;
		bottom: 10%;
		margin: 0 auto;
		max-width: 25%;
	}
	.cv01 .button01 {
		position: absolute;
		right: 10%;
		bottom: 10%;
		max-width: 25%;
	}
	
	/* #service サービス紹介
	-----------------------------------------------------*/
	#service .ttlbox .inner {
		padding: 12vw 25% 7vw;
	}
	#service .cntbox .inner {
		padding: 0 5% 12vw;
	}
	#service .srvbox {
		flex-direction: column;
	}
	#service .srv {
		flex-basis: 0 0 100%;
		max-width: 100%;
		padding: 0;
	}
	#service .srv:nth-child(n+2) {
		margin-top: 10vw;
	}
	#service .srv .picbox {
	    text-align: center;
	}
	#service .srv .picbox .title {
		font-size: 5vw;
	}
	#service .srv .inn {
		padding: 9vw 0 0;
	}
	#service .srv ul li {
		font-size: 3.7vw;
		padding: 3vw 3% 3vw 12%;
	}
	#service .srv ul li:before {
		width: 4vw;
		height: 4vw;
		top: 3.5vw;
		left: 3.5vw;
		border-radius: 2px;
	}
	#service .srv ul li:after {
		top: 3.5vw;
		left: 4.8vw;
		width: 1.5vw;
		height: 3vw;
	}
	#service .maker {
		margin-top: 12vw;
	}
	
	/* #voice お客様の声
	-----------------------------------------------------*/
	#voice {
		background: url(../img/sp/voice_bg.png) repeat center top / 4px auto !important;
	}
	#voice .ttlbox .inner {
		padding: 13vw 28% 7vw;
	}
	#voice .cntbox .inner {
		padding: 0 5% 18vw;
	}
	#voice .exp {
		margin-bottom: 20px;
	}
	#voice .psn,
	#voice .row .psn {
		-ms-flex: inherit;
		flex: inherit;
		max-width: inherit;
		padding: 0 15px;
	}
	#voice .psn:nth-of-type(n+2),
	#voice .row .psn:nth-of-type(n+2) {
		margin-top: 11vw;
	}
	#voice .psn:nth-of-type(2n) .txtbox,
	#voice .row .psn:nth-of-type(2n) .txtbox {
		order: 2;
	}
	#voice .psn:nth-of-type(2n) .pic,
	#voice .row .psn:nth-of-type(2n) .pic {
		order: 1;
	}
	#voice .psn .blc {
		align-items: flex-start;
		margin-bottom: 6vw;
	}
	#voice .psn .txtbox {
		flex: 0 0 53%;
		max-width: 53%;
		padding-top: 1vw;
	}
	#voice .psn .cat {
		font-size: 3vw;
		padding: 0.5vw 5%;
		margin-bottom: 2vw;
		border-radius: 4px;
	}
	#voice .psn .title {
		font-size: 3.8vw;
		margin-bottom: 2vw;
	}
	#voice .psn .prf {
		font-size: 2.7vw;
	}
	#voice .psn .pic {
		flex: 0 0 34%;
		max-width: 34%;
	}
	#voice .psn:nth-of-type(2n) .pic {
		order: 2;
	}
	#voice .psn:nth-of-type(2n) .prf {
		order: 1;
	}
	#voice .psn .txt {
		font-size: 3.5vw;
		line-height: 1.5;
	}
	
	/* #area 対応エリア
	-----------------------------------------------------*/
	#area {
		background-image: url(../img/sp/area_bg.jpg) !important;
		background-size: 100% auto !important;
		background-attachment: inherit;
	}
	#area .ttlbox .inner {
        padding: 16vw 4% 5vw;
        display: block;
    }
	#area .ttlbox .txtbox {
        text-align: center;
        padding: 0;
        margin-bottom: 5vw;
    }
    #area .ttlbox .txtbox h2 {
        margin-bottom: 5vw;
    }
	#area .ttlbox .txtbox h2 img {
		height: 6vw;
	}
	#area .ttlbox .txtbox ul {
		justify-content: center;
		margin: 0 1%;
	}
    #area .ttlbox .txtbox ul li {
        font-size: 4.5vw;
        margin: 1vw 1%;
    }
    #area .ttlbox .txtbox ul li:nth-child(n+2) {
    	margin-left: 2%;
    }
    #area .ttlbox .txtbox ul li .min {
    	font-size: 3vw;
    }
	#area .ttlbox .cclbox {
        margin-left: 0;
        justify-content: center;
    }
    #area .ttlbox .cclbox li {
    	width: 22%;
    }
    #area .ttlbox .cclbox li:nth-child(n+2) {
    	margin-left: 1%;
    }
	#area .cntbox .inner {
		padding: 0 4% 10vw;
	}
	#area .exp {
		margin-bottom: 20px;
	}
	#area .pref {
		display: block;
	}
	#area .pref dl {
		max-width: inherit;
	}
	
	/* type-a */
	#area .pref .cap {
		font-size: 6vw;
		margin-bottom: 3vw;
	}
	#area .pref dl:nth-child(n+2) {
		margin-top: 4vw;
	}
	#area .pref dl dt {
		font-size: 4.2vw;
		padding: 3.5vw 3%;
	}
	#area .pref dl dd {
		font-size: 3.3vw;
		padding: 5vw 6% 7vw;
		line-height: 1.6;
	}
	
	/* #faq よくある質問
	-----------------------------------------------------*/
	#faq .ttlbox h2 img {
		height: auto;
	}
	#faq .cntbox .inner {
		padding: 8vw 5% 10vw;
	}
	#faq .exp {
		margin-bottom: 20px;
	}
	#faq ul li {
		border-radius: 4px;
	}
	#faq ul li:nth-child(n+2) {
		margin-top: 4vw;
	}
	#faq ul li .que {
		padding: 4.5vw 4%;
		font-size: 3.5vw;
	}
	#faq ul li .ans {
		padding: 2vw 4% 5vw;
		font-size: 3.2vw;
		line-height: 1.4;
	}
	#faq ul li .que .ini, #faq ul li .ans .ini {
		margin-right: 3%;
		flex: 0 0 9%;
	}
	#faq ul li .ans .txt {
		padding-top: 1.5vw;
	}
	#faq ul li .ans .txt dl {
		display: block;
	}
	#faq ul li .ans .txt dl dt {
		max-width: 30%;
	}
	#faq ul li .ans .txt dl dd {
		margin-left: 0;
		font-size: 2.7vw;
		margin-top: 3vw;
	}
	#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 特定商取引法に基づく表示
	-----------------------------------------------------*/
	.ttlbox h2 img {
		height: 9vw;
	}
	#info .ttlbox h2 img,
    #law .ttlbox h2 img,
	#privacy .ttlbox h2 img {
    	height: auto;
    }
	#info .cntbox .inner,
	#law .cntbox .inner,
	#privacy .cntbox .inner {
		padding: 10vw 4%;
	}
	#privacy .privacy p {
        text-align: left;
        font-size: 14px;
        margin-bottom: 40px;
    }
	#agency .ttlbox .inner {
		padding-bottom: 10vw;
	}
	#agency .cntbox .inner {
		padding-bottom: 10vw;
	}
	#agency h4{
		font-size: 1rem;
		width: 80%;
		margin: 0 auto;
		padding-bottom: 24px;
	}
	.ang_tel{
		font-size: 1.8rem;
	}
	.ang_mail{
		text-decoration: none;
		background: #114fb5;
		color: #fff;
		padding: 4% 8%;
		margin-top: 6px;
		display: inline-block;
		font-size: 1rem;
	}
	
	/*-----------------------------------------------------
		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 .inner {
		padding: 5vw 4%;
	}
	footer .sitemap ul {
		flex-wrap: wrap;
	}
	footer .sitemap li {
		margin: 5px 0;
	}
	footer .sitemap li a {
		margin: 0 10px;
	}
	footer .copyright {
		font-size: 10px;
	}
	footer .copyright .inner {
		padding: 15px 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;
	}
}
