@charset "utf-8";

.cont h3.b_line {
    margin-top: 0;
}

h5 {
    font-size: 16px;
    margin-bottom: 10px;
}

/*============================
事業内容
============================*/

#service .img01 {
    margin-top: 25px;
}

#service section {
    background: #f2f2f2;
    margin-top: 60px;
}

/*============================
強み
============================*/

#strength {
    counter-reset: number 0;
}

#strength .box {
    position: relative;
}

#strength .box::before {
    counter-increment: number 1;
    content: counter(number) " ";
    background: #00489d;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    text-align: center;
}

#strength .box:not(:last-child) {
    margin-bottom: 30px;
}

#strength .flex {
    gap: 30px;
}

#strength .photo {
    width: 280px;
}

#strength .text {
    flex: 1px;
}

#strength .text h3 {
    color: #1b89c2;
    font-size: 16px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
    #strength .photo {
        width: 100%;
    }

    #strength .flex {
        gap: 10px;
    }
}

/*============================
事業一覧
============================*/

#service_detail section:not(:last-child) {
    margin-bottom: 60px;
}

#service_detail .flex {
    gap: 30px;
}

#service_detail .main .photo {
    width: 280px;
}

#service_detail .text {
    flex: 1px;
}

.recommendation {
    background: #ebf4fb;
    padding: 30px;
    margin-top: 30px;
}

.recommendation dt {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-left: 50px;
}

.recommendation dt::before {
    content: "\f0a6";
    font-family: "Font Awesome 7 Free";
    font-weight: 400;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: #00489d;
    color: #fff;
    text-align: center;
    font-size: 24px;
    display: block;
    position: absolute;
    top: -6px;
    left: 0;
}

.recommendation dd li {
    position: relative;
    padding-left: 12px;
}

.recommendation dd li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #1b89c2;
    position: absolute;
    top: 9px;
    left: 0;
}

.detail {
    margin-top: 60px;
}

.detail .flex {
    align-items: stretch;
}

.detail .flex .box {
    width: 360px;
    background: #ebf4fb;
}

.detail .flex .photo {
    width: 100%;
}

.detail .flex .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.detail .flex .text .title {
    font-size: 18px;
    background: #1b89c2;
    color: #fff;
    padding: 5px 30px;
    font-weight: 700;
}

.detail .flex .text .title span {
    font-size: 14px;
}

.detail .flex .text p:not(.title) {
    padding: 30px;
}

.price_box {
    padding: 30px;
    background: #ebf4fb;
}

.price:not(:last-child) {
    margin-bottom: 40px;
}

.min.notes {
    margin-top: 10px;
}

.price table {
    width: 100%;
    border: 1px solid #c1c1c1;
}

.price table tr {
    border-bottom: 1px solid #c1c1c1;
}

.price table th,
.price table td {
    padding: 15px 20px;
    text-align: center;
}

.price table th {
    background: #1b89c2;
    color: #fff;
}

.price table th:not(:last-child) {
    border-right: 1px solid #fff;
}

.price table td:not(:last-child) {
    border-right: 1px solid #c1c1c1;
}


#aptitude_test .recommendation {
    margin-top: 60px;
}

#aptitude_test .detail_2 {
    margin-top: 40px;
}

#aptitude_test .passed.flex {
    align-items: stretch;
}

#aptitude_test .passed.flex .box {
    width: 360px;
    background: #ebf4fb;
    padding: 30px;
}

@media only screen and (max-width: 768px) {
    #service_detail section:not(:last-child) {
        margin-bottom: 40px;
    }

    #service_detail .flex {
        gap: 20px;
    }

    #service_detail .main .photo {
        width: 100%;
    }

    .recommendation {
        padding: 30px 20px 20px;
        margin-top: 20px;
    }

    .detail {
        margin-top: 40px;
    }

    .detail .flex .box {
        width: 100%;
    }

    .detail .flex .text p:not(.title) {
        padding: 20px;
    }

    .scroll_box {
        overflow: auto;
    }

    .price .scroll_box table {
        width: 700px;
    }

    #aptitude_test .recommendation {
        margin-top: 40px;
    }

    #aptitude_test .passed.flex .box {
        width: 100%;
    }

}

/*============================
スタッフ紹介
============================*/

