@charset "UTF-8";
/* SP（〜1023px）非鉄関連
   PC の絶対配置をやめて上から流し込む。
   並び：ページタイトル → 導入 → 量産化ストーリー（指で横スワイプ。矢印・ドットは SP では消す）
         → 製品カード（1列）→ 保有設備（イラスト＋設備カード 1列／768〜 2列）→ 品質・認証（1列／768〜 2列） */

.page--non-ferrous { --gut: var(--sp-gutter); }

/* セクション共通：流し込み */
.page--non-ferrous main > section {
  position: relative !important; left: auto !important; top: auto !important;
  width: auto !important; height: auto !important;
}
.page--non-ferrous main > section > * { position: relative; left: auto; top: auto; transform: none; white-space: normal; }

/* 装飾英字＋見出し（PC と同じく英字に見出しを重ねる） */
.pcat-story__big, .pcat-lineup__big, .pcat-equip__big {
  display: block; font-size: clamp(36px, 15vw, 80px); line-height: 1; letter-spacing: 2px; text-align: center; white-space: nowrap !important;
}
.pcat-story__ttl, .pcat-lineup__ttl, .pcat-equip__ttl {
  display: block; max-width: var(--sp-max); margin: -22px auto 0; font-size: clamp(16px, 5vw, 20px); line-height: 1.6; text-align: center;
}

/* ---------- ページタイトル ---------- */
.page--non-ferrous main > .pcat-hero { height: 240px !important; overflow: hidden; }
.pcat-hero > .pcat-hero__photo { position: absolute; inset: 0; }
.pcat-hero__photo img { top: 0; height: 100%; object-fit: cover; object-position: 70% 50%; }
.pcat-hero > .pcat-hero__ttl, .pcat-hero > .pcat-hero__en, .pcat-hero > .pcat-hero__big { position: absolute; white-space: nowrap; }
.pcat-hero > .pcat-hero__ttl { left: var(--gut); top: 72px; font-size: 28px; line-height: 1.4; }
.pcat-hero > .pcat-hero__en  { left: var(--gut); top: 118px; font-size: 13px; letter-spacing: 1.3px; }
.pcat-hero > .pcat-hero__big { left: 4px; top: auto; bottom: -6px; font-size: clamp(40px, 15.5vw, 120px); line-height: 1; }

/* ---------- 導入 ---------- */
.pcat-intro { padding: var(--sp-sec) var(--gut); text-align: center; }
.pcat-intro > * { max-width: var(--sp-max); margin-left: auto; margin-right: auto; }
.pcat-intro__copy { font-size: clamp(20px, 6.4vw, 32px); line-height: 1.6; letter-spacing: .5px; }
.pcat-intro__lead { margin-top: 20px; font-size: var(--sp-body); line-height: 1.8; letter-spacing: .3px; text-align: left; }
.pcat-intro__lead br { display: none; }

