/* 記事用共通CSS */
.post-content,
.page-content,
.entry-content,
.comments-section{
    padding: 0 2rem;
}

/* 記事コンテンツ内の画像 */
.post-content img,
.page-content img,
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 1rem 0;
}

/* 記事内の見出し */
.post-content h2,
.page-content h2,
.entry-content h2 {
  font-size: 1.6rem;
  color: #545454;
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  position: relative;
}

.post-content h3,
.page-content h3,
.entry-content h3 {
  font-size: 1.5rem;
  color: #444;
  margin: 2rem 0 1rem 0;
  padding-left: 1rem;
  border-left: 4px solid #c9a0c9;
}

.post-content h4,
.page-content h4,
.entry-content h4 {
  font-size: 1.3rem;
  color: #555;
  margin: 1.5rem 0 0.8rem 0;
}

/* 記事内のリスト */
.post-content ul,
.page-content ul,
.entry-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.post-content ul li,
.page-content ul li,
.entry-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.post-content ol,
.page-content ol,
.entry-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.post-content ol li,
.page-content ol li,
.entry-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* 記事内のブロッククォート */
.post-content blockquote,
.page-content blockquote,
.entry-content blockquote {
  background: #f8f9fa;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: #555;
  border-radius: 0 8px 8px 0;
}

/* 記事内のテーブル */
.post-content table,
.page-content table,
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.post-content table th,
.page-content table th,
.entry-content table th {
  background: #b076b1;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.post-content table td,
.page-content table td,
.entry-content table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.post-content table tr:nth-child(even),
.page-content table tr:nth-child(even),
.entry-content table tr:nth-child(even) {
  background: #f8f9fa;
}

/* 記事内のコードブロック */
.post-content pre,
.page-content pre,
.entry-content pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'Courier New', monospace;
  line-height: 1.4;
}

.post-content code,
.page-content code,
.entry-content code {
  background: #f4f4f4;
  color: #c7254e;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.post-content pre code,
.page-content pre code,
.entry-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* 記事内の強調 */
.post-content b,
.page-content b,
.entry-content b {
  font-weight: 700;
  color: #6b326c;
}

.post-content em,
.page-content em,
.entry-content em {
  font-style: italic;
  color: #764ba2;
}

/* 記事内のリンク */
.post-content a,
.page-content a,
.entry-content a {
  color: #667eea;
  text-decoration: underline;
  font-weight: 500;
}

.post-content a:hover,
.page-content a:hover,
.entry-content a:hover {
  color: #764ba2;
  text-decoration: none;
}

/* 記事メタ情報のスタイル改善 */
.post-meta {
/*   background: #f8f9fa; */
  padding: 1rem;
/*   margin: 1.5rem 0; */
    text-align: right;
}

/* 記事ナビゲーション */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
  gap: 1rem;
}

.post-navigation a {
  flex: 1;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #545454;
  transition: all 0.3s ease;
  text-align: center;
}

