/*
Theme Name: GeneratePress Child
Template: generatepress
*/

.main-title a,
.main-title a:visited {
    color: #d4af37;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6); /* 軽い影で立体的に */
}
.main-title a:hover {
    color: #ffd700; /* ホバーで少し明るく */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
/* 記事タイトル（個別記事の見出しや一覧のタイトル）にも同じスタイルを適用 */
.entry-title,
.entry-title a,
.entry-title a:visited {
    color: #d4af37 !important;
    text-shadow: 3px 2px 5px rgba(0,0,0,0.2); /* 影を強めに */
    font-weight: 700 !important; /* 太字に（見出し感UP） */
}
.entry-title a:hover {
    color: #e6c567 !important; /* ホバーで少し明るく */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.entry-title {
    font-size: 2.2rem !important; /* または 28px など */
}


.birst-chara-detail
{
	padding-right: 1em;
	padding-left: 1em;
	font-weight: 500;
	border-left: 2px solid red;
}

.abi-chara-detail,
.simu-chara-detail,
.event-chara-detail,
.feeling-chara-detail,
.main-eidolon-detail,
.sub-eidolon-detail,
.summon-eidolon-detail,
.summon-damage-detail
{
	padding-right: 1em;
	padding-left: 1em;
}


.abi-color-red
{
	color: red;
}

.abi-color-blue
{
	color: blue;
}

.abi-color-green
{
	color: #2ad000;
}

.abi-color-yellow
{
	color: #ffd400;
}

.abi-color-purple
{
	color: #7f00ff;
}

.alcenter
{
text-align: center;
}

.abi-color-white{
  color: #fff; 
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000; /* 黒い縁取り */
}


.abiinfo
{
	border-bottom: 2px solid #dcdcdc;
  font-weight: 600;
}
.abioverview
{
  margin-top: 0.5em;
  font-weight: 600;
}
.abidetail
{
  margin-left: 1em;
  padding-top:5px;
}

.summon-eidolon
{
	background: rgba(255,188,188,0.3);
	border-left: 2px solid red;
}
.abi_red .abioverview
{
	border-bottom: 2px solid red;
}

.abi_green .abioverview,
.assist .abioverview
{
	border-bottom: 2px solid #2ad000;
}
.abi_yellow .abioverview
{
	border-bottom: 2px solid #ffd400;
}

.abi_blue .abioverview
{
	border-bottom: 2px solid blue;
}

.assist-chara .assist
{
    width:100% !important;
}

.main-eidolon,
.sub-eidolon
{
	background: rgba(188,255,255,0.3);
	border-left: 2px solid blue;
}

.abi_purple .abioverview
{
    text-decoration: underline;
    text-decoration-color: #7f00ff;   /* 黄色の下線 */
    text-decoration-thickness: 2px;  /* 下線の太さ */
    text-underline-offset: 4px;      /* テキストと下線の間隔 */
}

.youtube {
  cursor : pointer;
}

.youtube img {
  border-radius : 3px;
}


/* もくじボックス全体 */
.box2 {
    background: #f8f9fa;               /* 薄いグレー白（好みで変更） */
    border: 1px solid #ddd;            /* 薄い枠線 */
    border-radius: 8px;                /* 角丸 */
    margin: 2em 0;                     /* 上下余白 */
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* 軽い影で立体感 */
}

/* もくじタイトル部分 */
.box2title {
    background: #4CAF50;               /* 緑系（サイトのテーマカラーに合わせる） */
    color: #ffffff;                    /* 白文字 */
    font-weight: bold;
    margin: 0;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;        /* 上だけ角丸 */
    position: relative;
}

.box2title span {
    background: #ffffff;               /* FC2風の白抜き文字 */
    color: #4CAF50;                    /* 緑文字 */
    padding: 4px 12px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* 内側のリスト部分 */
.inner2 {
    padding: 15px 20px;
    font-size: 1.05em;
    line-height: 1.7;
}

.inner2 a {
    color: #2e7d32;                    /* 深緑リンク */
    text-decoration: none;
}

.inner2 a:hover {
    color: #d4af37;                    /* ホバーで金色（サイト統一） */
    text-decoration: underline;
}

/* LuckyWP自動目次全体を強制的にbox2風に再現（優先度強化） */
.lwptoc {
    background: #f8f9fa !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    margin: 2em 0 !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
}

/* ヘッダー全体（タイトル＋開閉ボタン） */
.lwptoc_header {
    background: #4CAF50 !important;
    padding: 12px 15px !important;
    border-radius: 8px 8px 0 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* タイトル「もくじ」の文字を白抜き風に強制 */
.lwptoc_title {
    color: #4CAF50 !important;                /* 緑文字 */
    font-weight: bold !important;
    background: #ffffff !important;           /* 白背景で抜き文字 */
    padding: 4px 12px !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    margin: 0 !important;
    display: inline-block !important;
}

/* 開閉トグルボタンを白文字・緑背景に */
.lwptoc_toggle_label {
    color: #ffffff !important;
    background: rgba(0,0,0,0.2) !important;   /* 半透明黒で目立たせ */
    padding: 4px 10px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 0.9em !important;
    cursor: pointer !important;
}

/* 内側のリスト部分 */
.lwptoc_items {
    padding: 15px 20px !important;
    font-size: 1.05em !important;
    line-height: 1.7 !important;
}

/* 各リンクの色 */
.lwptoc_item a {
    color: #2e7d32 !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 0.5em !important;
}

.lwptoc_item a:hover {
    color: #d4af37 !important;
    text-decoration: underline !important;
}

/* 子見出しインデント */
.lwptoc_items ul {
    margin-left: 1.5em !important;
    list-style-type: none !important;
}

/* 開閉時のアニメーション強化（非表示/表示がスムーズに） */
.lwptoc_items {
    transition: max-height 0.4s ease, opacity 0.4s ease !important;
    overflow: hidden !important;
}

/* 非表示時を強制的に隠す（表示/非表示問題対策） */
.lwptoc_items[style*="display:none"] {
    max-height: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
}

.site-header,
.type-page,
.type-post,
.page-header,
.comments-area,
.inside-right-sidebar .widget
{
    border: 4px solid #b2771f; /* 黒板の縁の色 */
	
}

.eael-entry-wrapper
{
    position: relative;
    background: #fffef0;           /* 古びた白っぽい紙 */
    color: #1a1a1a;                /* 黒板に映える黒文字 */
    padding: 1.2rem 1.4rem;
    border-radius: 4px;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.4),
        inset 0 1px 2px rgba(255,255,255,0.6);
    transform: rotate(0deg);     /* ちょっと傾ける（個別に-1?+3deg変えるとより良い） */
    transition: all 0.25s ease;

}




.eael-entry-wrapper:hover {
    transform: rotate(0deg) scale(1.13);
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    z-index: 5;
}

/* 付箋のピン（飾り） */
.eael-entry-wrapper::before {
    content: "●";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #c00;                   /* 赤い画鋲 */
    font-size: 1.6rem;
    text-shadow: 3px 1px 4px #000;
}

.eael-entry-wrapper:hover::before{
	opacity: 0; 
}

/* タイトルはチョーク風に */
.eael-entry-wrapper h2, .eael-entry-wrapper h3 {
 ? ?color: #b22222; ? ? ? ? ? ? ? ?/* 赤チョーク */
    font-weight: bold;
    margin-bottom: 0.8rem;
    //text-shadow: 1px 1px 2px #000;
}

/* 本文抜粋は読みやすく */
.eael-entry-wrapper p {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #222;
}


.wp-block-latest-posts__post-title::before {
    position: absolute;
    bottom: -1px;
    right: 9px;
    z-index: -1;
    transform: rotate(5deg);
    width: 70%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}

.wp-block-latest-posts__post-title {
    display: inline-block;
    position: relative;
    padding: .5em 1.3em .5em 1em;
    background-color: #a9ceec;
    color: #333333;
}

.wp-block-latest-comments__comment {
    display: inline-block;
    position: relative;
    padding: .5em 1em;
    border-right: 27px solid #2589d0;
    background-color: #f5f5f5;
	margin-bottom:10px;
	color:#212529;
}

.wp-block-latest-comments__comment::before {
    position: absolute;
    bottom: 2px;
    right: -20px;
    z-index: -1;
    transform: rotate(5deg);
    width: 100%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}


.details__content::-webkit-scrollbar
    {
     display: none;
    }

.details__title {
    position: relative;
    background: aliceblue;
    color: #494949;
    border-left: solid 5px #7db4e6;
    border-bottom: solid 3px #d7d7d7;
    font-size: 120%;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 2;
}
.details{
  .details__summary{
width:fit-content;
    cursor: pointer;
  }
}

.div_details
{
	display: inline-block;
}

.details__menutitle
{
    font-size: 120%;
    padding-left: 5px;
    padding-right: 5px;
    border:double;
}

hr[id="null"] {
    border: none;                     /* 元の線を消す */
    border-top: 2px solid #ccc;       /* 好みの太さと色（例: 中間グレー） */
    margin: 2.5em 0;                  /* 上下余白を調整（見出し間隔に合うように） */
    width: 80%;                       /* フル幅じゃなく少し短く（おしゃれ） */
    margin-left: auto;
    margin-right: auto;               /* 中央寄せ */
}

.sub-menu
{
 background: #01553D !important;   
 border: 4px solid #b2771f; /* 黒板の縁の色 */
}

/* ==================== H4（H3相当） - チョーク風丸アイコン ==================== */
h4 {
    font-size: 1.72rem;
    font-weight: 900;
    color: #f8ffe8;
    background: linear-gradient(#1a3329, #2c4a3f);
    padding: 18px 28px 26px 58px;     /* 左余白を少し増やした */
    margin: 2.8em 0 1.6em 0;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: inline-block;
    max-width: 100%;
}

/* H4の左側チョーク風丸アイコン（位置を上に調整 + かすれ感） */
h4::before {
    content: "●";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-65%);       /* 少し上に調整 */
    font-size: 29px;
    color: #ffeb3b;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
    opacity: 0.92;
    line-height: 1;
}

/* H4のアンダーライン（文字幅に合わせる） */
h4::after {
    content: "";
    position: absolute;
    bottom: 9px;
    left: 58px;
    width: calc(100% - 82px);
    height: 5px;
    background: linear-gradient(to right, transparent, #ffeb3b, #ffeb3b, transparent);
    opacity: 0.93;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(255, 235, 59, 0.75);
}

/* ==================== H5（H4相当） - チョーク風丸アイコン ==================== */
h5 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #e8f5e0;
    background: #263d34;
    padding: 13px 26px 18px 54px;
    margin: 2.1em 0 1.3em 0;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
    position: relative;
    display: inline-block;
    max-width: 100%;
}

/* H5の左側チョーク風丸アイコン（位置調整 + かすれ感） */
h5::before {
    content: "●";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-52%);
    font-size: 23px;
    color: #ef5350;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.88;
    line-height: 1;
}

/* H5のアンダーライン */
h5::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 54px;
    width: calc(100% - 76px);
    height: 3.8px;
    background: linear-gradient(to right, transparent, #ef5350, #ef5350, transparent);
    opacity: 0.88;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(239, 83, 80, 0.65);
}
    .s-only
    {
        display:none;
    }

/* スマホ対応 */
@media (max-width: 768px) {
    h4 {
        font-size: 1.48rem;
        padding: 15px 22px 21px 52px;
    }
    h4::before {
        font-size: 26px;
        left: 20px;
    }
    h4::after {
        left: 52px;
        width: calc(100% - 74px);
    }
    
    h5 {
        font-size: 1.24rem;
        padding: 11px 20px 16px 48px;
    }
    h5::before {
        font-size: 21px;
        left: 18px;
    }
    h5::after {
        left: 48px;
        width: calc(100% - 66px);
    }
    
    .s-only
    {
        display:block !important;
    }
}

/* ==================== シンプルなチョーク風青マーカー（ラインを下にずらす） ==================== */
u,em {
    text-decoration: none !important;
    background: linear-gradient(
        transparent 62%, 
        #4fc3f7 62%, 
        #4fc3f7 69%, 
        rgba(79, 195, 247, 0.50) 79%, 
        rgba(79, 195, 247, 0.15) 86%,
        transparent 90% 
    );
    padding: 0 3px 10px 3px;             /* 下の余白をさらに少し増やす */
    color: inherit !important;
    line-height: 1.8;
    display: inline;
}

/* スマホ対応 */
@media (max-width: 768px) {
    u {
        line-height: 1.8;
        padding: 0 2px 5px 2px;
    }
}

/* まとめボックス内ではemの青アンダーラインを無効化し、strongの黄色だけにする */
.summary-blackboard strong {
    background: linear-gradient(
        transparent 74%, 
        #ffe066 74%, 
        #ffe066 93%, 
        transparent 93%
    ) !important;
    padding: 0 4px 5px 4px !important;
}

.summary-blackboard em,
.summary-blackboard strong em {
    background: none !important;
    text-decoration: none !important;
}

/* 黒板風まとめボックス - スペースを抑えた調整版 */
.summary-blackboard {
    background: #1f2f26 !important;
    border-left: 11px solid #ffeb3b !important;
    border-radius: 8px;
    padding: 4px !important;     /* 上下の余白を減らす */
    margin: 2.2em 0 2.6em 0 !important;          /* 外側の余白も少し減らす */
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6) !important;
    position: relative;
}

