/*
Theme Name: shimotetsu_original
Theme URI: http://shimotetsu.co.jp/
Author: Megumi Horiuchi
*/

@charset "UTF-8";

.demo img{
	width:100%;
}

*{
	margin:0;
	padding:0;
	}

html{
	margin:0;
	padding:0;
	}
body{
	margin:0;
	padding:0;
    font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
	font-size:13px;
	color: #000;
	-webkit-text-size-adjust: 100%;
}

img{
	border:0;
	vertical-align:bottom; /* Firefox用 */
	}

p{
	margin:0;
	padding:0;
	line-height: 150%;
	}
ul,ol{
	list-style:none;
	margin:0;
	padding:0;
	}
h1,h2,h3,h4,h5,h6{
	font-weight: normal;
	margin: 0;
	padding: 0;
	}

header,nav{
		margin: 0;
		padding: 0;
	}

table,th,td{
			margin: 0;
		padding: 0;
}

/* link */



/*a:link {
	text-decoration: none;
}

a:visited {
	color: #b58615;
}

a:hover {
	color: #ff9900;
}*/

a:link {
	text-decoration: none;
}

a:hover{
	opacity:0.7;
	filter: alpha(opacity=70);
}

a:hover img{
	opacity:0.7;
	filter: alpha(opacity=70);
}

/* ----------------------------------------
	共通
----------------------------------------*/
#wrap{
	width: 100%;
	margin: 0 auto;
	max-width: 1300px;
}


article a{
	color: #000;
}


img {
    width: 100%;
    height: auto;
}


header{
	width: 100%;
}

nav ul li a{
    color: #000;
}

#main-visual{
	position: relative;
	margin-bottom: 120px;
}


.main-visual-bg{
    width: 90%;
    margin-left: auto;
}
.visual-slider {
    position: absolute;
    /* padding-top: 4%; */
    z-index: 100;
}

.visual-content{
    position: absolute;
    z-index: 500;
    top: 100px;
    right: 0;
    width: 18%;
    margin: 0 1%;
}

figure.sns{
    position: absolute;
    right: 1%;
    top: 4%;
}

figure.sns img{
    width: 2.5rem;
}



/* ----------------------------------------
	top
----------------------------------------*/

.news_wrap{
	width: 100%;
	margin: 0 auto 100px;
    background-color: #f9f8f4;
    padding: 25px 0;
}


.news{
	margin: 0 auto;
}

.midashi{
	margin: 0 0 60px;
}

.midashi h2{
	font-weight: bold;
	font-size: 18px;
	text-align: center;
}

.midashi h3{
	position: relative;
    font-family: 'Amaranth', sans-serif;
    text-align: center;
    font-size: 30px;
    letter-spacing: 10px;
    margin-bottom: 5px;
}
.midashi h3:after{
    position: absolute;
    top: 45px;
    left: 50%;
    content: '';
    width: 100px;
    height: 10px;
    margin-left: -50px;
    background-color: #a31f1f;
}



.news figure{
	float: left;
}

.atl_rgt{
    float: left;
    margin-left: 4%;
    width: 56%;
}

.news h4 {
    border-bottom: 1px solid #231815;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    letter-spacing: 4px;
}

.news h5{
	font-size: 16px;
	margin-bottom: 20px;
	line-height: 2;
}

.news h6{
	font-size: 16px;
	padding: 10px 30px;
	border: 1px solid #231815;
	text-align: center;
	display: block;
}


.philos_wrap{
	width: 100%;
    margin: 0 auto 100px;
}

.philos{
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #a31f1f;
    border-top: 1px solid #a31f1f;
    align-items: center;
}
.business_wrap{
	width: 100%;
	margin: 0 auto 100px;
    background-color: #f9f8f4;
    padding: 25px 0;
}

.business ul li:first-child{
	margin-right: 15px;
}

.menu_wrap{
	width: 100%;
	background: url(../img/top/menu_bg.jpg) no-repeat 0 0;
	background-size: cover;
    margin-bottom: 60px;
}

.menu{
	display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    padding: 50px 5%;
}

.menu ul{
	width: 24%;
	background-color: #fff;
}


.menu ul li:nth-child(2){
	font-weight: bold;
	font-size: 18px;
	text-align: center;
	margin-top: 40px;
}

.menu ul li:nth-child(3){
    font-family: 'Amaranth', sans-serif;
    text-align: center;
    font-size: 30px;
    letter-spacing: 10px;
}

