/*
Theme Name: musashinowp
Theme URI: https://musashino-buildingservice.com
Description: musashinowp記事
Version: 1.0
Author: musashinowp
Author URI: https://musashino-buildingservice.com
*/

body{
  line-height: 180%;
  font-size: 16px;
}

#header {
  position: absolute;
  background: #ffffff;
  border-radius: 5px;
  width: 90%;
  box-sizing: border-box;
  left: 5%;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
  padding: 0;
}

#logo {
  box-sizing: border-box;
  width: 300px;
  position: relative;
  z-index: 2;
  padding: 15px 0 15px 15px;
}

#logo1ft{
  width: 300px;
  float: left;
}

#logo img,
#logo1ft img{
  height: auto;
  width: 100%;
  padding: 0;
  display: block;
  vertical-align: bottom;
}


#header.m_fixed {
  position: fixed;
  z-index: 4;
}

.tel{
  position: absolute;
  right: 5%;
  top: 100px;
  text-align: right;
  z-index: 3;
}

.tel2{
  
}

.tel a,
.tel2 a{
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 34px;
  letter-spacing: 1px;
  color: #ffffff;
  display: block;
}

.tel p,
.tel2 p{
  font-size: 14px;
  font-weight: bold;
  line-height: 22px;
  letter-spacing: 1px;
  color: #ffffff;
}

/*全体のレイアウト・タイトル*/
.box{
  display: table;
  width: 100%;
}

.clm_tl{
  display: table-cell;
  vertical-align: top;
  align-items: center; 
  width: 80px;
  border-right: 1px solid #dddddd;
  writing-mode: vertical-rl;
}

#service .clm_tl,
#recruit .clm_tl,
#contact .clm_tl{
  color: #ffffff;
  border-right: 1px solid #ffffff;
}


.clm_tl p{
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  padding: 40px 30px 0 0;
}

.clm_con{
  display: table-cell;
  vertical-align: top;
  width: calc(100% - 100px);
}

.ttl_tate{
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.ttl_tate h3{
  font-size: 36px;
  line-height: 65px;
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
}

#service .ttl_tate,
#point .ttl_tate{
  position: absolute;
  left: 0;
  top: 0;
}

#recruit .ttl_tate{
  position: absolute;
  right: 0;
  top: 0;
}

.ttl,
.subvl h2{
  font-size: 40px;
  line-height: 60px;
  padding-bottom: 20px;
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 1px;
}

.subvl h2{
  padding-bottom: 0px;
  color: #ffffff;
}

.ttl_h2,
.tel3 a,
.g_txt h2{
  font-size: 30px;
  line-height: 45px;
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
}


.ttl_h2,
.g_txt h2{
  padding-bottom: 10px;
}

.ttl_h3,
.archive h2,
.g_txt h2 span{
  font-size: 22px;
  line-height: 40px;
  padding-bottom: 10px;
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
}


/*メインビジュアル
トップスライダー*/

#home-slider {
  height: 700px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.swiper-container {
  height: 100%;
  width: 100%;
}

.swiper-wrapper {
  transition-timing-function: linear;
}

.swiper-image-one {
  background-image: url(images/slide1.jpg);
}

.swiper-image-two {
  background-image: url(images/slide2.jpg);
}

.swiper-image-three {
  background-image: url(images/slide3.jpg);
}

.swiper-image-four {
  background-image: url(images/slide4.jpg);
}

.swiper-slide {
  /*display: flex;*/
  position: relative;
  opacity: 0;
  transition: opacity 1s ease;
}

.swiper-slide-active {
  opacity: 1;
}

.swiper-image {
  position: absolute;
  width: 58%;
  height: 100%;
  top: 0;
}

.sleft{
  left: 0;
  z-index: 2;
}

.sright{
  right: 0;
  z-index: 1;
}

.swiper-image-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transition: opacity 1s ease;
  opacity: 0;
}

.swiper-image-inner.swiper-image-left {
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); 
  opacity: 0; 
  transition: opacity 1s ease;  
  transition-delay: 0.5s;  
}

.swiper-image-inner.swiper-image-right {
  z-index: 2;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%); 
  opacity: 0;
  transition: opacity 1s ease;  
  transition-delay: 1s;  
}

.swiper-slide-active .swiper-image-inner.swiper-image-left,
.swiper-slide-active .swiper-image-inner.swiper-image-right {
  opacity: 1;  
}

