@charset "UTF-8";

:root {
  /* color */
  --color-main: #171c60;
  --color-accent: #e60012;
  --color-key: #fff200;
  --color-text: #1a1a1a;
  --color-bg: #ffffff;
  /* font */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  /* layout */
  --content-width: 1300px;
}

/* =========================================
   ベース
   ========================================= */
body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-main);
  overflow-x: hidden; 
}

/* セクション共通inner */
.l-hero__inner,
.l-special__inner,
.l-sale__inner,
.l-items__inner,
.l-footer__inner {
  width: min(100% - 40px, var(--content-width));
  margin-inline: auto;
}

/* =========================================
   S1. ファーストビュー
   ========================================= */
.l-hero {
  background: linear-gradient(to right top, #fff200, #ffcf24, #fdf008, #fdf004, #fff200);
  padding: 48px 0 96px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.l-hero__inner {
  max-width: 1300px;
}

.l-hero__img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================================
   S2. 感謝祭特別企画
   ========================================= */
.l-special {
  background: var(--color-main);
  padding: 56px 0 72px;
  margin-top: -40px;
}

.l-special__heading {
  max-width: 560px;
  margin: 0 auto 40px;
}

.l-special__heading img {
  width: 100%;
}

.l-special__cards {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.l-special__card {
  flex: 1;
}

.l-special__card img,
.l-special__bonus img {
  width: 100%;
  height: auto;
}

/* =========================================
   S3. 感謝祭セール商品（3コーナー）
   ========================================= */
.l-sale {
  background-image: url(https://www.3284.net/campaign/lp2026_kansyasai/assets/images/22743361.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 64px 0 72px;
}

.l-sale__heading {
  max-width: 720px;
  margin: 0 auto 44px;
}

.l-sale__heading img {
  width: 100%;
}

.l-sale__banners {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.l-sale__banner {
  width: 100%;
  max-width: 1100px;
  height: auto;
}

.l-sale__banner img {
  width: 100%;
  height: auto;
}

/* 販売店舗（共通コンポーネント） */
.c-info {
  width: 100%;
  max-width: 1100px;
  padding: 10px 20px;
  margin: 50px auto 0;
  border: 3px solid #000;
}

.c-info__add {
  width: 100%;
  max-width: 1100px;
  border: 3px solid #fff;
  color: #fff;
}

.c-info p {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.c-info__add p {
  text-align: left;
}

/* =========================================
   S4. 早いもの勝ち！商品グリッド
   ========================================= */
.l-items {
  background: linear-gradient(to right top, #171c61, #262d92, #171c61);
  padding: 64px 0 80px;
}

.l-items__head {
  max-width: 720px;
  margin: 0 auto 44px;
}

.l-items__head img {
  width: 100%;
  height: auto;
}

.l-items__head img:first-child {
  max-width: 360px;
}

.l-items__head img:last-child {
  max-width: 1100px;
}

.l-items__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 商品カード（共通コンポーネント） */
.c-item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  padding: 16px 16px 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.c-item-card__img {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.c-item-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.c-item-card__tag {
  align-self: flex-start;
  padding: 3px 10px;
  margin-bottom: 6px;
  background: #2b3a8c;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
}

.c-item-card__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.c-item-card__note {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.5;
  color: #777;
}

/* =========================================
   S5. フッター注釈
   ========================================= */
.l-footer {
  background: var(--color-main);
  padding: 40px 0 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.l-footer__notes {
  color: #fff;
  font-size: 12px;
  line-height: 1.8;
}

/* =========================================
   追従ボタン（OFFICIAL SITE / ONLINE STORE）
   ========================================= */
.c-fab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}

.c-fab__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 70px;
  padding: 14px 6px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.02em;
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.c-fab__btn:first-child {
  background-color: var(--color-main);
}

.c-fab__btn:hover {
  transform: translateX(-4px);
  background: #fb4d5c;
}

.c-fab__btn:first-child:hover {
  background-color: #4955fb;
}

.c-fab__icon {
  display: block;
}

.c-fab__label {
  display: block;
}

/* =========================================
   SP（≤767px）レスポンシブ
   ========================================= */
@media (max-width: 767px) {

  .l-hero__inner,
  .l-special__inner,
  .l-sale__inner,
  .l-items__inner,
  .l-footer__inner {
    width: 100%;
    max-width: none;
    padding-inline: 16px;
  }

  /* ---- S1 ファーストビュー ---- */
  .l-hero {
    padding: 48px 16px;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  }
  .l-hero__inner {
    padding-inline: 0;
  }

  /* ---- S2 感謝祭特別企画 ---- */
  .l-special {
    padding: 40px 0 48px;
    margin-top: -24px;
  }
  .l-special__heading {
    max-width: 78%;
    margin-bottom: 24px;
  }
  .l-special__cards {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }

  /* ---- S3 感謝祭セール商品 ---- */
  .l-sale {
    padding: 40px 0 48px;
  }
  .l-sale__heading {
    max-width: 92%;
    margin-bottom: 28px;
  }
  .l-sale__banners {
    gap: 24px;
  }
  .l-sale__banner {
    max-width: 100%;
  }
  .c-info,
  .c-info__add {
    width: 100%;
    margin: 28px 0 0;
    padding: 10px 14px;
  }
  .c-info p {
    font-size: 12px;
  }

  /* ---- S4 商品グリッド ---- */
  .l-items {
    padding: 40px 0 56px;
  }
  .l-items__head {
    max-width: 92%;
    margin-bottom: 28px;
  }
  .l-items__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .c-item-card {
    padding: 10px 10px 12px;
  }
  .c-item-card__tag {
    font-size: 11px;
    padding: 2px 8px;
  }
  .c-item-card__name {
    font-size: 13px;
  }
  .c-item-card__note {
    font-size: 10px;
  }

  /* ---- S5 フッター注釈（下部FABバー分の余白を確保） ---- */
  .l-footer {
    padding: 28px 0 88px;
  }
  .l-footer__notes {
    font-size: 11px;
  }

  /* ---- 追従ボタン：右端縦並び → 画面下部 横並び固定バー ---- */
  .c-fab {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row;
    gap: 0;
  }
  .c-fab__btn {
    flex: 1;
    width: auto;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 12px 6px;
    border-radius: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
  }
  .c-fab__btn:hover {
    transform: none;
  }
  .c-fab__label {
    text-align: left;
  }
}
