/**********************************************
  🃏 Contents cards section
**********************************************/
/* ページ別ブログ一覧 */
.card-grid-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.card.blog-card a {
  text-decoration: none !important;
}

/* ページ別ブログ一覧 見出し */
.section-heading-title {
  text-align: center;
  margin: 3.5rem 0;
}

.section-heading-title h2{
	color: #5d627b;
  margin-top: 0;
  font-weight: normal;
}

.section-heading-title img{
	width:55%;
	margin-bottom:20px;
}
@media (max-width: 768px) {
.section-heading-title img{
	width:80%;
	margin-bottom:20px;
}	
}


/* Top一覧 見出し */
.section-heading {
  text-align: center;
  margin: 5rem 0;
}

.section-heading h2 {
  color: #5d627b;
  margin: 0;
  font-weight: normal;
}

.section-title-en {
  text-align: center;
  font-family: 'Sacramento-Regular', serif;
  font-size: 3.5rem;
  position: relative;
  margin-bottom: 2rem;
}

.section-title-en::before,
.section-title-en::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #999;
  margin: 0 1rem;
  vertical-align: middle;
}

.section-title-jp {
  font-size:1em;
  color: #5d627b;
  margin: 0;
  font-weight:500 ;
  letter-spacing: 0.05em;
}

/* Topブログ一覧の見出し */
.blog-latest .section-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Topブログカードのカスタム*/
.card.blog-card {
  background: #faf9f5;
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.card.blog-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.card.blog-card .card-text {
  padding: 1rem;
}

.card.blog-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.3rem;
}

.card.blog-card time {
  font-size: 0.9rem;
  color: #666;
}

/*　トップページのみオレンジ */
body.home .card.blog-card {
  background: #fff5e9;
}


/* Topコンテンツ紹介 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.card h3 {
  font-size: 1.1rem;
  margin: 0.8rem 1rem 0.3rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 1rem 1rem;
}

.card-year {
	display: inline-block;
  background-color: #82abb0;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.2rem 0.6rem;
  border-radius: 999px;
  font-size: 1.2rem;
  transition: background-color 0.2s;
}

/* 検索結果のタイトル文字 */
.search-title {
  text-align: center;
  margin: 4rem 0 2rem;
  font-size: 2rem;
  color: #5d627b;
}
/* 検索ボックス */
.search-block{
	margin:1rem;
	text-align:center;
}

/* 「もっと見る」ボタン */
.more-button-wrap {
  text-align: right;
  margin: 0 4rem 3rem 0;
}

.more-button {
  display: inline-block;
	font-family: 'Sacramento-Regular', serif;
  background-color: #82abb0;
  color: #fff;
  text-decoration: none;
  padding: 1rem 1.2rem 0;
  border-radius: 999px;
  font-size: 2rem;
  transition: background-color 0.2s;
}

.more-button:hover {
  background-color: #aaa;
}

/*　ページネーション */
.pagination-wrapper {
  text-align: center;
  margin-top: 3rem;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.3rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease;
}

.pagination-wrapper .page-numbers:hover {
  background: #f2f2f2;
}

.pagination-wrapper .current {
  background: #ddd;
  font-weight: bold;
  pointer-events: none;
}

.pagination-wrapper .page-numbers {
  transition: transform 0.15s ease;
}

.pagination-wrapper .page-numbers:hover {
  transform: translateY(-2px);
}



/**********************************************
  🔎✨ search button section
**********************************************/
.search-fab {
  position: fixed;
	font-size:18px;
  top: 20px;
  right: 20px;
  width: 12%;
  height: 40px;
  border-radius: 20%;
  background-color: #ffffff;
  color: #5d627b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
}
.search-fab:hover {
  transform: scale(1.1);
}

/* ✅ スマホ時（bottomに固定してtop打ち消し） */
@media (max-width: 767px) {
  .search-fab {
    position: fixed;
    top: auto !important; /* ← topを消す */
    bottom: 50px;
    left: 17%;
    width: 16%;
    height: 40px;
    font-size: 18px;
    z-index: 99;
  }
}

.search-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.search-modal.open {
  display: flex;
}
.search-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  position: relative;
}
.search-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #5d627b;
  cursor: pointer;
}


/**********************************************
  🍔🍟 hamburger menu
**********************************************/

body {
line-height: 1;
padding: 55px 0px;
}


.humb-btn{
  position: fixed;
  top: 5px;
  left: 5px;
  z-index: 2000;
  width: 80px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #678da1;
  color: #fff;
	font-size:15px;
}

.humb{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:enter;
  background: #f0efe9;
	border-radius:10px;
	width: 50vw;
	height: 50vh;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari対策 */
}

.humb-inner{
	margin-top:60px;	
}
.humb__item,
.humb__item_titile,
.humb__item_info,
.humb_username,
.humb__item_login{
  width: 100%;
  height: auto;
  text-align: center;
  box-sizing: border-box;
}
.humb_avatar{
	height: auto;
 display:block;
	margin:0 100px;
}
.humb__item{
	padding: 0.5em 1em 1em 5em;
}
.humb__item_titile{
	font-size:17px;
	font-weight:600;
  padding: 0.5em 1em 0.2em 5em;
}
.humb__item_info{
	font-size:15px;
  padding: 0 1em 1.2em 5em;
}
.humb__item_login {
  font-size:15px;
	font-weight:500;
  padding: 0 1em 1.2em 5em;
  text-align: right;
}
.humb__item_login a,
.humb__item a {
  text-decoration: none;
}

