/*
企業情報の入口ページ 専用CSS
Ctrl+Fで日本語の項目名を検索してください。
00 共通 / 01 メイン画像 / 02 4つのリンク / 03 会社概要
04 代表メッセージ / 05 私たちの思い / 06 沿革 / 07 CONTACT
padding＝内側余白、margin＝外側余白、gap＝項目間隔。
ヘッダー・フッターはcommon.css。各項目内にスマホ設定を配置。
*/

/* #region 00 共通設定・本文幅・見出し
======================================== */
.ci-page { color: #102235; background: #fff; }
.ci-container { width: min(1500px, calc(100% - 80px)); margin: 0 auto; }
.ci-section { padding: 30px 0; border-top: 1px solid #e2ebf2; }
.ci-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 15px; padding-left: 17px; border-left: 2px solid #1267ab; margin-bottom: 22px; }
.ci-heading h2 { font: 500 clamp(27px, 2.6vw, 39px)/1.5 "Yu Mincho", "YuMincho", serif; }
.ci-heading > p { font: 10px/1.8 Georgia, serif; color: #315d8b; letter-spacing: .13em; }
.ci-copy { font-size: 14px; line-height: 1.95; color: #102235; letter-spacing: .03em; }
.ci-button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; padding: 12px 25px; border: 1px solid #375575; border-radius: 2px; color: #102235; background: #fff; font-size: 13px; font-weight: 600; margin-top: 20px; }
.ci-button:hover { color: #fff; background: #123b5b; }
.ci-page :focus-visible { outline: 3px solid #00a6a6; outline-offset: 4px; }
.ci-skip { position: absolute; top: -100px; left: 16px; padding: 12px 20px; background: #fff; z-index: 200; }
.ci-skip:focus { top: 10px; }
.ci-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ci-note { display: block; color: #102235; font-size: 10px; line-height: 1.8; margin-top: 7px; }
@media (max-width: 767px) {
    .ci-container { width: calc(100% - 40px); }
    .ci-heading { display: block; }
    .ci-heading h2 { font-size: 28px; }
    .ci-copy { font-size: 13px; }
    .ci-pc-break { display: none; }
}
/* #endregion */

/* #region 01 メイン画像・企業情報
======================================== */
.ci-hero { min-height: 440px; color: #fff; background: linear-gradient(90deg, #00121ff5, #00121fbb 35%, #00121f33 75%), url("../images/Company Info1/青空に映えるモダンオフィスビル.png.webp") center / cover no-repeat; }
.ci-hero-inner { position: relative; min-height: 440px; padding: 25px 0 35px; }
.ci-breadcrumb { display: flex; gap: 10px; font-size: 11px; letter-spacing: .08em; margin-bottom: 24px; }
.ci-hero h1 { font: 500 clamp(44px, 5vw, 72px)/1.4 "Yu Mincho", "YuMincho", serif; letter-spacing: .07em; margin-bottom: 3px; }
.ci-hero-english { display: inline-block; font: 15px/1.8 Georgia, serif; letter-spacing: .19em; border-bottom: 1px solid #57c5c3; margin-bottom: 20px; }
.ci-hero-copy { font: 500 clamp(20px, 2.2vw, 30px)/1.55 "Yu Mincho", serif; letter-spacing: .03em; }
.ci-hero-message { font: 10px/1.9 Georgia, serif; letter-spacing: .17em; margin-top: 18px; }
.ci-hero-side { position: absolute; bottom: 30px; right: 0; font: 10px/1.9 Georgia, serif; letter-spacing: .2em; text-shadow: 0 1px 5px #001321; }
@media (max-width: 767px) {
    .ci-hero h1 { font-size: 48px; }
    .ci-hero-copy { font-size: 21px; }
    .ci-hero-side { display: none; }
}
/* #endregion */

/* #region 02 4つの詳細ページへのリンクカード
======================================== */
.ci-links { padding: 18px 0; }
.ci-link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ci-link-card { min-width: 0; border: 1px solid #dce7f1; box-shadow: 0 2px 8px #163a5010; background: #fff; }
.ci-link-card > img { width: 100%; aspect-ratio: 3; object-fit: cover; }
.ci-link-card > div { position: relative; border-left: 3px solid #0badc4; padding: 16px 50px 18px 22px; }
.ci-link-card h2 { font-size: 21px; line-height: 1.6; }
.ci-link-card p { font: 10px/1.8 Georgia, serif; letter-spacing: .13em; margin-top: 4px; }
.ci-arrow { position: absolute; right: 18px; top: 24px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #31516f; border-radius: 50%; }
.ci-link-card:hover { border-color: #00a6b5; box-shadow: 0 4px 14px #163a5029; }
@media (max-width: 1000px) { .ci-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ci-link-grid { grid-template-columns: 1fr; } }
/* #endregion */

/* #region 03 会社概要・紹介文と表
======================================== */
.ci-company { background: #f8fbfe; }
.ci-company-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 45px; align-items: start; }
.ci-table-wrap { min-width: 0; }
.ci-table-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.8; background: #fff; }
.ci-table-wrap th, .ci-table-wrap td { padding: 8px 14px; border: 1px solid #dae5ef; text-align: left; }
.ci-table-wrap th { width: 130px; background: #eaf1f8; font-weight: 500; }
.ci-table-wrap td { overflow-wrap: anywhere; }
.ci-pending { color: #102235; }
@media (max-width: 900px) { .ci-company-layout { grid-template-columns: 1fr; gap: 25px; } }
@media (max-width: 480px) { .ci-table-wrap th { width: 85px; } .ci-table-wrap th, .ci-table-wrap td { padding: 8px; font-size: 12px; } }
/* #endregion */

/* #region 04 代表メッセージ・左の人物写真
======================================== */
.ci-message { position: relative; overflow: hidden; background: linear-gradient(90deg, #fff 35%, #ffffffb3), url("../images/Company Info1/青い回路基板と光の余白.png.webp") right center / cover; }
.ci-message-photo { position: absolute; inset: 0 auto 0 0; width: 33%; }
.ci-message-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.ci-message-layout { display: grid; grid-template-columns: 32% 1fr; }
.ci-message-content { grid-column: 2; padding: 30px 0 30px 35px; }
.ci-message-lead { font: 500 clamp(21px, 2vw, 29px)/1.5 "Yu Mincho", serif; margin-bottom: 13px; }
.ci-message-content .ci-copy { max-width: 820px; }
@media (max-width: 767px) {
    .ci-message { display: flex; flex-direction: column; }
    .ci-message-photo { position: static; width: 100%; height: 240px; }
    .ci-message-photo img { object-position: 70% 35%; }
    .ci-message-layout { display: block; }
    .ci-message-content { padding: 30px 0; }
}
/* #endregion */

/* #region 05 私たちの思い・3つの価値
======================================== */
.ci-philosophy-layout { display: grid; grid-template-columns: .85fr 1.6fr; gap: 35px; }
.ci-philosophy-lead { font: 500 24px/1.5 "Yu Mincho", serif; margin-bottom: 12px; }
.ci-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.ci-values-grid article { min-width: 0; }
.ci-values-grid img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.ci-values-grid h3 { font: 500 21px/1.6 "Yu Mincho", serif; margin: 12px 0 5px; }
.ci-values-grid p { font-size: 13px; line-height: 1.8; color: #102235; }
@media (max-width: 1100px) { .ci-philosophy-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ci-values-grid { grid-template-columns: 1fr; } .ci-values-grid img { max-height: 220px; } }
/* #endregion */

/* #region 06 沿革・横方向の年表
======================================== */
.ci-history-layout { display: grid; grid-template-columns: .75fr 1.9fr; gap: 35px; }
.ci-history-lead { font: 500 24px/1.5 "Yu Mincho", serif; margin-bottom: 12px; }
.ci-history .ci-copy { font-size: 13px; }
.ci-timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; }
.ci-timeline li { position: relative; min-width: 0; }
.ci-year { position: relative; display: block; border-bottom: 1px solid #aac8df; padding-bottom: 12px; margin-bottom: 17px; font-size: 17px; }
.ci-year::after { content: ""; position: absolute; bottom: -5px; left: 2px; width: 10px; height: 10px; border: 3px solid #00669e; border-radius: 50%; background: #fff; }
.ci-timeline h3 { font-size: 13px; line-height: 1.6; margin-bottom: 7px; min-height: 3.2em; }
.ci-timeline p { font-size: 11px; line-height: 1.8; color: #102235; min-height: 5.4em; }
.ci-timeline img { width: 100%; aspect-ratio: 1.5; object-fit: cover; margin-top: 10px; }
@media (max-width: 1200px) { .ci-history-layout { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .ci-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 15px; } }
@media (max-width: 480px) { .ci-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* #endregion */

/* #region 07 CONTACT・既存ページと統一
======================================== */
.ci-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;
}

/* コンテンツ全体 */

.ci-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;
}

/* 左側 */

.ci-contact .contact-cta-content {
  max-width: 780px;
  flex: 1;
}

.ci-contact-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.ci-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;
}

.ci-contact .contact-cta-text {
  margin: 0 0 32px;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;

  color: #ffffff;
}

/* ボタン */

.ci-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ci-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;
}

.ci-contact-btn-white {
  background: #ffffff;
  color: #102235;
}

.ci-contact-btn-white:hover {
  background: #e7f0f6;
  color: #102235;
}

.ci-contact-btn-dark {
  background: rgba(0, 13, 27, 0.78);
  color: #ffffff;
}

.ci-contact-btn-dark:hover {
  background: rgba(0, 45, 75, 0.85);
  color: #ffffff;
}

/* 右側の英語 */

.ci-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) {

  .ci-contact {
    min-height: auto;
    padding: 65px 0;

    background-position: 62% center;
  }

  .ci-contact .contact-cta-inner {
    width: calc(100% - 40px);
    display: block;
  }

  .ci-contact .contact-cta-title {
    font-size: 27px;
  }

  .ci-contact .contact-cta-text {
    font-size: 14px;
  }

  .ci-contact-buttons {
    flex-direction: column;
  }

  .ci-contact-btn {
    width: 100%;
    min-height: 56px;
  }

  .ci-contact-message {
    margin-top: 35px;
    font-size: 10px;
  }

}



/* #endregion */
@media (prefers-reduced-motion: reduce) {
    .ci-page * { scroll-behavior: auto !important; transition: none !important; }
}
