/* ===================== Layout Helpers ===================== */
/* Aboutページ専用のスタイル */

/* スクロールアニメーション：左から右に表示 */
/* 初期状態では非表示で左側に配置（ビューポートに入る前の状態） */
.io-slide-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* ビューポートに入ったときに左からスライドインして表示されるアニメーション */
.io-slide-left.is-inview {
  opacity: 1;
  transform: translateX(0);
}

/* サステナブルセクション内でビューポートに入ったときに左からスライドインして表示（白色を維持） */
.about-page__sustainable-section .io-slide-left.is-inview {
  opacity: 1;
  transform: translateX(0);
  color: #ffffff;
}

/* サステナブルセクションのタイトルは常に白色を維持 */
.about-page__sustainable-section .io-slide-left {
  color: #ffffff;
}

/* スクロールアニメーション：右から左に表示 */
/* 初期状態では非表示で右側に配置（ビューポートに入る前の状態） */
.io-slide-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* ビューポートに入ったときに右からスライドインして表示されるアニメーション */
.io-slide-right.is-inview {
  opacity: 1;
  transform: translateX(0);
}

/* スクロールアニメーション：下から上にフェードイン */
/* 初期状態では非表示で下側に配置（ビューポートに入る前の状態） */
.io-fadeup {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
}

/* ビューポートに入ったときに下からフェードインして表示されるアニメーション */
.io-fadeup.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Aboutページ全体のコンテナ */
/* ページ全体の背景色と幅を設定 */
.about-page {
  width: 100%;
  max-width: 100%;
  background: #F5F1EB;
}

/* WordPressブロックエディタのラッパー対応 */
/* ブロックエディタのラッパー要素の幅を全幅に設定 */
.wp-block-group,
.wp-block-my-theme-about-page-sections {
  width: 100%;
  max-width: 100%;
}

/* ブロックエディタ内のAboutページコンテナの幅を全幅に設定 */
.wp-block-group .about-page,
.wp-block-my-theme-about-page-sections .about-page {
  width: 100%;
  max-width: 100%;
}

/* ===================== COMPANY セクション ===================== */
/* 会社紹介セクションのレイアウト（中央揃え、白背景） */
.about-page__company-section {
  width: 100%;
  margin: 0;
  padding: 80px 1rem 40px;
  text-align: center;
  background: #fff;
}

/* セクション内の段落テキストのスタイル（フォントサイズ、行間、色） */
.about-page__section-text p {
  font-weight: 400;
  font-size: 20px;
  line-height: 44px;
  color: #444444;
}

/* SDGsハイライト用（指定フレーズを強調表示） */
.about-page__sdgs-highlight {
  color: #2D5016;
}

/* 会社名タイトルのスタイル（太字、大サイズ） */
.about-page__company-title {
  font-weight: 900;
  font-size: 64px;
  line-height: 96px;
  margin: 0 0 24px;
  color: #000000;
}

/* 会社名サブタイトルのスタイル（オレンジ色） */
.about-page__company-subtitle {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  margin: 0;
  color: #888888;

}

/* サステナブルセクションを画面幅いっぱいに広げるためのブレイクアウト */
.about-page__sustainable-breakout {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
}

