:root {
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-muted: #999;
    --bg-white: #ffffff;
    --bg-subtle: #fafafa;
    --border-light: #e5e5e5;

    /* Green accent colors (unified 3-color system) */
    --accent: #10b981;
    --accent-dark: #059669;
    --accent-light: #34d399;
    --accent-bg: rgba(16, 185, 129, 0.08);

    /* Header */
    --header-height: 72px;
}

body {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    margin: 0;
    padding: 0;
    padding-top: var(--header-height);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* ===========================================
   Header - Clean & Modern (Page Style Match)
   =========================================== */

#masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

body.scrolled #masthead {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    height: var(--header-height);
}

/* Progress bar */
.header-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.1s ease-out;
}

/* Brand */
.header-brand {
    flex-shrink: 0;
}

.brand-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 36px;
    width: auto;
    transition: opacity 0.3s ease;
}

.brand-link:hover .brand-logo {
    opacity: 0.8;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

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

/* ===========================================
   Navigation with Dropdown
   =========================================== */

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-item {
    position: relative;
    margin: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.is-current {
    color: var(--accent-dark);
    background: var(--accent-bg);
}

.nav-arrow {
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.nav-item.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

/* ===========================================
   Dropdown Menu (Child Categories)
   =========================================== */

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(16, 185, 129, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-inner {
    padding: 8px;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border-light);
}

.dropdown-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.dropdown-count {
    font-size: 11px;
    color: var(--text-muted);
}

.dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-item {
    margin: 0;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dropdown-link:hover,
.dropdown-link.is-current {
    background: var(--accent-bg);
    color: var(--accent-dark);
}

.dropdown-link-text {
    flex: 1;
}

.dropdown-link-count {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 8px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dropdown-link:hover .dropdown-link-count {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-dark);
}

.dropdown-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    margin-top: 4px;
    text-decoration: none;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    border-top: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.dropdown-view-all:hover {
    color: var(--accent-dark);
}

.dropdown-view-all svg {
    transition: transform 0.2s ease;
}

.dropdown-view-all:hover svg {
    transform: translateX(4px);
}

/* ===========================================
   Header Actions
   =========================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    border-color: var(--accent);
    background: var(--accent-bg);
}

.menu-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-toggle-bar:nth-child(2) {
    width: 14px;
}

.menu-toggle:hover .menu-toggle-bar {
    background: var(--accent);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================================
   Mobile Menu
   =========================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    pointer-events: none;
}

.mobile-menu.is-open {
    pointer-events: auto;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.is-open .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(380px, 90vw);
    height: 100%;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* Mobile Nav */
.mobile-nav {
    flex: 1;
    padding: 16px 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-light);
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu.is-open .mobile-nav-item {
    animation: slideIn 0.4s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.06s + 0.1s);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-parent {
    display: flex;
    align-items: center;
}

.mobile-nav-link {
    flex: 1;
    display: block;
    padding: 18px 24px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 16px;
    padding: 0;
    background: var(--bg-subtle);
    border: none;
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
    background: var(--accent-bg);
    color: var(--accent);
}

.mobile-nav-toggle svg {
    transition: transform 0.3s ease;
}

.mobile-nav-toggle[aria-expanded="true"] svg {
    transform: rotate(45deg);
}

/* Mobile Nav Children */
.mobile-nav-children {
    list-style: none;
    margin: 0;
    padding: 0 0 12px 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-item.is-open .mobile-nav-children {
    max-height: 500px;
}

.mobile-nav-child-link {
    display: block;
    padding: 12px 24px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-left: 2px solid var(--border-light);
    transition: all 0.2s ease;
}

.mobile-nav-child-link:hover {
    color: var(--accent);
    border-left-color: var(--accent);
    background: var(--accent-bg);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
}

.mobile-about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.mobile-about-link:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.mobile-about-link svg {
    transition: transform 0.2s ease;
}

.mobile-about-link:hover svg {
    transform: translate(2px, -2px);
}

/* ===========================================
   Responsive
   =========================================== */

@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .brand-name {
        font-size: 18px;
    }
}

/* ===========================================
   Hero Section - ヒーローセクション
   =========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding: 0;
}

.hero__container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 100vh;
}

/* 左カラム: 説明文（緑背景） */
.hero__side {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #34d399 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 60px 40px;
    transition: transform 0.1s ease, opacity 0.1s ease;
}

.hero__side-text {
    font-size: 16px;
    line-height: 2;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
}

/* 右カラム: メインコピー（白背景） */
.hero__main {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 60px 80px;
    transition: transform 0.1s ease;
}

.hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    color: var(--text-primary);
    transition: transform 0.3s ease;
    cursor: default;
}

.hero__title span {
    transition: transform 0.2s ease;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 2;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.hero__label {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

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

/* ===========================================
   その他のセクション用の共通スタイル
   =========================================== */

.onesta-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.onesta-section {
    padding: 72px 0;
}

.onesta-section-title {
    font-size: clamp(26px, 4vw, 40px);
    margin: 0 0 10px;
}

.onesta-section-lead {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 0 32px;
}

.onesta-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.onesta-category-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.onesta-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(15, 15, 15, 0.12);
}

.onesta-category-card span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.onesta-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.onesta-feature {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-light);
}

.onesta-highlight {
    border-radius: 16px;
    padding: 36px;
    background: linear-gradient(135deg, #161616 0%, #2b2b2b 100%);
    color: #fff;
    display: grid;
    gap: 16px;
}

.onesta-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.onesta-post {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 26px rgba(15, 15, 15, 0.08);
}

.onesta-post time {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    color: var(--text-secondary);
}

/* ===========================================
   Footer CTA - Aboutページへの導線（モダンデザイン）
   =========================================== */

.onesta-section--about-cta {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
}

.onesta-section--about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.onesta-footer-cta {
    background: #ffffff;
    border: 2px solid var(--border-light);
    border-radius: 32px;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.onesta-footer-cta:hover {
    border-color: #10b981;
    box-shadow: 0 32px 80px rgba(16, 185, 129, 0.08);
    transform: translateY(-8px);
}

.onesta-footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(16, 185, 129, 0.03) 0deg,
        transparent 60deg,
        transparent 300deg,
        rgba(16, 185, 129, 0.03) 360deg
    );
    animation: rotate 10s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.onesta-footer-cta:hover::before {
    opacity: 1;
}

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

/* アイコン */
.onesta-footer-cta__icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.onesta-footer-cta__icon:hover {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.onesta-footer-cta:hover .onesta-footer-cta__icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

/* タイトル */
.onesta-footer-cta__title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

/* 説明文 */
.onesta-footer-cta__description {
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 2;
    margin: 0;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    max-width: 560px;
    font-weight: 400;
}

/* ボタン */
.onesta-footer-cta__button {
    margin-top: 16px;
    padding: 20px 48px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.onesta-footer-cta__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.onesta-footer-cta__button:hover::before {
    left: 100%;
}

.onesta-footer-cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.onesta-footer-cta__button svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.onesta-footer-cta__button:hover svg {
    transform: translateX(4px);
}

/* バッジ */
.onesta-footer-cta__badge {
    position: absolute;
    top: 32px;
    right: 32px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 24px;
    border: 1px solid #10b981;
    z-index: 1;
    opacity: 0.9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.onesta-footer-cta__badge:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    transform: scale(1.05);
}

/* アニメーションクラス */
.onesta-footer-cta {
    opacity: 0;
    transform: translateY(30px);
}

.onesta-footer-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.onesta-footer-cta__icon {
    opacity: 0;
    transform: scale(0.8) rotate(-20deg);
}

.onesta-footer-cta__icon.is-animated {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.onesta-footer-cta__badge {
    opacity: 0;
    transform: translateX(20px);
}

.onesta-footer-cta__badge.is-animated {
    opacity: 0.9;
    transform: translateX(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.onesta-footer-cta__button {
    opacity: 0;
    transform: translateY(20px);
}

.onesta-footer-cta__button.is-animated {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* パルスエフェクト */
.onesta-footer-cta__icon.pulse {
    animation: pulse 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* スピンアニメーション（バッジ用） */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* キラキラエフェクト */
.spark {
    position: absolute;
    pointer-events: none;
    font-size: 16px;
    animation: sparkle 1s ease-out forwards;
    z-index: 10;
}

@keyframes sparkle {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(var(--tx, 0), var(--ty, -20px)) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx, 0), var(--ty, -40px)) scale(0.5);
    }
}

/* リップルエフェクト */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* スクロール進捗バー */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981 0%, #059669 50%, #34d399 100%);
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 0 3px 0 0;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .category-nav {
        max-width: 400px;
    }

    .category-link {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    #masthead .header-container,
    #masthead .container {
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .category-nav {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 4px;
    }

    .category-list {
        gap: 6px;
        padding: 0 4px;
    }

    .category-link {
        padding: 7px 12px;
        font-size: 12px;
    }

    .category-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .category-name {
        max-width: 50px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .category-count {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .search-toggle,
    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .overlay-inner {
        padding: 32px 24px;
        width: 95%;
    }

    #masthead {
        height: auto;
    }
}

/* ===========================================
   Categories Section - カテゴリセクション
   =========================================== */

.categories {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.categories__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.categories__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text-primary);
}

.categories__lead {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.8;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* カテゴリカード */
.category-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.category-card__inner {
    padding: 32px;
    position: relative;
    transition: transform 0.3s ease;
}

.category-card__label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.category-card__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.category-card:hover .category-card__title {
    color: #10b981;
}

.category-card__description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.category-card__arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #10b981;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.category-card:hover .category-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

.category-card--empty {
    pointer-events: none;
    opacity: 0.6;
}

/* ===========================================
   Features Section - 特徴セクション
   =========================================== */

.features {
    padding: 120px 0;
    background: #ffffff;
}

.features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.features__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text-primary);
}

.features__lead {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.8;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

/* 特徴カード */
.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 16px;
    color: #ffffff;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

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

.feature-card__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text-primary);
}

.feature-card__description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 24px;
}

.feature-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card__list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.feature-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* ===========================================
   Latest Posts Section - 最新記事スライダー
   =========================================== */

.latest-posts {
    padding: 120px 0;
    background: #ffffff;
}

.latest-posts__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.latest-posts__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
}

.latest-posts__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.latest-posts__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 999px;
}

.latest-posts__lead {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 16px 0 0;
}

.latest-posts__navigation {
    display: flex;
    gap: 12px;
}

.slider-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: #ffffff;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav:hover:not(:disabled) {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.05);
    transform: scale(1.1);
}

.slider-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(1);
}

.latest-posts__slider-wrapper {
    overflow: hidden;
    margin-bottom: 32px;
}

.latest-posts__slider {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 投稿スライド */
.post-slide {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
}

.post-slide__link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.post-slide__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 1;
}

.post-slide__link:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.post-slide__link:hover::before {
    transform: scaleX(1);
}

.post-slide__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    position: relative;
}