/* ---------- 量産化ストーリー（横スワイプ） ---------- */
.page--non-ferrous main > .pcat-story { margin: 0 10px; padding: 48px 0 40px; border-radius: 10px; overflow: hidden; background: #1a202c; }
.pcat-story > .pcat-story__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.pcat-story__ttl { padding: 0 var(--gut); color: #fff; }
.pcat-story > .pcat-slider {
  width: auto; height: auto; margin-top: 24px;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 0 var(--gut);
}
.pcat-slider::-webkit-scrollbar { display: none; }
.pcat-slider__track { transform: none !important; gap: 12px; width: max-content; }
.pcat-slide {
  width: min(84vw, 560px); height: auto; flex-direction: column;
  scroll-snap-align: center; border-radius: 10px;
}
.pcat-slide__photo { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.pcat-slide__photo img { width: 100% !important; height: 100% !important; }
.pcat-slide__body { flex: 1 1 auto; min-width: 0; height: auto; padding: 20px 20px 24px; gap: 12px; justify-content: flex-start; }
.pcat-slide__year { font-size: 13px; }
.pcat-slide__ttl { font-size: 20px; line-height: 1.5; white-space: normal; }
.pcat-slide__txt { font-size: 14px; line-height: 1.8; }
.pcat-slide__txt br { display: none; }
.pcat-story > .pcat-slider__btn, .pcat-story > .pcat-slider__dots { display: none; }
/* スワイプできることを示す一言（SP だけ HTML に無いので擬似要素で） */
.pcat-story::after { content: "← スワイプ →"; display: block; position: relative; margin-top: 16px; text-align: center; font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,.6); }

/* ---------- 製品カード ---------- */
.pcat-lineup { padding: var(--sp-sec) var(--gut); }
.pcat-lineup > .pcat-items { display: grid; grid-template-columns: 1fr; gap: 16px; width: auto; max-width: var(--sp-max); margin: 28px auto 0; }
.pcat-item { padding: 22px 20px; gap: 16px; }
.pcat-item__head { gap: 18px; }
.pcat-item__sub { font-size: 13px; white-space: normal; }
.pcat-item__name { margin-top: 4px; font-size: 20px; line-height: 1.5; white-space: normal; }
.pcat-item__line { width: 100%; }
.pcat-item__txt { font-size: var(--sp-body); line-height: 1.8; }
.pcat-item__spec { flex-wrap: wrap; gap: 4px 12px; padding: 10px 14px; white-space: normal; }
.pcat-item__spec dt { font-size: 13px; }
.pcat-item__spec dd { font-size: 16px; line-height: 1.5; }

/* ---------- 設備・品質 ---------- */
.pcat-equip { padding: var(--sp-sec) var(--gut); background: #fff; }
.pcat-equip > .pcat-equip__panel { display: none; }
.pcat-equip__big { color: #eee; font-size: clamp(22px, 7.2vw, 56px) !important; letter-spacing: 0 !important; }
.pcat-equip__ttl { margin-top: -12px; }
.pcat-equip > .pcat-box {
  top: auto !important; height: auto !important; width: auto; max-width: var(--sp-max);
  display: grid; gap: 14px; margin: 28px auto 0; padding: 28px 16px 20px;
  background: #f5f5f5; border-radius: 10px;
}
.pcat-equip > .pcat-box + .pcat-box { margin-top: 20px; }
.pcat-box > * { position: relative; left: auto !important; top: auto !important; }
.pcat-box > .pcat-box__bg { display: none; }
.pcat-box > .pcat-box__head { width: auto !important; height: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 6px; }
.pcat-box__head > .pcat-illus { position: relative; left: auto; top: auto; flex: none; margin-bottom: 8px; }
.pcat-box__head > .pcat-box__en, .pcat-box__head > .pcat-box__ttl { position: static; transform: none; white-space: normal; margin: 0 !important; }
.pcat-box__en { font-size: 13px; }
.pcat-box__ttl { font-size: 20px; }
/* 設備カード */
.pcat-mc { width: auto; padding: 16px; gap: 10px; }
.pcat-mc figcaption { font-size: 17px; line-height: 1.5; white-space: normal; }
.pcat-mc img { width: 100%; height: auto; aspect-ratio: 3 / 2; margin-bottom: 0; }
.pcat-mat { font-size: 14px; line-height: 1.8; white-space: normal; }
.pcat-mat span { font-size: 14px; }
/* 品質カード */
.pcat-q { width: auto; height: auto !important; padding: 18px 18px 20px !important; gap: 6px !important; white-space: normal; }
.pcat-q__ttl { font-size: 17px; line-height: 1.5; }
.pcat-q__txt { font-size: 14px; line-height: 1.8; }
.pcat-q__txt br { display: none; }

@media (min-width: 768px) {
  .page--non-ferrous main > .pcat-hero { height: 320px !important; }
  .pcat-hero > .pcat-hero__ttl { top: 100px; font-size: 36px; }
  .pcat-hero > .pcat-hero__en { top: 156px; }
  .pcat-story__ttl, .pcat-lineup__ttl, .pcat-equip__ttl { margin-top: -30px; font-size: 26px; }
  .pcat-equip__ttl { margin-top: -20px; }
  .pcat-intro__lead { font-size: 16px; text-align: center; }
  .pcat-intro__lead br { display: inline; }
  .page--non-ferrous main > .pcat-story { margin: 0 20px; padding: 64px 0 48px; }
  .pcat-slide { flex-direction: row; width: min(86vw, 720px); }
  .pcat-slide__photo { width: 44%; aspect-ratio: auto; }
  .pcat-slide__body { flex: 1 1 0; padding: 28px; justify-content: center; }
  .pcat-story__ttl { font-size: 22px; }
  .pcat-item { padding: 28px; }
  .pcat-item__name { font-size: 22px; }
  .pcat-equip > .pcat-box { grid-template-columns: 1fr 1fr; padding: 32px 24px 24px; }
  .pcat-box > .pcat-box__head, .pcat-box > .pcat-mat { grid-column: 1 / -1; }
}
