
/*
 * 記事4718｜2027年スポーツ福袋
 * フラットデザイン・アフィリエイト画像対応
 * 対象：.fuku2027
 */

.fuku2027 {
  --fuku-blue: #0b4f92;
  --fuku-red: #c92330;
  --fuku-ink: #151b28;
  --fuku-border: #ccd7e4;
  width: 100%;
  max-width: 100%;
  color: var(--fuku-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  container-type: inline-size;
}

.fuku2027,
.fuku2027 * {
  box-sizing: border-box;
}

.fuku2027 p {
  margin-top: 0;
}

/* メインビジュアル・導入文 */

.fuku2027 .fuku2027__hero {
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
}

.fuku2027 .fuku2027__hero picture,
.fuku2027 .fuku2027__hero img {
  display: block;
  width: 100%;
  height: auto;
}

.fuku2027 .fuku2027__hero img {
  border-radius: 5px;
}

.fuku2027 .fuku2027__intro {
  margin: 0 0 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
}

/* ゼビオ強調セクション */

.fuku2027 .fuku2027-xebio {
  margin: 0 0 32px;
  overflow: hidden;
  border: 1px solid #c7e0f9;
  border-radius: 8px;
  background: #f3f7fc;
}

.fuku2027 .fuku2027-xebio__heading {
  padding: 12px 20px 13px;
  background: var(--fuku-blue);
}

.fuku2027 .fuku2027-xebio__heading h2.upper {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 13px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(21px, 2.85cqw, 29px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
}

.fuku2027 .fuku2027-xebio__heading-prefix {
  white-space: nowrap;
}

.fuku2027 .fuku2027-xebio__heading-main {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 4px solid #f4cd31;
}

/* ゼビオの紹介 */

.fuku2027 .fuku2027-xebio__intro {
  display: grid;
  grid-template-columns: minmax(165px, 235px) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: 17px 20px 14px;
}

.fuku2027 .fuku2027-xebio__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 94px;
  padding: 13px 10px;
  border-radius: 5px;
  background: #0b59a4;
  color: #fff;
  text-align: center;
  line-height: 1;
}

.fuku2027 .fuku2027-xebio__logo small {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.fuku2027 .fuku2027-xebio__logo strong {
  display: block;
  font-size: clamp(29px, 5cqw, 44px);
  font-style: italic;
  letter-spacing: -.06em;
}

.fuku2027 .fuku2027-xebio__intro p {
  margin: 0;
  padding: 3px 0 3px 23px;
  border-left: 2px solid #3174bc;
  font-size: 16px;
  line-height: 1.75;
}

/* ゼビオの3区分：PC3列 */

.fuku2027 .fuku2027-xebio__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 2px 12px 0;
}

.fuku2027 .fuku2027-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid #aacbed;
  border-radius: 6px;
  background: #fff;
}

.fuku2027 .fuku2027-product h3.pole.fuku2027-product__tag {
  align-self: flex-start;
  display: inline-block;
  margin: 0 0 9px;
  padding: 5px 3px;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

/* ゼビオ商品画像 */

.fuku2027 .fuku2027-product__image {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid #d8e0e8;
  border-radius: 5px;
  background: #f5f7f9;
}

/* 商品画像のアフィリエイトリンク */

.fuku2027 .fuku2027-product__image a {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  line-height: 0;
}

/* ValueCommerceの計測用画像 */

.fuku2027 .fuku2027-product__image img[src*="/servlet/gifbanner"],
.fuku2027 .fuku2027-brand__image img[src*="/servlet/gifbanner"] {
  position: absolute;
  width: 0;
  height: 1px;
  border: 0;
  pointer-events: none;
}

/* 実際の商品画像 */

.fuku2027 .fuku2027-product__image img:not([src*="/servlet/gifbanner"]) {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  border: 0;
  object-fit: contain;
}

/* ゼビオの商品説明と情報 */

.fuku2027 .fuku2027-product__desc {
  min-height: 3.3em;
  margin: 0 0 11px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.fuku2027 .fuku2027-product__info {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 5px 8px;
  margin-top: auto;
  margin-bottom: 12px;
  padding: 9px 7px;
  border-radius: 5px;
  background: #f5f9fd;
}

.fuku2027 .fuku2027-product__info span {
  padding: 3px 9px;
  border-radius: 3px;
  background: #e1f0ff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.fuku2027 .fuku2027-product__info strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

/* 購入ボタン */

.fuku2027 a.fuku2027-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 45px;
  padding: 9px 30px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  transition: background-color .15s ease, border-color .15s ease;
}

.fuku2027 a.fuku2027-btn:focus-visible {
  outline: 3px solid #f8c51d;
  outline-offset: 3px;
}

/* 赤い購入ボタン */

.fuku2027 .fuku2027-btn--red{
  background: var(--fuku-red);
  color: #fff;
  text-align: center;
  border-radius: 5px;
  display: block;
}
.fuku2027 .fuku2027-btn--red a{
    width: 100%;
    height: 100%;
    color: #fff;
    display: inline-block;
    padding: 8px;
  line-height:1.4;
  }

.fuku2027 .fuku2027-btn--red:hover a,
.fuku2027 .fuku2027-btn--red:focus-visible a {
  border-color: #aa1c27;
  background: #aa1c27;
  color: #fff;
}

/* ボタン内の矢印 */

.fuku2027 .fuku2027-btn > span[aria-hidden="true"] {
  position: absolute;
  top: 50%;
  right: 15px;
  display: block;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  font-size: 0;
  line-height: 0;
  transform: translateY(-50%) rotate(45deg);
}

/* ゼビオの福袋一覧ボタン */

.fuku2027 .fuku2027-xebio__footer {
  display: flex;
  justify-content: center;
  padding: 24px 15px 24px;
}

.fuku2027 .fuku2027-btn--outline {
  border: 2px solid var(--fuku-blue);
  border-radius: 5px;
  background: #fff;
  color: var(--fuku-blue);
  font-size: 16px;
  display: block;
}


.fuku2027 .fuku2027-btn--outline a {
  max-width: 100%;
  min-height: 100%;
  font-weight: 700;
  display: inline-block;
  padding: 12px 32px;
}

.fuku2027 .fuku2027-btn--outline a:hover,
.fuku2027 .fuku2027-btn--outline a:focus-visible {
  border-color: var(--fuku-blue);
  background: #eaf1f8;
  color: var(--fuku-blue);
}

/* その他のスポーツブランド */

.fuku2027 .fuku2027-others {
  margin: 0 0 12px;
}

.fuku2027 .fuku2027-others h2.upper.fuku2027-others__title {
  margin: 0 0 17px;
  padding: 0 0 9px 13px;
  border: 0;
  border-left: 5px solid #1261b4;
  border-bottom: 2px solid #1261b4;
  background: transparent;
  color: var(--fuku-ink);
  font-size: clamp(20px, 2.5cqw, 26px);
  font-weight: 800;
  line-height: 1.4;
}

/* その他ブランド：PC4列 */

.fuku2027 .fuku2027-others__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.fuku2027 .fuku2027-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--fuku-border);
  border-radius: 6px;
  background: #fff;
}

