@charset "utf-8";

/* --------------------------------------------------------- */
/*	HEADER  **************************************************/
/* --------------------------------------------------------- */
  body {
 padding-top: 120px;
 }

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  height: 120px;
  z-index: 1000;
  box-shadow: none;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.header-row1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.header-row2 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 30px;
}

.logo {
 height: 90px;
 }
.decoration {
 height: 90px;
 }
.header-row2 img {
 height: 30px;
 width: auto;
 max-width: 1200px;
 }

@media (max-width: 850px) {
  body {
 padding-top: 90px;
 }
  header {
 height: 90px;
 }
  .header-inner {
 max-width: 100%;
 }
  .header-row1 {
 height: 70px;
 }
  .header-row2 {
 height: 20px;
 }
  .logo {
 height: 70px;
 }
  .decoration {
 display: none;
 }
  .header-row2 img {
   height: 20px;
  width: auto;
  max-width: 1200px;
  }
}
/* --------------------------------------------------------- */
/*	ハンバーガーメニュー（850以下で表示）  **************************************************/
/* --------------------------------------------------------- */

.hamburger {
  display: none;
  width: 50px;
  height: 48px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 5px 10px;
}
.hamburger::after {
  content: "MENU";
  display: block; /* インラインなら inline-block でもOK */
  font-size: 9px;
  text-align: center;
  margin-top: 0px; /* アイコンと文字の間の余白 */
  color: #333; /* 文字色 */
  font-weight: bold;
  letter-spacing:-0.2px;
}

.hamburger span {
  display: block;
  height: 4px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* 開閉アニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}



.mobile-menu {
    display: none; /* 初期非表示 */
}
/* モバイル表示 */
@media screen and (max-width: 850px) {
  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: none; /* 初期非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: #ccc;
    z-index: 999;
    padding: 90px 0 0 0;
  }

  .mobile-menu ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 5px;
    background: #ccc;
  }

  .mobile-menu li a {
    display: block;
    text-align: center;
    padding: 6px;
    background: #fff;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border: 0px;
  }

  .mobile-menu li a:hover {
    background-color: #f4bf1d;
    color: #fff;
  }
}

/* 480px以下は1列 */
@media screen and (max-width: 480px) {
  .mobile-menu ul {
    grid-template-columns: 1fr;
    gap: 2px;
    line-height:0;
  }
  .mobile-menu ul {
      padding: 5px 30px;
  }
  .mobile-menu li a {
    padding: 0;
    background: #fff;
    text-decoration: none;
    border: 0px;
  }

}

/* 開いている状態 */
.mobile-menu.active {
  display: block;
}

@media screen and (min-width: 851px) {
	.mobile-menu.active{
	    display: none;
	}
}
/* --------------------------------------------------------- */
/*	ハンバーガーメニュー内検索 *******************************/
/* --------------------------------------------------------- */

.menu-sp-search {
  margin: 0;
  padding: 12px 0;
  text-align: center;
  background-color: #fff
}

.menu-sp-search form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px; /* 入力とボタンの間隔 */
}

/*検索窓*/
.menu-sp-search .s {
  flex: 1; /* 入力欄をできるだけ広げる */
  max-width: 250px;
  padding: 5px 6px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.menu-sp-search .s:focus {
  border-color: #0078d7; /* フォーカス時の色 */
  box-shadow: 0 0 5px rgba(0,120,215,0.4);
}
/*placeholder*/
.menu-sp-search .s::placeholder{
	color: #999;
}

/*検索ボタン*/
.menu-sp-search .searchsubmit { 
  padding: 12px 15px;
  background: #0078d7;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.menu-sp-search .searchsubmit:hover {
  background: #005fa3;
}

@media screen and (max-width: 480px) {
  .menu-sp-search {
	padding: 6px;
  }
}

/* --------------------------------------------------------- */
/*	検索結果ページ内検索 *******************************/
/* --------------------------------------------------------- */

.searchpage-searchform{
	display: none;
}

@media screen and (max-width: 850px) {
	.searchpage-searchform {
		display: block;
	}
}

.searchpage-searchform {
  margin: 0;
  padding: 12px 0;
  text-align: center;
  background-color: #fff
}

.searchpage-searchform form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px; /* 入力とボタンの間隔 */
}

