.service__block {
    display: block;
    font-size: 0;
}
.body {
    padding-top: 15px;
    width: calc( 100% - 260px );
    display: inline-block;
    vertical-align: top;
    font-size: initial;
}
.user {
    width: 230px;
    margin-left: 30px;
    display: inline-block;
    vertical-align: top;
    font-size: initial;
}

.service .sidebar__wrapper {
    margin-bottom: 30px;
    margin-top: 29px;
}
.mypage-sidebar-tub {
    display: inline-block;
    background-color: #ECB935;
    border-radius: 10px 10px 0 0;
    color: #fff;
    padding: 4px 20px;
    font-size: 14px;
}
.mypage-sidebar-body {
    background-color: #FFF;
}
.mypage-sidebar-body > ul {
    margin: 0;
}
.mypage-sidebar-body > ul > li {
    border-bottom: 1px solid #ddd;
    width: 100%;
    display: block;
    position: relative;
}
.mypage-sidebar-body > ul > li:first-child {
    border-top: 1px solid #ddd;
}
.mypage-sidebar-menu {
    display: block;
    padding: 7px 15px 7px 30px;
    font-size: 12px;
    color: #866100;
}
.mypage-sidebar-menu__triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #866100;
    color: #866100;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
.my-page__score-box .mypage-sidebar-parent {
    font-size: 0;
    width: 100%;
    color: #866100;
    padding: 7px 0;
}
.mypage-score-title {
    display: inline-block;
    width: calc( 50% - 20px );
    font-size: 12px;
    font-weight: bold;
    padding-left: 20px;
}
.mypage-score-result {
    display: inline-block;
    width: calc( 50% - 20px );
    font-size: 12px;
    text-align: right;
    padding-right: 20px;
}

/* user */
.user .sidebar__wrapper {
    text-align: right;
}
.user .mypage-sidebar-body {
    text-align: left;
}
.my-page__user-box {
    background-color: #FFFCE9;
    padding: 15px;
}
.mypage-user__icon {
    width: 100px;
    margin: 0 auto;
}
.mypage-user__icon img {
    border-radius: 50%;
}
.mypage-user__name {
    margin: 10px 0;
    color: #515151;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.mypage-user__sub {
    text-align: center;
    font-size: 12px;
}
.mypage-user__catch {
    text-align: center;
    font-size: 14px;
    color: #FE7676;
    font-weight: bold;
    margin: 20px 0;
}
.mypage-user__text {
    font-size: 12px;
    color: #515151;
}
.mypage-index {
    font-size: 14px;
    color: #866100;
    text-shadow: 0px 3px 6px rgba(0,0,0,0.3);
    display: block;
    margin-bottom: 10px;
    margin-top: 27px;
}