/* 上部チョークライン */
.summary-blackboard::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, transparent, #ffeb3b, #ffeb3b, transparent);
    opacity: 0.9;
}

/* 「ポイント」タイトル */
.summary-blackboard .summary-title {
    color: #ffeb3b !important;
    font-size: 1.68rem !important;
    font-weight: 700;
    margin-bottom: 1.2em;
    padding-left:5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.85);
}

/* リスト */
.summary-blackboard ul {
    color: #e8f5e0;
    line-height: 1.95;
    padding-left: 1.3em;
}

.summary-blackboard li {
    margin-bottom: 0.95em;
}

/* 強調（黄色アンダーライン） */
.summary-blackboard li strong {
    background: linear-gradient(
        transparent 74%, 
        #ffe066 74%, 
        #ffe066 93%, 
        transparent 93%
    ) !important;
    padding: 0 4px 5px 4px !important;
}
.summary-blackboard .wp-block-group__inner-container
{
 padding:0px;   
}
.summary-blackboard .wp-block-group__inner-container.wp-block-list li
{
    padding:0px;   
}

.inside-right-sidebar
{
 min-width:350px;   
}

.s-only .searchandfilter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.s-only .searchandfilter > ul > li {
    margin: 0 !important;
    flex: 1 1 160px;           /* 各項目の幅を調整 */
}

.s-only .searchandfilter input[type="text"] {
    width: 100%;
    height: 44px;
}

.s-only .searchandfilter select {
    height: 44px;
}

/* 検索ボタン */
.s-only .searchandfilter .sf-submit input {
    height: 38px;
    padding: 0 16px;
}