/* .no-sidebar .sidebar {
	display: block;
	position: relative;
	background: none;
}

.no-sidebar .content-in {
	display: flex;
	flex-wrap: nowrap;
}

.wp-block-column.col-right.is-layout-flow.wp-block-column-is-layout-flow {
	display: block;
}

div.article-content1 {
	flex-basis: 100% !important;
}
 */


/* 記事下 All Articles */
.all-articles .pt-cv-title, .all-articles .pt-cv-content-item {
	display: inline;
	white-space: nowrap;
	font-size: 15px;
}

.all-articles ._heading {
    margin-top: 32px;
    font-weight: bold;
    position: relative;
}

.all-articles ._heading::before {
	content:"";
	width: 128px;
	max-width: 20%;
	height:1px;
	background: black;
	position: relative;
	display: inline-block;
	right: 8px;
  bottom: 6px;
}

.all-articles ._heading::after {
	content:"";
	width: 128px;
	max-width: 20%;
	height:1px;
	background: black;
	position: relative;
	display: inline-block;
	left: 8px;
  bottom: 6px;
}

.all-articles .pt-cv-content-item::after {
	content: "／";
	color: #007aff;
	margin: 0 8px;
	font-size: 20px;
}


.all-articles .pt-cv-blockgrid>.pt-cv-page {
	display: block;
	    text-align: left;
}

@media (max-width: 1199px) {
	.all-articles .pt-cv-title, .all-articles .pt-cv-content-item {
		white-space: wrap;
		display: block;
	}
	
	.all-articles .pt-cv-content-item::after {
	display: none;
	}
}

/*.SP用調整コード */
div#content-in {
    max-width: 100vw;
}
.wrap {
    max-width: 100vw;
}

.wp-block-columns:not(.custom-2col) {
  gap: 0 !important;
}
/* 投稿におけるアイキャッチ修正 */
.eye-catch, .eye-catch img {
	width: 100%;
}

/*.投稿における著者情報修正 */
.wp-block-post-author__name {
	margin: 0 !important;
}

