@charset "utf-8";
/* レイアウトのためのCSS */

body{
    background-image: url(../img/bg_03.jpg);
    background-size: contain;
    font-family: 'Noto Serif JP', serif;
	color: #333;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
}

body.appear{
    background-image: url(../img/bg_03.jpg);
    background-repeat: repeat-y;
}

*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #333;
	text-decoration: none;
    outline: none;
}

img{
    width: 100%;
    height: auto;
}

/* font-family */

.heading{
    font-family: 'Alex Brush', cursive;
    font-size: 5vw;
    font-weight: normal;
    color: #182578;
    animation-delay: 0.3s;
    text-shadow: 1px 1px 2px #fff, /* 右下への黒い影 */
    -1px 1px 2px #fff, /* 左下への黒い影 */
    -1px -1px 2px #fff, /* 左上への黒い影 */
    1px -1px 2px #fff; /* 右上への黒い影 */
}

@media screen and (max-width:960px) {
.heading{
    font-size:3.5rem;
}
}

#container{
    overflow-x: hidden;
}

/* header */

#header{
    background:#fff;
}

#header h1{
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    position: absolute;
    top: 25px;
    left:50%;
    transform: translateX(-50%);
    color:#182578;
}

#g-nav ul{
    display: flex;
    padding: 0 0 0 5%;
}

#g-nav ul li{
  letter-spacing: 0.1em;
    white-space: nowrap;
}

#g-nav ul li:last-child{
     display: none;   
}

#g-nav ul li a{
    display: block;
    padding:6px 15px;
}

@media screen and (max-width:1300px) {
#g-nav ul{
    display: block;
    padding: 0;
}
   
#g-nav ul li a{
    padding:6px 15px;
}
}

#header ul#utility-navi{
    position: fixed;
    top:0;
    right:0;
    z-index: 999;
    display: flex;
    font-size: 0.8rem;
}

#header ul#utility-navi li{
    text-align: center;
}

#header ul#utility-navi li span{
    display: block;
}

#header ul#utility-navi li a{
    color: #fff;
    padding: 15px 0;
    display: block;
    width:100px;
    transition: all .5s;
}

#header ul#utility-navi li img{
    width:35%;
}  

#header ul#utility-navi li:first-child a{
     background:#666;
}

#header ul#utility-navi li:first-child a:hover{
     background:#888;   
}

#header ul#utility-navi li:last-child a{
     background:#182578;
}

#header ul#utility-navi li:last-child a:hover{
     background:#1e2f98;
}

@media screen and (max-width:768px) {

#header h1{
    top:9px;
    transform: translateX(-70%);
}

 
#header ul#utility-navi li span{
    display:none;
}

#header ul#utility-navi li a{
    width: 70px;
    height: 70px;
    padding: 0;
}
    
#header ul#utility-navi li img {
    width: 45%;
    margin: 17px 0 0 0px;
}
   
}

@media screen and (max-width:530px) {

#header h1{
    font-size: 1.3rem;
    top:14px;
    transform: translateX(-50%);
}
    
#g-nav ul li:last-child{
     display: block;   
}
    
#header ul#utility-navi li:first-child{
    display: none;    
}

#header ul#utility-navi li:last-child a{
     background:#666;
}

#header ul#utility-navi li:last-child a:hover{
     background:#888;   
}
}
/* lead */

#lead{
    position: relative;
    padding: 150px 0 0 0;
    height:100vh;
    
}

#slider-area{
    width:70%;
    height: 70vh;
    position: relative;
    top: 0;
    left:15%;    
    z-index: -1;
}

#slider-area #slider{
    width:100%;
    height:70vh;
}

#lead h2.heading{
     position: absolute;
    top:200px;
     right:10%;
}

#lead .lead{
     position: absolute;
    top: 180px;
     right: 4%;
    font-size: 2rem;
    letter-spacing: 0.2em;
    line-height: 1.6;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    white-space: nowrap;
}

#lead .lead span{
     display: block; 
    padding: 100px 0 0 0;
}

/* new */

#news{
    position: absolute;
    left: 0;
    bottom: 0;
    background:#fff;
    width:40%;
    z-index: 2;
    padding: 40px;
}

#news h2{
    position: relative;
    font-size:1.2rem;
    margin: 0 0 30px 0;
}

#news h2::before{
    content:'';
    position: absolute;
    width:30px;
    height: 1px;
    background: #182578;
    left:0;
    bottom:-5px;
}

#news li{
    margin:0 0 10px 0;
}

#news li a{
    transition: all .3s;
}

#news li a:hover{
     background:#efefef;
}

#news li time{
    display: inline-block;
    padding:0 20px 0 0;  
    font-size:0.8rem;
    color: #999;
}

@media screen and (max-width:1200px) {
    #lead .lead{
        font-size:1.8rem;
        right: 2.5%;
    }
    #news{
        width:50%;
    } 
}

@media screen and (max-width:960px) {
    #lead .lead{
        font-size:1.6rem;
        right: 3%;
    }
    #news{
        padding: 20px 30px;
        margin-top: 20px;
    }
    #news li time{
        display: block;
    }  
}

@media screen and (max-width:768px) {
#slider-area {
    width: 74%;
    height: 90vh;
    left: 0;
    }
    #slider-area #slider{
    height: 90vh;
}
    
