@charset "UTF-8";
/* ==========================================================================
   株式会社FEA ホームページ
   会社概要ページ（company-overview.html）専用のスタイル
   --------------------------------------------------------------------------
   もとは company-overview.html の <head> に直接書かれていたスタイルです。
   CSP から style-src 'unsafe-inline' を外すため、2026-09 に外部ファイル化しました。

   当初は HTML に書かれていた順番で company-overview-1.css / company-overview-2.css と
   機械的に分けていましたが、名前から中身が分からないため、
   2026-09-18 に1ファイルへまとめました。

   修正するときは、HTML ではなくこのファイルを編集してください。
   ========================================================================== */

header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
header.scrolled {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
header:not(.scrolled) nav ul li a {
  color: #ffffff;
  text-shadow: none;
}
header:not(.scrolled) nav ul li > a::after {
  background: #ffffff;
}
header:not(.scrolled) .logo img {
  filter: none;
}
header:not(.scrolled) .hamburger span {
  background: #ffffff;
}
header:has(nav ul li.has-dropdown:hover) {
  background: #ffffff;
}
header:has(nav ul li.has-dropdown:hover) nav ul li a {
  color: rgba(0,0,0,0.88);
  text-shadow: none;
}
header:has(nav ul li.has-dropdown:hover) .logo img {
  filter: none;
}
:root {
      --c-navy:        #1a1a1a;
      --c-blue:        #444444;
      --c-dark:        #0d1f3c;
      --c-bg:          #ffffff;
      --c-bg-mid:      #f5f5f5;
      --c-bg-hi:       #e8e8e8;
      --c-border:      rgba(0,0,0,0.10);
      --c-gold:        #1a1a1a;
      --c-gold-bright: #c8960a;
      --c-mid:         rgba(0,0,0,0.45);
      --c-text:        #1a1a1a;
      --c-text-sub:    rgba(0,0,0,0.55);
    }
html { overflow-x: hidden; }
body { font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif; color: #1a1a1a; background: #ffffff; overflow-x: hidden; }
.logo { text-align: center; }
@media (max-width: 768px) {
  .page-content { padding-bottom: 260px; }
}
/* ===== ヒーロー〜会社情報：固定背景画像（フッターの不透明背景で自然に隠れる） ===== */
.co-bg-img {
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      z-index: 0;
    }
.co-bg-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.15);
      z-index: 0;
    }
.page-hero {
      margin-top: 0;
      padding: 160px 8vw 40px;
      min-height: 210px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: transparent;
      color: #ffffff;
      position: relative;
      z-index: 1;
      box-sizing: border-box;
    }

.page-hero h1, .page-hero .hero-sub, .page-hero .breadcrumb {
      position: relative;
      z-index: 1;
    }
.page-hero .breadcrumb { font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; letter-spacing: 0.1em; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: #c8960a; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: 0.15em; margin-bottom: 6px; font-weight: 300; color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 4px 20px rgba(0,0,0,0.4); }
.page-hero .hero-sub { font-size: 0.78rem; color: #e8c96a; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 400; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.page-content {
      position: relative;
      z-index: 1;
      max-width: 1300px; margin: 0 auto;
      padding: 32px 8vw 100px;
    }
.company-info-container {
      display: block;
      margin-bottom: 60px;
    }

.company-info-content {
      display: flex;
      flex-direction: column;
      gap: 20px;
      background: rgba(20,20,20,0.4);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.3);
      border: 1px solid rgba(255,255,255,0.14);
    }
@media (max-width: 768px) {
  .company-info-container {
        grid-template-columns: 1fr;
        gap: 40px;
      }
}
@media (max-width: 640px) {
  .company-info-content,
      .map-section {
        padding: 24px 18px;
      }
  .page-content {
        padding: 30px 5vw 70px;
      }
  .section-heading {
        font-size: 0.88rem;
        letter-spacing: 0.2em;
        gap: 12px;
        margin-bottom: 16px;
      }
  .officer-list li {
        font-size: 1.05rem;
        font-weight: 700;
      }
}
.section-heading {
      font-size: 1rem; letter-spacing: 0.3em; color: #fff;
      font-weight: 700; margin-bottom: 20px; text-transform: uppercase;
      display: flex; align-items: center; gap: 16px;
      text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }
.section-heading::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.25); }
.info-table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 70px;
      box-shadow: none;
      border-radius: 8px;
      overflow: hidden;
      background: transparent;
      table-layout: fixed;
    }
