@charset "utf-8";
/*------flow------*/
.flow_contents {
  padding-top: 30px;
  padding-bottom: 80px;
}
.flow_contents .container {
  background-color: #fff;
  padding: 1em;
  box-shadow: 0 3px 6px rgb(0 0 0 / 4%);
  justify-content: space-between;
}
.flow_contents .container .step {
  font-size: 16px;
  margin: 0 auto;
  margin-right: 5px;
  text-align: center;
  line-height: 1;
  background-color: #90bb78;
  color: #fff;
  border-radius: 50%;
  padding: .3em 1.1em .2em;
}
.flow_contents .container .step span {
  font-size: 40px;
  font-weight: normal;
}
.flow_contents .container .inner_text {
  width: 80%;
  margin-left: 12px;
  margin-right: 15px;
}
.flow_contents .container .inner_text .title {
  font-size: 20px;
  margin-bottom: .5em;
}
.flow_contents .flow_image {
  width: 260px;
}
.flow_contents .container img {
  width: 100%;
  display: block;
}
.flow_contents .arrow2 {
  width: 22px;
  margin: 10px auto 2px;
}
/*------comany------*/
.page-id-143 .profile_wrap, .page-id-143 .greeting_wrap {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.page-id-143 p.has-background {
  padding: .1em 1em;
  margin-bottom: .8em;
}
.page-id-143 figure img {
  max-width: 260px;
}
.page-id-143 .company_table {
  width: 90%;
  max-width: 1000px;
  margin: 20px auto 100px;
}
.page-id-143 .company_table td {
  border: none;
}
.page-id-143 .company_table tr {
  border-bottom: solid 1px #cecec2;
}
.page-id-143 .company_table tr:last-child {
  border-bottom: none;
}
.page-id-143 .company_table td:first-child {
  width: 6em;
}
.flow_tel_btn {
  display: block;
  background-color: rgba(255, 255, 255, .8);
  padding: 8px 5px 3px;
  border-radius: 2px;
  border: #5A3200 solid 1px;
  margin-bottom: 0;
}
.flow_tel_btn .g_font_b {
  font-size: 19px;
  color: #5A3200;
  line-height: 1;
}
.flow_tel_btn .text_s {
  font-size: 13px;
  font-weight: normal;
  color: #5A3200;
  padding-left: 1em;
}
.flow_tel_btn .g_font_b:before {
  content: "";
  padding: 9px;
  background-image: url("../images/top_tel_icon.png");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: left;
}
.flow_mail_btn {
  display: block;
  margin-right: 20px;
  background-color: rgba(255, 255, 255, .8);
  padding: 8px 5px 3px;
  border-radius: 2px;
  border: #2E5F19 solid 1px;
  margin-top: 0;
}
.flow_mail_btn .g_font_b {
  font-size: 18px;
  color: #175F19;
  line-height: 1;
}
.flow_mail_btn .text_s {
  font-size: 13px;
  font-weight: normal;
  color: #175F19;
  padding-left: 1.5em;
}
.flow_mail_btn .g_font_b:before {
  content: "";
  padding: 14px;
  background-image: url("../images/top_mail_icon.png");
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: left;
}
.page-template-page-flow .flow_contact {
  margin-top: 1em;
}
.page-template-page-flow .flow_contact a {
  margin-bottom: .5em;
  width: 46%;
  max-width: 280px;
  text-align: center;
}
/*------services------*/
.services_contents {
  padding-bottom: 80px;
}
.services_contents .lead {
  /*
  text-align: center;
  margin-bottom: 2em;
*/
}
.services_contents .check .heading {
  font-size: 19px;
  margin-bottom: 1em;
  text-align: center;
  color: #963300;
}
.services_contents .check {
  width: 95%;
  max-width: 1000px;
  /*        box-shadow: 0 3px 6px rgb(0 0 0 / 4%);*/
  padding: 30px 40px 30px;
  margin: 2em 0;
  margin: 30px auto 50px;
  background-color: #fdfdf6;
  box-shadow: 0px 0px 0px 10px #fdfdf6;
  border: dashed 2px #dbdea2;
}
.services_contents .check .flex {
  align-items: flex-end;
  justify-content: center;
}
.services_contents .check ul.left_contents {
  width: 67%;
  margin-right: 20px;
}
.services_contents .check .right_contents {
  width: 28%;
}
.services_contents .check ul li {
  padding-bottom: .2em;
  margin-bottom: .6em;
  border-bottom: dashed 1px #ccc;
}
.services_contents .check ul li:before {
  content: "";
  padding: 5px 10px;
  background-image: url("../images/check.png");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: left;
}
.services_contents .flex.container {
  align-items: stretch;
  margin-bottom: 40px;
  box-shadow: 20px 20px 0px 0 #E6E6CF;
}
.services_contents .l_contents {
  width: 70%;
  background-color: #fff;
  padding: 50px;
}
.services_contents .l_contents p {
  margin-bottom: 1em;
}
.services_contents .l_contents p:last-child {
  margin-bottom: 0;
}
.services_contents .r_contents {
  width: 30%;
  height: auto;
  background-size: cover;
  background-repeat: no-repeat;
}
.services_contents h2 {
  color: #3C1414;
  font-size: 20px;
  padding-bottom: .5em;
  margin-bottom: 1em;
  border-bottom: 1px solid #3C1414;
}
.services_contents .r_contents.first {
  background-image: url("../images/tokushubassai.jpg");
}
.services_contents .r_contents.second {
  background-image: url("../images/kobokusentei.jpg");
}
.services_contents .r_contents.third {
  background-image: url("../images/jinja.jpg");
}
.services_contents .r_contents.fourth {
  background-image: url("../images/kojintei.jpg");
}
.services_contents .r_contents.fifth {
  background-image: url("../images/gaiko.jpg");
}
.services_contents .r_contents.sixth {
  background-image: url("../images/tobokushori.jpg");
}
/*------strengths------*/
.strengths_contents .heading {
  margin-bottom: 2em;
}
.strengths_contents.wrap {
  width: 95%;
  max-width: 1100px;
  left: 0;
  right: 0;
  margin: 50px auto 0;
    padding-bottom: 80px;
}
.strengths_contents .heading {
  text-align: center;
}
.strengths_contents .position {
  position: relative;
  width: 100%;
  height: 540px;
  margin-bottom: 0;
}
.strengths_contents .position.strengths_jinja {
  height: 620px;
    margin-bottom: 60px;
}
.strengths_contents h2 {
  font-size: 20px;
  margin-bottom: 1em;
  color: #3C1414;
  border-bottom: 1px solid #3C1414;
}
.strengths_contents .position .text_container {
  position: absolute;
  width: 540px;
  background-color: #fff;
  z-index: 10;
  left: 60px;
  bottom: 50px;
  padding: 40px 50px 40px;
}
.strengths_contents .position .text_container p {
  margin-bottom: .8em;
}
.strengths_contents .position .text_back {
  position: absolute;
  width: 280px;
  height: 250px;
  background-color: #E6E6CF;
  z-index: 0;
  bottom: 0;
}
.strengths_contents .position .stregths_image img {
  position: absolute;
  right: 0;
  z-index: 0;
  width: 540px;
  height: 420px;
  object-fit: cover;
  display: block;
}
.strengths_contents .position.right .stregths_image img {
  right: auto;
  left: 0;
  bottom: 0;
}
.strengths_contents .position.right .text_container {
  left: auto;
  right: 60px;
  top: 50px;
  bottom: auto;
}
.strengths_contents .position.right .text_back {
  right: 0;
  top: 0;
}
@media screen and (max-width: 1100px) {
  .strengths_contents .position {
    width: 100%;
    height: 500px;
    margin-bottom: 20px;
  }
    .strengths_contents .position.strengths_jinja {
    height: 600px;
    }
  .strengths_contents .position .text_container {
    width: 52%;
    /*    width: 540px;*/
    background-color: #fff;
    z-index: 10;
    left: 40px;
    bottom: 50px;
    padding: 30px;
  }
  .strengths_contents .position .stregths_image img {
    width: 46%;
    height: auto;
    aspect-ratio: 5.2 / 4;
    right: 0;
    z-index: 0;
  }
}
@media screen and (max-width: 1000px) {
  .services_contents .l_contents {
    padding: 20px 30px;
  }
  .services_contents .l_contents {
    width: 60%;
  }
  .services_contents .r_contents {
    width: 40%;
    height: auto;
  }
}
@media screen and (max-width: 900px) {
  .page-template-page-flow .flow_contact {
    display: block;
    margin-bottom: 1.5em;
  }
  .page-template-page-flow .flow_contact a {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 800px) {
  /*------services------*/
  .services_contents .check .heading {
    font-size: 18px;
    line-height: 1.4;
  }
  .services_contents .check {
    width: 100%;
    padding: 20px 30px 30px;
  }
  .services_contents .check .flex {
    display: block;
  }
  .services_contents .check ul.left_contents {
    width: 100%;
    margin-right: 0;
    line-height: 1.4;
  }
  .services_contents .check .right_contents {
    width: 100%;
    max-width: 360px;
    margin: 20px auto 0;
  }
  /*------strengths------*/
    .strengths_contents{
    padding-bottom: 10px;
}
  .strengths_contents .position {
      width: 98%;
    position: static;
    margin-bottom: 40px;
    height: auto;
    box-shadow: 12px 15px 0px 0 #E6E6CF;
  }
      .strengths_contents .position.strengths_jinja {
    height: auto;
          margin-bottom: 40px;
    }
  .strengths_contents .position .text_container {
    position: static;
    width: 100%;
    margin: 0 auto;
  }
    .strengths_contents .position.strengths_bassai .stregths_image img,.strengths_contents .position.strengths_toboku .stregths_image img{
        object-position: center;
    }
  .strengths_contents .position .stregths_image img {
    position: static;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 5.2 / 3.4;
    object-position: bottom;
  }
  .strengths_contents .position .text_back {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  /*------flow------*/
  .flow_contents {
    padding-top: 20px;
    padding-bottom: 60px;
  }
  .flow_contents .container {
    background-color: #fff;
    padding: 1em;
    display: block;
  }
  .flow_contents .container .step {
    font-size: 15px;
    text-align: center;
    line-height: 1.1;
    background-color: #6dbb86;
    color: #fff;
    border-radius: 50%;
    padding: .5em 1em .3em;
    margin-right: 15px;
    float: left;
  }
  .flow_contents .container .step span {
    font-size: 30px;
  }
  .flow_contents .container .inner_text {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 15px;
    line-height: 1.4;
  }
  .flow_contents .container .inner_text .title {
    font-size: 19px;
    margin-bottom: .3em;
  }
  .flow_contents .flow_image {
    width: 100%;
    margin: 0 auto;
  }
  .flow_contents .container img {
    width: 100%;
    display: block;
  }
  /*------company------*/
  .page-id-143 p.has-background {
    margin-bottom: .5em;
  }
  .page-id-143 .wp-block-media-text .wp-block-media-text__media {
    margin: 0 auto;
  }
  .page-id-143 figure img {
    max-width: 240px;
    margin: 20px auto;
  }
    .page-id-143 .company_table {
    margin: 20px auto 60px;
}
  .page-id-143 .company_table tr {
    line-height: 1.3;
    font-size: 16px;
  }
  .page-id-143 .company_table td:first-child {
    font-size: 15px;
    font-weight: bold;
  }
  .page-id-143 .company_table td {
    padding-right: .3em;
  }
  /*------services------*/
  .services_contents {
    padding-bottom: 40px;
  }
  .services_contents .l_contents {
    padding: 20px 15px 15px;
  }
  .services_contents .flex.container {
    display: block;
    margin-bottom: 40px;
    box-shadow: 15px 20px 0px 0 #E6E6CF;
  }
  .services_contents .r_contents {
    width: 100%;
    aspect-ratio: 5 / 3.5;
  }
  .services_contents .l_contents {
    line-height: 1.4;
    width: 100%;
  }
  .services_contents h2 {
    color: #3C1414;
    font-size: 20px;
    padding-bottom: .3em;
    margin-bottom: .6em;
    border-bottom: 1px solid #3C1414;
  }
      /*------strengths------*/
    .strengths_contents.wrap{
        padding-bottom: 40px;
    }
        .strengths_contents .position .text_container {
        padding: 20px;
    }
}
@media screen and (max-width: 480px) {
  /*------flow------*/
  .flow_contents {
    padding-top: 20px;
    padding-bottom: 30px;
  }
  /*------services------*/
  .services_contents .check {
    padding: 15px 15px 10px;
  }
}