@charset "utf-8";

/* ==============================================
   雑貨まとめ割り（2611）— スタンドアロンCSS
   ・_system（base / components / animations）の必要分をマージ済み。
     index.html（W2本番）と index_local.html は、どちらもこの1ファイルを読む。
   ・テーマ: ミントグリーン × ココアブラウン × バターイエロー（色はバナーからサンプリング）
   ・方針: モバイルファースト（〜639pxを基準にし、640px以上で拡張）。
           グラデーション・ドロップシャドウ・光るボタンは使用せず、
           色面と太いアウトラインでフラットに構成する（鉄道の日まとめ割 2610 踏襲）。
   ============================================== */

/* ======================
   CSS Variables（テーマ）
   ====================== */
:root {
  /* --- Brand Colors（バナーからサンプリング）
         ブラウン=「オンライン限定」ラベル / イエロー=割引数字 / ミント=背景 / ピーチ=「雑貨」リボン --- */
  --lp-primary:      #A45344;
  --lp-primary-dark: #7F3B30;
  --lp-accent:       #FAE27C;
  --lp-mint:         #7AC49C;
  --lp-peach:        #DBA084;

  /* --- Text --- */
  --lp-text-main:    #4A2B24;
  --lp-text-sub:     #7A5D54;
  --lp-white:        #FFFFFF;
  --lp-ink:          #4A2B24;

  /* --- Background --- */
  --lp-bg-body:      #DEF0E6;
  --lp-bg-main:      #FFFBF3;
  --lp-bg-alt:       #E7F4ED;
  --lp-line:         #CBE6D6;

  /* --- Typography --- */
  --lp-font-base:    'Zen Maru Gothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --lp-font-en:      'Zen Maru Gothic', 'Helvetica Neue', Arial, sans-serif;

  /* --- Spacing（モバイル基準。640px以上で上書き） --- */
  --lp-section-py:   52px;
  --lp-section-px:   24px;

  /* --- Layout --- */
  --lp-max-width:    650px;

  /* --- Radius --- */
  --lp-radius-md:    16px;
  --lp-radius-lg:    20px;

  /* --- Transition --- */
  --lp-ease:         cubic-bezier(.25, 1, .5, 1);
  --lp-duration:     .8s;
}

@media (min-width: 640px) {
  :root {
    --lp-section-py: 72px;
    --lp-section-px: 48px;
  }
}

/* ======================
   Reset
   ====================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--lp-font-base);
  font-size: 1.4rem;
  color: var(--lp-text-main);
  background: var(--lp-bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

li { list-style: none; }

a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ======================
   W2 Vendor Overrides
   ====================== */
.global-header,
.l-header,
.p-header,
.p-product-list__category-title { display: none; }

.global-contents__inner {
  width: 100% !important;
  padding: 0 !important;
}

/* table-layout:auto（既定）だと、幅を100%指定しても中身の本来の幅を優先してテーブルが広がってしまう。
   fixedにして100%幅を実際の上限として強制する。
   ただし#tblLayoutの3つのtdにはid/class/width指定が無く、fixedだけだと列幅が均等3分割されて
   コンテンツ列が約1/3に圧縮されるため、#lp-wrapを含むtdだけ100%、他2つを0にして復元する */
#tblLayout { width: 100% !important; table-layout: fixed !important; }
#tblLayout td:has(#lp-wrap) { width: 100% !important; }
#tblLayout td:not(:has(#lp-wrap)) { width: 0 !important; }

table { border-collapse: collapse; margin: 0; padding: 0; }
td, th { padding: 0; margin: 0; }

main + div { display: none; }

/* Gridアイテムのmin-width:auto対策（ripple.aspxで発生した幅暴走バグの予防） */
main.global-contents { min-width: 0; }

/* ======================
   LP Wrapper
   ====================== */
.lp-wrap {
  width: 100%;
  max-width: var(--lp-max-width);
  margin: 0 auto;
  overflow: hidden;
  background: var(--lp-bg-main);
}

