/* Astra 1.8.2 の style.min.css に直接加えられていた変更（親テーマ更新後も同じ見た目にするため） */
.ast-row{margin-left:0;margin-right:0}
.main-navigation ul{display:contents}
.main-header-menu a{color:#722F10 !important;font-weight:bold}
.main-header-menu > .menu-item > a:hover{opacity:.5}
.ast-header-break-point .main-header-menu{background-color:transparent}
.header-main-layout-1 .main-navigation{padding-left:0}
.header-main-layout-1 .main-header-container{width:100%}
.ast-logo-title-inline .site-logo-img{padding-right:0}
.site-header{background-color:#FFD55A}
.ast-header-break-point .main-navigation li{display:inline-block;width:auto}
.ast-footer-overlay{background-color:#d0ae4a}
.ast-small-footer .nav-menu a{color:#722F10}
.site-footer{color:#722F10}
.site-footer a:focus,.site-footer a:hover{opacity:.5}
.ast-flex{width:100%}
.sub-menu>li>a{color:rgb(47, 47, 47)}
.entry-content p{margin-bottom:10px}
.main-header-bar{background-color:transparent}

/* ===== Astra 1.8.2 の標準の色・文字組み（Astra 4 で標準値が変わったため、旧版の値に戻す） ===== */
body,button,input,select,textarea{color:#3a3a3a}
body{line-height:1.85714285714286}
body,h1,.entry-title a,.entry-content h1,h2,.entry-content h2,h3,.entry-content h3,h4,.entry-content h4,h5,.entry-content h5,h6,.entry-content h6{color:#3a3a3a}
a,.page-title{color:#0274be}
a:hover,a:focus{color:#3a3a3a}
.entry-meta,.entry-meta *{color:#0274be}
.entry-meta a:hover,.entry-meta a:hover *,.entry-meta a:focus,.entry-meta a:focus *{color:#3a3a3a}
h1,.entry-content h1{font-size:40px;font-size:2.5rem}
h2,.entry-content h2{font-size:30px;font-size:1.875rem}
h3,.entry-content h3{font-size:25px;font-size:1.5625rem}
h4,.entry-content h4{font-size:20px;font-size:1.25rem}
h5,.entry-content h5{font-size:18px;font-size:1.125rem}
h6,.entry-content h6{font-size:15px;font-size:.9375rem}
.entry-content h1,h1{line-height:1.2}
.entry-content h2,h2{line-height:1.3}
.entry-content h3,h3{line-height:1.4}
.entry-content h4,h4{line-height:1.5}
.entry-content h5,h5{line-height:1.6}
.entry-content h6,h6{line-height:1.7}
td,th{padding:8px}
.entry-content table td,.entry-content table th{padding:8px}
.ast-pagination a,.page-links .page-link,.single .post-navigation a{color:#0274be}
@media (max-width:768px){
 h1,.entry-content h1{font-size:30px}
 h2,.entry-content h2{font-size:25px}
 h3,.entry-content h3{font-size:20px}
}
@media (max-width:768px){
 .ast-separate-container #primary,.ast-separate-container #secondary{padding-top:1.5em;padding-bottom:1.5em}
}
/* 一覧の記事タイトル：旧版は header 内にあり style2.css の「article header{display:none}」で非表示だった。新版は header の外に出るため同じく隠す */
.ast-article-post > .ast-article-inner .post-content > .entry-title.ast-blog-single-element,.ast-article-post .post-content > h2.entry-title.ast-blog-single-element{display:none}

/* アーカイブの抜粋と「もっと読む」を旧表示に戻す */
.ast-excerpt-container p,.ast-excerpt-container>p:last-child{margin-bottom:10px}
.post-content>.read-more{margin-top:0;margin-bottom:0}
.ast-read-more-container a,p.read-more a{display:inline;width:auto}

/* 本文見出しの下余白と 404 見出しを旧表示に戻す */
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{margin-bottom:20px}
.error-404 .page-title{font-size:30px;line-height:1.2}
/* 一覧：旧版はアイキャッチ枠が空でも 1px 高さがあった */
.archive .ast-blog-featured-section.post-thumb,.blog .ast-blog-featured-section.post-thumb,.search .ast-blog-featured-section.post-thumb{min-height:1px}
/* 一覧のページ送り：スマホでも番号と「次のページ」を1行に並べる（旧表示） */
.ast-pagination{padding-top:2em}
@media (min-width:769px){.ast-pagination,.ast-pagination .nav-links{text-align:start}}
.ast-pagination .page-numbers{font-weight:400}
@media (max-width:420px){.ast-pagination .prev.page-numbers,.ast-pagination .next.page-numbers{width:auto;text-align:right}}
/* 表：見出しセルは旧版と同じく左寄せ・太字、罫線は薄い黒 */
th{text-align:left;font-weight:700}
table,td,th{border-color:rgba(0,0,0,.1)}
@media (max-width:768px){.ast-pagination{padding-top:1.5em}}
.ast-pagination:empty{display:inline-block;width:100%}
.ast-pagination .page-numbers:not(.next):not(.prev){text-align:center}
/* 一覧：「もっと読む」が無い記事は抜粋の下余白を付けない（旧表示） */
.post-content>.ast-excerpt-container:has(+ .entry-content)>p:last-child{margin-bottom:0}
/* タグ・カテゴリーの説明文がある一覧の見出し下余白（旧表示） */
body.archive .ast-archive-description>.ast-archive-title:not(:last-child){margin-bottom:4px}
/* 定義リスト（リンク集など）：旧版の太字と下余白 */
dt{font-weight:700}
dd{margin-bottom:1.5em}
@media (max-width:768px){.ast-pagination .next.page-numbers{display:inline-block;float:none;padding-right:.5em}}
