@charset "utf-8";

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body,
div,
img,
h1,
h2,
h3,
p,
ul,
ol,
li,
dl,
dt,
dd,
table,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    -webkit-text-size-adjust: 100%;
    font-family: "Noto Sans JP", sans-serif;
    color: #231815;
    background: #fff;
}

/* サイト共通CSSのフォント指定より優先させる */
.faulty-guideline,
.faulty-guideline * {
    font-family: "Noto Sans JP", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

ul,
ol {
    list-style: none;
}

em {
    font-style: normal;
}

:root {
    --main-color: #ff5800;
    --gold-color: #a97a3a;
    --red-color: #e5242b;
    --bg-color: #fdf4f0;
}

.pc {
    display: inline;
}

.sp {
    display: none;
}

.mb80 {
    margin-bottom: 80px;
}

.site_content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.wrap {
    max-width: 890px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   共通
======================================== */

.faulty-guideline {
    padding-top: 50px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
}

.faulty-guideline p {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 600;
}

.fg_page_ttl {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    padding-left: 18px;
    border-left: 5px solid var(--main-color);
    margin-bottom: 50px;
}

.fg_ttl {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--main-color);
    margin-bottom: 30px;
}

.fg_ttl--sm {
    font-size: 22px;
}

.fg_sec p+p {
    margin-top: 1.4em;
}

.faulty-guideline .fg_note {
    font-size: 14px;
}

.fg_box {
    border: 3px solid var(--main-color);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

/* ========================================
   基本方針
======================================== */

.fg_policy .fg_note {
    font-size: 16px;
    margin-top: 2em;
}

/* ========================================
   減額基準テーブル
======================================== */

.fg_table {
    width: 100%;
    margin-top: 30px;
    border-collapse: separate;
    border-spacing: 3px;
}

.fg_table thead th {
    background: var(--main-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 8px;
    line-height: 1.3;
    vertical-align: middle;
}

.fg_table thead th:nth-child(1) {
    width: 33%;
}

.fg_table thead th:nth-child(2) {
    width: 19%;
}

.fg_table tbody th,
.fg_table tbody td {
    background: var(--bg-color);
    border: 1px solid #ddd;
    padding: 10px 12px;
    vertical-align: middle;
}

.fg_table tbody th {
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.fg_cell {
    display: flex;
    align-items: center;
}

.fg_table tbody th .fg_item {
    line-height: 1.4;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.fg_icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    margin: 0 12px 0 30px;
    border-radius: 50%;
    border: 1px solid #f6c7ad;
    background: #fff;
    color: var(--main-color);
    padding: 7px;
}

.fg_icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.fg_table td {
    font-size: 15px;
    line-height: 1.5;
}

.fg_table .fg_rate {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.fg_rate small {
    font-size: 16px;
    margin-left: 4px;
}

.fg_table_note {
    display: block;
    font-size: 12px;
}

.fg_note--table {
    margin-top: 4px;
}

/* ========================================
   計算式
======================================== */

.fg_formula_ttl {
    color: var(--main-color);
    font-size: 24px;
    font-weight: 700;
    margin: 50px 0 20px;
    line-height: 1.7;
}

/* 計算式・計算例（PC・SPとも画像） */
.fg_formula_img {
    padding: 0 4px;
}

.fg_example_img {
    margin-top: 40px;
}

.fg_formula_img img,
.fg_example_img img {
    display: block;
    width: 100%;
}

.fg_example_img .fg_note {
    margin-top: 6px;
}

.fg_sp_only {
    display: none;
}

/* ========================================
   家具・家電の不具合
======================================== */

.fg_washer {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-color);
    border-radius: 10px;
    padding: 24px 28px;
}

/* 左カラムは見出しの幅に合わせ、本文は見出し幅で折り返す */
.fg_washer_txt {
    flex: 0 0 auto;
    width: min-content;
}

.fg_washer_ttl {
    white-space: nowrap;
    color: var(--main-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.7;
}

.faulty-guideline .fg_washer_txt p {
    font-size: 15px;
}

/* 横に並びきらない幅では2段にする */
.fg_washer_terms {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    flex: 1;
}

.fg_washer_terms .fg_box {
    flex: 1 1 220px;
    padding: 8px 10px 10px;
}

.fg_washer_terms dt {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

.fg_washer_terms dd {
    font-weight: 700;
    line-height: 1.2;
}

.fg_washer_terms dd em {
    color: var(--red-color);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}

.fg_washer_terms dd small {
    font-size: 20px;
    line-height: 1.2;
}

.fg_washer_terms dd strong {
    color: var(--red-color);
    font-size: 30px;
    line-height: 1.4;
}

.faulty-guideline .fg_exclusion {
    border: 3px solid var(--main-color);
    border-radius: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 2;
    padding: 20px;
    margin-top: 36px;
}

.fg_exclusion strong {
    color: var(--red-color);
    font-size: 40px;
    letter-spacing: 0.08em;
    margin: 0 0.3em;
    line-height: 2;
}

/* ========================================
   清掃不備
======================================== */

.fg_cards {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.fg_card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
}

.fg_card_ttl {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3em;
    color: var(--main-color);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
}

.fg_card p {
    font-size: 15px;
}

/* ========================================
   その他
======================================== */

.fg_others_list {
    background: var(--bg-color);
    border-radius: 10px;
    padding: 24px 40px;
    margin-top: 20px;
}

.fg_others_list li {
    position: relative;
    padding-left: 1.2em;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

.fg_others_list li+li {
    margin-top: 10px;
}

.fg_others_list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* ========================================
   SP
======================================== */

@media (max-width: 600px) {
    .pc {
        display: none;
    }

    .sp {
        display: inline;
    }

    .fg_sp_only {
        display: block;
    }

    .mb80 {
        margin-bottom: 60px;
    }

    .wrap {
        padding: 0 16px;
    }

    .faulty-guideline {
        padding-top: 30px;
        font-size: 14px;
    }

    .faulty-guideline p {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.7;
    }

    .fg_page_ttl {
        font-size: 22px;
        padding-left: 12px;
        margin-bottom: 36px;
    }

    .fg_ttl {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .fg_ttl--sm {
        font-size: 18px;
    }

    .faulty-guideline .fg_note,
    .fg_policy .fg_note {
        font-size: 12px;
    }

    /* テーブル */
    .fg_table {
        margin-top: 20px;
        border-spacing: 2px;
    }

    .fg_table thead th {
        font-size: 14px;
        padding: 8px 4px;
        vertical-align: middle;
    }

    .fg_table thead th:nth-child(1) {
        width: 42%;
    }

    .fg_table thead th:nth-child(2) {
        width: 20%;
    }

    .fg_table tbody th,
    .fg_table tbody td {
        padding: 8px 6px;
    }

    .fg_table tbody th {
        font-size: 14px;
        white-space: nowrap;
        padding: 8px 4px;
    }

    .fg_table tbody th .fg_item {
        line-height: 1.4;
        font-weight: 700;
        font-size: 14px;
        white-space: nowrap;
    }

    .fg_icon {
        width: 34px;
        height: 34px;
        padding: 5px;
        margin: 0 6px 0 0;
    }

    .fg_table td {
        font-size: 12px;
    }

    .fg_table .fg_rate {
        font-size: 20px;
    }

    .fg_rate small {
        font-size: 12px;
        margin-left: 1px;
    }

    .fg_table_note {
        font-size: 10px;
    }

    /* 計算式 */
    .fg_formula_ttl {
        font-size: 18px;
        margin: 30px 0 14px;
        line-height: 1.7;
    }

    .fg_formula_img img {
        width: 85%;
        margin: 0 auto;
    }

    .fg_example_img {
        margin-top: 30px;
    }

    /* 家具・家電 */
    .fg_washer {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px 16px;
    }

    .fg_washer_txt {
        width: auto;
    }

    .fg_washer_ttl {
        font-size: 20px;
        margin-bottom: 6px;
        line-height: 1.7;
    }

    .faulty-guideline .fg_washer_txt p {
        font-size: 13px;
    }

    .fg_washer_terms {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .fg_washer_terms .fg_box {
        flex: 1;
        width: auto;
        border-width: 2px;
    }

    .fg_washer_terms dt {
        font-size: 14px;
        line-height: 1.7;
    }

    .fg_washer_terms dd em {
        font-size: 24px;
        line-height: 1.2;
    }

    .fg_washer_terms dd small {
        font-size: 13px;
        line-height: 1.2;
    }

    .fg_washer_terms dd strong {
        font-size: 20px;
    }

    .faulty-guideline .fg_exclusion {
        font-size: 15px;
        line-height: 1.8;
        padding: 16px 10px;
        margin-top: 24px;
        border-width: 2px;
    }

    .fg_exclusion br {
        display: none;
    }

    .fg_exclusion strong {
        display: block;
        font-size: 26px;
        margin: 4px 0;
        line-height: 1.8;
    }

    /* 清掃不備 */
    .fg_cards {
        flex-direction: column;
        gap: 14px;
    }

    .fg_card {
        padding: 18px 16px;
    }

    .fg_card_ttl {
        min-height: 0;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .faulty-guideline .fg_card p {
        font-size: 13px;
    }

    /* その他 */
    .fg_others_list {
        padding: 18px 16px;
    }

    .fg_others_list li {
        font-size: 15px;
    }
}