/*
Theme Name: VALITAS
Theme URI: https://valitas.co.jp/
Author: Vividsoul Co
Description: バリタス株式会社 コーポレートサイト専用オリジナルテーマ（クラシックテーマ）。静的HTML（Pure White / Editorial）を忠実に再現し、施工事例・販売物件・スタッフ・募集要項・事業をカスタム投稿タイプで管理します。実際のスタイルは assets/css/style.css を参照してください。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: valitas
Tags: custom-menu, custom-post-types, one-column, translation-ready
*/

/*
 * このファイルはテーマ情報の宣言用です。
 * デザイン本体は assets/css/style.css（元の静的サイトと同一ファイル）を
 * functions.php から読み込んでいます。
 * 追加のスタイル調整は assets/css/style.css の末尾、または
 * 下記に追記してください（style.css も併せて読み込まれます）。
 */

/* --------------------------------------------------------------
   WordPress版で追加した最小限のスタイル
   （元の assets/css/style.css には手を入れていません）
   -------------------------------------------------------------- */

/* 販売物件一覧: スクロール追加読み込みの番兵 */
.prop-sentinel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  margin-top: 24px;
}
.prop-sentinel__spinner {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 0, 0, .18);
  border-top-color: rgba(0, 0, 0, .55);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s ease;
}
.prop-sentinel.is-loading .prop-sentinel__spinner {
  opacity: 1;
  animation: valitas-spin .8s linear infinite;
}
@keyframes valitas-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .prop-sentinel.is-loading .prop-sentinel__spinner { animation: none; }
}

/* 絞り込みで非表示になったカード（main.js が付与） */
.prop-card.is-hidden { display: none; }

/* 一覧・アーカイブのページネーション（施工事例など） */
.navigation.pagination {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 6vw, 72px);
}
.navigation.pagination .nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  letter-spacing: .08em;
}
.navigation.pagination .page-numbers.current { text-decoration: underline; }

/* 汎用ページ / 検索結果の簡易リスト */
.entry-list { list-style: none; padding: 0; margin: 0; }
.entry-list li { border-bottom: 1px solid var(--color-line); }
.entry-list a {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  text-decoration: none;
}
.entry-list .eyebrow { flex: 0 0 auto; }

/* 送信中のフォーム */
.form.is-sending .form__submit { opacity: .5; pointer-events: none; }

/* お問い合わせ: 必須項目が未入力のあいだの送信ボタン */
.form__submit:disabled,
.form__submit[aria-disabled="true"] {
  background: #c9c9c9;
  color: #fff;
  cursor: not-allowed;
  opacity: 1;
}
.form__submit:disabled:hover,
.form__submit[aria-disabled="true"]:hover {
  background: #c9c9c9;
}

/* 送信完了ページ */
.thanks__body { font-size: 15px; line-height: 2.1; }
.thanks__body p { margin-bottom: 1.4em; }
.thanks__body p:last-child { margin-bottom: 0; }
.thanks__actions { margin-top: clamp(40px, 5vw, 64px); }
