/************************************
** BOYAKI.net × BLEACH REBOOT
** TOTAL COMPLETE STABLE EDITION
************************************/

/* --- 1. 基本設定：背景グレー強化 --- */
body {
    background-color: #ededed !important; 
    color: #1a1a1a !important;
    font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Meiryo", sans-serif !important; 
    line-height: 1.8 !important;
}

/* --- 2. ヘッダーメニュー：文字切れ解消 ＆ 1行表示を強制 --- */
.navi-in a, .menu-item a {
    position: relative !important;
    padding: 10px 20px !important;
    color: #000 !important;
    font-weight: 900 !important;
    font-family: "Hiragino Mincho ProN", serif !important;
    text-decoration: none !important;
    
    /* 文字切れ防止の鉄壁設定 */
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important; /* 改行禁止 */
    overflow: visible !important;   /* はみ出し許可 */
    text-overflow: clip !important; /* 「...」を禁止 */
}

/* 斬撃下線エフェクト */
.navi-in a::after {
    content: "" !important;
    position: absolute !important;
    bottom: -2px; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(to right, #ffcc00 30%, #000000 31%) !important;
    transform: scaleX(0);
    transition: 0.3s ease;
    transform-origin: left;
}

.navi-in a:hover::after {
    transform: scaleX(1);
}

.navi-in ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    overflow: visible !important;
}

/* --- 3. 記事タイトル：漆黒×右端閃光ライン --- */
.entry-title, .page .entry-title, .entry-card-title {
    position: relative !important;
    font-family: "Hiragino Mincho ProN", serif !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    padding: 12px 25px !important;
    color: #ffffff !important;
    background: #000000 !important;
    display: table !important; /* 文字幅に合わせる */
    border: none !important;
    border-right: 6px solid #ffcc00 !important;
    clip-path: polygon(0 0, 100% 0, 97% 100%, 0% 100%);
    margin-bottom: 20px !important;
}

/* --- 4. 記事一覧：横並びレイアウトを完全固定 --- */
.entry-card-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    background: #ffffff !important;
    margin-bottom: 30px !important;
    padding: 15px !important;
    border: 2px solid !important;
    border-image: linear-gradient(to right, #ffcc00 0%, #000000 30%) 1 !important;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 96% 100%, 0 100%);
}

.entry-card-thumb {
    flex: 0 0 30% !important;
    max-width: 250px !important;
}

.entry-card-content {
    flex: 1 !important;
}

.entry-card-thumb img {
    width: 100% !important;
    height: auto !important;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
    border: 1px solid #000;
}

/* --- 5. サイドバー：すべてのウィジェットに独立したグラデ枠 --- */
.sidebar .widget,
.author-box,
.profile-box,
.widget_text,
.widget_recent_entries,
.widget_categories,
.widget_archive,
.widget_calendar,
.widget_new_entries,
.widget_popular_entries,
.widget_search {
    background: #ffffff !important;
    padding: 20px !important;
    margin-bottom: 35px !important;
    border: 2px solid !important;
    border-image: linear-gradient(to bottom, #ffcc00 0%, #000000 100%) 1 !important;
    display: block !important;
    overflow: visible !important;
}

/* 自己紹介の内枠・余計な装飾を完全に排除 */
.author-box, .profile-box, .sns-follow, .author-widget-name {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.widget-title {
    font-family: serif !important;
    font-size: 16px !important;
    color: #000000 !important;
    border-bottom: 2px solid #ffcc00 !important;
    display: inline-block;
    margin-bottom: 20px !important;
    font-weight: bold;
}

/* --- 6. カレンダー内部：同期 --- */
#wp-calendar {
    width: 100% !important;
    border-collapse: collapse !important;
}

#wp-calendar td a, #wp-calendar .current-month-day, #today {
    background-color: #ffcc00 !important;
    color: #000 !important;
    font-weight: bold !important;
    padding: 2px 8px !important;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
    text-decoration: none !important;
}

/* --- 7. 本文内見出し --- */
.entry-content h2 {
    padding: 12px 20px;
    border-left: 8px solid #ffcc00;
    background: #ffffff; 
    border-bottom: 1px solid #000;
    font-family: serif;
}