@charset "utf-8";

/* 
Theme Name: column

*/


body {
    background-color: #f8f7f3;
}

.page_wrapper.beige {
    background: #f8f7f3;

}

.page_contentWrapper.brown {
    background: #ddcbae;
}
.bg_left {
    position: relative;
}
.bg_left::before {
    content: "";
    position: absolute; /* スクロールしても固定 */
    top: 0;
    left: 0;
    width: 500px; /* 左側の幅を指定 */
    height: 100%; /* 画面の高さいっぱいに */
    background-color: #ddcbae; /* 任意の背景色 */
    z-index: 0; /* 他のコンテンツの後ろに */
}
.news_tab_inner {
    display: flex;
    justify-content: center;
    width: 1100px;
    margin: 0 auto 70px;
    gap: 46px;
}

.news_tab_inner li {
    width: 240px;
    height: 240px;
    padding: 45px;
}

.news_tab_inner li:first-child {
    color: #000;
    background: #fff;
    box-shadow: 1.6px 1.2px 7px 0 rgba(0, 0, 0, 0.18);
}

.news_tab_inner li:last-child {
    color: #fff;
    box-shadow: 1.6px 1.2px 7px 0 rgba(0, 0, 0, 0.18);
    background-color: #cdbca1;
}

.news_tab_inner li:first-child a {
    color: #000;
}

.news_tab_inner li:last-child a {
    color: #fff;
}

.news_tab_flex {
    display: flex;
    justify-content: center;
    gap:46px;
}

.news_tab_box {
    width:240px;
    height:240px;
    padding:53px 38px 48px;
    box-shadow: 1.6px 1.2px 7px 0 rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news_tab_en {
    font-size:22px;
    text-align: center;
    font-family: BodoniSvtyTwoITCTT,serif;
    padding-bottom:23px;
    line-height:1;
}
.news_tab_ja {
    font-size: 26px;
    text-align: center;
 
    font-family: BodoniSvtyTwoITCTT,serif;

}
.news_tab_box.tab01 {
    background-color: #fff;   
}
.news_tab_box.tab01 .news_tab_en {
    border-bottom:1px solid #000;
}
.news_tab_box.tab01 {
    padding-bottom:68px;
}
.news_tab_box.tab02 {
    background-color: #cdbca1;   
    color:#fff;

}
.news_tab_box.tab02 .news_tab_en {
    border-bottom:1px solid #fff;
}
#column_archive {
    margin-top:130px;
}
.column_archive {
    display: flex;
    max-width:1340px;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 0 50px;
    box-sizing: border-box;
    margin-top:90px;
    gap:50px;
}
h2.column_list_title {
    font-size:40px;
    font-weight: bold;;
}
.column_list_wrapper {
    max-width: 1020px;
}

/* column　カスタム投稿一覧 */
.post_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}

/* 1つ1つのニュースカード */
.post_item {
    display: flex;
    border: 1px solid #ccc;
    /* 全体の枠線 */
    background-color: #fff;
    margin-bottom: 2rem;
    position: relative;
    /* 日付リボン用にrelative */
    /* padding: 1rem; */
}

/* 左側の画像枠 */
.post_image_wrapper {
    width: 50%;
    position: relative;
    top: 0;
    left: 0;
    padding: 45px 0 55px 35px;

    overflow: hidden;
    /* リボンがはみ出す場合は調整 */
}

.post_image_wrapper img {
    width: 100%;
    height: auto;
    display: block;
    height: 300px;
    object-fit: cover;
}

/* 日付を斜めリボンにする例 */
.post_date {
    position: absolute;
    top: -12px;
    left: -52px;
    /* ▼幅・高さを0にして、borderで三角形を作る */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 80px;
    border-color: transparent transparent #cdbca1 transparent;
    transform: rotate(-45deg);
    /* transform-origin: left top; */
}

.post_date span {
    position: absolute;
    /* 三角形内の好みの場所まで移動 (調整が必要) */
    top: 45px;
    left: -40px;

    /* 文字を -45度傾ける */


    /* デザイン調整 */
    color: #fff;
    font-size: 12.5px;
}

/* 右側テキスト */
.post_text_wrapper {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 45px 0 55px 35px;
}


.post_category {
    display: inline-block;
    border: 2px solid #000;
    padding: 12px 35px;
    font-size: 18px;
    width: fit-content;
    text-transform: uppercase;
    line-height:1;
    /* margin-bottom:22px; */
}

.post_text_wrapper .post_title {
    font-size: 30px;
    font-weight: 600;
    margin: 0;
    padding-right: 38px;
    line-height: 1.67;
    letter-spacing: 1.5px;
    font-family: Noto Sans JP;
    font-weight: 500;
    margin-top:22px;
}

.post_text_wrapper h3 a {
    color: #333;
    text-decoration: none;
}

.more_link {
    display: flex;
    justify-content: center;
    align-items: left;
    width: 300px;
    height: 35px;

}

.more_link:hover {
    opacity: 0.5;
}

.post_categories {
    display: flex;
}

