body>section a,
.menu-card a.ref {
    color: #32cad1;
    font-weight: 600;
    text-decoration: underline;
}

.eachtitle_ja {
    font-family: serif;
    line-height: 1.2;
}

.eachtitle_en {
    font-family: normal;
    margin-top: 0px;
    margin-bottom: 10px;
    color: #50c4da;
}

strong.blue {
    color: #32cad1;
}

picture.large {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 60px auto;
}


@media screen and (min-width: 769px) {
    .d-flex {
        display: flex;
        justify-content: space-between;
        gap: 24px;
        align-items: start;
    }

    .d-flex-reverse {
        flex-direction: row-reverse;
    }

    .d-flex picture {
        width: 30%;
    }

    .d-flex>div {
        width: 70%;
    }
}

@media screen and (max-width: 768px) {
    .d-flex picture {
        margin-bottom: 24px;
        display: block;
    }

    .d-flex-reverse {
        display: flex;
        flex-direction: column;
    }
}

#mechanism .d-flex img {
    width: 100%;
}

.table-area {
    max-width: 800px;
    width: 80%;
    margin: auto;
}

.dragtable table thead tr th,
.dragtable td,
.dragtable table tbody tr td:first-child {
    padding: 8px;
}

.dragtable table tbody tr td {
    text-align: start;
}

.dragtable table thead tr th {
    font-size: 20px;
}

.dragtable table thead tr th,
.dragtable table tbody tr td:first-child {
    color: #1f214c;
    background-color: #ade3ed;
}

.dragtable table tbody tr td:nth-child(2),
.dragtable table tbody tr td:nth-child(3) {
    text-align: start !important;
    background-color: #fff;
}

tbody {
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .table-area {
        width: 100% !important;
    }
}




/* おすすめの人 */
.recommendlist li {
    margin-bottom: 8px;
}

#recommend {
    width: 100%;
}

@media screen and (max-width: 767px) {
    #recommend {
        padding-bottom: 0;
    }
}

@media screen and (min-width: 768px) {
    #recommend {
        background-image: url(https://mybc.jp/wp-content/uploads/2025/01/6818c6672b8e69b46894260d9a6cee32-1.png);
        background-repeat: no-repeat;
        background-position: right;
        background-size: 120%;
    }
}

#recommend .recommendlist li {
    line-height: 24px;
}



.merit__title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    /* padding: 14px 16px; */
    line-height: 1.4;
    font-weight: 700;
    color: #0b0b0b;
}

.merit__badge {
    position: relative;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #6fb6cd;
    display: grid;
    place-items: center;
    text-align: center;
    /* color: #fff; */
    font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}

.merit__badge-top {
    display: block;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .02em;
    opacity: .95;
    margin-top: 6px;
    font-family: serif;
}

.merit__badge-num {
    display: block;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 6px;
    font-weight: 700;
    font-family: serif;
}

.merit__text {
    font-size: 15px;
}

@media (min-width: 768px) {
    .merit__title {
        gap: 20px;
        /* padding: 18px 24px; */
    }

    .merit__badge {
        width: 64px;
        height: 64px;
    }

    .merit__badge-top {
        font-size: 11px;
        margin-top: 7px;
    }

    .merit__badge-num {
        font-size: 32px;
    }

    .merit__text {
        font-size: 18px;
    }
}

.container--narrow .merit__title {
    max-width: 1040px;
    margin-inline: auto;
}

/* 流れ */
.flexContent {
    display: flex;
    justify-content: space-between;
}

.flexContent picture {
    width: 30% !important;
}

.flexContent p,
.flexContent div {
    width: 65%;
    margin: 0;
}

@media screen and (max-width: 767px) {
    .flexContent {
        flex-direction: column;
        gap: 20px;
    }

    .flexContent picture,
    .flexContent p,
    .flexContent div {
        width: 100% !important;
    }

    .flexContent picture {
        margin: 0px 0;
    }

    .flexContent-reverse {
        flex-direction: column-reverse;
    }
}

@media screen and (min-width: 768px) {
    .featurelist li .reasontext {
        width: 60% !important;
    }

    .flexContent picture {
        margin: 0 !important;
    }
}

