@charset "UTF-8";

/* =========================================================
   リセットCSS & 基本設定
========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.7;
  letter-spacing: 0.03em;
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* =========================================================
   レイアウト共通ユーティリティ（基本幅1000px基準）
========================================================= */
.container {
  width: 100%;
  max-width: 1000px; /* コンテンツ基本左右を1000pxに設定 */
  margin: 0 auto;
  padding: 0 24px;
}

/* 英語サブタイトルバッジ */
.section-tag-en {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #0056b3;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* セクション共通見出し */
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* =========================================================
   1. ヘッダーエリア
========================================================= */
.site-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1000px; /* ヘッダーも基本幅1000pxに統一 */
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo .logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.header-nav-link {
  font-size: 13px;
  color: #4a5568;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header-nav-link:hover {
  color: #003882;
}

/* パンくずリスト */
.breadcrumb-container {
  background-color: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 11.5px;
  color: #718096;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: #a0aec0;
}

.breadcrumb-list a {
  color: #718096;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: #003882;
  text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
  color: #2d3748;
  font-weight: 500;
}

/* =========================================================
   2. メインビジュアル（ヒーローセクション）
========================================================= */
.hero-section {
  width: 100%;
  background-color: #ffffff;
}

.hero-container {
  max-width: 1200px; /* 指示に基づきメイン画像・帯は1200pxのまま維持 */
  padding: 0;
}

.hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: #0a192f;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 侍ジャパンパートナー帯（見本通りの澄んだフラットブルー） */
.partner-banner {
  background-color: #1a529f;
  padding: 15px 20px;
  text-align: center;
}

.partner-text {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* =========================================================
   3. メッセージ / ステートメントセクション
========================================================= */
.message-section {
  padding: 85px 0 80px;
  /* 基本地色は白、タイトル背後にふんわりと青いグラデーションを配置 */
  background-color: #ffffff;
  background-image: radial-gradient(ellipse 500px 400px at 50% 70px, #bcdcfc 0%, #e5f1fe 40%, #ffffff 90%);
  background-repeat: no-repeat;
  position: relative;
}

.message-container {
  text-align: center;
  max-width: 840px;
}

.message-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 44px; /* タイトル115%拡大 (38px -> 44px) */
  font-weight: 600;
  color: #003882;
  letter-spacing: 0.12em;
  margin: 14px 0 32px;
  line-height: 1.4;
}

/* 縦の赤い破線アクセント（縦長で間隔の空いた破線デザイン） */
.red-dotted-line {
  width: 2px;
  height: 42px;
  margin: 0 auto 40px;
  background-image: repeating-linear-gradient(
    to bottom,
    #d7000f,
    #d7000f 6px,
    transparent 6px,
    transparent 12px
  );
}

.message-body {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  line-height: 2.3;
  letter-spacing: 0.09em;
  color: #2b2b2b;
  margin: 0 auto;
}

.message-body p {
  margin-bottom: 30px;
}

.message-catch {
  font-family: 'Noto Serif JP', serif;
  font-size: 25.5px; /* タイトル110%拡大 (23px -> 25.5px) */
  font-weight: 700;
  color: #004098;
  letter-spacing: 0.1em;
  margin-top: 90px; /* 1.8倍の開き (50px -> 90px) */
  margin-bottom: 40px; /* 1.8倍の開き (22px -> 40px) */
  line-height: 1.5;
}

.message-signature {
  font-family: 'Noto Serif JP', serif;
  font-size: 14.5px;
  color: #333333;
  letter-spacing: 0.16em;
  font-weight: 600;
}

/* =========================================================
   4. 社長メッセージセクション
========================================================= */
/* =========================================================
   4. 社長メッセージセクション（CM紹介の下段・1カラム）
========================================================= */
.president-section {
  padding: 85px 0 95px;
  background-color: #f5f7fa;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}

.president-container {
  max-width: 1000px; /* コラムタイトルは1000px幅の左合わせ */
}

.section-head {
  margin-bottom: 32px;
  text-align: left;
}

/* 赤い4つのスクエアアクセント */
.dots-accent {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.dots-accent i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #d7000f;
  border-radius: 1px;
}

/* 紺色のケイ（罫線） */
.navy-divider {
  width: 44px;
  height: 2px;
  background-color: #003882;
  margin-top: 14px;
}

/* 本文ブロック（さらに内側の720px幅で配置） */
.president-text-block {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

/* ミン長体へ変更 */
.president-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 600;
  color: #003882;
  letter-spacing: 0.04em;
  line-height: 1.48;
  margin-bottom: 28px;
}

.president-body {
  font-size: 14.5px;
  line-height: 2.15;
  color: #333333;
  letter-spacing: 0.04em;
  max-width: 100%;
}

.president-body p {
  margin-bottom: 22px;
}

/* 最下部の署名（グレーのケイ線を追加、コンテンツ左揃え） */
.president-sign {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #dcdfe6; /* グレーのケイを追加 */
}

.sign-inner {
  text-align: left;
}

.sign-company {
  font-size: 13px;
  color: #1a1a1a; /* 文字色を黒に変更 */
  line-height: 1.6;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.sign-name {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

/* =========================================================
   5. CM紹介セクション
========================================================= */
.cm-section {
  padding: 85px 0 95px;
  background-color: #0f3b82;
  color: #ffffff;
}

.cm-container {
  max-width: 1000px; /* 指示に基づきCMコンテンツエリアを1000pxに広げる */
}

.cm-header {
  margin-bottom: 36px;
}

.cm-tag {
  color: #8cc4ff;
}

.cm-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-top: 6px;
  margin-bottom: 12px;
}

.cm-divider {
  width: 48px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.cm-lead {
  font-size: 14.5px;
  line-height: 1.9;
  color: #dceaff;
  letter-spacing: 0.04em;
}

/* 動画カードリスト */
.cm-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cm-card {
  background-color: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
}

.cm-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
  background-color: #000000;
}

.cm-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cm-video-wrapper:hover .cm-thumbnail {
  transform: scale(1.02);
}

/* ホバー時の再生ボタン（サムネイル画像自体にアイコンが含まれているため非表示にし、ボケを防止） */
.video-play-btn {
  display: none;
}

/* 下部情報行（紺色の帯・枠線なし、動画直下に配置、クリック可能） */
.cm-card-bar {
  background-color: transparent;
  padding: 14px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  cursor: pointer;
}

.cm-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cm-version-tag {
  font-size: 11px;
  font-weight: 700;
  color: #8cc4ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cm-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin: 0;
}

/* 右側デザイン指示の枠線角丸バッジボタン（矢印なし） */
.cm-badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 5px 18px;
  border-radius: 20px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cm-badge-btn:hover {
  background-color: #ffffff;
  color: #0f3b82;
  border-color: #ffffff;
}

/* 注釈文（左揃え・公式YouTubeリンク付き） */
.cm-note {
  font-size: 12px;
  color: #a3c9f7;
  text-align: left;
  margin-top: 24px;
  letter-spacing: 0.03em;
}

.cm-note-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.cm-note-link:hover {
  opacity: 0.8;
}

/* =========================================================
   6. 関連リンクセクション（右側デザイン指示に準拠）
========================================================= */
.related-section {
  padding: 85px 0 95px;
  background-color: #ffffff;
}

.related-header {
  margin-bottom: 24px;
}

.related-container {
  max-width: 1000px; /* 関連リンクを1000px幅に修正 */
}

/* 見出し下の青い横罫線 */
.related-divider {
  width: 44px;
  height: 2px;
  background-color: #003882;
  margin-top: 16px;
}

/* 3カラムの関連リンクカードグリッド */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.related-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background-color: #ffffff;
  border: 1px solid #d4dce8;
  text-decoration: none;
  transition: all 0.25s ease;
}

.related-card:hover {
  border-color: #003882;
  background-color: #f8fafc;
  transform: translateY(-2px);
}

.related-card-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.related-name {
  font-size: 16.5px;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.related-card:hover .related-name {
  color: #003882;
}

.related-desc {
  font-size: 11.5px;
  color: #64748b;
  letter-spacing: 0.02em;
}

.related-arrow {
  font-size: 22px;
  color: #003882;
  transition: transform 0.25s ease;
  line-height: 1;
  margin-left: 12px;
}

.related-card:hover .related-arrow {
  transform: translateX(4px);
}

/* =========================================================
   7. フッターエリア（IHIブルー背景＆左右分割レイアウト）
========================================================= */
.site-footer {
  background-color: #003882;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  font-size: 12px;
}

.footer-links a {
  color: #ffffff;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-pipe {
  color: #ffffff;
  opacity: 0.45;
  font-size: 11px;
  user-select: none;
}

.copyright {
  font-size: 11.5px;
  color: #ffffff;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

/* =========================================================
   8. 動画再生モーダル
========================================================= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1001;
  width: 90%;
  max-width: 880px;
  background-color: #071f48;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.video-modal.is-active .modal-dialog {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 1002;
  font-size: 32px;
  color: #ffffff;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  color: #8cc4ff;
  transform: rotate(90deg);
}

.modal-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-youtube-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.placeholder-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #e2edfd;
}

.placeholder-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #8da2be;
  font-size: 14px;
}

.pulsing-play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #00479d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 71, 157, 0.6);
  animation: pulse 1.8s infinite;
}

.pulsing-play::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 71, 157, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(0, 71, 157, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 71, 157, 0); }
}

/* =========================================================
   レスポンシブ対応（タブレット・スマートフォン）
========================================================= */
@media screen and (max-width: 991px) {
  .president-lead {
    font-size: 24px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media screen and (max-width: 767px) {
  /* メッセージ本文：スマホ時は強制改行を解除し、左右幅いっぱいで自然に折り返し */
  .message-body br {
    display: none;
  }

  .message-title {
    font-size: 28px;
    margin: 12px 0 36px;
    line-height: 1.45;
  }

  .message-body {
    font-size: 14px;
    line-height: 2.15;
    text-align: left !important; /* スマホ時は確実に左合わせ */
    width: 100%;
  }

  .message-body p {
    text-align: left !important;
    margin-bottom: 24px;
  }

  .message-catch {
    font-size: 19px;
    margin-top: 40px;
    line-height: 1.5;
  }

  .cm-title {
    font-size: 22px;
  }

  .partner-text {
    font-size: 12.5px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
