/*
Theme Name: Asahi Store
Theme URI: https://asahi-factory.jp
Author: 合同会社えいおう
Author URI: https://ei-o.com
Description: WordPressテーマ・プラグイン販売用WooCommerceテーマ
Version: 2.1.5
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asahi-store
*/

/* ========================================
   CSS Variables
   ======================================== */
:root {
    /* Colors - Corporate Theme */
    --color-primary: #ffffff;
    --color-secondary: #f8f9f7;
    --color-accent: #3b4237;
    --color-accent-hover: #2d332a;
    --color-accent-light: rgba(59, 66, 55, 0.06);
    --color-accent-secondary: #c9a227;
    --color-accent-secondary-hover: #b8930f;
    --color-accent-secondary-light: rgba(201, 162, 39, 0.1);
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    --color-text: #374151;
    --color-text-muted: #6b7280;
    --color-text-dim: #9ca3af;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b4237 0%, #4a5344 100%);
    --gradient-accent: linear-gradient(135deg, #c9a227 0%, #d4b84a 100%);
    --gradient-dark: linear-gradient(180deg, #3b4237 0%, #2d332a 100%);

    /* Typography */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'Noto Sans JP', sans-serif;
    --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

    /* Surface Colors */
    --color-surface-warm: #f5f2eb;
    --color-surface-cool: #f0f2ed;
    --color-surface-dark: #252820;
    --color-gold-soft: rgba(201, 162, 39, 0.08);
    --color-text-strong: #1f2219;
    --color-hero-dark: #1a1d17;

    /* Spacing */
    --container-width: 1200px;
    --container-wide: 1400px;
    --container-narrow: 950px;
    --section-padding: 80px;
    --section-padding-mobile: 50px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-accent: 0 4px 14px rgba(59, 66, 55, 0.25);
    --transition: all 0.2s ease;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-strong);
}

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ========================================
   Layout
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
}

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

.post-faq-section {
    padding-bottom: var(--section-padding);
}

body {
    padding-top: 72px;
}

body.home {
    padding-top: 0;
}

body.home .site-main {
    padding-top: 0;
}

.site-main {
    min-height: 100vh;
}

/* ========================================
   Header
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    color: var(--color-accent);
}

.site-logo:hover {
    color: var(--color-accent-hover);
}

.site-logo-svg {
    height: 44px;
    width: auto;
}

.header-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav .nav-menu > li {
    position: relative;
}

.header-nav .nav-menu > li > a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 8px;
}

.header-nav .nav-menu > li > a:hover,
.header-nav .nav-menu > li.current-menu-item > a,
.header-nav .nav-menu > li:hover > a {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

/* Hover zone to prevent menu from closing */
.header-nav .nav-menu > li.menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-text);
    border-radius: 10px;
}

.header-icon:hover {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
}

/* --- Dark Hero Header Override (front page only) --- */
body.home .site-header:not(.scrolled) {
    background: #1a1d17;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.home .site-header:not(.scrolled) .site-logo {
    color: #ffffff;
}

body.home .site-header:not(.scrolled) .nav-menu > li > a {
    color: rgba(255, 255, 255, 0.85);
}

body.home .site-header:not(.scrolled) .nav-menu > li > a:hover,
body.home .site-header:not(.scrolled) .nav-menu > li.current-menu-item > a,
body.home .site-header:not(.scrolled) .nav-menu > li:hover > a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

body.home .site-header:not(.scrolled) .header-icon {
    color: rgba(255, 255, 255, 0.85);
}

body.home .site-header:not(.scrolled) .header-icon:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

body.home .site-header:not(.scrolled) .mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

body.home .site-header:not(.scrolled) .mobile-menu-toggle span {
    background: #ffffff;
}

/* ========================================
   Mega Menu
   ======================================== */

/* Parent menu item with children indicator */
.header-nav .nav-menu > li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-nav .nav-menu > li.menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.header-nav .nav-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.header-nav .nav-menu > li > .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

/* Show on hover or when opened via JS */
.header-nav .nav-menu > li:hover > .sub-menu,
.header-nav .nav-menu > li.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Parent link active state when menu is open */
.header-nav .nav-menu > li.is-open > a {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

/* Mega menu arrow */
.header-nav .nav-menu > li > .sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
    transform: translateX(-50%) rotate(45deg);
}

/* Submenu header */
.header-nav .sub-menu .menu-section-title {
    display: block;
    padding: 0 12px 12px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    border-bottom: 1px solid rgba(59, 66, 55, 0.1);
}

/* Submenu items */
.header-nav .sub-menu li {
    margin: 0;
}

.header-nav .sub-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.header-nav .sub-menu li a:hover {
    color: var(--color-accent);
    background: var(--color-accent-light);
    transform: translateX(4px);
}

/* Menu item icon (optional) */
.header-nav .sub-menu li a .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(59, 66, 55, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.header-nav .sub-menu li a:hover .menu-icon {
    background: rgba(59, 66, 55, 0.2);
}

/* Menu item description */
.header-nav .sub-menu .menu-item-description {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* Wider mega menu for many items */
.header-nav .nav-menu > li.mega-menu > .sub-menu {
    min-width: 500px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* Featured item in mega menu */
.header-nav .sub-menu li.featured a {
    background: var(--color-accent-light);
    border: 1px solid var(--color-border);
}

.header-nav .sub-menu li.featured a:hover {
    background: rgba(59, 66, 55, 0.12);
}

/* CTA button in mega menu */
.header-nav .sub-menu .menu-cta {
    display: block;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(59, 66, 55, 0.1);
}

.header-nav .sub-menu .menu-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-accent);
    color: var(--color-white) !important;
    font-weight: 600;
    border-radius: 10px;
}

.header-nav .sub-menu .menu-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 66, 55, 0.4);
}

/* Third level menu (nested) */
.header-nav .sub-menu .sub-menu {
    position: static;
    min-width: auto;
    padding: 0;
    padding-left: 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.header-nav .sub-menu .sub-menu::before {
    display: none;
}

.header-nav .sub-menu .sub-menu li a {
    padding: 8px 12px;
    font-size: 13px;
}

/* ========================================
   Mega Menu Styles
   ======================================== */

/* Mega Menu Container */
.header-nav .nav-menu > li.has-mega-menu > .mega-menu-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 600px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.header-nav .nav-menu > li.has-mega-menu:hover > .mega-menu-container,
.header-nav .nav-menu > li.has-mega-menu.is-open > .mega-menu-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mega Menu Arrow */
.header-nav .nav-menu > li.has-mega-menu > .mega-menu-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--color-white);
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.05));
}

/* Mega Menu Inner Grid */
.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Mega Menu Item Card */
.mega-menu-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.mega-menu-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.mega-menu-link:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(59, 66, 55, 0.1);
    transform: translateY(-2px);
}

/* Mega Menu Image */
.mega-menu-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mega-menu-link:hover .mega-menu-image img {
    transform: scale(1.05);
}

.mega-menu-image-placeholder {
    color: var(--color-text-dim);
}

/* Mega Menu Content */
.mega-menu-content {
    padding: 16px;
    background: var(--color-white);
}

.mega-menu-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.mega-menu-link:hover .mega-menu-title {
    color: var(--color-accent);
}

.mega-menu-desc {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Menu Arrow Icon */
.menu-arrow {
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.header-nav .nav-menu > li.has-mega-menu:hover .menu-arrow,
.header-nav .nav-menu > li.has-mega-menu.is-open .menu-arrow {
    transform: rotate(180deg);
}

/* Hide default arrow when using SVG */
.header-nav .nav-menu > li.has-mega-menu > a::after {
    display: none;
}

/* ========================================
   Mobile Menu
   ======================================== */
@media (max-width: 992px) {
    .site-logo-svg {
        height: 36px;
        max-width: 200px;
    }

    /* Hide desktop nav on mobile */
    .header-nav {
        display: none;
    }

    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .mobile-menu-toggle span {
        transition: all 0.3s ease;
    }
}

/* Fullscreen Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 80px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-nav {
    width: 100%;
    max-width: 400px;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-list li a {
    display: block;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.3s ease, background 0.3s ease;
}

.mobile-menu-list li a:hover,
.mobile-menu-list li.current-menu-item > a {
    color: var(--color-accent-secondary, #c9a96e);
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Sub-menu */
.mobile-menu-list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 4px 0 4px 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin-left: 20px;
}

.mobile-menu-list .sub-menu li a {
    font-size: 16px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.65);
}

.mobile-menu-list .sub-menu li a:hover {
    color: var(--color-accent-secondary, #c9a96e);
}

/* Hide old overlay (no longer needed) */
.mobile-menu-overlay {
    display: none;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    touch-action: none;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--color-accent-hover);
    box-shadow: 0 6px 20px rgba(59, 66, 55, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    color: var(--color-accent);
    background: var(--color-white);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    color: var(--color-white);
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-highlight {
    color: var(--color-dark);
    background: var(--gradient-accent);
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.3);
}

.btn-highlight:hover {
    background: var(--color-accent-secondary-hover);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
    transform: translateY(-1px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Card Styles
   ======================================== */
.glass-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: var(--shadow-md);
}

/* ========================================
   Accent Text
   ======================================== */
.gradient-text {
    color: var(--color-accent-secondary);
    font-weight: 600;
}

/* ========================================
   Section Styles
   ======================================== */
.section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-accent-secondary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--color-dark);
    line-height: 1.3;
}

.section-title-left {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-description {
    font-size: 17px;
    line-height: 1.9;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-top: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

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

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 60px;
}

.section-header-flex .section-label {
    text-align: left;
}

.section-header-flex .section-title {
    text-align: left;
    margin-bottom: 8px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    padding: 140px 0 100px;
    background: var(--color-primary);
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(59, 66, 55, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-meta-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.hero-meta-item svg {
    color: var(--color-accent-secondary);
    flex-shrink: 0;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 66, 55, 0.1);
    border: 1px solid rgba(59, 66, 55, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 24px 0;
    color: var(--color-accent);
}

.hero-description {
    font-size: 17px;
    line-height: 1.9;
    color: var(--color-text-muted);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 48px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.hero-terminal {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #1a1a2e;
    box-shadow: var(--shadow-lg);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #12121a;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-title {
    font-size: 13px;
    color: #9ca3af;
}

.terminal-body {
    padding: 24px;
    color: #e4e4e7;
}

.code-block {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
    color: #e4e4e7;
}

.code-comment { color: #6b7280; }
.code-variable { color: #a78bfa; }
.code-string { color: #34d399; }
.code-keyword { color: #f472b6; }
.code-success { color: #22c55e; }

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

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

@media (max-width: 992px) {
    .hero-section {
        padding: 100px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-content-centered {
        max-width: 100%;
    }

    .hero-content-centered .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content-centered .hero-description br {
        display: none;
    }

    .hero-meta-bar {
        gap: 16px;
    }
}

/* ========================================
   Problem Section
   ======================================== */
.problem-section {
    padding: var(--section-padding) 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    padding: 32px 28px;
}

.problem-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.12);
    border-radius: 50%;
    color: var(--color-accent-secondary);
    margin-bottom: 20px;
}

.problem-card p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
}

.problem-card strong {
    color: var(--color-dark);
}

.problem-solution {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-top: 60px;
    color: var(--color-dark);
}

@media (max-width: 992px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .problem-section {
        padding: var(--section-padding-mobile) 0;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--color-accent-secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--color-white);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--color-accent);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-section {
        padding: var(--section-padding-mobile) 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Products Section
   ======================================== */
.products-section {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Product Filter Bar */
.product-filter-bar {
    margin-bottom: 40px;
}

.product-search {
    position: relative;
    max-width: 400px;
    margin: 0 auto 20px;
}

.product-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
}

.product-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.product-search-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 66, 55, 0.08);
}

.product-search-input::placeholder {
    color: var(--color-text-muted);
}

.no-filter-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    color: var(--color-text-muted);
    font-size: 15px;
}

/* Product Filter */
.product-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.product-filter .filter-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.product-filter .filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-light);
}

.product-filter .filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* Filter Button Dropdown (parent with children) */
.filter-btn-wrapper {
    position: relative;
}

.filter-btn-arrow {
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.filter-btn-wrapper:hover .filter-btn-arrow {
    transform: rotate(180deg);
}

.filter-btn-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    padding: 8px 0;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-width: 180px;
    z-index: 10;
}

.filter-btn-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.filter-btn-wrapper:hover .filter-btn-dropdown {
    display: block;
}

.filter-btn-dropdown .filter-btn {
    display: block;
    width: 100%;
    text-align: left;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 500;
    background: transparent !important;
    color: var(--color-text) !important;
    white-space: nowrap;
}

.filter-btn-dropdown .filter-btn:hover {
    background: var(--color-bg-secondary) !important;
    color: var(--color-accent) !important;
    padding-left: 24px !important;
}

.filter-btn-dropdown .filter-btn.active {
    background: var(--color-accent-light) !important;
    color: var(--color-accent) !important;
    font-weight: 600;
}

.product-card.hidden {
    display: none;
}

.product-card {
    overflow: hidden;
}

.product-image-link,
.product-image-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.product-image-link img,
.product-image-wrap img,
.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}

.product-info {
    padding: 24px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-title a {
    color: var(--color-dark);
}

.product-title a:hover {
    color: var(--color-accent);
}

.product-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.product-meta,
.product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--color-text-muted);
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-section {
        padding: var(--section-padding-mobile) 0;
    }

    .product-filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .filter-group {
        flex-wrap: wrap;
        gap: 4px;
    }

    .filter-group-label {
        width: 100%;
        padding: 4px 8px;
        font-size: 11px;
    }

    .filter-btn--child {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   License Section
   ======================================== */
.license-section {
    padding: 100px 0;
    background: var(--color-primary);
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.license-card {
    padding: 40px 32px;
    text-align: center;
}

.license-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: rgba(59, 66, 55, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-accent);
}

.license-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 12px;
}

.license-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .license-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content p {
    font-size: 16px;
    line-height: 2;
    color: var(--color-text);
    margin-bottom: 16px;
}

.about-content .btn {
    margin-top: 16px;
}

.about-stats {
    padding: 48px 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ========================================
   News Section (お知らせ)
   ======================================== */
.news-section {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.news-list-wrapper {
    margin-top: 48px;
}

.news-list-container {
    padding: 0;
    overflow: hidden;
}

.news-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    background: rgba(59, 66, 55, 0.05);
}

.news-list-date {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
    min-width: 90px;
}

.news-list-category {
    flex-shrink: 0;
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-accent);
    background: rgba(59, 66, 55, 0.1);
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
}

.news-list-title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
    transition: var(--transition);
}

.news-list-item:hover .news-list-title {
    color: var(--color-accent);
}

.news-list-arrow {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--color-text-dim);
    transition: var(--transition);
}

