@charset "UTF-8";

/* ============================================
   冷感Tシャツ特集 LP - Stylesheet
   - PC: 4カラム / SP: 2カラム
   - フリップカード（表: モデル / 裏: 商品）
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f4f7fa;
  --color-text: #2b3340;
  --color-text-sub: #2b3340;
  --color-accent: #6fa8c9;
  --color-accent-deep: #3d7ba0;
  --color-line: #e3ebf2;
  --color-price: #2b3340;
  --color-number: #6c737c;
  --font-en: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

/* ============================================
   LP誘導バナー（ページ最上部）
   ============================================ */
.lp-banner {
  width: 100%;
  background: #fff;
  overflow: hidden;
}

.lp-banner__link {
  display: block;
  line-height: 0;  /* 画像下の余白を消す */
  transition: opacity 0.3s ease;
}

.lp-banner__link:hover {
  opacity: 0.9;
}

.lp-banner__image {
  width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}

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

/* ============================================
   ヘッダー / タイトル
   ============================================ */
.lp-header {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
  overflow: hidden;
}

.lp-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(111, 168, 201, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.lp-header__sub {
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--color-accent-deep);
  margin-bottom: 16px;
  font-weight: 500;
  position: relative;
}

.lp-header__title {
  font-family: var(--font-en);
  font-size: clamp(40px, 8vw, 88px);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 24px;
  position: relative;
}

.lp-header__title span {
  display: inline-block;
  background: linear-gradient(180deg, var(--color-text) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-header__lead {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 2;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.lp-header__lead strong {
  color: var(--color-accent-deep);
  font-weight: 500;
}

.lp-header__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 0;
  position: relative;
}

.lp-header__ornament span {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.4;
}

.lp-header__ornament small {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--color-accent-deep);
  font-style: italic;
}

/* ============================================
   共通セクション見出しユーティリティ
   ============================================ */
.features__label,
.product-grid__label,
.ranking__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--color-accent-deep);
  font-style: italic;
  margin-bottom: 12px;
}

/* ============================================
   商品特徴セクション
   ============================================ */
.features {
  padding: 100px 20px;
  background: #ffffff;
}

.features__head {
  text-align: center;
  margin-bottom: 80px;
}

.features__title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-text);
  line-height: 1.5;
}

.features__list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* 偶数番目は画像とテキストを左右入れ替え */
.feature--reverse .feature__image {
  order: 2;
}

.feature--reverse .feature__text {
  order: 1;
}

.feature__number {
  position: absolute;
  top: -40px;
  left: 0;
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 1;
  letter-spacing: 0.05em;
}

.feature--reverse .feature__number {
  left: auto;
  right: 0;
  text-align: right;
}

.feature__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-soft);
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(43, 51, 64, 0.06);
}

.feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__text {
  padding: 0 10px;
}

.feature__title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
}

.feature__desc {
  font-size: 13px;
  line-height: 2;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
}

.feature__desc strong {
  color: var(--color-accent-deep);
  font-weight: 500;
}

.feature__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.feature__badges li {
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent-deep);
  border-radius: 100px;
  background: rgba(111, 168, 201, 0.05);
}

/* ============================================
   商品グリッド
   ============================================ */
.product-section {
  padding: 100px 20px 120px;
  background: var(--color-bg-soft);
}

.product-grid__head {
  text-align: center;
  margin-bottom: 60px;
}

.product-grid__title {
  font-family: var(--font-en);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 16px;
}

.product-grid__desc {
  font-size: 12px;
  color: var(--color-text-sub);
  letter-spacing: 0.1em;
}

.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================
   フリップカード
   ============================================ */
.card {
  position: relative;
  perspective: 1200px;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(43, 51, 64, 0.1);
}

.card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-style: preserve-3d;
}

.card.is-flipped .card__inner {
  transform: rotateY(180deg);
}

.card__face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  background: #fff;
}

.card__face--front {
  box-shadow: 0 2px 12px rgba(43, 51, 64, 0.04);
}

.card__face--front .card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__face--back {
  transform: rotateY(180deg);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.card__face--back .card__product-img {
  flex: 1;
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}

.card__face--back .card__product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card__info {
  padding: 4px 2px;
}

.card__number {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-number);
  margin-bottom: 4px;
  font-style: italic;
}

.card__name {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 6px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__price {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--color-price);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.card__price .yen {
  font-size: 11px;
  margin-right: 2px;
  color: var(--color-text-sub);
}

.card__price .tax {
  font-size: 10px;
  color: var(--color-text-sub);
  margin-left: 4px;
  font-family: var(--font-jp);
}

/* ============================================
   トグルボタン（＋ / ×）
   ============================================ */
.card__toggle {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(43, 51, 64, 0.08);
  padding: 0;
}

.card__toggle:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.08);
}

.card__toggle::before,
.card__toggle::after {
  content: "";
  position: absolute;
  background: var(--color-text);
  transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.card__toggle::before {
  width: 12px;
  height: 1.5px;
}

.card__toggle::after {
  width: 1.5px;
  height: 12px;
}

.card.is-flipped .card__toggle::before {
  transform: rotate(45deg);
}

.card.is-flipped .card__toggle::after {
  transform: rotate(45deg);
}

/* ============================================
   ランキングセクション
   ============================================ */
.ranking {
  padding: 100px 20px 120px;
  background: #ffffff;
}

.ranking__head {
  text-align: center;
  margin-bottom: 60px;
}

.ranking__title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 12px;
}