/* 文節ごとに折り返し位置をそろえる（日本語の不自然な改行を避ける） */
.zk-ph { display: inline-block; }

/* ======================
   1. Hero（添付バナーをそのままH1として扱う）
   ====================== */
.lp-hero {
  position: relative;
  overflow: hidden;
}

.zk-hero__h1 {
  margin: 0;
  line-height: 0;
}

.zk-hero__h1 img {
  display: block;
  width: 100%;
}

/* ======================
   2. Lead（キャッチ + 最大割引率）
   ====================== */
.lp-lead {
  background: var(--lp-bg-main);
  text-align: center;
  padding: 40px var(--lp-section-px) 24px;
}

/* バナーの「雑貨」リボン（ピーチ）・「オンライン限定」ラベル（ブラウン）を踏襲したタグ */
.lp-lead__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.lp-lead__tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--lp-primary);
  color: var(--lp-white);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.4;
  border-radius: 4px;
}

.lp-lead__tag--peach {
  background: var(--lp-peach);
  color: var(--lp-ink);
}

.lp-lead__title {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--lp-text-main);
}

.lp-lead__title em {
  font-style: normal;
  color: var(--lp-primary);
  text-decoration: underline;
  text-decoration-color: var(--lp-accent);
  text-decoration-thickness: .2em;
  text-underline-offset: .14em;
  text-decoration-skip-ink: none;
}

/* 最大割引率は、バナーの数字と同じバターイエローの色面 + 太いアウトラインで目立たせる */
.lp-lead__stat {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 12px 22px 14px;
  background: var(--lp-accent);
  border: 3px solid var(--lp-ink);
  border-radius: var(--lp-radius-md);
}

.lp-lead__stat-label {
  margin-right: 6px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lp-ink);
}

.lp-lead__stat-value {
  font-size: clamp(3.8rem, 12.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--lp-primary);
}

.lp-lead__stat-unit {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 900;
  color: var(--lp-primary);
}

.lp-lead__stat-suffix {
  margin-left: 2px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--lp-ink);
}

.lp-lead__desc {
  font-size: 1.4rem;
  line-height: 2;
  color: var(--lp-text-sub);
}

/* ======================
   3. Clothesline Divider（洗濯ロープに吊るした雑貨）
   色面と太いアウトラインのみ。小物は洗濯ばさみの位置を支点に、ゆっくり揺れる。
   --zk-w   : 小物1つ分の幅（ロープの高さと全体の高さはこの値から決まる）
   --zk-pt  : ロープ上側の余白
   ====================== */
.zk-line {
  --zk-w: 44px;
  --zk-pt: 12px;
  position: relative;
  padding: var(--zk-pt) 4% 10px;
  overflow: hidden;
  background: var(--lp-bg-main);
}

/* ロープ。洗濯ばさみの支点（SVG座標 y=6 / 全高84）の高さに合わせる */
.zk-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--zk-pt) + var(--zk-w) * 6 / 56 - 1.5px);
  height: 3px;
  background: var(--lp-ink);
}

.zk-line__items {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.zk-line__item {
  position: relative;
  width: var(--zk-w);
  transform-origin: 50% 7%;
  animation: zk-sway 3.4s ease-in-out infinite alternate;
}

/* 揺れ方をばらして、風に吹かれている感じにする */
.zk-line__item:nth-child(2) { animation-duration: 4.1s; animation-delay: -1.3s; }
.zk-line__item:nth-child(3) { animation-duration: 3.7s; animation-delay: -2.2s; }
.zk-line__item:nth-child(4) { animation-duration: 4.4s; animation-delay: -.7s; }
.zk-line__item:nth-child(5) { animation-duration: 3.2s; animation-delay: -1.9s; }

.zk-line__item svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

@keyframes zk-sway {
  from { transform: rotate(-4deg); }
  to   { transform: rotate(4deg); }
}

/* ======================
   4. Section Base / Head
   ====================== */
.lp-section {
  padding: var(--lp-section-py) var(--lp-section-px);
}

.lp-section--white { background: var(--lp-bg-main); }
.lp-section--alt   { background: var(--lp-bg-alt); }
.lp-section--center { text-align: center; }

.lp-section-head {
  margin-bottom: 32px;
  text-align: center;
}

.lp-section-head__en {
  display: block;
  margin-bottom: 6px;
  font-family: var(--lp-font-en);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lp-primary);
}

