@charset "UTF-8";
:root {
  --base-color: #fff;
  --main-color: #333;
  --red: #ee2a0d;
  --red-footer: #ee391f;
  --red-line: #f69588;
  --olive: #7e6b1f;
  --olive-line: #b7a671;
  --gold: #b38a15;
  --green: #30a47f;
  --q-red: #ee3115;
  --font-line: "LINE Seed JP", "Noto Sans JP", sans-serif;
}

html {
  font-size: min(62.5%, var(--vw, 1vw) * 0.6944444444);
}
@media (max-width: 768px) {
  html {
    font-size: calc(var(--vw, 1vw) * 1.3333333333);
  }
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--main-color);
  background: var(--base-color);
  font-feature-settings: "palt";
}

a {
  transition: opacity 0.2s ease;
}
@media (min-width: 769px) {
  a:hover {
    opacity: 0.7;
  }
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

:where(section, [id]) {
  scroll-margin-top: 0;
}

.l-main {
  overflow: hidden;
}

.l-pagetop {
  position: fixed;
  right: 1.9rem;
  bottom: 2rem;
  z-index: 10;
  width: 11.3rem;
}
@media (max-width: 768px) {
  .l-pagetop {
    position: static;
    display: block;
    width: 15.9rem;
    margin: 6.5rem auto 3.9rem;
  }
}

.l-footer {
  position: relative;
  z-index: 1;
  padding-top: 1.2rem;
  border-top: 1px solid var(--red-line);
  background: var(--base-color);
}
@media (max-width: 768px) {
  .l-footer {
    padding-top: 0;
    border-top: 4px double #000;
  }
}
.l-footer::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  right: 0;
  border-top: 1px solid var(--red-line);
}
@media (max-width: 768px) {
  .l-footer::before {
    content: none;
  }
}
@media (max-width: 1000px) {
  .l-footer__common--pc {
    display: none;
  }
}
.l-footer__common--sp {
  display: none;
}
@media (max-width: 1000px) {
  .l-footer__common--sp {
    display: block;
  }
}
.l-footer__copy {
  margin-top: 6.4rem;
  padding: 1.7rem 0 1.8rem;
  background: var(--red-footer);
  color: var(--base-color);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.7rem;
  text-align: center;
}
@media (max-width: 768px) {
  .l-footer__copy {
    margin-top: 0;
    padding: 1.75rem 0;
  }
}

.c-ttl {
  width: 44.1rem;
  height: 8.1rem;
  margin-inline: auto;
  background: url(../img/ttl_frame.webp) no-repeat center/100% 100%;
  color: var(--red);
  font-family: var(--font-line);
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 8.1rem;
  text-align: center;
}
@media (max-width: 768px) {
  .c-ttl {
    width: 61.6rem;
    height: 11.1rem;
    line-height: 11.1rem;
    background-image: url(../img/ttl_frame_sp.webp);
    font-size: 5.049rem;
  }
}
.c-ttl--wide {
  width: 64.7rem;
  background-image: url(../img/ttl_frame_wide.webp);
  letter-spacing: 0.075em;
}
@media (max-width: 768px) {
  .c-ttl--wide {
    width: 71.8rem;
    height: 11rem;
    line-height: 11rem;
    background-image: url(../img/ttl_frame_wide_sp.webp);
    font-size: 4.764rem;
  }
}
@media (max-width: 768px) {
  .c-ttl__small {
    font-size: 3.428rem;
    letter-spacing: -0.02em;
  }
}
.c-ttl__amp {
  font-size: 0.833em;
  font-weight: 700;
}

.c-imgbtn {
  position: relative;
  display: block;
  transition: none;
}
.c-imgbtn__over {
  position: absolute;
  inset: 0;
  display: none;
}
@media (min-width: 769px) {
  .c-imgbtn:hover {
    opacity: 1;
  }
  .c-imgbtn:hover .c-imgbtn__off {
    visibility: hidden;
  }
  .c-imgbtn:hover .c-imgbtn__over {
    display: block;
  }
}