/*検索窓*/
.searchpage-searchform .s {
  flex: 1; /* 入力欄をできるだけ広げる */
  max-width: 250px;
  padding: 5px 6px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.searchpage-searchform .s:focus {
  border-color: #0078d7; /* フォーカス時の色 */
  box-shadow: 0 0 5px rgba(0,120,215,0.4);
}
/*placeholder*/
.searchpage-searchform .s::placeholder{
	color: #999;
}

/*検索ボタン*/
.searchpage-searchform .searchsubmit { 
  padding: 7px 15px;
  background: #0078d7;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.searchpage-searchform .searchsubmit:hover {
  background: #005fa3;
}

@media screen and (max-width: 480px) {
  .searchpage-searchform {
	padding: 6px;
  }
}

/*検索ページのMARKタグ*/
#search mark{
	background: #fef4a3;
}


/* --------------------------------------------------------- */
/*	MAIN  **************************************************/
/* --------------------------------------------------------- */

main div.container {
  max-width: 1200px; /* PC最大幅 */
  margin: 0 auto;
  background : #fff;
  padding: 0; /* 後で調整するので0 */
  display: flex;
  flex-direction: row; /* 横並び */
  padding-bottom: 1em;
  border-radius: 0 0 15px 15px;
  margin-bottom: 10px
}

/* 左ブロック */
.left-block {
  width: 350px;
  flex: 0 0 30%; /* デフォルトは約350px相当 */
  min-width: 280px;
  padding: 20px 0px;
}

/* 右ブロック */
.right-block {
  width: 850px;
  flex: 1; /* 残りを全部使う */
  min-width: 0; /* flex要素のはみ出し防止 */
  padding: 0 30px;
}

/* タブレット表示（850px以下） */
@media (max-width: 850px) {
  main {
    flex-direction: column; /* 縦並びに */
  }
  .left-block {
    display: none; /* 左ブロック非表示 */
  }
  .right-block {
    width: 100%; /* 横幅いっぱい */
    padding:25px;
  }
}
/* スマホ表示（480px以下） */
@media (max-width: 480px) {
  .right-block {
    padding:12px;
  }
}




/* --------------------------------------------------------- */
/*	ページの中身調整(左メニュー)  **************************************/
/* --------------------------------------------------------- */

.left-block .wp-block-group{
	margin:15px;
}


/* --------------------------------------------------------- */
/*	ページの中身調整(右メイン)  **************************************/
/* --------------------------------------------------------- */

main .container h1{
	padding-top: 0;
    padding-left: 5px;
    padding-bottom: 5px;
    margin: 10px 0;
    font-size: 155%;
    color: #224800;
    border-bottom: dotted 3px #52af00;
    letter-spacing:0.08rem;
}

main .container h2{
	margin: 35px 0 10px 0px;
    letter-spacing: 1px;
    font-size: 130%;
    clear: both;
}

main .container section{
	margin-left:20px;
}

main .container p{
	margin: 15px 0px;
}

.wp-block-image{
    margin-bottom: 2rem;
}

@media (max-width: 850px) {
	main .container section{
		margin-left: 0px;
	}

}

/* --------------------------------------------------------- */
/*	ぱんくずリスト ****************************************/
/* --------------------------------------------------------- */
.breadcrumbs{
    width: 100%;
    margin: auto;
    font-size: 70%;
    padding: 10px 0;
    color:#666;
    letter-spacing: 0px;
}

/* --------------------------------------------------------- */
/*	なんだそうだ般若心経（親ページに子ページの一覧を追加） */
/* --------------------------------------------------------- */

.child-page-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.child-page-list li {
  margin-bottom: 16px;
}

