/* -------------------------------------------------------------
全てのCSSに.page-id-○○○つける。
------------------------------------------------------------- */

/* -------------------------------------------------------------
メールFAX分類システムpage-id-889
------------------------------------------------------------- */
/* =================================
   Base Styles
   ================================= */

.page-id-889 body {
    font-family: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
}

/* Section as a "page" */
.page-id-889 section {
    background-color: #ffffff;
    /* CHANGE: Switched from fixed width to responsive max-width */
    width: 100%;
    max-width: 297mm;
    /* CHANGE: Switched from fixed min-height to auto height with padding */
    height: auto;
    min-height: 200mm;
    margin: 20px 0;
    padding: 20mm 15mm;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    page-break-after: always;
}

.page-id-889 section:last-child {
    page-break-after: avoid;
}

.page-id-889 h1,
.page-id-889 h2,
.page-id-889 h3,
.page-id-889 p {
    margin: 0;
    padding: 0;
}

.page-id-889 h2 {
    font-size: 32px;
    color: #1a3a6e;
    padding-bottom: 10px;
    margin-bottom: 40px;
    border-bottom: 3px solid #1a3a6e;
    display: inline-block;
}

.page-id-889 h3 {
    font-size: 24px;
    color: #1a3a6e;
    margin-bottom: 20px;
}

.page-id-889 p {
    font-size: 18px;
    line-height: 1.8;
}

.page-id-889 .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* =================================
   Specific Sections
   ================================= */

/* Cover */
.page-id-889 .cover h1 {
    font-size: 48px;
    margin-bottom: 30px;
}

.page-id-889 .cover p {
    font-size: 24px;
}

/* Reason & Merits Grid */
.page-id-889 .reason .content-grid,
.page-id-889 .merits .content-grid {
    display: grid;
    gap: 40px;
    width: 100%;
}

.page-id-889 .reason .content-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.page-id-889 .merits .content-grid {
    grid-template-columns: repeat(2, 1fr);
}

.page-id-889 .reason .grid-item {
    background-color: #f7faff;
    border: 1px solid #d9e8ff;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-id-889 .reason .grid-item .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-id-889 .reason .grid-item h3 {
    font-size: 22px;
}

.page-id-889 .reason .grid-item p {
    font-size: 16px;
    text-align: left;
    line-height: 1.7;
}

.page-id-889 .merits .grid-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #f7faff;
    padding: 20px;
    border-radius: 12px;
}

.page-id-889 .merits .grid-item .icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.page-id-889 .merits .grid-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.page-id-889 .merits .grid-item p {
    font-size: 15px;
}

