/**
 * @file
 * 静的ページ専用CSS
 *
 * D10 memberテーマ（Bootstrap Barrio）のスタイルを補完し、
 * 静的ページ固有のデザイン微調整を行う。
 *
 * body.path-static をスコープとして使用し、
 * Drupal側のページに影響を与えない。
 */

/* ==========================================================================
   ベースレイアウト調整
   ========================================================================== */

body.path-static {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* メインコンテンツ領域 */
body.path-static #main-wrapper {
  padding-top: 20px;
  padding-bottom: 40px;
}

body.path-static #main {
  max-width: 1200px;
}

body.path-static main.col-md-9 {
  flex: 0 0 100%;
  max-width: 100%;
}

/* ==========================================================================
   ヘッダー調整
   ========================================================================== */

body.path-static #header .navbar {
  padding: 0 15px;
}

body.path-static .navbar-brand img {
  max-height: 40px;
}

/* サブナビゲーション */
body.path-static .menu--sub-navigation .nav {
  gap: 0;
}

body.path-static .menu--sub-navigation .nav-link {
  font-size: 14px;
  padding: 8px 12px;
}

/* 検索フォーム */
body.path-static #block-member-article-fulltext-search-block-1 .form-control {
  height: 36px;
  font-size: 14px;
}

body.path-static #block-member-article-fulltext-search-block-1 .btn {
  height: 36px;
  font-size: 14px;
}

/* ログイン・登録ボタン */
body.path-static #block-member-login .login {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

body.path-static #block-member-login .login li a {
  font-size: 13px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ==========================================================================
   パンくずリスト
   ========================================================================== */

body.path-static .breadcrumb-static {
  font-size: 13px;
  color: #666;
  padding: 10px 0;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
}

body.path-static .breadcrumb-static a {
  color: #0066cc;
  text-decoration: none;
}

body.path-static .breadcrumb-static a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   コンテンツ共通
   ========================================================================== */

/* ページタイトル（D7の .newsTitle 互換） */
body.path-static .newsTitle {
  border-bottom: 2px solid #c31b1b;
  margin-bottom: 20px;
  padding-bottom: 8px;
}

body.path-static .newsTitle h2 {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* サブタイトル */
body.path-static .ShoppingSubTitle,
body.path-static .static-subtitle {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  border-left: 4px solid #c31b1b;
  padding-left: 10px;
  margin: 25px 0 15px;
}

/* 本文ブロック（D7の .Copy 互換） */
body.path-static .Copy {
  margin-bottom: 25px;
  padding: 15px 0;
  overflow: hidden;
}

body.path-static .Copy p {
  margin-bottom: 12px;
  line-height: 1.8;
}

body.path-static .Copy img {
  max-width: 100%;
  height: auto;
}

body.path-static .Copy .float_right {
  float: right;
  margin: 0 0 15px 20px;
}

/* リンクスタイル */
body.path-static .section a {
  color: #0066cc;
  text-decoration: none;
}

body.path-static .section a:hover {
  text-decoration: underline;
  color: #004499;
}

/* ==========================================================================
   テーブル
   ========================================================================== */

body.path-static .section table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

body.path-static .section table th,
body.path-static .section table td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  text-align: left;
}

body.path-static .section table th {
  background-color: #f5f5f5;
  font-weight: bold;
}

/* ==========================================================================
   ショッピング系ボタン（D7互換）
   ========================================================================== */

body.path-static .shopping__button {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

body.path-static .shopping__button__area a {
  display: inline-block;
  background-color: #c31b1b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.2s;
}

body.path-static .shopping__button__area a:hover {
  background-color: #a01515;
  color: #fff;
  text-decoration: none;
}

/* ==========================================================================
   注意書きリスト（D7の #ShopingAttention 互換）
   ========================================================================== */

body.path-static #ShopingAttention,
body.path-static .static-attention-list {
  list-style: none;
  padding: 15px;
  margin: 20px 0;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 4px;
}

body.path-static #ShopingAttention li,
body.path-static .static-attention-list li {
  font-size: 14px;
  line-height: 1.8;
  padding: 2px 0;
}

/* ==========================================================================
   フッター調整
   ========================================================================== */

body.path-static .site-footer {
  margin-top: 40px;
}

body.path-static .site-footer .footer__copyright_bottom_menu h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: capitalize;
}
body.path-static .site-footer__top.clearfix .region-footer-fourth {
  display: contents;
}

body.path-static .site-footer .footer__copyright_bottom_menu ul {
  margin: 0;
  padding: 0;
}
body.path-static .site-footer .footer__copyright_bottom_menu ul li {
  list-style: none;
  display: inline-block;
  font-size: 1rem;
  margin: 0 0.9rem 0.9rem 0;
  padding-right: 0.9rem;
  border-right: solid 1px #c2c2c2;
}
/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 991px) {
  body.path-static .navbar-brand img {
    max-height: 32px;
  }

  body.path-static .menu--sub-navigation .nav-link {
    font-size: 12px;
    padding: 6px 8px;
  }

  body.path-static #block-member-login .login li a {
    font-size: 11px;
    padding: 4px 8px;
  }

  body.path-static .newsTitle h2 {
    font-size: 18px;
  }

  body.path-static .Copy .float_right {
    float: none;
    margin: 0 0 15px 0;
    text-align: center;
  }

  body.path-static .shopping__button {
    flex-direction: column;
  }

  body.path-static .shopping__button__area a {
    display: block;
    text-align: center;
  }
}

@media (max-width: 576px) {
  body.path-static #main-wrapper {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  body.path-static .newsTitle h2 {
    font-size: 16px;
  }

  body.path-static .ShoppingSubTitle,
  body.path-static .static-subtitle {
    font-size: 16px;
  }

  body.path-static .Copy {
    padding: 10px 0;
  }
}
