@charset "utf-8";

:root {
  --font-jp: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Jost", sans-serif;
}

.u-border {
  border: #fff 1px solid;
  border-radius: clamp(1.25rem, 1.098rem + 0.647vw, 1.875rem);
}

main {
  overflow: hidden;
  background-color: #134a7b;
}

/* 共通---------------------------------------------------- */
.spOnly {
  display: none;

  @media (max-width:767px) {
    display: block;
  }
}

/* MV---------------------------------------------------- */
.p-top-mv {
  position: relative;
  height: max(90vh, 600px);
}

.mySwiper01 {
  img {
    width: 100%;
  }
}

.p-top-mv__heading {
  position: absolute;
  bottom: clamp(1rem, 0.575rem + 1.812vw, 2.75rem);
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-inline: 4.1%;
  box-sizing: border-box
}

@media (max-width:767px) {
  .p-top-mv__heading {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 6.6%;
  }
}

.p-top-mv__text {
  display: block;
  font-family: var(--font-en);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.5rem, -0.417rem + 6.076vw, 6.875rem);
  line-height: 1.18;
  color: #fff;
  text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.2);
}

.p-top-mv__text:first-child {
  margin-left: 0.3em;
}

.p-top-mv__subtext {
  font-family: var(--font-en);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.125rem, 0.125rem + 2.083vw, 2.625rem);
  line-height: 1.6;
  color: #fff;
  text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.2);
  margin-bottom: clamp(0.625rem, 0.428rem + 0.841vw, 1.438rem);
}

#splide01,
#splide01 .splide__track,
#splide01 .splide__list,
#splide01 .splide__slide {
  height: 100%;
}

#splide01 .splide__slide picture,
#splide01 .splide__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-top-banner {
  position: relative;
  box-sizing: border-box;
  background-color: #AC4343;
  border-radius: clamp(0.938rem, 0.74rem + 0.841vw, 1.75rem);
  width: 25%;
  max-width: 440px;
  aspect-ratio: 440 / 376;
  padding: clamp(0.5rem, 0.318rem + 0.777vw, 1.25rem);
  transition: filter .3s ease;
  --circle-size: clamp(1.25rem, 0.977rem + 1.165vw, 2.375rem);
  --circle-bottom: 4.7%;
  --circle-right: 3.9%;
}

.p-top-banner:hover {
  filter: brightness(1.06);
}

@media (max-width:767px) {
  .p-top-banner {
    width: 100%;
    aspect-ratio: auto;
  }

  .p-top-banner.-only {
    display: flex;
    gap: 16px;
  }
}

/* 円（before） */
.p-top-banner::before {
  content: "";
  position: absolute;
  bottom: var(--circle-bottom);
  right: var(--circle-right);
  border: 1px solid #fff;
  border-radius: 50vh;
  width: var(--circle-size);
  height: var(--circle-size);
}

/* 矢印アイコン（after）：円の中央に重ねる */
.p-top-banner::after {
  content: "";
  position: absolute;
  /* 円のbottom + 円の高さの半分 → 円の垂直中心 */
  bottom: calc(var(--circle-bottom) + var(--circle-size) / 2);
  /* 円のright + 円の幅の半分 → 円の水平中心 */
  right: calc(var(--circle-right) + var(--circle-size) / 2);
  /* afterの中心を基準点にする */
  transform: translate(50%, 50%);
  display: inline-block;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25.022' height='17.153' viewBox='0 0 25.022 17.153'%3E%3Cg transform='translate(0 0.707)'%3E%3Cpath d='M4804.2-1732.554l-1.414-1.414,7.163-7.162-7.163-7.162,1.414-1.414,8.577,8.576Z' transform='translate(-4787.751 1749)' /%3E%3Cpath d='M23.607,1H0V-1H23.607Z' transform='translate(0 7.869)' /%3E%3C/g%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  background-color: #fff;
  width: clamp(0.5rem, 0.394rem + 0.453vw, 0.938rem);
  aspect-ratio: 15 / 10;
  height: auto;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .p-top-banner {
    --circle-bottom: 14.9%;
    --circle-right: 5.5%;
  }
}

.p-top-banner__image {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  aspect-ratio: 400 / 200;
  border-radius: clamp(0.5rem, 0.394rem + 0.453vw, 0.938rem);
  margin-bottom: 16px;
}

@media (max-width:767px) {
  .p-top-banner__image {
    object-fit: cover;
    object-position: center center;
    height: 88px;
    width: 120px;
    margin-bottom: 0;
  }
}

