@charset "UTF-8";

.under_page_title {
  height: 40vh;
  background-image: url(../../img/top_lesson.webp);
  background-size: cover;
  background-position: center center;
  margin-bottom: var(--section-gutter);
}

.under_page_title .under_page_title_inner {
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.under_page_title .contents_title {
  background-color: rgb(var(--white-color-rgb), 0.8);
  padding-top: calc(var(--gutter-base) * 2);
  padding-bottom: calc(var(--gutter-base) * 2);
  padding-left: calc(var(--gutter-base) * 4);
  padding-right: calc(var(--gutter-base) * 4);
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .under_page_title {
    height: 500px;
    margin-bottom: var(--section-gutter-pc);
  }

  .under_page_title .under_page_title_inner {
    height: 500px;
    justify-content: flex-start;
  }

  .under_page_title .contents_title {
    padding-top: calc(var(--gutter-base) * 3);
    padding-bottom: calc(var(--gutter-base) * 3);
    padding-left: calc(var(--gutter-base) * 6);
    padding-right: calc(var(--gutter-base) * 6);
  }
}

h3.page_title {
  font-family: var(--font-serif);
  font-size: var(--size-xl);
  color: var(--main-color);
  font-weight: normal;
  text-align: center;
  margin-bottom: var(--section-gutter);
}

h4.section_title {
  font-family: var(--font-serif);
  font-size: var(--size-lg);
  color: var(--main-color);
  font-weight: normal;
  text-align: center;
  margin-bottom: var(--contents-gutter);
}

@media screen and (min-width: 960px) {
  h3.page_title {
    font-size: var(--size-xxl);
  }

  h4.section_title {
    font-size: var(--size-xl);
  }
}
