/**
 * Twenty Twenty-Five Child Theme Main Stylesheet
 * 
 * HTMLプロトタイプから移行したスタイルを含みます
 */

/* ==========================================================================
   CSS変数定義
   ========================================================================== */

:root {
    /* カラーパレット */
    --color-primary: #15803d;      /* メインカラー（緑） */
    --color-secondary: #facc15;    /* サブカラー（黄色） */
    --color-white: #ffffff;        /* 白 */
    --color-text: #333333;         /* テキスト（ダークグレー） */
    --color-text-light: #666666;   /* ライトグレー */
    --color-border: #e5e5e5;       /* ボーダー */
    
    /* フォント設定 */
    --font-primary: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
    --font-heading: "Noto Sans JP", "Hiragino Sans", sans-serif;
    
    /* レイアウト */
    --container-width: 1200px;
    --content-width: 1000px;
    --sidebar-width: 300px;
    
    /* 余白 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    
    /* ブレークポイント */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

/* ========================================
   リセット・基本設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ========================================
   共通レイアウト
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
   ======================================== */
header {
    background-color: #fff;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ヘッダー上段 */
.header-top {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ヘッダー左側 */
.header-left {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1.2;
}

/* ヘッダー右側 */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contact-info {
    text-align: right;
    margin-right: 10px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: bold;
    color: var(--color-primary);
}

a.phone-number {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a.phone-number:hover {
    opacity: 0.8;
}

.phone-number svg {
    width: 18px;
    height: 18px;
}

.phone-text {
    letter-spacing: 0.5px;
}

/* お問い合わせボタン（グラデーション・四角） */
.contact-button-gradient {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #f4a814 50%, #e8b813 100%);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(250, 204, 21, 0.3);
}

.contact-button-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.5);
    background: linear-gradient(135deg, #fbd526 0%, #f5b325 50%, #e9c024 100%);
}

.contact-button-gradient svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

/* ヘッダーナビゲーション */
.header-nav {
    background-color: #fff;
    padding: 0;
}

.header-nav nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-nav nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 0;
    position: relative;
}

/* ナビゲーション全体の左端の縦線 */
.header-nav nav ul::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #d0d0d0;
}

/* ナビゲーション全体の右端の縦線 */
.header-nav nav ul::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #d0d0d0;
}

.header-nav nav li {
    margin: 0;
    position: relative;
}

/* ナビゲーション項目間の縦線 */
.header-nav nav li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #d0d0d0;
}

.header-nav nav a {
    display: block;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
}

.header-nav nav a:hover {
    background-color: #f0f8f4;
    color: var(--color-primary);
}

.header-nav nav a.active {
    color: var(--color-primary);
    background-color: #f0f8f4;
}

.header-nav nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.header-nav nav a:hover::after,
.header-nav nav a.active::after {
    width: 80%;
}

/* ========================================
   ページヘッダー
   ======================================== */
.page-header {
    background-color: #e8f5ed;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    color: var(--color-primary);
    font-weight: bold;
}

/* ========================================
   メインコンテンツ共通
   ======================================== */
.main-content {
    padding: 60px 0;
}

/* ========================================
   フッター
   ======================================== */
footer {
    background-color: var(--color-primary);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.8;
    color: #fff;  /* 明示的に白色を指定 */
    display: block;  /* ブロック要素として確実に表示 */
    visibility: visible;  /* 確実に表示 */
}

/* 各フッター情報に個別のスタイル */
.footer-info .footer-address {
    margin-bottom: 12px;
}

.footer-info .footer-tel-fax {
    margin-bottom: 12px;
    font-weight: 500;  /* 少し太く */
    letter-spacing: 0.3px;  /* 文字間隔を調整 */
    color: #fff !important;  /* 強制的に白色 */
    display: block !important;  /* 強制的にブロック表示 */
    visibility: visible !important;  /* 強制的に表示 */
    cursor: default !important;  /* デフォルトカーソルを強制 */
    pointer-events: auto !important;  /* ポインターイベントを有効化（テキスト選択のため） */
    -webkit-tap-highlight-color: transparent !important;  /* タップ時のハイライトを無効化 */
    -webkit-touch-callout: none !important;  /* iOS Safari の長押しメニューを無効化 */
}

/* TEL/FAXの各要素のスタイル */
.footer-tel-fax span {
    color: #fff !important;
    display: inline !important;
}