.child-page-list li a {
  display: block;
  font-weight:bold;
}

/* h2情報部分 */
.geth2 {
  display: block;      /* 改行して段下げ */
  margin-top: 4px;     /* タイトルとの隙間 */
  font-size: 0.85em;   /* 少し小さめ */
  color: #666;         /* タイトルより薄めの色 */
  line-height: 1.4;    /* 読みやすく */
}


/* --------------------------------------------------------- */
/*	なんだそうだ般若心経（子ページにタイトル、Notice、ページの前後のリンクを追加） */
/* --------------------------------------------------------- */

.hannya-title{
	text-align:right;
}
.hannya-title img{
	width:50%;
}
.hannya-notice{
	font-size: 85%;
	margin-bottom: 15px;
}

.hannya-navigation {
    display: flex;
    justify-content: space-between; /* 左右端に配置、中央は中央 */
    align-items: center;
    padding: 20px 0;
    font-weight: bold;
    font-size: 0.9em;
    flex-wrap: nowrap; /* 横並び固定 */
    margin-top: 25px;
    border-top: 1px solid #222;
    clear: both;
}

.hannya_left,
.hannya_center,
.hannya_right {
    flex: 1; /* 各カラムを同じ幅に */
}

.hannya_left { text-align: left; }
.hannya_center { text-align: center; }
.hannya_right { text-align: right; }

/* スマホでも横並びのまま */
@media screen and (max-width: 480px) {

	.hannya-title img{
		width:100%;
	}

    .hannya-navigation {
        flex-wrap: nowrap; /* 折り返さない */
    }
}




/* --------------------------------------------------------- */
/*	なんだそうだ般若心経テーブル（11ページ目）スマホとPCでtable表示とdl表示を切り替える ****************************************/
/*	なんだそうだ般若心経 DL/DD/DT（おまけ3ページ目） ****************************************/
/* --------------------------------------------------------- */

/* 共通スタイル */
.nanda_table {
  width: 100%;
  color: #4e0c0e;
}

/* PCはテーブル表示 */
.nanda_table table {
  width: 100%;
  border-collapse: collapse;
  display: table; /* デフォルト表示 */
  margin-bottom: 0;
}

.nanda_table table th,
.nanda_table table td {
  border: 1px solid #000;
  padding: 5px;
  text-align: left;
}

/* PCはDL非表示 */
.nanda_table dl {
  display: none;
}

/* --- スマホ表示 --- */
@media (max-width: 850px) {
  /* テーブル非表示 */
  .nanda_table table {
    display: none;
  }

  /* DL表示 */
  .nanda_table dl {
    display: block;
  }

  .nanda_table dl dt,
  .nanda_table dl dd {
    display: inline-block; /* 横並び */
    vertical-align: top;
    margin: 0;
    padding: 5px;
  }

  .nanda_table dl dt {
    width: 30%;   /* 左列の幅 */
    font-weight: bold;
    background: #f8f8f8;
  }

  .nanda_table dl dd {
    width: 68%;   /* 右列の幅 */
    border-left: 4px solid #4e0c0e;
    padding-left: 10px;
  }
}



dl.hannya dt{
	float:left;
	width:4em;
	margin-bottom:0.5em;
}
dt.mura{
	font-weight:bold;
	color:#742807;
	}
dt.osho{
	font-weight:bold;
	color:#004080;
	}
dl.hannya dd{
	margin-left:4em;
	margin-bottom:0.5em;
}


@media (max-width: 480px) {

	body[id^="nanda_hannya"] .wp-block-image .alignright,
	body[id^="nanda_hannya"] .wp-block-image .alignleft {
	    float: none;
	    display: block;
	    text-align: center;
	}

}


/* --------------------------------------------------------- */
/*	密蔵院について／イベントページの親子ページリンク表示まわり ***************/
/* --------------------------------------------------------- */

