/*
Theme Name: SmartFlow Landing Page
Description: スマートフローLab専用ランディングページテーマ
Version: 1.0
Author: SmartFlow Lab
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #667eea;
    --primary-orange: #ff6b35;
    --gradient: linear-gradient(135deg, #667eea 0%, #ff6b35 100%);
    --gradient-reverse: linear-gradient(135deg, #ff6b35 0%, #667eea 100%);
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --shadow: 0 10px 25px rgba(102, 126, 234, 0.1);
    --shadow-hover: 0 20px 40px rgba(102, 126, 234, 0.2);
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* ヘッダー */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ロゴリンクスタイル（修正版） */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s ease;
}

.logo-link:hover {
    text-decoration: none !important;
    transform: translateY(-2px);
}

.logo-link:hover .logo-text {
    background: var(--gradient-reverse);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 元のロゴスタイルを維持 */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ヒーローセクション */
.hero {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.btn::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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* 実績セクション */
.results {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 60px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.result-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.result-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.result-text {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* 課題セクション */
.problems {
    padding: 80px 0;
    background: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

/* 料金プラン */
.pricing {
    padding: 80px 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 3px solid var(--primary-orange);
}

.pricing-card.popular::before {
    content: '人気プラン';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-reverse);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular:hover {
    transform: translateY(-10px) scale(1.05);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 18px;
}

/* オプション */
.options {
    padding: 60px 0;
    background: var(--white);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.option-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border-left: 5px solid var(--primary-orange);
}

.option-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-blue);
}

/* プロセス（修正版） */
.process {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-timeline {
    position: relative;
    margin-top: 50px;
    padding: 0 20px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient);
    transform: translateX(-50%);
    z-index: 1;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    min-height: 120px;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-content {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 45%;
    position: relative;
    z-index: 3;
}

.process-step:nth-child(even) .process-content {
    margin-right: 10%;
}

.process-step:nth-child(odd) .process-content {
    margin-left: 10%;
}

.process-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: 4px solid white;
}

.step-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--white);
}

.faq-list {
    margin-top: 50px;
}

.faq-item {
    background: var(--bg-light);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 25px;
    background: var(--bg-light);
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 200px;
}

.faq-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* CTA セクション */
.final-cta {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--primary-orange);
}

.footer-section p, .footer-section a {
    color: #a0aec0;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

/* スクロールエフェクト */
.header.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease;
}

