@charset "UTF-8";

/* course.css（陶芸教室） */
[class^=p-course-] img {
  object-fit: cover;
}

.p-course-section__inner,
.p-course-faq__list {
  padding-inline: 1.125rem;
}

@media (min-width: 768px) {

  .p-course-section__inner,
  .p-course-faq__list {
    padding-inline: 0;
  }
}

/*----------------------------------
  ページ内ナビ（XD：グループ 11243 1154x70 / 白 / 影 0 3px 6px / r8）
  PC：横並び・縦線で区切る／SP：縦並び・短い横線で区切る
-----------------------------------*/
.p-course-nav {
  margin-block-start: 2.5rem;
}

@media (min-width: 768px) {
  .p-course-nav {
    margin-block-start: 1.25rem;
  }
}

.p-course-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2.0625rem;
  width: min(100%, 18.75rem);
  margin-inline: auto;
  padding: 1.625rem 1rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

@media (min-width: 768px) {
  .p-course-nav__list {
    flex-direction: row;
    justify-content: center;
    column-gap: 5.0625rem;
    width: fit-content;
    padding: 1.25rem 5rem;
  }
}

.p-course-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}

.p-course-nav__item+.p-course-nav__item::before {
  content: "";
  position: absolute;
  top: -1.0625rem;
  left: 50%;
  translate: -50% 0;
  width: 1.25rem;
  height: 1px;
  background-color: #000000;
  pointer-events: none;
}

@media (min-width: 768px) {
  .p-course-nav__item+.p-course-nav__item::before {
    top: 50%;
    left: -2.5625rem;
    translate: 0 -50%;
    width: 1px;
    height: 1.875rem;
  }
}

.p-course-nav__item p {
  color: #000000;
  white-space: nowrap;
  font-size: max(1rem, 12.8px);
}

@media (min-width: 0px) {
  .p-course-nav__item p {
    font-size: 1rem;
  }
}

.p-course-nav__item p {
  font-weight: 900;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-course-nav__item p {
    font-size: max(1.125rem, 8px);
    font-weight: 900;
    line-height: 1.4444444444;
  }
}

.p-course-nav__item img {
  flex-shrink: 0;
  width: 1.25rem;
  aspect-ratio: 1;
  object-fit: contain;
  transition: translate 0.3s ease;
}

@media (any-hover: hover) {
  .p-course-nav__item:hover {
    opacity: 1;
  }

  .p-course-nav__item:hover img {
    translate: 0 0.1875rem;
  }
}

/*----------------------------------
  コースごとのまとまり（体験コース・一般コース（福里窯）・一般コース（神戸教室））
  XD：まとまりの間に #EBECE8 の帯（長方形 37715 1920x25）
-----------------------------------*/
.p-course-section {
  padding-block: 7.5rem 5rem;
}

@media (min-width: 768px) {
  .p-course-section {
    padding-block: 6.25rem 5rem;
  }
}

.p-course-section+.p-course-section {
  padding-block-start: 6.25rem;
  border-top: 1.5625rem solid #ebece8;
}

@media (min-width: 768px) {
  .p-course-section+.p-course-section {
    padding-block-start: 7.5625rem;
  }
}

.p-course-section--last {
  padding-block-end: 7.5rem;
}

@media (min-width: 768px) {
  .p-course-section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38.625rem;
    column-gap: 5rem;
  }
}

.p-course-section__text {
  margin-block-start: 1.25rem;
  margin-inline: -0.25rem -0.3125rem;
  color: #000000;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-course-section__text {
    font-size: 0.875rem;
  }
}

.p-course-section__text {
  font-weight: 900;
  line-height: 1.7142857143;
}

@media (min-width: 768px) {
  .p-course-section__text {
    max-width: 40.3125rem;
    margin-inline: 0;
    margin-block-start: 2rem;
    font-size: max(1rem, 8px);
    font-weight: 900;
    line-height: 2;
  }
}

.p-course-section__img {
  overflow: hidden;
  margin-block-start: 1.875rem;
  border-radius: 0.3125rem;
}

@media (min-width: 768px) {
  .p-course-section__img {
    margin-block-start: 0;
    border-radius: 0.625rem;
  }
}