#lead h2.heading{
    top: 160px;
}
    
#lead{
    padding:80px 0 0 0;
}
    
#lead .lead{
    right:7%;
    top:110px;
}

#news{
    width:100%;
    bottom:-200px;
}
}

@media screen and (max-width:550px) {

#lead .lead {
    font-size: 1.3rem;
    right:5%;

} 
}

@media screen and (max-width:350px) {
#lead .lead {
    right:2%;
} 
    
}

/* service */

#service{
    position: relative;
    text-align: center;
    padding: 100px 0 0 0;
    
}

#service header{
    background:#182578;
    color: #fff;
    width: 100%;
    padding: 50px 0 100px 0;
    z-index: 1;
}

#service header h2{
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    letter-spacing: 0.1em;
}

#service header p{
    margin: 0 0 30px 0;   
}

#service header p br{
     display: none;   
}

#service .service-area{
    background:#fff;
    padding: 50px 50px 20px 50px;
    width:70%;
    position: relative;
    margin: -50px auto 100px;
    z-index: 2;
}

#service .service-area ul{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
/* スマホ表示用。flipDownを指定している親要素に指定しないとうまく動かない*/
    transform:  translate3d(0, 0, 0);
}

#service .service-area ul li{
    opacity: 0;
    width:22%;
    padding: 0 0 50px 0;
}

#service .service-area ul li a{
    display: block;
}

@media screen and (max-width:960px) {
    #service header{
        width:100%;
    }
    #service .service-area{
        width:80%;
        padding: 80px 20px 30px 20px;
    }
#service .service-area ul li{
    width:40%;
    }   

#service header p br{
     display:block;   
}
}

@media screen and (max-width:768px) {
    #service{
        padding: 50px 0 0 0;
        margin: 0;
    }
}

@media screen and (max-width:550px) {
    #service .service-area{
    width:90%;
    }
}

@media screen and (max-width:400px) {
    #service .service-area{
    width:100%;
    left:0;
    font-size: 0.9rem;
}
    
}
 
/* message */

#message{
    position: relative;
    padding:0 70px 100px;
    }

#message h2{
    position: absolute;
    right:45%;
    z-index: 2;
}

.message-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    background:url("../img/bg_message-area.png") no-repeat top center;
    background-size: contain;
    margin-bottom: 0px;    
}

.message-img{
    background:url("../img/top_01.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.message-content{
    display: flex;
    justify-content: center;
    padding: 0;
    width:50%;
    margin: 120px 0 0 0;
    background-color: #fff;
}

.message-content_1{
    display: flex;
    justify-content: center;
    padding: 0;
    width:45%;
    margin: 120px 0 0 0;
    background-color: #fff;
}

.message-box{
    justify-content: center;
    padding: 50px;
}

.message-content h3,
.message-content p{
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.message-content .message-btn {
    padding: 0.5rem;
    letter-spacing: 0.1em;
    height: inherit;
}

.message-content h3{
    display: block;
    width: 100%;
    font-size:1.5rem;
    line-height: 1.5;
}

_:-ms-lang(x)::-ms-backdrop, .message-content h3{/*IE11用ハック*/
    width:30%;
}

_:-ms-lang(x)::-ms-backdrop, .message-content p{/*IE11用ハック*/
    width:60%;
}

_:-ms-lang(x)::-ms-backdrop, .message-content .message-btn{/*IE11用ハック*/
    width:10%;
}


@media screen and (max-width:1280px) {

.message-content h3{
    line-height: 2;
    margin: 0 0 0 10px;
}

.message-content p{
    line-height: 3;
    margin: 0 0 0 20px;
}
    
}

@media screen and (max-width:1000px) {
.message-content p{
    line-height: 2;
}
}


@media screen and (max-width:768px) {
#message{
    padding: 0 10px;
    margin: 0;
}
    
#message h2 {
    position: relative;
    right: inherit;
    top: 20px;
}
    .message-img,
    .message-content{
        width:100%;
    }
    
    .message-img{
        height:60vh;
    }

    .message-content{
    padding:0;
    margin: 0 0 50px;
    }
    
.message-content h3,
.message-content p,
.message-content .message-btn{
    height: inherit;
    margin: 0 0 50px 0;
}
    
_:-ms-lang(x)::-ms-backdrop, .message-content h3,
_:-ms-lang(x)::-ms-backdrop, .message-content p,
_:-ms-lang(x)::-ms-backdrop, .message-content .message-btn{/*IE11用ハック*/
    width:100%;
}
    
.message-content h3{
    text-align: center;
    font-size: 1.2rem;

}
    
.message-box{
    display: block;
    padding: 20px;
}
    
.message-box .btn{
    padding: 10px;
    display: block;
}
        
}


@media screen and (max-width:430px) {
    .message-img{
        height:40vh;
    }
}

@media screen and (max-width:370px) {

 .message-content p br{
    display: none;
    }
}


/* history */

#history{
    position: relative;
    padding:0 70px;
    margin: 0 0 100px 0;
}

#history h2{
    position: absolute;
    right:45%;
    z-index: 2;
}


.history-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background:url("../img/bg_message-area.png") no-repeat top center;
    background-size: contain;
}

