/* =========================================================
   汗拭きシート カテゴリページ（全体構成モック）   ns: sweat-*
   背景=白 / 差し色=アクア＋コーラル / タブはCSSのみ(JS不使用)
   ========================================================= */
:root {
  --sweat-ink: #0f2733;
  --sweat-ink-soft: #4a6572;
  --sweat-line: #e3ebee;
  --sweat-ice: #f2f9fa;
  --sweat-paper: #ffffff;
  --sweat-teal: #0aa2b5;
  --sweat-teal-deep: #07778a;
  --sweat-teal-wash: #e2f3f5;
  --sweat-heat: #ff6a3d;
  --sweat-heat-deep: #e8542a;
  --sweat-gold: #caa64a;
  --sweat-radius: 14px;
  --sweat-shadow: 0 2px 4px rgba(15,39,51,.05), 0 12px 28px rgba(15,39,51,.06);
  --sweat-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--sweat-paper);
  color: var(--sweat-ink);
  font-family: var(--sweat-font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.sweat-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 90px;
}

a {
  color: inherit;
}

h2, h3 {
  letter-spacing: .01em;
}

/* section heads */
.sweat-sec {
  margin-top: 60px;
  scroll-margin-top: 20px;
}

.sweat-sec__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--sweat-teal-deep);
}

.sweat-sec__eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sweat-teal), transparent);
}

.sweat-sec__title {
  font-size: clamp(21px, 3.4vw, 29px);
  font-weight: 800;
  margin: 8px 0 4px;
}

.sweat-sec__lead {
    color: var(--sweat-ink-soft);
    font-size: 14.5px;
    line-height: 1.85;
    margin: 0;
    margin-bottom: 10px;
}

.sweat-reason__p,
.sweat-info__p,
.sweat-faq__a,
.sweat-pb__desc,
.sweat-author__p {
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ---------- HERO / intro ---------- */
.sweat-hero {
  margin-top: 26px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  color: #fff;
  padding: 44px 36px 38px;
  box-shadow: var(--sweat-shadow);
  background: radial-gradient(120% 140% at 88% -10%, rgba(255,106,61,.22), transparent 46%),
              linear-gradient(135deg, var(--sweat-teal-deep), var(--sweat-teal) 55%, #43c3d1);
}

.sweat-hero__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  opacity: .92;
}

.sweat-hero__title {
  font-size: clamp(25px, 5vw, 40px);
  font-weight: 900;
  margin: 10px 0 14px;
  line-height: 1.28;
}

.sweat-hero__title span {
  color: #ffe7b8;
}

.sweat-hero__lead {
  max-width: 60ch;
  font-size: 15px;
  opacity: .96;
  margin: 0 0 24px;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.sweat-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sweat-hero__stat {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 13px;
  padding: 12px 20px;
  min-width: 148px;
}

.sweat-hero__stat small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: .85;
  letter-spacing: .08em;
  margin-bottom: 3px;
}

.sweat-hero__stat b {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .01em;
}

.sweat-hero__stat b span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

/* ---------- 目次 ---------- */
.sweat-toc {
  margin-top: 22px;
  border: 1px solid var(--sweat-line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 30px;
}

.sweat-toc__t {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--sweat-ink-soft);
  margin: 0 0 10px;
}

.sweat-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

@media (min-width: 768px) {
  .sweat-toc__list {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
  }
}

.sweat-toc__list a {
  display: inline-block;
  width: 100%;
  text-align: center; 
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--sweat-teal-deep);
  background: var(--sweat-ice);
  border-radius: 8px;
  padding: 7px 13px;
}

.sweat-toc__list a:hover {
  background: var(--sweat-teal-wash);
}

/* ランキングコメント */
.desc-frame{
    padding: 8px;
    border: 1px solid #ffd78b;
    border-radius: 4px;
    background: #feffde;
    color: #555;
}