.c-modal {
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}
.c-modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
.c-modal[open], .c-modal[open]::backdrop {
  animation: modal-in 0.35s ease;
}
.c-modal.is-closing, .c-modal.is-closing::backdrop {
  animation: modal-out 0.35s ease forwards;
}
@media (prefers-reduced-motion: reduce) {
  .c-modal[open], .c-modal[open]::backdrop, .c-modal.is-closing, .c-modal.is-closing::backdrop {
    animation: none;
  }
}
.c-modal__img {
  display: block;
  width: auto;
  max-width: 85vw;
  max-height: 80vh;
}
.c-modal__close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 6.6rem;
  height: 6.6rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .c-modal__close {
    top: 3rem;
    right: 3rem;
    width: 6.4rem;
    height: 6.4rem;
  }
}
.c-modal__close::before, .c-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 6px;
  margin-top: -3px;
  background: var(--base-color);
  rotate: 45deg;
}
@media (max-width: 768px) {
  .c-modal__close::before, .c-modal__close::after {
    height: 4px;
    margin-top: -2px;
  }
}
.c-modal__close::after {
  rotate: -45deg;
}

@keyframes modal-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modal-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
html:has(.c-modal[open]) {
  overflow: hidden;
}

.c-btn-s {
  display: grid;
  place-items: center;
  width: 26rem;
  height: 4.5rem;
  border-radius: 2.1rem;
  color: var(--base-color);
  font-family: var(--font-line);
  font-size: 2.31rem;
  font-weight: 700;
  line-height: 1;
  transition: opacity 0.2s ease;
}
@media (min-width: 769px) {
  .c-btn-s:hover {
    opacity: 0.7;
  }
}
@media (max-width: 768px) {
  .c-btn-s {
    width: 38.5rem;
    height: 6.3rem;
    border-radius: 3.1rem;
    font-size: 3.39rem;
  }
}
.c-btn-s--gold {
  background: var(--gold);
}
.c-btn-s--red {
  background: var(--red-footer);
}

.p-mv {
  --kv-u: .1rem;
}
@media (min-width: 2000px) {
  .p-mv {
    --kv-u: calc(var(--vw, 1vw) * 100 / 2000);
  }
}
.p-mv {
  overflow: hidden;
  background: #f9eedc url(../img/mv_bg.webp) no-repeat center top/calc(var(--kv-u) * 2000) auto;
}
@media (max-width: 768px) {
  .p-mv {
    background-image: url(../img/mv_bg_sp.webp);
    background-size: 100% auto;
  }
}
.p-mv__inner {
  position: relative;
  display: block;
  width: calc(var(--kv-u) * 1440);
  height: calc(var(--kv-u) * 593);
  margin-inline: auto;
}
@media (max-width: 768px) {
  .p-mv__inner {
    width: 100%;
    height: 118.4rem;
  }
}
.p-mv__sun, .p-mv__cloud, .p-mv__title {
  position: absolute;
  display: block;
}
.p-mv__sun {
  bottom: 0;
  left: calc(var(--kv-u) * -15);
  width: calc(var(--kv-u) * 458);
}
@media (max-width: 768px) {
  .p-mv__sun {
    left: 16.2rem;
    width: 45.8rem;
  }
}
.p-mv__cloud {
  top: calc(var(--kv-u) * 475);
  left: calc(var(--kv-u) * -4);
  width: calc(var(--kv-u) * 381);
}
@media (max-width: 768px) {
  .p-mv__cloud {
    top: 101.3rem;
    left: 11.7rem;
    width: 47.6rem;
  }
}
.p-mv__title {
  top: calc(var(--kv-u) * 46);
  left: calc(var(--kv-u) * 493);
  width: calc(var(--kv-u) * 460);
}
@media (max-width: 768px) {
  .p-mv__title {
    top: 6.8rem;
    left: 7.5rem;
    width: 60.8rem;
  }
}