/* ===================== サステナブルセクション ===================== */
/* サステナブルセクションの基本レイアウト（最小高さ80vh、オーバーフロー制御） */
.about-page__sustainable-section {
  width: 100%;
  max-width: 100%;
  margin: clamp(20px, 4vw, 48px) 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

/* サステナブルセクションのコンテナ（フレックスレイアウト） */
.about-page__sustainable-container {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 80vh;
  position: relative;
}


/* サステナブルセクションの画像エリア（フレックスアイテム、z-index設定） */
.about-page__sustainable-image {
  flex: 1;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* サステナブルセクションの画像（全幅、カバー表示） */
.about-page__sustainable-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================== MESSAGE セクション ===================== */
/* メッセージセクションのレイアウト（中央揃え、縦方向フレックス） */
.about-page__message-section {
  max-width: 1400px;
  margin: clamp(20px, 4vw, 48px) auto;
  padding: clamp(32px, 5vw, 72px) 2rem;
  background: #F5F1EB;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 4vw, 32px);
}

/* MISSION / VISION / VALUE セクション共通レイアウト */
/* セクション内のコンテンツを横並びに配置（フレックスレイアウト） */
.about-page__section-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* テキスト:画像 = 2:1 の比率になるように設定 */
.about-page__section-inner--mission .about-page__section-text,
.about-page__section-inner--vision .about-page__section-text,
.about-page__section-inner--value .about-page__section-text,
.about-page__section-inner--sdgs-intro .about-page__section-text {
  flex: 2 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* MISSION/VISION/VALUE/SDGsイントロセクションの画像エリア（テキストの半分の幅、最大480px → 大きく変更） */
.about-page__section-inner--mission .about-page__section-image,
.about-page__section-inner--vision .about-page__section-image,
.about-page__section-inner--value .about-page__section-image,
.about-page__section-inner--sdgs-intro .about-page__section-image {
  flex: 1 1 0;
  max-width: 900px; /* 700pxから900pxにさらに拡大 */
  transform: scale(1.2); /* 縦横20%拡大 */
}

/* MISSION/VISION/VALUE/SDGsセクションの最小高さと配置設定 */
.about-page__section--mission,
.about-page__section--vision,
.about-page__section--value,
.about-page__section--sdgs,
.about-page__section--sdgs-item {
  min-height: 30vh;
  justify-content: flex-start;
}

/* SDGsイントロセクション：top__about-containerと同じレイアウトを使用 */
.about-page__section--sdgs-intro,
.about-page__section--greeting {
  padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px);
}

/* SDGsイントロセクションのタイトルスタイル */
.about-page__section--sdgs-intro .about-page__section-label,
.about-page__section--greeting .about-page__section-label {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
  color: #000000;
  letter-spacing: normal;
  text-transform: none;
  text-align: center;
  margin: 0 0 clamp(24px, 4vw, 48px);
}

/* SDGsイントロセクション内のtop__about-containerを調整 */
.about-page__section--sdgs-intro .top__about-container,
.about-page__section--greeting .top__about-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================== top__about-container スタイル（front.cssから移植） ===================== */
/* 企業紹介セクションのコンテナ（縦方向フレックス） */
.top__about-container {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vw, 48px);
  width: 100%;
}

/* 企業紹介セクションのコンテンツエリア（画像の下に配置、左揃え） */
.top__about-content {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 4vw, 32px);
  text-align: left;
}

/* 企業紹介セクションの画像エリア（上に配置、全幅） */
.top__about-image {
  order: 1;
  width: 100%;
}

/* 企業紹介セクションの画像（全幅、角丸、カバー表示） */
.top__about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* 企業紹介セクションの説明文 */
.top__about-description {
  width: 100%;
  margin-bottom: 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 2.2;
  color: #444;
  opacity: 1; /* 常に表示（front.cssとは異なり、aboutページでは常に表示） */
}

/* 企業紹介セクションのコンテンツのフェードインアニメーション初期状態（IntersectionObserver用） */
.top__about-content.io-fadeup {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

/* 企業紹介セクションのコンテンツがビューポートに入ったときに表示（フェードイン） */
.top__about-content.io-fadeup.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* 企業紹介セクションのコンテンツの最後の子要素の下マージンを削除 */
.top__about-content > *:last-child {
  margin-bottom: 0;
}

/* 企業紹介セクションの説明文内の段落テキスト（下マージン16px） */
.top__about-description p {
  margin-bottom: 16px;
}

/* 企業紹介セクションの説明文の最後の段落の下マージンを削除 */
.top__about-description p:last-child {
  margin-bottom: 0;
}

/* スクロールリンク（SDGsについてのリンク） */
.top__about-scroll-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  margin-top: 24px;
  margin-left: auto;
  padding: 12px 20px;
  border: 2px solid #333;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  width: fit-content;
  animation: slideLeftRight 2s ease-in-out infinite;
}

/* スクロールリンクのホバー状態（透明度変化、背景色追加、アニメーション一時停止） */
.top__about-scroll-link:hover {
  opacity: 0.8;
  background-color: rgba(0, 0, 0, 0.05);
  animation-play-state: paused;
}

/* スクロールリンクのテキスト部分 */
.top__about-scroll-text {
  display: inline-block;
}