/* ---------- campaign banner ---------- */
.sweat-banner {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media(max-width:640px) {
  .sweat-banner {
    grid-template-columns: 1fr;
  }
}

.sweat-banner__item {
  border-radius: 14px;
  padding: 22px 24px;
  color: #fff;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
}

.sweat-banner__item--a {
  background: linear-gradient(120deg, #0a8fa0, #12b3c6);
}

.sweat-banner__item--b {
  background: linear-gradient(120deg, var(--sweat-heat-deep), #ff8a5c);
}

.sweat-banner__item small {
  font-size: 12px;
  opacity: .9;
  font-weight: 700;
  letter-spacing: .06em;
}

.sweat-banner__item span {
  font-size: 20px;
}

/* ---------- PB flagship (full-element format switch) ---------- */
.sweat-pb {
  margin-top: 20px;
  position: relative;
}

.sweat-pb__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sweat-pb__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

@media (max-width: 520px) {
  .sweat-pb__nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sweat-pb__form {
  cursor: pointer;
  border: 1.5px solid var(--sweat-line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sweat-ink-soft);
  transition: .14s;
  text-align: center;
}

.sweat-pb__form:hover {
  border-color: var(--sweat-teal);
}

.sweat-pb__panel {
  display: none;
  background: var(--sweat-paper);
  border: 1px solid var(--sweat-line);
  border-radius: 18px;
  padding: 26px;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  box-shadow: var(--sweat-shadow);
}

@media(max-width:760px) {
  .sweat-pb__panel {
    grid-template-columns: 1fr;
  }
}

@media(min-width:761px) {
  .sweat-pb__panel {
    min-height: 340px;
  }
}

/* .sweat-pb__visual {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sweat-teal-wash), #fff);
  border: 1px dashed var(--sweat-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sweat-teal-deep);
  font-weight: 800;
  min-height: 230px;
  letter-spacing: .06em;
} */

.sweat-pb__brand {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--sweat-heat-deep);
}

.sweat-pb__name {
  font-size: 21px;
  font-weight: 900;
  margin: 6px 0;
  line-height: 1.35;
}

.sweat-pb__desc {
  font-size: 14px;
  color: var(--sweat-ink-soft);
  margin: 0 0 16px;
}

.sweat-pb__spec {
  border-top: 1px solid var(--sweat-line);
  padding-top: 16px;
  display: flex;
  align-items: flex-end;
  gap: 26px;
}

.sweat-pb__price b {
  font-size: 30px;
  font-weight: 900;
  color: var(--sweat-teal-deep);
}

.sweat-pb__price small,
.sweat-pb__lot small {
  font-size: 12px;
  color: var(--sweat-ink-soft);
  font-weight: 600;
}

.sweat-pb__lot b {
  font-size: 17px;
  font-weight: 900;
}

.sweat-pb__note {
  font-size: 12px;
  color: var(--sweat-heat-deep);
  font-weight: 700;
  margin: 8px 0 0;
}

.sweat-pb__cta {
  display: inline-block;
  margin-top: 16px;
  background: var(--sweat-heat);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 999px;
}

.sweat-pb__cta:hover {
  background: var(--sweat-teal-deep);
}

#pb-seal:checked ~ .sweat-pb__stage .sweat-pb__panel--seal,
#pb-flyer:checked ~ .sweat-pb__stage .sweat-pb__panel--flyer,
#pb-ready:checked ~ .sweat-pb__stage .sweat-pb__panel--ready,
#pb-fast:checked ~ .sweat-pb__stage .sweat-pb__panel--fast {
  display: grid;
}

#pb-seal:checked ~ .sweat-pb__nav label[for="pb-seal"],
#pb-flyer:checked ~ .sweat-pb__nav label[for="pb-flyer"],
#pb-ready:checked ~ .sweat-pb__nav label[for="pb-ready"],
#pb-fast:checked ~ .sweat-pb__nav label[for="pb-fast"] {
  background: var(--sweat-teal);
  border-color: var(--sweat-teal);
  color: #fff;
}

#pb-seal:focus-visible ~ .sweat-pb__nav label[for="pb-seal"],
#pb-flyer:focus-visible ~ .sweat-pb__nav label[for="pb-flyer"],
#pb-ready:focus-visible ~ .sweat-pb__nav label[for="pb-ready"],
#pb-fast:focus-visible ~ .sweat-pb__nav label[for="pb-fast"] {
  outline: 3px solid var(--sweat-heat);
  outline-offset: 2px;
}

