/* ========================================
   基本設定
   ======================================== */

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

body {
    font-family: 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'MS PGothic', sans-serif;
    font-size: 16px; /* ベースサイズ */
    line-height: 1.618; /* 黄金比 */
    color: #2c3e50;
    scroll-behavior: smooth;
    background-color: #fafbfc;
    font-feature-settings: 'palt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ========================================
   共通パーツ
   ======================================== */

/* セクションタイトル - 黄金比スケール */
.section-title {
    text-align: center;
    font-size: 2.618rem; /* 16px × 1.618² */
    color: #2c3e50;
    margin-bottom: 1.618rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-family: 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'MS PGothic', sans-serif;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem; /* 18px = 16px × 1.125 */
    color: #7f8c8d;
    margin-bottom: 4.236rem; /* 16px × 1.618² × 1.618 */
    max-width: 38.196rem; /* 600px を黄金比で調整 */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.618;
}

/* ボタン - 黄金比スケール */
.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 0.875rem 1.618rem; /* 14px 26px を黄金比で調整 */
    border-radius: 0.25rem; /* 角の丸みを減らして硬い印象に */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid;
    text-align: center;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #2980b9;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f6391 100%);
    border-color: #1f6391;
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #3498db;
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: white;
    color: #7f8c8d;
    border-color: #bdc3c7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-outline:hover {
    background: #ecf0f1;
    border-color: #95a5a6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1.125rem 2.618rem; /* 18px 42px を黄金比で調整 */
    font-size: 1.125rem;
    border-radius: 0.375rem; /* 角の丸みを減らして硬い印象に */
}

/* カード共通スタイル */
.card {
    background: white;
    border-radius: 0.375rem; /* 角の丸みを減らして硬い印象に */
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ========================================
   ヘッダー・ナビゲーション
   ======================================== */

.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ecf0f1;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #3498db;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s ease;
    border-radius: 2px;
}


