/*共通構造部分のcssを記します*/
@charset "utf-8";
/*---------------------
共通
---------------------*/
.bg-primary {
  background-color: var(--primary-color)!important;
}
/* 中見出し */
.title {
    color: var(--strong-color);
    margin-bottom: 2rem
}
.c_primary {
    color: var(--primary-color);
}
.c_strong {
    color: var(--strong-color);
}
.c_strong02 {
    color: var(--strong02-color);
}
.bg-light{
   background-color:var(--vt-gray-light);
}
h2 {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1.5rem;
}
h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
}
h3 {
    color: var(--primary-color);
    border-bottom: 2px dotted var(--primary-color);
    padding-bottom: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
}
h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0.75rem;
    width: 6px;
    background-color: var(--primary-color);
    border-radius: 3px;
}
h4 {
    color: var(--primary-color);
}
/* 付帯ページの見出し */
#contents.wrap_terms h2,
#contents.wrap_privacy h2,
#contents.wrap_social-media-policy h2,
#contents.wrap_accessibility h2{
    padding-left:0.8rem;
    /*position: static;*/
    margin-bottom: 0.8rem;
}
/* 付帯ページの入れ子リスト */
#contents.wrap_terms li,
#contents.wrap_privacy li,
#contents.wrap_social-media-policy li{
    text-indent: -1em;
    padding-left: 1em;
}
#contents.wrap_terms li ul li{
    text-indent: 0;
    padding-left: 0;
}
/* 表レイアウト */
/* 全体の囲みボーダー */
.data-table-body {
    border: 1px solid var(--vt-border-color);
}
.data-table-header-cell {
    padding: 0.75rem 1rem;
    text-align: left;
    border-right: 1px solid var(--vt-border-color);
}
.data-table-header-cell:last-child {
    border-right: none;
}
/* 各行のスタイル */
.data-table-row {
    display: grid;
    grid-template-columns: 214px 1fr;
    border-bottom: 1px solid var(--vt-border-color);
    background-color: var(--base-bgcolor);
}
.data-table-row:last-child {
    border-bottom: none;
}
/* 各セルのスタイル */
.data-table-cell {
    padding: 0.75rem 1rem;
    align-self: stretch;
    align-content: flex-start;
    background-color: var(--vt-gray-light);
    border-right: 1px solid var(--vt-border-color);
}
/* 内容カラムの背景色を白に */
.data-table-content-col {
    background-color: var(--base-bgcolor);
    border-right: none;
    /* 内容カラムは右ボーダーなし */
}
/* モバイル表示時の調整 */
@media (max-width: 768px) {
    .data-table-body {
        border: none;
    }
    .data-table-row {
        grid-template-columns: 1fr;
        border: 1px solid var(--vt-border-color);
    }
    .data-table-row:last-child {
        border-bottom: 1px solid var(--vt-border-color);
    }
    .data-table-row:not(:last-child) {
        border-bottom: none
    }
    .data-table-cell {
        border: none;
        padding: 0.5rem 1rem;
    }
    .data-table-cell:last-child {
        margin-bottom: 0;
    }
}
/*　単語を途中で改行させない用　*/
.no_wrap {
    display: inline-block;
    white-space: nowrap;
}
:focus {
   /*outline: 3px solid var(--base-color);客先説明中オフ*/
}

a:focus-visible,
button:focus-visible,
input:focus-visible  {
   outline: 3px solid var(--base-color)!important;
   box-shadow:none!important;
}