/* サイト全体でninkiタグを非表示 */
a[rel="tag"][href$="/tag/ninki/"], a.tag-cloud-link[href$="/tag/ninki/"] {
  display: none !important;
}
/* 非表示：更新者、PV数、トップページのタイトル、見出しの線、投稿ページの画像内ラベル、タグアイコン、いいねの見出し */
.author-info, .admin-pv, .page-id-29 .type-page .entry-header > .entry-title, .page-id-29 .type-page .date-tags, .wp-block-post-terms__separator, body.single .cat-label, .tax-icon, .sharedaddy .sd-title {
  display: none !important;
}
/* 見出しを中央 */
.page-id-29 .entry-content, .entry-footer, body.single .col-right {
  text-align: center;
}
/* 本文を左寄せ */ 
.custom-text-left {
  text-align: left;
}
/* トップページのサイト概要 */
.top-overview {
  text-align: center;
  font-weight: 500;
  max-width: 40rem;
  margin-bottom: 0 !important;
}
/* カバーブロックの左右の余白を消す */
.entry-content .wp-block-cover,
.entry-content .wp-block-cover-image {
  margin: 0 calc((100% - 100vw)/2) 1.5em;
  min-height: 600px;
  width: auto;
}
/* ヘッダーメニュー */
.menu-header a {
  font-family: "Arial", sans-serif;
  font-weight: 500;
  color: #333;
}
.top-has-sub .fa-angle-down {
  display: none !important;
}
.menu-header .menu-item-has-children > a {
  position: relative;
  display: inline-block;
  padding: 10px;
  top: 6px;
}
.menu-header .menu-item-has-children > a::before {
  content: '';
  width: 7px;
  height: 7px;
  border-top: solid 2px #555;
  border-right: solid 2px #555;
  position: absolute;
  left: 4.8em;
  top: 18px;
  transform: rotate(135deg);
}
.menu-header a:hover {
  text-decoration: underline;
}
.fixed-header .navi li:hover > ul.sub-menu {
  display: block;
}
/**************************************/
/* カルーセル */
.carousel-in {
  display: block;
  width: 90%;
  max-width: 1200px;
  background-color: #f9f9f9;
  padding: 20px 0;
  margin: 0 auto;
}
.carousel-entry-card {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  overflow: hidden;
  gap: 1.5em;
  padding: 0.5em;
  margin-bottom: 15px;
  height: 400px;
  box-sizing: border-box;
  flex: 1 1 auto !important;
  min-width: 0 !important;
	min-height: min(30vw, 400px);
}
@media (min-width: 1330px) {
	.carousel-entry-card-wrap {
		min-height: 400px;
	}
	.carousel {
		height: 469px;
	}
	
}
@media (max-width: 599px) {
	.carousel-entry-card-wrap {
		min-height: 500px;
	}
	.carousel {
		min-height: 553px;
	}
	
}
.carousel-entry-card-thumb {
  width: 65%;
  position: relative;
}
.carousel-entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
	aspect-ratio: 16 / 9;
}
.carousel-entry-card-thumb .cat-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #0073aa;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  z-index: 1;
}
.carousel-entry-card-content {
  flex: 0 0 35%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.carousel-entry-card-content .carousel-date {
  font-size: 18px;
  color: #777;
  margin-bottom: 8px;
  font-weight: 500;
}
.carousel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-top: 0.5em;
}
.carousel-tag {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 0.5em;
  background-color: #f0f0f0;
  color: #555;
  font-size: 0.8em;
  line-height: 1.2;
}
.carousel-entry-card-content .carousel-entry-card-title {
  font-weight: bold;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 4.45em;
  line-height: 1.5;
  font-size: 0.9em;
}
.carousel-entry-card:hover .carousel-entry-card-title {
  color: #007acc;
  text-decoration: underline;
}
/**************************************/
/* セクション見出し（縦） */
.section-heading {
  position: relative;
  border: none !important;
  writing-mode: vertical-rl;
  letter-spacing: 0.3rem;
  left: 0.5rem;
}
.section-heading::before {
  content: "●";
  color: #0cc;
  position: absolute;
  top: -0.3rem;
  transform: translateY(-50%);
  left: 0.65rem;
}
/* セクション見出し（横） */
.section-heading-c {
  border: none !important;
  background: linear-gradient(transparent 60% , #7FFFA4 60%, #7FFFA4 80%, transparent 80%);
  display: inline-block;
  margin-top: 20px !important;
  margin-bottom: 10px !important;
}
/**************************************/
.main {
  background-color: #f9f9f9;
}
/* 投稿カード */
.wp-block-query .wp-block-post, .entry-card-wrap {
  margin: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  gap: 0.5rem;
  max-width: 320px;
  flex: 1 1 300px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  background-color: #fff;
  position: relative;
  cursor: pointer; 
  text-align: left;
}
.wp-block-post > *:not(.wp-block-post-featured-image) {
  padding: 0.5em;
}
.wp-block-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}
.wp-block-query .wp-block-post > .wp-block-columns {
  margin-top: auto !important;
}
/* カテゴリ・タグ */
.wp-block-post-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-left: 0.5em;
  font-size: 0.75em;
}
.wp-block-post-terms a {
  display: inline-block;
  padding: 0.2em 0.6em;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.2;
}
/* カテゴリ（青）・タグ（グレー） */
.wp-block-post-terms.taxonomy-category a {
  border-radius: 1em;
  background-color: #e0f0ff;
  color: #005a9c;
}
.taxonomy-post_tag {
  height: 8em;
  overflow: hidden;
  align-items: flex-start;
}
.wp-block-post-terms.taxonomy-post_tag a {
  border-radius: 0.5em;
  background-color: #f0f0f0;
  color: #555;
}
/* 投稿タイトル（3行） */
.wp-block-post-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 4.45em;
  line-height: 1.5;
  font-size: 0.8em !important;
  border: none !important;
}
.wp-block-post:hover .wp-block-post-title {
  color: #007acc;
  text-decoration: underline;
}
/* 投稿日 */
.wp-block-post-date, .p-date {
  position: absolute;
  right: 15px;
  transform: translateY(-50%);
}
.wp-block-post-date {
  top: 85%;
  font-size: 0.7em;
  font-weight: 500;
  text-align: right;
  margin-top: 0;
}
.p-date {
  top: 75%;
  font-size: 2rem;
  font-weight: 600;
  color: white;
  text-shadow:
    -1px -1px 0 #333,
     1px -1px 0 #333,
    -1px  1px 0 #333,
     1px  1px 0 #333;
  line-height: 1;
}
.wp-block-post a {
  pointer-events: auto;
}
.wp-block-post a * {
  pointer-events: none;
}
.wp-block-post > .wp-block-columns  {
  margin-bottom: 0 !important;
}
/**************************************/
/* ボタン */
.wp-block-button.custom-button {
  margin-top: 30px;
  margin-bottom: 20px;
  position: relative;
}
.custom-button a.wp-block-button__link {
  background-color: #405060;
  color: #fff;
  line-height: 1.4;
  border-radius: 5px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 12pt;
  font-weight: 600;
  padding: 15px 70px 15px 50px;
}
.custom-button a.wp-block-button__link:hover {
  background-color: #007acc;
}
.custom-button a.wp-block-button__link::before {
  content: "";
  position: absolute;
  right: 20px;
  width: 13px;
  height: 13px;
  bottom: 20px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}
