/*
Theme Name: JNOME - Design A (Refined Minimal)
Version: 3.1.0
Description: 洗練・知的・上品 - 色数を極限まで絞った知性を感じるデザイン
*/

:root {
    /* メインカラー: ダークネイビー（知的・信頼） */
    --color-primary: #0F172A;

    /* テキスト */
    --color-text: #0F172A;
    --color-text-muted: #475569;
    --color-text-light: #94A3B8;

    /* 背景 */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-bg-dark: #0F172A;

    /* ボーダー（極めて控えめ） */
    --color-border: #E2E8F0;
    --color-border-light: #F1F5F9;

    /* シャドウ（控えめ・無彩色） */
    --shadow-soft: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-medium: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 8px 40px rgba(15, 23, 42, 0.12);

    /* フォント */
    --font-sans: "Inter", "Noto Sans JP", sans-serif;
    --font-display: "Inter", sans-serif;
    --font-jp: "Noto Sans JP", sans-serif;

    /* サイズ */
    --header-height: 72px;
    --container-width: 1120px;
    --section-padding: 120px;

    /* トランジション */
    --transition: all 0.3s ease;
}

/* ========================================
   Base Styles
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    padding-top: var(--header-height);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.02em;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { opacity: 0.6; }

img { max-width: 100%; height: auto; }

.container, .innerBasic {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* ========================================
   Header - 極限までシンプル
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

.site-logo { width: 120px; }
.site-logo a { display: block; }
.site-logo img { width: 120px; }

.main-nav { height: 100%; }
.main-nav ul {
    display: flex;
    align-items: center;
    height: 100%;
    list-style: none;
    gap: 0;
}

.main-nav li {
    height: 100%;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.main-nav li a {
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 100%;
    color: var(--color-text);
    opacity: 0.7;
}

.main-nav li:not(.nav-contact) a:hover {
    opacity: 1;
}

.main-nav li.nav-contact {
    height: auto !important;
    display: flex;
    align-items: center;
    margin-left: 24px;
}

.main-nav li.nav-contact a {
    display: flex;
    align-items: center;
    height: auto;
    padding: 12px 28px;
    background: var(--color-primary);
    color: #FFFFFF !important;
    opacity: 1;
    font-weight: 500;
    letter-spacing: 0.06em;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.main-nav li.nav-contact a:hover {
    background: #1E293B;
}

.main-nav li.nav-contact a span {
    padding-left: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") left center / 14px no-repeat;
}

.menu-toggle {
    display: none;
    width: 24px;
    height: 16px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background: none;
    border: none;
}
.menu-toggle span {
    display: block;
    height: 1px;
    background: var(--color-text);
}

/* ========================================
   Hero - Seeds: 種から芽吹き、成長、広がるイメージ
======================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    padding: 140px 32px;
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 50%, #F8FAFC 100%);
    text-align: center;
    overflow: hidden;
}

/* 背景グリッドパターン（テクノロジー感） */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 680px;
}

/* Seeds アニメーション要素 */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* 中心の種（Seed Core）- 深い緑 */
.seed-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(22, 101, 52, 0.5) 0%, rgba(22, 101, 52, 0.2) 60%, transparent 70%);
    border-radius: 50%;
    animation: seedPulse 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(22, 101, 52, 0.2);
}

@keyframes seedPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.8); opacity: 0.8; }
}

/* 成長する円環（Growth Rings）- 種から広がる波紋・緑 */
.growth-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(22, 101, 52, 0.15);
    border-radius: 50%;
    animation: growthExpand 8s ease-out infinite;
}

.growth-ring:nth-child(2) { animation-delay: 0s; }
.growth-ring:nth-child(3) { animation-delay: 2s; }
.growth-ring:nth-child(4) { animation-delay: 4s; }
.growth-ring:nth-child(5) { animation-delay: 6s; }

