/*-- layout -------- --*/


/*-- style -------- --*/
.tos-title {
    width: auto;
    margin: 60px 0 15px;
    padding: 0 0 50px 0;
    font-size: 54px;
    border-bottom: 1px solid #000000;
    line-height: 1.1;
    text-align: center;
    font-family: 'Hubballi', cursive;
}

.tos-subtitle {
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    margin: 40px 0 50px 0;
    font-weight: bold;
}


.l-tos-container h3 {
    border-bottom: 2px dotted #e7e7e7;
    line-height: 1.5;
    padding: 15px 0 5px;
}
.l-tos-container h4 {
    border-bottom: 1px solid #e7e7e7;
    margin: 10px 0;
    font-weight: bold;
    line-height: 1.5;
    padding: 10px 0;
    font-size: 16px;
}

.l-tos-container h4 span.date {
    font-weight: normal; font-size: 14px;
    float: right; margin-top: 8px;
}
.l-tos-container p {
    margin: 15px 0;
    word-break: normal;
    line-height: 1.6;
    font-size: 13px;
}
.l-tos-container img {
    max-width: 100%;
}
.l-tos-container ol {
    padding: 0;
}
.l-tos-container ol li {
    list-style: decimal outside;
    margin: 10px 50px;
    word-break: normal;
}
.l-tos-container ol li ol li {
    list-style: decimal-leading-zero outside;
    margin: 10px 50px;
    word-break: normal;
}

#company_outline h4 {
    border-bottom: 0px;
    margin: 1em 0;
    padding: 0;
}

.back_gray {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .l-tos-container ol li {
        margin: 10px;
    }

    .l-tos-container ol li ol li {
        margin: 10px 20px;
    }
}

.l-tos-container .notification-item {
    padding: 24px 0;
    border-bottom: 1px solid #000000;
    display: flex;
}

.l-tos-container .notification-item-datetime {
    margin: 0 30px 24px 0;
}

.l-tos-container .notification-title {
    border: none;
    font-size: 20px; font-weight: bold;
    line-height: 29px;
    padding: 0;
    margin: 0 0 24px 0;
}

.l-tos-container .notification-comment {
    margin: 0; font-size: 18px; line-height: 33px;
}

@media (max-width: 768px) {
    .tos-title {
        margin: 28px 0 15px;
        padding: 0 0 20px 0;
        font-size: 28px;
        border-bottom: 1px solid #000000;
        line-height: 37px;
        text-align: center;
    }

    .tos-subtitle {
        font-size: 20px;
        line-height: 29px;
        text-align: center;
        margin: 20px 0 25px 0;
        font-weight: bold;
    }

    .l-tos-container .notification-item {
        display: block;
    }

    .l-tos-container .notification-item-datetime {
        font-size: 14px; line-height: 20px;
        margin-bottom: 12px;
    }

    .l-tos-container .notification-title {
        font-size: 16px; line-height: 24px;
        margin-bottom: 18px;
    }

    .l-tos-container .notification-comment {
        font-size: 14px; line-height: 24px;
    }

    .l-tos-container .notification-item {
        padding: 18px 0;
    }
}

.tos-comment {
    margin-top: 25px; text-align: center;
    margin-bottom: 10px;
}

.tos-comment p.note {
    font-size: 18px; line-height: 26px;
    margin-bottom: 25px;
}