ul.about-subnav,
ul.event-subnav{
    list-style: none; /* デフォルトのマーカーを消す */
    padding-left: 2em; /* 画像マーカー分の余白を確保 */
    margin: 15px 10px;
}

ul.about-subnav li,
ul.event-subnav li{
    position: relative;
    margin-bottom: 0.2em; /* 行間調整 */
}

ul.about-subnav li::before,
ul.event-subnav li::before {
    content: '';
    position: absolute;
    left: -1em; /* padding-left と合わせる */
    top: 0.4em; /* 垂直位置を調整 */
    width: 13px; /* 画像サイズを半分に（26px → 13px） */
    height: 13px;
    background-image: url('/wp-mitsuzoin/wp-content/themes/mitsuzoin/images/pointcircle-orange.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/*イベント 詳細情報のテーブル*/
.event-info {
    width: 100%;
    border-collapse: collapse;
}

.event-info th,
.event-info td {
    border: 1px solid #666;
    padding: 0.5em 1em;
}

.event-info th {
    background-color: #e1f0bf;
}

/* --------------------------------------------------------- */
/*	記事詳細ページ ****************************************/
/* --------------------------------------------------------- */

body .right-block h2{
	background: url(/wp-mitsuzoin/wp-content/themes/mitsuzoin/images/h2point.jpg) left center no-repeat;
    padding-left: 35px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #637c32;
}


.single-post-content img{
	display: block;
	padding: 10px 0;
}





.wp-block-archives-dropdown select {
    width: 100%;            /* ブロック幅いっぱいに広げる */
    max-width: 300px;       /* 任意で最大幅を指定 */
    padding: 8px 12px;      /* 内側の余白 */
    font-size: 16px;        /* フォントサイズ */
    border: 1px solid #ccc; /* 枠線 */
    border-radius: 6px;     /* 角丸 */
    background-color: #fff; /* 背景色 */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* --------------------------------------------------------- */
/*	仏教本一覧ページ ****************************************/
/* --------------------------------------------------------- */

/* 書籍一覧グリッド */
.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    gap: 15px; /* アイテム間の余白 */
}

/* 各書籍アイテム */
.book-item {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    gap: 10px;
    box-sizing: border-box;
    background: #fff; /* 必要に応じて背景色 */
    padding: 7px;
    border: 1px solid #ddd; /* 任意で境界線 */
}

/* 画像 */
.book-item img {
    width: 100%;
    height: auto;       /* 高さ固定 */
    display: block;
}

/* タイトル */
.book-item h3 {
    margin: 0;
    font-size: 1em;
    line-height: 1.2;
    word-break: break-word;      /* 長い単語を折り返す */
    overflow-wrap: break-word;
}

/*タグ*/
ul.book-tags li{
	font-size: 90%;
	display: inline-block;
	font-weight: bold;
	margin: 5px;
}
.tagged_num{
	font-size:80%;
	font-weight: normal;
}

/* 発行日 */
.book-item div {
    margin: 0;
    font-size: 1.2rem;
    color: #555;
}

/* もっと見る リンク */
.book-more {
  display: inline-block;
  margin: 20px auto;
  padding: 10px 25px;
  background: #f4bf1d; /* 黄色ベース */
  color: #000;
  font-weight: bold;
  font-size: 1.4rem;
  border-radius: 25px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.book-more:hover {
  background: #e0ac12; /* 少し濃い色 */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

.book-more:active {
  transform: translateY(0); /* クリック時沈む感じ */
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* スマホ表示（480px以下） */
@media screen and (max-width: 480px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr); /* スマホは2列固定 */
    }

    .book-item img {
    }
}

/* タブレット表示（481px〜850px） */
@media screen and (min-width: 481px) and (max-width: 850px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr); /* タブレットも2列 */
    }

    .book-item img {

    }
}

/* --------------------------------------------------------- */
/*	仏教本詳細ページ ****************************************/
/* --------------------------------------------------------- */


/* 右ブロック内のラッパー */
.book-content-wrapper {
    overflow: hidden; /* float解除 */
}

/* 右寄せ画像＋購入リンク */
.book-mainimage-wrapper {
    float: right;
    width: 42%; /* PC時 右寄せ幅 3/7 ≒ 42% */
    margin-top: 1em;
    margin-left: 1em;
    margin-bottom: 1em;
    text-align: center;
}

.book-mainimage {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #aaa;
}

.book-purchase {
    margin-top: 0.5em;
}

.book-purchase a {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 4px;
    font-size: 85%;
    font-weight: bold;
}

.book-purchase a:hover {
    background-color: #005f8d;
}

/* 書籍情報テーブル */
.book-info {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2em;
    font-size:85%;
}

.book-info th,
.book-info td {
    border: 1px solid #ccc;
    padding: 0.5em 1em;
    text-align: left;
}

.book-info th {
    background-color: #f5f5f5;
}

/* スマホ表示（最大幅850） */
@media screen and (max-width: 850px) {
	main .container h1{
		font-size: 140%;
	}
    .book-mainimage-wrapper {
        width: 40%; /* スマホ時 */
    }
    .single-post-content {
        width: 100%;
    }

	.book-purchase a {
	    display: inline-block;
	    background-color: #0073aa;
	    color: #fff;
	    text-decoration: none;
	    padding: 0.3em;
	    border-radius: 4px;
	}

}

/* --------------------------------------------------------- */
/*	メッセージフォーム ****************************************/
/* --------------------------------------------------------- */
/* フォーム全体 */
.form-table {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  color: #333;
}

/* 項目タイトル */
main .container .form-title p {
  font-weight: bold;
  margin: 0;
}
main .container .form-main p {
  margin: 0;
}

.form-title{
	margin:20px 0 10px 0;
}



/* 必須マーク */
.hissu {
  background: #e60033;
  color: #fff;
  font-size: 0.75em;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 3px;
}

/* 例 */
.example {
  display: inline-block;
  font-size: 0.8em;
  color: #666;
  margin: 3px 0 0 10px;
}

/* 入力欄 */
.form-main input[type="text"],
.form-main input[type="email"],
.form-main textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border 0.3s, box-shadow 0.3s;
}