.maintxt{
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%)!important;
  top: 180px;
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
}

.maintxt h2{
  font-family: "Noto Serif JP", serif;
  font-size: 48px;
  line-height: 70px;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 8px;
  margin: 0 0 0 30px;
}

.maintxt p{
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 2px;
  color: #ffffff;
}


/*トップスライド２*/
#about .box,
#point .box{
  background: url(images/bg1.jpg) no-repeat right bottom;
  background-size: 100%;
}

.topslide {
  width: 100%;
  margin: 0 auto;
  position: relative;
  min-height: 600px;
}

/*liのclass*/

.topsflex {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.txtinr1 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-right: 500px;
  flex: 1;
  box-sizing: border-box;
  border-top: 1px solid #dddddd;
  padding: 30px 10px;
}

.topsflex .number {
  font-size: 55px;
  line-height: 55px;
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
  width: 100px;
}

.txt1{
  flex: 1;
}
.topslide li:first-child .txtinr1 {
  border-top: none;
  padding-top: 0;
}

.txtinr1 h2 {
  font-size: 22px;
  line-height: 36px;
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
  padding-top: 10px;
  padding-bottom: 20px;
}

.topsflex.active .number,
.topsflex.active h2{
  color: #08669e;
}

.topsflex .number,
.topsflex h2{
  cursor: pointer;
}

.img1 {
  width: 450px;
  height: 540px;
  position: absolute; 
  right: 0;
  top: 0;
}

/* 非アクティブなテキスト・画像は非表示 */
.topsflex .topstxt,
.topsflex .img1 {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 1s ease, height 1s ease;
}

.topsflex.active .topstxt,
.topsflex.active .img1 {
  opacity: 1;
  height: auto;
}

/* ドットページネーション */
.topslide.pagination {
  text-align: center;
  margin-top: 20px;
}

.topslide .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.topslide .dot.active {
  background-color: #333;
}


/*トップサービス*/

#service .box{
  background: url(images/bg_img1.jpg) no-repeat center center;
  background-size: cover;
}

.service_post,
.point_post{
  padding-left: 180px;
}

.service_post li{
  margin-bottom: 20px;
}

.txtinr2{
  border-radius: 5px;
  background: #ffffff;
  display: table;
}

.img2{
  width: 350px;
  display: table-cell;
  vertical-align: middle;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.txt2{
  padding: 30px 40px;
  display: table-cell;
  vertical-align: middle;
  box-sizing: border-box;
  width: calc(100% - 350px);
}

.postbtn{
  border-top: 1px solid #dddddd;
  padding-top: 30px;
  margin-top: 20px;
}

.btn,
.leftbtn,
.rightbtn{
  display: inline-block;
}

.leftbtn{
  float: left;
}

.rightbtn{
  float: right;
}

.btn a,
.leftbtn{
  color: #08669e;
  display: block;
  text-align: left;
  font-weight: 700;
  line-height: 35px;
  box-sizing: border-box;
   -webkit-transition: all .5s ease;
	transition: all .5s ease;
  position: relative;
}

.btn a,
.leftbtn{
  padding: 10px 10px 10px 70px;
}

.righttbtn{
  padding: 10px 70px 10px 10px;
}

.btn a::before,
.leftbtn::before{
  content: '';
  display: block;
  text-align: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  position: absolute;
}

.btn a::before,
.leftbtn::before{
  background:#08669e url(images/ar1.png) no-repeat center center;
  background-size: 20px;
  left: 0;
  top: 0;
}

.rightbtn::before{
  background:#08669e url(images/ar2.png) no-repeat center center;
  background-size: 20px;
  right: 0;
  top: 0;
}

.btn a:hover{
 
}

#case .box,
#subpage .box,
#flow .box{
  background: url(images/bg2.jpg) no-repeat left bottom;
  background-size: 100%;
}

.case_list {
  margin-left: 20px;
}

/*.case_list li{
  padding: 20px 20px;
}*/
.case_list ul.multiple-items {
  padding: 0;
  margin: 0;
}

.case_list ul.multiple-items li {
  list-style: none;
  padding: 10px;
  box-sizing: border-box;
}

.slick-dots li button:before {
  font-size: 18px;
}

.slick-dots {
  bottom: -30px;
}


.case_list2 ul {
  display:-webkit-box;
  display:-moz-box;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
}

