/*------------------------------------------
医療者向けランディングページ専用スタイル
---------------------------------------------*/


/* Hero Section */
.hero-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 50%, var(--gradient-end) 100%); /* グラデーション背景 */
    position: relative;
    overflow: hidden;
}

/* 背景の浮遊する要素 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--brand-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--btn-color), var(--color-green));
    border-radius: 50%;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

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

.hero-section .container {
    display: flex;
    align-items: center;
    gap: var(--gap-m);
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-white); /* 白いテキストに変更 */
    line-height: 1.3;
    margin-bottom: var(--margin-s);
    position: relative;
    letter-spacing: 0;
}



.hero-subtitle {
    font-size: var(--font-size-md);
    color: var(--color-white); /* 白いテキストに変更 */
    line-height: 1.6;
    margin-bottom: var(--padding-l);
    opacity: 0;
    animation: fade-in-up 1s ease-out 0.8s forwards;
    letter-spacing: 0;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: var(--gap-s);
    opacity: 0;
    animation: fade-in-up 1s ease-out 1.2s forwards;
}

.btn {
    display: inline-block;
    padding: var(--padding-s) var(--padding-m);
    border-radius: var(--border-radius-m);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* タッチデバイス対応 */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(215, 68, 100, 0.3);
    user-select: none;
    cursor: pointer;
    /* アクセシビリティ向上 */
    outline: none;
    border: none;
    /* z-index設定 */
    z-index: 10;
}

/* ボタンのホバーエフェクト */
.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;
}

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

/* ボタン内のテキストとアイコンの配置 */
.btn-text {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-icon {
    display: inline-block;
    margin-left: 8px;
    font-size: 1.2em;
    transition: all 0.3s ease;
    opacity: 0.8;
}

/* ボタンホバー時のテキストとアイコンのアニメーション */
.btn:hover .btn-text {
    transform: translateX(-3px);
}

.btn:hover .btn-icon {
    transform: translateX(3px) scale(1.1);
    opacity: 1;
}

/* ボタンのクリック効果 */
.btn:active {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
}

/* ボタンのフォーカス効果 */
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(215, 68, 100, 0.3);
}

/* アウトラインボタンのフォーカス効果 */
.btn-outline:focus {
    box-shadow: 0 0 0 3px rgba(215, 68, 100, 0.2);
}

.btn-primary {
    background-color: var(--btn-color);
    color: var(--color-white);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(215, 68, 100, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(215, 68, 100, 0.4);
}

.btn-outline {
    background-color: transparent; /* 透明な背景 */
    color: var(--color-white); /* 白いテキスト */
    border: 2px solid var(--color-white); /* 白いボーダー */
    transform: translateY(0);
}

.btn-outline:hover {
    background-color: var(--color-white); /* ホバー時は白い背景 */
    color: var(--brand-color); /* ホバー時はブランドカラーのテキスト */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* プライマリボタンの特別なアニメーション */
.btn-primary {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(215, 68, 100, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(215, 68, 100, 0.6), 0 0 20px rgba(215, 68, 100, 0.4);
    }
}

.hero-image {
    flex: 1.2;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 120%;
    height: auto;
    border-radius: var(--border-radius-lg);
    animation: image-float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
}

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

/* 画像の周りの光る効果 */
.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(244, 208, 63, 0.1) 0%, transparent 70%); /* アクセントカラー（ゴールド）に変更 */
    transform: translate(-50%, -50%);
    animation: glow-pulse 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image img {
        max-width: 100%;
        margin-top: var(--gap-m);
    }

    /* スマートフォンでのボタン操作性向上 */
    .btn {
        min-height: 48px; /* タップ領域の最小サイズ */
        padding: 16px 24px; /* タップしやすいパディング */
    }

    .hero-buttons .btn {
        margin: 8px; /* ボタン間の適切な間隔 */
        width: calc(100% - 16px); /* 画面幅に合わせた幅 */
        max-width: 300px; /* 最大幅の制限 */
    }
}

/* さらに小さい画面（480px以下）での対応 */
@media (max-width: 480px) {
    .btn {
        min-height: 44px; /* より小さい画面での最適サイズ */
        padding: 14px 20px;
        font-size: var(--font-size-sm);
    }

    .hero-buttons .btn {
        margin: 6px;
        width: calc(100% - 12px);
    }

    .btn-text {
        font-size: var(--font-size-sm);
    }

    .btn-icon {
        font-size: 1.1em;
        margin-left: 6px;
    }
}