#flow-part .card {
    background-color: white;
    box-shadow: 5px 5px 8px #eeeeee;
    padding: 30px;
}

#flow-part .card .ttl {
    display: flex;
    padding: 16px 0;
    border-top: 2px solid #003981;
    border-bottom: 2px solid #003981;
    margin-bottom: 32px;
    align-items: center;
    gap: 8px;
}

#flow-part .card .ttl .number {
    background-color: #003981;
    color: white;
    padding: 2px;
    border: 1px solid #003981;
    font-size: 20px;
    font-weight: bold;
    font-family: serif;
    line-height: 18px;
    padding: 4px 10px;
}

#flow-part .card .ttl .number p {
    font-size: 12px;
    font-weight: 400;
    font-family: normal;
}

#flow-part .card .ttl img {
    width: 10%;
    max-width: 60px;
    margin: auto;
}

#flow-part .card .ttl h3 {
    text-align: center;
    font-weight: 500;
    font-size: 24px;
    margin: 0;
    color: #003981;
    border-left: none;
    width: 90%;
}

#flow-part .flexContent {
    margin-bottom: 16px;
}

#flow-part .flexContent .left {
    width: 65%;
}

#flow-part summary {
    list-style: none;
    background-color: #003981;
    color: white;
    border-radius: 30px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    outline: none;
    width: 65%;
    cursor: pointer;
}

#flow-part details[open] summary::before {
    content: "閉じる ";
    width: 100%;
}

#flow-part summary::before {
    content: "詳しくみる ";
    width: 100%;
}

/* #flow-part summary::after{ content: "＋";  } #flow-part details[open] summary::after{ content: "－";  }*/
#borer summary::-webkit-details-marker {
    display: none;
}

#flow-part .triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 50px solid transparent;
    border-left: 50px solid transparent;
    border-top: 40px solid #33619a;
    border-bottom: 0;
    margin: -16px auto 10px;
}

#flow-part details .card-details {
    margin-top: 32px;
}

#flow-part details .card-details h4 {
    font-weight: bold;
    color: #003981;
    font-size: 18px;
    margin-top: 24px;
}

#flow-part details .card-details picture {
    width: 70%;
    margin: auto;
    display: block;
    max-width: 700px;
}

#flow-part .pconly .card03 details summary {
    margin-top: -64px;
    position: relative;
}

#flow-part .pconly .card04 details summary,
#flow-part .pconly .card07 details summary {
    margin-top: -40px;
    position: relative;
}

#flow-part .pconly details {
    position: relative;
}

@media screen and (max-width: 767px) {
    #flow-part .card {
        width: 95%;
        margin: auto;
        margin-bottom: 24px;
    }

    #flow-part .flexContent .left {
        width: 100%;
    }

    #flow-part summary {
        width: 75%;
        margin: auto;
    }

    #flow-part .triangle {
        display: none;
    }

    #flow-part .card .ttl img {
        width: 15%;
    }

    #flow-part .card .ttl h3 {
        width: 85%;
    }

    #flow-part .slick-slider .slick-list {
        width: 100%;
    }

    #flow-part details .card-details picture {
        width: 100%;
    }

    .slick-dots li button:before {
        font-size: 10px;
    }

    .slick-dots li.slick-active button:before {
        color: #003981;
    }
}

#flow-part summary::webkit-details-marker {
    display: none;
}

@media screen and (min-width: 768px) {
    #flow-part .flexContent {
        flex-direction: row-reverse;
    }

    #flow-part summary {
        margin-left: auto;
    }

    #flow-part .card .ttl,
    .flexContent div.txt {
        width: 100%;
    }
}

#reason2 .reason2image img {
    border-radius: 10px;
}

#reason2 .between {
    flex-direction: row-reverse;
}


.menu-card {
    /* width: 90%;
    max-width: 1000px; */
    margin: auto;
    background-color: #fff;
}

.menu-card .text-btn {
    background-color: #32cad1;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 40px;
    display: block;
    width: fit-content;
}

@media screen and (max-width: 768px){
    .menu-card {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
            padding: 16px;
        width: 90%;

    }
    .menu-card .text-ttl{
        font-weight: bold;
        margin-bottom: 12px;
        font-size: 18px;
    }
    .menu-card .text-btn{
        margin: auto;
    }
}