.anchor_list {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
@media screen and (width <= 767px) {
  .anchor_list {
    gap: 1rem 2rem;
  }
}
@media screen and (767px < width <= 1080px) {
  .anchor_list {
    gap: 1.5rem 2.4rem;
  }
}
@media screen and (width > 1080px), print {
  .anchor_list {
    gap: 1.5rem 3%;
  }
}
.anchor_list > li {
  font-size: 1.5rem;
}
@media screen and (width <= 767px) {
  .anchor_list > li {
    width: calc(50% - 1rem);
  }
}
@media screen and (767px < width <= 1080px) {
  .anchor_list > li {
    width: calc((100% - 7.2rem) / 4);
  }
}
@media screen and (width > 1080px), print {
  .anchor_list > li {
    width: 14.1666666667%;
  }
}
@media screen and (width <= 767px) {
  .anchor_list > li a {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
.anchor_list > li a::after {
  width: 1.8rem;
  height: 1.8rem;
}

@media screen and (width <= 840px) {
  .message_card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
  }
}
@media screen and (width > 840px), print {
  .message_card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 6rem;
  }
}
.message_card_item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0;
  background-color: var(--card-bg-color);
  border: 1px solid var(--card-ttl-color);
}
@media screen and (width <= 767px) {
  .message_card_item {
    padding: 1.5rem 2rem 2rem;
    border-radius: 1.5rem;
  }
}
@media screen and (width > 767px), print {
  .message_card_item {
    padding: 2rem 3rem 3rem;
    border-radius: 2rem;
  }
}
.message_card_item.-yellow {
  --card-ttl-color: #FE8F4F;
  --card-bg-color: #FFF6EA;
}
.message_card_item.-yellow .btn::before {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #FFC379), color-stop(50%, #FF985C), to(#FFC379));
  background-image: linear-gradient(to right, #FFC379 0, #FF985C 50%, #FFC379 100%);
}
.message_card_item.-purple {
  --card-ttl-color: #8E75C6;
  --card-bg-color: #F2EEFA;
}
.message_card_item.-purple .btn::before {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #BDACE1), color-stop(50%, #8D73C5), to(#BDACE1));
  background-image: linear-gradient(to right, #BDACE1 0, #8D73C5 50%, #BDACE1 100%);
}
.message_card_item.-blue {
  --card-ttl-color: #62AAF7;
  --card-bg-color: #E9F5FD;
}
.message_card_item.-blue .btn::before {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #80C8F5), color-stop(50%, #5C9DFF), to(#80C8F5));
  background-image: linear-gradient(to right, #80C8F5 0, #5C9DFF 50%, #80C8F5 100%);
}
.message_card_item.-pink {
  --card-ttl-color: #ED707C;
  --card-bg-color: #FFE7E7;
}
.message_card_item.-pink .btn::before {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #FEAAAA), color-stop(50%, #ED707C), to(#FEAAAA));
  background-image: linear-gradient(to right, #FEAAAA 0, #ED707C 50%, #FEAAAA 100%);
}
.message_card_item.-green {
  --card-ttl-color: #64B5B5;
  --card-bg-color: #E7F5E9;
}
.message_card_item.-green .btn::before {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #84D3B3), color-stop(50%, #63B5B5), to(#84D3B3));
  background-image: linear-gradient(to right, #84D3B3 0, #63B5B5 50%, #84D3B3 100%);
}
@media screen and (width > 767px), print {
  .message_card_item#kichijouji .message_card_top {
    padding-left: 17.7rem;
  }
}
@media screen and (width <= 767px) {
  .message_card_item#kichijouji .message_card_top .img_ttl .img {
    width: 12rem;
  }
}
@media screen and (width > 767px), print {
  .message_card_item#kichijouji .message_card_top .img_ttl .img {
    width: 15.7rem;
  }
}
@media screen and (width > 767px), print {
  .message_card_top {
    padding-left: 15rem;
    position: relative;
  }
}
@media screen and (width > 840px), print {
  .message_card_top {
    min-height: 13.5rem;
  }
}
@media screen and (width <= 767px) {
  .message_card_top .img_ttl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 1.4rem;
  }
}
@media screen and (width <= 767px) {
  .message_card_top .img_ttl .img {
    width: 9rem;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
}
@media screen and (width > 767px), print {
  .message_card_top .img_ttl .img {
    width: 13rem;
    position: absolute;
    top: 0;
    left: 0;
  }
}
.message_card_top .img_ttl .ttl {
  color: var(--card-ttl-color);
  font-weight: 500;
}
@media screen and (width <= 767px) {
  .message_card_top .img_ttl .ttl {
    font-size: 2.4rem;
  }
}
@media screen and (width > 767px), print {
  .message_card_top .img_ttl .ttl {
    margin-top: 0.5rem;
    font-size: 2.8rem;
  }
}
.message_card_top .img_ttl .name {
  font-size: 1.5rem;
  line-height: 1.46;
}
@media screen and (width <= 767px) {
  .message_card_top .img_ttl .name {
    margin-top: 0.6rem;
  }
}
.message_card_top .school {
  margin-top: 1.5rem;
}
.message_card_top .school .ttl {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}
.message_card_top .school .list.-dotted {
  margin-top: 0.5rem;
  gap: 0;
}
.message_card_top .school .list.-dotted > li {
  padding-left: 1.3rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}
.message_card_top .school .list.-dotted > li::before {
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--card-ttl-color);
  top: 0.85rem;
  left: 0;
}
.message_card_txt {
  margin-top: 1.5rem;
  background-color: var(--white);
  font-size: 1.5rem;
}
@media screen and (width <= 767px) {
  .message_card_txt {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
  }
}
@media screen and (width > 767px), print {
  .message_card_txt {
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
  }
}
.message_card_txt > *:first-child {
  margin-top: 0;
}
.message_card .btn {
  margin-inline: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  -webkit-box-shadow: 0.3rem 0.3rem 2rem rgba(0, 0, 0, 0.1);
          box-shadow: 0.3rem 0.3rem 2rem rgba(0, 0, 0, 0.1);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
@media screen and (width <= 767px) {
  .message_card .btn {
    margin-top: 1.5rem;
  }
}
@media screen and (width > 767px), print {
  .message_card .btn {
    margin-top: 2rem;
  }
}
.message_card .btn::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background-size: 200% 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  -webkit-transition: background-position 0.6s;
  transition: background-position 0.6s;
}
.message_card .btn::after {
  content: "";
  display: block;
  width: 2.2rem;
  height: 2.2rem;
  background-image: url(../images/common/arw_right.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (width > 767px), print {
  .message_card .btn:hover::before {
    background-position: 100% 0;
  }
}