@charset "utf-8";

/* カラー設定 */
:root {
    --main-color: rgb(39, 58, 96);
    --white-color: rgb(255, 255, 255);
    --light-gray: rgb(244, 244, 243);
    --gray300: rgb(210, 210, 209);
    --gray500: rgb(104, 104, 104);
    --gray700: rgb(44, 44, 43);
    --black: rgb(0, 0, 0);
    --orange: rgb(255, 140, 0);
}

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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray700);
    background: var(--white-color);
}

.container {
        margin: 0 auto;
        padding: 0 20px;
}

/* ヘッダー */
header {
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
}

.logo img {
    height: 45px;
    width: auto;
}

.cta-header {
    background: var(--main-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 14px;
}

.cta-header:hover {
    background: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 58, 96, 0.3);
}

/* ヒーローセクション */

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 120px 0 60px;
    margin-top: 70px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(32px, 5vw, 42px);
    line-height: 1.2;
    margin-bottom: 20px;
    color: #2c2c2c;
}

.hero-text h1 span {
    color: var(--main-color);
    display: block;
    margin-top: 10px;
    font-size: 30px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--main-color);
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.hero-cta-group {
    display: none;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: bold;
    gap: 10px;
    background: var(--main-color);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 58, 96, 0.2);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cta-primary:hover {
    background: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 58, 96, 0.3);
}

.pdf-download-btn:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
}

#downloadPdfBtnFooter:hover {
    background: rgb(30, 46, 76) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2) !important;
}

/* 印刷用CSS */
@media print {
    @page {
        size: A4;
        margin: 15mm;
    }
    
    body {
        margin: 0 !important;
        padding: 0 !important;
        background: white !important;
    }
    
    /* PDF用コンテンツ以外をすべて非表示 */
    body > *:not(.container),
    header,
    footer,
    .hero,
    .main-content,
    .section,
    .implementation-flow,
    .risk-management,
    .concerns-section,
    .alert,
    .pdf-download-btn,
    #downloadPdfBtn,
    #downloadPdfBtnFooter,
    [style*="text-align: center"][style*="margin: 40px"] {
        display: none !important;
    }
    
    .container {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* PDF用コンテンツのみ表示 */
    #pdfContent {
        display: block !important;
        position: static !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        background: white !important;
        padding: 0 !important;
    }
    
    .pdf-page {
        page-break-after: always !important;
        page-break-inside: avoid !important;
    }
    
    .pdf-page:last-child {
        page-break-after: auto !important;
    }
}

/* メインコンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto 0;
    border-radius: 0 0 0 0;
    overflow: hidden;
    position: relative;
}

.main-content {
    padding: 50px 40px 40px;
}

.section {
    background: var(--white-color);
    border-radius: 0;
    padding: 0;
    margin-bottom: 40px;
}

.section-header {
    background: var(--main-color);
    color: var(--white-color);
    padding: 20px 25px;
    border-radius: 12px;
    margin: 40px 0 15px  ;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 {
    color: var(--white-color);
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
    border: none;
    padding: 0;
}

.section-content {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
}

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

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--gray700);
    font-size: 0.95em;
}

.input-group input[type="number"],
.input-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray300);
    border-radius: 8px;
    font-size: 1em;
    background: var(--white-color);
    color: var(--gray700);
    transition: border-color 0.3s;
}

.input-group input[type="number"]:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--main-color);
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-option label {
    display: block;
    padding: 20px;
    background: var(--white-color);
    border: 2px solid var(--gray300);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-weight: 600;
    color: var(--gray700);
}

.radio-option input[type="radio"]:checked + label {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--white-color);
}

.radio-option label small {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    font-weight: 400;
    opacity: 0.8;
}

/* 推奨機種セクション */
.recommended-model {
    background: var(--white-color);
    border: 3px solid var(--main-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.recommended-model h3 {
    color: var(--main-color);
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.model-info {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 15px;
}

.model-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gray300);
}

.model-details h4 {
    font-size: 1.5em;
    color: var(--gray700);
    margin-bottom: 8px;
    font-weight: 700;
}

.model-details p {
    color: var(--gray500);
    margin: 5px 0;
    font-size: 0.95em;
}

/* 見積内訳 */
.estimate-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.estimate-item {
    background: var(--white-color);
    border: 2px solid var(--gray300);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.estimate-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--light-gray);
    flex-shrink: 0;
}