.post-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-slide__link:hover .post-slide__image img {
    transform: scale(1.05);
}

.post-slide__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.post-slide__content {
    padding: 24px;
}

.post-slide__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-slide__category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.post-slide__link:hover .post-slide__category {
    background: #10b981;
    color: #ffffff;
}

.post-slide__date {
    font-size: 12px;
    color: var(--text-muted);
}

.post-slide__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.5;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-slide__excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-slide--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #fafafa;
    border-radius: 16px;
    color: var(--text-muted);
}

/* インジケーター */
.latest-posts__indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.indicator-dot:hover {
    background: rgba(16, 185, 129, 0.5);
}

.indicator-dot.active {
    width: 24px;
    border-radius: 999px;
    background: #10b981;
}

/* ===========================================
   Archive CTA - 記事一覧への導線
   =========================================== */

.archive-cta {
    padding: 120px 0;
    background: #ffffff;
}

.archive-cta__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.archive-cta__header {
    text-align: center;
    margin-bottom: 64px;
}

.archive-cta__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.archive-cta__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 999px;
}

.archive-cta__lead {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 16px 0 0;
}

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

.archive-cta__card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.archive-cta__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.archive-cta__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.archive-cta__card:hover::before {
    transform: scaleX(1);
}

.archive-cta__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.archive-cta__card:hover .archive-cta__icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #ffffff;
}