.lp-section-head__title {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--lp-text-main);
}

.lp-section-head__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--lp-primary);
  border-radius: 2px;
}

/* ======================
   5. Tier（割引カード＝チケット型）
   左: 点数（色面のスタブ） / 点線: ミシン目 / 右: 割引率
   ====================== */
.lp-tier-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-tier-card {
  position: relative;
  overflow: hidden;
  background: var(--lp-white);
  border: 3px solid var(--lp-ink);
  border-radius: var(--lp-radius-lg);
}

/* 点数が増えるほど濃いブラウンにして「より多くおトク」を表現（白文字のコントラストAA確保） */
.lp-tier-card--1 { --tier-color: #A45344; }
.lp-tier-card--2 { --tier-color: #8D4538; }
.lp-tier-card--3 { --tier-color: #6F352B; }

.lp-tier-card__inner {
  display: flex;
  align-items: stretch;
}

.lp-tier-card__point {
  flex: 0 0 30%;
  min-width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background: var(--tier-color);
  color: var(--lp-white);
}

.lp-tier-card__point-num {
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 1;
}

.lp-tier-card__point-label {
  margin-top: 4px;
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ミシン目 */
.lp-tier-card__sep {
  flex: 0 0 auto;
  width: 0;
  border-left: 3px dashed var(--lp-ink);
}

/* 数字と「%OFF」はベースライン揃えのまま、カード内の縦中央に置く。
   flexのalign-items:baselineだとスタブ（左）より低い箱の上端に張り付くため、gridで縦中央にする */
.lp-tier-card__body {
  flex: 1;
  display: grid;
  grid-auto-flow: column;
  align-items: baseline;
  align-content: center;
  justify-content: center;
  column-gap: 2px;
  min-width: 0;
  padding: 18px 8px 18px 10px;
}

.lp-tier-card__value {
  font-size: clamp(3.4rem, 11vw, 5.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--tier-color);
}

.lp-tier-card__unit {
  font-size: clamp(1.8rem, 5.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  color: var(--tier-color);
}

.lp-tier-card__off {
  margin-left: 1px;
  font-size: .72em;
}

/* 最大ティアだけ、薄いイエローの色面 + 「最大」タグで目立たせる */
.lp-tier-card--3 .lp-tier-card__body {
  padding-top: 30px;
  background: #FDF1C4;
}

.lp-tier-card__max {
  position: absolute;
  top: 0;
  right: 0;
  padding: 3px 12px 4px 14px;
  background: var(--lp-accent);
  color: var(--lp-ink);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.4;
  border-left: 3px solid var(--lp-ink);
  border-bottom: 3px solid var(--lp-ink);
  border-bottom-left-radius: 12px;
}

.lp-tier-note {
  margin-top: 18px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--lp-text-sub);
}

/* ======================
   6. Step（お買い物の流れ）
   ====================== */
.lp-step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
}

.lp-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--lp-bg-alt);
  border: 2px solid var(--lp-line);
  border-radius: var(--lp-radius-md);
  text-align: left;
}

.lp-step__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--lp-primary);
  color: var(--lp-white);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
}

.lp-step__text {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--lp-text-main);
}

.lp-step__text strong {
  color: var(--lp-primary);
  font-weight: 900;
}

/* ======================
   7. Deadline
   ====================== */
.lp-deadline {
  padding: 40px var(--lp-section-px);
  background: var(--lp-primary);
  border-top: 6px solid var(--lp-mint);
  border-bottom: 6px solid var(--lp-mint);
  color: var(--lp-bg-main);
  text-align: center;
}

.lp-deadline__label {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255, 251, 243, .92);
}

