/* =========================================================
  Flashy CSS for Item Page
========================================================= */

/* =========================
  ベーススタイル
========================= */
.kt-set-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #222;
  box-sizing: border-box;
}

.kt-set-wrapper * {
  box-sizing: border-box;
}

.kt-flashy {
  --kt-brown: #f67814;
  --kt-brown2: #ed570c;
  --kt-gold: #fbd51d;
  --kt-gold2: #fbe271;
  --kt-red: #e10b0e;
  --kt-ink: #111;
  --kt-muted: #555;
  --kt-border: #e5e5e5;
  --kt-soft: #fff7d6;
  --kt-soft2: #fffdf3;
  --kt-shadow: 0 14px 30px rgba(0, 0, 0, .10);
  --kt-shadow2: 0 8px 18px rgba(0, 0, 0, .08);
}

/* =========================
  共通見出し
========================= */
.kt-flashy .kt-sec-head {
  margin: 28px 0 12px;
}

.kt-flashy .kt-sec-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  padding: 8px 10px;
  border-left: 6px solid var(--kt-brown);
  background: linear-gradient(90deg, rgba(255, 227, 176, .55), rgba(255, 255, 255, 0));
  border-radius: 10px;
}

.kt-flashy .kt-sec-lead {
  margin: 0;
  color: var(--kt-muted);
  font-weight: 700;
}

/* =========================================================
  HERO
========================================================= */
.kt-flashy .kt-hero {
  margin: 0 0 18px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(1200px 220px at 20% 0%, rgba(255, 227, 176, .9), rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, #fff, var(--kt-soft2));
  border: 1px solid rgba(240, 215, 167, .9);
  box-shadow: var(--kt-shadow);
}

.kt-flashy .kt-hero-inner {
  padding: 16px;
}

.kt-flashy .kt-hero-top {
  position: relative;
  padding: 8px 0 12px;
}

.kt-flashy .kt-ribbon {
  display: inline-block;
  font-weight: 900;
  letter-spacing: .06em;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--kt-brown2), var(--kt-brown));
  box-shadow: 0 10px 22px rgba(116, 85, 54, .25);
}

.kt-flashy .kt-hero-title {
  margin: 10px 0 10px;
  font-size: 26px;
  font-weight: 1000;
  line-height: 1.25;
  letter-spacing: .02em;
  color: var(--kt-ink);
}

.kt-flashy .kt-hero-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kt-flashy .kt-chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 2px solid var(--kt-brown);
  color: var(--kt-brown);
  background: #fff;
  white-space: nowrap;
}

.kt-flashy .kt-chip--hot {
  border-color: var(--kt-red);
  color: var(--kt-red);
  background: rgba(176, 0, 32, .06);
}

.kt-flashy .kt-hero-panel {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 12px;
  align-items: stretch;
}

.kt-flashy .kt-pricebox {
  border-radius: 14px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 247, 230, .95)),
    radial-gradient(900px 180px at 0% 0%, rgba(215, 181, 109, .35), rgba(255, 255, 255, 0));
  border: 1px solid rgba(240, 215, 167, .95);
  box-shadow: var(--kt-shadow2);
}

.kt-flashy .kt-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.kt-flashy .kt-price-main {
  font-size: 42px;
  font-weight: 1100;
  color: var(--kt-red);
  letter-spacing: .01em;
}

.kt-flashy .kt-price-yen {
  font-size: 18px;
  font-weight: 900;
  color: var(--kt-red);
}

.kt-flashy .kt-price-tax {
  font-size: 12px;
  font-weight: 900;
  color: var(--kt-red);
  opacity: .9;
}

.kt-flashy .kt-urgency {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.kt-flashy .kt-urgency-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--kt-brown), var(--kt-brown2));
  color: #fff;
  font-weight: 1000;
  letter-spacing: .05em;
}

.kt-flashy .kt-urgency-text {
  color: var(--kt-ink);
  font-weight: 800;
  line-height: 1.4;
}

.kt-flashy .kt-hero-cta {
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(139, 94, 60, .12), rgba(255, 227, 176, .35));
  border: 1px solid rgba(215, 181, 109, .65);
  box-shadow: var(--kt-shadow2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.kt-flashy .kt-cta-btn {
  display: block;
  text-align: center;
  padding: 14px 14px;
  border-radius: 12px;
  font-weight: 1000;
  letter-spacing: .06em;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(135deg, var(--kt-brown2), var(--kt-brown));
  box-shadow: 0 14px 26px rgba(246, 120, 20, .28);
  border: 1px solid rgba(255, 255, 255, .25);
}

.kt-flashy .kt-cta-btn:hover {
  opacity: .95;
  transform: translateY(-1px);
}

.kt-flashy .kt-cta-sub {
  color: var(--kt-ink);
  font-weight: 800;
}

/* trust */
.kt-flashy .kt-proof {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kt-flashy .kt-proof-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(230, 224, 215, .9);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .06);
}