.menu ul li:last-child{
	font-family: 'Amaranth', sans-serif;
    text-align: center;
    font-size: 16px;
    margin: 40px auto;
    padding: 10px;
    border: 1px solid #000;
    width: 30%;
    letter-spacing: 2px;
}

.gallery_wrap{
	width: 100%;
	margin: 0 auto 100px;
}
.gallery{
	width: 95%;
	margin:0 auto;

}

.gallery ul{
	  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: space-between;
}





/*ガレージハウス*/

.gh_wrap {
    width: 95%;
    margin: 0 auto;
}

.gh_wrap h4{
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
}
ul.gh_box li{
    margin-bottom: 1rem;
    text-align: center;
}

ul.gh_tate_box{
  margin-bottom: 2rem;
}






/* ----------------------------------------
	footer
----------------------------------------*/

#foot{
	width: 100%;
	background-color: #000;
	color: #fff;
}



.foot_contents h2{
	margin-right: 5%;
}

.foot_contents ul li{
	font-size:14px;
	line-height: 1.8;
}

.foot_contents ul li:first-child{
	font-size:18px;
}

.foot_contents ol{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	margin-left: auto;
}

.foot_contents ol li{
	margin-right: 15px;
}

.foot_contents ol li:last-child{
	margin-right: 0px;
}

.foot_contents ol li a{
	color: #fff;
}

.foot_end{
	width: 100%;
	background-color: #a31f1f;
	height: 15px;
}

.copyright{
	background-color: #fff;
	color: #000;
	text-align: center;
	margin: 10px 0;
}

#pageTop {
	display:none;
    position: fixed;
    bottom: 60px;
    right: 60px;
}




/* ----------------------------------------
	下層
----------------------------------------*/

.contents{
	background-color: #eee;
	margin-bottom: 60px:
}

.contents a{
	color: #000;
}

.contents_wrap{
	margin: 0 auto;
	background-color: #fff;
}
.single_thumbnail {
    margin-bottom: 2rem;
}
.single_content {
    margin-bottom: 2rem;
}

.tablebox{
	margin-top: 60px;
}

.tablebox table {
	border-collapse: collapse;
    border-spacing: 0;
    width: 80%;
    margin: 0 auto 2rem;
    line-height: 2;
    font-size: 14px;
}

/*.tablebox tr {
    border: 1px solid #babab8;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}*/
.tablebox tr{
    border: 1px solid #babab8;
}

.tablebox th {
    width: 35%;
    padding: 25px 0;
    vertical-align: middle;
    border-right: 1px solid #babab8;

}

table.genba th {
    background-color: #edefd6;
}

table.kanri th {
    background-color: #efe1d6;
}

.tablebox td {
    width: 62%;
    padding: 25px 1% 25px 2%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.pankuzu a {
    margin-right: 0.3rem;
}

.pankuzu i{
    margin-right: 0.3rem;
}


/* ----------------------------------------
	works
----------------------------------------*/

.works_wrap{
	width: 95%;
	margin: 0 auto;
    max-width: 960px;
}

.works_tbl{
}

.works_tbl table {
	border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: 0 auto;
    line-height: 2;
    font-size: 14px;
    border: 1px solid #e4e4e4;
}

.works_tbl tr {
    border: 1px solid #e4e4e4;
}

.works_tbl th {
    padding: 10px 0;
    vertical-align: middle;
    border-right: 1px solid #e4e4e4;
    background-color: #000;
    color: #fff;
}

.works_tbl td {
    padding: 10px 0 10px 1%;
    border-right: 1px solid #e4e4e4;

}
.works_tbl th.r1{
	width: 40%;
}

.works_tbl th.r2{
	width: 20%;
}

.works_tbl th.r3{
	width: 30%;
}

dl.works_img{
	width: 30%;
	margin-left: 2%;
}

dl.works_img dd{
	text-align: center;
	margin-bottom: 10px;
	line-height: 1.7;
}


/* ----------------------------------------
	recruit
----------------------------------------*/

.recruit_wrap h2{
position: relative;
    width: 85%;
    margin: 0 auto;
    padding: 10px 0 10px 5%;
    background-color: #eee;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    /* height: 40px; */
    font-size: 16px;
    font-weight: bold;
}

.recruit_wrap h2:after {
    position: absolute;
    top: 1px;
    left: 20px;
    content: '';
    width: 15px;
    height: -webkit-calc(100% - 1em);
    height: 100%;
    background-color: #a31f1f;
    /* padding: 5px 0 5px 0; */
}
.entry-tbl table tr{
	border-bottom: 1px solid #e4e4e4;
	border-top: 1px solid #e4e4e4;
}

.att{
	margin-left: 5px;
}

.btn_op{
	text-align: center;
}

input.con_btn{
	padding:15px 20px;
	font-size: 16px;
	background-color: #000;
	color: #fff;
	margin: 40px 0 0 0;
}

input.con_btn:hover {
	background: #eee;
	border:solid 1px #333;
	transition: all 0.5s;
}
input.con_btn:active {
	background: #c00;
	color: #fff;
}

/* ----------------------------------------
	contact
----------------------------------------*/







/* ----------------------------------------
    ブログ
----------------------------------------*/
.single_inner h2 {
    position: relative;
    margin: 0 auto 1.5em;
    padding: 0.8em 0 0.8em 1.5em;
    background-color: #ffffff;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    color: #000;
}

.single_inner h2:before{
    content: "";
    position: absolute;
    background: #7E6A22;
    top: 50%;
    left: 0.5em;
    margin-top :-15px;
    height: 30px;
    width: 8px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
}

#sidebar ul li{
     margin-bottom: 1.5rem;
}