.p-top-banner__title {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(0.813rem, 0.615rem + 0.841vw, 1.625rem);
  letter-spacing: 0.05em;
  line-height: 1.23;
  color: #fff;
  padding-bottom: clamp(1.25rem, 0.249rem + 4.272vw, 5.375rem);
}

@media (max-width:767px) {
  .p-top-banner__title {
    margin-top: 8px;
  }
}

/* スライダー設定 */
@media (max-width:767px) {
  .p-top-banner__link {
    display: flex;
    gap: 16px;
  }
}

.p-top__pagination {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 10px;
  left: 0;
}

@media (max-width:767px) {
  .p-top__pagination {
    position: absolute;
    bottom: 0;
    left: 136px;
  }
}

.p-top__pagination-inner {
  position: relative;
  bottom: 0;
  padding: 0 clamp(0rem, -0.152rem + 0.647vw, 0.625rem);
}

.p-top__pagination-inner li {
  display: inline-flex;
  align-items: center;
}

.p-top__banner-prev,
.p-top__banner-next {
  opacity: 1;
  display: block;
  width: auto;
  height: auto;
  position: relative;
  background: none;
  transform: none;
  top: 0;
  left: 0;
  padding: 10px;
}

.p-top__banner-prev svg,
.p-top__banner-next svg {
  transform: scale(1) translateY(0%);
  width: clamp(0.563rem, 0.487rem + 0.324vw, 0.875rem);
  height: clamp(0.5rem, 0.439rem + 0.259vw, 0.75rem);
}

.p-top__banner-page {
  opacity: 1;
  border-radius: 50vh;
  border: #fff 1px solid;
  width: clamp(0.25rem, 0.159rem + 0.388vw, 0.625rem);
  height: clamp(0.25rem, 0.159rem + 0.388vw, 0.625rem);
  background: none;
  margin: clamp(0.156rem, 0.103rem + 0.227vw, 0.375rem);
}

.p-top__banner-page.is-active {
  background: #fff;
  transform: none;
}


/* intro---------------------------------------------------- */
.p-top-intro {
  padding-block: 110px 142px;
  padding-inline: clamp(1.563rem, -8.688rem + 21.354vw, 16.938rem) 25px;
  background: url(../image/top/top_bg_01_pc.webp) center /cover no-repeat;
}

.p-top-intro__wrap {
  display: flex;
  column-gap: min(7.9%, 153px);
}

.p-top-intro__lead {
  max-width: 801px;
}

.p-top-intro__heading {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.125rem, 0.822rem + 1.294vw, 2.375rem);
  letter-spacing: 0.03em;
  line-height: calc(65/38);
  color: #fff;
  padding-bottom: clamp(1.5rem, 1.257rem + 1.036vw, 2.5rem);
}

.p-top-intro__text {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(0.813rem, 0.706rem + 0.453vw, 1.25rem);
  line-height: 2;
  color: #fff;
}

.p-top-intro__box {
  padding-top: clamp(1.5rem, 1.257rem + 1.036vw, 2.5rem);
  padding-inline: clamp(2rem, 1.757rem + 1.036vw, 3rem) 37px;
}

.p-top-intro__subtitle {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1rem, 0.879rem + 0.518vw, 1.5rem);
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: clamp(0.5rem, 0.348rem + 0.647vw, 1.125rem);
}

.p-top-intro__list {
  list-style: none;
  margin-bottom: 30px;
}

.p-top-intro__item {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(0.813rem, 0.706rem + 0.453vw, 1.25rem);
  letter-spacing: 0.05em;
  color: #fff;
  text-indent: calc((1em + 8px) * -1);
  margin-left: calc(1em + 8px);
  margin-bottom: clamp(0.5rem, 0.379rem + 0.518vw, 1rem);
}

.p-top-intro__item::before {
  content: "";
  display: inline-block;
  width: clamp(1rem, 0.924rem + 0.324vw, 1.313rem);
  height: clamp(1rem, 0.924rem + 0.324vw, 1.313rem);
  vertical-align: middle;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21.252' height='20.534' viewBox='0 0 21.252 20.534'%3E%3Cg clip-path='url(%23clip-path)'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect width='21.252' height='20.534' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M19,10.034v9.5H1v-18H14' fill='none' stroke='%23fff' stroke-miterlimit='10' stroke-width='2'/%3E%3Cpath d='M4.753,7.589,10,14.713,20.448.595' fill='none' stroke='%23fff' stroke-miterlimit='10' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}