/* Proposal Flow Chart */
.page-id-889 .proposal .flow-chart {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.page-id-889 .proposal .flow-step {
    border: 2px solid #1a3a6e;
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-id-889 .proposal .flow-step .icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.page-id-889 .proposal .flow-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.page-id-889 .proposal .flow-step p {
    font-size: 15px;
    line-height: 1.6;
}

.page-id-889 .proposal .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-id-889 .proposal .arrow .icon {
    width: 50px;
    height: 50px;
}

/* Advanced Feature & Spreadsheet */
.page-id-889 .advanced-feature .content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.page-id-889 .advanced-feature .description {
    flex: 1;
    text-align: left;
}

.page-id-889 .advanced-feature .description h3 {
    border-left: 5px solid #1a3a6e;
    padding-left: 15px;
}

.page-id-889 .advanced-feature .spreadsheet-mockup {
    flex: 1.2;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-id-889 .spreadsheet-header,
.page-id-889 .spreadsheet-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr 1.5fr;
    gap: 5px;
    margin-bottom: 5px;
}

.page-id-889 .spreadsheet-header .spreadsheet-cell {
    background-color: #e9ecef;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 5px;
    border-radius: 4px;
}

.page-id-889 .spreadsheet-row .spreadsheet-cell {
    font-size: 13px;
    padding: 10px 5px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
}

.page-id-889 .spreadsheet-row.high-priority .spreadsheet-cell {
    background-color: #ffe3e3;
}
.page-id-889 .spreadsheet-row.medium-priority .spreadsheet-cell {
    background-color: #fff8e1;
}
.page-id-889 .spreadsheet-row.low-priority .spreadsheet-cell {
    background-color: #e3f2fd;
}

/* Comparison */
.page-id-889 .comparison .content-grid {
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

.page-id-889 .comparison .column {
    background-color: #f7faff;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.page-id-889 .comparison .column h3 {
    text-align: center;
    margin-bottom: 25px;
}

.page-id-889 .comparison .column ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.page-id-889 .comparison .column li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.page-id-889 .comparison .column .icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* NEW: Styles for the "After" column, moved from inline */
.page-id-889 .comparison .after-column h3,
.page-id-889 .comparison .after-column .icon {
    color: #007bff;
}

.page-id-889 .comparison .arrow-icon {
    width: 50px;
    height: 50px;
    align-self: center;
}

/* Closing */
.page-id-889 .closing p {
    font-size: 22px;
    line-height: 2;
    margin-bottom: 40px;
}

.page-id-889 .closing .contact-info {
    font-size: 18px;
    line-height: 1.8;
}

/* =================================
   Responsive (Tablet)
   ================================= */

@media (max-width: 1024px) {
    .page-id-889 section {
        min-height: auto;
        padding: 40px;
        margin: 10px 0;
    }

    .page-id-889 h2 {
        font-size: 28px;
    }
    .page-id-889 h3 {
        font-size: 22px;
    }
.page-id-889 p {
    font-size: 17px !important;
}

    /* Change 3-column grid to 1 column */
    .page-id-889 .reason .content-grid {
        grid-template-columns: 1fr;
    }

    .page-id-889 .advanced-feature .content-flex {
        flex-direction: column;
    }
}

/* =================================
   Responsive (Smartphone)
   ================================= */

@media (max-width: 768px) {
    .page-id-889 section {
        padding: 30px 5px;
        margin: 0;
        box-shadow: none;
    }

.page-id-889 .cover h1 {
font-size: 23px;
}
    .page-id-889 h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }
	
.page-id-889 .proposal h2 {
    font-size: 18px;
}
	
    .page-id-889 h3 {
        font-size: 20px;
    }
    .page-id-889 p {
        font-size: 16px;
    }
    
    /* Change all multi-column layouts to vertical */
    .page-id-889 .merits .content-grid,
    .page-id-889 .comparison .content-grid {
        grid-template-columns: 1fr;
    }

    .page-id-889 .proposal .flow-chart {
        flex-direction: column;
    }

    .page-id-889 .proposal .arrow,
    .page-id-889 .comparison .arrow-icon {
        transform: rotate(90deg);
        margin: 20px auto;
    }

    /* Responsive Spreadsheet Mockup */
    .page-id-889 .spreadsheet-header {
        display: none; /* Hide header on mobile */
    }
    .page-id-889 .spreadsheet-row {
        grid-template-columns: 1fr; /* Stack cells vertically */
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
    }
    .page-id-889 .spreadsheet-row .spreadsheet-cell {
        display: flex;
        padding: 8px 5px;
        border-bottom: 1px solid #eee;
    }
    .page-id-889 .spreadsheet-row .spreadsheet-cell:last-child {
        border-bottom: none;
    }
    .page-id-889 .spreadsheet-row .spreadsheet-cell::before {
        content: attr(data-label); /* Use data-label for the heading */
        font-weight: bold;
        text-align: left;
        margin-right: 10px;
    }

    /* Add data-label attributes to your HTML cells like this: */
    /* <div class="spreadsheet-cell" data-label="取引先">D製作所</div> */

    .page-id-889 .merits .grid-item {
        flex-direction: column;
        text-align: center;
    }
	
	.page-id-889 .advanced-feature .spreadsheet-mockup {
    width: 300px;
}
	
.page-id-889 .closing h2 {
    font-size: 19px;
}
	
.page-id-889 .closing p {
    font-size: 16px;
}
	
.page-id-889 .closing p {
    font-size: 19px !important;
    text-align: justify;
}
}


/* -------------------------------------------------------------
マニュアル検索システムpage-id-887
------------------------------------------------------------- */
/* 基本スタイル */
.page-id-887 body {
    font-family: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f0f2f5; /* 画面表示時の背景色 */
    margin: 0;
    padding: 0;
    -webkit-print-color-adjust: exact; /* 印刷時の色を正確に再現 */
    print-color-adjust: exact;
}

/* 提案書全体のコンテナ */
.page-id-887 .proposal-container {
    /* 変更点: PCではA4の最大幅を維持しつつ、画面に合わせて伸縮 */
    max-width: 350mm;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* 画面表示用に影を追加 */
}

/* 各ページ（セクション）のスタイル */
.page-id-887 .page {
    width: 100%;
    /* 変更点: 高さを固定せず、内容に応じて可変に */
    height: auto;
    min-height: 210mm;
    padding: 15mm;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    page-break-after: always;
    background-color: #fff;
}
.page-id-887 .page:last-child {
    page-break-after: auto;
}

/* 表紙 */
.page-id-887 .cover {
    text-align: center;
}
.page-id-887 .cover h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    border-bottom: 2px solid #0d47a1;
    padding-bottom: 10px;
    display: inline-block;
}
.page-id-887 .cover h2 {
    font-size: 24px;
    font-weight: normal;
}

/* セクション共通スタイル */
.page-id-887 .section-title {
    font-size: 32px;
    font-weight: bold;
    color: #0d47a1;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
}

.page-id-887 .content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.page-id-887 .text-content {
    flex: 1;
}

.page-id-887 .icon-content {
    flex: 0 0 200px;
    text-align: center;
}
.page-id-887 .icon-content svg {
    width: 150px;
    height: 150px;
}

.page-id-887 p {
    font-size: 18px;
    margin-bottom: 20px;
}

.page-id-887 strong {
    color: #d32f2f;
    font-weight: bold;
}

/* 各セクションの詳細スタイル */
.page-id-887 .merit-cards, 
.page-id-887 .comparison-table {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

.page-id-887 .card {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.page-id-887 .card .icon {
    font-size: 48px;
    color: #1976d2;
    margin-top: 8px;
    margin-bottom: 0;
}

.page-id-887 .card .icon svg {
    width: 60px;
    height: 60px;
    fill: #1976d2;
}
.page-id-887 .card h3 {
    font-size: 20px;
    color: #0d47a1;
    margin-bottom: 10px;
}
.page-id-887 .card p {
    font-size: 16px;
    flex-grow: 1;
}

.page-id-887 .merit-cards p {
    font-size: 19px;
}

.page-id-887 .comparison-column {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    text-align: center;
}
.page-id-887 .comparison-column h3 {
    font-size: 24px;
    margin-bottom: 20px;
}
.page-id-887 .before h3 {
    color: #757575;
}
.page-id-887 .after h3 {
    color: #43a047;
}
.page-id-887 .comparison-column ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}
.page-id-887 .comparison-column li {
    font-size: 17px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.page-id-887 .comparison-column li svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}
.page-id-887 .before li svg { fill: #d32f2f; }
.page-id-887 .after li svg { fill: #43a047; }

.page-id-887 .arrow {
    display: flex;
    align-items: center;
    font-size: 48px;
    color: #1976d2;
}
.page-id-887 .arrow svg {
    width: 60px;
    height: 60px;
    fill: #1976d2;
}

.page-id-887 .closing-message {
    text-align: center;
}
.page-id-887 .closing-message h3 {
    font-size: 28px;
    color: #0d47a1;
    margin-bottom: 20px;
}
.page-id-887 .closing-message p {
    font-size: 20px;
}


/* =============================================== */
/* --- レスポンシブ対応 (メディアクエリ) ここから --- */
/* =============================================== */

/* --- タブレットサイズ (1024px以下) --- */
@media (max-width: 1024px) {
    .page-id-887 .page {
        min-height: auto; /* A4の高さ制約を解除 */
        padding: 40px;
    }
    .page-id-887 .section-title {
        font-size: 28px;
    }
    .page-id-887 p {
        font-size: 15px;
    }
    
    /* メリットカードを2x2のグリッドに */
    .page-id-887 .merit-cards {
        flex-wrap: wrap; /* 折り返しを許可 */
    }
    .page-id-887 .card {
        flex-basis: calc(50% - 50px); /* 2列表示のための幅計算 */
    }
}

/* --- スマートフォンサイズ (768px以下) --- */
@media (max-width: 768px) {
    .page-id-887 .proposal-container {
        margin: 0;
        box-shadow: none;
    }
    .page-id-887 .page {
        padding: 10px 5px;
    }
    .page-id-887 .cover h1 {
        font-size: 20px;
    }
.page-id-887 .section-title {
    font-size: 18px;
    margin: 0 auto;
    margin-bottom: 25px;
}
    
    /* テキストとアイコンのレイアウトを縦積みに */
    .page-id-887 .content-wrapper {
        flex-direction: column;
    }
    /* 提案セクションではアイコンが上に来るように順序を逆転 */
    .page-id-887 #proposal .content-wrapper {
        flex-direction: column-reverse;
    }
.page-id-887 .icon-content {
    display: none;
}
    .page-id-887 .icon-content svg {
        width: 100px;
        height: 100px;
    }
	
h2.section-title.problem {
    font-size: 16px;
}

    /* メリットカードを1列に */
    .page-id-887 .merit-cards {
        flex-direction: column;
        gap: 15px;
    }
    .page-id-887 .card {
        flex-basis: 100%;
    }
    .page-id-887 .card h3 {
        font-size: 18px;
    }
    .page-id-887 .card p {
        font-size: 18px;
    }

    /* 比較テーブルを縦積みに */
    .page-id-887 .comparison-table {
        flex-direction: column;
    }
    .page-id-887 .arrow svg {
        transform: rotate(90deg); /* 矢印を下向きに */
    }
    .page-id-887 .comparison-column h3 {
        font-size: 20px;
    }
     .page-id-887 .comparison-column li {
        font-size: 14px;
    }

    .page-id-887 .closing-message h3 {
        font-size: 22px;
    }
    .page-id-887 .closing-message p {
        font-size: 16px;
    }
	
	.page-id-887 .arrow {
    justify-content: center;
}
	
	.page-id-887 .comparison-column {
    padding: 20px 5px;
}
	
.page-id-887 .closing-message p {
    font-size: 13px;
}
}


/* -------------------------------------------------------------
請求書自動メールシステムpage-id-867
------------------------------------------------------------- */
/* 基本スタイル */
.page-id-885 body {
    font-family: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* 画面表示時の背景色 */
    color: #333;
}

/* ページ全体のコンテナ */
.page-id-885 .page-container {
    max-width: 297mm;
    width: 100%;
    min-height: 210mm;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* 各ページ（セクション）のスタイル */
.page-id-885 section {
    width: 100%;
    height: auto;
    min-height: 210mm;
    padding: 30px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px dashed #ccc;
    background-color: #fff;
}

.page-id-885 h1, 
.page-id-885 h2, 
.page-id-885 h3 {
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.page-id-885 h1 { font-size: 42px; color: #1a237e; }
.page-id-885 h2 { font-size: 30px; color: #283593; margin-bottom: 30px; text-align: center; border-bottom: 3px solid #3f51b5; padding-bottom: 10px; }
.page-id-885 h3 { font-size: 22px; color: #3f51b5; margin-bottom: 15px; }
.page-id-885 p { font-size: 18px; line-height: 1.8; margin: 0; }

.page-id-885 .content-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: stretch; /* 高さを揃える */
    gap: 30px;
}

.page-id-885 .card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上揃えに変更 */
    transition: transform 0.3s, box-shadow 0.3s;
}
.page-id-885 .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-id-885 .icon {
    font-size: 60px;
    margin-bottom: 20px;
}

/* 比較セクションのスタイル */
.page-id-885 .comparison-container {
    display: flex;
    width: 100%;
    gap: 30px;
}
.page-id-885 .comparison-box {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}
.page-id-885 .before {
    background-color: #ffebee;
    border: 2px solid #c62828;
}
.page-id-885 .after {
    background-color: #e8f5e9;
    border: 2px solid #2e7d32;
}
.page-id-885 .comparison-box h3 {
    color: #fff;
    background-color: #c62828;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.page-id-885 .after h3 {
    background-color: #2e7d32;
}
.page-id-885 .comparison-box ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}
.page-id-885 .comparison-box li {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.page-id-885 .comparison-box li::before {
    font-size: 24px;
    margin-right: 10px;
}
.page-id-885 .before li::before { content: '😥'; }
.page-id-885 .after li::before { content: '😊'; }


/* 表紙と締めのスタイル */
.page-id-885 #cover, 
.page-id-885 #closing {
    text-align: center;
}
.page-id-885 #closing p {
    font-size: 22px;
}
.page-id-885 #closing .contact-info {
    margin-top: 40px;
    font-size: 18px;
    line-height: 1.6;
}

/* ★★★ インラインスタイルから移動したスタイル ★★★ */
.page-id-885 #proposal .highlight {
    color: #ff5722;
}
.page-id-885 .section-description {
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
}
/* ★★★ ここまで ★★★ */


/* =============================================== */
/* --- レスポンシブ対応 (メディアクエリ) ここから --- */
/* =============================================== */

/* --- タブレットサイズ (1024px以下) --- */
@media (max-width: 1024px) {
    .page-id-885 section {
        min-height: auto; /* A4の高さ制約を解除 */
        height: auto;
        padding: 50px 30px; /* 余白を調整 */
    }

    .page-id-885 h1 { font-size: 38px; }
    .page-id-885 h2 { font-size: 32px; }
    .page-id-885 h3 { font-size: 22px; }
    .page-id-885 p { font-size: 17px; }

    /* メリットが4つの場合、2x2のグリッドにする */
    .page-id-885 #merit .content-wrapper {
        flex-wrap: wrap; /* 折り返しを許可 */
    }
    .page-id-885 #merit .card {
        flex-basis: calc(50% - 60px); /* 2列表示のための幅計算 */
    }
}

