@charset "UTF-8";
/* SP（〜1023px）帝国製鋲のものづくり
   PC の絶対配置（インライン style 含む）をやめて、上から順に流し込む。
   並び：MV → イントロ → 数字（2×2）→ 強み（1列）→ 一貫生産体制（写真上のカード 1列／768〜 2列）
         → 対応スペック（1列）→ 設備（横スワイプ） */

.page--monozukuri { --mv-h: 300px; --gut: var(--sp-gutter); }
.page--monozukuri main { display: block; }

/* セクション共通：流し込み＋中身は最大 720px で中央 */
.page--monozukuri main > section {
  position: relative !important; left: auto !important; top: auto !important;
  width: auto !important; height: auto !important;
}
.mz-intro, .mz-num, .mz-str, .mz-proc, .mz-spec, .mz-eq { padding: var(--sp-sec) var(--gut); }
.mz-intro > *, .mz-num > *, .mz-str > *, .mz-proc > *, .mz-spec > *, .mz-eq > * { max-width: var(--sp-max); margin-left: auto; margin-right: auto; }

/* 大きい装飾英字＋見出し（PC と同じく、英字の下半分に見出しを重ねる） */
.mz-bigttl {
  position: relative !important; left: auto !important; top: auto !important; transform: none;
  display: block; font-size: 56px; line-height: 1; letter-spacing: 2px; white-space: nowrap; text-align: center;
}
.mz-ttl {
  position: relative !important; left: auto !important; top: auto !important; transform: none;
  display: block; margin-top: -26px; font-size: 24px; line-height: 1.5; white-space: normal; text-align: center;
}

/* ---------- MV ---------- */
.page--monozukuri main > .mz-mv { height: var(--mv-h) !important; overflow: hidden; }
.mz-mv__photo { object-position: 65% 50%; }
.mz-mv__grad { background: linear-gradient(to right, rgba(0,101,163,.92) 0%, rgba(0,101,163,.55) 55%, rgba(102,102,102,0) 100%); }
.mz-mv__ttl {
  left: var(--gut); right: var(--gut); top: calc(var(--sp-header) + var(--mv-h) * .36);
  font-size: 28px; line-height: 1.4; white-space: normal;
}
.mz-mv__en { left: var(--gut); top: calc(var(--sp-header) + var(--mv-h) * .36 + 48px); font-size: 13px; letter-spacing: 1.3px; }
.mz-mv__big { top: calc(var(--sp-header) + var(--mv-h) - 46px); left: 4px; font-size: 64px; line-height: 1; }

/* ---------- イントロ ---------- */
.mz-intro { padding-top: calc(var(--sp-sec) + 8px); }
.mz-intro__copy, .mz-intro__txt { position: static; transform: none; white-space: normal; }
.mz-intro__copy { font-size: 22px; line-height: 1.6; letter-spacing: .5px; word-break: keep-all; overflow-wrap: anywhere; } /* 「、」「。」で折り返す */
.mz-intro__txt { margin-top: 24px; font-size: var(--sp-body); font-weight: 500; line-height: 1.8; letter-spacing: .3px; text-align: left; }
.mz-intro__txt br { display: none; }

/* ---------- NUMBERS ---------- */
.mz-num { background: var(--panel); border-top-right-radius: 48px; }
.mz-num__panel { display: none; }
.mz-num dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.mz-fact {
  position: relative !important; left: auto !important; top: auto !important; width: auto; height: auto;
  display: flex; flex-direction: column; align-items: center; padding: 16px 8px 18px;
  background: #fff; border: 1px solid #e0e0e0; border-radius: 10px;
}
.mz-fact > img { display: none; }
.mz-fact dt { position: static; width: 100%; max-width: 150px; height: auto; padding: 4px 8px; font-size: 13px; line-height: 1.5; }
.mz-fact dd { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-top: 12px; }
.mz-fact__num, .mz-fact__unit { position: static !important; left: auto !important; top: auto !important; }
.mz-fact__num { font-size: 44px; line-height: 1; }
.mz-fact__unit { font-size: 15px; line-height: 1; }

