@charset "utf-8";
/*共通構造部分のcssを記します*/
/*---------------------
reset
---------------------*/
html {
 box-sizing: border-box;
}
body{
 font-family: 'Noto Sans JP', "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
overflow-wrap:break-word;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* その他の基本的なリセット (必要に応じて追加) */

/* ul, olのリストスタイルをリセット */
ul, ol {
    list-style: none;
    padding-left:0 !important;/*bootstrapをoverride*/
}

/* aタグのテキスト装飾をリセット */
a {
    text-decoration: none;
    color: inherit; /* 親要素の文字色を継承 */
}

/* img要素の下部にできる余白をなくす */
img {
    vertical-align: middle;
    max-width: 100%; /* レスポンシブ対応 */
    height: auto;
}

/* form要素のデフォルトスタイルをリセット (必要に応じて) */
button, input, select, textarea {
    font-family: inherit; /* 親要素のフォントを継承 */
    font-size: 100%; /* 親要素のフォントサイズを継承 */
    line-height: 1.15; /* line-heightを調整 */
    margin: 0; /* 特定のブラウザでのmarginをリセット */
}

/* textareaのリサイズを制限 */
textarea {
    resize: vertical;
}

/* HTML5 sectioning content */
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}
/* reset.css */
/* すべての要素のmargin, paddingを0に */
* {
    margin: 0;
    padding: 0;
    /* borderをリセットしたい場合 (任意) */
    /* border: 0; */
}
button:focus:not(:focus-visible) {/* bootstrap上書き*/
    outline: 3px solid #333;
}
/*---------------------
color設定
---------------------*/
/* 基本カラー */
:root {
  --base-bgcolor: #fff; /* デフォルト背景色 */
  --base-color: #333; /* デフォルト文字色 */
  --strong-color: #000; /* 強い文字色 */
  --strong02-color: #DC3545; /* 強い文字色（赤色など） */
  --primary-color: #00865E; /* プライマリーカラー */
  --primary-light-color: #ecf5f2; /* 明るいプライマリーカラー */
  --sub-color: #806951; /* アクセントの茶色 */
  --vt-gray-light: #f8f9fa; /* 表背景グレー */
  --vt-border-color: #dee2e6; /* ボーダーグレーカラー */
  --btn-bg-color: #fdfdfd; /* ボタン用背景 */

--cat-color1: #281385; /* カテゴリラベル東日本支部の色 */
  --cat-color2: #D50146; /* カテゴリラベル南関東支部の色 */
  --cat-color3: #77016F; /* カテゴリラベル東海・北陸支部の色 */
  --cat-color4: #308A38; /* カテゴリラベル関西・中国・四国支部の色 */
  --cat-color5: #B65C01; /* カテゴリラベル九州・沖縄支部の色 */

  --cat-color11: #00865E; /* カテゴリラベル お知らせの色 */
  --cat-color12: #DC3545; /* カテゴリラベル お知らせの色 */
  --cat-color13: #606368; /* カテゴリラベル お知らせの色 */
  --cat-color14: #3C1A80; /* カテゴリラベル お知らせの色 */
  --cat-color15: #E22ADB; /* カテゴリラベル お知らせの色 */
  --cat-color16: #E05813; /* カテゴリラベル お知らせの色 */

}

/*---------------------
font-size設定(きまったサイズでパターン化すること
---------------------*/
.f_xxl{/*ページタイトルに使用*/
	    font-size: 2.2rem;
}
.f_xl{/*文化財DX等に使用*/
	 font-size:1.95rem;
}
.f_lg{/*中見出し等に使用*/
	font-size:1.5rem;
}
.f_md{/*〇〇等に使用*/
	font-size:1.2rem;/*仮のサイズです変更OKです*/
}
.f_sm{/*13.6px相当。コピーライトや注釈等に使用*/
	font-size:0.85rem;
}
.f_xs{/*12px相当*/
	font-size:0.75rem;
}
@media screen and (max-width:768px) { 
.f_xl{/*ページタイトルに使用*/
     font-size:1.5rem;
}
.f_xxl {
    font-size: 1.8rem;
}
.f_lg {
    font-size: 1.2rem;
}
.f_md{
	font-size:1rem;
}
}
/*---------------------
改行切り替え
---------------------*/
.pc_block{
	display:block;
}
.sp_block{
	display:none;
}
@media screen and (max-width:768px) { 
.pc_block{
	display:none;
}
.sp_block{
	display:block;
}
}