/* スクロールリンクの矢印アイコン（ホバー時に右に移動） */
.top__about-scroll-arrow {
  display: inline-block;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

/* スクロールリンクのホバー時に矢印を右に移動 */
.top__about-scroll-link:hover .top__about-scroll-arrow {
  transform: translateX(5px);
}

/* デスクトップ幅では左右2カラムに切り替える */
@media (min-width: 1024px) {
  .top__about-container,
  .about-page__section--sdgs-intro .top__about-container {
    flex-direction: row;
    align-items: center;
    gap: clamp(32px, 6vw, 96px);
  }

  .top__about-image {
    order: 1;
    flex: 1;
  }

  .top__about-content {
    order: 2;
    flex: 1;
  }
}

/* 会社情報セクション（背景画像にダークオーバーレイ、白文字） */
.about-page__section--company-info {
  background-image: linear-gradient(rgba(7, 7, 7, 0.87), rgba(7, 7, 7, 0.87)), url("../../images/about/about-company-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  width: 100%;
  max-width: 100%;
  margin: clamp(20px, 4vw, 48px) 0;
  padding-left: clamp(16px, 5vw, 64px);
  padding-right: clamp(16px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

/* 会社情報セクションの内部レイアウト（縦方向フレックス、中央揃え） */
.about-page__section-inner--company-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, 36px);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  z-index: 1;
}

/* セクション内のテキストを中央揃えに設定（最大幅960px） */
.about-page__section-text--centered {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

/* 会社情報セクションのタイトル（白文字、下線付き） */
.about-page__section--company-info .about-page__message-title {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffffff;
  color: #ffffff;
  position: relative;
  z-index: 1;
}



/* 会社情報の本文エリア（最大幅840px、中央揃え） */
.about-page__company-info-body {
  max-width: 840px;
  margin: 64px auto 0;
  line-height: 1.6;
  font-size: 14px;
}

/* 会社情報本文の段落テキスト（グレー色、大きな行間） */
.about-page__company-info-body p {
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #999999;
}

/* 会社情報のビジュアル要素（画像など、最大幅960px） */
.about-page__company-info-visual {
  margin: 64px auto 0;
  max-width: 960px;
  width: 100%;
}

/* 会社情報ビジュアル内の画像（全幅、アスペクト比維持） */
.about-page__company-info-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* セクション内の画像（全幅、アスペクト比維持） */
.about-page__section-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 画像を左右いっぱいに寄せる調整 */
/* MISSIONセクションの画像を右側に寄せる */
.about-page__section--mission .about-page__section-image {
  margin-right: -2rem; /* セクションの右パディング分だけ外側へ寄せる */
}

/* VISIONセクションの画像を左側に寄せる */
.about-page__section--vision .about-page__section-image {
  margin-left: -2rem; /* セクションの左パディング分だけ外側へ寄せる */
  opacity: 0.5; /* 透明度を0.5に設定 */
  max-width: 900px; /* 画像の最大幅を設定 */
  transform: scale(1.2); /* 縦横20%拡大 */
  overflow: hidden; /* ぼかし効果のためのオーバーフロー制御 */
}

/* VISIONセクションの画像の右端をぼかす（グラデーションマスク） */
.about-page__section--vision .about-page__section-image img {
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
}

/* MISSION だけ右上にはみ出させる表現 */
/* MISSIONセクションのオーバーフローを表示（画像のはみ出しを許可） */
.about-page__section--mission {
  position: relative;
  overflow: visible;
}

/* MISSIONセクションの内部要素を上揃えに配置 */
.about-page__section--mission .about-page__section-inner {
  align-items: flex-start;
}

/* MISSIONセクションの画像を右上にはみ出させる（装飾効果） */
.about-page__section--mission .about-page__section-image {
  position: relative;
  top: -40px;   /* 上に少しはみ出させる */
  right: -40px; /* 右側にもはみ出させる */
  opacity: 0.5; /* 透明度を0.5に設定 */
  max-width: 900px; /* 画像の最大幅を設定 */
  transform: scale(1.2); /* 縦横20%拡大 */
  overflow: hidden; /* ぼかし効果のためのオーバーフロー制御 */
}

/* MISSIONセクションの画像の左端をぼかす（グラデーションマスク） */
.about-page__section--mission .about-page__section-image img {
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 70%);
}

/* VALUEセクションの画像に透明度を設定 */
.about-page__section--value .about-page__section-image {
  opacity: 0.5; /* 透明度を0.5に設定 */
  max-width: 900px; /* 画像の最大幅を設定 */
  transform: scale(1.2); /* 縦横20%拡大 */
  overflow: hidden; /* ぼかし効果のためのオーバーフロー制御 */
  position: relative; /* 疑似要素の基準点 */
}

/* VALUEセクションの画像の左端をぼかす（グラデーションマスク） */
.about-page__section--value .about-page__section-image img {
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
}

/* (max-width: 1024px) 向けのレスポンシブ調整 */
@media (max-width: 1024px) {
  .about-page__section--mission .about-page__section-image {
    top: -20px;
    right: -20px;
  }
}

/* (max-width: 768px) 向けのレスポンシブ調整 */
@media (max-width: 768px) {
  .about-page__section--mission .about-page__section-image {
    position: static; /* モバイルでははみ出しを解除して見やすくする */
  }
}

/* セクションのラベル（大文字、グレー色、大きな文字間隔） */
.about-page__section-label {
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: #c3c3c3;
}

/* セクションのタイトル（レスポンシブフォントサイズ、太字） */
.about-page__section-title {
  font-weight: 700;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.6;
  margin: 0 0 16px;
}

/* セクションの本文テキスト（フッターメニューと同じ文字サイズと行間） */
.about-page__section-body {
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* ===================== SDGs セクション ===================== */
/* SDGsヘッダーセクション（中央揃え） */
.about-page__section-inner--sdgs-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

/* SDGsヘッダーのテキストエリア（中央揃え） */
.about-page__section-text--sdgs-header {
  width: 100%;
  text-align: center;
}

/* SDGsセクションのタイトルと説明文のスタイル */
.about-page__section--sdgs {
  max-width: 1400px;
  width: 100%;
  margin: clamp(20px, 4vw, 48px) auto;
  padding: clamp(32px, 5vw, 64px) 0;
}

/* SDGsヘッダーセクションの内部コンテナ（全幅） */
.about-page__section-inner--sdgs-header {
  max-width: 100%;
  width: 100%;
}

/* SDGsセクションのラベル（中央揃え、黒色、通常の文字間隔） */
.about-page__section--sdgs .about-page__section-label {
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  color: #000000;
  letter-spacing: normal;
  text-transform: none;
  text-align: center;
  margin: 0 0 16px;
}

/* SDGsセクションの説明文（オレンジ色、中央揃え） */
.about-page__section-text--sdgs-header .about-page__sdgs-description {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 40px;
  color: #2D5016;
  text-align: center;
}

/* サステナブルセクションの追加スタイル（上マージン設定） */
.about-page__sustainable-section {
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
}

/* サステナブルセクションのコンテナ初期状態（非表示で左側に配置、アニメーション準備） */
.about-page__sustainable-section .about-page__sustainable-container {
  min-height: 60vh;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-125vw);
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
}

/* サステナブルセクションがビューポートに入ったときにコンテナを左からスライドインして表示 */
.about-page__sustainable-section.is-inview .about-page__sustainable-container {
  opacity: 1;
  transform: translateX(0);
}


/* サステナブルセクションのテキストエリア（背景画像、クリップパス、白文字） */
.about-page__sustainable-section .about-page__sustainable-text {
  flex: 1;
  padding: clamp(32px, 5vw, 60px) clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("../../images/about/about-sdgs-intro.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  position: relative;
  z-index: 2;
  color: #ffffff;
  overflow: hidden;
}

/* サステナブルセクションのテキストエリアにダークオーバーレイとブラー効果を追加 */
.about-page__sustainable-section .about-page__sustainable-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 69%);
  backdrop-filter: blur(3px);
  z-index: -1;
}

/* サステナブルセクションのテキストエリア内のすべてのテキスト要素を白色に設定 */
.about-page__sustainable-section .about-page__sustainable-text h2,
.about-page__sustainable-section .about-page__sustainable-text h3,
.about-page__sustainable-section .about-page__sustainable-text p,
.about-page__sustainable-section .about-page__sustainable-text span,
.about-page__sustainable-section .about-page__sustainable-text .about-page__sustainable-title,
.about-page__sustainable-section .about-page__sustainable-text .about-page__sustainable-char {
  color: #ffffff;
}

/* サステナブルセクションのコンテンツエリア（背景色#F5F1EB、縦方向フレックス） */
.about-page__sustainable-section .about-page__sustainable-content {
  flex: 1;
  padding: clamp(32px, 5vw, 60px) clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #F5F1EB;
  position: relative;
  z-index: 1;
}

/* サステナブルセクションのイントロテキスト（レスポンシブフォントサイズ、黒色） */
.about-page__sustainable-section .about-page__sustainable-intro {
  font-weight: 400;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  margin: 0 0 24px;
  color: #000000;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* サステナブルセクションの本文テキスト（レスポンシブフォントサイズ、黒色） */
.about-page__sustainable-section .about-page__sustainable-body {
  font-weight: 400;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.9;
  margin: 0 0 20px;
  color: #000000;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* サステナブルセクションの本文テキストの最後の要素の下マージンを削除 */
.about-page__sustainable-section .about-page__sustainable-body:last-child {
  margin-bottom: 0;
}

/* サステナブルセクションのタイトル（レスポンシブフォントサイズ、白文字、中央揃え、特殊フォント） */
.about-page__sustainable-section .about-page__sustainable-text .about-page__sustainable-title {
  font-weight: 400;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.4;
  margin: 0 0 32px;
  color: #ffffff;
  text-align: center;
  font-family: 'Comic Sans MS', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
}

/* サステナブルセクションのタイトルにスライドアニメーションを適用する場合の白色設定 */
.about-page__sustainable-section .about-page__sustainable-text .about-page__sustainable-title.io-slide-left {
  color: #ffffff;
}

/* サステナブルセクションのタイトルがビューポートに入ったときに左からスライドインして表示（白色を維持） */
.about-page__sustainable-section .about-page__sustainable-text .about-page__sustainable-title.io-slide-left.is-inview {
  opacity: 1;
  transform: translateX(0);
  color: #ffffff;
}

/* サステナブルセクション内の画像（最大幅100%、中央揃え） */
.about-page__sustainable-section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* SDGs項目セクションのスタイル */
/* SDGs項目セクションの内部レイアウト（横並び、フレックス） */
.about-page__section-inner--sdgs-item {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* SDGs項目セクションのテキストエリア（テキスト:画像 = 2:1の比率） */
.about-page__section-inner--sdgs-item .about-page__section-text {
  flex: 2 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* SDGs項目セクションの画像エリア（テキストの半分の幅、最大480px） */
.about-page__section-inner--sdgs-item .about-page__section-image {
  flex: 1 1 0;
  max-width: 480px;
}

/* SDGs項目セクションの画像（全幅、アスペクト比維持） */
.about-page__section-image--sdgs-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* リバースレイアウト（右に画像、左にテキスト） */
.about-page__section-inner--sdgs-item--reverse {
  flex-direction: row-reverse;
}


/* SDGs項目のゴール番号（オレンジ色、太字、レスポンシブフォントサイズ） */
.about-page__sdgs-item-goal {
  font-weight: 900;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.4;
  margin: 0 0 8px;
  color: #2D5016;
  letter-spacing: 0.05em;
}

/* 親要素のpタグの色指定を上書き */
.about-page__section-text--sdgs-item .about-page__sdgs-item-goal {
  color: #2D5016;
  font-weight: 900;
}

/* SDGs項目のサブタイトル（太字、レスポンシブフォントサイズ、黒色） */
.about-page__sdgs-item-subtitle {
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  margin: 0 0 24px;
  color: #888888;
}

/* SDGs項目のアイコンコンテナ（フレックス、折り返し可能） */
.about-page__sdgs-item-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 0 0 24px;
}

/* SDGs項目のアイコン画像（最大幅94px、アスペクト比維持） */
.about-page__sdgs-item-icons img {
  max-width: 94px;
  width: 100%;
  height: auto;
  display: block;
}

/* SDGs項目の説明テキスト（中太字、大きな行間、グレー色） */
.about-page__sdgs-item-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 34px;
  color: #333333;
  margin: 0;
}

/* VALUE セクション専用の下側2カラムレイアウト */
.about-page__value-layout {
  display: flex;
  gap: 60px;
  margin-top: 32px;
  align-items: flex-start;
}

/* VALUEセクションのテキストエリア（フレックスアイテム） */
.about-page__section-text--value {
  flex: 1;
}

/* VALUEセクションのリスト（縦方向フレックス、リストスタイルなし） */
.about-page__value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* VALUEセクションの各項目タイトル（太字、小サイズ） */
.about-page__value-title {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px;
}

/* VALUEセクションの各項目本文（小サイズ、1.8倍行間） */
.about-page__value-body {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* メッセージセクションのタイトル（太字、大サイズ、黒色） */
.about-page__message-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  margin: 0 0 16px;
  color: #000000;
}

/* メッセージセクションのサブタイトル（オレンジ色、小サイズ） */
.about-page__message-subtitle {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 40px;
  color: #888888;
}


/* ===================== 会社概要 セクション ===================== */
/* 会社概要セクション（背景画像にダークオーバーレイ、白文字、縦方向フレックス） */
.about-page__profile-section {
  position: relative;
  background-color: #514F4F;
  background-image: url("../../images/about/about-sustainable-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(32px, 5vw, 72px) 1rem;
  color: #fff;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 4vw, 32px);
  overflow: hidden;
}

/* ガウスぼかし効果のあるオーバーレイ */
.about-page__profile-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0 0 0 / 75%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 0;
}

/* コンテンツをオーバーレイの上に表示 */
.about-page__profile-section > * {
  position: relative;
  z-index: 1;
}

/* 会社概要セクションのタイトル（レスポンシブフォントサイズ、白文字、中央揃え） */
.about-page__profile-title {
  max-width: 1400px;
  margin: 0 auto 40px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: bold;
  color: #fff;
}

/* 会社概要のテーブルコンテナ（縦方向フレックス、中央揃え） */
.about-page__profile-table {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 会社概要の各行（グリッドレイアウト、ラベル200px、値は残り幅、下線付き） */
.about-page__profile-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 会社概要の最後の行の下線とパディングを削除 */
.about-page__profile-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* 会社概要のラベル（太字、白文字、フッターメニューと同じ行間） */
.about-page__profile-label {
  font-weight: 700;
  font-size: clamp(12px, 1.5vw, 16px);
  line-height: 1.6;
  color: #ffffff;
}

/* 会社概要の値（フッターメニューと同じ文字サイズと行間） */
.about-page__profile-value {
  font-weight: 400;
  font-size: clamp(12px, 1.5vw, 16px);
  line-height: 1.6;
  color: #e5e7eb;
}

/* 会社概要の値内の段落テキスト（フッターメニューと同じ文字サイズと行間） */
.about-page__profile-value p {
  margin: 0 0 0.5em;
  color: #e5e7eb;
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 400;
  line-height: 1.6;
}

/* 会社概要の値内の最後の段落の下マージンを削除 */
.about-page__profile-value p:last-child {
  margin-bottom: 0;
}

/* 会社概要の役員情報（フッターメニューと同じ文字サイズと行間） */
.about-page__profile-officer {
  margin: 0 0 16px;
  color: #e5e7eb;
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 400;
  line-height: 1.6;
}

/* 会社概要の最後の役員情報の下マージンを削除 */
.about-page__profile-officer:last-child {
  margin-bottom: 0;
}

/* ===================== ACCESS セクション ===================== */
/* アクセスセクション（中央揃え、背景色#F5F1EB、縦方向フレックス） */
.about-page__access-section {
  max-width: 1400px;
  margin: clamp(20px, 4vw, 48px) auto;
  padding: clamp(32px, 5vw, 72px) 2rem;
  background: #F5F1EB;
  text-align: center;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 4vw, 32px);
}

/* アクセスセクションのタイトルとサブタイトルを中央揃えに設定 */
.about-page__access-section .about-page__message-title,
.about-page__access-section .about-page__message-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* アクセス情報のコンテナ（2カラムグリッドレイアウト、左揃え） */
.about-page__access-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
  text-align: left;
}

/* アクセス情報エリア（縦方向フレックス） */
.about-page__access-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* アクセス情報の会社名（太字、レスポンシブフォントサイズ、濃いグレー） */
.about-page__access-company-name {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: bold;
  margin: 0;
  color: #111;
}

/* アクセス情報の郵便番号（レスポンシブフォントサイズ、グレー色） */
.about-page__access-postal-code {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.8;
  margin: 0;
  color: #444444;
}

/* アクセス情報の住所（レスポンシブフォントサイズ、濃いグレー） */
.about-page__access-address {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.8;
  margin: 0;
  color: #333;
}

/* アクセス方法のコンテナ（縦方向フレックス） */
.about-page__access-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* アクセス方法のタイトル（太字、レスポンシブフォントサイズ、濃いグレー） */
.about-page__access-methods-title {
  font-size: clamp(18px, 2vw, 20px);
  font-weight: bold;
  margin: 0;
  color: #111;
}

/* アクセス方法のリスト（縦方向フレックス、リストスタイルなし） */
.about-page__access-methods-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* アクセス方法の各項目（フッターメニューと同じ文字サイズと行間） */
.about-page__access-methods-item {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: #444444;
}

/* アクセスセクションの地図コンテナ（グレースケールフィルター適用） */
.about-page__access-map {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 0;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

/* アクセスセクションの地図iframe（全幅、高さ600px、グレースケールフィルター適用） */
.about-page__access-map iframe {
  width: 100%;
  height: 600px;
  border: none;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

/* ===================== Responsive ===================== */
/* (max-width: 1024px) 向けのレスポンシブ調整 */
@media (max-width: 1024px) {
  /* 会社概要のラベルと値のカラム幅を再調整 */
  .about-page__profile-row {
    grid-template-columns: 150px 1fr;
    gap: 30px;
  }

  /* アクセス情報のカラム間隔を狭める */
  .about-page__access-container {
    gap: 40px;
  }

  /* SDGs特徴リストの余白を少なめに */
  .about-page__sdgs-feature {
    gap: 32px;
  }
}

/* (max-width: 768px) 向けのレスポンシブ調整 */
@media (max-width: 768px) {
  /* 会社紹介セクションの上下余白を減らす */
  .about-page__company-section {
    padding: 60px 1rem 30px;
    text-align: center;
  }

  /* サステナブルセクションを縦積みに切り替え */
  .about-page__sustainable-container {
    flex-direction: column;
    min-height: auto;
  }

  /* サステナブルテキスト側のクリップパスを解除 */
  .about-page__sustainable-text {
    clip-path: none;
    padding: 40px 1rem;
  }

  /* サステナブル画像の最低高さを確保 */
  .about-page__sustainable-image {
    min-height: 300px;
  }

  /* メッセージセクションの左右余白を縮小 */
  .about-page__message-section {
    padding: 40px 1rem;
    max-width: 100%;
    align-items: center;
  }

  /* 会社概要セクションの左右余白を縮小 */
  .about-page__profile-section {
    padding: 60px 1rem;
  }

  /* プロフィール行を1カラム化して間隔を調整 */
  .about-page__profile-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 20px;
  }

  /* スマホサイズではプロフィールテーブルの幅を狭める */
  .about-page__profile-table {
    max-width: 280px;
    width: 100%;
  }

  /* MISSION / VISION / VALUE をモバイルで縦並び・中央寄せに */
  .about-page__section-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .about-page__section-text {
    text-align: center;
  }

  .about-page__section-label {
    text-align: center;
  }

  .about-page__section-body,
  .about-page .about-page__section-body,
  p.about-page__section-body {
    font-size: clamp(12px, 1.5vw, 16px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
  }

  .about-page__section-image {
    margin: 0 auto;
    max-width: 80%;
  }

  /* 代表あいさつ/SDGs導入の上下で画像とテキストを中央寄せ */
  .about-page__section--greeting .top__about-container,
  .about-page__section--sdgs-intro .top__about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .about-page__section--greeting .top__about-content,
  .about-page__section--sdgs-intro .top__about-content,
  .about-page__section--greeting .top__about-description,
  .about-page__section--sdgs-intro .top__about-description {
    text-align: center;
    align-items: center;
  }
  .about-page__section--greeting .top__about-image,
  .about-page__section--sdgs-intro .top__about-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .about-page__section--greeting .top__about-image img,
  .about-page__section--sdgs-intro .top__about-image img {
    max-width: 90%;
    margin: 0 auto;
  }

  .about-page__section--mission .about-page__section-image,
  .about-page__section--vision .about-page__section-image {
    margin: 0 auto;
  }

  /* MISSION / VISION / VALUE：モバイルでは画像を非表示にしてテキストを優先 */
  .about-page__section--mission .about-page__section-image,
  .about-page__section--vision .about-page__section-image,
  .about-page__section--value .about-page__section-image {
    display: none;
  }

  /* プロフィールのラベルと値に上下余白を追加 */
  .about-page__profile-label {
    margin-bottom: 8px;
  }

  /* アクセスセクションの左右余白を縮小 */
  .about-page__access-section {
    padding: 60px 1rem;
    max-width: 100%;
  }

  /* アクセス情報のグリッドを1カラムへ */
  .about-page__access-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Googleマップの高さをモバイル向けに縮小 */
  .about-page__access-map iframe {
    height: 400px;
  }

  /* SDGsコンテンツを縦積みに変更 */
  .about-page__section-inner--sdgs {
    flex-direction: column;
    gap: 40px;
  }

  /* SDGsセクションの画像を全幅で表示 */
  .about-page__section-inner--sdgs .about-page__section-image {
    max-width: 100%;
  }

  /* SDGs各項目を縦レイアウトに変更 */
  .about-page__section-inner--sdgs-item,
  .about-page__section-inner--sdgs-item--reverse {
    flex-direction: column;
    gap: 40px;
  }

  /* スマホではGOALテキストを先に出し、画像をその下に配置 */
  .about-page__section-inner--sdgs-item .about-page__section-text,
  .about-page__section-inner--sdgs-item--reverse .about-page__section-text {
    order: 1;
    width: 100%;
  }

  .about-page__section-inner--sdgs-item .about-page__section-image,
  .about-page__section-inner--sdgs-item--reverse .about-page__section-image {
    order: 2;
    width: 100%;
    margin: 0 auto;
  }

  /* SDGs各項目内の画像を全幅に */
  .about-page__section-inner--sdgs-item .about-page__section-image {
    max-width: 100%;
  }
}

/* ===================== CTAセクション ===================== */
/* CTAセクション（全幅、縦方向フレックス、中央揃え） */
.top__cta {
  width: 100%;
  max-width: none;
  margin: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 0;
  min-height: auto;
}

/* CTAセクションのコンテナ（横並びフレックス、高さ380px固定） */
.top__cta-container {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  height: 380px;
}

/* CTAセクションの各項目（中央揃え、ホバー時に拡大） */
.top__cta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: flex-grow 0.3s ease, opacity 0.3s ease;
  padding: clamp(40px, 8vw, 80px) 0;
  height: 100%;
}

/* CTAセクションの各項目のホバー状態（透明度変化、拡大） */
.top__cta-item:hover {
  opacity: 0.9;
  flex-grow: 1.5;
}

/* CTAセクションの各項目のホバー時にアイコンのトランジションを設定 */
.top__cta-item:hover .top__cta-icon {
  transition: transform 0.3s ease;
}

/* CTAセクションの問い合わせ項目（透明背景、黒文字、オーバーレイ付き） */
.top__cta-item--contact {
  background-color: transparent;
  color: #ffffff;
  position: relative;
}

/* CTAセクションの問い合わせ項目のオーバーレイ（ライトグレー背景、ポインターイベント無効） */
.top__cta-item--contact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0 0 0 / 60%);
  z-index: 1;
  pointer-events: none;
}

/* CTAセクションの問い合わせ項目の子要素（z-index設定） */
.top__cta-item--contact > * {
  position: relative;
  z-index: 2;
}

/* CTAセクションの問い合わせ項目のテキスト（黒色） */
.top__cta-item--contact .top__cta-english {
  color: #ffffff;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
}

.top__cta-item--contact .top__cta-japanese {
  color: #ffffff;
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 400;
  text-align: center;
}

/* CTAセクションの資料DL項目（透明背景、黒文字、オーバーレイ付き） */
.top__cta-item--download {
  background-color: transparent;
  color: #ffffff;
  position: relative;
}

/* CTAセクションの資料DL項目のオーバーレイ（ライトグレー背景、ポインターイベント無効） */
.top__cta-item--download::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0 0 0 / 60%);
  z-index: 1;
  pointer-events: none;
}