.btn-tos-comment {
    width: calc(50% - 9px);
    max-width: 280px;
    border: 1px solid #000000;
    font-size: 18px; line-height: 26px; text-align: center;
    padding: 17px 0;
    border-radius: 0;

    background-image: url("/images/icons/btn-arrow-right.svg");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.btn-tos-comment+.btn-tos-comment {
    margin-left: 12px;
}

.btn-tos-comment:hover {
    text-decoration: underline;
}

.tos-block-title {
    margin-top: 50px;
    font-size: 22px; font-weight: bold;
    text-align: center; background: #F1F1F1;
    line-height: 30px; padding: 15px 0;
    margin-bottom: 25px;
}

.qa-item {
    padding: 20px 0;
    border-bottom: 1px dotted #000000;
}

.qa-item .question {
    font-size: 20px;
    background-image: url("/images/icons/qa-arrow-down.svg");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;
    cursor: pointer;
    margin-bottom: 0;
}

.question-content {
    display: inline-block;
    width: calc(100% - 120px);
    min-height: 50px;
    padding-top: 10px;
}

.qa-item .question.opened {
    background-image: url("/images/icons/qa-arrow-up.svg");
    margin-bottom: 18px;
}

.qa-item .question:before {
    content: 'Q';
    width: 50px;
    height: 50px;
    color: white;
    background: #000000;
    display: inline-block;
    font-size: 32px;
    text-align: center;
    margin-right: 25px;
    float: left;
}

.qa-item .answer {
    font-size: 18px;
    padding-left: 50px;
    display: none;
}

.qa-item .opened+.answer {
    display: inline-block;
}

.qa-item .answer p {
    font-size: 18px;
    line-height: 29px;
    margin-bottom: 0;
    margin-top: 0;
}

.qa-item .answer p+p {
    margin-top: 40px;
}

.qa-item .answer:before {
    content: 'A';
    width: 50px;
    height: 50px;
    color: #000000;
    border: 1px solid #000000;
    display: inline-block;
    font-size: 32px;
    text-align: center;
    margin-right: 25px;
    float: left;
}

.qa-item .answer-content {
    display: inline-block;
    width: calc(100% - 75px);
    padding-top: 12px;
}

@media (max-width: 768px) {
    .tos-comment p.note {
        font-size: 14px;
        line-height: 25px;
        margin-bottom: 18px;
    }

    .btn-tos-comment {
        font-size: 14px;
        line-height: 18px;
        padding: 7px 0;
        background-position: right 10px center;
        background-size: 18px;
    }

    .tos-block-title {
        margin-top: 40px;
        font-size: 14px;
    }

    .qa-item {
        padding: 12px 0;
    }

    .qa-item .question {
        background-size: 11px;
        background-position: right 5px center;
        font-size: 14px;
    }

    .qa-item .question:before {
        width: 24px; height: 24px; font-size: 16px; line-height: 24px;
        margin-right: 8px;
    }

    .qa-item .question.opened {
        margin-bottom: 8px;
    }

    .question-content {
        width: calc(100% - 60px);
        min-height: 24px;
        padding-top: 0px;
    }

    .qa-item .answer {
        padding-left: 24px;
    }

    .qa-item .answer p {
        font-size: 14px;
        line-height: 22px;
    }

    .qa-item .answer p+p {
        margin-top: 30px;
    }

    .qa-item .answer:before {
        width: 24px; height: 24px;
        font-size: 16px; line-height: 24px;
        margin-right: 8px;
    }

    .qa-item .answer-content {
        padding-top: 0;
        width: calc(100% - 32px);
    }
}

.tos-flow-container {
    margin-bottom: 30px;
}

.tos-flow-title {
    font-size: 22px; font-weight: bold;
    text-align: center; background: #FFE923;
    line-height: 30px; padding: 15px 0;
    margin-bottom: 50px;
}

.tos-impossible {
    color: #ffffff;
    background: #ff0000;
}

.tos-flow-item {
    float: left;
    width: calc((100% - 134px) /3);
    position: relative;
    margin-bottom: 42px;
}

.tos-flow-item+.tos-flow-item {
    margin-left: 67px;
}

.tos-flow-item:nth-child(3n+1):after,
.tos-flow-item:nth-child(3n+2):after {
    position: absolute;
    content: url(/images/icons/flow-arrow-right.svg);
    right: -44px;
    top: 17px;
}

.tos-flow-item-title {
    font-size: 28px;
    text-align: center;
    line-height: 40px;
    padding: 10px 0;
    border: 1px solid #000000;
    background: #FFFCE1;
    margin-bottom: 10px;
}

.tos-flow-item-image {
    margin-bottom: 15px;
}

.tos-flow-item-comment h3 {
    font-size: 20px;
    border: none;
    margin: 0 0 10px 0;
    font-weight: bold;
    padding: 0;
}

.tos-flow-item-comment p {
    font-size: 18px;
    margin: 0;
    line-height: 29px;
}

.tos-flow-item-comment a {
    text-decoration: underline;
}

.tos-flow-comment p {
    font-size: 18px;
    line-height: 32px;
    margin: 0;
}

.tos-flow-comment p+p {
    margin-top: 36px;
}

.tos-flow-button {
    text-align: center;
    padding-top: 24px;
}

.btn-tos-flow {
    width: 100%;
    max-width: 320px;
    border: 1px solid #000000;
    font-size: 16px; line-height: 26px; text-align: center;
    padding: 17px 0;
    border-radius: 0;

    background-image: url("/images/icons/btn-arrow-right.svg");
    background-repeat: no-repeat;
    background-position: right 20px center;
}


@media (max-width: 768px) {
    .tos-flow-title {
        font-size: 16px; line-height: 32px;
        padding: 9px 0;
        margin-bottom: 18px;
    }

    .tos-flow-item {
        width: 100%;
        margin: 0;
        margin-bottom: 64px;
    }

    .tos-flow-content:nth-child(2n+1) .tos-flow-item:nth-child(3n+2):after,
    .tos-flow-content:nth-child(2n+1) .tos-flow-item:nth-child(3n+1):after,
    .tos-flow-content:nth-child(2n) .tos-flow-item:nth-child(3n):after,
    .tos-flow-content:nth-child(2n) .tos-flow-item:nth-child(3n+1):after,
    .tos-flow-content:nth-child(2n) .tos-flow-item:nth-child(3n+2):after {
        position: absolute;
        content: url(/images/icons/flow-arrow-down.svg);
        z-index: 2;
        right: auto;
        top: auto;
        bottom: -40px;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        left: 50%;
    }


    .tos-flow-item+.tos-flow-item {
        margin-left: 0;
    }

    .tos-flow-item-title {
        font-size: 20px;
        line-height: 28px;
        padding: 6px 0;
    }

    .tos-flow-item-content {
        display: flex;
    }

    .tos-flow-item-image {
        width: 30%;
    }

    .tos-flow-item-comment {
        width: 70%; padding-left: 12px;
    }

    .tos-flow-item-comment h3 {
        font-size: 16px; line-height: 32px;
        margin-bottom: 10px;
    }

    .tos-flow-item-comment p {
        font-size: 14px; line-height: 24px;
    }

    .tos-flow-comment p {
        font-size: 14px; line-height: 26px;
    }
    .tos-flow-comment p+p {
        margin-top: 32px;
    }
}