@keyframes growthExpand {
    0% { width: 20px; height: 20px; opacity: 0.5; border-color: rgba(22, 101, 52, 0.25); }
    100% { width: 900px; height: 900px; opacity: 0; }
}

/* 浮遊する種子（Floating Seeds）- 六角形・緑 */
.floating-seed {
    position: absolute;
    width: 14px;
    height: 16px;
    background: transparent;
    opacity: 0;
    animation: seedFloat 14s ease-in-out infinite;
}

.floating-seed::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.25) 0%, rgba(34, 197, 94, 0.15) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.floating-seed:nth-child(6) { top: 20%; left: 15%; animation-delay: 0s; }
.floating-seed:nth-child(7) { top: 30%; right: 20%; animation-delay: 3.5s; }
.floating-seed:nth-child(8) { bottom: 25%; left: 25%; animation-delay: 7s; }
.floating-seed:nth-child(9) { bottom: 35%; right: 15%; animation-delay: 10.5s; }

@keyframes seedFloat {
    0% { opacity: 0; transform: translateY(20px) rotate(0deg) scale(0.5); }
    10% { opacity: 0.7; }
    50% { opacity: 1; transform: translateY(-30px) rotate(180deg) scale(1); }
    90% { opacity: 0.7; }
    100% { opacity: 0; transform: translateY(-80px) rotate(360deg) scale(0.5); }
}

/* 接続線（Neural Connections）- 緑のグラデーション */
.neural-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(22, 101, 52, 0.2), transparent);
    transform-origin: left center;
    animation: neuralPulse 7s ease-in-out infinite;
}