@media (max-width:768px) {
  .p-top-intro {
    padding-block: 55px;
    padding-inline: 25px;
    background: url(../image/top/top_bg_01_sp.webp) center /cover no-repeat;
  }

  .p-top-intro__wrap {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 32px;
  }

  .p-top-intro__lead {
    width: 100%;
  }
}

/* news---------------------------------------------------- */
.p-top-news {
  padding-block: 125px 283px;
  padding-inline: 12.5%;
  background: url(../image/top/top_bg_02_pc.webp) bottom center /cover no-repeat;
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: start;
  column-gap: 83px;
}

.p-top-news__heading {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.817rem + 2.913vw, 5.313rem);
  color: #134a7b;
  grid-column: 1/2;
  margin-bottom: clamp(0.313rem, -0.143rem + 1.942vw, 2.188rem);
}

.p-top-news__inner {
  grid-column: 2;
  grid-row: 1 / span 5;
}

.p-top-news__button {
  grid-column: 1/2;
}

@media (max-width: 1200px) {
  .p-top-news {
    padding-block: 42px clamp(6.5rem, 3.603rem + 12.362vw, 18.438rem);
    padding-inline: 25px;
    background: url(../image/top/top_bg_02_sp.webp) bottom center /cover no-repeat;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .p-top-news__heading {
    grid-column: 1;
    grid-row: 1;
  }

  .p-top-news__inner {
    grid-column: 1;
    grid-row: 2;
  }

  .p-top-news__button {
    grid-column: 1;
    grid-row: 3;
    margin-inline: auto;
  }
}

/* features---------------------------------------------------- */
.p-top-features {
  position: relative;
  z-index: 1;
  background-color: #F4ECD9;
  padding-bottom: clamp(8.5rem, 5.678rem + 12.039vw, 20.125rem);
  display: flow-root;
}

.p-top-features::before {
  position: absolute;
  z-index: -1;
  content: "";
  width: clamp(20.313rem, 12.591rem + 32.945vw, 52.125rem);
  height: clamp(19.438rem, 12.019rem + 31.65vw, 50rem);
  border-radius: 100%;
  background-color: #F4ECD9;
  top: calc(clamp(4.75rem, 2.914rem + 7.832vw, 12.313rem) * -1);
  left: 50%;
  transform: translateX(-50%);
}

.p-top-features::after {
  position: absolute;
  z-index: -1;
  content: "";
  display: inline-block;
  width: 50%;
  aspect-ratio: 41 / 11;
  background: url(../image/top/top_deco_01_pc.webp) left bottom / cover no-repeat;
  bottom: 0;
  right: 0;

  @media (max-width:767px) {
    width: 100%;
    background: url(../image/top/top_deco_01_sp.webp) center / cover no-repeat;
    bottom: 0.7%;
  }
}

.p-top-features__heading {
  text-align: center;
  margin-top: calc(clamp(3.438rem, 2.254rem + 5.049vw, 8.313rem) * -1);
  margin-bottom: clamp(0.875rem, -0.081rem + 4.078vw, 4.813rem);
  line-height: 1;
}

.p-top-features__lead {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(0.938rem, 0.68rem + 1.1vw, 2rem);
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #134a7b;
}

.p-top-features__number {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(3rem, 1.498rem + 6.408vw, 9.188rem);
  letter-spacing: 0.05em;
  text-align: center;
  color: #134a7b;
  line-height: 1;
  margin-right: clamp(0.188rem, 0.096rem + 0.388vw, 0.563rem);
}

.p-top-features__particle {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.125rem, 0.564rem + 2.395vw, 3.438rem);
  letter-spacing: 0.02em;
  text-align: center;
  color: #134a7b;
}

.p-top-features__label {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.5rem, 0.772rem + 3.107vw, 4.5rem);
  letter-spacing: 0.02em;
  text-align: center;
  color: #134a7b;
}

.p-top-features__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(325px, 100%), 1fr));
  gap: 27px;
  justify-items: center;
  width: calc(100% - (clamp(1.563rem, 0.121rem + 6.149vw, 7.5rem) * 2));
  max-width: 1681px;
  counter-reset: item;
}

.p-top-features__card {
  position: relative;
  max-width: 400px;
  background-color: #134A7B;
  border-radius: 20px;
  overflow: hidden;
  counter-increment: item;
  transition: all 0.3s;
}

.p-top-features__card:hover {
  scale: calc(1.05);
}