.news-list-item:hover .news-list-arrow {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* News Section - Responsive */
@media (max-width: 768px) {
    .news-section {
        padding: var(--section-padding-mobile) 0;
    }

    .news-list-item {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 16px 20px;
    }

    .news-list-date {
        order: 1;
        min-width: auto;
    }

    .news-list-category {
        order: 2;
        min-width: auto;
    }

    .news-list-title {
        order: 3;
        flex-basis: 100%;
        margin-top: 4px;
    }

    .news-list-arrow {
        display: none;
    }
}

/* ========================================
   Updates Section (アップデート情報)
   ======================================== */
.updates-section {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.updates-list-wrapper {
    margin-top: 48px;
}

.updates-list-container {
    padding: 0;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.updates-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.updates-list-item:last-child {
    border-bottom: none;
}

.updates-list-item:hover {
    background: rgba(59, 66, 55, 0.03);
}

.updates-list-date {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
    min-width: 90px;
}

.updates-list-product {
    flex-shrink: 0;
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    min-width: 100px;
    text-align: center;
}

.updates-list-title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
    transition: var(--transition);
}

.updates-list-item:hover .updates-list-title {
    color: var(--color-accent);
}

/* Updates Section - Responsive */
@media (max-width: 768px) {
    .updates-section {
        padding: var(--section-padding-mobile) 0;
    }

    .updates-list-item {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 16px 20px;
    }

    .updates-list-date {
        order: 1;
        min-width: auto;
    }

    .updates-list-product {
        order: 2;
        min-width: auto;
    }

    .updates-list-title {
        order: 3;
        flex-basis: 100%;
        margin-top: 4px;
    }
}

/* ========================================
   Blog Section (ブログ)
   ======================================== */
.blog-section {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.blog-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-thumbnail {
    transform: scale(1.05);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card-date {
    font-size: 13px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
}

.blog-card-category {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-accent);
    background: rgba(59, 66, 55, 0.1);
    border-radius: 4px;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 12px;
}

.blog-card-title a {
    color: var(--color-dark);
    transition: var(--transition);
}

.blog-card-title a:hover {
    color: var(--color-accent);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    transition: var(--transition);
}

.blog-card-link:hover {
    color: var(--color-accent-hover);
}

.no-posts-message {
    color: var(--color-text-dim);
    font-size: 14px;
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

/* Blog Section - Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: var(--section-padding-mobile) 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .blog-card-content {
        padding: 20px;
    }
}

/* ========================================
   Archive Page Common Styles
   ======================================== */
.page-hero {
    padding: 80px 0 60px;
    background: var(--color-secondary);
    text-align: center;
}

.page-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-accent);
    margin: 16px 0 12px;
}

.page-hero-description {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Buttons */
.news-filter,
.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--color-dark);
    border-color: var(--color-accent);
}

.filter-btn.active {
    color: var(--color-white);
    background: var(--color-accent);
    border-color: var(--color-accent);
}

/* ========================================
   News Archive Page
   ======================================== */
.news-archive-page {
    min-height: 100vh;
    background: var(--color-primary);
}

.news-archive-list {
    padding: 0;
    overflow: hidden;
}

.news-archive-item {
    border-bottom: 1px solid var(--color-border);
}

.news-archive-item:last-child {
    border-bottom: none;
}

.news-archive-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    transition: var(--transition);
}

.news-archive-link:hover {
    background: rgba(59, 66, 55, 0.05);
}

.news-archive-date {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
    min-width: 100px;
}

.news-archive-category {
    flex-shrink: 0;
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-accent);
    background: rgba(59, 66, 55, 0.1);
    border-radius: 4px;
    min-width: 90px;
    text-align: center;
}

.news-archive-title {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
    transition: var(--transition);
}

.news-archive-link:hover .news-archive-title {
    color: var(--color-accent);
}

.news-archive-arrow {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--color-text-dim);
    transition: var(--transition);
}

.news-archive-link:hover .news-archive-arrow {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* ========================================
   Updates Archive Page
   ======================================== */
.updates-archive-page {
    min-height: 100vh;
    background: var(--color-primary);
}

.updates-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.updates-archive-list {
    padding: 0;
    overflow: hidden;
}

.updates-archive-item {
    border-bottom: 1px solid var(--color-border);
}

.updates-archive-item:last-child {
    border-bottom: none;
}

.updates-archive-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    transition: var(--transition);
}

.updates-archive-link:hover {
    background: rgba(59, 66, 55, 0.05);
}

.updates-archive-date {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
    min-width: 100px;
}

.updates-archive-product {
    flex-shrink: 0;
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    min-width: 100px;
    text-align: center;
}

.updates-archive-title {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
    transition: var(--transition);
}

.updates-archive-link:hover .updates-archive-title {
    color: var(--color-accent);
}

.updates-archive-arrow {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--color-text-dim);
    transition: var(--transition);
}

.updates-archive-link:hover .updates-archive-arrow {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* Updates Archive - Responsive */
@media (max-width: 768px) {
    .updates-archive-link {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 16px 20px;
    }

    .updates-archive-date {
        order: 1;
        min-width: auto;
    }

    .updates-archive-product {
        order: 2;
        min-width: auto;
    }

    .updates-archive-title {
        order: 3;
        flex-basis: 100%;
        margin-top: 4px;
    }

    .updates-archive-arrow {
        display: none;
    }
}

/* ========================================
   Manual Archive Page
   ======================================== */
.manual-archive-page {
    min-height: 100vh;
    background: var(--color-primary);
}

.manual-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.manual-archive-list {
    padding: 0;
    overflow: hidden;
}

.manual-archive-item {
    border-bottom: 1px solid var(--color-border);
}

.manual-archive-item:last-child {
    border-bottom: none;
}

.manual-archive-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    transition: var(--transition);
}

.manual-archive-link:hover {
    background: rgba(59, 66, 55, 0.05);
}

.manual-archive-date {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
    min-width: 100px;
}

.manual-archive-product {
    flex-shrink: 0;
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    min-width: 100px;
    text-align: center;
}

.manual-archive-title {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
    transition: var(--transition);
}

.manual-archive-link:hover .manual-archive-title {
    color: var(--color-accent);
}

.manual-archive-arrow {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--color-text-dim);
    transition: var(--transition);
}

.manual-archive-link:hover .manual-archive-arrow {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* Manual Archive - Responsive */
@media (max-width: 768px) {
    .manual-archive-link {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 16px 20px;
    }

    .manual-archive-date {
        order: 1;
        min-width: auto;
    }

    .manual-archive-product {
        order: 2;
        min-width: auto;
    }

    .manual-archive-title {
        order: 3;
        flex-basis: 100%;
        margin-top: 4px;
    }

    .manual-archive-arrow {
        display: none;
    }
}

/* ========================================
   Single Manual Page
   ======================================== */
.single-manual {
    min-height: 100vh;
    background: var(--color-primary);
}

.manual-header {
    padding: 60px 0 40px;
    background: var(--color-secondary);
}

.manual-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.manual-meta time {
    font-size: 14px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
}

.manual-product-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-accent);
    border-radius: var(--radius-sm);
}

.manual-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.4;
}

.manual-body {
    padding: 60px 0;
}

.manual-content {
    padding: 48px;
}

.manual-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 1.5em;
}

.manual-content h2,
.manual-content h3,
.manual-content h4 {
    margin: 2em 0 1em;
}

.manual-content ul,
.manual-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.manual-content li {
    margin-bottom: 0.5em;
}

.manual-footer {
    padding: 0 0 80px;
}

.manual-navigation {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
}

.manual-navigation .nav-prev,
.manual-navigation .nav-next {
    flex: 1;
    padding: 20px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.manual-navigation .nav-prev:hover,
.manual-navigation .nav-next:hover {
    border-color: var(--color-accent);
}

.manual-navigation .nav-label {
    display: block;
    font-size: 13px;
    color: var(--color-text-dim);
    margin-bottom: 8px;
}

.manual-navigation .nav-title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
}

.manual-navigation .nav-next {
    text-align: right;
}

.manual-cta {
    text-align: center;
}

/* ========================================
   Blog Archive Page
   ======================================== */
.blog-archive-page {
    min-height: 100vh;
    background: var(--color-primary);
}

.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-archive-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.blog-archive-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.blog-archive-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-archive-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-archive-card:hover .blog-archive-thumbnail {
    transform: scale(1.05);
}

.blog-archive-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
}

.blog-archive-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-archive-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-archive-meta time {
    font-size: 13px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
}

.blog-archive-category {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-accent);
    background: rgba(59, 66, 55, 0.1);
    border-radius: 4px;
}

.blog-archive-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 12px;
}

.blog-archive-title a {
    color: var(--color-dark);
    transition: var(--transition);
}

.blog-archive-title a:hover {
    color: var(--color-accent);
}

.blog-archive-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-archive-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    transition: var(--transition);
}

.blog-archive-link:hover {
    color: var(--color-accent-hover);
}

/* ========================================
   Single News Page
   ======================================== */
.single-news {
    min-height: 100vh;
    background: var(--color-primary);
}

.news-header {
    padding: 60px 0 40px;
    background: var(--color-secondary);
}

.back-link {
    display: inline-block;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--color-accent);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.news-meta time {
    font-size: 14px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
}

.news-category-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-accent);
    background: rgba(59, 66, 55, 0.1);
    border-radius: 4px;
}

.news-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.4;
}

.news-body {
    padding: 60px 0;
}

.news-content {
    padding: 48px;
}

.news-content.entry-content {
    font-size: 16px;
    line-height: 1.9;
}

.news-content.entry-content .alignfull {
    margin-left: -48px;
    margin-right: -48px;
    max-width: calc(100% + 96px);
    width: calc(100% + 96px);
    border-radius: 0;
}

.news-footer {
    padding: 0 0 80px;
}

.news-navigation {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
}

.news-navigation .nav-prev,
.news-navigation .nav-next {
    flex: 1;
    padding: 20px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.news-navigation .nav-prev:hover,
.news-navigation .nav-next:hover {
    border-color: var(--color-accent);
}

.news-navigation .nav-label {
    display: block;
    font-size: 13px;
    color: var(--color-text-dim);
    margin-bottom: 8px;
}

.news-navigation .nav-title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
}