.neural-line:nth-child(10) {
    top: 40%;
    left: 10%;
    width: 200px;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.neural-line:nth-child(11) {
    top: 60%;
    right: 10%;
    width: 180px;
    transform: rotate(-20deg);
    animation-delay: 2.3s;
}

.neural-line:nth-child(12) {
    bottom: 30%;
    left: 20%;
    width: 150px;
    transform: rotate(5deg);
    animation-delay: 4.6s;
}

@keyframes neuralPulse {
    0%, 100% { opacity: 0; transform: scaleX(0); }
    15% { opacity: 0.8; transform: scaleX(1); }
    85% { opacity: 0.8; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

/* Seeds Canvas */
.seeds-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* 旧CSS要素は非表示 */
.dot-grid,
.seed-core,
.growth-ring,
.floating-seed,
.neural-line,
.ambient-glow,
.hero-bg { display: none; }

.hero-title {
    font-family: var(--font-jp);
    font-size: 3.2rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 0.15em;
    animation: fadeInUp 1s ease-out 0.7s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Section
======================================== */
.section {
    padding: var(--section-padding) 0;
}

.section-gray {
    background: var(--color-bg-alt);
}

.section-dark {
    background: var(--color-bg-dark);
    color: white;
}

.section-gradient {
    background: var(--color-bg-dark);
    color: white;
}

/* ========================================
   Titles - ミニマル
======================================== */
.pageTitle {
    margin-bottom: 72px;
    text-align: center;
}

.enTit, .en-title {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.jpTit, .jp-title {
    display: block;
    font-family: var(--font-jp);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--color-text);
}

.section-dark .enTit,
.section-gradient .enTit {
    color: rgba(255,255,255,0.4);
}

.section-dark .jpTit,
.section-gradient .jpTit,
.section-dark .jp-title,
.section-gradient .jp-title {
    color: white;
}

.pageSubTitle {
    margin-bottom: 40px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.04em;
}

.pageSubTitle::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--color-text);
    margin-right: 16px;
    vertical-align: middle;
}

/* ========================================
   Service Cards - ボーダーのみ
======================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    align-items: stretch;
}

.service-card {
    padding: 48px 32px;
    background: var(--color-bg);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: var(--color-bg-alt);
}

.service-card .title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--color-text);
    letter-spacing: 0.04em;
}

.service-card .txt,
.service-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.9;
}

/* サービスアイコン（モノトーン） */
.service-card.web,
.service-card.consulting,
.service-card.server,
.service-card.design,
.service-card.event,
.service-card.photograph {
    padding-top: 88px;
    background-color: var(--color-bg);
    background-repeat: no-repeat;
    background-position: top 32px center;
    background-size: 32px auto;
}

.service-card.web:hover,
.service-card.consulting:hover,
.service-card.server:hover,
.service-card.design:hover,
.service-card.event:hover,
.service-card.photograph:hover {
    background-color: var(--color-bg-alt);
}

.service-card.web { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='1'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); }
.service-card.consulting { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='1'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E"); }
.service-card.server { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='1'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Ccircle cx='6' cy='6' r='1' fill='%230F172A'/%3E%3Ccircle cx='6' cy='18' r='1' fill='%230F172A'/%3E%3C/svg%3E"); }
.service-card.design { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='1'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E"); }
.service-card.event { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='1'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.service-card.photograph { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='1'%3E%3Cpath d='M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h4l2-3h6l2 3h4a2 2 0 012 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E"); }

/* ========================================
   Company Cards - テキストのみ
======================================== */
.company-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.1);
    margin-top: 60px;
}

.company-card {
    height: 200px;
}

.company-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    background: var(--color-bg-dark);
    transition: var(--transition);
}

.company-card a:hover {
    background: #1E293B;
    opacity: 1;
}

.company-card p {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-align: center;
}

.company-card p span {
    display: block;
    font-size: 0.65rem;
    margin-top: 12px;
    opacity: 0.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ========================================
   Buttons - シンプル・角ばり
======================================== */
.btn,
.detailsLink a {
    display: inline-block;
    padding: 14px 40px;
    background: var(--color-primary);
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover,
.detailsLink a:hover {
    background: #1E293B;
    opacity: 1;
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-text);
    color: white;
}

.section-dark .btn,
.section-gradient .btn,
.section-dark .detailsLink a,
.section-gradient .detailsLink a {
    background: #FFFFFF;
    color: var(--color-primary);
}

.section-dark .btn:hover,
.section-gradient .btn:hover,
.section-dark .detailsLink a:hover,
.section-gradient .detailsLink a:hover {
    background: #F1F5F9;
    opacity: 1;
}

/* ========================================
   Blog
======================================== */
.blog-section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.blog-section .pageTitleWrap { width: 240px; }
.blog-section .entryWrap { flex: 1; }

.blog-list { list-style: none; }

.blog-list li {
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}

.blog-list li:first-child { padding-top: 0; }

.blog-list a {
    display: flex;
    gap: 24px;
    text-decoration: none;
    color: var(--color-text);
}

.blog-list a:hover { opacity: 0.6; }

.blog-date {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

/* ========================================
   Recruit - 1カラム・タイトル左寄せ
======================================== */
.recruit-section {
    padding: var(--section-padding) 0;
    background: var(--color-bg-alt);
}

.recruit-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

.recruit-content {
    width: 100%;
}

.recruit-content .pageTitle {
    margin-bottom: 40px;
    text-align: left;
}
.recruit-content .enTit { color: var(--color-text-light); }
.recruit-content .jpTit { color: var(--color-text); }
.recruit-content p { color: var(--color-text-muted); margin-bottom: 2rem; text-align: center; }
.recruit-content .detailsLink { text-align: center; }

.recruit-image { display: none; }

/* ========================================
   Blog Archive List
======================================== */
.blog-archive-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
}

.blog-archive-item .blog-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    background: #0f0f23;
    border-radius: 8px;
    overflow: hidden;
}

.blog-archive-item .blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-archive-item .blog-content {
    flex: 1;
}

.blog-archive-item .blog-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}

.blog-archive-item .blog-meta time {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--color-text-muted);
}

.blog-archive-item .blog-category-tag {
    font-size: 12px;
    padding: 3px 10px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 4px;
}

.blog-archive-item h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.blog-archive-item h2 a {
    text-decoration: none;
    color: var(--color-text);
}

.blog-archive-item h2 a:hover {
    opacity: 0.7;
}

.blog-archive-item .blog-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ========================================
   Blog Entry List - Seeds Style No Image
======================================== */
.entryWrap .imgBox {
    position: relative;
    overflow: hidden;
}

/* Seedsパターン風のnoimage背景 */
.entryWrap .imgBox img[src*="noimage"] {
    opacity: 0;
}

.entryWrap .imgBox:has(img[src*="noimage"]) {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 50%, #F0FDF4 100%);
    min-height: 180px;
}

.entryWrap .imgBox:has(img[src*="noimage"])::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(22, 101, 52, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 101, 52, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
}

/* Seeds（種子）パターン */
.entryWrap .imgBox:has(img[src*="noimage"])::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='6' fill='rgba(22,101,52,0.3)'/%3E%3Cline x1='50' y1='50' x2='20' y2='30' stroke='rgba(22,101,52,0.15)' stroke-width='1'/%3E%3Ccircle cx='20' cy='30' r='3' fill='rgba(22,101,52,0.2)'/%3E%3Cline x1='50' y1='50' x2='80' y2='35' stroke='rgba(22,101,52,0.15)' stroke-width='1'/%3E%3Ccircle cx='80' cy='35' r='3' fill='rgba(22,101,52,0.2)'/%3E%3Cline x1='50' y1='50' x2='30' y2='75' stroke='rgba(22,101,52,0.15)' stroke-width='1'/%3E%3Ccircle cx='30' cy='75' r='3' fill='rgba(22,101,52,0.2)'/%3E%3Cline x1='50' y1='50' x2='75' y2='70' stroke='rgba(22,101,52,0.15)' stroke-width='1'/%3E%3Ccircle cx='75' cy='70' r='3' fill='rgba(22,101,52,0.2)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.8;
}

