/* ======================================
   PickupSection
====================================== */

.pickup-section {
  background: #f0f0f0;
  padding: 32px 20px;
}

@media (min-width: 641px) {
  .pickup-section {
    padding: 48px 20px;
  }
}

.pickup-header {
  margin-bottom: 24px;
}

.pickup-title {
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}

.pickup-container {
  width: 100%;
}

.pickup-carousel {
  position: relative;
  overflow: visible;
  padding: 0;
}

.pickup-viewport {
  overflow: hidden;
}

.pickup-track {
  display: flex;
  gap: 16px;
  transition: transform 0.7s ease;
  will-change: transform;
}

@media (min-width: 641px) {
  .pickup-carousel {
    padding: 0 55px;
  }
}

.article-link {
  flex: 0 0 min(280px, 85%);
}

@media (min-width: 641px) {
  .article-link {
    flex: 0 0 calc((100% - 32px) / 3);
  }
}

.pickup-card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 186px;
  padding: 16px 16px 40px;
  background: #333;
}

.pickup-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 6px 12px;
  background: #5D5D5D;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}

.pickup-card-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.pickup-image {
  flex: 1;
  aspect-ratio: 1;
}

.pickup-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pickup-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.pickup-copy {
  color: #a7a7a7;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}

.pickup-copy p {
  margin: 0;
}

.pickup-rate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to left, #89B9E066 0%, #86BBE6CC 25%, #E5FCEF 50%, #FAF1C8 75%, #F7A970 100%) 1;
  color: #fff;
}

.pickup-rate-prefix {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  margin: auto 0;
}

.pickup-rate-value {
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
}

.pickup-rate-unit {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.pickup-body {
  text-align: center;
}

.pickup-category {
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}

.pickup-name {
  margin: 8px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.pickup-note {
  margin-top: 12px;
  color: #a7a7a7;
  font-size: 12px;
  line-height: 1.5;
}

.nav-arrow {
  position: relative;
  left: -3px;
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  transform: rotate(45deg);
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.pickup-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: 32px;
  height: 32px;
  border: 0;
  background: #434343;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pickup-arrow:hover {
  background: #555;
}

.pickup-nav {
  position: absolute;
  top: 50%;
  z-index: 999;
  display: flex;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background: #858585;
  cursor: pointer;
}

.pickup-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.pickup-nav-prev {
  left: 0;
  background: #60768d;
}

.pickup-nav-next {
  right: 0;
  background: #60768d;
}

.pickup-nav-arrow {
  display: block;
  width: 17px;
  height: 17px;
  margin: auto;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.pickup-nav-arrow-prev {
  position: relative;
  right: -2px;
  transform: rotate(-135deg);
}

.pickup-nav-arrow-next {
  position: relative;
  left: -2px;
  transform: rotate(45deg);
}

@media (max-width: 640px) {
  .pickup-nav {
    display: none;
  }
}

.pickup-pagination {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.pickup-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: #b3bdc8;
  cursor: pointer;
}

.pickup-dot.active {
  background: #60768d;
}

@media (min-width: 641px) {
  .pickup-pagination {
    display: none;
  }
}

.pickup-nav:focus,
.pickup-dot:focus,
.pickup-download:focus {
  outline: 2px solid #60768d;
  outline-offset: 2px;
}

/* ======================================
   Campaign
====================================== */

.campaign-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0 40px;
  background: #fff;
}

.campaign-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-bottom: 16px;
}

.campaign-title {
  flex: 1;
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}

.campaign-banner {
  position: relative;
}

.campaign-banner img {
  width: 100%;
  height: 100%;
  max-width: 640px;
  max-height: 160px;
}

@media (min-width: 641px) {
  .campaign-section {
    padding: 64px 0 0;
  }

  .campaign-header {
    padding-bottom: 24px;
  }

  .campaign-banner img {
    max-width: 810px;
    max-height: 202.5px;
  }
}

/* ======================================
   Category
====================================== */

.category-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding-top: 0;
  background: #fff;
  /* margin-top: -80px; */
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.category-title {
  flex: 1;
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}

@media (min-width: 641px) {
  .category-section {
    padding-top: 64px;
  }

  .category-header {
    padding-bottom: 24px;
  }
}

/* ======================================
   AEM暫定対応
====================================== */

#main>.aem-Grid>.bps-section:nth-child(3)>.cmp-section {
  border-left-color: #F0F0F0;
  border-right-color: #F0F0F0;
}

#main>.aem-Grid>.bps-section:nth-child(3) .bps-freehtml {
  padding-left: 0;
  padding-right: 0;
}

#main>.aem-Grid>.bps-section:nth-child(2)>.cmp-section {
  padding-bottom: 32px;
}

@media (min-width: 641px) {
  #main>.aem-Grid>.bps-section:nth-child(2)>.cmp-section {
    padding-bottom: 72px;
  }
}

#main>.aem-Grid>.bps-section:nth-child(3)>.cmp-section,
#main>.aem-Grid>.bps-section:nth-child(4)>.cmp-section {
  padding-bottom: 0;
}

section.cmp-section>*:not(.conversion_Button):not(.primary_Button):not(.secondary_Button):not(.tertiary-back_Button):not(.tabs) {
  padding-left: 20px;
  padding-right: 20px;
}

.campaign-banner,
.campaign-header {
  display: none !important;
}