/*
Template:easel
Theme Name:canvas on EASEL
Version: 1.1.0
*/

/* ここから下に書いたCSSが、親テーマCSSに上書きされます。 */

/* =============================
   全体ラップ
============================= */
.novel-wrap {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* =============================
   作品トップ
============================= */
.novel-work-top {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.novel-cover img {
  width: 220px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.novel-work-title {
  font-size: 28px;
  margin-bottom: 12px;
}

.novel-summary {
  background: #f7f7f7;
  padding: 15px;
  line-height: 1.8;
  border-radius: 6px;
  margin-bottom: 16px;
}

.novel-meta {
  margin-top: 10px;
  font-size: 14px;
  color: #777;
}

.novel-meta span {
  display: block;
  margin-bottom: 6px;
}

.novel-meta em {
  background: #eee;
  padding: 3px 8px;
  border-radius: 20px;
  font-style: normal;
}

/* =============================
   アイコン・ラベル
============================= */
/* NEWラベル */
.new-label, .new {
  color: #fff;
  background: #e60023;
  font-size: 11px;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 3px;
}

/* R18アイコン（追加） */
.r18-icon {
  font-size: 0.9em;
  vertical-align: middle;
  margin-left: 5px;
  display: inline-block;
}

/* =============================
   リンク・ボタン
============================= */
.novel-read-links, .novel-readbox {
  margin: 20px 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.novel-read-links a, .read-first, .read-latest {
  padding: 10px 18px;
  background: #2f7dd1;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.novel-read-links a:hover, .read-first:hover, .read-latest:hover {
  background: #1d5fa3;
}

#bookmark-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 4px;
}

/* =============================
   章目次（アコーディオン）
============================= */
.novel-toc {
  margin: 40px 0;
}

.chapter {
  margin-bottom: 18px;
}

.chapter-title {
  cursor: pointer;
  background: #f3f3f3;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
}

/* 矢印の制御（統合） */
.chapter-title::after {
  content: '▶';
  font-size: 0.8em;
  transition: transform 0.3s;
}

.chapter-title.open::after {
  transform: rotate(90deg); /* 下向きに回転 */
}

.chapter-list {
  display: none; /* JSのopenクラスで制御 */
  list-style: none;
  padding: 10px 20px;
  border-left: 3px solid #ddd;
  margin: 0;
}

.chapter-list.open {
  display: block;
}

.chapter-list li {
  margin-bottom: 8px;
}

/* 既読表示（統合） */
.chapter-list a.read, 
.novel-list a.read {
  color: #999 !important;
}

.chapter-list a.read::after,
.novel-list a.read::after {
  content: " (既読)";
  font-size: 0.75em;
  color: #ccc;
  margin-left: 5px;
}

/* =============================
   本文・ナビゲーション
============================= */
.novel-body {
  line-height: 2;
  font-size: 16px;
  margin-bottom: 40px;
  white-space: pre-wrap; /* 改行を維持 */
}

.novel-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 50px 0;
}

.novel-nav div {
  flex: 1;
  text-align: center;
}

.novel-nav a {
  display: block;
  padding: 12px;
  background: #f2f2f2;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

.novel-nav .toc a {
  background: #333;
  color: #fff;
}

/* =============================
   フッター
============================= */
.footer {
  background: #f8f8f8;
  padding: 40px 20px 20px;
}

.footer-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* タブボタンの装飾 */
.tab-btn, .ranking-tabs button {
  padding: 8px 15px;
  border: none;
  background: #ddd;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
  margin-right: 5px;
}

.tab-btn.active, .ranking-tabs button.active {
  background: #2f7dd1;
  color: #fff;
}

/* リストアイテム（丸タグ風デザイン） */
.footer-tab-content ul, .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.footer-tab-content ul li a, .tag-cloud li a {
  background: #a2d7dd;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-tab-content ul li a:hover, .tag-cloud li a:hover {
  background: #357abd;
  transform: translateY(-2px);
}

/* =============================
   お問い合わせ (Contact Form 7)
============================= */
.wpcf7 input:not([type="submit"]), .wpcf7 textarea {
  width: 100%;
  border-radius: 8px;
  border: 3px solid #81ccd4;
  padding: 12px;
}

.wpcf7 input[type="submit"] {
  background: #81ccd4;
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: 30px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

/* アーカイブ・検索結果用 */
.novel-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.novel-item:hover {
    background: #fafafa;
}

.novel-item-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.novel-item-title a {
    text-decoration: none;
    color: #2f7dd1;
}

.novel-item-meta {
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ステータスバッジ */
.status-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    color: #fff;
}
.status-badge.ongoing { background: #81ccd4; } /* 連載中：水色 */
.status-badge.complete { background: #333; }    /* 完結：黒系 */

.novel-item-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

/* 小説検索結果の件数バッジ */
.count-badge {
    font-size: 0.6em;
    background: #81ccd4;
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    vertical-align: middle;
}

/* ブログ（post）用スッキリ表示 */
.post-item-minimal {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    margin-bottom: 10px;
}

.entry-title-small {
    font-size: 1.1em;
    margin: 0;
}

.post-cat-label {
    font-size: 0.7em;
    background: #999;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}
.status-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #fff;
    font-weight: bold;
}
.status-badge.ongoing { background: #81ccd4; }
.status-badge.complete { background: #333; }

.r18-icon {
    color: #e60023;
    border: 1px solid #e60023;
    padding: 0 4px;
    font-size: 0.6em;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

/* 読書設定パネルのボタン装飾 */
.size-change, .bg-change {
    margin: 0 5px 5px 0;
    padding: 5px 12px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    transition: 0.2s;
}

.size-change:hover, .bg-change:hover {
    background: #81ccd4;
    color: #fff;
    border-color: #81ccd4;
}

#setting-close-btn {
    background: #999;
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* 背景色に馴染ませるための設定 */
#novel-body .reading-time {
    background: rgba(150, 150, 150, 0.2) !important;
    color: inherit !important;
}

body{
background-attachment:fixed;
background-color:#ffffff;
background-image:url(https://makise-h.com/wp-content/uploads/2026/02/023.jpg);
background-position:right bottom;
background-repeat:no-repeat;}


/* 小説リスト：floatを使って強制的に左詰めにする設定 */
.shortcode-text {
    display: block !important; /* flexもgridも解除します */
    overflow: hidden;         /* 子要素の浮きを解消 */
    padding: 0;
    list-style: none;
    margin: 20px 0;
    width: 100%;
}

.shortcode-text li {
    /* 1つの枠を 180px に絶対固定。!importantでねじ伏せます */
    float: left !important;   /* 左に強制的に詰める */
    width: 180px !important; 
    height: 70px !important;  /* 高さも固定 */
    margin: 6px !important;   /* 外側のスキマ */
    
    background: #fff !important;
    border: 1px solid #e5f4f5 !important;
    border-radius: 12px !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
    transition: 0.3s;
}

/* リンクをカードいっぱいに広げる */
.shortcode-text li a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 20px 15px !important;
    text-decoration: none !important;
    color: #444 !important;
    box-sizing: border-box !important;
    z-index: 2;
    position: relative;
}

/* 数字（タイトル）の装飾 */
.shortcode-text li h4 {
    margin: 0 !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    color: #444 !important;
    line-height: 1.2 !important;
}

/* ホバー時の動き */
.shortcode-text li:hover {
    border-color: #81ccd4 !important;
    background: #faffff !important;
    transform: translateY(-3px);
}

/* 右下に猫の足跡 */
.shortcode-text li::after {
    content: '🐾';
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-size: 1.2rem;
    color: #81ccd4;
    opacity: 0.2;
    z-index: 1;
}

/* スマホ表示：画面が狭いときは1列に */
@media (max-width: 480px) {
    .shortcode-text li {
        float: none !important;
        width: 95% !important;
        margin: 10px auto !important;
    }
}


	
/* 1. ヘッダー全体：高さを350pxに固定し、画面横いっぱいに広げる */
.main-header-visual {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    
    height: 350px !important; /* ここを350pxに固定 */
    min-height: 350px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important; /* 中身を上下中央に */
    padding: 0 !important;
    overflow: hidden !important; /* はみ出し防止 */

    /* 背景画像の設定 */
    background-image: url("https://makise-h.com/wp-content/uploads/2026/04/Gemini_Generated_Image_efl8ooefl8ooefl8-1.png") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* 2. 画像エリア：エンブレムを少し小さめにして中央に配置 */
.header-overlay {
    position: absolute !important; /* 文字と重ねるために浮かせる */
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    z-index: 1 !important;
}

/* 3. 文字エリア：左下に固定配置 */
#inner-header {
    position: absolute !important;
    bottom: 20px !important; /* 下からの距離 */
    left: 30px !important;   /* 左からの距離（右下にしたい場合はここを right に） */
    width: auto !important;
    text-align: left !important; /* 左寄せ */
    z-index: 20 !important;
}

/* 4. タイトル（CRAZY LOVE）：フォントをセリフ体に変更 */
#logo a {
    /* サブタイトルや英文に近い、上品なセリフ体を指定 */
    font-family: 'Georgia', 'Times New Roman', 'serif' !important;
    font-size: 2.5rem !important; /* フォントに合わせてサイズを微調整 */
    font-weight: normal !important; /* あえて太くせずスマートに */
    font-style: italic; /* 英文と合わせて斜体にするとより耽美です */
    color: #2c3e50 !important;
    text-shadow: 2px 2px 10px rgba(255,255,255,0.9);
    text-decoration: none;
    letter-spacing: 0.1em; /* 文字の間隔を少し広げて優雅に */
}

/* 5. あの英文：タイトルのすぐ横、または下 */
#logo::after {
    content: "Under the name of discipline, I claim you.";
    display: block;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: #b03030 !important;
    margin-top: 8px;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 5px rgba(255,255,255,1);
}

/* 6. 管理者名・サブタイトル：さらにその下へ */
.admin-name, .site-subtitle {
    display: block !important;
    margin: 5px 0 0 0 !important;
    color: #546e7a !important;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* 表示設定ボタンを消す */
.size-change,
.bg-change,
#setting-close-btn,
.reading-settings-toggle,
.display-settings-btn,
.novel-display-settings,
button[class*="setting"] {
    display: none !important;
}

/* 読了目安を消す */
.reading-time,
.novel-reading-time,
.entry-reading-time,
span.reading-time,
div.reading-time {
    display: none !important;
}

/* 公開日を消す */
.post-date,
.entry-date,
.published-date,
.publish-date,
time,
.meta-date {
    display: none !important;
}


/* 「Top」というタイトルを強制的に非表示にする */
.page-title {
    display: none !important;
}

.box17{
    margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
}
.box17:before, .box17:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: black;
}
.box17:before {left: 10px;}
.box17:after {right: 10px;}
.box17 p {
    margin: 0; 
    padding: 0;
}