/* 固定CTAボタン */
.fixed-cta-bottom {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fixed-btn-download,
.fixed-btn-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fixed-btn-download {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.fixed-btn-contact {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.fixed-btn-download:hover,
.fixed-btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


/* ========================================
   機能セクション
   ======================================== */

.features {
    padding: 6.472rem 0; /* 80px を黄金比で調整 */
    background: white;
}

/* 機能ハイライト */
.feature-highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
    border-radius: 16px;
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid #e3f2fd;
    position: relative;
    overflow: hidden;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.feature-highlight h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.highlight-description {
    font-size: 1.1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* 問題・解決セクション */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.problem,
.solution {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #ecf0f1;
}

.problem {
    border-left: 4px solid #e74c3c;
    background: linear-gradient(135deg, #fdeded 0%, #fef5f5 100%);
}

.solution {
    border-left: 4px solid #27ae60;
    background: linear-gradient(135deg, #eafaf1 0%, #f0fdf4 100%);
}

.problem h4 {
    color: #c0392b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.arrow {
    font-size: 2rem;
    color: #3498db;
    font-weight: bold;
    background: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

/* 機能セクション */
.feature-section {
    display: flex;
    flex-direction: column;
    gap: 4.236rem; /* 3rem × 1.618 */
    margin-top: 4.236rem;
}

/* 機能レイアウト */
.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.236rem; /* 3rem × 1.618 */
    align-items: center;
}

.feature-reverse .feature-layout {
    grid-template-columns: 1fr 1fr;
}

.feature-reverse .feature-text {
    order: 2;
}

.feature-reverse .feature-illustration {
    order: 1;
}

/* イラストプレースホルダー */
.illustration-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
    border: 2px dashed #bdc3c7;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #7f8c8d;
}

.illustration-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #95a5a6;
}

.illustration-placeholder p {
    font-size: 0.9rem;
    margin: 0;
    color: #bdc3c7;
}

.feature-item {
    background: white;
    border-radius: 0.375rem; /* 角の丸みを減らして硬い印象に */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #ecf0f1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid #ecf0f1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    flex-shrink: 0;
}

.feature-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'MS PGothic', sans-serif;
    margin: 0;
    line-height: 1.3;
}

.feature-content {
    padding: 2rem;
}

.feature-content p {
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

/* AI機能・案件管理 */
.ai-feature,
.case-management {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    border: 1px solid #d6eaf8;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.1);
}

.ai-feature h3,
.case-management h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.ai-feature p,
.case-management p {
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* 相談セクション（独立セクション） */
.consultation {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #3b82c7 100%);
    color: white;
    position: relative;
}

.consultation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.consultation .section-title {
    color: white;
    margin-bottom: 1rem;
}

.consultation .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

/* 相談カード */
.consultation-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.consultation-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.consultation-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.download-card {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8) 0%, rgba(41, 128, 185, 0.9) 100%);
}

.trial-card {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.8) 0%, rgba(34, 153, 84, 0.9) 100%);
}

.trial-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #27ae60;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.card-arrow {
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.consultation-card:hover .card-arrow {
    transform: translateX(5px);
}

/* 相談フッター */
.consultation-footer {
    text-align: center;
    margin-top: 3rem;
}

.consultation-footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.btn-contact {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 相談セクションレスポンシブデザイン */
@media (max-width: 768px) {
    .consultation-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .consultation-card {
        padding: 2rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .card-content h3 {
        font-size: 1.3rem;
    }
    
    .trial-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* ========================================
   課題解決例セクション
   ======================================== */

.solutions {
    padding: 6.472rem 0; /* 80px を黄金比で調整 */
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
}

.solution-card {
    background: white;
    border-radius: 0.375rem; /* 角の丸みを減らして硬い印象に */
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #ecf0f1;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.solution-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
    font-weight: 600;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.before,
.after {
    padding: 2rem;
    border-radius: 0.375rem; /* 角の丸みを減らして硬い印象に */
    border: 1px solid;
}

.before {
    background: linear-gradient(135deg, #fdeded 0%, #fef5f5 100%);
    border-color: #fadbd8;
}

.after {
    background: linear-gradient(135deg, #eafaf1 0%, #f0fdf4 100%);
    border-color: #d5f4e6;
}

.before h4 {
    color: #c0392b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.after h4 {
    color: #229954;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.before ul,
.after ul {
    list-style: none;
    margin: 0;
}

.before li,
.after li {
    padding: 0.6rem 0;
    color: #2c3e50;
    line-height: 1.6;
}

.before li::before {
    content: "×";
    color: #c0392b;
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.after li::before {
    content: "✓";
    color: #229954;
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

/* ========================================
   開発者紹介セクション
   ======================================== */

.about-developer {
    padding: 6.472rem 0; /* 80px を黄金比で調整 */
    background: white;
    position: relative;
}

.about-developer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #27ae60, #9b59b6);
}

.developer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.developer-intro {
    font-size: 1.4rem;
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 500;
}

.developer-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.developer-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    background: linear-gradient(135deg, #f8fafc 0%, #ecf0f1 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #ecf0f1;
}

.feature-check {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.2rem;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
}

.feature-text h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-text p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   商品画像セクション
   ======================================== */

.product-images {
    padding: 6.472rem 0; /* 80px を黄金比で調整 */
    background: white;
}

.product-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-item.main-image {
    grid-row: span 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.image-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
    border: 2px dashed #bdc3c7;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.image-placeholder.large-image {
    min-height: 400px;
    background: linear-gradient(135deg, #e8f4fd 0%, #d6eaf8 100%);
    border-color: #3498db;
}

.image-placeholder:hover {
    background: linear-gradient(135deg, #e8f4fd 0%, #d6eaf8 100%);
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.placeholder-content {
    text-align: center;
    color: #7f8c8d;
}

.large-image .placeholder-content {
    color: #3498db;
}

.placeholder-content svg {
    margin-bottom: 1rem;
    color: inherit;
}

.placeholder-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.placeholder-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.placeholder-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    color: #7f8c8d;
}

.image-description {
    text-align: center;
    margin-top: 2rem;
}

.image-description p {
    color: #95a5a6;
    font-size: 0.9rem;
    font-style: italic;
}

/* 商品画像セクション レスポンシブデザイン */
@media (max-width: 768px) {
    .product-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item.main-image {
        grid-row: auto;
        order: -1;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .image-placeholder {
        min-height: 150px;
        padding: 1.5rem;
    }
    
    .image-placeholder.large-image {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .image-placeholder {
        padding: 1rem;
        min-height: 120px;
    }
    
    .image-placeholder.large-image {
        min-height: 200px;
    }
    
    .placeholder-content h4 {
        font-size: 1.1rem;
    }
    
    .placeholder-content h5 {
        font-size: 1rem;
    }
    
    .placeholder-content svg {
        width: 40px;
        height: 40px;
    }
    
    .large-image .placeholder-content svg {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   よくある質問セクション
   ======================================== */

.faq {
    padding: 6.472rem 0; /* 80px を黄金比で調整 */
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 0.25rem; /* 角の丸みを減らして硬い印象に */
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.question-icon {
    width: 32px;
    height: 32px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.faq-question h3 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.toggle-icon {
    color: #6b7280;
    transition: transform 0.2s ease;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 150px;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   料金プランセクション
   ======================================== */

.pricing {
    padding: 6.472rem 0; /* 80px を黄金比で調整 */
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 0.375rem; /* 角の丸みを減らして硬い印象に */
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border-color: #3498db;
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.15);
    transform: translateY(-4px);
}

.pricing-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(52, 152, 219, 0.2);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.pricing-card h3 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'MS PGothic', sans-serif;
}

.plan-description {
    font-size: 0.9rem;
    color: #95a5a6;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.plan-target {
    font-size: 1rem;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.4rem;
    color: #7f8c8d;
    vertical-align: top;
}

.amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: #2c3e50;
    letter-spacing: -0.03em;
    font-family: 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'MS PGothic', sans-serif;
}

.period {
    font-size: 1rem;
    color: #7f8c8d;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    min-height: 200px;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: #7f8c8d;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* ========================================
   お問い合わせセクション
   ======================================== */

.contact {
    padding: 6.472rem 0; /* 80px を黄金比で調整 */
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #ecf0f1;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.contact-info p {
    color: #7f8c8d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #7f8c8d;
    padding: 0.8rem 0;
}

.contact-item svg {
    color: #3498db;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #ecf0f1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 1.2rem;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.contact-form select {
    cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-note {
    font-size: 0.9rem;
    color: #95a5a6;
    text-align: center;
    margin-top: 1rem;
}

/* ========================================
   フッター
   ======================================== */

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100vw;
        height: 100vh;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        border-top: 1px solid #ecf0f1;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }


    .btn-large {
        width: 100%;
        max-width: 280px;
    }

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

    .feature-section {
        gap: 2rem;
    }
    
    .feature-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .feature-header h3 {
        font-size: 1.3rem;
    }
    
    .feature-content {
        padding: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .problem-solution {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
        margin: 1rem auto;
    }

    .before-after {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-highlight {
        padding: 2rem;
        margin: 2rem 0;
    }

    .developer-feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .pricing-features {
        min-height: auto;
    }
    
    .before-after {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* 相談セクションスマホ対応 */
@media (max-width: 480px) {
    .consultation-item h4 {
        font-size: 1.1rem;
    }
    
    .consultation-item .btn-primary,
    .consultation-item .btn-outline {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* スマートフォン - 黄金比スケール */
@media (max-width: 480px) {
    body {
        font-size: 14px; /* ベースサイズを縮小 */
    }
    
    .container {
        padding: 0 0.938rem; /* 15px を黄金比で調整 */
    }


    .section-title {
        font-size: 2rem; /* 黄金比スケールを維持 */
    }
    
    .section-subtitle {
        font-size: 0.875rem; /* 14px */
    }

    .features,
    .solutions,
    .about-developer,
    .faq,
    .pricing,
    .contact {
        padding: 3.75rem 0; /* 60px を黄金比で調整 */
    }

    .feature-card,
    .solution-card,
    .faq-item {
        padding: 1.618rem 1.272rem; /* 黄金比スケール */
    }
    
    .feature-content p {
        font-size: 0.875rem; /* 14px */
    }
    
    .solution-card h3 {
        font-size: 1.272rem; /* 黄金比スケール */
    }

    .contact-form,
    .contact-info {
        padding: 1.618rem 1.272rem; /* 黄金比スケール */
    }

    .btn-large {
        padding: 1rem 1.618rem; /* 黄金比スケール */
        font-size: 0.875rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        font-size: 0.875rem;
    }
    
    .feature-section {
        gap: 2.618rem; /* モバイルでは間隔を縮小 */
        margin-top: 2.618rem;
    }
    
    .feature-layout {
        gap: 2.618rem; /* モバイルでは間隔を縮小 */
        grid-template-columns: 1fr;
    }
    
    .feature-text {
        order: 2;
    }
    
    .feature-illustration {
        order: 1;
    }
    
    /* feature-reverseクラスでもモバイル版では写真が上、文字が下 */
    .feature-reverse .feature-text {
        order: 2;
    }
    
    .feature-reverse .feature-illustration {
        order: 1;
    }
    
    /* 通常の機能レイアウト */
    .feature-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.618rem;
    }
    
    .feature-layout .feature-text {
        order: 2;
    }
    
    .feature-layout .feature-illustration {
        order: 1;
    }
    
    /* feature-reverseクラスでも統一 */
    .feature-reverse .feature-layout {
        grid-template-columns: 1fr;
    }
    
    .feature-reverse .feature-layout .feature-text {
        order: 2;
    }
    
    .feature-reverse .feature-layout .feature-illustration {
        order: 1;
    }
}

/* ========================================
   固定CTAボタン
   ======================================== */

.fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fixed-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fixed-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    font-family: 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'MS PGothic', sans-serif;
}

.fixed-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fixed-btn-download {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.fixed-btn-download:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
}

.fixed-btn-contact {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.fixed-btn-contact:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.fixed-btn svg {
    flex-shrink: 0;
}

/* モバイル版での固定CTAボタン調整 */
@media (max-width: 480px) {
    .fixed-cta {
        bottom: 15px;
        right: 15px;
    }
    
    .fixed-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .fixed-btn svg {
        width: 16px;
        height: 16px;
    }
}