/* ==================================
   ABOUT：Hero（ニチレクを知る）
   ================================== */

#about.mission.gradient {
  padding: clamp(72px, 9vw, 104px) 0;
}

#about .about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
}

#about .about-hero-copy {
  max-width: 640px;
}

#about .hero-kicker {
  margin-bottom: 10px;
}

#about .hero-title {
  margin-bottom: 12px;
}

#about .hero-main {
  display: inline-block;
}

#about .hero-sub {
  margin-bottom: 8px;
  font-size: .96rem;
}

#about .hero-lead {
  font-size: .96rem;
  line-height: 1.9;
}

.about-hero-visual {
  position: relative;
  justify-self: flex-end;
}


.about-hero-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 6px 12px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 999px;
  background: rgba(0,0,0,.54);
}

/* SP〜タブレット：縦並び */
@media (max-width: 960px) {
  #about .about-hero-inner {
    grid-template-columns: 1fr;
  }

  .about-hero-visual {
    justify-self: stretch;
  }

  .about-hero-photo img {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }
}

/* ==================================
   ABOUT：共通セクション見出し
   ================================== */

.section.philosophy,
#history.numbers-block,
.section.company-profile {
  padding-top: clamp(64px, 9vw, 90px);
  padding-bottom: clamp(64px, 9vw, 90px);
}

.section .sec-head,
#history .sec-head,
.company-profile .sec-head {
  margin-bottom: 28px;
}

.sec-head.sec-head-left {
  max-width: 720px;
}

/* ==================================
   ABOUT：HISTORY（あゆみ・タイムライン）
   ================================== */

#history {
  position: relative;
}

#history .wrap {
  position: relative;
}

/* 縦ライン＋カードのタイムライン */
.timeline {
  position: relative;
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

/* 中央のライン */
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 10px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(11,116,197,.18),
    rgba(71,212,120,.4)
  );
}

/* 1ステップ（年ごとのカード） */
.timeline-item {
  position: relative;
  margin-left: 34px;
  padding: 14px 18px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

/* 年号のラベル部分 */
.timeline-item h3 {
  position: relative;
  margin: 0 0 8px;
  font-size: 1rem;
  color: #12395e;
}

/* 左側のノード（丸） */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -24px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 3px solid #fff;
  background: linear-gradient(135deg, #47d478, #0b74c5);
  box-shadow: 0 0 0 4px rgba(255,255,255,.9),
              0 4px 10px rgba(0,0,0,.16);
}

/* テキスト */
.timeline-item p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.9;
}

/* 最後の「これから」はすこし強調 */
.timeline-item:last-child {
  background: linear-gradient(135deg, #fdfcf7, #f7f9ff);
}

/* SP用余白調整 */
@media (max-width: 600px) {
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    margin-left: 30px;
    padding: 12px 14px 14px;
  }

  .timeline-item::before {
    left: -21px;
  }
}

/* ==================================
   ABOUT：COMPANY PROFILE（会社概要）
   ================================== */

.company-profile {
  position: relative;
}

.company-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 3vw, 32px);
  align-items: flex-start;
}

/* 左側：会社概要テーブル */
.company-profile-main {
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.04);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.company-table th,
.company-table td {
  padding: 10px 8px;
  vertical-align: top;
}

.company-table th {
  width: 120px;
  font-weight: 700;
  color: #12395e;
  text-align: left;
  white-space: nowrap;
}

.company-table td {
  color: #444;
}

/* 罫線は行ごとにうっすら */
.company-table tr + tr th,
.company-table tr + tr td {
  border-top: 1px dotted #d4dde6;
}

/* 右側：写真ギャラリー */
.company-profile-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.company-photo {
  margin: 0;
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.03);
}

.company-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.company-photo figcaption {
  padding: 8px 12px 10px;
  font-size: .8rem;
  color: #666;
}