.kt-flashy .kt-proof-k {
  font-weight: 1000;
  color: var(--kt-brown2);
  margin-bottom: 2px;
}

.kt-flashy .kt-proof-v {
  font-weight: 800;
  color: var(--kt-ink);
  line-height: 1.35;
}

/* =========================================================
  画像
========================================================= */
.kt-flashy .kt-images {
  margin-top: 14px;
}

.kt-flashy .kt-images-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.kt-flashy .kt-images-list li {
  width: calc((100% - 6px) / 2);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  line-height: 0;
  border: 1px solid rgba(230, 224, 215, .85);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
}

.kt-flashy .kt-images-main {
  width: 100% !important;
}

.kt-flashy .kt-images-list a {
  display: block;
  text-decoration: none;
}

.kt-flashy .kt-images-list img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(0);
}

.kt-flashy .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  line-height: 1.3;
  color: #fff;
  font-weight: 1000;
  letter-spacing: .06em;
  background: rgba(0, 0, 0, .46);
  opacity: 0;
  transition: .22s;
}

.kt-flashy .kt-images-list li:hover .overlay {
  opacity: 1;
}

.kt-flashy .kt-note-pill {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(215, 181, 109, .8);
  background: rgba(255, 227, 176, .35);
  font-weight: 900;
  color: var(--kt-brown2);
}

/* =========================================================
  セット内容（カード）
========================================================= */
.kt-set-contents {
  margin-top: 28px;
}

.kt-item-card {
  display: flex;
  align-items: center;
  border: 1px solid #e5e5e5;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.kt-item-card .num {
  width: 34px;
  height: 34px;
  background: var(--kt-brown);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-weight: 900;
}

.kt-item-card .body {
  flex: 1;
  min-width: 0;
}

.kt-item-card .name {
  font-weight: 900;
  font-size: 15px;
  line-height: 1.4;
}

.kt-item-card .meta {
  font-size: 12px;
  color: var(--kt-brown2);
  font-weight: 700;
}

.kt-item-card .qty {
  font-weight: 900;
  color: var(--kt-ink);
  margin-left: 10px;
  white-space: nowrap;
}

/* =========================================================
  幹事サポート
========================================================= */
.kt-kanji-support {
  margin: 30px 0;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6e0d7;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
}

.kt-kanji-heading {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(135deg, var(--kt-brown2), var(--kt-brown));
  padding: 12px 16px;
  border-radius: 12px;
  border-left: 6px solid var(--kt-gold2);
}

.kt-kanji-box {
  display: grid;
  gap: 12px;
}

.kt-kanji-item {
  border: 1px solid var(--kt-border);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  line-height: 1.85;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
}

.kt-kanji-item .mark1 {
  font-weight: 900;
  font-size: 16px;
  background: linear-gradient(transparent 55%, #ffe3b0 55%);
  padding: 0 2px;
}

.kt-kanji-cta {
  margin-top: 16px;
  text-align: center;
}

.kt-kanji-pdf {
  display: inline-block;
  background: var(--kt-brown);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 10px 22px rgba(163, 116, 77, .25);
}

.kt-kanji-pdf:hover {
  opacity: .95;
  transform: translateY(-1px);
}

.kt-kanji-qa {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f9f9f9;
  border: 1px solid #eee;
  font-size: 13px;
}

.kt-kanji-qa .qa-mark {
  color: var(--kt-brown);
  font-weight: 900;
  margin-right: .35em;
}

.kt-kanji-qa a {
  font-weight: 800;
  color: var(--kt-brown2);
  text-decoration: underline;
}

/* =========================================================
  PDF
========================================================= */
.kt-flashy .kt-pdf2 {
  margin-top: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(116, 85, 54, .10), rgba(255, 227, 176, .35));
  border: 1px solid rgba(215, 181, 109, .75);
  box-shadow: var(--kt-shadow2);
  padding: 14px;
}

.kt-flashy .kt-pdf-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kt-flashy .kt-pdf-title {
  font-weight: 1100;
  font-size: 16px;
  color: var(--kt-ink);
}

.kt-flashy .kt-pdf-desc {
  font-weight: 800;
  color: var(--kt-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.kt-flashy .kt-pdf-btn {
  flex: 0 0 auto;
  display: inline-block;
  text-decoration: none;
  color: #fff !important;
  font-weight: 1100;
  letter-spacing: .05em;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--kt-brown2), var(--kt-brown));
  box-shadow: 0 14px 26px rgba(116, 85, 54, .22);
  border: 1px solid rgba(255, 255, 255, .20);
}

