@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*****************************************
 * 数値から単位を取り除く
 * 参考
 * https: //css-tricks.com/snippets/sass/
******************************************/
/*****************************************
 * px→remの計算
 * 参考
 * https: //webdou.net/sass-rem/
 * Sassではmath.div関数の使用が推奨のため、スラッシュ(/)演算子から変更
******************************************/
/*****************************************
 * vwの計算
 * 参考
 * https://webdou.net/sass-vw/
 * Sassではmath.div関数の使用が推奨のため、スラッシュ(/)演算子から変更
******************************************/
html {
  font-size: 16px;
}
@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 1.1034482759vw;
  }
}
@media (min-width: 1450px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #292929;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

@media screen and (min-width: 768px) {
  a:hover {
    opacity: 0.8;
  }
}

.l-inner {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}
@media screen and (min-width: 768px) {
  .l-inner {
    padding: 0 25px;
    max-width: 1450px;
  }
}

.c-breadcrumb {
  padding: 0.9375rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  display: flex;
  gap: 0 0.375rem;
  align-items: center;
  flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
  .c-breadcrumb {
    font-size: 0.875rem;
    gap: 0 1.25rem;
  }
}
.c-breadcrumb .c-breadcrumb__inner {
  display: flex;
  gap: 0 0.0625rem;
  align-items: center;
  flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
  .c-breadcrumb .c-breadcrumb__inner {
    gap: 0 1.25rem;
  }
}
.c-breadcrumb a {
  color: #205D9A;
  text-decoration: underline;
}
.c-breadcrumb span[property=itemListElement] {
  word-break: break-all;
}
.c-breadcrumb span[property=itemListElement]:first-child {
  padding-left: 0;
}

.c-breadcrumb--news {
  background-color: #F2F2F2;
}

.c-breadcrumb__arrow {
  width: 0.4375rem;
  height: 0.4375rem;
  display: inline-block;
  border-right: 0.125rem solid #B60200;
  border-bottom: 0.125rem solid #B60200;
  transform: rotate(-45deg);
}
@media screen and (min-width: 768px) {
  .c-breadcrumb__arrow {
    width: 0.625rem;
    height: 0.625rem;
  }
}

.c-btn {
  border-radius: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.0625rem 1.25rem;
  font-size: 1.125rem;
  line-height: 1.125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  background: linear-gradient(0deg, #691015, #97151b 20%, #d9030a);
}
@media screen and (min-width: 768px) {
  .c-btn {
    padding: 1.6875rem 4.0625rem;
  }
}
@media screen and (max-width: 389px) {
  .c-btn {
    font-size: 1rem;
  }
}

.c-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  letter-spacing: 0.04em;
  font-weight: 900;
  font-family: "Noto Serif JP", serif;
}
@media screen and (min-width: 768px) {
  .c-title {
    gap: 0.625rem;
  }
}

.c-title__sub {
  font-size: 1.5625rem;
}
@media screen and (min-width: 768px) {
  .c-title__sub {
    font-size: 1.875rem;
  }
}

.c-title__head {
  font-size: 2.5rem;
  color: #B60200;
  text-align: center;
  line-height: 1.15;
}
@media screen and (min-width: 768px) {
  .c-title__head {
    font-size: 3.75rem;
  }
}
.c-title__head span {
  font-size: 1.875rem;
}
@media screen and (min-width: 768px) {
  .c-title__head span {
    font-size: 3.125rem;
  }
}

.p-about {
  padding: 0.625rem 0 17.0625rem;
  overflow: hidden;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .p-about {
    padding: 6.0625rem 0 7.8125rem;
  }
}

.p-about__img {
  width: 100%;
  height: 125%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  -o-object-position: right center;
     object-position: right center;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.p-about__img-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.p-about__img {
  position: relative;
}
.p-about__img::before {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 17.5rem;
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: url("../images/sp/top/top-about.webp") no-repeat center center/cover;
}
.p-about__img::after {
  position: absolute;
  content: "";
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 8.75rem;
  top: 0;
  left: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 80%);
}

.p-about__title {
  color: #B60200;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  font-size: 2.5rem;
  font-weight: 900;
  font-family: "Noto Serif JP", serif;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-about__title {
    text-align: left;
    font-size: 3.75rem;
  }
}

.p-about__title-highlight {
  font-size: 3.125rem;
}
@media screen and (min-width: 768px) {
  .p-about__title-highlight {
    font-size: 6.25rem;
  }
}
@media screen and (max-width: 389px) {
  .p-about__title-highlight {
    font-size: 2.8125rem;
  }
}

.p-about__title-question {
  font-size: 3.125rem;
}
@media screen and (min-width: 768px) {
  .p-about__title-question {
    font-size: 5rem;
  }
}

.p-about__text {
  font-size: 0.875rem;
  margin-top: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5625;
}
@media screen and (min-width: 768px) {
  .p-about__text {
    font-size: 1rem;
  }
}
.p-about__text span {
  font-weight: 700;
  font-size: 1.125rem;
  color: #B60200;
}
@media screen and (min-width: 768px) {
  .p-about__text span {
    font-size: 1.3125rem;
  }
}

.p-about__btnWrap {
  margin-top: 2.5rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-about__btnWrap {
    text-align: left;
    margin-top: 3.4375rem;
  }
}

.p-about__btn {
  display: inline-block;
  padding: 1.5625rem;
  text-align: center;
  max-width: 25rem;
  width: 100%;
  font-size: 1.3125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(0deg, #1b1464, #1b1464 20%, #2e3191);
  border-radius: 0.3125rem;
}

.p-access {
  overflow: hidden;
  margin-top: 4.375rem;
}
@media screen and (min-width: 768px) {
  .p-access {
    margin-top: 7.5rem;
  }
}

.p-access__body {
  padding: 3.125rem 1.25rem 4.375rem;
  background-color: #F2F2F2;
}
@media screen and (min-width: 768px) {
  .p-access__body {
    padding: 7.5rem 6.25rem 8rem;
  }
}

.p-access__info {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.25rem;
  margin-top: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-access__info {
    gap: 3.125rem;
    margin-top: 5rem;
    flex-direction: row;
    align-items: center;
  }
}

.p-access__table {
  flex: 1;
}

.p-access__row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #B60200;
  padding: 1.25rem 0;
  letter-spacing: 0.02em;
  gap: 0.5625rem;
}
@media screen and (min-width: 768px) {
  .p-access__row {
    gap: 0;
    flex-direction: row;
  }
}
.p-access__row:first-child {
  padding-top: 0;
}
.p-access__row:last-child {
  padding-bottom: 0;
  border: none;
}

.p-access__label {
  font-weight: 700;
  color: #B60200;
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  .p-access__label {
    font-size: 1.125rem;
    width: 8.125rem;
  }
}

.p-access__text {
  font-weight: 500;
  line-height: 1.5714285714;
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  .p-access__text {
    line-height: 1.5625;
    font-size: 1.125rem;
  }
}

.p-access__map {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-access__map {
    max-width: 34.375rem;
  }
}
.p-access__map img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 310/230;
}
@media screen and (min-width: 768px) {
  .p-access__map img {
    aspect-ratio: 550/430;
  }
}

.p-access__subheading {
  background: linear-gradient(to bottom right, #D60200, #C40603);
  -webkit-clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
          clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.25;
  padding: 0.625rem 0.8125rem;
  width: 100%;
  font-family: "Noto Serif JP", serif;
  margin-top: 4.0625rem;
}
@media screen and (min-width: 768px) {
  .p-access__subheading {
    font-size: 1.5rem;
    margin-top: 6.25rem;
    padding: 0.625rem 2.0625rem;
    max-width: 31.25rem;
  }
}

.p-access__swiper-text {
  font-weight: 500;
  line-height: 1.5714285714;
  font-size: 0.875rem;
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}
@media screen and (min-width: 768px) {
  .p-access__swiper-text {
    line-height: 1.5625;
    font-size: 1rem;
    margin-top: 1.5625rem;
  }
}

.p-access__swiper {
  width: 100vw;
  margin-top: 1.875rem;
  position: relative;
  padding-bottom: 2.5rem;
  margin-left: 1.875rem;
}

@media screen and (min-width: 768px) {
  .p-access__swiper--route {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6875rem;
    margin-top: 2.5rem;
    padding-bottom: 0;
    margin-left: 0;
  }
}

.p-access__route-img {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-access__route-img {
    max-width: 23.75rem;
  }
}
.p-access__route-img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 240/360;
}
@media screen and (min-width: 768px) {
  .p-access__route-img img {
    aspect-ratio: 280/380;
  }
}