/* ========================================
   Page Header
======================================== */
.page-header {
    position: relative;
    padding: 100px 32px;
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 50%, #F8FAFC 100%);
    text-align: center;
    overflow: hidden;
}

/* グリッドメッシュ背景（トップページと同じ） */
.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header .pageTitle { margin-bottom: 0; }

.breadcrumb {
    padding: 16px 0;
    font-size: 12px;
    color: var(--color-text-light);
    background: var(--color-bg-alt);
    letter-spacing: 0.04em;
}

.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { opacity: 0.6; }

/* ========================================
   Tables
======================================== */
.data-table,
.pageTable {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td,
.pageTable th,
.pageTable td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    font-size: 14px;
}

.data-table th,
.pageTable th {
    width: 160px;
    font-weight: 500;
    background: var(--color-bg-alt);
    color: var(--color-text);
}

/* ========================================
   Message Box
======================================== */
.message-box {
    margin-bottom: 40px;
    padding: 48px;
    background: var(--color-bg-alt);
}

.message-box h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--color-text);
    letter-spacing: 0.04em;
}

.message-box p {
    line-height: 2.2;
    margin-bottom: 1.2em;
    color: var(--color-text-muted);
    font-size: 14px;
}

.message-box .signature {
    margin-top: 40px;
    text-align: right;
}