.history-img{
    background:url("../img/pict_02.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.history-content{
    width:45%;
    padding: 150px 0 0 0;
}


@media screen and (max-width:768px) {
#history{
    padding: 0 30px;
}
#history h2 {
    position: relative;
    right: inherit;
    top: 40px;
}
    .history-img,
    .history-content{
        width:100%;
    }
    
    .history-img{
        height:40vh;
    }

    .history-content{
    padding:50px 0 0 0;
    }  
}

@media screen and (max-width:430px) {
    .history-img{
        height:20vh;
    }
}

/* footer */

#footer{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;
    flex-direction: row-reverse;
    margin-top: 100px;
}

#footer .footer-r{
    width:70%;
    padding: 40px;
    background:#182578;
    color: #fff;
}

#footer .footer-r .map-address{
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer .footer-r .map-address address{
     font-style: normal;   
    margin: 0 0 30px 0;
}

#footer .footer-r .map-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 100px 0;
}

#footer .footer-r .map-area h2{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    font-size: 1.3rem;
    width:10%;
    height: 10em;
    letter-spacing: 0.3em;
    text-align: center;
}

#footer .footer-r .map-address{
    width:30%;
}

#footer .footer-r .map-block{
    width:50%;
}

#footer .footer-r .iframe-area {
  position: relative;
  padding-bottom: 51.65%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

#footer .footer-r .iframe-area iframe,
#footer .footer-r .iframe-area object,
#footer .footer-r .iframe-area embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#footer .footer-link{
    font-size: 0.9rem;
    padding: 0 0 0 50px;
}

#footer .footer-link li{
     display: inline-block;
}

#footer .footer-link a{
    color: #fff;
}

#footer .footer-link a::after{
    content:'/';
    padding: 0 10px;
}

#footer .footer-link li:last-child a::after{
    content:'';
    padding: 0;
}

#footer .footer-l{
    width:30%;
    background:#333333;
}

#footer .footer-l .footer-contact{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #ffffff;
    height: 40vh;
}

#footer .footer-l .footer-contact-area h2{
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    letter-spacing: 0.1em;
}

#footer .footer-l .footer-contact-area a{
    font-size: 1.5rem;
    padding: 0 0 20px 0;
    display: inline-block;
}

#footer #copyright{
    background:#333333;
    color: #ccc;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
}

#footer #page-top{
    position: absolute;
    bottom:0;
    right: 0;
    width:80px;
    height:80px;
    background:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#footer #page-top span{
    display: inline-block;
  width: 13px;
  height: 13px;
  border-top:2px solid #182578;
  border-left: 2px solid #182578;
  transform: rotate(45deg);
}

@media screen and (max-width:1045px) {
 
#footer .footer-r,
#footer .footer-l{
    width:100%;
}
    
#footer .footer-l .footer-contact,
#footer #copyright{
    height: inherit;
    padding: 40px 0;
}
    
#footer .footer-r .map-area h2{
    width:5%;
}
   
#footer .footer-link{
    text-align: center;
}
    
}

@media screen and (max-width:768px) {
    #footer .footer-r{
        padding:80px 30px;
    }
    
    #footer .footer-r .map-area{
        margin: 0;
    }
    #footer .footer-link{
        display: none;
    }
    
#footer .footer-r .map-area h2{
    width:100%;
    height: inherit;
    margin: 0 0 50px 0;
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
}

#footer .footer-r .map-address{
        width:48%;
}
    
#footer #page-top{
        width:60px;
        height: 60px;
}
    
}

@media screen and (max-width:560px) {

#footer .footer-r .map-address,  
#footer .footer-r .map-block{
        width:100%;
}
    
#footer .footer-r .map-address{
        margin: 0 0 50px 0;
}
}


.bg_03 {
    background-image: url(../img/bg_03.jpg);
    background-repeat: repeat-y;
    z-index: -3;
    width: 100%;
}

.w20 {
    width: 20%;
}

@media screen and (max-width:1300px) {
    .w20 {
        width: 36%;
    }
}

@media screen and (max-width:768px) {
    .w20 {
        width: 45%;
    }
}

/* banner */

#banner{
    position: relative;
    text-align: center;
    padding: 100px 0 0 0;
    
}

#banner .banner-area{
    background:#fff;
    padding: 50px;
    width:100%;
    position: relative;
    margin: 50px auto 0px;
    z-index: 2;
}

#banner .banner-area ul{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
/* スマホ表示用。flipDownを指定している親要素に指定しないとうまく動かない*/
    transform:  translate3d(0, 0, 0);
}

#banner .banner-area ul li{
    opacity: 0;
    width:30%;
    padding: 0 10px;
}

#banner .banner-area ul li a{
    display: block;
}

@media screen and (max-width:960px) {
    #banner header{
        width:100%;
    }
    #banner .banner-area{
        width:80%;
        padding: 30px 20px 30px 20px;
    }
#banner .banner-area ul li{
    width:100%;
    }   

#banner header p br{
     display:block;   
}
}

@media screen and (max-width:768px) {
    #banner{
        padding: 200px 0 0 0;
    }
}

@media screen and (max-width:550px) {
    #banner .banner-area{
    width:90%;
    }
}

