@charset "UTF-8";
/*** 一般style *****************************/
@font-face {
  font-family: "NotoSansJP";
  font-stretch: 95%;
  font-style: normal;
  font-weight: 200 900;
  src: url("/assets/font/NotoSansJP-VariableFont_wght.ttf") format("truetype");
}


@font-face {
  font-family: "NotoSerifJP";
  font-stretch: 95%;
  font-style: normal;
  font-weight: 200 900;
  src: url("/assets/font/NotoSerifJP-VariableFont_wght.ttf") format("truetype");
}

/* @font-face {
font-family: "Sawarabi Gothic";
src: url("/assets/font/SawarabiGothic-Regular.ttf") format("truetype");
font-weight: 400;
font-style: normal;
} */

/* テーマカラー */
:root {
  /* --theme-key-color: #eb6e9e; */
  --midashi-color: #c2dcf7;
  --midashi-base-color: linear-gradient(to top, #eb6e9eff, #eb6e9eff);
  --blue--gradient: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
  --warm-gradient: linear-gradient(to top, #ffd700, #ffa500);
  --cool-gradient: linear-gradient(to top, #00ffff, #87ceeb);
  --deep-blue-gradient: linear-gradient(to top, #1e90ff, #000080);
  --sunset-gradient: linear-gradient(to top, #fa1e60, #ff1493);
  --night-gradient: linear-gradient(to top, #9400d3, #00008b);
}

body {
  box-sizing: border-box;
}
/* 適用されるスタイル */
.catchphrase1 {
  font-family: var(--font-type-1);
  font-size: var(--font-size-1);
  font-weight: var(--font-weight-1);
  font-variation-settings: "wght" var(--font-weight-1);

}

.catchphrase2 {
  font-family: var(--font-type-2);
  font-size: var(--font-size-2);
  font-weight: var(--font-weight-2);
  font-variation-settings: "wght" var(--font-weight-2);

}

.nav-link:hover,
.nav-link:focus {
  color: #333;
}
.btn-custom {
  border-radius: 1.5rem;
  border: solid 3px #bbb;
  /* padding: 0.25rem 1.5rem; */
}
.btn-login {
  background-color: #ff0000;
  border: solid 3px #bbb;
}
.btn-login:hover {
  color: #fff;
  background-color: #ff3e3e;
  border-color: #bbb;
}
.btn-logout {
  background-color: #666;
  border: solid 3px #bbb;
}
.btn-logout:hover {
  background-color: #666;
  border: solid 3px #bbb;
}

.btn-kakunin{
  background-color: #000080;
max-width: 200px;
border: solid 3px #bbb;
}

.btn-toukou{
  background-color: #ff6600;
max-width: 200px;
border: solid 3px #bbb;
}
.btn-toukou:hover{
  background-color: #f88e47;
}

.btn-back{
  max-width: 200px;
  border: solid 3px #bbb;
}


.btn-leaf {
    background-color: #fece00;
    border-radius: 20px;
    border: solid 3px #fff;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
    font-size: 15px;
    text-align: center;
    border-width: 3px;
    border-color: #bbb;
}
.btn-hp-url{
  background-color: #1f4e79;
  color: #fff;

}

/* フォームのスタイル */
.form-control {
  border-radius: 0;
}
.form-select {
  border-radius: 0;
}
.input-group button {
  /* border-radius: 0; */
}

.modal-content {
  min-height: 50vh;
  /* background-color: #f3f4f5; */
}
.modal-body {
  /* background-color: #f3f4f5;  */
  color: #ffffff; /* 白色のテキスト */
}

/* モーダル内の子要素のスタイル */
.modal-body > * {
  background-color: #fefefe; /* 白色 */
  color: #333333; /* 暗い灰色のテキスト */
}

/*共通*/
* {
  border: initial;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: var(--font-size-base);
}


body {
  width: 100%;
  font-size: var(--font-size-base);
  background-color: #fff;
  font-family: "NotoSansJP";
  font-weight: 400;
  font-variation-settings: "wght" 450;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
header {
  padding-bottom: 54px;
  height: 54px;
}
main {
  min-height: calc(100vh - 73px);
  display: flex;
  flex-wrap: wrap;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

p {
  /* font-family: "SawarabiGothic-Regular"; */

  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 180%;
}

.clickable-area {
  cursor: pointer;
  transition: opacity 0.5s 0s ease;
}
.clickable-area:hover {
  opacity: 0.5;
}

/* table要素の基本スタイル */
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  /* padding: var(--spacing-sm); */
  /* border-bottom: 1px solid #ddd; */
  /* border: 1px solid #ddd; */
}
th {
  background-color: var(--color-bg-muted);
  /* text-align: center; */
  text-align: left;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}
td {
  text-align: center;
}
td.ctrl {
  text-align: center;
}

footer {
  /* height: 25px; */
  min-height: 50px;
  background-color: var(--theme-key-color);
  /* background-color: #eb6e9eff; */
  /* background-image: var(--midashi-base-color); */
  font-size: var(--font-size-xm);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-text-inverted);
  /* position: fixed;
  bottom: 0;
  left: 0; */
  width: 100%;
}

footer.login {
  background-color: var(--theme-key-color);
  /* background-image: var(--midashi-base-color); */
  /* background-image: var(--sunset-gradient); */
}

footer .nav-link {
  text-decoration: underline;
  text-decoration-color: #fff;
  text-underline-offset: 4px;
}

.no-scroll {
  overflow: hidden;
}

form.giin_form,
form.kiji_form {
  max-width: 1000px;
}

div.kijilist_container {
  max-width: 800px;
}

a.disp-all-btn {
  background-color: #fff;
  border: solid 3px #999;
  border-radius: 1.5rem;
  padding: 0.25rem 2rem;
  text-decoration: none;
  font-size: var(--font-size-base);
}
/* Card */
/* defaultは角丸なので直角にする */
.card {
  /* background-color: var(--color-bg-base); */
  /* border: unset; */
  border-radius: 0;
  /* box-shadow: var(--box-shadow-md); */
  overflow: hidden;
  background-color: #f4f4f2;
}
.nav-link {
  cursor: pointer;
}
.menu_card {
  cursor: pointer;
  background-color: unset;
  box-shadow: unset;
}

.card-header:first-child {
  border-radius: 0;
}
.card-title {
  font-size: var(--font-size-lg);
  text-decoration: underline;
  text-decoration-color: #999;
  text-underline-offset: 4px;
}

.giin-card {
  background-color: #ffffff;
  height: calc(100% - 0.5rem);
}

.font-size-md {
  font-size: var(--font-size-md);
}

.font-size-lg {
  font-size: var(--font-size-lg);
}
.font-size-xl {
  font-size: var(--font-size-xl);
}

.font-size-xl {
  font-size: var(--font-size-xxl);
}

/* 記事一覧の日付表示スタイル */
.disp_date{
  font-size: var(--font-size-base);
  color: #999;
}


/* アンカーリンクでの移動時にグローバルナビ分ずらす */
#search_map_giin {
  scroll-margin-top: 100px;
}

/* 投稿画像コンテナのスタイル */
.image_container {
  width: 100%; /* コンテナの幅を100%に設定 */
  height: 0; /* 高さを0に設定 */
  padding-top: 66.6%; /* アスペクト比を3:2にするためにパディングを設定 */
  position: relative; /* 相対位置指定 */
  overflow: hidden; /* オーバーフローを非表示にする */
}

/* 投稿画像のスタイル */
.image_container img {
  position: absolute; /* 絶対位置指定 */
  top: 50%; /* 上端を中央に配置 */
  left: 50%; /* 左端を中央に配置 */
  transform: translate(-50%, -50%); /* 中央揃え */
  width: 100%; /* 画像がコンテナからはみ出さないようにする */
  height: 100%; /* 画像がコンテナからはみ出さないようにする */
  object-fit: cover; /* 画像をコンテナにフィットさせる */
  object-position: top;
}
figure.image_container {
  margin: 0;
}

.image_container .figure-caption {
  position: absolute;
  width: 100%;
  bottom: 0;
  right: 0;
  padding: 0.2rem;
  text-align: right;
  background-color: rgba(
    255,
    255,
    255,
    0.3
  ); /* キャプションの背景色と透明度を調整 */
  color: #6c757d; /* キャプションのテキスト色を指定 */
}

/* リストスタイルの議員画像コンテナのスタイル */
.giin_image_container {
  width: 100%; /* コンテナの幅を100%に設定 */
  height: 0; /* 高さを0に設定 */
  padding-top: 150%; /* アスペクト比を3:2にするためにパディングを設定 */
  position: relative; /* 相対位置指定 */
  overflow: hidden; /* オーバーフローを非表示にする */
}

/* 投稿画像のスタイル */
.giin_image_container img {
  position: absolute; /* 絶対位置指定 */
  top: 50%; /* 上端を中央に配置 */
  left: 50%; /* 左端を中央に配置 */
  transform: translate(-50%, -50%); /* 中央揃え */
  width: 100%; /* 画像がコンテナからはみ出さないようにする */
  height: 100%; /* 画像がコンテナからはみ出さないようにする */
  object-fit: cover; /* 画像をコンテナにフィットさせる */
}
figure.giin_image_container {
  margin: 0;
}

/* ************************************ */
/* 追加のスタイル */

/* ヘッダーカラー */
header nav {
  background-color: var(--theme-key-color);
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);

  /* background-image: var(--midashi-base-color); */
  /* background-image: var(--blue--gradient); */
}

/* フッターカラー */
footer {
  background-color: var(--theme-key-color);

  /* background-image: var(--blue--gradient); */
  /* background-image: var(--midashi-base-color); */
}

header nav.login {
  /* ログイン時 */
  background-color: var(--theme-key-color);
  /* background-image: var(--sunset-gradient); */
  /* background-image: var(--midashi-base-color); */
}
.modal-body{
  padding: 0;
}

.card {
  overflow: visible;
}
/* 見出しカラー */
.card-header {
  text-align: left;
  position: relative;
  background-color: var(--midashi-color);
  border: unset;
  overflow: visible;
  padding: 0.5rem 0rem;
}

.card-header h3 {
  font-size: var(--font-size-xl);
  /* margin: 0 0 0 50px; */
  margin-left: 50px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0;
  /* padding-top: 5px; */
  /* padding-bottom: 5px; */
  line-height: 150%;
}

/* 選挙情報 */
h3.senkyo::before {
  background: url("/assets/img/senkyo.png") no-repeat center center;
}
/* 新着情報 */
h3.shintyaku::before {
  background: url("/assets/img/sintyaku.png") no-repeat center center;
}
/* 最新ニュース */
h3.news::before {
  background: url("/assets/img/news.png") no-repeat center center;
}
/* 公明新聞トピックス */
h3.topic::before {
  background: url("/assets/img/topic.png") no-repeat center center;
}
/* 議員検索 */
h3.kensaku::before {
  background: url("/assets/img/kensaku.png") no-repeat center center;
}

/* 支部会情報 */
h3.info_shibukai::before {
  background: url("/assets/img/info_shibukai.png") no-repeat center center;
}
/* 支部の最新ニュース */
h3.news_shibu::before {
  background: url("/assets/img/news_shibukai.png") no-repeat center center;
}

/* お気に入り議員 */
h3.okiniiri_giin::before {
  background: url("/assets/img/okiniiri_giin.png") no-repeat center center;
}
/* お気に入り記事 */
h3.okiniiri_kiji::before {
  background: url("/assets/img/okiniiri_kiji.png") no-repeat center center;
}
/* 党員記事投稿 */
h3.touin_kiji::before {
  background: url("/assets/img/touin_kiji.png") no-repeat center center;
}
/* 通信ダウンロード */
h3.tusin::before {
  background: url("/assets/img/tusin.png") no-repeat center center;
}
/* 地域情報 */
h3.chiiki::before {
  background: url("/assets/img/chiiki.png") no-repeat center center;
}
/* 支部会資料 */
h3.shibukai_shiryo::before {
  background: url("/assets/img/shibukai_shiryo.png") no-repeat center center;
}
/* 法律相談 */
h3.soudan_annai::before {
  background: url("/assets/img/soudan_annai.png") no-repeat center center;
}
/* 公明クリッピング */
h3.km_clip::before {
  background: url("/assets/img/km_clip.png") no-repeat center center;
}
/* 共産党研究 */
h3.kyosan_kenkyu::before {
  background: url("/assets/img/kyosan_kenkyu.png") no-repeat center center;
}
/* イベント案内 */
h3.event_annai::before {
  background: url("/assets/img/event_annai.png") no-repeat center center;
}
/* 東京ヒストリー */
h3.tokyo_history::before {
  background: url("/assets/img/tokyo_history.png") no-repeat center center;
}
/* メルマガ集 */
h3.mail_magazin::before {
  background: url("/assets/img/mail_magazin.png") no-repeat center center;
}
/* Q＆A */
h3.qanda::before {
  background: url("/assets/img/qanda.png") no-repeat center center;
}
/* Q＆A */
h3.oyakudachi_link::before {
  background: url("/assets/img/oyakudachi_link.png") no-repeat center center;
}

/* 共通 */
.card-header h3::before {
  content: "";
  background-size: contain;
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  margin-top: 0px;
  margin-bottom: -7px;
}

.kouho_type_bat {
  text-decoration: unset;
  bottom: 45px;
  left: 4px;
  background-color: yellow;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
}

.tousen_bat {
  font-weight: bold;
  text-decoration: unset;
  top: 0;
  right: 0;
  background-color: red;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  transform: translate(8px, -8px);
}
.tousen_bat.rakusen {
  background-color: #999;
}

/* Modalのカスタマイズ */
.modal-header {
  border-bottom: unset;
}

#kijiModal.modal.fade .modal-dialog {
  transform: scale(0.8);
}
#kijiModal.modal.fade.show .modal-dialog {
  transform: scale(1);
}

/* アコーディオン表示 */
.accordion-content {
  display: none;
  padding: 10px;
}

/* Icons */
#page-top .bi {
  color: #dfd3fa;
  font-size: 1.7em;
}
#page-top .bi::before {
  margin-top: -5px;
}

