/*===== page basic/detail =====*/
.top-name {
    margin-top: 0;
    margin-bottom: 0;   
    margin-top: 14px;
    margin-bottom: 14px;
    font-weight: bold;
}
.detail-top-section {
    display: flex;
    flex-wrap: wrap;
}
.pattern-ttl {
    margin: 0;
    border-bottom: 3px dotted #A96767;
    padding-bottom: 1em;
    font-weight: bold;

}
.caption {
    display: block;
    text-align: center;
    font-size: 12px;
    margin-top: 0.5em;
}
.another-info .img-side img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    margin-right: 18px;
}
.another-info .row {
    display: flex;
    margin: 0;
    position: relative;
    padding-bottom: 28px;
    padding-top: 28px;
}
.another-info .row::after {
    border: 1px dashed #E6C0C0;
    content: "";
    display: block;
    width: calc(100% - 14px);
    position: absolute;
    bottom: 0;
    left: 7px;
}
.another-info .row:last-child::after {
    display: none;
}
.another-info .text-side {
    flex: 1;
    width: 100%;
}
.another-info h4 {
    margin-top: 0;
    font-weight: 600;
}
.another-info .text-side p {
    margin-bottom: 0;
}
.another-info .main-ttl {
    margin-bottom: 0;
}
.basic-guide .head .title {
    margin: 1.5em 0 3em;
}
.margin-section {
    margin-bottom: 50px;
}
.basic-guide p {
    line-height: 1.6em;
    margin-bottom: 0;
}
.basic-guide {
    padding-bottom: 5em;
}
.m-top-12 {
    margin-top: 12px;
}
.wrap-plus-14 {
    width: calc(100% + 14px);
    margin-left: -7px;
}
.pattern-5 .image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 82%;
    margin-bottom: 1em;
}
.pattern-5 .image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.pattern-5 .item {
    margin-bottom: 25px;
}
.pattern-5 .wrapper {
    margin-bottom: -25px;
}
.pattern-6 img {
    margin-top: 1.5em;
}
.pattern-7 img {
    border-radius: 6px;
}
.pad-lr-14 {
    padding-left: 12px;
    padding-right: 12px;
}
.wrap-plus-28 {
    width: calc(100% + 24px);
    margin-left: -12px;
}
.pattern-8 .right-side > div {
    padding-left: 2px;
    padding-right: 2px;
}
.wrapper.basic-detail .subcategory {
    display: flex;
    margin-left: -10px;
}
.basic-detail .subcategory .list-detail a {
    background-color: #B58181;
    color: #fff;
    padding: 3px 10px;
    border-radius: 2em;
    display: -webkit-inline-box;
    margin: 4px 10px;
    border: 1px solid #B58181;
    transition: 500ms ease 0s;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 268px;
    width: fit-content;
}
.basic-detail .subcategory .list-detail {
    width: fit-content;
    margin-left: 0;
    margin-top: 14px;
}
.basic-detail .subcategory .list-detail a:hover {
    background-color: #fff;
    color: #B58181;
}
.basic-detail .subcategory .list-detail.category {
    /*width: fit-content;*/
    margin-left: 0;
    margin-top: 0;
}
.basic-detail .subcategory .list-detail.category a {
    background-color: #B58181;
    color: #fff;
    padding: 3px 10px;
    border-radius: 2em;
    display: -webkit-inline-box;
    margin: 4px 5px;
    border: 1px solid #B58181;
    transition: 500ms ease 0s;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 268px;
    min-width: fit-content;
}
.basic-detail .subcategory .list-detail.category a:hover {
    background-color: #fff;
    color: #B58181;
}
.wrapper.basic-detail .subcategory.left-part {
    display: flex;
    margin-left: 0;
    flex-wrap: wrap;
}
.basic-desc {
    font-size: 15px;
}
.detail-top-section .wrapper .left-side {
    padding-right: 44px;
}
.pattern-8 .left-side {
    padding-right: 26px;
}
.pattern-7 .left-side {
    padding-right: 28px;
}
.pattern-6 .left-side {
    padding-right: 35px;
}
.pattern-1-txt {
    padding-top: 17px;
}
.detail-top-section .title-wrap {
    border-top: 1px solid #A96767;
    border-bottom: 1px solid #A96767;
    margin-bottom: 1em;
}
.detail-top-section .wrapper .right-side p {
    margin-bottom: 10px;
}
span.num {
    background-color: #B58181;
    color: #fff;
    padding: 0;
    margin: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
    border-radius: 50%;
    margin-right: 5px;
}
.category-ttl {
    margin-bottom: 0.5em;
    margin-left: 5px;
}
.category-ttl p {
    font-size: 20px;
    font-weight: 600;
}
/*===== END page basic/detail =====*/