.kt-flashy .kt-pdf-btn:hover {
  opacity: .95;
  transform: translateY(-1px);
}

.kt-flashy .kt-buy-anchor {
  height: 1px;
}

/* =========================================================
  特典（ミニガイド） ここから「1セット」
========================================================= */
.kt-tokuten {
  margin: 34px 0;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--kt-soft), #fff);
  border: 1px solid var(--kt-border);
  box-shadow: var(--kt-shadow);
  position: relative;
  overflow: hidden;
}

.kt-tokuten::before {
  content: "";
  position: absolute;
  inset: -80px -120px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(163, 116, 77, .18), rgba(163, 116, 77, 0) 65%);
  pointer-events: none;
}

.kt-tokuten-head {
  margin-bottom: 12px;
}

.kt-tokuten-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  border-left: 6px solid var(--kt-brown);
  padding-left: 10px;
}

.kt-tokuten-lead {
  margin: 0;
  color: var(--kt-muted);
  font-weight: 700;
  font-size: 13px;
}

/* カード */
.kt-tokuten-card {
  border: 1px solid rgba(230, 224, 215, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  padding: 14px;
  box-shadow: var(--kt-shadow2);
}

.kt-tokuten-card--hero {
  background: rgba(255, 255, 255, .95);
}

.kt-tokuten-card p {
  margin: 0 0 10px;
}

.kt-tokuten-card p:last-child {
  margin-bottom: 0;
}

/* details（折りたたみ） */
.kt-guide-details,
.kt-acc {
  border: 0;
}

.kt-guide-summary,
.kt-acc-sum {
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  font-size: 15px;
  padding: 10px 44px 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 94, 60, .16), rgba(163, 116, 77, .08));
  border: 1px solid rgba(230, 224, 215, .9);
  position: relative;
  user-select: none;
}

.kt-guide-summary::-webkit-details-marker,
.kt-acc-sum::-webkit-details-marker {
  display: none;
}

.kt-guide-summary::after,
.kt-acc-sum::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
  color: var(--kt-brown);
}

.kt-guide-details[open]>.kt-guide-summary::after,
.kt-acc[open]>.kt-acc-sum::after {
  content: "－";
}

.kt-acc-body {
  margin-top: 10px;
}

/* --- ミニガイド内の画像：角丸なし --- */
.kt-tokuten .kt-guide-media,
.kt-tokuten .kt-guide-media img,
.kt-tokuten .kt-banner img {
  border-radius: 0 !important;
}

/* --- 特典1：guide 本体 --- */
.kt-tokuten .kt-guide {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.kt-tokuten .kt-guide-divider {
  height: 1px;
  background: rgba(230, 224, 215, .9);
  margin: 6px 0;
}

/* Row */
.kt-tokuten .kt-guide-row {
  border: 0;
  background: rgba(255, 255, 255, .78);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  overflow: visible;
}

/* badge */
.kt-tokuten .kt-guide-label {
  display: flex;
  align-items: flex-start;
}

.kt-tokuten .kt-guide-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  background: #fff;
  border: 2px solid var(--kt-brown);
  color: var(--kt-brown);
  white-space: nowrap;
  max-width: 100%;
}

/* media */
.kt-tokuten .kt-guide-media {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* 画像サイズ統一 */
.kt-tokuten .kt-guide-media img {
  display: block;
  width: 100% !important;
  max-width: 520px;
  /* PC最大幅（必要なら調整） */
  height: auto !important;
  margin: 0 auto;
  /* 中央寄せ */
  object-fit: contain;
}

/* 写真：高さ揃え */
.kt-tokuten .kt-guide-row--photo .kt-guide-media--shot {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-tokuten .kt-guide-row--photo .kt-guide-media--shot a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.kt-tokuten .kt-guide-row--photo .kt-guide-media--shot img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

/* アイコン行：同じ高さ感へ（縦積み・重なり防止） */
.kt-tokuten .kt-guide-row--icon .kt-guide-media--icon {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-tokuten .kt-guide-row--icon .kt-guide-media--icon img {
  width: 100% !important;
  height: 100% !important;
  max-width: 520px;
  object-fit: contain;
}

/* 説明文 */
.kt-tokuten .kt-guide-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--kt-ink);
  word-break: break-word;
}

.kt-tokuten .kt-guide-desc p {
  margin: 8px 0 0;
}

.kt-tokuten .kt-guide-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--kt-muted);
  background: rgba(247, 242, 234, .9);
  border: 1px solid rgba(230, 224, 215, .9);
  border-radius: 10px;
  /* NOTEは“箱”なので丸み残す（不要なら0に変更可） */
  padding: 8px 10px;
}