/* --- スマートフォンサイズ (768px以下) --- */
@media (max-width: 768px) {
    .page-id-885 .page-container {
        margin: 0;
        box-shadow: none;
    }
    .page-id-885 section {
        padding: 40px 20px;
    }

    .page-id-885 h1 { font-size: 28px; }
    .page-id-885 h2 { font-size: 24px; margin-bottom: 25px; }
    .page-id-885 h3 { font-size: 20px; }
    .page-id-885 p, 
    .page-id-885 .comparison-box li { font-size: 16px; }

    /* --- 横並びの要素を縦積みに変更 --- */
    .page-id-885 .content-wrapper,
    .page-id-885 .comparison-container {
        flex-direction: column;
        gap: 20px;
    }

    /* メリットの2列表示を1列に戻す */
    .page-id-885 #merit .card {
        flex-basis: 100%;
    }

    .page-id-885 .section-description, 
    .page-id-885 #closing p {
        font-size: 18px;
    }

    /* 比較リストの絵文字サイズを調整 */
    .page-id-885 .comparison-box li::before {
        font-size: 20px;
    }
}


/* --------------------------------
/* 価格・プランセクション
/* -------------------------------- */

/* セクション全体 */
.page-id-885 .pricing-section {
  background-color: #f9fafb; /* 背景色 */
  padding: 80px 20px;
  text-align: center;
  font-family: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

.page-id-885 .pricing-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* セクションタイトル */
.page-id-885 .section-title {
  font-size: 36px;
  color: #1a237e; /* 濃い青 */
  margin-bottom: 16px;
  font-weight: 600;
}

/* セクション説明文 */
.page-id-885 .section-lead {
  font-size: 18px;
  color: #555;
  margin-bottom: 60px;
  line-height: 1.8;
}

/* プランカードのコンテナ */
.page-id-885 .pricing-cards {
  display: flex;
  justify-content: center;
  align-items: stretch; /* カードの高さを揃える */
  gap: 30px; /* カード間の余白 */
  flex-wrap: wrap;
}

/* 各プランカードのスタイル */
.page-id-885 .plan-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 40px;
  text-align: left;
  flex: 1;
  min-width: 300px; /* 最小幅 */
  max-width: 360px; /* 最大幅 */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative; /* おすすめバッジのため */
  overflow: hidden; /* おすすめバッジのため */
}