/* CTAセクションの資料DL項目の子要素（z-index設定） */
.top__cta-item--download > * {
  position: relative;
  z-index: 2;
}

/* CTAセクションの資料DL項目のテキスト（黒色） */
.top__cta-item--download .top__cta-english,
.top__cta-item--download .top__cta-japanese {
  color: #ffffff;
}

/* CTAセクションのアイコン（中央揃え、ホバー時に変形） */
.top__cta-icon {
  margin-bottom: clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* CONTACT / SHOP の文字を囲む白枠ボックス */
.top__cta-text-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
  position: relative;
  z-index: 3;
}

/* 枠ボックス内ではアイコン下の余白をなくす */
.top__cta-text-box .top__cta-icon {
  margin-bottom: 0;
}

/* 英語・日本語テキストをそれぞれ個別の白枠で囲む */
.top__cta-item .top__cta-english,
.top__cta-item .top__cta-japanese {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  width: 100%;
}

.top__cta-item .top__cta-english {
  border: 1px solid #ffffff;
}

/* CTAセクションの問い合わせアイコン（黒色） */
.top__cta-icon--contact {
  color: #ffffff;
}

/* CTAセクションの資料DLアイコン（黒色） */
.top__cta-icon--download {
  color: #ffffff;
}

/* CTAセクションのアイコン内のSVG（レスポンシブサイズ） */
.top__cta-icon svg {
  width: clamp(40px, 6vw, 48px);
  height: clamp(40px, 6vw, 48px);
}

