#company-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 50px;
  }

  #company-overview .company-image img {
    width: 100%; /* 適宜サイズ調整 */
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    padding: 0 10px;
  }

  #company-overview .company-header-center {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
  }

  #company-overview .company-header {
    font-size: var(--fs__5l);
    font-weight: bold;
    margin-bottom: 10px;
  }
  .company-image.slideshow {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 21 / 10; /* ✅ 高さを指定 */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
  }

  /* 各スライド画像 */
  .company-image.slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* ✅ 親（aspect-ratioあり）の中で100% */
    object-fit: cover;
    border-radius: 10px;
    opacity: 0;
    animation: crossFade 12s infinite ease-in-out;
  }

  /* アニメーションの遅延 */
  .company-image.slideshow .slide:nth-child(1) {
    animation-delay: 0s;
  }
  .company-image.slideshow .slide:nth-child(2) {
    animation-delay: 6s;
  }

  @keyframes crossFade {
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    45%  { opacity: 1; }
    55%  { opacity: 0; }
    100% { opacity: 0; }
  }




  /* 📱 796px以下で縦長に */
@media screen and (max-width: 768px) {
    .company-image img {
      width: 100%;
      max-width: 100%;
      height: 600px; /* Google Map に合わせて縦長に */
      object-fit: cover; /* トリミングしつつ美しく表示 */
      border-radius: 10px;
    }
  }

  .greeting-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
  }

  /* ご挨拶セクション：縦書きと横書きの横並び */
  .greeting-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
  }

  .vertical-title {
    writing-mode: vertical-rl;
    font-size: var(--fs__5l);
    font-weight: bold;
    margin: 0;
  }

  .greeting-messages {
    display: flex;
    flex-direction: column; /* 🔥 縦並びにする */
    gap: 20px; /* 🔥 各メッセージの間にスペースを取る */
  }


  .greeting-message {
    font-size: var(--fs__l);
    line-height: 1.8;
    text-align: left;
    max-width: 600px;
  }

  .ceo-info {
    display: flex;
    align-items: center;
    justify-content: center; /* ← 中央配置のために追加 */
    gap: 20px;
    margin: 40px 0; /* 適宜余白 */
  }


  .ceo-image {
    width: 150px;
    height: auto;
    border-radius: 50%;
  }

  .ceo-name {
    font-size: var(--fs__m);
    font-weight: bold;
  }

  /* レスポンシブ対応 */
  @media screen and (max-width: 768px) {
    .greeting-container {
      flex-direction: column;
      align-items: center;
    }

    .vertical-title {
      writing-mode: horizontal-tb;
      text-align: center;
    }

    .greeting-message {
      font-size: var(--fs__l);
      text-align: left;
      max-width: 100%;
      padding: 0 20px;
    }

    .ceo-info {
      flex-direction: column;
      text-align: center;
    }
  }

  @media screen and (max-width: 599px) {

    .greeting-message {
      font-size: var(--fs__m);
      padding: 0 16px;
    }
  }


  .company-info-section {
    padding: 0px 20px;
    background-color: #fff;
  }

  /* h2中央配置 */
  .company-info-section .features-header-center {
    font-size: var(--fs__5l);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
  }

  /* テーブル全体を中央に＆最大幅制限 */
  .company-table-container {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
  }

  /* テーブル基本スタイル */
  .company-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    text-align: left;
  }

  .company-table tr:first-child th,
  .company-table tr:first-child td {
    border-top: 1px solid #ccc;
  }


  .company-table th,
  .company-table td {
    padding: 25px;
    border-bottom: 1px solid #ccc;
    font-size: var(--fs__1l);
  }

  .company-table th {
    width: 30%;
    background: #004d67;
    color: #fff;
  }

  .company-table td a {
    color: #004d67;
    text-decoration: underline;
    word-break: break-all;
  }

  @media screen and (max-width: 768px) {
    .company-table,
    .company-table tbody,
    .company-table tr,
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .company-table {
        min-width: unset;
      }

    .company-table tr {

        border-bottom: none;
    }

    .company-table th
    .company-table td {
        font-size: 16px;
        padding: 10px;
        border-bottom: none;
    }


  }
  .map-section {
    padding: 60px 20px;
    text-align: center; /* h2 も iframe も中央に */
    background-color: #fff;
  }

  .map-title {
    font-size: var(--fs__5l);
    font-weight: bold;
    margin-bottom: 40px;
  }

  .map-container {
    max-width: 800px;
    margin: 30px auto;
  }

  .map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
    transition: height 0.3s ease;
  }

  /* 📱 レスポンシブ対応：768px未満でマップを縦長に */
  @media screen and (max-width: 768px) {
    .map-container iframe {
      height: 600px;
    }
  }
