/*
Theme Name: リサイクルショップイースタイル（estyle-shop）
Theme URI: https://f-style.jp/
Author: PROVISYS
Author URI: https://provisys.co.jp/
Description: リサイクルショップイースタイル佐世保店（f-style.jp）のテーマ。今のテーマ（wise-system）の見た目と文章のまま作り直し、検索対策（タイトル・説明文・H1・構造化データ）、セキュリティ、確認画面つきのお問い合わせフォーム（Contact Form 7）を内蔵しました。
Version: 1.1.4
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: estyle-shop
*/

/* 見た目は assets/css/ の CSS（今のテーマと同じもの）にあります。ここにはテーマで足した部分だけを書きます。 */

/* トップ：説明文の最初の一文を H1 に（見た目は今のまま） */
.HeaderContentsH1 .es-home-h1 { display: block; margin: 0; padding: 0; }
.HeaderContentsH1 .es-home-h1 h1,
.HeaderContentsH1 .es-home-h1 span { display: inline; float: none; margin: 0; padding: 0; font-size: 1.8rem; line-height: 3.0rem; font-weight: normal; }
@media (max-width: 760px) {
	.HeaderContentsH1 .es-home-h1 h1,
	.HeaderContentsH1 .es-home-h1 span { font-size: 1.6rem; line-height: 2.0rem; }
}

/* 記事の日付 */
#PageContents p.es-date { text-align: right; color: #ab8100; font-size: 1.4rem; margin: 0 0 1vh; }

/* 一覧のページ送り */
.es-pager { clear: both; margin: 3vh 0; text-align: center; }
.es-pager ul { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.es-pager li { padding: 0; }
.es-pager a, .es-pager span { display: inline-block; min-width: 2.4em; padding: 6px 10px; border: 1px solid #ccc; border-radius: 6px; background: #fff; font-size: 1.4rem; line-height: 2rem; text-decoration: none; }
.es-pager .current { background: #555; border-color: #555; color: #fff; }

/* 検索フォーム（検索結果・見つからないページ） */
.search-form { margin: 2vh 0; }
.search-form label { padding: 0; }
.search-form .search-field { width: 60%; max-width: 360px; padding: 8px 10px; font-size: 1.6rem; border: 1px solid #aaa; border-radius: 4px; }
.search-form .search-submit { padding: 8px 16px; font-size: 1.6rem; border: 0; border-radius: 4px; background: #555; color: #fff; cursor: pointer; }

/* 画面には出さず、読み上げ・検索エンジン向けの文字 */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