/* --- 特典2-4：グリッド --- */
.kt-tokuten .kt-tokuten-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kt-tokuten .kt-tokuten-grid>* {
  min-width: 0;
}

.kt-tokuten .kt-tokuten-btn {
  display: inline-block;
  margin-top: 10px;
  background: var(--kt-brown2);
  color: #fff !important;
  text-decoration: none;
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(163, 116, 77, .20);
}

.kt-tokuten .kt-tokuten-btn:hover {
  opacity: .95;
  transform: translateY(-1px);
}

/* バナー */
.kt-tokuten .kt-tokuten-banners {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.kt-tokuten .kt-banner img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(230, 224, 215, .9);
}

/* =========================================================
  Sticky / Fixed UI
========================================================= */
:root {
  --kt-sticky-top: 0px;
  /* サイト固定ヘッダーに合わせて調整 */
  --kt-fixed-left: 0px;
  --kt-fixed-width: 1000px;
  --kt-sp-bottom-offset: 0px;
}

.kt-hero-panel-spacer {
  height: 0;
}

.kt-hero-panel-wrap.is-fixed {
  position: fixed;
  top: var(--kt-sticky-top);
  left: var(--kt-fixed-left);
  transform: none;
  width: var(--kt-fixed-width);
  z-index: 10010;
}

.kt-hero-panel-wrap.is-fixed .kt-hero-panel {
  box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
  border-radius: 16px;
}

.kt-hero-panel-wrap.is-fixed+.kt-hero-panel-spacer {
  height: var(--kt-hero-panel-h, 0px);
}

/* =========================================================
  Responsive
========================================================= */
@media only screen and (max-width: 767px) {

  .kt-set-wrapper {
    padding: 12px 10px;
  }

  /* HERO：縦積み */
  .kt-flashy .kt-hero-inner {
    padding: 12px;
  }

  .kt-flashy .kt-hero-title {
    font-size: 22px;
  }

  .kt-flashy .kt-hero-panel {
    grid-template-columns: 1fr;
  }

  .kt-flashy .kt-proof {
    grid-template-columns: 1fr;
  }

  /* 画像：余白極小 */
  .kt-flashy .kt-images-list {
    gap: 2px;
  }

  .kt-flashy .kt-images-list li {
    width: calc((100% - 2px) / 2);
    border-radius: 8px;
  }

  .kt-flashy .kt-images-main {
    width: 100% !important;
  }

  /* pdf */
  .kt-flashy .kt-pdf-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .kt-flashy .kt-pdf-btn {
    width: 100%;
    text-align: center;
  }

  /* 特典：余白 */
  .kt-tokuten {
    padding: 14px 12px;
  }

  .kt-tokuten-title {
    font-size: 18px;
  }

  /* ミニガイド画像枠：SPは少し低く */
  .kt-tokuten .kt-guide-row--photo .kt-guide-media--shot {
    height: 220px;
  }

  .kt-tokuten .kt-guide-row--icon .kt-guide-media--icon {
    height: 220px;
  }

  /* 特典2-4：縦積み */
  .kt-tokuten .kt-tokuten-grid {
    grid-template-columns: 1fr;
  }

  .kt-tokuten .kt-tokuten-btn {
    display: block;
    text-align: center;
  }

  /* sp-only */
  .sp-only {
    display: inline;
  }

  /* SPのみ：CTAだけ固定（干渉防止含む） */
  .kt-hero-panel-wrap.is-fixed {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    z-index: auto;
  }

  .kt-hero-panel-spacer {
    height: 0 !important;
  }

  #kt-hero-cta.kt-cta-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--kt-sp-bottom-offset) + env(safe-area-inset-bottom, 0px));
    z-index: 10020;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid #e6e0d7;
    box-shadow: 0 -12px 26px rgba(0, 0, 0, .12);
    padding: 10px 10px 12px;
  }

  #kt-hero-cta.kt-cta-fixed .kt-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  body {
    padding-bottom: calc(var(--kt-sp-cta-h, 0px) + var(--kt-sp-bottom-offset));
  }

  /* 幹事サポート */
  .kt-kanji-support {
    padding: 14px 12px;
  }

  .kt-kanji-heading {
    font-size: 17px;
    padding: 10px 12px;
  }

  .kt-kanji-pdf {
    display: block;
    width: 100%;
    text-align: center;
  }
}

@media only screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* SPは上の余白を少し詰める（ヘッダーが小さい想定） */
@media only screen and (max-width: 767px) {
  :root {
    --kt-sticky-top: 58px;
    --kt-sp-bottom-offset: 56px;
  }

  .kt-hero-panel-wrap.is-fixed {
    width: calc(100vw - 16px);
  }
}