.p-course-section__img img {
  display: block;
  aspect-ratio: 618/277;
}

.p-course-block {
  margin-block-start: 4rem;
}

@media (min-width: 768px) {
  .p-course-block {
    margin-block-start: 4rem;
  }
}

.p-course-block__body {
  margin-block-start: 2rem;
}

@media (min-width: 768px) {
  .p-course-block__body {
    margin-block-start: 1.25rem;
  }
}

.p-course-block__body>.p-course-list {
  padding-block-start: 0.5rem;
}

@media (min-width: 768px) {
  .p-course-block__body>.p-course-list {
    padding-block-start: 0;
  }
}

.p-course-section__head+.p-course-price {
  margin-block-start: 3.5rem;
}

@media (min-width: 768px) {
  .p-course-section__head+.p-course-price {
    margin-block-start: 2.5rem;
  }
}

/*----------------------------------
  作品完成までの流れ（XD：コンポーネント 21 – 13〜15 411x340 ／ 間隔 54）
-----------------------------------*/
.p-course-flow {
  display: grid;
  row-gap: 2.5rem;
  padding-inline: 1.5625rem;
}

@media (min-width: 768px) {
  .p-course-flow {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3.375rem;
    padding-inline: 0;
  }
}

.p-course-flow__img img {
  display: block;
  aspect-ratio: 411/269;
}

.p-course-flow__title {
  margin-block-start: 0.75rem;
  color: #000000;
  font-size: max(1.125rem, 14.4px);
}

@media (min-width: 0px) {
  .p-course-flow__title {
    font-size: 1.125rem;
  }
}

.p-course-flow__title {
  font-weight: 700;
  line-height: 1.5555555556;
}

@media (min-width: 768px) {
  .p-course-flow__title {
    margin-block-start: 0.625rem;
    font-size: max(1.25rem, 8px);
    font-weight: 700;
    line-height: 1.45;
  }
}

.p-course-flow__title span {
  margin-inline-end: 0.5rem;
  font-weight: 400;
}

.p-course-flow__text {
  margin-block-start: 0.25rem;
  color: #000000;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-course-flow__text {
    font-size: 0.875rem;
  }
}

.p-course-flow__text {
  font-weight: 400;
  line-height: 2;
}

@media (min-width: 768px) {
  .p-course-flow__text {
    margin-block-start: 0.5rem;
    font-size: max(1rem, 8px);
    font-weight: 400;
    line-height: 1.5;
  }
}

.p-course-flow__note {
  margin-block-start: 0.5rem;
  color: #000000;
  font-size: max(0.75rem, 9.6px);
}

@media (min-width: 0px) {
  .p-course-flow__note {
    font-size: 0.75rem;
  }
}

.p-course-flow__note {
  font-weight: 900;
  line-height: 1.6666666667;
}

@media (min-width: 768px) {
  .p-course-flow__note {
    margin-block-start: 0.75rem;
    font-size: max(0.875rem, 8px);
    font-weight: 900;
    line-height: 1.4285714286;
  }
}

/*----------------------------------
  コース紹介（XD：左 848px ＋ 写真 446x289 ／ 間隔 48）
-----------------------------------*/
.p-course-list {
  display: grid;
  row-gap: 3.5rem;
}

@media (min-width: 768px) {
  .p-course-list {
    row-gap: 4.5rem;
  }
}

@media (min-width: 768px) {
  .p-course-list__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 27.875rem;
    column-gap: 3rem;
  }
}

.p-course-list__title {
  padding: 0.75rem 1.25rem;
  color: #000000;
  background-color: #ebece8;
  border-radius: 100vmax;
  font-size: max(1rem, 12.8px);
}

@media (min-width: 0px) {
  .p-course-list__title {
    font-size: 1rem;
  }
}

.p-course-list__title {
  font-weight: 900;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-course-list__title {
    padding: 1rem 1.5rem;
    font-size: max(1.125rem, 8px);
    font-weight: 900;
    line-height: 1.4444444444;
  }
}

.p-course-list__text {
  margin-block-start: 1rem;
  color: #000000;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-course-list__text {
    font-size: 0.875rem;
  }
}

.p-course-list__text {
  font-weight: 900;
  line-height: 1.4285714286;
}