.p-top-features__item::before {
  position: absolute;
  z-index: 2;
  content: counter(item, decimal-leading-zero);
  font-family: var(--font-en);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.75rem, 1.568rem + 0.777vw, 2.5rem);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 12px;
  width: clamp(3.5rem, 3.212rem + 1.23vw, 4.688rem);
  height: clamp(3.5rem, 3.212rem + 1.23vw, 4.688rem);
  background-color: #AC4343;
  top: 0;
  left: 0;
  border-radius: 0 0 30px 0;
}

@media (max-width:767px) {
  .p-top-features__item::before {
    border-radius: 0 0 20px 0;
  }
}

.p-top-features__item::after {
  position: absolute;
  z-index: 2;
  content: "";
  width: clamp(2rem, 1.727rem + 1.165vw, 3.125rem);
  height: clamp(2rem, 1.727rem + 1.165vw, 3.125rem);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2219.414%22%20height%3D%2213.414%22%20viewBox%3D%220%200%2019.414%2013.414%22%3E%3Cg%20transform%3D%22translate(12368%207861.207)%22%3E%3Cpath%20d%3D%22M4804.2-1736.293l-1.414-1.414%205.293-5.293-5.293-5.293%201.414-1.414L4810.9-1743Z%22%20transform%3D%22translate(-17159.49%20-6111.5)%22%20fill%3D%22%23124a7b%22/%3E%3Cpath%20d%3D%22M18%2C1H0V-1H18Z%22%20transform%3D%22translate(-12368%20-7854.5)%22%20fill%3D%22%23124a7b%22/%3E%3C/g%3E%3C/svg%3E") center / 18px 24px no-repeat, #fff;
  bottom: 20px;
  right: clamp(1.25rem, 1.098rem + 0.647vw, 1.875rem);
}

.p-top-features__link {
  box-sizing: border-box;
  display: block;
  padding-top: 10px;
  padding-inline: 11px;
  padding-bottom: clamp(3.5rem, 3.288rem + 0.906vw, 4.375rem);
  transition: all 0.3s;
  height: 100%;
}

.p-top-features__image {
  width: 100%;
  padding-bottom: 16px;
}

.p-top-features__card-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1rem, 0.818rem + 0.777vw, 1.75rem);
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 8px;
  padding-inline: clamp(0.563rem, 0.411rem + 0.647vw, 1.188rem);
}

.p-top-features__card-text {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(0.813rem, 0.737rem + 0.324vw, 1.125rem);
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 12px;
  padding-inline: clamp(0.563rem, 0.411rem + 0.647vw, 1.188rem);
}

/* course---------------------------------------------------- */
.wave {
  position: relative;
  z-index: 1;
  height: clamp(7.688rem, 1.104rem + 13.715vw, 17.563rem);
  margin-top: calc((clamp(7.688rem, 1.104rem + 13.715vw, 17.563rem)) * -1);

  @media (max-width: 768px) {
    height: clamp(3.875rem, -0.062rem + 19.687vw, 9.375rem);
    margin-top: calc((clamp(3.875rem, -0.062rem + 19.687vw, 9.375rem)) * -1);
  }
}

.wave-sp {
  display: none;
}

.wave-pc svg {
  position: absolute;
  display: block;
  width: 109.6%;
  top: 0;
  right: 0;
}

@media (max-width: 768px) {
  .wave-sp {
    display: block;
    width: 109.8%;
    top: 0;
    right: 9.5%;
  }

  .wave-pc {
    display: none;
  }
}

.p-top-course {
  margin-top: -1px;
}


.p-top-course__inner {
  position: relative;
  z-index: 2;
  background-color: #134a7b;
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 0.999rem + 2.136vw, 3.563rem);
  padding-bottom: clamp(1.438rem, 0.269rem + 4.984vw, 6.25rem);
  margin-bottom: clamp(1rem, 0.879rem + 0.518vw, 1.5rem);

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

.p-top-course__inner::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(0.844rem, 0.639rem + 0.874vw, 1.688rem);
  pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26.898' height='26.898' viewBox='0 0 26.898 26.898'%3E%3Crect width='13.449' height='13.449' fill='black'/%3E%3Crect width='13.449' height='13.449' transform='translate(13.449 13.449)' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26.898' height='26.898' viewBox='0 0 26.898 26.898'%3E%3Crect width='13.449' height='13.449' fill='black'/%3E%3Crect width='13.449' height='13.449' transform='translate(13.449 13.449)' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: clamp(0.844rem, 0.639rem + 0.874vw, 1.688rem);
  mask-size: clamp(0.844rem, 0.639rem + 0.874vw, 1.688rem);
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  bottom: calc(clamp(0.844rem, 0.639rem + 0.874vw, 1.688rem) * -1);
  background-color: #134a7b;
  mask-position: 0 0;
}

