/* ================================================================
   factory-goods_new.html 専用スタイル（pd-body ライトテーマ前提）
   shiage_new.html と同じ ct-* クラス体系を使用
   読み込み順: css/style.css → css/factory-goods.css
   ================================================================ */

/* ── ページヒーロー ── */
.ct-hero {
  position: relative;
  padding: 52px 32px 56px;
  overflow: hidden;
  z-index: 1;
  background-color: #0f1e30;
  background-size: cover;
  background-position: center;
}
.factory-goods-hero {
  background-image: url('../img/keyvisual/keyvisual-factory.jpg');
}
.ct-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    105deg,
    rgba(7,13,20,.82) 0%,
    rgba(15,32,64,.70) 50%,
    rgba(7,13,20,.50) 100%
  );
}
.ct-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(78,179,216,.35), transparent);
}
.ct-hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
}
.ct-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: rgba(255,255,255,.55);
  margin-bottom: 28px; flex-wrap: wrap;
}
.ct-breadcrumb a { color: rgba(255,255,255,.55) !important; transition: color .2s; }
.ct-breadcrumb a:hover { color: rgba(255,255,255,.9) !important; }
.ct-breadcrumb span:last-child { color: #7bcfe8 !important; }
.ct-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(78,179,216,.9) !important; margin-bottom: 16px;
}
.ct-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: rgba(78,179,216,.7) !important;
}
.ct-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; color: #fff !important;
  line-height: 1.2; letter-spacing: -.01em;
  margin-bottom: 16px;
}
.ct-hero h1 .accent { color: #7bcfe8 !important; }
.ct-hero-sub {
  font-size: 15px; color: rgba(255,255,255,.78) !important;
  line-height: 1.9; margin-bottom: 28px;
  font-weight: 300; max-width: 560px;
}
.ct-hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 0;
}
.ct-hero-tags span {
  font-size: 11px; font-weight: 500;
  padding: 5px 14px; border-radius: 99px;
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  color: rgba(255,255,255,.85) !important;
  letter-spacing: .04em;
}
/* ── 特長カード ── */
.ct-features {
  background: var(--pd-bg2);
  padding: 64px 32px;
  position: relative; z-index: 1;
}
.ct-features::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(78,179,216,.2), transparent);
}
.ct-features-inner { max-width: 1200px; margin: 0 auto; }
.ct-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.ct-feature-card {
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(78,179,216,.18);
  border-radius: 12px; padding: 22px 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(78,179,216,.08);
  transition: transform .3s, box-shadow .3s;
}
.ct-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(78,179,216,.15);
}
.ct-feature-icon { font-size: 32px; margin-bottom: 10px; }
.ct-feature-title {
  font-size: 13px; font-weight: 700;
  color: var(--pd-text); margin-bottom: 8px; line-height: 1.5;
}
.ct-feature-text {
  font-size: 12px; color: var(--pd-sub); line-height: 1.8; font-weight: 300;
}
.ct-features-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--pd-sky); margin-bottom: 8px;
}
.ct-features-label::before {
  content: ''; display: block; width: 24px; height: 1px; background: var(--pd-sky-l);
}
.ct-features-h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--pd-text);
  letter-spacing: -.01em; line-height: 1.3;
}

/* ── 商品一覧メイン ── */
.ct-main {
  position: relative; z-index: 1;
  background: var(--pd-bg);
}

/* ── セクション ── */
.ct-section {
  padding: 64px 32px;
  max-width: 1200px; margin: 0 auto;
  position: relative;
}
.ct-section + .ct-section {
  border-top: 1px solid rgba(78,179,216,.12);
}
.ct-section-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 36px; flex-wrap: wrap;
}
.ct-section-icon { font-size: 32px; flex-shrink: 0; }
.ct-section-title-wrap { flex: 1; }
.ct-section-en {
  font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--pd-sky); margin-bottom: 4px;
}
.ct-section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700; color: var(--pd-text); line-height: 1.3;
}
.ct-section-badge {
  font-size: 11px; font-weight: 600;
  padding: 4px 14px; border-radius: 99px;
  background: rgba(78,179,216,.1);
  border: 1px solid rgba(78,179,216,.25);
  color: var(--pd-sky); letter-spacing: .04em;
  align-self: flex-start;
}