/* おすすめプランのスタイル */
.page-id-885 .plan-card.recommended {
  border: 2px solid #3f51b5; /* 強調用の青いボーダー */
  transform: scale(1.05); /* 少し大きく表示 */
}

/* おすすめバッジ */
.page-id-885 .recommend-badge {
  position: absolute;
  top: 20px;
  right: -45px;
  background-color: #3f51b5; /* 青 */
  color: #fff;
  padding: 8px 40px;
  font-size: 14px;
  font-weight: bold;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* プランヘッダー */
.page-id-885 .plan-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.page-id-885 .plan-name {
  font-size: 24px;
  color: #283593;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.page-id-885 .plan-description {
  font-size: 15px;
  color: #666;
  margin: 0;
  min-height: 40px; /* 説明文の高さを確保 */
}

/* 価格表示 */
.page-id-885 .plan-price {
  margin-bottom: 30px;
  text-align: center;
}

.page-id-885 .price-number {
  font-size: 48px;
  font-weight: bold;
  color: #1a237e;
}

.page-id-885 .price-unit {
  font-size: 18px;
  color: #555;
  margin-left: 4px;
}

/* 機能リスト */
.page-id-885 .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1; /* ボタンを一番下に配置するため */
}

.page-id-885 .plan-features li {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.page-id-885 .check-icon {
  color: #4caf50; /* 緑色 */
  font-weight: bold;
  margin-right: 10px;
}

/* 申し込みボタン */
.page-id-885 .plan-button {
  display: block;
  background-color: #6c757d; /* グレー */
  color: #fff;
  text-align: center;
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.page-id-885 .plan-button:hover {
  background-color: #5a6268;
}

/* おすすめプランのボタン */
.page-id-885 .plan-card.recommended .plan-button {
  background-color: #3f51b5; /* 青 */
}

.page-id-885 .plan-card.recommended .plan-button:hover {
  background-color: #303f9f;
}


/* --------------------------------
/* レスポンシブ対応 (768px以下)
/* -------------------------------- */
@media (max-width: 768px) {
  .page-id-885 .pricing-section {
    padding: 60px 15px;
  }

  .page-id-885 .section-title {
    font-size: 28px;
  }

  .page-id-885 .section-lead {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-id-885 .pricing-cards {
    flex-direction: column; /* カードを縦積み */
    align-items: center;
    gap: 40px;
  }

  .page-id-885 .plan-card {
    max-width: 100%;
    padding: 30px;
  }

  .page-id-885 .plan-card.recommended {
    transform: scale(1); /* スマホでは拡大しない */
  }
}



/* -------------------------------------------------------------
図面検索システム
------------------------------------------------------------- */
/* ページ全体の背景色などを指定 */
body.page-id-867, body { /* 汎用性を高めるため body にもスタイルを適用 */
  background-color: #f0f2f5;
  margin: 0; /* body のデフォルトマージンをリセット */
}

/* ページ内のコンテンツエリアのスタイル */
.page-id-867 .proposal-container, .proposal-container { /* 汎用性を高めるためのセレクタ追加 */
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Meiryo', 'メイリオ', 'Osaka', 'MS PGothic', sans-serif;
  color: #333;
  /* 変更点: PCではA4サイズに近い最大幅を保ちつつ、ウィンドウ幅に応じて伸縮するように変更 */
  max-width: 297mm;
  width: 100%;
  margin: 40px auto;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-id-867 .page, .page { /* 汎用性を高めるためのセレクタ追加 */
  width: 100%;
  /* 変更点: 高さを固定せず、内容に応じて可変に。最小の高さを画面の高さに設定 */
  min-height: 220mm;
  height: auto;
  padding: 0 40px; /* 単位をmmからpxに変更 */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  page-break-after: always; /* 印刷時には改ページ */
  position: relative;
}

.page-id-867 .page:last-child, .page:last-child {
  page-break-after: auto;
}

.page-id-867 h1, .page-id-867 h2, .page-id-867 h3, .page-id-867 p,
h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

.page-id-867 h2, h2 {
  font-size: 26pt;
  color: #1a3a6e;
  border-bottom: 3px solid #1a3a6e;
  padding-bottom: 10px;
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
  max-width: 90%; /* コンテンツ幅を少し制限 */
}

.page-id-867 h3, h3 {
  font-size: 20pt;
  color: #1a3a6e;
  margin-bottom: 20px;
}

.page-id-867 p, p {
  font-size: 14pt;
  line-height: 1.8;
}

.page-id-867 .icon, .icon {
  width: 64px;
  height: 64px;
  stroke-width: 1.5;
  margin-bottom: 15px;
  color: #1a3a6e;
}

.page-id-867 .highlight, .highlight {
  color: #d9534f;
  font-weight: bold;
}

.page-id-867 .strong-point, .strong-point {
  color: #1a3a6e;
  font-weight: bold;
  font-size: 1.2em;
}

/* --- 各セクションのスタイル (変更なし) --- */
.page-id-867 #cover, #cover {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-id-867 #cover h1, #cover h1 {
  font-size: 48pt;
  color: #333;
  border: none;
  margin-bottom: 20px;
}

.page-id-867 #cover .company-name, #cover .company-name {
  font-size: 18pt;
  margin-top: 80px;
}

.page-id-867 #problem .problem-container, #problem .problem-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.page-id-867 .problem-card, .problem-card {
  background-color: #f7f9fc;
  border: 1px solid #e0e6f0;
  border-radius: 12px;
  padding: 30px;
  width: 45%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto; /* 高さを自動調整に変更 */
  box-sizing: border-box;
}

.page-id-867 .problem-card h3, .problem-card h3 {
  font-size: 18pt;
  color: #d9534f;
}

.page-id-867 section#proposal, section#proposal {
  text-align: center;
}