/* SP〜タブレット：縦並び */
@media (max-width: 960px) {
  .company-profile-grid {
    grid-template-columns: 1fr;
  }

  .company-profile-main {
    padding-inline: 18px;
  }

  .company-profile-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .company-profile-photos {
    grid-template-columns: 1fr;
  }
}

/* ================================
   ABOUT：PHILOSOPHY リスト強化
   ================================ */

/* ベースをリセットして、専用のマーカーだけにする */
.ph-points {
  margin: 16px 0 16px;
  padding: 0;
  list-style: none;
}

.ph-points li {
  /* list-style: disc;  ←削除 */
  /* padding-left: 1.2em; ←削除してOK（共通の li の余白を使う） */
  margin: 0 0 6px 0;
}

/* カスタムマーカー（ブランドカラーの丸） */
.ph-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 999px;
  background: linear-gradient(135deg, #47d478, #0b74c5);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.20);
}


/* ================================
   ABOUT：セクション全体のトーン調整
   ================================ */


/* 共通見出しの強弱調整 */
.section.philosophy .sec-head .eyebrow,
#history .sec-head .eyebrow,
.section.company-profile .sec-head .eyebrow {
  color: #0b74c5;
  letter-spacing: .14em;
}

.section.philosophy .sec-head .h2,
#history .sec-head .h2,
.section.company-profile .sec-head .h2 {
  letter-spacing: .04em;
}

/* 本文のコントラストを少しだけ高めて読みやすく */
.ph-block-text,
.timeline-item p,
.company-table td {
  color: #3f3f46;
}

/* =========================================
   ABOUT：スマホ表示の左右余白調整
   ========================================= */
@media (max-width: 768px) {
  .page-about .wrap {
    padding-inline: 24px; /* デフォルトより少し広めに */
  }
}

/* =========================================
   ABOUT HERO VISUAL：画像のはみ出し調整
   ========================================= */

.about-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ラッパーの固定高さをやめて、はみ出し防止 */
.about-hero-photo {
  width: min(360px, 100%);
  /* ここで高さは固定しない */
  border-radius: 16px;
  overflow: hidden; /* 画像のはみ出し防止 */
}

/* 画像をコンテナ幅にフィットさせる */
.about-hero-photo img {
  display: block;
  width: 100%;
  height: auto;      /* 自然な縦横比で表示 */
}

/* ラベル位置の微調整（必要に応じて） */
.about-hero-label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}


/* =========================================
   ABOUT：PHILOSOPHY / 01 原点セクション
   （テキストの強弱＋写真まわりブラッシュアップ）
   ========================================= */

/* キッカー＋タイトルまわり */
.ph-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent, #10a37f);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent, #10a37f);
  letter-spacing: 0.06em;
}

.ph-title {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* 箇条書き（ダブり防止＋カスタムマーカー） */
.ph-points {
  list-style: none;        /* デフォルトの●を消す */
  padding-left: 0;
  margin: 16px 0 20px;
}

.ph-points li {
  position: relative;
  padding-left: 1.5em;
  font-size: 0.95rem;
  line-height: 1.9;
  list-style: none;        /* ← ここを追加：黒丸を完全に消す */
}

.ph-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #18b28c, #5fd6b3);
}


/* 写真エリア：1〜2枚対応のグリッド */
.ph-block-media {
  flex: 0 0 40%;
  max-width: 420px;
}

.ph-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

/* 1枚の場合も2枚の場合も共通のカード表現 */
.ph-media-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(8, 33, 66, 0.08);
}

.ph-media-item img {
  display: block;
  width: 100%;
  height: auto;
}