/* ---------- TAB BLOCK (CSS only) ---------- */
.sweat-tabs {
  margin-top: 20px;
}

.sweat-tabs__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sweat-tabs__nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  border-bottom: 2px solid var(--sweat-line);
  padding-bottom: 2px;
  width: 100%;
  
  /* 【スマホ向け】デフォルトは横スクロールを有効に */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* iOSのスムーズスクロール用 */
}

/* スクロールバーの見た目 */
.sweat-tabs__nav::-webkit-scrollbar {
  height: 4px;
}
.sweat-tabs__nav::-webkit-scrollbar-thumb {
  background: var(--sweat-line);
  border-radius: 2px;
}

.sweat-tabs__divider {
  flex: 0 0 auto;
  width: 1px;
  align-self: center;
  height: 20px;
  background: var(--sweat-line);
  margin: 0 6px;
}

.sweat-tabs__tab {
  flex: 0 0 auto; /* 【スマホ向け】文字量に合わせる（潰れないようにする） */
  cursor: pointer;
  padding: 11px 16px;
  border-radius: 10px 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--sweat-ink-soft);
  position: relative;
  top: 2px;
  transition: all .2s ease;
  white-space: nowrap;
  text-align: center;
  
  /* 【UI追加】非選択時のベースの枠線（下だけ太線に重ねるために透明に） */
  border: 2px solid transparent;
  border-bottom: none;
}

.sweat-tabs__tab:hover {
  color: var(--sweat-teal-deep);
  background: var(--sweat-teal-wash);
}

.sweat-tabs__tab small {
  margin-left: 6px;
  font-size: 11px;
  color: #8aa0a9;
  font-weight: 700;
}

/* ==========================================
   ✨ 追加：アクティブ（選択時）のUIデザイン
   ========================================== */
#tab-an:checked ~ .sweat-tabs__nav .sweat-tabs__tab--an,
#tab-lo:checked ~ .sweat-tabs__nav .sweat-tabs__tab--lo,
#tab-hy:checked ~ .sweat-tabs__nav .sweat-tabs__tab--hy,
#tab-ss:checked ~ .sweat-tabs__nav .sweat-tabs__tab--ss,
#tab-uv:checked ~ .sweat-tabs__nav .sweat-tabs__tab--uv,
#tab-bi:checked ~ .sweat-tabs__nav .sweat-tabs__tab--bi,
#tab-fl:checked ~ .sweat-tabs__nav .sweat-tabs__tab--fl,
#tab-rd:checked ~ .sweat-tabs__nav .sweat-tabs__tab--rd {
  color: var(--sweat-teal-deep);
  background: #fff; /* 背景を白にして抜く */
  /* 影を使わず、しっかりとした線で囲んでタブらしさを強調 */
  border-color: var(--sweat-line); 
  border-bottom: 2px solid #fff; /* 下のメイン線と繋がっているように見せるトリマゲーション */
  z-index: 1;
}


/* ==========================================
   💻 画面が広い時（PC・タブレット）の処理
   ========================================== */