.page-id-867 #proposal .icon-main, #proposal .icon-main {
  font-size: 170px;
  color: #1a3a6e;
  margin-top: 50px;
  margin-bottom: 70px;
}

.page-id-867 .fa-mobile-alt:before, .page-id-867 .fa-mobile-screen-button:before,
.fa-mobile-alt:before, .fa-mobile-screen-button:before {
  content: "\f3cd";
  color: #1a3a6e;
}

.page-id-867 #proposal p, #proposal p {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.page-id-867 #proposal .highlight, #proposal .highlight {
  color: #1a3a6e;
}

.page-id-867 #solution, #solution {
  text-align: center;
}

.page-id-867 #solution .app-name, #solution .app-name {
  font-size: 36pt;
  font-weight: bold;
  color: #fff;
  background-color: #1a3a6e;
  padding: 20px 40px;
  border-radius: 15px;
  display: inline-block;
  margin: 20px 0;
  box-shadow: 0 5px 15px rgba(26, 58, 110, 0.3);
}

.page-id-867 #solution .features, #solution .features {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
  width: 100%;
  gap: 20px; /* gapを追加 */
}

.page-id-867 .feature-item, .feature-item {
  width: 45%; /* 幅を調整 */
  text-align: center;
}

.page-id-867 .feature-item .icon, .feature-item .icon {
  color: #4caf50;
}