.archive-cta__text {
    flex: 1;
    margin-bottom: 32px;
}

.archive-cta__card-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text-primary);
}

.archive-cta__description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.archive-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.archive-cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.archive-cta__button svg {
    transition: transform 0.3s ease;
}

.archive-cta__button:hover svg {
    transform: translateX(4px);
}

.archive-cta__button--secondary {
    background: #ffffff;
    color: #10b981;
    border: 2px solid #10b981;
}

.archive-cta__button--secondary:hover {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

/* ===========================================
   About Page - 自己紹介ページ
   =========================================== */

.about-page {
    background: var(--bg-white);
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #34d399 100%);
    padding: 100px 0 60px;
    text-align: center;
    color: #ffffff;
}

.about-hero__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-hero__title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
}

.about-hero__lead {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
}

/* Content Area */
.about-content {
    padding: 80px 0 120px;
}

.about-content__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section */
.about-section {
    margin-bottom: 80px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section__title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.about-section__title-en {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.about-section__title-ja {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-section__content {
    font-size: 16px;
    line-height: 2;
    color: var(--text-primary);
}

.about-section__content p {
    margin: 0 0 24px;
}

.about-section__content p:last-child {
    margin-bottom: 0;
}

/* Profile Section */
.about-profile {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: var(--bg-subtle);
    border-radius: 16px;
}

.about-profile__avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.about-profile__info {
    flex: 1;
}

.about-profile__name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text-primary);
}

.about-profile__bio {
    font-size: 16px;
    line-height: 2;
    color: var(--text-secondary);
    margin: 0;
}

/* List Section */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 24px;
}