.message-box .signature p {
    margin-bottom: 4px;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.message-box .signature .name {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: 0.1em;
}

/* ========================================
   History Timeline
======================================== */
.history-timeline {
    width: 100%;
    border-collapse: collapse;
}

.history-timeline th,
.history-timeline td {
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.history-timeline th {
    width: 140px;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 0.02em;
}

/* ========================================
   Map
======================================== */
.map-container {
    margin-top: 40px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    filter: grayscale(100%);
}

/* ========================================
   Footer - ダークネイビー
======================================== */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo { margin-bottom: 24px; }
.footer-logo img {
    width: 100px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-address {
    font-size: 12px;
    line-height: 2.2;
    color: rgba(255,255,255,0.4);
}

.footer-address strong {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.04em;
}

.footer-nav h4 {
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 10px; }

.footer-nav a {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    letter-spacing: 0.02em;
}
.footer-nav a:hover { color: rgba(255,255,255,0.8); opacity: 1; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    text-align: center;
}

.copyright {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.1em;
}

/* ========================================
   Responsive
======================================== */
@media screen and (max-width: 960px) {
    .menu-toggle { display: flex; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .company-cards { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 767px) {
    :root {
        --header-height: 60px;
        --section-padding: 80px;
    }
    body { font-size: 14px; }
    .container, .innerBasic { padding: 0 20px; }
    .hero { min-height: 70vh; padding: 100px 20px; }
    .hero-title { font-size: 2rem; letter-spacing: 0.12em; }
    .jpTit, .jp-title { font-size: 1.4rem; }
    .service-grid { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--color-border); }
    .service-card { border-bottom: 1px solid var(--color-border); }
    .service-card:last-child { border-bottom: none; }
    .company-cards { grid-template-columns: 1fr; }
    .company-card { height: 160px; }
    .blog-section { flex-direction: column; gap: 40px; }
    .blog-section .pageTitleWrap { width: 100%; }
    .page-header { padding: 60px 20px; }
    .page-header .pageTitle { margin-bottom: 0; }
    .breadcrumb { padding: 12px 0; font-size: 11px; }
    .blog-list a { flex-direction: column; gap: 16px; }
    .blog-list .imgBox { width: 100%; }
    .blog-list .textBox { width: 100%; }
    .blog-archive-item { flex-direction: column; gap: 16px; padding: 24px 0; }
    .blog-archive-item .blog-thumbnail { width: 100%; height: 180px; }
    .blog-archive-item h2 { font-size: 1.1rem; }
    .blog-archive-item .blog-excerpt { font-size: 13px; }
    .data-table th,
    .data-table td,
    .pageTable th,
    .pageTable td {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ========================================
   Mobile Menu (SP)
======================================== */
@media screen and (max-width: 960px) {
    /* バーガーメニューボタン - アクティブ状態 */
    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .menu-toggle span {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* メインナビ - モバイル（デフォルト非表示） */
    .main-nav {
        position: fixed;
        top: var(--header-height, 72px);
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-height, 72px));
        height: calc(100dvh - var(--header-height, 72px));
        background: #FFFFFF;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
        overflow-y: auto;
    }
    .main-nav.is-open {
        transform: translateX(0);
        visibility: visible;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        height: auto;
    }
    .main-nav li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid var(--color-border, #E5E7EB);
    }
    .main-nav li:first-child {
        border-top: 1px solid var(--color-border, #E5E7EB);
    }
    .main-nav li a {
        display: block;
        padding: 16px;
        height: auto;
        font-size: 15px;
        text-align: center;
        opacity: 1;
    }
    .main-nav .nav-contact {
        margin-top: 24px;
        border: none;
    }
    .main-nav .nav-contact a {
        background: var(--color-primary, #1E3A5F);
        color: #fff;
        border-radius: 8px;
        padding: 16px 32px;
    }

    /* メニューオープン時のbody固定 */
    body.menu-open {
        overflow: hidden;
    }
}

/* ========================================
   Service Page Detail Cards
======================================== */
.service-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

.service-card.service-detail {
    padding: 40px 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 各カードに異なる薄い背景グラデーション */
.service-card.service-detail:nth-child(1) {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
}
.service-card.service-detail:nth-child(2) {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F3FF 100%);
}
.service-card.service-detail:nth-child(3) {
    background: linear-gradient(135deg, #FFFFFF 0%, #ECFDF5 100%);
}
.service-card.service-detail:nth-child(4) {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF7ED 100%);
}
.service-card.service-detail:nth-child(5) {
    background: linear-gradient(135deg, #FFFFFF 0%, #FDF2F8 100%);
}
.service-card.service-detail:nth-child(6) {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDFA 100%);
}

.service-card.service-detail:hover {
    background: var(--color-bg-alt);
}

.service-card.service-detail .title {
    text-align: left;
    margin-bottom: 16px;
    position: relative;
    padding-left: 16px;
    display: flex;
    align-items: center;
}

/* タイトル左にアクセントライン */
.service-card.service-detail .title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 1.1em;
    background: var(--color-primary);
    opacity: 0.3;
}

.service-card.service-detail .txt {
    text-align: left;
    flex-grow: 1;
}

.service-card.service-detail .service-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    border-top: 1px solid var(--color-border-light);
    padding-top: 16px;
}

.service-card.service-detail .service-list li {
    position: relative;
    padding-left: 12px;
    font-size: 13px;
    color: var(--color-text);
    line-height: 2;
}

.service-card.service-detail .service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 3px;
    height: 3px;
    background: var(--color-text-light);
    border-radius: 50%;
}

@media screen and (max-width: 960px) {
    .service-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .service-grid-3col {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Utilities
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ========================================
   Contact Form - Modern Design
======================================== */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
}

.form-label .required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.form-label .optional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #888;
    background: #e8e8e8;
    border-radius: 3px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: inherit;
    color: var(--color-text-dark);
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: #cbd5e1;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #a0aec0;
}

.form-textarea {
    min-height: 200px;
    resize: vertical;
    line-height: 1.8;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 50px;
}

.form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 15l-6-6-6 6'/%3E%3C/svg%3E");
}

/* Checkbox Custom Style */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 16px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-checkbox:hover {
    border-color: var(--color-primary);
    background: #f0f4ff;
}

.form-checkbox input[type="checkbox"] {
    display: none;
}

.form-checkbox .checkbox-custom {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.form-checkbox .checkbox-custom::after {
    content: "";
    width: 12px;
    height: 6px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg) scale(0);
    transition: transform 0.2s ease;
}

.form-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--gradient-button);
    border-color: var(--color-primary);
}

.form-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: rotate(-45deg) scale(1);
}