.page-id-867 .feature-item p, .feature-item p {
  font-size: 12pt;
}

.page-id-867 #merit .merit-container, #merit .merit-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  width: 100%;
}

.page-id-885 .merit h3 {
    font-size: 17px;
    color: #3f51b5;
    margin-bottom: 15px;
}

.page-id-867 .merit-card, .merit-card {
  background-color: #fff;
  border: 2px solid #1a3a6e;
  border-radius: 12px;
  padding: 25px;
  width: 30%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: auto; /* 高さを自動調整に変更 */
  box-sizing: border-box;
}

.page-id-867 .merit-card .icon, .merit-card .icon {
  color: #ff9800;
}

.page-id-867 .merit-card h3, .merit-card h3 {
  font-size: 18pt;
  border-bottom: 2px solid #ff9800;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.page-id-867 #comparison .comparison-container, #comparison .comparison-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.page-id-867 .comparison-box, .comparison-box {
  width: 40%;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.page-id-867 .before, .before {
  background-color: #fdeeee;
  border: 2px dashed #d9534f;
}

.page-id-867 .after, .after {
  background-color: #e8f5e9;
  border: 2px solid #4caf50;
}

.page-id-867 .comparison-box h3, .comparison-box h3 {
  font-size: 22pt;
}

.page-id-867 .before h3, .before h3 {
  color: #d9534f;
}

.page-id-867 .after h3, .after h3 {
  color: #4caf50;
}

.page-id-867 .comparison-box ul, .comparison-box ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
  margin-top: 20px;
}