/* ---------- STRENGTHS ---------- */
.mz-str { background: #000; overflow: hidden; }
.mz-str > .mz-str__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.mz-str__big { color: #4f4f4f; }
.mz-str ul { display: grid; gap: 20px; margin-top: 28px; }
.mz-str__card {
  position: relative !important; left: auto !important; top: auto !important; width: auto; height: auto;
  background: #fff; border-radius: 10px; overflow: hidden; padding-bottom: 24px;
}
.mz-str__card > * { position: static; }
.mz-str__cardbg { display: none; }
.mz-str__photo { position: relative !important; width: 100%; height: auto; aspect-ratio: 460 / 300; }
.mz-str__photo img { position: absolute !important; inset: 0 !important; left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover; }
/* 03 の写真は左端に帯が入っているので、PC と同じ比率で少し拡大して切る */
.mz-str__no { position: absolute !important; left: 0; top: 16px; width: auto; height: auto; padding: 4px 10px; font-size: 12px; }
.mz-str__ttl { width: auto; margin: 20px 20px 0; font-size: 18px; line-height: 1.5; white-space: normal; }
.mz-str__txt { width: auto; margin: 10px 20px 0; font-size: var(--sp-body); line-height: 1.8; }

/* ---------- PROCESS（一貫生産体制） ---------- */
.mz-proc__big { color: #fff; }
.flow { position: static; width: auto; margin-top: 32px; gap: 40px; align-items: stretch; }
.flow__grp, .flow__col { width: auto; gap: 16px; }
.flow__label { padding: 6px 20px; font-size: 16px; line-height: 1.5; }
.flow__row, .flow__list { display: grid; grid-template-columns: 1fr; gap: 16px; width: 100%; }
.flow__pair { display: flex; flex-direction: column; gap: 40px; width: 100%; }
.flow__col { width: 100%; }
.flow__note { margin-top: 0; font-size: 12px; line-height: 1.7; white-space: normal; }
.pcard__name { font-size: 18px; line-height: 1.5; white-space: normal; }
/* カードは大小とも「写真が上・説明が下」に統一 */
.pcard-l, .pcard-s { width: auto; height: auto !important; display: flex; flex-direction: column; gap: 0; padding: 0; background: #fff; border-radius: 10px; overflow: hidden; }
.pcard-l__photo, .pcard-s__photo { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; }
.pcard-l__photo img, .pcard-s__photo img { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover; }
.pcard-l__body, .pcard-s__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; }
.pcard-l__txt, .pcard-s__txt { font-size: var(--sp-body); line-height: 1.8; }

/* ---------- SPECIFICATIONS ---------- */
.mz-spec { overflow: hidden; }
.mz-spec > .mz-spec__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; }
.mz-spec__big { font-size: clamp(34px, 10vw, 72px); opacity: .25; }
.mz-spec__card {
  position: relative !important; left: auto !important; top: auto !important; width: auto; height: auto;
  margin-top: 20px; background: #fff; border-radius: 10px; overflow: hidden;
}
.mz-spec__ttl + .mz-spec__card, .mz-ttl + .mz-spec__card { margin-top: 28px; }
.mz-spec__cardbg, .mz-spec__line { display: none; }
.mz-spec__head { position: relative; width: auto; height: auto; padding: 16px 20px; border-radius: 0; }
.mz-spec__head span { position: static; display: block; width: auto; font-size: 18px; line-height: 1.5; white-space: normal; }
.mz-spec__card dl { padding: 4px 20px 20px; }
.mz-spec__card dt, .mz-spec__card dd { position: static !important; left: auto !important; top: auto !important; width: auto !important; white-space: normal !important; }
.mz-spec__card dt { padding-top: 16px; font-size: 17px; line-height: 1.5; }
.mz-spec__card dt:not(:first-of-type) { margin-top: 16px; border-top: 1px solid #c9c9c9; }
.mz-spec__card dd { margin-top: 4px; font-size: var(--sp-body); line-height: 1.7; }

/* ---------- EQUIPMENT（矢印送り → 指で横スワイプ。次の写真が少し覗く幅） ---------- */
.mz-eq { padding-left: 0; padding-right: 0; }
.mz-eq > .mz-bigttl, .mz-eq > .mz-ttl { padding: 0 var(--gut); }
.mz-eq__slider { position: relative; max-width: none !important; margin-top: 28px; }
.mz-eq__slider > * { position: static; }
.mz-eq__slides {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut);
  padding: 0 var(--gut) 8px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: thin;
}
.mz-eq__slide, .mz-eq__slide[data-pos] {
  position: relative; left: auto !important; top: auto !important; flex: 0 0 84%; max-width: 600px;
  width: auto !important; height: auto !important; scroll-snap-align: start; transition: none; border-radius: 6px;
}
.mz-eq__slide[aria-hidden="true"] { display: none; }   /* ループ用の複製は SP では使わない */
.mz-eq__slide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mz-eq__sp-cap { position: absolute; left: 0; bottom: 12px; padding: 6px 12px; background: #000; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.5; }
.mz-eq__cap, .mz-eq__arrow, .mz-eq__dots { display: none !important; }

/* ---------- タブレット（768〜1023px） ---------- */
@media (min-width: 768px) {
  .page--monozukuri { --mv-h: 420px; }
  .mz-mv__ttl { font-size: 40px; }
  .mz-mv__en { top: calc(var(--sp-header) + var(--mv-h) * .36 + 66px); font-size: 15px; }
  .mz-mv__big { top: calc(var(--sp-header) + var(--mv-h) - 60px); font-size: 88px; }
  .mz-bigttl { font-size: 80px; }
  .mz-ttl { margin-top: -34px; font-size: 30px; }
  .mz-intro__copy { font-size: 32px; }
  .mz-intro__txt { font-size: 16px; text-align: center; }
  .mz-intro__txt br { display: revert; }
  .mz-num dl { grid-template-columns: repeat(4, 1fr); }
  .mz-fact__num { font-size: 40px; }
  .mz-str ul { grid-template-columns: 1fr 1fr; }
  .flow__row, .flow__list { grid-template-columns: 1fr 1fr; }
  .mz-eq__slide, .mz-eq__slide[data-pos] { flex-basis: 78%; }
  .mz-eq__slide img { aspect-ratio: 2 / 1; }
}