@media (min-width: 768px) {
  .p-course-list__text {
    font-size: max(1rem, 8px);
    font-weight: 900;
    line-height: 1.75;
  }
}

.p-course-list__specs {
  display: grid;
  row-gap: 0.75rem;
  margin-block-start: 1.5rem;
}

@media (min-width: 768px) {
  .p-course-list__specs {
    row-gap: 1rem;
  }
}

.p-course-list__spec {
  display: grid;
  grid-template-columns: 5.375rem minmax(0, 1fr);
  align-items: start;
  column-gap: 1.25rem;
}

@media (min-width: 768px) {
  .p-course-list__spec {
    grid-template-columns: 8.25rem minmax(0, 1fr);
    column-gap: 1.5625rem;
  }
}

.p-course-list__label {
  display: grid;
  place-items: center;
  min-height: 1.75rem;
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 100vmax;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-course-list__label {
    font-size: 0.875rem;
  }
}

.p-course-list__label {
  font-weight: 400;
  line-height: 1.4285714286;
}

@media (min-width: 768px) {
  .p-course-list__label {
    min-height: 1.875rem;
    font-size: max(1rem, 8px);
    font-weight: 400;
    line-height: 1.5;
  }
}

.p-course-list__value {
  padding-block-start: 0.25rem;
  color: #000000;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-course-list__value {
    font-size: 0.875rem;
  }
}

.p-course-list__value {
  font-weight: 400;
  line-height: 1.5714285714;
}

@media (min-width: 768px) {
  .p-course-list__value {
    padding-block-start: 0.125rem;
    font-size: max(1rem, 8px);
    font-weight: 400;
    line-height: 1.625;
  }
}

.p-course-list__value--price {
  padding-block-start: 0;
  font-size: max(1.125rem, 14.4px);
}

@media (min-width: 0px) {
  .p-course-list__value--price {
    font-size: 1.125rem;
  }
}

.p-course-list__value--price {
  font-weight: 400;
  line-height: 1.5555555556;
}

@media (min-width: 768px) {
  .p-course-list__value--price {
    font-size: max(1.25rem, 8px);
    font-weight: 400;
    line-height: 1.45;
  }
}

.p-course-list__value--price span {
  margin-inline-start: 0.25rem;
  font-size: max(0.6875rem, 8.8px);
}

@media (min-width: 0px) {
  .p-course-list__value--price span {
    font-size: 0.6875rem;
  }
}

.p-course-list__value--price span {
  font-weight: 400;
  line-height: 1.4545454545;
}

@media (min-width: 768px) {
  .p-course-list__value--price span {
    font-size: max(0.75rem, 8px);
    font-weight: 400;
    line-height: 1.5;
  }
}

.p-course-list__img {
  overflow: hidden;
  margin-block-start: 1.5rem;
  border-radius: 0.3125rem;
}

@media (min-width: 768px) {
  .p-course-list__img {
    margin-block-start: 0;
    border-radius: 0.625rem;
  }
}

.p-course-list__img img {
  display: block;
  aspect-ratio: 446/289;
}

/*----------------------------------
  料金（XD：入会金 405 ／ 月額プラン 469 ／ 追加チケット 388 ／ 間隔 40）
  見出しは黒い丸枠（長方形 37711 / r24）。SP は縦並び・中央揃え
-----------------------------------*/
.p-course-price {
  display: grid;
  row-gap: 2.5rem;
}

@media (min-width: 768px) {
  .p-course-price {
    grid-template-columns: 25.3125rem 29.3125rem minmax(0, 1fr);
    column-gap: 2.5rem;
  }
}

.p-course-price__head {
  padding: 0.375rem 1.5rem;
  color: #ffffff;
  background-color: #000000;
  border-radius: 100vmax;
  text-align: center;
  font-size: max(1rem, 12.8px);
}

@media (min-width: 0px) {
  .p-course-price__head {
    font-size: 1rem;
  }
}

.p-course-price__head {
  font-weight: 900;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-course-price__head {
    padding: 0.625rem 1.5rem;
    text-align: left;
    font-size: max(1.125rem, 8px);
    font-weight: 900;
    line-height: 1.4444444444;
  }
}