.about-list__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-subtle);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-list__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.about-list__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.about-list__text {
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
}

.about-list__text strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
}

/* Tech Stack */
.about-tech {
    display: grid;
    gap: 24px;
}

.about-tech__item {
    padding: 24px;
    background: var(--bg-subtle);
    border-radius: 12px;
}

.about-tech__category {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.about-tech__list {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* Contact Section */
.about-section--contact {
    background: var(--bg-subtle);
    padding: 48px;
    border-radius: 16px;
    text-align: center;
}

.about-contact__text {
    font-size: 15px;
    line-height: 2;
    color: var(--text-secondary);
    margin: 0 0 32px;
}

.about-contact__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-contact__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.about-contact__button svg {
    transition: transform 0.2s ease;
}

.about-contact__button:hover svg {
    transform: translateX(4px);
}

/* ===========================================
   Simple Footer - シンプルフッター
   =========================================== */

.simple-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 40px 0;
    margin-top: 80px;
}

.simple-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.simple-footer__copyright {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ===========================================
   Archive Page - 記事一覧ページ
   =========================================== */

.archive-page {
    min-height: 100vh;
}

/* Archive Hero */
.archive-hero {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 50%, var(--accent-light) 100%);
    padding: 80px 0 60px;
    color: #ffffff;
}

.archive-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.archive-hero__content {
    max-width: 700px;
}

.archive-hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 12px;
}

.archive-hero__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
}

.archive-hero__description {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    margin: 0 0 20px;
}

.archive-hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.archive-hero__count {
    font-size: 14px;
    opacity: 0.8;
}

/* Archive Content */
.archive-content {
    padding: 80px 0 120px;
    background: var(--bg-subtle);
}

.archive-content__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

/* Article Card */
.article-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.article-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.article-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.article-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card__img {
    transform: scale(1.05);
}

.article-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.article-card__content {
    padding: 24px;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.article-card__category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 4px 10px;
    border-radius: 4px;
}

.article-card__date {
    font-size: 13px;
    color: var(--text-muted);
}

.article-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 12px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
}

.pagination__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.pagination__item {
    margin: 0;
}

.pagination__item a,
.pagination__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-secondary);
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.pagination__item a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-bg);
}

.pagination__item span.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* Archive Empty */
.archive-empty {
    text-align: center;
    padding: 80px 20px;
}

.archive-empty__icon {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.archive-empty__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--text-primary);
}

.archive-empty__text {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 0 32px;
}

.archive-empty__button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.archive-empty__button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* ===========================================
   Single Article - 記事詳細ページ
   =========================================== */

.single-article {
    background: #ffffff;
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 50%, var(--accent-light) 100%);
    padding: 80px 0 60px;
    color: #ffffff;
}

