/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://uands-house.com/
Description: TwentyTwentyFive 子テーマ - U&Sハウス（川越害虫駆除）
Author: 株式会社マスターテック
Author URI: https://master-tech.jp/
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive_child
*/

/* ============================================================
   U&Sハウス - 全ページ共通CSS
============================================================ */

/* ============================================================
   1. WP/TwentyTwentyFive 標準要素の非表示・調整
============================================================ */

/* ページタイトル非表示（必要なら） */
/*
body.page .wp-block-post-title,
body.page .entry-title {
    display: none !important;
}
*/

/* ============================================================
   2. CSS変数定義（紺×ゴールド・design-direction.png から抽出）
============================================================ */
:root {
    /* Brand Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent-primary: #001222;   /* Main: 濃紺（背景・ヘッダー・引き締め） */
    --accent-secondary: #DFB666; /* Sub: ゴールド（CTA・装飾） */
    --border-color: #e0e0e0;

    /* Fonts */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Roboto', sans-serif;

    /* Sizes */
    --container-max: 1200px;
    --content-max: 900px;
    --header-height: 80px;

    /* Easings */
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   3. リセット & ベース
============================================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   4. ユーティリティクラス
============================================================ */
.text-accent {
    color: var(--accent-primary) !important;
}

.bg-accent {
    background-color: var(--accent-primary);
    color: #fff;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   5. アニメーション（IntersectionObserver でin-view付与・JSと連動）
============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }


/* ============================================================
   6. レスポンシブ
============================================================ */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
}
