@charset "utf-8";

header {
  background-color: rgba(255, 255, 255, .8);
}

#hero_Vis {
  background-image: url(../img/fudousan/page-ttl.jpg);
}

/* ❶土地活用・相続・売買をサポート */
.fu-box {
  margin-top: 100px;
}

.sec-ttl {
  width: 100%;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 12px;
  background-color: #17467c;
}

.sec-ttl::after {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 15px solid transparent;
  border-top-color: #17467c;
}

span.fu-num {
  background: #fff;
  border-radius: 0.8em;
  color: #17467c;
  display: inline-block;
  font-weight: 600;
  line-height: 1.6em;
  margin-right: 15px;
  text-align: center;
  width: 1.6em;
}

.text {
  color: #17467c;
  text-align: center;
  margin-top: 40px;
}

.grid {
  display: grid;
  gap: 56px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  width: 90%;
  margin: 40px auto 0;
  position: relative;
}

.grid::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: url('../img/fudousan/fu-01.png');
  background-position: center;
  background-size: contain;
}

.grid li {
  font-size: clamp(20px, 4.0666666666666667vw, 32px);
  text-align: center;
  padding: 15% 0;
  color: #fdf56e;
  letter-spacing: 0.05em;
  font-weight: 600;
  background-color: #17467c;
  border-radius: 10px;
}

/* ❷長期修繕の提案によるサポート */
.bnr-area {
  margin: 30px auto 60px;
  width: 80%;
}

.bnr-area figure+figure {
  margin-top: 50px;
}

.choki-btn a {
  display: block;
  position: relative;
  margin: 0 auto;
  padding: 0.8em 0;
  font-size: clamp(15px, 4.0666666666666667vw, 20px);
  color: #fff;
  background: #007171;
  max-width: 386px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: .3s;
}

.choki-btn a::after {
  display: block;
  content: '▶';
  position: absolute;
  top: 50%;
  right: 10px;
  font-size: 10px;
  transform: translateY(-50%);
}

/* ❸賃貸経営に役立つセミナー実施 */
.keiei-btn {
  display: block;
  transition: .3s;
  max-width: 600px;
  margin: 30px auto 36px;
}

.semi-info {
  background: #fff;
  padding: 4% 8%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  border-radius: 10px;
}

.semi-ttl {
  color: #17467c;
  font-size: clamp(18px, 4.0666666666666667vw, 22px);
  line-height: 1.5;
  display: inline;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
}

.semi-pic {
  margin-top: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.semi-pic figure {
  width: calc((100% - 30px) / 2);
}



/* smallスクリーン */
@media only screen and (max-width: 768px) {

  /* ❶土地活用・相続・売買をサポート */

  .fu-box {
    margin-top: 40px;
  }

  span.fu-num {
    margin-right: 5px;
  }

  .fu-txt {
    margin-top: 30px;
  }

  .grid {
    width: 100%;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(142px, 2fr));
  }

  .grid::before {
top: -75px;
        right: -12px;
    width: 90px;
    height: 90px;
  }

  .grid li {
    font-size: 16px;
    padding: 8% 0;
  }

  /* ❷長期修繕の提案によるサポート */

  .bnr-area {
    margin: 20px auto 30px;
    width: 100%;
  }

  .bnr-area figure+figure {
    margin-top: 20px;
  }

  .choki-btn a {
    padding: 1.2em 0;
  }

  /* ❸賃貸経営に役立つセミナー実施 */

  .keiei-btn {
    margin: 20px auto;
  }

  .semi-info {
    padding: 6%;
    max-width: 100%;
  }


  .semi-pic {
    margin-top: 20px;
    flex-direction: column;
    gap: 20px;
  }

  .semi-pic figure {
    width: 100%;
  }


}