@media screen and (max-width:400px) {
    #banner .banner-area{
    width:100%;
    left:0;
    font-size: 0.9rem;
}
    
}

.footerlogo {
    display: inline-block;
    width: 70%;
}


/*==================================================
施工事例　スライダーのためのcss
===================================*/
.box_exampleslider {
    background-color: #182578;
    width: 100%;
    margin:0 0 100px;
    padding: 60px 0;
    text-align: center;
}

.box_exampleslider h2 {
    color: #fff;
    margin-bottom: 50px;
}

.slider {/*横幅90%で左右に余白を持たせて中央寄せ*/
    width:90%;
     margin:0 auto;
 }
 
 .slider img {
     width:90%;/*スライダー内の画像を横幅100%に*/
     height:auto;
 }
 
 /*slickのJSで書かれるタグ内、スライド左右の余白調整*/
 
 .slider .slick-slide {
     margin:0 10px;
 }
 
 /*矢印の設定*/
 
 /*戻る、次へ矢印の位置*/
 .slick-prev, 
 .slick-next {
     position: absolute;/*絶対配置にする*/
     top: 42%;
     cursor: pointer;/*マウスカーソルを指マークに*/
     outline: none;/*クリックをしたら出てくる枠線を消す*/
     border-top: 2px solid #ccc;/*矢印の色*/
     border-right: 2px solid #ccc;/*矢印の色*/
     height: 15px;
     width: 15px;
 }
 
 .slick-prev {/*戻る矢印の位置と形状*/
     left: -1.5%;
     transform: rotate(-135deg);
 }
 
 .slick-next {/*次へ矢印の位置と形状*/
     right: -1.5%;
     transform: rotate(45deg);
 }
 
 /*ドットナビゲーションの設定*/
 
 .slick-dots {
     text-align:center;
     margin:20px 0 0 0;
 }
 
 .slick-dots li {
     display:inline-block;
     margin:0 5px;
 }
 
 .slick-dots button {
     color: transparent;
     outline: none;
     width:8px;/*ドットボタンのサイズ*/
     height:8px;/*ドットボタンのサイズ*/
     display:block;
     border-radius:50%;
     background:#ccc;/*ドットボタンの色*/
 }
 
 .slick-dots .slick-active button{
     background:#333;/*ドットボタンの現在地表示の色*/
 }


/* maker */

 #maker .maker-area{
    background:#fff;
    padding: 50px 50px 0 50px;
    width:70%;
    position: relative;
    margin: 0 auto;
    z-index: 2;
}

#maker .maker-area ul{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
/* スマホ表示用。flipDownを指定している親要素に指定しないとうまく動かない*/
    transform:  translate3d(0, 0, 0);
}

#maker .maker-area ul li{
    opacity: 0;
    width:22%;
    padding: 0 0 50px 0;
}

#maker .maker-area ul li a{
    display: block;
}

@media screen and (max-width:960px) {
    #maker header{
        width:100%;
    }
    #maker .maker-area{
        width:80%;
        padding: 80px 20px 30px 20px;
    }
#maker .maker-area ul li{
    width:40%;
    }   

#maker header p br{
     display:block;   
}
}

@media screen and (max-width:768px) {
    #maker{
        padding: 30px 0 0 0;
    }
}

@media screen and (max-width:550px) {
    #maker .maker-area{
    width:90%;
    }
}

@media screen and (max-width:400px) {
    #maker .maker-area{
    width:100%;
    left:0;
    font-size: 0.9rem;
}
    
}


.pagetitle {
    height: 280px;
    text-align: center;
    width: 100%;
	padding: 150px 0 0;
	margin: 0px;
}

.contents {background:  url("../img/bg_pagetitle_04.jpg") center bottom no-repeat;}
.example {background:  url("../img/bg_pagetitle_03.jpg") center bottom no-repeat;}
.info {background:  url("../img/bg_pagetitle_02.jpg") center bottom no-repeat;}
.contact {background:  url("../img/bg_pagetitle_05.jpg") center bottom no-repeat;}
.subsidy {background:  url("../img/bg_pagetitle_06.jpg") center bottom no-repeat;}

.pagetitle h2 {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	font-size: 32px;
	font-weight: 400;
	text-align: center;
	display: block;
	padding: 0px;
	margin: 0;
	color: #fff;
	letter-spacing: 0.16em;/*文字間隔*/
}
.pagetitle p {
	font-family: Arial, Helvetica, "sans-serif";
	color: #BEBEBE;
	font-size: 50%;
	letter-spacing: 0.1em;
	font-weight: 300;
	display: block;
	margin:0px;
}

/*パンくずリストの設定*/
.box_pankuzu {
    background-color: #fff;
	overflow: hidden;
	width: 100%;
	padding: 10px 0px 8px 20px;
	}
.pankuzu {
	padding: 0px;
	margin: 0px;
	font-size: 0.8em;
	color: #173261;
	float: left;
}
.box_pankuzu p {
	margin: 0px;
	padding: 0px 8px 0px 5px;
	display: inline-block;
}

.box_pankuzu img {
	display: inline-block;
    width: 20px;
}

