/* ===== 共通：セクション見出し ===== */
.section-heading {
  margin-bottom: 40px;
  border-left: 4px solid var(--color-accent-orange);
  padding-left: 20px;
}
.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-accent-orange);
  line-height: 1;
}
.section-heading p {
  font-weight: 700;
  margin-top: 5px;
}

/* ===== ページタイトル ===== */
.page-title {
  padding: 200px 0 100px;
  text-align: center;
  position: relative;
  background-image: url("../images/sub/side_header.webp"); /* 仮の背景画像 */
  background-size: cover;
  background-position: center;
  color: var(--color-light);
  overflow: hidden;
}

/* 背景画像の上に半透明の黒いオーバーレイを重ねる */
.page-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 1; 
}

/* テキストコンテンツはオーバーレイより手前に表示 */
.page-title .container {
  position: relative;
  z-index: 2;
  perspective: 1000px;
  transform-style: preserve-3d;
}
.page-title h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--color-accent-orange);
  font-weight: 900;
}
.page-title p {
  font-weight: 700;
  opacity: 0.9; /* 少しだけ透明度を下げて、タイトルを引き立てる */
}

/* ===== CONCEPT SECTION ===== */
.concept-about {
  padding: 100px 0;
}
.concept-about__grid {
  /*display: grid;*/
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}
/* --- 上部：テキストエリア --- */
.concept-about__text {
  max-width: 800px;
  margin: 0 auto 60px;
  /* ★ text-align: center; を削除 */
  /* text-align: center; */
}
.concept-about__text .section-heading {
  /* この要素はデフォルトで左揃えなので、特別な指定は不要です */
  /* text-align: left; */
  /* display: inline-block; */
  margin-bottom: 40px;
}
.concept-about__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.5;
  /* ★ 見出しに合わせてヘッドラインも左揃えにするか、中央揃えを維持するか選べます */
  /* text-align: center; ← 中央揃えにしたい場合はこの行を追加 */
}
/* --- 下部：画像と縦書きテキスト --- */
.concept-about__image-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;

  /* ★★★ 画像のアスペクト比に合わせて、高さを確保 ★★★ */
  /* 例: 16:9 の比率を維持 */
  width: 100%;
  aspect-ratio: 16 / 9;
}
.concept-about__image-container img {
  /* ★ 親要素いっぱいに広がるように絶対配置 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* アスペクト比を保ったまま領域を埋める */
}
.concept-about__vertical-text {
  position: absolute;
  /* ★ ボックスの高さいっぱいに広がるように指定 */
  top: 5%;
  height: 100%;
  right: 5%;
  line-height: 1.55;
  /* ★ flexboxを使って、中のテキストを中央揃えにする */
  display: flex;
  flex-direction: column;
  justify-content: center;
  writing-mode: vertical-rl;
  color: white;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 1);
  pointer-events: none;
}
.concept-about__vertical-text p {
  margin-bottom: 1em;
  /* ★ 折り返しを防ぐ（必要に応じて）*/
  white-space: nowrap;
}
/* ===== MESSAGE SECTION ===== */
.message-about {
  padding: 100px 0;
  background-color: #f7f7f7;
}
/* message-aboutセクション内のコンテンツの幅を制御するためのコンテナ */
.message-about .container {
  /* conceptセクションのテキストエリアと同じ幅に設定 */
  max-width: 800px;
  /* 中央揃えは.containerにデフォルトでかかっているはずですが、念のため */
  margin-left: auto;
  margin-right: auto;
}

/* 見出しとヘッドラインは左揃えのまま */
.message-about .section-heading {
  text-align: left;
}
.message-about__headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 30px;
  text-align: left;
}

.message-about__body {
  font-size: 1rem;
  line-height: 2;
  text-align: left;
}

/* ===== BUSINESS 01 (BRANDING) SECTION ===== */
.business-one {
  padding: 100px 0;
}
.business-one__logo-area {
  text-align: center;
  margin: 60px 0;
}
.business-one__logo-area img {
  max-width: 625px;
  width: 100%;
}
.business-one__concepts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.concept-card {
  border: 1px solid #eee;
  padding: 40px 30px;
  /* ★ text-align: center; を削除 */
}
.concept-card__icon {
  font-size: 3rem; /* アイコンのサイズ */
  color: var(--color-accent-orange); /* アイコンの色 */
  margin-bottom: 25px;
  display: inline-block; /* marginを効かせるため */
}
.concept-card img {
  height: 60px;
  margin-bottom: 20px;
}
.concept-card h4 {
  font-size: 1.5rem; /* タイトルサイズを少し大きく */
  font-weight: 700;
  margin-bottom: 20px;
}