.footer-tel-fax .tel-label,
.footer-tel-fax .fax-label {
    font-weight: 600;
}

.footer-tel-fax .tel-number,
.footer-tel-fax .fax-number {
    letter-spacing: 0.5px;
    cursor: default !important;  /* デフォルトカーソルを強制 */
    pointer-events: none !important;  /* クリック/タップを無効化 */
    user-select: text !important;  /* テキスト選択を可能に */
    -webkit-user-select: text !important;  /* iOS Safari対応 */
    -moz-user-select: text !important;  /* Firefox対応 */
    -ms-user-select: text !important;  /* IE/Edge対応 */
}

.footer-tel-fax .separator {
    margin: 0 5px;
}

.footer-info .footer-email {
    margin-bottom: 10px;
    word-break: break-all;  /* 長いメールアドレスの折り返し */
}

.footer-info .mail-note {
    font-size: 12px;
    margin-top: 15px;
    opacity: 0.9;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

/* wp_nav_menu()が生成するフッターメニューのスタイル */
.footer-nav .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    gap: 12px 20px;
    justify-content: start;
}

.footer-nav .footer-menu li {
    margin: 0;
}

.footer-nav .footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    transition: opacity 0.3s;
    display: inline-block;
}

.footer-nav .footer-menu a:hover {
    opacity: 0.7;
}

/* 旧スタイル（fallback用・互換性のため残す） */
.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    transition: opacity 0.3s;
    display: inline-block;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    opacity: 0.9;
}

/* ========================================
   トップページ専用スタイル
   ======================================== */
/* メインビジュアル */
.hero {
    position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #e8f5ed;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: flex-start;
}

.hero-text {
    text-align: left;
    max-width: 600px;
    margin: 0;
    padding-left: 80px;
    position: relative;
}

.hero-text-inner {
    background: rgba(255, 255, 255, 0.6);
    padding: 45px 50px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

/* 装飾的な背景効果 */
.hero-text-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(250, 204, 21, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 25px;
    font-weight: 700;
    text-align: left;
    line-height: 1.3;
    letter-spacing: 0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.title-line {
    display: block;
    margin-bottom: 8px;
    position: relative;
    padding-left: 0;
}

/* タイトルの各行に異なるアニメーション遅延 */
.title-line:nth-child(1) {
    animation: fadeInLeft 0.6s ease-out 0.1s both;
}

.title-line:nth-child(2) {
    animation: fadeInLeft 0.6s ease-out 0.2s both;
}

.title-line:nth-child(3) {
    animation: fadeInLeft 0.6s ease-out 0.3s both;
}

/* 区切り線 */
.hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    margin: 25px 0;
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    text-align: left;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.6;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

/* アニメーション定義 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* 挨拶文セクション */
.greeting {
    padding: 60px 0;
    background-color: #fff;
}

/* ごあいさつヘッダー部分 */
.greeting-header {
    text-align: center;
    margin-bottom: 50px;
}

.greeting h2 {
    font-size: 32px;
    color: var(--color-primary);
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.greeting h2::before,
.greeting h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary));
}

.greeting h2::before {
    left: -50px;
}

.greeting h2::after {
    right: -50px;
    background: linear-gradient(90deg, var(--color-secondary), transparent);
}

.greeting-subtitle {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

/* ごあいさつコンテンツ */
.greeting-content {
    max-width: 925px;
    margin: 0 auto;
}

/* イントロカード */
.greeting-intro {
    margin-bottom: 40px;
}

.greeting-card {
    background-color: #f8f8f8;
    border-left: 4px solid var(--color-primary);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.greeting-card h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: bold;
}

.greeting-card p {
    font-size: 16px;
    line-height: 2;
    color: #333;
}

/* 経験ハイライト */
.greeting-experience {
    margin-bottom: 40px;
}

.experience-highlight {
    background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--color-secondary);
}

.highlight-content h4 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: bold;
}

.highlight-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

/* ビジョンセクション */
.greeting-vision {
    margin-bottom: 40px;
}

.greeting-vision h3 {
    font-size: 22px;
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.greeting-vision h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
}

.vision-content {
    font-size: 16px;
    line-height: 2;
}

.vision-content p {
    margin-bottom: 20px;
}

