/*
基板設計ページ 専用CSS

【編集する場所】Ctrl+Fで番号と日本語の項目名を検索してください。
00 共通設定 / 01 メイン画像 / 02 コンセプト / 03 相談例 / 04 技術 / 05 実績 / 06 用途例 / 07 工程 / 08 強み / 09 CONTACT

padding＝内側の余白、margin＝外側の余白、gap＝項目間隔。
各項目内の @media はスマートフォン・タブレット用の設定です。
ヘッダー・フッターは common.css を再利用しています。
*/

/* #region 00 共通設定・本文幅・見出し
======================================== */
.pd-page {
    color: #102b43;
    background: #fff;
}

/* 本文全体の横幅・左右余白 */
.pd-container {
    width: min(1500px, calc(100% - 80px));
    margin: 0 auto;
}

/* メイン本文の淡い回路図背景 */
.pd-main-background {
    background:
        linear-gradient(110deg, rgba(255,255,255,.97), rgba(247,251,254,.94)),
        url("../images/PCB design/青白回路基板ブループリント背景.png.webp") center / cover;
}

/* 各セクションの共通の上下余白 */
.pd-section {
    padding: 55px 0 25px;
}

/* 明朝体の見出し */
.pd-page h2 {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: clamp(28px, 2.8vw, 42px);
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: .04em;
    margin-bottom: 14px;
}

/* CONCEPTなど英語の小見出し */
.pd-label {
    font-family: Georgia, serif;
    color: #496a8c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .20em;
    margin-bottom: 12px;
}

/* 見出し下の説明文 */
.pd-copy {
    font-size: 15px;
    line-height: 1.95;
    letter-spacing: .04em;
    color: #425973;
}

.pd-page :focus-visible {
    outline: 3px solid #00a6a6;
    outline-offset: 5px;
}

.pd-skip {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 200;
    padding: 12px 20px;
    background: #fff;
}

.pd-skip:focus { top: 10px; }

/* スマートフォンの共通設定 */
@media (max-width: 767px) {
    .pd-container { width: calc(100% - 40px); }
    .pd-section { padding: 40px 0 20px; }
    .pd-page h2 { font-size: 28px; }
    .pd-copy { font-size: 14px; }
    .pd-pc-break { display: none; }
}
/* #endregion */

/* #region 01 メイン画像・基板設計
======================================== */
/* 全体の高さ・背景画像 */
.pd-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: #fff;
    background: #061522 url("../images/PCB design/青く輝くPCB設計と製造ラボ.png.webp") center / cover no-repeat;
}

/* タイトルエリア：上下余白はpaddingで変更 */
.pd-hero-inner {
    position: relative;
    min-height: 560px;
    padding: 30px 0 40px;
}

/* HOMEから始まるパンくず */
.pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 11px;
    letter-spacing: .08em;
    color: rgba(255,255,255,.85);
}

.pd-hero-content { max-width: 760px; }

.pd-hero-label {
    font-family: Georgia, serif;
    font-size: 13px;
    letter-spacing: .22em;
    margin-bottom: 8px;
}

/* 「基板設計」の文字サイズ */
.pd-hero h1 {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

/* 「アイデアを、動く回路へ。」 */
.pd-hero-subtitle {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: clamp(24px, 2.8vw, 40px);
    line-height: 1.5;
    letter-spacing: .05em;
}

/* 青〜緑の線：幅・太さ・上下余白 */
.pd-accent {
    width: 210px;
    height: 3px;
    margin: 24px 0;
    background: linear-gradient(90deg, #0086d7, #00a6a6 55%, #63b76c);
}

.pd-hero-lead {
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: .03em;
}

/* 左下と右下の英語 */
.pd-hero-message, .pd-hero-side {
    font-family: Georgia, serif;
    font-size: 11px;
    line-height: 1.9;
    letter-spacing: .18em;
}

.pd-hero-message { margin-top: 22px; }
.pd-hero-side { position: absolute; right: 0; bottom: 36px; }

@media (max-width: 1100px) {
    .pd-hero-content { max-width: 65%; }
    .pd-hero-lead { font-size: 15px; }
}

@media (max-width: 767px) {
    .pd-hero {
        background-image:
            linear-gradient(90deg, rgba(3,16,28,.88), rgba(3,16,28,.62)),
            url("../images/PCB design/青く輝くPCB設計と製造ラボ.png.webp");
        background-position: center, 62% center;
    }
    .pd-hero-inner { padding: 25px 0 45px; }
    .pd-breadcrumb { font-size: 10px; margin-bottom: 42px; }
    .pd-hero-content { max-width: 100%; }
    .pd-hero h1 { font-size: 52px; }
    .pd-hero-subtitle { font-size: clamp(22px, 5.5vw, 30px); }
    .pd-hero-lead { font-size: 15px; }
    .pd-hero-side { display: none; }
}
/* #endregion */

/* #region 02 コンセプト・構想から量産まで
======================================== */
.pd-concept {
    background:
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 42%, rgba(255,255,255,.30) 75%, transparent),
        url("../images/PCB design/青白回路基板ブループリント背景.png.webp") center / cover no-repeat;
}

.pd-concept-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 300px;
    padding: 38px 0;
}

