/**************************************************************************************/
/* 2023/07/27　社宅管理ページCSS*/
/**************************************************************************************/
/* ttl 削除 */
.contents_title, h1 {
  display: none;
}
/* ttl 削除 ここまで */

/* inner 拡張 */
.inner980 {
	width: 100%;
  padding: 0 20px;
}
/* inner 拡張 ここまで */

/* header inner　調整 */
#header .inner980 {
	width: 980px;
}
/* header inner　調整 ここまで */

/* TOP */
.m-top img {
  width: 100%;
}
/* TOP ここまで */

/* main */
.newpage_contents h2.m-h2 {
  color: #000;
  font-size: 30px;
  margin-bottom: 0;
}

.m-main {
  justify-content: center;
  gap: 1.5em;
  max-width: 1700px;
  margin: 0 auto;
  padding-left: 1.5em;
}

.m-main figure img {
	width: 394px!important;
}

.m-main figure {
  width: auto!important;
  flex-grow: 0!important;
}

@media screen and (max-width: 1700px) {
	.m-main {
    max-width: 1200px;
  }
  
  .m-main figure img {
		width: 269px!important;
	}
}

@media screen and (max-width: 1200px) {
	.m-main {
    max-width: 1024px;
  }

  .m-main figure img {
		width: 225px!important;
	}
}

@media screen and (max-width: 1024px) {
  .m-main {
    max-width: 768px;
  }

	.m-main figure img {
		width: 334px!important;
	}
}

@media screen and (max-width: 768px) {
  .m-main {
    max-width: 425px;
  }

	.m-main figure img {
		width: 100%!important;
	}

  .newpage_contents h2.m-h2::after {
    left: 0;
  }
}
/* main ここまで */

/* お気軽にご相談ください */
.newpage_contents a {
  text-decoration: none;
}

.newpage_contents a.contact_btn {
  width: 320px;
  height: 70px;
  border-radius: 15px;
  background: #4D4238;
  display: inline-block;
  text-align: left;
  color: #fff;
  font-size: 27px;
  line-height:70px;
  font-weight: 600;
  position: relative;
  padding-left: 25px;
  transition: all 0.5s;
}

.newpage_contents a.tel, .contact_item .fax {
  color: #4D4238;
  font-family: Noto Sans Javanese;
  font-size: 47px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.contact {
  background-color: rgba(248, 158, 74, 0.1);
  color: #4D4238;
  font-style: normal;
  line-height: normal;
  text-align: center;
  padding: 50px 0;
}

.contact a {
  text-decoration: none;
}

.contact h2 {
  color: #4D4238;
  text-align: center;
  font-size: 40px;
  font-weight: 600;
}

.contact_box {
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  -webkit-justify-content: space-c;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  margin: 0 auto;
}

.contact_item {
  width: calc(100% / 3.1);
  position: relative;
}

.contact_item::after {
  content: '';
  width: 3px;
  height: 320px;
  display: inline-block;
  background-color: #fff;
  top: -10px;
  right: 0;
  position: absolute;
}

.top_company::after {
  display: none;
}

.contact_item p {
  font-size: 25px;
}

.contact_btn {
  width: 320px;
  height: 70px;
  border-radius: 15px;
  background: #4D4238;
  display: inline-block;
  text-align: left;
  color: #fff;
  font-size: 27px;
  line-height:70px;
  font-weight: 600;
  position: relative;
  padding-left: 25px;
  transition: all 0.5s;
}

.contact_btn:hover {
  opacity: 0.8;
  color: #fff;
}

.contact_btn::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #fff;
}

.contact_item span {
  font-size: 20px;
}

.tel, .contact_item .fax {
  color: #4D4238;
  font-family: Noto Sans Javanese;
  font-size: 47px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.tel::before {
  content: url(../60l_design_c/images/top/icon_tel.svg);
  position: absolute;
  width: 35px;
  height: auto;
  top: 5px;
  left: -45px;
}

.fax::before {
  content: url(../60l_design_c/images/top/icon_fax.svg);
  position: absolute;
  width: 35px;
  height: auto;
  left: -45px;
}

.top_company {
  font-size: 25px;
  text-align: left;
  padding-left: 30px;
}

.top_company .address {
  font-size: 25px;
  padding-left: 100px;
}

.top_company .email {
  font-size: 40px;
}

@media screen and (max-width: 1700px ) {
	.contact_item p {
		font-size: 20px;
	}

  .top_company .address {
		font-size: 20px;
    padding-left: 85px;
}

  .contact_item::after {
		height: 280px;
	}

	.newpage_contents a.contact_btn {
    width: 300px;
    font-size: 24px;
  }

	.newpage_contents a.tel, .contact_item .fax {
		font-size: 35px;
	}

	.top_company {
		font-size: 20px;
    padding-left: 20px;
	}

  .top_company .email {
    font-size: 35px;
  }
}
@media screen and (max-width: 1440px ) {
  .newpage_contents a.contact_btn {
    width: 260px;
    font-size: 24px;
  }

  .newpage_contents a.tel, .contact_item .fax {
		font-size: 32px;
    margin-top: 15px;
	}

  .top_company .email {
    font-size: 32px;
  }

}

@media screen and (max-width: 1200px ) {
  .contact_item p {
    font-size: 16px;
  }

  .top_company .address {
		font-size: 16px;
    padding-left: 65px;
}

  .newpage_contents a.contact_btn {
    width: 230px;
    font-size: 22px;
  }

  .newpage_contents a.tel, .contact_item .fax {
    font-size: 28px;
  }

  .top_company .email {
    font-size: 28px;
  }
  
}

@media screen and (max-width: 1024px ) {
	.contact_box {
		flex-direction: column;
		margin: 0 auto;
	}

	.contact_item {
		width: 100%;
		padding: 30px 0;
	}

	.contact_item::after {
		width: 450px;
    height: 2px;
		top: 100%;
		right: 15%;
	}

	.contact_item p {
		font-size: 25px;
	}

  .top_company .address {
    padding-left: 100px;
}

	.contact_btn {
		width: 320px;
		font-size: 27px;
	}

  .contact_tels {
    flex-direction: column;
    align-items: center;
		margin: 0 auto;
  }

  .newpage_contents a.tel, .contact_item .fax {
    font-size: 47px;
  }

  .newpage_contents a.contact_btn {
    width: 320px;
    font-size: 27px;
  }

  .top_company {
    padding-left: 0;
    text-align: center;
  }

  .top_company_inner {
    text-align: left;
    display: inline-block;
  }

  .contact_item p, .top_company .address {
		font-size: 25px;
	}

  .top_company .email {
    font-size: 40px;
}
}
/* お気軽にご相談ください ここまで */
