/* =========================================================
   PCA — DESIGN F "NEON POP × CANVA構成"
   A案ベース。白ベース・極太・丸い・ビビッド。下品にしない。
   安心バッジ以降は「黄色×黒」ポップゾーン（Canva指示）。
   ========================================================= */

:root {
  --bg: #ffffff;
  --ink: #000000;
  --ink-70: rgba(0, 0, 0, 0.7);
  --ink-45: rgba(0, 0, 0, 0.45);
  --line: rgba(0, 0, 0, 0.12);

  /* ビビッドブロック帯 */
  --yellow: #f6e163;
  --blue: #2c5dab;
  --pink: #feccd6;

  /* SALE / 割引 */
  --sale-bg: #fbe8e5;
  --sale-ink: #f15b41;

  --radius-card: 18px;
  --radius-pill: 40px;
  --shadow-card: 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.12);

  --wrap: 1200px;
  --gap: 14px;
  --fs-title: clamp(1.5rem, 6vw, 2.6rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--ink);
  /* フォントはpca-site-preview準拠: Zen Maru Gothic＋Quicksand（サイズは不変） */
  font-family: "Zen Maru Gothic", system-ui, -apple-system,
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* モバイル固定ボトムバーぶんの余白 */
  padding-bottom: 64px;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

/* 案識別ラベル（控えめ） */
.compe-label {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--ink-45);
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 8px;
  border-bottom-left-radius: 10px;
  pointer-events: none;
}

/* =========================================================
   共通: セクション / 見出し / ピルボタン
   ========================================================= */
.sec {
  padding: 40px 0;
}

.sec-title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: var(--fs-title);
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 18px;
  text-align: center;
}

/* ビビッドカラーブロック帯 */
.band {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 14px;
  transform: rotate(-1.2deg);
}
.band-yellow {
  background: var(--yellow);
  color: var(--ink);
}
.band-blue {
  background: var(--blue);
  color: #fff;
}
.band-pink {
  background: var(--pink);
  color: var(--ink);
}

.sec-title.band {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.sec-sub {
  text-align: center;
  font-weight: 700;
  color: var(--ink-70);
  margin: -6px 0 20px;
}

.sec-more {
  text-align: center;
  margin-top: 26px;
}

/* ピルボタン */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 26px;
  border: 2px solid var(--ink);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
}
.pill-outline {
  background: #fff;
  color: var(--ink);
}
.pill-outline:hover {
  background: var(--ink);
  color: #fff;
}
.pill-primary {
  background: var(--ink);
  color: #fff;
}
.pill-primary:hover {
  background: #fff;
  color: var(--ink);
}
.pill-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* =========================================================
   1. アナウンスバー
   ========================================================= */
.announce {
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 9px 14px;
}

/* =========================================================
   2. ヘッダー
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 2px solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
}
.logo {
  font-family: "Quicksand", "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
}
.header-nav {
  display: flex;
  gap: 8px;
}

/* =========================================================
   3. ヒーロー（画像トリミング禁止・contain）
   ========================================================= */
.hero {
  padding: 18px 0 10px;
}
.hero-viewport {
  overflow: hidden;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}
.hero-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
}
.hero-img {
  width: 100%;
  height: 62vw;
  max-height: 520px;
  object-fit: contain; /* 絶対にトリミングしない */
  background: #faf7f4;
  border-radius: var(--radius-card);
}
.hero-cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.hero-dot.is-active {
  background: var(--ink);
  transform: scale(1.15);
}

/* =========================================================
   4. 複数購入割引バナー
   ========================================================= */
.discount-band {
  padding: 6px 0 22px;
}
.discount {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sale-bg);
  color: var(--sale-ink);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.discount:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.discount-spark {
  flex: 0 0 auto;
  background: var(--sale-ink);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.discount-text {
  flex: 1 1 auto;
  font-size: 0.95rem;
  line-height: 1.35;
}
.discount-arrow {
  flex: 0 0 auto;
  font-size: 1.3rem;
}

/* =========================================================
   5. 機種選択（site-preview型ウィジェット＝Canva指示）
   ラベンダーパネル×白チップ。配色はpca-site-preview準拠。
   ========================================================= */
.sec-models {
  padding: 26px 0;
}
.model-panel {
  background: #ede6f2;
  border-radius: 24px;
  padding: 26px 18px 14px;
}
.model-title {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #4a3f3f;
}
.model-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 4px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.model-scroller::-webkit-scrollbar {
  height: 6px;
}
.model-scroller::-webkit-scrollbar-thumb {
  background: rgba(185, 106, 115, 0.35);
  border-radius: 3px;
}
.model-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #fff;
  color: #b96a73;
  border: 1.5px solid rgba(185, 106, 115, 0.25);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.model-chip:hover {
  background: #d98e96;
  color: #fff;
  border-color: #d98e96;
  transform: translateY(-2px);
}

/* =========================================================
   6. “気分”で選ぶ♪（新設）
   ========================================================= */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.mood-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 15px 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease;
}
/* ネオンポップに彩り（黄・ピンク・水色を巡回） */
.mood-pill:nth-child(3n + 1):hover {
  background: var(--yellow);
}
.mood-pill:nth-child(3n + 2):hover {
  background: var(--pink);
}
.mood-pill:nth-child(3n):hover {
  background: #cdeaff;
}
.mood-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.mood-emoji {
  font-size: 1.15rem;
  line-height: 1;
}
.mood-label {
  line-height: 1.2;
}