@media (min-width: 769px) {
  .sweat-tabs__nav {
    overflow-x: visible; /* スクロールをオフに */
  }
  
  .sweat-tabs__tab {
    flex: 1 1 0%; /* 8個を均等に横いっぱいに広げる */
  }
  
  /* PCでは要素がぴったり詰まるので、元の仕切り線（divider）は非表示が綺麗です */
  .sweat-tabs__divider {
    display: none;
  }
}
.sweat-tabs__panel {
  display: none;
  padding-top: 6px;
}

.sweat-tabs__panel-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    margin: 20px 0 10px;
    flex-wrap: wrap;
}

.sweat-tabs__panel-head h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

@media (max-width: 768px) {
.sweat-tabs__panel-head h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
}

.sweat-tabs__panel-head p {
  margin: 0;
  font-size: 13px;
  color: var(--sweat-ink-soft);
}

.sweat-pager {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.sweat-pager__more {
  background: var(--sweat-paper);
  border: 1.5px solid var(--sweat-teal);
  color: var(--sweat-teal-deep);
  font-weight: 800;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.sweat-pager__more:hover {
  background: var(--sweat-teal);
  color: #fff;
}

.sweat-pager__count {
  font-size: 12px;
  color: var(--sweat-ink-soft);
}

.sweat-crosslink {
  margin-top: 22px;
  background: linear-gradient(135deg, #fff, var(--sweat-teal-wash));
  border: 1px solid var(--sweat-teal);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sweat-crosslink p {
  margin: 0;
  font-size: 14px;
  color: var(--sweat-ink-soft);
}

.sweat-crosslink a {
  font-weight: 800;
  color: var(--sweat-teal-deep);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}

.sweat-crosslink a:hover {
  text-decoration: underline;
}

/* 8 tabs wiring */
#tab-an:checked ~ .sweat-tabs__panels .sweat-tabs__panel--an,
#tab-lo:checked ~ .sweat-tabs__panels .sweat-tabs__panel--lo,
#tab-hy:checked ~ .sweat-tabs__panels .sweat-tabs__panel--hy,
#tab-ss:checked ~ .sweat-tabs__panels .sweat-tabs__panel--ss,
#tab-uv:checked ~ .sweat-tabs__panels .sweat-tabs__panel--uv,
#tab-bi:checked ~ .sweat-tabs__panels .sweat-tabs__panel--bi,
#tab-fl:checked ~ .sweat-tabs__panels .sweat-tabs__panel--fl,
#tab-rd:checked ~ .sweat-tabs__panels .sweat-tabs__panel--rd {
  display: block;
}

#tab-an:checked ~ .sweat-tabs__nav .sweat-tabs__tab--an,
#tab-lo:checked ~ .sweat-tabs__nav .sweat-tabs__tab--lo,
#tab-hy:checked ~ .sweat-tabs__nav .sweat-tabs__tab--hy,
#tab-ss:checked ~ .sweat-tabs__nav .sweat-tabs__tab--ss,
#tab-uv:checked ~ .sweat-tabs__nav .sweat-tabs__tab--uv,
#tab-bi:checked ~ .sweat-tabs__nav .sweat-tabs__tab--bi,
#tab-fl:checked ~ .sweat-tabs__nav .sweat-tabs__tab--fl,
#tab-rd:checked ~ .sweat-tabs__nav .sweat-tabs__tab--rd {
    color: var(--sweat-teal-deep);
    background: var(--sweat-teal-wash);
}

#tab-an:focus-visible ~ .sweat-tabs__nav .sweat-tabs__tab--an,
#tab-lo:focus-visible ~ .sweat-tabs__nav .sweat-tabs__tab--lo,
#tab-hy:focus-visible ~ .sweat-tabs__nav .sweat-tabs__tab--hy,
#tab-ss:focus-visible ~ .sweat-tabs__nav .sweat-tabs__tab--ss,
#tab-uv:focus-visible ~ .sweat-tabs__nav .sweat-tabs__tab--uv,
#tab-bi:focus-visible ~ .sweat-tabs__nav .sweat-tabs__tab--bi,
#tab-fl:focus-visible ~ .sweat-tabs__nav .sweat-tabs__tab--fl,
#tab-rd:focus-visible ~ .sweat-tabs__nav .sweat-tabs__tab--rd {
  outline: 3px solid var(--sweat-heat);
  outline-offset: 2px;
}

/* ---------- 短納期 independent band ---------- */
.sweat-fast {
    margin-top: 16px;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #e7f8ff;
    box-shadow: var(--sweat-shadow);
    align-items: center;
}

@media(max-width:760px) {
  .sweat-fast {
    grid-template-columns: 1fr;
  }
}

.sweat-fast__body {
  padding: 34px 32px;
}

.sweat-fast__flag {
  display: inline-block;
  background: var(--sweat-heat);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 6px;
}

.sweat-fast__title {
  font-size: 25px;
  font-weight: 900;
  margin: 14px 0 6px;
  line-height: 1.3;
}

.sweat-fast__title b {
  color: var(--sweat-heat);
}

.sweat-fast__name {
  font-size: 14px;
  opacity: .9;
  margin: 0 0 20px;
}

.sweat-fast__spec {
  display: flex;
  gap: 26px;
  margin-bottom: 22px;
}

.sweat-fast__spec div small {
  display: block;
  font-size: 11px;
  opacity: .7;
}

.sweat-fast__spec div b {
  font-size: 21px;
  font-weight: 900;
  color: var(--sweat-heat);
}

.sweat-fast__cta {
  display: inline-block;
  background: var(--sweat-heat);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
}

.sweat-fast__cta:hover {
  background: var(--sweat-heat-deep);
}

.sweat-fast__visual {
    /* background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 12px, transparent 12px 24px), linear-gradient(135deg, #0a2029, #14414f); */
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    /* color: #5fd0dd; */
    /* font-weight: 800; */
    /* letter-spacing: .1em; */
    /* min-height: 100px; */
    padding: 30px;
}

/* ---------- 全商品 ---------- */
.sweat-sortbar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sweat-sortbar span {
  font-size: 12px;
  color: var(--sweat-ink-soft);
  font-weight: 700;
  margin-right: 4px;
}

.sweat-sortbar b {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--sweat-line);
  cursor: pointer;
}

