@charset "UTF-8";

#contents {
  background-color: #fff;
  max-width: 90%;
  margin: 0 auto;
}

/* section_header */
.section_header {
  display: flex;
  flex-direction: column;
  color: #000;
  text-align: left;

  .section_header_title_bg {
    line-height: 1.1;
    font-size: 120px;
    color: #fafafa;
  }

  .section_header_title {
    line-height: 1;
    font-size: 36px;
    font-weight: bold;
  }

  .section_header_desc {
    padding: 30px 0 25px;
    font-size: 16px;
    font-weight: bold;
  }

  .select_tag {
    ul {
      list-style: none;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 24px 8px;

      li {
        a {
          display: block;
          padding: 11px 35px 9px;
          line-height: 1.1;
          text-align: center;
          font-weight: bold;
          font-size: 16px;
          color: #000;
          white-space: nowrap;
          border-radius: 50px;
          border: 1px solid #000;
          cursor: pointer;
        }
      }
    }
  }
}

/* land_list */
.land_list {
  margin-top: 45px;

  .land_list_inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 80px 0;
    margin: 96px 0 100px;
  }

  .land_list_item {
    text-align: left;
    width: 23%;

    .land_list_link {
      display: flex;
      flex-direction: column;
      height: 100%;
      box-sizing: border-box;
      color: #000;

      .land_list_img {
        position: relative;

        img {
          width: 100%;
          height: 11em;
          object-fit: cover;
        }
      }

      .land_list_desc {
        position: absolute;
        bottom: 13px;
        right: 15px;
        padding: 6px 13px 4px;
        line-height: 1;
        font-size: 12px;
        font-weight: bold;
        text-align: center;
        background-color: #fff;
        border-radius: 5px;
      }

      .land_list_title {
        margin: 17px 0 10px;
        font-size: 16px;
        font-weight: bold;
        color: #333;
      }

      .land_list_info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-size: 12px;
        color: #444;

        .land_list_price {
          span {
            font-size: 18px;
          }

          .land_list_area {
          }
        }
      }
    }
  }
}


.land_shosai_inner{
  width: 90%;
  max-width: 900px;
  margin: 3em auto;
}

/* DETAIL INFO */
.info {
  background-color: #fff;

  .info_inner {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;

    .info_card {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border: 1px solid #cfcfcf;
      border-radius: 10px;
      overflow: hidden;

      .info_item {
        position: relative;
        padding: 20px 27px 27px;
        font-weight: normal;
        line-height: 2;

        &:not(:last-child)::after {
          content: "";
          position: absolute;
          top: 12px;
          bottom: 12px;
          right: 0;
          width: 1px;
          background: #d6d6d6;
        }

        .info_label {
          display: block;
          font-size: 13px;
          letter-spacing: 0.04em;
          color: #444;
          margin-bottom: 3px;
        }

        .info_value {
          font-size: 18px;
          color: #000;

          sup {
            font-size: 60%;
            vertical-align: super;
          }
        }
      }
    }

  }
}

section.land_detail_img {
  margin: 3em auto;
	ul {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
		li {
      width: 100%;
      img{
        width: 100% !important;
        max-width: 600px;
        margin: auto;
        display: block;
      }
		}
	}
}
div.land_detail_txt {
  width: 90%;
  max-width: 900px;
  margin: 3em auto;
  text-align: left;
  font-size: 14px;
}
div.land_detail_link {
  a{
    display: inline-block;
    width: fit-content;
    padding: 0 2em;
    height: 3em;
    line-height: 2.5em;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    color: #fff;
    background-color: var(--primary-color);
    border: 2px solid #fff;
    border-radius: 30px;
    margin-left: 5%;
  }
}


@media screen and (max-width: 768px) {
  h1{top: 7.5em;}
  /* section_header */
  .section_header {
    margin-bottom: 20px;
    gap: 0;
    margin-top: 3em;
    .section_header_title_bg {
      font-size: clamp(30px, 12.5vw, 48px);
      margin-bottom: 5px;
    }

    .section_header_title {
      font-size: clamp(25px, 6vw, 30px);
    }

    .section_header_desc {
      padding: 20px 0;
      font-size: clamp(12px, 3vw, 14px);
    }

    .select_tag {
      ul {
        gap: 10px 7px;

        li {
          a {
            padding: 7px 15px 5px;
            font-size: clamp(9px, 3vw, 12px);
          }
        }
      }
    }
  }

  /* land_list */
  .land_list {
    margin-top: 15px;

    .land_list_inner {
      gap: 50px 0;
      margin: 50px 0 80px;
    }

    .land_list_item {
      width: 100%;

      .land_list_link {
        .land_list_title {
          margin: 15px 0 10px;
          font-size: clamp(12px, 3.5vw, 14px);
        }

        .land_list_info {
          gap: 5px;
          font-size: clamp(12px, 3.7vw, 15px);

          .land_list_price {
            span {
              font-size: clamp(14px, 4.6vw, 18px);
            }
          }
        }

        .land_list_desc {
          font-size: clamp(10px, 2.8vw, 12px);
        }
      }
    }
  }


  .info {
    & .info_inner {
        .info_card {
            grid-template-columns: 1fr;
        }
    }
  }
}