.page-id-867 .comparison-box li, .comparison-box li {
  font-size: 13pt;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.page-id-867 .comparison-box .list-icon, .comparison-box .list-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 5px;
}

.page-id-867 .comparison-arrow, .comparison-arrow {
  width: 10%;
  text-align: center;
}

.page-id-867 .comparison-arrow .icon, .comparison-arrow .icon {
  width: 100px;
  height: 100px;
  color: #1a3a6e;
}

.page-id-867 #closing, #closing {
  text-align: center;
}

.page-id-867 #closing .message, #closing .message {
  font-size: 24pt;
  font-weight: bold;
  margin: 30px 0;
}

.page-id-867 #closing .next-step, #closing .next-step {
  background-color: #f7f9fc;
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
}

.post-inquiry-button a {
    display: inline-block;
    background-color: #d9534f;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.post-inquiry-button a:hover {
    opacity: 0.8;
}


/* =============================================== */
/* --- レスポンシブ対応 (メディアクエリ) ここから --- */
/* =============================================== */

/* --- タブレットサイズ (1024px以下) --- */
@media (max-width: 1024px) {
  .page-id-867 .page, .page {
    min-height: auto; /* 最小高さを解除 */
    padding: 30px;
  }

  .page-id-867 h2, h2 {
    font-size: 24pt;
    margin-bottom: 30px;
  }

  .page-id-867 h3, h3 {
    font-size: 18pt;
  }

  .page-id-867 p, p {
    font-size: 13pt;
  }

  /* --- メリットセクションのレイアウト調整 --- */
  .page-id-867 #merit .merit-container, #merit .merit-container {
    flex-wrap: wrap; /* 折り返しを許可 */
  }
  .page-id-867 .merit-card, .merit-card {
    width: 45%; /* 2列表示にする */
    margin-bottom: 20px;
  }
}