.article-header__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.article-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.article-header__category {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.article-header__category:hover {
    background: rgba(255, 255, 255, 0.3);
}

.article-header__date {
    font-size: 14px;
    opacity: 0.9;
}

.article-header__updated {
    font-size: 13px;
    opacity: 0.7;
}

.article-header__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 20px;
}

.article-header__excerpt {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    margin: 0 0 24px;
}

.article-header__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-header__tag {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-header__tag:hover {
    color: #ffffff;
}

/* Article Thumbnail */
.article-thumbnail {
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.article-thumbnail__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.article-thumbnail__img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Article Body */
.article-body {
    padding: 60px 0 80px;
}

.article-body__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* Table of Contents */
.article-toc {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 48px;
}

.article-toc:empty,
.article-toc--hidden {
    display: none;
}

.article-toc__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.article-toc__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.article-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-toc__toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.article-toc__toggle[aria-expanded="false"] svg {
    transform: rotate(180deg);
}

.article-toc__nav {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.article-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}

.article-toc__list li {
    counter-increment: toc;
}

.article-toc__list li a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.2s ease;
}

.article-toc__list li a::before {
    content: counter(toc) ". ";
    color: var(--accent);
    font-weight: 600;
}

.article-toc__list li a:hover {
    color: var(--accent);
}

.article-toc__list li:last-child a {
    border-bottom: none;
}

/* Article Content */
.article-content {
    font-size: 16px;
    line-height: 2;
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    color: var(--text-primary);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.article-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.article-content p {
    margin: 0 0 24px;
}

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

.article-content a:hover {
    color: var(--accent-dark);
}

.article-content ul,
.article-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    background: var(--bg-subtle);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
}

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

.article-content pre {
    margin: 32px 0;
    padding: 24px;
    background: #1a1a1a;
    border-radius: 12px;
    overflow-x: auto;
}

.article-content code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 14px;
}

.article-content pre code {
    color: #e5e5e5;
}

.article-content :not(pre) > code {
    background: var(--accent-bg);
    color: var(--accent-dark);
    padding: 2px 8px;
    border-radius: 4px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.article-content figure {
    margin: 32px 0;
}

.article-content figcaption {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

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

.article-content th {
    background: var(--bg-subtle);
    font-weight: 600;
}

.article-content hr {
    border: none;
    height: 1px;
    background: var(--border-light);
    margin: 48px 0;
}

/* Article Footer */
.article-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
    background: var(--bg-subtle);
}

.article-footer__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

/* Share Buttons */
.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-share__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-share__buttons {
    display: flex;
    gap: 8px;
}

.article-share__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: #ffffff;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-share__button:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-bg);
}

.article-share__button--twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
}

.article-share__button--facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

/* Categories */
.article-categories {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-categories__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.article-categories__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-categories__item {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-categories__item:hover {
    background: var(--accent);
    color: #ffffff;
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
    background: #ffffff;
}

.related-posts__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.related-posts__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 40px;
    color: var(--text-primary);
    text-align: center;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Related Card */
.related-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.related-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-subtle);
}

.related-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-card:hover .related-card__img {
    transform: scale(1.05);
}

.related-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.related-card__content {
    padding: 20px;
}

