@charset "utf-8";

/* ==============================================
/* :root
============================================== */
:root {
  --color-base: #444444;
  --color-white: #ffffff;
  --color-gray: #efefef;
  --color-navy: #141f3f;
  --color-red: #d63638;
  --color-green: #16b192;
  --color-orange: #f6a822;
  --color-blue: #007aff;
  --color-light-blue: #d1e9ed;
  --color-gold: #a78f37;
}

/* ==============================================
/* #secProperty
============================================== */
#secProperty {
  background: var(--color-light-blue);
  padding: 45px 30px;
}

.property__top-ann {
  text-align: center;
}

.property__tab {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  inline-size: 100%;
  text-align: center;
  gap: 15px 30px;
  margin-block: 30px 0;
}

.property__tab-item {
  inline-size: calc(100% / 2 - 15px);
  color: var(--color-white);
  background-color: var(--color-navy);
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 32px;
  transition: 0.3s ease;
  border-radius: 5px;
}

.property__tab-item#all_ap {
  display: none;
  inline-size: 100%;
  margin-block: 20px 0;
  border: 2px solid var(--color-navy);
  border-radius: 50px;
  background-color: transparent;
  color: var(--color-navy);
  padding: 15px 0;
}

.property__tab-item:hover:not(#all_ap) {
  transform: scale(1.1);
}

.property__tab-item#all_ap:hover {
  color: var(--color-white);
  background-color: var(--color-navy);
}

.property__area {
  inline-size: 100%;
  margin-block: 55px 0;
}

.property__area-ttl {
  color: var(--color-white);
  background-color: var(--color-navy);
  font-weight: bold;
  text-align: center;
  padding: 10px 0;
  font-size: 34px;
}

.property__area-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 25px;
}

.property__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  inline-size: calc(100% / 2 - 15px);
  background-color: var(--color-white);
}

.property__item-Name {
  font-size: 30px;
  color: var(--color-white);
  background: var(--color-gold);
  text-align: center;
  padding: 10px 0;
}

.property__content {
  padding: 10px 15px 0;
}

.property__item-subName {
  font-size: 24px;
  font-weight: bold;
}

.property__item-desc {
  text-align: justify;
  overflow: hidden;
  font-size: 14px;
  margin-block: 10px 0;
  padding-block: 0 10px;
  border-block-end: 1px solid var(--color-base);
}

.property__item-data {
  display: inline-block;
  color: var(--color-white);
  background: var(--color-navy);
  padding: 5px;
  margin-block: 10px;
}

.property__item-plan {
  font-size: 20px;
  font-weight: bold;
}

.property__item-land,
.property__item-spec {
  font-size: 16px;
  font-weight: bold;
}

.property__item-price {
  inline-size: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block: 10px 0;
}

.property__item-priceBefore {
  position: relative;
}

.property__item-priceBefore::after {
  content: "";
  position: absolute;
  top: 50%;
  display: block;
  background-image: url(../img/common/arrow_down.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.property__item-priceAmount {
  display: flex;
  align-items: flex-end;
  margin-block-start: 10px;
}

.property__item-priceAmountNum {
  font-weight: bold;
  line-height: 1;
  font-family: "Oxygen", sans-serif;
}

.property__item-priceAmountNum.before {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -50%;
    transform: translate(50%, -50%);
    display: inline-block;
    inline-size: 30px;
    block-size: 30px;
    background: url(../img/common/price.svg) center / contain no-repeat;
  }
}

.property__item-priceAmountNum.before::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top right;
  transform: rotate(-15deg);
  background-color: var(--color-red);
}

.property__item-priceAmountNum.after {
  position: relative;
  color: var(--color-red);
  inline-size: 60%;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -80%;
    transform: translate(65%, -50%);
    display: inline-block;
    inline-size: 70px;
    block-size: 70px;
    background: url(../img/common/newPrice.svg) center / contain no-repeat;
  }
}