.pagenation {
    width: fit-content;
    margin: 100px auto;
    white-space: nowrap;
    position: relative;
}

.pagenation ul {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.pagenation ul li {
    font-size: 32px;
    border: solid 1px #cdbca1;
    background-color: #cdbca1;

}

.pagenation .page-numbers.current {
    margin: 0.5rem;
    font-size: 32px;
    border: solid 1px #cdbca1;
    background-color: #cdbca1;
    color: #fff;
    padding: 21px 19px;
    font-family: BodoniSvtyTwoITCTT, serif;
}

.pagenation .page-numbers:not(.current) {
    font-size: 32px;
    border: solid 1px #cdbca1;
    background-color: #f8f7f3;
    color: #000;
    padding: 21px 19px;
    font-family: BodoniSvtyTwoITCTT, serif;
}

.page-numbers.prev,
.page-numbers.next {
    padding: 25px 40px;
    font-weight: bold;
    font-size: 22px;
}

.page-numbers.prev {
    margin-right: 25px;
}

.page-numbers.next {
    margin-left: 25px;
}
.category_archive_box {
    display: flex;
    max-width: 1340px;
    margin:0 auto;
    row-gap:70px;
    column-gap: 60px;
    flex-wrap: wrap;
}
.category_archive_item {
    width: 30%;
    text-align: center;
    position: relative;

}
.category_archive_item img {
    width:100%;
    object-fit: cover;
}
.category_list_name_wrapper {
    background-color:rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom:0;
    padding:34px 0;
}
.category_list_name {
    color:#fff;
    font-size:26px;
    margin-bottom:24px;
    display:block;
}
.category_description {
    color:#fff;
    font-size:18px;
    font-family: BodoniSvtyTwoITCTT;
  letter-spacing: 1.8px;
}
/* サイドバー　*/
aside#sidebar{
    width:270px;
    background-color: #f8f7f3;
}

#sidebar .cat_list,
#sidebar .acupuncturist {
    padding: 0px;
    margin: 0px;
    margin-bottom:105px;
}
#sidebar .cat_list h5,
#sidebar .acupuncturist h5 {
    font-size: 30px;
    padding:0 25px 25px;
    border-bottom:2px solid #000;
} 

#sidebar .cat_list ul li,
#sidebar .acupuncturist ul li {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    font-family: HiraginoSans-W5;
    font-size: 22px;
    border-bottom: 1px solid #000;
    padding:25px;
    line-height: 1;
    width:250px;
    margin:0 10px;
}
#sidebar .cat_list ul li::before,
#sidebar .acupuncturist ul li::before {
    content: '';
    width:0;
    height:0;
    border-style:solid;
    border-width: 7.5px 0 7.5px 13px;
    border-color: transparent transparent transparent #CDBCA1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

@media screen and (max-width: 1100px) {
    .news_tab_box {
        width:180px;
        height:180px;
        padding:32px;
    }
    .news_tab_ja {
        font-size:18px;
    }
    .news_tab_en {
        font-size: 16px;
        margin-bottom:14px;
    }
    .news_list_wrapper {
        width:100%;
        padding:0 16px;
    }
    .post_item{
        flex-direction: column;
    }
    .post_image_wrapper,.post_text_wrapper {
        width:100%;
        padding:16px;
    }
    .post_text_wrapper .post_title {
        width:100%;
        padding: 0;
        padding-right: 0;
    }
    .more_link {
        margin-left: auto;
    }
    .pagenation .page-numbers.current {
        margin: 0.5rem;
        font-size: 24px;
        padding: 16px 10px;
    }
    
    .pagenation .page-numbers:not(.current) {
        font-size: 24px;
        padding: 16px 10px;
    }
    
    .page-numbers.prev,
    .page-numbers.next {
        padding: 25px 40px;
        font-weight: bold;
        font-size: 22px;
    }
    .category_archive_box {
        width:100%;
        row-gap: 35px;
    column-gap: 30px;
    padding:0 32px;
    }
    .category_archive_item {
        width:30%;
    }
}

@media screen and (max-width: 768px) {
    .bg_left::before {
        width:0;
    }
    .post_category {
        /* padding: 6px 17px; */
        margin: 0;
    }
    .more_link {
        width:200px;
    }
    .column_archive {
        flex-direction: column;
    }
    aside#sidebar{
        width:100%;
    }
    #sidebar .cat_list ul li, #sidebar .acupuncturist ul li {
        width:90%;
    }
}
@media screen and (max-width: 480px) {
    .category_archive_item {
        width:100%;
    }
    .bg_left::before {
        width:0;
    }
    #column_archive {
        padding:16px;
        margin-top:32px;
    }
    .column_archive {
        margin-top:32px;
    }
    .pagenation {
        width: fit-content;
        margin: 0 auto;
    }
    .pagenation .page-numbers.current,
    .pagenation .page-numbers:not(.current) {
        font-size:14px;
        padding:5px;
    }
    .page-numbers.prev {
        margin-right:16px;
    }
    .page-numbers.next {
        margin-left:16px;
    }
}