/* ページ全体 */
.page-tips {
  padding-top: 22px;
  padding-bottom: 100px;

  @media print,
  screen and (min-width: 1050px) {
    padding-top: 86px;
  }
}

.page-tips__head {
  max-width: 1450px;
  margin-inline: auto;
  padding-top: 30px;
  padding-left: 10px;
  padding-right: 10px;

  @media print,
  screen and (min-width: 1050px) {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.page-tips__body {
  max-width: 1090px;
  margin-top: 100px;
  margin-inline: auto;
  padding-left: 20px;
  padding-right: 20px;

  @media print,
  screen and (min-width: 1050px) {
    margin-top: 50px;
  }
}

.page-tips__foot {
  max-width: 1200px;
  margin-inline: auto;
  margin-top: 60px;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 54px;
  padding-left: 18px;
  padding-right: 18px;
  padding-bottom: 50px;
  border-radius: 50px;
  background-color: #D7EAFF;

  @media print,
  screen and (min-width: 1050px) {
    margin-top: 110px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 62px;
    padding-bottom: 70px;
  }
}

.page-tips__heading {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: .06em;
  text-align: center;

  @media print,
  screen and (min-width: 1050px) {
    font-size: 36px;
  }
}

.page-tips__heading img {
  max-width: 52px;
  margin-right: 12px;
  vertical-align: sub;

  @media print,
  screen and (min-width: 1050px) {
    max-width: 58px;
  }
}

.page-tips__heading._heading2 img {
  max-width: 40px;
  margin-right: 10px;
  vertical-align: middle;

  @media print,
  screen and (min-width: 1050px) {
    max-width: 56px;
    margin-right: 12px;
  }
}

.page-tips__post {
  margin-top: 38px;

  @media print,
  screen and (min-width: 1050px) {
    margin-top: 65px;
  }
}

.page-tips__ondemand {
  max-width: 1090px;
  margin-inline: auto;

  @media print,
  screen and (min-width: 1050px) {
    margin-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.page-tips__more {
  position: relative;
  margin-top: 20px;
  text-align: center;

  @media print,
  screen and (min-width: 1050px) {
    margin-top: 40px;
  }

  &:hover {
    background-color: #DB831D;

    &::before {
      background-color: #fff;
    }

    &::after {
      background-color: #fff;
    }
  }

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    display: block;
    width: 14px;
    height: 2px;
    background-color: #DB831D;
    transition: .3s;
    transform: translateY(-50%);
    pointer-events: none;
  }

  &::after {
    content: "";
    position: absolute;
    top: 49%;
    right: 29px;
    display: block;
    width: 14px;
    height: 2px;
    background-color: #DB831D;
    transition: .3s;
    transform: rotate(-90deg) translateY(-50%);
    pointer-events: none;
  }

  button {
    width: 100%;
    height: 100%;
    padding: 16px 20px;
    border: 1px solid #3E3629;
    background-color: #fff;
    font-size: 19px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    cursor: pointer;

    &:hover {
      border: 1px solid #fff;
      background-color: #DB831D;
      color: #fff;
    }
  }

  &._active {
    &::after {
      transform: rotate(0deg) translateY(-50%);
    }
  }
}

/* 記事リスト */
.tips-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 26px;

  @media print,
  screen and (min-width: 1050px) {
    flex-direction: row;
    gap: 20px;
  }
}

.tips-list__item {
  position: relative;
  width: 100%;
  background-color: #F3F3F3;

  @media print,
  screen and (min-width: 1050px) {
    max-width: calc(100% / 3 - 14px);
  }
}

.tips-list__heading {
  margin-top: 10px;
  padding-left: 14px;
  padding-right: 14px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  letter-spacing: .02rem;
  line-height: 1.25;

  @media print,
  screen and (min-width: 1050px) {
    font-size: 19px;
  }
}

.tips-list__item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: 32px;
  height: 32px;
  background-color: #1C71D8;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);

  @media print,
  screen and (min-width: 1050px) {
    width: 40px;
    height: 40px;
  }
}

.tips-list__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding-bottom: 24px;
  color: #222;

  @media print,
  screen and (min-width: 1050px) {
    padding-bottom: 20px;
  }
}

.tips-list__hidden {
  display: none;
  width: 100%;
}

.tips-list._pattern2 {
  .tips-list__item {
    background-color: transparent;
  }

  .tips-list__item::after {
    display: none;
  }

  .tips-list__heading {
    padding-left: 0;
    padding-right: 0;
  }
}