@media screen and (max-width:769px) {
.ptn_2column{
   flex-direction: column-reverse;
   width: 100%;
   margin: auto;
}
}
/*---------------------
　矢印付きボタン
---------------------*/
.link-cards {
    max-width: 992px;
}
/* カード全体のコンテナ */
.link-cards .col {
    max-width: 400px;
}
/* 個々のリンクカードのスタイル */
.link-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: var(--base-bgcolor);
    border: none;
    border-radius: 1rem;
    padding: 1.5rem 1rem 1.5rem 1rem;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0rem 0.2rem 0.7rem rgba(0, 0, 0, 0.20);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    position: relative;
}
.link-card:hover {
    transform: translateY(-0.25rem) scale(1.02);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15),
}
.link-card .card-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
/* 矢印アイコンのスタイル */
.link-card .link-icon {
    display: inline-block;
    width: 3em;
    height: 1.5rem;
    margin-left: 0.25rem;
    background-image: url("/assets/images/association/arrow_circle_right.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.list-group-item-action:not(.active):focus{
    background-color: var(--base-bgcolor);
}
/*---------------------   
タブ（背景色緑）
---------------------*/
.nav-tabs-custom {
    border-bottom: 2px solid --vt-border-color;
    justify-content: center;
}
.nav-tabs-custom .nav-item {
    margin-bottom: -2px;
}
.nav-tabs-custom .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 0.8rem 1rem;
    font-weight: bold;
    color: var(--strong-color);
    margin-bottom: 1px;
}
.nav-tabs-custom .nav-link:hover {
    background-color: var(--vt-gray-light);
}
.nav-tabs-custom .nav-link.active {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.tab-pane:focus-visible{
  outline:none;
}
@media (max-width: 768px) {
  /* nav-tabsの枠線スタイルを解除 */
  .nav-tabs-custom.nav-tabs {
    border-bottom: none;
  }
  /* タブの下線をなくし、背景色と角丸でボタンのように見せる */
  .nav-tabs-custom.nav-tabs .nav-link {
    border: 2px solid #dee2e6;
    border-radius: 0.375rem; /* Bootstrapの角丸のサイズに合わせる */
    margin-bottom: 5px; /* 各タブの間隔をあける */
    margin-right: 4px;
  }
  /* アクティブなタブのスタイルを明確にする */
  .nav-tabs-custom.nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
  }
}
/*---------------------
カテゴリラベル（お知らせ等）
---------------------*/
.category_lbl {
    border-radius:100px;
    min-width: 5rem;
    border: 1px solid  var(--primary-color);
    color:  var(--primary-color);
    font-size:0.75rem;
    padding:0 1rem;
    vertical-align: top;
    display: inline-block;
    text-align:center
}
.c_DX {
    border-color: var(--cat-color11);
    color: var(--cat-color11);
}
/*---------------------
 PDF等DLボタン
---------------------*/
.documents_btn {
    /* Flexboxレイアウトに変更 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* アイコンとテキストの間の余白 */

    border-radius: 0.5rem;
    min-width: 6rem;
    padding: 0.25rem 0.75rem; /* 上下左右の余白を再調整 */
    background: var(--btn-bg-color);
    box-shadow: 0 0.1rem 0.1rem rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.documents_btn::before {
    content: '';
    display: block;
    width: 0.8em;
    height: 0.8em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}
/* スマホなど狭い画面では最小幅を解除してはみ出しを防ぐ */
@media (max-width: 576px) {
    .documents_btn {
        min-width: 0;
    }
}
/* 以下は既存のまま */
.documents_btn.btn-outline-secondary:hover {
    color: var(--bs-danger);
    border-color: var(--bs-danger);
    background-color: rgba(var(--bs-danger-rgb), 0.1);
    transform: translateY(-0.1rem) scale(1.02);
    box-shadow: 0
}
.documents_btn.pdficon::before {
    background: url("/assets/images/common/pdficon.svg") #fff;
    background-size: 0.8rem;
}
.documents_btn.wordicon::before {
    background: url("/assets/images/common/wordicon.svg") #fff;
    background-size: 0.8rem;
}
.documents_btn.excelicon::before {
    background: url("/assets/images/common/excelicon.svg") #fff;
    background-size: 0.8rem;
}
/*--ページ個別のcss↓-------------------------------------------------------------------------------------------------------*/
/*---------------------
ごあいさつ
---------------------*/
@media screen and (min-width:576px) {
    #contents.wrap_greeting .president-photo {
        max-width: 200px;
    }
}
/*---------------------
協会概要
---------------------*/
#contents.wrap_about .officer-list-wrap {
    padding: 0;
	min-width: 0;
}
#contents.wrap_about .officer-list p {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--vt-border-color);
}
#contents.wrap_about .officer-list p:last-child {
    border-bottom: none;
}
#contents.wrap_about .officer-list .officer-item {
    display: inline-block;
    margin-right: 1.2rem;
}
/* 最後の項目は右マージンなし */
#contents.wrap_about .officer-list .officer-item:last-child {
    margin-right: 0;
}
/*---------------------
アクセスマップ
---------------------*/
#contents.wrap_access .data-table-body {
    border: none
}
#contents.wrap_access .data-table-cell {
    background-color: var(--base-bgcolor);
    border-right: none;
}
#contents.wrap_access .data-table-row .data-table-cell:first-child {
    font-weight: bold
}
.googlemaps{
height:24rem;
}
@media screen and (max-width:480px) { 
.googlemaps{
height:14rem;
}
}
/*---------------------   
埋蔵文化財調査士 資格制度
---------------------*/
#contents.wrap_qualification .bg-deep-green {
    background-color: var(--primary-color);
}
#contents.wrap_qualification ol.procedure-list {
    list-style: revert;
    margin-left: 1rem;
}
#contents.wrap_qualification ol>li {
    border-bottom: 1px solid var(--vt-border-color);
}
#contents.wrap_qualification ol>li:last-child {
    border-bottom: none
}
/*---------------------   
会員情報
---------------------*/
#contents.wrap_members h3 {
    border: none;
}
/* 支部ごとの色分け用スタイル */
#contents.wrap_members .cat-color1,
#contents.wrap_members .cat-color2,
#contents.wrap_members .cat-color3,
#contents.wrap_members .cat-color4,
#contents.wrap_members .cat-color5 {
    border: 1px solid;
    width: 100%;
    padding: 0 1rem;
    border-radius: 100px;
}
@media screen and (max-width:768px) {
    #contents.wrap_members .cat-color1,
    #contents.wrap_members .cat-color2,
    #contents.wrap_members .cat-color3,
    #contents.wrap_members .cat-color4,
    #contents.wrap_members .cat-color5 {
        font-size: 0.85rem;
    }
}
#contents.wrap_members .cat-color1 {
    color: var(--cat-color1);
}
#contents.wrap_members .cat-color2 {
  color: var(--cat-color2);
}
#contents.wrap_members .cat-color3 {
  color: var(--cat-color3);
}
#contents.wrap_members .cat-color4 {
  color: var(--cat-color4);
}
#contents.wrap_members .cat-color5 {
  color: var(--cat-color5);
}
#contents.wrap_members td {
  border-bottom: none;
}
#contents.wrap_members .card-body {
  padding-left: 0;
  padding-right: 0;
}
#contents.wrap_members .member-card-mobile {
  border: 0
}
/* PCテーブルのグループ間の余白 */
#contents.wrap_members .table-members-pc tr.group-start td {
  border-top: 1rem solid transparent;
  /* 透明なボーダーで余白を表現 */
  background-clip: padding-box;
}
/* PC用テーブルのレイアウトを固定 */
#contents.wrap_members .table-members-pc {
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  vertical-align: middle;
}
#contents.wrap_members .table-members-pc .col-name {
    width: 32%;
}
#contents.wrap_members .table-members-pc .col-branch {
    width: 27%;
}
#contents.wrap_members .table-members-pc .col-address {
    width: 24%;
}
#contents.wrap_members .table-members-pc .col-youran {
    width: 17%;
}
#contents.wrap_members .table-members-pc thead th {
    vertical-align: bottom;
}
#contents.wrap_members .table-members-pc tbody td {
    word-wrap: break-word;
    /* 長い文字列を折り返す */
}
/*---------------------   
考古検定
---------------------*/
/* 列幅の指定 */
#contents.wrap_kouko_kentei .table-custom-bordered .col-kouko-class {
    width: 15%;
}
#contents.wrap_kouko_kentei .table-custom-bordered .col-kouko-difficulty {
    width: 35%;
}
#contents.wrap_kouko_kentei .table-custom-bordered .col-kouko-format {
    width: 50%;
}
#contents.wrap_kouko_kentei .table-pass-rate .col-pass-rate-header {
    width: 15%;
}
#contents.wrap_kouko_kentei .table-pass-rate .col-pass-rate-data {
    width: 17%;
}
@media (max-width: 597px) {
#contents.wrap_kouko_kentei .scroll {
    overflow-x: scroll !important;
}
}
/* 画面幅が767.98px以下の場合カードデザインに */
@media (max-width: 767.98px) {
    #contents.wrap_kouko_kentei .table-responsive {
        overflow-x: hidden;
    }
    #contents.wrap_kouko_kentei .table-custom-bordered thead {
        display: none;
    }
    #contents.wrap_kouko_kentei .table-custom-bordered,
    #contents.wrap_kouko_kentei .table-custom-bordered tbody,
    #contents.wrap_kouko_kentei .table-custom-bordered tr,
    #contents.wrap_kouko_kentei .table-custom-bordered th,
    #contents.wrap_kouko_kentei .table-custom-bordered td {
        display: block;
        width: 100%;
    }
    #contents.wrap_kouko_kentei .table-custom-bordered td[rowspan] {
        row-span: 1;
    }
    #contents.wrap_kouko_kentei .table-custom-bordered tr {
        margin-bottom: 1.5rem;
        border: 1px solid var(--vt-border-color);
        border-radius: 0.375rem;
        overflow: hidden;
    }
    #contents.wrap_kouko_kentei .table-custom-bordered td {
        padding: 0.75rem 1rem;
        text-align: left;
        border: none;
        border-bottom: 1px solid var(--vt-border-color);
    }
    #contents.wrap_kouko_kentei .table-custom-bordered tbody th {
        padding: 0.75rem 1rem;
        border: none;
    }
    #contents.wrap_kouko_kentei .table-custom-bordered td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 0.25rem;
        color: var(--primary-color);
    }
    #contents.wrap_kouko_kentei .table-custom-bordered th:nth-child(1),
    #contents.wrap_kouko_kentei .table-custom-bordered td:nth-child(1),
    #contents.wrap_kouko_kentei .table-custom-bordered th:nth-child(2),
    #contents.wrap_kouko_kentei .table-custom-bordered td:nth-child(2) {
        border-right: none;
    }
}
/*---------------------   
入会案内
---------------------*/
#contents.wrap_join .bg-deep-green {
    background-color: var(--primary-color);
}
/*---------------------   
文化財DX
---------------------*/
#contents.wrap_bunkazai_dx section ul{
  list-style-type: disc;  
}
#contents.pageImageCarousel .carousel-control-prev:hover,
#contents.pageImageCarousel .carousel-control-next:hover {
  opacity: 1;
}
/* カルーセル全体を囲むコンテナ */
.carousel-container {
  padding: 0 4rem; /* 左右ボタンを配置するスペースを確保 */
}
/* 画像の高さを統一し、クリック可能に見せる */
.carousel-image-item {
  height: 100px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-image-item img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
/* カルーセルの左右ボタンのカスタムスタイル */
/* ▼▼▼ セレクタにモバイル用のIDを追加 ▼▼▼ */
#pageImageCarouselPC .carousel-control-prev,
#pageImageCarouselPC .carousel-control-next,
#pageImageCarouselMobile .carousel-control-prev,
#pageImageCarouselMobile .carousel-control-next {
  background-color: rgba(0, 0, 0, 0.7);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
#pageImageCarouselPC .carousel-control-prev:hover,
#pageImageCarouselPC .carousel-control-next:hover,
#pageImageCarouselMobile .carousel-control-prev:hover,
#pageImageCarouselMobile .carousel-control-next:hover {
  opacity: 1;
}
/* ボタンをコンテナの左右端に配置 */
#pageImageCarouselPC .carousel-control-prev,
#pageImageCarouselMobile .carousel-control-prev {
  left: -3rem;
}
#pageImageCarouselPC .carousel-control-next,
#pageImageCarouselMobile .carousel-control-next {
  right: -3rem;
}
/*---------------------   
お知らせ一覧
---------------------*/
#entry-list-container{
  /*background:var(--vt-gray-light);
  padding:2rem;*/
}
#entry-list-container .list-group-item{
 /* background:var(--vt-gray-light);*/
}
.pagination {
    --bs-pagination-color: var(--primary-color);
    --bs-pagination-bg: #fff;
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: var(--bs-border-color);
    --bs-pagination-border-radius: var(--bs-border-radius);
    --bs-pagination-hover-color: var(--bs-link-hover-color);
    --bs-pagination-hover-bg: var(--bs-tertiary-bg);
    --bs-pagination-hover-border-color: var(--primary-color);;
    --bs-pagination-focus-color: var(--bs-link-hover-color);
    --bs-pagination-focus-bg: var(--bs-secondary-bg);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--primary-color);;
    --bs-pagination-active-border-color: var(--primary-color);;
    display: flex;
    padding-left: 0;
    list-style: none
}
.pagination {
  flex-wrap: wrap;
}
/*---------------------
TOP
---------------------*/
/* --- 基本的なスライダーのスタイル --- */
.hero-slider {
  position: relative;
  border-radius: 0.5rem;
}
.hero-slider img{
border-radius: 1rem;
box-shadow: 0rem 0.2rem 0.7rem rgba(0, 0, 0, 0.20);
}
.hero-slider__inner {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 2rem;
}
.hero-slider__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}
.hero-slider__item.is-active {
  opacity: 1;
  z-index: 2;
}
/* --- 画像のスタイル --- */
.hero-slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 85% center;
}
.hero-slider__item.is-narrow .hero-slider__image {
  object-position: 70% center;
}
/* --- テキスト領域のスタイル --- */
.hero-slider__caption {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  z-index: 3;
  visibility: hidden;
  box-sizing: border-box;
  /* PC表示時のテキスト幅 (通常) */
  width: 50%;
}
/* PC表示時: is-narrowクラスが付いたスライドのテキスト幅 (狭くする) */
.hero-slider__item.is-narrow .hero-slider__caption {
  width: 40%;
}
.hero-slider__caption-bg {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 0rem 0.5rem 0.5rem 0rem;
  color: #333;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}
/* is-narrowのスライドでは、親の .hero-slider__caption に背景色を適用 */
.hero-slider__item.is-narrow .hero-slider__caption {
  background-color: rgba(255, 255, 255, 1);
  border-radius: 2rem 0rem 0rem 2rem;
}
/* それに伴い、is-narrow の子の .hero-slider__caption-bg の背景は透明にする */
.hero-slider__item.is-narrow .hero-slider__caption-bg {
  background-color: transparent;
  border-radius: 0;
}
.hero-slider__item .lead {
    font-size: 1.5rem;
}
/* ★★★ ここまで ★★★ */

@media screen and (min-width: 769px) {
.hero-slider__item.is-narrow .hero-slider__caption {
    width: 55%;
}
}
/* --- モバイル表示 (768px以下) --- */
@media screen and (max-width: 768px) {
  .hero-slider__caption {
    padding: 1rem 0;
    width: 70%;
  }
  .hero-slider__item.is-narrow .hero-slider__caption {
    width: 52%;
    padding: 0;
  }
  .hero-slider__caption-bg {
    padding: 1.5rem;
    margin: 0;
  }
}
/* --- モバイル表示 (540px以下) --- */
@media screen and (max-width: 540px) {
  .hero-slider__item .lead {
    font-size: 1rem;
  }
  .hero-slider__item .btn {
    font-size: 1rem;
  }
}
/* --- ページャー等のスタイル (変更なし) --- */
.hero-slider__indicators { text-align: center; }
.hero-slider__indicators button { background-color: #fff; border: 1px solid var(--primary-color); width: 12px; height: 12px; border-radius: 50%; margin: 0 6px; padding: 0; }
.hero-slider__indicators button.is-active { background-color: var(--primary-color); }
.wrap_top #heroSlider .btn-sm#heroSliderPlayPause { --bs-btn-padding-y: 0.1rem !important; --bs-btn-padding-x: 0.25rem !important; --bs-btn-font-size: 0.6rem !important; }
#contents.wrap_top h2{
padding-left:0  
}
#contents.wrap_top h2:before{display:none}
#contents.wrap_top #greeting_btn_wrap .bg-light{
background-color:#eee!important
}
#contents.wrap_top #greeting_btn_wrap .btn {
    height: calc(100% - 3rem);
}
#contents.wrap_top #pickup .btn {
    border-radius:1rem;
