/*
Theme Name: Ishi-kai Theme
Theme URI: https://ishi-kai.com
Author: Ishi-kai
Author URI: https://ishi-kai.com
Description: 石井会の公式WordPressテーマ。和風デザインで藍と朱を基調とした配色。
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: ishi-kai-theme
Tags: japanese, custom-menu, custom-logo, featured-images

石井会 - 政治的信条が同じ人たちの交流団体
*/

/* ==========================================================================
   CSS Variables - 和風配色
   ========================================================================== */
:root {
    /* Primary Colors */
    --color-ai: #1e4d8c;        /* 藍 - メインカラー */
    --color-ai-dark: #153a6a;   /* 藍（暗） */
    --color-ai-light: #2a6ab8; /* 藍（明） */
    --color-shu: #c94a4a;       /* 朱 - アクセントカラー */
    --color-shu-dark: #a83939; /* 朱（暗） */
    --color-shu-light: #e05555;/* 朱（明） */

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-off-white: #f8f6f3;
    --color-gray-light: #e8e4df;
    --color-gray: #888888;
    --color-gray-dark: #555555;
    --color-black: #333333;

    /* Typography */
    --font-family-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
    --font-family-serif: "Noto Serif JP", "Hiragino Mincho ProN", "游明朝", serif;
    --font-size-base: 16px;
    --line-height-base: 1.8;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Container */
    --container-max-width: 1200px;
    --container-padding: 1.5rem;

    /* Border Radius */
    --border-radius: 4px;
    --border-radius-lg: 8px;

    /* Box Shadow */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

    /* Transition */
    --transition-base: 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
    font-size: 1rem;
    line-height: var(--line-height-base);
    color: var(--color-black);
    background-color: var(--color-off-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-serif);
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    color: var(--color-ai);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-ai);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-shu);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    padding-left: var(--spacing-md);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