.vision-emphasis {
    background-color: #e8f5ed;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.vision-emphasis p {
    margin-bottom: 15px;
}

.vision-important {
    font-weight: 500;
}

.text-highlight {
    background: linear-gradient(transparent 60%, var(--color-secondary) 60%);
    padding: 2px 4px;
    font-weight: bold;
}

/* コミットメントボックス */
.greeting-commitment {
    margin-top: 50px;
}

.commitment-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a9448 100%);
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(21, 128, 61, 0.2);
    position: relative;
    overflow: hidden;
}

.commitment-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.commitment-text {
    font-size: 18px;
    line-height: 2;
    position: relative;
    z-index: 1;
}

.commitment-text strong {
    font-size: 20px;
    font-weight: bold;
}

/* ========================================
   プロフィールページ専用スタイル
   ======================================== */
.profile-section {
    max-width: 780px;
    margin: 0 auto;
}

.profile-intro {
    display: flex;
    gap: 110px;
    margin-bottom: 50px;
    align-items: flex-start;
    justify-content: flex-start;
}

.profile-image {
    width: 250px;
    height: 300px;
    background-color: #ddd;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-basic {
    flex: 0 0 auto;
}

.profile-basic h2 {
    font-size: 28px !important;
    color: var(--color-primary) !important;
    margin-bottom: 20px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
}

.profile-basic p {
    font-size: 16px !important;
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
}

.profile-basic p strong {
    font-weight: bold !important;
}

.profile-section .section-title {
    font-size: 24px !important;
    color: var(--color-primary) !important;
    margin: 40px 0 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid var(--color-secondary) !important;
    font-weight: bold !important;
}

.timeline {
    margin-left: 20px;
}

.timeline-item {
    display: flex;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    align-items: flex-start;
}

.timeline-item::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0.35em;
    color: var(--color-secondary);
    font-size: 10px !important;
    line-height: 1.4;
}

.timeline-year {
    min-width: 200px;
    font-weight: bold !important;
    color: #666 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    display: flex;
    align-items: center;
}

.timeline-content {
    flex: 1;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.hobby-section {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.hobby-section .section-title {
    margin-top: 0;
    font-size: 24px !important;
    color: var(--color-primary) !important;
    font-weight: bold !important;
}

.hobby-list {
    list-style: none;
    margin-left: 20px;
}

.hobby-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

.hobby-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 16px !important;
}

/* ========================================
   活動方針ページ専用スタイル
   ======================================== */
.policy-section {
    max-width: 700px;
    margin: 0 auto;
}

/* 活動方針ページ - 基本理念セクション（改善版） */
.philosophy {
    position: relative;
    padding: 80px 20px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8f4 50%, #e8f5ed 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(21, 128, 61, 0.08);
}

/* 背景パターン */
.philosophy::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(250, 204, 21, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(21, 128, 61, 0.05) 0%, transparent 50%);
    animation: philosophyFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes philosophyFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-10px, -10px) rotate(1deg);
    }
    66% {
        transform: translate(10px, -5px) rotate(-1deg);
    }
}

.philosophy-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* タイトル */
.philosophy-title {
    font-size: 24px;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

.title-accent {
    position: relative;
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 0.15em;
    padding: 0 20px;
}

.title-accent::before,
.title-accent::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary));
}

.title-accent::before {
    left: -40px;
}