#page-top .bi:hover {
  /* color: #9287ac; */
  font-size: 1.7em;
}

@media (min-width: 576px) {
  .card.menu_card {
    width: 100%;

    /* width: calc(100% / 4 - 20px); */
    /* カードの幅 */
  }
}

@media (min-width: 768px) {
  .card.menu_card {
    /* width: calc(100% / 3 - 20px); */
    width: 100%;

    /* カードの幅 */
  }
}

@media (min-width: 992px) {
  .card.menu_card {
    /* width: calc(100% / 2 - 20px); */
    width: 100%;

    /* カードの幅 */
  }
}

@media (min-width: 1200px) {
  .card.menu_card {
    /* width: calc(100% / 6 - 20px); */
    /* カードの幅 */
    width: 100%;
  }
}

.kiji-card {
  background-color: #fff;
}

.bottom_btns {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  z-index: 99;
}

/* ページ最上部へ移動ボタン */
#page-top {
  display: none;
  cursor: pointer;
  /* position: fixed; */
  /* bottom: 20px; */
  /* right: 1rem; */
  font-size: 14px;
}

#page-top span {
  /* background: #bbb; */
  /* background-image: var(--midashi-base-color); */
  background-color: var(--theme-key-color);
  border-color: #fff;
  border: solid 3px #fff;
  text-decoration: none;
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 100%;
  padding: 12px 5px;
  text-align: center;
  display: block;
  border-radius: 90px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