.custom-button a.wp-block-button__link::after {
  content: "";
  position: absolute;
  right: 17px;
  width: 25px;
  height: 2px;
  bottom: 24px;
  background: #fff;
  transform: rotate(135deg);
}
/* トップページの「About Us」ボタン */
.small-button {
  margin-top: 0rem !important;
}
.small-button a.wp-block-button__link {
  padding: 15px 50px 15px 20px;
  background-color: #0099e6;
}
/**************************************/
/* タグクラウド */
.wp-block-tag-cloud a, .tagcloud a {
  display: inline-block;
  background-color: #fff;
  color: #405060;
  border: 1px solid #afbfcf;
  padding: 3px 12px;
  margin: 15px 6px 0 0;
  font-size: 14px !important;
  border-radius: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.wp-block-tag-cloud a:hover, .tagcloud a:hover {
  background-color: #405060;
  color: #fff;
}
/**************************************/
/* 下部メニュー */
.footer-widgets {
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-widgets .widget_nav_menu {
  flex: 1 1 30%;
  margin: 0 10px !important;
}
.footer-widgets .widget_nav_menu .menu-item-has-children > a::before {
  content: "●";
  position: absolute;
  left: 0em;
  top: 1.1em;
  font-size: 0.9em;
  line-height: 1.2;
}
#nav_menu-2 .menu > .menu-item-has-children > a::before {
  color: #00c853;
}
#nav_menu-3 .menu > .menu-item-has-children > a::before {
  color: #2979ff;
}
#nav_menu-4 .menu > .menu-item-has-children > a::before {
  color: #ff9100;
}
.footer-widgets .menu > .menu-item-has-children > a {
  font-size: 1rem;
  font-weight: 500;
  padding-left: 20px;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 3.5px dotted #444;
  text-decoration: none;
  display: block;
}
.footer-widgets .menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-widgets .menu .sub-menu li a {
  display: block;
  padding: 6px 0 6px 10px;
  font-size: 0.8em;
  font-weight: 500;
  text-decoration: none;
}
.footer-widgets .menu li a:hover {
  background: none;
  text-decoration: underline;
}
#footer .navi-footer a:hover {
  color: #333;
}
/**************************************/
/* 投稿ページ */
/*カテゴリー*/
.cat-link {
  border-radius: 2em;
  background-color: #fff;
  color: #333;
  border: 1px solid #555;
  padding: 3px 15px;
  font-size: 0.75em;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.entry-categories a:hover {
  color: #fff;
  background-color: #333;
  opacity: 1;
}
/* 投稿者 */
.wp-block-post-author__content {
  display: block;
  text-align: left;
}
/* 公開日、更新日 */
.custom-date {
  font-size: 1.0rem;
}
/* 目次 */
#ez-toc-container .ez-toc-title-container, #ez-toc-container {
  background: #f9f9f9;
  padding: 0;
}
div#ez-toc-container .ez-toc-title {
  display:block;
  line-height: 0.5;
  padding: 1em ;
}
.ez-toc-title-toggle {
  position:absolute;
  top: 7px;
  right: 15px;
}
#ez-toc-container .ez-toc-list {
  margin: 0.5em;
}
#ez-toc-container .ez-toc-list a::before {
  content: "・";
}
/* 本文 */
.article-content1 {
  background-color: #ffffff;
  padding: 2rem 16px;
  text-align: left;
}
.article-content1 h2 {
  background-color: #fff;
  border-left: 5px solid #0099e6;
  line-height: 1.4;
  margin: 1.5rem;
  padding: 10px; 
}
.article-content1 h3 {
  border: none;
  font-size: 1.1em;
  margin: 1.5rem;
  padding: 0;
}
.article-content1 h4 {
  border: none;
  padding: 0;
}

