/* タイトルボックス共通スタイル */
.ttlbox {
    padding: 30px 0;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin: 0;
    letter-spacing: 2px;
}

/* 選ばれる理由タイトル */
.reason-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.reason-top {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px;
    -webkit-text-stroke: 5px #000000;
    text-stroke: 3px #000000;
    paint-order: stroke fill;
}

.reason-bottom {
    display: inline-block;
    background-color: #FFF39F;
    padding: 5px 16px;
    border-radius: 10px;
}

.reason-number {
    font-size: 80px;
    font-weight: 900;
    color: #FF8181;
    font-family: Arial, sans-serif;
    line-height: 1;
    -webkit-text-stroke: 8px #000000;
    text-stroke: 3px #000000;
    paint-order: stroke fill;
}

.reason-text {
    font-size: 40px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    -webkit-text-stroke: 5px #000000;
    text-stroke: 2px #ffffff;
    paint-order: stroke fill;
}

/* 選ばれる理由 */
#reason .inner {
    padding-top: 50px;
    padding-bottom: 50px;
}

#reason .reason-title {
    margin-bottom: 50px;
}

/* よくあるエラーコードについて */
#sec_error {
    padding: 80px 0 60px;
}

#sec_error .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
}

.error-container {
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 10px;
    overflow: visible;
}

/* ヘッダー部分 */
.error-header {
    position: relative;
    background-color: #FFDD00;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.washing-machine-icon {
    position: absolute;
    left: 40px;
    top: -80px;
    width: 170px;
    z-index: 10;
}

.washing-machine-icon img {
    width: 100%;
    height: auto;
}

.error-title {
    font-size: 36px;
    font-weight: bold;
    color: #000000;
    margin: 0;
    letter-spacing: 2px;
    text-align: center;
}

/* エラーコードグリッド */
.error-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px 30px;
}

.error-box {
    background-color: #FFF9E6;
    padding: 30px 25px;
    text-align: center;
}

.error-codes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.error-code {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
}

.error-description {
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    margin: 0 0 15px 0;
}

.highlight-red {
    color: #ff0000;
    font-weight: bold;
}

/* 料金表示 */
.error-price {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.price-label {
    font-size: 14px;
    font-weight: normal;
    opacity: 0.95;
}

.price-amount {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

/* 注意メッセージ */
.error-warning {
    background-color: #ffffff;
    padding: 0 60px 40px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.warning-text {
    flex: 0 1 auto;
}

.warning-text p {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.8;
    margin: 0;
    color: #000000;
}

.technician-image {
    width: 220px;
    flex-shrink: 0;
    align-self: flex-end;
    line-height: 0;
    margin-bottom: -40px;
}

.technician-image img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
}

/* お客様への3つのお約束 */
#sec02 {
    padding: 80px 0;
}

#sec02 .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.promise-container {
    background-color: #FFF39F;
    text-align: center;
    padding: 50px 0;
}

.promise-title {
    position: relative;
    display: block;
    margin-bottom: 60px;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
}

.promise-prefix {
    display: block;
    font-size: 24px;
    background-color: #000000;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 20px;
    line-height: 1;
    margin: 0 auto 10px;
    width: fit-content;
}

.promise-number {
    display: inline-block;
    color: #FD827F;
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    font-family: Arial, sans-serif;
    -webkit-text-stroke: 8px #000000;
    text-stroke: 1px #000000;
    paint-order: stroke fill;
}

.promise-tsu {
    display: inline-block;
    color: #FD827F;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 4px #000000;
    text-stroke: 1px #000000;
    paint-order: stroke fill;
}

.promise-suffix {
    font-size: 32px;
    color: #ffffff;
    font-weight: 900;
    -webkit-text-stroke: 4px #000000;
    text-stroke: 1px #000000;
    paint-order: stroke fill;
}