/*---------------------
body,html設定
---------------------*/
body,html{
	line-height:1.7;
	color: var(--base-color);
}

/*---------------------
#header設定
---------------------*/
#header .logo{
   max-width:275px
}
#header .navbar-nav{
  margin-left:auto;
}
#header .navbar-toggler{
	margin-left:auto;
  border:0;
}
#header .navbar-toggler:focus {
  box-shadow: 0!important;
}
#header .navbar-custom {
  background-color: #333;
}
#header .navbar-custom .navbar-brand,
#header .navbar-custom .nav-link {
  color: white; /* リンクの色 */
}
#header .navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); /* ハンバーガーアイコンの色 */
}


@media (min-width: 992px) {

  /* ナビゲーションメニューのホバー設定 */
  #header .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  #header .navbar-nav .nav-item.dropdown:hover > .nav-link.dropdown-toggle {
    color: var(--bs-navbar-active-color);
  }

  /* ユーティリティメニューのホバー設定 */
  #header .dropdown.me-3:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  #header .dropdown.me-3:hover > .btn.dropdown-toggle {
    color: var(--bs-link-hover-color, #0a58ca);
  }

}
#header .navbar-nav .nav-item.dropdown .dropdown-menu {
  transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out;
}
#header #utility-menu .btn-success {
    white-space: nowrap;
    width: 100%;
    padding: 0.5rem;
}
  .navbar-toggler {
    border: none;
    padding: .5rem;
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }

  /* 3本線のコンテナ */
  .navbar-toggler-icon-custom {
    position: relative;
    display: block;
    width: 26px;  /* アイコン全体の幅 */
    height: 20px; /* アイコン全体の高さ */
  }

  /* 3本の線の共通スタイル */
  .navbar-toggler-icon-custom .bar {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px; /* ★線の太さ */
    background-color: #333; /* 線の色 */
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }

  /* 各線の位置 */
  .navbar-toggler-icon-custom .bar:nth-of-type(1) { top: 0; }
  .navbar-toggler-icon-custom .bar:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
  .navbar-toggler-icon-custom .bar:nth-of-type(3) { bottom: 0; }

  /* メニューが開いた時の「×」印へのアニメーション */
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom .bar:nth-of-type(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom .bar:nth-of-type(2) {
    opacity: 0;
  }
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom .bar:nth-of-type(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
/*---------------------
navbar
---------------------*/
 #header .navbar-nav .nav-item.dropdown .dropdown-menu a:hover{
 background:var(--primary-light-color);
 color:var(--primary-color);
 }


 .body-overlay {
  display: none; /* 通常は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
  z-index: 1020; /* ヘッダーより手前、メニューより奥 */
}
/* bodyにis-overlay-activeクラスが付いたら表示 */
body.is-overlay-active .body-overlay {
  display: block;
}
 #mobile-utility-target #utility-menu{
 display:flex;
 justify-content: center;
flex-wrap: wrap;
 }
.navbar .dropdown-menu{
   width:200px
 }
  .accessibility-menu { position: relative; }
  .navbar .accessibility-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: calc(100% + 6rem);
    z-index: 10001;
    border: 1px solid var(--base-color);;
    border-radius: 0.5rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
     color:var(--base-color);
    background-color:var(--base-bgcolor);
  }
  .accessibility-menu.is-open .accessibility-panel { display: block; }
  .btn-group .btn { 
 	padding: .25rem .5rem; 
 	border-radius:4px!important;
 	font-size: .875rem; 
}

