/* ----- common ----- */
/* title */
.sub_title {
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sub_title h2 {
  margin: 0 auto;
  font-size: 42px;
  line-height: 1.4;
  font-weight: normal;
  text-align: center;
  text-shadow: 0 0 3px #405056, 0 0 5px #405056, 0 0 5px #405056, 0 0 10px #405056, 0 0 10px #405056;
  color: #ffffff;
}
/* タブレット用のスタイル */
@media screen and (max-width: 1025px) {
  .sub_title h2 {
    font-size: calc(100vw / 20);
  }
}
@media screen and (max-width: 768px) {
  .sub_title {
    height: 30vw;
  }
  .sub_title h2 {
    padding: 2vw 3vw;
    margin-bottom: 6vw;
    font-size: calc(100vw / 16);
  }
}
/* list-style */
.list-beasic {
  margin-left: 28px;
  position: relative;
}
.list-beasic::before {
  content: "";
  display: block;
  background: #40505b;
  width: 10px;
  height: 10px;
  border-radius: 30px;
  position: absolute;
  top: 14px;
  left: -21px;
}
@media screen and (max-width: 768px) {
  .list-beasic {
    margin-left: 5vw;
  }
  .list-beasic::before {
    width: 2vw;
    height: 2vw;
    top: 2vw;
    left: -3vw;
  }
}
/* ----- about.php #about ----- */
/* about */
#about .sub_title {
  background: url("../images/about/about_ttl.jpg") no-repeat top center;
  background-size: cover;
}
#about .about .about_box {
  position: relative;
  height: 46vh;
}
#about .about .about_box .anime-02 {
  position: absolute;
  top: 200px;
  left: 20px;
}
#about .about .about_box .about_cntns {
  width: 45%;
  max-width: 680px;
}
#about .about .about_box .about_img {
  width: 50%;
  max-width: 770px;
  height: 400px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  #about .about .about_box {
    height: 87vw;
  }
  #about .about .about_box .anime-02 {
    position: absolute;
    top: 360px;
    left: 20px;
  }
  #about .about .about_box .about_cntns {
    width: 100%;
    margin: 0 0 5vw 0;
    text-align: center;
    position: static;
  }
  #about .about .about_box .about_img {
    width: 100%;
    height: 24vh;
    top: 20vh;
    position: static;
  }
  #about .about .about_box .about_img img {
    object-fit: cover;
  }
  #about .about .about_box .main_btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}

/* works */
#about .works {
  background: #d4eef9;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
#about .works .cntns_hl1 {
  background: #d4eef9;
}
#about .works .works_list_box {
  margin-bottom: 120px;
}
#about .works li {
  margin-bottom: 60px;
}
#about .works .works_list {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 70px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  background: #ffffff;
}
#about .works .works_list_rbox {
  width: 40%;
  max-width: 440px;
}
#about .works .works_list_rbox .works_item1_name {
  width: fit-content;
  background-image: linear-gradient(90deg, #29abe2, #29abe2 70%, #ffffff);
  margin-left: -70px;
  margin-bottom: 20px;
  padding: 10px 70px 10px 70px;
  font-weight: bold;
  font-size: 28px;
  color: #FFFFFF;
}
@media screen and (max-width: 1025px) {
  #about .works .works_list {
    padding: 20px 50px;
  }
  #about .works .works_list_rbox .works_item1_name {
    font-size: 24px;
  }
}
#about .works .works_list_rbox .works_item1_be {
  width: 100%;
  max-width: 440px;
  position: relative;
}
#about .works .works_list_rbox .works_item1_be::before, #about .works .works_item1_af::before {
  background: #ffffff;
  padding: 6px 10px;
  border-left: 6px solid #0046a0;
  width: fit-content;
  max-width: 440px;
  position: absolute;
  bottom: 0;
  left: 0;
}
#about .works .works_list_rbox .works_item1_be::before {
  content: "修繕前";
}
#about .works .works_item1_af::before {
  content: "修繕後";
  color: #0046a0;
  font-size: 140%;
  font-weight: bold;
}
#about .works .works_item1_af {
  width: 53%;
  max-width: 550px;
  position: relative;
}
#about .works .works_item1_be::after {
  content: "";
  display: block;
  width: 29px;
  height: 50px;
  background-color: #0046a0;
  clip-path: polygon(29px 50%, 0% 0%, 0% 50px);
  position: absolute;
  top: calc(50% - 25px);
    left: calc(95% + 3vw);
    z-index: 3;
}
@media screen and (min-width: 1500px) {
  #about .works .works_item1_be::after {
    content: "";
    display: block;
    width: 50px;
    height: 80px;
    background-color: #0046a0;
    clip-path: polygon(50px 50%, 0% 0%, 0% 80px);
    position: absolute;
    top: calc(50% - 40px);
    right: -5vw;
  }
}