.form-main input:focus,
.form-main textarea:focus {
  border-color: #0078d7;
  box-shadow: 0 0 4px rgba(0,120,215,0.3);
  outline: none;
}

/* ボタン */
.wpcf7-submit,
#wpcf7-confirm,
#wpcf7-previous{
  background: #0078d7;
  color: #fff;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  margin: 3px;
}
#wpcf7-previous{
	background: #004a87;
}
.wpcf7-submit:hover,
#wpcf7-confirm:hover,
##wpcf7-previous:hover{
  background: #005ea6;
}

/* プライバシーポリシー部分 */
.inquiry-policy {
  font-size: 0.9em;
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #ddd;
  background: #fafafa;
  border-radius: 6px;
}

/*エラー表示*/
.errorcheck{
	color: #dc3232;
	border: 2px solid #dc3232;
	padding: 5px 10px;
	border-radius: 6px;
	margin:5px 0;
}










/* --------------------------------------------------------- */
/*	メインコンテンツ ****************************************/
/* --------------------------------------------------------- */

.wp-block-quote {
    display: block;
    padding: 0.5em 0 0.5em 2em;
    font-weight: bold;
    color: #71683e;
    font-style: italic;
    
}
.wp-block-quote cite{
    font-weight: normal;
    color:#777;
    font-style: italic;
}

.wp-block-group strong{
	font-weight: bold;
}
.wp-element-caption{
	font-size: 1.5rem;
	color: #666;
}