@media screen and (min-width: 768px) {
  .p-access__swiper--environment {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.5625rem 3.75rem;
    margin-top: 2.5rem;
    padding-bottom: 0;
    margin-left: 0;
  }
}

.p-access__environment-img {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-access__environment-img {
    max-width: 22.5rem;
  }
}
.p-access__environment-img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 310/233;
}
@media screen and (min-width: 768px) {
  .p-access__environment-img img {
    aspect-ratio: 360/270;
  }
}

.p-access .swiper {
  overflow: visible;
}
.p-access .swiper-pagination .swiper-pagination-bullet {
  opacity: 1;
  width: 0.375rem;
  height: 0.375rem;
  background: #fff;
  background: #B60200;
}
@media screen and (min-width: 768px) {
  .p-access .swiper-pagination .swiper-pagination-bullet {
    display: none;
  }
}
.p-access .swiper-pagination .swiper-pagination-bullet-active {
  transform: scale(1.67);
  background: #B60200;
}
.p-access .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .p-access .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 0.34375rem;
}
.p-access .swiper-horizontal > .swiper-pagination-bullets, .p-access .swiper-pagination-bullets.swiper-pagination-horizontal, .p-access .swiper-pagination-custom, .p-access .swiper-pagination-fraction {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.p-access .p-swiper-buttonWrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .p-access .p-swiper-buttonWrapper {
    margin-top: -0.3125rem;
  }
}
@media screen and (max-width: 1200px) {
  .p-access .p-swiper-buttonWrapper {
    margin-top: -0.125rem;
  }
}
.p-access .swiper-button-next, .p-access .swiper-button-prev {
  position: relative;
  width: 0.9375rem;
  height: 0.9375rem;
  background: url("../images/common/arrow-left-red.webp") no-repeat center center/contain;
}
@media screen and (min-width: 768px) {
  .p-access .swiper-button-next, .p-access .swiper-button-prev {
    display: none;
  }
}
.p-access .swiper-button-next, .p-access .swiper-button-next {
  position: relative;
  width: 0.9375rem;
  height: 0.9375rem;
  background: url("../images/common/arrow-right-red.webp") no-repeat center center/contain;
}
@media screen and (min-width: 768px) {
  .p-access .swiper-button-next, .p-access .swiper-button-next {
    display: none;
  }
}
.p-access .swiper-button-disabled {
  opacity: 0;
  visibility: hidden;
}

.p-access__btnWrap {
  text-align: center;
  margin-top: 3.75rem;
}
@media screen and (min-width: 768px) {
  .p-access__btnWrap {
    margin-top: 6.25rem;
  }
}

.inquiry {
  width: 100%;
}

.inquiry__wrap {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 430px) {
  .inquiry__wrap {
    width: 100%;
    padding: 0 0.75rem;
  }
}
.inquiry-content {
  border-bottom: solid 1.6px #e2e2e2;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.inquiry-content .error {
  color: #e74566;
  font-weight: bold;
}

.inquiry__title {
  text-align: center;
  color: #e74566;
}

.inquiry__title h2 {
  margin: 0 auto 1.25em auto;
  font-size: 2rem;
}

.inquiry__title h2.confirm {
  color: #ffa200;
}

@media screen and (max-width: 430px) {
  .inquiry__title h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}
.inquiry .title {
  font-size: 1.1rem;
  display: block;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

@media screen and (max-width: 430px) {
  .inquiry .title {
    margin-bottom: 0.75rem;
  }
}
.inquiry .required {
  font-size: 0.75rem;
  background-color: #ec3232;
  color: #fff;
  border-radius: 3px;
  font-family: "noto-sans-cjk-jp", sans-serif;
  padding: 0.25rem 0.6875rem;
  margin-left: 0.625rem;
}

@media screen and (max-width: 430px) {
  .inquiry .required {
    font-size: 0.75rem;
    padding: 0.15rem 0.25rem;
    font-weight: normal;
  }
}
.inquiry input, .inquiry select, .inquiry textarea {
  background-color: #eee;
  border: none;
  padding: 0.625rem;
  font-size: 1rem;
  border-radius: 0.1875rem;
}

@media screen and (max-width: 430px) {
  .inquiry input, .inquiry select, .inquiry textarea {
    padding: 0.5rem;
  }
}
.inquiry textarea {
  width: 100%;
  resize: none;
  box-sizing: border-box;
}

@media screen and (max-width: 430px) {
  .inquiry textarea {
    height: 5rem;
  }
}
.inquiry select {
  width: 18.4375rem;
}

@media screen and (max-width: 430px) {
  .inquiry select {
    width: 100%;
  }
}
.inquiry label {
  margin: 0 1rem 0.5rem 0;
}

.inquiry label:hover {
  cursor: pointer;
}

.form-radio {
  height: auto;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 0.25rem 0 0;
  border-radius: 50% !important;
  vertical-align: -0.3125rem;
}

.form-radio:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #000;
  content: "";
}

.form-name {
  width: calc(100% - 3rem);
}

@media screen and (max-width: 430px) {
  .form-name {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
.form-email {
  width: 70%;
}

@media screen and (max-width: 430px) {
  .form-email {
    width: 100%;
  }
}
.form-tel {
  width: 8rem;
}

@media screen and (max-width: 430px) {
  .form-tel {
    width: 4.5rem;
  }
}
.form-zipcode1 {
  width: 5rem;
}

@media screen and (max-width: 430px) {
  .form-zipcode1 {
    width: 3.5rem;
  }
}
.form-zipcode2 {
  width: 7rem;
}

@media screen and (max-width: 430px) {
  .form-zipcode2 {
    width: 4.5rem;
  }
}
.form-address_line1 {
  width: 70%;
}

@media screen and (max-width: 430px) {
  .form-address_line1 {
    width: 100%;
  }
}
.radio-warpper {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1rem;
}

.name-wapper {
  display: flex;
  justify-content: flex-start;
}

.name-wapper > div {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 430px) {
  .name-wapper {
    flex-direction: column;
    width: 100%;
  }
}
.name-wapper div {
  flex-basis: 48%;
}

@media screen and (max-width: 430px) {
  .name-wapper div {
    flex-basis: 100%;
  }
}
.name-wapper span {
  font-size: 0.85em;
  font-weight: bold;
  margin-bottom: 0.25em;
}

@media screen and (max-width: 430px) {
  .name-wapper span {
    font-size: 0.75em;
  }
}
.send-button {
  text-align: center;
}

.send-button button {
  color: #fff;
  background-color: #ffa200;
  border-radius: 100px;
  border: 4px solid #fff;
  text-align: center;
  box-shadow: 0px 0.1px 0.9px #707070;
  padding: 0.5rem 3rem;
  font-size: 1.15rem;
  width: auto;
  margin: auto 1rem;
  cursor: pointer;
}

.send-button button.back-btn {
  background-color: #d9f0f8;
  color: #094558;
}

.hyphen {
  margin: 0 0.25rem;
  font-size: 1.5rem;
  line-height: 0;
}

.flex-layout {
  display: flex;
  flex-direction: column;
}

.flex-layout footer {
  margin-top: auto;
}

.p-counseling {
  padding: 4.375rem 0;
  background: url("../images/sp/top/top-bg-gray.webp") no-repeat center center/cover;
}
@media screen and (min-width: 768px) {
  .p-counseling {
    background: url("../images/top/top-bg-gray.webp") no-repeat center center/cover;
    padding: 6.25rem 0 6.875rem;
  }
}

.p-counseling .c-title__head:not(:root) {
  font-size: 3.125rem;
}
@media screen and (min-width: 768px) {
  .p-counseling .c-title__head:not(:root) {
    font-size: 5rem;
  }
}
@media screen and (max-width: 389px) {
  .p-counseling .c-title__head:not(:root) {
    font-size: 2.8125rem;
  }
}
.p-counseling .c-title__head:not(:root) span {
  font-size: 2.5rem;
}
@media screen and (min-width: 768px) {
  .p-counseling .c-title__head:not(:root) span {
    font-size: 3.75rem;
  }
}

.p-counseling .c-title__sub:not(:root) {
  font-size: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-counseling .c-title__sub:not(:root) {
    font-size: 2.5rem;
  }
}

.p-counseling__list {
  max-width: 62.5rem;
  margin: 4.375rem auto 0;
}

.p-counseling-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16);
}
@media screen and (min-width: 768px) {
  .p-counseling-card {
    flex-direction: row;
  }
}
@media screen and (min-width: 768px) {
  .p-counseling-card:nth-child(even) {
    flex-direction: row-reverse;
  }
}
.p-counseling-card:not(:first-child) {
  margin-top: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-counseling-card:not(:first-child) {
    margin-top: 0.9375rem;
  }
}