/*事業内容ページの設定
---------------------------------------------------------------------------*/
.bg_contents{
    background-image: linear-gradient(rgba(0,0,0,0.60)),url(../img/top_01.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: auto;
    text-align: center;
    width: 100%;
	padding: 100px 0px 100px;
	margin: auto;
    margin-bottom: 100px;
}
.bg_contents h3 {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	font-size: 1.6em;
	display: block;
	padding: 0px 10px 30px;
	margin: 0;
	color: #6e4d3e;
	}
.bg_contents p {
	display: block;
	padding: 0px 8%;
	margin: 0px;
	text-align: left;
    color: #fff;
	}

    @media screen and (max-width:900px) {
        .bg_contents{
            background-image: linear-gradient(rgba(0,0,0,0.60)),url(../img/top_01.jpg);
            background-size: cover;
            background-position: center;
            height: auto;
            text-align: center;
            width: 100%;
            padding: 80px 0px 60px;
            margin: auto;
        }
        .bg_contents h3 {
            font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
            font-size: 3.2em;
            display: block;
            padding: 0px 10px 30px;
            margin: 0;
            color: #6e4d3e;
            }
    }


/*施工事例一覧ページ
---------------------------------------------------------------------------*/
/*listボックスを囲むボックス*/
.list-container {
	flex-direction: row;	/*子要素を横並びにする*/
}

.example_list {
    width: 98%;
	margin: 0px auto 60px;
}
/*listボックス。１個あたりのボックスの指定です。*/
.list {
	border: none;
	margin: 10px 0px;
	padding: 10px;
    font-size: 1.3rem;
}

.list a {text-decoration: none;display: block;}

.list img {
	width: 100%;
    object-fit : cover;
    object-position : 50% 50%; 
}

/*一覧ページ（list　サムネイルブロックタイプ）
---------------------------------------------------------------------------*/
/*listボックスを囲むボックス*/
.list-container {
	display: flex;					/*flexボックスを使う指定*/
	flex-wrap: wrap;				/*折り返す指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
}

/*listボックス。１個あたりのボックスの指定です。*/
.list {
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	margin-bottom: 30px;			/*ボックス同士の上下間の余白*/
	border: 1px solid #ccc;			/*枠線の幅、線種、色*/
	padding: 20px;					/*ボックス内の余白*/
	background: #fff;				/*背景色。*/
	box-shadow: 2px 2px 5px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅の順。0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*listボックス内のh4タグ*/
.list h4 {
	margin: 10px 0;			/*上下、左右へのh4の外側に空けるスペース*/
	font-size: 1.2em;		/*文字サイズを120%に*/
	font-weight: normal;	/*hタグのデフォルトの太字を標準にする。太字がいいならこの１行を削除。*/
}

/*listボックス内のpタグ*/
.list p {
	margin: 0;
	font-size: 0.7em;	/*文字サイズを70%に。*/
}

/*IE対策*/
.list div {min-height: 0%;}


/*一覧ページのlistボックス内の情報詳細欄（tableっぽく見える所）
---------------------------------------------------------------------------*/
/*ボックス全体*/
dl.line {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	font-size: 0.7em;	/*文字サイズを70%に。*/
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
}

/*左右のボックス*/
dl.line dt, dl.line dd {
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	padding: 0 5px;					/*上下、左右へのボックス内の余白*/
}

/*左のボックス*/
dl.line dt {
	width: 8em;				/*幅。8文字(em)分。*/
	background: #f0f0f0;	/*背景色*/
}
/*右のボックス*/
dl.line dd {
	width: calc(100% - 8em);	/*「8em」は上の「dl.line dt」のwidthの値です。*/
}

/*list2ブロック内でのline設定*/
.list2 dl.line dt:nth-of-type(1), .list2 dl.line dd:nth-of-type(1),
.list2 dl.line dt:nth-of-type(2), .list2 dl.line dd:nth-of-type(2) {
	border-top: none;
}



@media screen and (min-width:900px) {

/*施工事例一覧ページ
---------------------------------------------------------------------------*/
/*listボックスを囲むボックス*/
.list-container {
	flex-direction: row;	/*子要素を横並びにする*/
}

.example_list {
    overflow: hidden;
    width: 90%;
	margin: 0px auto 60px;
	text-align: left;
}
/*listボックス。１個あたりのボックスの指定です。*/
.list {
    float: left;
	border: none;
	width: 32%;
	margin: 0px 5px 10px;
	padding: 10px;
}

.list a {text-decoration: none;display: block;}

.list img {
	width: 100%;
	height: 180px;
    object-fit : cover;
    object-position : 50% 50%; 
}

/*一覧ページ（ist2　横長ブロックタイプ）
---------------------------------------------------------------------------*/
/*list2ボックス。１個あたりのボックスの指定です。*/
.list2 {
	padding-left: 10px;	/*ボックス内の左側にだけ余白を作る*/
}


/*一覧ページのlistボックス内の情報詳細欄（tableっぽく見える所）
---------------------------------------------------------------------------*/
/*list2ブロック内でのline設定*/
.list2 dl.line dd {
	width: calc(50% - 8em - 10px);	/*大きな端末向けの再設定。２列にしたいので、100%でなく半分の50%から引いています。*/
	margin-right: 10px;				/*２列になった際の間のスペース*/
}

.list2 dl.line {border-top: none;}

.list2 dl.line dt:nth-of-type(1), .list2 dl.line dd:nth-of-type(1),
.list2 dl.line dt:nth-of-type(2), .list2 dl.line dd:nth-of-type(2) {
	border-top: 1px solid #ccc;
}

}

/*list-half
---------------------------------------------------------------------------*/
/*ボックス全体*/
.list-half {
    display: flex;			/*直接の子要素を横並びにする*/
    flex-direction: column;	/*一旦縦並びにしておく*/
}

/*list-halfが続く場合に間にマージンを空ける*/
.list-half + .list-half {
	margin-top: 2vw;	/*画面幅100%＝100vwです。*/
}

/*h3見出し*/
.list-half h3 {
	font-size: 2.4em;
    text-align: left;
    display: block;
    padding: 0px;
    margin: 0px 0px 30px;
    line-height: 1.2em;
    color: #cca06f;
}

/*h4テキスト*/
.list-half h4 {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  color: #173261;
  font-size: 1.4em;		/*文字サイズ*/
  font-weight: 500;	/*hタグのデフォルトの太字を標準にする。太字がいいならこの１行を削除。*/
  margin         : 20px auto 20px;                  /* BOXの間     */
}

/*h4テキスト右側の飾り画像*/
.list-half h4 .kazari {
	position: absolute;
	right: 0px;
	top: -3rem;
	width: 100px;	/*画像の幅*/
}


/*テキストブロック*/
.list-half .text {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    background: #fff;		/*背景色*/
    padding: 2rem;		/*上下、左右へのブロック内の余白*/
	margin-bottom: 0px;		/*下に空けるスペース*/
    border-radius: 5px;		/*角を丸くする指定。px指定でもOKです。*/
}


	/*画面幅599px以下の追加指定（並び順を変更します。数字が小さな順に並びます。）*/
	@media screen and (max-width:599px) {
	
	/*h3見出し*/
	.list-half h3 {order: 1;}

	/*画像ブロック*/
	.list-half .image {order: 2;}

	/*テキストブロック*/
	.list-half .text {order: 3;}
	
	}/*追加指定ここまで*/
	
	
	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {

	/*ボックス全体*/
	.list-half {
		flex-direction: row;	/*縦並びから横並びにする*/
		justify-content: space-between;
		
		/*以下は変更不要*/
		margin-right: calc(-1 * var(--global-space));
		margin-left: calc(-1 * var(--global-space));
	}

    /*list-halfが続く場合に間にマージンを空ける*/
    .list-half + .list-half {
        margin-top: 5vw;	/*画面幅100%＝100vwです。*/
    }

	/*ボックス全体（※reverse用）変更不要*/
	.list-half.reverse {
		flex-direction: row-reverse;	/*逆向きに並べる*/
		margin-left: calc(-1 * var(--global-space));
        width: 89%;
	}

	
	/*下のラインの装飾への追加設定（※reverse用）*/
	.list-half.reverse h3::after {
		transform: rotate(-60deg);	/*回転角度*/
	}


	/*テキストブロック*/
	.list-half .text {
		margin-bottom: 0;
		flex: 1;
		align-self: flex-start;	/*上寄せになります*/
		margin-top: 8vw;		/*上寄せですが、この分だけ下に下げます。写真とテキストがななめに配置されるイメージで設定しました。*/
		position: relative;
		z-index: 1;
		margin-right: -10vw;	/*この分だけ画像にテキストブロックが重なります。画面幅100%＝100vwです。*/
		box-shadow: 2vw 2vw rgba(var(#173261), 0.1);	/*ボックスの影。右へ、下へ。色はcss冒頭のvar(primary-color-rgb)を読み込み、0.1で透明度も指定。*/
        padding: 6%;
	}
	
	/*テキストブロック（※reverse用）*/
	.list-half.reverse .text {
        margin-bottom: 0;
		flex: 1;
		align-self: flex-start;	/*上寄せになります*/
		margin-top: 8vw;		/*上寄せですが、この分だけ下に下げます。写真とテキストがななめに配置されるイメージで設定しました。*/
		position: relative;
		z-index: 1;
		margin-left: -10vw;
		box-shadow: -2vw 2vw rgba(var(#173261), 0.1);
        padding: 6%;
	}

	/*画像ブロック*/
	.list-half .image {
		padding: 0;		/*余白をリセット*/
		width: 50vw;	/*幅。画面の50%*/
		border-radius: 5px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
		overflow: hidden;
	}
	
	/*画像ブロック（※reverse用）*/
	.list-half.reverse .image {
		border-radius: 5px;
	}

	}/*追加指定ここまで*/

    .example_h2 {
        font-size: 1.5em;
        text-align: center;
        display: block;
        padding: 0px;
        margin: 0px 0px 20px;
        line-height: 1.2em;
        color: #6e4d3e;
        }
    
        .title3_sub {
            font-family: Arial, Helvetica, "sans-serif";
        font-size: 50%;
        letter-spacing: 0.1em;
        font-weight: 300;
            display: block;
            margin: 10px 0px 40px;
            text-align: center;
        }

        .h1 {
            font-size: 2.4em;
            text-align: center;
            display: block;
            padding: 0px;
            margin: 0px 0px 20px;
            line-height: 1.2em;
            color: #ffffff;
            }

    .example_h3 {
        font-size: 1.5em;
        text-align: center;
        display: block;
        padding: 0px;
        margin: 0px 0px 20px;
        line-height: 1.2em;
        color: #ffffff;
        }
    
    .bg_example01 {
        background-image: url(../img/bg_example01.png);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
        width: 100%;
        padding: 100px 0;
        margin: 50px auto;
    }
    
    .bg_example02 {
        background-image: url(../img/bg_example02.png);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
        width: 100%;
        padding: 100px 0;
        margin: 50px auto;
    }
    
    .bg_example03 {
        background-image: url(../img/bg_example03.png);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
        width: 100%;
        padding: 100px 0;
        margin: 50px auto;
    }
    
    .bg_example04 {
        background-image: url(../img/bg_example04.png);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
        width: 100%;
        padding: 100px 0;
        margin: 50px auto;
    }
    
    .bg_example05 {
        background-image: url(../img/bg_example05.png);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
        width: 100%;
        padding: 100px 0;
        margin: 50px auto;
    }
    
    .bg_example06 {
        background-image: url(../img/bg_example06.png);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
        width: 100%;
        padding: 100px 0;
        margin: 50px auto;
    }

    /*アイコンの共通設定*/
.icon {
	display: inline-block;
	padding: 0 10px;	/*上下、左右へのアイコン内の余白*/
	background: #999;	/*背景色。iconクラスだけ適用した場合に出る色です。*/
	color: #fff;		/*文字色*/
	font-size: 0.7em;	/*文字サイズを70%に。*/
}

/*枠線だけが入ったデザイン*/
.waku {
	background: #fff;		/*背景色*/
	color: #666;			/*文字色*/
	border: 1px solid #666;	/*枠線の幅、線種、色*/
}

/*NEWアイコン*/
.newicon {
	background: #e82600;	/*背景色*/
}


/*よく頂く質問
---------------------------------------------------------------------------*/
.faq {
	padding: 0 5px;	/*上下、左右へのボックス内の余白*/
}

/*質問*/
.faq dt {
	border-radius: 10px;	/*枠を角丸にする指定*/
	margin-bottom: 20px;	/*下に空けるスペース*/
	background: linear-gradient(#fff, #f7f7f7);	/*背景グラデーション*/
	box-shadow: 0px 0px 5px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.2は色が20%出た状態の事。*/
	text-indent: -2em;				/*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
	padding: 5px 1em 5px 3em;		/*ボックス内の余白。ここを変更する場合、上のtext-indentも調整します。*/
	text-align: left;
}

/*アイコン（Font Awesome）*/
.faq dt::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f059";		/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	color: #13a7d8;			/*アイコンの色*/
	padding-right: 1em;		/*アイコンとテキストの間の余白*/
}

/*回答*/
.faq dd {
	padding: 5px 1em 30px 3em;		/*ボックス内の余白**/
	text-align: left;
}

/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}

.title_h3 {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	font-size: 1.5rem;
	color: #173261;
	text-align: left;
	padding: 0px 0px 0px 20px;
	margin: 50px auto 30px;
	letter-spacing: 0.05em;/*文字間隔*/
	font-weight: 500;
	width: 98%;
	border-left: 4px solid #173261;
}

.w80_90 {
    width: 80%;
    margin: 0 auto;
}

.w60_90 {
    width: 60%;
    margin: 0 auto;
}

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    margin:0 auto;
    font-size:1.2rem;
}

.accordion-area li{
    margin: 10px 0;
    background-color: #fff;
}

.accordion-area section {
	border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-weight: normal;
    padding: 3% 3% 3% 5%;
    margin: 0 12px;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #13a7d8;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.faq_box {
    display: none;/*はじめは非表示*/
    background: #f3f3f3;
	margin:0 3% 3% 3%;
    padding: 3%;
}


@media screen and (max-width:900px) {

    .w80_90 {
        width: 90%;
        margin: 0 auto;
    }

    .w60_90 {
        width: 90%;
        margin: 0 auto;
    }

    .title {
        position: relative;/*+マークの位置基準とするためrelative指定*/
        cursor: pointer;
        font-weight: normal;
        padding: 3% 3% 3% 10%;
        margin: 0 5px;
        transition: all .5s ease;
    }
    
}




/*会社案内ブロック
---------------------------------------------------------------------------*/

#about h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #173261;
    text-align: center;
    margin: 100px 0 50px;
}

#map h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #173261;
    text-align: center;
    margin: 100px 0 50px;
}

.com_info {
    margin: 0;
    display: flex;		/*flexボックスを使う指定*/
    flex-wrap: wrap;	/*折り返す指定*/
    padding: 0 20px;	/*上下、左右へのボックス内の余白*/
    font-size: 1.2rem;
}

/*日付(dt)、記事(dd)共通設定*/
.com_info dt,
.com_info dd {
    border-bottom: 1px solid #666;	/*下線の幅、線種、色*/
    padding: 10px 0;					/*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
.com_info dt {
    width: 8em;	/*幅。8文字(em)分。※下の「900px以上」の端末用の設定に再設定があります。*/
}

/*記事(dd)設定*/
.com_info dd {
    width: calc(100% - 8em);	/*「8em」は上の「#new dt」のwidthの値です。※下の「900px以上」の端末用の設定に再設定があります。*/
    text-align: left;
}


/*GoogleMAPの設定
---------------------------------------------------------------------------*/
.google-maps {
position: relative;
padding-bottom: 90%; /*これが縦横比*/
height: 0;
overflow: hidden;
}
.google-maps iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}


@media screen and (min-width:900px) {
    /*日付(dt)設定*/
.com_info dt {
	width: 14em;	/*幅。14文字(em)分。*/
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
}

/*日付の横のマーク（共通設定）*/
.com_info dt span {
	display: inline-block;	/*表示させる*/
	width: 6em;				/*幅。6文字(em)分。*/
	background: #999;		/*背景色*/
	color: #fff;			/*文字色*/
	font-size: 0.9em;		/*文字サイズを90%に。*/
	text-align: center;		/*文字をセンタリング*/
	border-radius: 3px;		/*角を少しだけ丸くする*/
	margin-right: 1.2em;	/*アイコンの右側に空けるスペース*/
	align-self: flex-start;	/*高さを間延びさせない指定*/
	line-height: 1.5;		/*行間を少し狭く*/
	position: relative;top: 0.4em;	/*上下の配置バランスの微調整*/
}

/*bg1設定。*/
.com_info dt span.icon-bg1 {
	background: #528dc9;	/*背景色*/
}
.com_info dt span.icon-bg2 {
	background: #f32218;	/*背景色*/
}

/*記事(dd)設定*/
.com_info dd {
	width: calc(100% - 14em);	/*「14em」は上の「#new dt」のwidthの値です。*/
}


/*GoogleMAPの設定
---------------------------------------------------------------------------*/
.google-maps {
position: relative;
padding-bottom: 40%; /*これが縦横比*/
height: 0;
overflow: hidden;
}
.google-maps iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}


}


.p_f_size {
    font-size: 1.2rem;
}

.red_small {
	font-size: 0.8em;
	color: #ff0000;
	padding-left: 5px;
	font-weight: normal;
}

/*Table（ta_contact）
---------------------------------------------------------------------------*/
.ta_contact th {
	width: 100%;
	font-weight: bold;		/*太字*/
	padding: 0.5rem 1rem;		/*ボックス内余白*/
	background-color: #6e4d3e;		/*背景色*/
	color: #fff;			/*文字色*/
	margin-bottom: 1rem;		/*下に空けるスペース*/
	font-size: 1.2em;
}

/*ta_contact table block settings*/
.ta_contact {
	width: 100%;			/*幅*/
	margin: 3rem 0 5rem;		/*テーブル上下に空けるスペース*/
}

/*Common settings for th (left side) and td (right side)*/
.ta_contact th, .ta_contact td {
	padding: 1rem;			/*ボックス内余白*/
	word-break: break-all;		/*英語などのテキストを改行で自動的に折り返す設定。これがないとテーブルを突き抜けて表示される場合がある*/
	font-size: 1.2em;
}

/*Setting only th (left side)*/
.ta_contact th {
	width: 100%;			/*幅*/
	text-align: left;		/*左寄せへ*/
	background: #6e4d3e;		/*背景色*/
	font-size: 1.2em;
}

.ta_contact td {
	text-align: left;		/*左寄せへ*/
	background: #fff;		/*背景色*/
	font-size: 1.2em;
}


.ws {width: 95%;display: block;font-size: 1.2rem;}
.wl {width: 95%;display: block;font-size: 1.2rem;}
.c {text-align: center !important;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mt10 {margin-top: 10px !important;}
.mt50 {margin-top: 50px !important;}
.mt80 {margin-top: 80px !important;}
.mt100 {margin-top: 100px !important;}
.t_left {text-align: left;}



select, option, input, textarea {
	border: 1px solid #ccc;
    padding: 3px 3px 3px 8px;
}

.btn input {
    border: none;
}

form .btn {
    background-color: #fff;
}

select {
    /* appearance: none; をコメントアウトするか、別の値に変更する */
    /* appearance: none; */
    appearance: auto; /* または inherit */
  }
  

	
	@media screen and (min-width:900px) {
		.ta_contact {
			width: 100%;
			text-align: left;
		}

		
		.ta_contact th {
			width: 36%;	/*幅*/
			padding: 1rem 2rem;		/*ボックス内余白*/
		}

	}

    @media screen and (max-width:900px) {
		table {
            width: 100%;
          }
          tr {
            width: 100%;
            display: block;
            margin-bottom: 15px; /* 行間を空ける */
          }
          th, td {
            display: block; /* これが重要！ */
            width: 100%;
            box-sizing: border-box; /* paddingやborderをwidthに含める */
          }

	}

/*ページ遷移を非表示にする
---------------------------------------------------------------------------*/
    body.contact-complete #splash,
    body.contact-complete .splashbg1,
    body.contact-complete .splashbg2 {
        display: none;
    }


/*プライバシーポリシーページ
---------------------------------------------------------------------------*/
    #privacy p {
        text-align: left;
        font-size: 1.2rem;
    }
    
    #privacy th {
        text-align: center;
        vertical-align: top;
        width: 8%;
        font-weight: normal;
    }
    #privacy td {
        text-align: left;
        vertical-align: top;
    }