
/* ----------------------------------------
 * column基本設定
---------------------------------------- */

.pc-none{display: none;}
.sp-none{display: block;}
@media screen and (max-width: 1024px) {
    .pc-none{display: block;}
    .sp-none{display: none;}
}

.column-content{
    width: 860px;
    margin: 0 auto 150px;
    color: #004ea2;
	letter-spacing: 5%;
}

.column-content p{
    font-size: 14px;
    line-height: 2.0em;
    margin: 20px auto;
	letter-spacing: 5%;
}

.column-content img{
    display: block;
    margin: 20px auto;
}

@media screen and (max-width: 1024px) {
    .column-content{
        width: 90%;
    }
}

.column-single-mv{
    width: 100%;    
    justify-content: center;
    height: auto;
    overflow: hidden;
    margin:0 auto 50px;
    max-width: 860px;
    border-radius: 16px;
    max-height: 541px;
	min-height: 541px	
}

.column-single-mv img{
    display: block;
    width: 100%;    
    object-fit: cover;
    height: 100%;
    max-height: 541px;
	min-height: 541px
}

.column-title{
    font-weight: bold;
    font-size: 30px;
    color: #004ea2;
    width: 860px;
    margin: 0 auto;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #0251D3 0%, #2CB5FF 100%) 1;
    padding-bottom: 5px;
    line-height: 160%;
	letter-spacing: 5%;
}

.article-meta-info {
    text-align: right;
    margin: 10px 0 30px;
    font-size: 14px;
    color: #666;
}

.article-meta-info .update-date::before {
    content: "最終更新日："; /* テキストで補足 */
    font-size: 0.9em;
}

.article-meta-info .divider {
    margin: 0 10px;
    color: #004EA2;
    letter-spacing: 0.1em;
}

.article-meta-info{
    max-width: 850px;
    margin: 2vw auto;
    text-align: right;
    font-size: 10px;
    color: #004EA2;
    letter-spacing: 0.1em;
}
@media screen and (max-width: 1024px) {
   .column-title,.article-meta-info {
        width: 90%;
    }

}
@media screen and (max-width: 768px) {
    .column-single-mv{
        height: auto;
        max-height: 250px;
        min-height: 250px;
    }
    .column-single-mv img{
        display: block;
        width: 100%;
        object-fit: cover;
        max-width: 90%;
        margin: 0 auto;
        border-radius: 16px;
        max-height: 250px;
        min-height: 230px;
    }
}

.column-content h2{
    border-left: 3px solid ;
    border-image: linear-gradient(to bottom, #009bfa, #004ea2) 1;
    font-size: 24px;
    padding-left: 20px;
    color: #004ea2;
    margin:100px auto 40px;
    line-height: 180%;
}
.column-content h3{
    position: relative;
    padding-left: 40px;
    font-size: 20px;
    font-weight: bold;
    color: #004ea2;
    margin: 60px auto 30px;
    line-height: 180%; 
}
.column-content h3::before{
    content: '';
    position: absolute;
    background: url(../images/icon_diamond.svg) center no-repeat;
    background-size: contain;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    margin: auto;
}

.column-content h4{
    background-color: #E9F3FF;
    color: #004ea2;
    padding: 5px 15px;
    font-size: 18px;
    font-weight: 700;
    line-height: 180%;
    letter-spacing: 0.9px;
    margin: 40px auto 30px;
    border-radius: 6px;
}

@media screen and (max-width: 768px) {
    .column-title{font-size: 24px;}
    .column-content h2{ font-size: 20px;}
    .column-content h3{ font-size: 18px;}
    .column-content h4{ font-size: 16px;}
}


/* ----------------------------------------
 * FAQ部分
---------------------------------------- */

.column-faq{
    max-width: 850px;
    margin: 0 auto;
}

.column-faq-title{
    color: #004EA2;
    text-align: center;
    min-height: 67px;
    margin-bottom: 90px;
    padding: 0 calc(32px + 30px);
    background-size: 32px auto, 32px auto;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 40px;
    background-image: url(../images/img_jewel.webp), url(../images/img_jewel.webp);
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: 20px auto, 20px auto;
    font-weight: 500;
    line-height: 1.4;
}

.js-accordion-content {
    display: none;
    overflow: hidden;
}

.faq-question {
    cursor: pointer;
    position: relative;
    padding: 20px;
    background: #f7faff;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
    color: #004ea2;
    font-size: 14px;
    display: flex;
    width: 93%;
    align-items: center;
    line-height: 1.6em;     
    font-weight: bold;
}
.faq-question  img{
    padding-right: 10px; 
}
.faq-answer{
    margin-left: 0;
    padding: 0 20px 20px;
    font-size: 14px;
}

.faq-answer-inner img{
    padding-right: 10px;
    vertical-align: middle;
}

.faq-answer-inner p{
    margin: 0 auto;
    color: #004ea2;
    line-height: 200%;
}
.faq-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
}

