/*　Ms Jamu Wordpress用カスタムCSSファイル
　　いじるときは鳥居に一声かけてね　
*/


/*管理画面のスタイル*/
.form-table tr {
    margin-bottom: 5rem;
}


/* ページフッター部のスタイル*/
.site-footer .widget_block {
    margin-bottom: 0;
}
.site-footer h2 {
    width: 100%;
    line-height: 1.8em;
    font-size: 1rem;
    font-weight: 600;
    background-color: #473A1C;
    padding-left: 1em;
    margin-bottom: 1em;
}
.site-footer h3 {
    width: 100%;
    background-color: #473A1C;
    font-weight: 300;
    font-size:1rem;
    padding-left: 1em;
    margin-bottom: 0.2em;
}
.site-footer .footer-widget-2,.site-footer .footer-widget-3 {
    padding-top: 2.8rem;
}
@media only screen and (min-width:768px) {
    .footer-widgets {
        padding-top: 1rem !important;
    }
}

/*ページヘッダー部のスタイル*/
.site-header h1{
    color: #fff;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
}
@media only screen and (min-width:768px){
    .woocommerce-active .site-header .main-navigation  {
        width: 80% !important;
        margin-right: 0 !important;
    }
    .woocommerce-active .site-header .site-header-cart {
        width: 19% !important;
    }
}

/*ページメインエリア部のスタイル*/
.site-main a {
    font-weight: 600;
}
.content-area p {
    margin: 0 0 2.5rem;
}
.content-area h2{
    color: #fff;
    font-size: 1.3rem;
    background-color: #473A1C;
    line-height: 1.6;
    padding: 0 0.5em;
    margin: 2em 0 1em 0 ;
}
.content-area h3{
    color: #473A1C;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    padding: 0 0.5em;
    margin: 1em 0 0.5em 0 ;
    border-bottom: 3px solid #473A1C;
}
.product_copy{
    font-size: 1.2rem;
    color: #997537;
    font-weight: 600;

}
.ms-product-single {
    margin: 0 auto 2em;
    text-align: center;
}
.ms-product-single dt {
    width: 100%;
    font-weight: 600;
    margin-bottom: 0.5em;
}
.ms-product-single dd {
    width: 100%;
}
.ms-product-single img {
    margin: 0 auto;
}
@media only screen and (min-width:768px) {
    .storefront-breadcrumb {
        margin: 0 0 1.5rem !important;
    }
}
.tabel_of_contents {
    position: relative;
    box-sizing: border-box;
    padding: 1em 1em 1em 2em;
    margin: 2em 0 2em 0;
    border: 2px solid #473A1C;
    border-radius: 0.5em;
}
.tabel_of_contents::after {
    content: "目　次";
    color: #473A1C;
    font-weight: 600;
    position: absolute;
    pad: 0 0.5em;
    top:-1em;
    left:1em;
    background-color: #fff;
}
.tabel_of_contents li {
    margin-bottom: 0.5em;
}
/*ポイントリスト*/
.list-point {
    position: relative;
    box-sizing: border-box;
    padding: 1em 1em 0.5em;
    border: 5px double #333;
    border-radius: 5px;
    margin: 2rem 1rem;
}
.list-point::after {
    content: "ポイント";
    color: #fff;
    padding: 0.2em 1em;
    line-height: 1.6;
    background-color: #333;
    border-radius: 5px 5px 0 0;
    position: absolute;
    top: -2em;
    left: -5px;
}
.list-point li {
    position: relative;
    list-style: none;
    line-height: 1.6;
    margin-bottom: 0.5em;
    padding-left: 1.5em;
}
.list-point li::before{
    position: absolute;
    content: "";
    width: 1em;
    height: 1em;
    border: solid 1px #333;
    top: 0.2em;
    left: 0;
}
.list-point li::after {
    position: absolute;
    content: "";
    width: 1em;
    height: 0.4em;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(-45deg);
    top: 0.2em;
    left: 0.2em;
}
/*サイトマップのスタイル*/

.ms_sitemap {
    margin: 0;
    list-style: none;
}
.ms_sitemap::after {
    content: "";
	display: table;
	clear: both;
}
.ms_sitemap li {
    font-size: 0.8rem;
    box-sizing: border-box;
    width: 48%;
    margin: 0 0 0.5em 2%;
    float: left;
}