.concept-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #555;
  /* ★ text-align: left; を明示的に指定 */
  text-align: left;
}

/* ===== 全幅画像 ===== */
.full-width-image {
  width: 100%;
  height: 620px; /* 高さは適宜調整してください */
  /* ★ はみ出した画像を隠すために追加 */
  overflow: hidden;
}

.full-width-image img {
  width: 100%;
  height: 130%;
  object-fit: cover;
}

/* ===== BUSINESS 02 (SDGS) SECTION ===== */
.business-two {
  background-color: #f8f9fa; /* 背景色を設定して他のセクションと区別 */
  padding: 80px 0;
}
.sdgs-blocks {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.sdgs-block {
  border: 1px solid #eee;
  padding: 30px;
}
.sdgs-block__header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-orange);
}
.sdgs-block__header p {
  margin-top: 10px;
  line-height: 1.8;
}
.sdgs-block__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.sdgs-block__icons img {
  width: 100px; /* アイコンのサイズ */
}
.sdgs-block__initiatives {
  border-top: 1px solid #eee;
  padding-top: 20px;
}
.initiative-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
}
.initiative-item .label {
  font-weight: 900;
}
.initiative-item ul {
  list-style: disc;
  padding-left: 20px;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 991px) {
  /*
  .concept-about__grid {
    grid-template-columns: 1fr;
  }
    */
  .business-one__concepts {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .initiative-item {
    grid-template-columns: 1fr;
  }
}
.business-one__logo-area {
  text-align: center;
  margin: 60px 0;

  /* 3D空間を定義 */
  perspective: 1000px;
}

/* ★★★ クラス名をfeature-blocksに変更 ★★★ */
.feature-blocks {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* ★★★ クラス名をfeature-blockに変更 ★★★ */
.feature-block {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-block__header h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.feature-block__header p {
  margin-top: 15px;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}
/*
.feature-block__initiatives {
  border-top: 1px solid #eee;
  padding-top: 30px;
  margin-top: 30px;
}
*/
/* --- 以下の feature-list, feature-itemのスタイルは変更なし --- */
/* カードを横並びにするためのグリッドレイアウト */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCでは3列表示 */
  gap: 30px; /* カード間のスペース */
}

/* 各項目を「カード」としてデザイン */
.feature-item {
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* 控えめな影で立体感を出す */
  position: relative; /* ナンバリングを配置するための基準 */
  overflow: hidden; /* はみ出したナンバリングを隠す */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* ホバーアニメーション */
}

/* カードにマウスを乗せた時のホバーエフェクト */
.feature-item:hover {
  transform: translateY(-8px); /* 少し上に浮き上がる */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* 影を濃くして浮き上がりを強調 */
}
/* デザインのアクセントとしてナンバリングを追加 */
.business-two .feature-list {
  counter-reset: feature-counter; /* CSSカウンターを初期化 */
}
.feature-item::before {
  counter-increment: feature-counter; /* 番号を1つ増やす */
  content: "0" counter(feature-counter); /* "01", "02", "03"と表示 */
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 3.5rem; /* 大きな数字でインパクトを出す */
  font-weight: 800;
  color: rgba(0, 0, 0, 0.04); /* 背景に溶け込む非常に薄い色 */
  z-index: 0;
  line-height: 1;
}
/* アイコンのデザインをブラッシュアップ */
.feature-item__icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #eaf4ff; /* サイトのアクセントカラーの薄い色 */
  color: #007bff; /* サイトのアクセントカラー */
  font-size: 1.8rem;
  margin-bottom: 25px;
  position: relative; /* テキストやナンバリングより手前に表示 */
  z-index: 1;
}

/* テキスト部分のスタイルにメリハリをつける */
.feature-item__text {
  position: relative;
  z-index: 1;
}

.feature-item__text h4 {
  font-size: 1.3rem; /* 見出しを大きく */
  font-weight: 700;
  margin-bottom: 12px;
  color: #212529; /* 少し濃い黒に */
}

.feature-item__text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6c757d; /* 少し薄いグレーに */
}
/* レスポンシブ対応 */
@media (max-width: 992px) {
  .feature-list {
    grid-template-columns: 1fr; /* タブレット以下では1列にする */
    gap: 20px;
  }
}
/* 3Dアニメーションのための視点を設定 */
.page-title .container {
  perspective: 1000px;
}

