@charset "UTF-8";
/* おせち2026：アフィリエイト */

.lp-daichi.-affi {
  --tab-housenka-bg: #b62522;
  --tab-ayame-bg: #e7544b;
  --tab-mebuki-bg: #28a267;

  /* https://min-max-calculator.9elements.com/ w479-960px*/
  --min4max8: clamp(0.25rem, 0.001rem + 0.83vw, 0.5rem);
  --min4max10: clamp(0.25rem, -0.125rem + 1.25vw, 0.625rem);
  --min5max30: clamp(0.313rem, -0.469rem + 3.91vw, 1.875rem);
  --min6max8: clamp(0.375rem, 0.251rem + 0.42vw, 0.5rem);
  --min6max12: clamp(0.375rem, 1.25vw, 0.75rem);
  --min10max25: clamp(0.625rem, -0.309rem + 3.12vw, 1.563rem);
  --min12max15: clamp(0.75rem, 0.563rem + 0.62vw, 0.938rem);
}

body {
  position: relative;
}

#content {
  padding: 0;
}

#page-top {
  display: none;
  position: fixed;
  right: 20px;
  z-index: 1;
}
#page-top a {
  background: #45301f;
  user-select: none!important;
  -webkit-user-select: none!important;
  text-decoration: none;
  position: relative;
  color: #fff;
  display: block;
  width: 45px;
  height: 45px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  opacity: .8;
}
#page-top a::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background: url(/assets/img/icon_up.png) 0 0 no-repeat;
  background-image: linear-gradient(transparent,transparent),url(/assets/img/icon_up.svg);
  background-size: 16px 10px;
  width: 16px;
  height: 10px;
  margin-top: -5px;
  margin-left: -8px;
}

.lp-daichi.-affi {
  margin-bottom: 25px;
  width: min(960px, 100%);
  margin-top: var(--min5max15);
  margin-inline: auto;
}

.lp-daichi.-affi .main-area {
  position: relative;
  z-index: 1;
}

.tab-contents .lp-daichi {
  width: min(960px, 100%);
  margin: 0 auto;
}

.tabs-menu {
  display: grid;
  gap: var(--min5max30);
  grid-template-columns: repeat(3, 1fr);
  padding-inline: var(--min10max25);
  padding-block: var(--min15max30);
}
.tab-card {
  cursor: pointer;
  transition: all 0.7s;
  border-radius: var(--min6max12);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.tab-card.-bottom {
  flex-direction: column-reverse;
  justify-content: space-between;
}
.tab-card:hover {
  transition: all 0.7s;
  opacity: 0.7;
}
.tab-card.is-active {
  opacity: 0.5;
  pointer-events: none;
}
.tab-card.-housenka {
  background-color: var(--tab-housenka-bg);
}
.tab-card.-ayame {
  background-color: var(--tab-ayame-bg);
}
.tab-card.-mebuki {
  background-color: var(--tab-mebuki-bg);
}
.tab-card.-soldout {
  position: relative;
  pointer-events: none;
}
.tab-card.-soldout :is(.image, .textwrap) {
  opacity: 0.4;
}
.tab-card.-soldout::before,
.tab-card.-soldout::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: grid;
  place-content: center;
}
.tab-card.-soldout::before {
  content: "完売御礼";
  white-space: pre;
  font-size: var(--min12max24);
  font-weight: bold;
  font-family: var(--font-minchou);
  color: #b30000;
  z-index: 1;
}
.tab-card.-soldout::after {
  content: "";
  width: 90%;
  height: var(--min20max40);
  background-color: #fff;
}
.tab-card .image {
  border-left: var(--min4max8) solid;
  border-right: var(--min4max8) solid;
  position: relative;
}
.tab-card:not(.-bottom) .image {
  border-top: var(--min4max8) solid;
}
.tab-card:not(.-bottom) .image img {
  border-top-left-radius: calc(var(--min6max12) - 2px);
  border-top-right-radius: calc(var(--min6max12) - 2px);
}
.tab-card.-bottom .image {
  border-bottom: var(--min4max8) solid;
}
.tab-card.-bottom .image img {
  border-bottom-left-radius: calc(var(--min6max12) - 2px);
  border-bottom-right-radius: calc(var(--min6max12) - 2px);
}
.tab-card.-housenka .image {
  border-color: var(--tab-housenka-bg);
}
.tab-card.-ayame .image {
  border-color: var(--tab-ayame-bg);
}
.tab-card.-mebuki .image {
  border-color: var(--tab-mebuki-bg);
}
.tab-card > .textwrap {
  color: #fff;
  position: relative;
  display: grid;
}
.tab-card.-bottom > .textwrap .inner {
  padding-bottom: var(--min5max10);
}
.tab-card > .textwrap::before,
.tab-card > .textwrap::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin-inline: auto;
}
.tab-card > .textwrap::before {
  width: var(--min18max25);
  aspect-ratio: 1/1;
  background-color: #fff;
  border-radius: 50%;
}
.tab-card:not(.-bottom) > .textwrap::before {
  bottom: var(--min6max8);
}
.tab-card.-bottom > .textwrap::before {
  top: var(--min6max8);
}
.tab-card > .textwrap::after {
  -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  width: var(--min12max15);
  aspect-ratio: 3/2;
  background-color: #000;
}
.tab-card:not(.-bottom) > .textwrap::after {
  bottom: calc(var(--min6max8)*2 - 2px);
}
.tab-card.-bottom > .textwrap::after {
  top: calc(var(--min6max8)*2 - 1px);
  transform: scaleY(-1);
}
.tab-card > .textwrap .inner {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
}
.tab-card:not(.-bottom) > .textwrap .inner {
  padding-bottom: var(--min25max40);
}
.tab-card.-bottom > .textwrap .inner {
  padding-top: var(--min30max40);
}
.tab-card::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(/external/category/image/2025/osechi2026/bg_ichimatsu_clear.png) top left / 19%;
  mix-blend-mode: overlay;
}
.tab-card .textwrap .name {
  width: min(230px,100%);
  margin-inline: auto;
  padding-inline: 15px;
  box-sizing: border-box;
}
.tab-card:not(.-bottom) .textwrap .name {
  padding-top: 10px;
}
.block-grid.-tag.-affi {
  width: 100%;
  display: inline-block;
  text-align: center;
  margin-top: 6px;
}
.block-grid.-tag.-affi > .tag {
  background: none;
  border-radius: unset;
  display: inline-block;
  padding: 0 var(--min4max10);
  font-size: var(--min10max20);
}
.block-grid.-tag.-affi > .tag + .tag {
  border-left: solid 1px;
}

@media (max-width: 479px) {
  #content {
    padding-inline: 15px;
  }
  .lp-daichi.-affi {
    width: calc(100% + 30px);
    translate: -15px;
  }
  .lp-daichi.-affi .lp-daichi {
    width: 100%;
    translate: unset;
  }

}