/* important-notices
-------------------------*/
.important-notices {
  padding-block: 8px;
  padding-inline: 20px;
}
@media print, screen and (min-width: 769px) {
  .important-notices {
    width: 1144px;
    margin-inline: auto;
  }
}
@media not all and (min-width: 769px) {
  .important-notices {
    width: 100%;
  }
}

/* mv
-------------------------*/
.mv {
  position: relative;
  display: flex;
  justify-content: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url("../images/top/mv.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv__title {
  color: #FFFFFF;
  font-weight: bold;
  text-align: center;
}
@media print, screen and (min-width: 769px) {
  .mv {
    min-width: 1144px;
    min-height: 250px;
  }
  .mv__title {
    font-size: 2.5rem;
    line-height: 1.2;
    padding-top: 40px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  }
}
@media not all and (min-width: 769px) {
  .mv {
    align-items: center;
    min-height: 150px;
  }
  .mv__title {
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    padding-top: 15px;
  }
}
.mv__button-container {
  position: absolute;
  top: 8px;
}
@media print, screen and (min-width: 769px) {
  .mv__button-container {
    width: 1104px;
  }
}
@media not all and (min-width: 769px) {
  .mv__button-container {
    right: 20px;
  }
}
.mv__button {
  border: none;
  box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.15);
}
@media print, screen and (min-width: 769px) {
  .mv__button {
    width: 104px;
    padding-block: 7px;
    padding-inline: 13px;
    margin-left: auto;
  }
  .mv__button .c-pill-button__text {
    font-size: 0.875rem;
    line-height: 0.71;
  }
}
@media not all and (min-width: 769px) {
  .mv__button {
    width: 92px;
    align-items: center;
    padding-block: 5px;
    padding-inline: 10px;
  }
  .mv__button.c-pill-button[class*=icon]::before {
    width: 12px;
    height: 12px;
  }
  .mv__button .c-pill-button__text {
    font-size: 0.75rem;
    line-height: 1;
  }
}
@media (hover: hover) {
  .mv__button:not(.is-disabled-hover):hover {
    box-shadow: none;
  }
}

/* base
-------------------------*/
.base {
  padding-block: 64px;
  margin-bottom: 54px;
}

/* fair
-------------------------*/
.fair__big-fair {
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 24px;
  transition: opacity 0.3s;
}
@media (hover: hover) {
  .fair__big-fair:not(.is-disabled-hover):hover {
    opacity: 0.7;
  }
}
.fair__big-fair-images {
  display: block;
  width: 100%;
}
.fair__big-fair-image {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.fair__item {
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.3s;
}
@media (hover: hover) {
  .fair__item:not(.is-disabled-hover):hover {
    opacity: 0.7;
  }
}
.fair__image {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.fair__dots {
  display: flex;
  gap: 4px;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 16px;
}
.fair__dots button {
  display: block;
  width: 10px;
  height: 10px;
  font-size: 0;
  background-color: #E9ECF2;
  border-radius: 50%;
  cursor: pointer;
}
.fair__dots .slick-active button {
  background-color: #939DAD;
}
@media print, screen and (min-width: 769px) {
  .fair__anchor {
    width: 100%;
    padding: 18px 16px;
    margin-inline: auto;
  }
  .fair__big-fair-image {
    aspect-ratio: 960/100;
  }
  .fair__list {
    margin-top: 24px;
  }
  .fair__item {
    max-width: 352px;
  }
  .fair__item + .fair__item {
    margin-left: 24px;
  }
  .fair__image {
    aspect-ratio: 335 / 137;
  }
}
@media not all and (min-width: 769px) {
  .fair__anchor {
    padding: 18px 16px;
  }
  .fair__big-fair-image {
    aspect-ratio: 335/137;
  }
  .fair__list {
    margin-top: 16px;
  }
  .fair__item {
    width: 335px;
    max-width: 100%;
  }
  .fair__image {
    aspect-ratio: 335/137;
  }
}

/* notice
-------------------------*/
.notice__list:has(> :nth-of-type(-n + 3):last-of-type) + .notice__more-button {
  display: none;
}
.notice__more-button {
  display: block;
  max-width: 102px;
  margin-inline: auto;
}
@media print, screen and (min-width: 769px) {
  .notice__more-button {
    margin-top: 24px;
  }
}
@media not all and (min-width: 769px) {
  .notice__more-button {
    margin-top: 16px;
  }
}

/* notice-list
-------------------------*/
.notice-list__row + .notice-list__row {
  margin-top: 16px;
}
.notice-list__head {
  display: flex;
  gap: 8px;
}
.notice-list__date {
  font-size: 0.75rem;
  color: #697180;
}
.notice-list__tags {
  display: flex;
  gap: 4px;
}
.notice-list__description {
  margin-top: 8px;
}
.notice-list__link {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 0.875rem;
  transition: all 0.3s;
  text-decoration: underline;
}
@media (hover: hover) {
  .notice-list__link:not(.is-disabled-hover):hover {
    color: #140D77;
  }
}
@media print, screen and (min-width: 769px) {
  .notice-list {
    max-width: 672px;
    margin-inline: auto;
  }
  .notice-list__link {
    -webkit-line-clamp: 1;
    cursor: pointer;
  }
}
@media not all and (min-width: 769px) {
  .notice-list__link {
    -webkit-line-clamp: 2;
  }
}

/* lowest-price
-------------------------*/
.lowest-price__note {
  font-size: 0.75rem;
  color: #697180;
  text-align: right;
}
@media print, screen and (min-width: 769px) {
  .lowest-price__cards {
    margin-top: 8px;
  }
}
@media not all and (min-width: 769px) {
  .lowest-price {
    position: relative;
  }
  .lowest-price__note {
    position: absolute;
    top: -41px;
    right: 0;
  }
}

/* lowest-price-cards
-------------------------*/
.lowest-price-cards {
  display: flex;
}
@media print, screen and (min-width: 769px) {
  .lowest-price-cards {
    gap: 24px;
    flex-wrap: wrap;
  }
}
@media not all and (min-width: 769px) {
  .lowest-price-cards {
    gap: 16px;
    flex-direction: column;
  }
}
