@charset "UTF-8";

/*
  contribution top
--------------------------------------------- */
#main-content {
  overflow-x: hidden;
}

.bg-contribution {
  background: url(/resources/img/contribution/top/bg_bottom.jpg) no-repeat center bottom;
  width: 100%;
  background-size: contain;
}

.breadcrumb {
  margin-bottom: 0 !important;
}

.contribution-top-mv {
  position: relative;
  width: 100%;
  height: auto;

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

.contribution-top-mv-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.contribution-top-mv-heading {
  font-size: 48px;
  font-family: "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  ;
  color: #d80a31;
  font-weight: 500;
  margin-top: -40px;
}

.contribution-top-mv-copy {
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
  .contribution-top-mv-heading {
    font-size: 40px;
    margin-top: 0px;
    padding: 0 20px;
  }

  .contribution-top-mv-copy {
    font-size: 16px;
    margin-top: 18px;

  }
}

.contribution-top-heading {
  margin-top: 160px;
  margin-bottom: 60px;
  text-align: center;
  font-size: 32px;
  font-family: "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  ;
  color: #d80a31;
  font-weight: 500;
}

.mt-low-heading {
  margin-top: 40px !important;
}


.mt-high-heading {
  margin-top: 220px !important;
}

@media screen and (max-width: 767px) {
  .mt-low-heading {
    margin-top: 50px !important;
  }

  .mt-high-heading {
    margin-top: 120px !important;
  }
}

.contribution-top-heading-en {
  margin-top: 6px;
  display: block;
  text-align: center;
  font-size: 12px;
  font-family: "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  ;
  color: #d80a31;
  font-weight: 500;
}


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

  .contribution-top-heading {
    margin-top: 90px;
    margin-bottom: 60px;
    font-size: 32px;
  }

  .contribution-top-heading-en {
    margin-top: 6px;
  }
}

.contribution-top-halves {
  display: flex;
  gap: 0 50px;
  margin-top: 90px;
  position: relative;

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

  &.--mt-low {
    margin-top: 120px !important;
  }
}

.contribution-top-halves::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200vw;
  min-height: 400px;
  height: 100%;
  background: url(/resources/img/contribution/top/bg_pink.jpg) no-repeat left center;
  background-size: calc(50% + 10px) 100%;
  z-index: -1;
}

.contribution-top-halves.--reverse {
  flex-direction: row-reverse;
}


.contribution-top-halves.--reverse::before {
  background-position: right center;
}

.contribution-top-halves-text {
  width: 303px;
  flex: 1 1 0;
  padding: 40px 0 0 0;

  & p {
    line-height: 1.6;
    font-size: 14px;
  }
}

.contribution-top-halves-en {
  font-size: 12px;
  font-family: "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  ;
  margin-bottom: 16px;
}

.contribution-top-halves-heading {
  font-size: 18px;
  margin-bottom: 26px;
  line-height: 1.6;
  font-weight: bold;
}

.contribution-top-halves-pic {
  img {
    margin-top: -40px;
  }
}

@media screen and (max-width: 767px) {
  .contribution-top-halves {
    display: flex;
    flex-direction: column;
    flex-direction: column-reverse;
    gap: 0;
    margin-top: 50px;

    &.--mt-low {
      margin-top: 30px !important;
    }
  }

  .contribution-top-halves::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    min-height: auto;
    height: 100%;
    background: url(/resources/img/contribution/top/bg_pink.jpg) no-repeat left 200px;
    background-size: calc(100% - 15px) 100%;
    z-index: -1;
  }

  .contribution-top-halves.--reverse {
    flex-direction: column-reverse;
  }

  .contribution-top-halves.--reverse::before {
    background-position: right 200px;
  }

  .contribution-top-halves.--reverse .contribution-top-halves-pic {
    margin-right: auto;
    margin-left: -30px;

    img {
      width: calc(100% - 15px);
      display: block;
      margin-top: 0px;
    }
  }

  .contribution-top-halves-text {
    width: 100%;
    flex: 1 1 0;
    padding: 30px 15px 30px 0px;

    & p {
      line-height: 1.6;
      font-size: 14px;
    }
  }

  .contribution-top-halves.--reverse .contribution-top-halves-text {
    padding: 30px 0px 30px 15px;
  }

  .contribution-top-halves-en {
    font-size: 12px;
    font-family: "Hiragino Mincho ProN",
      "Yu Mincho",
      serif;
    ;
    margin-bottom: 16px;
  }

  .contribution-top-halves-heading {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .contribution-top-halves-pic {
    margin-right: -30px;

    img {
      width: calc(100% - 15px);
      display: block;
      margin-left: auto;
      margin-top: 0;
    }
  }
}