.estimate-item-icon {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-color);
    flex-shrink: 0;
    overflow: hidden;
}

.estimate-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.estimate-info h4 {
    color: var(--gray700);
    font-size: 1em;
    margin-bottom: 5px;
    font-weight: 600;
}

.estimate-info p {
    color: var(--gray500);
    font-size: 0.85em;
    margin-bottom: 8px;
}

.estimate-price {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--main-color);
}

/* 合計金額 */
.total-estimate {
    background: var(--main-color);
    color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 30px;
}

.total-estimate h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.total-amount {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 10px;
}

/* 比較セクション */
.comparison-section {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.comparison-card {
    background: var(--white-color);
    border-radius: 12px;
    padding: 30px;
    border: 2px solid var(--gray300);
}

.comparison-card.highlight {
    border: 2px solid var(--main-color);
}

.comparison-card h3 {
    font-size: 1.3em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    color: var(--gray700);
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray300);
    font-size: 0.95em;
    color: var(--gray700);
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-value {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--gray700);
}

.total-cost {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--gray300);
    font-size: 1.2em;
    font-weight: 700;
}

.savings-section {
    display: none;
    background: var(--main-color);
    color: var(--white-color);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 40px;
    text-align: center;
}

.savings-section h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 600;
}

.savings-amount {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
}

.payback-period {
    font-size: 1.3em;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

footer {
    background: var(--gray700);
    color: var(--white-color);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9em;
    line-height: 1.8;
}

.highlight {
    background: var(--white-color);
    color: var(--main-color);
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 700;
}

.alert {
    background: var(--light-gray);
    border-left: 4px solid var(--main-color);
    padding: 18px;
    margin-bottom: 30px;
    border-radius: 8px;
    color: var(--gray700);
    font-size: 0.95em;
    line-height: 1.6;
}

/* 5年間累積比較スタイル */
.cumulative-comparison {
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
}

.cumulative-bar-chart {
    margin-bottom: 30px;
}

.cumulative-bar-item {
    margin-bottom: 25px;
}

.cumulative-bar-label {
    font-weight: 600;
    color: var(--gray700);
    margin-bottom: 10px;
    font-size: 0.95em;
}

.cumulative-bar-wrapper {
    background: var(--light-gray);
    border-radius: 8px;
    height: 60px;
    position: relative;
    overflow: hidden;
}

.cumulative-bar {
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    transition: width 0.8s ease;
    position: relative;
}

.cumulative-bar-asis {
    background: var(--gray500);
}

.cumulative-bar-tobe {
    background: var(--main-color);
}

.cumulative-bar-value {
    color: var(--white-color);
    font-weight: 700;
    font-size: 1.2em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.savings-highlight {
    background: var(--main-color);
    color: var(--white-color);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.savings-highlight-label {
    font-size: 1.1em;
    margin-bottom: 10px;
    opacity: 0.9;
}

.savings-highlight-amount {
    font-size: 2.5em;
    font-weight: 700;
}

/* 年次別内訳テーブル */
.yearly-breakdown {
    margin-top: 30px;
}

.yearly-breakdown h4 {
    color: var(--gray700);
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
}

.breakdown-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white-color);
    font-size: 0.9em;
}

.breakdown-table thead {
    background: var(--gray700);
    color: var(--white-color);
}

.breakdown-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
}

.breakdown-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--gray300);
    color: var(--gray700);
}

.breakdown-table tbody tr:hover {
    background: var(--light-gray);
}

.breakdown-table .total-row {
    background: var(--light-gray);
    font-weight: 700;
}

.breakdown-table .total-row td {
    border-bottom: none;
    padding: 18px 12px;
}

.breakdown-table .positive {
    color: var(--main-color);
    font-weight: 700;
}

.breakdown-table .negative {
    color: var(--gray500);
    font-weight: 700;
}

