/*
Theme Name: livesupportspace
Theme URI: https://live-support-space.com/
Author: SHIMO
Description: サイドバーとナビ付き。
Version: 1.0
Tags: simple, clean, sidebar, nav, blog
*/

/* リセット・基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  line-height: 1.7;
}

a {
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* カテゴリーメニュー */
.category-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  margin-bottom: 0.5rem;
}

.category-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  font-weight: 500;
}

.category-item a:hover {
  background: linear-gradient(135deg, #6b326c 0%, #d9a6d9 100%);
  color: white;
  transform: translateX(5px);
  text-decoration: none;
}

.post-count {
  background: #6b326c;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 2rem;
  text-align: center;
}

.category-item a:hover .post-count {
  background: rgba(255,255,255,0.3);
}

/* ヘッダー */
header {
  background:  #fff;
  color: #2a2b32;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* サイトタイトル */
.site-title {
    margin: 0 0 20px;
    font-size: 0.8rem;
    font-weight: 700;
    max-width: 280px;
	color: #333;
}

.brand-logo{
	max-width: 140px;
	margin-top: -30px;
}

.site-title a {
  color: #2a2b32;
  text-decoration: none;
}

.site-title a:hover {
  color: #667eea;
}

p.header__h1 {
    margin: 0 0 20px;
    font-size: 0.8rem;
    font-weight: 700;
    max-width: 280px;
    color: #333;
}

/* ナビゲーション */
nav {
  flex: 1;
  text-align: right;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav li {
  display: inline-block;
}

nav a {
  color: #2a2b32;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
}

nav li:last-of-type a:hover,
nav li:last-of-type.current-menu-item > a {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
@media (max-width: 1177px) {
nav a {
    padding: 0.75rem 0.75rem;
}
}
@media (max-width: 900px) {
	.tablet_non{
		display:none !important;
	}
}

/* ハンバーガーボタン */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 4px;
	margin-left: 20px;
}

.hamburger-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #2a2b32;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn:hover span {
  background-color: #ccc;
}

/* ハンバーガーボタンのアニメーション（開いた状態） */
.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* サイドバーオーバーレイ */
.sidebar-overlay {
  position: fixed;
  top: 0;
  right: -350px; /* 初期位置は画面外 */
  width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-overlay.active {
  right: 0; /* 開いた状態 */
}

.sidebar-content {
  padding: 6em 1.5em 4em 1.5em;
position: relative;
}

/* サイドバー閉じるボタン */
.sidebar-close {
  position: absolute;
  top: 40px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.sidebar-close:hover {
  color: #333;
  background-color: #f0f0f0;
  border-radius: 50%;
}

/* オーバーレイ背景 */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-backdrop.active {
  opacity: 1;
  visibility: visible;
}


/* メインレイアウト */
#main {
  /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 200px);
}

/* メインコンテンツ */
#content {
  padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }

section {
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
}

/* ウィジェット */
.widget {
  margin-bottom: 2rem;
}

.widget-title {
	position: relative;
  font-size: 1.3rem;
  color: #2a2b32;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  font-weight: 600;
}

.widget-title::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; /* 親要素の下に配置 */
  left: 0;
  width: 100%;
  height: 1px; /* ボーダーの高さに相当 */
  background: linear-gradient(135deg, #6b326c 0%, #d9a6d9 100%);
  margin-top: 0.5rem; /* ボーダーとタイトルの間にスペースを空ける */
}

/* フロントページ専用スタイル */
body.front-page #main {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

body.front-page #content {
  margin: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* 共通セクションスタイル */
section {
  color: #383940;
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}
article h2{
  text-align: left;	
}

h2::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(135deg, #6b326c 0%, #d9a6d9 100%);
  margin: 1rem auto;
}

h3 {
    font-size: 1.4rem;
    color: #555;
    text-align: left;
    line-height: 1.6;
    margin: 2.5rem 0;
}

ol, ul {
    box-sizing: border-box;
    margin-left: 2rem;
}

/* コンテンツセクション */
.content-section {
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin: 5rem auto;
  padding: 3rem;
}

.content-section ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin-top: 2rem;
}