.sweat-sortbar b.is-on {
  background: var(--sweat-ink);
  color: #fff;
  border-color: var(--sweat-ink);
}

/* ---------- 説得ゾーン：reasons / steps ---------- */
.sweat-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

@media(max-width:760px) {
  .sweat-reasons {
    grid-template-columns: 1fr;
  }
}

.sweat-reason {
  border: 1px solid var(--sweat-line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--sweat-paper);
}

.sweat-reason__img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--sweat-teal-wash), #fafdfd);
  border-bottom: 1px dashed var(--sweat-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sweat-teal-deep);
  font-size: 11px;
  font-weight: 700;
}

.sweat-reason__body {
  padding: 20px 22px;
}

.sweat-reason__no {
  font-size: 13px;
  font-weight: 900;
  color: var(--sweat-teal);
}

.sweat-reason__h {
  font-size: 17px;
  font-weight: 800;
  margin: 4px 0 8px;
  line-height: 1.4;
}

.sweat-reason__p {
  font-size: 13.5px;
  color: var(--sweat-ink-soft);
  margin: 0;
}

/* generic 3-up info cards (印刷方法・製作ポイント) */
.sweat-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

@media(max-width:760px) {
  .sweat-info {
    grid-template-columns: 1fr;
  }
}

.sweat-info__card {
  border: 1px solid var(--sweat-line);
  border-radius: 14px;
  padding: 22px;
  background: var(--sweat-paper);
}

.sweat-info__k {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--sweat-heat-deep);
}

.sweat-info__h {
  font-size: 16px;
  font-weight: 800;
  margin: 6px 0 8px;
}