.ph-media-item figcaption {
  font-size: 0.78rem;
  line-height: 1.7;
  padding: 8px 12px 10px;
  color: var(--text-soft, #607086);
}


/* スマホ：テキスト→写真の縦積みで余白広めに */
@media (max-width: 768px) {
  .ph-block.ph-block--01 {
    flex-direction: column;
  }

  .ph-block-media {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  .ph-media-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* 共通：画像ブロック全体 */
.ph-block-media {
  flex: 1;
  display: flex;
  align-items: stretch;
}

/* 共通：画像グリッド（01も02も同じレイアウトに） */
.ph-media-grid {
  display: grid;
  gap: 16px;
}

/* PCでは縦2枚（01・02どちらも） */
@media (min-width: 768px) {
  .ph-media-grid {
    grid-template-columns: 1fr; /* 1列で縦並び */
  }
}

/* スマホも1列（そのまま縦並び） */
@media (max-width: 767px) {
  .ph-media-grid {
    grid-template-columns: 1fr;
  }
}

/* 個々の画像ボックス：サイズ・比率を統一 */
.ph-media-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
  /* ★ここがポイント：01も02も同じアスペクト比にする */
  aspect-ratio: 4 / 3; /* お好みで 3/2 や 16/9 に変更可 */
}

/* 中の画像：必ずボックスいっぱいにフィットさせる */
.ph-media-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* キャプション */
.ph-media-item figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--color-muted, #777);
  line-height: 1.6;
}

/* =========================================
   ABOUT（会社を知る）ページ専用スタイル
   - デザイン言語は interview と共通
   - 背景はフラット（白）で統一
   ========================================= */

/* ページ全体：背景をフラットに */
.page-about main {
  background: #ffffff;
}

/* -----------------------------------------
   HERO：ニチレクを知る（interview と同系統）
   ----------------------------------------- */

.page-about #about {
  padding: 80px 0 72px;
}

.page-about .about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 40px;
  align-items: center;
}

.page-about .about-hero-copy .hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0b74c5;
  margin-bottom: 0.75rem;
}

.page-about .about-hero-copy .hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  line-height: 1.5;
}

.page-about .about-hero-copy .hero-sub {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  line-height: 1.9;
  color: #374151;
}

.page-about .about-hero-copy .hero-lead {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.9;
  color: #4b5563;
}

.page-about .about-hero-visual {
  position: relative;
}

/* PC：今までどおり（トリミングあり） */
.page-about .about-hero-photo img {
  display: block;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  object-fit: cover;
}

/* SP：図版が全部見えるようにする */
@media (max-width: 768px) {
  .page-about .about-hero-photo {
    /* 角丸の白いカードとして表示させたい場合 */
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
  }

  .page-about .about-hero-photo img {
    width: 100%;
    height: auto;          /* 高さは画像比率にまかせる */
    object-fit: contain;   /* 枠内にぜんぶ収める */
    object-position: center center;
    box-shadow: none;      /* 影が二重ならここでオフにしてOK */
  }
}

/* 共通（PC・SP） */
.page-about .about-hero-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 6px 16px;
  border-radius: 999px;

  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  background: rgba(15, 23, 42, 0.85);  /* 濃いネイビー系 */
  color: #f9fafb;                      /* 白に近い文字色 */
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);

  z-index: 2;
  margin: 0;
}


/* SP レイアウト（HERO） */
@media (max-width: 960px) {
  .page-about #about {
    padding: 56px 0 56px;
  }

  .page-about .about-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-about .about-hero-label {
    position: static;
    margin-top: 0.6rem;
    font-size: 1.2rem;
    text-align: right;
  }
}
/* スマホ微調整 */
@media (max-width: 768px) {
  .page-about .about-hero-label {
    left: 14px;
    bottom: 14px;
    padding: 5px 14px;
    font-size: 0.72rem;
  }
}
/* =========================================
   PHILOSOPHY｜ニチレクの原点とこれから
   ========================================= */

.section.philosophy {
  padding: 72px 0 72px;
  background: transparent; /* フラット背景 */
}

.section.philosophy .sec-head-left {
  text-align: left;
  margin-bottom: 12px;
}