/* 日付はバナーの割引数字と同じイエロー、「(月)」「まで」はクリーム */
.lp-deadline__date {
  font-size: clamp(3rem, 10.5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--lp-accent);
}

.lp-deadline__date span {
  font-size: .55em;
  color: var(--lp-bg-main);
}

/* ======================
   8. CTA / Button
   ====================== */
.lp-cta {
  padding: var(--lp-section-py) var(--lp-section-px) 60px;
  background: var(--lp-bg-alt);
  text-align: center;
}

.lp-cta__title {
  margin-bottom: 10px;
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--lp-text-main);
}

.lp-cta__lead {
  margin-bottom: 28px;
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--lp-text-sub);
}

.lp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 24px 18px;
  background: var(--lp-primary);
  border-bottom: 6px solid var(--lp-primary-dark);
  border-radius: 14px;
  color: var(--lp-white);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: .06em;
  transition: transform .15s, border-bottom-width .15s;
}

.lp-btn::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5em;
  height: 1.5em;
  background: rgba(255, 255, 255, .28);
  border-radius: 50%;
  font-size: .85em;
}

.lp-btn:hover {
  background: var(--lp-primary-dark);
  transform: translateY(-2px);
}

.lp-btn:active {
  transform: translateY(3px);
  border-bottom-width: 3px;
}

/* ======================
   9. Notes
   ====================== */
.lp-notes {
  padding: 40px var(--lp-section-px) 48px;
  background: var(--lp-bg-main);
  border-top: 1px solid var(--lp-line);
}

.lp-notes__title {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--lp-line);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-align: center;
  color: var(--lp-text-main);
}

.lp-notes__list li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 1.8em;
  font-size: 1.25rem;
  line-height: 1.9;
  color: #6B5A53;
}

.lp-notes__list li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: #9A8A83;
}

/* ======================
   10. Footer（footerタグは使わず、divで構成する）
   ====================== */
.lp-footer {
  padding: 28px var(--lp-section-px);
  background: var(--lp-ink);
  color: rgba(255, 255, 255, .55);
  font-size: 1.1rem;
  letter-spacing: .04em;
  text-align: center;
}

/* ======================
   Animations（スクロール表示）
   ====================== */
.lp-fadein {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--lp-duration) var(--lp-ease),
              transform var(--lp-duration) var(--lp-ease);
}

.lp-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger（子要素の連続表示） */
.lp-fadein:nth-child(2) { transition-delay: .1s; }
.lp-fadein:nth-child(3) { transition-delay: .2s; }
.lp-fadein:nth-child(4) { transition-delay: .3s; }

.lp-scale-in {
  opacity: 0;
  transform: scale(.85);
  transition: opacity var(--lp-duration) var(--lp-ease),
              transform var(--lp-duration) var(--lp-ease);
}

.lp-scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ======================
   Tablet / PC（640px〜）
   ====================== */
@media (min-width: 640px) {
  .lp-lead {
    padding-top: 52px;
  }

  .zk-line {
    --zk-w: 56px;
    --zk-pt: 14px;
    padding-bottom: 14px;
  }

  .lp-section-head__title {
    font-size: 2.4rem;
  }

  .lp-tier-list {
    gap: 18px;
  }

  .lp-tier-card__point {
    flex-basis: 26%;
  }

  .lp-tier-card__point-num {
    font-size: 5rem;
  }

  .lp-tier-card__point-label {
    font-size: 1.3rem;
  }

  .lp-tier-card__body {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .lp-tier-card--3 .lp-tier-card__body {
    padding-top: 34px;
  }

  .lp-step-list {
    flex-direction: row;
    max-width: 100%;
  }

  .lp-step {
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 26px 14px;
    text-align: center;
  }

  .lp-step__text {
    font-size: 1.4rem;
  }
}

/* ======================
   動きを減らす設定のユーザー向け
   ====================== */
@media (prefers-reduced-motion: reduce) {
  .zk-line__item {
    animation: none;
    transform: none;
  }

  .lp-fadein,
  .lp-scale-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lp-btn {
    transition: none;
  }
}