.p-about {
  position: relative;
  z-index: 0;
  padding: 6rem max(0px, (100% - 144rem) / 2) 12rem;
  background: url(../img/about_glow.webp) no-repeat calc(50% - 2.7rem) 39.4rem/120.6rem auto, #d7290a url(../img/about_bg.webp) no-repeat center top/200rem auto;
  color: var(--base-color);
}
.p-about::before, .p-about::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
  width: 200rem;
  height: 100%;
  background: url(../img/about_bg.webp) no-repeat center top/200rem auto;
  transform: scaleX(-1);
}
.p-about::before {
  right: calc(50% + 100rem);
}
.p-about::after {
  left: calc(50% + 100rem);
}
@media (max-width: 768px) {
  .p-about {
    padding: 7.6rem 0 12.9rem;
    background: url(../img/about_glow_sp.webp) no-repeat 0 61.3rem/100% auto, #d7290a url(../img/about_bg_sp.webp) no-repeat center top/100% auto;
  }
  .p-about::before, .p-about::after {
    content: none;
  }
}
.p-about__programs {
  width: 136rem;
  margin-left: 4.1rem;
  aspect-ratio: 1360/359;
}
@media (max-width: 768px) {
  .p-about__programs {
    width: 68.2rem;
    margin-left: 3.4rem;
    aspect-ratio: 682/696;
  }
}
.p-about__ttl {
  width: 100.3rem;
  margin: 2.2rem 0 0 21.7rem;
}
@media (max-width: 768px) {
  .p-about__ttl {
    width: 69.8rem;
    margin: 3.2rem 0 0 3.2rem;
  }
}
.p-about__body {
  display: flex;
  align-items: flex-start;
  margin-top: 3.5rem;
}
@media (max-width: 768px) {
  .p-about__body {
    display: block;
    margin-top: 0;
  }
}
.p-about__lead {
  margin: 5rem 0 0 29.2rem;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 4rem;
}
@media (max-width: 768px) {
  .p-about__lead {
    margin: 5.2rem 0 0;
    padding-inline: 3.7rem;
    font-size: 3.6rem;
    line-height: 6rem;
  }
}
.p-about__hagaki {
  flex-shrink: 0;
  width: 21.6rem;
  margin: 5.6rem 29.5rem 0 auto;
  aspect-ratio: 216/223;
}
@media (max-width: 768px) {
  .p-about__hagaki {
    width: 38.9rem;
    margin: 2.9rem 0 0 18.2rem;
    aspect-ratio: 389/399;
  }
}
.p-about__btn {
  width: 99.5rem;
  margin: 6rem 0 0 22rem;
}
@media (max-width: 768px) {
  .p-about__btn {
    width: 68.5rem;
    margin: 5.3rem 0 0 3.2rem;
  }
}
.p-about__sheep {
  display: none;
}
@media (max-width: 768px) {
  .p-about__sheep {
    display: block;
    width: 48.2rem;
    margin: 4rem 0 0 13.4rem;
    aspect-ratio: 482/127;
  }
}