.sweat-info__p {
  font-size: 13.5px;
  color: var(--sweat-ink-soft);
  margin: 0;
}

.sweat-info__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--sweat-teal-deep);
  text-decoration: none;
}

.sweat-info__link:hover {
  text-decoration: underline;
}

/* 活躍シーン */
.sweat-scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

@media(max-width:760px) {
  .sweat-scenes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:440px) {
  .sweat-scenes {
    grid-template-columns: 1fr;
  }
}

.sweat-scene {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sweat-line);
}

.sweat-scene__img {
  background: linear-gradient(135deg, var(--sweat-teal-wash), #fafdfd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sweat-teal-deep);
  font-size: 11px;
  font-weight: 700;
}

.sweat-scene__t {
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 14px;
}

/* FAQ */
.sweat-faq {
  margin-top: 22px;
  border: 1px solid var(--sweat-line);
  border-radius: 16px;
  overflow: hidden;
}

.sweat-faq__item {
  border-top: 1px solid var(--sweat-line);
  padding: 18px 22px;
}

.sweat-faq__item:first-child {
  border-top: none;
}

.sweat-faq__q {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  display: flex;
  gap: 10px;
}

.sweat-faq__q::before {
  content: "Q";
  color: var(--sweat-teal);
  font-weight: 900;
}

.sweat-faq__a {
  font-size: 13.5px;
  color: var(--sweat-ink-soft);
  margin: 0;
  padding-left: 22px;
}

/* 関連リンクハブ */
.sweat-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.sweat-related a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--sweat-teal-deep);
  border: 1.5px solid var(--sweat-line);
  border-radius: 999px;
  padding: 10px 18px;
}

.sweat-related a:hover {
  border-color: var(--sweat-teal);
  background: var(--sweat-teal-wash);
}

.sweat-related a.is-key {
  border-color: var(--sweat-teal);
  background: var(--sweat-teal-wash);
}

/* 会社の5理由 */
.sweat-five {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 22px;
}

@media(max-width:820px) {
  .sweat-five {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:440px) {
  .sweat-five {
    grid-template-columns: 1fr;
  }
}

.sweat-five__i {
  border: 1px solid var(--sweat-line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.sweat-five__n {
  font-size: 22px;
  font-weight: 900;
  color: var(--sweat-teal);
}

.sweat-five__h {
  font-size: 13.5px;
  font-weight: 800;
  margin: 6px 0 4px;
}

.sweat-five__p {
  font-size: 12px;
  color: var(--sweat-ink-soft);
  margin: 0;
}

/* ご注文の流れ */
.sweat-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
  counter-reset: st;
}

@media(max-width:760px) {
  .sweat-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sweat-step {
  border: 1px solid var(--sweat-line);
  border-radius: 14px;
  padding: 20px;
  position: relative;
}

.sweat-step::before {
  counter-increment: st;
  content: "STEP " counter(st);
  font-size: 11px;
  font-weight: 800;
  color: var(--sweat-heat-deep);
  letter-spacing: .06em;
}

.sweat-step h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 6px 0 6px;
}

.sweat-step p {
  font-size: 13px;
  color: var(--sweat-ink-soft);
  margin: 0;
}

/* 監修者 */
.sweat-author {
  margin-top: 22px;
  border: 1px solid var(--sweat-line);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.sweat-author__ph {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sweat-teal-wash);
  border: 1px dashed var(--sweat-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sweat-teal-deep);
  font-size: 10px;
  font-weight: 700;
  flex: 0 0 auto;
}

.sweat-author__k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--sweat-ink-soft);
}

.sweat-author__n {
  font-size: 17px;
  font-weight: 800;
  margin: 2px 0 6px;
}

.sweat-author__p {
  font-size: 13px;
  color: var(--sweat-ink-soft);
  margin: 0;
  max-width: 70ch;
}

