#sub_contents .products {
    /* padding: 40px 20px; */
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
}

.products-inner {
    padding-left: 20px;
    padding-right: 20px;
}

.products__title {
    padding-right: 20px;
    padding-left: 20px;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 32px;
    color: #185996;
}


.products__icon {
    width: 500px;
    max-width: 100%;
    margin-inline: auto;
    margin-bottom: 60px;
    margin-top: 60px;
    padding-right: 20px;
    padding-left: 20px;
    display: flex;
    justify-content: center;
}

.products__img {
    width: 120px;
    margin-inline: auto;
}
.products__text{
    font-size: 16px;
    margin-top: 8px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.products__list {
    width: 1000px;
    max-width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.products__item {
}

.products__item--blue {
    background-color: #004084;
}

.products__item--red {
    background-color: #d71518;
}

.products__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 243px;
    max-width: 100%;
    height: 61px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    /* @include tab {
        font-size: 18px;
        height: 70px;
    } */
}

.products__button::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 8px;
    background-image: url(../img/chat/arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 100;
}

@media screen and (max-width: 767px) {
    .products__title {
        font-size: 18px;
        margin-bottom: 24px;
        line-height: 1.6;
    }
    .products__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 160px;
        justify-content: center;
    }
    .products__button {
        font-size: 17px;
        width: 160px;
        height: 50px;
    }
    .products__button::after {
        width: 12px;
        height: 6px;
        right: 4px;
    }
}

/* 共通セクション */
.section{
    scroll-margin-top: 100px;
    /* ヘッダー分の高さを指定 / 見出しがヘッダーで隠れないように調整 */
}

@media screen and (max-width: 767px) {
    .section{
        scroll-margin-top: 140px;
        /* ヘッダー分の高さを指定 / 見出しがヘッダーで隠れないように調整 */
    }
}


#sub_contents .chat {
    padding: 20px 20px 40px;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    scroll-margin-top: 80px;
}

.chat__title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 80px;
    font-size: 50px;
}
.chat__title-ja {
    font-size: 18px;
    display: block;
    margin-bottom: 16px;
}

.chat__title-en {
    color: #185996;
}

.chat__item {
    margin-bottom: 30px;
}

.chat__bubble {
    position: relative;
    padding: 16px 24px;
    border-radius: 12px;
    max-width: 80%;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
}

.chat__bubble--question {
    background-color: #e4f0ff;
    margin-bottom: 30px;
    text-align: center;
}

.chat__bubble--question::after {
    content: "";
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 16px solid #e4f0ff;
    border-bottom: 10px solid transparent;
}

.chat__bubble--answer {
    background-color: #ffeded;
    text-align: center;
}

.chat__bubble--answer::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 16px solid #ffeded;
    border-bottom: 10px solid transparent;
}

.chat__icon {
    position: absolute;
}

.chat__icon--left {
    left: -110px;
    top: 50%;
    transform: translateY(-50%);
}

.chat__icon--right {
    right: -110px;
    top: 50%;
    transform: translateY(-50%);
}

.chat__text {
    margin: 0;
    font-size: 16px;
}

.chat__images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.chat__image {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.sec-bt {
    margin-bottom: 60px;
}

#sub_contents .partner {
    padding: 60px 20px;
    width: 1000px;
    max-width: 100%;
    margin-inline: auto;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
}

@media screen and (max-width: 767px) {
    .chat {
    }

    .inner {
    }

    .chat__title {
        font-size: 40px;
        line-height: 1.2;
        margin-bottom: 40px;
    }

    .chat__title-ja {
        font-size: 20px;
    }

    .chat__title-en {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .chat__item {
        margin-bottom: 32px;
    }

    .chat__bubble {
        max-width: 90%;
        padding: 8px 16px;
        font-size: 14px;
    }

    .chat__bubble--question {
        margin-bottom: 18px;
        padding: 8px 16px;
        font-size: 14px;
    }

    .chat__icon {
        width: 50px;
    }

    .chat__icon--right {
        right: -70px;
    }

    .chat__bubble--answer {
        padding: 8px 16px;
        font-size: 14px;
    }

    .chat__icon--left {
        left: -70px;
    }

    .chat__text {
        font-size: 14px;
    }

    .chat__images {
        display: block;
    }
    .chat__image {
        margin-bottom: 16px;
    }

    #sub_contents .partner {
        padding: 0;
    }
}

.partner__title {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding: 16px 0;
    @include tab {
        font-size: 20px;
        padding: 12px 0;
        margin-bottom: 32px;
    }
}

.partner__title--blue {
    background-color: #004084;
}
.partner__title--red {
    background-color: #d71518;
}

.partner__list {
    max-width: 1000px;
    padding-right: 20px;
    padding-left: 20px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 20px;
    background-color: #f9f9f9;
}

.partner__item {
    margin-bottom: 40px;
}

.partner__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.partner__name {
    font-size: 17px;
    font-weight: bold;
}

.partner__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.partner__link img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.partner__text {
    font-size: 16px;
    line-height: 1.6;

    @include tab {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .partner {
        padding: 40px 20px;
    }

    .sec-bt {
    }

    .partner__title {
        font-size: 20px;
    }

    .partner__title--blue {
    }

    .partner__list {
        padding-top: 32px;
    }

    .partner__item {
    }

    .partner__header {
    }

    .partner__name {
        font-size: 16px;
    }

    .partner__link {
    }

    .partner__text {
        font-size: 14px;
    }
}