/* Problem Section */
.problem-section {
    padding: var(--section-padding) 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--accent-color);
    justify-content: center;
    margin-bottom: var(--margin-s);
}

.section-subtitle {
    font-size: var(--font-size-md);
    color: var(--color-gray);
    text-align: center;
    line-height: 1.6;
    margin-bottom: var(--gap-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.problem-section h2{
    justify-content: center;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-m);
    margin-top: var(--gap-xl);
}

.problem-card {
    background-color: var(--color-white);
    padding: var(--padding-l) var(--padding-m);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius-full);
    margin: 0 auto var(--margin-s);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.card-icon:hover {
    background-color: #e9ecef;
    border-color: #666;
}

.card-icon svg {
    transition: all 0.3s ease;
}

.card-icon:hover svg path,
.card-icon:hover svg circle {
    stroke: #333;
    fill: #333;
}

.problem-card h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--padding-s);
}

.problem-card p {
    font-size: var(--font-size-sm);
    color: var(--color-gray);
    line-height: 1.5;
}

/* Solution Section */
.solution-section {
    padding: var(--section-padding) 0;
    background-color: var(--color-white);
}

.solution-wrapper {
    position: relative;
    margin-top: var(--gap-xl);
}

.solution-items {
    display: flex;
    flex-direction: column;
    gap: var(--gap-2xl);
    max-width: calc(100% - 120px); /* タイムラインのスペースを確保 */
}

.solution-item {
    width: 100%;
}

.solution-item__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: center;
    min-height: 400px;
}

.solution-item--right .solution-item__content {
    grid-template-columns: 1fr 1fr;
}

.solution-item--left .solution-item__content {
    grid-template-columns: 1fr 1fr;
}

.solution-item__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--padding-l);
}

.solution-item__text h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--brand-color);
    margin-bottom: var(--margin-s);
    line-height: 1.3;
}

.solution-description {
    font-size: var(--font-size-md);
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: var(--margin-m);
}

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

.solution-features li {
    display: flex;
    align-items: center;
    margin-bottom: var(--margin-s);
    font-size: var(--font-size-sm);
    color: var(--color-black);
    line-height: 1.5;
}

.checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: var(--margin-s);
    flex-shrink: 0;
}

.solution-item__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
}

.solution-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
    color: var(--color-gray);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all 0.3s ease;
    overflow: hidden;
}

.solution-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.solution-image-placeholder:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: var(--accent-color);
    color: var(--color-black);
}

/* 左右の配置を制御 */
.solution-item--left .solution-item__text {
    order: 1;
}

.solution-item--left .solution-item__image {
    order: 2;
}

/* 980px以下でレイアウトを上下に変更 */
@media screen and (max-width: 980px) {
    .solution-item__content{
        gap:0
    }
    .solution-item--left .solution-item__content {
        grid-template-columns: 1fr;

    }
    .solution-item--right .solution-item__content{
        grid-template-columns: 1fr;
    }
    .solution-item--left .solution-item__text,
    .solution-item--right .solution-item__text {
        order: 1;
    }
    
    .solution-item--left .solution-item__image,
    .solution-item--right .solution-item__image {
        order: 2;
    }
    
    .solution-item__text {
        padding: 0;
        text-align: center;
    }
    
    .solution-item__text h3 {
        font-size: var(--font-size-ml);
        margin-bottom: var(--margin-m);
    }
    
    .solution-description {
        font-size: var(--font-size-xs);
        margin-bottom: 0;
        text-align: left;
    }

    .solution-features {
        margin-top: var(--margin-m);
        text-align: left;
    }

    .solution-features li {
        font-size: var(--font-size-sm);
        justify-content: flex-start;
    }

    .checkmark {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
    
    .solution-item__image {
        margin-top: var(--margin-m);
        min-height: 280px;
    }
    
    .solution-image-placeholder {
        height: 280px;
    }
}

/* タイムライン */
.solution-timeline {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 60px 0;
}

.timeline-line {
    position: absolute;
    right: 40px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background-color: var(--brand-color);
    z-index: 1;
}

.timeline-number {
    position: relative;
    width: 100px;
    height: 100px;
    background-color: var(--brand-color);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: var(--font-size-xl);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    /* 初期状態：非表示・小さいサイズ */
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* スクロール時に表示・サイズ拡大 */
.timeline-number.animate {
    opacity: 1;
    transform: scale(1.2);
}

/* アニメーション完了後の最終状態 */
.timeline-number.animate-complete {
    transform: scale(1);
}

.solution-item--right .solution-item__text {
    order: 2;
}

.solution-item--right .solution-item__image {
    order: 1;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: var(--margin-s);
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background-color: rgba(56, 113, 193, 0.08);
    font-weight: 600;
    color: var(--color-navy);
    font-size: var(--font-size-sm);
}

.comparison-table td {
    font-size: var(--font-size-xs);
    color: var(--color-gray);
    line-height: 1.4;
}

/* Effect Section */
.effect-section {
    padding: var(--section-padding) 0;
    background-color: #f8f9fa;
}

.effect-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gap-m);
    margin: var(--gap-xl) 0 var(--gap-m);
}