.news-navigation .nav-next {
    text-align: right;
}

.news-cta {
    text-align: center;
}

/* ========================================
   Single Update Page
   ======================================== */
.single-update {
    min-height: 100vh;
    background: var(--color-primary);
}

.update-header {
    padding: 60px 0 40px;
    background: var(--color-secondary);
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.update-meta time {
    font-size: 14px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
}

.update-product-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-accent);
    border-radius: var(--radius-sm);
}

.update-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.4;
}

.update-body {
    padding: 60px 0;
}

.update-content {
    padding: 48px;
}

.update-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 1.5em;
}

.update-content h2,
.update-content h3,
.update-content h4 {
    margin: 2em 0 1em;
}

.update-content ul,
.update-content ol {
    margin: 1.5em 0;
    padding-left: 0;
}

.update-content ul li,
.update-content ol li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.75em;
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
}

.update-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.update-content ol {
    counter-reset: update-list;
}

.update-content ol li {
    counter-increment: update-list;
}

.update-content ol li::before {
    content: counter(update-list) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
}

.update-content li strong {
    color: var(--color-text-light);
}

.update-footer {
    padding: 0 0 80px;
}

.update-navigation {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
}

.update-navigation .nav-prev,
.update-navigation .nav-next {
    flex: 1;
    padding: 20px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.update-navigation .nav-prev:hover,
.update-navigation .nav-next:hover {
    border-color: var(--color-accent);
}

.update-navigation .nav-label {
    display: block;
    font-size: 13px;
    color: var(--color-text-dim);
    margin-bottom: 8px;
}

.update-navigation .nav-title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
}

.update-navigation .nav-next {
    text-align: right;
}

.update-cta {
    text-align: center;
}

/* Pagination */
.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: var(--transition);
}

.pagination .page-numbers:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}

.pagination .page-numbers.current {
    color: var(--color-white);
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.pagination .prev,
.pagination .next {
    padding: 0 20px;
}

/* No posts message */
.no-posts {
    padding: 80px 40px;
    text-align: center;
}

.no-posts p {
    font-size: 16px;
    color: var(--color-text-muted);
    margin: 0;
}

/* Manual restricted message */
.manual-restricted {
    padding: 80px 40px;
    text-align: center;
    max-width: 520px;
    margin: 60px auto;
}

.manual-restricted-icon {
    color: var(--color-accent-secondary);
    margin-bottom: 24px;
}

.manual-restricted-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 16px;
    border: none;
    padding: 0;
}

.manual-restricted-title::after {
    display: none;
}

.manual-restricted-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin: 0 0 32px;
}

.manual-restricted .btn {
    display: inline-block;
}

/* Archive Pages - Responsive */
@media (max-width: 992px) {
    .blog-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }

    .page-hero-title {
        font-size: 28px;
    }

    .news-filter,
    .blog-filter {
        padding: 24px 0;
        margin-bottom: 24px;
    }

    .news-archive-link {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 20px;
    }

    .news-archive-date {
        order: 1;
        min-width: auto;
    }

    .news-archive-category {
        order: 2;
        min-width: auto;
    }

    .news-archive-title {
        order: 3;
        flex-basis: 100%;
        margin-top: 8px;
    }

    .news-archive-arrow {
        display: none;
    }

    .blog-archive-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-archive-content {
        padding: 20px;
    }

    .news-title {
        font-size: 24px;
    }

    .news-content {
        padding: 32px 24px;
    }

    .news-navigation {
        flex-direction: column;
    }

    .news-navigation .nav-next {
        text-align: left;
    }

    .pagination .nav-links {
        flex-wrap: wrap;
    }
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.faq-archive-page {
    min-height: 100vh;
    background: var(--color-primary);
}

/* FAQ Tabs */
.faq-tabs-wrapper {
    margin-top: 48px;
}

.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.faq-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-tab:hover {
    color: var(--color-dark);
    border-color: var(--color-accent);
}

.faq-tab.active {
    color: var(--color-white);
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.faq-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
}

.faq-tab.active .faq-tab-count {
    background: rgba(255, 255, 255, 0.3);
}

/* FAQ Tab Content */
.faq-tab-content {
    display: none;
}

.faq-tab-content.active {
    display: block;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FAQ Item - Accordion Style */
.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 28px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.6;
    margin: 0;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(59, 66, 55, 0.05);
}

.faq-q {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(59, 66, 55, 0.1);
    border-radius: 6px;
}

.faq-category-badge {
    flex-shrink: 0;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-accent);
    background: rgba(59, 66, 55, 0.1);
    border: 1px solid rgba(59, 66, 55, 0.2);
    border-radius: 100px;
}

.faq-title {
    flex: 1;
    min-width: 0;
}

.faq-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-text-dim);
    transition: var(--transition);
}

.faq-item.open .faq-toggle {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-answer {
    display: none;
    padding: 0 28px 24px;
    padding-left: 68px;
}

.faq-item.open .faq-answer {
    display: flex;
    gap: 12px;
}

.faq-a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(59, 66, 55, 0.1);
    border-radius: 6px;
}

.faq-answer-content {
    flex: 1;
}

.faq-answer-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin: 0;
}

.faq-answer-content p + p {
    margin-top: 1em;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
    color: var(--color-text-muted);
}

.faq-answer-content li {
    margin-bottom: 0.5em;
}

.no-faq-message {
    color: var(--color-text-dim);
    font-size: 15px;
    text-align: center;
    padding: 40px 20px;
}

/* FAQ CTA */
.faq-cta {
    margin-top: 60px;
    padding: 48px;
    text-align: center;
}

.faq-cta h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 12px;
}

.faq-cta p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin: 0 0 24px;
}

/* FAQ Archive specific */
.faq-archive-tabs {
    margin-top: 0;
    padding-top: 40px;
}

/* Single FAQ Page */

.single-faq-page {
    min-height: 100vh;
    background: var(--color-primary);
}

.post-faq-section h2.section-title{
    font-size: 1.75em;
}
.single-faq-page .back-link {
    display: inline-block;
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 40px 0 24px;
    transition: var(--transition);
}

.single-faq-page .back-link:hover {
    color: var(--color-accent);
}

.single-faq-content {
    padding: 40px;
}

.single-faq-question {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-border);
}

.single-faq-question h2 {
    flex: 1;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.5;
    margin: 0;
}

.single-faq-answer {
    display: flex;
    gap: 16px;
}

.single-faq-answer-content {
    flex: 1;
}

.single-faq-answer-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 1.5em;
}

.single-faq-answer-content p:last-child {
    margin-bottom: 0;
}

.single-faq-answer-content ul,
.single-faq-answer-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
    color: var(--color-text);
}

.single-faq-answer-content li {
    margin-bottom: 0.5em;
}

.related-faqs {
    margin-top: 60px;
}

.related-faqs h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 24px;
}

/* FAQ Section - Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: var(--section-padding-mobile) 0;
    }

    .faq-tabs-wrapper {
        margin-top: 32px;
    }

    .faq-tabs {
        gap: 8px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .faq-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .faq-question {
        padding: 20px;
        font-size: 15px;
    }

    .faq-q,
    .faq-a {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .faq-answer {
        padding: 0 20px 20px;
        padding-left: 56px;
    }

    .faq-category-badge {
        display: none;
    }

    .faq-cta {
        padding: 32px 24px;
    }

    /* Single FAQ Page - Mobile */
    .single-faq-content {
        padding: 24px;
    }

    .single-faq-question {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .single-faq-question h2 {
        font-size: 18px;
        flex-basis: calc(100% - 44px);
    }

    .single-faq-question .faq-category-badge {
        display: inline-block;
        order: 3;
        margin-left: 40px;
    }

    .related-faqs {
        margin-top: 40px;
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--color-accent);
}

.cta-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.cta-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--color-white);
}

.cta-card p {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 576px) {
    .cta-card {
        padding: 60px 32px;
    }

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

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--color-secondary);
    border-top: 1px solid var(--color-border);
}

.footer-accent-line {
    height: 2px;
    background: var(--color-accent);
}

.footer-main {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text-muted);
}

.footer-social a:hover {
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact {
    font-size: 14px;
    color: var(--color-text-dim);
    margin-top: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
}

.copyright {
    font-size: 13px;
    color: var(--color-text-dim);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--color-text-dim);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* Footer Legal Menu (wp_nav_menu) */
.footer-legal-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-legal-menu li a {
    font-size: 13px;
    color: var(--color-text-dim);
    transition: color 0.3s ease;
}

.footer-legal-menu li a:hover {
    color: var(--color-accent);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 60px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .footer-legal-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
    }
}

/* ========================================
   Page Styles
   ======================================== */
.page-header {
    padding: 100px 0 60px;
    background: var(--color-secondary);
    text-align: center;
}

/* Page Hero */
.page-hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.page-excerpt {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

.page-body {
    padding: 60px 0 80px;
    background: var(--color-white);
}

/* Responsive for page hero */
@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 60px;
    }

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

/* ========================================
   Archive / Post Styles
   ======================================== */
.archive-page {
    padding: 80px 0;
    background: var(--color-primary);
}

.archive-header {
    padding: 100px 0 60px;
    background: var(--color-secondary);
    text-align: center;
}

.archive-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.post-card {
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 24px;
}

.post-card .post-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.post-card .post-title a:hover {
    color: var(--color-accent);
}

.post-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.post-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.pagination a:hover {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

.pagination .current {
    color: var(--color-white);
    background: var(--color-accent);
    border-color: transparent;
}

@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Single Post
   ======================================== */

/* Post Hero - Full Width Featured Image */
.post-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.post-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero-no-image {
    background: var(--color-accent);
}

.post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.post-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 60px 0 50px;
}

.post-meta-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.post-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-accent);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s ease;
}

.post-category:hover {
    background: #2d332a;
}

.single-post .post-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 20px;
    max-width: 900px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.post-meta-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.post-meta-info time,
.post-meta-info .reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-info svg {
    opacity: 0.8;
}

/* Post Body */
.post-body {
    padding: 60px 0 80px;
    background: var(--color-white);
}

/* Post Footer */
.post-footer {
    padding: 50px 0 60px;
    background: var(--color-bg-secondary);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-border);
}

.tags-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-right: 8px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}

/* Share Buttons */
.post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.share-twitter:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.share-hatena:hover {
    background: #00a4de;
    border-color: #00a4de;
    color: #ffffff;
}

.share-copy:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.share-copy.copied {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.nav-prev,
.nav-next {
    display: block;
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-prev:hover,
.nav-next:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(59, 66, 55, 0.1);
    transform: translateY(-2px);
}

.nav-empty {
    background: transparent;
    border: none;
    pointer-events: none;
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.nav-next .nav-label {
    justify-content: flex-end;
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* ========================================
   Entry Content Typography
   ======================================== */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
}

/* H2 - メイン見出し：下ボーダー + アクセントライン */
.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 2.5em;
    margin-bottom: 1em;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

.entry-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100px;
    height: 2px;
    background: var(--color-accent);
}

/* H3 - サブ見出し：左ボーダー + 背景 */
.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-top: 2em;
    margin-bottom: 0.75em;
    padding: 12px 16px;
    background: var(--color-bg-secondary);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* H4 - 小見出し：下線付き */
.entry-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-top: 1.75em;
    margin-bottom: 0.6em;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

.entry-content h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
}

/* H5 - 補足見出し：シンプルなドット */
.entry-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    padding-left: 16px;
    position: relative;
}

.entry-content h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* H6 - 最小見出し */
.entry-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 1.25em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.entry-content ul li {
    list-style: disc;
    margin-bottom: 0.5em;
}

.entry-content ol li {
    list-style: decimal;
    margin-bottom: 0.5em;
}

.entry-content blockquote {
    margin: 2em 0;
    padding: 24px 28px;
    background: var(--color-bg-secondary);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--color-text);
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: #2d332a;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 1.5em 0;
}

.entry-content pre {
    background: #1a1a1a;
    color: #e5e7eb;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 14px;
    line-height: 1.6;
}

.entry-content code {
    background: var(--color-bg-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--color-accent);
}

.entry-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.entry-content th,
.entry-content td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--color-border);
}

.entry-content th {
    background: var(--color-bg-secondary);
    font-weight: 600;
    color: var(--color-text-dark);
}

.entry-content hr {
    border: none;
    height: 1px;
    background: var(--color-border);
    margin: 2em 0;
}