#my_leaf_button {
  /* position: fixed; */
  cursor: pointer;
  /* bottom: 80px; */
  /* right: 20px; */
  background-color: #fece00;
  border: solid 3px #bbb;
  /* border-radius: 1.5rem; */
  border-radius: 38px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

#my_leaf_button:hover {
  background-color: #fdfd83;
  border-color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
#my_leaf_button span {
  color: #333;
  font-size: 1em;
}

#my_leaf_button::before {
  /* content: "";
  background: url("/assets/img/leaf_icon.png") no-repeat center center;
  background-size: contain;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 5px;
  margin-top: -4px;
  vertical-align: middle; */
}

#close_my_leaf_button {
  display: none;
  position: fixed;
  bottom: 0px;
  right: 5px;
  z-index: 101;
  background-color: #003080;
  border: solid 2px #bbb;
  border-radius: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

#close_my_leaf_button:hover {
  background-color: #003080;
  border-color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
#close_my_leaf_button span {
  color: #fff;
  font-size: 1em;
}

/* ハンバーガメニュー */
.navbar-toggler {
  border: unset;
}

.navbar-toggler-icon {
  /* display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle; */
  /* background-image: var(--bs-navbar-toggler-icon-bg); */

  /* 三本線の変更 */
  /* background-image: url("/assets/img/navbar-toggle-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%; */
  display: inline-block;
  width: 50px;
  height: auto;
  vertical-align: middle;
  background-image: unset;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  opacity: 1;
  transition: opacity 0.3s ease; /* 透明度の変化をスムーズにするトランジション */
}