padding:0.8rem;
}
#contents.wrap_top #pickup .btn img{
  max-width:45px
}
#contents.wrap_top #pickup .btn:hover{
  background:#fff;   
}
  .link-banner {
    display: block;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: opacity 0.2s ease-in-out;
    height: 85px; 
  }
  .link-banner:hover {
    opacity: 0.8;
  }
  .link-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  @media (max-width: 768px) {
.link-banner-container{
flex-direction:column;
}
    .link-banner {
      width: 100%;
      max-width: 250px;
      height: auto;
	  margin: auto;
    }
  }

@media screen and (max-width: 768px) {
    .notice-item-content {
      flex-direction: column;
      align-items: flex-start !important;
    }
    .notice-item-category {
      margin-left: 0 !important;
      margin-top: 0.25rem;
      margin-bottom: 0.25rem;
    }
  }
  /* ウィンドウを囲むコンテナ */
  .fixed-widget-container {
    position: fixed; /* 画面に固定 */
    bottom: 20px;
    right: 20px;
    z-index: 9999; /* 他の要素より手前に表示 */
  }
@media screen and (max-width: 576px) {
  .fixed-widget-container {
    bottom: 2px;
    right: 2px;
  }
}
  /* ウィンドウ本体のスタイル */
  .widget-window {
    width: 270px;
    border-radius: 1rem;
    background-color:var(--base-bgcolor)!important;
  }