.p-counseling-card__img {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-counseling-card__img {
    max-width: 23.75rem;
  }
}
.p-counseling-card__img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 350/200;
}
@media screen and (min-width: 768px) {
  .p-counseling-card__img img {
    aspect-ratio: 380/285;
  }
}

.p-counseling-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
  padding: 1.875rem 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-counseling-card__content {
    gap: 1.25rem;
    padding: 0 3.75rem;
    justify-content: center;
  }
}

.p-counseling-card__heading {
  font-weight: 900;
  font-family: "Noto Serif JP", serif;
  font-size: 1.125rem;
}
@media screen and (min-width: 768px) {
  .p-counseling-card__heading {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 389px) {
  .p-counseling-card__heading {
    font-size: 1rem;
  }
}
.p-counseling-card__heading strong {
  color: #B60200;
  font-size: 1.5rem;
}
@media screen and (min-width: 768px) {
  .p-counseling-card__heading strong {
    font-size: 2rem;
  }
}
@media screen and (max-width: 389px) {
  .p-counseling-card__heading strong {
    font-size: 1.25rem;
  }
}
.p-counseling-card__heading span {
  color: #B60200;
}

.p-counseling-card__text {
  font-size: 0.875rem;
  line-height: 1.5714285714;
  font-weight: 500;
}
.p-counseling-card__text span {
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-counseling-card__text {
    font-size: 1rem;
    line-height: 1.5625;
  }
}

.p-counseling__note {
  text-align: center;
  font-weight: 700;
  line-height: 1.6666666667;
  font-size: 1.125rem;
  margin-top: 2.5rem;
}
@media screen and (min-width: 768px) {
  .p-counseling__note {
    line-height: 1.6666666667;
    font-size: 1.5rem;
    margin-top: 4.125rem;
  }
}

.p-counseling__btnWrap {
  margin-top: 3.5625rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-counseling__btnWrap {
    margin-top: 5rem;
  }
}

.p-course {
  padding: 4.375rem 0;
  background: url("../images/sp/top/top-bg-gray-sm.webp") no-repeat center center/cover;
}
@media screen and (min-width: 768px) {
  .p-course {
    background: url("../images/top/top-bg-gray-sm.webp") no-repeat center center/cover;
    padding: 6.25rem 0 6.875rem;
  }
}

.p-course__list {
  display: grid;
  gap: 1.875rem;
  max-width: 75rem;
  margin: 1.625rem auto 0;
}
@media screen and (min-width: 768px) {
  .p-course__list {
    margin: 3.75rem auto 0;
    gap: 0.9375rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-course-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.1875rem 0.3125rem rgba(0, 0, 0, 0.16);
}

.p-course-card__category {
  letter-spacing: 0.04em;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  color: #B60200;
  text-align: center;
  position: relative;
  border-bottom: 2px solid #B60200;
  padding-bottom: 0.625rem;
  font-size: 1.5rem;
}
@media screen and (min-width: 768px) {
  .p-course-card__category {
    font-size: 1.875rem;
  }
}
.p-course-card__category::before {
  position: absolute;
  content: "";
  left: 50%;
  bottom: -0.625rem;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 0.625rem solid transparent;
  border-left: 0.625rem solid transparent;
  border-top: 0.625rem solid #B60200;
  border-bottom: 0;
}

.p-course-card__title {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  font-size: 1.5rem;
  margin-top: 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-course-card__title {
    font-size: 1.875rem;
    margin-top: 1.875rem;
  }
}

.p-course-card__labels {
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.25rem;
  gap: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-course-card__labels {
    margin-top: 1.875rem;
  }
}

.p-course-card__label {
  background: #B60200;
  color: #fff;
  letter-spacing: 0.02em;
  width: 100%;
  font-weight: 500;
  text-align: center;
  font-size: 0.875rem;
  padding: 0.1875rem;
  max-width: 4.375rem;
}
@media screen and (min-width: 768px) {
  .p-course-card__label {
    font-size: 1rem;
    padding: 0.3125rem;
  }
}

.p-course-card__text {
  letter-spacing: 0.02em;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  margin-top: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-course-card__text {
    font-size: 1rem;
    line-height: 1.5625;
  }
}

.p-course__btnWrap {
  margin-top: 3.125rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-course__btnWrap {
    margin-top: 5.9375rem;
  }
}

.p-faq {
  padding: 4.375rem 0 4.8125rem;
}
@media screen and (min-width: 768px) {
  .p-faq {
    padding: 6.875rem 0 6.25rem;
  }
}

.p-faq-list {
  margin: 2.5rem auto 0;
  max-width: 52.5rem;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-faq-list {
    margin: 5rem auto 0;
  }
}

.p-faq-list__item + .p-faq-list__item {
  margin-top: 0.9375rem;
}
@media screen and (min-width: 768px) {
  .p-faq-list__item + .p-faq-list__item {
    margin-top: 1.25rem;
  }
}

.p-faq-list__item-question {
  display: flex;
  gap: 0.25rem;
  background: linear-gradient(to bottom, #D60200, #C40603);
  box-shadow: 0 0.1875rem 0.3125rem 0 rgba(0, 0, 0, 0.016);
  position: relative;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.875rem;
  padding: 0.9375rem 2.75rem 0.9375rem 0.9375rem;
  line-height: 1.5714285714;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .p-faq-list__item-question {
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    font-size: 1rem;
  }
}

.p-faq-list__item-question::before {
  content: "";
  position: absolute;
  top: 45%;
  right: 1.25rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.1875rem solid #fff;
  border-right: 0.1875rem solid #fff;
  transform: translateY(-50%) rotate(135deg);
  transition: 0.3s;
}
@media screen and (min-width: 768px) {
  .p-faq-list__item-question::before {
    width: 0.8125rem;
    height: 0.8125rem;
  }
}

.p-faq-list__item-question.is-open::before {
  top: 54%;
  transform: translateY(-50%) rotate(315deg);
}

.p-faq-list__item-question span {
  display: inline-block;
  font-family: "Inter", sans-serif;
}

.p-faq-list__item-answer {
  gap: 0.25rem;
  display: none;
  letter-spacing: 0.02em;
  font-size: 0.875rem;
  padding: 0.9375rem 2.75rem 0.9375rem 0.9375rem;
  line-height: 1.5714285714;
  cursor: pointer;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .p-faq-list__item-answer {
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    font-size: 1rem;
  }
}

.p-faq-list__item-answer span {
  display: inline-block;
  color: #B60200;
  font-family: "Inter", sans-serif;
}

.p-faq__btnWrap {
  text-align: center;
  margin-top: 2.1875rem;
}
@media screen and (min-width: 768px) {
  .p-faq__btnWrap {
    margin-top: 3.75rem;
  }
}

.p-feature {
  padding: 1.875rem 0;
  background: url("../images/top/top-bg-red.webp") no-repeat top center/cover;
}
@media screen and (min-width: 768px) {
  .p-feature {
    padding: 7.5rem 0;
  }
}

.p-feature .c-title__head:not(:root) {
  font-size: 3.125rem;
}
@media screen and (min-width: 768px) {
  .p-feature .c-title__head:not(:root) {
    font-size: 5rem;
  }
}
@media screen and (max-width: 389px) {
  .p-feature .c-title__head:not(:root) {
    font-size: 2.8125rem;
  }
}
.p-feature .c-title__head:not(:root) span {
  font-size: 2.5rem;
}
@media screen and (min-width: 768px) {
  .p-feature .c-title__head:not(:root) span {
    font-size: 3.75rem;
  }
}

.p-feature .c-title__sub:not(:root) {
  font-size: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-feature .c-title__sub:not(:root) {
    font-size: 2.5rem;
  }
}

.p-feature__body {
  background-color: #fff;
  padding: 1.875rem 1.25rem 3.125rem;
  letter-spacing: 0.04em;
}
@media screen and (min-width: 768px) {
  .p-feature__body {
    padding: 3.125rem 6.25rem 5.25rem;
  }
}

.p-feature__list1 {
  display: grid;
  gap: 1.875rem;
  margin-top: 1.875rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-feature__list1 {
    gap: 2.5rem;
    margin-top: 5rem;
    grid-template-columns: repeat(2, 1fr);
  }
}
.p-feature__list1 .p-feature-card__header {
  background: linear-gradient(to bottom right, #D60200, #C40603);
  -webkit-clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
          clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.25;
  padding: 0.25rem 0.8125rem 0.25rem;
  width: 96.7%;
  white-space: nowrap;
  font-family: "Noto Serif JP", serif;
}
@media screen and (min-width: 768px) {
  .p-feature__list1 .p-feature-card__header {
    font-size: 1.5rem;
    padding: 0.5rem 1.25rem 0.5rem 1.5625rem;
    width: 86.2%;
  }
}
@media screen and (max-width: 389px) {
  .p-feature__list1 .p-feature-card__header {
    font-size: 0.875rem;
  }
}
.p-feature__list1 .p-feature-card__img {
  margin-top: -2.5rem;
  max-width: 36.25rem;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-feature__list1 .p-feature-card__img {
    margin-top: -4.6875rem;
  }
}
.p-feature__list1 .p-feature-card__img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 580/405;
}
.p-feature__list1 .p-feature-card__text {
  font-size: 0.875rem;
  margin-top: 1.25rem;
  line-height: 1.5714285714;
}
@media screen and (min-width: 768px) {
  .p-feature__list1 .p-feature-card__text {
    font-size: 1.125rem;
    margin-top: 1.9375rem;
    line-height: 1.7777777778;
  }
}
.p-feature__list1 .p-feature-card__text span {
  font-weight: 700;
}

.p-feature__list2 {
  display: grid;
  gap: 1.875rem;
  margin-top: 1.875rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-feature__list2 {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 5.625rem;
  }
}
.p-feature__list2 .p-feature-card__header {
  background: linear-gradient(to bottom right, #D60200, #C40603);
  -webkit-clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
          clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1.25;
  padding: 0.25rem 0.8125rem 0.25rem;
  width: 96.7%;
  font-family: "Noto Serif JP", serif;
}
@media screen and (min-width: 768px) {
  .p-feature__list2 .p-feature-card__header {
    font-size: 1.125rem;
    padding: 0.4375rem 1.25rem 0.4375rem 1.5625rem;
    width: 84.2%;
  }
}
.p-feature__list2 .p-feature-card__img {
  margin-top: -2.5rem;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-feature__list2 .p-feature-card__img {
    max-width: 23.75rem;
    margin-top: -3.75rem;
  }
}
.p-feature__list2 .p-feature-card__img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 380/262;
}
.p-feature__list2 .p-feature-card__text {
  font-size: 0.875rem;
  margin-top: 1.25rem;
  line-height: 1.5714285714;
}
@media screen and (min-width: 768px) {
  .p-feature__list2 .p-feature-card__text {
    font-size: 1rem;
    margin-top: 1.25rem;
    line-height: 1.5625;
  }
}
.p-feature__list2 .p-feature-card__text span {
  font-weight: 700;
}

.p-feature__list3 {
  display: grid;
  gap: 0 1.25rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.5rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-feature__list3 {
    gap: 1.6875rem;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 4.375rem;
  }
}
.p-feature__list3 .p-feature-card__header {
  font-size: 1rem;
  font-weight: 900;
  color: #B60200;
  height: 2.6875rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  font-family: "Noto Serif JP", serif;
}
@media screen and (min-width: 768px) {
  .p-feature__list3 .p-feature-card__header {
    display: inline-block;
    height: initial;
    text-align: left;
    background: linear-gradient(to bottom right, #D60200, #C40603);
    -webkit-clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
            clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
    color: #fff;
    font-size: 1rem;
    padding: 0.375rem 0.5rem 0.375rem 0.6875rem;
    width: 93%;
    white-space: nowrap;
  }
}
.p-feature__list3 .p-feature-card__img {
  max-width: 17.5rem;
  width: 100%;
  margin-top: 0.9375rem;
}
@media screen and (min-width: 768px) {
  .p-feature__list3 .p-feature-card__img {
    margin-top: -2.8125rem;
  }
}
.p-feature__list3 .p-feature-card__img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 280/200;
}
.p-feature__list3 .p-feature-card__text {
  font-size: 0.875rem;
  margin-top: 0.625rem;
  line-height: 1.5714285714;
}
@media screen and (min-width: 768px) {
  .p-feature__list3 .p-feature-card__text {
    font-size: 1rem;
    line-height: 1.5625;
  }
}
.p-feature__list3 .p-feature-card__text span {
  font-weight: 700;
}

.p-footer {
  padding: 2.5rem 0;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 3.125rem;
}
@media screen and (min-width: 768px) {
  .p-footer {
    margin-bottom: 0;
    padding: 2.75rem 0;
  }
}

.p-footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1875rem;
}
@media screen and (min-width: 768px) {
  .p-footer__logo {
    gap: 1.375rem;
  }
}

.p-footer__logo-img {
  display: block;
  max-width: 8.25rem;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-footer__logo-img {
    max-width: 9.8125rem;
  }
}
.p-footer__logo-img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 132/63;
}
@media screen and (min-width: 768px) {
  .p-footer__logo-img img {
    aspect-ratio: 157/74;
  }
}

.p-footer__logo-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5625rem;
  font-weight: 900;
}
@media screen and (min-width: 768px) {
  .p-footer__logo-text {
    font-size: 1.875rem;
  }
}