@media screen and (max-width: 1025px) {
	#about .works .works_item1_be::after {
		width: 27px;
		clip-path: polygon(27px 50%, 0% 0%, 0% 50px);
	}
}

@media screen and (max-width: 768px) {
  #about .works .works_list {
    padding: 4vw 5vw;
  }
  #about .works .works_list_rbox {
    width: 100%;
  }
	
#about .works .works_list_rbox .works_item1_be::before {
	font-size: calc(80vw / 28);
} 
#about .works .works_item1_af::before {
    font-size: calc(80vw / 24);
}
  #about .works .works_list_rbox .works_item1_name {
    margin-left: -5vw;
    margin-bottom: 2vw;
    padding: 2vw 10vw 2vw 5vw;
    font-size: calc(80vw / 24);
  }
  #about .works .works_list_rbox .works_item1_be {
    width: 80%;
    max-width: 440px;
  }
  #about .works .works_item1_af {
    width: 94%;
    max-width: 550px;
  }
}
@media screen and (max-width: 430px) {
  #about .works .works_list {
    padding: 4vw 5vw;
    flex-wrap: wrap;
  }
  #about .works .works_list_rbox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  #about .works .works_list_rbox .works_item1_name {
    margin-left: -5vw;
    margin-bottom: 2vw;
    padding: 2vw 10vw 2vw 5vw;
    font-size: calc(80vw / 14);
  }
  #about .works .works_list_rbox .works_item1_be {
    width: 70%;
    max-width: 440px;
    margin-bottom: 30px;
    position: relative;
  }
	#about .works .works_list_rbox .works_item1_be::before {
	  font-size: calc(100vw / 22);
	}
	#about .works .works_item1_af::before {
	  font-size: calc(100vw / 18);
	}
  #about .works .works_item1_af {
    width: 94%;
    max-width: 550px;
    margin-left: auto;
    margin-right: 0;
  }
  #about .works .works_item1_be::after {
    content: "";
    display: block;
    width: 8vw;
    height: 5vw;
    background-color: #0046a0;
    clip-path: polygon(50% 5vw, 0% 0%, 8vw 0%);
    position: absolute;
    top: 37vw;
    left: 30vw;
  }
}


/* works-collction */
#about .works .works_collection ul {
  display: flex;
  flex-wrap:wrap;
  align-items: stretch;
}
#about .works .works_collection ul li {
  display: flex;
  width: calc((100% / 4) - 30px);
  margin: 0 15px;
  background: #000000;
  line-height: 0;
}
#about .works .works_collection ul .works_collection_item {
  opacity: 0;
  height: 0;
  margin-bottom: 0;
  transition: all 0.5s ease 0s;
}
#about .works .works_collection ul .works_collection_item.visible {
  opacity: 1;
  height: auto;
  margin-bottom: 30px;
  transition: all 0.5s ease 0s;
}
#about .works .works_collection ul li img {
  align-self: center;
}
#about .works .works_collection ul li video {
  width: 100%;
}

#load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 50px;
  width: fit-content;
  min-height: 60px;
  margin: auto;
  background: #0046a0;
  font-size:20px;
  font-family: "Noto Serif JP", serif;
  color: #ffffff;
  text-align: center;
  position: relative;
  transition: all 0.3s ease 0s;
}

#load-more-btn:hover {
  opacity: 0.7;
  transition: all 0.3s ease 0s;
}

@media screen and (max-width: 768px) {
  #about .works .works_collection ul {
    padding: 0 6vw;
  }
  #about .works .works_collection ul li {
    width: calc((100% / 2) - 4%);
    margin: 0 2%;
  }
  #about .works .works_collection ul .works_collection_item.visible {
      margin-bottom: 4% ;
  }
  #load-more-btn{
    font-size: calc(100vw / 30);
    padding: 5vw 10vw;
    min-height: 40px;
  }
}


/* recruit */
.recruit-info_cntns{
	padding-top:50px;
}
.conditions_list {
  width: 90%;
  max-width: 860px;
  margin: 60px auto;
  flex-wrap: wrap;
}
.conditions_item {
  width: 100%;
  padding: 2% 0;
  display: flex;
  flex-wrap: wrap;
  border-top: 2px solid #40505b;
}
.conditions_item:last-child {
  border-bottom: 2px solid #40505b;
}
.conditions_item dt {
  width: 22%;
  max-width: 160px;
  line-height: 1.6;
  position: relative;
}
.conditions_item dt::after {
  content: "|";
  display: block;
  color: #40505b;
  position: absolute;
  top: 0;
  right: 0;
}
.conditions_item dd {
  padding-left: 20px;
  width: 73%;
  max-width: 660px;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .conditions_list {
    margin: 4vw auto;
  }
  .conditions_item dd {
    padding-left: 3vw;
    width: 72%;
  }
  .conditions_item dd a {
    pointer-events: none;
    display: inline;
  }
  .conditions_item dt::after {
    top: 3px;
  }
}
/* ----- contact.php #contact ----- */
/* contact */
#contact .sub_title {
  background: url("../images/contact/contact_ttl.jpg") no-repeat top center;
  background-size: cover;
}
#contact .form .cntns_hl1 {
  background: #d4eef9;
}
#contact .form {
  background: #d4eef9;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