.effect-card {
    background-color: var(--color-white);
    padding: var(--padding-l) var(--padding-m);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-s);
}

.effect-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--margin-s);
}

.effect-icon img {
    height: 60px;
    margin: auto;
}
    

.effect-number {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: 900;
    margin-bottom: var(--padding-xs);
    line-height: 1;
    background: var(--accent-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    letter-spacing: 0;
}

@keyframes numberGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(56, 113, 193, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(56, 113, 193, 0.6));
    }
}

.effect-label {
    font-size: var(--font-size-md);
    color: var(--color-gray);
    font-weight: 500;
}

.effect-disclaimer {
    text-align: center;
    font-size: var(--font-size-xs);
    color: #999;
    margin-top: var(--gap-m);
}

/* Package Section */
.package-section {
    padding: var(--section-padding) 0;
    background-color: transparent;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-m);
    margin-top: var(--gap-xl);
}

.package-item {
    background-color: transparent;
    padding: var(--padding-l) var(--padding-m);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: none;
    border: 1px solid var(--color-blue);
}

.package-icon {
    width: 60px;
    height: 60px;
    background-color: #e9ecef;
    border-radius: var(--border-radius-full);
    margin: 0 auto var(--margin-s);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.package-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.package-icon svg {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.package-icon:hover svg {
    transform: scale(1.1);
}

.package-item h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--padding-s);
}

.package-item p {
    font-size: var(--font-size-sm);
    color: var(--color-gray);
    line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--gap-l);
    margin-top: var(--gap-xl);
}

.pricing-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--padding-l);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-color), var(--accent-color));
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--margin-m);
}

.pricing-header h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
}

.price-badge {
    background: linear-gradient(135deg, var(--brand-color), var(--accent-color));
    color: var(--color-white);
    padding: var(--padding-xs) var(--padding-s);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-badge.monthly {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.price-badge.subsidy {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.price-main {
    text-align: center;
    margin-bottom: var(--margin-l);
    padding: var(--padding-m) 0;
    border-bottom: 1px solid #e9ecef;
}

.price-currency {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-gray);
    vertical-align: top;
}

.price-amount {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin: 0 var(--margin-xs);
    letter-spacing: -0.05em;
}

.price-unit {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-gray);
    vertical-align: bottom;
}

.price-description p {
    font-size: var(--font-size-sm);
    color: var(--color-gray);
    text-align: center;
    margin-bottom: var(--margin-m);
    line-height: 1.5;
}

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

.price-features li {
    font-size: var(--font-size-sm);
    color: var(--color-gray);
    padding: var(--padding-xs) 0;
    position: relative;
    padding-left: var(--padding-m);
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-color);
    font-weight: bold;
}

/* 補助金カード専用スタイル */
.subsidy-card {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3c4 100%);
    border: 1px solid #ffc107;
}

.subsidy-card::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.subsidy-content {
    text-align: center;
}

.subsidy-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--margin-m);
    color: var(--color-white);
}

.subsidy-content p {
    font-size: var(--font-size-sm);
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: var(--margin-s);
}

.subsidy-disclaimer {
    font-size: var(--font-size-xs);
    color: #999;
    line-height: 1.4;
    margin: 0;
}

