/*
部品調達・実装 専用CSS
Ctrl+Fで「01 メイン画像」など日本語の項目名を検索してください。
00 共通 / 01 メイン / 02 コンセプト / 03 相談例 / 04 ネットワーク
05 調達対応例 / 06 基板実装 / 07 流れ / 08 強み / 09 CONTACT
padding＝内側余白、margin＝外側余白、gap＝項目の間隔。
各項目にスマホ用設定を併記。ヘッダー・フッターはcommon.css。
*/

/* #region 00 共通設定・本文幅・見出し
======================================== */
.pa-page { color: #102b43; background: #fff; }
.pa-container { width: min(1500px, calc(100% - 80px)); margin: 0 auto; }
.pa-section { padding: 25px 0 12px; }
.pa-page h2 { font: 500 clamp(28px, 2.7vw, 40px)/1.5 "Yu Mincho", "YuMincho", serif; letter-spacing: .03em; margin-bottom: 12px; }
.pa-label { color: #5481ba; font-size: 12px; font-weight: 600; letter-spacing: .14em; margin-bottom: 5px; }
.pa-copy { font-size: 14px; line-height: 1.95; letter-spacing: .04em; color: #405775; }
.pa-main-background { background: linear-gradient(115deg, #fff, #edf7ff); }
.pa-page figure { margin: 0; min-width: 0; }
.pa-page :focus-visible { outline: 3px solid #00a6a6; outline-offset: 5px; }
.pa-page section[id] { scroll-margin-top: 20px; }
.pa-skip { position: absolute; top: -100px; left: 16px; padding: 12px 20px; background: #fff; z-index: 200; }
.pa-skip:focus { top: 10px; }
@media (max-width: 767px) {
    .pa-container { width: calc(100% - 40px); }
    .pa-section { padding: 30px 0 15px; }
    .pa-page h2 { font-size: 28px; }
    .pa-pc-break { display: none; }
}
/* #endregion */

/* #region 01 メイン画像・部品調達と実装
======================================== */
.pa-hero { min-height: 510px; color: #fff; background: #041d35 url("../images/Parts sourcing and assembly/青い未来を描く電子技術パノラマ.png.webp") center / cover no-repeat; }
.pa-hero-inner { position: relative; min-height: 510px; padding: 25px 0 35px; }
.pa-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; letter-spacing: .07em; margin-bottom: 25px; }
.pa-hero-label { font-size: 12px; letter-spacing: .16em; margin-bottom: 12px; }
.pa-hero h1 { font: 500 clamp(36px, 4vw, 62px)/1.4 "Yu Mincho", "YuMincho", serif; letter-spacing: .05em; margin-bottom: 12px; }
.pa-hero-subtitle { font: 500 clamp(22px, 2.5vw, 36px)/1.5 "Yu Mincho", "YuMincho", serif; letter-spacing: .03em; }
.pa-accent { width: 150px; height: 3px; background: #00b4e1; margin: 22px 0; }
.pa-hero-copy { max-width: 720px; font-size: 15px; line-height: 1.95; letter-spacing: .03em; }
.pa-hero-message { font-size: 10px; line-height: 1.7; letter-spacing: .13em; margin-top: 20px; }
.pa-hero-side { position: absolute; bottom: 30px; right: 0; font-size: 11px; line-height: 1.8; letter-spacing: .1em; text-shadow: 0 1px 5px #001323; }
@media (max-width: 1100px) {
    .pa-hero { background-image: linear-gradient(90deg, #031d3599, #031d3533), url("../images/Parts sourcing and assembly/青い未来を描く電子技術パノラマ.png.webp"); }
    .pa-hero-copy { max-width: 65%; }
}
@media (max-width: 767px) {
    .pa-hero { background-image: linear-gradient(90deg, #031d35ed, #031d35b3), url("../images/Parts sourcing and assembly/青い未来を描く電子技術パノラマ.png.webp"); }
    .pa-hero h1 { font-size: clamp(31px, 7.5vw, 44px); }
    .pa-hero-subtitle { font-size: 24px; }
    .pa-hero-copy { max-width: 100%; font-size: 14px; }
    .pa-breadcrumb { font-size: 10px; }
    .pa-hero-side { display: none; }
}
/* #endregion */

/* #region 02 コンセプト・物流背景
======================================== */
.pa-concept { background: linear-gradient(90deg, #fffffff5, #ffffffcc 45%, #ffffff00 85%), url("../images/Parts sourcing and assembly/グローバル物流を描く未来型倉庫.png.webp") center / cover no-repeat; }
.pa-concept-inner { padding: 30px 0; min-height: 235px; }
.pa-concept .pa-copy { max-width: 1180px; }
@media (max-width: 767px) {
    .pa-concept { background-image: linear-gradient(90deg, #fffffff5, #ffffffe6), url("../images/Parts sourcing and assembly/グローバル物流を描く未来型倉庫.png.webp"); }
    .pa-concept-inner { padding: 35px 0; }
}
/* #endregion */

/* #region 03 相談例・4カード
======================================== */
.pa-situation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pa-situation-card { min-width: 0; background: #fff; border: 1px solid #dfeaf4; }
.pa-situation-card > img { width: 100%; aspect-ratio: 2.6; object-fit: cover; }
.pa-situation-card > div { position: relative; padding: 24px 20px 20px; }
.pa-card-number { position: absolute; top: -34px; left: 12px; background: #fff; border-radius: 7px 7px 0 0; padding: 1px 12px; font: 600 34px/1.5 "Yu Mincho", serif; }
.pa-situation-card h3 { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
.pa-situation-card p { font-size: 14px; line-height: 1.85; color: #405775; }
@media (max-width: 1100px) {
    .pa-situation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 600px) {
    .pa-situation-grid { grid-template-columns: 1fr; }
}
/* #endregion */

/* #region 04 国内外の調達ネットワーク
======================================== */
.pa-network-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: 25px; align-items: center; }
.pa-network h2 { font-size: clamp(25px, 2.2vw, 34px); }
.pa-network figure img { width: 100%; height: auto; }
@media (max-width: 1000px) {
    .pa-network-layout { grid-template-columns: 1fr; gap: 20px; }
}
/* #endregion */

/* #region 05 部品調達の対応例・5カード
======================================== */
.pa-procurement-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.pa-small-card { min-width: 0; background: #fff; border: 1px solid #e1ecf4; text-align: center; }
.pa-small-card > img { width: 100%; aspect-ratio: 2.5; object-fit: cover; }
.pa-small-card h3 { font-size: 16px; line-height: 1.6; padding: 8px 6px 4px; }
.pa-small-card p { font-size: 12px; line-height: 1.8; padding: 0 10px 15px; color: #405775; }
@media (max-width: 1000px) {
    .pa-procurement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pa-procurement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
    .pa-small-card h3 { font-size: 14px; }
    .pa-small-card p { font-size: 11px; }
    .pa-small-card p br { display: none; }
}
/* #endregion */

/* #region 06 基板実装・6カード
======================================== */
.pa-heading-row { display: flex; align-items: baseline; gap: 30px; }
.pa-heading-row p { font: 500 22px/1.6 "Yu Mincho", serif; }
.pa-assembly-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.pa-assembly-grid h3 { font-size: 15px; }
@media (max-width: 1100px) {
    .pa-assembly-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pa-heading-row { display: block; margin-bottom: 12px; }
    .pa-heading-row p { font-size: 20px; }
    .pa-assembly-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* #endregion */

/* #region 07 BOMから実装基板まで・6工程
======================================== */
.pa-flow-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; margin-top: 15px; }
.pa-flow-list li { min-width: 0; background: #fff; }
.pa-flow-photo { position: relative; overflow: hidden; }
.pa-flow-photo img { width: 100%; aspect-ratio: 2.4; object-fit: cover; }
.pa-flow-photo span { position: absolute; inset: 0 auto 0 0; display: flex; align-items: center; justify-content: center; width: 43px; background: #002443ed; border-right: 1px solid #2facce; color: #24c3e0; font-size: 23px; }
.pa-flow-list h3 { padding: 8px 5px; font-size: 14px; text-align: center; }
@media (max-width: 1100px) {
    .pa-flow-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 600px) {
    .pa-flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
    .pa-flow-photo span { width: 35px; font-size: 20px; }
    .pa-flow-list h3 { font-size: 12px; }
}
/* #endregion */

/* #region 08 選ばれる理由・6アイコン
======================================== */
.pa-strengths { padding-bottom: 30px; }
.pa-strength-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; margin-top: 18px; }
.pa-strength-grid li { min-width: 0; text-align: center; border-left: 1px solid #cbdde9; padding: 5px 12px; }
.pa-strength-grid li:last-child { border-right: 1px solid #cbdde9; }
.pa-strength-grid img { width: 52px; height: 52px; object-fit: contain; margin: 0 auto 14px; }
.pa-strength-grid p { font-size: 13px; line-height: 1.8; }
@media (max-width: 1024px) {
    .pa-strength-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 0; }
    .pa-strength-grid li:nth-child(3n) { border-right: 1px solid #cbdde9; }
}
@media (max-width: 600px) {
    .pa-strength-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pa-strength-grid li:nth-child(3n) { border-right: 0; }
    .pa-strength-grid li:nth-child(2n) { border-right: 1px solid #cbdde9; }
    .pa-strength-grid p { font-size: 12px; }
}
/* #endregion */

/* #region 09 CONTACT・既存ページの共通デザイン
======================================== */
.pa-contact {
  position: relative;
  width: 100%;
  min-height: 400px;
  padding: 65px 0;
  box-sizing: border-box;

  background:
    linear-gradient(
      90deg,
      rgba(0, 17, 34, 0.72) 0%,
      rgba(0, 25, 46, 0.30) 55%,
      rgba(0, 17, 34, 0.18) 100%
    ),
    url("../images/Circuit design/黄金の夕陽と跳ねるイルカの海.png.webp")
    center center / cover no-repeat;

  color: #ffffff;
}

/* コンテンツ全体 */

.pa-contact .contact-cta-inner {
  position: relative;
  z-index: 1;

  width: calc(100% - 80px);
  max-width: 1440px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

/* 左側 */

.pa-contact .contact-cta-content {
  max-width: 780px;
  flex: 1;
}

.pa-contact-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.pa-contact .contact-cta-title {
  margin: 0 0 22px;

  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.55;

  color: #ffffff;
}

.pa-contact .contact-cta-text {
  margin: 0 0 32px;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;

  color: #ffffff;
}

/* ボタン */

.pa-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.pa-contact-btn {
  min-height: 60px;
  padding: 0 28px;

  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.8);

  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.pa-contact-btn-white {
  background: #ffffff;
  color: #102235;
}

.pa-contact-btn-white:hover {
  background: #e7f0f6;
  color: #102235;
}

.pa-contact-btn-dark {
  background: rgba(0, 13, 27, 0.78);
  color: #ffffff;
}

.pa-contact-btn-dark:hover {
  background: rgba(0, 45, 75, 0.85);
  color: #ffffff;
}

/* 右側の英語 */

.pa-contact-message {
  flex-shrink: 0;
  margin: 0;

  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.16em;
}

/* スマートフォン */

@media (max-width: 767px) {

  .pa-contact {
    min-height: auto;
    padding: 65px 0;

    background-position: 62% center;
  }

  .pa-contact .contact-cta-inner {
    width: calc(100% - 40px);
    display: block;
  }

  .pa-contact .contact-cta-title {
    font-size: 27px;
  }

  .pa-contact .contact-cta-text {
    font-size: 14px;
  }

  .pa-contact-buttons {
    flex-direction: column;
  }

  .pa-contact-btn {
    width: 100%;
    min-height: 56px;
  }

  .pa-contact-message {
    margin-top: 35px;
    font-size: 10px;
  }

}



/* #endregion */
@media (prefers-reduced-motion: reduce) {
    .pa-page * { scroll-behavior: auto !important; transition: none !important; }
}


/* #region 画像と番号の重なり解消・相談例カード
   数字を画像の下、見出しの上に置く。PC・スマホ共通。
======================================== */
body .pa-situation-card > div {
    padding: 20px 22px 24px;
}
body .pa-card-number {
    position: static;
    display: block;
    width: fit-content;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transform: none;
    line-height: 1.2;
}
/* #endregion */
