:root {
  --bg-color: #f0f0f0;
  --border-color: #edc8d8;
}

@media (min-width: 769px) {
  .is-sp {
    display: none;
  }
}

@media (max-width: 768px) {
  .is-pc {
    display: none;
  }
}

.p-pattern01__list {
  --column-count: 3;

  @media screen and (max-width: 768px) {
    --column-count: 1;
  }
}

.p-text--sub {
  font-size: 0.9em;
}

.p-indent1 {
  display: inline-block;
  padding-left: 1em;
  text-indent: -1em;
}

/* 横並びボタン */
.p-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;

  @media screen and (max-width: 768px) {
    gap: 1rem;
  }
}

.p-text--bold {
  font-weight: bold;
}

.p-text--small {
  font-size: 0.9em;
}

.p-text--large {
  font-size: 1.25em;
}

/* margin-top */
.mt_0 {
  margin-top: 0 !important;
}

.mt_10 {
  margin-top: 10px !important;
}

.mt_20 {
  margin-top: 20px !important;
}

.mt_30 {
  margin-top: 30px !important;
}

.mt_40 {
  margin-top: 40px !important;
}

.mt_50 {
  margin-top: 50px !important;
}

.mt_60 {
  margin-top: 60px !important;

  @media screen and (max-width: 768px) {
    margin-top: 30px !important;
  }
}

.mt_90 {
  margin-top: 90px !important;

  @media screen and (max-width: 768px) {
    margin-top: 45px !important;
  }
}

/* margin-bottom */
.mb_0 {
  margin-bottom: 0 !important;
}

.mb_10 {
  margin-bottom: 10px !important;
}

.mb_20 {
  margin-bottom: 20px !important;
}

.mb_30 {
  margin-bottom: 30px !important;
}

.mb_40 {
  margin-bottom: 40px !important;
}

.mb_50 {
  margin-bottom: 50px !important;
}

.mb_60 {
  margin-bottom: 60px !important;

  @media screen and (max-width: 768px) {
    margin-bottom: 30px !important;
  }
}

.mb_90 {
  margin-bottom: 90px !important;

  @media screen and (max-width: 768px) {
    margin-bottom: 45px !important;
  }
}

.c-table th:first-child {
  width: auto;
  min-width: 10em;
}

.c-table > tbody > tr > td {
  text-align: center;

  @media screen and (max-width: 768px) {
    min-width: auto;
  }
}

.p-text-link {
  color: #007bff;
  text-decoration: underline;
}

.p-center {
  width: fit-content;
  margin-inline: auto;

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

.p-right {
  width: fit-content;
  margin-inline: auto 0;

  @media screen and (max-width: 768px) {
    margin-inline: auto;
  }
}

.p-left {
  width: fit-content;
  margin-right: auto;

  @media screen and (max-width: 768px) {
    margin-inline: auto;
  }
}

/* 色付きボックス */
.p-box-color,
.p-box-color--white,
.p-box-border {
  padding: 2em;
  border-radius: 5px;

  @media screen and (max-width: 768px) {
    padding: 1em;
  }
}

.p-box-color {
  background-color: var(--bg-color);
}

.p-box-color--white {
  background-color: #fff;
}

.p-box-border {
  border: 1px solid var(--border-color);
}

/* 番号付きリスト */
ul.p-pattern__list__number {
  list-style: none;
  counter-reset: number;
}

ul.p-pattern__list__number li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 1.2em;
  line-height: 1.3em;
}

ul.p-pattern__list__number li::before {
  content: counter(number);
  counter-increment: number;
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
  border-radius: 50%;
  background: #9bb4e0;
  color: #fff;
  text-align: center;
}