.section.philosophy .sec-head-left .h2 {
  margin-bottom: 8px;
}

.section.philosophy .sec-head-left .sub {
  max-width: 640px;
}

/* ブロック共通レイアウト */
.ph-block {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.ph-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.ph-block--reverse {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr);
}

.ph-block-text {
  text-align: left;
}

.ph-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 6px;
}

.ph-title {
  font-size: 1.18rem;
  margin: 0 0 14px;
}

.ph-block-text p {
  margin: 0 0 12px;
  font-size: 0.97rem;
  line-height: 1.9;
  color: #374151;
}

.ph-points {
  margin: 0 0 12px 0;
  padding-left: 0;
  list-style: none;
}

.ph-points li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 4px;
  font-size: 0.94rem;
  line-height: 1.8;
  color: #374151;
}

.ph-points li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.2em;
  font-size: 0.55em;
  color: #0b74c5;
}

/* 画像エリア */
.ph-block-media {
  text-align: right;
}

.ph-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  justify-items: flex-end;
}

.ph-media-item {
  max-width: 420px;
}

.ph-media-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  object-fit: cover;
}

.ph-media-item figcaption {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #6b7280;
}

/* 3つのR リスト */
.ph-3r-list {
  margin: 8px 0 10px;
}

.ph-3r-row {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 2px;
  font-size: 0.94rem;
  line-height: 1.9;
  margin-bottom: 6px;
}

.ph-3r-row dt {
  font-weight: 700;
  color: #0f172a;
}

.ph-3r-row dd {
  margin: 0;
}


/* 3つのR カード（03 宿・店・家〜 の右側） */
.page-about .ph-3r-card {
  max-width: 520px;          /* PCではほどよい横幅で */
  width: 100%;               /* 親幅にフィットさせる */
  margin: 16px auto 0;       /* 中央寄せ（SPでもはみ出し防止） */
  padding: 40px 24px;
  border-radius: 32px;
  box-sizing: border-box;

  /* ほんのりグラデ＆影でカード感 */
  background:
    radial-gradient(circle at 10% 10%, rgba(180, 225, 255, 0.25), transparent 60%),
    radial-gradient(circle at 90% 90%, rgba(255, 236, 200, 0.35), transparent 60%),
    #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);

  display: flex;
  align-items: center;        /* 上下中央 */
  justify-content: center;    /* 左右中央 */
  text-align: center;
}

/* テキスト本体 */
.page-about .ph-3r-card-label {
  margin: 0;
  font-size: 1.4rem;          /* 文字を大きめに */
  line-height: 1.8;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #0f172a;
}

/* 「R」だけ少しアクセントカラー */
.page-about .ph-3r-card-label span {
  color: #146c72;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .page-about .ph-3r-card {
    padding: 32px 18px;
    border-radius: 24px;
    max-width: 100%;       /* 画面幅いっぱい、はみ出し防止 */
    margin-inline: 0 auto; /* 左端そろえ＋右は自動でも可。中央にしたければ auto auto */
  }

  .page-about .ph-3r-card-label {
    font-size: 1.2rem;     /* SP用に少しだけ落としてバランス調整 */
    line-height: 1.7;
  }
}



/* OUR MISSION 帯 */
.ph-mission {
  margin-top: 36px;
}

.ph-mission-inner {
  border-radius: 20px;
  padding: 26px 22px;
  background: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.35);
  text-align: left;
}

.ph-mission-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 6px;
}

.ph-mission-title {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.ph-mission-text {
  margin: 0 0 8px;
  font-size: 0.97rem;
  line-height: 1.9;
  color: #374151;
}

/* SP レイアウト（PHILOSOPHY） */
@media (max-width: 768px) {
  .section.philosophy {
    padding: 56px 0 56px;
  }

  .ph-block,
  .ph-block--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 32px 0;
  }

  .ph-block-media {
    text-align: left;
  }

  .ph-media-item {
    max-width: 100%;
  }

  .ph-media-item img {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    border-radius: 14px;
  }

  .ph-mission-inner {
    padding: 22px 18px;
    border-radius: 16px;
  }
}