/*記事内のリストタグ表示*/
body.page .wp-block-group ul,
body.single .right-block ul {
    list-style: disc;
    margin-left: 4rem;
    margin-bottom: 2rem;
}
body.page .wp-block-group ol,
body.single .right-block ol {
    list-style: decimal;
    margin-left: 4rem;
    margin-bottom: 2rem;
}
.wp-block-column{
    margin: 0 10px;
}
.has-small-font-size{
    font-size: 1.4rem;
}
.has-large-font-size{
    font-size: 3.0rem;
}
.has-x-large-font-size{
    font-size: 3.8rem;
}
.has-text-align-center{
    text-align: center;
}
.has-text-align-left{
    text-align: left;
}
.has-text-align-right{
    text-align: right;
}
/* 850px以下に適用されるCSS（タブレット用） */
@media screen and (max-width: 850px) {
    #subpage {
        margin: 0px auto;
        padding: 0 15px;
        margin-bottom: 60px;
    }
    h2.wp-block-heading {
		font-size: 2.8rem;
        margin-top: 5px;
		letter-spacing: 0.1rem;
    }
	h3.wp-block-heading{
		font-size: 2.2rem;
		padding: 15px 0;
		letter-spacing: 0;

	}
	.wp-block-column {
        margin: 0 5px;
    }
}


/* --------------------------------------------------------- */
/*	news／weblog／search（検索結果）／error404（File Not Found）
/* --------------------------------------------------------- */


.wp-block-latest-posts__post-date {
    color: #666;
}


@media screen and (max-width: 850px) {
    .wp-block-image,
    .wp-block-embed-youtube{
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        margin-bottom: 1.5rem;
    }
}

.contents-list{
	max-width:400px;
	padding-left: 20px;
	margin: 0 auto;
	font-size: 1.7rem;
}
.list-thumbnail{
    position: relative;
	margin-right: 10px;
	width: 110px;
}
.list-thumbnail img{
	width: 110px;
	height: auto;
}
.list-postdata{
    flex: 1;
}
.mark{
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    position: absolute;
    top: 0;
    
}
.post a{
	font-weight: bold;
}
#subpage .post p{
    font-size: 1.5rem;
}
.list_wrap{
	display: flex;
	margin: 20px 0;
	padding-bottom:30px;
	border-bottom: 1px solid #666666;
	text-align: left;
}

div.date,
div.post-date{
	font-size:1.5rem;
    color: #666;
}




/*投稿詳細ページ*/
.single-post-date{
    color: #666;
    text-align: right;
    font-size: 1.6rem;
	margin-bottom:25px;
}
.single-post-title{
    font-size: 2.8rem;
	margin: 15px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;	
}
.single-post-title:before{
	content: "≪≫　";
    font-size: 3.7rem;
	font-weight: bold;
	color: #e9da26;
	letter-spacing: -13px;
}

/*投稿にYouTubeを掲載*/
.youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.youtube iframe{
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}

/* --------------------------------------------------------- */
/*	検索バー（wp-block-search）
/* --------------------------------------------------------- */

.wp-block-search{
    text-align: left;
    width: 100%;
    max-width: 400px;
    border: 0px solid #999;
}

.wp-block-search button{
    border: 1px solid #999;
    padding: 5px;
    background-color: #999;
    color: #fff;
}

/* --------------------------------------------------------- */
/*	ページ移動(pagination)
/* --------------------------------------------------------- */
.m-pagination {
	clear: both;
}

.m-pagination {
  display: flex;
  flex-wrap: wrap;          
  justify-content: center;   
  align-items: center;
  margin: 20px 0;
  font-family: sans-serif;
  font-size: 0.75em;       
  gap: 5px;                  
}

.m-pagination span {
  display: inline-block;
}

