@charset "utf-8";

/* ------------------------- */
/* 3つの疑問 */
/* ------------------------- */
.question-list {
  display: flex;
}

.question-item {
  position: relative;
  flex: 0 1 33.3%;
  opacity: 0;
  transform: translateY(30%);
  transition: 1s;
}

.question-item.show {
  opacity: 1;
  transform: translateY(0);
}

.question-item:not(:nth-of-type(3)) {
  margin-right: 3%;
}

.question-lead {
  position: absolute;
  font-size: 1.3rem;
  font-weight: bold;
  background-color: #FFE33F;
  padding: .5rem 2rem;
  top: 20px;
  left: -8px;
  z-index: 1;
}

.question-lead::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent #c69222 transparent transparent;
  left: 0;
  bottom: -8px;
}

.question-img-wrap {
  position: relative;
  padding-top: 65%;
  margin-bottom: 3%;
  overflow: hidden;
}

.question-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}



/* ------------------------- */
/* サービスポイント5 */
/* ------------------------- */
.sv-wrap {
  position: relative;
  background-color: #FFE33F;
  overflow: hidden;
}

.sv-title {
  margin-bottom: 45px;
}

.triangle {
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 40px 110px 0 110px;
  border-color: #fff transparent transparent transparent;
}

.sv-point-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
}

.sv-point-item {
  position: relative;
  background-color: #fff;
  display: flex;
  align-items: center;
  flex: 0 0 48%;
  border-radius: 15px;
  padding: 2%;
  margin: 0 1% 3%;
  opacity: 0;
  transform: translateY(50%);
  transition: 1s;
}

.sv-point-item.show {
  opacity: 1;
  transform: translateY(0);
}

.sv-point-img-wrap {
  position: relative;
  flex: 1 0 136px;
  height: 136px;
  border-radius: 50%;
  margin-right: 4%;
  overflow: hidden;
}

