:root{
  --about-text:#000;
  --about-sub:#3e6f8d;
  --brand:#1f5275;
  --brand2:#2a86b6;
  --line:#2a86b6;
  --muted:#6c8aa3;
  --bg-soft:#e9f3f8; /* メッセージ背景の薄いブルー */
}

/* === 共通レイアウト === */
#about{
  scroll-margin: 100px;
}
.about {
  --pad: min(6vw,64px);
  color: var(--about-text);
}
.about-inner {
  max-width: 800px;
  margin: 0 auto; /* ← これで中央寄せ */
  padding: 4rem 16px 0;
}
/* === ヘッダー === */
.about-head {
  text-align: center;
}
.about-logo {
  width: clamp(140px, 14.38vw, 276px);
  height: auto;
  margin: 0 auto 10px;
}
.about-head-row {
  display: inline-flex; /* ロゴとタイトルの横並び */
  align-items: flex-end;
  gap: 8px;
}
.about-title {
  font-size: var(--f50);
  font-weight: 700;
  color: #1f5275;
  margin-bottom: 12px;
}

/* Dividerとキャッチコピー */
.about-divider {
  display: block;
  width: 100px;
  height: 10px;
  margin: 3.875rem auto 0;
  background: #3f8db6;
}
.about-catch {
  width: 90%;
  max-width: 397px;
  margin:  5.1rem auto 6.25rem;
}
/* === ひし形（ダイヤ）クリップ画像 === */
.about-hero-figure {
  width: 100%;
  max-width: 570px;
  margin: 0 auto 4.1rem;
  position: relative;
  aspect-ratio: 1 / 0.58;
  transform: translateZ(0);
}
.about-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 40%, 50% 100%, 0% 60%);
  filter: drop-shadow(0 12px 24px rgba(8,32,48,.15));
}

/* === 会社情報 === */
.about-info {
  max-width: 800px;
  margin: 0 auto 16.5rem;
  width: 90%;
}
.about-table {
  margin: 0 auto 18px;
}
.about-table .row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  padding: 1em 0;
  border-bottom: 1px solid #3E8FB3;
}

.about-table .row:last-child {
  border-bottom: none;
}

.about-table dt {
  font-weight: 500;
  letter-spacing: .06em;
  font-size: 22px;
}
.about-table dd {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.about-desc {
  text-align: center;
  line-height: 1.9;
  margin-top: 3.5rem;
  font-size: var(--f20);
  font-weight: 500;
  font-feature-settings: "palt";
}

/* === 代表メッセージ === */
.about-message {
  background: var(--bg-soft);
  padding: 13.1rem 16px;
}
.message-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.message-text{
  width: 120%;
}


/* 代表メッセージタイトル */
.message-title {
  font-size: var(--f50); /* スマホで32px、PCで最大50px */
  font-weight: 700;
  color: #0b2746;
  margin-bottom: 1.9rem;
  margin-top: 0;
}

.message-title .accent {
  color: #3f8db6; /* 「代表」部分をブルーに */
}

/* 下線 */
.message-divider {
 display: block;
  width: 100px;
  height: 10px;
  background: #3f8db6;
  margin-bottom: 5.1rem;
}

/* 役職・名前 */
.message-position {
  font-size: var(--f22);
  color: #000;
  font-weight: 500;
  margin-bottom: 2.75rem;
}
.message-name {
  font-size: var(--f50);
  font-weight: 700;
  color: #0b2746;
  margin-bottom: 2.75rem;
}

.message-role {
   font-size: var(--f22);
  color: #000;
  font-weight: 500;
  margin-bottom: 4rem;
}


.message-body {
  font-size: var(--f22);
  font-weight: 500;
  line-height: 2;
  color: #000;
  font-feature-settings: "palt";
  margin:0;
}

/* 画像ラッパ */
.message-image{
  display:flex;
  align-items:center;       /* 縦中央 */
  justify-content:center;   /* 横中央 */
} 

/* 画像サイズ制御：左の高さに追従しつつ上限を設ける */
.message-image img{
  height: 100%;             /* 左カラムの高さに追従 */
  max-height: clamp(320px, 35.83vw, 688px);  /* ← 上限キャップ（重要） */
  width: auto;              /* 比率維持 */
  object-fit: contain;      /* 切れを避けたいなら contain、より迫力なら cover */
}
  .message-sp-image {
    display: none;
  }


/* レスポンシブ（縦並び） */
@media (max-width: 768px) {

  #about{
  scroll-margin: 0;
}

  .about-logo {
    width: 29.3vw;
    height: auto;
    margin: 0 auto 10px;
  }

  .about-title{
    font-size: var(--f40);
  }

  .about-divider {
    display: block;
    width: 81px;
    margin: var(--f56) auto 0;
    background: #3f8db6;
  }

  .about-catch {
    max-width: 322px;
    margin: var(--f56) auto 13.28vw;
  }

  .about-hero-figure {
    width: 58%;
    margin-bottom: 9.93vw;
    min-width: 300px;
  }

  .about-message{
    padding: 90px 16px;
  }

  .message-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .message-image {
    display: none;
  }
  .message-sp-image img{
    height: auto !important;
    width: 90%;
    max-width: 360px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    margin-top: 6.93vw;
  }

  .message-sp-image{ display:block; text-align:center; margin: 32px 0; }
  .message-title {
    text-align: center;
    font-size: var(--f40);
  }
  .message-divider {
    display: block;
    width: 81px;
    margin: var(--f56) auto 0;
    background: #3f8db6;
  }

  .message-text {
    min-width: auto;
    width: 100%;
  }

  .message-position{
    margin-bottom: 0.75em;
    font-size: var(--f28);
  }

  .message-name{
    margin-top: 0;
    margin-bottom: calc(var(--f28)*0.75);
    font-size: var(--f50);
  }

  .message-body {
    font-size: var(--f28);
    text-align: start;
    display: flex;
    justify-content: center;
  }

  .about-table .row {
    display: grid;
    grid-template-columns: 6em 1fr;
    align-items: center;
    padding: 1em 0;
    border-bottom: 1px solid #3E8FB3;
  }
  .about-info{
    width: 82%;
    margin: 0 auto 8.5vw;
  }
  .about-table dt {
    font-size: var(--f28);
  }
  .about-table dd {
    font-size: var(--f28);
  }
  .about-desc {
    margin-bottom: 60px;
    font-size: var(--f28);
  }
}
