.p-home {
  padding-bottom: 0;
}

.p-home-slides {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 30px;
}

.p-home-slides__stage {
  position: relative;
  overflow: hidden;
}

.p-home-slides__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.p-home-slides__stage-item {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  background: var(--hero-bg);
}

.p-home-slides__picture img,
.p-home-slides__thumb img {
  display: block;
  width: 100%;
  max-width: 1300px;
  height: auto;
  margin: 0 auto;
}

.p-home-slides__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(95, 42, 20, 0.72);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.p-home-slides__arrow-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.p-home-slides__arrow:hover,
.p-home-slides__arrow:focus-visible {
  background: rgba(95, 42, 20, 0.9);
}

.p-home-slides__arrow--prev {
  left: 20px;
}

.p-home-slides__arrow--next {
  right: 20px;
}

.p-home-slides__thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}

.p-home-slides__thumb {
  display: flex;
}

.p-home-slides__thumb-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.p-home-slides__thumb-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ded9d4;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.p-home-slides__thumb.is-active .p-home-slides__thumb-dot,
.p-home-slides__thumb-button[aria-selected="true"] .p-home-slides__thumb-dot {
  background: #a9a29d;
  transform: scale(1.05);
}

.p-home-important {
  max-width: 1080px;
  margin: 20px auto;
}

.p-home-important__box {
  padding: 10px;
  font-size: 14px;
}

.p-home-important__box a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
}

.p-home-important__title {
  padding: 10px 20px;
  color: #fff;
  white-space: nowrap;
  background: #CDA55A;
  font-weight: 700;
  border-radius: 5px;
}

.p-home-important__body {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  transition: all 0.3s ease;

  &:hover {
    opacity: 0.6;
  }
}

.p-home-important__modified {
  flex-shrink: 0;
  color: rgba(28, 27, 25, 0.56);
  white-space: nowrap;
}

.p-home-important__text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.p-home-section--white {
  max-width: 1080px;
  padding: 80px 0 0;
  margin: 0 auto;
}

.p-home-section--news {}

.p-home-wrap p {
  text-align: justify;
}

.p-home-wrap h2 {
  margin: 0 0 40px;
  color: #e64336;
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03em;
}

.p-home-divider {
  margin: 0 auto;
  max-width: 1080px;
  border: 0;
  border-bottom: 1px solid #8d7e79;
}

.p-home-lineup,
.p-home-newslist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 2%;
  row-gap: 40px;
  width: 100%;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}

.p-home-lineup__item,
.p-home-newslist__item {
  flex: 0 0 calc((100% - 6%) / 4);
  font-size: 15px;
  min-width: 0;
}

.p-home-lineup__item {
  text-align: center;
}

.p-home-lineup__item img,
.p-home-newslist__item img {
  background: #f7f7f7;
  width: 100%;
  height: auto;
}

.p-home-lineup__item figcaption {
  margin-top: 15px;
  font-family: var(--font-heading);
  font-size: 95%;
}

.p-home-lineup__item a:hover {
  text-decoration: underline;
}

.p-home-lineup__item a:hover img {
  opacity: 0.6;
}

.p-home-newslist__item figcaption {
  margin: 5px auto 15px;
  font-family: var(--font-base);
  font-size: 85%;
}

.p-home-accordion {
  margin-top: 20px;
}

.p-home-accordion__label {
  text-decoration: none;
}

.p-home-accordion__content {
  overflow: hidden;
}

.p-home-newslist--archive {
  margin-top: 40px;
}

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

  .p-home-lineup,
  .p-home-newslist {
    column-gap: 2%;
  }

  .p-home-lineup__item,
  .p-home-newslist__item {
    flex-basis: calc((100% - 2%) / 2);
  }

  .p-home-lineup__text {
    text-align: justify;
  }

  .p-home-lineup__text>span {
    display: inline;
  }

  .p-home-lineup__text br {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  .p-home-slides {
    padding-bottom: 0;
    background: none;
  }

  .p-home-slides__arrow {
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }

  .p-home-slides__arrow-icon {
    width: 18px;
    height: 18px;
  }

  .p-home-slides__arrow--prev {
    left: 10px;
  }

  .p-home-slides__arrow--next {
    right: 10px;
  }

  .p-home-slides__thumbs {
    display: none;
  }

  .p-home-important {
    width: 96%;
  }

  .p-home-important__box a {
    display: block;
  }

  .p-home-important__title {
    text-align: center;
    min-width: 0;
    margin: 0;
  }

  .p-home-important__body {
    border-top: 0;
  }

  .p-home-section--white {
    width: 100%;
    padding: 30px;
  }

  .p-home-accordion__label {
    max-width: 300px;
  }

  .p-home-divider {
    margin: 0 30px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .p-home-slides__track,
  .p-home-slides__arrow {
    transition: none;
  }

  .p-home-lineup__item a:hover img {
    opacity: 1;
  }
}
