@charset "utf-8";

/* =======================================
共通
======================================= */
@media screen and (min-width: 320px) and (max-width: 768px){
    body {
    	width: 100%;
    	margin: 0 auto;
    	font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
    	font-size: 3.7vw;
    	color: #000;
    	text-align: center;
        background: url(../img/common/cmn_bg.png) center;
        line-height: 1.6;
    }

    .inbox{
        padding: 0 2%;
        margin:0 auto;
    }

    .yu-min{
        font-family: Georgia, "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    	font-weight: bold;
    }

    .yu-go{
        font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    }

    .pagenation{
        color: #2d68f9;
        font-size: 12px;
        position: relative;
    }

    .pagenation li{
        background: #fff;
        padding: 5px 10px;
        color: #2d68f9;
        display: inline-block;
        box-sizing: border-box;
        vertical-align: middle;
        margin-right: 10px;
    }

    .pagenation li a{
        color: #2d68f9;
    }

    .pagenation .current{
        background:#2d68f9;
    }

    .current{
        color: #fff !important;
    }

    .pagetation p a{
        color: #2d68f9;
    }

    .right{
        position: absolute;
        right: 2%;
        z-index: 2;
    }

    .center{
        position: absolute;
        left: 0;
        right: 0;
        z-index: 1;
    }

    .left{
        position: absolute;
        left: 2%;
        z-index: 2;
    }

    a{
        color: #000;
    }

    a::before,
    a::after {
        position: absolute;
        z-index: -1;
        display: block;
        content: '';
    }

    a,
    a::before,
    a::after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all .3s;
        transition: all .3s;
    }

    a:hover {
        filter:alpha(opacity=60);
        opacity: 0.6;
    }

    .cmn_dl a[href^="tel:"] {
        text-decoration: underline;
    }

    .cmn_dl dt,
    .cmn_dl dd{
        text-align: left;
    }

    .cmn_dl dl{
        border-bottom: 1px solid #000;
        padding: 15px 0;
    }

    .cmn_dl dt{
        font-weight: bold;
        text-align: left;
        margin-bottom: 10px;
    }

    .cmn_dl dt:before{
        content: '';
        border-left: 3px solid #2d68f9;
        padding-right: 10px;
    }

    .cmn_dl dd{
        padding:0 20px;
        line-height: 23px;
    }

    .cmn_img{
        display: block;
        overflow: hidden;
        position: relative;
        z-index: 1;
    }

    .cmn_img img{
        position: absolute;
        width: auto;
        height: auto;
        top: 50%;
        left: 50%;
        min-height: 100%;
        min-width: 100%;
        -ms-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
    }

    @supports ( object-fit: cover ) {
        .cmn_img img {
            position: static;
            height: 100%;
            width: 100%;
            left: 0;
            -o-object-fit: cover;
            object-fit: cover;
            top: 0;
            -ms-transform: none;
            -moz-transform: none;
            -webkit-transform: none;
            transform: none;
        }
    }

    img{
        max-width: 100%;
        height: auto;
    }

    .wrapper{
        position: relative;
    }

    /*header
    --------------------------------------------*/
    .header{
        border-top: 5px solid #2d68f9;
    }

    .header h1{
        display: none;
    }

    .h_cont{
        padding: 10px 0;
    }

    .h_logo{
        width: 75%;
        margin-right: auto;
    }

    .head_r{
        display: none;
    }

    /*mainv
    --------------------------------------------*/
    .main_visual {
        width: 100%;
        height: 115vw;
        position: relative;
    }

    .mv_txt {
        width: 70%;
        margin:0 auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 999;
    }

    #top_slider li {
        text-align: center;
        height: 115vw;
    }

    #top_slider li:first-child {
        background: url(../img/top/slide01.png) left center no-repeat;
        background-position: 80% 50%;
    }

    #top_slider li:nth-child(2) {
        background: url(../img/top/slide02.png) left center no-repeat;
        background-position: 82% 50%;
    }
    #top_slider li:last-child {
        background: url(../img/top/slide03.png) left center no-repeat;
        background-position: 10% 50%;
    }

    .bx-wrapper {
        width:100%;
        height: 115vw;
        margin:0 auto;
        position:relative;
        overflow:hidden;
    }

    .bx-viewport {
        overflow: visible!important;
        margin:auto;
        text-align:center;
    }

    .bx-pager {
        display:none;
    }

    /*nav
    --------------------------------------------*/
    .nav .inbox{
        display: none;
    }

    /*トップ共通
    --------------------------------------------*/
    .tp_cmn{
        font-size: 5.5vw;
        color: #6d472c;
        margin-bottom: 20px;
    }

    .tp_ttl {
        overflow: hidden;
        text-align: center;
        font-size: 7vw;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .tp_ttl span {
        display: inline-block;
        padding: 0 0.5em;
        position: relative;
    }

    .tp_ttl span:before,
    .tp_ttl span:after {
        border-top: 1px solid #b2b2b2;
        content: "";
        position: absolute;
        top: 50%;
        width: 3em;
    }

    .tp_ttl span:before {
        right: 105%;
    }

    .tp_ttl span:after {
        left: 105%;
    }


    /*tp01
    --------------------------------------------*/
    .tp01{
        background: url(../img/top/bg_img01.png) right top no-repeat,
                    url(../img/top/bg_img02.png) left bottom no-repeat;
        padding: 40px 0;
    }

    .tp01_txt{
        margin-bottom: 25px;
    }

    .tp01_txt p{
        margin-bottom: 15px;
    }

    /*tp02
    --------------------------------------------*/
    .tp02{
        background: #f2f2f2;
        padding: 40px 0;
    }

    .tp02_box{
        padding: 40px 2%;
    }

    .tp02_cont .tp02_box:first-child{
        background: url(../img/top/bg_img03-off.png) center no-repeat;
    }

    .tp02_cont .tp02_box:first-child:hover{
        background: url(../img/top/bg_img03-on.png) center no-repeat;
        transition:.8s;
    }

    .tp02_cont .tp02_box:nth-child(2){
        background: url(../img/top/bg_img04-off.png) center no-repeat;
    }

    .tp02_cont .tp02_box:nth-child(2):hover{
        background: url(../img/top/bg_img04-on.png) center no-repeat;
        transition:.8s;
    }

    .tp02_cont .tp02_box:last-child{
        padding: 40px 0 0 0;
    }

    .tp02_boxin{
        padding: 3px;
        background: rgba(255,255,255,0.8);
        border-radius:10px;
    }

    .tp02_boxin a{
        display: block;
        border:1px solid #6d472c;
        border-radius: 10px;
        padding: 10px 0;
        background: url(../img/common/arr01.png) no-repeat;
        background-position: 95% 50%;
    }

    .tp02_cont .tp02_box:last-child .tp02_boxin{
        background: url(../img/top/bg_img05-off.png) center no-repeat;
        background-size: cover;
        margin: 0 2%;
    }

    .tp02_cont .tp02_box:last-child .tp02_boxin:hover{
        background: url(../img/top/bg_img05-on.png) center no-repeat;
        background-size: cover;
        transition:.8s;
    }

    .tp02_cont .tp02_box:last-child .tp02_boxin .tp_cmn{
        color: #fff;
    }

    .tp02_cont .tp02_box:last-child .tp02_boxin a{
        background: url(../img/common/arr02.png) no-repeat;
        background-position: 95% 50%;
        color: #fff;
        border:1px solid #b1c4f4;
    }

    /*tp03
    --------------------------------------------*/
    .tp03{
        padding: 40px 0;
        background: url(../img/top/bg01.png) bottom center no-repeat;
    }

    .tp03_list{
        margin-bottom: 20px;
    }

    .tp03_list li{
        width: 48%;
        float: left;
        margin-right: 4%;
        box-shadow: 0 0 8px #ccc;
        box-sizing: border-box;
        margin-bottom: 15px;
    }

    .tp03_list li:nth-child(even){
        margin-right: 0;
    }

    .tp03_list li:nth-child(2n+1):nth-last-child(-n+2),
    .tp03_list li:nth-child(2n+1):nth-last-child(-n+2) ~ li{
        margin-bottom: 0;
    }

    .tp03_list li a{
        display: block;
    }

    .tp03_img{
        width: 100%;
        height: 35vw;
    }

    .tp03_txt{
        background: url(../img/common/triangle.png) right bottom no-repeat,
                    #fff;
        padding: 10px;
        text-align: left;
    }

    .tp03_btn{
        width: 80%;
        margin:0 auto;
        font-weight: bold;
    }

    .tp03_btn a{
        background: url(../img/common/arr02.png) no-repeat,
                    #6d472c;
        background-position: 90% 50%;
        color: #fff;
        padding: 10px 0;
        display: block;
        border-radius: 5px;
    }

    /*tp04
    --------------------------------------------*/
    .tp04{
        padding: 40px 0;
    }

    .tp04_l{
        margin-bottom: 25px;
    }

    .tp04_l h3{
        font-size: 7vw;
        margin-bottom: 20px;
    }

    .tp04_list{
        margin-bottom: 25px;
    }

    .tp04_list li{
        text-align: left;
        padding: 15px 0;
        border-bottom: 1px solid #000;
    }

    .tp04_list li a{
        display: block;
    }

    .tp04_list li span{
        font-weight: bold;
        padding-left: 10px;
        border-left: 2px solid #2d68f9;
        display: block;
        margin-bottom: 10px;
    }

    .tp04_btn{
        width: 80%;
        margin:0 auto;
        font-weight: bold;
    }

    .tp04_btn a{
        background: url(../img/common/arr03.png) no-repeat,
                    #6d472c;
        background-position: 90% 50%;
        color: #fff;
        padding: 10px 0;
        display: block;
        border-radius: 5px;
    }

    /*tp05
    --------------------------------------------*/
    .tp05{
        padding: 40px 0;
        background: #f2f2f2;
    }

    .tp05 .tp_ttl{
        font-weight: normal;
    }

    .insta_list li{
        float: left;
        width: 48%;
        height: 35vw;
        margin-right: 4%;
        margin-bottom: 15px;
    }

    .insta_list li:nth-child(even){
        margin-right: 0;
    }

    .insta_list li:nth-child(2n+1):nth-last-child(-n+2),
    .insta_list li:nth-child(2n+1):nth-last-child(-n+2) ~ li{
        margin-bottom: 0;
    }

    /*下層共通
    --------------------------------------------*/
    .mainv{
        background: url(../img/common/bt_bg.png) center no-repeat;
        background-size: cover;
        padding: 40px 0;
    }

    .bt_ttl{
        border:1px solid #fff;
        padding: 15px 10px;
        box-sizing: border-box;
        font-size: 8vw;
        letter-spacing: 2px;
    }

    div.bread{
        display: none;
    }

    .cmn_bg{
        /*background: url(../img/common/bg_img01.png) right top no-repeat,
                    url(../img/common/bg_img02.png) left center no-repeat;*/
        padding:40px 0;
    }

    .sub_ttl{
        font-size: 7vw;
        padding-bottom: 5px;
        margin-bottom: 25px;
        border-bottom: 1px solid #b2b2b2;
    }

    .third_ttl{
        font-size: 6.5vw;
        color: #6d472c;
        text-align: left;
        background: url(../img/common/ttl_bg.png) center no-repeat;
        padding: 5px 15px;
        margin-bottom: 25px;
    }

    .forth_ttl{
        font-size: 4.5vw;
        font-weight: bold;
        border-bottom: 1px solid #b2b2b2;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .forth_ttl span{
        border-left: 3px solid #2d68f9;
        padding-left: 10px;
    }

    .cmn_block{
        margin-bottom: 25px;
    }

    .fl_txt01{
        text-align: left;
        margin-bottom: 15px;
    }

    .fl_txt01 p{
        margin-bottom: 15px;
    }

    .fl_txt02{
        text-align: left;
    }

    .fl_txt02 p{
        margin-bottom: 15px;
    }

    .cmn_box{
        padding:20px;
        border:1px solid #6d472c;
        border-radius:7px;
    }

    .cmn_box .fl_img{
        margin-bottom: 15px;
    }

    /*新築
    --------------------------------------------*/
    .pagelinks{
        padding: 40px 0;
        background: #f2f2f2;
    }

    .pagelinks li{
        margin-bottom: 25px;
    }

    .pagelinks li:last-child{
        margin-bottom: 0;
    }

    .pagelinks li a{
        padding: 3px;
        border-radius: 10px;
        display: block;
        color: #fff;
    }

    .pagelinks li:first-child a{
        background: url(../img/common/arr04.png) no-repeat,
                    url(../img/newly/bg_img01-off.png) center no-repeat;
        background-position: 95% 50% , 50% 50%;
    }

    .pagelinks li:first-child a:hover{
        background: url(../img/common/arr04.png) no-repeat,
                    url(../img/newly/bg_img01-on.png) center no-repeat;
        background-position: 95% 50% , 50% 50%;
        transition: .8s;
        opacity: 1;
    }

    .pagelinks li:last-child a{
        background: url(../img/common/arr04.png) no-repeat,
                    url(../img/newly/bg_img02-off.png) center no-repeat;
        background-position: 95% 50% , 50% 50%;
    }

    .pagelinks li:last-child a:hover{
        background: url(../img/common/arr04.png) no-repeat,
                    url(../img/newly/bg_img02-on.png) center no-repeat;
        background-position: 95% 50% , 50% 50%;
        transition: .8s;
        opacity: 1;
    }

    .pagelinks li .links_in{
        padding: 15px 0;
        border:1px solid #b1c4f4;
        border-radius: 10px;
    }

    .pagelinks li span{
        font-size: 6vw;
        display: block;
    }

    .newly01{
        margin-bottom: 40px;
    }

    .newly01_head{
        margin-bottom: 30px;
    }

    /*リフォーム・リノベーション
    --------------------------------------------*/
    .reform_ttl{
        font-size: 6vw;
    }

    .reform01,
    .reform02{
        margin-bottom: 40px;
    }

    .reform_bt .reform_txt span{
        display: block;
    }

    /*施工事例
    --------------------------------------------*/
    .works_list{
        margin-bottom: 10px;
    }

    .works_list li{
        width: 48%;
        float: left;
        margin-right: 4%;
        margin-bottom: 15px;
    }

    .works_list li:nth-child(even){
        margin-right: 0;
    }

    .works_list li:nth-child(2n+1):nth-last-child(-n+2),
    .works_list li:nth-child(2n+1):nth-last-child(-n+2) ~ li{
        margin-bottom:0;
    }

    .works_list li a{
        display: block;
    }

    .thumbnail{
        width: 100%;
        height: 35vw;
    }

    .works_headtxt{
        text-align: left;
        padding: 10px 0;
    }

    /*--------------詳細--------------*/
    .works_cont{
        margin-bottom: 10px;
    }

    .works_img{
        margin-bottom: 15px;
    }

    .main_img{
        margin-bottom: 15px;
    }

    .img_list li{
        width: 48%;
        height: 35vw;
        float: left;
        margin-right: 4%;
        margin-bottom: 10px;
    }

    .img_list li:nth-child(even){
        margin-right: 0;
    }

    .img_list li:nth-child(2n+1):nth-last-child(-n+2),
    .img_list li:nth-child(2n+1):nth-last-child(-n+2) ~ li{
        margin-bottom:0;
    }

    .works_txt{
        border:1px solid #000;
        padding: 10px;
        text-align: left;
    }

    /*会社概要
    --------------------------------------------*/
    .info01{
        margin-bottom: 40px;
    }

    .info_dl>dl>dd>ul>li>dl{
        padding: 0;
        border-bottom: none;
    }

    .info_dl>dl>dd>ul>li>dl>dt{
        width: auto;
        font-weight: normal;
        padding:0;
    }

    .info_dl>dl>dd>ul>li>dl>dt:before{
        content: '';
        border-left: none;
        padding-right: 0;
    }

    .info_dl>dl>dd>ul>li>dl>dt:after{
        content: ':';
        padding: 0 10px;
    }

    .info_dl>dl>dd>ul>li>dl>dd{
        padding:0;
    }

    .info_dl>dl>dd>ul>li>dl>dt,
    .info_dl>dl>dd>ul>li>dl>dd{
        display: table-cell;
        vertical-align: middle;
        box-sizing: border-box;
    }

    .info_dl dd a{
        text-decoration: underline;
    }

    .map iframe{
        height: 250px !important;
    }

    /*お知らせ
    --------------------------------------------*/
    .news_list{
        margin-bottom: 10px;
    }

    .news_list li{
        border:1px solid #000;
        padding: 15px;
        margin-bottom: 25px;
    }

    .news_list li:last-child{
        margin-bottom: 0;
    }

    .news_h-ttl{
        font-size: 5vw;
        text-align: left;
        border-bottom: 1px dotted #000;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }

    .news_h-txt{
        text-align: left;
        margin-bottom: 10px;
    }

    .news_d{
        font-weight: bold;
        float: left;
        padding-top: 10px;
    }

    .news_btn{
        width: 45%;
        float: right;
        font-weight: bold;
    }

    .news_btn a{
        background: url(../img/common/arr03.png) no-repeat,
                    #6d472c;
        background-position: 90% 50%;
        display: block;
        color: #fff;
        padding: 5px 0;
        border-radius: 5px;
    }

    /*----------詳細----------*/
    .news_cont{
        padding-bottom: 10px;
        border-bottom: 1px solid #000;
        margin-bottom: 10px;
    }

    .news_body{
        text-align: left;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .news_date{
        font-weight: bold;
        text-align: right;
    }

    /*お問い合わせ
    --------------------------------------------*/

    .contact_form dt span{
        color:#FF0000;
        border-radius: 4px;
        font-weight: bold;
        padding:3px;
        font-size: 11px;
        margin-left: 5px;
    }

    .contact_form textarea{
        height: 260px;
    }

    .error-text{
        color: #ed1c24;
    }

    .txtarea{
        border:none;
        width: 95%;
        background: #fff;
        padding: 5px;
        border:1px solid #ccc;
    }

    .g-recaptcha div{
        margin: 0 auto;
        margin-top:25px;
        margin-bottom: 25px;
    }

    .check_btn{
        width: 75%;
        margin:0 auto;
        font-weight: bold;
        letter-spacing: 2px;
        border:none;
        color: #fff;
        background:url(../img/common/arr02.png) no-repeat,rgba(45, 104, 249, 0.7);
        background-position: 80% 50%;
        padding: 25px 0;
        margin-top:20px;
    }

    .contact-submits-wrap{
        margin-top: 20px;
    }

    .back_btn{
        width: 52%;
        margin:0 auto;
        font-weight: bold;
        letter-spacing: 2px;
        border:none;
        color: #fff;
        background:url(../img/common/arr02.png) no-repeat,rgba(45, 104, 249, 0.7);
        background-position: 10% 50%;
        padding: 20px 0;
    }

    .send_btn{
        width: 40%;
        margin:0 auto;
        font-weight: bold;
        letter-spacing: 2px;
        border:none;
        color: #fff;
        background:url(../img/common/arr02.png) no-repeat,rgba(45, 104, 249, 0.7);
        background-position: 20% 50%;
        padding: 20px 0;
        margin-left: 15px;
    }

    input[type="submit"] {
       -webkit-appearance: none;
       border-radius: 0;
    }

    /*プライバシーポリシー
    --------------------------------------------*/
    .privacy_cont{
        margin-bottom: 25px;
        text-align: left;
    }

    .privacy_cont:last-child{
        margin-bottom: 0;
    }

    /*サイトマップ
    --------------------------------------------*/
    .sitemap li{
        border-bottom: 1px solid #000;
        text-align: left;
    }

    .sitemap li a{
        padding: 15px 25px;
        display: block;
        /*background: url(../img/common/arr05.png) left center no-repeat;*/
    }

    /*footer
    --------------------------------------------*/
    .pagetop {
    	color: #FFF;
    	position: fixed;
    	bottom: 8%;
    	right: 3%;
    	z-index:999;
    }

    .footer{
        background: url(../img/common/shape.png) top center no-repeat,
                    url(../img/common/f_bg.png) center no-repeat;
        background-size: auto , cover;
    }

    .ft_cont{
        padding: 30px 0;
    }

    .f_logo{
        display: none;
    }

    .ft_info{
        margin-bottom: 10px;
    }

    .ft_info dl,
    .ft_info dt,
    .ft_info dd{
        display: inline-block;
        vertical-align: middle;
        box-sizing: border-box;
    }

    .ft_info dl:first-child{
        margin-right: 20px;
    }

    .ft_info dl dt:after{
        content: ' | ';
    }

    .ft_tel{
        line-height: 30px;
        margin-bottom: 15px;
    }

    .ft_btn{
        width: 80%;
        margin:0 auto;
        font-weight: bold;
    }

    .ft_btn a{
        background: url(../img/common/mail.png) no-repeat;
        background-position: 15% 50%;
        padding: 5px 5px 5px 10px;
        display: block;
        border:1px solid #000;
        border-radius: 5px;
    }

    .ft_nav{
        display: none;
    }

    .copyright{
        background: #2d68f9;
        color: #fff;
        font-size: 3vw;
        padding: 3px 0;
    }

    .copyright a{
        color: #fff;
    }
}