.toggler-icon-hidden {
  opacity: 0;
  display: none;
}

.toggler-icon-visible {
  opacity: 1;
}

.navbar-toggler:focus {
  box-shadow: unset;
}

.navbar-nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.navbar-toggler {
  /* position: relative;
  width: 30px;
  height: 24px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0; */
}

.navbar-toggler span {
  /* display: block;
  width: 30px;
  height: 4px;
  background-color: #fefefe;
  transition: all 0.3s ease-in-out; */
}
/* .navbar-toggler span:nth-child(4){
  background-color: unset;
} */

.navbar-toggler span:nth-child(3)::after {
  content: "メニュー";
  color: #fefefe;
  font-size: 10px;
  background-color: unset;
  white-space: nowrap;
}

.navbar-toggler.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 6.5px);
}

.navbar-toggler.open span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -5.5px);
}
.navbar-toggler.open span:nth-child(3)::after {
  content: "";
  color: #fefefe;
  font-size: 10px;
  background-color: unset;
}

/* 右側から出現するモーダル */
.modal-right {
  position: fixed;
  top: 80px;
  right: 0;
  height: calc(100vh - 80px);
  width: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  z-index: 1040;
  overflow-y: auto;
  transition: transform 0.4s ease-in-out;
  transform: translateX(100%);
  max-height: 100%;
  overflow: auto;
}

