@charset "UTF-8";

/* メインビジュアル */
.mainvisual {
  position: relative;
  display: inline-block;
}

.mainvisual__img {
  display: block;
  width: 100vw;
  height: auto;
}

.mainvisual__text {
  position: absolute;
}

.mainvisual__text--1 {
  width: 10vw;
  height: auto;
  top: 3%;
  right: 7%;
}

.mainvisual__text--2 {
  width: 10vw;
  height: auto;
  bottom: 15%;
  left: 20%;
}

.mainvisual__text--3 {
  width: 10vw;
  height: auto;
  bottom: 5%;
  left: 5%;
}

/* スクロール */
.scroll {
  display: grid;
  grid-template-columns: 2fr 2fr;
  grid-template-rows: auto auto;
  text-align: center;
  margin-top: 30px;
  padding-inline: 20px;
  gap: 24px;
}

.scroll__content {
  padding: 10px;
  background-color: #F7F7F7;
  border: solid 1px #727171;
  border-radius: 12px;
  position: relative;
  transition: all 0.5s;
  color: #000000;
}

.scroll__content::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background-image: url("../img/icon_arrow_down.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.scroll__content:hover {
  opacity: 0.5;
}

/* ニュース */
.news {
  background-color: #FFFBF0;
  margin: 40px 20px 0 20px;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
}

.news__title {
  font-size: 1.5rem;
  font-weight: bold;
}

.news__title::before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  width: 12px;
  height: 12px;
  background-image: url("../img/icon_circle_blue.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.news__list {
  text-align: start;
  margin-top: 20px;
}

.news__day {
  margin-top: 20px;
}

.news__content {
  padding-block: 5px;
  border-bottom: solid 1px #CCCCCC;
}

.news__all {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 40px 10px 20px;
  position: relative;
  font-size: 0.875rem;
  font-weight: bold;
  background-color: #231815;
  color: #FFFFFF;
  border-radius: 15px;
}

.news__all::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 20px;
  height: 20px;
  background-image: url("../img/icon_circle_right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 各セクション */
.sections--student {
  margin-top: 30px;
  background-color: #e6ecfa;
}

.sections--graduate {
  background-color: #e6ecfa;
}

.sections--company {
  background-color: #EFF3CF;
}

.sections--overview {
  background-color: #EAEFEF;
  margin-bottom: 20px;
}

/* ライン */
.line {
  height: 15px;
  background-color: #FFBDD6;
  border-block: solid 1px #616262;
}

@media (min-width:768px) {
  .mainvisual__img {
    width: 375px;
  }

  .mainvisual__text--1 {
    width: 37px;
  }

  .mainvisual__text--2 {
    width: 37px;
  }

  .mainvisual__text--3 {
    width: 37px;
  }
}