.sweat-cta {
    margin-top: 26px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* color: #fff; */
    text-align: center;
    padding: 48px 32px;
    background: #e7f8ff;
}

.sweat-cta h2 {
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 900;
  margin: 0;
  line-height: 1.3;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.sweat-cta__lead {
  max-width: 56ch;
  margin: 14px auto 26px;
  font-size: 15px;
  opacity: .96;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.sweat-cta__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.sweat-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
}

.sweat-cta__btn--primary {
    background: #fff;
    color: var(--sweat-teal-deep);
    border: 1px solid;
}

.sweat-cta__btn--primary:hover {
  opacity: 0.8;
}

.sweat-cta__btn--ghost {
  background: var(--sweat-teal-deep);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.6);
}

.sweat-cta__btn--ghost:hover {
  opacity: 0.8;
}

.sweat-cta__note {
  margin-top: 18px;
  font-size: 12.5px;
  opacity: .85;
}

.sweat-backtop {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 26px auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--sweat-teal-deep);
    text-decoration: none;
    border: 1px solid var(--sweat-line);
    border-radius: 999px;
    padding: 8px 16px;
    width: 500px;
    justify-content: center;
}

.sweat-backtop:hover {
  background: var(--sweat-teal-wash);
  border-color: var(--sweat-teal);
}

.sweat-buildnote {
  margin-top: 48px;
  border-left: 4px solid var(--sweat-teal);
  background: var(--sweat-ice);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--sweat-ink-soft);
}

.sweat-buildnote b {
  color: var(--sweat-ink);
}

@media (max-width: 768px) {
.sweat-backtop {
    width: 100%;
}
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
  }
}

.category_bodysheat_title {
    /* padding: 0 .4em .2em; */
    border-bottom: 3px solid var(--sweat-teal);
    font-size: 22px;
    margin-bottom: 15px;
    text-align: left;
}

@media (max-width: 768px) {
  .category_bodysheat_title {
    font-size: 18px;
  }
}

/* メイン訴求ゾーン */
.product-container {
    max-width: 1000px;
    background: #e7f8ff;
    padding: 10px 20px;
}

.category-header_title {
    font-size: clamp(2rem, 2vw, 2.8rem) !important;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
}

.sub_taitle {
    font-size: clamp(1.4rem, 2vw, 1.7rem) !important;
    color: #f4511e;
    font-weight: bold;
    text-shadow: 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa, 0 0 3px #fafafa;
}

.main-visual-sence-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-left-sence {
    flex: 2;
    display: flex;
    flex-direction: column;
    margin: 10px 0 0;
}

/* 説明文エリアのスタイル */
.description-box-sence {
    background-color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    align-items: center;
}

.card-group-sence {
    display: flex;
    gap: 12px;
}