#contact .form .formTable {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}
#contact .form .formTable dl {
  margin-bottom: 30px;
}
#contact .form .formTable dl dt {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
}
#contact .form .formTable dl dt.list-beasic::before {
  top: 8px;
}
#contact .form .formTable dl dt span {
  margin-left: 10px;
  font-size: 60%;
  color: #ffffff;
  background: #cc3333;
  padding: 3px 5px;
  border-radius: 5px;
}
#contact .form .formTable input[type="text"], #contact .form .formTable textarea {
  width: 100%!important;
  height: 50px;
  display: block;
  padding: 2%;
  background: #fff;
  font-size: 18px;
  border: 3px solid #999999;
  border-radius: 5px;
  line-height: 1.6;
}
#contact .form .formTable textarea {
  height: 120px!important;
}
#contact .form .formTable input[type="radio"] {
  width: 15px;
  height: 15px;
  margin-left: 30px;
  display: inline-block;
  transform: scale(1.5);
  border: 3px solid #999999;
}
@media screen and (max-width: 1025px) {
  #contact .form .formTable input[type="radio"] {
	width: 3vw;
	max-width: 16px;
	height: 2vw;
	min-height: 20px;
	margin-right: 1vw;
	margin-left: 5vw;
	border: 2px solid #999999;
  }
}
#contact .form .formTable button[type="submit"] {
  width: fit-content;
  min-height: 60px;
  padding: 5px 40px 5px 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0046a0;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  position: relative;
  transition: all 0.3s ease 0s;
  border-radius: 5px;
  cursor: pointer;
}
#contact .form .formTable button:hover[type="submit"] {
  opacity: 0.7;
  transition: all 0.3s ease 0s;
}
#contact .form .formTable .form_tyui {
  font-size: 80%;
}
@media screen and (max-width: 768px) {
  #contact .form .formTable input[type="text"], #contact .form .formTable textarea {
    font-size: calc(80vw / 20);
  }
  #contact .form .formTable label {
    display: block;
    padding: 5px 0 0 0;
    font-size: 110%;
  }
  #contact .form .formTable button[type="submit"] {
    width: fit-content;
    min-height: 60px;
    padding: 5px 40px 5px 40px;
  }
  #contact .form .formTable dl dt {
    font-size: 120%;
  }
  #contact .from .formTable input[type="radio"] {
    margin-left: 0;
  }
}
/* privacy */
#contact .privacy_box {
  width: 80%;
  max-width: 1075px;
  margin: 0 auto;
  padding: 30px 60px;
  background: #f4fbfe;
  border: 2px solid #40505b;
  position: relative;
  z-index: 0;
  font-size: 20px;
}
#contact .privacy_box h3 {
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  color: #0046a0;
}
#contact .privacy_box p {
  margin-bottom: 30px;
  text-indent: 20px;
}
#contact .privacy_box dl dt {
  font-weight: bold;
}
#contact .privacy_box dl dd {
  line-height: 1.8;
  margin: 10px 0 40px;
  text-indent: 20px;
}
#contact .privacy_box dl dd ul {
  margin: 10px 0;
  text-indent: 0;
}
#contact .privacy_box dl dd ul li {
  margin-bottom: 10px;
}
#contact .privacy_box dl dd ul li.list-beasic::before {
  top: 5px;
}
@media screen and (max-width: 768px) {
  #contact .privacy_box {
    max-height: 60vh;
    overflow: scroll;
    padding: 6vw 6vw 0;
    background: #f4fbfe;
    border: 2px solid #40505b;
    position: relative;
    z-index: 0;
    font-size: calc(68vw / 18);
  }
  #contact .privacy_box dl dd {
    line-height: 1.6;
  }
  #contact .privacy_box h3 {
    margin-bottom: 20px;
    font-size: calc(68vw / 12);
    font-weight: bold;
    text-align: center;
    color: #0046a0;
  }
}

/* サンクス */
.thanks {
    background: #ffffff;
    border: 2px solid #00469F;
    padding: 50px 20px;
    border-radius: 10px;
}
.thanks h4 {
	font-size: 140%;
	font-weight: bold;
	color: #0046a0;
}
.thanks div {
	margin: 20px 0 30px;
	font-size: 110%;
	line-height: 1.6;
}
.thanks p {
	margin-bottom: 30px;
	font-size: 80%;
	line-height: 1.4;
}