.keyvisual {
  margin-top: calc(var(--header-height) * -1);
  padding-top: var(--header-height);
  background: url("/hokkaido100/sakerucheese/assets/images/common/bg_01.jpg") center top/60px auto repeat;
}
.keyvisual .p-keyvisual__image-pic {
  left: 19.8181818182%;
  width: 76%;
}
.history {
  background: url("/hokkaido100/sakerucheese/assets/images/common/bg_02.jpg") center top/60px auto repeat;
}
.history::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1200px, 100%);
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(to right, rgba(160, 224, 255, 0) 0%, #a0e0ff 8.3333333333%, #a0e0ff 91.6666666667%, rgba(160, 224, 255, 0) 100%);
  content: "";
}
.history__list .item {
  display: flex;
  position: relative;
  align-items: flex-start;
  padding-inline: 80px;
  background: var(--color-white);
}
.history__list .item:first-of-type {
  border-radius: 20px 20px 0 0;
}
.history__list .item:last-of-type {
  border-radius: 0 0 20px 20px;
}
.history__list .item:nth-last-child(2n) {
  background: var(--color-sub-3);
}
.history__list .item-title {
  width: 190px;
  text-align: left;
}
.history__list .item-body {
  width: 850px;
}
.history__list .item-main {
  display: flex;
}
.history__list .item-main__body {
  flex: 1;
}
.history__list .item-main__text {
  margin-top: 30px;
}
.history__list .item-main__image {
  display: flex;
  margin-left: 40px;
  gap: 0 10px;
}
.history__list .item.y2015 .item-y2015 {
  padding-top: 20px;
}
.history__list .item.y2015 .item-y2015__box {
  display: flex;
  margin: 0 -40px;
  padding: 40px 40px;
  border-radius: 20px 20px;
  background: var(--color-hover-1);
}
.history__list .item.y2015 .item-y2015__title {
  flex: 1;
}
.history__list .item.y2015 .item-y2015__image {
  display: flex;
  flex-wrap: wrap;
  margin: -60px 0 -20px 40px;
  gap: 0 10px;
}
.history__list .item.y2023 .item-y2023 {
  padding-bottom: 40px;
}
.history__list .item.y2023 .item-y2023__box {
  margin: 0 -40px;
  padding: 40px 40px 1px;
  border-radius: 20px 20px;
  background: var(--color-hover-1);
}
.history__list .item.y2023 .item-y2023__title {
  margin-bottom: 30px;
  text-align: center;
}
.history__list .item.y2023 .item-y2023__image {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
  gap: 0 20px;
}
.history__list .item.now .item-now__image {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 20px;
}
.history__list .item.now .item-now__image span {
  display: block;
  margin-top: 10px;
  line-height: 1.5;
  text-align: center;
}
.cheese {
  z-index: 1;
  position: absolute;
  pointer-events: none;
}
.cheese--01 {
  top: -170px;
  left: -120px;
  transform: rotate(-36deg);
}
.cheese--02 {
  top: 20px;
  right: -85px;
  transform: rotate(32deg);
}
.cheese--03 {
  top: -55px;
  left: -180px;
  transform: rotate(-15deg);
}
.cheese--04 {
  top: -25px;
  right: -145px;
  transform: rotate(-38deg);
}
.cheese--05 {
  top: -65px;
  left: -160px;
  transform: rotate(31deg);
}
.cheese--06 {
  top: -90px;
  right: -160px;
  transform: rotate(-36deg);
}
.cheese--07 {
  top: 20px;
  left: -115px;
  transform: rotate(-38deg);
}
.cheese--08 {
  top: 440px;
  right: -170px;
  transform: rotate(-15deg);
}
.cheese--09 {
  top: -115px;
  left: -125px;
  transform: rotate(-36deg);
}
.cheese--10 {
  right: -85px;
  bottom: -95px;
  transform: rotate(31deg);
}
@media screen and (max-width: 767px) {
  .keyvisual .p-keyvisual__image-pic {
    left: 17.2881355932%;
    width: 77.9661016949%;
  }
  .history {
    background: var(--color-sub-1);
  }
  .history::before {
    content: none;
  }
  .history__list {
    margin: 0 -9.5238095238%;
  }
  .history__list .item {
    flex-direction: column;
    padding-inline: 8%;
  }
  .history__list .item-title {
    width: 100%;
    margin-bottom: 15px;
  }
  .history__list .item-title img {
    height: 37px;
  }
  .history__list .item-body {
    width: 100%;
  }
  .history__list .item-main {
    flex-direction: column;
  }
  .history__list .item-main__text {
    margin-top: 20px;
  }
  .history__list .item-main__image {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    gap: 15px 4.7619047619%;
  }
  .history__list .item-main__image li {
    width: 30.1587301587%;
  }
  .history__list .item.y2015 .item-y2015 {
    padding: 0 0 20px;
  }
  .history__list .item.y2015 .item-y2015__box {
    flex-direction: column;
    margin: 0 -6.3492063492%;
    padding: 30px 6.3492063492% 1px;
  }
  .history__list .item.y2015 .item-y2015__title {
    margin-bottom: 20px;
    text-align: center;
  }
  .history__list .item.y2015 .item-y2015__image {
    justify-content: center;
    margin: 0 0 -20px;
    gap: 15px 4.7619047619%;
  }
  .history__list .item.y2015 .item-y2015__image li {
    width: 30.1587301587%;
  }
  .history__list .item.y2023 .item-y2023 {
    padding-bottom: 20px;
  }
  .history__list .item.y2023 .item-y2023__box {
    margin: 0 -6.3492063492%;
    padding: 30px 6.3492063492% 1px;
  }
  .history__list .item.y2023 .item-y2023__title {
    margin-bottom: 20px;
  }
  .history__list .item.y2023 .item-y2023__image {
    justify-content: center;
    margin-bottom: -20px;
    gap: 15px 4.7619047619%;
  }
  .history__list .item.y2023 .item-y2023__image li {
    width: 30.1587301587%;
  }
  .history__list .item.y2024 .item-main__image li {
    width: 61.9047619048%;
  }
  .history__list .item.now .item-now__image {
    justify-content: center;
    gap: 30px 4.7619047619%;
  }
  .history__list .item.now .item-now__image li {
    width: 30.1587301587%;
  }
  .cheese--01 {
    top: -65px;
    left: -45px;
    width: 89px;
  }
  .cheese--02 {
    top: -31px;
    right: -10px;
    width: 88px;
  }
  .cheese--03 {
    top: -30px;
    left: -60px;
    width: 107px;
  }
  .cheese--04 {
    top: -30px;
    right: -5px;
    width: 61px;
  }
  .cheese--05 {
    top: -65px;
    left: -30px;
    width: 88px;
  }
  .cheese--06 {
    top: -25px;
    right: -2px;
    width: 89px;
  }
  .cheese--07 {
    top: -95px;
    left: -2px;
    width: 61px;
  }
  .cheese--08 {
    top: 150px;
    right: -25px;
    width: 107px;
  }
  .cheese--09 {
    top: -60px;
    left: -45px;
    width: 89px;
  }
  .cheese--10 {
    right: -8px;
    bottom: -45px;
    width: 88px;
  }
}