@charset "utf-8";
/*=======================
orthopaedic
=======================*/
.section--orthopaedic {
    padding: 80px 0 120px;
}

.medical {
    padding: 0 10.4% 20px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.medical-txt {
    margin-top: 10px;
    width: 49%;
}

.medical-img {
    width: 48%;
}

.medical-img img {
    border-radius: 10px;
}

.medical-topic {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    padding-left: 0.6em;
    position: relative;
}

.medical-topic::before {
    position: absolute;
    content: '';
    left: 0;
    border: 3px solid #00AB98;
    height: 33px;
    border-radius: 50px;
}

.medical-txt p {
    margin-top: 20px;
    font-size: 1.6rem;
    line-height: 1.8;
}

.worries {
    padding: 40px 10.4%;
    background: url(..//images/orthopaedic-back.png) no-repeat right bottom / contain;
}

.worries h4{
    font-size: 2.4rem;
    font-weight: 700;
}

.worries__list {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.worries__item {
    width: 31%;
}

.worries__img {
    position: relative;
}

.worries__img img{
    border-radius: 10px;
}

.worries__item h5{
    position: absolute;
    bottom: 0;
    left: 0;
    color: #FFF;
    font-size: 2rem;
    font-weight: 500;
    padding: 3px 11px 3px 10px;
    border-radius: 0 3px 0 10px;
    background: rgb(0 171 152 / 67%);
}

.worries__item ul{
    margin-top: 8px;
    display: flex;
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 10px;
    border: 1px solid #00AB98;
    background: #FFF;
}

.worries__txt {
    margin-top: 8px;
    display: inline-block;
    font-size: 1.6rem;
    position: relative;
    padding-left: 22px;
}

.worries__txt:first-of-type {
    margin-top: 0;
}

.worries__txt::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url(..//images/icon-worries.png) no-repeat;
    background-size: contain;
}

.treatment__list {
    padding: 40px 10.4% 0;
}

.treatment__list h4 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.treatment__list details.pc {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.treatment__list details.sp {
    display: none;
}

.treatment__list summary {
    flex: 0 0 26%;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 5px 1%;
    background-color: #eee;
    border-radius: 5px;
    pointer-events: none;
}

.treatment__list summary::-webkit-details-marker { display: none; }
.treatment__list summary::marker { content: ''; }

.treatment__list p {
    flex: 0 0 70%;
    font-size: 1.6rem;
    margin: 0;
}

/* orthopaedic tb */
@media screen and (max-width: 1080px) {
    .section--orthopaedic {
        padding: 60px 0;
    }

    .medical {
        padding: 0 4.2% 40px;
    }

    .worries {
        padding: 40px 4.2%;
        background: linear-gradient(270deg, #E0F2D3 0%, #EDF9F7 100%);
    }

    .treatment__list {
        padding: 40px 4.2% 0;
    }
}/* tb 1080px */


/* orthopaedic sp */
@media screen and (max-width: 769px) {
    .section--orthopaedic {
        padding: 0;
    }

    .medical {
        padding: 0;
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: start;
    }

    .medical-txt {
        margin-top: 10px;
        width: 100%;
        position: relative;
    }

    .medical-img {
        width: 100%;
        position: relative;
        bottom: 0;
        left: 0;
    }

    .medical-img img {
        border-radius: 0;
    }

    .medical-topic {
        font-size: 2.2rem;
        font-weight: 700;
        line-height: 1;
        padding-left: 3%;
        position: absolute;
        top: -48px;
        z-index: 3;
        background: #fff;
        padding: 8px 8px 8px 28px;
        border-radius: 0 5px 0 0;
        letter-spacing: 0.1em;
    }

    .medical-topic::before {
        position: absolute;
        content: '';
        left: 14px;
        border: 3px solid #00AB98;
        height: 27px;
        border-radius: 50px;
    }

    .medical-txt p {
        margin: 0 4.2% 20px;
    }

    .worries {
        padding: 20px 4.2%;
        background: linear-gradient(270deg, #E0F2D3 0%, #EDF9F7 100%);
    }

    .worries h4{
        text-align: center;
    }

    .worries__list {
        display: block;
        background: none;
    }

    .worries__item {
        margin-top: 30px;
        width: 100%;
    }

    .worries__item:first-of-type {
        margin-top: 20px;
    }

    .worries__txt {
        margin-top: 8px;
        font-size: 1.5rem;
    }

    .worries__txt::before {
        width: 22px;
        height: 22px;
    }

    .treatment__list {
        margin: 40px 0 60px;
        padding: 0 4.2%;
    }

    .treatment__list h4 {
        text-align: center;
    }

    .treatment__list details.pc { display: none; }
    .treatment__list details.sp { display: block; }

    .treatment__list summary {
        margin-top: 20px;
        font-weight: 500;
        padding: 8px 40px 8px 10px;
        background-color: #eee;
        border-radius: 5px;
        position: relative;
        cursor: pointer;
        pointer-events: auto;
    }

    .treatment__list summary::-webkit-details-marker {
        display: inline-block;
    }

    .treatment__list summary::after {
        content: none;
    }

    .treatment__list p {
        margin-top: 8px;
        width: 100%;
        font-size: 1.6rem;
    }
}/* 769 px */

/*=======================
rehabilitation
=======================*/
.section--rehabilitation {
    padding: 40px 0 80px;
}

.device-title {
    margin-top: 40px;
    padding: 0 10.4%;
    font-size: 2.4rem;
    font-weight: 700;
}

.device__list {
    margin-top: 20px;
    padding: 0 10.4%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
    justify-content: space-between;
}

.device__item img{
    border-radius: 10px;
}

.device__item h5{
    margin-top: 8px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
    background-color: #eee;
    border-radius: 5px;
}

.device__item p{
    margin-top: 4px;
    font-size: 1.4rem;
}

/* rehabilitation tb */
@media screen and (max-width: 1080px) {
    .device-title {
        margin-top: 40px;
        padding: 0 4.2%;
        font-size: 2.4rem;
        font-weight: 700;
    }

    .device__list {
        margin-top: 20px;
        padding: 0 4.2%;
    }
}/* tb 1080px */

/* rehabilitation sp */
@media screen and (max-width: 769px) {
    .section--rehabilitation {
        padding: 0 0 40px;
    }

    .device-title {
        margin-top: 20px;
        padding: 0 4.2%;
        font-size: 2.4rem;
        font-weight: 700;
        text-align: center;
    }

    .device__list {
        margin-top: 10px;
        padding: 0 4.2%;
        display: flex;
        flex-wrap: wrap;
        gap: 30px 10px;
        justify-content: space-between;
    }

    .device__list > li {
        width: calc(50% - 5px); /* 2列にする（gapを引いた分） */
        box-sizing: border-box;
    }

    .device__item img{
        border-radius: 5px;
    }

    .device__item h5{
        margin-top: 4px;
        text-align: center;
        font-size: 1.4rem;
        font-weight: 500;
        background-color: #eee;
        border-radius: 5px;
    }

    .device__item p{
        margin-top: 0;
        font-size: 1.2rem;
    }
}/* sp 769px */