/* CTA セクション */
.pricing-cta {
    text-align: center;
    margin-top: var(--gap-xl);
    padding: var(--padding-l);
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-cta .btn {
    margin-bottom: var(--margin-s);
}

.cta-note {
    font-size: var(--font-size-sm);
    color: var(--color-gray);
    margin: 0;
}

/* Trust Section */
.trust-section {
    padding: var(--section-padding) 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.trust-scroll {
    overflow: hidden;
    white-space: nowrap;
}

.trust-scroll__content {
    display: flex;
    gap: var(--space-m);
    animation: scroll-left 30s linear infinite;
    width: max-content;
}   

.trust__item {
    display: flex;
    align-items: center;
    gap: var(--gap-s);
    padding: var(--padding-s) var(--padding-m);
    background-color: #FFF;
    border-radius: var(--border-radius-lg);
    white-space: nowrap;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.trust__item:hover {
    background-color: #e9ecef;
    border-color: var(--accent-color);
    color: var(--color-black);
}

.trust__item svg {
    flex-shrink: 0;
    color: var(--accent-color);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

.faq-items {
    max-width: 700px;
    margin: var(--gap-xs) auto 0;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--padding-s) 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--brand-color);
}

.faq-question h3 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: var(--font-size-md);
    font-weight: 700;
    color: var(--brand-color);
    transition: transform 0.3s ease;
    margin-left: var(--padding-s);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 150px;
}

.faq-answer p {
    font-size: var(--font-size-xs);
    color: var(--color-gray);
    line-height: 1.5;
    margin: 0 0 var(--padding-s) 0;
    padding-left: var(--padding-s);
}

/* レスポンシブ対応 */
@media (max-width: 980px) {
    /* Hero Section */
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-section {
        padding: var(--section-padding-small) 0 0;
    }
    
    .hero-title {
        font-size: var(--font-size-ml);
        justify-content: center;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-xs);
        text-align: left;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Section Titles */
    .section-title {
        justify-content: center;
        font-size: var(--font-size-ml);
    }
    
    .section-subtitle {
        font-size: var(--font-size-sm);
        text-align: left;
    }
    
    /* Problem Section */
    .problem-cards {
        grid-template-columns: 1fr;
    }
    
    .problem-card,
    .package-item,
    .pricing-item,
    .faq-item {
        padding: var(--padding-m) var(--margin-s);
    }
    
    /* Solution Section */
    .solution-wrapper {
        margin-top: 0;
    }

    .solution-items {
        max-width: 100%;
        gap: var(--gap-xl);
    }

    .solution-timeline {
        display: none;
    }


    .solution-item--left .solution-item__text,
    .solution-item--right .solution-item__text {
        order: 1;
    }
    
    .solution-item--left .solution-item__image,
    .solution-item--right .solution-item__image {
        order: 2;
    }
    
    .solution-item__text {
        text-align: center;
    }
    
    .solution-item__text h3 {
        font-size: var(--font-size-ml);
        margin-bottom: var(--margin-m);
    }
    
    .solution-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--margin-l);
    }

    .solution-features {
        margin-top: 0;
        text-align: left;
    }

    .solution-features li {
        font-size: var(--font-size-xs);
        justify-content: flex-start;
    }

    .checkmark {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
    
    .solution-item__image {
        margin-top: var(--margin-m);
        min-height: 250px;
    }
    
    .solution-image-placeholder {
        height: 250px;
    }
    
    /* Effect Section */
    .effect-cards {
        grid-template-columns: 1fr;
    }
    
    .effect-number {
        font-size: var(--font-size-4xl);
    }
    
    /* Package Section */
    .package-grid {
        grid-template-columns: 1fr;
    }
    
    /* Pricing Section */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--gap-m);
    }
    
    .pricing-card {
        padding: var(--padding-s);
    }
    
    .price-amount {
        font-size: var(--font-size-2xl);
    }
    
    .pricing-header h3 {
        font-size: var(--font-size-sm);
    }
    
    .price-features li {
        font-size: var(--font-size-xs);
    }
    
    /* Trust Section */
    .trust__item {
        font-size: var(--font-size-xs);
        padding: var(--padding-xs) var(--padding-s);
    }
    
    .trust__item svg {
        width: 14px;
        height: 14px;
    }
    
    /* Comparison Table */
    .comparison-table {
        font-size: var(--font-size-xs);
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: var(--padding-s) var(--padding-xs);
    }
    .faq-question{
        padding: 0;
    }
    .faq-item{
        padding: var(--padding-s) var(--padding-xs);
    }
    .faq-question h3{
        font-size: var(--font-size-xs);
    }
    /* Section Padding */
    .problem-section,
    .solution-section,
    .effect-section,
    .package-section,
    .pricing-section,
    .trust-section,
    .faq-section {
        padding: var(--section-padding-small) 0;
    }
}