.modal-right.show {
  display: block;
  transform: translateX(0);
}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.navbar-collapse {
  max-height: calc(100vh - 54px);
  overflow: auto;
  background-color: #fefefe;
}

/* ローディング */
.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #22a6b3;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 50px auto;
  display: block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Bootstrap Custom */
:root {
  --bs-border-width: 1px;
  --bs-border-color: #6b6b6b;
}

.nav-tabs .nav-link {
  /* background-color: var(--color-bg-muted); */
  color: var(--color-text-base);
  border-top-left-radius: 42px;
  border-top-right-radius: 42px;
  font-size: var(--font-size-lg);
  border: solid 3px var(--midashi-color);
}
button#news_container-tab::before {
  background: url("/assets/img/news.png") no-repeat center center;
  content: "";
  background-size: contain;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 1rem;
  margin-right: 8px;
  margin-top: -4px;
  vertical-align: middle;
}
button#koumei_shinbun-tab::before {
  background: url("/assets/img/topic.png") no-repeat center center;
  content: "";
  background-size: contain;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 1rem;
  margin-right: 8px;
  margin-top: -4px;
  vertical-align: middle;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  /* background-image: var(--midashi-base-color); */
  background-color: var(--midashi-color);
  color: #333;
}

.nav-tabs li.nav-item {
  width: 50%;
}
.nav-tabs .nav-link {
  background-color: #fff;
  border-bottom: solid 1px rgba(0, 0, 0, 0.175);
}
.nav-tabs .nav-link.active {
  /* border-bottom: 4px solid #eb6e9e; */
  border: solid 3px var(--midashi-color);
  border-bottom: solid 1px var(--midashi-color);
}