.related-card__date {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.related-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post Navigation */
.post-navigation {
    padding: 60px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
}

.post-navigation__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.post-navigation__item {
    min-width: 0;
}

.post-navigation__item--next {
    text-align: right;
}

.post-navigation__link {
    display: block;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-navigation__link:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.post-navigation__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.post-navigation__item--next .post-navigation__label {
    justify-content: flex-end;
}

.post-navigation__title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===========================================
   Responsive - Archive & Single
   =========================================== */

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

    .archive-content {
        padding: 60px 0 80px;
    }

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

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

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

    .article-content h2 {
        font-size: 20px;
        margin: 40px 0 20px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .article-footer__container {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .related-posts__grid {
        grid-template-columns: 1fr;
    }

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

    .post-navigation__item--next {
        text-align: left;
    }

    .post-navigation__item--next .post-navigation__label {
        justify-content: flex-start;
    }
}

/* ===========================================
   Heading Anchor - 見出しアンカーリンク
   =========================================== */

.heading-anchor {
    position: absolute;
    left: -1.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    padding: 0 0.5em;
}

.article-content h2:hover .heading-anchor,
.article-content h3:hover .heading-anchor,
.article-content h4:hover .heading-anchor {
    opacity: 1;
}

.heading-anchor:hover {
    color: var(--accent);
}

/* ===========================================
   Image Modal - 画像モーダル
   =========================================== */

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.is-open {
    opacity: 1;
}

.image-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.image-modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.image-modal.is-open .image-modal__content {
    transform: scale(1);
}

.image-modal__content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal__close {
    position: absolute;
    top: -48px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.image-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ===========================================
   Tablet Layout Fixes - タブレットレイアウト修正 (1024px以下)
   =========================================== */

/* Hero Section - タブレット 2カラム均等レイアウト */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr 1fr;
    }

    .hero__main {
        padding: 60px 40px;
    }

    .hero__side {
        padding: 60px 32px;
        gap: 24px;
    }

    /* Latest Posts Slider - 2枚表示 */
    .latest-posts__container {
        padding: 0 24px;
    }

    .post-slide {
        flex: 0 0 calc(50% - 12px);
    }

    /* Archive CTA - タブレット */
    .archive-cta__container {
        padding: 0 24px;
    }

    .archive-cta__card {
        padding: 36px 28px;
    }

    /* Categories & Features - コンテナパディング */
    .categories__container,
    .features__container {
        padding: 0 24px;
    }

    /* Simple Footer */
    .simple-footer__container {
        padding: 0 24px;
    }
}

/* ===========================================
   Mobile Layout Fixes - モバイルレイアウト修正
   =========================================== */

/* Hero Section - 単列レイアウト */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero__container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero__main {
        padding: 60px 24px 48px;
        order: 1;
    }

    .hero__side {
        padding: 48px 24px;
        order: 2;
        gap: 20px;
    }

    .hero__title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .hero__subtitle {
        font-size: 15px;
    }
}

/* Categories Section - パディング最適化 */
@media (max-width: 768px) {
    .categories {
        padding: 64px 0;
    }

    .categories__container {
        padding: 0 20px;
    }

    .categories__header {
        margin-bottom: 36px;
    }
}

/* Features Section - 単列・パディング最適化 */
@media (max-width: 768px) {
    .features {
        padding: 64px 0;
    }

    .features__container {
        padding: 0 20px;
    }

    .features__header {
        margin-bottom: 36px;
    }

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

    .feature-card {
        padding: 28px 24px;
    }
}

/* Latest Posts Slider - モバイル最適化（1枚表示） */
@media (max-width: 768px) {
    .latest-posts {
        padding: 64px 0;
    }

    .latest-posts__container {
        padding: 0 0 0 20px;
    }

    .latest-posts__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 36px;
        padding-right: 20px;
    }

    .latest-posts__navigation {
        order: 3;
        align-self: flex-end;
    }

    .latest-posts__indicators {
        padding-right: 20px;
    }

    .post-slide {
        flex: 0 0 calc(82% - 12px);
    }
}

/* Archive CTA - 単列・パディング最適化 */
@media (max-width: 768px) {
    .archive-cta {
        padding: 64px 0;
    }

    .archive-cta__container {
        padding: 0 20px;
    }

    .archive-cta__header {
        margin-bottom: 36px;
    }

    .archive-cta__content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .archive-cta__card {
        padding: 32px 24px;
    }
}

/* Footer CTA - モバイル最適化 */
@media (max-width: 768px) {
    .onesta-section--about-cta {
        padding: 64px 0;
    }

    .onesta-footer-cta {
        padding: 48px 24px;
        border-radius: 20px;
    }

    .onesta-footer-cta__badge {
        position: static;
        margin-bottom: 4px;
    }

    .onesta-footer-cta__icon {
        width: 72px;
        height: 72px;
    }

    .onesta-footer-cta__button {
        padding: 16px 32px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Simple Footer */
@media (max-width: 768px) {
    .simple-footer {
        margin-top: 40px;
        padding: 24px 0;
    }

    .simple-footer__container {
        padding: 0 20px;
    }
}

/* ===========================================
   Simple About Page - モバイル対応 (768px以下)
   =========================================== */

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

    .about-hero__container {
        padding: 0 20px;
    }

    .about-content {
        padding: 60px 0 80px;
    }

    .about-content__container {
        padding: 0 20px;
    }

    /* プロフィールカードを縦並びに */
    .about-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 20px;
        gap: 24px;
    }

    .about-profile__avatar {
        width: 100px;
        height: 100px;
    }

    .about-section--contact {
        padding: 32px 20px;
    }

    .about-section__title-en {
        font-size: 24px;
    }

    /* 記事コンテンツのテーブル - 横スクロール対応 */
    .article-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .article-content table td,
    .article-content table th {
        min-width: 80px;
        white-space: nowrap;
    }
}