.title-accent::after {
    right: -40px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

/* メインテキスト */
.philosophy-content {
    position: relative;
}

.philosophy-text {
    font-size: 32px;
    line-height: 1.6;
    color: #333;
    font-weight: bold;
    letter-spacing: 0.02em;
    margin: 0;
    animation: fadeInUp 1.5s ease-out;
}

.text-main {
    display: block;
    font-size: 34px;
    color: var(--color-primary);
    font-weight: 900;
    margin-bottom: 8px;
    position: relative;
    letter-spacing: 0.05em;
}

.text-sub {
    display: block;
    font-size: 30px;
    color: #333;
    font-weight: 700;
    position: relative;
}

/* スローガンセクション用の追加スタイル */
.philosophy.slogan {
    margin-top: 60px;
    background: linear-gradient(135deg, #e8f5ed 0%, #f0f8f4 50%, #ffffff 100%);
    position: relative;
}

.philosophy.slogan .philosophy-inner {
    position: relative;
    padding: 0 20px; /* 横線のためのスペースを調整 */
    max-width: 500px; /* 最大幅を設定 */
    margin: 0 auto;
}

/* スローガンの装飾（黄色い横線） */
.philosophy.slogan .philosophy-inner::before,
.philosophy.slogan .philosophy-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    opacity: 0.6;
}

.philosophy.slogan .philosophy-inner::before {
    left: -100px;
    animation: slideInLeft 2s ease-out;
}

.philosophy.slogan .philosophy-inner::after {
    right: -100px;
    animation: slideInRight 2s ease-out;
}

/* スローガン用アニメーション */
@keyframes slideInLeft {
    from {
        left: -150px;
        opacity: 0;
    }
    to {
        left: -100px;
        opacity: 0.6;
    }
}

@keyframes slideInRight {
    from {
        right: -150px;
        opacity: 0;
    }
    to {
        right: -100px;
        opacity: 0.6;
    }
}

.philosophy.slogan .philosophy-text {
    font-size: 20px;
}

.slogan-text {
    text-align: center;
}

.slogan-text .text-line {
    display: block;
    line-height: 1.8;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.slogan-text .text-line:last-child {
    margin-bottom: 0;
}

.policy-item {
    margin-bottom: 60px;
    padding: 40px;
    background-color: #f8f8f8;
    border-radius: 10px;
    border-left: 5px solid var(--color-secondary);
}

.policy-item h3 {
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.policy-item h3::before {
    content: "▶";
    color: var(--color-secondary);
    margin-right: 15px;
    font-size: 24px;
}

.policy-content {
    font-size: 16px;
    line-height: 2;
}

.policy-content p {
    margin-bottom: 20px;
    text-indent: 1em;
}

.key-points {
    background-color: #e8f5ed;
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
}

.key-points h4 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: bold;
}

.key-points ul {
    list-style: none;
    margin-left: 20px;
}

.key-points li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
}

.key-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 18px;
}

.additional-policy {
    margin-top: 40px;
    padding: 30px;
    background-color: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
}

.additional-policy h3 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: bold;
}

.additional-policy p {
    font-size: 16px;
    line-height: 1.8;
}

/* ========================================
   後援会入会案内ページ専用スタイル
   ======================================== */
.membership-section {
    max-width: 900px;
    margin: 0 auto;
}

.intro-message {
    background-color: #fffbeb;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
    border: 2px solid var(--color-secondary);
}