.tab-content .card {
  background-color: #C2DCF7;
}

li.nav-item {
  width: 50%;
}
.nav-item.nav-link-btn.visible-above-1000 {
  border: solid;
  background-color: #fff;
  border-radius: 25px;
  border-width: 5px;
  border-color: #bbb;;

  width: 220px;
  padding: 0.375rem 0.25rem;
}
.nav-item.nav-link-btn.visible-above-1000 a {
  color: var(--color-text-base);
  font-size: 15px;
}

.nav-item.nav-link-btn.visible-above-1000:hover {
  background-color: #666;
  border-color: #fff;
}
.nav-item.nav-link-btn.visible-above-1000 a:hover {
  color: #fff;
}

button.nav-link {
  width: 100%;
}

/* 議員検索ボタンを常時表示ボタンに変更 */
li.nav-item.nav-link-btn.visible-above-1000.giin_kensaku_btn {
  position: fixed;
  top: 100px;
  right: 8px;
  width: 130px;
  height: 47px;
}


.kiji_title_lg {
  font-size: var(--font-size-lg);
  text-decoration: underline;
  text-decoration-color: #999;
  text-underline-offset: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kiji_title_xl {
  font-size: var(--font-size-lg);
  text-decoration: underline;
  text-decoration-color: #999;
  text-underline-offset: 4px;
  /* font-weight: bold; */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kiji_title_slick {
  -webkit-line-clamp: 2;
}

.honbun-container {
  margin: 0 auto;
  padding: 10px;
  /* border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9; */
}

.honbun-container .kiji_img_weapper {
  max-width: 400px;
  /* max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto; */
}

.honbun-container p {
  text-align: left;
  line-height: 180%;
  margin-bottom: 1em;
  word-wrap: break-word;
}

nav.sub_header {
  /* position: absolute; */
  position: fixed;
  top: 80px;
  width: 100%;
  height: 70px;
  z-index: 1000;
}
nav.sub_header div {
  background-color: #f4f4f2;
}
nav.sub_header ul {
  width: 1000px;
}
nav.sub_header ul li {
  width: 333px;
  text-align: center;
  cursor: pointer;
  transition: border-bottom 0.2s ease;
}
nav.sub_header ul li:hover {
  border-bottom: solid 4px var(--theme-key-color);
}

nav.sub_header ul a {
  line-height: 70px;
  font-size: 34px;
  font-weight: bold;
}

.nav-link img {
  height: 25px;
  width: auto;
  margin-right: 0.25rem;
}

.senkyo-info th {
  background-color: #e4eff5;
  text-align: center;
  font-size: 20px;
  font-weight: normal;
}


@media screen and (max-width: 1000px) {
  .card {
    background-color: var(--color-bg-base);
    border: unset;
    border-radius: 0;
    box-shadow: var(--box-shadow-md);
    overflow: hidden;
  }
  navbar-nav .card {
    background-color: unset;
    border: unset;
    border-radius: 0;
    box-shadow: unset;
    overflow: hidden;
  }
}

@media screen and (min-width: 1000px) {
  .card {
    background-color: var(--color-bg-base);
    margin-bottom: 20px;
  }
  .card-body {
    padding-left: 50px;
    padding-right: 50px;
  }
  .disp_kiji_container {
    max-width: 1000px;
    margin: 0 auto;
    /* padding: 0.5rem 50px; */
  }
}

.visible-below-1000,
.visible-above-1000 {
  display: none; /* デフォルトで非表示にしておく */
}

/* 画面幅が1000px以上のときに表示するスタイル */
@media (min-width: 999px) {
  header {
    padding-bottom: calc(80px + 1.25rem);
    height: 80px;
  }

  .navbar {
    height: 80px;
  }
  .visible-below-1000 {
    display: none;
  }
  .visible-above-1000 {
    display: block;
  }
  .navbar-nav {
    max-width: unset;
    margin: 0;
    padding: 0;
  }
  .navbar-collapse {
    background-color: unset;
    align-content: flex-end;
  }
  li.nav-item {
    width: unset;
  }
  a.nav-link {
    color: #f1f1f1;
  }
  .nav-link label {
    color: #f1f1f1;
  }
  .sub_header a.nav-link {
    color: #212529;
  }
  #kiji-container {
    /* height: 80vh; */
    /* overflow-y: auto; */
    max-width: 1000px;
    margin: 0 auto;
    /* padding: 1rem 2rem; */
  }
  #kiji-list {
    max-width: 900px;
    margin: 0 auto;
  }

  .card-lead {
    max-width: 800px;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }
  .disp_all_container {
    justify-content: end;
  }
  .tab-content .disp_all_container {
    justify-content: center;
  }
  .sp-br {
    display: none;
  }
  .disp_kiji_title_containere {
    padding: 20px 50px;
  }

  .kiji_img_weapper_1 {
    margin-left: 1rem;
    margin-bottom: 1rem;
  }
  .kiji_img_weapper_2 {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }
  .kiji_img_weapper_3 {
    margin-left: 1rem;
    margin-bottom: 1rem;
  }

  .honbun-container {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding-right: 50px;
    padding-left: 50px;
  }

  .honbun-container .kiji_img_weapper {
    float: left;
    margin-right: 15px;
    max-width: 40%;
  }

  .honbun-container p {
    display: block;
    font-size: 1.125rem;
  }

  .honbun-container .clear {
    clear: both;
    width: 100%;
  }
  footer ul.nav {
    display: flex;
  }
}