/* ========================================
   Gutenberg Block Styles
   ======================================== */

/* --- Alignment --- */
.entry-content .alignwide {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.entry-content .alignfull {
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
}

.entry-content .aligncenter {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.entry-content .alignleft {
    float: left;
    margin: 0.5em 1.5em 1em 0;
    max-width: 50%;
}

.entry-content .alignright {
    float: right;
    margin: 0.5em 0 1em 1.5em;
    max-width: 50%;
}

.entry-content::after {
    content: '';
    display: table;
    clear: both;
}

/* --- Text Align Utility --- */
.entry-content .has-text-align-left { text-align: left; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .has-text-align-right { text-align: right; }

/* --- Font Size Utility --- */
.entry-content .has-small-font-size { font-size: 13px; }
.entry-content .has-medium-font-size { font-size: 20px; }
.entry-content .has-large-font-size { font-size: 28px; }
.entry-content .has-x-large-font-size { font-size: 36px; }

/* --- Image Block --- */
.entry-content .wp-block-image {
    margin: 2em 0;
}

.entry-content .wp-block-image img {
    border-radius: var(--radius-sm);
    margin: 0;
}

.entry-content .wp-block-image figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

.entry-content .wp-block-image.is-style-rounded img {
    border-radius: 50%;
}

/* --- Gallery Block --- */
.entry-content .wp-block-gallery {
    margin: 2em 0;
    gap: 12px;
}

.entry-content .wp-block-gallery .wp-block-image {
    margin: 0;
}

.entry-content .wp-block-gallery figcaption {
    font-size: 12px;
    padding: 6px 10px;
}

/* --- Cover Block --- */
.entry-content .wp-block-cover {
    margin: 2em 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 300px;
}

.entry-content .wp-block-cover.alignfull {
    border-radius: 0;
}

.entry-content .wp-block-cover p {
    margin-bottom: 0;
}

/* --- Group Block --- */
.entry-content .wp-block-group {
    margin: 2em 0;
}

.entry-content .wp-block-group.has-background {
    padding: 32px;
    border-radius: var(--radius-md);
}

.entry-content .wp-block-group.has-background > *:first-child {
    margin-top: 0;
}

.entry-content .wp-block-group.has-background > *:last-child {
    margin-bottom: 0;
}

/* --- Columns Block --- */
.entry-content .wp-block-columns {
    margin: 2em 0;
    gap: 32px;
}

.entry-content .wp-block-column > *:first-child {
    margin-top: 0;
}

.entry-content .wp-block-column > *:last-child {
    margin-bottom: 0;
}

/* --- Button Block --- */
.entry-content .wp-block-buttons {
    margin: 2em 0;
    gap: 12px;
}

.entry-content .wp-block-button .wp-block-button__link {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background: var(--color-accent);
    color: #ffffff;
    border: none;
}

.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 66, 55, 0.2);
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--color-accent);
    color: #ffffff;
}

/* --- Separator Block --- */
.entry-content .wp-block-separator {
    border: none;
    margin: 2.5em auto;
}

.entry-content .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    width: 80px;
    height: 2px;
    background: var(--color-accent);
}

.entry-content .wp-block-separator.is-style-wide {
    width: 100%;
    height: 1px;
    background: var(--color-border);
}

.entry-content .wp-block-separator.is-style-dots {
    background: none;
    height: auto;
    text-align: center;
}

.entry-content .wp-block-separator.is-style-dots::before {
    content: '···';
    font-size: 24px;
    letter-spacing: 16px;
    color: var(--color-text-muted);
}