.humb{
  transform: translateX(-100vw);
  transition: all .3s linear;
}

.humb.is-active{
  transform: translateX(-20%);
}

.sub-menu {
	font-size:17px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}/* 2階層目　サブメニュー */

.humb__subitem {
	font-size:15px;
	width: 100%;
  height: auto;
  padding: 0.5em 0em 0em 5em;
  text-align: center;
  box-sizing: border-box;
}

.humb__sub {
  display: none;
}
.humb__sub.is-active {
  display: block;
}

/* menuボタンをpcで消す */
@media (min-width: 1025px) {
	
.humb-btn {
	display: none;
}	
}

/* スマホ */
@media (max-width: 767px) {
.humb{
  width: 90vw;
  height: 60vh;
}
.humb-inner{
	margin-top:55px;
}
.humb-btn{
  width: 60px;
  height: 40px;
	font-size:13px;
}		
.humb__item{
	padding: 0em 1em 1em 5em;
}
}


.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}

.humb_avatar img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

.humb_username {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}


/**********************************************
  📱 スマホ下部固定ナビ
**********************************************/
.mobile-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  border: 0.5px solid #ccc;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50%;
  z-index: 20000;
  border-radius:20px;
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.mobile-nav li {
  flex: 1;
  text-align: center;
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 12px;
  padding: 0 0 3px;
}

.mobile-nav i {
  font-size: 20px;
  margin-bottom: 2px;
}

.mobile-nav span {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
}

.mobile-nav small {
  font-size: 12px;
  display: block;
  line-height: 1;
}

/* ドロップダウンメニュー */
.dropdown-menu {
  display: none;
  position: absolute;
  bottom: 60px;
  left: 45%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari対策 */
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 20001;
  list-style: none;
  min-width: 140px;
}

.dropdown-menu a {
  display: block;
  padding: 0 5px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background: #f0f0f0;
}

.dropdown.open .dropdown-menu {
  display: block !important;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 16px;
  padding: 0;
  cursor: pointer;
}


@media (max-width: 767px) {

.mobile-nav {
border-radius:0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  border-top: 1px solid #ccc;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 20000;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  flex: 1;
  text-align: center;
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 12px;
  padding: 0 0 3px;
}

.mobile-nav i {
  font-size: 20px;
  margin-bottom: 2px;
}

.mobile-nav span {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
}

.mobile-nav small {
  font-size: 12px;
  display: block;
  line-height: 1;
}

/* ドロップダウンメニュー */
.dropdown-menu {
  display: none;
  position: absolute;
  bottom: 60px;
  left: 45%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari対策 */
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 20001;
  list-style: none;
  min-width: 140px;
}

.dropdown-menu a {
  display: block;
  padding: 0 5px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background: #f0f0f0;
}

.dropdown.open .dropdown-menu {
  display: block !important;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 16px;
  padding: 0;
  cursor: pointer;
}
}	


/**********************************************
  ⬆️ Topへ戻るボタン
**********************************************/
.pagetop {
  z-index: 1000;
  cursor: pointer;
  position: fixed;
  bottom: 3em;
  right: 5%;
  opacity: 0.85;
  transition: opacity 0.5s ease;
}

.pagetop img {
  width: 100px;
  max-width: 100px;
  width: 20vw; /* スマホサイズ調整 */
}

.pagetop:hover {
  opacity: 1.0;
}

@media (max-width: 768px) {
  .pagetop {
    bottom: 8vh;
    right: 3%;
  }
  .pagetop img {
    width: 5rem;
  }
}


/**********************************************
  📝 blog parts section
**********************************************/
.bar img{
	box-shadow:none;
	width:80%;
	display:block;
	margin:50px auto 0;	
}

.entry-header .entry-title {
	text-align:center;
	margin-bottom:80px;
	font-size:25px;
}

.dot_title{
letter-spacing:0.1em;
line-height:1.5em;
border-bottom:3px dotted #ccc;
margin-bottom:1.5em!important;
padding-bottom:12px;	
}

.fusen_title{
font-size:20px;
letter-spacing:0.2em;
line-height:1.5em!important;
font-weight:300;
background-color: #f0efe9;
border-left: 5px solid #989a2a;/* 左の線 */
border-bottom: 2px solid #cccccc;/* 下の線 */
margin-bottom: 2em!important;
padding:0.5em 1em;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.fusen_title2{		
letter-spacing:0.2em;
line-height:1.5em;
font-size:18px;
font-weight:300;
padding-left:1em!important;
border-left: 5px solid #989a2a;/* 線 */
margin-bottom:2em!important;
padding:0.1em 1em!important;
}

/**********************************************
  🧱 Layout section
**********************************************/
#wpadminbar{
		display:none;
}