.pd-concept-content { max-width: 920px; }
.pd-concept .pd-copy { font-size: 14px; font-weight: 600; }
.pd-concept-message {
    flex-shrink: 0;
    color: #fff;
    font: 11px/2 Georgia, serif;
    letter-spacing: .18em;
    text-shadow: 0 1px 5px #00223b;
}

@media (max-width: 1100px) {
    .pd-concept-message { display: none; }
}
@media (max-width: 767px) {
    .pd-concept { background-image: linear-gradient(90deg, #fff, #ffffffe6), url("../images/PCB design/青白回路基板ブループリント背景.png.webp"); }
    .pd-concept-inner { display: block; padding: 40px 0; }
}
/* #endregion */


/* #region 03 相談例・多層／高速／特殊形状
======================================== */
.pd-section { padding: 30px 0 15px; }
.pd-situation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pd-situation-card { min-width: 0; border: 1px solid #dfebf4; background: #fff; }
.pd-situation-card > img { width: 100%; aspect-ratio: 3.1; object-fit: cover; }
.pd-situation-card > div { position: relative; padding: 20px 20px 22px 85px; }
.pd-card-number { position: absolute; top: -25px; left: 12px; padding: 0 9px; background: #fff; border-top: 2px solid #c1d9e9; font: 38px/1.5 "Yu Mincho", serif; }
.pd-situation-card h3 { font-size: 20px; line-height: 1.6; margin-bottom: 10px; }
.pd-situation-card p { font-size: 14px; line-height: 1.85; color: #425973; }
@media (max-width: 1100px) {
    .pd-situation-card > div { padding: 26px 20px 20px; }
    .pd-card-number { top: -35px; font-size: 30px; }
    .pd-situation-card p br { display: none; }
}
@media (max-width: 767px) {
    .pd-section { padding: 30px 0 15px; }
    .pd-situation-grid { grid-template-columns: 1fr; gap: 24px; }
    .pd-situation-card > div { padding: 20px 20px 22px 80px; }
    .pd-card-number { top: -25px; font-size: 34px; }
}
/* #endregion */

/* #region 04 対応する基板設計技術・5つのカード
======================================== */
.pd-tech-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.pd-small-card { min-width: 0; background: #fff; border: 1px solid #e0eaf3; }
.pd-small-card > img { width: 100%; aspect-ratio: 2.4; object-fit: cover; }
.pd-small-card h3 { font-size: 16px; line-height: 1.6; padding: 10px 8px 5px; text-align: center; }
.pd-small-card ul { padding: 0 15px 15px 28px; font-size: 13px; line-height: 1.9; color: #425973; }
@media (max-width: 1100px) {
    .pd-tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pd-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .pd-small-card h3 { font-size: 14px; }
    .pd-small-card ul { font-size: 12px; padding-left: 24px; padding-right: 10px; }
}
/* #endregion */

/* #region 05 アートワーク設計実績・層数とサイズ
======================================== */
.pd-capability-layout { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 30px; }
.pd-capability h2 { font-size: clamp(26px, 2.4vw, 36px); }
.pd-spec-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.pd-spec-grid article { display: grid; grid-template-columns: 30% 1fr; border: 1px solid #dce8f3; background: #fff; min-width: 0; }
.pd-spec-grid img { width: 100%; height: 100%; object-fit: cover; }
.pd-spec-grid article > div { padding: 15px; }
.pd-spec-grid article p { font: 17px/1.7 "Yu Mincho", serif; white-space: nowrap; }
.pd-spec-grid strong { font-size: clamp(27px, 2.5vw, 38px); font-weight: 500; }
.pd-spec-grid article span { font-size: 13px; line-height: 1.8; }
.pd-note { margin-top: 15px; color: #61778e; font-size: 11px; line-height: 1.8; }
@media (max-width: 1250px) {
    .pd-capability-layout { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
    .pd-spec-grid { grid-template-columns: 1fr; }
    .pd-spec-grid article { grid-template-columns: 30% 1fr; min-height: 140px; }
    .pd-spec-grid strong { font-size: 36px; }
}
/* #endregion */

/* #region 06 用途例・6分野
======================================== */
.pd-app-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.pd-app-grid h3 { font-size: 15px; }
@media (max-width: 1100px) {
    .pd-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pd-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
/* #endregion */

/* #region 07 基板設計の流れ・6工程
======================================== */
.pd-process-heading { display: flex; align-items: baseline; gap: 25px; }
.pd-process-heading p { font-size: 14px; color: #425973; }
.pd-flow-figure { margin: 14px 0 0; }
.pd-flow-figure img { width: 100%; height: auto; }
.pd-flow-mobile { display: none; list-style: none; }
@media (max-width: 767px) {
    .pd-process-heading { display: block; margin-bottom: 18px; }
    .pd-flow-figure { display: none; }
    .pd-flow-mobile { display: grid; gap: 10px; }
    .pd-flow-mobile li { display: flex; align-items: center; gap: 20px; padding: 13px 22px; color: #fff; background: linear-gradient(110deg, #052039, #105477); }
    .pd-flow-mobile span { color: #94d7ed; font: 25px/1.5 Georgia, serif; }
}
/* #endregion */

/* #region 08 選ばれる理由・6つのアイコン
======================================== */
.pd-strengths { padding-bottom: 35px; }
.pd-strength-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; margin-top: 23px; }
.pd-strength-grid li { min-width: 0; border-left: 1px solid #cfdfeb; text-align: center; padding: 5px 12px; }
.pd-strength-grid li:last-child { border-right: 1px solid #cfdfeb; }
.pd-strength-grid img { width: 52px; height: 52px; object-fit: contain; margin: 0 auto 15px; }
.pd-strength-grid p { font-size: 12px; line-height: 1.8; }
@media (max-width: 1024px) {
    .pd-strength-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 0; }
    .pd-strength-grid li:nth-child(3n) { border-right: 1px solid #cfdfeb; }
}
@media (max-width: 600px) {
    .pd-strength-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-strength-grid li:nth-child(3n) { border-right: 0; }
    .pd-strength-grid li:nth-child(2n) { border-right: 1px solid #cfdfeb; }
}
/* #endregion */

/* #region 09 CONTACT・既存ページと統一
======================================== */
.pd-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;
}

/* コンテンツ全体 */

.pd-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;
}

/* 左側 */

.pd-contact .contact-cta-content {
  max-width: 780px;
  flex: 1;
}

.pd-contact-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.pd-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;
}

.pd-contact .contact-cta-text {
  margin: 0 0 32px;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;

  color: #ffffff;
}

/* ボタン */

.pd-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.pd-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;
}

.pd-contact-btn-white {
  background: #ffffff;
  color: #102235;
}

.pd-contact-btn-white:hover {
  background: #e7f0f6;
  color: #102235;
}

.pd-contact-btn-dark {
  background: rgba(0, 13, 27, 0.78);
  color: #ffffff;
}

.pd-contact-btn-dark:hover {
  background: rgba(0, 45, 75, 0.85);
  color: #ffffff;
}

/* 右側の英語 */

.pd-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) {

  .pd-contact {
    min-height: auto;
    padding: 65px 0;

    background-position: 62% center;
  }

  .pd-contact .contact-cta-inner {
    width: calc(100% - 40px);
    display: block;
  }

  .pd-contact .contact-cta-title {
    font-size: 27px;
  }

  .pd-contact .contact-cta-text {
    font-size: 14px;
  }

  .pd-contact-buttons {
    flex-direction: column;
  }

  .pd-contact-btn {
    width: 100%;
    min-height: 56px;
  }

  .pd-contact-message {
    margin-top: 35px;
    font-size: 10px;
  }

}



/* #endregion */
@media (prefers-reduced-motion: reduce) {
    .pd-page * { scroll-behavior: auto !important; transition: none !important; }
}


/* #region 画像と番号の重なり解消・相談例カード
   数字を画像の下、見出しの上に置く。PC・スマホ共通。
======================================== */
body .pd-situation-card > div {
    padding: 20px 22px 24px;
}
body .pd-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 */