/* 画面幅が1000px未満のときに表示するスタイル */
@media (max-width: 999px) {
  header {
    padding-bottom: 70px;
  }
  main.container {
    padding-right: 0.625rem;
    padding-left: 0.625rem;
  }
  .visible-below-1000 {
    display: block;
  }
  .visible-above-1000 {
    display: none;
  }
  .nav-tabs .nav-link {
    /* font-size: var(--font-size-base); */
    font-size: 16px;
  }
  li.nav-item {
    width: 100%;
    /* text-align: right; */
    text-align: left;
    /* margin-right: 2rem; */
  }
  a.nav-link {
    font-size: 20px;
    text-decoration: underline;
    text-decoration-color: #999;
    text-underline-offset: 4px;
  }
  .search-result div {
    margin: 0;
  }
  .kiji_title_xl {
    font-size: var(--font-size-lg);
    -webkit-line-clamp: 2;
  }
  .kouho_name {
    font-size: 19px;
  }
  button#news_container-tab::before {
    display: none;
    /* padding-left: 0.5rem; */
  }
  button#koumei_shinbun-tab::before {
    display: none;
    /* padding-left: 0.5rem; */
  }
  .card-lead {
    width: 95%;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .disp_all_container {
    justify-content: center;
  }
  .modal-right {
    top: 63px;
    right: 0;
    height: calc(100vh - 63px);
  }
  .sp-br {
    display: block;
  }
  .card-header h3 {
    margin-left: 20px;
  }
  footer {
    /* padding-bottom: 100px; */
  }
  .top_logo_link {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .disp_kiji_title_containere {
    padding: 10px;
  }
  .kiji_img_weapper_1 {
    margin-left: 0;
    margin-bottom: 1rem;
  }
  .kiji_img_weapper_2 {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .kiji_img_weapper_3 {
    margin-left: 0;
    margin-bottom: 1rem;
  }
  div#mainTabContent {
    margin-bottom: 1rem;
  }
  /* .modal-body {
    padding-right: 0;
    padding-left: 0;
  } */

  .kiji-card .kiji_card_title_container{
    width: 60%;
  }

}

@media (min-width: 1200px) {
  .modal-xl {
    --bs-modal-width: 1000px;
  }
  .modal-body {
    max-width: 1000px;
    padding-right: 50px;
    padding-left: 50px;
    margin: 0 auto;
  }
}