.btn-color-white { background-color:#fff !important; color:#333 !important; }
  .btn-color-black.btn { background-color: #212529; color: #ff0; }
  .btn-color-blue.btn  { background-color: #0d6efd; color: #fff; }
  .btn-close-panel.btn { background-color: var(--primary-color); color: #fff; }
  .accessibility-panel .btn:hover{ background-color:#fff !important;color:#212529 !important; opacity:0.8 !important; }
  .btn-close-panel.btn:hover { background-color: var(--primary-color) !important; color: #fff !important;  opacity:0.8 !important;}
  .btn-color-white.btn:hover { background-color:#fff !important; color:#212529 !important; }
  .btn-color-black.btn:hover { background-color: #212529 !important; color: #ff0 !important; opacity:0.8 !important; }
  .btn-color-blue.btn:hover{ background-color: #0d6efd !important; color: #fff !important; opacity:0.8 !important; }

  /* モバイルのハンバーガーメニュー内でのスタイル */
  .navbar-collapse .accessibility-menu { margin-bottom: .5rem; }
  .navbar-collapse .accessibility-panel {
    position: static;
    width: 100%;
    box-shadow: none;
  }

.dropdown-toggle::after {
  display: inline-block;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: 0;
  border-right: .1em solid;
  border-bottom: .1em solid;
  border-left: 0;
  width: .5em;
  height: .5em;
  transform: rotate(45deg);
}
.navbar {
  padding:0;
  flex-direction: column;
}

@media (max-width: 992px) {
#header,
 #header .navbar{
 position:relative;
 z-index:10000;
background:var(--base-bgcolor);
 }
.navbar .dropdown-menu{
  width:100%;
  border:0!important;
}
.navbar .dropdown-menu a{
 border:0;
 border-bottom:0!important;
 }
.navbar a.nav-link{
 padding:1.2rem 0;
 }

 .accessibility-menu.is-open + .btn{
  display:none
 }
 }

/*---------------------
パンくず設定
---------------------*/
  .breadcrumb-custom {
    --bs-breadcrumb-divider: '/'; 
    font-size: 0.875rem;
  }
  .breadcrumb-custom .breadcrumb-item a {
    text-decoration: none;
    color: var(--primary-color); 
  }
  .breadcrumb-custom .breadcrumb-item a:hover {
    text-decoration: underline;
  }
  .breadcrumb-custom .breadcrumb-item.active {
    color: var(--base-color)!important;
  }
/*---------------------
#コンテンツ設定
---------------------*/
#contents{
padding-bottom:3rem;}
/*---------------------
#sidenav設定
---------------------*/
#sidenav {
  background:var(--vt-gray-light);
}
#sidenav .badge {
  border:1px solid var(--primary-color);
  color:var(--primary-color);
}
#sidenav .active-color {
  color: var(--primary-color) !important;
}

#sidenav .active-color a {
  color: var(--primary-color) !important;
}

#sidenav .active-color .text-muted {
  color: var(--primary-color) !important;
}
/*---------------------
#コンテンツ幅を狭めた画面の設定
---------------------*/
#contents.wrap_greeting,
#contents.wrap_about,
#contents.wrap_activities,
#contents.wrap_history,
#contents.wrap_organization,
#contents.wrap_access,
#contents.wrap_join,
#contents.wrap_faq,
#contents.wrap_link,
#contents.wrap_accessibility,
#contents.wrap_sitemap,
#contents.wrap_terms,
#contents.wrap_privacy,
#contents.wrap_social-media-policy{
	max-width:1100px;
	margin:auto;
}
/*---------------------
#footernav
---------------------*/
.footer_name{
color: var(--primary-color);
}
/*---------------------
#footer設定
---------------------*/
  #footer li:not(:has(a)) {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
  }
#footer li a:hover {
opacity:0.75
}
  #footer li:has(a)::before {
    content: "";
    display: inline-block;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    width: 0.45em;
    height: 0.45em;    
    transform: rotate(45deg);
    margin-right: 0.7rem;
  }

@media screen and (max-width:992px) { 
    #footer li:has(a) {
	  padding:0.5rem 0;
	}
    #footer li:has(a)::before {
	  display:none;
	}
}
/*---------------------
リッチエディタ内記事登録
---------------------*/
.entry-content a{
text-decoration:underline;
}
.entry-content h1,
.entry-content h2,
.entry-content h3 {
    font-size:1.5rem;
    color: var(--base-color);
    border-bottom: none;
    padding-bottom: 0.75rem;
	padding-top: 0.75rem;
    padding-left: 0rem;
    position: static;
}
.entry-content h1::before,
.entry-content h2::before,
.entry-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0.75rem;
    width: 0px;
    background-color: #fff;
    border-radius: 1px;
}
.entry-content h3::before{
  display:none;
}
.entry-content pre{
  overflow: inherit;
  white-space: pre-wrap
}
.category_lbl {
  text-align:center;
}
.entry-content .mark, mark{color:inherit;
}
.entry-content img{
 object-fit: cover;
 height: 100%;
}
.entry-content h4{
color:var(--base-color);
font-size:1rem;
}