.side_src{
    margin-bottom: 2rem;
}
.archive ul li{
    margin-bottom: 2rem;
}
.archive ul li a{
    color: #fff;
}
.archive h3{
    position: relative;
    margin: 0 auto 1.5em;
    padding: 0.4em 0 0.4em 1.5em;
    background-color: #000;
    font-size: 1.0rem;
    letter-spacing: 0.2rem;
}

.archive h3:before{
    content: "";
    position: absolute;
    background: #a77979;
    top: 50%;
    left: 0.5em;
    margin-top: -12px;
    height: 24px;
    width: 5px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
}

.screen-reader-text {
    display: none;
}
.nav-links {
    padding: 50px 0 ;
text-align: center;
  }

.nav-links a:hover{
  background: gray;
}


#prenext div a{
    color: #fff;
}
#prenext{
    display: flex;
}


.bread {
    width: 100%;
    margin: 0;
}


.bread ol {
  list-style: none;
  padding: 2rem 0 1rem;
    margin:0 auto;
}

.bread li {
  display: inline-block;
}

.bread li a {
  font-size: .85em;
  padding: 5px;
  text-decoration: none;

}
.bread li a[href]:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.bread li:after {
  content: '\003e';
  color: #888;
}
.bread li:last-child:after {
  content: none;
}
.bread i {
  font-size: 1em;
}
.bread span {
  display: inline-block;
  margin-left: 0.5rem;
}

.postLinks {
  display: flex;
  justify-content: space-between;
}
.postLink a{
    color: #000;
}
.single_content p{
    font-size: 1.0rem;
    line-height: 1.8;
}

ul.wp-block-latest-posts__list.wp-block-latest-posts li:last-child{
    margin-bottom: 1.5rem;
}

.insta_wrap{
    width: 95%;
    margin: 0 auto;
}
.pt-cv-wrapper .btn-success {
    color: #fff;
    background-color: #a31f1f;
    border-color: #a31f1f;
}



/*現場写真一覧のページ*/

figure {
    margin: 0;
}

.photo_wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 95%;
    margin: 0 auto;
}