.p-course-price__body {
  margin-block-start: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .p-course-price__body {
    padding-inline: 1.5rem 0;
    text-align: left;
  }
}

.p-course-price__amount {
  color: #000000;
  font-size: max(1.375rem, 17.6px);
}

@media (min-width: 0px) {
  .p-course-price__amount {
    font-size: 1.375rem;
  }
}

.p-course-price__amount {
  font-weight: 900;
  line-height: 1.5454545455;
}

@media (min-width: 768px) {
  .p-course-price__amount {
    font-size: max(1.75rem, 8px);
    font-weight: 900;
    line-height: 1.4285714286;
  }
}

.p-course-price__amount span:nth-of-type(1) {
  margin-inline: 0.25rem 0.5rem;
  font-size: max(0.6875rem, 8.8px);
}

@media (min-width: 0px) {
  .p-course-price__amount span:nth-of-type(1) {
    font-size: 0.6875rem;
  }
}

.p-course-price__amount span:nth-of-type(1) {
  font-weight: 700;
  line-height: 1.4545454545;
}

@media (min-width: 768px) {
  .p-course-price__amount span:nth-of-type(1) {
    font-size: max(0.875rem, 8px);
    font-weight: 700;
    line-height: 1.4285714286;
  }
}

.p-course-price__amount span:nth-of-type(2) {
  margin-inline-start: 0.5rem;
  font-size: max(1rem, 12.8px);
}

@media (min-width: 0px) {
  .p-course-price__amount span:nth-of-type(2) {
    font-size: 1rem;
  }
}

.p-course-price__amount span:nth-of-type(2) {
  font-weight: 900;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-course-price__amount span:nth-of-type(2) {
    font-size: max(1.25rem, 8px);
    font-weight: 900;
    line-height: 1.45;
  }
}

.p-course-price__text {
  margin-block-start: 0.5rem;
  color: #000000;
  text-align: left;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-course-price__text {
    font-size: 0.875rem;
  }
}

.p-course-price__text {
  font-weight: 700;
  line-height: 1.5714285714;
}

@media (min-width: 768px) {
  .p-course-price__text {
    margin-block-start: 1rem;
    font-size: max(1rem, 8px);
    font-weight: 700;
    line-height: 1.5;
  }
}

.p-course-price__note {
  margin-block-start: 1rem;
  color: #000000;
  text-align: left;
  font-size: max(0.8125rem, 10.4px);
}

@media (min-width: 0px) {
  .p-course-price__note {
    font-size: 0.8125rem;
  }
}

.p-course-price__note {
  font-weight: 400;
  line-height: 1.5384615385;
}

@media (min-width: 768px) {
  .p-course-price__note {
    font-size: max(0.875rem, 8px);
    font-weight: 400;
    line-height: 1.4285714286;
  }
}

.p-course-price__plans {
  display: grid;
  row-gap: 2rem;
}

@media (min-width: 768px) {
  .p-course-price__plans {
    row-gap: 1.25rem;
    margin-block-start: 1.25rem;
  }
}

.p-course-price__plan {
  display: grid;
  justify-items: center;
  row-gap: 0.5rem;
}

@media (min-width: 768px) {
  .p-course-price__plan {
    grid-template-columns: 11rem minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    column-gap: 2.5rem;
  }
}

.p-course-price__plan-label {
  display: grid;
  place-items: center;
  width: 7.9375rem;
  min-height: 1.75rem;
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 100vmax;
  font-size: max(0.8125rem, 10.4px);
}

@media (min-width: 0px) {
  .p-course-price__plan-label {
    font-size: 0.8125rem;
  }
}

.p-course-price__plan-label {
  font-weight: 400;
  line-height: 1.5384615385;
}

@media (min-width: 768px) {
  .p-course-price__plan-label {
    width: 100%;
    min-height: 1.875rem;
    font-size: max(1rem, 8px);
    font-weight: 400;
    line-height: 1.5;
  }
}

.p-course-price__plan-value {
  color: #000000;
  white-space: nowrap;
  font-size: max(1.25rem, 16px);
}

@media (min-width: 0px) {
  .p-course-price__plan-value {
    font-size: 1.25rem;
  }
}

