/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  --point-color: #ff4d4d;
  --text-point-color: #e83d3d;
  --border-color-gray: #ededed;
}

/* ==========================================================================
   Layout Sections
   ========================================================================== */
.section {
  padding-bottom: 102px;
  padding-top: 37px;
  position: relative;
  z-index: 1;
}
.section::before {
  clip-path: ellipse(50% 50%);
  content: '';
  display: block;
  height: 478px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 1135px;
  z-index: -1;
}
.section::after {
  bottom: -134px;
  content: '';
  display: block;
  left: 50%;
  position: absolute;
  top: 134px;
  transform: translateX(-50%);
  width: 1135px;
  z-index: -1;
}
.section--bg-red::after {
  background: linear-gradient(90deg, #fe6a88 0, #ffac79 100%);
}
.section--bg-red::before {
  background: linear-gradient(90deg, #fe6a88, #ffac79);
}
.section--bg-white::after,
.section--bg-white::before {
  background: var(--ecm-color-white);
}
.section-campaign {
  padding-bottom: 112px;
  padding-top: 34px;
  position: relative;
  z-index: 1;
}

.section-campaign::after {
  background: linear-gradient(90deg, #ffeed5 0, #ffd0c3 100%);
  bottom: 0;
  content: '';
  display: block;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: calc(100% + 32px);
  z-index: -1;
}

.section-campaign::before {
  background: linear-gradient(90deg, #ff6b89 0, #ffac79 100%);
  content: '';
  display: block;
  height: 4px;
  left: 50%;
  min-width: 1024px;
  position: absolute;
  top: -4px;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  .section::after, .section-campaign::after {
    width: 100vw;
  }
  .section--bg-red::before {
    background: linear-gradient(90deg, #fe6a88 calc((100vw - 1135px) / -2), #ffac79 calc(100vw - ((100vw - 1135px) / 2)));
  }
}

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section-title {
  align-items: flex-end;
  background-image: url('https://r.r10s.jp/evt/event/beauty/campaign/specialsale/_cmn/img/20260130/img_thunder_yellow_light_l.svg'),
    url('https://r.r10s.jp/evt/event/beauty/campaign/specialsale/_cmn/img/20260130/img_thunder_yellow_light_r.svg');
  background-position:
    left 6px bottom,
    right 10px bottom;
  background-repeat: no-repeat;
  background-size:
    24px auto,
    40px auto;
  display: flex;
  height: 88px;
  justify-content: center;
  margin: 0 auto 57px;
  padding-inline: 60px 76px;
  width: fit-content;
}
.section-title--dark-lightning {
  background-image: url('https://r.r10s.jp/evt/event/beauty/campaign/specialsale/_cmn/img/20260130/img_thunder_yellow_l.svg'),
    url('https://r.r10s.jp/evt/event/beauty/campaign/specialsale/_cmn/img/20260130/img_thunder_yellow_r.svg');
}
.section-title--campaign {
  background: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.section-title__text {
  background-color: var(--ecm-color-white);
  color: var(--point-color);
  display: block;
  font-family: 'RakutenSansJP2_W-Bold';
  font-size: 42px;
  line-height: 1;
  margin-left: auto;
  margin-right: auto;
  padding: 4px 6px;
  width: fit-content;
}
.section-title--campaign .section-title__text {
  background-color: #FA3B5A;
  color: var(--ecm-color-white);
}
.section-title__text + .section-title__text {
  margin-top: 8px;
}

/* ==========================================================================
   Kanban Component
   ========================================================================== */
.kanban {
  min-width: 960px;
  padding-bottom: 62px;
  position: relative;
  text-align: center;
}
.kanban::after {
  background: linear-gradient(180deg, #f9f5f4 0, #ffe1d6 100%);
  bottom: -134px;
  content: '';
  display: block;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  z-index: -1;
}
.kanban__head {
  background-color: #6d2200;
  color: var(--ecm-color-white);
  font-size: 20px;
  padding: 13px;
  text-align: center;
}

/* ==========================================================================
   Category Links
   ========================================================================== */
.category-link {
  border-top: 1px solid var(--border-color-gray);
  margin-top: 48px;
}
.category-link__button {
  background: 0;
  border: 1px solid var(--border-color-gray);
  border-top: 0;
  color: var(--ecm-color-gray-1);
  display: flex;
  font-size: 20px;
  font-weight: bold;
  justify-content: space-between;
  padding: 22px 32px;
  text-align: left;
  top: 0;
  width: 100%;
}
.category-link__button::after {
  content: '\e91c';
  font-family: ecm-icon-font !important;
}
.category-link__button[aria-expanded='true']::after {
  transform: rotate(180deg);
}
.category-link__panel {
  background-color: #f8f8f8;
  border: 1px solid var(--border-color-gray);
  border-top: 0;
  display: grid;
  grid-auto-rows: 48px;
  grid-template-columns: repeat(2, 1fr);
}
.category-link__panel[aria-hidden='false'] {
  border-bottom: 0;
}
.category-link__item {
  align-items: center;
  border-bottom: 1px solid var(--border-color-gray);
  color: var(--ecm-color-gray-1) !important;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 8px 32px;
}
.category-link__item:nth-child(odd) {
  border-right: 1px solid var(--border-color-gray);
}
@media (hover: hover) and (pointer: fine) {
  .category-link__button:hover {
    text-decoration: none;
    background-color: rgb(0 0 0 / 3%);
  }
  .category-link__item:hover {
    text-decoration: none;
    background-color: rgb(0 0 0 / 2%);
  }
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
/* Navigation */
.beauty-floating-navi-container {
  padding-top: 16px;
}
.beauty-floating-navi {
  height: 48px;
}
.beauty-floating-navi-item {
  color: var(--ecm-color-gray-2) !important;
  border-bottom-color: rgb(0 0 0 / 20%);
  padding: 12px;
}
.beauty-floating-navi-item[data-in-viewport='true'] {
  border-bottom: 2px solid var(--point-color) !important;
  color: var(--point-color) !important;
}
@media (hover: hover) and (pointer: fine) {
  .beauty-floating-navi-item:hover {
    color: var(--point-color) !important;
  }
}

/* Searchform */
.floating-search {
  background-color: #fff4f3;
  border-top: 1px solid var(--point-color);
  box-shadow: 0 -1.25px 6px 0 rgb(0 0 0 / 20%);
  height: 60px;
  inset: auto 0 0 !important;
  padding-top: 10px;
}

/* Banners */
.floating-banner {
  position: relative;
  right: 48px;
  top: auto !important;
}
.floating-banner--sale {
  bottom: 333px;
}
.floating-banner--beauty {
  bottom: 172px;
}
.floating-banner__link {
  display: block;
  height: 129px;
  width: 129px;
}
.floating-banner__close-button {
  align-items: center;
  background: var(--ecm-color-white);
  border-radius: 12px;
  border-style: solid;
  border-width: 2px;
  box-shadow: 0 1.244px 5.97px 0 rgb(0 0 0 / 20%);
  display: flex;
  font-size: 10px;
  height: 24px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: -8px;
  top: -8px;
  width: 24px;
}
.floating-banner--sale .floating-banner__close-button {
  border-color: var(--point-color);
  color: var(--point-color);
}
.floating-banner--beauty .floating-banner__close-button {
  border-color: #453725;
  color: #453725;
}
@media (hover: hover) and (pointer: fine) {
  .floating-banner__link:hover,
  .floating-banner__close-button:hover {
    opacity: 0.8;
  }
}

/* ==========================================================================
   Ad Components
   ========================================================================== */
.beauty-ad-influencer {
  border-radius: 8px;
  padding: 5px;
}
.beauty-ad-discount-rate {
  background: var(--point-color);
  border-radius: 2px;
  font-size: 13px;
  line-height: 1;
  margin-top: 8px;
  padding: 5px 8px;
  width: fit-content;
}

/* ==========================================================================
   Searchform
   ========================================================================== */
.beauty-search {
  border: 2px solid var(--point-color) !important;
  border-radius: 12px;
  margin-inline: auto;
  overflow: hidden;
  width: 632px;
}
.beauty-search-submit {
  background: var(--point-color);
  border-radius: 12px;
  margin-bottom: -2px;
  margin-right: -2px;
  margin-top: -2px;
  transition:
    background 0.3s ease,
    background-color 0s;
}
.beauty-search-submit:disabled {
  background: #ffc2c1;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .beauty-search-submit:hover {
    background: linear-gradient(0deg, rgb(0 0 0 / 8%) 0), var(--point-color);
  }
}
.beauty-search-select-container {
  border-left: 1px solid rgb(0 0 0 / 20%);
  padding-left: 12px;
}
.keywords-button {
  background-color: #fff4f3;
  border: 1px solid rgb(255 77 77 / 30%);
  border-radius: 8px;
  color: var(--point-color) !important;
  font-size: 12px;
  font-weight: bold;
  margin: 12px 6px 0;
  padding: 11px 16px;
}
@media (hover: hover) and (pointer: fine) {
  .keywords-button:hover {
    background: linear-gradient(0deg, rgb(255 77 77 / 10%) 0), #fff4f3;
    background-blend-mode: multiply;
    text-decoration: none;
  }
}

/* ==========================================================================
   Banners
   ========================================================================== */
.banner-campaign {
  display: block;
  margin: 40px auto 0;
  position: relative;
  width: 552px;
}
.banner-campaign__image {
  display: block;
  height: auto;
  width: 100%;
}
.banner-campaign__button {
  background-color: #FA3B5A;
  border-color: #FA3B5A;
  color: var(--ecm-color-white);
  font-weight: bold;
  left: 50%;
  margin: auto;
  padding: 10px 16px;
  position: absolute;
  top: 100%;
  transform: translateX(-50%) translateY(-50%);
}
@media (hover: hover) and (pointer: fine) {
  .banner-campaign:hover {
    opacity: 0.8;
  }
  .banner-campaign__button:hover {
    color: var(--ecm-color-white);
    background-color: #FA3B5A;
  }
}


.kamitoku-button {
  border-radius: 12px;
  padding: 17px 16px;
  display: block;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.kamitoku-button--30off {
  color: #ff5782 !important;
  border-color: #ff5782;
}

@media (hover: hover) and (pointer: fine) {
  .kamitoku-button:hover {
    background-color: rgb(255 255 255 / 80%);
  }

  .link-brand-logo:hover {
    opacity: 0.8;
  }
}
