/*
Theme Name: ZERO-ONE Corporate
Theme URI: https://01zero-one.jp/
Author: 株式会社ZERO-ONE
Author URI: https://01zero-one.jp/
Description: 株式会社ZERO-ONE コーポレートサイト用オリジナルテーマ。Home / About / Service / Works の4ページ構成。固定ページのスラッグ（about / service / works）に応じて専用テンプレートが自動適用されます。
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zero-one
Tags: custom-logo, one-column, responsive-layout, translation-ready
*/

/* ===========================================================
   メインのデザインは assets/css/ 配下（common.css ほか）に格納。
   functions.php で読み込んでいます。
   このファイルには WordPress 固有の補助スタイルのみ記述します。
   =========================================================== */

/* 管理バー表示時の固定ヘッダー位置補正 */
body.admin-bar header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar header {
    top: 46px;
  }
}

/* WordPress標準クラス */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.alignleft  { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 0.85rem; color: #666; text-align: center; }

/* 汎用ページ（page.php / index.php / 404.php）の本文 */
.wp-content-area {
  padding: 80px 0 100px;
  background: var(--color-bg, #faf8f4);
}
.wp-content-area .entry-content {
  max-width: 820px;
  margin: 0 auto;
  line-height: 2;
}
.wp-content-area .entry-content p { margin-bottom: 1.4em; }
.wp-content-area .entry-content img { max-width: 100%; height: auto; }
.wp-content-area .post-list-item {
  max-width: 820px;
  margin: 0 auto 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(26, 26, 46, 0.1);
}
.wp-content-area .post-list-item h2 a { color: var(--color-primary, #1a1a2e); text-decoration: none; }
.wp-content-area .post-list-item .post-date { font-size: 0.8rem; color: #888; }
.wp-content-area .pagination { text-align: center; margin-top: 40px; }