.promise-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.promise-box {
    background-color: #ffffff;
    border: 4px solid #000000;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.promise-box p {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.8;
    margin: 0;
    color: #000000;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #sec_error {
        padding: 60px 0 30px;
    }

    .error-header {
        padding: 15px 10px;
        justify-content: center;
    }

    .washing-machine-icon {
        left: 10px;
        top: -34px;
        width: 65px;
    }

    .error-title {
        font-size: 14px;
        margin: 0;
        text-align: center;
        padding-left: 60px;
    }

    .error-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px 15px;
    }

    .error-box {
        padding: 15px 10px;
    }

    .error-code {
        padding: 5px 10px;
        font-size: 14px;
    }

    .error-description {
        font-size: 14px;
    }

    .error-price {
        padding: 10px 15px;
        gap: 8px;
    }



    .price-label {
        font-size: 12px;
    }

    .price-amount {
        font-size: 20px;
    }

    .error-warning {
        padding: 0 15px 20px 15px;
        gap: 0;
        align-items: flex-end;
        position: relative;
    }

    .warning-text {
        flex: 1;
        max-width: 100%;
        padding-right: 0;
        position: relative;
        z-index: 2;
    }

    .warning-text p {
        font-size: 16px;
        line-height: 1.4;
    }

    .warning-line {
        display: block;
    }

    .technician-image {
        width: 100px;
        margin-bottom: -20px;
        position: absolute;
        right: 15px;
        bottom: 20px;
    }

    /* sec02 レスポンシブ */
    #sec02 {
        padding: 60px 0;
    }

    .promise-container {
        padding: 30px 0px;
    }

    .promise-title {
        margin-bottom: 40px;
        font-size: 20px;
    }

    .promise-prefix {
        display: block;
        font-size: 16px;
        padding: 8px 20px;
        line-height: 1;
        margin: 0 auto 10px;
        width: fit-content;
    }

    .promise-number {
        font-size: 60px;
        -webkit-text-stroke: 4px #000000;
        text-stroke: 0.8px #000000;
    }

    .promise-tsu {
        font-size: 20px;
        -webkit-text-stroke: 2px #000000;
        text-stroke: 0.8px #000000;
    }

    .promise-suffix {
        font-size: 20px;
        -webkit-text-stroke: 2px #000000;
        text-stroke: 0.8px #000000;
    }

    .promise-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .promise-box {
        min-height: 80px;
    }

    .promise-box p {
        font-size: 16px;
    }

    .ttlbox {
        padding: 20px 0;
    }

    .section-title {
        font-size: 20px;
        letter-spacing: 1px;
        text-shadow:
            2px 2px 0 #000000,
            -2px 2px 0 #000000,
            2px -2px 0 #000000,
            -2px -2px 0 #000000,
            2px 0px 0 #000000,
            0px 2px 0 #000000,
            -2px 0px 0 #000000,
            0px -2px 0 #000000;
    }

    .reason-top {
        font-size: 18px;
        letter-spacing: 1px;
        -webkit-text-stroke: 2px #000000;
        text-stroke: 2px #000000;
        paint-order: stroke fill;
    }

    .reason-bottom {
        padding: 10px 20px;
    }

    .reason-number {
        font-size: 40px;
        -webkit-text-stroke: 2px #000000;
        text-stroke: 2px #000000;
        paint-order: stroke fill;
    }

    .reason-text {
        font-size: 20px;
        letter-spacing: 1px;
        -webkit-text-stroke: 2px #000000;
        text-stroke: 1px #000000;
        paint-order: stroke fill;
    }
}

/* こんなことでお悩みの方 */
#sec03 {
    padding: 80px 0;
    background-color: #2b2b2b;
    background-size: cover;
    background-position: center;
}

#sec03 .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.sec03-content {
    position: relative;
}

/* タイトルエリア */
.title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    gap: 40px;
    position: relative;
}

.sec03-title {
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    flex: 0 0 auto;
    -webkit-text-stroke: 8px #000000;
    text-stroke: 3px #000000;
    paint-order: stroke fill;
}

.sec03-title .highlight {
    color: #6B9BFF;
}

.sec03-title br.sp {
    display: none;
}

.person-img {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-radius: 50% 50% 0 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
    overflow: visible;
}

.person-img::before {
    content: '';
    position: absolute;
    bottom: 30px;
    left: -30px;
    width: 25px;
    height: 25px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.person-img::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: -50px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.person-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-radius: 50% 50% 0 0;
}

/* お悩みリスト */
.troubles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.trouble-item {
    background-color: #ffffff;
    border-radius: 50px;
    padding: 20px 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.trouble-item p {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 0;
    line-height: 1.6;
}

.trouble-item:nth-child(5) {
    grid-column: 1 / 2;
}

/* 警告ボックス */
.warning-box {
    position: relative;
    background-color: #000000;
    padding: 50px 60px;
    margin: 50px 0;
}

.warning-tape {
    position: absolute;
    left: 0;
    right: 0;
    height: 30px;
    background: repeating-linear-gradient(45deg,
            #FFDD00,
            #FFDD00 50px,
            #000000 40px,
            #000000 80px);
}

.warning-tape-top {
    top: 0;
}

.warning-tape-bottom {
    bottom: 0;
}

.warning-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.warning-title {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.warning-text {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #sec03 {
        padding: 30px 0;
    }

    .title-wrapper {
        margin-bottom: 30px;
    }

    .sec03-title {
        font-size: 24px;
        -webkit-text-stroke: 4px #000000;
        text-stroke: 2px #000000;
    }

    .sec03-title br.sp {
        display: block;
    }

    .person-img {
        width: 100px;
        height: 100px;
        margin-bottom: 0;
    }

    .person-img::before {
        bottom: 25px;
        left: -20px;
        width: 18px;
        height: 18px;
    }

    .person-img::after {
        bottom: 10px;
        left: -35px;
        width: 10px;
        height: 10px;
    }

    .troubles-list {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }

    .trouble-item {
        padding: 10px 20px;
        border-radius: 40px;
    }

    .trouble-item p {
        font-size: 12px;
    }

    .trouble-item:nth-child(5) {
        grid-column: 1;
    }

    .warning-box {
        padding: 40px 20px;
        margin: 40px 0;
    }

    .warning-tape {
        height: 20px;
        background: repeating-linear-gradient(45deg,
                #FFDD00,
                #FFDD00 20px,
                #000000 20px,
                #000000 40px);
    }

    .warning-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .warning-text {
        font-size: 14px;
        line-height: 1.7;
    }
}