.p-top-course__heading {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.5rem, 0.772rem + 3.107vw, 4.5rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-align: left;
  color: #fff;
  margin-top: -14%;
  grid-column: 1;

  @media (max-width: 768px) {
    grid-column: auto;
  }
}

.p-top-course__number {
  font-family: var(--font-en);
  font-weight: bold;
  font-size: clamp(2.5rem, 1.165rem + 5.696vw, 8rem);
  letter-spacing: 0.02em;
  line-height: 80px;
  text-align: left;
  color: #fff;
  grid-column: 2;
}

.p-top-course__cards {
  grid-row: 2;
  grid-column: 1/3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;

  @media (max-width: 768px) {
    grid-row: auto;
    grid-column: auto;
    align-content: center;
    flex-direction: column;
  }
}

.p-top-course__card {
  border-radius: 20px;
  background: #fff;
  width: calc((50% - clamp(1.563rem, 1.375rem + 0.938vw, 2.5rem)) - 60px);
  min-width: 600px;
  padding: clamp(1.563rem, 1.375rem + 0.938vw, 2.5rem);

  @media (max-width:767px) {
    min-width: auto;
    width: auto;
  }
}

.p-top-course__card-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.125rem, 0.85rem + 1.375vw, 2.5rem);
  letter-spacing: 0.05em;
  color: #134a7b;
  padding-bottom: clamp(0.5rem, 0.375rem + 0.625vw, 1.125rem);
  margin-bottom: clamp(1rem, 0.912rem + 0.438vw, 1.438rem);
  border-bottom: #124A7B 1px solid;
}

.p-top-course__card-subtitle {
  font-size: clamp(0.813rem, 0.555rem + 1.1vw, 1.875rem);

    @media (max-width:767px) {
    display: inline-block;
  }
}

.p-top-course__card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.8%;
}

.p-top-course__card-text {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(0.813rem, 0.7rem + 0.563vw, 1.375rem);
  letter-spacing: 0.05em;
  color: #000;

  @media (max-width:767px) {
    grid-row: 2;
    grid-column: 1;
  }
}

.p-top-course__card-footer {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;

  @media (max-width:767px) {
    grid-row: 3;
    grid-column: 1;
  }
}

.p-top-course__card-button {
  box-sizing: border-box;
  max-width: clamp(9rem, 7.999rem + 4.272vw, 13.125rem);
  font-size: clamp(0.813rem, 0.725rem + 0.438vw, 1.25rem);
  padding-inline: clamp(1rem, 0.818rem + 0.777vw, 1.75rem);
  height: auto;
  flex: 1;
}

.p-top-course__illust {
  height: auto;
  width: clamp(8.125rem, 7.063rem + 4.531vw, 12.5rem);
}

.p-top-course__image {
  grid-row: 1/3;
  grid-column: 2;
  width: 100%;
  max-width: clamp(17.188rem, 16.146rem + 2.17vw, 18.75rem);
  min-width: 0;

  @media (max-width:767px) {
    grid-row: 1;
    grid-column: 1;
    margin-inline: auto;
    margin-bottom: 16px;
  }
}


/* links---------------------------------------------------- */

.p-top-links {
  background: url(../image/top/top_bg_03_pc.webp) center /cover no-repeat;
  padding-block: clamp(2.813rem, 0.521rem + 4.774vw, 6.25rem);
  margin-top: calc(clamp(0.844rem, 0.639rem + 0.874vw, 1.688rem) * -1);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 0.379rem + 0.518vw, 1rem);

  @media (max-width:767px) {
    background-image: url(../image/top/top_bg_03_sp.webp);
  }
}

.p-top-links__cards {
  box-sizing: border-box;
  border-radius: 15px;
  background: #124a7b;
  width: calc(50% - (clamp(0.5rem, 0.379rem + 0.518vw, 1rem) / 2));
  padding-block: clamp(1.313rem, 1.146rem + 0.712vw, 2rem) clamp(1.5rem, 1.409rem + 0.388vw, 1.875rem);
  padding-inline: clamp(1.5rem, 1.257rem + 1.036vw, 2.5rem) clamp(1.5rem, 1.379rem + 0.518vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;

  @media (max-width:767px) {
    width: 100%;
  }
}

.p-top-course__item--wide {
  width: calc(50% + 136px - (clamp(0.5rem, 0.379rem + 0.518vw, 1rem) / 2));

  @media (max-width:767px) {
    width: 100%;
  }
}

.p-top-course__item--narrow {
  width: calc(50% - 136px - (clamp(0.5rem, 0.379rem + 0.518vw, 1rem) / 2));

  @media (max-width:767px) {
    width: 100%;
  }
}

.p-top-course__item--flex {
  flex-direction: row;
  align-items: flex-end;
}

.p-top-links__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  text-decoration: none;
  transition: all 0.3s;
}