#staff .box {
    padding: 30px;
    background: #ebf4fb;
}

#staff .box:not(:last-of-type) {
    margin-bottom: 30px;
}

#staff .box .photo {
    width: 150px;
}

#staff .box .text {
    flex: 1;
    padding-left: 30px;
}

#staff .box .text p.name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

#staff .box .text p.name span {
    display: block;
}

#staff .career,
#staff .qualifications,
#staff .expertise {
    margin-bottom: 20px;
}

#staff .qualifications span {
    background: #00489d;
    border-radius: 3px;
    display: inline-block;
    margin-right: 5px;
    padding: 0 10px;
    color: #fff;
    font-weight: 700;
}

#staff .message p.title,
#staff .expertise p.title {
    color: #00489d;
    position: relative;
    padding-left: 12px;
}

#staff .message p.title::before,
#staff .expertise p.title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #1b89c2;
    position: absolute;
    top: 9px;
    left: 0;
}

#staff .message p:not(.title),
#staff .expertise p:not(.title) {
    letter-spacing: normal;
    font-size: 14.5px;
}

@media only screen and (max-width: 768px) {

    #staff .box {
        padding: 20px;
        display: block;
    }

    #staff .box .photo {
        margin: 0 auto 20px;
    }

    #staff .box .text {
        display: block;
        padding-left: 0;
    }

    #staff .qualifications span {
        display: block;
        width: 100px;
        text-align: center;
        margin-bottom: 5px;
    }
}

/*============================
クラブ会員募集
============================*/

#club .flex {
    margin-bottom: 30px;
}

#club .flex img {
    width: 100px;
}

#club .flex p {
    flex: 1;
    margin-left: 30px;
}

@media only screen and (max-width: 768px) {

    #club .flex {
        display: block;
    }

    #club .flex img {
        margin: 0 auto 20px;
    }

    #club .flex p {
        display: block;
        margin-left: 0;
    }
}

/*============================
よくある質問
============================*/

#faq section {
    margin-top: 40px;
}

#faq section h3 {
    color: #1b89c2;
}

#faq section h3 i {
    color: #00489d;
}

@media only screen and (max-width: 768px) {
    #faq section {
        margin-top: 20px;
    }
}

/*============================
アコディオン
============================*/

/* リセットCSS */

.accordion-container {
    width: 100%;
}

.accordion-list {
    background: #fff;
    border: 1px solid #1b89c2;
}

.accordion-list:not(:first-child) {
    margin-top: 15px;
}

.accordion-title {
    cursor: pointer;
    font-size: 16px;
    padding: 18px;
    position: relative;
}

.accordion-title span,
.accordion-text div {
    position: relative;
    padding-left: 16px;
    display: block;
}

.accordion-title span::before,
.accordion-text div::before {
    content: "Q";
    color: #019fc7;
    position: absolute;
    top: 0;
    left: 0;
}

.accordion-text div::before {
    content: "A";
}

.accordion-title:before {
    position: absolute;
    content: '';
    top: 50%;
    right: 25px;
    height: 1px;
    width: 20px;
    background: #019fc7;
    transform: rotate(90deg);
    transition: all .3s ease-in-out;
}

.accordion-title:after {
    position: absolute;
    content: '';
    top: 50%;
    right: 25px;
    height: 1px;
    width: 20px;
    background: #019fc7;
    transition: all .3s ease-in-out;
}

.accordion-title.open:before {
    transform: rotate(180deg);
}

.accordion-title.open:after {
    opacity: 0;
}

.accordion-text {
    border-top: 1px solid #00489d;
    display: none;
    padding: 18px 0;
    margin: 0 18px;
}

@media only screen and (max-width: 768px) {
    .accordion-title {
        padding: 10px 40px 10px 18px;
    }

    .accordion-title:before {
        position: absolute;
        content: '';
        top: 50%;
        right: 20px;
        height: 1px;
        width: 15px;
        background: #019fc7;
        transform: rotate(90deg);
        transition: all .3s ease-in-out;
    }

    .accordion-title:after {
        position: absolute;
        content: '';
        top: 50%;
        right: 20px;
        height: 1px;
        width: 15px;
        background: #019fc7;
        transition: all .3s ease-in-out;
    }
}