/* ===========================================
   Extra Small Screen - 480px以下の調整
   =========================================== */

@media (max-width: 480px) {
    /* Hero */
    .hero__main {
        padding: 48px 16px 40px;
        gap: 28px;
    }

    .hero__side {
        padding: 36px 16px;
        gap: 16px;
    }

    .hero__side-text {
        font-size: 14px;
    }

    /* Categories */
    .categories {
        padding: 52px 0;
    }

    .categories__container {
        padding: 0 16px;
    }

    .category-card__inner {
        padding: 24px 20px;
    }

    .category-card__title {
        font-size: 20px;
    }

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

    /* Features */
    .features {
        padding: 52px 0;
    }

    .features__container {
        padding: 0 16px;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .feature-card__title {
        font-size: 20px;
    }

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

    /* Latest Posts */
    .latest-posts {
        padding: 52px 0;
    }

    .post-slide {
        flex: 0 0 calc(85% - 12px);
    }

    /* Archive CTA */
    .archive-cta {
        padding: 52px 0;
    }

    .archive-cta__container {
        padding: 0 16px;
    }

    .archive-cta__card {
        padding: 28px 16px;
    }

    .archive-cta__card-title {
        font-size: 20px;
    }

    /* Footer CTA */
    .onesta-section--about-cta {
        padding: 52px 0;
    }

    .onesta-wrap {
        padding: 0 16px;
    }

    /* Pagination - 小さな画面での折り返し */
    .pagination__list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination__item a,
    .pagination__item span {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
    }

    /* Simple About Page */
    .about-profile {
        padding: 24px 16px;
    }

    .about-section--contact {
        padding: 28px 16px;
    }

    .about-section__title-en {
        font-size: 20px;
    }

    /* Article Grid */
    .article-grid {
        gap: 16px;
    }

    .article-card__content {
        padding: 16px;
    }

    .article-card__title {
        font-size: 16px;
    }

    /* Article Slug Page */
    .article-header__title {
        font-size: clamp(22px, 7vw, 32px);
    }

    /* Related Posts */
    .related-posts__title {
        font-size: 20px;
    }
}

/* ===========================================
   Mobile / Touch Device - ホバー依存要素の修正
   hover: none はマウスなしのタッチデバイスにのみ適用
   =========================================== */

@media (hover: none) {
    /* カテゴリカード: 矢印を常時表示 */
    .category-card__arrow {
        opacity: 1;
        transform: translateX(0);
    }

    /* カテゴリカード: ホバー時の浮き上がりを無効化 */
    .category-card:hover {
        transform: none;
        box-shadow: none;
    }

    .category-card:hover::before {
        transform: scaleX(0);
    }

    .category-card:hover .category-card__title {
        color: var(--text-primary);
    }

    /* フィーチャーカード: ホバー時の浮き上がりを無効化 */
    .feature-card:hover {
        transform: none;
        box-shadow: none;
    }

    .feature-card:hover::before {
        opacity: 0;
    }

    .feature-card:hover .feature-card__icon {
        transform: none;
    }

    /* 記事スライド: ホバー時の浮き上がりを無効化 */
    .post-slide__link:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--border-light);
    }

    .post-slide__link:hover::before {
        transform: scaleX(0);
    }

    .post-slide__link:hover .post-slide__image img {
        transform: none;
    }

    .post-slide__link:hover .post-slide__category {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
    }

    /* フッターCTA: ホバー時の浮き上がりを無効化 */
    .onesta-footer-cta:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--border-light);
    }
}

/* ===========================================
   Index Page - 記事一覧（ホーム）
   =========================================== */

.home .site-content,
.blog .site-content {
    background: var(--bg-subtle);
}