.p-footer__nav {
  margin-top: 0.9375rem;
}
@media screen and (min-width: 768px) {
  .p-footer__nav {
    display: flex;
    justify-content: center;
    margin-top: 3.125rem;
  }
}

.p-footer__nav-item {
  font-weight: 500;
  position: relative;
  font-size: 0.875rem;
  display: block;
}
@media screen and (min-width: 768px) {
  .p-footer__nav-item {
    font-size: 1rem;
  }
}
.p-footer__nav-item:not(:last-child) {
  border-bottom: 1px solid #B60200;
}
@media screen and (min-width: 768px) {
  .p-footer__nav-item:not(:last-child) {
    border: none;
  }
}
@media screen and (min-width: 768px) {
  .p-footer__nav-item:not(:last-child)::before {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.25rem;
    right: 0;
    background-color: #B60200;
  }
}

.p-footer__nav-item a {
  display: block;
  color: inherit;
  padding: 0.9375rem 0;
}
@media screen and (min-width: 768px) {
  .p-footer__nav-item a {
    display: inline-block;
    padding: 0.625rem 1.875rem;
  }
}

.p-footer__copyright {
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
  margin-top: 2.1875rem;
}
@media screen and (min-width: 768px) {
  .p-footer__copyright {
    margin-top: 3.125rem;
  }
}

.p-fv {
  background: linear-gradient(to bottom, #FFF6E6, #FFD4BE);
  padding: 15.9375rem 0 2.125rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  margin-top: 3.75rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-fv {
    margin-top: 6.25rem;
    padding: 5.3125rem 0 6.25rem;
  }
}
.p-fv::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  background: url("../images/sp/top/fv-img.webp") no-repeat top center/cover;
}
@media screen and (min-width: 768px) {
  .p-fv::before {
    background: url("../images/top/fv-img.webp") no-repeat center center/cover;
  }
}
.p-fv::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 21.5625rem;
  bottom: 0;
  left: 0;
  transform: none;
  background: url("../images/sp/top/fv-title-bg.webp") no-repeat left center/contain;
}
@media screen and (min-width: 768px) {
  .p-fv::after {
    display: none;
  }
}

.p-fv__content {
  max-width: 20rem;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .p-fv__content {
    max-width: 39.5rem;
  }
}
@media screen and (min-width: 768px) {
  .p-fv__content::before {
    position: absolute;
    content: "";
    z-index: -1;
    width: 118%;
    height: 110%;
    bottom: 0;
    right: 0;
    transform: none;
    background: url("../images/top/fv-title-bg.webp") no-repeat center center/contain;
  }
}

.p-fv__lead {
  font-size: 1.75rem;
}
@media screen and (min-width: 768px) {
  .p-fv__lead {
    font-size: 3.75rem;
  }
}

.p-fv__lead-accent {
  color: #B60200;
}