/* --- Quote Block --- */
.entry-content .wp-block-quote {
    margin: 2em 0;
    padding: 24px 28px;
    background: var(--color-secondary);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entry-content .wp-block-quote p {
    font-style: italic;
    margin-bottom: 0.5em;
}

.entry-content .wp-block-quote p:last-of-type {
    margin-bottom: 0;
}

.entry-content .wp-block-quote cite,
.entry-content .wp-block-quote .wp-block-quote__citation {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    font-style: normal;
    color: var(--color-text-muted);
}

.entry-content .wp-block-quote cite::before,
.entry-content .wp-block-quote .wp-block-quote__citation::before {
    content: '— ';
}

/* --- Pullquote Block --- */
.entry-content .wp-block-pullquote {
    margin: 2.5em 0;
    padding: 32px 0;
    border-top: 3px solid var(--color-accent);
    border-bottom: 3px solid var(--color-accent);
    text-align: center;
}

.entry-content .wp-block-pullquote blockquote {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.entry-content .wp-block-pullquote p {
    font-size: 1.25em;
    font-weight: 500;
    font-style: italic;
    color: var(--color-accent);
    line-height: 1.6;
}

.entry-content .wp-block-pullquote cite,
.entry-content .wp-block-pullquote .wp-block-pullquote__citation {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-style: normal;
    color: var(--color-text-muted);
    text-transform: none;
}

/* --- Table Block --- */
.entry-content .wp-block-table {
    margin: 2em 0;
    overflow-x: auto;
}

.entry-content .wp-block-table table {
    margin: 0;
}

.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background: var(--color-secondary);
}

.entry-content .wp-block-table figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

/* --- List Block --- */
.entry-content .wp-block-list {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

/* --- Media & Text Block --- */
.entry-content .wp-block-media-text {
    margin: 2em 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.entry-content .wp-block-media-text .wp-block-media-text__content {
    padding: 32px;
}

.entry-content .wp-block-media-text .wp-block-media-text__content > *:first-child {
    margin-top: 0;
}

.entry-content .wp-block-media-text .wp-block-media-text__content > *:last-child {
    margin-bottom: 0;
}

/* --- Embed Block --- */
.entry-content .wp-block-embed {
    margin: 2em 0;
}

.entry-content .wp-block-embed .wp-block-embed__wrapper {
    position: relative;
}

.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper {
    padding-top: 56.25%;
    position: relative;
}

.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
}

.entry-content .wp-block-embed figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

/* --- Video Block --- */
.entry-content .wp-block-video {
    margin: 2em 0;
}

.entry-content .wp-block-video video {
    border-radius: var(--radius-sm);
    width: 100%;
}

.entry-content .wp-block-video figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

/* --- Details Block (Accordion) --- */
.entry-content .wp-block-details {
    margin: 1.5em 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.entry-content .wp-block-details summary {
    padding: 16px 20px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    background: var(--color-secondary);
    transition: background 0.2s ease;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.entry-content .wp-block-details summary::-webkit-details-marker {
    display: none;
}

.entry-content .wp-block-details summary::after {
    content: '+';
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.entry-content .wp-block-details[open] summary::after {
    content: '−';
}

.entry-content .wp-block-details summary:hover {
    background: var(--color-border-light);
}

.entry-content .wp-block-details > *:not(summary) {
    padding: 0 20px;
}

.entry-content .wp-block-details > *:last-child {
    padding-bottom: 20px;
}

/* --- Spacer Block --- */
.entry-content .wp-block-spacer {
    margin: 0;
}

/* --- File Block --- */
.entry-content .wp-block-file {
    margin: 1.5em 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.entry-content .wp-block-file a:first-child {
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
}

.entry-content .wp-block-file a:first-child:hover {
    color: var(--color-accent);
}

.entry-content .wp-block-file .wp-block-file__button {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    background: var(--color-accent);
    color: #ffffff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.entry-content .wp-block-file .wp-block-file__button:hover {
    background: var(--color-accent-hover);
}

/* --- Preformatted Block --- */
.entry-content .wp-block-preformatted {
    background: #1a1a1a;
    color: #e5e7eb;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 14px;
    line-height: 1.6;
    font-family: var(--font-mono);
    white-space: pre-wrap;
}

/* --- Code Block --- */
.entry-content .wp-block-code {
    margin: 1.5em 0;
}

.entry-content .wp-block-code code {
    display: block;
    background: #1a1a1a;
    color: #e5e7eb;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}

/* --- Verse Block --- */
.entry-content .wp-block-verse {
    margin: 1.5em 0;
    padding: 20px 24px;
    background: var(--color-secondary);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-style: italic;
    white-space: pre-wrap;
}

/* --- Gutenberg Block Responsive --- */
@media (max-width: 768px) {
    .entry-content .alignleft,
    .entry-content .alignright {
        float: none;
        max-width: 100%;
        margin: 1.5em 0;
    }

    .entry-content .wp-block-columns {
        flex-direction: column;
        gap: 24px;
    }

    .entry-content .wp-block-media-text {
        display: block;
    }

    .entry-content .wp-block-media-text .wp-block-media-text__content {
        padding: 24px;
    }

    .entry-content .wp-block-group.has-background {
        padding: 24px;
    }

    .entry-content .has-large-font-size { font-size: 24px; }
    .entry-content .has-x-large-font-size { font-size: 28px; }

    .entry-content .wp-block-file {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   Related Posts Section
   ======================================== */
.related-posts-section {
    padding: 80px 0;
    background: var(--color-white);
}

.related-posts-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.related-posts-section .section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.related-posts-section .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-post-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.related-post-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(59, 66, 55, 0.1);
    transform: translateY(-4px);
}

.related-post-thumbnail {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-thumbnail .thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-bg-secondary);
}

.related-post-content {
    padding: 20px;
}

.related-post-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.related-post-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.related-post-title a {
    color: var(--color-text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-title a:hover {
    color: var(--color-accent);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: var(--color-accent);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content {
    flex: 1;
}

.cta-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.7;
}

.cta-actions {
    flex-shrink: 0;
}

.cta-section .btn-primary {
    background: #ffffff;
    color: var(--color-accent);
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-hero {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .post-hero {
        min-height: 360px;
    }

    .post-hero-content {
        padding: 40px 0;
    }

    .single-post .post-title {
        font-size: 1.5rem;
    }

    .post-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    .post-body {
        padding: 40px 0 60px;
    }

    .post-footer {
        padding: 40px 0 50px;
    }

    .post-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .post-navigation {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nav-next {
        text-align: left;
    }

    .nav-next .nav-label {
        justify-content: flex-start;
    }

    .related-posts-section {
        padding: 60px 0;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .entry-content h2 {
        font-size: 1.25rem;
    }

    .entry-content h3 {
        font-size: 1.1rem;
    }

    .entry-content h4 {
        font-size: 1rem;
    }

    .entry-content h5 {
        font-size: 0.95rem;
    }
}

/* ========================================
   Contact Form 7
   ======================================== */

/* Contact Page Layout */
.contact-page,
.page-template-default .entry-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 60px 24px 100px;
}

/* Page Title */
.contact-page h1,
.page-template-default .entry-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

/* Contact Description */
.contact-description {
    text-align: center;
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    line-height: 1.8;
}

/* Form Container */
.wpcf7 {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 48px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
    .wpcf7 {
        padding: 32px 24px;
        border-radius: var(--radius-md);
    }
}

/* Form Labels */
.wpcf7 label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

/* Form Rows */
.wpcf7 p {
    margin-bottom: 24px;
}

.wpcf7 p:last-of-type {
    margin-bottom: 0;
}

/* Text Inputs & Textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 66, 55, 0.15);
    background: var(--color-white);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: var(--color-text-dim);
}

/* Textarea */
.wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.7;
}

/* Select Dropdown */
.wpcf7 select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
    cursor: pointer;
}

.wpcf7 select option {
    background: var(--color-secondary);
    color: var(--color-text);
}

/* Checkbox & Radio */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.wpcf7 .wpcf7-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.wpcf7 .wpcf7-list-item label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

/* Submit Button */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"],
.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 32px;
    background: var(--color-accent);
    color: var(--color-white) !important;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover,
.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(59, 66, 55, 0.4);
}

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

/* Loading Spinner */
.wpcf7 .wpcf7-spinner {
    display: inline-block;
    margin-left: 16px;
    background-color: var(--color-accent);
}

/* Validation Messages */
.wpcf7-not-valid-tip {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #ef4444;
}

.wpcf7 .wpcf7-not-valid {
    border-color: #ef4444 !important;
}

/* Response Messages */
.wpcf7-response-output {
    margin: 24px 0 0 !important;
    padding: 16px 20px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 14px;
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #10b981;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #ef4444;
}

.wpcf7 form.invalid .wpcf7-response-output {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3) !important;
    color: #f59e0b;
}

.wpcf7 form.unaccepted .wpcf7-response-output {
    background: rgba(59, 66, 55, 0.1);
    border-color: rgba(59, 66, 55, 0.3) !important;
    color: var(--color-accent);
}

/* File Upload */
.wpcf7 input[type="file"] {
    padding: 12px;
    background: rgba(10, 10, 15, 0.6);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    cursor: pointer;
}

.wpcf7 input[type="file"]:hover {
    border-color: var(--color-accent);
}

.wpcf7 input[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 16px;
    background: var(--color-accent);
    border: none;
    border-radius: 8px;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

/* Acceptance Checkbox */
.wpcf7 .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 2px;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Quiz/Captcha */
.wpcf7 .wpcf7-quiz-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Required Asterisk */
.wpcf7 .required {
    color: #ef4444;
    margin-left: 4px;
}

/* Form Grid (2 columns) */
.wpcf7 .form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .wpcf7 .form-row-2col {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section .hero-title {
    color: var(--color-dark);
    margin: 0 0 24px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
}

.hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.hero-features svg {
    color: var(--color-accent-secondary);
    flex-shrink: 0;
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

/* Hero Terminal */
.hero-terminal-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.hero-terminal {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #1e1e2e;
    box-shadow: var(--shadow-lg);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #2d2d3d;
    border-bottom: 1px solid #3d3d4d;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-header .dot-red { background: #ff5f57; }
.terminal-header .dot-yellow { background: #febc2e; }
.terminal-header .dot-green { background: #28c840; }

.terminal-title {
    flex: 1;
    font-size: 12px;
    font-family: var(--font-mono);
    color: #8b8b9b;
    text-align: center;
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-prompt {
    color: #7dd3fc;
}

.terminal-command {
    color: #e4e4e7;
}

.terminal-output {
    color: #a1a1aa;
    padding-left: 20px;
}

.terminal-success {
    color: #4ade80;
}

@media (max-width: 992px) {
    .hero-features {
        justify-content: center;
    }

    .hero-terminal-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .terminal-body {
        padding: 16px;
        font-size: 12px;
    }
}

/* ========================================
   Stats Section (実績)
   ======================================== */
.stats-section {
    padding: 60px 0;
    background: var(--color-accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: var(--color-white);
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--color-accent-secondary);
}

.stat-unit {
    font-size: 0.5em;
    font-weight: 600;
}

.stat-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 40px 0;
    }

    .stats-grid {
        gap: 24px;
    }
}

/* ========================================
   How It Works Section (使い方ガイド)
   ======================================== */
.how-it-works-section {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step-card {
    flex: 1;
    max-width: 300px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
}

.step-arrow {
    flex-shrink: 0;
    color: var(--color-text-dim);
}

@media (max-width: 992px) {
    .steps-grid {
        flex-direction: column;
        gap: 40px;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 576px) {
    .how-it-works-section {
        padding: var(--section-padding-mobile) 0;
    }

    .step-card {
        padding: 32px 24px;
    }
}

/* ========================================
   Testimonials Section (お客様の声)
   ======================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--color-accent-secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-rating {
    color: var(--color-accent-secondary);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-quote {
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 16px;
}

.testimonial-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0;
}

.testimonial-content strong {
    color: var(--color-accent);
    font-weight: 600;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
}

.author-company {
    font-size: 13px;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: var(--section-padding-mobile) 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 24px;
    }
}

/* ========================================
   Grid Variations
   ======================================== */

/* Features Grid - 4 columns */
.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Problem Grid - 3 columns */
.problem-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.problem-grid-3 .problem-card {
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.problem-grid-3 .problem-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}

.problem-grid-3 .problem-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-accent);
    margin: 0 0 12px;
}

.problem-grid-3 .problem-card p {
    margin: 0;
}

@media (max-width: 992px) {
    .problem-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .problem-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Products Grid - 6 columns (3x2) */
.products-grid-6 {
    grid-template-columns: repeat(3, 1fr);
}

.products-grid-6 .product-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.products-grid-6 .product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

@media (max-width: 992px) {
    .products-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid-6 {
        grid-template-columns: 1fr;
    }
}

/* Feature Card - polished design */
.features-grid-4 .feature-card {
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 40px 28px;
    position: relative;
    overflow: hidden;
}

.features-grid-4 .feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.features-grid-4 .feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px);
}

.features-grid-4 .feature-card:hover::after {
    transform: scaleX(1);
}

/* ========================================
   Section Footer
   ======================================== */
.section-footer {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   News Section Updates
   ======================================== */
.news-section {
    padding: 80px 0;
}

.news-section .section-header-flex {
    margin-bottom: 0;
}

.news-list-wrapper {
    margin-top: 32px;
}

.news-list-container {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* ========================================
   FAQ Section Updates (Simplified)
   ======================================== */
.faq-section .faq-list {
    margin-top: 0;
}

.faq-section .faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

/* ========================================
   CTA Section Updates
   ======================================== */
.cta-section .cta-card {
    background: transparent;
    border: none;
}

.cta-section .cta-card h2 {
    color: var(--color-white);
}

.cta-section .cta-card p {
    color: rgba(255, 255, 255, 0.85);
}
.cta-section .cta-card p.cta-note{
    margin-bottom: 0;
}

.cta-section .btn-primary {
    background: var(--gradient-accent);
    color: var(--color-dark);
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.4);
}

.cta-section .btn-primary:hover {
    background: var(--color-accent-secondary-hover);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
    transform: translateY(-1px);
}

.cta-section .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Blog Card Updates
   ======================================== */
.blog-section .blog-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.blog-grid {
    margin-top: 0;
}

/* ========================================
   Simple Accent Styling
   ======================================== */

/* Problem Solution Box */
.problem-solution {
    padding: 28px 32px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    border: none;
    color: var(--color-white);
}

.problem-solution p {
    color: var(--color-white) !important;
    font-size: 18px !important;
}

.problem-solution .gradient-text {
    color: var(--color-accent-secondary) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--color-accent-secondary) !important;
}

.problem-solution p{
    margin-bottom: 0;
}

/* Testimonial Quote */
.testimonial-quote {
    color: var(--color-border);
}

/* ========================================
   Guarantee Section (安心の保証)
   ======================================== */
.guarantee-section {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.guarantee-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.guarantee-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.guarantee-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: 50%;
    color: var(--color-accent);
}

.guarantee-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.guarantee-item p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .guarantee-item {
        padding: 32px 24px;
    }
}

/* ========================================
   CTA Badge & Note
   ======================================== */
.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-accent);
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 24px;
    margin-bottom: 0;
}

/* ========================================
   Visual Enhancements - Rich Decorations
   ======================================== */

/* Hero Section Decorative Elements */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 66, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Floating decorative shapes */
.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.hero-visual::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: -30px;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: 8px;
    opacity: 0.1;
    transform: rotate(45deg);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Stats Section Enhancement */
.stats-section {
    position: relative;
    background: var(--gradient-primary);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-item:last-child::after {
    display: none;
}

/* Products Section Enhancement */
.products-section {
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
}

/* Card Enhancement with Gradient Border */
.product-card,
.feature-card,
.guarantee-item,
.step-card {
    position: relative;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.product-card::before,
.feature-card::before,
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.product-card:hover::before,
.feature-card:hover::before,
.step-card:hover::before {
    opacity: 1;
}

/* Testimonials Section Enhancement */
.testimonials-section {
    position: relative;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-secondary) 100%);
}

.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--color-accent);
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
}

/* Author Avatar Enhancement */
.author-avatar {
    position: relative;
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(59, 66, 55, 0.2);
}

.author-avatar::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0.5;
}

/* How It Works Section Enhancement */
.how-it-works-section {
    position: relative;
}

.steps-grid {
    position: relative;
}

/* Connection lines between steps */
.step-card {
    position: relative;
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
    z-index: 1;
}

.step-number {
    background: var(--gradient-primary) !important;
    box-shadow: 0 4px 14px rgba(59, 66, 55, 0.3);
}

/* Guarantee Section Enhancement */
.guarantee-section {
    position: relative;
}

.guarantee-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.guarantee-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 66, 55, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.guarantee-icon {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(59, 66, 55, 0.2);
}

/* CTA Section Enhancement */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

/* FAQ Section Enhancement */
.faq-section {
    position: relative;
}

.faq-item {
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-left-color: var(--color-accent-secondary);
}

/* Hero Stats Bar Override */
.hero-stats-bar {
    position: relative;
}

/* CTA Section Override */
.cta-section {
    position: relative;
    padding: var(--section-padding) 0;
}

@media (max-width: 768px) {
    .cta-section {
        padding: var(--section-padding-mobile) 0;
    }
}

/* Subtle background patterns */
.features-section,
.problems-section {
    position: relative;
}

.features-section::before,
.problems-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(59, 66, 55, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Enhanced shadows for depth */
.product-card:hover,
.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Mobile adjustments for decorations */
@media (max-width: 768px) {
    .hero-section::before,
    .hero-section::after {
        display: none;
    }

    .hero-visual::before,
    .hero-visual::after {
        display: none;
    }

    .stat-item::after {
        display: none;
    }

    .step-card:not(:last-child)::after {
        display: none;
    }

    .guarantee-section::before,
    .guarantee-section::after {
        display: none;
    }
}

/* ========================================
   Product Card Image Enhancements
   ======================================== */
.product-image-link::after,
.product-image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(59, 66, 55, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover .product-image-link::after,
.product-card:hover .product-image-wrap::after {
    opacity: 1;
}

/* Product Category Badge */
.product-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--color-white);
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Featured Product Badge */
.product-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: var(--gradient-accent);
    color: var(--color-dark);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 1;
}

/* Price Enhancement */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-price .amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
}

.product-price del {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.product-price ins {
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent-secondary);
}

/* ========================================
   Trust Badges Section
   ======================================== */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 14px;
}

.trust-badge svg {
    color: var(--color-accent);
    opacity: 0.7;
}

/* ========================================
   Animated Counter Effect (CSS only)
   ======================================== */
.stat-number {
    position: relative;
    display: inline-block;
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

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

/* ========================================
   Section Header Decorations
   ======================================== */
/* Section Title Decorations - Removed inline style */

/* ========================================
   Blog Card Enhancements
   ======================================== */
.blog-card {
    position: relative;
    overflow: hidden;
}

.blog-card .post-thumbnail {
    position: relative;
    overflow: hidden;
}

.blog-card .post-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .post-thumbnail::after {
    opacity: 1;
}

.blog-card .post-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.post-date-badge .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.post-date-badge .month {
    display: block;
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* ========================================
   Icon Containers Enhancement
   ======================================== */
.feature-icon,
.step-icon {
    position: relative;
}

.feature-icon::after,
.step-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-accent);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon::after,
.step-card:hover .step-icon::after {
    opacity: 0.2;
}

/* ========================================
   Smooth Page Load Animation
   ======================================== */
.tech-homepage section {
    opacity: 0;
    transform: translateY(30px);
    animation: sectionFadeIn 0.8s ease forwards;
}

.tech-homepage section:nth-child(1) { animation-delay: 0s; }
.tech-homepage section:nth-child(2) { animation-delay: 0.1s; }
.tech-homepage section:nth-child(3) { animation-delay: 0.15s; }
.tech-homepage section:nth-child(4) { animation-delay: 0.2s; }
.tech-homepage section:nth-child(5) { animation-delay: 0.25s; }

@keyframes sectionFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Rich Scroll Animations
   ======================================== */

/* Base animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.animate-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.animate-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up animation */
.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation for grid items */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* ========================================
   Enhanced Button Animations
   ======================================== */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.btn-primary {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(59, 66, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 66, 55, 0.4);
}

/* ========================================
   Card Animations
   ======================================== */
.product-card,
.feature-card,
.testimonial-card,
.step-card,
.guarantee-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.feature-card:hover,
.step-card:hover,
.guarantee-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Hero Section Animations
   ======================================== */
.hero-title {
    animation: heroTitleIn 1s ease forwards;
}

.hero-description {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero-features {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.7s forwards;
}

.hero-visual {
    opacity: 0;
    animation: heroVisualIn 1s ease 0.4s forwards;
}

@keyframes heroTitleIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
        clip-path: inset(100% 0 0 0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes heroVisualIn {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* ========================================
   Stats Counter Animation
   ======================================== */
.stat-number {
    background: linear-gradient(135deg, var(--color-accent-secondary) 0%, #e0c85a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item {
    position: relative;
    padding: 20px;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

/* ========================================
   Section Label Animation
   ======================================== */
/* Section Label Animation - handled by scroll animations */

/* ========================================
   Testimonial Quote Animation
   ======================================== */
.testimonial-card::before {
    animation: quoteFloat 3s ease-in-out infinite;
}

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

/* ========================================
   Step Card Connection Lines
   ======================================== */
.step-arrow {
    position: relative;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(5px);
    }
}

/* ========================================
   Trust Badge Animation
   ======================================== */
.trust-badge {
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-3px);
}

.trust-badge svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.trust-badge:hover svg {
    transform: scale(1.15);
    color: var(--color-accent-secondary);
    opacity: 1;
}

/* ========================================
   FAQ Accordion Animation
   ======================================== */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: var(--color-accent-light);
}

.faq-question::after {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* ========================================
   CTA Section Animation
   ======================================== */
.cta-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(201, 162, 39, 0);
    }
}

.cta-card h2 {
    position: relative;
}

.cta-card h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* ========================================
   Image Hover Effects
   ======================================== */
.product-image,
.blog-card img {
    transition: transform 0.6s ease;
}

.product-card:hover .product-image,
.blog-card:hover img {
    transform: scale(1.08);
}

/* ========================================
   Parallax-like Effect for Decorations
   ======================================== */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes floatMedium {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(-3deg);
    }
}

.hero-section::before {
    animation: floatSlow 8s ease-in-out infinite;
}

.hero-section::after {
    animation: floatMedium 6s ease-in-out infinite reverse;
}

/* ========================================
   Loading Shimmer Effect
   ======================================== */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.product-image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll,
    .animate-slide-left,
    .animate-slide-right,
    .animate-scale,
    .stagger-item {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   Section Background Colors - Visual Rhythm
   白→灰→白→暖→アクセント→暗→灰→白→灰→暗
   ======================================== */

/* Hero Section - White */
.hero-section {
    background: var(--color-white);
}

/* News + Updates - Light Gray (break consecutive whites) */
.news-updates-section {
    background: var(--color-secondary) !important;
}

/* Products Section - White */
.products-section {
    background: var(--color-white) !important;
}

/* Problems - Warm beige tint */
.problem-section {
    background: #f7f5f0 !important;
    border-bottom: none;
}

/* How It Works + Guarantee - Light Gray */
.how-it-works-section {
    background: var(--color-secondary) !important;
}

/* Blog - White */
.blog-section {
    background: var(--color-white) !important;
}

/* FAQ - Light Gray */
.faq-section {
    background: var(--color-secondary) !important;
}

/* ========================================
   Features (Why Choose Us) - Accent tint background
   Distinct from Testimonials (dark) with a muted accent feel
   ======================================== */
.features-section {
    background: #f4f5f3 !important;
    position: relative;
}

.features-section::before {
    display: none;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.features-section .section-label {
    color: var(--color-accent-secondary);
}

.features-section .section-title {
    color: var(--color-dark);
}

.features-section .section-description {
    color: var(--color-text-muted);
}

.features-section .feature-card h3 {
    color: var(--color-dark);
}

.features-section .feature-card p {
    color: var(--color-text-muted);
}

.features-section .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--color-white);
}

/* Testimonials - Corporate Dark */
.testimonials-section {
    background: var(--gradient-primary) !important;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-section .section-label {
    color: var(--color-accent-secondary);
}

.testimonials-section .section-title {
    color: var(--color-white);
}

.testimonials-section .section-title::after {
    background: var(--gradient-accent);
}

.testimonials-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-section .testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.testimonials-section .testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.testimonials-section .testimonial-card::before {
    color: var(--color-accent-secondary);
    opacity: 0.3;
}

.testimonials-section .testimonial-rating {
    color: var(--color-accent-secondary);
}

.testimonials-section .testimonial-content p {
    color: rgba(255, 255, 255, 0.9);
}

.testimonials-section .testimonial-content strong {
    color: var(--color-accent-secondary);
}

.testimonials-section .author-name {
    color: var(--color-white);
}

.testimonials-section .author-company {
    color: rgba(255, 255, 255, 0.6);
}

.testimonials-section .author-avatar {
    background: var(--gradient-accent);
    color: var(--color-dark);
    overflow: hidden;
}

.testimonials-section .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonial Card Title on Dark Section */
.testimonials-section .testimonial-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Testimonial Card Link Hover on Dark Section */
.testimonials-section .testimonial-card-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px) scale(1.02);
}

/* CTA Section - Corporate Dark (already set) */

/* ========================================
   Section Transitions - Smooth Color Flow
   ======================================== */

/* White sections get subtle top borders for separation */
.products-section,
.blog-section {
    border-top: 1px solid var(--color-border-light);
}

/* Gray/tinted sections get subtle inset shadow */
.news-updates-section,
.problem-section,
.how-it-works-section,
.faq-section {
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
}

/* Dark sections - remove any borders */
.testimonials-section {
    border: none !important;
}

/* Standard Padding */
.features-section,
.testimonials-section {
    padding: var(--section-padding) 0 !important;
}

@media (max-width: 768px) {
    .features-section,
    .testimonials-section {
        padding: var(--section-padding-mobile) 0 !important;
    }
}

/* ========================================
   Testimonial Card Link Styles
   ======================================== */
.testimonial-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.testimonials-section .section-footer {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   Testimonial Archive Page
   ======================================== */
.testimonial-archive-page .archive-header {
    padding: 100px 0 60px;
    text-align: center;
    background: var(--color-white);
}

.testimonial-archive-page .archive-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.testimonial-archive-page .archive-description {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Stats Bar */
.testimonial-stats-bar {
    background: var(--gradient-primary);
    padding: 40px 0;
}

.testimonial-stats-bar .stats-items {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.testimonial-stats-bar .stat-item {
    text-align: center;
    color: var(--color-white);
}

.testimonial-stats-bar .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent-secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.testimonial-stats-bar .stat-unit {
    font-size: 0.5em;
}

.testimonial-stats-bar .stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Archive Grid */
.testimonial-archive-page .archive-content {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.testimonials-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-archive-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.testimonial-archive-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px;
}

.testimonial-card-header {
    margin-bottom: 16px;
}

.testimonial-card-content {
    flex: 1;
    margin-bottom: 24px;
}

.testimonial-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    line-height: 1.5;
}

.testimonial-card-highlight {
    font-size: 15px;
    color: var(--color-accent-secondary);
    font-weight: 600;
}

.testimonial-card-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.testimonial-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.testimonial-archive-card .read-more {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 600;
}

/* Archive CTA */
.testimonial-archive-page .archive-cta {
    padding: var(--section-padding) 0;
    background: var(--color-white);
    text-align: center;
}

.archive-cta .cta-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.archive-cta .cta-content p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* Archive Pagination */
.archive-pagination {
    margin-top: 48px;
    text-align: center;
}

.archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .testimonial-stats-bar .stats-items {
        flex-direction: column;
        gap: 24px;
    }

    .testimonials-archive-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card-link {
        padding: 24px;
    }
}

/* ========================================
   Single Testimonial Page
   ======================================== */
.single-testimonial-page {
    background: var(--color-white);
}

/* Hero */
.testimonial-hero {
    padding: 100px 0 60px;
    background: var(--gradient-primary);
    color: var(--color-white);
}

.testimonial-hero .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 40px;
    transition: var(--transition);
}

.testimonial-hero .back-link:hover {
    color: var(--color-white);
}

.testimonial-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-rating-large {
    font-size: 1.5rem;
    color: var(--color-accent-secondary);
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.testimonial-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #fff;
}

.testimonial-highlight {
    font-size: 1.125rem;
    color: var(--color-accent-secondary);
    font-weight: 600;
    margin-bottom: 32px;
}

.testimonial-customer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.customer-avatar-large {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

.customer-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-details {
    text-align: left;
}

.customer-details .customer-name {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
}

.customer-details .customer-company {
    display: block;
    font-size: 14px;
    opacity: 0.7;
}

/* Body */
.testimonial-body {
    padding: var(--section-padding) 0;
}

.testimonial-content-wrapper {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: -40px;
    color: var(--color-accent);
    opacity: 0.1;
}

.testimonial-main-content {
    font-size: 17px;
    line-height: 2;
    color: var(--color-text);
}

.testimonial-main-content p {
    margin-bottom: 24px;
}

.testimonial-main-content strong {
    color: var(--color-accent);
}

/* CTA */
.testimonial-cta {
    padding: 60px 0;
    background: var(--color-secondary);
}

.testimonial-cta .cta-box {
    text-align: center;
    padding: 48px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.testimonial-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.testimonial-cta p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.testimonial-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer Navigation */
.testimonial-footer {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
}

.testimonial-navigation {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.testimonial-navigation a {
    flex: 1;
    padding: 24px;
    background: var(--color-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.testimonial-navigation a:hover {
    background: var(--color-accent-light);
}

.testimonial-navigation .nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.testimonial-navigation .nav-title {
    display: block;
    font-weight: 600;
    color: var(--color-dark);
}

.testimonial-navigation .nav-prev {
    text-align: left;
}

.testimonial-navigation .nav-next {
    text-align: right;
}

.testimonial-navigation .nav-next .nav-label {
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .testimonial-hero {
        padding: 80px 0 40px;
    }

    .quote-icon {
        display: none;
    }

    .testimonial-navigation {
        flex-direction: column;
    }

    .testimonial-cta .cta-buttons {
        flex-direction: column;
    }
}

/* ========================================
   404 Page
   ======================================== */

.error-404-page .page-hero-content {
    text-align: center;
}

.error-404-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 60px 0 80px;
}

.error-404-search {
    text-align: center;
    padding: 40px;
    margin-bottom: 32px;
}

.error-404-search h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.error-404-search p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.error-404-search .search-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 8px;
}

.error-404-search .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 15px;
    background: var(--color-white);
    transition: border-color 0.2s;
}

.error-404-search .search-field:focus {
    outline: none;
    border-color: var(--color-accent);
}

.error-404-search .search-submit {
    padding: 12px 24px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.error-404-search .search-submit:hover {
    background: var(--color-accent-hover);
}

.error-404-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.error-404-products h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: var(--color-dark);
}

.error-404-products .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .error-404-content {
        padding: 40px 0 60px;
    }

    .error-404-search {
        padding: 24px;
    }

    .error-404-search .search-form {
        flex-direction: column;
    }

    .error-404-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-404-products .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ========================================
   Search Results Page
   ======================================== */

.search-results-page .page-hero-content {
    text-align: center;
}

.search-results-page > .container {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.search-result-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-result-thumbnail {
    flex-shrink: 0;
    width: 160px;
    height: 110px;
    border-radius: 4px;
    overflow: hidden;
}

.search-result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.search-result-type {
    display: inline-block;
    padding: 2px 8px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.search-result-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}

.search-result-title a {
    color: var(--color-dark);
    text-decoration: none;
}

.search-result-title a:hover {
    color: var(--color-accent);
}

.search-result-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-pagination {
    text-align: center;
}

.search-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.2s;
}

.search-pagination .page-numbers:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.search-pagination .page-numbers.current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.search-no-results {
    max-width: 600px;
    margin: 0 auto;
}

.search-no-results-content {
    text-align: center;
    padding: 40px;
    margin-bottom: 40px;
}

.search-no-results-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.search-no-results-content p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.search-no-results-content .search-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 8px;
}

.search-no-results-content .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 15px;
    background: var(--color-white);
    transition: border-color 0.2s;
}

.search-no-results-content .search-field:focus {
    outline: none;
    border-color: var(--color-accent);
}

.search-no-results-content .search-submit {
    padding: 12px 24px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-no-results-content .search-submit:hover {
    background: var(--color-accent-hover);
}

.search-suggestions {
    text-align: center;
}

.search-suggestions h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.search-suggestion-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Breadcrumb styling for templates that didn't have it */
.news-header .breadcrumb,
.update-header .breadcrumb,
.manual-header .breadcrumb,
.testimonial-hero .breadcrumb,
.post-hero-content .breadcrumb,
.page-hero-content .breadcrumb {
    margin-bottom: 16px;
}

.post-hero-content .breadcrumb a,
.post-hero-content .breadcrumb .current,
.post-hero-content .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.7);
}

.post-hero-content .breadcrumb a:hover {
    color: rgba(255, 255, 255, 1);
}

@media (max-width: 768px) {
    .search-result-card {
        flex-direction: column;
        gap: 12px;
    }

    .search-result-thumbnail {
        width: 100%;
        height: 160px;
    }

    .search-no-results-content .search-form {
        flex-direction: column;
    }

    .search-suggestion-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   Enriched Front-Page Components
   ======================================== */

/* Product Card Badge (Category overlay) */
.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}

/* Product Features Mini List */
.product-features-mini {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-features-mini li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.product-features-mini li svg {
    flex-shrink: 0;
    color: var(--color-accent-secondary);
}

/* Testimonial Metric (Highlight number) */
.testimonial-metric {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-accent-secondary);
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Dark section override for testimonial metric */
.testimonials-section .testimonial-metric {
    color: var(--color-accent-secondary);
}

/* Problem Card Answer (Solution callout) */
.problem-answer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: rgba(201, 162, 39, 0.06);
    border-radius: var(--radius-sm);
}

.problem-answer svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent-secondary);
}