.p-how {
  position: relative;
  z-index: 0;
  padding-top: 9.5rem;
  padding-bottom: 9.3rem;
  padding-inline: max(0px, (100% - 144rem) / 2);
  background: #fcf7ef no-repeat center top/200rem auto;
}
.p-how.is-bg {
  background-image: url("../img/how_bg.webp");
}
@media (max-width: 768px) {
  .p-how {
    height: auto;
    padding-inline: 0;
    background-size: 100% auto;
  }
  .p-how.is-bg {
    background-image: url("../img/how_bg_sp.webp");
  }
}
@media (max-width: 768px) {
  .p-how {
    padding: 10.2rem 0 10.8rem;
    background-color: #fefbf8;
  }
}
.p-how__steps {
  display: flex;
  gap: 2.5rem;
  margin: 8.5rem 0 0 22.5rem;
}
@media (max-width: 768px) {
  .p-how__steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
  }
}
.p-how__step {
  width: 31.6rem;
  height: 46.9rem;
  background: no-repeat center/100% 100%;
  color: var(--base-color);
  font-weight: 700;
  text-align: center;
}
@media (max-width: 768px) {
  .p-how__step {
    width: 44.2rem;
    height: 65.6rem;
  }
}
.p-how__step--01 {
  padding-top: 29.8rem;
}
.is-bg .p-how__step--01 {
  background-image: url(../img/how_step01.webp);
}
@media (max-width: 768px) {
  .p-how__step--01 {
    margin-top: 4.3rem;
    padding-top: 42.2rem;
  }
  .is-bg .p-how__step--01 {
    background-image: url(../img/how_step01_sp.webp);
  }
}
.p-how__step--02 {
  padding-top: 30.3rem;
}
.is-bg .p-how__step--02 {
  background-image: url(../img/how_step02.webp);
}
@media (max-width: 768px) {
  .p-how__step--02 {
    margin-top: 6.9rem;
    padding-top: 42.6rem;
  }
  .is-bg .p-how__step--02 {
    background-image: url(../img/how_step02_sp.webp);
  }
}
.p-how__step--03 {
  padding-top: 31rem;
}
.is-bg .p-how__step--03 {
  background-image: url(../img/how_step03.webp);
}
@media (max-width: 768px) {
  .p-how__step--03 {
    height: 64.9rem;
    margin-top: 5.4rem;
    padding-top: 45rem;
  }
  .is-bg .p-how__step--03 {
    background-image: url(../img/how_step03_sp.webp);
  }
}
.p-how__step-txt {
  font-size: 2.531rem;
  line-height: 4.015rem;
}
@media (max-width: 768px) {
  .p-how__step-txt {
    font-size: 3.544rem;
    line-height: 4.8rem;
  }
}
.p-how__step--02 .p-how__step-txt {
  font-size: 2.124rem;
  line-height: 3rem;
}
@media (max-width: 768px) {
  .p-how__step--02 .p-how__step-txt {
    font-size: 2.974rem;
    line-height: 4.2rem;
  }
}
.p-how__step--03 .p-how__step-txt {
  font-size: 3rem;
  line-height: 3.661rem;
}
@media (max-width: 768px) {
  .p-how__step--03 .p-how__step-txt {
    font-size: 4.2rem;
    line-height: 5.126rem;
  }
}
.p-how__step-em {
  font-size: 3.515rem;
}
@media (max-width: 768px) {
  .p-how__step-em {
    font-size: 4.922rem;
  }
}
.p-how__step-label {
  display: block;
  width: 24.2rem;
  height: 4.3rem;
  margin: 0.3rem auto 0;
  border-radius: 1.9rem;
  background: var(--base-color);
  color: var(--red);
  font-family: var(--font-line);
  font-size: 2.579rem;
  line-height: 4.3rem;
}
@media (max-width: 768px) {
  .p-how__step-label {
    width: 33.5rem;
    height: 5.6rem;
    margin-top: 0.8rem;
    font-size: 3.61rem;
    line-height: 5.6rem;
  }
}
.p-how__step-note {
  margin-top: 0.2rem;
  font-size: 1.8rem;
  line-height: 3rem;
}
@media (max-width: 768px) {
  .p-how__step-note {
    margin-top: 0.6rem;
    font-size: 2.52rem;
    line-height: 3.6rem;
  }
}
.p-how__address {
  width: 71.2rem;
  margin: 6rem auto 0;
  padding: 2.5rem 0 3.5rem;
  border-radius: 1.5rem;
  background: var(--green);
  color: var(--base-color);
  text-align: center;
}
@media (max-width: 768px) {
  .p-how__address {
    width: 69rem;
    margin-top: 5.6rem;
    padding: 3.9rem 0 5.9rem;
    border-radius: 3.3rem;
  }
}
.p-how__address-ttl {
  font-size: 3.718rem;
  font-weight: 900;
  line-height: 4.4rem;
}
@media (max-width: 768px) {
  .p-how__address-ttl {
    font-size: 4.389rem;
    line-height: 5.2rem;
  }
}
.p-how__address-txt {
  margin-top: 3rem;
  font-size: 2.742rem;
  font-weight: 700;
  line-height: 3.3rem;
}
@media (max-width: 768px) {
  .p-how__address-txt {
    margin-top: 4.4rem;
    font-size: 4.188rem;
    line-height: 5.026rem;
  }
}
.p-how__address-note {
  margin-top: 0.8rem;
  font-size: 2rem;
  line-height: 3rem;
}
@media (max-width: 768px) {
  .p-how__address-note {
    margin-top: 2.25rem;
    font-size: 2.4rem;
    line-height: 3.4rem;
  }
}
.p-how__address-name {
  display: grid;
  place-content: center;
  width: 61.4rem;
  min-height: 8rem;
  margin: 2.2rem auto 0;
  border-radius: 0.9rem;
  background: var(--base-color);
  color: var(--green);
  font-size: 2.07rem;
  line-height: 2.8rem;
}
@media (max-width: 768px) {
  .p-how__address-name {
    min-height: 18.3rem;
    margin-top: 2.9rem;
    padding: 0 2.4rem;
    font-size: 3rem;
    line-height: 4rem;
    text-align: left;
  }
}
.p-how__arrow {
  width: 7.8rem;
  margin: 1.4rem auto 0;
  aspect-ratio: 78/43;
}
@media (max-width: 768px) {
  .p-how__arrow {
    width: 11.5rem;
    margin-top: 1rem;
    aspect-ratio: 115/70;
  }
}
.p-how__btn {
  width: 74.7rem;
  margin: -2.1rem 0 0 32.9rem;
  aspect-ratio: 747/144;
}
@media (max-width: 768px) {
  .p-how__btn {
    width: 68.5rem;
    margin: 1.6rem 0 0 3.2rem;
    aspect-ratio: 685/156;
  }
}
.p-how__sheep {
  display: none;
}
@media (max-width: 768px) {
  .p-how__sheep {
    display: block;
    width: 39.6rem;
    margin: 2.6rem 0 0 18.2rem;
    aspect-ratio: 396/115;
  }
}
.p-how__notes {
  width: 100.3rem;
  margin: 7.1rem auto 0;
  padding: 4.8rem 11.2rem 6.7rem 7.5rem;
  border: 1px solid var(--red);
}
@media (max-width: 768px) {
  .p-how__notes {
    width: 66.1rem;
    margin-top: 5.5rem;
    padding: 5.6rem 1.8rem 8.9rem 3.2rem;
  }
}
.p-how__notes-ttl {
  color: var(--red);
  font-family: var(--font-line);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 3rem;
  text-align: center;
}
@media (max-width: 768px) {
  .p-how__notes-ttl {
    font-size: 3.6rem;
    line-height: 5.944rem;
  }
}
.p-how__notes-list {
  margin-top: 2.6rem;
  font-family: var(--font-line);
  font-size: max(1.6rem, 11px);
  line-height: max(3rem, 20.625px);
  letter-spacing: -0.07em;
}
@media (max-width: 768px) {
  .p-how__notes-list {
    margin-top: 3.5rem;
    font-size: 2.8rem;
    line-height: 4.8rem;
  }
}
.p-how__notes-item {
  position: relative;
  padding-left: 2.8rem;
}
@media (max-width: 768px) {
  .p-how__notes-item {
    padding-left: 4.1rem;
  }
}
.p-how__notes-item + .p-how__notes-item {
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .p-how__notes-item + .p-how__notes-item {
    margin-top: 4rem;
  }
}
.p-how__notes-item::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--red);
}