.post-navigation a:hover {
  background: linear-gradient(135deg, #6b326c 0%, #d9a6d9 100%);
  color: white;
  transform: translateY(-2px);
}

.cast-box {
    background-color: #f4f4f4;
    padding: 20px;
    margin: 30px;
    overflow: hidden;
    line-height: 1.5;
    background-image: none;
}
.cast-box-title {
    margin: 1px 1px 30px;
    padding: 10px 0;
    background-color: transparent;
    border-top: 1px solid #303641;
    border-bottom: 1px solid #303641;
    color: #303641;
    font-size: 2.0rem;
    font-weight
    text-align: center;
}
.cast-box .box_inner {
    padding: 0px;
    background-color: #f4f4f4;
}
@media (min-width: 480px) {
    .keni-main .cast-box .cast {
        position: relative;
        min-height: 100px;
        padding-left: 115px;
    }
}
.cast-box .cast:last-child, .cast-box_sub .cast:last-child {
    margin-bottom: 0;
}
.cast-box .cast {
    margin-top: 0;
    margin-bottom: 30px;
}
.cast {
    background: #f4f4f4;
}
@media (min-width: 768px) {
    .cast-box .cast_name {
        margin: 20px 0 10px;
        padding-bottom: 0;
        text-align: left;
    }
}
.cast-box .cast_name {
    margin: 20px 0 3px;
    padding-bottom: 0;
    border: 0;
    text-align: center;
    color: #505050;
    font-size: 1.9rem;
    font-weight: bold;
}
@media (min-width: 480px) {
    .keni-main .cast-box .cast_headshot {
        position: absolute;
        top: 0;
        left: 0;
    }
}
.cast-box .cast_headshot, .cast-box_sub .cast_headshot {
    display: block;
    width: 100px;
    height: auto;
    margin: auto;
    margin-bottom: 10px;
}
.cast-box .cast_headshot img, .cast-box_sub .cast_headshot img {
    border-radius: 50%;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
img {
    border-style: none;
}
.cast-box-title {
    text-align: center;
}
dd.cast_profile {
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .post-content h2,
  .page-content h2,
  .entry-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
  }
  
  .post-content h3,
  .page-content h3,
  .entry-content h3 {
    font-size: 1.3rem;
  }
  
  .post-content table,
  .page-content table,
  .entry-content table {
    font-size: 0.9rem;
  }
  
  .post-content pre,
  .page-content pre,
  .entry-content pre {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .post-navigation {
    flex-direction: column;
  }
}



/* single.php ヘッダー用追加スタイル */
.single-post-header {
  border-radius: 15px 15px 0 0;
  overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.single-post-header .post-title {
  color: inherit;
  border: none;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.single-post-header .post-meta {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  color: #555;
  font-size: 1rem;
  border-left: none;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .single-post-header {
    padding: 2rem 1rem !important;
  }
  
  .single-post-header .post-title {
    font-size: 1.8rem;
  }
  
  .single-post-header .post-meta {
    font-size: 0.9rem;
  }
}
/* ==============================================
   HIGHTLIGHT-box
   ============================================== */
.highlight-box {
    background-color: #f8f9fa;
    border-left: 3px solid #d9a6d9;
    padding: 1rem 1.5rem;
}

/* ==============================================
   experience-box
   ============================================== */
.experience-box {
  background: linear-gradient(135deg, #f8f4ff 0%, #fff0ff 100%);
  border: 2px solid #d9a6d9;
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  position: relative;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(107, 50, 108, 0.05) 2px, transparent 2px),
    radial-gradient(circle at 80% 80%, rgba(217, 166, 217, 0.05) 2px, transparent 2px);
  background-size: 40px 40px;
}

.experience-box::before {
    content: '';
    position: absolute;
    top: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDQiIGhlaWdodD0iMTA0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWxpZ2h0YnVsYi1pY29uIGx1Y2lkZS1saWdodGJ1bGIiPjxwYXRoIGQ9Ik0xNSAxNGMuMi0xIC43LTEuNyAxLjUtMi41IDEtLjkgMS41LTIuMiAxLjUtMy41QTYgNiAwIDAgMCA2IDhjMCAxIC4yIDIuMiAxLjUgMy41LjcuNyAxLjMgMS41IDEuNSAyLjUiLz48cGF0aCBkPSJNOSAxOGg2Ii8+PHBhdGggZD0iTTEwIDIyaDQiLz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 1.3rem 1.3rem;
    background-position: center;
    background-color: #d9a6d9;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(107, 50, 108, 0.3);
}

.experience-box h3,
.experience-box h4 {
  color: #6b326c;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.experience-box p {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.8;
  text-align: center;
}

/* ==============================================
   TECHNIQUE-BOX
   ============================================== */
.technique-box {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #9bbbcf;
  position: relative;
}

.technique-box::before {
  content: 'TECHNIQUE';
  position: absolute;
  top: -12px;
  left: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #9bbbcf 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.technique-box h3,
.technique-box h4 {
  color: #9bbbcf;
  margin-bottom: 1.5rem;
  font-weight: 700;
  padding-left: 2rem;
  position: relative;
	border-left: none;
}

.technique-box h3::before,
.technique-box h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDQiIGhlaWdodD0iMTA0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXN0YXItaWNvbiBsdWNpZGUtc3RhciI+PHBhdGggZD0iTTExLjUyNSAyLjI5NWEuNTMuNTMgMCAwIDEgLjk1IDBsMi4zMSA0LjY3OWEyLjEyMyAyLjEyMyAwIDAgMCAxLjU5NSAxLjE2bDUuMTY2Ljc1NmEuNTMuNTMgMCAwIDEgLjI5NC45MDRsLTMuNzM2IDMuNjM4YTIuMTIzIDIuMTIzIDAgMCAwLS42MTEgMS44NzhsLjg4MiA1LjE0YS41My41MyAwIDAgMS0uNzcxLjU2bC00LjYxOC0yLjQyOGEyLjEyMiAyLjEyMiAwIDAgMC0xLjk3MyAwTDYuMzk2IDIxLjAxYS41My41MyAwIDAgMS0uNzctLjU2bC44ODEtNS4xMzlhMi4xMjIgMi4xMjIgMCAwIDAtLjYxMS0xLjg3OUwyLjE2IDkuNzk1YS41My41MyAwIDAgMSAuMjk0LS45MDZsNS4xNjUtLjc1NWEyLjEyMiAyLjEyMiAwIDAgMCAxLjU5Ny0xLjE2eiIvPjwvc3ZnPg==);
    background-repeat: no-repeat;
    background-position: center;
  background-size: 0.9rem 0.9rem;
	background-color: #9bbbcf;
  border-radius: 50%;
}

.technique-box ol,
.technique-box ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: technique-counter;
}

.technique-box li {
  counter-increment: technique-counter;
  margin-bottom: 1rem;
  padding: 1rem 1rem 1rem 3rem;
  background: #f8f9fa;
  border-radius: 8px;
  position: relative;
/*   border-left: 3px solid #667eea; */
}

.technique-box li::before {
  content: counter(technique-counter);
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: #9bbbcf;
  color: white;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

/* ==============================================
   レスポンシブ対応
   ============================================== */
@media (max-width: 768px) {
  .experience-box,
  .technique-box {
    padding: 1.5rem;
  }
  
  .experience-box::before {
    width: 2rem;
    height: 2rem;
    background-size: 1rem 1rem;
    top: -1rem;
  }
  
  .technique-box h3::before,
  .technique-box h4::before {
    width: 1.2rem;
    height: 1.2rem;
    background-size: 0.7rem 0.7rem;
  }
  
  .technique-box li {
    padding: 1rem 1rem 1rem 2.5rem;
  }
  
  .technique-box li::before {
    left: 0.5rem;
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.7rem;
  }
}