.p-course-price__plan-value {
  font-weight: 900;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-course-price__plan-value {
    font-size: max(1.25rem, 8px);
    font-weight: 900;
    line-height: 1.45;
  }
}

.p-course-price__plan-value span {
  margin-inline-start: 0.5rem;
  font-size: max(0.6875rem, 8.8px);
}

@media (min-width: 0px) {
  .p-course-price__plan-value span {
    font-size: 0.6875rem;
  }
}

.p-course-price__plan-value span {
  font-weight: 700;
  line-height: 1.4545454545;
}

@media (min-width: 768px) {
  .p-course-price__plan-value span {
    font-size: max(0.875rem, 8px);
    font-weight: 700;
    line-height: 1.4285714286;
  }
}

.p-course-price__time {
  margin-block-start: 1.5rem;
  color: #000000;
  font-size: max(0.9375rem, 12px);
}

@media (min-width: 0px) {
  .p-course-price__time {
    font-size: 0.9375rem;
  }
}

.p-course-price__time {
  font-weight: 400;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .p-course-price__time {
    margin-block-start: 1.25rem;
    font-size: max(1.1875rem, 8px);
    font-weight: 400;
    line-height: 1.4210526316;
  }
}

/*----------------------------------
  材料費（XD：630x62 ×5行 ×2列 ／ 間隔 82 ／ #EBECE8・#FAF8F7 交互）
-----------------------------------*/
@media (min-width: 768px) {
  .p-course-material {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5.125rem;
  }
}

.p-course-material__row {
  padding: 1rem;
}

@media (min-width: 768px) {
  .p-course-material__row {
    display: grid;
    grid-template-columns: 15.0625rem minmax(0, 1fr);
    padding: 1.1875rem 2rem;
  }
}

.p-course-material__row:nth-child(odd) {
  background-color: #ebece8;
}

.p-course-material__row:nth-child(even) {
  background-color: #faf8f7;
}

.p-course-material__col+.p-course-material__col .p-course-material__row:nth-child(odd) {
  background-color: #faf8f7;
}

.p-course-material__col+.p-course-material__col .p-course-material__row:nth-child(even) {
  background-color: #ebece8;
}

@media (min-width: 768px) {
  .p-course-material__col+.p-course-material__col .p-course-material__row:nth-child(odd) {
    background-color: #ebece8;
  }

  .p-course-material__col+.p-course-material__col .p-course-material__row:nth-child(even) {
    background-color: #faf8f7;
  }
}

.p-course-material__name {
  color: #000000;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-course-material__name {
    font-size: 0.875rem;
  }
}

.p-course-material__name {
  font-weight: 900;
  line-height: 1.5714285714;
}

@media (min-width: 768px) {
  .p-course-material__name {
    font-size: max(1rem, 8px);
    font-weight: 900;
    line-height: 1.5;
  }
}

.p-course-material__price {
  margin-block-start: 0.25rem;
  color: #000000;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-course-material__price {
    font-size: 0.875rem;
  }
}

.p-course-material__price {
  font-weight: 400;
  line-height: 1.5714285714;
}

@media (min-width: 768px) {
  .p-course-material__price {
    margin-block-start: 0;
    font-size: max(1rem, 8px);
    font-weight: 400;
    line-height: 1.5;
  }
}

/*----------------------------------
  開催日（XD：曜日 20px Bold ／ 注意書き 16px Regular）
-----------------------------------*/
.p-course-date__days {
  color: #000000;
  font-size: max(1.125rem, 14.4px);
}

@media (min-width: 0px) {
  .p-course-date__days {
    font-size: 1.125rem;
  }
}

.p-course-date__days {
  font-weight: 700;
  line-height: 1.5555555556;
}

@media (min-width: 768px) {
  .p-course-date__days {
    font-size: max(1.25rem, 8px);
    font-weight: 700;
    line-height: 1.45;
  }
}

.p-course-date__days span {
  margin-inline-start: 0.5rem;
  font-size: max(0.75rem, 9.6px);
}

@media (min-width: 0px) {
  .p-course-date__days span {
    font-size: 0.75rem;
  }
}

.p-course-date__days span {
  font-weight: 700;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-course-date__days span {
    font-size: max(0.875rem, 8px);
    font-weight: 700;
    line-height: 1.4285714286;
  }
}