/* body */
.service__title {
    color: #7E7E7E;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 15px;
}
.service__mainpic {
    width: 100%;
    background-color: #dedede;
    text-align: center;
    margin: 0 auto;
}
.service__mainpic img {
    max-width: 480px;
}
.service__thumbs {
    margin: 20px 0;
    text-align: center;
}
.service__thumb {
    width: calc(100% / 3 - 20px);
    max-width: 150px;
    margin: 0 8px;
    background-color: #dedede;
    display: inline-block;
}
.service__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: bottom;
}
.service__index {
    font-size: 14px;
    text-shadow: 0px 3px 6px rgba(0,0,0,0.3);
    color: #866100;
    font-weight: bold;
    border-bottom: 1px solid #866100;
    margin: 35px 0 10px;
    padding-bottom: 8px;
}
.service__cat {
    border: 2px solid #ECB935;
    color: #ECB935;
    font-size: 14px;
    padding: 3px 15px 2px;
    display: inline-block;
    border-radius: 5px;
}
.service__detail {
    width: 100%;
    border-collapse: collapse;
}
.service__detail th,
.service__detail td {
    border-bottom: 1px dashed #866100;
    padding: 10px 0 10px 20px;
    font-size: 14px;
}
td.service-price {
    font-size: 20px;
    font-weight: bold;
    color: #FE7676;
}
.service__detail--star {
    color: #ECB935;
}
.service__detail--star.star-0 {
    color: #ccc;
}
.star5_rating{
    position: relative;
    z-index: 0;
    display: inline-block;
    white-space: nowrap;
    color: #ccc;
    font-size: 15px;
}
.star5_rating:before, .star5_rating:after{
    content: '★★★★★';
}
.star5_rating:after{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #ECB935;
}
.service__tags {
    margin-bottom: 20px;
}
.service-explain {
    margin-bottom: 20px;
}
.service__review--icon {
    width: 50px;
    margin-left: 20px;
    display: inline-block;
    vertical-align: middle;
}
.service__review--icon img {
    width: 50px;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.service__review--name {
    width: calc(100% - 80px);
    display: inline-block;
    vertical-align: middle;
    padding-left: 30px;
}
.service__review-stars {
    font-size: 14px;
    color: #ECB935;
}
.service__review-stars {
    font-size: 14px;
    color: #ECB935;
}
.service__review-date {
    font-size: 14px;
}
.service__review--comment {
    position: relative;
    background-color: #FFFCE9;
    margin: 20px 0 30px;
    padding: 10px 20px;
    border-radius: 10px;
}
.service__review--comment:before {
    content: "";
    position: absolute;
    top: -10px;
    left: 35px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #FFFCE9;
}
.service__button-area {
    margin: 30px 0;
}


@media only screen and (max-width: 992px) {
    .body {
        width: 100%;
    }
    .service__block {
        flex-direction: column;
    }
    .service .user {
        width: 100%;
        margin: 0;
    }
    .user .sidebar__wrapper {
        text-align: left;
    }
}
@media only screen and (max-width: 768px) {
    .sidebar {
        width: 100%;
        margin-right: 0;
        order: 2;
    }
    .service__block {
        order: 1;
    }
    .service .sidebar__wrapper {
        margin-top: 0;
    }
}

/* 関連商品 */
.relative__index {
    padding: 0 20px;
}
@media only screen and (max-width: 768px) {
    .nutritionist__service-list .container {
        width: 100%;
    }
}


/* 栄養士詳細 */
.nutritionist__body {
    background-color: #fff;
    padding: 30px 20px;
}
.nutritionist__header {
    display: block;
    font-size: 0;
}
.nutritionist__face {
    width: 170px;
    display: inline-block;
    vertical-align: top;
}
.nutritionist__face img {
    width: 100%;
    border-radius: 50%;
    height: 100%;
    object-fit: cover;
}
.nutritionist__prof {
    width: calc( 100% - 210px);
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    padding-left: 30px;
}
.nutritionist__name {
    color: #7E7E7E;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 15px;
}
.nutritionist__age {
    margin-bottom: 15px;
}
.nutritionist__address {
    margin-bottom: 15px;
}
.nutritionist__catch {
    margin: 30px 0;
    color: #FE7676;
    font-size: 18px;
    font-weight: bold;
}
.nutritionist__review--comment {
    font-size: 12px;
}
@media only screen and (max-width: 768px) {
    .nutritionist__face {
        display: block;
        width: 100%;
        text-align: center;
    }
    .nutritionist__face img {
        max-width: 200px;
        width: 40%;
    }
    .nutritionist__prof {
        display: block;
        width: 100%;
        text-align: center;
        padding-left: 0;
        margin-top: 20px;
    }
    .nutritionist__name {
        font-size: 20px;
    }
    .nutritionist__age,
    .nutritionist__address {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .nutritionist__catch {
        margin: 20px 0;
    }
    .nutritionist__text {
        font-size: 14px;
    }
}

/* 管理栄養士一覧 */
.nutritionist-list__item {
    border: 5px solid #F5F3EE;
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
}
.nutritionist-list__item:hover {
    border: 5px solid #4BCB92;
}
.nutritionist-list__item a{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    z-index: 1;
}
.nutritionist-list__item .nutritionist__address a{
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    display: inline-block;
}
.nutritionist-list__item .body {
    padding-top: 0;
}
.nutritionist-list__item .sidebar__wrapper {
    margin: 0;
}
.nutritionist-list__face {
    width: 60px;
    display: inline-block;
    vertical-align: top;
}
.nutritionist-list__prof {
    width: calc( 100% - 80px);
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    padding-left: 20px;
}
.nutritionist-list__name {
    color: #7E7E7E;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
}
.nutritionist-list__catch {
    margin: 5px 0;
    color: #FE7676;
    font-size: 16px;
    font-weight: bold;
}
.nutritionist-list__text {
    font-size: 12px;
}
@media only screen and (max-width: 768px) {
    .nutritionist-list__face {
        width: 100%;
        display: block;
        text-align: center;
    }
    .nutritionist-list__face img {
        max-width: 80px;
    }
    .nutritionist-list__prof {
        margin: 20px 0;
        width: 100%;
        display: block;
        text-align: center;
        padding-left: 0;
    }
    .nutritionist-list__item .user {
        margin-top: 30px;
    }
    .nutritionist-list__item .sidebar__wrapper {
        margin-top: 10px;
    }
}

/*　決済画面　*/
.checkout__container {
    max-width: 600px;
    margin: 0 auto;
}
.checkout__box {
    border: 8px solid #F1EEE1;
    padding: 0 20px 20px;
}
.checkout__box .service__index {
    margin-top: 10px;
}
.checkout__content {
    padding: 0 10px;
}
.checkout__title {
    color: #515151;
    font-weight: bold;
}
.checkout__price {
    color: #FE7676;
    font-weight: bold;
    text-align: right;
    font-size: 18px;
    margin-top: 10px;
}
.checkout__face {
    width: 60px;
    display: inline-block;
}
.checkout__face img {
    width: 100%;
}
.checkout__name {
    display: inline-block;
    color: #515151;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 10px;
}
.chechout__notice {
    margin-top: 40px;
    text-align: center;
    font-size: 18px;
    color: #FE7676;
}
@media only screen and (max-width: 768px) {
    .checkout__price {
        font-size: 16px;
    }
    .chechout__notice {
        font-size: 16px;
    }
}