.ms_sitemap_single{
    margin: 2em 0 0.2em 0;
    list-style: none;
}
.ms_sitemap_single::after {
    content: "";
	display: table;
	clear: both;
}
.ms_sitemap_single li {
    font-size: 0.8rem;
    box-sizing: border-box;
    width: 48%;
    margin: 0 0 0.2em 2%;
    float: left;
}

@media only screen and (max-width: 767px) {
    .ms_sitemap li,.ms_sitemap_single li {
        font-size: 0.8rem;
        box-sizing: border-box;
        width: 98%;
        margin: 0 0 0.5em 2%;
    }
}

/*サイドバー部のスタイル*/
.widget {
    margin: 0 !important;
}

.widget-area h2{
    color: #fff;
    font-size: 0.8rem;
    background-color: #473A1C;
    line-height: 1.4;
    padding: 0.8em 0.5em;
    margin: 2em 0 1em 0 ;
}

ul.sidebar-img-list {
    width: 100%;
    margin-bottom: 2rem;
}
.sidebar-img-list li {
    list-style-type: none;
    width: 100%;
    margin-bottom: 1rem;
}
ul.sidebar-text-list {
    margin: 0.5rem 0 1rem 0;
    border-bottom: 1px solid #333;
}
.sidebar-text-list li {
    width: 100%;
    font-size: 0.8rem;
    padding-left: 1.2em;
    margin-bottom: 0.5em;
}
ul.sidebar-text-list-ub {
    width: 100%;
    margin-bottom: 2rem;
}
.sidebar-text-list-ub li{
    width: 100%;
    font-size: 0.8rem;
    margin: 0;
    padding: 0.5em 1em;
    border-bottom: 1px solid #333;
}

/*----一覧ページのスタイル----*/

/*コンテンツブロック*/
.contents_block {
    padding: 2em 1em;
    border: 6px double #333;
    margin: 3em 0;
    border-radius: 0.5em;
}

/*商品一覧部（カート付き）*/
.ms-product-list-cart {
    margin: 0;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.ms-product-list-cart::after {
    content: "";
    display: table;
    clear: both;
}
.ms-product-list-cart dl {
    margin: 0;
}
.ms-product-list-cart dt {
    text-align: center;
    font-weight: 600;
}
.ms-product-list-cart dd.image {
    position: relative;
    overflow: hidden;
    margin: 1em auto 0;
    padding-top: 75%;
    
}
.ms-product-list-cart  dd.image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    height: 80%;
    object-fit: cover;
}
.ms-product-list-cart dd.cart {
    margin: 0 auto;
    padding: 0 1em;
}
.ms-product-list-cart dd.cart table{
    margin: 0;
}
.ms-product-list-cart dd.cart th {
    display: none;
}
.ms-product-list-cart dd.cart .single_valiation_wrap {
    text-align: center;
}
.ms-product-list-cart dd.cart .quantity {
    margin: 0 0 0.5em 0;
}
@media only screen and (min-width: 768px) {
    .ms-product-list-cart li {
        box-sizing: border-box;
        list-style: none;
        width: 32%;
        float: left;
        margin: 0 0 2em 1%;
    }
    .ms-product-list li:nth-child(3n+1){
        margin: 0 0 2em 0;
    }
}
@media only screen and (max-width: 767px) {
    .ms-product-list-cart li {
        box-sizing: border-box;
        list-style: none;
        width: 48%;
        float: left;
        margin: 0 0 0 2%;
    }
    .ms-product-list-cart li:nth-child(2n+1){
        margin: 0;
    }
}

/*----商品ページのスタイル----*/

/*カート部*/
.content-area .ms_product_title {
    font-size: 1.2rem;
    line-height: 1.8em;
    margin: 0 0 0 0;
    background-color: #fff !important;
    color: #473A1C !important;
    font-weight: 900 !important;
    border-bottom: 3px #473A1C solid;
}
.woocommerce-Price-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: red;
}
.single-product div.product p.price{
    font-size: 1.5rem !important;
    margin: 1em 0 !important;
}

.content-area .woocommerce-product-details__short-description h2{
    font-size: 1.2rem;
    line-height: 1.8em;
    margin: 0 0 1em 0;
}
.single-product div.product .woocommerce-product-rating {
    margin-top: 1rem !important;
}
/*レビュー部*/
.content-area .woocommerce-Reviews-title,.content-area .relation-products {
    font-size: 1.2rem;
    line-height: 1.8em;
    margin: 2em 0 1em 0;
}
.comment-text .description {
    font-size: 0.9em;
}
#reviews .commentlist li .comment_container .comment-text{
    width: 95% !important;
}


