@charset "UTF-8";

/*------------------------------------------------------------------/

	用語集アーカイブ

/------------------------------------------------------------------*/
.dictionarySingle .m-wysiwyg h1 {
  font-size: 26px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  margin-bottom: 40px;
  margin-top: 40px;
  border-bottom: solid 1px #666;
}

@media screen and (max-width: 750px) {
  .dictionarySingle .m-wysiwyg h1 {
    font-size: 22px;
  }
}

.dictionarySingle .m-wysiwyg h3.ttlbold {
  font-size: 16px;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo,
    メイリオ, Osaka, "MS PGothic", arial, helvetica, sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 30px;
  padding-left: 1.3em;
}

.dictionarySingle .m-wysiwyg h3.ttlbold::after {
  content: "";
  background: none;
}

@media screen and (max-width: 750px) {
  .dictionarySingle .m-wysiwyg h3.ttlbold {
    padding-left: 0;
  }
}

.dictionaryArchive_tab {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 60px;
}

.dictionaryArchive_tab li {
  width: 50%;
  position: relative;
  cursor: pointer;
  border-bottom: 1px solid #cecfcf;
  text-align: center;
  padding-bottom: 20px;
  color: #adadad;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  /*
	@if $weight == 400 {
		_:-ms-lang(x)::backdrop, & {
			font-weight: $weight - 100;
		}
	}
	@if $weight == 500 {
		_:-ms-lang(x)::backdrop, & {
			font-weight: $weight - 100;
		}
	}
*/
  font-size: 20px;
  position: relative;
  cursor: pointer;
}

@media screen and (max-width: 750px) {
  .dictionaryArchive_tab li {
    font-size: 19px;
  }
}

.dictionaryArchive_tab li.-isActive {
  color: #222222;
}

.dictionaryArchive_tab li.-isActive::before {
  content: "";
  width: 100%;
  height: 3px;
  background-color: #cea73f;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.dictionaryArchive_panel {
  display: none;
}

.dictionaryArchive_panel.-isActive {
  display: block;
}

.dictionaryArchive_panel dl~dl {
  margin-top: 50px;
}

.dictionaryArchive_panel dt {
  font-size: 26px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  /*
	@if $weight == 400 {
		_:-ms-lang(x)::backdrop, & {
			font-weight: $weight - 100;
		}
	}
	@if $weight == 500 {
		_:-ms-lang(x)::backdrop, & {
			font-weight: $weight - 100;
		}
	}
*/
  text-align: center;
  position: relative;
  padding-bottom: 60px;
}

@media screen and (max-width: 750px) {
  .dictionaryArchive_panel dt {
    font-size: 22px;
  }
}

.dictionaryArchive_panel dt::after {
  content: "";
  width: 1px;
  height: 40px;
  background-color: #cea73f;
  position: absolute;
  bottom: -20px;
  left: 50%;
  -webkit-transform: translate(-100%, -50%);
  -ms-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}

.dictionaryArchive_panel dt::before {
  content: none;
}

@media screen and (max-width: 750px) {
  .dictionaryArchive_panel dt {
    padding-bottom: 40px;
  }

  .dictionaryArchive_panel dt::after {
    height: 25px;
  }
}

.dictionaryArchive_panel ul {
  margin-top: 30px;
  margin-bottom: -10px;
}

.dictionaryArchive_panel ul li {
  display: inline-block;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  margin-right: 25px;
}

.dictionaryArchive_panel ul li:before {
  content: "";
  width: 10px;
  height: 1px;
  position: absolute;
  top: 18px;
  left: 0;
  background-color: #222222;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.dictionaryArchive_panel ul li a {
  font-size: 18px;
  color: #222222;
  text-decoration: underline;
}

@media screen and (max-width: 750px) {
  .dictionaryArchive_panel ul li a {
    font-size: 17px;
  }
}

@media screen and (max-width: 750px) {
  .dictionaryArchive_panel ul li {
    display: block;
    margin-right: 0;
  }
}

/*------------------------------------------------------------------/

	用語集個別記事

/------------------------------------------------------------------*/

.dictionarySingle.m-wrap {
  padding-top: 0;
}

@media screen and (max-width: 750px) {
  .dictionarySingle.m-wrap {
    padding-top: 30px;
  }
}

.dictionary_relatedList {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: -20px;
}

.dictionary_relatedList li {
  width: calc(50% - 10px);
  background: #fff;
  margin-bottom: 20px;
}

.dictionary_relatedList li a {
  padding: 8px 20px 8px 35px;
  display: block;
  position: relative;
  color: #222222;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.dictionary_relatedList li a:hover {
  opacity: 0.8;
}

.dictionary_relatedList li a:before {
  content: "";
  width: 10px;
  height: 1px;
  position: absolute;
  top: 22px;
  left: 15px;
  background-color: #222222;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media screen and (max-width: 750px) {
  .dictionary_relatedList {
    display: block;
    margin-bottom: -10px;
  }

  .dictionary_relatedList li {
    width: 100%;
    margin-bottom: 10px;
  }

  .dictionary_relatedList li a {
    padding: 5px 10px 5px 35px;
  }

  .dictionary_relatedList li a:before {
    top: 20px;
  }
}

.m-wrap {
  padding: 20px 30px 80px;
  overflow: hidden;
}