.problem-answer span {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent);
    line-height: 1.6;
}

@media (max-width: 576px) {
    .testimonial-metric {
        font-size: 18px;
    }

    .product-features-mini li {
        font-size: 12px;
    }
}

/* ========================================
   Hero Stats Bar (Inline)
   ======================================== */
.hero-stats-bar {
    background: var(--gradient-primary);
    padding: 24px 0;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.hero-stat {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.4;
}

.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent-secondary);
    line-height: 1.2;
    margin-bottom: 2px;
}

.hero-stat .counter {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
    .hero-stats-bar {
        margin-top: 32px;
        padding: 20px 0;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero-stat strong {
        font-size: 1.25rem;
    }

    .hero-stat {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-stats-bar {
        margin-top: 24px;
        padding: 16px 0;
    }

    .hero-stats-grid {
        gap: 12px;
    }
}

/* ========================================
   News + Updates Section (Merged)
   ======================================== */
.news-updates-section {
    padding: var(--section-padding) 0;
}

.news-updates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 32px;
}

.news-updates-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
}

.news-updates-column-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.news-updates-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
}

.news-updates-more:hover {
    color: var(--color-accent-hover);
}

.news-updates-column .news-list-container,
.news-updates-column .updates-list-container {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
    .news-updates-section {
        padding: var(--section-padding-mobile) 0;
    }

    .news-updates-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ========================================
   Guarantee Subsection (within How It Works)
   ======================================== */
.guarantee-subsection {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

.guarantee-subsection .section-header {
    margin-bottom: 0;
}

.guarantee-title {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

/* ========================================
   CTA Testimonial Mini
   ======================================== */
.cta-testimonial-mini {
    margin-bottom: 24px;
}

.cta-testimonial-mini p {
    font-size: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 12px 24px;
    border-left: 3px solid var(--color-accent-secondary);
    display: inline-block;
    text-align: left;
}

/* ========================================
   Trust Bar (数字バー) — Standalone Section
   ======================================== */
.trust-bar {
    padding: 48px 0;
    background: var(--color-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.trust-bar-item {
    padding: 8px 0;
}

.trust-bar-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.2;
    margin-bottom: 4px;
}

.trust-bar-value .counter {
    font-variant-numeric: tabular-nums;
}

.trust-bar-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .trust-bar {
        padding: 32px 0;
    }

    .trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .trust-bar-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .trust-bar {
        padding: 24px 0;
    }

    .trust-bar-grid {
        gap: 16px;
    }

    .trust-bar-value {
        font-size: 1.25rem;
    }

    .trust-bar-label {
        font-size: 12px;
    }
}

/* ========================================
   Problem Grid 4-column
   ======================================== */
.problem-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .problem-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .problem-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Value Section (選ばれる理由 — 3本柱)
   ======================================== */
.value-section {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.value-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(59, 66, 55, 0.08);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.value-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.value-card > p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 20px;
}

.value-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.value-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.value-points svg {
    color: var(--color-accent-secondary);
    flex-shrink: 0;
}

/* Value card mini comparison */
.value-comparison-mini {
    margin-top: 4px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.value-comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    font-size: 14px;
}

.value-comparison-row:first-child {
    border-bottom: 1px solid var(--color-border);
    background: rgba(239, 68, 68, 0.04);
}

.value-comparison-row:last-child {
    background: rgba(59, 66, 55, 0.04);
}

.value-comparison-label {
    font-weight: 600;
    color: var(--color-dark);
}

.value-comparison-price.bad {
    color: #dc2626;
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-color: rgba(220, 38, 38, 0.4);
}

.value-comparison-price.good {
    color: var(--color-accent);
    font-weight: 700;
}

@media (max-width: 992px) {
    .value-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .value-section {
        padding: var(--section-padding-mobile) 0;
    }
}

/* ========================================
   Comparison Section (比較表)
   ======================================== */
.comparison-section {
    padding: var(--section-padding) 0;
}

.comparison-table-wrap {
    margin-top: 48px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 15px;
}

.comparison-table thead th {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    background: var(--color-secondary);
    border-bottom: 2px solid var(--color-border);
    color: var(--color-dark);
    white-space: nowrap;
}

.comparison-table thead th.comparison-highlight {
    background: var(--color-accent);
    color: var(--color-white);
    border-top: 3px solid var(--color-accent-secondary);
    position: relative;
}

.comparison-table tbody td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text);
}

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

.comparison-table tbody tr:hover {
    background: rgba(59, 66, 55, 0.02);
}

.comparison-table td.comparison-feature {
    text-align: left;
    font-weight: 600;
    color: var(--color-dark);
    background: var(--color-secondary);
    white-space: nowrap;
}

.comparison-table td.comparison-highlight {
    background: rgba(59, 66, 55, 0.04);
    font-weight: 600;
    color: var(--color-dark);
}

.comparison-table td.comparison-highlight strong {
    color: var(--color-accent);
    font-size: 1.1em;
}

.comparison-good {
    color: var(--color-accent);
    font-weight: 700;
}

.comparison-ok {
    color: var(--color-text);
}

.comparison-warn {
    color: #d97706;
}

.comparison-bad {
    color: #dc2626;
}

@media (max-width: 768px) {
    .comparison-section {
        padding: var(--section-padding-mobile) 0;
    }

    .comparison-table-wrap {
        margin-top: 32px;
    }

    .comparison-table {
        font-size: 13px;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 10px 12px;
    }
}

/* ========================================
   Testimonial Result (成果数字の強調)
   ======================================== */
.testimonial-result {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-accent-secondary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.testimonials-section .testimonial-result {
    color: var(--color-accent-secondary);
}

/* ========================================
   Hero Section — The Armory Design
   ======================================== */
.hero-section--rich {
    position: relative;
    padding: 160px 0 120px;
    background: var(--color-hero-dark);
    overflow: hidden;
}

.hero-section--rich::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero-section--rich .container {
    position: relative;
    z-index: 2;
}

/* --- Background Gradient Layer --- */
.hero-section--rich .hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 30% 20%, rgba(201, 162, 39, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 70%, rgba(59, 66, 55, 0.10) 0%, transparent 50%);
    z-index: 0;
}

/* --- Accent Lines --- */
.hero-accent-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-line {
    position: absolute;
    background: rgba(201, 162, 39, 0.12);
}

.hero-line--h {
    width: 100%;
    height: 1px;
    top: 75%;
    left: 0;
}

.hero-line--v {
    width: 1px;
    height: 100%;
    top: 0;
    left: 62%;
}

/* --- Hero Layout (2-column) --- */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    align-items: center;
    gap: 40px;
}