/* ホバーエフェクト強化 */
.btn:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.result-card:hover, .pricing-card:hover, .problem-item:hover {
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* プロセスタイムライン - モバイル修正 */
    .process-timeline {
        padding-left: 40px;
        padding-right: 20px;
    }
    
    .process-timeline::before {
        left: 35px;
        transform: none;
    }

    .process-step {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
        margin-bottom: 60px;
        min-height: auto;
    }

    .process-content {
        width: 100% !important;
        margin: 0 !important;
    }

    .process-number {
        left: 35px !important;
        top: 30px !important;
        transform: none !important;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* 追加のアニメーション効果 */
@keyframes fall {
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* 法的ページ共通スタイル */
.legal-page {
    min-height: 100vh;
}

.legal-hero {
    background: var(--gradient);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.legal-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.legal-content {
    padding: 60px 0;
    background: var(--white);
}

.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-meta {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.legal-meta p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.legal-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.legal-text p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-text li {
    line-height: 1.8;
    margin-bottom: 8px;
}

.contact-info {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

/* 特商法ページ専用 */
.tokusho-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.tokusho-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.tokusho-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.tokusho-item small {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 会社概要ページ専用 */
.mission-section {
    text-align: center;
    padding: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 15px;
    margin-bottom: 50px;
}

.mission-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.7;
}

.results-highlight {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 50px;
}

.results-highlight h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-label {
    display: block;
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 5px;
}

.results-detail {
    color: var(--text-light);
    line-height: 1.6;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.company-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.company-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.service-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-orange);
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.business-list {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.business-list li {
    line-height: 1.8;
    margin-bottom: 10px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .legal-title {
        font-size: 2rem;
    }
    
    .tokusho-grid, .company-grid, .services-list {
        grid-template-columns: 1fr;
    }
    
    .highlight-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 記事ページスタイル */
.article-page {
    min-height: 100vh;
    background: var(--white);
}

.article-hero {
    background: var(--gradient);
    color: white;
    padding: 40px 0;
}

.article-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.article-breadcrumb a {
    color: white;
    text-decoration: none;
    margin-right: 5px;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-title {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-category {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
}

.article-content {
    padding: 60px 0;
}

.article-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.article-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 記事内要素のスタイル */
.article-body h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-orange);
    position: relative;
}

.article-body h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin: 30px 0 15px 0;
    padding-left: 15px;
    border-left: 4px solid var(--primary-orange);
}

.article-body h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 25px 0 10px 0;
    font-weight: bold;
}

.article-body p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-body ul, .article-body ol {
    margin: 20px 0 20px 25px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-body strong {
    color: var(--primary-blue);
    font-weight: bold;
}

.article-body em {
    background: linear-gradient(transparent 60%, #fff3cd 60%);
    font-style: normal;
    padding: 2px 4px;
}

/* コードブロック */
.article-body pre {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
    border-left: 4px solid var(--primary-blue);
}

.article-body code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-body pre code {
    background: none;
    padding: 0;
}

/* 引用 */
.article-body blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-orange);
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    position: relative;
}

.article-body blockquote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-orange);
    position: absolute;
    top: -10px;
    left: 15px;
}

/* 表 */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.article-body th {
    background: var(--gradient);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.article-body td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--bg-light);
}

.article-body tr:nth-child(even) {
    background: var(--bg-light);
}

/* ハイライトボックス */
.highlight-box {
    background: var(--gradient);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
}

.highlight-box h3 {
    margin-bottom: 15px;
    border: none;
    padding: 0;
}

.highlight-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

/* FAQ風のスタイル */
.faq-item {
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background: var(--primary-blue);
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    margin: 0;
}

.faq-answer {
    padding: 20px;
    background: white;
}

/* 記事末尾CTA */
.article-cta {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--bg-light);
}

.cta-box {
    background: var(--gradient);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 25px;
    opacity: 0.9;
}

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

/* レスポンシブ */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body table {
        font-size: 0.9rem;
    }
}

/* 記事一覧ページスタイル */
.articles-list-page {
    min-height: 100vh;
    background: var(--white);
}

.articles-hero {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.articles-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.articles-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.articles-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.articles-content {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

/* 記事カードスタイル */
.article-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 200px;
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-category {
    position: absolute;
    top: 15px;
    left: 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
}

.card-highlight {
    text-align: center;
    color: white;
}

.highlight-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.highlight-label {
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0.9;
}

.card-content {
    padding: 30px;
}

.card-title {
    margin-bottom: 15px;
}

.card-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-blue);
}

.card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.card-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* CTAセクション */
.articles-cta {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid var(--bg-light);
}

.cta-box {
    background: var(--gradient);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* アニメーション効果 */
.article-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.article-card:nth-child(1) {
    animation-delay: 0.1s;
}

.article-card:nth-child(2) {
    animation-delay: 0.3s;
}

.article-card:nth-child(3) {
    animation-delay: 0.5s;
}

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

/* ホバー時のカード内要素アニメーション */
.article-card:hover .card-highlight {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.article-card:hover .tag {
    background: var(--primary-blue);
    color: white;
    transition: all 0.3s ease;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .articles-title {
        font-size: 2.2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .card-content {
        padding: 25px;
    }
    
    .card-title a {
        font-size: 1.2rem;
    }
    
    .card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cta-box {
        padding: 35px 25px;
    }
    
    .cta-box h2 {
        font-size: 1.7rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 追加効果: カードの境界線アニメーション */
.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

/* PoC詳細ページスタイル */
.poc-page {
    min-height: 100vh;
    background: var(--white);
}

.poc-hero {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.poc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.poc-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.poc-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-highlight {
    background: rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.poc-content {
    padding: 80px 0;
}

.poc-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* セクション共通 */
.poc-wrapper section {
    margin-bottom: 60px;
}

.poc-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.poc-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* 目的セクション */
.purpose-box {
    background: var(--gradient);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* PoC ハイライトカード */
.poc-highlight-card {
    background: var(--white);
    border: 3px solid var(--primary-orange);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    box-shadow: var(--shadow-hover);
}

.poc-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-reverse);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.poc-highlight-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.poc-price {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.poc-duration {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.poc-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.poc-features {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.poc-features li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--text-dark);
}

.poc-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 16px;
}

/* 本格スプリント */
.full-sprint-plans h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    text-align: center;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.plan-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

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

.plan-card.popular {
    border: 2px solid var(--primary-orange);
    background: var(--white);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: white;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.plan-card h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.plan-card ul {
    list-style: none;
    text-align: left;
}

.plan-card li {
    padding: 5px 0;
    color: var(--text-dark);
}

/* オプション */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.option-name {
    font-weight: bold;
    color: var(--text-dark);
}

.option-price {
    font-weight: bold;
    color: var(--primary-blue);
}

/* スコープ */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.scope-included, .scope-excluded {
    padding: 30px;
    border-radius: 15px;
}

.scope-included {
    background: var(--bg-light);
    border-left: 5px solid var(--primary-blue);
}

.scope-excluded {
    background: #fff5f5;
    border-left: 5px solid #e53e3e;
}

.scope-included h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.scope-excluded h3 {
    color: #e53e3e;
    margin-bottom: 20px;
}

.scope-included ul, .scope-excluded ul {
    list-style: none;
}

.scope-included li, .scope-excluded li {
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.6;
}

.scope-included li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.scope-excluded li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #e53e3e;
    font-weight: bold;
}

/* KPI */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.kpi-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-orange);
}

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

.kpi-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.kpi-card h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.kpi-example {
    color: var(--text-light);
    line-height: 1.6;
}

/* プロセス比較 */
.process-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.process-column h3 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.4rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.5;
}

/* 契約条件 */
.contract-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.contract-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.contract-item h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contract-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* CTA */
.poc-cta {
    margin-top: 60px;
    text-align: center;
}

.cta-box {
    background: var(--gradient);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
}

.cta-box h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-box h2::after {
    background: rgba(255,255,255,0.3);
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* レスポンシブ */
@media (max-width: 768px) {
    .poc-title {
        font-size: 2.2rem;
    }
    
    .scope-grid, .process-comparison {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .kpi-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .contract-grid {
        grid-template-columns: 1fr;
    }
    
    .option-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 無料診断フォームページ */
.diagnosis-page {
    min-height: 100vh;
    background: var(--white);
}

.diagnosis-hero {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.diagnosis-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.diagnosis-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.diagnosis-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.hero-benefits {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.benefit-item {
    background: rgba(255,255,255,0.2);
    padding: 15px 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.diagnosis-content {
    padding: 80px 0;
}

.diagnosis-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.diagnosis-wrapper section {
    margin-bottom: 60px;
}

.diagnosis-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.diagnosis-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
}

/* 価値訴求 */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-top: 4px solid var(--primary-orange);
}

.value-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* フォーム */
.form-notice {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-blue);
}

.alert {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.alert-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.alert h3 {
    margin-bottom: 15px;
    color: #856404;
}

.alert ul {
    margin: 15px 0 15px 20px;
}

.diagnosis-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.required {
    color: var(--primary-orange);
    font-size: 0.9rem;
    margin-left: 5px;
}

.optional {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="datetime-local"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
}

.datetime-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.datetime-section h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.datetime-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.checkbox-label a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
}

.form-note {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ */
.faq-list .faq-item {
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-list .faq-question {
    background: var(--primary-blue);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1rem;
}

.faq-list .faq-answer {
    padding: 20px;
    background: white;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .diagnosis-title {
        font-size: 2.2rem;
    }
    
    .hero-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .diagnosis-form {
        padding: 25px;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Contact Form 7 フォームレイアウト統一
   style.cssの最後に追加してください
   ======================================== */

/* 全体的なフォームコンテナの調整 */
.wpcf7-form {
    max-width: 800px;
    margin: 0 auto;
}

/* フォームフィールドの統一スタイル */
.wpcf7-form p,
.wpcf7-form-control-wrap {
    width: 100%;
    margin-bottom: 25px;
}

/* ラベルの統一スタイル */
.wpcf7-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-dark);
    width: 100%;
}

/* 入力フィールドの統一スタイル - 重要度を上げて既存スタイルを上書き */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="datetime-local"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    display: block;
    margin: 0;
}

/* テキストエリアの高さ調整 */
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* フォーカス時のスタイル */
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: #fafafa;
}

/* 必須項目のマーク */
.wpcf7-form .required {
    color: var(--primary-orange);
    font-size: 0.9em;
    margin-left: 5px;
}

/* ========================================
   診断ページ専用の調整
   ======================================== */

.diagnosis-page .wpcf7-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* 診断ページの各フィールドグループ */
.diagnosis-page .wpcf7-form p {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

/* ========================================
   お問い合わせページ専用の調整
   ======================================== */

.contact-page .wpcf7-form {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
}

/* お問い合わせページの各フィールドグループ */
.contact-page .wpcf7-form p {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

/* ========================================
   送信ボタンの統一スタイル
   ======================================== */

.wpcf7-form .wpcf7-submit {
    display: block;
    margin: 30px auto 0;
    padding: 18px 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.wpcf7-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ========================================
   チェックボックスとラジオボタン
   ======================================== */

.wpcf7-form .wpcf7-list-item {
    margin: 0 20px 10px 0;
    display: inline-block;
}

.wpcf7-form .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.wpcf7-form .wpcf7-list-item input[type="checkbox"],
.wpcf7-form .wpcf7-list-item input[type="radio"] {
    margin-right: 8px;
    width: auto !important;
}

/* ========================================
   エラーメッセージとレスポンス
   ======================================== */

.wpcf7-not-valid-tip {
    color: #ff3333;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

.wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* ========================================
   特定の問題の修正
   ======================================== */

/* 「困りごと」フィールドなど、特定のフィールドの調整 */
.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* インラインで配置されているラベルとフィールドを縦並びに修正 */
.wpcf7-form br {
    display: none; /* 不要な改行を削除 */
}

/* フィールド間の余白を統一 */
.wpcf7-form > p:not(:last-child) {
    margin-bottom: 25px;
}

/* プレースホルダーのスタイル */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* ========================================
   レスポンシブ対応
   ======================================== */

@media (max-width: 768px) {
    .wpcf7-form {
        padding: 25px;
    }
    
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="url"],
    .wpcf7-form input[type="number"],
    .wpcf7-form input[type="date"],
    .wpcf7-form input[type="datetime-local"],
    .wpcf7-form select,
    .wpcf7-form textarea {
        font-size: 16px; /* モバイルでのズーム防止 */
    }
    
    .wpcf7-form .wpcf7-submit {
        width: 100%;
        padding: 15px 30px;
    }
}