/* ★★★ メインタイトルのアニメーション ★★★ 
.css-pagetitle-reveal {
  animation: pagetitle-reveal 2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s 1 forwards;
}

@keyframes pagetitle-reveal {
  from {
    opacity: 0;
    transform: scale(2) translateY(100px) rotateX(-90deg);
    transform-origin: center center -150px;
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0) rotateX(0deg);
    transform-origin: center center 0;
  }
}

.css-pagesubtitle-reveal {
  opacity: 0;
  animation: pagesubtitle-reveal 1.2s ease-out 1s 1 forwards;
}

@keyframes pagesubtitle-reveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
*/
/*---------------------------------*/
/* ===== CONCEPT SECTION (リニューアル版) スタイル ===== */
.concept-renewed {
  padding: 80px 0;
  background-color: #fff;
}

.concept-intro {
  text-align: center;
  margin-bottom: 60px;
}

.concept-headline {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 30px 0 20px;
  line-height: 1.5;
}

.concept-lead {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* 1. 親のグリッドコンテナを調整 */
.concept-core {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  /* 隙間を少し広げて、はみ出す画像とのバランスをとる */
  gap: 80px;
  align-items: center;
}

/* 2. 画像のコンテナに overflow: visible を設定 */
.concept-core__image {
  /* これが重要！中の画像がはみ出せるようにする */
  overflow: visible;
  position: relative; /* z-indexを効かせるため */
  z-index: 1;
}

.concept-core__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 3. 画像自体に transform を適用して大きく見せる */
.concept-core__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  /* 画像を少し大きくし、左にずらしてはみ出させる */
  transform: scale(1.2) translateX(-50px);
  /* 影を付けて立体感を出す */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

/* ホバー時にさらに少し大きくする（お好みで） 
.concept-core__image:hover img {
  transform: scale(1.22) translateX(-50px);
}
*/

/* 4. テキストエリアが画像の下に回り込まないようにする */
.concept-core__features {
  position: relative;
  z-index: 2; /* テキストを画像より手前に表示 */
}

.concept-core__features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}
.concept-core__features li:last-child {
  margin-bottom: 0;
}

.feature-icon {
  font-size: 1.8rem;
  color: #007bff; /* サイトのアクセントカラーに合わせて変更 */
  margin-right: 20px;
  width: 40px;
  text-align: center;
}

.feature-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.feature-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== CREED SECTION (社訓) スタイル ===== */
.creed-section {
  padding: 60px 0;
  background-color: #f8f9fa; /* 背景色を少し変える */
  text-align: center;
}
.creed-section h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #555;
  margin-bottom: 30px;
}
.creed-section h4::before,
.creed-section h4::after {
  content: "";
  flex-grow: 1; /* 可能な限り線を伸ばす */
  height: 1px; /* 線の太さ */
  background-color: #ccc; /* 線の色 */
}
.creed-section h4::before {
  margin-right: 1.5em; /* テキストと左の線の間隔 */
}
.creed-section .creed-main {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.creed-section .creed-sub {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  /* タブレットサイズでは、はみ出し量を少し抑える */
  .concept-core__image img {
    transform: scale(1.1) translateX(-30px);
  }
  .concept-core {
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .concept-core {
    grid-template-columns: 1fr;
  }
  /* スマホ表示では、はみ出し効果をリセットして通常表示に戻す */
  .concept-core__image img {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

/* ===== CONCEPTセクション専用 見出しデザイン ===== */
.heading-main-concept {
  position: relative; /* 子要素を絶対配置するための基準 */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px; /* 見出しエリアの高さを確保 */
  margin-bottom: 30px;
}

/* 背景になる英字 (h2) */
.heading-main-concept h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem; /* 巨大なフォントサイズ */
  font-weight: 900; /* 最も太く */
  letter-spacing: 0.1em; /* 文字間隔を広げる */
  color: rgba(0, 0, 0, 0.05); /* 非常に薄い色 */
  margin: 0;
  text-transform: uppercase;
  /* ユーザーがテキスト選択できないようにする */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 前面に出る日本語 (p) */
.heading-main-concept p {
  position: relative; /* h2より手前に表示させるため */
  z-index: 1;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #333;
  /* 可読性向上のため、少し背景を付ける */
  background: #fff;
  padding: 0 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .heading-main-concept h2 {
    font-size: 4rem; /* スマホではサイズを調整 */
  }
}