.property__item-priceAmountUnit {
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.property__item-priceAmountUnit.after {
  color: var(--color-red);
  line-height: 1;
}

.property__item-priceAmountUnit span {
  white-space: nowrap;
  font-weight: 400;
}

.property__item-btn {
  display: block;
  position: relative;
  text-decoration: none;
  background-color: #141f3f;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.property__item-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  display: inline-block;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  transform: translate(0, -50%) rotate(45deg);
}

.property__item-btn.green {
  background-color: #00a9c9;
}

.property__ann {
  width: 85%;
  margin: 0 auto;
  line-height: 1.75;
}

.property__item-priceBefore {
  inline-size: 70%;
}

.property__item-priceBefore::after {
  right: 15%;
  inline-size: 25px;
  block-size: 25px;
}

.property__item-priceAmountNum {
  font-size: 40px;
}

.property__item-priceAmountNum.after {
  font-size: 56px;
  margin-inline-start: 50px;
}

.property__item-priceAmountUnit {
  font-size: 1.4rem;
}

.property__item-priceAmountUnit.after {
  font-size: 1.7rem;
}

.property__item-priceAmountUnit span {
  font-size: 0.5em;
}

.property__item-priceAnn {
  margin-top: 6px;
  font-size: 1rem;
}

.property__item-btn-wrap {
  margin-block: 20px;
  padding: 0 15px;
}

.property__item-btn {
  padding: 10px 0;
  font-size: 1.6rem;
}

.property__item-btn:not(:first-child) {
  margin-top: 9px;
}

.property__item-btn::after {
  right: 18px;
  width: 13px;
  height: 13px;
  -webkit-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  transition: 0.3s ease;
}

.property__item-btn:hover::after {
  transform: translate(5px, -50%) rotate(45deg);
}

.property__ann--area {
  margin-block-start: 40px;
}

.property__ann {
  max-width: 1200px;
  font-size: 1.3rem;
}

.property__ann .indent {
  padding-inline-start: 2em;
  text-indent: -2em;
}

@media screen and (width <=768px) {
  #secProperty {
    padding: 30px 10px;
  }

  .property__tab {
    position: relative;
  }

  .property__tab-item {
    inline-size: calc(100% / 2 - 15px);
    font-size: 17px;
    padding: 10px 0;
  }

  .property__area-ttl {
    color: var(--color-white);
    background-color: var(--color-navy);
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    font-size: 18px;
  }

  .property__area-wrap {
    gap: 15px;
  }

  .property__item {
    inline-size: calc(100% / 2 - 7.5px);
  }

  .property__item-Name {
    font-size: 16px;
    color: var(--color-white);
    background: var(--color-gold);
    text-align: center;
    padding: 10px 0;
  }

  .property__item-subName {
    font-size: 13px;
  }

  .property__item-desc {
    font-size: 12px;
  }

  .property__item-data {
    display: inline-block;
    color: var(--color-white);
    background: var(--color-navy);
    padding: 5px;
    margin-block: 10px;
  }

  .property__item-plan {
    font-size: 10px;
  }

  .property__item-land,
  .property__item-spec {
    font-size: 10px;
  }

  .property__item-price {
    inline-size: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block: 10px 0;
  }

  .property__item-priceBefore {
    position: relative;
  }

  .property__item-priceBefore::after {
    content: "";
    position: absolute;
    top: 50%;
    display: block;
    background-image: url(../img/common/arrow_down.svg);
    background-repeat: no-repeat;
    background-size: contain;
  }

  .property__item-priceAmount {
    display: flex;
    align-items: flex-end;
    margin-block-start: 10px;
  }

  .property__item-priceAmountNum {
    font-weight: bold;
    line-height: 1;
    font-family: "Oxygen", sans-serif;
  }

  .property__item-priceAmountNum.before {
    &::before {
      content: "";
      position: absolute;
      top: 50%;
      left: -50%;
      transform: translate(50%, -50%);
      display: inline-block;
      inline-size: 15px;
      block-size: 15px;
      background: url(../img/common/price.svg) center / contain no-repeat;
    }
  }

  .property__item-priceAmountNum.before::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top right;
    transform: rotate(-15deg);
    background-color: var(--color-red);
  }

  .property__item-priceAmountNum.after {
    position: relative;
    color: var(--color-red);
    inline-size: 100%;

    &::before {
      content: "";
      position: absolute;
      top: 50%;
      left: -75%;
      transform: translate(75%, -50%);
      display: inline-block;
      inline-size: 28px;
      block-size: 28px;
      background: url(../img/common/newPrice.svg) center / contain no-repeat;
    }
  }

  .property__item-priceAmountUnit {
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
  }

  .property__item-priceAmountUnit.after {
    color: var(--color-red);
    line-height: 1;
  }

  .property__item-priceAmountUnit span {
    white-space: nowrap;
    font-weight: 400;
  }

  .property__item-btn {
    padding: 10px 0;
    font-size: 10px;

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      display: inline-block;
      border-top: solid 1px #fff;
      border-right: solid 1px #fff;
      transform: translate(0, -50%) rotate(45deg);
      right: 10px;
      width: 10px;
      height: 10px;
      transition: 0.3s ease;
    }
  }

  .property__item-btn.green {
    background-color: #00a9c9;
  }

  .property__ann {
    width: 85%;
    margin: 0 auto;
    line-height: 1.75;
  }

  .property__item-priceBefore {
    inline-size: 80%;
  }

  .property__item-priceBefore::after {
    right: 0;
    inline-size: 15px;
    block-size: 15px;
  }

  .property__item-priceAmountNum {
    font-size: 16px;
  }

  .property__item-priceAmountNum.after {
    font-size: 22px;
    margin-inline-start: 24px !important;
  }

  .property__item-priceAmountUnit {
    font-size: 8px;
  }

  .property__item-priceAmountUnit.after {
    font-size: 8px;
  }

  .property__item-priceAmountUnit span {
    font-size: 0.5em;
  }

  .property__item-priceAnn {
    margin-block-start: 10px;
    font-size: 8px;
  }

  .property__item-btn-wrap {
    margin-top: 15px;
    padding: 0 15px 15px;
  }

  .property__item-btn:not(:first-child) {
    margin-top: 9px;
  }

  .property__item-btn:hover::after {
    transform: translate(5px, -50%) rotate(45deg);
  }

  .property__ann--area {
    margin-block-start: 40px;
  }

  .property__ann {
    max-width: 1200px;
    font-size: 1.3rem;
  }

  .property__ann .indent {
    padding-inline-start: 2em;
    text-indent: -2em;
  }
}