.case_list2 li {
  width: 50%;
  box-sizing: border-box;
  padding: 0 20px 0 0;
  margin: 10px 0 20px;
}

.thumbimg1 {
	aspect-ratio: 3/2;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.thumbimg1 img {
	height: 100%;
	width: 100%;
	max-width: inherit;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.thumbimg2{
  width: 100%;
  margin-bottom: 20px;
}

.txtinr3{
  padding: 15px 0;
}

.cate,
.cate2{
  font-weight: bold;
  font-size: 15px;
  color: #08669e;
}

#recruit{
  background: url(images/bg_img2.jpg) no-repeat center center;
  background-size: cover;
  position: relative;
}

#recruit::before{
  content: '';
  background: rgba(0,0,0,0.2);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}

.txt4{
  width: 420px;
  height: 360px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.flex5{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.txt5{
  width: 300px;
  position: relative;
  box-sizing: border-box;
}

.clm5{
  flex: 1;
  min-height: 200px;
}

.news_post li{
  width: 100%;
  background: #f2f2f2;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 15px;
}

.inr_post{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.date{
  width: 90px;
}

.cate{
  width: 100px;
}

.cate a,
.cate2 a{
  color: #08669e;
}

.inr_post h3{
  flex: .95;
}

.inr_post2{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 5px;
}

#news .btn{
  position: absolute;
  left: 0;
  bottom: 0;
}

#contact{
  background: url(images/bg_img3.jpg) no-repeat center center;
  background-size: cover;
  position: relative;
}

#contact::before{
  content: '';
  background: linear-gradient(120deg,  rgba(0,80,128,0.7) 0%,rgba(0,80,128,0.7) 75%,rgba(0,80,128,0) 75%,rgba(0,80,128,0) 100%);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  mix-blend-mode: multiply;
}

.flex_contact{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.tel2{
  width: 300px;
}

.contact_btn{
  width: 340px;
} 

.contact_btn a{
  display: block;
  font-size: 20px;
  color: #ffffff;
  padding: 30px 20px 30px 40px;
  border-radius: 10px;
  text-align: center;
  background:#08669e url(images/mailicon.png) no-repeat 20px center;
  background-size: 30px;
} 

.contact_btn a:hover{
  color: #ffffff;
  background:#034268 url(images/mailicon.png) no-repeat 20px center;
  background-size: 30px;
} 




footer{

}

.ft_info{
  text-align: right;
  padding-left: 300px;
}

#copyright{
  padding-top: 20px;
  font-size: 13px;
  line-height: 30px;
  color: #909090;
}

#copyright a{
  color: #909090;
}

.fix_btn{
  position: fixed;
  right: 10px;
  bottom: 10px;
  width: 120px;
  display: flex;
  justify-content: space-between;
}

.telbtn a,
.mailbtn a{
  padding: 15px;
  display: block;
  border-radius: 5px;
}

.telbtn a{
  background: #333333;
}

.mailbtn a{
  background: #08669e;
}

.telbtn a img,
.mailbtn a img{
  width: 25px;
  display: block;
}

.mainclm{
  width: 72%;
  float: left;
}

.sideclm{
  width: 22%;
  float: right;
}

.con_form dl{
  padding-top: 20px;
}

.con_form dt{
  padding-bottom: 5px;
  font-weight: bold;
}

.con_form dd{
  padding-bottom: 30px;
}

.hissu{
	font-size: 12px;
	color: #08669e;
	font-weight: bold;
	padding-left: 5px;
}

.subvl{
  padding-top: 130px;
  padding-bottom: 110px;
  position: relative;
}

.subvl::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.newsbg{
  width: 100%;
  background: url(images/subvl.jpg) no-repeat center center;
  background-size: cover;
}

.casebg{
  width: 100%;
  background: url(images/subvl2.jpg) no-repeat center center;
  background-size: cover;
}

.recruitbg{
  width: 100%;
  background: url(images/subvl3.jpg) no-repeat center center;
  background-size: cover;
}

.archive li a{
  display: block;
  position: relative;
  color: #08669e;
  padding: 5px 0px 5px 15px;
}

.archive li a::before{
  content: '#';
  position: absolute;
  left: 0;
  top: 5px;
  color: #08669e;
}

.archive label{
  display: none;
}

.singlebox{
  padding: 10px 0;
}

.widget{
  padding-bottom: 30px;
}