/*関連記事部*/
.addtoany_content {
    margin: 4rem 0 !important;
}
.next_contents_link {
    position: relative;
    box-sizing: border-box;
    padding: 1em 1em 1em 2em;
    margin: 2em 0 2em 0;
    border: 2px solid #473A1C;
    border-radius: 0.5em;
}
.next_contents_link::after {
    content: "こちらもチェック";
    color: #473A1C;
    font-weight: 600;
    position: absolute;
    pad: 0 0.5em;
    top:-1em;
    left:1em;
    background-color: #fff;
}
.next_contents_link li {
    position: relative;
    list-style: none;
    line-height: 1.6;
    margin-bottom: 0.5em;
    padding-left: 1.5em;
}
.next_contents_link li::before{
    position: absolute;
    content: "";
    width: 1em;
    height: 1em;
    border: solid 1px #333;
    top: 0.3em;
    left: 0;
}
.next_contents_link li::after {
    position: absolute;
    content: "";
    width: 1em;
    height: 0.4em;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(-45deg);
    top: 0.3em;
    left: 0.2em;
}
/*関連商品部*/
.ms-product-list {
    margin: 0 0 3rem 0;
}
.ms-product-list::after {
    content: "";
    display: table;
    clear: both;
}
.ms-product-list dl {
    margin: 0;
}
.ms-product-list dt {
    text-align: center;
    font-weight: 600;
}
.ms-product-list dd {
    position: relative;
    overflow: hidden;
    margin: 1em auto 3em;
    padding-top: 75%;
}
.ms-product-list dd img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    height: 80%;
}
@media only screen and (min-width: 768px) {
    .ms-product-list li {
        box-sizing: border-box;
        list-style: none;
        width: 32%;
        float: left;
        margin: 0 0 0 2%;
    }
    .ms-product-list li:nth-child(3n+1){
        margin: 0;
    }
}
@media only screen and (max-width: 767px) {
    .ms-product-list li {
        box-sizing: border-box;
        list-style: none;
        width: 48%;
        float: left;
        margin: 0 0 0 2%;
    }
    .ms-product-list li:nth-child(2n+1){
        margin: 0;
    }
}


/*-----投稿ページ関連のスタイル----*/

/*記事リスト*/
.ms-post-list-title-style2 {
    list-style: none;
    padding: 1rem 1rem 0.5rem;
    margin: -0.5rem 0 3rem;
}
.ms-post-list-title-style2 li {
    margin: 0 0 1em 0;
}
.ms-post-list-title {
    list-style: none;
    padding: 1rem 1rem 0.5rem;
    margin: -0.5rem 0 3rem;
    border: #333 5px double;
    border-radius: 5px;
}
.ms-post-list-title li {
    margin: 0 0 0.5em 0;
}
.ms-post-list {
    list-style: none;
    margin: 0 0 3rem 1rem;
}
.ms-post-list li {
    margin: 0 0 2rem 0;
}
.ms-post-list dl {
    margin: 0;
}
.ms-post-list dt {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 ;
}
.ms-post-list dd {
    font-size: 0.9rem;
    margin: 0 0 0.5em 1.5em;
}
@media only screen and (min-width: 768px) {
    .ms-post-item::after{
        content: "";
        display: table;
        clear: both;
    }
    .ms-post-item .image {
        width: 30%;
        float: left;
    }
    .ms-post-item .text {
        width: 68%;
        float: right;
    }
}
@media only screen and (max-width: 767px) {
    .ms-post-item .image {
        margin-bottom: 1rem;
    }
}

/*チェックボックス装飾*/

.check-box {
    position: relative;
    list-style: none;
    line-height: 1.6;
    margin-bottom: 0.5em;
    padding-left: 1.5em;
}
.check-box::before{
    position: absolute;
    content: "";
    width: 1em;
    height: 1em;
    border: solid 1px #333;
    top: 0.2em;
    left: 0;
}
.check-box::after {
    position: absolute;
    content: "";
    width: 1em;
    height: 0.4em;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(-45deg);
    top: 0.2em;
    left: 0.2em;
}

/*レビュー一覧ページのスタイル*/
.ms_review_comment {
    width: 95%;
    margin: 1em 2% 1em 3% !important;
}
.ms_review_comment li{
    list-style: none !important;
    margin-bottom: 2em !important;
}