.p-qa {
  padding-top: 9.2rem;
  padding-bottom: 12.35rem;
  padding-inline: max(0px, (100% - 144rem) / 2);
  background: #e9dab8 no-repeat center top/200rem auto;
  background-size: cover;
}
.p-qa.is-bg {
  background-image: url("../img/qa_bg.webp");
}
@media (max-width: 768px) {
  .p-qa {
    height: auto;
    padding-inline: 0;
    background-size: 100% auto;
    background-size: cover;
  }
  .p-qa.is-bg {
    background-image: url("../img/qa_bg_sp.webp");
  }
}
@media (max-width: 768px) {
  .p-qa {
    padding: 11.3rem 0 18rem;
  }
}
.p-qa__list {
  width: 108.2rem;
  margin: 7.3rem auto 0;
}
@media (max-width: 768px) {
  .p-qa__list {
    width: 70.2rem;
    margin-top: 6.9rem;
  }
}
.p-qa__item {
  padding: 0 0 3rem 2.1rem;
  border-bottom: 0.2rem solid var(--olive-line);
}
@media (max-width: 768px) {
  .p-qa__item {
    padding: 0 0 3.5rem 0.6rem;
    border-bottom-width: 0.4rem;
  }
}
.p-qa__item + .p-qa__item {
  margin-top: 3.2rem;
}
@media (max-width: 768px) {
  .p-qa__item + .p-qa__item {
    margin-top: 4.8rem;
  }
}
.p-qa__q, .p-qa__a {
  position: relative;
  padding-left: 6rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .p-qa__q, .p-qa__a {
    padding-left: 8.9rem;
  }
}
.p-qa__q::before, .p-qa__a::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  color: var(--base-color);
  font-family: var(--font-line);
  font-size: 2.4rem;
  line-height: 1;
}
@media (max-width: 768px) {
  .p-qa__q::before, .p-qa__a::before {
    width: 6.7rem;
    height: 6.7rem;
    font-size: 3.6rem;
  }
}
.p-qa__q {
  color: var(--red);
  font-size: 2.4rem;
  line-height: 4.5rem;
}
@media (max-width: 768px) {
  .p-qa__q {
    min-height: 6.7rem;
    padding-top: 1.05rem;
    font-size: 3.605rem;
    line-height: 4.6rem;
  }
}
.p-qa__q::before {
  content: "Q";
  background: var(--q-red);
}
.p-qa__a {
  min-height: 4.5rem;
  margin-top: 1.5rem;
  padding-top: 0.45rem;
  color: #000;
  font-size: 2rem;
  line-height: 3.6rem;
}
@media (max-width: 768px) {
  .p-qa__a {
    min-height: 6.7rem;
    margin-top: 2.4rem;
    padding-top: 0.85rem;
    font-size: 3.004rem;
    line-height: 5rem;
  }
}
.p-qa__a::before {
  content: "A";
  background: var(--olive);
}

