/* CSS変数定義 - color_blue.cssとの統一 */
:root {
    --col-main: #0D66FC;
    --primary-inverse-color: #fff;
    --col-accent: #fffa1e;
}

.fp-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    align-items: flex-start;
}

/* .fp-videoがない場合の調整 */
.fp-layout:not(:has(.fp-video)) {
    align-items: center;
    justify-content: center;
}

/* .fp-videoがない場合のナビゲーション幅調整 */
.fp-layout:not(:has(.fp-video)) .fp-nav {
    max-width: 600px;
}

@media screen and (min-width:900px) {
  .fp-layout {
    flex-direction: row;
  }
  
  /* .fp-videoがない場合は縦配置を維持 */
  .fp-layout:not(:has(.fp-video)) {
    flex-direction: column;
  }
}

.fp-video {
    width: 100%;
}

.fp-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
}

.fp-nav {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    align-content: start;
    width: 100%;
}

.fp-card {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    aspect-ratio: 1; /* 正方形 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.fp-card:hover {
    border-color: var(--col-main);
    box-shadow: 0 4px 12px rgba(13, 102, 252, 0.15);
}

.fp-card a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    height: 100%;
    width: 100%;
    padding: 1rem;
    gap: 10px;
    transition: all 0.3s ease;
    color: inherit;
}

.fp-card a:hover {
    color: inherit;
}

.fp-card img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 100%;
    object-fit: contain;
}

.fp-card h3 {
    margin: 0 !important;
    font-size: clamp( 14px, calc( 13.268292682926829px + 0.1951219512195122vw ), 16px ) !important;
    font-weight: normal;
    color: #333;
}

/* WordPressエディタが追加する余分なタグを調整 */
.fp-card p {
    display: block;
    margin: 0;
    width: 60%;
}
.fp-card br {
    display: none;
}

@media screen and (min-width:600px) {
  .fp-nav {
      grid-template-columns: repeat(4, 1fr);
  }
  
  /* .fp-videoがない場合のナビゲーション幅調整 */
  .fp-layout:not(:has(.fp-video)) .fp-nav {
    max-width: 800px;
  }
  
  /*.fp-video {
      flex: 1;
      min-width: 0;
  }*/
}
@media screen and (min-width:900px) {
  .fp-nav {
    flex: 0 0 400px; /* より小さく固定 */
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* .fp-videoがない場合は4列表示を維持 */
  .fp-layout:not(:has(.fp-video)) .fp-nav {
    flex: none;
    max-width: 800px;
    grid-template-columns: repeat(4, 1fr);
  }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* スクロール位置の調整 */
:target {
    scroll-margin-top: 20px; /* スクロール先の上部に余白を追加 */
}

/* アンカーリンクのスクロール調整 */
[id] {
    scroll-margin-top: 20px; /* ID要素の上部に余白を追加 */
}

.rentacar_free_tab {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
}

/* 各タブリンクのスタイル - ボタン風 */
.rentacar_free_tab a,
.rentacar_free_tab span {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    min-height: 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* タブホバー効果 */
.rentacar_free_tab a:hover {
    background-color: #f5f5f5;
    color: var(--col-main);
    border-color: #2271b1;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* アクティブタブ（現在のページ）のスタイル */
.rentacar_free_tab a.active,
.rentacar_free_tab span.active {
    background-color: var(--col-main);
    color: var(--primary-inverse-color);
    border-color: var(--col-main);
    cursor: default;
    font-weight: 500;
}

/* Q&Aページ用のスタイル */
.rentacar_free_tab_qa .rentacar_free_tab a:nth-child(1),
.rentacar_free_tab_qa .rentacar_free_tab a:nth-child(2),
.rentacar_free_tab_qa .rentacar_free_tab a:nth-child(3),
.rentacar_free_tab_qa .rentacar_free_tab a:nth-child(4) {
    /* How-toページへのリンクに変更 */
}

.rentacar_free_tab_qa .rentacar_free_tab a:nth-child(1)::after { content: ""; }
.rentacar_free_tab_qa .rentacar_free_tab a:nth-child(2)::after { content: ""; }
.rentacar_free_tab_qa .rentacar_free_tab a:nth-child(3)::after { content: ""; }
.rentacar_free_tab_qa .rentacar_free_tab a:nth-child(4)::after { content: ""; }

.rentacar_free_tab_qa .rentacar_free_tab a:nth-child(5) {
    background-color: var(--col-main);
    color: var(--primary-inverse-color);
    border-color: var(--col-main);
    cursor: default;
    font-weight: 500;
    pointer-events: none;
}

/* brタグを非表示 */
.rentacar_free_tab br {
    display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .rentacar_free_tab {
        gap: 6px;
    }
    
    .rentacar_free_tab a,
    .rentacar_free_tab span {
        font-size: 13px;
        padding: 8px 12px;
        min-height: 36px;
    }
}

@media (max-width: 480px) {
    .rentacar_free_tab {
        flex-direction: column;
        gap: 4px;
    }
    
    .rentacar_free_tab a,
    .rentacar_free_tab span {
        font-size: 13px;
        padding: 10px 12px;
        min-height: 40px;
    }
}

/* 追加のアクセシビリティ対応 */
.rentacar_free_tab a:focus {
    outline: 2px solid var(--col-main);
    outline-offset: 2px;
}

/* 印刷時の調整 */
@media print {
    .rentacar_free_tab {
        border: none;
        background: none;
    }
    
    .rentacar_free_tab a {
        border: none;
        background: none;
        color: #000;
        text-decoration: underline;
    }
}

/**
 * 加盟事業者一覧用スタイルシート
 * 
 * @package Add_Rentacar_Layouts
 * @since 1.0.0
 */

/* あかさたなナビゲーション */
.furiganalink {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    gap: 0.5rem;
}

.furiganalink li {
    margin: 0;
}

.furiganalink a {
    display: inline-block;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
}

.furiganalink a:hover {
    background: #eee;
    border-color: #ccc;
    opacity: 1;
}

/* 加盟事業者グループ */
.member-group {
    margin-bottom: 2rem;
}

.member-group-heading {
    background: #f7f7f7;
    border: 1px solid #dee2e6;
    border-radius: 6px 6px 0 0;
    margin: 0 0 0 0;
    font-weight: 600;
    color: #666;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
}

.member-group-body {
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

/* テーブルのカスタマイズ */
.member-group-body .ta1 {
    margin-bottom: 0;
    border-radius: 0;
}

.member-group-body .ta1 td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #dee2e6;
    display: block;
    vertical-align: top;
}
.member-group-body .ta1 tr td:first-child {
  background-color: #f7f7f7;
}

.member-group-body .ta1 tr:last-child td {
    border-bottom: none;
}

/* ウェブサイトリンクアイコン */
.weblink {
    color: var(--col-main);
    margin-left: 0.25rem;
}

/* 説明文 */
.arl-members-description {
    margin-bottom: 1.5rem;
}

.arl-members-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media screen and (min-width: 768px) {
  .furiganalink {
      gap: 0.5rem;
  }
  .furiganalink a {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
  }
  .member-group-heading {
      padding: 0.75rem 1rem;
      font-size: 1.1rem;
    }
  .member-group-body .ta1 td {
    display: revert;
  }
  .member-group-body .ta1 tr td:first-child {
    background-color: inherit;
  }
}
/* 画面幅900px以上の追加指定 */
@media screen and (min-width: 900px) {
  .furiganalink {
      gap: 0.75rem;
  }

  .furiganalink a {
      padding: 0.6rem 1.2rem;
      font-size: 1rem;
  }
}

/*free-edit-container 内で使うtitle*/
.free-ttl01 {
  background-color: #f3f3f3;
  padding: 1rem;
  margin: 0rem !important;
}

.free-ttl02 {
  border-bottom: 2px solid #e0e0e0 !important;
  padding: 0.75rem 0 !important;
  margin: 1rem 0 !important;
  font-weight: 500 !important;
  color: #333 !important;
  background: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/*事業者一覧　詳細ページ
---------------------------------------------------------------------------*/
.business-detail .access-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.business-detail .access-info dd {
  border-bottom: none;
}
.business-detail .access-info .access-info-item {
  border-bottom: #ddd 1px dotted;
}

/*言語切り替えリンク
---------------------------------------------------------------------------*/
.language-switcher {
  position: absolute;
  top: -10px;
  right: 60px;
  z-index: 100;
  display: flex;
  gap: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  height: 50px;
  align-items: center;
  animation: opa1 0.3s 0.5s both;
}

.language-switcher a {
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  color: #666;
}

.language-switcher a:hover {
  background-color: #fff;
  border-color: var(--col-main, #0D66FC);
  color: var(--col-main, #0D66FC);
  transform: translateY(-1px);
}

/* 現在の言語（スパンタグ）のスタイル */
.language-switcher .current-lang {
  display: inline-block;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--col-main, #0D66FC);
  background-color: var(--col-main, #0D66FC);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(13, 102, 252, 0.2);
  cursor: default;
}

/* 旧スタイル（aタグ）も残しておく - 互換性のため */
.language-switcher a.current-lang {
  background-color: var(--col-main, #0D66FC);
  color: #fff;
  font-weight: 600;
  border-color: var(--col-main, #0D66FC);
  box-shadow: 0 1px 3px rgba(13, 102, 252, 0.2);
  cursor: default;
}

.language-switcher a.current-lang:hover {
  transform: none;
  background-color: var(--col-main, #0D66FC);
  color: #fff;
}

/* 900px以上で言語切り替えの位置とスタイル調整 */
@media screen and (min-width: 900px) {
  .language-switcher {
    top: -10px;
    right: 55px;
    font-size: 0.875rem;
    gap: 3px;
  }
  
  .language-switcher a {
    padding: 6px 12px;
  }
  
  /* デスクトップでの現在の言語（スパンタグ）のスタイル */
  .language-switcher .current-lang {
    padding: 6px 12px;
  }
  
  .language-switcher a.current-lang {
    padding: 6px 12px;
  }
}

/* free-table01 リスト形式レスポンシブスタイル
---------------------------------------------------------------------------*/
.free-table01 {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* モバイルファースト - カード形式でリスト表示 */
.free-table01 tbody {
  display: block;
}

.free-table01 tr {
  display: block;
  background: #fff;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.free-table01 tr:last-child {
  margin-bottom: 0;
}

/* ヘッダー行は非表示（モバイル） */
.free-table01 .free-table01-th {
  display: none;
}

.free-table01 td {
  display: block;
  padding: 0.4rem 1rem;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 40%;
  text-align: left;
}

.free-table01 td:last-child {
  border-bottom: none;
}

/* データラベルを疑似要素で追加 */
.free-table01 td:nth-child(1)::before {
  content: "事業者名";
  position: absolute;
  left: 1rem;
  top: 0.4rem;
  font-weight: 600;
  color: #666;
  font-size: 0.75rem;
  width: 35%;
}

.free-table01 td:nth-child(2)::before {
  content: "サービス内容";
  position: absolute;
  left: 1rem;
  top: 0.4rem;
  font-weight: 600;
  color: #666;
  font-size: 0.75rem;
  width: 35%;
}

.free-table01 td:nth-child(3)::before {
  content: "お問合せ";
  position: absolute;
  left: 1rem;
  top: 0.4rem;
  font-weight: 600;
  color: #666;
  font-size: 0.75rem;
  width: 35%;
}

/* リンクスタイル */
.free-table01 td a {
  color: var(--col-main);
  text-decoration: none;
  word-break: break-all;
  font-size: 0.75rem;
}

.free-table01 td a:hover {
  text-decoration: underline;
}

/* タブレット以上（768px以上）でテーブル表示に戻す */
@media screen and (min-width: 768px) {
  .free-table01 tbody {
    display: table-row-group;
  }
  
  .free-table01 tr {
    display: table-row;
    margin-bottom: 0;
    box-shadow: none;
    border-radius: 0;
  }
  
  .free-table01 .free-table01-th {
    display: table-row;
    background: #f7f7f7;
  }
  
  .free-table01 .free-table01-th th {
    padding: 0.5rem;
    color: #666;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid #dee2e6;
    font-size: 0.85rem;
  }
  
  .free-table01 .free-table01-th th:last-child {
    border-right: none;
  }
  
  .free-table01 td {
    display: table-cell;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    vertical-align: top;
  }
  
  .free-table01 td:last-child {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  
  .free-table01 tr:last-child td {
    border-bottom: none;
  }
  
  /* 疑似要素を非表示 */
  .free-table01 td::before {
    display: none;
  }
  
  .free-table01 td a {
    font-size: 0.8rem;
  }
}

/* デスクトップ（900px以上）での追加調整 */
@media screen and (min-width: 900px) {
  .free-table01 {
    font-size: 0.9rem;
  }
  
  .free-table01 .free-table01-th th {
    padding: 0.65rem;
    font-size: 0.9rem;
  }
  
  .free-table01 td {
    padding: 0.65rem;
  }
  
  .free-table01 td a {
    font-size: 0.9rem;
  }
}
/* free-table02 - 基本情報テーブル用スタイル */
.free-table02 {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.free-table02 th {
  background: #f7f7f7;
  color: #666;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  font-size: 0.85rem;
  width: 30%;
  vertical-align: top;
}

.free-table02 td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #dee2e6;
  font-size: 0.85rem;
  line-height: 1.5;
  vertical-align: top;
}

.free-table02 tr:last-child th,
.free-table02 tr:last-child td {
  border-bottom: none;
}

/* モバイル対応 - スタック表示 */
@media screen and (max-width: 767px) {
  .free-table02 {
    font-size: 0.8rem;
  }
  
  .free-table02 tbody {
    display: block;
  }
  
  .free-table02 tr {
    display: block;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
  }
  
  .free-table02 tr:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .free-table02 th,
  .free-table02 td {
    display: block;
    width: 100%;
    border-right: none;
    border-bottom: none;
    padding: 0.25rem 0.5rem;
  }
  
  .free-table02 th {
    background: none;
    font-weight: 600;
    color: #666;
    font-size: 0.75rem;
    padding-bottom: 0.1rem;
  }
  
  .free-table02 td {
    font-size: 0.8rem;
    padding-top: 0;
    padding-bottom: 0.5rem;
  }
}

/* タブレット以上での調整 */
@media screen and (min-width: 768px) {
  .free-table02 th {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .free-table02 td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}


/* free-table03 - 区分対応表テーブル用スタイル
---------------------------------------------------------------------------*/
.free-table03 {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
}

.free-table03 th {
  background: #f7f7f7;
  color: #666;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  vertical-align: middle;
}

/* 最初の行のヘッダー */
.free-table03 tbody tr:first-child th {
  background: #eee;
  font-size: 0.9rem;
}

/* 区分列のスタイル */
.free-table03 tbody tr th:first-child {
  background: #f7f7f7;
  width: 80px;
  text-align: center;
  font-size: 1rem;
  color: var(--col-main);
}

.free-table03 td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  line-height: 1.5;
  vertical-align: top;
}

.free-table03 th:last-child,
.free-table03 td:last-child {
  border-right: none;
}

.free-table03 tr:last-child th,
.free-table03 tr:last-child td {
  border-bottom: none;
}

/* モバイル対応 - カード形式表示 */
@media screen and (max-width: 767px) {
  .free-table03 {
    font-size: 0.75rem;
    box-shadow: none;
  }
  
  .free-table03 tbody {
    display: block;
  }
  
  /* ヘッダー行は非表示 */
  .free-table03 tbody tr:first-child {
    display: none;
  }
  
  .free-table03 tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #fff;
  }
  
  .free-table03 tr:last-child {
    margin-bottom: 0;
  }
  
  .free-table03 tbody tr th:first-child {
    display: block;
    width: 100%;
    background: var(--col-main);
    color: var(--primary-inverse-color);
    font-size: 1.1rem;
    padding: 0.5rem;
    text-align: center;
    border-right: none;
    border-bottom: 2px solid var(--col-main);
  }
  
  .free-table03 td {
    display: block;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.5rem 0.75rem;
    position: relative;
    padding-left: 35%;
  }
  
  .free-table03 td:last-child {
    border-bottom: none;
  }
  
  /* データラベルを疑似要素で追加 */
  .free-table03 td:nth-child(2)::before {
    content: "運転可能車両";
    position: absolute;
    left: 0.75rem;
    top: 0.5rem;
    font-weight: 600;
    color: #666;
    font-size: 0.7rem;
    width: 30%;
    line-height: 1.4;
  }
  
  .free-table03 td:nth-child(3)::before {
    content: "必要な免許";
    position: absolute;
    left: 0.75rem;
    top: 0.5rem;
    font-weight: 600;
    color: #666;
    font-size: 0.7rem;
    width: 30%;
    line-height: 1.4;
  }
}

/* タブレット以上での調整 */
@media screen and (min-width: 768px) {
  .free-table03 th {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .free-table03 tbody tr:first-child th {
    font-size: 0.95rem;
  }
  
  .free-table03 tbody tr th:first-child {
    font-size: 1.1rem;
  }
  
  .free-table03 td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

/* デスクトップでの追加調整 */
@media screen and (min-width: 900px) {
  .free-table03 {
    font-size: 0.9rem;
  }
  
  .free-table03 th {
    padding: 0.85rem 1.2rem;
  }
  
  .free-table03 tbody tr:first-child th {
    font-size: 1rem;
    padding: 1rem 1.2rem;
  }
  
  .free-table03 tbody tr th:first-child {
    width: 100px;
    font-size: 1.2rem;
  }
  
  .free-table03 td {
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* nation-table - 加盟国リストテーブル用スタイル
---------------------------------------------------------------------------*/
.nation-table-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.nation-table,
.tb_style {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  flex: 1 1 100%;
}

/* nation-table-wrapper内のテーブルのみ横並び対象 */
.nation-table-wrapper .nation-table,
.nation-table-wrapper .tb_style {
  margin: 0;
}

.nation-table th,
.tb_style th {
  background: #f7f7f7;
  color: #666;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  vertical-align: middle;
  height: 2.5rem;
  line-height: 1.5;
}

.nation-table th:last-child,
.tb_style th:last-child {
  border-right: none;
}

.nation-table td,
.tb_style td {
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  line-height: 1.5;
  vertical-align: middle;
  font-size: 0.85rem;
}

.nation-table td:last-child,
.tb_style td:last-child {
  border-right: none;
}

.nation-table tr:last-child td,
.tb_style tr:last-child td {
  border-bottom: none;
}

/* 五十音見出し行のスタイル */
.nation-table .bg_or,
.tb_style .bg_or {
  background: #f0f4f8;
  color: #666;
  font-weight: 500;
  text-align: center;
  font-size: 0.85rem;
}

.nation-table td.bg_or,
.tb_style td.bg_or {
  border-right: 1px solid #e0e4e8;
}

/* モバイル対応 - スタック表示 */
@media screen and (max-width: 767px) {
  .nation-table-wrapper {
    flex-direction: column;
  }
  
  .nation-table-wrapper .nation-table,
  .nation-table-wrapper .tb_style {
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .nation-table-wrapper .nation-table:last-child,
  .nation-table-wrapper .tb_style:last-child {
    margin-bottom: 0;
  }
  
  .nation-table th,
  .tb_style th {
    padding: 0.5rem;
    font-size: 0.8rem;
    height: auto;
  }
  
  .nation-table td,
  .tb_style td {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .nation-table .bg_or,
  .tb_style .bg_or {
    font-size: 0.8rem;
    padding: 0.4rem;
  }
}

/* タブレット（768px以上）で2列表示 */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .nation-table-wrapper {
    flex-direction: row;
  }
  
  .nation-table-wrapper .nation-table,
  .nation-table-wrapper .tb_style {
    flex: 1 1 calc(50% - 0.5rem);
    width: calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }
  
  .nation-table th,
  .tb_style th {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .nation-table td,
  .tb_style td {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* デスクトップ（1200px以上）で3列表示 */
@media screen and (min-width: 1200px) {
  .nation-table-wrapper {
    flex-direction: row;
  }
  
  .nation-table-wrapper .nation-table,
  .nation-table-wrapper .tb_style {
    flex: 1 1 calc(33.333% - 0.667rem);
    width: calc(33.333% - 0.667rem);
    max-width: calc(33.333% - 0.667rem);
  }
  
  .nation-table th,
  .tb_style th {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .nation-table td,
  .tb_style td {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .nation-table .bg_or,
  .tb_style .bg_or {
    font-size: 0.9rem;
    padding: 0.6rem;
  }
}

/* ワイドスクリーン（1600px以上）で4列表示オプション */
@media screen and (min-width: 1600px) {
  .nation-table-wrapper.wide-layout .nation-table,
  .nation-table-wrapper.wide-layout .tb_style {
    flex: 1 1 calc(25% - 0.75rem);
    width: calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
  }
}

/* ホバー効果 */
.nation-table tr:not(:has(.bg_or)):hover,
.tb_style tr:not(:has(.bg_or)):hover {
  background-color: #f8f9fa;
  transition: background-color 0.2s ease;
}

/* 印刷時の調整 */
@media print {
  .nation-table,
  .tb_style {
    box-shadow: none;
    border: 1px solid #dee2e6;
    page-break-inside: avoid;
  }
  
  .nation-table .bg_or,
  .tb_style .bg_or {
    background: #ddd !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* 画像とリストの横並びレイアウト
---------------------------------------------------------------------------*/
.content-with-image {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.content-with-image .image-section {
  flex: 0 0 auto;
  width: 100%;
}

.content-with-image .image-section img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  object-fit: contain;
}

.content-with-image .content-section {
  flex: 1;
}

.content-with-image .content-section ol {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.content-with-image .content-section ol li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.content-with-image .content-section p {
  margin: 0.5rem 0 0 0;
  font-size: 0.85rem;
  color: #666;
}

/* タブレット以上で横並び表示 */
@media screen and (min-width: 768px) {
  .content-with-image {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .content-with-image .image-section {
    flex: 0 0 300px;
    width: 300px;
  }
  
  .content-with-image .content-section {
    flex: 1;
    min-width: 0;
  }
  
  .content-with-image .content-section ol li {
    font-size: 1rem;
  }
  
  .content-with-image .content-section p {
    font-size: 0.9rem;
  }
}

/* デスクトップでの調整 */
@media screen and (min-width: 900px) {
  .content-with-image {
    gap: 2.5rem;
  }
  
  .content-with-image .image-section {
    flex: 0 0 320px;
    width: 320px;
  }
  
  .content-with-image .image-section img {
    max-width: 320px;
  }
}

/* === BEGIN add-rentacar-layouts/assets/css/frontend.css === */
/**
 * Add Rentacar Layouts
 * 
 * @package Add_Rentacar_Layouts
 * @since 1.0.0
 */

.rental-members {
    margin: 40px 0;
}

.member-navigation {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 5px;
}

.member-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.member-navigation li {
    display: inline-block;
}

.member-navigation a {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.member-navigation a:hover {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
}

.member-group {
    margin-bottom: 40px;
}

.member-group h3 {
    padding: 10px;
    background: #f0f0f0;
    border-left: 4px solid #0D66FC;
    margin-bottom: 20px;
}

.member-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.member-table th,
.member-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.member-table th {
    background: #f8f8f8;
    font-weight: bold;
}

.member-table tr:hover {
    background: #f5f5f5;
}

.rental-providers {
    margin: 40px 0;
}

.provider-search-form {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.provider-search-form select {
    padding: 8px;
    margin: 0 10px 10px 0;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.provider-search-form button {
    padding: 8px 20px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.provider-search-form button:hover {
    background: #005a87;
}

.provider-item {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: #fff;
}

.provider-item h3 {
    margin-top: 0;
    color: #333;
}

.provider-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.provider-meta-item {
    display: flex;
    align-items: center;
}

.provider-meta-item strong {
    min-width: 80px;
    margin-right: 10px;
}

.provider-single {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.provider-single h1 {
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.provider-details {
    margin-bottom: 30px;
}

.provider-details dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 15px;
}

.provider-details dt {
    font-weight: bold;
    color: #555;
}

.provider-details dd {
    margin: 0;
}

/* 掲示板・会報レイアウト - シンプルデザイン */

/* カラー変数の定義 */
:root {
    --bulletin-primary: #0D66FC;
    --bulletin-text: #333333;
    --bulletin-text-light: #666666;
    --bulletin-text-muted: #999999;
    --bulletin-border: #E8EAED;
    --bulletin-white: #FFFFFF;
}

.bulletin-board {
    margin: 40px 0;
}

.bulletin-board-archive {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* セクション */
.bulletin-section {
    border: none;
    padding: 0;
    background: transparent;
}

.bulletin-section.bulletin-board,
.bulletin-section.newsletter {
    background: transparent;
}

/* セクションタイトル（member-group-heading風） */
.bulletin-section-title {
    margin: 20px 0 15px;
    padding: 10px 15px;
    background: #f0f0f0;
    color: #333;
    border-left: 4px solid #0D66FC;
    font-size: 1.2rem;
    font-weight: bold;
}

.bulletin-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 投稿アイテム */
.bulletin-item {
    padding: 30px 0;
    border: none;
    border-bottom: 1px solid var(--bulletin-border);
    background: transparent;
}

.bulletin-item:first-child {
    padding-top: 0;
}

.bulletin-item:last-child {
    border-bottom: none;
}

/* タイトル */
.bulletin-title {
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    color: var(--bulletin-text);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
    border-bottom: 1px solid var(--bulletin-border);
}

/* 日付 */
.bulletin-meta {
    color: var(--bulletin-text-muted);
    font-size: 0.875rem;
    margin-bottom: 16px;
    font-weight: 400;
}

.bulletin-meta time {
    display: inline;
    padding: 0;
}

/* 本文 */
.bulletin-content {
    margin: 20px 0;
    line-height: 1.75;
    color: var(--bulletin-text);
    font-size: 1rem;
}

.bulletin-content p {
    margin: 0 0 1em 0;
}

.bulletin-content p:last-child {
    margin-bottom: 0;
}

/* ファイルリスト */
.bulletin-files {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bulletin-border);
}

.file-list {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

/* ダウンロードリンク */
.file-download {
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    background: transparent;
    border: none;
    text-decoration: none;
    color: var(--bulletin-primary);
    font-size: 0.9375rem;
    transition: opacity 0.2s ease;
}

.file-download:hover {
    opacity: 0.7;
    background: transparent;
    color: var(--bulletin-primary);
}

/* ファイルアイコン */
.file-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* Font Awesomeアイコンを非表示 */
.file-icon i {
    display: none !important;
}

/* 各ファイルタイプに対応する画像を表示 */
.file-icon-pdf {
    background: url('../images/file_pdf.png') no-repeat center !important;
    background-size: contain !important;
    filter: hue-rotate(0deg) saturate(1.5);
}

.file-icon-word {
    background: url('../images/file_docx.png') no-repeat center !important;
    background-size: contain !important;
    filter: hue-rotate(210deg) saturate(1.3);
}

.file-icon-excel {
    background: url('../images/file_xlsx.png') no-repeat center !important;
    background-size: contain !important;
    filter: hue-rotate(100deg) saturate(1.4);
}

.file-icon-zip {
    background: url('../images/file_zip.png') no-repeat center !important;
    background-size: contain !important;
    filter: hue-rotate(25deg) saturate(1.2);
}

.file-icon-default {
    background: url('../images/file_download.png') no-repeat center !important;
    background-size: contain !important;
}

.file-icon-text {
    background: url('../images/file_download.png') no-repeat center !important;
    background-size: contain !important;
}


.file-name {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bulletin-board-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.bulletin-section-top {
    border: none;
    padding: 0;
    background: transparent;
}

.bulletin-section-top h3 {
    margin: 0 0 20px 0;
    padding: 0 0 10px 0;
    background: transparent;
    color: var(--bulletin-text);
    border-bottom: 1px solid var(--bulletin-border);
    font-size: 1.125rem;
    font-weight: 500;
}

.bulletin-list-simple {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bulletin-list-simple li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bulletin-border);
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.bulletin-list-simple li:last-child {
    border-bottom: none;
}

.bulletin-date {
    color: var(--bulletin-text-muted);
    font-size: 0.875rem;
    min-width: 90px;
    flex-shrink: 0;
}

.bulletin-list-simple .bulletin-title {
    flex: 1;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--bulletin-text);
}

.bulletin-list-simple .bulletin-title a {
    color: inherit;
    text-decoration: none;
}

.bulletin-list-simple .bulletin-title a:hover {
    color: var(--bulletin-primary);
}

.has-attachment {
    color: var(--bulletin-primary);
    font-size: 0.875rem;
    margin-left: auto;
    flex-shrink: 0;
}

.bulletin-pagination {
    margin-top: 50px;
    text-align: center;
}

.bulletin-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: transparent;
    border: 1px solid var(--bulletin-border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--bulletin-text);
    font-size: 0.9375rem;
}

.bulletin-pagination .current {
    background: var(--bulletin-primary);
    color: var(--bulletin-white);
    border-color: var(--bulletin-primary);
}

.bulletin-pagination a:hover {
    border-color: var(--bulletin-primary);
    color: var(--bulletin-primary);
    background: transparent;
}

.no-data {
    text-align: center;
    padding: 60px 20px;
    color: var(--bulletin-text-muted);
    font-style: normal;
}

.free-space-top,
.free-space-bottom {
    background: transparent;
}

@media (max-width: 768px) {
    .bulletin-board-top {
        grid-template-columns: 1fr;
    }
    
    .provider-meta {
        grid-template-columns: 1fr;
    }
    
    .provider-details dl {
        grid-template-columns: 1fr;
    }
    
    .provider-details dt {
        margin-bottom: 5px;
    }
    
    .member-navigation ul {
        justify-content: center;
    }
    
    .file-list {
        flex-direction: column;
    }
    
    .file-download {
        width: 100%;
        justify-content: center;
    }
}
/* === END add-rentacar-layouts/assets/css/frontend.css === */

/* === BEGIN add-rentacar-layouts/assets/css/bulletin-board.css === */
/**
 * 掲示板・会報レイアウト用スタイル
 */

/* ========================================
   カラー変数
======================================== */
:root {
    --bulletin-primary: #0D66FC;
    --bulletin-primary-hover: #0856DD;
    --bulletin-text: #2C3E50;
    --bulletin-text-light: #7F8C8D;
    --bulletin-border: #E1E8ED;
    --bulletin-border-light: #F5F7FA;
    --bulletin-bg-hover: #FAFBFC;
    --bulletin-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ========================================
   掲示板レイアウト特有の調整
======================================== */

/* 掲示板・会報のddタグの>アイコンを非表示 */
.bulletin-board dl.new dd::before,
.bulletin-board .new dd::before,
dl.new dd.bulletin-title-with-files::before,
dl.new dd.bulletin-content::before {
    content: none !important;
    display: none !important;
}

/* ========================================
   モバイルファースト基本スタイル
======================================== */

/* タイトルとファイルアイコンの配置（モバイル基本：縦並び） */
.bulletin-title-with-files {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bulletin-border);
}

/* タイトルテキスト部分 */
.bulletin-title-with-files .title-text {
    width: 100%;
    margin-bottom: 8px;
}

/* ファイルアイコングループ */
.bulletin-title-with-files .file-icons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ========================================
   ファイルアイコン（モバイル基本サイズ）
======================================== */

/* ファイルアイコンリンク */
.file-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.2s ease;
    border-radius: 10px;
}

.file-icon i {
    display: none !important;
}

.file-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* 各ファイルタイプに対応する画像を表示（bulletin-boardセクション用） */
.file-icon-pdf {
    background: url('../images/file_pdf.png') no-repeat center !important;
    background-size: contain !important;
    background-color: rgba(220, 53, 69, 0.35) !important;
    filter: hue-rotate(0deg) saturate(1.8) brightness(1.1);
}

.file-icon-word {
    background: url('../images/file_docx.png') no-repeat center !important;
    background-size: contain !important;
    background-color: rgba(33, 186, 69, 0.35) !important;
    filter: hue-rotate(100deg) saturate(1.6) brightness(1.05);
}

.file-icon-excel {
    background: url('../images/file_xlsx.png') no-repeat center !important;
    background-size: contain !important;
    background-color: rgba(41, 98, 255, 0.35) !important;
    filter: hue-rotate(210deg) saturate(1.5) brightness(1.05);
}

.file-icon-zip {
    background: url('../images/file_zip.png') no-repeat center !important;
    background-size: contain !important;
    background-color: rgba(255, 152, 0, 0.35) !important;
    filter: hue-rotate(25deg) saturate(1.4) brightness(1.1);
}

.file-icon-text,
.file-icon-default {
    background: url('../images/file_download.png') no-repeat center !important;
    background-size: contain !important;
    background-color: rgba(108, 117, 125, 0.35) !important;
}

/* ========================================
   詳細リンクの非表示
======================================== */

/* blog_listの詳細ページリンクを非表示 */
.bulletin-board dl.new dd a[href*="?p="],
.bulletin-board dl.new dd .more-link,
.bulletin-board dl.new dd .detail-link {
    display: none !important;
}

/* ========================================
   年別アーカイブリンク
======================================== */

/* 年別アーカイブコンテナ */
.bulletin-year-archive {
    margin: 20px 0;
    padding: 15px 0;
    border-bottom: 2px solid var(--bulletin-border);
}

/* 年リンクリスト */
.bulletin-year-archive .year-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 年リンクアイテム */
.bulletin-year-archive .year-links li {
    margin: 0;
    padding: 0;
}

/* 年リンクスタイル */
.bulletin-year-archive .year-links a,
.bulletin-year-archive .year-links span {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.938rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* 年リンク（通常） */
.bulletin-year-archive .year-links a {
    background: #f5f5f5;
    color: var(--bulletin-text);
    border: 1px solid var(--bulletin-border);
}

.bulletin-year-archive .year-links a:hover {
    background: var(--bulletin-primary);
    color: white;
    border-color: var(--bulletin-primary);
}

/* 年リンク（現在選択中） */
.bulletin-year-archive .year-links li.current span {
    background: var(--bulletin-primary);
    color: white;
    border: 1px solid var(--bulletin-primary);
    font-weight: bold;
}

/* ========================================
   カテゴリタイトルのスタイル
======================================== */

/* カテゴリタイトル */
.bulletin-category-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--bulletin-text);
    padding: 12px 18px;
    margin: 24px 0 18px;
    background: linear-gradient(90deg, #F8FAFB 0%, #FFFFFF 100%);
    border-left: 4px solid var(--bulletin-primary);
    position: relative;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.02em;
}


/* ========================================
   NEWマークのスタイル
======================================== */

/* 
 * NEWマークはテーマの.post-info .new-markスタイルを継承
 * 追加のスタイル指定は不要
 */

/* 日付表示の調整 */
.bulletin-post-item .post-info .date {
    white-space: nowrap;  /* 日付の折り返しを防ぐ */
    min-width: 120px;  /* 最小幅を確保（和暦表示用） */
    display: inline-block;
}

/* NEWアイコンと日付の間隔調整 */
.bulletin-post-item .post-info .new-mark {
    margin-left: 3px;  /* アイコンと日付の間隔をさらに狭く */
}

/* post-infoの上下マージン調整 */
.bulletin-post-item .post-info {
    margin-bottom: 4px;  /* モバイルでは投稿日とタイトルの間隔を少し開ける */
    line-height: 1.2;  /* 行間を標準的に */
}

/* タイトルのマージン調整 */
.bulletin-post-item .bulletin-title {
    margin-top: 0;  /* 上部マージンを削除 */
    margin-bottom: 2px;  /* 下部マージンを最小に */
}

/* ========================================
   投稿アイテムのスタイル
======================================== */

/* 各投稿の基本設定 */
dl.new dt.post-info,
dl.new dd.bulletin-title-with-files,
dl.new dd.bulletin-content {
    margin: 0;
    padding: 0;
}

/* dd要素の幅を100%に設定 */
dl.new dd.bulletin-title-with-files {
    width: 100%;
    display: block;
}

/* 投稿アイテムのコンテナ */
.bulletin-post-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--bulletin-border);
    padding: 10px 18px;
    margin-bottom: 0;
    transition: all 0.2s ease;
    position: relative;
}

.bulletin-post-item:last-child {
    border-bottom: none;
}

/* ホバー時に投稿アイテム全体（日付含む）を暗くする */
.bulletin-post-item:hover {
    background-color: var(--bulletin-bg-hover);
}

/* 横並びレイアウト用のコンテナ */
.bulletin-post-row {
    display: flex;
    flex-direction: column;  /* 縦並び */
    gap: 2px;  /* タイトル行と本文の間隔 */
    padding: 0 20px;  /* 上下のパディングを0にする */
    border-radius: 4px;
}

/* タイトル行（ファイルアイコンはここには含まない） */
.bulletin-post-title-row {
    display: block;
    width: 100%;
}

/* 日付のスタイル */
.bulletin-post-date {
    font-size: 0.813rem;
    color: var(--bulletin-text-light);
    flex-shrink: 0;
}

/* タイトルのスタイル */
.bulletin-post-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--bulletin-text);
    line-height: 1.4;
    margin: 0;  /* デフォルトマージンを削除 */
    flex-grow: 1;  /* 残り幅を埋める */
}

/* 本文のスタイル */
.bulletin-post-content {
    font-size: 0.938rem;
    line-height: 1.6;
    color: var(--bulletin-text);
    margin: 0;  /* デフォルトマージンを削除 */
}

/* ファイルアイコンコンテナ（本文の下、左寄せ） */
.bulletin-post-files {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    margin-top: 8px;  /* 本文との間隔 */
    justify-content: flex-start;  /* 左寄せ */
}

/* ========================================
   本文表示
======================================== */

/* 本文コンテナ */
dd.bulletin-content {
    margin-top: 10px;
    padding-left: 0;
    font-size: 0.938rem;
    line-height: 1.6;
    color: var(--bulletin-text);
}

/* ========================================
   タブレット向けスタイル（768px以上）
======================================== */

@media (min-width: 768px) {
    /* 横並びレイアウトを維持（変更なし） */
    .bulletin-post-row {
        flex-direction: column;
        gap: 4px;
    }
    
    /* タイトルとファイルアイコンの行を横並びに */
    .bulletin-post-title-row {
        flex-direction: row;  /* タブレット以上では横並び */
        align-items: center;  /* 垂直中央揃え */
        justify-content: space-between;  /* 両端配置 */
        gap: 20px;  /* タイトルとアイコンの間隔 */
    }
    
    /* post-infoの上下マージン調整（タブレット以上） */
    .bulletin-post-item .post-info {
        margin-bottom: -2px;  /* タブレット以上では間隔を詰める */
        line-height: 1;
    }
    
    /* 日付の幅を固定 */
    .bulletin-post-date {
        width: 90px;
        font-size: 0.875rem;
    }
    
    /* タイトルのサイズ調整（幅制限なし） */
    .bulletin-post-title {
        font-size: 1.063rem;
        line-height: 1.5;
    }
    
    /* 本文のサイズ調整 */
    .bulletin-post-content {
        font-size: 0.938rem;
        line-height: 1.7;
    }
    
    /* ファイルアイコンを左寄せ（モバイルと同様） */
    .bulletin-post-files {
        margin-left: 0;  /* 左寄せに変更 */
        gap: 16px;
    }
    
    /* アイコンサイズを大きく */
    .file-icon {
        width: 42px;
        height: 42px;
    }
    
    .file-icon i {
        font-size: 1.75rem;
    }
    
    /* 投稿アイテムの余白調整 */
    .bulletin-post-item {
        padding: 5px 20px;  /* タブレットでも左右のパディングを大きく */
    }
    
    /* 横並びレイアウトの調整 */
    .bulletin-post-row {
        padding: 4px 25px;  /* タブレットでも左右のパディングを大きく */
    }
    
    /* タイトルとアイコンを横並びに（旧スタイル互換） */
    .bulletin-title-with-files {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .bulletin-title-with-files .title-text {
        flex-grow: 1;
        flex-shrink: 1;
        margin-right: 20px;
        margin-bottom: 0;
        min-width: 0;
    }
    
    .bulletin-title-with-files .file-icons {
        margin-left: auto;
        padding-right: 0;
        gap: 16px;
    }
    
    /* 本文のフォントサイズ調整（旧スタイル互換） */
    dd.bulletin-content {
        margin-top: 12px;
        font-size: 0.938rem;
        line-height: 1.7;
    }
}

/* ========================================
   サイドバー関連の調整
======================================== */

/* 現在選択中のリンク（追加スタイル） */
.sub-contents .submenu a.current {
    color: var(--bulletin-primary);
    font-weight: bold;
}



/* ========================================
   デスクトップ向けスタイル（1024px以上）
======================================== */

@media (min-width: 1024px) {
    /* 日付の幅を広げる */
    .bulletin-post-date {
        width: 100px;
    }
    
    /* タイトルのサイズ調整（幅制限なし） */
    .bulletin-post-title {
        font-size: 1.125rem;
    }
    
    /* 本文のフォントサイズを調整 */
    .bulletin-post-content {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    /* アイコンサイズをさらに大きく */
    .file-icon {
        width: 35px !important;
        height: 35px !important;
    }
    
    .file-icon i {
        font-size: 2.5rem;
    }
    
    /* カテゴリタイトルの調整 */
    .bulletin-category-heading {
        font-size: 1.2rem;
        padding: 10px 15px;
        margin: 20px 0 15px;
        border-left: 4px solid #0D66FC;
    }
    
    /* 本文のフォントサイズとline-height調整（旧スタイル互換） */
    dd.bulletin-content {
        font-size: 1rem;
        line-height: 1.75;
    }
}
/* === END add-rentacar-layouts/assets/css/bulletin-board.css === */

/* === 事業者一覧・詳細ページの項目名スタイル === */
/**
 * 事業者一覧・詳細ページの項目名を濃紺に変更
 * @since 2025-01-25
 */

/* 事業者一覧ページの項目名（所在地、TEL、FAX等）を濃紺に */
.business-serch-list .result-item ._inner ._separate ._item {
    color: #1e3a8a !important; /* 青寄りの濃紺に変更 */
}

/* 地区表示のh3を_ttl-l-bd要素と統一されたデザインにする */
.main-contents h3:has(._ttl-l-bd) {
    background: linear-gradient(transparent, rgba(0,0,0,0.05)) !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    border-radius: 5px 5px 0px 0px !important;
    padding: 0.5rem !important;
    margin: 0 0 1rem 0 !important;
    font-size: 1.125rem !important;
    display: block !important;
}
