/*
Theme Name: Private Stage
Theme URI: https://www.private-stage.jp/
Author: Private Stage
Author URI: https://www.private-stage.jp/
Description: 株式会社プライベートステージ 公式サイト用テーマ。高野山の文化と伝統の継承を使命とする日本企業のサイトに最適化されています。
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: private-stage
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, featured-images, footer-widgets, threaded-comments, translation-ready
*/

/* ========================================
   カスタム変数 - モダンデザイン
   ======================================== */
:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2847;
    --primary-gradient: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);

    --secondary-color: #744210;
    --secondary-light: #975a16;
    --secondary-dark: #5c350d;

    --accent-color: #d69e2e;
    --accent-light: #ecc94b;
    --accent-dark: #b7791f;
    --accent-gradient: linear-gradient(135deg, #d69e2e 0%, #ecc94b 100%);

    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --text-light: #a0aec0;

    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-dark: #1a202c;

    --border-color: #e2e8f0;
    --border-light: #edf2f7;
    --border-dark: #cbd5e0;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.04);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   基本スタイル
   ======================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
    padding-top: 80px;
    background-color: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

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

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

/* ========================================
   ナビゲーション - グラスモーフィズム
   ======================================== */
.navbar {
    background: rgba(26, 54, 93, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: white !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.6rem 1.5rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    opacity: 0.4;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 95, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 168, 95, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(201, 168, 95, 0.06) 0%, transparent 30%);
    z-index: 1;
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 54, 93, 0.3) 0%, rgba(26, 54, 93, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.1em;
    line-height: 1.3;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    color: white !important;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 2;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-btn {
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ページヘッダー
   ======================================== */
.page-header {
    background: var(--primary-gradient);
    padding: 140px 0 100px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(201, 168, 95, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(201, 168, 95, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: white !important;
}

.page-subtitle {
    font-size: 1rem;
    letter-spacing: 0.4em;
    opacity: 0.95;
    font-weight: 500;
    text-transform: uppercase;
}

/* ========================================
   セクション
   ======================================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   哲学ボックス
   ======================================== */
.philosophy-box {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.philosophy-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(201, 168, 95, 0.1) 0%, transparent 100%);
    border-radius: 0 0 0 100%;
}

.philosophy-box p {
    position: relative;
    z-index: 1;
}

/* ========================================
   ニュースカード - モダンデザイン
   ======================================== */
.news-card {
    background: white;
    border: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card .card-body {
    padding: 2rem;
}

.news-date {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.news-card h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 700;
}

.news-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ========================================
   CTAセクション
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(214, 158, 46, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(214, 158, 46, 0.03) 0%, transparent 40%);
}

.cta-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    z-index: 1;
}

.cta-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.cta-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.cta-card:hover .cta-icon {
    transform: scale(1.1) rotate(5deg);
}

.cta-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ========================================
   ボタン
   ======================================== */
.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.875rem 2.5rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   会社情報テーブル
   ======================================== */
.company-table {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.company-table th {
    font-weight: 700;
    color: var(--primary-color);
    vertical-align: middle;
    padding: 1.5rem 1.25rem;
    background: var(--bg-secondary);
    border: none;
    white-space: nowrap;
    width: 25%;
}

.company-table td {
    padding: 1.5rem 1.25rem;
    vertical-align: middle;
    border: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}

.company-table tr:last-child td {
    border-bottom: none;
}

.company-table tr:hover td {
    background: var(--bg-secondary);
}

/* ========================================
   事業内容
   ======================================== */
.business-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent-color);
    margin-bottom: 1.5rem;
}

.business-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
    border-left-width: 8px;
}

.business-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.business-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   顧問ボックス
   ======================================== */
.advisor-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

/* ========================================
   活動実績
   ======================================== */
.activity-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    margin-bottom: 2rem;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.activity-header {
    background: var(--primary-gradient);
    padding: 1.5rem;
    color: white;
}

.activity-header .badge {
    background: var(--accent-gradient);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
}

.activity-content {
    padding: 2rem;
}

.activity-content h4 {
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.activity-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.initiative-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.initiative-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.initiative-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1rem;
}

/* ========================================
   バリューカード
   ======================================== */
.value-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(10deg);
}

.value-card h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.value-card p {
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   お問い合わせ
   ======================================== */
.contact-info-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.contact-info-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-xl);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.contact-info-item h5 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.contact-info-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   フォーム
   ======================================== */
.wpcf7-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.wpcf7-form .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
}

.wpcf7-form .form-control,
.wpcf7-form .form-select,
.wpcf7-form .wpcf7-form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.25rem;
    transition: all var(--transition-base);
    font-size: 1rem;
    background: var(--bg-secondary);
    width: 100%;
}

.wpcf7-form .form-control:focus,
.wpcf7-form .form-select:focus,
.wpcf7-form .wpcf7-form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(26, 54, 93, 0.1);
    background: white;
}

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

/* ========================================
   Checkbox
   ======================================== */
.wpcf7-form p {
    margin-bottom: 0;
}