.m-pagination a,
.m-pagination .-current {
  display: inline-block;
  min-width: 36px;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* 番号付きページネーション */
/* 通常は薄い色 (#fde59a) */
.m-pagination span:not(.prev_post):not(.next_post):not(.back_to_category) a {
  background-color: #fde59a; /* 基準色より薄め */
  color: #222;
}

/* ホバーで基準色 (#f4bf1d) に */
.m-pagination span:not(.prev_post):not(.next_post):not(.back_to_category) a:hover {
  background-color: #f4bf1d;
  color: #fff;
}

/* 現在ページ */
.m-pagination .-current {
  background-color: #f4bf1d; /* 基準色 */
  color: #fff;
  pointer-events: none;
}

/* 「前・次」ボタン */
.m-pagination .prev_post a,
.m-pagination .next_post a {
  background-color: #fde59a; /* 薄め */
  color: #222;
}

.m-pagination .prev_post a:hover,
.m-pagination .next_post a:hover {
  background-color: #f4bf1d;
  color: #fff;
}

/* 「一覧へ戻る」ボタン */
.m-pagination .back_to_category a {
  background-color: #e0a923;
  color: #fff;
}

.m-pagination .back_to_category a:hover {
  background-color: #c79219;
}





/*固定ページ共通リンク（cate-link）*/
.wp-block-column:has(.cate-link){
	border-radius: 5px;
	padding-top:15px;

}
.wp-block-column:has(.cate-link-now){
	/*background-image: linear-gradient(180deg, rgba(255, 243, 231, 1), rgba(255, 255, 255, 1));*/
	background-image: linear-gradient(180deg, rgba(19, 9, 166, 0.15), rgba(255, 255, 255, 1) 60%);
}
.wp-block-column:has(.cate-link):last-child{
	border-right:0px;
}

#subpage p.cate-link {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    font-size: 2.3rem;
}
.cate-link:before {
    content: '';
    position: absolute;
    bottom: -1px;
    display: inline-block;
    width: 80px;
    height: 3px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #e9da26;
    border-radius: 2px;
}
.cate-link-now:before{
	background-color: #e9da26;
}
.cate-link-now:after {
    content: '▼';
	font-size: 1.8rem;
    color: #e9da26;
    position: absolute;
    bottom: 4px;
    display: inline-block;
    width: 100px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.cate-link a{
	text-decoration: none;
}
@media screen and (max-width: 850px) {
	.wp-block-column:has(.cate-link){
		border-right:0px;
	}
}

/*サイトマップ*/
ul.menu>li{
	padding-top: 10px;
}


/* --------------------------------------------------------- */
/*	中ページ     印刷時にヘッダーが毎ページ印刷されてしまう  */
/* --------------------------------------------------------- */

@media print {
	header {
		position: absolute !important;
	}
}

/* --------------------------------------------------------- */
/*	PC表示左メニューのヘッダー（H2）を小さめにする  */
/* --------------------------------------------------------- */
.left-block h2.wp-block-heading{
	font-size: 110%;
}

/* --------------------------------------------------------- */
/* カレンダー列を均等幅にする */
/* --------------------------------------------------------- */
.wp-block-calendar table {
  table-layout: fixed;   /* 列幅を固定 */
  width: 100%;           /* 横幅いっぱいに広げる */
}
.wp-block-calendar th,
.wp-block-calendar td {
  text-align: center;    /* 数字を中央寄せ */
  width: 14.28%;         /* 7列なので100÷7 */
}

.wp-block-calendar th {
	font-weight:bold;
}


/* ナビゲーション全体を横並びに */
.wp-block-calendar .wp-calendar-nav {
  display: flex;
  justify-content: space-between; /* 左・中央・右に分布 */
  align-items: center;
  margin-top: 0.5em;
  margin-right: 15px;
  margin-left: 15px;
  font-size: 85%;
}

/* 左・中央・右の位置調整 */
.wp-calendar-nav-prev {
  text-align: left;
  flex: 1;
}
.wp-calendar-nav-next {
  text-align: right;
  flex: 1;
}
.wp-calendar-nav .pad {
  text-align: center;
  flex: 1;
}

/* 投稿ページの本文の下にカレンダーなどを表示する（スマホのみ） */
#sp-widget{
	display: none;
}
@media screen and (max-width: 850px) {
	#sp-widget{
		display: block;
		margin: 40px auto;
		border-top: 3px double #999;
		
	}
	#sp-widget .wp-block-group{
		margin: 20px auto;
		max-width:450px;
	}
}