@media screen and (max-width: 750px) {
  .m-wrap {
    padding: 50px 16px;
  }
}

/*なかむら追記*/
/* コンテナ全体 */
.container {
  max-width: 1200px;
  /* 最大幅を設定して中央揃え */
  margin: 0 auto;
  /* 水平中央揃え */
  padding: 0 20px;
  /* 両端の余白を均等に */
}

@media screen and (max-width: 750px) {
  .container {
    padding: 0;
    margin-top: -50px;
  }
}

/* メインコンテンツとサイドバーの配置 */
.content-wrapper {
  display: flex;
  /* 横並びレイアウト */
  gap: 20px;
  /* メインコンテンツとサイドバーの間隔 */
  align-items: flex-start;
  /* 上揃え */
  min-height: calc(100vh - 100px);
  /* フッターを考慮した高さ */
}

/* メインコンテンツ */
.dictionarySingle {
  flex-grow: 1;
  /* メインコンテンツが残りのスペースを占有 */
}

/* サイドバー */
.sidebar {
  width: 300px;
  flex-shrink: 0;
  background-color: #fff;
  padding: 20px 20px 80px 20px;
  border-radius: 5px;
  position: sticky;
  top: 20px;
  transition: top 0.3s;
}

.headerFix.pass~* .sidebar {
  top: calc(var(--header-height) / 2);
  transition: top 0.3s;
}

@media screen and (max-width: 1130px) {
  .headerFix.pass~* .sidebar {
    top: calc(var(--header-height));
    transition: top 0.3s;
  }
}

/* サイドバー内のウィジェット */
.sidebar .widget {
  margin-bottom: 20px;
  /* ウィジェット間のスペース */
}

.sidebar img {
  max-width: 100%;
  /* 画像が親要素をはみ出さない */
  height: auto;
  /* 縦横比を維持 */
  display: block;
  /* 画像をブロック要素にする（余計な隙間を防ぐ） */
}

/* H2のデザイン */
.sidebar_ttl_txt {
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  padding: 6px 0 10px;
  /* 上下の余白 */
  width: 98%;
  /* 横幅調整 */
  color: #111;
  font-weight: 700;
  border-bottom: 2px solid #999;
  border-top: 2px solid #999;
  margin-bottom: 12px;
}

.sidebar_ttl_txt span {
  font-size: 10px;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: #777;
  padding-left: 15px;
  /* 左側の余白 */
}

/* サイドバーの新しい項目 */
.sidebar-item {
  margin-bottom: 20px;
  /* 各項目の間隔 */
}

.sidebar-content {
  display: flex;
  /* 画像とテキストを横並び */
  align-items: center;
  /* 垂直方向を中央揃え */
  gap: 10px;
  /* 画像とテキスト間の余白 */
  font-family: Noto serif JP;
}

.sidebar-content img {
  width: 80px;
  /* 画像の幅 */
  height: 80px;
  /* 画像の高さ */
  object-fit: cover;
  /* 画像を切り取りながら比率を維持 */
}

.sidebar-text {
  font-size: 14px;
  /* 基本フォントサイズ */
  line-height: 1.4;
  /* 行間 */
}

.sidebar-text .title-jp {
  font-weight: bold;
  /* 日本語タイトルを太字 */
  margin-bottom: 4px;
  /* 日本語と英語の間の余白 */
}

.sidebar-text .title-en {
  color: #555;
  /* 英語部分の文字色 */
  font-size: 12px;
  /* 英語部分を少し小さめに */
  color: #a99975;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .sidebar {
    display: none;
    /* 幅が768px以下の場合、サイドバーを非表示にする */
  }
}

/* 小さな余白調整 */
.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.sidebar-content img {
  opacity: 0.8;
  /* 透明度 */
}

.widget a:hover img {
  opacity: 0.9;
  /* マウスオーバー時の透明度を少し明るく */
  filter: brightness(1.1);
  /* 明るさを上げる */
  transition: all 0.3s ease;
  /* 変化を滑らかに */
}

.btn_sidebar.display-fixed {
  display: block;
  margin-top: 16px;
  margin-bottom: -16px;
}

.btn_sidebar.display-fixed,
.btn-offset.display-specific {
  display: none;
}

.btn_sidebar.specific {
  position: relative;
  width: fit-content;
  z-index: 100;
}

.btn_sidebar__inner {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
}

.btn_sidebar__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn_sidebar__link:not(:root) {
  background-image: linear-gradient(to right bottom, #e6c869 5%, #b3883b);
  padding: 12px;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.35s;
  width: 100%;
}

.btn_sidebar__link:not(:root):hover {
  opacity: 0.75;
  transition: opacity 0.35s;
}

.btn_sidebar__label {
  font-size: 12px;
  height: 16px;
  line-height: 16px;
  padding: 4px 6px;
  color: #bd9200;
  border: 1px solid #bd9200;
  background: #fff;
  font-weight: 700;
  white-space: nowrap;
  font-family: "Noto Serif JP", serif;
}

.btn_sidebar__text:not(:root) {
  font-family: "Noto Serif JP", serif;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.btn_sidebar__text--s:not(:root) {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

.dictionarySingle .dictionary_contents ul li {
  list-style: disc outside none;
  margin-left:20px; 
  padding-bottom:20px;
}

.dictionarySingle .dictionary_contents .bg_ivory {
  margin:0 0 30px;
    
}