.form-checkbox .checkbox-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-dark);
}

.form-checkbox .checkbox-text a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-checkbox .checkbox-text a:hover {
    color: var(--color-secondary);
}

/* Submit Button */
.form-submit {
    margin-top: 40px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: var(--gradient-button);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.25);
    transition: all 0.4s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit::after {
    content: "";
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13'/%3E%3Cpath d='M22 2L15 22L11 13L2 9L22 2Z'/%3E%3C/svg%3E") no-repeat center;
    transition: transform 0.3s ease;
}

.btn-submit:hover::after {
    transform: translate(3px, -3px);
}

/* Form Note */
.form-note {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.8;
}

.form-note p {
    margin: 0;
}

/* Privacy Policy Section */
.privacy-section {
    margin-top: 10px;
}

.privacy-box {
    position: relative;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.privacy-content {
    max-height: 250px;
    overflow-y: auto;
    padding: 24px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #4a5568;
}

.privacy-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.privacy-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 20px 0 10px 0;
}

.privacy-content p {
    margin: 0 0 12px 0;
}

.privacy-content ul {
    margin: 8px 0 16px 0;
    padding-left: 24px;
}

.privacy-content li {
    margin-bottom: 6px;
}

.privacy-content .privacy-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #718096;
}

/* Custom Scrollbar */
.privacy-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Scroll Hint */
.privacy-scroll-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0) 100%);
    text-align: center;
    pointer-events: none;
}