/* カード1枚ずつのスタイル */
.info-card-sence {
    flex: 1;
    border: 2px solid #e1f0ff; /* 薄い青の枠線 */
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

/* カードのヘッダー部分（薄い青背景） */
.card-header-sence {
    background-color: #eef7ff;
    color: #1f6fe5;
    font-weight: bold;
    padding: 7px 0;
    font-size: 16px;
    text-align: center;
}

.card-content-sence {
    padding: 5px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* アイコン設置スペース */
.card-icon {
    margin-bottom: 10px;
}
.card-icon img {
    width: 50px; /* アイコンのサイズ調整 */
    height: auto;
}

.unit-sence {
    font-size: 12px;
    color: #333;
}

.price-sence {
    color: #f4511e;
    font-weight: bold;
    font-size: 19px;
}

.pick_text {
    font-size: 22px !important;
}

.note-sence {
    font-size: 9px;
    line-height: 1.3;
}

/* 右側画像エリアの調整 */
.item-visual-sence {
    flex: 1.3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-visual-sence img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .main-visual-sence-wrap {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        flex-direction: column-reverse;
    }
    .card-group-sence {
        flex-direction: column;
        gap: 0;
    }
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 8px;
}
@media (max-width: 768px) {
.link-grid {
    grid-template-columns: repeat(1, 1fr);
}
}

.sence-anchor-link {
    background-color: #1f6fe5;
    color: white;
    text-decoration: none;
    padding: 15px 5px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    gap: 10px;
    line-height: 1;
    /* padding: 15px; */
}

.ic-gazou {
    width: 25px;         
    height: auto;
    flex-shrink: 0;          
}

.sence-anchor-link::after {
    content: '▼';
    font-size: 9px;
}

.sence-anchor-link:hover {
    opacity: 0.7;
}

/* バッジ */
.sence-badge {
    position: absolute;
    top: 45px;
    right: 7px;
    width: 110px;
    height: 110px;
    background-color: #ffffff;
    border: 2px solid #e1f0ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.sence-badge-inner {
    width: 100px;
    height: 100px;
    border: 1px dashed #0264bf;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.sence-badge-inner span {
    font-size: 13px;
    font-weight: bold;
    color: #0264bf;
    line-height: 1.4;
    margin-top: 5px;
}

.icon-pencil {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 6px;
    background: #0264bf;
    transform: rotate(-45deg);
    margin-bottom: 5px;
}
.icon-pencil::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    border-right: 8px solid #0264bf;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}
.icon-pencil::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 0;
    width: 2px;
    height: 6px;
    background: #0264bf;
}

@media (max-width: 768px) {
    .product-container {
        padding: 15px;
    }
    .main-visual-sence-wrap {
        flex-direction: column;
        align-items: center;
        /* padding-top: 20px; バッジが浮く分の調整 */
        gap: 0;
    }

    /* 画像をタイトルのすぐ下に配置 */
    .item-visual-sence {
        order: -1; 
        width: 80%; /* バッジを置くスペースを空けるため少し縮める */
        margin-right: 20%; /* バッジ用の右余白 */
        position: relative;
        margin: 10px 0;
    }

    .sence-badge {
        width: 90px;
        height: 90px;
        top: 250px;
        right: 15px;
        position: absolute;
    }

    .sence-badge-inner {
        width: 80px;
        height: 80px;
    }

    .icon-pencil {
        position: relative;
        display: inline-block;
        width: 13px;
        height: 6px;
        background: #0264bf;
        transform: rotate(-45deg);
        margin-bottom: 5px;
    }
   
    .sence-badge-inner span {
        font-size: 10px;
        font-weight: bold;
        color: #0264bf;
        line-height: 1.4;
        margin-top: 5px;
    }

    .content-left-sence {
        width: 100%;
    }
}


/* メイン訴求ゾーン ここまで*/

    .title--subtext {
        font-size: 15px;
    }


@media (min-width: 1024px) {
    .title--subtext {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        flex-wrap: nowrap;
        font-size: 18px;
        margin-top: 15px;
        border-bottom: 2px solid var(--sweat-teal);
        padding: 0 0 10px;
    }
}

#rank,
#pb,
#browse,
#fast,
#all,
#reason,
#print,
#scene,
#point,
#faq,
#contact,
#related {
    margin-top: -100px;
    padding-top: 110px;
    margin-bottom: 60px;
}

/* ベーススタイル */
.sweat-cta__btn {
    display: flex;
    padding: 12px 24px;
    background: #fff;
    color: var(--sweat-teal-deep);
    border: 2px solid var(--sweat-teal-deep);
    border-radius: 1000px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    justify-content: center;
    width: 500px;
    margin: 30px auto 20px;
}


.sweat-cta__btn:hover {
    background: var(--sweat-teal-deep);
    color: #fff;
}

@media (max-width: 768px) {
.sweat-cta__btn {
    width: 100%;
}

}

.block-productlist__heading {
  display: none;
}

@media (min-width: 1024px) {
    .block-productlist__wrap {
        margin-top: 0 !important;
    }
}