.p-fv__heading {
  line-height: 1.1;
  color: #B60200;
  margin-top: 0.625rem;
  font-size: 3.1875rem;
}
@media screen and (min-width: 768px) {
  .p-fv__heading {
    margin-top: 1.5rem;
    font-size: 6.25rem;
  }
}

.p-fv__heading-sm {
  color: #292929;
  display: inline-block;
  font-size: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-fv__heading-sm {
    font-size: 3.75rem;
  }
}

.p-fv__subtext {
  font-size: 0.9375rem;
  margin-top: 0.75rem;
  letter-spacing: 0;
}
@media screen and (min-width: 768px) {
  .p-fv__subtext {
    font-size: 1.625rem;
    margin-top: 1.9375rem;
  }
}

.p-fv__brand {
  font-size: 2.1875rem;
  color: #B60200;
  line-height: 1.4;
}
@media screen and (min-width: 768px) {
  .p-fv__brand {
    font-size: 3.75rem;
  }
}

.p-greeting {
  padding: 4.375rem 0;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-greeting {
    padding: 7.5rem 0 13.5rem;
  }
}
.p-greeting::before {
  width: 89.7%;
  height: 25rem;
  top: 11.25rem;
  position: absolute;
  content: "";
  right: 0;
  z-index: -1;
  background: url("../images/top/top-bg-gray.webp") no-repeat center center/cover;
}
@media screen and (min-width: 768px) {
  .p-greeting::before {
    width: 62.5%;
    top: auto;
    height: 42.5rem;
    bottom: 6.25rem;
  }
}

.p-greeting__body {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.875rem;
  margin-top: 3.25rem;
}
@media screen and (min-width: 768px) {
  .p-greeting__body {
    margin-top: 4rem;
    gap: 6.25rem;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
}

.p-greeting__text {
  max-width: 50rem;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  letter-spacing: 0.02em;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .p-greeting__text {
    font-size: 1rem;
    line-height: 1.5625;
  }
}
.p-greeting__text span {
  font-weight: 700;
}

.p-greeting__img {
  max-width: 21.875rem;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-greeting__img {
    max-width: 31.25rem;
  }
}
.p-greeting__img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 350/240;
}
@media screen and (min-width: 768px) {
  .p-greeting__img img {
    aspect-ratio: 500/400;
  }
}

.p-greeting__name {
  font-size: 1.125rem;
  margin-top: 0.9375rem;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .p-greeting__name {
    font-size: 1.3125rem;
    margin-top: 2.5rem;
  }
}

.p-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.625rem 0;
  z-index: 100;
}
@media screen and (min-width: 768px) {
  .p-header {
    padding: 0.8125rem 0;
  }
}

.p-header__inner {
  max-width: 118.75rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-header__inner {
    padding: 0 3.125rem;
  }
}

.p-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-header__logo {
    gap: 1.375rem;
  }
}

.p-header__logo-img {
  display: block;
  max-width: 5.125rem;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .p-header__logo-img {
    max-width: 9.8125rem;
  }
}
.p-header__logo-img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 82/39;
}
@media screen and (min-width: 768px) {
  .p-header__logo-img img {
    aspect-ratio: 157/74;
  }
}

.p-header__logo-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
}
@media screen and (min-width: 768px) {
  .p-header__logo-text {
    font-size: 1.875rem;
  }
}

.p-header__btn {
  font-weight: 700;
  color: #fff;
  line-height: 1;
  background: linear-gradient(0deg, #691015, #97151b 20%, #d9030a);
  position: fixed;
  z-index: 99;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.0625rem 1.25rem;
  border-radius: 0.625rem 0.625rem 0 0;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-header__btn {
    padding: 1.0625rem 1.25rem;
    font-size: 1.125rem;
    border-radius: 2.5rem;
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
  }
}

.p-info {
  padding: 4.375rem 0;
}
@media screen and (min-width: 768px) {
  .p-info {
    padding: 7.5rem 0;
  }
}

.p-info__list {
  max-width: 75rem;
  display: grid;
  margin: 1.875rem auto 0;
  gap: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-info__list {
    margin: 5rem auto 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.75rem;
  }
}

.p-info-card__link {
  display: block;
}
.p-info-card__link:hover {
  opacity: 1;
}
.p-info-card__link:hover img {
  transform: scale(1.05);
}

.p-info-card__img {
  width: 100%;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-info-card__img {
    max-width: 22.5rem;
  }
}
.p-info-card__img img {
  transition: transform 0.3s;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 360/188.4;
}

.p-info-card__title {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  margin-top: 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-info-card__title {
    font-size: 1rem;
    line-height: 1.5625;
    margin-top: 1.5625rem;
  }
}

.p-info-btnWrap {
  margin-top: 2.5rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-info-btnWrap {
    margin-top: 6.25rem;
  }
}

.p-info__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5625rem;
  text-align: center;
  max-width: 25rem;
  width: 100%;
  font-size: 1.3125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(0deg, #1b1464, #1b1464 20%, #2e3191);
  border-radius: 0.3125rem;
}

.p-intro {
  text-align: center;
  padding: 4.375rem 0 0;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-intro {
    padding: 7.5rem 0 0;
  }
}
.p-intro::before {
  width: 89.7%;
  height: 25rem;
  bottom: 0.3125rem;
  position: absolute;
  content: "";
  left: 0;
  z-index: -1;
  background: url("../images/sp/top/top-bg-gray.webp") no-repeat center center/cover;
}
@media screen and (min-width: 768px) {
  .p-intro::before {
    background: url("../images/top/top-bg-gray.webp") no-repeat center center/cover;
    width: 62.5%;
    height: 42.5rem;
    bottom: 1.25rem;
  }
}

.p-intro__text {
  font-size: clamp(0.813rem, -4rem + 20vw, 0.875rem);
  margin-top: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-intro__text {
    margin-top: 3.125rem;
  }
}

.p-intro__video {
  max-width: 21.875rem;
  margin: 1.875rem auto 0;
}
@media screen and (min-width: 768px) {
  .p-intro__video {
    max-width: 45rem;
    margin: 3.125rem auto 0;
  }
}
.p-intro__video iframe {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 350/197;
}
@media screen and (min-width: 768px) {
  .p-intro__video iframe {
    aspect-ratio: 720/405;
  }
}

.p-intro__btn {
  margin-top: 2.5rem;
}
@media screen and (min-width: 768px) {
  .p-intro__btn {
    margin-top: 4.375rem;
  }
}

.p-news-archive__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.875rem 1.625rem;
}
@media screen and (min-width: 768px) {
  .p-news-archive__list {
    gap: 4.375rem 3.75rem;
  }
}

.p-news-archive__link {
  display: block;
}
.p-news-archive__link:hover {
  opacity: 1;
}
.p-news-archive__link:hover img {
  transform: scale(1.05);
}

.p-news-archive__img {
  max-width: 27.5rem;
  width: 100%;
  overflow: hidden;
}
.p-news-archive__img img {
  transition: transform 0.3s;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 162/97;
}
@media screen and (min-width: 768px) {
  .p-news-archive__img img {
    aspect-ratio: 440/270;
  }
}

.p-news-archive__title {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  margin-top: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-news-archive__title {
    font-size: 1rem;
    line-height: 1.5625;
    margin-top: 1.875rem;
  }
}

.p-news-recommend .p-sidebar__title {
  color: #fff;
  margin-top: 4.375rem;
}
@media screen and (min-width: 768px) {
  .p-news-recommend .p-sidebar__title {
    margin-top: 10rem;
    max-width: 20.625rem;
  }
}

.p-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3.125rem;
}
@media screen and (min-width: 768px) {
  .p-pagination {
    margin-top: 7.5rem;
  }
}

.p-pagination__list {
  display: flex;
  gap: 0.375rem;
}
@media screen and (min-width: 768px) {
  .p-pagination__list {
    gap: 0.625rem;
  }
}

.p-pagination__item {
  width: 2.125rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-pagination__item {
    width: 3.125rem;
    height: 3.75rem;
  }
}

.p-pagination__item.is-current {
  background-color: #B60200;
  color: #fff;
}

.p-pagination__item.is-dots .p-pagination__link:not(:root) {
  pointer-events: none;
  background-color: initial;
}

.p-pagination__link {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  background-color: #F2F2F2;
  font-family: "Inter", sans-serif;
  color: #292929;
  transition: all 0.3s;
}
@media screen and (min-width: 768px) {
  .p-pagination__link {
    line-height: 3.75rem;
    font-size: 1.25rem;
  }
  .p-pagination__link:hover {
    opacity: 1;
    background-color: #D6D6D6;
  }
}

