/*--------------------
　common　
--------------------*/
/*---------- 表示・非表示 ----------*/

/* Display */

.u-block {
  display: block;
}

.u-inline {
  display: inline;
}

.u-flex {
  display: flex;
}

.u-grid {
  display: grid;
}

/* PC only */
@media (width < 1000px) {
  .u-pc-only {
    display: none !important;
  }
}

/* PC + TB only */
@media (width < 600px) {
  .u-pctb-only {
    display: none !important;
  }
}

/* TB only */
@media (width < 600px),
(width >=1000px) {
  .u-tb-only {
    display: none !important;
  }
}

/* TB + SP only */
@media (width >=1000px) {
  .u-tbsp-only {
    display: none !important;
  }
}

/* SP only */
@media (width >=600px) {
  .u-sp-only {
    display: none !important;
  }
}

/*---------- テキスト ----------*/
p {
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
  text-wrap: inherit;
}

/*---------- カスタムプロパティ ----------*/
:root {
  --mbs-none: 0;
}

/*---------- テンプレート ----------*/
.pageTemplate,
.pageTemplate__noTitle {
  padding-block-start: 140px;
  padding-block-end: 120px;
  margin-block-start: 0;

  @media screen and (max-width: 999px) {
    padding-block-start: 120px;
    padding-block-end: 100px;
    padding-inline: 20px;
  }
}

.pageTemplate__normal {
  margin-block-start: 0;
}

/*---------- セクション ----------*/
.section-height {
  &.high {
    padding-block: var(--wp--preset--spacing--high);
    margin: 0;

    @media screen and (max-width: 999px) {
      padding-inline: var(--wp--preset--spacing--sp-width);
    }

    &.bottomHeight__none {
      padding-block-end: 0;
    }
  }

  &.regular {
    padding-block: var(--wp--preset--spacing--regular);

    @media screen and (max-width: 999px) {
      padding-inline: var(--wp--preset--spacing--sp-width);
    }

    &.bottomHeight__none {
      padding-block-end: 0;
    }
  }

  &.row {
    padding-block: var(--wp--preset--spacing--row);

    @media screen and (max-width: 999px) {
      padding-inline: var(--wp--preset--spacing--sp-width);
    }

    &.bottomHeight__none {
      padding-block-end: 0;
    }
  }

  &.wide {
    @media screen and (max-width: 999px) {
      padding-inline: 0;
    }
  }
}

/*---------- セクションタイトル ----------*/
.sectionTitle {
  padding-block-end: 60px;

  @media screen and (max-width: 999px) {
    padding-block-end: 40px;
  }

  .sectionTitle__subTitle {
    position: relative;

    &::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -16px;
      transform: translatex(-50%);
      width: 40px;
      height: 3px;
      background: var(--wp--preset--gradient--orange-to-right);
      border-radius: 2px;
    }

    &.forSell {
      &::after {
        background: var(--wp--preset--gradient--navy-to-right);
      }
    }

    &.gray {
      &::after {
        background: var(--wp--preset--gradient--light-gray-to-right);
      }
    }
  }

  .sectionTitle__title {
    margin-block-start: 36px;

    &.noMargin {
      @media screen and (max-width: 999px) {
        margin-block-start: 8px;
      }
    }
  }

  .sectionTitle__lead {
    margin-block-start: 30px;

    @media screen and (max-width: 999px) {
      text-align: left;
      width: 100%;
    }
  }

  &.side {
    padding-block-end: 52px;

    @media screen and (max-width: 999px) {
      padding-block-end: 32px;
    }

    .sectionTitle__subTitle {
      position: relative;

      &::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -16px;
        transform: translatex(0);
        width: 40px;
        height: 3px;
        background: var(--wp--preset--gradient--orange-to-right);
        border-radius: 2px;
      }

      &.forSell {
        &::after {
          background: var(--wp--preset--gradient--navy-to-right);
        }
      }
    }
  }
}

/*---------- エリアガイド ----------*/
.areaGuide {
  width: 100vw;
  margin: 0;
  background-repeat: no-repeat;
}

.areaGuide__inner {
  width: 100%;
  max-width: 1080px;
  padding-block: 16px;
  margin: 0 auto;
  border-radius: 4px;
  justify-content: start;

  @media screen and (max-width: 999px) {
    gap: 12px;
    padding-inline: 16px;
  }
}

.areaGuide__Icon {
  line-height: 1.2;
  background-color: var(--wp--preset--color--white-80);
  width: 80px;
  min-width: 80px;
  height: 80px;
  min-height: 80px;
  border-radius: 40px;
  align-items: center;
  justify-content: center;
  gap: 4px;

  img {
    width: 24px;
  }
}

.areaGuide__Text {
  gap: 4px;

  @media screen and (max-width: 999px) {
    width: 100%;
  }

  .wp-block-paragraph {
    width: 100%;
  }
}

.areaGuide__bottom {
  padding-top: 20px;
  margin-block-start: 40px;
  border-top: 1px solid var(--wp--preset--color--gray);

  .wp-block-paragraph {
    width: 100%;
  }
}

/*---------- ボタン ----------*/
/*BASICボタン*/
.buttonBasic {
  margin-block-start: 60px;

  &.wrap {
    @media screen and (max-width: 999px) {
      flex-direction: column;
    }
  }

  .wp-block-button__link {
    width: 240px;
    height: 72px;

    @media screen and (max-width: 999px) {
      width: 220px;
      height: 66px;
    }
  }

  .buttonBasic__entry {
    position: relative;

    .wp-block-button__link {
      text-align: right;

      &::before {
        content: "無料";
        position: absolute;
        left: 10px;
        top: 10px;
        width: 52px;
        height: 52px;
        background-color: var(--wp--preset--color--white);
        border-radius: 25px;
        display: flex;
        align-items: center;
        justify-content: center;

        @media screen and (max-width: 999px) {
          width: 46px;
          height: 46px;
        }
      }
    }

    &.orange {
      .wp-block-button__link {
        &::before {
          color: var(--wp--preset--color--orange);
        }
      }
    }

    &.blue {
      .wp-block-button__link {
        &::before {
          color: var(--wp--preset--color--blue);
        }
      }
    }
  }
}

/*---------- NEWS ----------*/
.newsList {

  .newsList__inner {
    align-items: flex-start;

    @media screen and (max-width: 999px) {
      flex-direction: column;
      row-gap: 0;
    }

    .sectionTitle {
      width: 20%;

      @media screen and (max-width: 999px) {
        width: 100%;
      }
    }
  }
}