.sv-point-img {
  position: absolute;
  width: 110%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sv-point-number {
  position: absolute;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 5rem;
  top: -30px;
  left: 50px;
  transform: translateX(-50%);
}

.sv-number-color {
  color: #ED6C00;
}

.sv-point-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.sv-point-text {
  font-size: 1.5rem;
  line-height: 1.5;
}

/* スタッフ_イメージ */
.staff-img {
  position: absolute;
  width: 550px;
  left: 50%;
  bottom: 0;
}



/* ------------------------- */
/* はりまの家相談カウンターの強み */
/* ------------------------- */
.strengths-wrap {
  padding: 100px 0;
  overflow: hidden;
}

.sv-text {
  padding: 0 20px;
}

/* 3つの強み */
.strengths-list {
  margin-top: 120px;
}

.strengths-item {
  position: relative;
  padding: 100px 0 30px;
  z-index: -1;
}

.strengths-item:nth-child(odd) {
  background-color: #FCFCFC;
}

/* 強み_上部 */
.strengths-top-wrap {
  background-position: top right;
  background-size: 50%;
  background-repeat: no-repeat;
}

.strengths-bg1 {
  background-image: url(https://ouchi-iwaki.com/wp/wp-content/themes/ouchi-iwaki/img/common/point01.jpg);
}

.strengths-bg2 {
  background-image: url(https://ouchi-iwaki.com/wp/wp-content/themes/ouchi-iwaki/img/common/point02.jpg);
  background-position: top left;
}

.strengths-bg3 {
  background-image: url(https://ouchi-iwaki.com/wp/wp-content/themes/ouchi-iwaki/img/common/point03.jpg);
}

.strengths-top-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 8% 20px 0;
}

.strengths-top-text-area {
  position: relative;
  width: 60%;
  background-color: #fff;
  padding: 50px;
  box-shadow: 0 0 8px rgb(0, 0, 0, 0.3);
}

.text-l::before {
  content: "";
  position: absolute;
  background: url(../img/common/strengths-bg.svg) no-repeat center center;
  background-size: contain;
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  z-index: -1;
}

.text-r::before {
  content: "";
  position: absolute;
  background: url(../img/common/strengths-bg.svg) no-repeat center center;
  background-size: contain;
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
  z-index: -1;
}

.text-r {
  margin-left: auto;
}

.strengths-number {
  position: absolute;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 9rem;
  top: -0.5em;
  right: 0.5em;
}

.strengths-title {
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.strengths-lead {
  display: inline;
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(transparent 60%, #FFE33F 60%);
}

.strengths-text {
  margin-top: 1rem;
  line-height: 2.8rem;
  text-align: justify;
}

/* 強み_下部 */
.strengths-bottom-wrap {
  display: flex;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.strengths-bottom-img-wrap {
  flex: 0 1 46%;
  margin: 5% 2%;
  border-radius: 50%;
  overflow: hidden;
}


/* ------------------------- */
/* その他サービス */
/* ------------------------- */
.other-list {
  display: flex;
  justify-content: center;
}

.other-item {
  flex: 0 1 33.3%;
  opacity: 0;
  transform: translateY(50%);
  transition: 1s;
}

.other-item.show {
  opacity: 1;
  transform: translateY(0);
}

.other-item:not(:nth-of-type(3)) {
  margin-right: 3%;
}

.other-bg {
  position: relative;
  position: relative;
  padding-top: 65%;
  margin-bottom: 3%;
}

.other-bg1 {
  background: url(../img/common/other01.jpg);
}

.other-bg2 {
  background: url(../img/common/other02.jpg);
}

.other-bg3 {
  background: url(../img/common/other03.jpg);
}

.other-lead {
  position: absolute;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  border: 3px solid #fff;
  padding: .5rem 2rem;
  line-height: 1.6;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.other-text {
  line-height: 1.8;
  text-align: justify;
}


/* ------------------------- */
/* お客さまとの約束 */
/* ------------------------- */
.promise {
  background: #f0f0f0;
}

.promise-list {
  display: flex;
}

.promise-item {
  border: 6px solid #323232;
  flex: 0 1 50%;
  opacity: 0;
  transform: translateY(50%);
  transition: 1s;
}

.promise-item:not(:last-of-type) {
  margin-right: 20px;
}

.promise-item.show {
  opacity: 1;
  transform: translateY(0);
}

.promise-inner {
  margin: 10px;
  padding: 5%;
  border: 2px solid #323232;
}

.promise-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.promise-text {
  font-weight: bold;
  line-height: 1.8;
}


/* ----------------------------------------------------------------- */


/* ------------------------- */
/* タブレット */
/* ------------------------- */
@media screen and (max-width: 1024px) {

  /* ------------------------- */
  /* サービスポイント5_タブレット */
  /* ------------------------- */
  .sv-point-number {
    font-size: 4.5rem;
    top: -20px;
  }

  .sv-point-title {
    font-size: 1.6rem;
  }

  .sv-point-text {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  /* スタッフ_イメージ */
  .staff-img {
    width: 400px;
  }


  /* ------------------------- */
  /* 3つの強み_タブレット */
  /* ------------------------- */
  /* 強み_上部 */
  .strengths-top-wrap {
    background-size: 60%;
  }

  .strengths-top-inner {
    padding: 6% 20px 0;
  }

  .strengths-top-text-area {
    padding: 30px;
  }

  .text-l::before {
    width: 200px;
    height: 200px;
    top: -60px;
    left: -60px;
  }

  .text-r::before {
    width: 200px;
    height: 200px;
    top: -60px;
    right: -60px;
  }

  .strengths-number {
    font-size: 7rem;
    top: -0.6em;
  }

  .strengths-title {
    font-size: 2rem;
  }

  .strengths-lead {
    display: inline;
    font-size: 1.6rem;
  }

  .strengths-text {
    font-size: 1.4rem;
    line-height: 2rem;
  }


  /* ------------------------- */
  /* その他サービス_タブレット */
  /* ------------------------- */
  .other-lead {
    font-size: 1.4rem;
    padding: .5rem 1.4rem;
    width: 85%;
  }


  /* ------------------------- */
  /* お客さまとの約束_タブレット */
  /* ------------------------- */
  .promise-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
}






/* ----------------------------------------------------------------- */
/* ------------------------- */
/* スマホ */
/* ------------------------- */
@media screen and (max-width: 599px) {

  /* ------------------------- */
  /* 3つの疑問_SP */
  /* ------------------------- */
  .question-list {
    display: block;
  }

  .question-item {
    width: 100%;
    margin-bottom: 50px;
  }

  .question-item:not(:nth-of-type(3)) {
    margin-right: 0;
  }

  .question-lead {
    font-size: 1.5rem;
  }


  /* ------------------------- */
  /* サービスポイント5_SP */
  /* ------------------------- */
  .sv-title {
    margin-bottom: 30px;
  }

  .triangle {
    border-width: 30px 80px 0 80px;
  }

  .sv-point-list {
    display: block;
    margin-bottom: 110px;
  }

  .sv-point-item {
    display: block;
    width: 100%;
    margin: 0 0 40px;
    padding: 25px;
  }

  .sv-point-img-wrap {
    width: 150px;
    height: 150px;
    margin: 20px auto;
  }

  .sv-point-number {
    font-size: 18vw;
    top: -45px;
    left: 50%;
  }

  .sv-number-color {
    color: #ED6C00;
  }

  .sv-point-title {
    font-size: 5vw;
    font-weight: bold;
    margin-bottom: 1rem;
  }

  .sv-point-text {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  /* スタッフ_イメージ */
  .staff-img {
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }


  /* ------------------------- */
  /* はりまの家相談カウンターの強み_SP */
  /* ------------------------- */
  /* 3つの強み_SP */
  .strengths-wrap {
    padding-bottom: 0;
  }

  .strengths-list {
    margin-top: 40px;
  }

  .strengths-item {
    padding: 0 0 30px;
  }

  /* 強み_上部_SP */
  .strengths-top-wrap {
    background-size: 100%;
  }

  .strengths-top-text-area {
    width: 100%;
    padding: 50px 30px 30px 30px;
    margin-top: 160px;
  }

  .strengths-number {
    font-size: 18vw;
    top: -0.5em;
  }

  .strengths-title {
    font-size: 5vw;
  }

  .strengths-lead {
    font-size: 4.5vw;
  }

  /* 強み_下部_SP */
  .strengths-bottom-wrap {
    flex-wrap: wrap;
    padding: 20px 20px;
  }

  .strengths-bottom-img-wrap {
    margin: 2% 2%;
  }


  /* ------------------------- */
  /* その他サービス_SP */
  /* ------------------------- */
  .other-list {
    display: block;
  }

  .other-item:not(:nth-of-type(3)) {
    margin: 0 0 30px 0;
  }

  .other-lead {
    font-size: 5vw;
  }


  /* ------------------------- */
  /* お客さまとの約束_SP */
  /* ------------------------- */
  .promise-list {
    display: block;
  }

  .promise-item:not(:last-of-type) {
    margin: 0 0 20px 0;
  }

  .promise-title {
    font-size: 5vw;
    margin-bottom: 1.5rem;
  }
}







/*改修分20230104*/
.about-resec01 {
  padding-top: 100px;
}

.about-resec01 .bg_catch {
  background: url("../img/common/img_about-resec01-bg_catch.jpg") no-repeat center center;
  background-size: cover;
  text-align: center;
  padding: 80px 0 60px 0;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .about-resec01 {
    padding-top: 60px;
  }

  .about-resec01 .bg_catch {
    background: url("../img/common/img_about-resec01-bg_catch-sp.jpg") no-repeat center center;
    background-size: cover;
    text-align: left;
    padding: 60px 20px 40px 20px;
  }
}

.about-resec02 {
  position: relative;
  background-color: #f0f0f0;
  overflow: hidden;
}

.about-resec02 .box {
  display: flex;
  justify-content: space-between;
}

.about-resec02 .box figure {
  width: 54%;
}

.about-resec02 .box .text {
  width: 42%;
}

.about-resec02 .box .text h3 {
  position: relative;
  text-align: right;
  font-size: 3.4rem;
  font-weight: bold;
  margin-left: -368px;
  margin-bottom: 30px;
}

.about-resec02 .box .text h3 span {
  background: #000;
  color: #fff;
  display: inline-block;
  white-space: nowrap;
  margin: 5px 0;
  padding: 15px 20px;
  line-height: 1;
}

.about-resec02 .box .text h3 span strong {
  color: #e5a949;
  font-weight: bold;
}

.about-resec02 .box.first {
  margin-bottom: 60px;
}

.about-resec02 .box.second {
  flex-direction: row-reverse;
}

.about-resec02 .box.second figure {
  width: 64%;
}

.about-resec02 .box.second .text h3 {
  text-align: left;
  margin-left: 0;
  margin-right: -200px;
}

@media screen and (max-width: 1140px) {
  .about-resec02 .box .text {
    width: 36%;
  }

  .about-resec02 .box.second .text {
    width: 32%;
  }
}

@media screen and (max-width: 930px) {
  .about-resec02 .box {
    flex-direction: column;
  }

  .about-resec02 .box.second {
    flex-direction: column;
  }

  .about-resec02 .box figure {
    width: 80%;
    margin: 0 auto;
  }

  .about-resec02 .box.second figure {
    width: 80%;
    margin: 0 auto;
  }

  .about-resec02 .box .text {
    width: 100%;
    padding-top: 0;
    margin-top: -30px;
  }

  .about-resec02 .box.second .text {
    width: 100%;
  }

  .about-resec02 .box .text h3 {
    font-size: 2.4rem;
    margin: 0;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 599px) {
  .about-resec02 .box figure {
    width: 100%;
  }

  .about-resec02 .box.second figure {
    width: 100%;
  }

  .about-resec02 .box .text h3 {
    font-size: 2.0rem;
  }
}

.about-resec03 {
  position: relative;
}

.about-resec03 .triangle {
  border-color: #f0f0f0 transparent transparent transparent;
}

.about-resec03 .strengths-list {
  margin-top: 0;
}

.about-resec03 .strengths-item {
  position: relative;
  padding: 120px 0 30px;
  z-index: -1;
  background: none;
}

/* 強み_上部 */
.about-resec03 .strengths-top-wrap {
  background-position: top right;
  background-size: 50%;
  background-repeat: no-repeat;
}

.about-resec03 .strengths-bg1 {
  background-image: url("../img/common/img_about-resec03_point01.jpg");
}

.about-resec03 .strengths-bg2 {
  background-image: url("../img/common/img_about-resec03_point02.jpg");
}

.about-resec03 .strengths-bg3 {
  background-image: url(../img/common/img_about-resec03_point03.jpg);
}

.about-resec03 .strengths-bg4 {
  background-image: url(../img/common/img_about-resec03_point04.jpg);
}

.about-resec03 .strengths-bg5 {
  background-image: url("../img/common/img_about-resec03_point05.jpg");
}

.about-resec03 .strengths-top-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 8% 20px 0;
}

.about-resec03 .strengths-top-text-area {
  position: relative;
  width: 60%;
  background-color: #fff;
  padding: 50px;
  box-shadow: 0 0 8px rgb(0, 0, 0, 0.3);
}

.about-resec03 .text-l::before {
  content: "";
  position: absolute;
  background: url(../img/common/strengths-bg.svg) no-repeat center center;
  background-size: contain;
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  z-index: -1;
}

.about-resec03 .text-r::before {
  content: "";
  position: absolute;
  background: url(../img/common/strengths-bg.svg) no-repeat center center;
  background-size: contain;
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
  z-index: -1;
}

.about-resec03 .text-r {
  margin-left: auto;
}

.about-resec03 .strengths-number {
  position: absolute;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 9rem;
  top: -0.5em;
  right: 0.5em;
}

.about-resec03 .strengths-title {
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.about-resec03 .strengths-lead {
  display: inline;
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(transparent 60%, #e5a949 60%);
}

.about-resec03 .strengths-text {
  margin-top: 1rem;
  line-height: 2.8rem;
  text-align: justify;
}

@media screen and (max-width: 599px) {
  .about-resec03 .strengths-list {
    margin-top: 0;
  }

  .about-resec03 .strengths-item {
    padding: 0 0 30px;
  }

  .about-resec03 .strengths-top-wrap {
    background-size: 100%;
  }

  .about-resec03 .strengths-top-text-area {
    width: 100%;
    padding: 50px 30px 30px 30px;
    margin-top: 160px;
  }

  .about-resec03 .strengths-number {
    font-size: 18vw;
    top: -0.5em;
  }

  .about-resec03 .strengths-title {
    font-size: 5vw;
  }

  .about-resec03 .strengths-lead {
    font-size: 4.5vw;
  }
}

.btn-area {
  display: flex;
  justify-content: center;
  margin-top: 1.0em;
}

.btn-area nav {
  width: 40%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(100%);
  transition: 1s;
}

.btn-area nav.show {
  opacity: 1;
  transform: translateY(0);
}

.btn-area nav a {
  padding: 15px 0;
}

@media screen and (max-width: 599px) {
  .btn-area {
    flex-direction: column;
  }

  .btn-area nav {
    width: 80%;
    margin: 10px auto;
  }

  .btn-area nav a {
    padding: 5px 0;
  }
}
