@charset "UTF-8";

/*
	Theme Name:eengs
	Theme URI:https://eos-es.co.jp/
	Description: イオスエンジニアリング＆サービスのテーマ
	Version:1
	Author: Eos Engineering & Service
	Author URI:https://eos-es.co.jp/
*/

/**************************************************************************************

--------------------------------------------------------------------------------------
再リセット
***************************************************************************************/

body.news main.n_detail .n-text img,
body.news main.n_detail .n-text ul,
body.news main.n_detail .n-text ol,
body.news main.n_detail .n-text li,
body.news main.n_detail .n-text h1,
body.news main.n_detail .n-text h2,
body.news main.n_detail .n-text h3,
body.news main.n_detail .n-text h4,
body.news main.n_detail .n-text h5,
body.news main.n_detail .n-text h6,
body.news main.n_detail .n-text p,
body.news main.n_detail .n-text strong,
body.news main.n_detail .n-text b,
body.news main.n_detail .n-text table,
body.news main.n_detail .n-text tbody,
body.news main.n_detail .n-text tfoot,
body.news main.n_detail .n-text thead,
body.news main.n_detail .n-text tr,
body.news main.n_detail .n-text th,
body.news main.n_detail .n-text td,
body.news main.n_detail .n-text figure,
body.news main.n_detail .n-text figcaption, 
body.news main.n_detail .n-text audio, 
body.news main.n_detail .n-text video {
	all: revert;
}
body.news main.n_detail .n-text a.wp-element-button,
body.news main.n_detail .n-text a.wp-block-button__link {
	text-decoration: none;
	color: #fff;
}

/**************************************************************************************

--------------------------------------------------------------------------------------
セット
***************************************************************************************/
  
/* テーブル
========================================== */
   
body.news main.n_detail .n-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
}
body.news main.n_detail .n-text table th,
body.news main.n_detail .n-text table td {
    border: 1px solid #ddd;
    padding: 0.6em 0.8em;
}
body.news main.n_detail .n-text table th {
    background: #f5f5f5;
    font-weight: 600;
}
/* スマホで横スクロール可能にする場合（任意） */
.wp-block-table {
    overflow-x: auto;
}

/* 引用ブロック
========================================== */

body.news main.n_detail .n-text blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #ddd;
    background: #fafafa;
    font-style: italic;
}

body.news main.n_detail .n-text blockquote p {
    margin: 0;
}

/* コード・プレ
========================================== */

body.news main.n_detail .n-text pre,
body.news main.n_detail .n-text code {
    font-family: Consolas, Menlo, Monaco, monospace;
    font-size: 0.9rem;
}

body.news main.n_detail .n-text pre {
    background: #222;
    color: #f5f5f5;
    padding: 1em;
    margin: 1.5em 0;
    overflow-x: auto;
    border-radius: 4px;
}

body.news main.n_detail .n-text code {
    background: #f1f1f1;
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

/***********************************************************************

------------------------------------------------------------------------
ページネーション
***********************************************************************/

/* ページネーション全体の余白・中央寄せ */
.navigation.posts-navigation {
    margin: 40px 0;
}

.navigation.posts-navigation .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 中央寄せのポイント */
    gap: 8px;
}

/* ボタン共通（数字・前へ・次へ） */
.navigation.posts-navigation .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 14px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
}

/* 現在のページ */
.navigation.posts-navigation .page-numbers.current {
/*    background-color: #333;*/
    background-color: #5591c8;
    color: #fff;
/*    border-color: #333;*/
	border-color: #5591c8;
    font-weight: bold;
}

/* ホバー時 */
.navigation.posts-navigation .page-numbers:not(.current):hover {
    background-color: #f5f5f5;
    border-color: #999;
    color: #000;
}

/* 「…」などのドット部分 */
.navigation.posts-navigation .page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
}

/* 前へ・次へを少し強調したい場合（任意） */
.navigation.posts-navigation .page-numbers.prev,
.navigation.posts-navigation .page-numbers.next {
    font-weight: 500;
}

/* スマホで少し詰めたい場合（お好みで） */
@media (max-width: 600px) {
    .navigation.posts-navigation .nav-links {
        gap: 4px;
    }

    .navigation.posts-navigation .page-numbers {
        min-width: 32px;
        padding: 6px 8px;
        font-size: 13px;
    }
}