.p-program {
  height: 177rem;
  padding-top: 12.1rem;
  padding-inline: max(0px, (100% - 144rem) / 2);
  background: #fff no-repeat center top/200rem auto;
}
.p-program.is-bg {
  background-image: url("../img/program_bg.webp");
}
@media (max-width: 768px) {
  .p-program {
    height: auto;
    padding-inline: 0;
    background-size: 100% auto;
  }
  .p-program.is-bg {
    background-image: url("../img/program_bg_sp.webp");
  }
}
@media (max-width: 768px) {
  .p-program {
    padding: 10.9rem 0 5.6rem;
  }
}
.p-program__list {
  display: grid;
  grid-template-columns: repeat(4, 23.4rem);
  gap: 3.3rem 2rem;
  margin: 8rem 0 0 22.4rem;
}
@media (max-width: 768px) {
  .p-program__list {
    grid-template-columns: repeat(2, 32.7rem);
    gap: 4.6rem 2.7rem;
    justify-content: center;
    margin: 7.5rem 0 0;
  }
}
.p-program__link {
  display: block;
}
.p-program__img {
  aspect-ratio: 234/146;
}
.p-program__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-program__name {
  margin-top: 1rem;
  color: #000;
  font-size: 1.969rem;
  font-weight: 500;
  line-height: 2.461rem;
  text-align: center;
}
@media (max-width: 768px) {
  .p-program__name {
    margin-top: 1.5rem;
    font-size: 2.745rem;
    line-height: 3.4rem;
  }
}
.p-program__name--small {
  font-size: 1.805rem;
}
@media (max-width: 768px) {
  .p-program__name--small {
    font-size: 2.516rem;
  }
}
.p-program__sub {
  font-size: 1.477rem;
}
@media (max-width: 768px) {
  .p-program__sub {
    font-size: 2.059rem;
  }
}
.p-program__illust {
  display: none;
}
@media (max-width: 768px) {
  .p-program__illust {
    display: block;
    margin-top: 2rem;
    aspect-ratio: 750/236;
  }
}