/* CTAセクションの英語テキスト（太字、レスポンシブフォントサイズ、中央揃え） */
.top__cta-english {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  margin-bottom: clamp(8px, 1.5vw, 12px);
  text-align: center;
}

/* CTAセクションの日本語テキスト（通常の太さ、レスポンシブフォントサイズ、中央揃え） */
.top__cta-japanese {
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 400;
  text-align: center;
  line-height: 1.6;
}

/* (max-width: 480px) 向けのレスポンシブ調整 */
@media (max-width: 480px) {
  /* 会社名タイトルのフォントサイズを縮小 */
  .about-page__company-title {
    font-size: 36px;
  }

  /* アクセス見出しも同様に縮小 */
  .about-page__access-title {
    font-size: 36px;
  }

  /* CTAカードを縦並び・可変高さに */
  .top__cta-container {
    flex-direction: column;
    height: auto;
  }
  
  /* 個々のCTAカードの高さを抑える */
  .top__cta-item {
    height: clamp(180px, 45vh, 240px);
  }
}

/* ===================== セクション汎用ボタン（トップページと同じスタイル） ===================== */
/* セクション汎用ボタン（ABOUTスクロールと同じテイスト） */
.top__section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  margin-top: 24px;
  margin-left: auto;
  padding: 12px 20px;
  border: 2px solid #333;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  width: fit-content;
  animation: slideLeftRight 2s ease-in-out infinite;
}

.top__section-link:hover {
  opacity: 0.8;
  background-color: rgba(0, 0, 0, 0.05);
  animation-play-state: paused;
}

.top__section-link__text {
  display: inline-block;
}

.top__section-link__arrow {
  display: inline-block;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.top__section-link:hover .top__section-link__arrow {
  transform: translateX(5px);
}

@keyframes slideLeftRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

/* ===================== Responsive (PC) ===================== */
@media (min-width: 1025px) {
  /* MISSION, VISION, VALUEセクションのPC版上部余白を調整 */
  .about-page__message-section.about-page__section--mission,
  .about-page__message-section.about-page__section--vision,
  .about-page__message-section.about-page__section--value {
    padding-top: 240px; /* 上部に大きな余白を追加 */
  }
}