.privacy-scroll-hint span {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-button);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Privacy Checkbox States */
.privacy-checkbox {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.privacy-checkbox.enabled {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.privacy-notice {
    font-size: 0.85rem;
    color: #e53e3e;
    margin-top: 8px;
    padding: 10px 16px;
    background: rgba(229, 62, 62, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-notice::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #e53e3e;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Submit Button States */
.btn-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

.btn-submit:disabled:hover {
    transform: none;
    box-shadow: none;
}

.submit-notice {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 16px;
}

/* Form Locked Message */
.form-locked-message {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    margin-top: 30px;
}

.form-locked-message .locked-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.6;
}

.form-locked-message p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* CF7 Form Area */
.cf7-form-area {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.cf7-notice {
    text-align: center;
    padding: 40px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    color: #92400e;
}

/* ========================================
   Contact Form 7 Custom Styles
======================================== */
.wpcf7 {
    max-width: 700px;
    margin: 0 auto;
}

.wpcf7-form {
    /* CF7フォーム全体 */
}

.wpcf7-form .form-group {
    margin-bottom: 28px;
}

.wpcf7-form .form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
}

/* CF7 Input Fields */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: inherit;
    color: var(--color-text-dark);
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.wpcf7-form-control.wpcf7-text:hover,
.wpcf7-form-control.wpcf7-email:hover,
.wpcf7-form-control.wpcf7-tel:hover,
.wpcf7-form-control.wpcf7-textarea:hover {
    border-color: #cbd5e1;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.wpcf7-form-control.wpcf7-textarea {
    min-height: 200px;
    resize: vertical;
    line-height: 1.8;
}

/* CF7 Select */
.wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: inherit;
    color: var(--color-text-dark);
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 50px;
}

.wpcf7-form-control.wpcf7-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

/* CF7 Checkbox (Acceptance) */
.wpcf7-form-control.wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 16px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.wpcf7-form-control.wpcf7-acceptance:hover {
    border-color: var(--color-primary);
    background: #f0f4ff;
}

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wpcf7-form-control.wpcf7-acceptance input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: var(--color-primary);
}

/* CF7 Radio Buttons */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
    margin: 0;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item label:hover {
    border-color: var(--color-primary);
    background: #f8f9ff;
}

.wpcf7-form-control.wpcf7-radio input[type="radio"] {
    position: relative;
    width: 22px;
    height: 22px;
    margin: 0;
    appearance: none;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form-control.wpcf7-radio input[type="radio"]:checked {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.wpcf7-form-control.wpcf7-radio input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item:has(input:checked) label {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

/* CF7 Submit Button */
.wpcf7-form-control.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.4s ease;
}

.wpcf7-form-control.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.wpcf7-form-control.wpcf7-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* CF7 Validation Error */
.wpcf7-not-valid-tip {
    display: block;
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(229, 62, 62, 0.08);
    border-left: 3px solid #e53e3e;
    border-radius: 0 4px 4px 0;
}

.wpcf7-not-valid {
    border-color: #e53e3e !important;
}

/* CF7 Response Messages */
.wpcf7-response-output {
    margin: 20px 0 !important;
    padding: 20px !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    text-align: center;
    color: #991b1b !important;
    background: rgba(239, 68, 68, 0.1) !important;
    border: 2px solid #ef4444 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 2px solid #10b981 !important;
    color: #065f46 !important;
}

.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 2px solid #ef4444 !important;
    color: #991b1b !important;
}

/* Deprecated classes (for older CF7 versions) */
.wpcf7-mail-sent-ok {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 2px solid #10b981 !important;
    color: #065f46 !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 2px solid #ef4444 !important;
    color: #991b1b !important;
}

/* CF7 Spinner */
.wpcf7-spinner {
    margin-left: 15px;
}

/* reCAPTCHA Badge */
.grecaptcha-badge {
    visibility: hidden;
}

/* Contact Form Responsive */
@media screen and (max-width: 767px) {
    .form-input,
    .form-textarea,
    .form-select {
        padding: 14px 16px;
    }

    .btn-submit,
    .wpcf7-form-control.wpcf7-submit {
        max-width: 100%;
        padding: 18px 30px;
        font-size: 1rem;
    }

    .privacy-content {
        max-height: 200px;
        padding: 20px;
    }

    .form-locked-message {
        padding: 40px 20px;
    }

    .form-locked-message .locked-icon {
        font-size: 2.5rem;
    }
}

/* ========================================
   Pagination - ブログ一覧用
======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-bg);
    text-decoration: none;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-text-light);
    opacity: 1;
}

.pagination .current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination .prev,
.pagination .next {
    padding: 0 20px;
}

.pagination .dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 8px;
}

/* ========================================
   Single Post Navigation - 前後記事ナビ
======================================== */
.post-navigation {
    max-width: calc(100% - 50px);
    margin: 80px auto 0;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

.post-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.post-nav-prev,
.post-nav-next,
.post-nav-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.post-nav-prev:hover,
.post-nav-next:hover,
.post-nav-list:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-text-light);
    opacity: 1;
}

.post-nav-list {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    padding: 14px 40px;
}

.post-nav-list:hover {
    background: var(--color-text);
    border-color: var(--color-text);
    color: #fff;
}

.post-nav-prev.disabled,
.post-nav-next.disabled {
    visibility: hidden;
    width: 130px;
}

@media (max-width: 768px) {
    .post-navigation {
        margin-top: 48px;
        padding-top: 32px;
    }

    .post-nav-links {
        gap: 12px;
    }

    .post-nav-prev,
    .post-nav-next,
    .post-nav-list {
        padding: 12px 16px;
        font-size: 13px;
    }

    .post-nav-list {
        padding: 12px 24px;
    }
}

/* ========================================
   Single Post - 記事詳細ページ
======================================== */
.single-post {
    padding: 80px 0 120px;
}

/* Post Header */
.post-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-border);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.post-meta time {
    font-size: 14px;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background: var(--color-primary);
    border-radius: 4px;
    text-decoration: none;
}

