@charset "UTF-8";
.page-header {
  margin-bottom: 50px;
}

.certificates {
  background-color: #ffda6e;
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
  padding: 50px 0;
}

.items {
  max-width: 300px;
  width: 100%;
}

.item {
  display: flex;
  justify-content: center;
}
.item .img {
  width: 40%;
}
.item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item .text {
  width: 40%;
  background-color: #fff;
  padding: 20px 30px;
}
.item .text .card-title .en {
  display: block;
  font-family: "Passion One";
  font-size: 22px;
  font-weight: 700;
}
.item .text .card-title .ja {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 30px;
}
.item .description {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.item .btn {
  background-color: #000;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  padding: 10px 30px;
  position: relative;
}
.item .btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 18px;
  right: 18px;
}

#alumni-reunion .text {
  margin-bottom: 10px;
}

#alumni-reunion {
  margin-bottom: 50px;
}

#certificates {
  margin-bottom: 50px;
}

#certificates .items .item {
  display: block;
  margin-left: auto;
  padding: 10px;
  position: relative;
  font-size: 18px;
}

#certificates .items .item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffda6e;

  position: absolute;
  top: 20px;
  left: -20px;
}

#committee {
  margin-bottom: 50px;
}

#committee .items .item {
  display: block;
  margin-left: auto;
  padding: 10px;
  position: relative;
  font-size: 18px;
}

#committee .items .item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffda6e;

  position: absolute;
  top: 20px;
  left: -20px;
}

.head-text {
  display: block;
  text-align: center;
  margin: 0 auto 40px;
  padding: 10px 30px;
}
.description {
  margin-bottom: 40px;
}
.description .text {
  font-size: 14px;
  color: #707070;
}

/* notice */
#notice {
  width: 80%; /* 必要に応じて固定幅や最大幅に */
  max-width: 600px; /* 横に広がりすぎるのを防ぐ */
  margin: 100px auto 100px; /* 左右自動で中央寄せ */
  border: 2px solid #ff0000; /* 赤い枠線 */
  padding: 1em; /* 内側の余白 */
  background-color: #fff8f8; /* 薄い赤系背景色 */
  color: #900; /* 警告っぽい文字色 */
  font-weight: bold; /* 太字で目立たせる */
  border-radius: 4px; /* 角を少し丸く */
}

@media screen and (max-width: 767px) {
  .certificates {
    background-color: #ffda6e;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
    padding: 80px 0;
    margin: -10px 0 0;
  }
  .student-handbook {
    background-color: #ffda6e;
    clip-path: polygon(0 0%, 100% 5%, 100% 95%, 0 100%);
    margin: -10px 0 0px;
  }
  .committee {
    background-color: #ffda6e;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
    padding: 80px 0;
    margin: -10px 0 0;
  }
  .prevention-of-bullying {
    background-color: #ffda6e;
    clip-path: polygon(0 0%, 100% 5%, 100% 95%, 0 100%);
    margin: -10px 0 40px;
  }

  .certificates .item {
    flex-direction: column;
  }
  .student-handbook .item {
    flex-direction: column-reverse;
  }
  .committee .item {
    flex-direction: column;
  }
  .prevention-of-bullying .item {
    flex-direction: column-reverse;
  }

  .item .img {
    width: 100%;
  }
  .item .img img {
    object-fit: contain;
  }
  .item .text {
    width: 100%;
  }
}