.p-course-date__text {
  margin-block-start: 0.75rem;
  color: #000000;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-course-date__text {
    font-size: 0.875rem;
  }
}

.p-course-date__text {
  font-weight: 400;
  line-height: 1.5714285714;
}

@media (min-width: 768px) {
  .p-course-date__text {
    margin-block-start: 0.8125rem;
    font-size: max(1rem, 8px);
    font-weight: 400;
    line-height: 1.5;
  }
}

/*----------------------------------
  教室の雰囲気・作品例（XD：319x220・319x298 ×4 ／ 間隔 21）
-----------------------------------*/
.p-course-photos {
  margin-block-start: 4rem;
}

.p-course-photos+.p-course-photos {
  margin-block-start: 3rem;
}

@media (min-width: 768px) {
  .p-course-photos+.p-course-photos {
    margin-block-start: 4rem;
  }
}

.p-course-photos__label {
  color: #000000;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-course-photos__label {
    font-size: 0.875rem;
  }
}

.p-course-photos__label {
  font-weight: 700;
  line-height: 1.7142857143;
}

@media (min-width: 768px) {
  .p-course-photos__label {
    font-size: max(1rem, 8px);
    font-weight: 700;
    line-height: 1.5;
  }
}

.p-course-photos__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  margin-block-start: 0.75rem;
}

@media (min-width: 768px) {
  .p-course-photos__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.3125rem;
    margin-block-start: 1.25rem;
  }
}

.p-course-photos__list img {
  display: block;
  aspect-ratio: 319/220;
}

@media (min-width: 768px) {
  .p-course-photos__list--work img {
    aspect-ratio: 319/298;
  }
}

/*----------------------------------
  お申し込み（XD：コンポーネント 24 857x218 / r10 ／ ボタン 369x61 白枠 ×2）
-----------------------------------*/
.p-course-cta {
  position: relative;
  overflow: hidden;
  width: min(100%, 53.5625rem);
  margin-block-start: 3.5rem;
  margin-inline: auto;
  border-radius: 1.875rem;
  color: #ffffff;
  text-align: center;
}

@media (min-width: 768px) {
  .p-course-cta {
    margin-block-start: 5rem;
    border-radius: 0.625rem;
  }
}

.p-course-cta__bg {
  position: absolute;
  inset: 0;
}

.p-course-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.p-course-cta__bg img {
  width: 100%;
  height: 100%;
}

.p-course-cta__body {
  pointer-events: none;
}

.p-course-cta__body>* {
  pointer-events: auto;
}

.p-course-cta__body {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0.9375rem 1.625rem;
}

@media (min-width: 768px) {
  .p-course-cta__body {
    padding: 2.0625rem 2.5rem 2.5rem;
  }
}

.p-course-cta__icon {
  width: 1.875rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .p-course-cta__icon {
    width: 2.25rem;
  }
}

.p-course-cta__icon img {
  display: block;
  aspect-ratio: 57/38;
  object-fit: contain;
}

.p-course-cta__title {
  margin-block-start: 0.5rem;
  font-size: max(1rem, 12.8px);
}

@media (min-width: 0px) {
  .p-course-cta__title {
    font-size: 1rem;
  }
}

.p-course-cta__title {
  font-weight: 900;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-course-cta__title {
    margin-block-start: 0.625rem;
    font-size: max(1.25rem, 8px);
    font-weight: 900;
    line-height: 1.45;
  }
}

.p-course-cta__btns {
  display: grid;
  row-gap: 0.75rem;
  margin-block-start: 1rem;
}

@media (min-width: 768px) {
  .p-course-cta__btns {
    grid-template-columns: repeat(2, 23.0625rem);
    justify-content: center;
    column-gap: 1.25rem;
    margin-block-start: 1.25rem;
  }
}

.p-course-cta__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.375rem;
  min-height: 3rem;
  padding-inline: 0.75rem;
  border: 1px solid #ffffff;
  border-radius: 100vmax;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .p-course-cta__btn {
    min-height: max(3.8125rem, 40px);
  }
}

.p-course-cta__btn p {
  color: #ffffff;
  transition: color 0.3s ease;
  font-size: max(1rem, 12.8px);
}

