/* =========================================
   About Page
   worksページのCSSカラーに統一
========================================= */

.about-page {
  width: 100%;
  overflow-x: hidden;
  background: #fff;
  color: #0d1b2f;
}

.about-container {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.about-label {
  color: #009b83;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

/* =========================================
   Hero
========================================= */

.about-hero {
  background: #f1f8f5;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -60px;
  top: -60px;
  background: rgba(0, 155, 131, 0.12);
}

.about-hero-inner {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.25;
  color: #0d1b2f;
  margin: 0 0 24px;
}

.about-lead {
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.8;
  font-weight: 700;
  color: #0d1b2f;
  margin: 0 0 20px;
}

.about-hero-description {
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
  color: #0d1b2f;
}

.about-hero-image {
  background: #fff;
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about-hero-image img {
  width: 100%;
  min-height: 400px;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

/* =========================================
   Common Section
========================================= */

.about-section {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 86px 20px;
}

.about-bg,
.about-bg-soft {
  max-width: none;
  background: #f1f8f5;
}

.about-bg>*,
.about-bg-soft>* {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.about-two-column {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 40px;
  align-items: center;
}

.about-image-block {
  background: #f7fbf8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-radius: 16px;
}

.about-image-block img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.about-text-block h2,
.about-center h2,
.about-message-content h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.5;
  color: #0d1b2f;
  margin: 0 0 24px;
}

.about-text-block p,
.about-center p,
.about-message-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #0d1b2f;
  margin: 0 0 16px;
}

.about-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

/* =========================================
   Learning Cards
========================================= */

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  right: -34px;
  top: -34px;
  background: rgba(0, 155, 131, 0.12);
}

.about-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.about-card span {
  display: block;
  color: #009b83;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.about-card h3 {
  font-size: 22px;
  color: #0d1b2f;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}

.about-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #0d1b2f;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* =========================================
   Record
========================================= */

.about-record-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.record-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px 28px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.record-card:first-child {
  background: #0d1b2f;
}

.record-card:first-child strong,
.record-card:first-child p {
  color: #fff;
}

.record-card strong {
  display: block;
  font-size: 36px;
  line-height: 1.2;
  color: #009b83;
  font-weight: 700;
  margin-bottom: 16px;
}

.record-card p {
  color: #0d1b2f;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.record-card:first-child p {
  border-top-color: rgba(255, 255, 255, 0.24);
}

/* =========================================
   Collaboration Flow
========================================= */

.about-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.flow-item {
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.flow-item h3 {
  color: #009b83;
  font-size: 22px;
  margin: 0 0 12px;
}

.flow-item p {
  color: #0d1b2f;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* =========================================
   Program Steps
   探究プログラムの基本ステップ
========================================= */

.about-program-steps {
  background: #fff;
  padding-top: 56px;
  padding-bottom: 56px;
}

.about-program-steps .about-center {
  margin-bottom: 28px;
}

.program-step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 28px;
}

.program-step-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.program-step-head {
  background: #009b83;
  color: #fff;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  position: relative;
}


.program-step-head span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #009b83;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.program-step-head h3 {
  color: #fff;
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
}

.program-step-head p {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.program-step-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.program-step-body {
  background: #f1f8f5;
  padding: 18px 24px;
}

.program-step-body p {
  color: #0d1b2f;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  font-weight: 700;
}

/* =========================================
   Collaboration Diagram
   産官学民連携セクション
========================================= */

.about-collaboration-section {
  background: #f1f8f5;
  max-width: none;
  padding-top: 56px;
  padding-bottom: 56px;
}

.about-collaboration-section>* {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.about-collaboration-section .about-center {
  margin-bottom: 28px;
}

.collaboration-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  grid-template-areas:
    "government center school"
    "local center company";
  gap: 28px;
  margin-top: 28px;
  margin-left: 15px;
  margin-right: 15px;
  align-items: center;
}

.collab-card {
  background: #fff;
  border-radius: 28px;
  padding: 22px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px 24px;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.collab-card img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.collab-card h3 {
  color: #0d1b2f;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 4px;
}

.collab-card p {
  color: #0d1b2f;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
}

.collab-government {
  grid-area: government;
  border: 4px solid #8aa0b8;
}

.collab-school {
  grid-area: school;
  border: 4px solid #ffd85a;
}

.collab-local {
  grid-area: local;
  border: 4px solid #009b83;
}

.collab-company {
  grid-area: company;
  border: 4px solid #ff4f4f;
}

.collab-center {
  grid-area: center;
  width: 96px;
  height: 96px;
  background: #0d1b2f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.collab-map {
  margin-top: 48px;
  text-align: center;
}

/* =========================================
   About page heading size adjustment
   これまでの取り組みページに見出しサイズを合わせる
========================================= */

/* ファーストビューの大見出し */
.about-hero h1 {
  font-size: 38px;
  line-height: 1.35;
}

/* ファーストビューのリード文 */
.about-lead {
  font-size: 17px;
  line-height: 1.8;
}

/* 各セクションの大見出し */
.about-text-block h2,
.about-center h2,
.about-message-content h2 {
  font-size: 30px;
  line-height: 1.55;
}

/* PROGRAM STEPなどの英字ラベル */
.about-label {
  font-size: 12px;
}

/* 探究プログラムのステップ見出し */
.program-step-head h3 {
  font-size: 20px;
}

/* ステップ番号 */
.program-step-head span {
  font-size: 16px;
}

/* ステップの時期 */
.program-step-head p {
  font-size: 13px;
}

/* 4つの学びカードの見出し */
.about-card h3 {
  font-size: 20px;
}

/* 実績カードの数字 */
.record-card strong {
  font-size: 32px;
}

/* 連携カードの見出し */
.collab-card h3 {
  font-size: 24px;
}

/* 連携カードのサブテキスト */
.collab-card p {
  font-size: 16px;
}

/* flow-itemを使っている場合 */
.flow-item h3 {
  font-size: 20px;
}

/* Astraの余白に引っ張られる場合の補正 */
body .about-page {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   About Scheme Responsive
========================================= */

.about-scheme-visual {
  margin-top: 32px;
  text-align: center;
}

.about-scheme-visual img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.about-scheme-caption {
  display: none;
  font-size: 12px;
  color: #60706c;
  margin-top: 10px;
}

.about-scheme-mobile {
  display: none;
}

@media (max-width: 768px) {
  .about-scheme-visual {
    display: none;
  }

  .about-scheme-mobile {
    display: block;
    margin-top: 28px;
    padding: 4px 0;
  }

  .scheme-mobile-card {
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 0 0 22px 28px;
    box-shadow: none;
    border-left: 2px solid #009b83;
  }

  .scheme-mobile-card::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #009b83;
    border-radius: 50%;
  }

  .scheme-mobile-card span {
    display: block;
    color: #009b83;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }

  .scheme-mobile-card h3 {
    color: #0d1b2f;
    font-size: 18px;
    margin: 0 0 6px;
  }

  .scheme-mobile-card p {
    color: #0d1b2f;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
  }

  .scheme-mobile-center {
    background: transparent;
    border-left-color: #0d1b2f;
  }

  .scheme-mobile-center::before {
    background: #0d1b2f;
  }

  .scheme-mobile-center span {
    color: #0d1b2f;
  }

  .scheme-mobile-center h3,
  .scheme-mobile-center p {
    color: #0d1b2f;
  }

  .scheme-mobile-arrow {
    display: none;
  }

  .scheme-mobile-support {
    background: #f1f8f5;
    border-radius: 14px;
    padding: 14px 16px;
    color: #0d1b2f;
    font-size: 12px;
    line-height: 1.8;
    margin-top: 4px;
  }
}

/* =========================================
   About Mobile Final Override
   スマホ表示の安定化
========================================= */

@media (max-width: 768px) {

  /* 全体のはみ出し防止 */
  .about-page {
    overflow-x: hidden;
  }

  .about-container,
  .about-section,
  .about-collaboration-section>*,
  .about-bg>*,
  .about-bg-soft>* {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* セクション余白を統一 */
  .about-section,
  .about-program-steps,
  .about-collaboration-section {
    padding: 56px 20px;
  }

  .about-center {
    margin-bottom: 32px;
  }

  .about-center h2,
  .about-text-block h2,
  .about-message-content h2 {
    font-size: 24px;
    line-height: 1.55;
  }

  .about-center p,
  .about-text-block p,
  .about-message-content p {
    font-size: 14px;
    line-height: 1.9;
  }

  /* Hero */
  .about-hero {
    padding: 56px 20px;
  }

  .about-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-hero h1 {
    font-size: 26px;
    line-height: 1.45;
  }

  .about-lead {
    font-size: 16px;
    line-height: 1.8;
  }

  .about-hero-description {
    font-size: 14px;
    line-height: 1.9;
  }

  .about-hero-image {
    border-radius: 18px;
    padding: 10px;
  }

  .about-hero-image img {
    min-height: auto;
    height: auto;
    max-height: 340px;
    border-radius: 12px;
  }

  /* 2カラムは必ず1カラム */
  .about-two-column {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-image-block {
    padding: 16px;
    border-radius: 16px;
  }

  .about-image-block img {
    max-height: none;
  }

  /* 産官学民カード */
  .collaboration-diagram {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "government"
      "school"
      "local"
      "company";
    gap: 18px;
    margin: 28px 0 0;
  }

  .collab-center {
    display: none;
  }

  .collab-card {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .collab-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    margin: 0 0 12px;
  }

  .collab-card h3 {
    font-size: 18px;
    line-height: 1.45;
    margin: 0 0 4px;
  }

  .collab-card p {
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
  }

  /* 連携スキーム：スマホは画像非表示、HTML表示 */
  .about-scheme-visual {
    display: none;
  }

  .about-scheme-mobile {
    display: block;
    margin-top: 28px;
    padding: 0;
  }

  .scheme-mobile-card {
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 0 0 22px 28px;
    box-shadow: none;
    border-left: 2px solid #009b83;
  }

  .scheme-mobile-card::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #009b83;
    border-radius: 50%;
  }

  .scheme-mobile-card span {
    display: block;
    color: #009b83;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }

  .scheme-mobile-card h3 {
    color: #0d1b2f;
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 6px;
  }

  .scheme-mobile-card p {
    color: #0d1b2f;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
  }

  .scheme-mobile-center {
    background: transparent;
    border-left-color: #0d1b2f;
  }

  .scheme-mobile-center::before {
    background: #0d1b2f;
  }

  .scheme-mobile-center span,
  .scheme-mobile-center h3,
  .scheme-mobile-center p {
    color: #0d1b2f;
  }

  .scheme-mobile-arrow {
    display: none;
  }

  .scheme-mobile-support {
    background: #f1f8f5;
    border-radius: 14px;
    padding: 14px 16px;
    color: #0d1b2f;
    font-size: 12px;
    line-height: 1.8;
    margin-top: 4px;
  }

  /* 探究プログラムの基本ステップ */
  .program-step-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }

  .program-step-card {
    border-radius: 18px;
  }

  .program-step-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    padding: 12px 16px;
  }

  .program-step-head span {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .program-step-head h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  .program-step-head p {
    grid-column: 2;
    font-size: 12px;
  }

  .program-step-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }

  .program-step-body {
    padding: 16px;
  }

  .program-step-body p {
    font-size: 13px;
    line-height: 1.8;
  }

  /* 余計な横スクロール対策 */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* =========================================
   About Connect Scheme
   学校と社会を、学びでつなぐ
========================================= */

.about-connect-scheme-section {
  max-width: none;
}

.about-connect-scheme-section>* {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.about-connect-scheme {
  position: relative;
  display: grid;
  grid-template-columns: 260px 260px 260px;
  gap: 40px 120px;
  grid-template-areas:
    ". community ."
    "school center company"
    ". learning .";
  justify-content: center;
  align-items: center;
  margin-top: 44px;
  padding: 64px 52px;
  border-radius: 28px;
  background: #fbf8ef;
  overflow: hidden;
}

.about-connect-scheme::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 620px;
  height: 320px;
  transform: translate(-50%, -50%);
  border: 2px dashed rgba(0, 155, 131, 0.26);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.scheme-card,
.scheme-center {
  position: relative;
  z-index: 4;
}

.scheme-center {
  grid-area: center;
  justify-self: center;
  width: 220px;
  background: #7ed957;
  color: #0d1b2f;
  border-radius: 18px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  z-index: 5;
}

.scheme-center h3,
.scheme-center p {
  color: #0d1b2f;
}

/* カード共通 */
.scheme-card,
.scheme-center,
.scheme-keywords {
  position: relative;
  z-index: 3;
}

.scheme-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 24px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #009b83;
  width: 100%;
  box-sizing: border-box;
}

.scheme-school {
  grid-area: school;
  border-left-color: #0d3b78;
}

.scheme-community {
  grid-area: community;
  border-left-color: #009b83;
}

.scheme-company {
  grid-area: company;
  border-left-color: #b87942;
}

.scheme-learning {
  grid-area: learning;
  border-left-color: #e0a832;
}

.scheme-label {
  color: #8aa0b8;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px !important;
}

/* h3 + icon */
.scheme-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.scheme-title img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.scheme-title h3,
.scheme-card h3 {
  color: #0d1b2f;
  font-size: 21px;
  line-height: 1.4;
  margin: 0;
}

.scheme-card p {
  color: #0d1b2f;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.scheme-center p {
  color: #0d1b2f;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
  margin: 0;
}

/* =========================================
   Scheme Connection Lines
========================================= */

.scheme-line {
  position: absolute;
  z-index: 1;
  background: #0d1b2f;
  pointer-events: none;
}

/* 中央 → 地域 */
.scheme-line-top {
  width: 2px;
  height: 86px;
  left: 50%;
  top: calc(50% - 158px);
  transform: translateX(-50%);
}

/* 中央 → 学校 */
.scheme-line-left {
  height: 2px;
  width: 210px;
  right: calc(50% + 110px);
  top: 50%;
  transform: translateY(-50%);
}

.scheme-line-right {
  height: 2px;
  width: 210px;
  left: calc(50% + 110px);
  top: 50%;
  transform: translateY(-50%);
}

/* 中央 → 学びの場 */
.scheme-line-bottom {
  width: 2px;
  height: 86px;
  left: 50%;
  top: calc(50% + 72px);
  transform: translateX(-50%);
}

/* =========================================
   Scheme Keywords on Lines
========================================= */

.scheme-keywords {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.scheme-keyword {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d8ebe4;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

/* 上：地域とのつながり */
.scheme-keyword-top {
  left: 50%;
  top: calc(50% - 114px);
  transform: translateX(-50%);
  color: #009b83;
}

/* 左：本物の探究学習 */
.scheme-keyword-left {
  right: calc(50% + 122px);
  top: 50%;
  transform: translateY(-50%);
  color: #0d3b78;
}

.scheme-keyword-right {
  left: calc(50% + 122px);
  top: 50%;
  transform: translateY(-50%);
  color: #b87942;
}

/* 下：実践の場づくり */
.scheme-keyword-bottom {
  left: 50%;
  top: calc(50% + 103px);
  transform: translateX(-50%);
  color: #b87942;
}

/* =========================================
   About Page Mobile Final
========================================= */

@media (max-width: 768px) {

  /* 全体 */
  .about-page {
    width: 100%;
    overflow-x: hidden;
  }

  .about-page *,
  .about-page *::before,
  .about-page *::after {
    box-sizing: border-box;
  }

  .about-container,
  .about-section,
  .about-collaboration-section>*,
  .about-connect-scheme-section>*,
  .about-bg>*,
  .about-bg-soft>* {
    width: 100%;
    max-width: 100%;
  }

  /* セクション余白 */
  .about-section,
  .about-program-steps,
  .about-collaboration-section {
    padding: 52px 20px;
  }

  /* 見出し */
  .about-hero h1 {
    font-size: 26px;
    line-height: 1.45;
  }

  .about-center h2,
  .about-text-block h2,
  .about-message-content h2 {
    font-size: 23px;
    line-height: 1.55;
  }

  .about-lead {
    font-size: 16px;
  }

  .about-center p,
  .about-text-block p,
  .about-message-content p,
  .about-hero-description {
    font-size: 14px;
    line-height: 1.9;
  }

  /* Hero */
  .about-hero {
    padding: 48px 20px;
  }

  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-hero-image {
    padding: 10px;
    border-radius: 18px;
  }

  .about-hero-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    border-radius: 12px;
  }

  /* 2カラム */
  .about-two-column {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-image-block {
    padding: 14px;
  }

  /* 産官学民カード */
  .collaboration-diagram {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "government"
      "school"
      "local"
      "company";
    gap: 16px;
    margin: 28px 0 0;
  }

  .collab-center {
    display: none;
  }

  .collab-card {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 18px;
  }

  .collab-card img {
    width: 100%;
    height: 150px;
    margin-bottom: 12px;
    object-fit: cover;
    border-radius: 12px;
  }

  .collab-card h3 {
    font-size: 18px;
  }

  .collab-card p {
    font-size: 12px;
    line-height: 1.7;
  }

  /* プログラムステップ */
  .program-step-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .program-step-head {
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    padding: 12px 16px;
  }

  .program-step-head p {
    grid-column: 2;
  }

  .program-step-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
  }

  /* 画像 */
  .about-page img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 420px) {
  .scheme-keywords {
    grid-template-columns: 1fr;
  }
}

/* スマホでは「学校と社会を、学びでつなぐ」セクションを非表示 */
@media (max-width: 900px) {
  .about-connect-scheme-section {
    display: none !important;
  }
}

/*==============================
  Company
==============================*/

.about-company {

  padding: 50px 20px;
  background: #f8fcfa;

}

.about-company-inner {

  max-width: 900px;
  margin: auto;

}

.about-company-card {

  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .06);
  position: relative;

}

.about-company h2 {

  text-align: center;
  font-size: 34px;
  margin-bottom: 48px;
  color: #0d1b2f;

}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 9px;

}

.company-info p {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6efeb;
  line-height: 1.7;
}

.company-info p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.company-info strong {
  display: block;
  color: #009b83;
  font-size: 15px;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.company-info span{
    display:block;
    line-height:1.4;
}

.company-info a {

  color: #009b83;
  font-weight: 600;
  text-decoration: none;

}

.company-info a:hover {

  text-decoration: underline;

}

.company-button {

  margin-top: 50px;
  text-align: center;

}

.company-button a {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 42px;
  border-radius: 999px;
  background: #009b83;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: .3s;

}

.company-button a:hover {

  background: #007b69;
  transform: translateY(-2px);

}

@media(max-width:768px) {

  .about-company {

    padding: 70px 20px;

  }

  .about-company-card {

    padding: 40px 28px;

  }

  .about-company-card::before {

    top: 28px;
    bottom: 28px;

  }

  .about-company h2 {

    font-size: 28px;
    margin-bottom: 36px;

  }

  .company-info {

    gap: 22px;

  }

  .company-button {

    margin-top: 40px;

  }

  .company-button a {

    width: 100%;

  }

}