/*===== page basic/guide =====*/
.list-category .border {
    border: 1px solid #D6D3D3;
    border-radius: 10px;
    padding: 7px 20px 20px;
}
.title-cat > * {
    text-align: center;
    margin-bottom: 4px;
}
.list-category .subcategory {
    width: 50%;
    margin: 1em 0;
}
.list-category .wrapper .subcategory:nth-of-type(odd) {
    padding-right: 1.5em;
}
.list-category .wrapper .subcategory:nth-of-type(even) {
    padding-left: 1.5em;
}
.list-category .wrapper {
    display: flex;
    flex-wrap: wrap;
}
.subcategory .name {
    text-align: center;
    margin-bottom: 0.5em;
}
.subcategory img {
    border-radius: 10px;
}
.subcategory .list-detail a {
    background-color: #B58181;
    color: #fff;
    padding: 3px 10px;
    border-radius: 2em;
    display: -webkit-inline-box;
    margin: 4px 8px;
    border: 1px solid #B58181;
    transition: 500ms ease 0s;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* max-width: 140px; */
    width: 100%;
}
.subcategory .list-detail a:hover {
    background-color: #fff;
    color: #B58181;
}
.subcategory .list-detail {
    /* width: calc(100% + 4px); */
    width: 100%;
    margin-left: -7px;
    margin-top: 0;
    /* max-width: 140px; */
}
.list-category {
    display: flex;
    flex-wrap: wrap;
}
.wrap-list-category {
    display: grid;
}
.content-basic {
    margin: 0 auto 3em;
    word-break: break-word;
}
.subcategory .img-fit {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.5%;
}
.subcategory .img-fit img {
    height: 100%;
    width: 100%;
    display: block;
    margin: auto;
    border-radius: 10px;
    position: absolute;
    object-fit: cover;
}
.subcategory .list-detail-wrap {
    display: block;
    margin-top: 1em;
}
/*===== END page basic/guide =====*/

@media only screen and (max-width: 40.063em) {
    .wrap-plus-28 {
        width: 100%;
        margin-left: 0;
    }
    .pad-lr-14 {
        padding-left: 0;
        padding-right: 0;
    }
    .detail-top-section .wrapper {
        display: flex;
        flex-flow: column-reverse;
    }
    .pattern-5 .item {
        padding-left: 7px;
        padding-right: 7px;
        margin-bottom: 14px;
    }
    .pattern-5 .wrapper {
        width: calc(100% + 14px);
        margin-left: -7px;
        margin-bottom: -14px;
    }
    .pattern-6 .wrapper {
        display: flex;
        flex-flow: column-reverse;
    }
    .another-info .img-side img {
        width: 80px;
        height: 80px;
    }
    .basic-guide {
        padding: 0 2px 3em;
    }
    .margin-section {
        margin-bottom: 18px;
    }
    .basic-guide .head .title {
        margin: 1.5em 0 2em;
    }
    .wrapper.basic-detail .subcategory {
        flex-wrap: wrap;
    }
    /*===== END page basic/detail =====*/

    /*===== page basic/guide =====*/
    .list-category .subcategory {
        width: 100%;
    }
    .list-category .wrapper .subcategory:nth-of-type(odd) {
        padding-right: 0;
    }
    .list-category .wrapper .subcategory:nth-of-type(even) {
        padding-left: 0;
    }
    /*===== END page basic/guide =====*/
}