.intro-message p {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

/* 入会方法セクション */
.join-methods {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.join-method {
    flex: 1;
    min-width: 300px;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--color-primary);
}

.join-method h3 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.join-method .method-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.join-method p {
    margin-bottom: 20px;
    font-size: 15px;
}

.join-method .note {
    font-size: 13px;
    color: #666;
    margin-top: 15px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-secondary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e5b810;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #0f5c2b;
}

/* QRコードセクション */
.qr-section {
    background-color: #e8f5ed;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 40px;
}

.qr-section h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: bold;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background-color: #fff;
    border: 2px solid var(--color-primary);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.qr-placeholder img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.qr-section .qr-note {
    font-size: 14px;
    margin-top: 15px;
}

/* 規約セクション */
.rules-section {
    background-color: #fff;
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 50px;
}

.rules-section h3 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.rules-content {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 5px;
}

.rules-content ol {
    margin-left: 30px;
}

.rules-content li {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 15px;
}

.rules-content li strong {
    font-weight: bold;
    font-size: 16px;
}

.note-text {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    padding: 15px;
    background-color: #fffbf0;
    border-left: 3px solid var(--color-secondary);
}

/* ========================================
   ブログページ専用スタイル
   ======================================== */
.blog-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ブログ記事エリア */
.blog-main {
    flex: 1;
    min-width: 0;
}

.blog-post {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s;
}

.blog-post:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.post-title {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 15px;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.post-title:hover {
    color: var(--color-secondary);
}

.post-category {
    display: inline-block;
    background-color: var(--color-secondary);
    color: #333;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 15px;
}

.post-excerpt {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.read-more {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--color-secondary);
}

.read-more::after {
    content: " →";
}

/* サイドバー */
.blog-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-widget {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-secondary);
}

.category-list,
.archive-list {
    list-style: none;
}

.category-list li,
.archive-list li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.category-list li::before,
.archive-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

.category-list a,
.archive-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.category-list a:hover,
.archive-list a:hover {
    color: var(--color-secondary);
}

/* ページネーション */
.pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pagination .current {
    background-color: var(--color-secondary);
    color: #333;
}

.pagination a:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* 準備中メッセージ */
.coming-soon {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.coming-soon h2 {
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.coming-soon p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* ========================================
   問い合わせページ専用スタイル
   ======================================== */
.contact-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
}

.contact-intro p {
    font-size: 16px;
    line-height: 1.8;
}

/* 問い合わせフォーム */
.contact-form {
    background-color: #fff;
    padding: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 16px;
}

.required {
    color: var(--color-secondary);
    margin-left: 5px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-note {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* ボタン */
.form-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-submit {
    padding: 15px 50px;
    background-color: var(--color-secondary);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #e5b810;
}

.btn-reset {
    padding: 15px 50px;
    background-color: #666;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-reset:hover {
    background-color: #555;
}

/* 注意事項 */
.notice-box {
    background-color: #fffbf0;
    border-left: 4px solid var(--color-secondary);
    padding: 20px;
    margin-top: 40px;
    border-radius: 5px;
}

.notice-box h3 {
    color: var(--color-primary);
    font-size: 18px;
    margin-bottom: 15px;
}

.notice-box ul {
    list-style: none;
    margin-left: 20px;
}

.notice-box li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.notice-box li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* その他の連絡方法 */
.other-contact {
    background-color: #e8f5ed;
    padding: 30px;
    border-radius: 10px;
    margin-top: 50px;
    text-align: center;
}

.other-contact h3 {
    color: var(--color-primary);
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.contact-method {
    text-align: center;
}

.contact-method-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-method p {
    font-size: 15px;
    font-weight: bold;
}

.contact-method .phone-number,
.contact-method .fax-number {
    font-size: 18px;
    color: var(--color-primary);
}

.contact-method .reception-time {
    font-size: 13px;
    color: #666;
}

/* ========================================
   ハンバーガーメニュー
   ======================================== */
.hamburger-menu {
    display: none;
    position: relative;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    margin-left: 10px;
    flex-shrink: 0;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu span:nth-child(1) {
    top: 0;
}

.hamburger-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu span:nth-child(3) {
    bottom: 0;
}

/* ハンバーガーメニューがアクティブな時 */
.hamburger-menu.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* モバイル時の連絡先情報（デスクトップでは非表示） */
.mobile-contact-info {
    display: none;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
/* iPhone SE等の小さい画面用の特別な対応 */
@media (max-width: 400px) {
    /* トップページのFV調整 - iPhone SE対応 */
    /* 画像とテキストを分離 */
    .hero {
        min-height: auto;
        padding: 0;
        background-position: center center;
        background-size: cover;  /* 画像を画面幅に合わせて表示 */
        background-repeat: no-repeat;
        background-color: #e8f5ed;
        position: relative;
        display: flex;
        flex-direction: column;
    }
    
    /* 画像エリアの高さを固定 */
    .hero::before {
        content: '';
        display: block;
        width: 100%;
        height: 250px;  /* 画像表示エリアの高さを固定 */
    }
    
    .hero .container {
        position: relative;
        padding: 0;
        width: 100%;
    }
    
    .hero-content {
        padding: 0;
        position: static;
        width: 100%;
    }
    
    .hero-text {
        margin-top: 0;
        background-color: #fff;
        padding: 30px 20px;
        position: relative;
        z-index: 1;
        width: 100%;
    }
    
    .hero-text-inner {
        padding: 0;
        background: none;
        box-shadow: none;
        border: none;
        backdrop-filter: none;
    }
    
    .hero-text-inner::before {
        display: none;  /* 装飾的な背景効果を非表示 */
    }
    
    .hero-title {
        font-size: 22px;
        margin-bottom: 15px;
        color: var(--color-primary);
        animation: none;  /* アニメーションを無効化 */
    }
    
    .hero-divider {
        width: 60px;
        margin: 15px 0;
    }
    
    .hero-subtitle {
        font-size: 14px;
        color: #666;
    }
    
    /* アニメーションをシンプルに */
    .title-line {
        animation: none;
    }
    
    .hero-divider {
        animation: none;
    }
    
    .hero-subtitle {
        animation: none;
    }
    
    /* 挨拶文セクション */
    .greeting {
        padding-top: 60px;
        padding-bottom: 50px;
    }
    
    /* フッター情報の特別な調整 */
    .footer-info .footer-tel-fax {
        font-size: 13px;  /* フォントサイズを少し小さく */
        line-height: 1.8;
        white-space: normal;  /* 改行を許可 */
        word-wrap: break-word;  /* 必要に応じて折り返し */
        margin-bottom: 10px;
        /* 視認性向上のための微妙な背景 */
        background-color: rgba(255, 255, 255, 0.05);
        padding: 8px 5px;
        border-radius: 3px;
        /* テキストのみの設定 */
        cursor: default !important;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
    }
    
    /* TEL/FAX番号をテキストのみに */
    .footer-tel-fax .tel-number,
    .footer-tel-fax .fax-number {
        cursor: default !important;
        pointer-events: none !important;
        user-select: text !important;
        -webkit-user-select: text !important;
    }
    
    /* TEL/FAXを2行に分割表示 */
    .footer-tel-fax .separator {
        display: none;  /* スラッシュを非表示 */
    }
    
    .footer-tel-fax .fax-label {
        display: block;  /* FAXを改行 */
        margin-top: 5px;
    }
    
    .footer-info .footer-email {
        font-size: 13px;
        word-break: break-all;  /* メールアドレスを折り返す */
    }
    
    .footer-info .mail-note {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    /* 基本設定 */
    html {
        font-size: 14px;
    }
    
    /* ハンバーガーメニュー表示 */
    .hamburger-menu {
        display: block;
        margin-left: auto;
    }

    /* ヘッダー */
    .header-top {
        padding: 10px 0;
    }

    .header-top-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .header-left {
        flex: 1;
    }

    /* モバイル時は元の電話番号とお問い合わせボタンを非表示 */
    .header-right {
        display: none;
    }

    .site-title {
        font-size: 18px;
    }

    /* ナビゲーション */
    .header-nav {
        position: fixed;
        top: 60px; /* メニューを下にずらす */
        right: -100%;
        width: 90%; /* 横幅を広げる */
        max-width: 350px; /* 最大幅を設定 */
        height: calc(100vh - 60px); /* 高さを調整 */
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .header-nav.active {
        right: 0;
    }

    .header-nav nav {
        padding-top: 30px; /* 上部の余白を増やす */
    }

    .header-nav nav ul {
        flex-direction: column;
        width: 100%;
    }

    .header-nav nav ul::before,
    .header-nav nav ul::after {
        display: none;
    }

    .header-nav nav li {
        margin: 0;
    }

    .header-nav nav li:not(:last-child)::after {
        display: none;
    }

    .header-nav nav a {
        padding: 18px 25px; /* パディングを増やす */
        border-bottom: 1px solid #e0e0e0;
        text-align: left;
        font-size: 17px; /* フォントサイズを少し大きく */
        font-weight: 500; /* 文字を少し太く */
    }

    .header-nav nav a:hover {
        background-color: #f0f8f4;
        color: var(--color-primary);
    }

    .header-nav nav a::after {
        display: none;
    }

    /* モバイル時の連絡先情報を表示 */
    .mobile-contact-info {
        display: flex;
        flex-direction: column;
        gap: 15px; /* ギャップを増やす */
        padding: 25px; /* パディングを増やす */
        border-top: 2px solid #e0e0e0;
        background-color: #f8f8f8;
        margin-top: 30px; /* 上部マージンを増やす */
    }

    .mobile-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px; /* ギャップを少し狭める */
        padding: 12px 20px; /* パディングを調整 */
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s;
        font-weight: bold;
        background-color: var(--color-primary);
        color: #fff;
        font-size: 18px; /* フォントサイズを少し大きく */
        white-space: nowrap; /* 改行を防ぐ */
    }

    .mobile-phone:hover {
        background-color: #0f5c2b;
    }

    .mobile-phone svg {
        width: 20px;
        height: 20px;
        stroke: #fff;
    }

    .mobile-contact-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px; /* ギャップを少し狭める */
        padding: 12px 20px; /* パディングを調整 */
        text-decoration: none;
        border-radius: 5px;
        transition: all 0.3s;
        font-weight: bold;
        background: linear-gradient(135deg, var(--color-secondary) 0%, #f4a814 50%, #e8b813 100%);
        color: #fff;
        font-size: 16px;
        box-shadow: 0 2px 5px rgba(250, 204, 21, 0.3);
        white-space: nowrap; /* 改行を防ぐ */
    }

    .mobile-contact-button:hover {
        background: linear-gradient(135deg, #fbd526 0%, #f5b325 50%, #e9c024 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(250, 204, 21, 0.5);
    }

    .mobile-contact-button svg {
        width: 20px;
        height: 20px;
        stroke: #fff;
    }

    /* ページヘッダー */
    .page-header h1 {
        font-size: 28px;
        font-weight: bold;
    }

    /* トップページ */
    /* スマホでは画像とテキストを分離 */
    .hero {
        min-height: auto;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        background-color: #e8f5ed;
        padding: 0;
        position: relative;
        display: flex;
        flex-direction: column;
    }
    
    /* 画像エリアの高さを固定 */
    .hero::before {
        content: '';
        display: block;
        width: 100%;
        height: 300px;  /* 画像表示エリアの高さ */
    }

    .hero .container {
        padding: 0;
        position: relative;
        width: 100%;
    }

    .hero-content {
        padding: 0;
        position: static;
        width: 100%;
    }

    .hero-text {
        text-align: left;
        max-width: 100%;
        margin: 0;
        padding: 40px 20px;
        background-color: #fff;
        position: relative;
        z-index: 1;
        width: 100%;
    }

    .hero-text-inner {
        padding: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        border: none;
        backdrop-filter: none;
    }
    
    .hero-text-inner::before {
        display: none;  /* 装飾的な背景効果を非表示 */
    }

    .hero-title {
        font-size: 26px;
        margin-bottom: 20px;
        animation: none;  /* アニメーションを無効化 */
    }

    .title-line {
        margin-bottom: 6px;
    }

    .hero-divider {
        width: 60px;
        height: 3px;
        margin: 20px 0;
    }

    .hero-subtitle {
        font-size: 16px;
    }
    
    /* アニメーションをシンプルに */
    .title-line {
        animation: none;
    }
    
    .hero-divider {
        animation: none;
    }
    
    .hero-subtitle {
        animation: none;
    }

    /* 挨拶文セクション - モバイル対応 */
    .greeting {
        padding: 60px 0;  /* 通常のパディングに戻す */
    }

    .greeting h2 {
        font-size: 24px;
        font-weight: bold;
        padding: 0 20px;
    }
    
    .greeting h2::before,
    .greeting h2::after {
        width: 30px;
    }
    
    .greeting h2::before {
        left: -30px;
    }
    
    .greeting h2::after {
        right: -30px;
    }
    
    .greeting-subtitle {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .greeting-card {
        padding: 20px;
    }
    
    .greeting-card h3 {
        font-size: 18px;
    }
    
    .experience-highlight {
        padding: 20px;
    }
    
    .greeting-vision h3 {
        font-size: 20px;
        font-weight: bold;
    }
    
    .vision-emphasis {
        padding: 20px;
    }
    
    .commitment-box {
        padding: 30px 20px;
    }
    
    .commitment-text {
        font-size: 16px;
    }
    
    .commitment-text strong {
        font-size: 18px;
    }

    /* プロフィールページ */
    .profile-intro {
        flex-direction: column;
        align-items: center;
    }

    .profile-basic {
        width: 100%;
    }

    .profile-image {
        margin-top: 20px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-year {
        margin-bottom: 5px;
    }

    /* 活動方針ページ */
    .philosophy {
        padding: 60px 15px;
    }

    .philosophy-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .title-accent::before,
    .title-accent::after {
        width: 25px;
    }

    .title-accent::before {
        left: -25px;
    }

    .title-accent::after {
        right: -25px;
    }

    .philosophy-text {
        font-size: 24px;
    }

    .text-main {
        font-size: 26px;
        margin-bottom: 5px;
    }

    .text-sub {
        font-size: 24px;
    }

    .philosophy.slogan {
        margin-top: 50px;
        padding: 40px 15px; /* パディングを調整 */
    }
    
    .philosophy.slogan .philosophy-inner {
        padding: 0 20px; /* モバイル版では横線のスペースを減らす */
        position: relative;
    }
    
    /* スローガンの装飾（黄色い横線）- モバイル版 */
    .philosophy.slogan .philosophy-inner::before,
    .philosophy.slogan .philosophy-inner::after {
        width: 30px; /* 横線を短くする */
        height: 2px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .philosophy.slogan .philosophy-inner::before {
        left: -15px; /* 位置を調整 */
    }
    
    .philosophy.slogan .philosophy-inner::after {
        right: -15px; /* 位置を調整 */
    }
    
    .philosophy.slogan .philosophy-text {
        font-size: 15px; /* フォントサイズを少し小さく */
        line-height: 1.8;
    }
    
    .slogan-text .text-line {
        font-size: 15px; /* フォントサイズを統一 */
        font-weight: 600;
        line-height: 1.8;
        margin-bottom: 8px; /* 行間を調整 */
    }
    
    .slogan-text .text-line:last-child {
        margin-bottom: 0;
    }

    .policy-item {
        padding: 25px;
    }

    .policy-item h3 {
        font-size: 22px;
        font-weight: bold;
    }

    /* 後援会入会案内ページ */
    .join-methods {
        flex-direction: column;
    }

    /* ブログページ */
    .blog-container {
        flex-direction: column;
    }

    .blog-sidebar {
        width: 100%;
    }

    /* 問い合わせページ */
    .contact-form {
        padding: 25px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
    }

    .contact-methods {
        flex-direction: column;
        gap: 20px;
    }

    /* フッター */
    footer {
        padding: 40px 0 20px;  /* パディングを調整 */
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;  /* ギャップを減らす */
    }
    
    .footer-info {
        width: 100%;  /* 幅を100%に */
    }
    
    .footer-info h3 {
        font-size: 16px;  /* フォントサイズを調整 */
        margin-bottom: 15px;
    }
    
    .footer-info p {
        font-size: 14px;  /* フォントサイズを少し小さく */
        line-height: 1.6;
        margin-bottom: 8px;
        color: #fff !important;  /* 強制的に白色 */
        display: block !important;  /* 強制的にブロック表示 */
        visibility: visible !important;  /* 強制的に表示 */
        white-space: normal;  /* テキストの折り返しを許可 */
        word-wrap: break-word;  /* 長い単語を折り返す */
    }
    
    /* TEL/FAXの行を特別に扱う */
    .footer-info .footer-tel-fax {
        font-weight: 500;  /* 少し太く */
        letter-spacing: 0.3px;  /* 文字間隔を調整 */
        color: #fff !important;  /* 強制的に白色 */
        display: block !important;  /* 強制的にブロック表示 */
        visibility: visible !important;  /* 強制的に表示 */
        opacity: 1 !important;  /* 不透明度を確実に1に */
        min-height: 20px;  /* 最小高さを確保 */
        cursor: default !important;  /* デフォルトカーソルを強制 */
        pointer-events: auto !important;  /* ポインターイベントを有効化（テキスト選択のため） */
        -webkit-tap-highlight-color: transparent !important;  /* タップ時のハイライトを無効化 */
        -webkit-touch-callout: none !important;  /* iOS Safari の長押しメニューを無効化 */
    }
    
    /* モバイルでもTEL/FAX番号をテキストのみに */
    .footer-tel-fax .tel-number,
    .footer-tel-fax .fax-number {
        cursor: default !important;
        pointer-events: none !important;
        user-select: text !important;
        -webkit-user-select: text !important;
    }
    
    .footer-info .mail-note {
        font-size: 11px;
        margin-top: 10px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }

    /* モバイル時はフッターメニューを1列に */
    .footer-nav .footer-menu {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-template-rows: auto;
        gap: 8px;
    }

    .footer-nav .footer-menu li {
        margin-bottom: 8px;
    }

    .footer-nav ul {
        margin-bottom: 10px;
    }

    .footer-nav li {
        margin-bottom: 8px;
    }
}

/* ========================================
   ユーティリティクラス
   ======================================== */

.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-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

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

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--spacing-xs); }
.pt-2 { padding-top: var(--spacing-sm); }
.pt-3 { padding-top: var(--spacing-md); }
.pt-4 { padding-top: var(--spacing-lg); }
.pt-5 { padding-top: var(--spacing-xl); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--spacing-xs); }
.pb-2 { padding-bottom: var(--spacing-sm); }
.pb-3 { padding-bottom: var(--spacing-md); }
.pb-4 { padding-bottom: var(--spacing-lg); }
.pb-5 { padding-bottom: var(--spacing-xl); }