@media (min-width: 0px) {
  .p-course-cta__btn p {
    font-size: 1rem;
  }
}

.p-course-cta__btn p {
  font-weight: 900;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .p-course-cta__btn p {
    font-size: max(1.25rem, 8px);
    font-weight: 900;
    line-height: 1.45;
  }
}

.p-course-cta__btn--tel p:nth-of-type(1) {
  font-size: max(1.25rem, 16px);
}

@media (min-width: 0px) {
  .p-course-cta__btn--tel p:nth-of-type(1) {
    font-size: 1.25rem;
  }
}

.p-course-cta__btn--tel p:nth-of-type(1) {
  font-weight: 900;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .p-course-cta__btn--tel p:nth-of-type(1) {
    font-size: max(1.4375rem, 8px);
    font-weight: 900;
    line-height: 1.4782608696;
  }
}

.p-course-cta__btn--tel p:nth-of-type(2) {
  font-size: max(0.5625rem, 7.2px);
}

@media (min-width: 0px) {
  .p-course-cta__btn--tel p:nth-of-type(2) {
    font-size: 0.5625rem;
  }
}

.p-course-cta__btn--tel p:nth-of-type(2) {
  font-weight: 900;
  line-height: 1.5555555556;
}

@media (min-width: 768px) {
  .p-course-cta__btn--tel p:nth-of-type(2) {
    font-size: max(0.75rem, 8px);
    font-weight: 900;
    line-height: 1.4166666667;
  }
}

@media (any-hover: hover) {
  .p-course-cta__btn:hover {
    opacity: 1;
    background-color: #ffffff;
  }

  .p-course-cta__btn:hover p {
    color: #000000;
  }

  .p-course-cta__btn:hover .p-course-cta__tel-icon {
    display: none;
  }

  .p-course-cta__btn:hover .p-course-cta__tel-icon--hover {
    display: block;
  }
}

.p-course-cta__tel-icon {
  width: 0.75rem;
  margin-inline-end: 0.375rem;
  aspect-ratio: 12/21;
  object-fit: contain;
}

.p-course-cta__tel-icon--hover {
  display: none;
}

/*----------------------------------
  よくある質問（XD：背景 #EBECE8 1920x1548 ／ 1144px ／ Q 20px Bold・A 16px Regular）
  Basecode：component/faq
-----------------------------------*/
.p-faq {
  padding-block: 5rem;
  background-color: #ebece8;
}

@media (min-width: 768px) {
  .p-faq {
    padding-block: 7.5rem;
  }

  .p-faq .c-section-title {
    justify-content: center;
  }
}

.p-course-faq__list {
  display: grid;
  row-gap: 2.5rem;
  margin-block-start: 2.5rem;
}

@media (min-width: 768px) {
  .p-course-faq__list {
    row-gap: 5rem;
    width: min(100%, 71.5rem);
    margin-block-start: 4.0625rem;
    margin-inline: auto;
  }
}

.p-faq__question {
  padding-block-end: 0.875rem;
  color: #000000;
  border-bottom: 1px solid #707070;
  font-size: max(1rem, 12.8px);
}

@media (min-width: 0px) {
  .p-faq__question {
    font-size: 1rem;
  }
}

.p-faq__question {
  font-weight: 700;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .p-faq__question {
    font-size: max(1.25rem, 8px);
    font-weight: 700;
    line-height: 1.45;
  }
}

.p-faq__question::before {
  content: "Q. ";
  pointer-events: none;
}

.p-faq__answer {
  margin-block-start: 0.875rem;
  color: #000000;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-faq__answer {
    font-size: 0.875rem;
  }
}

.p-faq__answer {
  font-weight: 400;
  line-height: 1.8571428571;
}

@media (min-width: 768px) {
  .p-faq__answer {
    font-size: max(1rem, 8px);
    font-weight: 400;
    line-height: 1.625;
  }
}

.p-faq__answer::before {
  content: "A. ";
  pointer-events: none;
}

/*----------------------------------
  採用募集（見た目は c-recruit）
-----------------------------------*/
.p-course-recruit {
  margin-block-start: 5rem;
}

@media (min-width: 768px) {
  .p-course-recruit {
    margin-block-start: 7.5rem;
  }
}