.hero-content {
    text-align: left;
}

/* --- Tagline --- */
.hero-tagline {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent-secondary);
    letter-spacing: 0.06em;
    margin-bottom: 24px;
}

.hero-tagline--animated {
    animation: heroFadeSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* --- Title --- */
.hero-section--rich .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-title--animated {
    animation: heroFadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-title-accent {
    color: var(--color-accent-secondary);
}

/* --- Description --- */
.hero-section--rich .hero-description {
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-section--rich .hero-description strong {
    color: var(--color-accent-secondary);
    font-weight: 700;
}

.hero-description--animated {
    animation: heroFadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* --- Buttons --- */
.hero-buttons--animated {
    animation: heroFadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.btn-hero-primary {
    padding: 16px 36px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    background: var(--color-accent-secondary);
    color: #ffffff;
    border-color: var(--color-accent-secondary);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.5s ease;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    background: var(--color-accent-secondary-hover);
    border-color: var(--color-accent-secondary-hover);
    box-shadow: 0 8px 28px rgba(201, 162, 39, 0.35);
    transform: translateY(-2px);
}

.btn-hero-primary svg {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover svg {
    transform: translateX(4px);
}

.btn-hero-secondary {
    padding: 16px 36px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

.btn-hero-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

/* --- Meta Bar --- */
.hero-meta-bar--animated {
    animation: heroFadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-section--rich .hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.01em;
}

.hero-section--rich .hero-meta-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.10);
    border: 1px solid rgba(201, 162, 39, 0.10);
    border-radius: 8px;
    color: var(--color-accent-secondary);
    flex-shrink: 0;
}

.hero-section--rich .hero-meta-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* --- Hero Layout Overrides --- */
.hero-section--rich .hero-meta-bar {
    justify-content: flex-start;
}

.hero-section--rich .hero-buttons {
    justify-content: flex-start;
}

/* --- Decorative Characters --- */
.hero-deco {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.hero-deco-char {
    font-family: var(--font-display);
    font-size: clamp(12rem, 18vw, 20rem);
    font-weight: 700;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1px rgba(201, 162, 39, 0.15);
    opacity: 0;
    animation: heroCharReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-deco-char--2 {
    -webkit-text-stroke-color: rgba(201, 162, 39, 0.10);
    animation-delay: 0.8s;
}

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

/* --- Shared Keyframes --- */
@keyframes heroFadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-section--rich {
        padding: 120px 0 80px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-deco {
        display: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero-line--v {
        display: none;
    }

    .hero-section--rich .hero-buttons {
        justify-content: center;
    }

    .hero-section--rich .hero-meta-bar {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section--rich {
        padding: 110px 0 64px;
    }

    .hero-section--rich .hero-meta-divider {
        display: none;
    }

    .hero-section--rich .hero-meta-bar {
        gap: 12px;
    }

    .hero-section--rich .hero-meta-item {
        font-size: 12px;
    }

    .hero-section--rich .hero-meta-icon {
        width: 28px;
        height: 28px;
    }

    .hero-section--rich .hero-meta-icon svg {
        width: 13px;
        height: 13px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 24px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-section--rich {
        padding: 100px 0 56px;
    }

    .hero-section--rich .hero-description br {
        display: none;
    }

    .hero-section--rich .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
    }

    .hero-tagline {
        font-size: 12px;
    }
}

/* ========================================
   About Page
   ======================================== */

/* Mission Section */
.about-mission {
    padding: 80px 0;
    background: var(--color-white);
    text-align: center;
}

.about-mission-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 32px;
}

.about-mission-lead {
    font-size: 20px;
    line-height: 1.8;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    font-weight: 500;
}

.about-mission-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text-muted);
}

/* Approach Section */
.about-approach {
    padding: 80px 0;
    background: var(--color-secondary);
}

.about-approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-approach-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 16px;
}

.about-approach-text p:last-child {
    margin-bottom: 0;
}

.about-approach-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-approach-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-dark);
    padding: 16px 20px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.about-approach-points li svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

/* Company Section */
.about-company {
    padding: 80px 0;
    background: var(--color-white);
}

.about-company-table {
    margin: 0;
}

.about-company-row {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}

.about-company-row:first-child {
    border-top: 1px solid var(--color-border);
}

.about-company-table dt {
    width: 160px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.about-company-table dd {
    margin: 0;
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
}

.about-company-table dd a {
    color: var(--color-accent);
    text-decoration: none;
}

.about-company-table dd a:hover {
    text-decoration: underline;
}

/* About Page Responsive */
@media (max-width: 768px) {
    .about-mission {
        padding: 60px 0;
    }

    .about-mission-lead {
        font-size: 18px;
    }

    .about-mission-lead br,
    .about-mission-text br {
        display: none;
    }

    .about-approach {
        padding: 60px 0;
    }

    .about-approach-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-approach-text p br {
        display: none;
    }

    .about-company {
        padding: 60px 0;
    }

    .about-company-row {
        flex-direction: column;
        gap: 4px;
    }

    .about-company-table dt {
        width: auto;
    }
}

/* ========================================
   Sub-page Dark Theme
   ダークグラデーション + ゴールドアクセント
   ======================================== */

/* --- Page Hero (固定ページ + アーカイブ共通) --- */
.page-hero {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
    text-align: center;
}

.page-hero-bg {
    background:
        radial-gradient(ellipse 100% 70% at 50% 0%, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 70%, rgba(59, 66, 55, 0.12) 0%, transparent 50%);
}

.page-hero-bg::before {
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
}

.page-hero-bg::after {
    background: radial-gradient(circle, rgba(201, 162, 39, 0.06) 0%, transparent 70%);
}

.page-hero .section-label {
    color: var(--color-accent-secondary);
}

.page-hero-title {
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

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

.page-hero-description {
    color: rgba(255, 255, 255, 0.7);
}

.page-title {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

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

/* --- Breadcrumbs on dark --- */
.page-hero-content .breadcrumb a,
.page-hero-content .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.page-hero-content .breadcrumb .current {
    color: var(--color-accent-secondary);
}

.page-hero-content .breadcrumb a:hover {
    color: #ffffff;
}

/* --- Single News Header --- */
.news-header {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
}

.news-header .back-link {
    color: rgba(255, 255, 255, 0.6);
}

.news-header .back-link:hover {
    color: var(--color-accent-secondary);
}

.news-meta time {
    color: rgba(255, 255, 255, 0.5);
}

.news-category-badge {
    color: var(--color-accent-secondary);
    background: rgba(201, 162, 39, 0.15);
}

.news-title {
    color: #ffffff;
}

.news-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    margin-top: 16px;
    border-radius: 2px;
}

.news-header .breadcrumb a,
.news-header .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.news-header .breadcrumb .current {
    color: var(--color-accent-secondary);
}

.news-header .breadcrumb a:hover {
    color: #ffffff;
}

/* --- Single Update Header --- */
.update-header {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
}

.update-header .back-link {
    color: rgba(255, 255, 255, 0.6);
}

.update-header .back-link:hover {
    color: var(--color-accent-secondary);
}

.update-meta time {
    color: rgba(255, 255, 255, 0.5);
}

.update-title {
    color: #ffffff;
}

.update-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    margin-top: 16px;
    border-radius: 2px;
}

.update-header .breadcrumb a,
.update-header .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.update-header .breadcrumb .current {
    color: var(--color-accent-secondary);
}

.update-header .breadcrumb a:hover {
    color: #ffffff;
}

/* --- Archive Header --- */
.archive-header {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
}

.archive-header .section-label {
    color: var(--color-accent-secondary);
}

.archive-title {
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

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

.archive-description {
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-archive-page .archive-header {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
}

.testimonial-archive-page .archive-title {
    color: #ffffff;
}

.testimonial-archive-page .archive-description {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Testimonial Hero --- */
.testimonial-hero {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
}

/* --- Testimonial Stats Bar --- */
.testimonial-stats-bar {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
    border-top: 1px solid rgba(201, 162, 39, 0.15);
}

/* --- Post Hero Enhancement --- */
.post-hero-no-image {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
}

.post-hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26, 29, 23, 0) 0%,
        rgba(26, 29, 23, 0.4) 50%,
        rgba(26, 29, 23, 0.85) 100%
    );
}

.post-category {
    background: var(--color-accent-secondary);
    color: #ffffff;
}

.post-category:hover {
    background: var(--color-accent-secondary-hover);
}

/* --- Page Header (汎用) --- */
.page-header {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
}

/* --- Trust Bar Dark --- */
.trust-bar {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
    border-top: 1px solid rgba(201, 162, 39, 0.15);
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.trust-bar-value {
    color: var(--color-accent-secondary);
}

.trust-bar-label {
    color: rgba(255, 255, 255, 0.6);
}

/* --- Value Card Gold Accent --- */
.value-card {
    border-top: 2px solid transparent;
}

.value-card:hover {
    border-top-color: var(--color-accent-secondary);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.08);
}

.value-number {
    color: rgba(201, 162, 39, 0.15);
}

/* --- About Mission Gold Underline --- */
.about-mission-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.about-mission-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* --- About Approach Dark --- */
.about-approach {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
    position: relative;
    overflow: hidden;
}

.about-approach::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-approach .section-title {
    color: #ffffff;
}

.about-approach-text p {
    color: rgba(255, 255, 255, 0.8);
}

.about-approach-points li {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.about-approach-points li svg {
    color: var(--color-accent-secondary);
}

/* --- Manual Header Dark Theme --- */
.manual-header {
    background: linear-gradient(170deg, #1a1d17 0%, #252820 40%, #1f2219 100%);
}

.manual-header .back-link {
    color: rgba(255, 255, 255, 0.6);
}

.manual-header .back-link:hover {
    color: var(--color-accent-secondary);
}

.manual-meta time {
    color: rgba(255, 255, 255, 0.5);
}

.manual-title {
    color: #ffffff;
}

.manual-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    margin-top: 16px;
    border-radius: 2px;
}

.manual-header .breadcrumb a,
.manual-header .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.manual-header .breadcrumb .current {
    color: var(--color-accent-secondary);
}

.manual-header .breadcrumb a:hover {
    color: #ffffff;
}

/* --- Sub-page Dark Theme Responsive --- */
@media (max-width: 768px) {
    .news-title::after,
    .update-title::after,
    .manual-title::after {
        margin-top: 12px;
    }
}

/* ========================================
   Front Page — The Armory Redesign
   ======================================== */

/* --- Section Background Rhythm --- */
.trust-bar {
    background: var(--color-surface-dark);
    border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.trust-bar .trust-bar-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-secondary);
}

.trust-bar .trust-bar-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.news-updates-section {
    background: #ffffff;
}

.problem-section {
    background: var(--color-surface-warm);
}

.value-section {
    background: #ffffff;
}

.products-section {
    background: var(--color-surface-cool);
}

.comparison-section {
    background: #ffffff;
}

.testimonials-section {
    background: var(--color-accent);
}

.testimonials-section .section-label,
.testimonials-section .section-title,
.testimonials-section .section-description {
    color: #ffffff;
}

.testimonials-section .section-label {
    color: var(--color-accent-secondary);
}

.testimonials-section .section-description {
    color: rgba(255, 255, 255, 0.6);
}

.how-it-works-section {
    background: #ffffff;
}

.faq-section {
    background: var(--color-surface-warm);
}

.cta-section {
    background: var(--color-hero-dark);
}

/* --- Problem Section: 2-Column Layout --- */
.problem-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.problem-left {
    position: sticky;
    top: 100px;
}

.problem-stat {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--color-accent-secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.problem-stat-unit {
    font-size: 0.5em;
}

.problem-headline {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--color-text-strong);
    line-height: 1.5;
}

.problem-list {
    display: flex;
    flex-direction: column;
}

.problem-list-item {
    display: flex;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    align-items: flex-start;
    transition: border-color 0.3s ease;
}

.problem-list-item:first-child {
    padding-top: 0;
}

.problem-list-item:hover {
    border-color: var(--color-accent-secondary);
}

.problem-list-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent-secondary);
    flex-shrink: 0;
    padding-top: 2px;
}

.problem-list-body h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-strong);
    margin-bottom: 6px;
}

.problem-list-body p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

.problem-solution {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.problem-solution p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-strong);
}