.post-category:hover {
    opacity: 0.8;
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

/* Post Content */
.post-content {
    max-width: calc(100% - 50px);
    margin: 0 auto;
    font-size: 16px;
    line-height: 2;
    color: var(--color-text);
}

.post-content h2 {
    position: relative;
    margin: 64px 0 24px;
    padding-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    color: #334155;
}

.post-content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 180px;
    height: 2px;
    background: linear-gradient(to right, #94a3b8, transparent);
}

.post-content h3 {
    margin: 48px 0 20px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    color: #334155;
}

.post-content h4 {
    margin: 40px 0 16px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    color: #475569;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content ul,
.post-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-primary);
    font-style: italic;
}

.post-content pre {
    margin: 32px 0;
    padding: 24px;
    background: #1e293b;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
}

.post-content code {
    padding: 2px 6px;
    background: var(--color-bg-alt);
    border-radius: 4px;
    font-size: 0.9em;
}

.post-content pre code {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.post-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 32px auto;
    border-radius: 8px;
}

.post-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.post-content a:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .single-post {
        padding: 48px 0 80px;
    }

    .post-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-content {
        font-size: 15px;
        line-height: 1.9;
    }

    .post-content h2 {
        margin: 48px 0 20px;
        font-size: 1.3rem;
    }

    .post-content h3 {
        margin: 40px 0 16px;
        font-size: 1.15rem;
    }
}

/* ========================================
   404 Error Page
======================================== */
.error-404-hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #fff 100%);
}

.error-code {
    display: block;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-border);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.error-message {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.9;
}

.error-404-nav {
    padding: 80px 0 120px;
}

.error-nav-inner {
    max-width: 800px;
    margin: 0 auto;
}

.error-nav-lead {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.error-nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.error-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.error-nav-link:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    opacity: 1;
}

.error-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-bg-alt);
    border-radius: 10px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.error-nav-link:hover .error-nav-icon {
    background: var(--color-primary);
    color: #fff;
}

.error-nav-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.error-nav-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
}

.error-nav-desc {
    font-size: 13px;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .error-404-hero {
        padding: 60px 0 50px;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-title {
        font-size: 1.25rem;
    }

    .error-404-nav {
        padding: 50px 0 80px;
    }

    .error-nav-links {
        grid-template-columns: 1fr;
    }

    .error-nav-link {
        padding: 20px;
    }
}