/* =========================================
   HISTORY｜ニチレクのあゆみ（タイムライン）
   ========================================= */

.numbers-block {
  padding: 72px 0 80px;
  background: transparent;
}

.numbers-block .sec-head.center {
  text-align: center;
}

.numbers-block .cards.timeline {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}

/* 縦ライン */
.numbers-block .cards.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(11, 116, 197, 0.18),
    rgba(11, 116, 197, 0.45),
    rgba(11, 116, 197, 0.12)
  );
}

/* 各カード */
.numbers-block .cards.timeline .card {
  position: relative;
  margin-left: 26px;
  padding: 1.4rem 1.6rem 1.4rem 2.3rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.numbers-block .cards.timeline .card::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 1.4rem;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid #0b74c5;
  box-shadow: 0 0 0 4px rgba(11, 116, 197, 0.22);
}

.numbers-block .cards.timeline .card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #0b3f6a;
}

.numbers-block .cards.timeline .card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.9;
  color: #374151;
}

.numbers-block .cards.timeline .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

/* SP レイアウト（HISTORY） */
@media (max-width: 960px) {
  .numbers-block {
    padding: 56px 0 64px;
  }

  .numbers-block .cards.timeline {
    margin-top: 2.4rem;
  }

  .numbers-block .cards.timeline::before {
    left: 14px;
  }

  .numbers-block .cards.timeline .card {
    margin-left: 22px;
    padding: 1.2rem 1.4rem 1.2rem 2.1rem;
  }

  .numbers-block .cards.timeline .card::before {
    left: -22px;
    top: 1.2rem;
    width: 12px;
    height: 12px;
  }
}

/* =========================================
   COMPANY PROFILE｜会社概要
   ========================================= */

.section.company-profile {
  padding: 72px 0 64px;
  background: transparent;
}

.company-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: flex-start;
  margin-top: 28px;
}

/* テーブル */
.company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 9px;
  font-size: 0.95rem;
}

.company-table th,
.company-table td {
  padding: 10px 14px;
  vertical-align: top;
}

.company-table th {
  width: 7.5em;
  white-space: nowrap;
  font-weight: 600;
  color: #0f172a;
  background: #e0f2fe;
  border-radius: 11px 0 0 11px;
}

.company-table td {
  background: #f9fafb;
  border-radius: 0 11px 11px 0;
  line-height: 1.9;
  color: #374151;
}

/* セル内強調 */
.company-table td strong {
  font-weight: 600;
  color: #0f172a;
}

/* 写真カラム */
.company-profile-photos {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.company-photo {
  margin: 0;
}

.company-photo img {
  display: block;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 180px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.company-photo figcaption {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #64748b;
}

/* SP レイアウト（COMPANY PROFILE） */
@media (max-width: 960px) {
  .company-profile-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .company-table th,
  .company-table td {
    padding: 9px 11px;
  }

  .company-photo img {
    max-height: none;
    border-radius: 14px;
  }

  .company-profile-photos {
    max-width: 420px;
    margin-inline: auto;
  }
}

/* =========================================
   FAQ（about 内のブロック）微調整
   - ベーススタイルは cleaned.css 側を想定
   ========================================= */

#faq {
  padding: 72px 0 80px;
  background: transparent;
}

#faq .panel {
  margin-top: 24px;
}

#faq .link {
  margin-top: 24px;
  text-align: center;
}

#faq .link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: #ffffff;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

#faq .link a:hover {
  background: #f0fdf4;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.16);
  transform: translateY(-1px);
}

/* SP 調整（FAQ） */
@media (max-width: 768px) {
  #faq {
    padding: 56px 0 64px;
  }

  #faq .link a {
    width: 100%;
  }
}