.content-section li {
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(252, 182, 159, 0.3);
  transition: transform 0.3s ease;
	color: white;
}

.toc li, .content-section li{
	background: linear-gradient(135deg, #6b326c 0%, #d9a6d9 100%);
}

.content-section dd {
	color: #555;
}

.content-section li:hover {
  transform: translateY(-2px);
}

/* ヒーローセクション */
#hero {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.2);
}

#hero * {
  position: relative;
  z-index: 2;
}

.firsthero-inner {
	margin-top: -7.5rem;
    position: relative;
	height: 685px;
	background-image: url(https://live-support-space.com/img/top/live_space_hero_photography_yoko.png);
	background-position: right bottom;
	background-repeat: no-repeat;
	background-size: cover;
}


.firsthero-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
    padding: 0 30px 25px 70px;
}

.hero-catchphrase {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.95;
}

.hero-main-text {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  font-weight: 500;
  line-height: 1.4;
}

#hero a {
  background: linear-gradient(45deg, #ff6b9d, #c44569);
  color: white;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

#hero a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.6);
}

/* メリット一覧（TOC） */
#introduction-menu {
  padding: 2.5rem;
  margin: 2rem auto;
}

.toc {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.toc li {
  /*background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);*/
  border-radius: 10px;
  transition: all 0.3s ease;
}

.toc li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.toc a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

/* 自由度セクション */
section#flexibility {
    background-image: url(https://live-support-space.com/img/top/live_space_wallpaper.png);
    background-repeat: round;
}

.flexibility-img {
    background-image: url(http://live-support-space.com/wp-content/uploads/2025/08/1-3.png);
    width: 59%;
	height: auto;
    background-repeat: no-repeat;
    background-size: contain;
}

.flexibility-contents p {
    margin-left: 1.5rem;
}
/* 問題セクション */
.problem-section {
    background-image: url(https://live-support-space.com/img/top/live_space_problem_yoko.png);
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 720px;
	background-position: center bottom;
}

/* サポートセクション */
#support ul {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 2rem auto;
}

#support li {
	color: #555;
  background: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  padding: 2rem;
}
.support-category {
    display: flex;
    gap: 20px;
}

.support-idea {
    border-radius: 15px;
    margin: 2rem auto;
    padding: 0.5rem;
    background-color: #f7f7f7;
}
/* レビュースライドセクション */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.testimonial-card .quote {
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 20px;
    color: #444;
    position: relative;
    z-index: 1;
}

.testimonial-card .author {
    font-weight: bold;
    text-align: right;
    color: #6b5a6f;
    margin-top: auto;

}

.testimonial-card .scenario {
    font-size: 0.9em;
    color: #888;
    text-align: right;
}



.testimonial-section {
    overflow: hidden;
}

.testimonial-grid:hover .testimonial-card {
    cursor: grab;
}

.testimonial-grid:active .testimonial-card {
    cursor: grabbing;
}

.testimonial-flex {
    display: flex;
    gap: 20px;
}

.testimonial-pic {
    width: 400px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* CTA ブロック */
.live_space_cta_button{
	width: 25em;
}
.cta-block {
  color: #565657;
  text-align: center;
}

.cta-block h2 {
  color: #565657;
  font-size: 2rem;
}

.cta-block p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-block a {
  background: white;
  color: #d87dff;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-block a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* 応募の流れ */
#flow ol {
  list-style: none;
  counter-reset: flow-counter;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

#flow li {
  counter-increment: flow-counter;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  padding-left: 4rem;
}

#flow li::before {
  content: counter(flow-counter);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #555;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* FAQ */
#faq dl {
  max-width: 800px;
  margin: 0 auto;
}

#faq dt {
  background: linear-gradient(135deg, #6b326c 0%, #d9a6d9 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

#faq dd {
  background: white;
  padding: 1.5rem;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

/* 最終CTA */
#entry-form {
  color: #565657;
  text-align: center;
  border-radius: 20px;
}

#entry-form h2 {
  color: #565657;
  font-size: 2.5rem;
}

