/*
 * outline.css — 会社概要ページ
 * クラスプレフィックス: ov-
 * カラーテーマ: くすみセージ・オリーブ・グレーベージュ（共通パレット）
 */

/* ==========================================================================
   CSS変数定義（.ov-wrap スコープ）
   ========================================================================== */
.ov-wrap {
  --ov-accent:    #585d3d; /* アクセント：ダークオリーブ（テキスト・ボーダー・ボタン） */
  --ov-muted:     #6b6b58; /* ミュート：サブテキスト */
  --ov-sub:       #a5a492; /* サブ：装飾ボーダーのみ */
  --ov-bg:        #eae9e6; /* ベース背景 */
  --ov-bg-card:   #ffffff; /* カード背景 */
  --ov-border:    #c8c9b5; /* テーブルボーダー */
  --ov-shadow:    rgba(88, 93, 61, 0.08);
  --ov-font:      "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --ov-radius:    10px;

  max-width: 900px;
  margin: 50px auto 0;
  padding: 20px;
  font-family: var(--ov-font);
  color: var(--ov-accent);
  line-height: 1.8;
  background: var(--ov-bg);
  box-sizing: border-box;
}

/* ==========================================================================
   セクション（カード型）
   ========================================================================== */
.ov-section {
  background: var(--ov-bg-card);
  padding: 28px 24px;
  border-radius: var(--ov-radius);
  box-shadow: 0 2px 10px var(--ov-shadow);
  margin-top: 20px;
}

.ov-section:first-child {
  margin-top: 0;
}

/* ==========================================================================
   見出し
   ========================================================================== */
.ov-h2 {
  font-size: 1.25rem !important;
  font-weight: 700;
  color: var(--ov-accent) !important;
  text-align: center;
  padding-bottom: 8px !important;
  border-bottom: 2px solid var(--ov-accent);
  margin: 0 0 20px !important;
  line-height: 1.5;
}

.ov-h2__sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ov-muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.ov-h3 {
  font-size: 1rem !important;
  font-weight: 700;
  color: var(--ov-accent) !important;
  margin: 20px 0 6px !important;
  padding-left: 10px;
  border-left: 3px solid var(--ov-sub);
}

/* ==========================================================================
   本文
   ========================================================================== */
.ov-p {
  font-size: 0.95rem;
  color: var(--ov-accent);
  margin: 0 0 12px !important;
  line-height: 1.85;
}

.ov-p:last-child {
  margin-bottom: 0 !important;
}

/* ==========================================================================
   会社概要テーブル
   ========================================================================== */
.ov-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 0;
  font-size: 0.93rem;
}

.ov-table th {
  background: var(--ov-accent);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 700;
  text-align: left;
  width: 28%;
  vertical-align: top;
  line-height: 1.6;
}

.ov-table td {
  border: 1px solid var(--ov-border);
  padding: 10px 14px;
  color: var(--ov-accent);
  vertical-align: top;
  line-height: 1.7;
}

.ov-table tr:nth-child(even) td {
  background: var(--ov-bg);
}

/* ==========================================================================
   リンク
   ========================================================================== */
.ov-wrap a {
  color: var(--ov-accent) !important;
  text-decoration: underline;
}

.ov-wrap a:hover {
  color: var(--ov-muted) !important;
}

/* ==========================================================================
   マップセクション
   ========================================================================== */
.ov-map {
  text-align: center;
  margin-top: 20px;
}

.ov-map__iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: var(--ov-radius);
  display: block;
}

/* ==========================================================================
   ナビゲーションハイライト（グローバルヘッダー）
   ========================================================================== */
.nav-outline a {
  background-color: var(--ov-accent);
}

/* ==========================================================================
   レスポンシブ（600px以下）
   ========================================================================== */
@media screen and (max-width: 600px) {
  .ov-wrap {
    margin-top: 20px;
    padding: 12px;
  }

  .ov-section {
    padding: 20px 16px;
  }

  .ov-h2 {
    font-size: 1.1rem !important;
  }

  .ov-table th {
    width: 32%;
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .ov-table td {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .ov-map__iframe {
    height: 300px;
  }
}