.faq-note{
    font-size: 10px;
}

/* プラスの横線 */
.faq-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color:#004ea2; 
    transform: translateY(-50%);
}

/* プラスの縦線 */
.faq-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color:#004ea2; 
    transform: translateX(-50%);
    transition: transform 0.3s; 
}

.js-accordion-title.is-open .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0; 
}

@media screen and (max-width: 768px) {
    
  .column-faq{
    width: 90%;  
  }

  .column-faq-title{
        width: 80%;
        margin: 0 auto 40px;
        box-sizing: border-box;
        font-size: 19px;
  }

  .faq-question{
    width: 100%;
    box-sizing: border-box;
  }
}


/* ----------------------------------------
 *　標準table　*
---------------------------------------- */
.column-content .wp-block-table{
    margin: 30px auto;
}
.column-content .wp-block-table tr td{
    padding: 20px;
    font-size: 12px;
    border: 1px solid #D9D9D9;
    line-height: 160%;
    vertical-align: middle;
    text-align: left;
}
.column-content .wp-block-table tr td:first-child{
    background: #E9F3FF;
    font-weight: bold;
}

/* ----------------------------------------
 *　table(A)　*
---------------------------------------- */
.table-alt-wrapper{
    text-align: center;
}

.table-alt-wrapper tr td{
    padding: 20px;
}

/*最初の行*/
.table-alt-wrapper tr:first-child td:nth-child(2){
    background-color: #888;
    color: #fff;
}

.table-alt-wrapper tr:first-child td:nth-child(3){
    background: linear-gradient(45deg, #004EA2 -0.25%, #009BFA 99.75%);
    color: #fff;
}

/*2番目以降の行*/
.table-alt-wrapper tr td:first-child{
    color: #004EA2!important;
    background-color: #fff!important;
}

.table-alt-wrapper tr td:nth-child(even){
    background-color: #F6F6F1;
    color: #888;
}

.table-alt-wrapper tr td:nth-child(odd){
    background-color: #F7FAFF;
    color: #004EA2;
}

/* ----------------------------------------
 *　監修医師　*
---------------------------------------- */
.doctor-section{
    max-width: 1000px;
    margin: 60px auto;
}
#whiteningDoctor .container {
	padding: 54px 70px;
	border: 1px solid #004ea2;
    border-radius: 16px;
}
@media screen and (max-width: 1204px) {
    #whiteningDoctor .contents{
        min-width: auto;
    }
    .doctor-section{
        width: 90%;
    }
    #whiteningDoctor .container {
        padding: 54px 30px;

    }
}

@media (width > 768px) {
	#whiteningDoctor .container {
		padding: 54px 70px;
	}
	#whiteningDoctor .contents {
		display: flex;
		align-items: center;
	}
}
#whiteningDoctor .photoArea {
	display: flex;
	flex-direction: column;
	align-items: center;
}
@media (width > 768px) {
	#whiteningDoctor .photoArea {
		flex: 0 0 auto;
		width: 240px;
		max-width: 35%;
	}
}
#whiteningDoctor .photo {
    display: block;
	max-width: 240px;
	border-radius: 16px;
	box-shadow: 0 0 20px 0 rgba(0, 78, 162, 0.2);
	overflow: hidden;
}
#whiteningDoctor .photo img{
    display: block;
    width: 100%;
    height: auto;
}
#whiteningDoctor .name {
	margin-top: 24px;
    color: #004EA2;
    line-height: 2.0;
}

#whiteningDoctor .about{
    line-height: 2.0;
    width: 78%;
    box-sizing: border-box;
    letter-spacing: 0.05em;

}
@media screen and (max-width: 1204px) {
    #whiteningDoctor .about{
        width: auto;
    }
}

