/*
代表メッセージ 専用CSS
Ctrl+Fで「01 原点」「02 お客様の声」などを検索してください。
00 共通・メイン / 01 原点 / 02 お客様の声 / 03 つながり
04 新たな挑戦 / 05 現在 / 06 次の世代 / 07 締め / 08 CONTACT
padding＝内側余白、margin＝外側余白。各項目内にスマホ用設定を配置。
共通ヘッダー・フッターはcommon.cssを使用しています。
*/

/* #region 00 共通設定・メイン画像・代表メッセージ
======================================== */
.ceo-page { color: #102b43; background: #fff; }
.ceo-container { width: min(1500px, calc(100% - 80px)); margin: 0 auto; }
.ceo-page h2 { font: 500 clamp(26px, 2.7vw, 40px)/1.5 "Yu Mincho", "YuMincho", serif; letter-spacing: .03em; }
.ceo-heading { border-left: 2px solid #27b7e1; padding-left: 18px; margin-bottom: 16px; }
.ceo-label { color: #6583a4; font: 600 11px/1.8 Georgia, serif; letter-spacing: .19em; margin-bottom: 8px; }
.ceo-copy { font-size: 14px; line-height: 1.85; letter-spacing: .03em; padding-left: 20px; }
.ceo-copy strong { font-weight: 700; }
.ceo-page section[id] { scroll-margin-top: 20px; }
.ceo-page :focus-visible { outline: 3px solid #00a6a6; outline-offset: 5px; }
.ceo-skip { position: absolute; top: -100px; left: 16px; padding: 12px 20px; background: #fff; z-index: 200; }
.ceo-skip:focus { top: 10px; }

/* メインの写真と左側の暗いぼかし */
.ceo-hero { position: relative; overflow: hidden; min-height: 510px; background: #041522; color: #fff; }
.ceo-hero-photo { position: absolute; inset: 0 0 0 28%; }
.ceo-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.ceo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #020f1b 0%, #020f1bea 24%, #020f1b88 45%, #020f1b00 70%, #020f1b88); }
.ceo-hero-inner { position: relative; z-index: 1; min-height: 510px; padding: 32px 0 32px; }
.ceo-hero-label { font: 11px/1.8 Georgia, serif; letter-spacing: .19em; margin-bottom: 16px; }
.ceo-hero h1 { font: 500 clamp(32px, 3.3vw, 50px)/1.4 "Yu Mincho", "YuMincho", serif; letter-spacing: .04em; margin-bottom: 18px; }
.ceo-hero-copy { max-width: 680px; font-size: 14px; line-height: 1.85; letter-spacing: .03em; }

/* 会社名と代表者名：本文の正式なお名前はHTMLで編集 */
.ceo-signature { font-family: "Yu Mincho", "YuMincho", serif; font-size: 15px; line-height: 1.8; letter-spacing: .08em; margin-top: 17px; }
.ceo-signature > span { font-size: 20px; }
.ceo-name-pending { font-size: 15px; }
.ceo-hero-side { position: absolute; right: 0; bottom: 32px; font: 10px/1.9 Georgia, serif; letter-spacing: .19em; text-shadow: 0 1px 5px #00131e; }
.ceo-jump { position: absolute; right: 10px; top: 45px; display: grid; gap: 10px; }
.ceo-jump a { display: block; padding: 3px 9px; font: 11px/1.5 Georgia, serif; border-bottom: 1px solid #ffffff44; }
.ceo-jump a:hover { color: #57d0e4; border-color: #57d0e4; }

/* ストーリー共通：写真と文章を左右に重ねる */
.ceo-story { position: relative; overflow: hidden; border-top: 7px solid #fff; border-bottom: 1px solid #e0eaf1; background: #fff; }
.ceo-story-photo { position: absolute; inset: 0; }
.ceo-story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.ceo-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fffffff5 29%, #ffffffb3 45%, #ffffff22 64%, transparent 80%); }
.ceo-story-inner { position: relative; z-index: 1; min-height: 340px; padding: 28px 0; }
.ceo-story .ceo-heading { max-width: 800px; }
.ceo-story .ceo-copy { max-width: 850px; }
.ceo-story-side { position: absolute; right: 0; bottom: 40px; padding: 15px; background: #031624a6; color: #fff; font: 10px/1.9 Georgia, serif; letter-spacing: .18em; }

@media (max-width: 1100px) {
    .ceo-story .ceo-copy { max-width: 70%; }
    .ceo-copy br { display: none; }
    .ceo-hero-copy { max-width: 62%; }
}
@media (max-width: 767px) {
    .ceo-container { width: calc(100% - 40px); }
    .ceo-page h2 { font-size: 27px; }
    .ceo-hero-photo { left: 0; }
    .ceo-hero::after { background: linear-gradient(90deg, #020f1bee, #020f1baa); }
    .ceo-hero h1 { font-size: clamp(28px, 7vw, 38px); }
    .ceo-hero-copy { max-width: 100%; font-size: 13px; }
    .ceo-hero-copy br { display: none; }
    .ceo-hero-side { display: none; }
    .ceo-jump { position: static; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
    .ceo-story { display: flex; flex-direction: column; }
    .ceo-story-photo { position: static; order: 2; height: 210px; }
    .ceo-story-photo img { object-position: right center; }
    .ceo-story::after { display: none; }
    .ceo-story-inner { order: 1; min-height: auto; padding: 28px 0; }
    .ceo-story .ceo-copy { max-width: 100%; padding-left: 0; font-size: 13px; line-height: 1.95; }
    .ceo-label { font-size: 9px; letter-spacing: .14em; }
    .ceo-story-side { display: none; }
}
/* #endregion */

/* #region 01 原点・基板設計から
======================================== */
.ceo-beginning .ceo-story-inner { min-height: 295px; }
@media (max-width: 767px) {
    .ceo-beginning .ceo-story-inner { min-height: auto; }
}
/* #endregion */

/* #region 02 お客様の声・こんなことできませんか
======================================== */
.ceo-voice .ceo-story-inner { min-height: 410px; }
.ceo-voice .ceo-story-photo { left: 32%; }
.ceo-voice::after { background: linear-gradient(90deg, #fff 0%, #fffffff5 33%, #ffffffb3 48%, transparent 75%); }
@media (max-width: 767px) {
    .ceo-voice .ceo-story-inner { min-height: auto; }
}
/* #endregion */

/* #region 03 つながり・技術と人とネットワーク
======================================== */
.ceo-network .ceo-story-inner { min-height: 385px; }
@media (max-width: 767px) {
    .ceo-network .ceo-story-inner { min-height: auto; }
}
/* #endregion */

/* #region 04 新たな挑戦・図面がないから始まった仕事
======================================== */
.ceo-challenge .ceo-story-inner { min-height: 360px; }
@media (max-width: 767px) {
    .ceo-challenge .ceo-story-inner { min-height: auto; }
}
/* #endregion */

/* #region 05 現在・新しくつくる／もう一度つくる
======================================== */
.ceo-now .ceo-story-inner { min-height: 355px; }
@media (max-width: 767px) {
    .ceo-now .ceo-story-inner { min-height: auto; }
}
/* #endregion */

/* #region 06 次の世代へ・技術をつなぐ
======================================== */
.ceo-next .ceo-story-inner { min-height: 340px; }
@media (max-width: 767px) {
    .ceo-next .ceo-story-inner { min-height: auto; }
}
/* #endregion */

/* #region 07 締めのメッセージ・青い基板写真
======================================== */
.ceo-closing { color: #fff; background: linear-gradient(90deg, #021727f5, #021727d9 43%, #02172755), url("../images/Message from the CEO/精密電子基板のクローズアップ.png.webp") center / cover no-repeat; border-top: 7px solid #fff; }
.ceo-closing-inner { padding: 30px 0 35px; }
.ceo-closing h2 { font-size: clamp(27px, 2.9vw, 42px); margin-bottom: 18px; }
.ceo-closing-copy { font-size: 14px; line-height: 1.9; letter-spacing: .03em; }
@media (max-width: 767px) {
    .ceo-closing h2 { font-size: 27px; }
    .ceo-closing-copy { font-size: 13px; }
    .ceo-closing-copy br { display: none; }
}
/* #endregion */

/* #region 08 CONTACT・既存ページと統一
======================================== */
.ceo-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;
}

/* コンテンツ全体 */

.ceo-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;
}

/* 左側 */

.ceo-contact .contact-cta-content {
  max-width: 780px;
  flex: 1;
}

.ceo-contact-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.ceo-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;
}

.ceo-contact .contact-cta-text {
  margin: 0 0 32px;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;

  color: #ffffff;
}

/* ボタン */

.ceo-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ceo-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;
}

.ceo-contact-btn-white {
  background: #ffffff;
  color: #102235;
}

.ceo-contact-btn-white:hover {
  background: #e7f0f6;
  color: #102235;
}

.ceo-contact-btn-dark {
  background: rgba(0, 13, 27, 0.78);
  color: #ffffff;
}

.ceo-contact-btn-dark:hover {
  background: rgba(0, 45, 75, 0.85);
  color: #ffffff;
}

/* 右側の英語 */

.ceo-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) {

  .ceo-contact {
    min-height: auto;
    padding: 65px 0;

    background-position: 62% center;
  }

  .ceo-contact .contact-cta-inner {
    width: calc(100% - 40px);
    display: block;
  }

  .ceo-contact .contact-cta-title {
    font-size: 27px;
  }

  .ceo-contact .contact-cta-text {
    font-size: 14px;
  }

  .ceo-contact-buttons {
    flex-direction: column;
  }

  .ceo-contact-btn {
    width: 100%;
    min-height: 56px;
  }

  .ceo-contact-message {
    margin-top: 35px;
    font-size: 10px;
  }

}



/* #endregion */
@media (prefers-reduced-motion: reduce) {
    .ceo-page * { scroll-behavior: auto !important; transition: none !important; }
}

/* 写真と本文の位置を変えず、上端の余白にパンくずを配置 */
.ceo-breadcrumb{position:absolute;top:8px;left:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;line-height:1.8;letter-spacing:.08em;color:#fff}.ceo-breadcrumb a:hover{text-decoration:underline;text-underline-offset:3px}