@media screen and (max-width: 781px) {
	.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex {
		max-width: 100%;
    width: 100vw;
/*     margin-left: -16px; */
	}
}
/* 投稿者情報＋リンク */
.wp-block-post-author, .wp-block-post-author__bio {
  margin-bottom: 0.3rem !important;
}
.author-profile-link > a {
  display: inline-block;
  margin-top: 0.5em;
  font-size: 0.8em;
  color: #333;
  position: relative;
  left: 4.5em;
  text-decoration: none;
}
.author-profile-link > a:hover {
  text-decoration: underline;
  color: #005177;
}
/* ウィジェット用 */
.tag-cloud-link {
  flex-grow: 0 !important;
}
.tagcloud {
  gap: 6px;
  margin-top: 0.7rem;
  margin-left: 1rem;
}
.widget-entry-cards .widget-entry-card {
  margin: 3px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  padding: 0.5rem;
  background-color: #fff;
}
.widget-entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 8px rgba(0,0,0,0.1);
}
.widget-title {
  font-weight: 600;
  background: linear-gradient(transparent 60% , #7FFFA4 60%, #7FFFA4 80%, transparent 80%);
  display: inline-block;
}
.widget-entry-card-title {
  font-size: 0.9rem !important;
  text-align:left;
}
.widget-entry-card:hover .widget-entry-card-title {
  color: #007acc;
  text-decoration: underline;
}
.custom-button-wrapper {
  display: flex;
  justify-content: center;
}
.widget-button {
  display: inline-block;
  width: auto;
}
/**************************************/
/* 一覧ページ */
.entry-card-thumb .cat-label {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: #0073aa;
  color: #fff;
  font-size: 10px;
  border-radius: 3px;
}
/**************************************/
/* PC版検索窓 */
.header-search {
  width: 200px !important;
  position: relative;
}
.header-search .search-box {
  margin: 0;
  top: 9px;
  left: 20px;
}
.header-search input[type="text"] {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 14px / 50%;
}
.header-search .search-submit {
  color: #378cb0;
}
/**************************************/
/* レスポンシブ */
@media screen and (max-width: 768px) {
  /* カルーセル */
  .carousel-entry-card {
    flex-direction: column;
    height: auto;
  }
  .carousel-entry-card-content,
  .carousel-entry-card-thumb {
    width: 100%;
  }
  .carousel-entry-card-content {
    padding: 16px;
  }
  .carousel-entry-card-title {
    font-size: 18px;
  }
  /* セクション見出し */
  .section-heading {
    writing-mode: horizontal-tb;
    letter-spacing: normal;
    text-align: left;
  }
  .section-heading::before {
    position: static;
    transform: none;
    margin-right: 0.5em;
  }
  /* ボタン中央寄せ */
  .wp-block-buttons {
    justify-content: center;
  }
  /* 投稿カード中央寄せ */
  .wp-block-query .wp-block-post {
    flex: 1 1 100%;
    max-width: 100%;
  }
  /* カラムブロック */
  .wp-block-post > .wp-block-columns {
    flex-wrap: nowrap !important;
  }
  .wp-block-post > .wp-block-columns > .wp-block-column:first-child {
    flex: 0 0 70% !important;
  }
  .wp-block-post > .wp-block-columns > .wp-block-column:last-child {
    flex: 0 0 30% !important;
  }
  /* 投稿ページ右カラム非表示 */
  .col-right {
    display: none !important;
  }
  /* 一覧ページ中央寄せ */
  .sp-entry-card-1-column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .sp-entry-card-1-column .entry-card {
    width: 100%;
    max-width: 500px;
  }
  .taxonomy-post_tag {
    height: 6em;
  }
}
/* ヘッダーモバイルボタン */
.logo-menu-button.menu-button {
  justify-content: flex-start;
  padding-left: 22px;
}
.search-menu-button.menu-button {
  justify-content:flex-end;
}
.navi-menu-button.menu-button {
  justify-content: flex-end;
  padding-right: 22px;
}
/**************************************/
/* テーブルの横スクロール対応 */
/**************************************/
.scrollable-table {
  width: 100%;
  overflow-x: auto; /* 横方向にはみ出た場合にスクロールバーを表示 */
  -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかにする */
  border: 1px solid #ddd; /* スクロール範囲を分かりやすくするための枠線（不要なら削除） */
  padding: 0.5em; /* 内側の余白（不要なら削除） */
  box-sizing: border-box;
}

.scrollable-table table {
  /* テーブルの最小幅を指定。これより画面が狭い場合にスクロールが有効になる */
  min-width: 600px; 
}