@media (width > 768px) {
	#whiteningDoctor .name {
		margin-top: 21px;
	}
}
#whiteningDoctor .textArea {
	margin-top: 34px;
    color: #004EA2;
    letter-spacing: 160%;
}
@media (width > 768px) {
	#whiteningDoctor .textArea {
		flex: 1 1 auto;
		margin: 0 0 0 54px;
	}
}
#whiteningDoctor .textArea p + p {
	margin-top: 2.0em;
    width: 78%;
    line-height: 2.0;
    box-sizing: border-box;
    letter-spacing: 0.05em;
}

.doctor-section h2{
    color: #004EA2;
    text-align: center;
    min-height: 67px;
    margin-bottom: 90px;
    padding: 0 calc(32px + 30px);
    background-size: 32px auto, 32px auto;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 40px;
    background-image: url(../images/img_jewel.webp), url(../images/img_jewel.webp);
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: 20px auto, 20px auto;
    font-weight: 500;
    line-height: 1.4;
}
/******************/
/* 目次（TOC）     */
/******************/
.news-list-toc-wrapper {
    margin: 50px auto;
}

/* ボタン部分 */
.news-list-toc-toggle {
    display: block;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: url(../images/contents-toc_dogear.webp) left top no-repeat, #F7FAFF;
    cursor: pointer;
    color: #004EA2;
    font-weight: bold;
    text-align: left;
    position: relative;
}

/* 右側の「開く」テキスト */
.news-list-toc-toggle::after {
    content: '開く';
    position: absolute;
    right: 20px;
    font-size: 0.8em;
    font-weight: normal;
}

/* 開いている時（JSでクラスがついた時） */
.news-list-toc-toggle.is-active::after {
    content: '閉じる';
}

/* 中身のエリア */
.news-list-toc-content {
    background-color: #F7FAFF;   
    padding: 0 50px 50px;
}