#entry-form p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-button {
  background: linear-gradient(135deg, #ffffff 0%, #d1d1d1 100%);
  color: #555;
  padding: 1.5rem 4rem;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.6);
}


/* 通常ページ用スタイル */
.page-title,
.post-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
  border-bottom: 3px solid #a3a3a3;
  padding-bottom: 0.5rem;
}

/* 投稿リスト */
article {
  background: #fff;
/*   padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1); */
}
p {
    margin-bottom: 1rem;
}

article h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 3rem;
}

article h2 a {
  color: #333;
}

article h2 a:hover {
  color: #667eea;
}

.post-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.excerpt {
  color: #555;
  line-height: 1.6;
}



/* フッター */
footer {
  background: #555;
  color: #fff;
  padding: 0;
  font-size: 0.9rem;
  margin-top: 4rem;
}

.footer-inner {
  /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

footer p {
  margin: 0;
  opacity: 0.8;
}
.logo-container {
  display: flex;
  justify-content: center;  /* 横方向中央 */
  align-items: center;      /* 縦方向中央 */
  text-align: center;       /* テキストが中央に配置されるように */
}

.logo {
  width: 128px;  /* ロゴの幅を指定 */
  height: auto;   /* 高さはアスペクト比を保つ */
}


/* フッターボーダー */
footer {
	border-top: 1px solid;
	border-image: linear-gradient(135deg, #3f3f3f, #1f1f1f) 1;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .header-inner {
    flex-direction: row;
    gap: 1rem;
    padding: 1rem;
  }
  
  .site-title {

  }
	.brand-logo {
    max-width: 100px;
	}
	
	.sidebar-overlay {
		width: 250px;
	}
	.sidebar-content {
		padding: 4em 0.5em 4em 0.5em;
		position: relative;
	}
	nav ul {
		display: flex;
		justify-content: center;
		flex-direction: column;
		gap: 1rem;
	  }
  
  nav a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  #main {
    flex-direction: column;
    padding: 1rem;
    gap: 2rem;
  }
   #sidebar {
    padding: 1.5rem 0;
  }
  #content {
    padding: 0.5rem;
  }
	  
  h2 {
    font-size: 1.8rem !important;
  }
  
  
  .hero-catchphrase {
    font-size: 1.3rem;
  }
  
.testimonial-pic {
    width: auto;
    height: 220px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}
    .testimonial-controls {
        gap: 10px !important;
    }

    .testimonial-nav {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }

    .testimonial-dot {
        width: 10px !important;
        height: 10px !important;
    }


	.firsthero-inner {
        height: 68vh;
        background-image: url(https://live-support-space.com/img/top/live_space_hero_photography_tate.png);
        background-position: right top;
        background-repeat: no-repeat;
        background-size: cover;
    }
	
	.firsthero-container {
    padding: 0 30px 25px 10px;
	}
	
	.hero-main-text {
    	font-size: 1.4rem;
  	}
	
	.problem-section {
		background-image: url(https://live-support-space.com/img/top/live_space_problem_tate.png);
		background-size: contain;
		background-repeat: no-repeat;
		min-height: 570px;
	}
	
	.support-category {
    display: flex;
    gap: none;
    flex-direction: column;
	}
	.support-idea {	
	    margin: 1rem auto
	}
	
  .toc {
    grid-template-columns: 1fr;
  }
  
  #flow ol {
    gap: 0;
  }
	
	#flow li {
        padding-left: 3rem;
        background: none;
        color: #6b326c;
        box-shadow: none;
    }

	
	#flow li::before {
    content: counter(flow-counter);
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
	}
	
	.testimonial-flex {
    display: flex;
    gap: 20px;
    flex-direction: column;
	}

	 .live_space_cta_button{
		width: 100%;
	}
	
	
	#entry-form h2 {
	  font-size: 2.0rem;
	}
	
  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
}



