@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;
    }
	.bg01 {
		background-size: 4px auto;
	}
	.ttl01 {
	    font-size: 5.4vw;
	}

    /* ラジオボタン
    -----------------------------------------------------*/
    input[type="radio"] + span::before {
        top: 1px;
    }
    input[type="radio"]:checked + span::after {
        top: 4px;
        left: 3px;
        width: 8px;
        height: 8px;
    }

    /* チェックボックス
    -----------------------------------------------------*/
    input[type="checkbox"]:checked + span:after {
        top: 3px;
    }
	
	/*-----------------------------------------------------
		header
	-----------------------------------------------------*/
	header:not(.fixed):not(.fixed_sp) {
		position: relative;
		line-height: 1;
	}
	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%;
		font-size: inherit;
	}
	header h1 img {
		height: 4.5vw;
	}
	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: 115vw;
    }
    .sec,
    .cv {
        min-height: 30vw;
    }
    .ttlbox {
        background: none !important;
    }

    /* .cv コンバージョンエリア
    -----------------------------------------------------*/
	.cv .tel,
	.cv .button {
		max-width: inherit;
	}
	.cv01 .button00,
    .cv02 .button00,
    .cv02-b .button00 {
        left: 7%;
        right: 7%;
        margin: 0 auto;
    }
	.cv01 .button00 {
        bottom: 6.5%;
 }
    .cv02 .button00 {
		bottom: 3.2%;
	}
    .cv02-b .button00 {
        bottom: 13%;
    }
	
	
	/* #cmp 多くの企業が導入しています。
	-----------------------------------------------------*/
	#cmp {
		background-position: left bottom;
		background-size: 185% auto;
	}
	#cmp .ttlbox .inner {
		padding: 10vw 4% 12vw;
	}
	#cmp .ttlbox h2 {
		font-weight: bold;
		font-size: 4.8vw;
	}
	#cmp .ttlbox h2 .lrg {
		display: block;
		font-size: 5vw;
	}
	#cmp .cntbox .inner {
		padding: 0 3% 23vw;
	}
	#cmp .cmpbox {
		margin-left: -1.5vw;
		margin-right: -1.5vw;
	}
	#cmp .cmpbox li {
		padding-left: 1.5vw !important;
		padding-right: 1.5vw !important;
	}
	#cmp .cmpbox li:nth-child(n+3) {
		margin-top: 5vw;
	}
	#cmp .cmpbox li .frm {
	}
	#cmp .cmpbox li .title {
		font-size: 2.8vw;
	}
	#cmp .cmpbox li .pic {
		margin-bottom: 1.5vw;
	}
	#cmp .cmpbox li .txt {
		font-size: 2.8vw;
	}

	/* #feature Shizen Connect の3つ特徴
	-----------------------------------------------------*/
	#feature .ttlbox .inner {
		padding: 10vw 12% 8vw;
	}
	#feature .cntbox {
	    padding-bottom: 17vw;
	}
	#feature .cntbox .inner {
		padding: 0 4%;
		flex-direction: column;
		justify-content: flex-start;
		min-height: inherit !important;
	}
	#feature .exp {
		margin-bottom: 10vw;
	}
	#feature .ftrbox .ftr {
		flex-direction: column;
		flex: 0 0 100%;
		max-width: 100%;
		padding-top: 53vw;
	}
	#feature .ftrbox .ftr:nth-of-type(n+2) {
		margin-top: 10vw;
	}
	#feature .ftrbox .ftr .txtbox {
		flex: 0 0 100%;
		max-width: 100%;
	}
	#feature .ftrbox .ftr .txtbox .title {
		margin-bottom: 5vw;
	}
	#feature .ftrbox .ftr .txtbox .title dt {
		flex: 0 0 20%;
		max-width: 20%;
	}
	#feature .ftrbox .ftr .txtbox .title dd {
		font-size: 3.8vw;
	}
	#feature .ftrbox .ftr .pic {
	}
	/* タイプ別スタイル */
	#feature .ftrbox.type-b .ftr:nth-of-type(n+2) {
		margin-top: 16vw;
	}
	#feature .ftrbox.type-b .ftr .pic {
		flex: 0 0 100%;
		max-width: 100%;
		margin-top: 5vw;
	}
	#feature .ftrbox.type-b .ftr .txtbox {
		flex: 0 0 100%;
		max-width: 100%;
	}
	#feature .ftrbox.type-b .ftr .txtbox .title {
	    display: -webkit-box;
	    display: -webkit-flex;
	    display: flex;
	    margin-bottom: 4vw;
	    align-items: center;
	}
	#feature .ftrbox.type-b .ftr .txtbox .title dt {
		flex: 0 0 8.5%;
		max-width: 8.5%;
		margin-right: 4.5%;
		margin-bottom: 0;
	}
	#feature .ftrbox.type-b .ftr .txtbox .title dd {
		flex: 0 0 87%;
		max-width: 87%;
		padding: 0;
		margin: 0;
	}
	#feature .ftrbox .ftr .txtbox .title dd .udl {
	    font-size: 4.8vw;
	}
	#feature .ftrbox.type-b .ftr .txtbox .txt {
	    font-size: 3.6vw;
	    line-height: 1.5;
	}
	#feature .ftrbox.type-b.altn .ftr:nth-of-type(2n) .txtbox {
		order: 1;
	}
	#feature .ftrbox.type-b.altn .ftr:nth-of-type(2n) .pic {
		order: 2;
	}
	#feature .ftrbox.type-b.rep-sp .ftr .txtbox {
		order: 2 !important;
		margin-top: 5vw;
		padding: 0 2.5%;
	}
	#feature .ftrbox.type-b.rep-sp .ftr .pic {
		order: 1 !important;
		margin-top: 0;
		position: static;
	}
	
	/* #case 導入実績
	-----------------------------------------------------*/
	#case {
		background: url(../images/case_bg.jpg) no-repeat center top / cover;
		color: #FFF;
	}
	#case .ttlbox .inner {
		padding: 12vw 3% 10vw;
	}
	#case .ttlbox h2 {
		color: #FFF;
	}
	#case .cntbox .inner {
		padding-bottom: 15vw;
	}
	#case .exp {
		margin-bottom: 50px;
	}
	#case .casebox {
		padding: 0 20px;
	}
	#case .casebox .case {
		flex-direction: column;
		align-items: flex-end;
		position: relative;
	}
	#case .casebox .case:nth-of-type(n+2) {
		margin-top: 10vw;
	}
	#case .casebox .case .txtbox {
		max-width: 100%;
		text-align: left;
		order: 2;
	}
	#case .casebox .case .txtbox .title {
		display: -webkit-box;
		display: -webkit-flex;
		display: flex;
		justify-content: center;
		font-size: 4vw;
		margin-bottom: 0;
		position: absolute;
		top: 0;
		left: 0;
		height: 25.5vw;
		max-width: 60%;
		flex-direction: column;
	}
	#case .casebox .case .txtbox .title .min {
		font-size: 2.8vw;
	}
	#case .casebox .case .txtbox .txt {
		font-size: 3.5vw;
		margin-top: 6vw;
		line-height: 1.6;
	}
	#case .casebox .case .pic {
		max-width: 38%;
		order: 1;
	}
	
	/* タイプ別スタイル */
	#case.type-b {
		margin: 0 auto 100px;
		padding-left: 20px;
		padding-right: 20px;
		max-width: 1100px;
		box-sizing: content-box;
	}

	/* #case02 実証実験／採択実績
	-----------------------------------------------------*/
	#case02 .ttlbox .inner {
		padding: 12vw 4% 5vw;
	}
	#case02 .cntbox .inner {
		padding: 0 4% 10vw;
	}
	#case02 .casebox02 {
		text-align: left;
	}
	#case02 .casebox02 .case02 {
		padding: 4vw 0;
	}
	#case02 .casebox02 .case02 .cat {
		padding: .8vw 5%;
		font-size: 3vw;
		margin-bottom: 1vw;
	}
	#case02 .casebox02 .case02 .title {
		font-size: 3.4vw;
	}
	
    /* #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: 10vw 4% 6vw;
	}
	#law .ttlbox .inner {
		padding: 6vw 4% 8vw;
	}
	#law .cntbox .inner {
		padding: 0 4% 10vw;
	}
	
	/*-----------------------------------------------------
		company 会社概要
	-----------------------------------------------------*/
	#company .ttlbox {
		background-image: url(../images/sp/company_title_bg.png);
	}
	#company .cntbox .inner {
		padding: 10vw 4%;
	}

	/*-----------------------------------------------------
		privacy プライバシーポリシー
	-----------------------------------------------------*/
	#privacy .ttlbox {
		background-image: url(../images/sp/privacy_title_bg.png);
	}
	#privacy .cntbox .inner {
		padding: 10vw 4%;
	}

    /*-----------------------------------------------------
        footer
    -----------------------------------------------------*/
	footer {
		font-size: 2.8vw;
	}
	footer .inner {
		padding: 4vw 4%;
		flex-direction: column;
	}
	footer .sitemap {
		margin-bottom: 4vw;
	}
	footer .sitemap ul {
		justify-content: center;
	}
    #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;
	}

}