.news-list-toc-content ul, .news-list-toc-content li {
    margin: 0 !important; padding: 0;
    list-style: none !important; display: block !important;
}
.news-list-toc-content a {
    color: #004EA2; text-decoration: underline; line-height: 160%;
}
.news-list-toc-content .toc-list { counter-reset: toc-count; }
.news-list-toc-content .toc-list > li {
    counter-increment: toc-count; border-bottom: 2px solid #D7E9FF; padding: 10px 0 !important; font-weight: bold;
}
.news-list-toc-content .catergory::before { content: counter(toc-count) ". "; margin-right: 8px; }
.subcatergory, .sub2catergory { padding-left: 1.5em !important; margin-top: 5px !important; }
.subcatergory li::before, .sub2catergory li::before { content: "・"; margin-right: 5px; color: #004EA2; }

.toc-list p{
    margin: 10px 0;
}

.toc-list li a{
    font-size: 16px;
}
.subcatergory li {
    margin: 5px 0!important;

}
.subcatergory li a{
    font-size: 14px!important;
    font-weight: normal!important;
}

.sub2catergory li a{
    font-size: 12px!important;
    font-weight: normal!important;
}
/*----------------------------------------------------------
  一覧ページ
----------------------------------------------------------*/
.column-mv{
    background: url(../images/column-mv.webp) center no-repeat;
    background-size: contain;
    aspect-ratio: 30 / 9;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    margin: 0 auto 120px;
    width: 1200px;
    position: relative;
}

.column-mv .inner{
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	left: 13.87%; /* 33 / 372 * 100 */
	top: 50%;
	font-family: 'futura-pt', 'Noto Sans JP', sans-serif;
	font-size: 1.111vw; /* 16 / 1440 * 100dvw */
	font-weight: 500;
	line-height: 1.8;
	transform: translateY(-50%);
    color: #fff;
}

.column-mv .inner span{
    text-align: center;
    text-shadow: 0 0 6px rgba(0, 66, 174, 0.65);
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%; 
    letter-spacing: 1px;
}

.column-mv .inner h1 {
    margin: 0;
    text-shadow: 0 0 6px rgba(0, 66, 174, 0.65);
    font-family: "Noto Sans JP";
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%; /* 60.8px */
    letter-spacing: 1.9px;
}

@media screen and (max-width: 1200px) {
    .column-mv{
        width: 98%;
    }
}
@media screen and (max-width: 768px) {
    .column-mv{
        background: url(../images/column-mv_sp.webp) center no-repeat;
        background-size: cover;
        border-radius: 16px;
        background-size: cover;
        height: 300px;
        width: 95%;
    }

    .column-mv .inner{
        left: 5.87%;
    }
    .column-mv .inner span{
        font-size: 14px;
    }
    .column-mv .inner h1 {
        font-size: 24px;
    }
}

.column-archive-container{
}

.column-archive-container .column-category-ttl{
    text-align: left;
    font-size: 18px;
    color: #004EA2;
    border-bottom: 1px solid #004EA2;
    width: 100%;
    position: relative;
    padding-bottom: 8px;
    max-width: 1200px;
    margin: 0 auto 20px;
}
.column-archive-container .column-category-ttl::after{
    content: 'CATEGORY';
    position: absolute;
    color: #004EA2;
    right: 0;
    font-family: Futura, 'Lato', sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 20.8px */
    letter-spacing: 2.6px;
}
.column-category-nav{
    max-width: 1200px;
    margin: 0 auto;
}

.column-archive-container .parent-label{
    color: #004EA2;
    margin: 0 0 14px;
}

.category-group ul{
    display: flex;
    padding: 0;
    gap: 10px;
    margin: 10px 0 20px;
    flex-wrap: wrap;
}
.category-group ul li{
    list-style: none;
}

.category-group ul li a{
    font-size: 14px;
    padding: 0px 20px;
    color: #fff;
    border-radius: 2px;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
    line-height: 200%;
}

.cat-01-parents-whitening ul li a{
    background: #7EC9F7;
}
.cat-02-parents-cleaning ul li a{
    background: #7FE0CE;
}
.cat-03-parents-beauty ul li a{
    background: #FF9EAF;
}

.cat-01-parents-whitening ul li .is-active{
    color:#7EC9F7;
    border: 1px solid #7EC9F7;
    background: #fff;
}
.cat-02-parents-cleaning ul li .is-active{
    color:#7FE0CE;
    border: 1px solid #7FE0CE;
    background: #fff;
}
.cat-03-parents-beauty ul li .is-active{
    color:#FF9EAF;
    border: 1px solid #FF9EAF;
    background: #fff;

}
@media screen and (max-width: 1275px) {
    .column-archive-container .column-category-ttl {
        width: 95%;
    }
    .column-category-nav{
        width: 95%;
    }
}

/*----------------------------------------------------------
  人気記事カルーセル
----------------------------------------------------------*/
.column-popular {
    overflow: hidden;
    padding: 50px 0 50px;
}

.column-popular-ttl {
    color: #004EA2;
    text-align: center;
    min-height: 67px;
    margin-bottom: 90px;
    padding: 0 calc(32px + 30px);
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 40px;
    background-image: url(../images/icon-crown.svg);
    background-repeat: no-repeat, no-repeat;
    background-position: left center;
    background-size: 45px;
    font-weight: 500;
    line-height: 1.4;

}
/* スライダー全体の表示エリアを広げる */
.popular-slider {
    /* 上下の見切れを防ぐために十分な余白をとる */
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    
    /* 左右の見切れ（リボンの折り返し）を防ぐ */
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* スライダー内の「箱」自体のoverflowを解除 */
.popular-slider .slick-list {
    overflow: visible !important;
    min-height: 500px;
}

/* スライド同士の隙間を作る */
.popular-slide-item {
    padding: 0 10px; 
    transition: all 0.3s;
}

.popular-card {
    display: block;
    text-decoration: none;
}

/* 親：リボンがはみ出せるように設定 */
.popular-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    position: relative;
    margin-top: 10px; /* リボンが上に飛び出す分の余白 */
}

/* リボン本体 */
.rank-num {
    display: inline-block;
    position: absolute;
    top: -6px;    
    right: 10px;  
    z-index: 2;
    width: 40px;
    height: auto;
    padding: 0px 10px 15px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 17px;
    border-radius: 0 2px 0 0; /* 右上だけ少し丸める */
}

/* 左側の「折り返し」部分 */
.rank-num:before {
    position: absolute;
    content: '';
    top: 0;
    left: -6px; /* 左側に飛び出させる */
    border: none;
    border-bottom: solid 6px transparent; /* 影の色 */
    border-left: solid 6px transparent; /* 左を透明にして三角形に */
}

/* 下側の「V字カット」部分 */
.rank-num:after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%; 
    height: 0;
    width: 0;
}

/* カルーセル内の画像エリアだけ、はみ出しを許可する */
.popular-slider .item-img {
    position: relative;
    overflow: visible !important;
    height: 280px;
}