@media screen and (max-width: 576px) {
  .widget-window {
    width: 330px;
  } 
}
@media screen and (max-width: 414px) {
  .widget-window {
    width: 100%;
  } 
}
  .heading-with-lines {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .heading-with-lines::before,
  .heading-with-lines::after {
    content: '';
    flex-grow: 1;
    height: 2px; /* 線の太さ */
    background-color: #806951; /* 線の色 */
  }
  .heading-with-lines span {
    padding: 0 1rem; /* 文字と線の間の余白 */
  }
.fixed-widget-container img{
max-width:72px;
}
	.fixed-widget-container .btn {
	color: #806951
	}
/* Flexboxを使ったボタンのレイアウト */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem; /* ボタン間の余白 */
  /* 重要：アイテムの高さを揃えるための指定 */
  align-items: stretch; 
}
/* カード（ボタン本体）のスタイル */
.square-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
  text-align: center;
  /* --- レイアウトの核 --- */
  /* 1. 幅の指定（基本は4列） */
  flex: 0 1 calc(25% - 1.5rem);
  height:auto;
  /* 2. 高さの指定 */
  min-height: 200px; /* 最小の高さを保証 */
}
/* アイコンとテキストのスタイル */
.square-card .activity-icon {
  width: 45%; /* テキストのスペースを確保するため少しだけ縮小 */
  height: auto;
  max-width: 70px;
}
.square-card .fw-bold {
  font-size: clamp(0.9rem, 2vw, 1.25rem); 
  line-height: 1.4;
  margin-top: 0.75rem;
  margin-bottom: 0;
}
/* --- スマートフォン用の設定 --- */
@media screen and (max-width: 576px) {
  .square-card {
    /* スマホでは1列にする */
    flex-basis: 100%;
    min-height: auto; /* 高さは自動調整に戻す */
    padding: 1.25rem;
  }
}
/*---------------------
お知らせ詳細
---------------------*/
#contents.wrap_infodetail .category_lbl{
  vertical-align: baseline;
}
/*---------------------
よくあるご質問
---------------------*/
#contents.wrap_faq .faq-qicon{
    color:var(--primary-color);
}
#contents.wrap_faq .faq-aicon{
    color:var(--sub-color);
}
/*---------------------
入会案内
---------------------*/
#contents.wrap_join .membertype{
background:var(--base-bgcolor);
}
/*---------------------
デジタルライブラリー
---------------------*/
@media (min-width: 768px) and (max-width: 1199px){
    #contents.wrap_library .row-cols-md-3>* {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}
@media (max-width: 575.98px) {
    #contents.wrap_library .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}
#contents.wrap_information .col-md-9{
  padding:0!important;
}

/*---------------------
情報公開
---------------------*/
.wrap_information .carousel-custom-container {
    position: relative; /* 左右ボタンの配置の基準 */
  }
	.carousel-main-wrap{
	position:relative;
	overflow: hidden;
	margin: 0 2rem
	}

.wrap_information .carousel-custom-inner {
    display: flex; /* アイテムを横並びにする */
    transition: transform 0.5s ease; /* スライドアニメーション */
  }
.wrap_information .carousel-custom-item {
    flex: 0 0 calc(100% / 3); /* PCでは3件表示 */
    padding: 1rem 0.5rem; /* アイテム間の隙間 */
  }
  
  /* 左右の矢印ボタン */
.wrap_information .carousel-custom-control-prev,
.wrap_information .carousel-custom-control-next {
    position: absolute;
    top: calc(50% - 0.75rem);
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.8rem;
    color:var(--base-color);
    cursor: pointer;
    z-index: 10;
  }
.wrap_information .carousel-custom-item img.pdf{
width:1rem;
height:1rem;
background:#fff;
}
.wrap_information .bi-chevron-right::before,
.wrap_information .bi-chevron-left::before{
font-weight:bold!important;
}
.wrap_information .carousel-custom-control-prev { left: 0; }
.wrap_information .carousel-custom-control-next { right: 0; }
.wrap_information .carousel-custom-control-prev:disabled,
.wrap_information .carousel-custom-control-next:disabled {
    opacity: 0.1;
    cursor: default;
  }

  /* ページャー（ドット） */
.wrap_information .carousel-custom-indicators {
    text-align: center;
  }
.wrap_information .carousel-custom-indicators button {
    background-color: #ddd;
    border: 1px solid var(--primary-color);
    border: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    padding: 0;
  }
.wrap_information .carousel-custom-indicators button.active {
    background-color:var(--primary-color);
  }

.wrap_information .wrap_information .carousel-custom-container .documents_btn::before{
display:none;
}

  /* 画面が小さい時の調整 */
  @media (max-width: 768px) {
.wrap_information .carousel-custom-item {
      flex: 0 0 calc(100% / 2); /* 2件表示 */
    }
  }
  @media (max-width: 500px) {
.wrap_information .carousel-custom-item {
      flex: 0 0 calc(100% / 1);
    }
.wrap_information .carousel-custom-container .documents_btn{
display:block
}
  }