.info-table tr { transition: background 0.2s, opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.info-table tr:hover td { background: rgba(255,255,255,0.06); }
.info-table th, .info-table td {
      padding: 28px 32px;
      text-align: left;
      vertical-align: top;
      font-size: 1.2rem;
      font-weight: 700;
      font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
      line-height: 2.0;
      border-bottom: 1px solid rgba(255,255,255,0.14);
      word-break: break-word;
      overflow-wrap: break-word;
    }
.info-table th {
      width: 190px;
      background: rgba(255,255,255,0.06);
      color: #fff;
      font-weight: 700;
      letter-spacing: 0.1em;
      font-size: 1.2rem;
      white-space: nowrap;
      border-bottom: 1px solid rgba(255,255,255,0.14);
      position: relative;
    }
.info-table th::after {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 4px; height: 100%;
      background: #c8960a;
    }
.info-table td {
      color: #f0f2f6;
      background: transparent;
      text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    }
/* 売上高の内訳など、項目の下に添える補足行 */
.info-table td .info-sub {
      margin-top: 4px;
      padding-left: 1em;
      text-indent: -1em;
      font-size: 0.86em;
      font-weight: 600;
      line-height: 1.7;
      color: rgba(240,242,246,0.78);
    }
/* 内訳の出し分け。既定（641px以上）は1行の書き方だけを見せる。
   スマートフォン用の3行表示は、下の @media (max-width: 640px) で入れ替えます。 */
.info-table td .info-sub-sp { display: none; }
.info-table tr:last-child th,
    .info-table tr:last-child td { border-bottom: none; }
.info-table tr:first-child th { border-top: 3px solid #1a3a6e; }

/* ===== 各項目のスライドイン ===== */
.info-row {
      opacity: 0;
      transform: translateX(-70px);
    }
.info-row.is-visible { opacity: 1; transform: translateX(0); }
.info-row:nth-child(1) { transition-delay: 0s; }
.info-row:nth-child(2) { transition-delay: 0.06s; }
.info-row:nth-child(3) { transition-delay: 0.12s; }
.info-row:nth-child(4) { transition-delay: 0.18s; }
.info-row:nth-child(5) { transition-delay: 0.24s; }
.info-row:nth-child(6) { transition-delay: 0.30s; }
.info-row:nth-child(7) { transition-delay: 0.36s; }
.info-row:nth-child(8) { transition-delay: 0.42s; }
.info-row:nth-child(9) { transition-delay: 0.48s; }
.info-row:nth-child(10) { transition-delay: 0.54s; }
.info-table tr:first-child td { border-top: 3px solid rgba(0,0,0,0.15); }
@media (max-width: 900px) {
  .info-table th, .info-table td {
        padding: 22px 24px;
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1.85;
      }
  .info-table th { width: 150px; }
}
@media (max-width: 640px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td {
        display: block;
        width: 100%;
      }
  .info-table {
        border: 1px solid rgba(0,0,0,0.12);
      }
  .info-table tr {
        border-bottom: 1px solid rgba(0,0,0,0.12);
      }
  .info-table tr:last-child { border-bottom: none; }
  .info-table tr:first-child th { border-top: none; }
  .info-table tr:first-child td { border-top: none; }
  .info-table th {
        white-space: normal;
        padding: 12px 16px 12px 22px;
        font-size: 1.05rem;
        font-weight: 700;
        letter-spacing: 0.08em;
      }
  .info-table th::after { width: 4px; }
  .info-table td {
        padding: 16px 18px 22px;
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.8;
        border-bottom: none;
      }

  /* 売上高の内訳（スマートフォンだけ3行表示）
     ------------------------------------------------------------------
     「※内訳」を見出しの1行、その下に名称と金額を2行。
     grid の1列目を max-content にしているので、名称の長さが
     変わっても金額の開始位置は自動でそろいます。
     行を増やすときは HTML に
       <span class="isb-name">名称</span><span class="isb-val">金額</span>
     を1組ずつ足してください。 */
  .info-table td .info-sub-pc { display: none; }
  .info-table td .info-sub-sp {
        display: grid;
        grid-template-columns: minmax(0, max-content) max-content;
        column-gap: 0.6em;
        row-gap: 2px;
        padding-left: 0;
        text-indent: 0;
        margin-top: 8px;
        line-height: 1.6;
      }
  .info-table td .info-sub-sp .isb-head {
        grid-column: 1 / -1;
        margin-bottom: 2px;
      }
  .info-table td .info-sub-sp .isb-name { padding-left: 0.8em; }
  .info-table td .info-sub-sp .isb-val { white-space: nowrap; }
}

/* 画面が特に狭い端末向けの微調整。
   内訳の文字を少しずつ小さくして、「名称＋金額」が1行に収まるように
   しています。文字の大きさを変えたいときはここの数字を直してください。
   （小さくしすぎて収まらなくなった場合も、名称が折り返すだけで
     はみ出しはしません。金額の開始位置もそろったままです。） */
@media (max-width: 400px) {
  .info-table td .info-sub-sp {
        font-size: 0.80em;
        column-gap: 0.5em;
      }
  .info-table td .info-sub-sp .isb-name { padding-left: 0.6em; }
}
@media (max-width: 355px) {
  .info-table td .info-sub-sp { font-size: 0.70em; }
}
.officer-list { list-style: none; }
.officer-list li {
      display: flex; gap: 2em;
      font-size: 1.2rem; font-weight: 700;
      font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
      line-height: 2;
    }
.officer-list .role { color: rgba(255,255,255,0.6); flex-shrink: 0; min-width: 130px; font-weight: 700; }
.officer-list .name { color: #ffffff; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.address-break { display: none; }
@media (max-width: 640px) {
  .address-break { display: inline; }
}
.map-section { 
      margin-bottom: 0;
      background: rgba(20,20,20,0.4);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.3);
      border: 1px solid rgba(255,255,255,0.14);
    }
.map-wrapper {
      width: 100%;
      height: 420px;
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 8px;
      overflow: hidden;
      background: #eee;
    }
.map-wrapper iframe {
      width: 100%; height: 100%; border: none; display: block;
    }
.map-caption {
      margin-top: 12px;
      font-size: 0.78rem; color: rgba(255,255,255,0.7); letter-spacing: 0.06em;
    }
.map-caption a { color: #e8c96a; text-decoration: none; }
.map-caption a:hover { text-decoration: underline; }
@media (max-width: 540px) {
  .officer-list li { flex-direction: column; gap: 0; }
  .officer-list .role { min-width: unset; }
  .map-wrapper { height: 300px; }
}
@media (max-width: 480px) {
  
  body { overflow-x: hidden; }
}
@media (max-width: 480px) {
  .page-hero {
        padding: 50px 6vw 26px;
      }
  
  .page-hero h1 {
        font-size: 2rem;
        line-height: 1.5;
      }
  .page-hero .hero-sub {
        font-size: 0.68rem;
        letter-spacing: 0.2em;
      }
}

/* ==========================================================================
   ここから下は、もと company-overview-2.css にあった指定です
   （company-overview.html の <head> の2つめの <style> ブロック）
   ========================================================================== */

.co-insurer-breakdown { display: flex; flex-direction: column; gap: 4px; }
.co-insurer-breakdown-item {
      display: flex; align-items: center; gap: 4px;
      cursor: pointer; width: fit-content;
      border-bottom: 1px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }
.co-insurer-breakdown-item:hover { color: #e8c96a; border-bottom-color: #e8c96a; }
.co-insurer-breakdown-item .co-ib-label { min-width: 8.5em; }
.co-insurer-breakdown-item .co-ib-num { font-weight: bold; }
.co-clickable-link { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.co-clickable-link:hover { color: #e8c96a; border-bottom-color: #e8c96a; }
.co-clickable-link .co-link-arrow { font-size: 0.9em; }
.co-note-outside { text-align: right; font-size: 0.86rem; color: rgba(255,255,255,0.6); margin-top: 6px; }

.ins-modal-overlay {
      display: none;
      position: fixed; inset: 0;
      background: rgba(20,20,20,0.55);
      z-index: 3000;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
.ins-modal-overlay.open { display: flex; }
.ins-modal {
      background: #fff;
      width: 100%;
      max-width: 860px;
      max-height: 80vh;
      display: flex;
      flex-direction: column;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3);
      border-radius: 4px;
      overflow: hidden;
    }
.ins-modal-header {
      background: #1a3a6e;
      color: #fff;
      padding: 18px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
    }
.ins-modal-header h3 {
      font-size: 1.12rem;
      font-weight: 600;
      letter-spacing: 0.1em;
    }
.ins-modal-close {
      background: none; border: none;
      color: rgba(255,255,255,0.7);
      font-size: 1.57rem; cursor: pointer;
      line-height: 1; padding: 0;
      transition: color 0.2s;
    }
.ins-modal-close:hover { color: #fff; }
.ins-modal-body {
      overflow-y: auto;
      padding: 20px 24px;
      flex: 1;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 14px;
    }
.ins-modal-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 18px 14px;
      border: 1px solid #eef2f8;
      border-radius: 8px;
      background: #fff;
      transition: box-shadow 0.2s, border-color 0.2s;
    }
.ins-modal-item:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.1); border-color: rgba(42,90,171,0.3); }
/* ロゴ画像は使用許可取得まで一時非表示（許可後はこの1行を削除してください） */
.ins-modal-logo {
      display: none;
    }
.ins-modal-name {
      font-size: 0.74rem;
      color: #222;
      letter-spacing: 0.02em;
      text-align: center;
      line-height: 1.4;
    }
.ins-modal-name-link {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      width: 100%;
      height: 100%;
      font-size: 0.74rem;
      text-decoration: none;
      color: #2a5aab;
      text-align: center;
      line-height: 1.4;
      transition: color 0.2s;
    }
.ins-modal-name-link:hover { color: #1a3a6e; }
/* 各社サイトへのリンクは使用許可取得まで一時停止（許可後はこの1行を削除してください） */
.ins-modal-name-link {
      pointer-events: none;
      cursor: default;
      color: #222;
    }
.ins-modal-name-link:hover { color: #222; }
@media (min-width: 761px) {
  .ins-modal-overlay.open { padding: 0; }
  .ins-modal {
        width: 100vw;
        height: 100vh;
        max-width: none;
        max-height: none;
        border-radius: 0;
      }
  .ins-modal-header { padding: 24px 40px; flex-shrink: 0; }
  .ins-modal-header h3 { font-size: 1.4rem; }
  .ins-modal-close { font-size: 2rem; }
  .ins-modal-body {
        padding: 40px 48px 60px;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
      }
}
footer { position: relative; z-index: 1; }
