/* common */
:root {
  --shadow: 0px 3px 6px rgb(0 0 0 / 0.15);
  --section-padding: 5rem 0;
}
@media (max-width: 960px) {
  :root {
    --section-padding: 3rem 0;
  }
}

section.subpage-mv {
  margin-top: 2rem;
  background-color: #ffffff;
  position: relative;
  margin-bottom: 4rem;
  .bg-img {
    width: calc(100% - 2rem);
    margin-inline: auto;
  }
  .content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    text-wrap: balance;
  }
  .page-title {
    font-family: 'Zen Maru Gothic', system-ui;
    font-weight: 500;
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 2rem;
  }
  .subtitle {
    background-color: rgb(255 255 255 / 0.5);
    width: 50%;
    max-width: 800px;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
  }
}
@media (max-width: 960px) {
  section.subpage-mv {
    margin-top: 1rem;
    .bg-img {
      width: 100%;
      height: 300px;
      object-fit: cover;
    }
    .page-title {
      font-size: 2rem;
    }
    .subtitle {
      width: 90%;
      font-size: 1.2rem;
    }
    .img1 {
      width: 40px;
    }
    .img2 {
      width: 40px;
    }
  }
}

.section-title {
  text-align: center;
  text-wrap: balance;
  margin-bottom: 3rem;
  .main {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-family: 'Zen Maru Gothic', system-ui;
    font-weight: 500;
    &::after {
      content: '';
      display: block;
      width: 40%;
      margin-inline: auto;
      border-bottom: #91877f dotted 2px;
      margin-top: 1rem;
    }
  }
  .sub {
    font-size: 1.25rem;
    color: #ec765f;
  }
}
@media (max-width: 960px) {
  .section-title {
    margin-bottom: 2rem;
    .main {
      font-size: 1.75rem;
      margin-bottom: 0.75rem;
      &::after {
        margin-top: 0.5rem;
      }
    }
    .sub {
      font-size: 1rem;
    }
  }
}

section.about-support {
  background-color: var(--bg-beige);
  padding: var(--section-padding);
  .textbox1 {
    background-color: #ffffff;
    padding: 2rem 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 5rem;
    .text {
      text-align: center;
      text-wrap: balance;
      font-size: 1.1rem;
    }
  }
  .textbox2 {
    background: url(../img/support/support1.jpg) no-repeat;
    background-size: 105%;
    background-position: center;
    max-width: 1200px;
    margin-inline: auto;
    border-radius: 50px;
    overflow: hidden;
    background-color: #ffffff;
    position: relative;
    box-shadow: var(--shadow);
    padding: 3rem 10%;
    .inner {
      background-color: rgb(255 255 255 / 0.7);
      padding: 2rem 1rem;
    }
    .title {
      font-size: 2rem;
      text-align: center;
      text-wrap: balance;
      margin-bottom: 1.5rem;
    }
    .list {
      width: fit-content;
      margin-inline: auto;
    }
    .list-item {
      display: flex;
      align-items: center;
      margin-bottom: 1rem;
      font-size: 1.1rem;
      &::before {
        content: '';
        background: url(../img/icon-tree.png) no-repeat;
        background-size: contain;
        background-position: center;
        width: 30px;
        aspect-ratio: 40/50;
        margin-right: 1rem;
        flex-shrink: 0;
      }
    }
  }
}
@media (max-width: 960px) {
  section.about-support {
    background-color: var(--bg-beige);
    padding: var(--section-padding);
    .textbox1 {
      .text {
        text-align: justify;
        text-wrap: balance;
        font-size: 0.9rem;
      }
    }
    .textbox2 {
      background-size: 360%;
      background-position: center;
      .inner {
        padding: 1rem 1rem;
      }
      .title {
        font-size: 1.5rem;
      }
      .list-item {
        font-size: 1rem;
        &::before {
          width: 24px;
        }
      }
    }
  }
}

section.fee {
  background-color: var(--bg-beige);
  padding: var(--section-padding);
  .table-wrapper {
    max-width: 1000px;
    margin-inline: auto;
    .table {
      background-color: #ffffff;
      display: grid;
      grid-template-columns: 120px 1fr;
      border: #7ec191 1px solid;
      .row {
        display: grid;
        grid-template-columns: subgrid;
        grid-column: 1/-1;
        font-size: 1.1rem;
        &:not(:last-of-type) {
          border-bottom: #7ec191 1px solid;
        }
        .th {
          background-color: #7ec191;
          color: #ffffff;
          text-align: center;
          padding: 1rem;
        }
        .td {
          padding: 1rem;
        }
      }
    }
    .annotation {
      font-size: 0.8rem;
      width: fit-content;
      margin-left: auto;
    }
  }
}
@media (max-width: 960px) {
  section.fee {
    .table-wrapper {
      .table {
        .row {
          font-size: 1rem;
        }
      }
      .annotation {
        font-size: 0.8rem;
      }
    }
  }
}

section.due {
  background-color: var(--bg-beige);
  padding: var(--section-padding);
  .text {
    font-size: 1.1rem;
    width: fit-content;
    margin-inline: auto;
    @media (max-width: 960px) {
      font-size: 1rem;
    }
  }
}

section.become-member {
  background-color: var(--bg-beige);
  padding: var(--section-padding);
  .text {
    font-size: 1.1rem;
    width: fit-content;
    margin-inline: auto;
    @media (max-width: 960px) {
      font-size: 1rem;
    }
  }
}
