@charset "UTF-8";

/*
  contribution
--------------------------------------------- */
/* for contribution/ */
.height-auto {
  width: 100%;
  height: auto;
}

.figure-690 {
  max-width: 690px;
  display: block;
  margin: 0 auto;
}

.btn-contribution-wrap {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.btn-contribution {
  text-align: center;
  color: #FFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 18px;
  font-weight: bold;
  background-color: #d80a31;
  padding: 19px 40px 19px 20px;
  max-width: 465px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.3s ease;

  &:hover {
    text-decoration: none;
    background: rgba(216, 10, 48, 0.7);
    transition: background 0.4s;
  }

  &::before {
    display: inline-block;
    line-height: 1;
    color: #FFF;
    content: "\f4be";
    text-decoration: none;
    font-family: "Font Awesome 6 Free";
    font-size: 41px;
  }
}

.btn-contribution-text {
  margin-left: 20px;
  margin-right: 8px;
}

.btn-contribution-report {
  text-align: center;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 18px;
  font-weight: bold;
  background-color: #FFF;
  padding: 19px 40px 19px 20px;
  max-width: 465px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.3s ease;
  border: 1px solid #C8C0C0;

  &:hover {
    text-decoration: none;
    background: rgba(#ccc, 0.7);
  }


  &::before {
    display: inline-block;
    line-height: 1;
    color: #d80a31;
    content: "\f328";
    text-decoration: none;
    font-family: "Font Awesome 6 Free";
    font-size: 41px;
    font-weight: 400;
  }

  &::after {
    position: relative;
    display: inline-block;
    margin-right: 9px;
    margin-left: 9px;
    content: "\f054";
    text-decoration: none;
    font-family: "FontAwesome";
    font-size: 70%;
    color: #d80a31;
    vertical-align: middle;
  }

  &.disable {
    pointer-events: none;
    background-color: #e5e5e5;
    color: #999;

    &::before {
      color: #bfbfbf;
    }

    &::after {
      content: none;
    }

    & .inner {
      display: flex;
      flex-direction: column;
    }

    & .soon {
      display: inline-block;
      margin-left: 8px;
      font-size: 12px;
      color: #999;
    }
  }


}


.btn-contribution-report .btn-contribution-report-text {
  margin-left: 20px;
  margin-right: 8px;
}

.message-members-unit {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.message-members-unit-item {
  flex: 1 1 0;
  min-width: 0;
}

.message-members {
  display: flex;
  align-items: center;
  padding: 8px;
  gap: 0 20px;
}

.message-members-pic {
  width: 83px;

  & img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.message-members-text {
  flex: 1;
  min-width: 0;
}

.message-members-school {
  font-size: 16px;
  line-height: 1.5;
}

.message-members-name-wrap {
  display: flex;
  gap: 0 8px;
  margin-top: 8px;
}

.message-members-position {
  font-size: 20px;
  line-height: 1.5;
  margin-right: 8px;
}

.message-members-name {
  font-size: 20px;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .message-members-unit {
    flex-direction: column;
  }
}

.mv-overview {
  position: relative;
  width: 100%;

  & img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.mv-overview-text {
  z-index: 2;
  position: absolute;
  top: 40px;
  left: 40px;
  background-image: url("/resources/img/contribution/1/bg.png");
  background-repeat: repeat;
  padding: 25px 40px;
  max-width: calc(100% - 400px);
}

.mv-overview-text-head {
  font-size: 50px;
  font-family: "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  ;
  color: #d80a31;
  line-height: 1.3;
  font-weight: 500;
}

.mv-overview-text-lead {
  margin-top: 12px;
  font-size: 24px;
  font-family: "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  ;
  color: #333333;
  line-height: 1.3 !important;
  font-weight: 500 !important;
}

@media screen and (max-width: 767px) {

  .mv-overview-text {
    top: 16px;
    left: 16px;
    padding: 10px 10px;
    max-width: fit-content;
  }

  .mv-overview-text-head {
    font-size: 18px;
  }

  .mv-overview-text-lead {
    margin-top: 8px;
    font-size: 14px;
    margin-bottom: 0 !important;
  }
}

/* 学びを支えるご寄付の使い道 */

.useage-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-size: 20px;
  font-weight: 700;
  margin-top: 30px;
  color: #d80a31;
}

.useage-heading::before,
.useage-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d80a31;
}

.useage-unit {
  display: flex;
  gap: 0 30px;
  margin-top: 40px;
}

.useage-unit-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 1px solid #d80a31;
  padding: 14px 8px;
  flex: 1 1 0;
  border-radius: 9999px;
  text-align: center;
}

.useage-unit-copy {
  font-size: 17px;
  font-weight: 700;
  color: #d80a31;
}

.useage-unit-ttl {
  font-size: 19px;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .useage-unit {
    flex-direction: column;
  }

  .useage-unit-item {
    width: 100%;
    margin-bottom: 20px;
  }

  .useage-unit-item:last-child {
    margin-bottom: 0;
  }
}

.img-flow {
  text-align: center;
  max-width: 690px;
  width: 100%;
  margin: 0 auto;
}