.point_post li,
.flow_post li{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.point_post li{
  padding-top: 40px;
}
.flow_post li{
  padding-top: 30px;
  padding-bottom: 30px;
}

.p_img{
  width: 380px;
  aspect-ratio: 3/2;
  position: relative;
}

.p_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.p_txt{
  flex: .9;
}

.f_img{
  width: 180px;
  height: 180px;
  background: #17557d;
  border-radius: 50%;
  position: relative;
}

.f_img img{
  width: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.f_img::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid #17557d;
}

.f_txt{
  flex: .95;
}

.ttl_number{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.ttl_number span{
  font-size: 55px;
  line-height: 55px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  width: 70px;
  padding-bottom: 20px;
}

.ttl_number h3{
  flex: .97;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.tag_post h4{
  font-size: 20px;
  color: #ffffff;
  font-weight: bold;
}

.tag_post ul{
  display:-webkit-box;
  display:-moz-box;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
}

.tag_post li{
  background: #ffffff;
  width: calc(33% - 10px);
  box-sizing: border-box;
  padding: 5px 5px;
  margin: 5px 5px 0;
  border-radius: 5px;
  color: #08669e;
  font-weight: bold;
  text-align: center;
}

.tag-block{
  padding-top: 20px;
}

.recruit-item{
  padding-top: 40px;
}

.recruit-item h4{
  background: #08669e;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 15px;
}

.recruit-item dt,
.recruit-item dd,
.table-item dt,
.table-item dd{
  border-top: 1px solid #dddddd;
  padding: 20px 15px;
  box-sizing: border-box;
}

.recruit-item dl,
.table-item dl{
  background: #f0f0f0;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.recruit-item dt,
.table-item dt{
  width: 200px;
  background: #f0f0f0;
  float: left;
  clear: left;
}

.recruit-item dd,
.table-item dd{
  margin-left: 200px;
  background: #ffffff;
}

.ttl_box{
  border-bottom: 1px solid #dddddd;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.ttl_box h2{
  width: 150px;
}

.ttl_box ul{
  flex: 1;
}

.ttl_box li{
  display: inline-block;
  padding: 10px 20px 0 0;
}

.ttl_box li a{
  color: #08669e;
  font-weight: bold;
}

.map iframe {
  width: 100%;
  height: 300px;
}

.g_flex{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.g_img{
  width: 280px;
}

.g_txt{
  flex: .95;
}
/********************************************
 * 共通要素
 ********************************************/

.shadow {
  filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.1));
}


.txt_inline{
    display: inline-block;
}

.line1{
  border-top: 1px solid #dddddd;
}

.line2{
  border-top: 1px solid #dddddd;
  padding-top: 40px;
  margin-top: 40px;
}

.flexul{
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: center;
}

.tb{
    display: table;
}

.txt_s{
  font-size: 13px;
  line-height: 20px;
}

.txt_ns{
  font-size: 15px;
  line-height: 28px;
}

.txt_n{
  font-size: 18px;
  line-height: 32px;
  font-weight: 700;
}

.txt_m{
  font-size: 22px;
  line-height: 36px;
  font-weight: 700;
}

.txt_l{
  font-size: 25px;
  line-height: 42px;
  font-weight: 700;
}

.txt_b{
  font-size: 29px;
  line-height: 65px;
  letter-spacing: 1px;
  font-weight: 700;
}

.txt_c{
  text-align: center;
}

.txt_r{
  text-align: right;
}

.txt_l{
  text-align: left!important;
}

.mgat{
  margin: 0 auto;
}

.wid_1{
  width: 280px;
}

.wid_2{
  width: 300px;
}

.pc_none{
	display:none;
}

.pdb_no{
  padding-bottom: 0;
}

@media screen and (max-width: 1280px) {

#header {
  width: 96%;
  left: 2%;
}

#logo {
  width: 250px;
}

#logo1ft{
  width: 250px;
}
 
}

@media screen and (max-width: 1120px) {

.ttl_h2,
.tel3 a,
.g_txt h2{
  font-size: 30px;
  line-height: 40px;
}

.ttl_h3,
.archive h2,
.g_txt h2 span{
  font-size: 22px;
  line-height: 35px;
}
  
.p_img{
  width: 300px;
}
  
.p_txt h3 br{
  display: none;
}
  
.img1 {
  width: 350px;
  height: 450px;
}
  
.txtinr1 {
  margin-right: 400px;
}

.txt5{
  width: 250px;
}
}