.contribution-top-navi-block {
  max-width: 627px;
  width: 100%;
  margin: 80px auto 0;
  display: flex;
  background: url(/resources/img/contribution/top/bg_pink.jpg) no-repeat left center;
  background-size: cover;
}

.contribution-top-navi-img {
  width: 223px;

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

.contribution-top-navi-txt {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 20px;

  & h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  .contribution-top-navi-block {
    width: 100%;
    margin: 30px auto 0;
  }

  .contribution-top-navi-img {
    width: 45%;

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

  .contribution-top-navi-txt {
    padding: 30px 15px;

    & h3 {
      text-align: center;
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 15px;
    }
  }
}

/* 皆さまからの声 */

.bg-ribbon {
  position: relative;
}

.bg-ribbon::before {
  content: "";
  position: absolute;
  top: -60px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: url(/resources/img/contribution/top/bg_ribbon.jpg) no-repeat top center;
  background-size: contain;
  z-index: -1;
}

.contribution-voices {
  display: flex;
  justify-content: space-between;
  gap: 0 20px;
  margin-top: 60px;
}

.contribution-voices-item {
  flex: 1 1 0;
  position: relative;

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

.contribution-voices-item:nth-child(even) {
  transform: translateY(40px);
}

.contribution-voices-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #FFF;

  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: center;

  & .button-white {
    margin-bottom: -30px;
  }
}

.contribution-voices-copy {
  font-size: 12px;
  padding: 0 10px;
}

.contribution-voices-ttl {
  font-size: 18px;
  font-weight: bold;
  padding: 0 10px;
  margin: 10px 0 28px;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .bg-ribbon {
    min-height: auto;
  }

  .bg-ribbon::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: url(/resources/img/contribution/top/bg_ribbon_sp.jpg) no-repeat top center;
    background-size: contain;
  }

  .contribution-voices {
    display: flex;
    flex-direction: column;
    gap: 70px 0;
    margin-top: 60px;
  }

  .contribution-voices-item {
    flex: 1 1 0;
    position: relative;

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

  .contribution-voices-item:nth-child(even) {
    transform: translateY(0);
  }

  .contribution-voices-text {

    & .button-white {
      margin-bottom: -40px;
    }
  }

  .contribution-voices-copy {
    font-size: 12px;
    padding: 0 10px;
  }

  .contribution-voices-ttl {
    font-size: 18px;
    font-weight: bold;
    padding: 0 10px;
    margin: 12px 0 15px;
    line-height: 1.6;
  }

}

.contribution-detail {
  display: flex;
  gap: 0 20px;
}

.contribution-detail-item {
  flex: 1 1 0;

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

.contribution-detail-txt {
  & p {
    font-size: 14px;
    line-height: 1.6;
  }
}

.contribution-detail-heading {
  a {
    margin: 20px 0 20px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    /* aの下線は常に消す */

    &:hover span {
      text-decoration: underline;



    }

    &::before {
      content: "";
      display: inline-block;
      width: 4px;
      height: 22px;
      background-color: #d80a31;
      vertical-align: middle;
      margin-right: 15px;
    }

    &::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;
    }
  }
}


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

  .contribution-detail {
    flex-direction: column;
    gap: 30px 0;
    margin-top: 60px;
  }

  .contribution-detail-item {
    display: flex;
    gap: 0 15px;

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

  .contribution-detail-pic {
    width: 47%;
  }

  .contribution-detail-txt {
    flex: 1 1 0;
  }

  .contribution-detail-heading {
    a {
      margin: 0 0 15px;

      &:hover {
        text-decoration: none;
      }

      &::before {

        width: 3px;
        height: stretch;
        margin-right: 12px;
        flex-grow: 0;
        flex-shrink: 0;
      }

      &::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;
      }
    }
  }

}

.button-white {
  font-size: 14px;
  display: inline-block;
  padding: 19px 18px 19px 5px;
  text-align: center;
  background-color: #fff;
  font-weight: bold;
  text-decoration: none;
  min-width: 161px;
  line-height: 1;
  box-shadow: 0 0 20px rgba(64, 0, 12, 0.2);

  &:hover {
    text-decoration: none;
    background: #ffe8ed;
    transition: background 0.4s;
  }

  &::before {
    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 {
    background-color: #e6e6e6;
    color: #999999;
    box-shadow: none;
    padding: 19px !important;
    pointer-events: none;

    &::before {
      content: none;
      margin-right: 0px;
      margin-left: 0px;
    }


  }
}


@media screen and (max-width: 767px) {
  .button-white {
    padding: 19px 18px 19px 5px;

    &::before {
      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;
    }
  }
}