.p-gallery {
  padding: 10.1rem 0 9.8rem;
  padding-inline: max(0px, (100% - 144rem) / 2);
  background: #e9dab8 no-repeat center top/200rem auto;
  background-size: cover;
}
.p-gallery.is-bg {
  background-image: url("../img/gallery_bg.webp");
}
@media (max-width: 768px) {
  .p-gallery {
    height: auto;
    padding-inline: 0;
    background-size: 100% auto;
    background-size: cover;
  }
  .p-gallery.is-bg {
    background-image: url("../img/gallery_bg_sp.webp");
  }
}
@media (max-width: 768px) {
  .p-gallery {
    padding: 11.2rem 0 11.6rem;
  }
}
.p-gallery__lead {
  margin-top: 5.2rem;
  color: var(--red);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 3.6rem;
  text-align: center;
}
@media (max-width: 768px) {
  .p-gallery__lead {
    margin-top: 4.9rem;
    font-size: 3.623rem;
    line-height: 5.435rem;
  }
}
.p-gallery__btn {
  display: flex;
  justify-content: center;
  margin-top: 4.7rem;
}
.p-gallery__btn[hidden] {
  display: none;
}
@media (max-width: 768px) {
  .p-gallery__btn {
    margin-top: 4.6rem;
  }
}
.p-gallery__btn--more {
  margin-top: 6.7rem;
}
@media (max-width: 768px) {
  .p-gallery__btn--more {
    margin-top: 7.5rem;
  }
}
.p-gallery__list {
  display: grid;
  grid-template-columns: repeat(4, 27.1rem);
  gap: 3.4rem 2.3rem;
  justify-content: center;
  margin-top: 5.4rem;
}
@media (max-width: 768px) {
  .p-gallery__list {
    grid-template-columns: repeat(2, 29rem);
    gap: 3.6rem 2.7rem;
    margin-top: 7.5rem;
  }
}
.p-gallery__item {
  min-height: 33rem;
  background: var(--base-color);
  animation: nenga-in 0.45s ease both;
  animation-delay: calc(var(--i, 0) * 50ms);
}
@media (max-width: 768px) {
  .p-gallery__item {
    min-height: 36.9rem;
  }
}
.p-gallery__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
@media (min-width: 769px) {
  .p-gallery__card:hover {
    opacity: 0.7;
  }
}
.p-gallery__img {
  display: block;
  flex-shrink: 0;
  min-height: 0;
  aspect-ratio: 271/258;
}
.p-gallery__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-gallery__name {
  display: block;
  padding: 1.1rem 0 0.5rem;
  color: #000;
  font-size: 2rem;
  font-weight: 500;
  line-height: 2.8rem;
  text-align: center;
}
@media (max-width: 768px) {
  .p-gallery__name {
    padding: 0.7rem 0 2.2rem;
    font-size: 2.2rem;
    line-height: 3.2rem;
  }
}

@keyframes nenga-in {
  from {
    opacity: 0;
    translate: 0 2rem;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-gallery__item {
    animation: none;
  }
}
.p-bnr {
  padding-top: 7.9rem;
}
@media (max-width: 768px) {
  .p-bnr {
    padding-top: 5.9rem;
  }
}
@media (min-width: 769px) {
  .p-program + .p-bnr {
    padding-top: 0;
  }
}
.p-bnr__link {
  display: block;
  width: 100.2rem;
  margin-inline: auto;
}
@media (max-width: 768px) {
  .p-bnr__link {
    width: 69.6rem;
  }
}
.p-bnr__img {
  display: block;
  border: 1px solid #ee2b0e;
}
.p-bnr__txt {
  display: block;
  width: 36.5rem;
  margin: 1.1rem auto 0;
  aspect-ratio: 365/29;
}
@media (max-width: 768px) {
  .p-bnr__txt {
    width: 39.3rem;
    margin-top: 1.6rem;
  }
}

.p-share {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 7.7rem 0 6.8rem;
}
@media (max-width: 768px) {
  .p-share {
    gap: 2rem;
    padding: 9.4rem 0 0;
  }
}
.p-share__item {
  width: 4.9rem;
}
@media (max-width: 768px) {
  .p-share__item {
    width: 9.3rem;
  }
}

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

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