.fuku2027 .fuku2027-brand h3.pole.fuku2027-brand__name {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 40px;
  margin: 0 0 8px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #111;
  text-align: center;
  font-size: clamp(16px, 2cqw, 21px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.fuku2027 .fuku2027-brand h3.pole.fuku2027-brand__name span{
  font-size: 13px;
  font-weight: 400;
}

/* その他ブランドの商品画像 */

.fuku2027 .fuku2027-brand__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid #d8e0e8;
  border-radius: 5px;
  background: #f5f7f9;
  color: #8a98a8;
  text-align: center;
  font-size: 12px;
}

.fuku2027 .fuku2027-brand__image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  line-height: 0;
}

.fuku2027 .fuku2027-brand__image img:not([src*="/servlet/gifbanner"]) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  object-fit: contain;
}

/* その他ブランドの説明・ボタン */

.fuku2027 .fuku2027-brand__desc {
  flex: 1;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.fuku2027 .fuku2027-brand .fuku2027-btn a{
  font-size: 12px;
  line-height: 1.5;
}

/* 注記 */

.fuku2027 .fuku2027__note {
  margin: 14px 0 0;
  color: #626c79;
  font-size: 12px;
  line-height: 1.75;
}

/* レスポンシブ：記事幅780px以下 */

@container (max-width: 780px) {

  .fuku2027 .fuku2027-xebio__heading {
    padding: 12px 14px;
  }

  .fuku2027 .fuku2027-xebio__heading h2.upper {
    font-size: 22px;
  }

  .fuku2027 .fuku2027-xebio__intro {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 14px;
    padding: 15px;
  }

  .fuku2027 .fuku2027-xebio__intro p {
    font-size: 14px;
  }

  .fuku2027 .fuku2027-product__info {
    grid-template-columns: 1fr;
  }

  .fuku2027 .fuku2027-product__info span {
    width: max-content;
  }
}

/* レスポンシブ：記事幅620px以下 */

@container (max-width: 620px) {

  .fuku2027 .fuku2027-xebio__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .fuku2027 .fuku2027-xebio__logo {
    width: 100%;
    max-width: 230px;
    min-height: 75px;
    margin: 0 auto;
  }

  .fuku2027 .fuku2027-xebio__intro p {
    padding: 10px 2px 0;
    border: 0;
    border-top: 2px solid #b9d2ef;
  }

  .fuku2027 .fuku2027-xebio__cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .fuku2027 .fuku2027-others__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fuku2027 .fuku2027-product__info {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  .fuku2027 .fuku2027-product__desc {
    min-height: 0;
  }
}

/* レスポンシブ：記事幅440px以下 */

@container (max-width: 440px) {

  .fuku2027 .fuku2027__intro {
    font-size: 14px;
  }

  .fuku2027 .fuku2027-xebio__heading h2.upper {
    font-size: 18px;
  }

  .fuku2027 .fuku2027-xebio__heading-main {
    border-bottom-width: 3px;
  }

  .fuku2027 .fuku2027-xebio__intro {
    padding: 12px;
  }

  .fuku2027 .fuku2027-xebio__cards {
    padding: 0 10px;
  }

  .fuku2027 .fuku2027-product {
    padding: 10px;
  }

  .fuku2027 .fuku2027-others h2.upper.fuku2027-others__title {
    font-size: 18px;
  }

  .fuku2027 .fuku2027-others__cards {
    gap: 8px;
  }

  .fuku2027 .fuku2027-brand {
    padding: 8px;
  }

  .fuku2027 .fuku2027-brand h3.pole.fuku2027-brand__name {
    min-height: 37px;
    font-size: 14px;
  }

  .fuku2027 .fuku2027-brand__image {
    aspect-ratio: 1;
    font-size: 10px;
  }

  .fuku2027 .fuku2027-brand a.fuku2027-btn {
    font-size: 11px;
  }

  .fuku2027 .fuku2027-brand__desc {
    font-size: 11px;
  }
}

/* レスポンシブ：記事幅340px以下 */

@container (max-width: 340px) {

  .fuku2027 .fuku2027-others__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .fuku2027 .fuku2027-brand__image {
    aspect-ratio: 4 / 3;
  }
}