/* ROI指標 */
.roi-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.roi-metric-item {
    background: var(--white-color);
    border: 2px solid var(--gray300);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.roi-metric-label {
    color: var(--gray500);
    font-size: 0.9em;
    margin-bottom: 10px;
    font-weight: 500;
}

.roi-metric-value {
    color: var(--main-color);
    font-size: 1.8em;
    font-weight: 700;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        justify-content: center;
    }

    .comparison-section {
        grid-template-columns: 1fr;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .estimate-breakdown {
        grid-template-columns: 1fr;
    }

    .savings-amount {
        font-size: 2em;
    }

    .main-content {
        padding: 30px 20px;
    }

    .breakdown-table {
        font-size: 0.8em;
    }

    .breakdown-table th,
    .breakdown-table td {
        padding: 10px 8px;
    }

    .savings-highlight-amount {
        font-size: 1.8em;
    }

    .roi-metrics {
        grid-template-columns: 1fr;
    }
}

/* 条件付き入力欄の表示/非表示 */
.conditional-inputs {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.conditional-inputs.active {
    display: block;
    opacity: 1;
    max-height: 2000px;
}

/* 地形複雑度選択カード */
.terrain-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.terrain-option {
    position: relative;
}

.terrain-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.terrain-option label {
    display: block;
    background: var(--white-color);
    border: 2px solid var(--gray300);
    border-radius: 12px;
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    height: 100%;
}

.terrain-option input[type="radio"]:checked + label {
    background: var(--light-gray);
    border-color: var(--main-color);
    box-shadow: 0 4px 12px rgba(39, 58, 96, 0.15);
}

.terrain-option label:hover {
    border-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 58, 96, 0.1);
}

.terrain-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.terrain-label {
    font-size: 18px;
    font-weight: bold;
    color: var(--gray700);
    margin-bottom: 10px;
}

.terrain-description {
    font-size: 14px;
    color: var(--gray500);
    margin-bottom: 15px;
    line-height: 1.5;
}

.terrain-multiplier {
    font-size: 12px;
    color: var(--main-color);
    font-weight: 600;
    background: var(--light-gray);
    padding: 10px;
    border-radius: 6px;
    line-height: 1.6;
}

.terrain-option input[type="radio"]:checked + label .terrain-multiplier {
    background: var(--white-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .terrain-options {
        grid-template-columns: 1fr;
    }
}

/* 面積入力 */
.area-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.area-input-wrapper input[type="number"] {
    flex: 1;
    max-width: 200px;
    padding: 16px 20px;
    border: 2px solid var(--gray300);
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: 600;
    background: var(--white-color);
    color: var(--gray700);
    transition: border-color 0.3s;
}

.area-input-wrapper input[type="number"]:focus {
    outline: none;
    border-color: var(--main-color);
}

.area-input-wrapper .unit {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--gray500);
}

/* レスポンシブ対応 - 面積入力 */
@media (max-width: 600px) {
    .area-input-wrapper input[type="number"] {
        max-width: 160px;
        padding: 14px 16px;
        font-size: 1.2em;
    }
}

/* 稼働時間オプション */
.operating-hours-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.operating-hours-option {
    position: relative;
}

.operating-hours-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.operating-hours-option label {
    display: block;
    background: var(--white-color);
    border: 2px solid var(--gray300);
    border-radius: 12px;
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    height: 100%;
}

.operating-hours-option input[type="radio"]:checked + label {
    background: var(--light-gray);
    border-color: var(--main-color);
    box-shadow: 0 4px 12px rgba(39, 58, 96, 0.15);
}

.operating-hours-option label:hover {
    border-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 58, 96, 0.1);
}

.hours-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.hours-label {
    font-size: 18px;
    font-weight: bold;
    color: var(--gray700);
    margin-bottom: 10px;
}

.hours-description {
    font-size: 14px;
    color: var(--gray500);
    margin-bottom: 15px;
    line-height: 1.5;
}

.hours-multiplier {
    font-size: 12px;
    color: var(--main-color);
    font-weight: 600;
    background: var(--light-gray);
    padding: 10px;
    border-radius: 6px;
    line-height: 1.6;
}