/* --- スマートフォンサイズ (768px以下) --- */
@media (max-width: 768px) {
  .page-id-867 .proposal-container, .proposal-container {
    margin: 0;
    box-shadow: none;
  }
	
#cover h1, .page-id-867 #cover h1 {
    margin-top: 60px;
    margin-bottom: 50px;
    font-size: 18pt;
}

  .page-id-867 .page, .page {
    padding: 0 12px; /* 上下の余白を確保し、左右の余白を減らす */
  }

  .page-id-867 h1, #cover h1 {
    font-size: 28pt;
  }

  .page-id-867 h2, h2 {
    font-size: 18pt;
    padding-bottom: 8px;
    margin-bottom: 30px;
  }

  .page-id-867 h3, h3 {
    font-size: 16pt;
  }

  .page-id-867 p, p {
    font-size: 12pt;
    line-height: 1.7;
  }

  /* --- 横並びの要素を縦積みに変更 --- */
  .page-id-867 #problem .problem-container, #problem .problem-container,
  .page-id-867 #solution .features, #solution .features,
  .page-id-867 #merit .merit-container, #merit .merit-container,
  .page-id-867 #comparison .comparison-container, #comparison .comparison-container {
    flex-direction: column; /* 縦並びに変更 */
    gap: 20px;
  }

  /* --- 各カードの幅を100%に --- */
  .page-id-867 .problem-card, .problem-card,
  .page-id-867 .feature-item, .feature-item,
  .page-id-867 .merit-card, .merit-card,
  .page-id-867 .comparison-box, .comparison-box {
    width: 100%;
    max-width: 400px; /* 最大幅を指定して見やすくする */
  }

  .page-id-867 .comparison-arrow, .comparison-arrow {
    display: none; /* スマホでは矢印を非表示 */
  }

  .page-id-867 #proposal p, #proposal p {
      font-size: 16px;
  }

  .page-id-867 #proposal .icon-main, #proposal .icon-main {
      font-size: 120px;
      margin: 30px 0 40px;
  }

  .page-id-867 #solution .app-name, #solution .app-name {
      font-size: 16pt;
      padding: 15px 25px;
  }

  .page-id-867 #closing .message, #closing .message {
      font-size: 13pt;
  }

  .page-id-867 #closing .next-step p, #closing .next-step p {
      font-size: 12pt;
  }
	
	.page-id-867 #closing .message, #closing .message {
    font-size: 13pt;
}
	
.page-id-885 #closing p {
font-size: 15px;
}

}



/* -------------------------------------------------------------
固定ページ共通お問い合わせボタン
------------------------------------------------------------- */
.post-inquiry-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 15px 30px;
    background-image: none;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: none;
    transition: filter 0.6s ease, transform 0.1s ease;
}
	
	.post-inquiry-button a {
    background-color: #d98c4f;
    
}

.post-inquiry-button::hover {
opacity: 0.8;
}

.post-inquiry-button a {
color: #fefefe;
}

@media (max-width: 768px) {

}