.p-pagination__link.is-arrow,
.p-pagination__link.next,
.p-pagination__link.prev {
  color: #B60200;
  font-size: 1.125rem;
  background-color: initial;
  font-weight: 500;
  color: #B60200;
}

.p-result {
  padding: 3.75rem 0;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-result {
    padding: 7.5rem 0;
  }
}

.p-result__content {
  position: relative;
  z-index: 2;
}

.p-result__body {
  padding: 1.875rem 1.25rem;
  background: linear-gradient(to bottom, #EAF8FF, #FFD8D8);
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-result__body {
    padding: 3.75rem 6.25rem 5rem;
  }
}
.p-result__body::before {
  position: absolute;
  content: "";
  width: 16.0625rem;
  height: 17.375rem;
  right: -17%;
  top: -3%;
  background: url("../images/top/top-result-sakura01.webp") no-repeat center center/cover;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-result__body::before {
    width: 34.625rem;
    height: 37.5rem;
    right: -6%;
    top: -6%;
  }
}
.p-result__body::after {
  position: absolute;
  content: "";
  width: 18.9375rem;
  height: 16.875rem;
  left: -11%;
  bottom: -5%;
  background: url("../images/top/top-result-sakura02.webp") no-repeat center center/cover;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-result__body::after {
    width: 34.625rem;
    height: 37.5rem;
    left: -6%;
    bottom: -6%;
  }
}

.p-result__title {
  text-align: center;
  font-weight: 900;
  color: #B60200;
  letter-spacing: 0.04em;
  font-family: "Noto Serif JP", serif;
  line-height: 1.25;
  font-size: 2.5rem;
  margin-bottom: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-result__title {
    font-size: 5rem;
    margin-bottom: 2.9375rem;
  }
}

.p-result__list {
  display: grid;
  gap: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-result__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.875rem 2.5rem;
  }
}

.p-result-card {
  border: 0.125rem solid #B60200;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-result-card {
    gap: 1.25rem;
    padding: 1.875rem;
  }
}

.p-result-card__img {
  max-width: 5rem;
  width: 100%;
  overflow: hidden;
  border-radius: 50%;
}
@media screen and (min-width: 768px) {
  .p-result-card__img {
    max-width: 7.5rem;
  }
}
.p-result-card__img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 120/120;
}

.p-result-card__text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media screen and (min-width: 768px) {
  .p-result-card__text {
    font-size: 1rem;
  }
}
.p-result-card__text span {
  font-size: 1rem;
  margin-top: 0.3125rem;
  font-weight: 900;
  font-family: "Noto Serif JP", serif;
  display: inline-block;
}
@media screen and (min-width: 768px) {
  .p-result-card__text span {
    margin-top: 0.625rem;
    font-size: 1.3125rem;
  }
}

.p-result-card__name {
  font-size: 0.75rem;
  margin-top: 0.3125rem;
  letter-spacing: 0.02em;
}
@media screen and (min-width: 768px) {
  .p-result-card__name {
    font-size: 1rem;
    margin-top: 0.625rem;
  }
}

.p-result__note {
  text-align: center;
  letter-spacing: 0.02em;
  margin-top: 1.3125rem;
  font-size: 0.75rem;
  line-height: 1.5625;
}
@media screen and (min-width: 768px) {
  .p-result__note {
    font-size: 1rem;
    margin-top: 3.125rem;
  }
}

.p-result__schools {
  margin-top: 2.375rem;
  padding: 2.125rem 1.25rem;
  background-color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-result__schools {
    font-size: 1.5rem;
    margin-top: 1.75rem;
    padding: 2.6875rem 3.125rem;
  }
}
.p-result__schools span {
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.875rem;
  margin-top: 1.25rem;
  display: inline-block;
}
@media screen and (min-width: 768px) {
  .p-result__schools span {
    font-size: 1rem;
  }
}

.p-content__sidebar {
  margin-top: 5rem;
}
@media screen and (min-width: 768px) {
  .p-content__sidebar {
    margin-top: -4.6875rem;
    width: 20.625rem;
    flex-shrink: 0;
  }
}