.p-top-links__card:hover {
  opacity: 0.8;
  scale: calc(1.02);
}

.p-top-links__card::after {
  content: "";
  display: block;
  margin-left: auto;
  width: clamp(2rem, 1.727rem + 1.165vw, 3.125rem);
  height: clamp(2rem, 1.727rem + 1.165vw, 3.125rem);
  background-image: url("data:image/svg+xml,%3Csvg  xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='25' fill='%23fff'/%3E%3Cg transform='translate(12383.999 7879.5)'%3E%3Cpath d='M4803.49-1749l6,6-6,6' transform='translate(-17159.49 -6111.5)' fill='none' stroke='%23124a7b' stroke-width='2'/%3E%3Cline x2='18' transform='translate(-12368 -7854.5)' fill='none' stroke='%23124a7b' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.p-top-links__card-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.125rem, 0.867rem + 1.1vw, 2.188rem);
  letter-spacing: 0.05em;
  line-height: 1.57;
  color: #fff;
  margin-bottom: clamp(0.5rem, 0.47rem + 0.129vw, 0.625rem);
}

.p-top-links__card-text {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(0.813rem, 0.676rem + 0.583vw, 1.375rem);
  letter-spacing: 0.05em;
  line-height: 1.7;
  color: #fff;
  margin-bottom: clamp(1.375rem, 0.389rem + 4.207vw, 5.438rem);
}

.p-top-course__item--wide .p-top-links__card-text {
  margin-bottom: 22px;
}

.p-top-course__item--narrow .p-top-links__card-text {
  margin-bottom: clamp(1.375rem, 1.223rem + 0.647vw, 2rem);
}

.p-top-links__sns {
  display: grid;
  grid-template-columns: 1fr auto;
  border-radius: 15px;
  overflow: hidden;
  background: #124a7b;
  width: 100%;
  margin-top: clamp(1rem, 0.272rem + 3.107vw, 4rem);

  @media (max-width:1200px) {
    grid-template-columns: 1fr;
  }
}

.p-top-links__sns-body {
  padding: clamp(1.5rem, 0.65rem + 3.625vw, 5rem);
}

.p-top-links__heading {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.125rem, 0.943rem + 0.777vw, 1.875rem);
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: #fff;
  margin-bottom: clamp(1rem, 0.757rem + 1.036vw, 2rem);
}

.p-top-links__text {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(0.813rem, 0.676rem + 0.583vw, 1.375rem);
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #fff;
  margin-bottom: clamp(1.5rem, 1.03rem + 2.006vw, 3.438rem);
}

.p-top-links__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 0.166rem + 1.424vw, 1.875rem);
}

.p-top-button.p-top-links__button::after {
  content: "";
  display: inline-block;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: #fff;
  flex-shrink: 0;
  width: 23px;
  height: 15px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20.284' height='20.284' viewBox='0 0 20.284 20.284'%3E%3Cg%3E%3Cpath d='M19.284,15.032v4.252H1V1H5.252' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='2'/%3E%3Cpath d='M10.921,1h8.362V9.362' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='2'/%3E%3Crect width='17.1' height='1.9' transform='translate(6.126 12.572) rotate(-45)' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20.284' height='20.284' viewBox='0 0 20.284 20.284'%3E%3Cg%3E%3Cpath d='M19.284,15.032v4.252H1V1H5.252' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='2'/%3E%3Cpath d='M10.921,1h8.362V9.362' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='2'/%3E%3Crect width='17.1' height='1.9' transform='translate(6.126 12.572) rotate(-45)' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
}

.p-top-links__sns-feed {
  background-color: #fff;
  padding: clamp(0.5rem, 0.166rem + 1.424vw, 1.875rem);
}

.p-top-links__sns-link {
  width: clamp(19.313rem, 16.112rem + 13.657vw, 32.5rem);
  height: 424px;
}

.p-top-divider-image {
  width: 100%;
}