/* ── 商品グリッド ── */
.ct-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── 商品カード ── */
.ct-card {
  background: var(--pd-card);
  border: 1px solid rgba(78,179,216,.18);
  border-radius: 16px; overflow: hidden;
  position: relative; display: flex; flex-direction: column;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--pd-shadow);
}
.ct-card:hover {
  border-color: rgba(78,179,216,.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(78,179,216,.2);
}
.ct-card-new {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-size: 10px; font-weight: 700;
  padding: 4px 12px; border-radius: 99px;
  background: rgba(78,179,216,.2);
  border: 1px solid rgba(78,179,216,.4);
  color: var(--pd-sky-b); letter-spacing: .06em;
}
.ct-card-hot {
  background: rgba(239,68,68,.12) !important;
  border-color: rgba(239,68,68,.35) !important;
  color: #b91c1c !important;
}
.ct-card-img {
  width: 100%; height: auto; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e2f0f8, #d0e8f4);
  border-bottom: 1px solid rgba(78,179,216,.15);
  overflow: hidden;
}
.ct-card-img img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  padding: 0;
  transition: transform .4s ease;
}
.ct-card:hover .ct-card-img img { transform: none; }
.ct-card-body { padding: 18px 18px 0; flex: 1; display: flex; flex-direction: column; }
.ct-card-num {
  font-size: 10px; font-family: 'Inter', sans-serif;
  color: var(--pd-sub); letter-spacing: .08em; margin-bottom: 6px;
}
.ct-card-name {
  font-size: 15px; font-weight: 700;
  color: var(--pd-text); line-height: 1.5; margin-bottom: 6px;
}
.ct-card-size {
  font-size: 12px; color: var(--pd-sub); margin-bottom: 8px; line-height: 1.6;
}
.ct-card-desc {
  font-size: 12px; color: var(--pd-sub); line-height: 1.8;
  font-weight: 300; margin-bottom: 12px; flex: 1;
}
.ct-card-note {
  font-size: 11px; color: var(--pd-sub);
  margin-bottom: 10px; line-height: 1.7;
  padding: 8px 10px;
  background: rgba(78,179,216,.05);
  border-left: 2px solid rgba(78,179,216,.3);
  border-radius: 0 6px 6px 0;
}
.ct-card-price {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--pd-sky-b); margin-bottom: 14px;
}
.ct-card-price small { font-size: 11px; font-weight: 400; color: var(--pd-sub); }
.ct-card-price-open {
  font-size: 13px; font-weight: 600;
  color: var(--pd-sub); margin-bottom: 14px;
}
.ct-card-btn {
  display: block;
  margin: 0 0 18px;
  padding: 11px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px; font-weight: 600;
  transition: all .25s; letter-spacing: .04em;
}
.ct-card-btn-buy {
  background: linear-gradient(135deg, var(--pd-sky-l), var(--pd-sky-b));
  color: #fff;
  box-shadow: 0 4px 16px rgba(78,179,216,.3);
}
.ct-card-btn-buy:hover {
  box-shadow: 0 8px 28px rgba(78,179,216,.45);
  transform: translateY(-1px);
}
/* ── レスポンシブ ── */
@media (max-width: 1024px) {
  .ct-features-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ct-hero { padding: 36px 20px 42px !important; }
  .ct-features { padding: 48px 20px; }
  .ct-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ct-feature-card { padding: 16px 10px; }
  .ct-feature-title { font-size: 12px; }
  .ct-feature-text { font-size: 11px; line-height: 1.65; }
  .ct-section { padding: 44px 18px; }
  .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ct-card-body { padding: 13px 10px 0; }
  .ct-card-name { font-size: 13px; }
  .ct-card-size,
  .ct-card-desc { font-size: 11px; line-height: 1.65; }
  .ct-card-price { font-size: 17px; }
  .ct-card-btn { padding: 10px 5px; font-size: 11px; }
}