.ranking__desc {
  font-size: 12px;
  color: var(--color-text-sub);
  letter-spacing: 0.08em;
}

.ranking__list {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rank-item {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.rank-item:hover {
  transform: translateY(-4px);
}

.rank-item__badge {
  position: absolute;
  top: -12px;
  left: -12px;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: 0 4px 12px rgba(43, 51, 64, 0.15);
}

.rank-item__badge small {
  font-size: 10px;
  margin-left: 2px;
  vertical-align: super;
  font-style: italic;
}

/* 1位：ゴールド */
.rank-item__badge--1 {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
}

/* 2位：シルバー */
.rank-item__badge--2 {
  background: linear-gradient(135deg, #b8c0cc 0%, #8a96a6 100%);
}

/* 3位：ブロンズ */
.rank-item__badge--3 {
  background: linear-gradient(135deg, #c98655 0%, #a0653a 100%);
}

.rank-item__img {
  aspect-ratio: 1 / 1;
  background:#fff;
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-item__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rank-item__info {
  text-align: center;
  padding: 0 4px;
}

.rank-item__num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color-number);
  margin-bottom: 6px;
  font-style: italic;
}

.rank-item__name {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 8px;
  font-weight: 500;
}

.rank-item__price {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.rank-item__price .yen {
  font-size: 11px;
  margin-right: 2px;
  color: var(--color-text-sub);
}

.rank-item__price .tax {
  font-size: 10px;
  color: var(--color-text-sub);
  margin-left: 4px;
  font-family: var(--font-jp);
}

/* ============================================
   フッター
   ============================================ */
.lp-footer {
  padding: 32px 20px;
  text-align: center;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-line);
}

.lp-footer__copy {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--color-text-sub);
}

/* ============================================
   レスポンシブ（SP）
   ============================================ */
@media (max-width: 767px) {
  .lp-header {
    padding: 60px 16px 40px;
  }

  .lp-header__sub {
    font-size: 11px;
    letter-spacing: 0.3em;
  }

  .lp-header__title {
    font-size: clamp(36px, 12vw, 56px);
    letter-spacing: 0.1em;
  }

  .lp-header__lead {
    font-size: 12px;
    padding: 0 10px;
  }

  /* 特徴セクション SP */
  .features {
    padding: 60px 16px;
  }

  .features__head {
    margin-bottom: 50px;
  }

  .features__list {
    gap: 70px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature--reverse .feature__image {
    order: 0;
  }

  .feature--reverse .feature__text {
    order: 0;
  }

  .feature__number {
    top: -30px;
    font-size: 60px;
  }

  .feature--reverse .feature__number {
    left: 0;
    right: auto;
    text-align: left;
  }

  .feature__title {
    font-size: 17px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .feature__desc {
    font-size: 12px;
    line-height: 1.9;
  }

  .feature__badges li {
    font-size: 10px;
    padding: 5px 11px;
  }

  /* グリッド SP */
  .product-section {
    padding: 60px 12px 80px;
  }

  .product-grid__head {
    margin-bottom: 40px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card__toggle {
    width: 28px;
    height: 28px;
    top: 8px;
    left: 8px;
  }

  .card__toggle::before {
    width: 10px;
  }

  .card__toggle::after {
    height: 10px;
  }

  .card__face--back {
    padding: 10px;
  }

  .card__name {
    font-size: 11px;
  }

  .card__price {
    font-size: 13px;
  }

  .card__number {
    font-size: 10px;
  }

  /* ランキング SP */
  .ranking {
    padding: 60px 16px 70px;
  }

  .ranking__head {
    margin-bottom: 40px;
  }

  .ranking__list {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 340px;
  }

  .rank-item__badge {
    width: 48px;
    height: 48px;
    font-size: 20px;
    top: -10px;
    left: -10px;
  }

  .rank-item__name {
    font-size: 12px;
  }

  .rank-item__price {
    font-size: 14px;
  }

  /* フッター SP */
  .lp-footer {
    padding: 24px 16px;
  }

  .lp-footer__copy {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
}

/* ============================================
   フェードインアニメーション
   ============================================ */
.card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.3s; }
.card:nth-child(7) { animation-delay: 0.35s; }
.card:nth-child(8) { animation-delay: 0.4s; }
.card:nth-child(n+9) { animation-delay: 0.45s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CTAセクション（すべて見るボタン）
   ============================================ */
.cta {
  padding: 80px 20px 100px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-soft) 100%);
  text-align: center;
}

.cta__inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta__lead {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--color-accent-deep);
  font-style: italic;
  margin-bottom: 24px;
}

.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 320px;
  padding: 22px 40px;
  background: var(--color-text);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.2em;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(43, 51, 64, 0.15);
}

.cta__button:hover {
  background: var(--color-accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 51, 64, 0.2);
}

.cta__arrow {
  font-family: var(--font-en);
  font-size: 18px;
  transition: transform 0.3s ease;
  font-style: italic;
}

.cta__button:hover .cta__arrow {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .cta {
    padding: 60px 16px 80px;
  }

  .cta__lead {
    font-size: 11px;
    letter-spacing: 0.25em;
    margin-bottom: 20px;
  }

  .cta__button {
    min-width: auto;
    width: 100%;
    max-width: 320px;
    padding: 18px 24px;
    font-size: 13px;
    letter-spacing: 0.15em;
  }
}