@charset "UTF-8";

.dummy-bg {
  background-color: #e5e5e5;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 成功の秘訣 ジグザグレイアウト */
.zigzag-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.zigzag-item {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.zigzag-item:nth-child(even) {
  flex-direction: row-reverse;
}

.zigzag-item .img-box {
  width: 40%;
}

.zigzag-item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  display: block;
}

.zigzag-item .text-box {
  width: 60%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zigzag-item .num {
  font-size: 1.5rem;
  font-family: 'din-2014', sans-serif;
  color: #1d4b33;
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
  border-bottom: 2px solid #1d4b33;
  padding-bottom: 5px;
  align-self: flex-start;
}

.zigzag-item .title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1d4b33;
  margin-bottom: 15px;
  line-height: 1.5;
}

.zigzag-item .text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #484848;
}

@media (max-width: 768px) {

  .zigzag-item,
  .zigzag-item:nth-child(even) {
    flex-direction: column;
  }

  .zigzag-item .img-box,
  .zigzag-item .text-box {
    width: 100%;
  }

  .zigzag-item .text-box {
    padding: 30px 20px;
  }
}

/* 流れ 横並びレイアウト */
#flow_tabs .category_list ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}

#flow_tabs .category_list ul li.tab {
  padding: 15px 20px;
  width: 280px;
  max-width: 48%;
  box-sizing: border-box;
  cursor: pointer;
  background: #eee;
  color: #333;
  border: 1px solid #ddd;
  border-bottom: none;
  font-weight: bold;
  text-align: center;
}

#flow_tabs .category_list ul li.tab.is_active {
  background: #1d4b33;
  color: #fff;
  border-color: #1d4b33;
}

.step-horizontal-list {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
}

.step-horizontal-item {
  flex: 1;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.step-horizontal-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 40%;
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #1d4b33;
  z-index: 2;
}

@media (max-width: 959px) {
  .step-horizontal-list {
    flex-direction: column;
    gap: 20px;
  }

  .step-horizontal-item:not(:last-child)::after {
    right: 50%;
    top: auto;
    bottom: -15px;
    transform: translateX(50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #1d4b33;
    border-bottom: none;
  }
}

.step-horizontal-item .step-content {
  padding: 20px;
  flex-grow: 1;
}

.step-horizontal-item .step-img {
  border-top: 1px solid #eee;
}

.step-horizontal-item .step-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.step-horizontal-item .num {
  font-size: 1.5rem;
  color: #AD8132;
  font-family: 'din-2014', sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1;
  display: block;
}

.step-horizontal-item .title {
  font-size: 1rem;
  font-weight: bold;
  color: #1d4b33;
  margin-bottom: 10px;
  line-height: 1.4;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

/* テキストを4行（高さ固定）に調整して下部を揃える */
.step-horizontal-item .text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #484848;
  height: calc(1.6em * 4);
  overflow: hidden;
}

.area_custom_sec {
  padding: 80px 0;
  background: #fdfdfd;
}

.area_custom_sec.-gray {
  background: #f7f7f7;
}

/* 事情レイアウト */
.area-info-wrap {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.area-info-wrap .img-box {
  width: 50%;
}

.area-info-wrap .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.area-info-wrap .text-box {
  width: 50%;
}

@media (max-width: 768px) {
  .area-info-wrap {
    flex-direction: column;
  }

  .area-info-wrap .img-box,
  .area-info-wrap .text-box {
    width: 100%;
  }
}

/* 選び方カードレイアウト */
.solid-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.solid-card {
  background: #fff;
  border: 1px solid #ddd;
  width: calc(33.333% - 20px);
  padding: 40px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

@media (max-width: 959px) {
  .solid-card {
    width: calc(50% - 15px);
  }
}

@media (max-width: 599px) {
  .solid-card {
    width: 100%;
  }
}

.solid-card .head {
  font-size: 1.2rem;
  color: #1d4b33;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid #1d4b33;
}

.solid-card .text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #484848;
}

/* 管理物件・改善事例 グリッドレイアウトの強制適用 */

.property_list {
  margin-bottom: 50px;
}

.property_list ul {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 959px) {

  .property_list ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {

  .property_list ul {
    grid-template-columns: 1fr;
  }
}

.property_list ul li .link {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.property_list ul li .text_box {
  padding: 15px;
}

.top_case_sec {
  padding-bottom: 100px;
}

.top_crew_sec {
  padding-bottom: 100px;
}

@media (max-width: 750px) {
  .property_list {
    margin-bottom: 5vw;
  }

  .top_case_sec {
    padding-bottom: 15vw;
  }

  .top_crew_sec  {
    padding-bottom: 15vw;
  }
}