/* 全体のコンテナ */

.symptom-container {
    max-width: 920px;

    margin: 20px auto;

    background-color: #fcfcfc;

    padding: 25px 20px;

    border-radius: 16px;

    border: 2px solid #e0e0e0;

    font-family: "Helvetica Neue", Arial, sans-serif;

    box-sizing: border-box;
}

/* 大見出し */

.symptom-main-title {
    background-color: #004098;
    /* 参考画像の青 */

    color: #fff;

    text-align: center;

    padding: 15px;

    border-radius: 8px;

    margin-top: 0;

    margin-bottom: 25px;
    /* 画像との余白 */

    font-size: 20px;

    font-weight: bold;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* GIF画像のエリア */

.symptom-gif-area {
    text-align: center;

    margin-bottom: 35px;
    /* 下のコンテンツとの余白 */
}

.symptom-gif-img {
    max-width: 100%;

    height: auto;

    border-radius: 8px;

    border: 1px solid #ddd;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* セクション見出し */

.symptom-sub-header {
    text-align: center;

    font-size: 18px;

    color: #333;

    margin-bottom: 20px;

    font-weight: bold;

    position: relative;

    padding-bottom: 10px;
}

/* 2カラムレイアウト */

.symptom-flex-row {
    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    margin-bottom: 40px;
}

/* 各ボックスの共通スタイル */

.symptom-box {
    flex: 1;

    min-width: 280px;
    /* スマホで狭くなりすぎないように */

    border-radius: 12px;

    padding: 20px 15px 15px 15px;

    position: relative;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* 各ボックスのラベル（左上のタイトル） */

.box-label {
    padding: 6px 16px;

    border-radius: 20px;

    font-weight: bold;

    font-size: 14px;

    position: absolute;

    top: -14px;

    left: 15px;

    color: white;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --- 青色ボックス（臭い・汚れ） --- */

.box-blue {
    background-color: #e3f2fd;

    border: 2px solid #2196f3;
}

.box-blue .box-label {
    background-color: #2196f3;
}

.box-blue ul {
    color: #0d47a1;
}

/* --- 緑色ボックス（意識・タイミング） --- */

.box-green {
    background-color: #e8f5e9;

    border: 2px solid #4caf50;
}

.box-green .box-label {
    background-color: #4caf50;
}

.box-green ul {
    color: #1b5e20;
}

/* --- 赤色ボックス（エラー・故障） --- */

.box-red {
    background-color: #fff5f5;
    /* 薄い赤 */

    border: 2px solid #ef5350;
}

.box-red .box-label {
    background-color: #ef5350;
}

.box-red-content {
    color: #c62828;
    font-weight: bold;
    font-size: 14px;
}

/* リストスタイル */

.symptom-box ul {
    list-style: none;

    padding: 0;

    margin: 10px 0 0 0;

    font-weight: bold;

    font-size: 15px;
}

.symptom-box li {
    margin-bottom: 10px;

    display: flex;

    align-items: flex-start;
}

.icon-span {
    margin-right: 10px;

    font-size: 1.3em;

    line-height: 1;
}

/* エラーコードエリア */

.error-code-area {
    margin-top: 15px;

    border-top: 1px dashed #ef9a9a;

    padding-top: 10px;
}

.error-code-title {
    font-size: 12px;

    color: #666;

    display: block;

    margin-bottom: 6px;
}

.error-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}

.error-tag {
    background: #3d5b86;
    /* 指定のネイビーカラー */

    color: #fff;

    padding: 4px 8px;

    border-radius: 4px;

    font-size: 11px;

    font-weight: normal;

    font-family: monospace, sans-serif;
}

/* スマホ調整 */

@media (max-width: 600px) {
    .symptom-container {
        width: 90%;
        margin: 0 auto;
    }

    .symptom-main-title {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .symptom-flex-row {
        gap: 30px;
        margin-bottom: 30px;
    }
}

/* ---------------- */
/* --- ベーススタイル --- */

.service-price-section {
    font-family: "Helvetica Neue", Arial, sans-serif;

    margin: 40px auto;

    color: #333;

    line-height: 1.6;
}

.service-price-section-inn {
    max-width: 980px;
    margin: 0 auto;
}

/* --- 大見出し (H2) --- */
.service-main-title {
    background-color: #3d5b86;
    /* ご指定のネイビー */
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
}

/* --- GIF画像エリア --- */
.service-gif-container {
    text-align: center;
    margin-bottom: 50px;
}

.service-gif-img {
    max-width: 100%;

    height: auto;

    border: 3px solid #3d5b86;

    border-radius: 8px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* --- 中見出し (H3) --- */

.service-sub-title {
    color: #3d5b86;

    font-size: 20px;

    border-bottom: 2px solid #3d5b86;

    padding-bottom: 10px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    font-weight: bold;
}

.service-sub-title::before {
    content: "";

    display: inline-block;

    width: 8px;

    height: 8px;

    background: #3d5b86;

    margin-right: 10px;

    border-radius: 50%;
}

/* --- テーブル共通設定 --- */

.service-table-wrap {
    overflow-x: auto;
    /* スマホで横スクロール */

    margin-bottom: 10px;

    -webkit-overflow-scrolling: touch;
}

.service-table {
    width: 100%;

    border-collapse: collapse;

    min-width: 600px;
    /* スマホでも崩れないように最小幅を設定 */
}

.service-table th {
    background-color: #f4f7fb;

    border-bottom: 2px solid #3d5b86;

    color: #3d5b86;

    padding: 12px;

    text-align: left;

    white-space: nowrap;

    font-weight: bold;
}

.service-table td {
    padding: 15px;

    border-bottom: 1px solid #ddd;

    vertical-align: middle;
}

/* コース名の列（強調デザイン） */

.course-name {
    background-color: #3d5b86;

    color: #fff;

    font-weight: bold;

    width: 25%;
}

/* 料金の列 */

.course-price {
    text-align: center;

    width: 30%;

    background-color: #fff;
}

.price-main {
    font-size: 18px;

    color: #c62828;
    /* 価格用の赤 */

    font-weight: bold;

    display: block;
}

.price-sub {
    font-size: 12px;

    color: #666;

    display: block;
}

/* 作業内容の列 */

.course-desc {
    font-size: 14px;

    width: 45%;

    background-color: #fff;
}

.course-desc strong {
    color: #333;

    display: block;

    margin-bottom: 4px;
}

/* 注釈 */

.service-note {
    font-size: 12px;

    color: #666;

    text-align: right;

    margin-bottom: 40px;

    margin-top: 5px;
}

/* スマホ用調整 */

@media (max-width: 480px) {
    .service-main-title {
        font-size: 18px;
        padding: 15px;
    }

    .service-sub-title {
        font-size: 18px;
    }

    .service-price-section-inn {
        width: 90%;
        margin: 0 auto;
    }

    .price-main {
        font-size: 16px;
    }
}

/* -------------- */

/* 控えめなボタンのスタイル */

.sub-link-container {
    text-align: center;

    margin-top: 50px;
    /* 上に少し余白を空ける */

    margin-bottom: 30px;
}

.sub-link-text {
    font-size: 14px;

    color: #666;

    margin-bottom: 12px;
}

.sub-link-btn {
    display: inline-block;

    text-decoration: none;

    color: #3d5b86;
    /* メインカラーのネイビー */

    background-color: #fff;
    /* 背景は白で控えめに */

    border: 1px solid #3d5b86;
    /* 細い枠線 */

    padding: 12px 30px;
    /* 程よい余白 */

    border-radius: 50px;
    /* 丸くして優しい印象に */

    font-size: 14px;

    transition: all 0.3s ease;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* ほんのり影をつけて上品に */
}

/* ホバー（マウスを乗せた）時の動き */

.sub-link-btn:hover {
    background-color: #f4f7fb;
    /* 薄いネイビー背景に変化 */

    opacity: 0.9;

    transform: translateY(-1px);
    /* 少しだけ浮く */
}

/* スマホ表示調整 */

@media (max-width: 480px) {
    .sub-link-btn {
        width: 90%;
        /* スマホでは横幅を広めに */

        box-sizing: border-box;

        padding: 12px 10px;

        font-size: 13px;
    }
}

/* -------------- */

/* 全体のスタイル */

.cleaning-reason-section {
    font-family: "Helvetica Neue", Arial, sans-serif;

    margin: 40px auto;

    color: #333;

    line-height: 1.6;
}

.cleaning-reason-section-inn {
    max-width: 920px;
    margin: 0 auto;
}

/* H2見出し */

.reason-h2 {
    background-color: #3d5b86;
    /* ネイビー */

    color: #fff;

    padding: 15px 20px;

    border-radius: 4px;

    font-size: 22px;

    margin-bottom: 25px;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* H3見出し */

.reason-h3 {
    border-bottom: 2px solid #3d5b86;

    color: #3d5b86;

    padding-bottom: 8px;

    margin-top: 40px;

    margin-bottom: 15px;

    font-size: 20px;
}

/* 導入部分の引用風ボックス */

.intro-quote-box {
    background-color: #f9f9f9;

    padding: 15px;

    border-left: 5px solid #c62828;
    /* 赤いアクセント */

    margin-bottom: 20px;
}

.intro-quote-text {
    margin: 0 0 10px 0;

    font-weight: bold;

    color: #555;
}

/* 危険信号の強調 */

.danger-signal {
    color: #c62828;

    background: linear-gradient(transparent 70%, #ffcccc 70%);
    /* マーカー風 */

    font-weight: bold;
}

/* なぜ分解が必要か？の解説ボックス */

.why-disassemble-box {
    background-color: #f4f7fb;

    padding: 20px;

    border-radius: 8px;

    margin-bottom: 30px;

    border: 1px solid #dbe2ef;
}

.why-title {
    color: #3d5b86;

    margin-top: 0;

    margin-bottom: 10px;

    font-size: 18px;

    border-bottom: 1px dashed #3d5b86;

    padding-bottom: 5px;
}

/* 箇条書きリスト */

.reason-list {
    list-style: none;

    padding: 0;
}

.reason-list li {
    margin-bottom: 15px;

    padding-left: 20px;

    position: relative;
}

.list-bullet {
    position: absolute;

    left: 0;

    top: 0;

    color: #c62828;
}

/* エラーコードなどの補足 */

.error-note {
    color: #666;

    font-size: 12px;
}

/* まとめエリア */

.reason-summary {
    background-color: #fff8e1;
    /* 薄い黄色 */

    padding: 20px;

    text-align: center;

    border-radius: 8px;

    margin-top: 40px;

    border: 1px solid #ffecb3;

    font-weight: bold;
}

/* 画像の共通スタイル（レスポンシブ） */

.content-img {
    max-width: 100%;

    height: auto;

    display: block;

    margin: 20px auto;
    /* 上下に余白、中央寄せ */

    border-radius: 8px;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* スマホ対応 */

@media (max-width: 480px) {
    .cleaning-reason-section-inn {
        width: 90%;
        margin: 0 auto;
    }

    .reason-h2 {
        font-size: 18px;
        padding: 15px;
    }

    .reason-h3 {
        font-size: 18px;
    }
}