.wpcf7-form .wpcf7-checkbox {
    margin-bottom: 0;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
    display: inline-block;
    margin: 0;
    list-style: none;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* ========================================
   Submit Button
   ======================================== */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    padding: 0.875rem 2.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form button[type="submit"]:active {
    transform: translateY(0);
}

/* ========================================
   Response Message
   ======================================== */
/* ========================================
   Response Message
   ======================================== */
.wpcf7-response-output {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

/* Responsive Form */
@media (max-width: 768px) {
    .wpcf7-form .form-control,
    .wpcf7-form .form-select,
    .wpcf7-form .wpcf7-form-control {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }

    .wpcf7-form input[type="submit"],
    .wpcf7-form button[type="submit"] {
        width: 100%;
        padding: 0.875rem 2rem;
    }
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background-color: #fff3f3;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

/* ========================================
   アクセス情報
   ======================================== */
.access-info {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: var(--primary-gradient);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 168, 95, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.footer h5 {
    color: var(--text-light);
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.footer p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition-base);
    display: block;
    padding: 0.5rem 0;
}

.footer a:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.footer hr {
    background: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer .copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   ブレッドクラム
   ======================================== */
.breadcrumb-section {
    padding: 2rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-tertiary);
    font-size: 1.2rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ========================================
   記事詳細
   ======================================== */
.article-header {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    border-bottom: 4px solid var(--accent-color);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.article-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.article-body {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.article-body h2 {
    font-size: 1.8rem;
}

.article-body h3 {
    font-size: 1.5rem;
}

.article-body h4 {
    font-size: 1.3rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    line-height: 2;
    color: var(--text-primary);
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.blockquote-custom {
    background: var(--bg-secondary);
    border-left: 5px solid var(--accent-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.blockquote-custom .blockquote-footer {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    font-style: normal;
    margin-top: 1rem;
}

.article-footer {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

/* ========================================
   投稿ナビゲーション
   ======================================== */
.post-navigation .post-nav-link {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.post-navigation .post-nav-link:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.post-navigation .nav-link h5 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.post-navigation .nav-link small {
    color: var(--text-tertiary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* ========================================
   ニュース一覧
   ======================================== */
.news-item {
    margin-bottom: 2rem;
}

.news-item .card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.news-item .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.news-item .stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* ========================================
   カテゴリーフィルター
   ======================================== */
.category-filter button {
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all var(--transition-base);
    margin: 0.25rem;
}

.category-filter button:hover,
.category-filter button.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   ページネーション
   ======================================== */
.pagination {
    justify-content: center;
    margin-top: 3rem;
}

.pagination .page-link {
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    background: white;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.pagination .page-link:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination .page-item.active .page-link {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-md);
}

.pagination .page-item.disabled .page-link {
    color: var(--text-light);
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

/* ========================================
   サイドバー
   ======================================== */
.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.sidebar-widget-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--border-color);
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.sidebar-widget .list-group-item {
    border: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
    border-radius: var(--radius-md) !important;
    padding: 1rem 1.25rem;
    transition: all var(--transition-base);
    background: var(--bg-secondary);
}

.sidebar-widget .list-group-item:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    padding-left: 1.5rem;
    box-shadow: var(--shadow-md);
}

.recent-post-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.recent-post-item:hover {
    background: white;
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.recent-post-item h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.recent-post-item small {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ========================================
   検索フォーム
   ======================================== */
.search-form {
    position: relative;
}

.search-form .form-control {
    border-radius: 50px;
    border: 2px solid var(--border-color);
    padding: 0.875rem 1.5rem;
    padding-right: 4rem;
    background: var(--bg-secondary);
    transition: all var(--transition-base);
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(26, 54, 93, 0.1);
    background: white;
}

.search-form .btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   CTAウィジェット
   ======================================== */
.cta-widget {
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 95, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-widget .container {
    position: relative;
    z-index: 1;
}

.cta-widget h4 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-widget p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* ========================================
   ユーティリティ
   ======================================== */
.bg-primary-custom {
    background: var(--primary-gradient) !important;
}

.bg-dark-custom {
    background: var(--primary-dark) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 992px) {
    body {
        padding-top: 70px;
    }

    section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .page-header {
        padding: 120px 0 80px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 65px;
    }

    .hero-section {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.25rem;
        letter-spacing: 0.05em;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .page-header {
        padding: 100px 0 70px;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    section {
        padding: 60px 0;
    }

    .wpcf7-form {
        padding: 2rem 1.5rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-body {
        padding: 2rem 1.5rem;
    }

    .article-header {
        padding: 2rem 1.5rem;
    }

    .post-navigation .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   WordPress用クラス
   ======================================== */
.wp-block-button .wp-block-button__link {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.875rem 2.5rem;
    transition: all var(--transition-base);
    border: none;
}

.wp-block-button .wp-block-button__link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.wp-caption {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.wp-caption-text {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    font-style: italic;
}


/* Site Logo */
.site-logo {
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover .site-logo {
    opacity: 0.85;
}

.navbar-brand span {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: white;
}

@media (max-width: 767.98px) {
    .site-logo {
        width: 30px;
        height: 25px;
    }
    .navbar-brand span {
        font-size: 0.95rem;
    }
}