/*
 * Components
 */
.c-btnContainer {
  margin-top: 60px;
  text-align: center;
}
@media screen and (max-width: 896px) {
  .c-btnContainer {
    margin-top: 30px;
  }
}
.c-btn {
  display: inline-block;
  max-width: 385px;
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background-color: #000026;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}
@media screen and (min-width: 897px) {
  .c-btn {
    height: 50px;
    line-height: 50px;
    width: 80%;
  }
}
@media (hover: hover) {
  .c-btn {
    transition: 0.3s;
  }
  .c-btn:hover {
    opacity: 0.7;
    color: #fff;
  }
}

/*
 * Index page
 */

/* Intro */
.p-index .p-indexIntro {
  padding: 80px 0;
  background-color: #dcdce3;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexIntro__title {
    text-align: center;
  }
  .p-index .p-indexIntro__title--lg {
    font-size: 28px;
  }
  .p-index .p-indexIntro__title span span {
    display: block;
    font-size: 0.875rem;
  }
}
.p-index .p-indexIntro__column--spEnd {
  margin-top: 30px;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexIntro__inner {
    display: flex;
    flex-direction: column;
  }
  .p-index .p-indexIntro__column--spEnd {
    order: 10;
  }
}
.p-index .p-indexIntro__inner::after {
  content: "";
  clear: both;
  display: block;
  height: 0;
}
.p-index .p-indexIntro__ensuredTitle {
  margin-top: 30px;
}
.p-index .p-indexIntro__ensuredList {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.p-index .p-indexIntro__ensuredList li {
  width: 80px;
  text-align: center;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexIntro__ensuredList {
    padding: 0 14px;
  }
  .p-index .p-indexIntro__ensuredList li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(50% - 11px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 10px;
    background-color: #f0f0f8;
    margin-bottom: 3px;
    overflow: hidden;
  }
}
.p-index .p-indexInfo__icon {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  padding: 10px;
  background-color: #f0f0f8;
  margin-bottom: 3px;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexInfo__icon {
    width: 60%;
    border-radius: 0;
    padding: 0;
  }
}
.p-index .p-indexInfo__iconLabel {
  font-weight: bold;
  font-size: 0.75rem;
  margin: 0;
}

/* Student */
.p-index .p-indexStudent {
  padding: 80px 0;
  background-color: #dcdce3;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexStudent {
    padding: 50px 0;
  }
}
.p-index .p-indexStudent .p-index__sectionTitle span {
  text-align: center;
  display: block;
}
.p-index .p-indexStudent .p-index__sectionTitle span:nth-of-type(2) {
  margin-top: 0px;
  font-size: 36px;
  font-weight: bold;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexStudent .p-index__sectionTitle span:nth-of-type(2) {
    font-size: 28px;
  }
}
.p-index .p-indexStudent__box {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  display: -webkit-flex;
  flex-wrap: nowrap;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexStudent__box {
    flex-wrap: wrap;
  }
}
.p-index .p-indexStudent__box__graphic {
  flex-shrink: 0;
  width: 50%;
  max-width: 540px;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexStudent__box__graphic {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
}
.p-index .p-indexStudent__box__text {
  padding-left: 5.4%;
  flex-grow: 1;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexStudent__box__text {
    padding: 30px 0 0 0;
    width: 100%;
  }
}
.p-index .p-indexStudent__box__text p {
  font-size: 14px;
}
.p-index .p-indexStudent__box__text p:not(:nth-of-type(1)) {
  margin-top: 30px;
}
.p-index .p-indexStudent__list {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  display: -webkit-flex;
  flex-wrap: nowrap;
  margin-top: 60px;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexStudent__list {
    flex-wrap: wrap;
    margin-top: 40px;
  }
}
.p-index .p-indexStudent__list__item {
  width: 23.6%;
  padding: 30px 20px 20px;
  background-color: #f0f0f8;
}
.p-index .p-indexStudent__list__item--beige {
  background-color: #f4f4f4;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexStudent__list__item {
    width: 49%;
    padding: 20px 20px;
  }
  .p-index .p-indexStudent__list__item:not(:nth-of-type(-n + 2)) {
    margin-top: 20px;
  }
}
@media screen and (max-width: 420px) {
  .p-index .p-indexStudent__list__item {
    width: 100%;
  }
  .p-index .p-indexStudent__list__item:not(:nth-of-type(-n + 1)) {
    margin-top: 20px;
  }
}
.p-index .p-indexStudent__list__item__icon {
  text-align: center;
}
.p-index .p-indexStudent__list__item__title {
  margin-top: 35px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexStudent__list__item__title {
    margin-top: 15px;
  }
}
.p-index .p-indexStudent__list__item p {
  margin-top: 10px;
  font-size: 13px;
}
@media screen and (max-width: 896px) {
  .p-index .p-indexStudent__list__item p {
    font-size: 12px;
  }
}
.p-index .p-indexStudent__list__item p a {
  text-decoration: underline;
}
.p-index .p-indexStudent__list__item p a:hover {
  text-decoration: none;
}

/* Friend */
.p-index .p-indexFriend {
  background-color: #e6e6e3;
}

.p-index .p-indexFriend__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

@media screen and (max-width: 896px) {
  .p-index .p-indexFriend__box {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

.p-index .p-indexFriend__box__textarea {
  padding: 0 4.19463%;
}

@media screen and (max-width: 896px) {
  .p-index .p-indexFriend__box__textarea {
    padding: 0;
  }
}

.p-index .p-indexFriend__box__graphic {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 58.38926%;
  max-width: 696px;
}

@media screen and (max-width: 896px) {
  .p-index .p-indexFriend__box__graphic {
    width: 100%;
  }
}

.p-index .p-indexFriend__box__text {
  font-size: 14px;
}

@media screen and (max-width: 896px) {
  .p-index .p-indexFriend__box__text--pc {
    display: none;
  }
}

.p-index .p-indexFriend__box__text--sp {
  display: none;
}

@media screen and (max-width: 896px) {
  .p-index .p-indexFriend__box__text--sp {
    display: block;
    padding-top: 30px;
  }
}

/*
 * About page
 */
.about .p-about__ensuredList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about .p-about__ensuredList h4 {
  margin-bottom: 1em;
}
.about .p-about__ensuredList p {
  margin: 0;
}
.about .p-about__ensuredList p + p {
  margin-top: 1em;
}
.about .p-about__ensuredList li {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  background-color: #f0f0f8;
  gap: 16px;
  padding: 10px;
}
@media screen and (max-width: 896px) {
  .about .p-about__ensuredList li {
    grid-template-columns: auto 1fr;
  }
}
.about .p-about__ensuredContents {
  padding: 10px 0;
}
.about .p-about__ensuredIcon {
  width: 90px;
  height: 80px;
  margin: auto;
  object-fit: contain;
}
