/*
Template:easel
Theme Name:canvas on EASEL
Version: 1.1.0
*/
/* ここから下に書いたCSSが、親テーマCSSに上書きされます。 */



/* キャラクタープロフィールテーブル用CSS */
.character-table {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.character-table td {
  padding: 15px;
  border: 1px solid #ddd;
  vertical-align: top;
}
/* 左カラム */
.left-column {
  width: 35%;
}
/* 右カラム */
.right-column {
  width: 65%;
}
/* 名前とアイコンエリア */
.name-icon-area {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}
.name-section {
  flex: 1;
}
/* アイコン画像 */
.icon-img {
  width: 74px;
  height: 94px;
  border: 2px solid #333;
  display: block;
  flex-shrink: 0;
  margin-right: 10px; 
}
/* 名前 */
.character-name {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 5px;
}
.character-name-en {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 0;
}
/* 設定文セクション */
.setting-section {
  margin-bottom: 15px;
}
.setting-title {
  font-weight: bold;
  margin-bottom: 5px;
}
.setting-text {
  line-height: 1.6;
  margin-bottom: 10px;
}
/* 基本情報(誕生日・属性・型) */
.basic-info {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding: 10px;
  background: transparent;
  border-radius: 4px;
}
.basic-info-item {
  flex: 1;
  text-align: center;
}
.basic-info-label {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 3px;
}
.basic-info-value {
  font-weight: bold;
}
/* スキル・心の情報コンテナ（横並び） */
.skill-heart-container {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  align-items: flex-start;
}

/* スキルエリア（縦積み） */
.skill-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.skill-img {
  width: 200px;
  height: auto;
  border: 1px solid #ddd;
}

.title-text {
  font-weight: bold;
  line-height: 1.6;
}

/* 心の情報（縦積み） */
.heart-info-vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
  width: 200px;
}

.heart-item-vertical {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.heart-label {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 3px;
}

.heart-value {
  font-weight: bold;
}

/* レスポンシブ対応（追加） */
@media (max-width: 768px) {
  .skill-heart-container {
    flex-direction: column;
  }
  
  .heart-info-vertical {
    width: 100%;
  }
}
/* ステータス画像エリア */
.status-area {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 15px;
}
.status-img {
  width: 200px;
  height: auto;
  border: 1px solid #ddd;
}
.personality-text {
  flex: 1;
  line-height: 1.6;
}
/* 関連情報 */
.related-info {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.related-left {
  flex: 1;
}
.related-right {
  flex: 1;
}
.related-title {
  font-weight: bold;
  margin-bottom: 5px;
}
.related-list {
  list-style: none;
  padding-left: 0;
}
.related-list li:before {
  content: "・";
  margin-right: 5px;
}
.related-link {
  display: block;
  margin-bottom: 5px;
  text-decoration: none;
}
.related-link:hover {
  text-decoration: underline;
}
/* セリフ */
.quote-text {
  font-style: italic;
  padding: 10px 15px;
  background: transparent;
  border-left: 4px solid #999;
  margin-top: 15px;
}
/* 作者コメント欄 */
.author-comment {
  margin-top: 20px;
  padding: 12px;
  background: transparent;
  border: 2px dashed #ccc;
  border-radius: 4px;
}

.author-comment-title {
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.author-comment-title:before {
  content: "✎";
  font-size: 1.1em;
}

.author-comment-text {
  font-size: 0.95em;
  line-height: 1.7;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .character-table {
    width: 100%;
  }
  .character-table td {
    display: block;
    width: 100% !important;
  }
  .name-icon-area {
    flex-direction: column-reverse;
  }
  .icon-img {
    margin: 0 auto 10px;
  }
  .basic-info, .heart-info {
    flex-direction: column;
    gap: 10px;
  }
  .skill-area, .status-area, .related-info {
    flex-direction: column;
  }
  .skill-img, .status-img {
    width: 100%;
    max-width: 300px;
  }
  .skill-heart-container {
    flex-direction: column;
  }
  .heart-info-vertical {
    width: 100%;
  }
  .basic-info-item {
    text-align: left;
  }
}

/* キャラクタープロフィールテーブル用CSSここまで */


/* カスタムタグ設定 */
.term-description {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px; /* お好みで調整 */
    border-radius: 4px;
}


/* 小説一覧ページ用 */
.works-section-group {
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 12px 16px;
  margin-bottom: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden; /* ← 追加 */
}
.works-section-group h3 {
  margin-top: 0;
}

/* ブログサイドバー */
#sidebar1 #wp-calendar td {
  padding: 0.3em 0.15em;
}

#sidebar1 #wp-calendar td a {
  position: relative;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 400;
  line-height: 1;
  display: block;
  box-sizing: border-box;
  text-align: center;
  margin-inline: auto;
  width: fit-content;
  min-width: 2.2em;
  background-color: #67c1ec;
  padding: 0.45em 0.4em 0.9em;
  text-decoration: none;
  overflow: visible;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

#sidebar1 #wp-calendar td a:hover,
#sidebar1 #wp-calendar td a:focus {
  background-color: #4eaedc;
  color: #fff;
  transform: translateY(-1px);
}

#sidebar1 #wp-calendar td#today {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  color: #2f5568;
  line-height: 1;
  text-align: center;
  font-weight: 700;
}

#sidebar1 .wp-block-easel-shortcode,
#sidebar1 .wp-block-easel-shortcode .news_list,
#sidebar1 .wp-block-easel-shortcode .news_list.default {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}