/* =========================================================
   7. テイストで探す
   ========================================================= */
.taste-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.taste-card {
  display: block;
}
.taste-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #faf7f4;
  border: 2px solid var(--ink);
}
.taste-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.taste-card:hover .taste-thumb img {
  transform: scale(1.1);
}
.taste-label {
  display: block;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-top: 9px;
}

/* =========================================================
   8. 推しカラーで選ぶ（新設）
   ========================================================= */
.color-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  max-width: 760px;
  margin: 0 auto;
}
.color-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 0.8rem;
  transition: transform 0.18s ease;
}
.color-chip:hover {
  transform: translateY(-3px);
}
.color-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-card);
}

/* =========================================================
   9. 人気RANKING（横スクロールカルーセル＝Canva指示）
   ========================================================= */
.rank-scroller {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.rank-scroller::-webkit-scrollbar {
  height: 6px;
}
.rank-scroller::-webkit-scrollbar-thumb {
  background: var(--ink-45);
  border-radius: 3px;
}
.rank-card {
  flex: 0 0 46%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-card);
  border: 2px solid var(--ink);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rank-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.rank-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #faf7f4;
}
.rank-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.rank-card:hover .rank-img {
  transform: scale(1.1);
}
.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}
/* 商品名は1行だけ表示（Canva指示） */
.rank-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 星＋件数（黒でパキッと） */
.rate {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
}
.stars {
  color: var(--ink);
  letter-spacing: 1px;
}
.rate-count {
  color: var(--ink-45);
  font-weight: 700;
  font-size: 0.76rem;
}

.price {
  margin: 0;
  font-family: "Quicksand", "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

/* =========================================================
   10. みんなのレビュー（カード全体がリンク）
   ========================================================= */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.review-card {
  margin: 0;
  background: var(--sale-bg);
  border-radius: var(--radius-card);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.review-card .stars {
  color: var(--sale-ink);
}
.review-quote {
  margin: 0;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.5;
}
.review-cap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  font-size: 0.82rem;
}
.review-author {
  font-weight: 700;
  color: var(--ink-70);
}
.review-product {
  font-weight: 800;
  color: var(--sale-ink);
}
.review-go {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--sale-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   11. NEW ARRIVAL
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.18s ease;
}
.product-card:hover {
  transform: translateY(-3px);
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #faf7f4;
  border: 2px solid var(--ink);
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img {
  transform: scale(1.1);
}
.product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
}
.product-body {
  padding: 10px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
/* 商品名は1行だけ表示（Canva指示） */
.product-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================
   12. 安心バッジ（ここから黄×黒ポップゾーン）
   ========================================================= */
.sec-badges {
  background: var(--yellow);
  border-top: 3px solid var(--ink);
}
.badge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.badge-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.badge-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.badge-title {
  margin: 0;
  font-weight: 900;
  font-size: 1rem;
}
.badge-text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-70);
  font-weight: 500;
  line-height: 1.5;
}
.badge-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   13. PCAのよみもの（新設・黄×黒）
   ========================================================= */
/* 最新記事のみ1枚を中央寄せで表示 */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  max-width: 640px;
  margin: 0 auto;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.article-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #faf7f4;
  border-bottom: 2px solid var(--ink);
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-thumb img {
  transform: scale(1.06);
}
.article-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}
.article-date {
  align-self: flex-start;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 3px 10px;
}
.article-title {
  margin: 0;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-go {
  margin-top: auto;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   14. #PCAのある暮らし（黒地×黄アクセント）
   ========================================================= */
.sec-sns {
  background: var(--ink);
  color: #fff;
}
.sec-sns .sec-title {
  color: var(--yellow);
}
.sec-sns .sec-sub {
  color: rgba(255, 255, 255, 0.8);
}
.sns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}
.sns-pill {
  width: 100%;
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.sns-pill:hover {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.sns-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.sns-shot {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 2px solid var(--yellow);
  background: #111;
}
.sns-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.sns-shot:hover img {
  transform: scale(1.08);
}

/* =========================================================
   15. フッター（黒×黄）
   ========================================================= */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 40px 0 30px;
  text-align: center;
  border-top: 3px solid var(--yellow);
}
.footer-logo {
  font-family: "Quicksand", "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  color: var(--yellow);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 20px;
}
.footer-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.18s ease;
}
.footer-link:hover {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   16. モバイル固定ボトムバー（黄×黒・LINEなし）
   ========================================================= */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  background: var(--yellow);
  border-top: 2px solid var(--ink);
}
.bottom-bar a {
  flex: 1 1 50%;
  text-align: center;
  font-weight: 900;
  font-size: 0.88rem;
  padding: 15px 8px;
}
.bottom-bar a + a {
  border-left: 2px solid var(--ink);
}

/* =========================================================
   レスポンシブ拡張（PC 1280px / タブレット）
   ========================================================= */
@media (min-width: 640px) {
  .taste-grid,
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mood-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .badge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sns-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .rank-card {
    flex-basis: 31%;
  }
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
  .bottom-bar {
    display: none;
  }
  .sec {
    padding: 56px 0;
  }
  .taste-grid,
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .rank-card {
    flex-basis: 18.5%;
  }
  .sns-collage {
    grid-template-columns: repeat(6, 1fr);
  }
  .hero-img {
    height: 44vw;
    max-height: 560px;
  }
}