/* ブログページ全体のレイアウト */
.blog-layout {
  background: #f8f9fa;
  min-height: calc(100vh - 80px);
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 2rem;
  align-items: start;
}

/* ブログコンテンツエリア */
.blog-content {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ブログヘッダー */
.blog-header {
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
}

    .blog-heading__text {
        display: inline-block;
        vertical-align: bottom;
		background-image: url(https://live-support-space.com/img/top/live_space_wallpaper.png);
        padding: .6em 2em;
        font-size: 18px;
        position: relative;
        z-index: 2;
        border-radius: 50px;
        text-align: center;
        min-width: 90%;
    }

	.new-badge {
		position: absolute;
		top: 0px;
		left: 0px;
		color: #6b326c;
		padding: 0.5rem 1rem;
		border-radius: 20px;
		font-size: 1.5rem;
		font-weight: bold;
		transform: rotate(-25deg);
		z-index: 2;
		font-family: serif;
	}
	.blog-header .page-title {
	  font-size: 2.2rem;
	  margin: 0;
	  font-weight: 700;
	  color: #6c757d;
	  border: none;
	  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
	}

/* ブログカードグリッド */
.blog-grid {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
}

/* ブログカード */
.blog-card {
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.blog-card:hover {
  opacity: 0.7;
}

/* カテゴリバッジ */
.category-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* サムネイル画像 */
.blog-thumbnail {
  position: relative;
  width: 280px;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
}

/* プレースホルダー画像 */
.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f093fb 0%, #f0e5fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

/* カード内容 */
.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card-title {
	font-size: 1.2rem;
  margin: 0 0 0.8rem;
  line-height: 1.4;
  font-weight: 700;
  color: #2a2b32;
	flex-grow: 1;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
/*   transition: color 0.3s ease; */
}

.blog-card-title a:hover {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* メタ情報 */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.blog-date {
  font-weight: 500;
}

.update-label {
  background: #28a745;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* 抜粋 */
.blog-excerpt {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* サイドバー */
.blog-sidebar {
/*   background: white; */
/*   border-radius: 15px;
  padding: 2rem; */
/*   box-shadow: 0 5px 15px rgba(0,0,0,0.08); */
  height: fit-content;
  position: sticky;
  top: 100px;
}

/* ページネーション改良 */
.pagination {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid #e9ecef;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination .current {
  background: white;
  color: #6b326c;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid #6b326c;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pagination a:hover {
  background: #6b326c;
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.pagination .current {
  background: #6b326c;
  color: white;
}

/* 投稿なしの状態 */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
  color: #666;
  font-size: 1.1rem;
}
@media (max-width: 1100px) {
.blog-grid {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  
	.blog-grid {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
	}
  
  .blog-header {
    padding: 1.5rem 1rem;
  }
	.blog-heading__text {
		font-size: 23px;
		min-width: 300px;
	}

	.blog-heading__inner {
		display: inline-block;
		position: relative;
	}
	
	.new-badge {
		position: absolute;
		top: -10px;
		left: -25px;
	   }
	
	.blog-card {
    flex-direction: column;
    align-items: stretch;
  }
	.blog-thumbnail {
    width: 100%;
    height: 180px;
  }
	
  
  .blog-header .page-title {
    font-size: 1.8rem;
  }
  
  
  .blog-card-content {
    padding: 1rem;
  }
  
  .blog-card-title {
    font-size: 1.1rem;
  }
  
  .blog-sidebar {
    position: static;
    margin-top: 2rem;
  }
  

}

/* 人気記事ウィジェット用スタイル（style.cssに追加） */

/* 人気記事リスト */
.popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular-post-item {
  display: block;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.popular-post-item:hover {
  background: #e9ecef;
  border-left-color: #6b326c;
  transform: translateX(3px);
}

.popular-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popular-post-title {
  font-size: 0.9rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  font-weight: 600;
}

.popular-post-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.popular-post-title a:hover {
  color: #6b326c;
  text-decoration: none;
}

.popular-post-date {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
}

/* サイドバーウィジェット全般の改良 */
.blog-sidebar .widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e9ecef;
}

.blog-sidebar .widget:last-child {
  margin-bottom: 0;
}

.blog-sidebar .widget-title {
  font-size: 1.2rem;
  color: #2a2b32;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  font-weight: 700;
  position: relative;
}

.blog-sidebar .widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, #6b326c 0%, #d9a6d9 100%);
  border-radius: 1px;
}

/* サイドバーカテゴリメニューの改良 */
.blog-sidebar .category-menu {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.blog-sidebar .category-item a {
  padding: 1rem 1.2rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid transparent;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-sidebar .category-item a:hover {
  background: linear-gradient(135deg, #6b326c 0%, #d9a6d9 100%);
  color: white;
  transform: translateX(3px);
  text-decoration: none;
  border-left-color: #6b326c;
}

.blog-sidebar .post-count {
  background: #6b326c;
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-sidebar .category-item a:hover .post-count {
  background: rgba(255,255,255,0.9);
  color: #6b326c;
}

/* アニメーション効果 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ブログカードの段階的表示アニメーション */
.blog-card {
  animation-delay: calc(var(--card-index, 0) * 0.1s);
}

.blog-card:nth-child(1) { --card-index: 1; }
.blog-card:nth-child(2) { --card-index: 2; }
.blog-card:nth-child(3) { --card-index: 3; }
.blog-card:nth-child(4) { --card-index: 4; }
.blog-card:nth-child(5) { --card-index: 5; }
.blog-card:nth-child(6) { --card-index: 6; }

/* ==============================================
   自動目次 & パンくずリスト CSS
   ============================================== */

/* 目次のスタイル（投稿ページのみ） */
.table-of-contents {
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.toc-title {
    color: #6b326c !important;
    font-size: 1.4rem !important;
    margin: 0 0 1.5rem 0 !important;
    text-align: left;
    font-weight: 700;
    border: none !important;
    padding: 0 !important;
}

.toc-list {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toc-item {
  margin: 0;
  padding: 0;
}

.toc-link {
    display: block;
    background: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toc-link:hover {
  background: linear-gradient(135deg, #6b326c 0%, #d9a6d9 100%);
  color: white !important;
  text-decoration: none;
  transform: translateX(5px);
  border-left-color: #6b326c;
}
.toc-link::before {
  content: '・ ';
  font-size: 0.8rem;
} 

/* パンくずリストのスタイル */
.breadcrumbs {
    padding: 0 2rem;
    background-color: #f8f9fa;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '▶';
  margin-left: 0.5rem;
  color: #6b326c;
  font-size: 0.8rem;
}

.breadcrumb-list a {
  color: #6b326c;
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 0.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.breadcrumb-list a:hover {
  background: #6b326c;
  color: white;
  text-decoration: none;
}

.breadcrumb-list .current {
  color: #666;
  font-weight: 600;
}

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}

/* アンカーリンクのオフセット調整 */
h2[id] {
  scroll-margin-top: 100px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* 目次のレスポンシブ */
  .table-of-contents {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .toc-title {
    font-size: 1.2rem !important;
  }
  
  .toc-link {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  /* パンくずリストのレスポンシブ */
  .breadcrumbs {
    padding: 1rem;
  }
  
  .breadcrumb-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  
  .breadcrumb-list li:not(:last-child)::after {
    content: '↓';
    margin-left: 0;
    margin-top: 0.2rem;
  }
}


	
@media (min-width: 768px) {
    .mb_only {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .pc_only {
        display: none !important;
    }
}