.operating-hours-option input[type="radio"]:checked + label .hours-multiplier {
    background: var(--white-color);
}

/* レスポンシブ対応 - 稼働時間 */
@media (max-width: 768px) {
    .operating-hours-options {
        grid-template-columns: 1fr;
    }
}

 /*概算見積もりセクション */
.estimate-section {
    background: var(--white-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.estimate-section h3 {
    color: var(--gray700);
    font-size: 1.3em;
    margin-bottom: 25px;
    font-weight: 600;
}



.estimate-item-title {
    font-size: 0.9em;
    color: var(--gray500);
    margin-top: 12px;
    font-weight: 500;
}

.estimate-item-name {
    font-size: 1em;
    color: var(--gray700);
    margin-top: 8px;
    font-weight: 600;
}

.estimate-item-price {
    font-size: 1.4em;
    color: var(--main-color);
    margin-top: 10px;
    font-weight: 700;
}

.estimate-item-detail {
    font-size: 0.85em;
    color: var(--gray500);
    margin-top: 5px;
}

.estimate-total {
    background: var(--main-color);
    color: var(--white-color);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    text-align: center;
}

.estimate-total-label {
    font-size: 1.1em;
    margin-bottom: 10px;
    opacity: 0.9;
}

.estimate-total-amount {
    font-size: 2.5em;
    font-weight: 700;
}

/* 概算見積もりリスト形式スタイル */
.estimate-category {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.estimate-category-header {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray300);
    margin-bottom: 15px;
}

.estimate-category-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.estimate-category-title {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--gray700);
    flex-grow: 1;
}

.estimate-category-subtotal {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--main-color);
}

.estimate-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.estimate-list-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 15px;
    align-items: center;
    background: var(--white-color);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--gray300);
}

.estimate-list-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-gray);
}

.estimate-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.estimate-list-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.estimate-list-name {
    font-size: 1em;
    font-weight: 600;
    color: var(--gray700);
}

.estimate-list-detail {
    font-size: 0.85em;
    color: var(--gray500);
}

.estimate-list-calc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    color: var(--gray700);
}

.estimate-list-unit-price {
    font-weight: 500;
}

.estimate-list-multiply {
    color: var(--gray500);
}

.estimate-list-quantity {
    font-weight: 600;
    color: var(--main-color);
}

.estimate-list-breakdown {
    font-size: 0.85em;
    color: var(--gray500);
    line-height: 1.4;
}

.estimate-list-total {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--main-color);
    text-align: right;
    min-width: 120px;
}

/* レスポンシブ対応 - 見積もりリスト */
@media (max-width: 768px) {
    .estimate-list-item {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .estimate-list-image {
        width: 60px;
        height: 60px;
        grid-row: span 2;
    }
    
    .estimate-list-info {
        grid-column: 2;
    }
    
    .estimate-list-calc {
        grid-column: 1 / -1;
        flex-wrap: wrap;
    }
    
    .estimate-list-total {
        grid-column: 1 / -1;
        text-align: right;
    }
    
    .estimate-list-breakdown {
        font-size: 0.8em;
    }
}

/* 導入までの流れセクション */
.implementation-flow {
    display: none;
    background: var(--white-color);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c2c2c;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--main-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    position: relative;
    padding: 20px 40px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--main-color);
    border: 4px solid white;
    border-radius: 50%;
    top: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    font-size: 18px;
    color: var(--main-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    font-size: 14px;
}

.timeline-period {
    display: inline-block;
    background: #FFF5F0;
    color: var(--main-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin-top: 10px;
}

/* リスク対策セクション */
.risk-management {
    padding: 80px 0;
    background: #f8f8f8;
}

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

.risk-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.risk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.risk-icon {
    width: 60px;
    height: 60px;
    background: #FFF5F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.risk-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.risk-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* レスポンシブ対応 - タイムライン */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px !important;
        text-align: left !important;
    }
    
    .timeline-dot {
        left: 10px !important;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .risk-grid {
        grid-template-columns: 1fr;
    }
}