.p-sidebar__title {
  background: linear-gradient(to bottom right, #D60200, #C40603);
  -webkit-clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
          clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  padding: 0.25rem 0.8125rem;
  width: 100%;
  font-family: "Noto Serif JP", serif;
  margin-top: 3.75rem;
}
@media screen and (min-width: 768px) {
  .p-sidebar__title {
    margin-top: 4.6875rem;
    padding: 0.4375rem 1.5625rem;
    font-size: 1.5rem;
  }
}

.p-sidebar-news__list {
  margin-top: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-sidebar-news__list {
    margin-top: 2rem;
  }
}

.p-sidebar-news__item + .p-sidebar-news__item {
  margin-top: 1.25rem;
}

.p-sidebar-news__link {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}
.p-sidebar-news__link:hover {
  opacity: 1;
}
.p-sidebar-news__link:hover img {
  transform: scale(1.05);
}

.p-sidebar-news__img {
  width: 100%;
  max-width: 8.125rem;
  overflow: hidden;
}
.p-sidebar-news__img img {
  transition: transform 0.3s;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 130/68;
}

.p-sidebar-news__title {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  flex: 1;
}
@media screen and (min-width: 768px) {
  .p-sidebar-news__title {
    font-size: 1rem;
    line-height: 1.5625;
    max-width: 11.25rem;
  }
}

.p-sidebar-campaign__item {
  margin-top: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-sidebar-campaign__item {
    margin-top: 2.5rem;
  }
}

.p-sidebar-campaign__img {
  max-width: 20.625rem;
  width: 100%;
}
.p-sidebar-campaign__img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-sidebar-campaign__item + .p-sidebar-campaign__item {
  margin-top: 1.3125rem;
}

.p-sub-news {
  margin-top: 3.75rem;
}
@media screen and (min-width: 768px) {
  .p-sub-news {
    margin-top: 6.25rem;
  }
}

.p-sub-news__bodyWrap {
  margin-top: 1.25rem;
  margin-bottom: 3.75rem;
}
@media screen and (min-width: 768px) {
  .p-sub-news__bodyWrap {
    margin-top: 6.25rem;
    margin-bottom: 7.5rem;
    display: flex;
    gap: 8.125rem;
    align-items: flex-start;
  }
}

.p-sub-news__title {
  font-weight: 900;
  color: #B60200;
  font-size: 1.75rem;
  line-height: 1.3571428571;
  margin-top: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-sub-news__title {
    font-size: 2.5rem;
    line-height: 1.325;
    margin-top: 6.25rem;
  }
}

.p-sub-news__body p {
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.875rem;
  line-height: 1.5714285714;
}
@media screen and (min-width: 768px) {
  .p-sub-news__body p {
    font-size: 1rem;
    line-height: 1.5625;
  }
}
.p-sub-news__body p + p {
  margin-top: 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-sub-news__body p + p {
    margin-top: 2.5rem;
  }
}
.p-sub-news__body figure {
  max-width: 19.375rem;
  margin: 2.5rem auto 0;
}
@media screen and (min-width: 768px) {
  .p-sub-news__body figure {
    margin: 5rem auto 0;
    max-width: 37.5rem;
  }
}
.p-sub-news__body img {
  display: block;
  margin: 0 auto;
}
.p-sub-news__body .wp-block-columns:not(:root) {
  margin-top: 1.875rem;
  margin-bottom: 0;
}
@media screen and (min-width: 768px) {
  .p-sub-news__body .wp-block-columns:not(:root) {
    flex-wrap: nowrap !important;
    margin-bottom: 1.875rem;
  }
}
.p-sub-news__body ol {
  list-style: decimal;
  padding-left: 1.2em;
  font-weight: 500;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-sub-news__body ol {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
}
.p-sub-news__body strong {
  color: #B60200;
  font-size: 1.125rem;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-sub-news__body strong {
    font-size: 1.5rem;
  }
}
.p-sub-news__body h2 {
  font-weight: 900;
  color: #B60200;
  letter-spacing: 0.04em;
  font-family: "Noto Serif JP", serif;
  border-bottom: 0.25rem solid #B60200;
  padding-bottom: 0.9375rem;
  margin-top: 3.125rem;
  margin-bottom: 1.875rem;
  font-size: 1.75rem;
  line-height: 1.2857142857;
}
@media screen and (min-width: 768px) {
  .p-sub-news__body h2 {
    padding-bottom: 1.25rem;
    margin-top: 5rem;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    line-height: 1.34375;
  }
}
.p-sub-news__body h3 {
  font-weight: 700;
  color: #B60200;
  letter-spacing: 0.02em;
  margin-top: 3.125rem;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.25;
  border-left: 0.25rem solid #B60200;
  padding: 0.625rem 1.25rem;
  background-color: #F2F2F2;
}
@media screen and (min-width: 768px) {
  .p-sub-news__body h3 {
    padding: 0.625rem 1.25rem;
    margin-top: 5rem;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
  }
}
.p-sub-news__body h4 {
  font-weight: 700;
  color: #B60200;
  letter-spacing: 0.02em;
  border-bottom: 0.25rem solid #B60200;
  padding-bottom: 0.625rem;
  margin-top: 3.75rem;
  margin-bottom: 1.875rem;
  font-size: 1.125rem;
  line-height: 1.3888888889;
}
@media screen and (min-width: 768px) {
  .p-sub-news__body h4 {
    margin-top: 3.75rem;
    padding-bottom: 0.9375rem;
    margin-bottom: 1.875rem;
    font-size: 1.3125rem;
    line-height: 1.1904761905;
  }
}
.p-sub-news__body .wp-block-button {
  margin: 2.875rem auto 0;
  text-align: center;
  display: block;
}
@media screen and (min-width: 768px) {
  .p-sub-news__body .wp-block-button {
    margin: 7.375rem auto 0;
  }
}
.p-sub-news__body .wp-block-button__link {
  border-radius: 2.5rem;
  display: inline-block;
  padding: 1.0625rem 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  background: linear-gradient(0deg, #691015, #97151b 20%, #d9030a);
}
@media screen and (min-width: 768px) {
  .p-sub-news__body .wp-block-button__link {
    padding: 1.6875rem 4.0625rem;
  }
}
@media screen and (min-width: 768px) {
  .p-sub-news__body {
    flex: 1;
  }
}

.p-sub {
  margin-top: 3.75rem;
}
@media screen and (min-width: 768px) {
  .p-sub {
    margin-top: 6.25rem;
  }
}

.p-sub-top {
  overflow: hidden;
  position: relative;
  background: url("../images/sub/sub-top-bg.webp") no-repeat center center/cover;
}
.p-sub-top::before {
  position: absolute;
  content: "";
  top: 0;
  height: 100%;
  right: 0;
  width: 18.75rem;
  background: url("../images/sp/sub/about-top.webp") no-repeat left top/cover;
}
@media screen and (max-width: 550px) {
  .p-sub-top::before {
    right: -6.5625rem;
  }
}
@media screen and (min-width: 768px) {
  .p-sub-top::before {
    width: 55.7%;
    max-width: 68.9375rem;
    background: url("../images/sub/about-top.webp") no-repeat left top/cover;
  }
}

.p-news-archive .p-sub-top::before {
  position: absolute;
  content: "";
  top: 0;
  height: 100%;
  right: 0;
  width: 21.75rem;
  background: url("../images/sp/sub/news-top.webp") no-repeat left center/cover;
}
@media screen and (max-width: 500px) {
  .p-news-archive .p-sub-top::before {
    right: -2.5rem;
  }
}
@media screen and (min-width: 768px) {
  .p-news-archive .p-sub-top::before {
    right: -3.75rem;
    width: 63.4%;
    max-width: 66.875rem;
    background: url("../images/sub/news-top.webp") no-repeat left center/cover;
  }
}

.p-sub-top__inner {
  position: relative;
}

.p-sub-top__body {
  display: flex;
  align-items: center;
  height: 9.375rem;
}
@media screen and (min-width: 768px) {
  .p-sub-top__body {
    height: 28.75rem;
  }
}

.p-sub-top__title {
  font-weight: 900;
  font-family: "Noto Serif JP", serif;
  color: #B60200;
  position: relative;
  letter-spacing: 0.04em;
  font-size: 1.875rem;
  line-height: 1.3333333333;
}
@media screen and (min-width: 768px) {
  .p-sub-top__title {
    font-size: 5rem;
    line-height: 1.125;
  }
}
.p-sub-top__title span {
  font-size: 1.25rem;
  display: block;
  color: #292929;
  margin-bottom: 0.1875rem;
}
@media screen and (min-width: 768px) {
  .p-sub-top__title span {
    margin-bottom: 0.3125rem;
    font-size: 2.5rem;
  }
}

.p-sub-content {
  margin-top: 3.75rem;
  margin-bottom: 3.75rem;
}
@media screen and (min-width: 768px) {
  .p-sub-content {
    margin-top: 7.3125rem;
    margin-bottom: 7.5rem;
    display: flex;
    gap: 8.125rem;
    align-items: flex-start;
  }
}

.p-sub-content__textWrap > *:first-child {
  margin-top: 0;
}

.p-sub-content__textWrap p {
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.875rem;
  line-height: 1.5714285714;
}
@media screen and (min-width: 768px) {
  .p-sub-content__textWrap p {
    font-size: 1rem;
    line-height: 1.5625;
  }
}
.p-sub-content__textWrap p + p {
  margin-top: 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-sub-content__textWrap p + p {
    margin-top: 2.5rem;
  }
}
.p-sub-content__textWrap figure {
  max-width: 18.75rem;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .p-sub-content__textWrap figure {
    max-width: initial;
  }
}
.p-sub-content__textWrap .wp-block-columns:not(:root) {
  margin-top: 1.875rem;
  margin-bottom: 0;
}
@media screen and (min-width: 768px) {
  .p-sub-content__textWrap .wp-block-columns:not(:root) {
    margin-bottom: 1.875rem;
    flex-wrap: nowrap !important;
  }
}
.p-sub-content__textWrap ol {
  list-style: decimal;
  padding-left: 1.2em;
  font-weight: 500;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-sub-content__textWrap ol {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
}
.p-sub-content__textWrap strong {
  color: #B60200;
  font-size: 1.125rem;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-sub-content__textWrap strong {
    font-size: 1.5rem;
  }
}
.p-sub-content__textWrap h2 {
  font-weight: 900;
  color: #B60200;
  letter-spacing: 0.04em;
  font-family: "Noto Serif JP", serif;
  border-bottom: 0.25rem solid #B60200;
  padding-bottom: 0.3125rem;
  margin-top: 3.125rem;
  margin-bottom: 1.875rem;
  font-size: 1.75rem;
  line-height: 1.2857142857;
}
@media screen and (min-width: 768px) {
  .p-sub-content__textWrap h2 {
    margin-top: 7.5rem;
    margin-bottom: 3.75rem;
    font-size: 3.125rem;
  }
}
.p-sub-content__textWrap .wp-block-button {
  margin: 2.875rem auto 0;
  text-align: center;
  display: block;
}
@media screen and (min-width: 768px) {
  .p-sub-content__textWrap .wp-block-button {
    margin: 7.375rem auto 0;
  }
}
.p-sub-content__textWrap .wp-block-button__link {
  border-radius: 2.5rem;
  display: inline-block;
  padding: 1.0625rem 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  background: linear-gradient(0deg, #691015, #97151b 20%, #d9030a);
}
@media screen and (min-width: 768px) {
  .p-sub-content__textWrap .wp-block-button__link {
    padding: 1.6875rem 4.0625rem;
  }
}
@media screen and (min-width: 768px) {
  .p-sub-content__textWrap {
    flex: 1;
  }
}

#ez-toc-container:not(:root) {
  border-radius: 0;
  padding: 1.875rem 1.25rem;
  width: 100%;
  margin-top: 0.5rem;
}
@media screen and (min-width: 768px) {
  #ez-toc-container:not(:root) {
    margin-top: 3.75rem;
    padding: 2.6875rem 4.375rem;
  }
}

.ez-toc-title-container:not(:root) {
  text-align: center;
  font-size: 1.5rem;
  padding-bottom: 0.5625rem;
  border-bottom: 1px solid #B60200;
  letter-spacing: 0.02em;
}
@media screen and (min-width: 768px) {
  .ez-toc-title-container:not(:root) {
    padding-bottom: 0.875rem;
  }
}

.ez-toc-link:not(:root) {
  letter-spacing: 0.02em;
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  margin-top: 0.625rem;
}
@media screen and (min-width: 768px) {
  .ez-toc-link:not(:root) {
    font-size: 1rem;
    line-height: 1.5625;
    margin-top: 1rem;
  }
}

#ez-toc-container a:hover:not(:root) {
  text-decoration: none;
}

.p-teacher {
  padding: 3.125rem 0 3.75rem;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .p-teacher {
    padding: 6.25rem 0 0;
  }
}
.p-teacher::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  background: url("../images/sp/top/top-bg-red.webp") no-repeat top center/cover;
  z-index: -1;
  height: 100%;
}
@media screen and (min-width: 768px) {
  .p-teacher::before {
    background: url("../images/top/top-bg-red.webp") no-repeat top center/cover;
    height: 40.875rem;
  }
}

.p-teacher__inner:not(:root) {
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-teacher__inner:not(:root) {
    max-width: 106.875rem;
  }
}

.p-teacher .c-title > *:not(:root) {
  color: #fff;
}

.p-teacher__slider {
  margin-top: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-teacher__slider {
    margin-top: 5.375rem;
  }
}

.p-teacher-swiperWrapper {
  position: relative;
  padding-bottom: 3.125rem;
}
@media screen and (min-width: 768px) {
  .p-teacher-swiperWrapper {
    padding-bottom: 5rem;
  }
}
.p-teacher-swiperWrapper .swiper:not(:root) {
  overflow: visible;
  width: 100vw;
  margin-left: 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-teacher-swiperWrapper .swiper:not(:root) {
    width: 100%;
    margin-left: 0;
  }
}

.p-teacher-card {
  background: #fff;
  box-shadow: 0 0 0.875rem rgba(0, 0, 0, 0.16);
  padding: 1.875rem;
  letter-spacing: 0.02em;
  min-width: 18.125rem;
}

.p-teacher-card__img {
  max-width: 5.625rem;
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
}
.p-teacher-card__img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 90/90;
}