.popular-slider .column-item{
    position: relative; 
    overflow: visible !important;
    min-height: 540px;
}
@media screen and (min-width: 1024px) {

    .item-img{
        height: 200px;
    }
}
@media screen and (max-width: 1024px) {
    .popular-slider .column-item{
        min-height: 560px;
    }
}
@media screen and (max-width: 768px) {
    
    .popular-slider .column-item{
        min-height: 540px;
    }
    .column-popular-ttl{
        font-size: 19px;
    }

    .popular-slider .item-img{
        height: 190px;
    }
    
}



/* リボンの位置調整 */
.rank-num {
    position: absolute;
    top: -6px;    
    right: 14px;   
    z-index: 10;
}
.rank-value{
    color: #FFF;
    font-family: Futura, 'Lato', sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 450;
    line-height: 24.962px; /* 83.207% */
    letter-spacing: 1.5px;    
    display: block;
    margin: 10px 0 0 ;
}

/* 画像がリボンを隠さないようにする */
.popular-slider .item-img {
    z-index: 1; 
    overflow: hidden; /* 画像自体は丸角などで切り抜いてもOK */
}
/* ついでにカード全体も念のため許可 */
.popular-slider .column-card-inner {
    overflow: visible !important;
}
/* --- 1位：ゴールド --- */
.rank-1 { background: none !important;x}
.rank-1:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: calc(100% + 15px); background: linear-gradient(45deg, #B67715 0%, #FBDB78 50%, #B67715 100%) !important; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); z-index: -1; }
.rank-1:before { content: ''; position: absolute; top: 0; left: -6px; border-bottom: solid 6px #B28000; border-left: solid 6px transparent; z-index: 1; }

/* --- 2位：シルバー --- */
.rank-2 { background: none !important;}
.rank-2:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: calc(100% + 15px); background: linear-gradient(45deg, #828282 0%, #CECECE 50%, #828282 100%) !important; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); z-index: -1; }
.rank-2:before { content: ''; position: absolute; top: 0; left: -6px; border-bottom: solid 6px #868686; border-left: solid 6px transparent; z-index: 1; }

/* --- 3位：ブロンズ --- */
.rank-3 { background: none !important; }
.rank-3:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: calc(100% + 15px); background: #B67715 !important; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); z-index: -1; }
.rank-3:before { content: ''; position: absolute; top: 0; left: -6px; border-bottom: solid 6px #723D1D; border-left: solid 6px transparent; z-index: 1; }

/* --- 4位：ブルー --- */
.rank-4 { background: none !important; }
.rank-4:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: calc(100% + 15px); background: #004EA2 !important; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); z-index: -1; }
.rank-4:before { content: ''; position: absolute; top: 0; left: -6px; border-bottom: solid 6px #525253; border-left: solid 6px transparent; z-index: 1; }

/* --- 5・6位：ライトブルー --- */
.rank-5, .rank-6 { background: none !important;}
.rank-5:after, .rank-6:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: calc(100% + 15px); background: #007BC7 !important; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); z-index: -1; }
.rank-5:before, .rank-6:before { content: ''; position: absolute; top: 0; left: -6px; border-bottom: solid 6px #004EA2; border-left: solid 6px transparent; z-index: 1; }



.slick-slide {
    aspect-ratio: 318 / 200!important;
}
.slick-slide img{
    width: 100%!important;
    object-fit: cover!important;
    border-radius: 16px;
    min-height: 280px!important;
}
.rank-label{
    color: #FFF;
    font-family: Futura, 'Lato', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 450;
    line-height: 100%; /* 10px */
    letter-spacing: 0.5px;
}

.slick-dots{
    bottom: -60px!important;
}
.slick-dots li{
    margin: 0!important;
}
@media screen and (max-width: 1024px) {
    .slick-slide img{
        min-height: 220px !important;
    }
}
@media screen and (max-width: 768px) {
    .slick-slide img{
        min-height: 190px!important;
    }
}
/*----------------------------------------------------------
  記事一覧リスト
----------------------------------------------------------*/
.column-main-list{
    margin: 110px auto;
    background-color: #F7FAFF;
    padding: 120px 0;
}

.list-heading{
    color: #004EA2;
    text-align: center;
    min-height: 67px;
    margin-bottom: 90px;
    padding: 0 calc(32px + 30px);
    background-size: 32px auto, 32px auto;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 40px;
    background-image: url(../images/img_jewel.webp), url(../images/img_jewel.webp);
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: 20px auto, 20px auto;
    font-weight: 500;
    line-height: 1.4;
}


.column-list {
    display: flex;
    gap: 30px;
    max-width: 1150px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.column-list li{
    width: calc(100% / 3 - 20px );
    list-style: none;
    position: relative;
    min-height: 534px;
}

@media (max-width: 1214px) {
    .column-list{width: 90%;}
}
@media (max-width: 1024px) {
    .column-list li{width: calc(100% / 2 - 20px);}
}
@media (max-width: 768px) {
    .column-main-list{
        padding: 57px 0;
        margin: 50px auto;

    }
    .column-list li{width: 100%;}

    .list-heading{
        width: 70%;
        margin: 0 auto 40px;
        box-sizing: border-box;
        font-size: 19px;
    }
}

.column-item{
    border-radius: 12px;
    background: #FFF;
    overflow: hidden;
    box-shadow: 0 0 20px 0 rgba(0, 66, 174, 0.20);
    padding: 24px;
    box-sizing: border-box;
}

.item-img {
    width: 100%;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.item-img img{
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px auto;
}

.item-cat {
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 2px;
    line-height: 200%;
}

.item-meta{
    color: #fff;
}

.item-meta .cat-01-parents-whitening{
    background: #7EC9F7;
}
.item-meta .cat-02-parents-cleaning{
    background: #7FE0CE;
}
.item-meta .cat-03-parents-beauty{
    background: #FF9EAF;
}

.item-date {
    font-size: 0.8rem;
    color: #004EA2;
}

/* 47文字の本文 */
.item-excerpt {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%; /* 21.6px */
    letter-spacing: 0.6px;
    margin-top: 20px;
	color: #004ea2;
}

.item-title{
    color: #004EA2;
    margin-top: 8px;
    line-height: 160%;
	letter-spacing: 5%;
}

.item-link{
    position: absolute;
    width: 88%;
    box-sizing: border-box;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.item-link a{
    background: url(../images/icon_arrow_right_white.svg) right 20px center no-repeat, linear-gradient(45deg, #004EA2 0%, #009BFA 100%);
    color: #fff;
    padding: 15px 20px;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 30px;
    display: block;
    text-align: center;
    font-weight: bold;
}


/* 関連記事セクション */
.related-columns-section {
    margin-top: 60px;
    padding: 40px 0;
}

.related-columns-title {
    color: #004EA2;
    text-align: center;
    min-height: 67px;
    margin-bottom: 90px;
    padding: 0 calc(32px + 30px);
    background-size: 32px auto, 32px auto;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 40px;
    background-image: url(../images/img_jewel.webp), url(../images/img_jewel.webp);
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: 20px auto, 20px auto;
    font-weight: 500;
    line-height: 1.4;
}

/* 関連記事エリア全体の背景（一覧と同じ薄い青） */
.related-posts-area {
    background-color: #F7FAFF;
    padding: 80px 0; /* 本家より少し詰め気味に設定 */
    margin-top: 60px;
}

.related-posts-area .column-list {
    justify-content: center;
}


/* 関連記事カード固有の調整 */
.related-posts-area .column-list li {
    list-style: none;
    /* 2件表示なら width: calc(50% - 25px); 3件なら元の calc(100% / 3 - 50px); */
    width: calc(50% - 25px); 
    max-width: 380px; /* 広がりすぎ防止 */
}

/* カテゴリの色（スラッグ名に合わせて背景が変わるように設定） */
/* PHP側の get_the_terms で取得したスラッグがこれらと一致しているか確認してください */
.item-cat.whitening { background: #7EC9F7; }
.item-cat.cleaning { background: #7FE0CE; }
.item-cat.mouth { background: #FF9EAF; }


@media (max-width: 768px) {
    .related-posts-area .column-list li {
        width: 100%;
        max-width: none;
        margin-bottom: 20px;
    }
    .related-posts-area .column-list {
        padding: 0 20px;
    }
    .item-cat {
        font-size: 10px;
    }
}

.related-posts-area .column-item{
    position: relative;
    min-height: 500px;
}

.related-posts-area .column-item .item-excerpt{
    margin: 10px 0;
	letter-spacing: 5%;
}

.navigation .nav-links{
    border-top: none;
    text-align: center;
    margin-top: 50px;

}

/* ページネーション全体のコンテナ */
.navigation.pagination {
    margin: 60px auto 0;
    text-align: center;
}


/* 数字を横に並べる */
.column-main-list .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; 
    list-style: none;
    margin-top: 80px;
}

/* 数字・矢印共通のスタイル */
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004EA2;
    text-decoration: none!important;
}

/* 現在のページの数字 */
.page-numbers.current {
    background: #004EA2;
    color: #fff;
    border-color: #004EA2;
    border-radius: 50px;
    height: 32px;
    width: 32px;
    box-sizing: border-box;
    min-width: auto;
    min-height: auto;
    text-decoration: none;
    font-weight: bold;
}

/* ホバーしたとき */
.page-numbers:hover:not(.current) {
    background: rgba(0, 78, 162, 0.1); /* 薄い青 */
}

/* 「前へ」「次へ」を < > にしたい場合 */
.prev.page-numbers, .next.page-numbers {
    border: none;
    font-size: 1.2rem;
}

/*----------------------------------------------------------
  column配下のみ追従バナーを変更
----------------------------------------------------------*/
/* WP配下に全部つく仕様？だった旧バナーの非表示*/
.post-type-archive-column .sp_fixed_cv, 
.tax-column_category .sp_fixed_cv,
.single-column .sp_fixed_cv{
    display: none;
}

/* ======================================
    fixBnr (親コンテナ)
   ====================================== */
.fixBnr {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 9999;
    /* 親は常に表示(JSで制御するため初期はHTML側のdisplay:noneに従う) */
}

.fixBnr .box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    width: 100%;
}

/* ======================================
    電話・WEB予約ボタン (常駐)
   ====================================== */
.linkTel {
    color: #fff;
    background: linear-gradient(45deg, #004EA2, #009BFA);
    display: flex;
    width: 50%;
    min-height: 52px;
    justify-content: center;
    align-items: center;
    border-radius: 12px 12px 0 0;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.linkTel:before {
    content: '';
    flex: 0 0 auto;
    display: block;
    width: auto;
    height: 30px;
    aspect-ratio: 35 / 30;
    background: url(https://www.whiteessence.com/images/ico_phone.svg) no-repeat center / contain !important;
}

.linkWeb {
    color: #fff;
    background: linear-gradient(45deg, #FF4767, #FF8C72);
    display: flex;
    width: 50%;
    min-height: 52px;
    justify-content: center;
    align-items: center;
    border-radius: 12px 12px 0 0;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.linkWeb:before {
    content: '';
    flex: 0 0 auto;
    display: block;
    width: auto;
    height: 30px;
    aspect-ratio: 35 / 30;
    background: url(https://www.whiteessence.com/images/ico_calendar.svg) no-repeat center / contain !important;
}

/* ======================================
    LINEバナー (スクロールで出現)
   ====================================== */
.line {
    position: absolute;
    right: 6px;
    top: -73px; /* ボタンのすぐ上に配置 */
    width: 186px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* 隠れている時は下のボタンの邪魔をしない */
    transition: opacity 0.3s, visibility 0.3s;
    border-radius: 12px 12px 0 0;
}

/* JSで .show クラスがついた時の状態 */
.line.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* ×ボタンで閉じられた時の強制非表示 */
.line.is-hidden {
    display: none !important;
}

.line .link {
    display: block;
    width: 100%;
    aspect-ratio: 186 / 52;
    border-radius: 6px;
    overflow: hidden;
}

.line .link img {
    width: 100%;
    display: block;
}

/* ======================================
    閉じる(×)ボタン
   ====================================== */
.line .close {
    position: absolute;
    top: 0;
    right: -5px;
    width: 30px;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid #004ea2;
    border-radius: 50%;
    translate: 0 -66.6%;
    cursor: pointer;
    z-index: 10;
}

.line .close::before,
.line .close::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 2px; /* 少し太くして視認性アップ */
    background: #004EA2;
    rotate: 45deg;
    translate: -50% -50%;
}

.line .close::after {
    rotate: -45deg;
}

.line .close .text {
    display: block;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
}

/* ======================================
    モバイル対応 (1024px以下)
   ====================================== */
@media screen and (max-width: 1024px) {
    .fixBnr {
        display: block; /* JSでshow()する際のバックアップ */
    }
}

