@charset "UTF-8";

.award {
  margin-top: 130px;
}

@media screen and (max-width: 768px) {
  .award {
    margin-top: 50px;
    margin-bottom: 130px;
  }
}

.award__inner {
  max-width: 1020px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 40px;
}

@media screen and (max-width: 768px) {
  .award__inner {
    padding-left: 0;
    padding-right: 0;
  }
}

.section-title-wrapper {
  text-align: center;
}

.title-image {
  display: block;
  margin: 0 auto 18px;
  max-width: 241px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .title-image {
    max-width: 166px;
  }
}

.section-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 20px;
    letter-spacing: 1px;
  }
}

.award__text {
  font-size: 20px;
  font-weight: 700;
  line-height: 37px;
  text-align: center;
  margin-top: 70px;
}

@media screen and (max-width: 768px) {
  .award__text {
    font-size: 14px;
    line-height: 180%;
    letter-spacing: 0.14px;
    margin-top: 30px;
  }
}

.award__container {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .award__container {
    margin-top: 25px;
  }
  
}

.award__years-list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .award__years-list {
    flex-wrap: wrap;
    padding-left: 14.8%;
    padding-right: 14.8%;
    gap: 10px;
  }
}

.award__years-item {
  position: relative;
}

.award__years-link {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px; /* 137.5% */
  letter-spacing: 0.32px;
  cursor: pointer;
  transition: all 0.3s;
}

.award__years-link:hover {
  color: #71BE78;
  text-decoration: underline; /* ホバー時にアンダーラインを表示 */
  text-decoration-color: #71BE78; /* アンダーラインの色も変更 */
}

/* 縦線のスタイル */
.award__years-link::after {
  content: "";
  position: absolute;
  right: -10px; /* アイテムとの隙間 */
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 10px; /* 縦線の長さ */
  background-color: #000; /* 線の色 */
}

@media screen and (max-width: 768px) {
  .award__years-link::after {
    right: -5px; 
  }
}

/* 最後のアイテムには線を消す */
.award__years-item:last-child .award__years-link::after {
  display: none;
}

.award__items {
  margin-top: 100px;
  margin-bottom: 160px;
}

@media screen and (max-width: 768px) {
  .award__items {
    margin-top: 56px;
    margin-bottom: 25px;
  }
}

.award__item-wrap {
  padding: 50px 0px 56px 20px;
  border-bottom: 3px solid #000;
}

.award__item-wrap.is-last {
  border-bottom: none !important;
}



@media screen and (max-width: 768px) {
  .award__item-wrap {
    /* padding: 30px 20px 0 20px; */
    padding: 30px 0 0 0;
    margin-left: 20px;
    margin-right: 20px;
    border-bottom: 2px solid #000;
  }
}

.award-item {
  display: flex;
  align-items: center;
  gap: 30px;
}

@media screen and (max-width: 768px) {
  .award-item {
    flex-direction: column;
    gap: 20px;
  }
}

.award-item__image-wrap {
  width: 39.1%;
}

@media screen and (max-width: 768px) {
  .award-item__image-wrap {
    width: 40.8%;
  }
}

.award-item__image-wrap.no-image {
  display: none; /* 画像がない場合は非表示 */
}

.award-item__image-wrap.no-image + .award-item__contents {
  width: 100%; /* 画像がない場合は幅を100%にする */
}

.award-item__image {
  aspect-ratio: 360 / 300;
  position: relative;
}

.award-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.award-item__image:hover {
  overflow: visible; /* 画像全体を見せる */
  opacity: 1;
  z-index: 2;
}

.award-item__image:hover img {
  transform: scale(1.7);
  object-fit: contain;
  opacity: 1;
}

.award-item__contents {
  width: 57.6%;
}

@media screen and (max-width: 768px) {
  .award-item__contents {
    width: 100%;
    text-align: center;
  }
}

.award-item__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 37px; /* 185% */
  margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
  .award-item__title {
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
  }
}

.award-item__text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
}

@media screen and (max-width: 768px) {
  .award-item__text {
    font-size: 10px;
    line-height: 15px; /* 150% */
    letter-spacing: -0.7px;
  }
}

.award-item__date {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-align: right;
}

@media screen and (max-width: 768px) {
  .award-item__date {
    font-size: 10px;
    font-weight: 500;
    line-height: 15px; /* 150% */
    letter-spacing: -0.7px;
  }
}