.page_in ul {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.photo_ttl{
    text-align: center;
    line-height: 2.0;
}
.photo_txt1{
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.page_in ul li {
    margin-bottom: 5px;
    position: relative;
}
.page_in ul li h5 {
    background-color: #0000008c;
    color: #fff;
    position: absolute;
    width: 90%;
    bottom: 0;
    padding: 0 5%;
    height: 25px;
    letter-spacing: 1.8px;
    font-size: 1.1em;
}


/*現場写真　各ページ*/

.pankuzu {
    max-width: 1050px;
    margin: 0 auto;
}

.works_dtl h2 {
    font-size: 24px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 2px;
    border-bottom: 1px solid #231815;
    padding-bottom: 10px;
}

.slider-for {
    margin-bottom: 5px;
}
.slider-nav div {
    margin-right: 5px;
}
.mb55 {
    margin-bottom: 55px;
}
.topworks_btn a {
    text-align: center;
    font-size: 14px;
    margin: 0 auto;
    padding: 10px;
    border: 1px solid #000;
    width: 30%;
    letter-spacing: 2.4px;
    max-width: 175px;
    text-decoration: none;
    color: #000;
    display: block;
    transition: 1s;
}
.slider-nav {
    background: #F8F8F8;
    margin: 10px auto;
}

/*トップページの現場写真*/
.topphoto_wrap {
    width: 100%;
    margin: 0 auto 100px;
    background-color: #fff;
    padding: 25px 0;
}

.topphoto_in ul {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.topphoto_in ul li {
    margin-bottom: 1rem;
    position: relative;
}
.topphoto_in ul li h5 {
    background-color: #0000008c;
    color: #fff;
    position: absolute;
    width: 90%;
    bottom: 0;
    padding: 0 5%;
    height: 25px;
    letter-spacing: 1.8px;
    font-size: 1.1em;
}

.single_content a{
    color: #e46d6d;
}
/*20250530追加*/
.garage_wrap{
    width: 100%;
    margin: 0 auto 100px;
    padding-top: 5rem;
}


.garag{
    width: 100%;
    border-bottom: 1px solid #a31f1f;
    border-top: 1px solid #a31f1f;
    align-items: center;
}

.garag_toLink {
    text-align: center;
    font-size: 16px;
    margin: 40px auto;
    padding: 10px;
    border: 1px solid #a31f1f;
    letter-spacing: 2px;
}
.garag h4 a{
    color: #a31f1f;
}




@media screen and (min-width: 1024px) {
/* Overline From Center */
.hvr {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
}
.hvr:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  top: 28px;
  background: #a31f1f;
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr:hover:before, .hvr:focus:before, .hvr:active:before {
  left: 0;
  right: 0;
}
}



#splogo{
    display:none;
}



.philos figure{
      margin-left: auto;
}

#navToggle {
    display:none; /*通常時は非表示にしておきます*/
    position:absolute; /*bodyに対しての絶対位置指定です*/
    right:13px;
    top:13px;
    width:30px;
    height:25px;
    cursor:pointer;
    z-index: 1500;
    }
#navToggle div {position:relative} /*spanの絶対位置指定の親にします*/
#navToggle span {
    display:block;
    position:absolute; /*#navToggle div に対して*/
    width:100%;
    border-bottom:solid 3px #999;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out}
#navToggle span:nth-child(1) {top:0}
#navToggle span:nth-child(2) {top:11px}
#navToggle span:nth-child(3) {top:22px}

@media screen and (max-width: 1024px) {
header{
        height: 80px;
    }
header nav {
    position: absolute; /*bodyに対しての絶対位置*/
    right:0;
    top: -545px; /*通常時はビュー外*/
    background: rgba(255, 255, 255, 0.85);
    width:50%;
    padding: 1rem 1rem 0 1rem;
    -webkit-transition:.5s ease-in-out; /*transitionで動きを*/
    -moz-transition:.5s ease-in-out;
    transition:.5s ease-in-out;
    text-align:left;
    z-index: 1000;
    }
header ul {
    margin:0;
    display: block;
    }
header ul li {
    display:block;
    margin:0;
    border-bottom:dotted 1px #fff;
    line-height:3;
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    }
header ul li a {
    display:block;
}
header ul li::after {content:''}
nav ul li:first-child{
    display: none;
}



nav ul li:last-child a{
    color: #000;
}

#navToggle {
    display:block;
}

.openNav #navToggle span:nth-child(1) {
    top: 11px;
    -webkit-transform:rotate(-45deg);
    -moz-transform:rotate(-45deg);
    transform:rotate(-45deg);
        }
.openNav #navToggle span:nth-child(2),
.openNav #navToggle span:nth-child(3) {
    top: 11px;
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    transform:rotate(45deg)}
.openNav nav {
    -moz-transform: translateY(545px);
    -webkit-transform: translateY(545px);
    transform: translateY(545px);
        }
#splogo{
    display:block;
}



.visual-content h2 img{
    display: none;
}

.recruit_wrap h2:after {
    display: none;
}

.atl_rgt {
     float: left;
     margin:10px 0 0 0;
     width: 100%;
}
.philos {
    width: 100%;
    display: inline;
    align-items: center;
}



.menu {
    display: inline;
}

.menu ul {
    width: 75%;
    background-color: #fff;
    margin: 0 auto 20px;
    padding: 0 0 10px 0;
}

.gallery_wrap {
    width: 100%;
    margin: 60px auto 100px;
}



.foot_contents h2 {
    margin: 0;
}

.foot_contents h2 img{
    height: 100px;
    width: auto;
    margin: 20px 0;
}



.foot_contents ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}



.foot_contents ol li a{
    display: block;
}
.bord_a{
}



figure.sns {
    right: 17.5%;
    top: 1%;
}



}