.p-teacher-card__box {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.p-teacher-card__name {
  font-size: 1rem;
  font-weight: 500;
}

.p-teacher-card__university {
  font-size: 0.875rem;
  margin-top: 0.3125rem;
  line-height: 1.4285714286;
  color: #B60200;
}

.p-teacher-card__subject {
  font-size: 0.875rem;
  line-height: 1.2857142857;
  margin-top: 0.9375rem;
}

.p-teacher-card__experience {
  font-size: 0.875rem;
  line-height: 1.2857142857;
  margin-top: 0.3125rem;
}

.p-teacher-card__history {
  font-size: 1rem;
  line-height: 1.5625;
  padding-top: 1.25rem;
  margin-top: 0.9375rem;
  border-top: 2px solid #B60200;
  position: relative;
}
.p-teacher-card__history::before {
  position: absolute;
  content: "";
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 0.625rem solid transparent;
  border-left: 0.625rem solid transparent;
  border-top: 0.625rem solid #B60200;
  border-bottom: 0;
}

.p-teacher .swiper-pagination .swiper-pagination-bullet {
  opacity: 1;
  width: 0.375rem;
  height: 0.375rem;
  background: #fff;
}
@media screen and (min-width: 768px) {
  .p-teacher .swiper-pagination .swiper-pagination-bullet {
    background: #B60200;
  }
}
.p-teacher .swiper-pagination .swiper-pagination-bullet-active {
  transform: scale(1.67);
  background: #fff;
}
@media screen and (min-width: 768px) {
  .p-teacher .swiper-pagination .swiper-pagination-bullet-active {
    background: #B60200;
  }
}
.p-teacher .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .p-teacher .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 0.34375rem;
}
.p-teacher .swiper-horizontal > .swiper-pagination-bullets, .p-teacher .swiper-pagination-bullets.swiper-pagination-horizontal, .p-teacher .swiper-pagination-custom, .p-teacher .swiper-pagination-fraction {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.p-teacher .p-swiper-buttonWrapper {
  display: flex;
  align-items: center;
  gap: 14.6875rem;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .p-teacher .p-swiper-buttonWrapper {
    margin-top: -0.3125rem;
  }
}
@media screen and (max-width: 1200px) {
  .p-teacher .p-swiper-buttonWrapper {
    margin-top: -0.125rem;
  }
}
.p-teacher .swiper-button-next, .p-teacher .swiper-button-prev {
  position: relative;
  width: 0.9375rem;
  height: 0.9375rem;
  background: url("../images/common/arrow-left-white.webp") no-repeat center center/contain;
}
@media screen and (min-width: 768px) {
  .p-teacher .swiper-button-next, .p-teacher .swiper-button-prev {
    width: 1.875rem;
    height: 1.875rem;
    background: url("../images/common/arrow-left-red.webp") no-repeat center center/contain;
  }
}
.p-teacher .swiper-button-next, .p-teacher .swiper-button-next {
  position: relative;
  width: 0.9375rem;
  height: 0.9375rem;
  background: url("../images/common/arrow-right-white.webp") no-repeat center center/contain;
}
@media screen and (min-width: 768px) {
  .p-teacher .swiper-button-next, .p-teacher .swiper-button-next {
    width: 1.875rem;
    height: 1.875rem;
    background: url("../images/common/arrow-right-red.webp") no-repeat center center/contain;
  }
}
.p-teacher .swiper-button-disabled {
  opacity: 0;
  visibility: hidden;
}

.p-topics {
  overflow: hidden;
  padding: 4.375rem 0;
}
@media screen and (min-width: 768px) {
  .p-topics {
    padding: 7.5rem 0;
  }
}

.p-topics__list {
  max-width: 75rem;
  margin: 2.5rem auto 0;
}
@media screen and (min-width: 768px) {
  .p-topics__list {
    margin: 5rem auto 0;
  }
}

.p-topics-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-topics-item {
    flex-direction: row;
    align-items: center;
  }
}
.p-topics-item:not(:first-child) {
  margin-top: 2.5rem;
}
@media screen and (min-width: 768px) {
  .p-topics-item:not(:first-child) {
    margin-top: 5rem;
  }
}
@media screen and (min-width: 768px) {
  .p-topics-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}
@media screen and (min-width: 768px) {
  .p-topics-item:nth-child(even) .p-topics-item__content {
    margin-left: 0;
    margin-right: -3.75rem;
  }
}

.p-topics-item__img {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
@media screen and (min-width: 768px) {
  .p-topics-item__img {
    margin-left: 0;
    width: 100%;
    max-width: 37.5rem;
  }
}
.p-topics-item__img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 390/200;
}
@media screen and (min-width: 768px) {
  .p-topics-item__img img {
    aspect-ratio: 600/450;
  }
}

.p-topics-item__content {
  background-color: #F5F5F5;
  position: relative;
  padding: 1.875rem 1.25rem;
  margin-top: -1.875rem;
}
@media screen and (min-width: 768px) {
  .p-topics-item__content {
    margin-top: 0;
    padding: 3.125rem 5rem;
    margin-left: -3.75rem;
    margin-right: 0;
  }
}

.p-topics-item__box {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  font-family: "Noto Serif JP", serif;
  color: #B60200;
}
@media screen and (min-width: 768px) {
  .p-topics-item__box {
    gap: 1.25rem;
  }
}

.p-topics-item__subtitle {
  display: flex;
  align-items: center;
  font-weight: 700;
  flex-direction: column;
  line-height: 1;
  font-size: 0.75rem;
}
@media screen and (min-width: 768px) {
  .p-topics-item__subtitle {
    font-size: 0.875rem;
  }
}
.p-topics-item__subtitle span {
  font-size: 2.75rem;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .p-topics-item__subtitle span {
    font-size: 3.125rem;
  }
}

.p-topics-item__title {
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .p-topics-item__title {
    font-size: 1.5rem;
    line-height: 1.4583333333;
  }
}
@media screen and (max-width: 389px) {
  .p-topics-item__title {
    font-size: 1.125rem;
  }
}

.p-topics-item__text {
  letter-spacing: 0.02em;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5714285714;
  margin-top: 1.25rem;
}
@media screen and (min-width: 768px) {
  .p-topics-item__text {
    font-size: 1rem;
    line-height: 1.5625;
    margin-top: 2.5rem;
  }
}

.p-topics-item__text + .p-topics-item__text {
  margin-top: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-topics-item__text + .p-topics-item__text {
    margin-top: 0.875rem;
  }
}

.u-pc-only {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-pc-only {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .u-sp-only {
    display: none;
  }
}
/*# sourceMappingURL=style.css.map */
