/* ===================
   1. Root Variables - グローバル変数の定義
==================== */
:root {
    --text-color: #464646;
    --color-footer-border: rgba(0, 0, 0, 0.15);
}

/* ===================
   2. Base Styles - 基本的なスタイル設定
==================== */
html, body {
    font-size: 14px;
}

body {
    font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", 
                 Hiragino Sans, "Noto Sans JP", sans-serif;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

/* ===================
   3. Typography - テキストとタイポグラフィーに関する設定
==================== */
p {
    line-height: 1.7;
    margin-bottom: 1.2em;
}

em {
    font-weight: 700;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h2, .h3, .h4, .h5, .h6, 
.mainSection-title {
    margin: 1.5em 0 1.2em;
    clear: both;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child {
    margin-top: 0;
}

.h2, .mainSection-title, h2 {
    font-size: 1.75rem;
}

/* ===================
   4. Lists - リスト要素のスタイリング
==================== */
dl, ol, ul {
    margin-top: 1.5em;
    margin-bottom: 1.2em;
}

li {
    margin-bottom: 0.8em;
    line-height: 1.65em;
}

dd, dt {
    padding-left: 10px;
    border-left-width: 2px;
    border-left-style: solid;
    margin-bottom: 10px;
}

dt {
    border-left-color: #337ab7;
}

dd {
    border-left-color: #e5e5e5;
}

/* ===================
   5. Images - 画像関連のスタイル
==================== */
img {
    max-width: 100%;
    height: auto;
}

.alignleft, 
img.alignleft {
    display: inline;
    float: left;
    margin-right: 20px;
    margin-top: 4px;
}

.alignright,
img.alignright {
    display: inline;
    float: right;
    margin-left: 20px;
    margin-top: 4px;
}

.aligncenter,
img.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ===================
   6. Header Styles - ヘッダー部分のスタイル
==================== */
.siteHeader {
    width: 100%;
    position: relative;
    z-index: 1000;
    top: 0;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    min-height: 46px;
    border: none;
}

.siteHeader.navbar {
    border-radius: 0;
}

.siteHeader .container {
    padding-top: 5px;
    padding-bottom: 4px;
}

.siteHeader_logo {
    display: inline-block;
    height: auto;
    padding: 5px 0;
    margin: 0;
    font-size: 32px;
    line-height: 1.5em;
    white-space: inherit;
}

/* ===================
   7. Navigation - ナビゲーションメニューのスタイル
==================== */
.gMenu_outer {
    width: 100%;
}

.gMenu {
    margin: 0 auto;
    padding: 0;
    display: flex;
    list-style: none;
    position: relative;
}

.gMenu a {
    color: #333;
    height: 100%;
    text-decoration: none;
}

.gMenu a:hover,
.gMenu a:active,
.gMenu a:focus {
    background-color: inherit;
    transition: background-color 0.4s;
    color: #333;
}

/* ===================
   8. Main Content - メインコンテンツエリアのスタイル
==================== */
.siteContent {
    padding: 2rem 0 2rem;
}

.mainSection-base-on,
.sideSection-base-on {
    background-color: #fff;
    padding: 1.4rem;
}

/* ===================
   9. Footer - フッター部分のスタイル
==================== */
.siteFooter {
    display: block;
    overflow: hidden;
    border-top: 3px solid #337ab7;
    background-color: #f9f9f9;
}

.footerMenu li {
    margin-bottom: 0;
    font-size: 14px;
}

/* ===================
   10. Widgets - ウィジェット関連のスタイル
==================== */
.widget {
    margin-bottom: 25px;
}

.widget .subSection-title {
    margin-top: 0;
    font-size: 18px;
}

/* ===================
   11. Media Queries - レスポンシブデザインの設定
==================== */
@media (min-width: 576px) {
    .mainSection-base-on,
    .sideSection-base-on {
        padding: 1.7rem;
    }
}

@media (min-width: 768px) {
    p {
        line-height: 1.9;
    }
    
    .siteContent {
        padding: 2.5rem 0 2.5rem;
    }
}

@media (min-width: 992px) {
    body,
    html {
        font-size: 16px;
    }
    
    .siteContent {
        padding: 3rem 0 3.5rem;
    }
}

@media (max-width: 991.98px) {
    .mainSection,
    .sideSection {
        width: 100%;
        flex-basis: unset;
    }
    
    .mainSection {
        margin-bottom: 2rem;
    }
}

.postNextPrev {
    display:none;
}

/* フッターの背景画像設定 */
/* .siteFooter {
    background: url(https://nekonote55.jp/yuni-shakyo/wp-content/uploads/2025/02/–јЏМ–ўђЭ'и‚МѓfѓUѓCѓ"-4.png);
} */

/* ハンバーガーメニューPC表示設定 */
/* 現在は表示オフの設定に */

/* copyright調整 */
.site-footer-copyright p:nth-child(2) {
    display: none;
}

/* copyright調整 */
footer .copySection p:nth-child(2) {
    display:none !important;
}

/* header タイトルバナーサイズ変更 */
@media (min-width: 992px) {
    .siteHeader_logo img {
        max-height: 100px;
    }
}

/* header メニュー文字サイズ変更 */
.gMenu>li .gMenu_name {
    font-size: 21px;
}

/* インライン属性を強制上書き */
.veu_autoEyeCatchBox img {
    width: 400px !important;
    max-width: 400px !important;
    height: auto !important;
    /* インライン属性を無効化 */
    width: 400px !important;
    height: auto !important;
}

/* より強力な指定 */
.veu_autoEyeCatchBox img[width][height] {
    width: 400px !important;
    height: auto !important;
}