@media (max-width: 768px) {
    .problem-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .problem-left {
        position: static;
    }
}

/* --- Value Section: Featured + Pair --- */
.value-featured {
    background: var(--color-accent);
    color: #ffffff;
    padding: 48px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.value-featured .value-number {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent-secondary);
    flex-shrink: 0;
}

.value-featured-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.value-featured-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.value-featured .value-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.value-featured .value-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.value-featured .value-points svg {
    color: var(--color-accent-secondary);
    flex-shrink: 0;
}

.value-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.value-card--pair {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: border-color 0.3s ease;
}

.value-card--pair:hover {
    border-color: var(--color-accent-secondary);
}

.value-card--pair .value-number {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent-secondary);
    margin-bottom: 16px;
    display: block;
}

.value-card--pair h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.value-card--pair p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.value-card--pair .value-points {
    margin-top: 16px;
}

.value-card--pair .value-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.value-card--pair .value-points svg {
    color: var(--color-accent-secondary);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .value-featured {
        flex-direction: column;
        padding: 32px;
    }

    .value-pair {
        grid-template-columns: 1fr;
    }
}

/* --- Products Grid: 3 columns --- */
.products-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.products-grid-3 .product-card {
    transition: border-color 0.3s ease;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff;
}

.products-grid-3 .product-card:hover {
    border-color: var(--color-accent-secondary);
    transform: none;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .products-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* --- Comparison Table: Recommended Badge --- */
.comparison-table-wrap {
    overflow: visible;
    overflow-x: auto;
}

.comparison-table thead th.comparison-highlight {
    position: relative;
    padding-top: 32px;
}

.comparison-table thead th.comparison-highlight::after {
    content: 'おすすめ';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent-secondary);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 10px;
    white-space: nowrap;
}

/* --- Testimonials: Masonry-style Staggered --- */
.testimonials-section .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.testimonials-section .testimonials-grid .testimonial-card:first-child {
    grid-row: 1 / -1;
}

.testimonials-section .testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.testimonials-section .testimonial-card .testimonial-card-title,
.testimonials-section .testimonial-card .testimonial-content p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-section .testimonial-card .author-name {
    color: #ffffff;
}

.testimonials-section .testimonial-card .author-company {
    color: rgba(255, 255, 255, 0.5);
}

.testimonials-section .testimonial-card::before {
    color: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.testimonials-section .section-footer .btn-secondary {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}

.testimonials-section .section-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

@media (max-width: 768px) {
    .testimonials-section .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-section .testimonials-grid .testimonial-card:first-child {
        grid-row: auto;
    }
}

/* --- Steps: Card Layout with Inline Number --- */
.steps-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color 0.3s ease;
}

.step-item:hover {
    border-color: var(--color-accent-secondary);
}

.step-item .step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent-secondary);
    background: var(--color-gold-soft);
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
}

.step-item h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-strong);
}

.step-item p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .steps-timeline {
        grid-template-columns: 1fr;
    }

    .step-item {
        padding: 24px 20px;
    }
}

/* --- Guarantee: Dark Band --- */
.guarantee-subsection--dark {
    background: var(--color-accent);
    margin-left: calc(-1 * ((100vw - var(--container-width)) / 2 + 24px));
    margin-right: calc(-1 * ((100vw - var(--container-width)) / 2 + 24px));
    padding: 60px calc((100vw - var(--container-width)) / 2 + 24px);
    margin-top: 60px;
    border-radius: 0;
}

.guarantee-subsection--dark .section-label,
.guarantee-subsection--dark .guarantee-title {
    color: #ffffff;
}

.guarantee-subsection--dark .section-label {
    color: var(--color-accent-secondary);
}

.guarantee-subsection--dark .guarantee-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.guarantee-subsection--dark .guarantee-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.guarantee-subsection--dark .guarantee-item h3 {
    color: #ffffff;
}

.guarantee-subsection--dark .guarantee-item p {
    color: rgba(255, 255, 255, 0.65);
}

.guarantee-subsection--dark .guarantee-icon {
    background: rgba(201, 162, 39, 0.12);
    border-color: rgba(201, 162, 39, 0.15);
    color: var(--color-accent-secondary);
}

/* --- FAQ: 2-Column Layout --- */
.faq-layout {
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    gap: 60px;
    align-items: start;
}

.faq-layout-left {
    position: sticky;
    top: 100px;
}

.faq-layout-left .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.faq-layout-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.faq-layout-right .faq-item {
    border-left: 3px solid transparent;
    padding-left: 16px;
    transition: border-color 0.3s ease;
}

.faq-layout-right .faq-item:hover,
.faq-layout-right .faq-item.open {
    border-left-color: var(--color-accent-secondary);
}

@media (max-width: 768px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .faq-layout-left {
        position: static;
    }

    .faq-layout-left .section-title {
        text-align: center;
    }

    .faq-layout-left .btn {
        display: block;
        text-align: center;
    }
}

/* --- CTA: Decorative Character --- */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '始';
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(14rem, 20vw, 22rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(201, 162, 39, 0.08);
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

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

/* --- Section Titles: Outfit font --- */
.section-title {
    font-family: var(--font-display);
}

/* --- Card Hover Differentiation --- */
.products-section .product-card:hover {
    transform: none;
}

.faq-section .faq-item {
    transition: border-color 0.3s ease;
}

/* --- Scroll Animation Variants --- */
.animate-slide-in {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-in.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .animate-slide-in,
    .animate-scale-in,
    .animate-on-scroll,
    .hero-deco-char {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}
