.inner{
/* 	font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ ゴシック', sans-serif; */
}

img{
	max-width: 100%;
}


.introduction{
	margin: 2em 0 4em;
}

.introduction p{
	color: #333;
	font-size: 1.05em;
	font-weight: bold;
	letter-spacing: 0.1em;
	text-align: center;
}

.introduction p {
	position: relative;
	line-height: 1.4;
	padding: 1em 1em;
	display: block;
}

.introduction p:before,.introduction p:after{ 
	content:'';
	width: 10px;
	height: 20px;
	position: absolute;
	display: inline-block;
}

.introduction p:before{
	border-left: solid 2px #bb5808;
	border-top: solid 2px #bb5808;
	top:0;
	left: 0;
}

.introduction p:after{
	border-right: solid 2px #bb5808;
	border-bottom: solid 2px #bb5808;
	bottom:0;
	right: 0;
}




.lesson-temp{
	margin-top: 2em;
}

.lesson-temp p{
	line-height: 1.8em;
    text-align: left;
}

.lesson-temp img{
	margin: 1em auto;
    max-width: 100%;
    height: auto;
}



hr{
	height: 10px;
	background-image: linear-gradient(
	90deg,
	hsla(0, 0%, 50%, 1),
	hsla(0, 0%, 50%, 1) 33.33%,
	hsla(0, 0%, 50%, 0) 33.33%,
	hsla(0, 0%, 50%, 0) 100%);
	background-size: 3px 100%;
	border: none!important;
	width: 100%;
	display: block;
	margin: 2em auto;
}


hr.first-child{
	margin-top: 0;
}

h1,.hA {
    font-family: Copperplate,Copperplate Gothic Light,fantasy;
    font-size: 24px;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    line-height: 26.4px;
    display: inline-block;
    background: none;
}
h1 span,.hA span {
    display: block;
    text-align: left;
    font-weight: bold;
    font-size: small;
    right: auto;
}

h2,.hB{
	padding: 0.5em 1em 1em;
	background-color: #3c4e56;
	background: url(/lesson/img/blackboad.jpg) #786a5d;
	color: #fff;
	font: normal 24px/1.3 sans-serif;
	margin-bottom: 0em;
}

h2 span,.hB span{
	font: normal 24px/1.3 sans-serif;
	padding-bottom: 0.5em;
	background: linear-gradient(transparent 80%, #967345 80%);
}

h2 span:first-child,.hB span:first-child{
/* 	content: "Spice Column"; */
    font-family: 'Yellowtail', cursive;
    display: block;
    color: #969088;
    letter-spacing: 0em;
    font-size: 0.8em;
    background:none;
    padding-bottom: 0;
    
    border-bottom:none;
}

.date{
	text-align: right;
	margin-bottom: 1em;
}


.hC{
	position:relative;
	margin:2em 0 1.5em;
	padding:14px 15px 0px 20px;
	font:normal 24px/1.3 sans-serif;
	color:#333;
	background:#eee;
	box-shadow:
		12px 0 0 0 #eee,
		0 12px 0 0 #eee,
		1px 15px 4px -3px rgba(0,0,0,0.0);
	width: 93.2%;
}
.hC:before{
	content:" ";
	position:absolute;
	top:100%;
	left:100%;
	width:0;
	height:0;
	border-width:12px 12px 0 0;
	border-style:solid;
	border-color:transparent;
	border-top-color:#ccc;
}



.hD {
	border-bottom: solid 1px #555;
	border-top: solid 1px #555;
	padding: 1em;
	margin: 3em 0 1.5em;
	font-weight: bold;
}

.hE{
	font-weight: bold;
	font-size: 1.3em;
	line-height: 1;
	padding-bottom: 0.3em;
	margin-bottom: 0.3em;
	border-bottom: 1px solid #000;
	background: none;
}

.hE:before{
	border: none;
	border-bottom: 1px solid #fff;
}

.hF{
	font-weight: bold;
}

.hF:before{
	content: "＊";
	margin-right: 0.3em;
}


.inner p{
	font-size: 14px;
	margin-bottom: 1em;
}






.box-flex{
	width: 100%;
	display: flex;
}

.box-flex div{
	width: 45%;
	margin-right: 5%;
}

.box-flex div:last-child{
	margin-right: 0%;
}

.box-flex + .box-flex{
	margin-bottom: 3em;
}



	
.box-colum2{
	width: 100%;
}
.box-colum2:before,
.box-colum2:after {
    content: " ";
    display: table;
}

.box-colum2:after {
    clear: both;
}

.box-colum2 {
    *zoom: 1;
}

.box-colum2 div{
	float: left;
}

.box-colum2 div:first-child{
	padding-right: 2em;
}






.box-news{
	background-image: url(/lesson/img/blackboad.jpg);
	padding: 1em;
	margin: 2em 0 1em;
}

.box-news .hAA{
	margin: 0 0 0.5em;
	line-height: 1;
}

.box-news-inner{
	background: #fff;
	padding: 1em;
}


.fusen ul li {
    font-size: 0.9em;
    margin: 1.6em 0;
    position: relative;
    /* グラデーションで折り目がついた感じに */
    background: linear-gradient(to right, #bbb 0%, #ccc 0.5%, #ddd 13%, #eee 16%);
    
    width: 49%;
    float: left;
}

.fusen ul li:first-child{
	margin-right: 12px;
}

.fusen ul li::after{　/* ドロップシャドウを少し斜めに配置して、立体感を出す */
    content:"";
    display:block;
    position: absolute;
    z-index: -1;
    bottom: 5px;
    right: 0;
    min-height: 15px;
    width: 99%;
    background: rgba(0,0,0,0.5);
    box-shadow: 0 5px 5px rgba(0,0,0,0.3);
    transform: rotate(2deg);
}

.box-news-inner ul{
	list-style: none;
	list-style-position: outside;
	margin: 0 0 1em;
    position: relative;
}



.box-news-inner ul li a{
}

.box-news-inner ul li:nth-of-type(10n) {
    margin-bottom: 1em;
}

.box-news-inner ul li span:first-child{
	margin: 0 1em;
	color: #967345;
	font-weight: bold;
}

.box-news-inner ul li span.date{
	margin-left: 1em;
	color: #969088;
    font-size: 0.9em;
/*
	position: absolute;
	right: 0;
*/
}

.box-news-inner ul li span.date:before{
}


.next{
	margin: 2em 0 5em;
}


.text-box{
	width: 436px;
}

.text-small{
	font-size: small;
}

p span {
	position: relative;
	line-height: 1.4;
	padding: 0 1em;
	display: inline-block;
	margin: 0em 1em 0em 0;
}


.future{
	background: #a02;
	color: #fff;
	margin: 0.3em 0 0 1em;
}

.wp_keywordlink,
.wp_keywordlink_affiliate{
	margin: 0;
	padding: 0;
	pointer-events: none;
}

.wp_keywordlink a,
.wp_keywordlink_affiliate a {
    pointer-events: none !important;      /* クリックを無効化 */
    cursor: text !important;              /* マウスを乗せても指マークにしない */
    text-decoration: none !important;     /* 下線を消す */
    color: inherit !important;            /* 親の文字色を引き継ぐ */
    font-size: inherit !important;        /* 親の文字サイズを引き継ぐ */
    font-weight: inherit !important;      /* 親の文字の太さを引き継ぐ */
}






.title-author{
	margin-bottom:10px;
}



.box-title:before,
.box-title:after {
    content: " ";
    display: table;
}

.box-title:after {
    clear: both;
}

.box-title {
    *zoom: 1;
}

.lesson .box-title .show{
}


.lesson .box-title .img-recipe,
.lesson-template-default .box-title .img-recipe{
	float: right;
	margin-left: 10px;
	margin-right: 0;
    max-width: 32%;
}

.lesson .show,
.lesson-template-default .show{
	width: 62%;
}

.box-title h3{
	line-height: 1.2em;
}

.lesson .img-recipe img,
.lesson-template-default .img-recipe img{
	background-color: #fff;
	padding: 2px;
	border: 1px solid #ccc;
	display: inline-block;
}


.lesson .img-recipe,
.lesson-template-default .img-recipe{
	border: none;
}

.title-author{
    font-size: 100%;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

.title-author span {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0em 0.4em;
    margin-right: 0.3em;
    display: inline-block;
}


.ul-hash{
/*
	background: #efefef;
	padding: 1rem;
*/
}

.fa-home:before,
.fa-facebook-square:before,
.fa-envelope-o:before{
	font-family: FontAwesome;
	font-size: 1rem;
	margin-right: 0.5rem;
}



.lesson-template-default h1{
	margin-bottom: 0;
}

.hC .wp_keywordlink a{
	font-size: 24px;
	font-weight: normal !important;
	color: #333;
}


.lesson .table-b,
.single-lesson .table-b {
	width: 100%;
	margin-bottom: 2.5em;
}

.lesson .pager,
.single-lesson .pager{
	display: flex;
	align-items: baseline;
}

.lesson .pager .previous,
.lesson .pager .next,
.single-lesson .pager .previous,
.single-lesson .pager .next{
	display: inline-flex;
	width: 49%;
	padding: 1%;
}

.lesson .pager .previous a,
.single-lesson .pager .previous a{
	padding: 1em 1em 1em 1.8em;
}

.single-lesson .pager .next a,
.lesson .pager .next a{
	padding: 1em 1.8em 1em 1em;
}

.lesson .pager .previous a,
.single-lesson .pager .previous a,
.single-lesson .pager .next a,
.lesson .pager .next a{
	background: #efefef;
	width: 100%;
	text-align: center;
	position: relative;
}

.lesson .pager .next a:after,
.single-lesson .pager .next a:after,
.lesson .pager .previous a:after,
.single-lesson .pager .previous a:after{
	font-family: FontAwesome;
	position: absolute;
	color: #ccc;
	font-size: 1.3em;
}

.lesson .pager .next a:after,
.single-lesson .pager .next a:after{
	content: "\f054";
	right: 2%;
}
.lesson .pager .previous a:after,
.single-lesson .pager .previous a:after{
	content: "\f053";
	left: 2%;
}

.single-lesson .pager .previous span,
.single-lesson .pager .next span{
	font-size: small;
	display: block;
}




/* lesson.cssに以下、内容記載済み */

.list-lesson-flex{
	display: flex;
	justify-content: space-around;
}

.lesson-pear div:first-child{
	width: 8em;
}

.list-lesson {
/* 	background: #f1eae1; */
	border: 4px double #969088;
    padding: 1em;
    margin: 2em 0;
}

.list-lesson-noborder{
	margin: 2em 0;
}

.list-lesson h4,
.list-lesson-noborder h4 {
    color: #967345;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1em;
}

.list-lesson h4 span,
.list-lesson-noborder h4 span{
	font-size: 1em;
	background: linear-gradient(transparent 60%, #ffddbc 0%);
	padding-right: 0.5em;
}

.list-lesson ul,
.list-lesson-noborder ul,
ul.ul-ast {
    list-style:  none;
    margin:  0;
    padding: 0;
} 

ul.ul-ast{
    padding: 1em 2em 2em;
    margin-bottom: 1em;
}

ul.ul-ast li:before{
	content: "＊";
	color: #969088;
	font-weight: bold;
    margin-left: -1em;
    padding-left: 0em;
}
 
.list-lesson ul li:before,
.list-lesson-noborder ul li:before,
.dl-lesson dd:before {
    content:  "";
    width:  10px;
    height:  10px;
    display:  inline-block;
    background-color: #969088;
    border-radius:  50%;
    position:  relative;
    top: -1px;
    margin-right: 5px;
}


.lesson-pear{
	margin-bottom: 2em;
}

.lesson-pear:nth-child(odd) div:first-child,
.lesson-pear:nth-child(odd) div:last-of-type{
	background: #e8d1b2
}

.lesson-pear:last-of-type{
	margin-bottom: 0;
}

.lesson-pear div:first-child,
.lesson-pear div:nth-child(3){
	width: 40%;
	padding: 1em;
}

.lesson-pear div:first-child{
	background: #f1eae1;
}

.lesson-pear div:nth-child(3){
	background: #f1eae1;
}

.lesson-pear div.pear {
    font-size: 2em;
    color: #969088;
    width: 3%;
}

.dl-lesson{
	margin-bottom: 2em;
}

.dl-lesson dt,
.dl-lesson dd{
	float: none;
}

.dl-lesson dt{
    color: #fff;
    background: #967345;
    padding: 0.3em 0.5em;
    line-height: 1;
    margin-bottom: 0.5em;
}

.dl-lesson dd{
	margin-left: 0;
}

.f-2bl div{
	min-width: 48%;
	margin-right: 1%;
}

.f-3bl div{
	min-width: 30%;
	margin-right: 1%;
}

.f-4bl div{
	min-width: 23%;
	margin-right: 1%;
}

.f-2bl div:last-of-type,
.f-3bl div:last-of-type,
.f-4bl div:last-of-type{
	margin-right: 0;
}

.border-none{
	border: 0;
}

.bgA{
	background: #f1eae1;
}


@media screen and (max-width:480px){
  /*画面幅が480pxまでの時*/
  .list-lesson-flex{
	  display: flex;
	  flex-direction: column;
  }

	.lesson-pear div:first-child,
	.lesson-pear div:nth-child(3){
		width: 90%;
	}
	.lesson-pear div.pear{
		width: 90%;
		text-align: center;
	}
	
	p span{
		display: inline;
	}

	
}






.postid-7576 strong .wp_keywordlink a,
.postid-7576 strong .wp_keywordlink_affiliate a{
    font-weight: bold;
}





/* -----------------------------------------
　　扉ページ
----------------------------------------- */

/* -----------------------------------------
   1. Layout
----------------------------------------- */
.lesson-parent-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 80px;
    color: #333;
}

.lesson-page-header {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
    background-color: #fafafa;
    background-image: url('https://images.unsplash.com/photo-1596040033229-a9821ebd058d?q=80&w=1200&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lesson-page-header__after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2); 
}

.lesson-page-header__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #333;
}

.lesson-page-header__title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 0;
    background: #fff;
    line-height: 1;
    padding: 0 0.5rem;
}

.lesson-page-header__subtitle {
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    margin-top: 10px;
    color: #666;
    background: #fff;
    display: inline-block;
    line-height: 1;
    padding: 0.2rem 0.3rem 0;
}

/* 3. Introduction */
.lesson-intro {
    margin-bottom: 60px;
    line-height: 2;
    text-align: center;
    font-size: 0.95rem;
    color: #555;
    padding: 0 20px;
}

.lesson-intro p{
    font-family: serif;
    font-size: large;
    line-height: 3rem;
    background: #eeeded;
}

@media screen and (max-width:480px){
    .lesson-intro { padding: 0 5px; }
}

/* 4. Section Styling (SEASON Divider) */
.lesson-season-divider {
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333; /* ここを調整：細いライン */
    align-items: baseline;
    gap: 15px;
}

.lesson-season-title {
    font-size: 24px;
    font-weight: 300; /* 細字で清潔感を出す */
    letter-spacing: 0.2em;
    color: #333;
    margin: 0;
    line-height: 1;
    padding: 0.5em 0 0.3rem;
    background: none;
}

.lesson-term-description {
    color: #969088;
    letter-spacing: 0.05em;
    font-weight: 400;
    line-height: 1;
}

.lesson-term-description p {
    font-size: large;
    margin: 0 !important;
    display: inline;
    color: #92816b;
}

/* 5. Featured Card */
.featured-card {
    display: flex;
    text-decoration: none !important;
    color: inherit;
    background: #fff;
    transition: background-color 0.4s ease;
    border: none;
    margin-bottom: 30px; 
}

.featured-card:hover {
    background-color: #fafafa;
}

.featured-card__visual {
    flex: 0 0 45%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
}

.featured-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card:hover .featured-card__visual img {
    transform: scale(1.05);
}

.featured-card__content {
    flex: 1;
    padding: 0 0 0 40px;
    display: flex;
    flex-direction: column;
}

.featured-card__tag {
    font-size: 0.75rem;
    color: #969088;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.featured-card__title {
    font-size: 1.5rem;
    margin: 0 0 15px;
    line-height: 1.4;
    font-weight: bold;
}

.featured-card__title span {
    display: block;
    letter-spacing: 0.05em;
    font-weight: normal;
    display: block;
    color: #969088;
    letter-spacing: 0em;
    font-size: 0.8em;
    background: none;
    padding-bottom: 0;
    border-bottom: none;
    font-family: Copperplate, Copperplate Gothic Light, fantasy !important;
}

.featured-card__text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card__more {
    margin-top: auto;
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: bold;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
}

.text-disabled {
    color: #969088;
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding: 20px 0;
}

/* 6. Button Design */
.lesson-btn-wrapper {
    text-align: right; /* 右寄せ */
    margin-bottom: 80px;
}

.lesson-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #eee;
    color: #666;
    text-decoration: none !important;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.lesson-btn:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* 7. Author Profile (include側が崩れないように) */
.author-profile { margin-top: 60px; }

/* Responsive */
@media (max-width: 768px) {
    .lesson-season-divider { flex-direction: column; gap: 8px; }
    .featured-card { flex-direction: column; }
    .featured-card__visual { width: 100%; margin-bottom: 20px; }
    .featured-card__content { padding: 0; }
}







/* リンクチップ */
.vox-link-chip {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #bb5808;
    color: #bb5808 !important;
    padding: 2px 14px;
    margin: 4px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.2s ease;
    vertical-align: middle;
    line-height: 1.4;
}
.vox-link-chip:hover {
    background: #bb5808;
    color: #fff !important;
}
.vox-link-chip::after {
    content: "→";
    margin-left: 4px;
    font-size: 0.9em;
}

/* ブログカード */
.vox-blog-card {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin: 2em 0;
    text-decoration: none !important;
    color: inherit !important;
    overflow: hidden;
    transition: all 0.2s;
}
.vox-blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.vox-blog-thumb {
    width: 180px;
    background: #f9f7f2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vox-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
}
.vox-blog-content {
    padding: 18px 20px;
    flex: 1;
}
.vox-blog-label {
    display: block;
    font-size: 0.75em;
    color: #bb5808;
    font-weight: bold;
    margin-bottom: 5px;
}
.vox-blog-title {
    font-weight: bold;
    font-size: 1em;
    line-height: 1.4;
}

/* グレーのグループボックス */
.vox-lesson-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 25px;
    padding: 18px;
    background: #f2f2f2;
    border-left: 4px solid #aaa;
}
.vox-lesson-group-title {
    display: block;
    width: 100%;
    font-size: 0.85em;
    color: #555;
    margin-bottom: 8px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .vox-blog-card { flex-direction: column; }
    .vox-blog-thumb { width: 100%; height: 140px; }
}






/* --- 1. レッスンカテゴリー限定スタイル (.lesson-temp) --- */
.lesson-temp {
    /* 変数定義をクラス内に移動 */
    --vox-primary-spice: #bb5808; /* スパイスカラー */
    --vox-marker-spice: #f9e2d2;  /* マーカー用 */
    --vox-gray-base: #aaa;        /* 関連エリアのベースグレー */
    --vox-gray-light: #f2f2f2;    /* 関連エリア背景・見出し背景用 */
    --vox-beige: #fdfbf7;
    --vox-medium-gray: #999999;
    --vox-title-gray: #66625c;
    
    line-height: 2.0; /* 行間を維持 */
}

.lesson-temp p {
    margin-bottom: 2.2em; /* 段落余白を維持 */
}

/* --- WordPress自動整形（wpautop）による空段落・空行対策 --- */
/* 中身が空のpタグを非表示にする */
.lesson-temp p:empty {
    display: none !important;
}
/* 改行(br)しか入っていない段落の余白を殺す（モダンブラウザ対応） */
.lesson-temp p:has(> br:only-child) {
    margin: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
}
/* ショートコード前後のbrタグ単体も、意図しない場合は非表示に */
.lesson-temp .vox-blog-card + br {
    display: none !important;
}


/* 画像の基本スタイル */
.lesson-temp img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 3em auto;
    border-radius: 2px;
}

.lesson-temp .vox-marker {
    background: linear-gradient(transparent 60%, var(--vox-marker-spice) 60%);
    font-weight: bold;
    padding: 2px 4px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* --- カード並列配置用のコンテナ --- */
.lesson-temp .vox-card-flex {
    display: flex;
    gap: 20px;
    margin: 3em 0;
}

.lesson-temp .vox-card-flex .vox-summary-card {
    flex: 1;
    margin: 0; /* コンテナ内では外側のマージンをリセット */
}

/* まとめ・レシピカード用 */
/* --- カード並列配置用のコンテナ --- */
.lesson-temp .vox-card-flex {
    display: flex;
    flex-wrap: wrap; /* 折り返しを有効にする */
    align-items: stretch; /* 高さを揃える */
    gap: 20px;
    margin: 3em 0;
}

.lesson-temp .vox-card-flex .vox-summary-card {
    flex: 0 0 calc(50% - 10px); /* 横並び最大2つにするため、幅を50%からgapの半分を引いた値に設定 */
    margin: 0; /* コンテナ内では外側のマージンをリセット */
    display: flex;
    flex-direction: column;
}

/* 4列配置用のモディファイア（PC表示で横一列に並べ、高さを揃える） */
@media (min-width: 601px) {
    .lesson-temp .vox-card-flex.vox-col-4 {
        flex-wrap: nowrap; /* 1行にまとめる */
    }
    .lesson-temp .vox-card-flex.vox-col-4 .vox-summary-card {
        flex: 1 1 0; /* 4等分に均等割 */
        padding: 20px 15px; /* 4列用に余白を少し調整 */
    }
    .lesson-temp .vox-card-flex.vox-col-4 .vox-summary-card h5 {
        font-size: 1em;
    }
}

/* まとめ・レシピカード用 */
.lesson-temp .vox-summary-card {
    background-color: var(--vox-beige);
    padding: 30px;
    margin: 3em 0;
    border-radius: 8px;
    border: 1px solid #f2e9e1;
    height: 100%; /* 高さを揃えるため */
    box-sizing: border-box;
}

.lesson-temp .vox-summary-card h5 {
    font-size: 1.1em;
    margin: 0 0 1em;
    color: var(--vox-primary-spice);
    border-bottom: 1px solid var(--vox-primary-spice);
    display: inline-block;
    padding-bottom: 2px;
}

.lesson-temp .vox-summary-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.lesson-temp .vox-summary-card li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.6;
}

.lesson-temp .vox-summary-card li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--vox-primary-spice);
    font-weight: bold;
}

.lesson-temp .vox-summary-card li span.wp_keywordlink a {
    font-weight: bold !important;
}

/* ブログカード形式（配置崩れ対策済み） */
.lesson-temp .vox-blog-card {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin: 3em 0;
    text-decoration: none !important;
    color: inherit !important;
    overflow: hidden;
    transition: all 0.2s;
    clear: both;
}

.lesson-temp .vox-blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.lesson-temp .vox-blog-thumb {
    width: 180px;
    min-width: 180px;
    background: #f9f7f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lesson-temp .vox-blog-thumb img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lesson-temp .vox-blog-content {
    padding: 18px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lesson-temp .vox-blog-label {
    display: block;
    font-size: 0.75em;
    color: var(--vox-primary-spice);
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.2;
}

.lesson-temp .vox-blog-title {
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.4;
    color: #333;
}

/* 手順リスト（OL）の装飾 */
.lesson-temp ol.ol-list {
    counter-reset: recipe-step;
    list-style: none;
    padding: 0;
    margin: 2em 0;
}

.lesson-temp ol.ol-list li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 1rem;
    min-height: 2.5em;
    margin-left: 1em;
}

.lesson-temp ol.ol-list li::before {
    counter-increment: recipe-step;
    content: counter(recipe-step);
    position: absolute;
    left: 0.5em;
    top: 0.2em;
    width: 2em;
    height: 2em;
    background-color: var(--vox-primary-spice);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

/* 配合・対比用ボックス */
.lesson-temp .vox-comparison {
    display: flex;
    gap: 20px;
    margin: 3.5em 0;
    align-items: stretch; /* 高さを揃える */
}

.lesson-temp .vox-compare-item {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    padding: 25px 20px 20px;
    border-radius: 8px;
    position: relative;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.03); */
}

.lesson-temp .vox-compare-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #999;
    color: white;
    padding: 2px 12px;
    font-size: 0.75em;
    font-weight: bold;
    border-radius: 20px;
}

.lesson-temp .vox-compare-item.highlight .vox-compare-label {
    background: var(--vox-primary-spice);
}

.lesson-temp .vox-compare-label + p {
    margin: 0;
}

/* 勝手に入る<br>を非表示にする */
.lesson-temp .vox-compare-item br {
    display: none !important;
}

/* 勝手に入る<p>の余白を一旦すべて消す */
.lesson-temp .vox-compare-item > p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.lesson-temp .vox-compare-item strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333;
}

/* ポイント解説ボックス（補足やコツに） */
.lesson-temp .vox-point-box {
    background-color: #f9f7f2;
    border-left: 4px solid var(--vox-primary-spice);
    padding: 1.5em;
    margin: 2em 0;
    border-radius: 0 8px 8px 0;
}

.lesson-temp .vox-point-box::before {
    content: "SPICE POINT";
    display: block;
    font-size: 0.8em;
    font-weight: bold;
    color: var(--vox-primary-spice);
    margin-bottom: 0.5em;
    letter-spacing: 0.1em;
}


/* --- ペアリング表示用 --- */
.lesson-temp .vox-pairing-row {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.lesson-temp .vox-pairing-left,
.lesson-temp .vox-pairing-right {
    flex: 1;
}

.lesson-temp .vox-pairing-left ul,
.lesson-temp .vox-pairing-right ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.lesson-temp .vox-pairing-left li,
.lesson-temp .vox-pairing-right li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
}

.lesson-temp .vox-pairing-left li::before,
.lesson-temp .vox-pairing-right li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--vox-primary-spice);
}

.lesson-temp .vox-pairing-cross {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--vox-primary-spice);
    margin: 0 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vox-beige);
    border-radius: 50%;
    flex-shrink: 0;
}



/* 中見出し装飾用（配合例タイトルなど） */
.lesson-temp h4.sub-heading {
    font-size: 1.1em;
    color: var(--vox-primary-spice);
    border-bottom: 1px solid var(--vox-primary-spice);
    margin: 3.5em 0 1.5em;
    padding-bottom: 0.5em;
}

/* --- 本文中の箇条書きリスト --- */
.lesson-temp ul.vox-default-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2.2em;
}

.lesson-temp ul.vox-default-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 1em;
    line-height: 1.8;
}

.lesson-temp ul.vox-default-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--vox-primary-spice);
    font-weight: bold;
}



@media (max-width: 600px) {
    .lesson-temp { padding-left: 10px; padding-right: 10px; }
    .lesson-temp .vox-blog-card { flex-direction: column; }
    .lesson-temp .vox-comparison { flex-direction: column; }
    .lesson-temp .vox-blog-thumb { width: 100%; height: 140px; }
    .lesson-temp .vox-card-flex { flex-direction: column; }
    .lesson-temp .vox-pairing-row { flex-direction: column; align-items: stretch; }
}



.title-block{
	position: relative;
}

.lesson-temp a.lesson-cat-badge,
.title-block .cat-tag-block span.lesson-cat-badge {
    display: inline-block;
    padding: 1px 5px;
    background: #969088;
    color: #fff;
    /* border-radius: 20px; */
    font-size: 0.8em;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
.lesson-temp a.lesson-cat-badge:hover,.lesson-temp a.lesson-cat-badge:focus{
	background: #aeaeae;
}

.title-block .cat-tag-block{
	position: absolute;
	right: 0;
	top: -10px;
}

.title-block .cat-tag-block span.lesson-cat-badge{
    margin: 0;
    line-height: 1;
    padding: 3px 5px 2px;
    font-size: 0.7rem;
}


@media screen and (max-width:480px){
  /*画面幅が480pxまでの時*/
  	.lesson-card__title{
	  	line-height: 1.8rem;
  	}
	.title-block .cat-tag-block{
		position: absolute;
		right: 0;
		top: -10px;
	}
	
}






/* -----------------------------------------
   1. Overall Layout & Typography
----------------------------------------- */
.lesson-archive-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 0px;
    color: #333;
    background-color: #fff;
    /* はみ出しを確実に防ぐ */
    overflow: hidden;
}

/* 2. Hero Section (Title Area) */
.archive-hero {
    margin-bottom: 60px;
    text-align: center;
}

.archive-hero span{
	display: block;
    color: #969088;
}

.archive-hero span span {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: bold;
}

.archive-hero__label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #969088;
    margin-bottom: 10px;
}

.archive-hero__title {
    font-size: 2.2rem;
/*     font-weight: 300; */
    margin: 0;
    letter-spacing: 0.05em;
    /* 長いタイトル対策 */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.archive-hero__description{
	margin: 1rem 0 0;
}

.archive-hero__description p {
    text-align: center;
}


/* 3. Series Navigation */
.series-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.series-nav__link {
    text-decoration: none;
    font-size: 0.8rem;
    color: #999;
    transition: color 0.3s;
}

.series-nav__link:hover,
.series-nav__link.is-active {
    color: #333;
    font-weight: bold;
}

/* 4. Lesson List (New Layout) */
.lesson-list {
    display: flex;
    flex-direction: column;
    gap: 50px; /* 記事間の余白を調整 */
}

.lesson-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit;
    transition: background-color 0.4s ease;
    padding: 20px;
    /* はみ出しの原因だったネガティブマージンを削除 */
    margin: 0; 
    box-sizing: border-box;
}

.lesson-card:hover {
    background-color: #fafafa;
}

/* 上部：タイトル */
.lesson-card__title {
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.4;
    width: 100%;
    /* 意図しないはみ出しを防ぐ */
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0;
    background: none;
    color: #625a50;
}

/* 下部：画像と情報のコンテナ */
.lesson-card__body {
    display: flex;
    gap: 30px;
}

/* --- アーカイブページ（series01等）のカード画像にズームエフェクトを適用 --- */

/* 1. 画像の親要素：はみ出した部分を隠す設定 */
.lesson-card__visual {
    overflow: hidden; /* これがないと画像が枠からはみ出します */
    position: relative;
    /* アーカイブ側の既存スタイルを維持しつつ上書き */
    flex: 0 0 35%;
    min-width: 160px;
    aspect-ratio: 4 / 3;
}

/* 2. 画像本体：アニメーションの速度と動き（0.6秒かけて滑らかに） */
.lesson-card__visual img {
    transition: transform 0.6s ease;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3. ホバー時：1.05倍に拡大 */
.lesson-card:hover .lesson-card__visual img {
    transform: scale(1.05);
}

/* 補足：
   demoo.php 側の「最新記事（featured-card）」についても、
   この transition 設定を合わせることでサイト全体の挙動が統一されます。
*/
.featured-card__visual {
    overflow: hidden;
}
.featured-card__visual img {
    transition: transform 0.6s ease;
}
.featured-card:hover .featured-card__visual img {
    transform: scale(1.05);
}

/* 情報エリア */
.lesson-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lesson-card__excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

h2 span:first-child, .hB span:first-child {
    /* content: "Spice Column"; */
    font-family: Copperplate, Copperplate Gothic Light, fantasy !important;
}

.lesson-card__footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.lesson-card__date {
    font-size: 0.75rem;
    color: #aaa;
    letter-spacing: 0.05em;
}

.lesson-card__more {
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .archive-hero__title { font-size: 1.6rem; }
    .lesson-card { padding: 15px 0; } /* スマホ時は横パディングを詰める */
    .lesson-card__title { font-size: 1.2rem; }
    .lesson-card__body { flex-direction: column; gap: 20px; }
    .lesson-card__visual { flex: none; width: 100%; order: 2; }
    .lesson-card__content { padding: 0; order: 1; }
}





.box-news-inner ul li:nth-of-type(10n){
	margin-bottom: 1em;
}


/* 2. Related Posts Section (自動表示エリア) */
.related-lessons {
    margin: 0 0 80px;
    padding-top: 60px;
    border-top: 1px solid #f2f2f2;
}

.related-lessons__title {
    font-size: 1.9em;
    font-family: "CopperplateGothicW01-Bo1119449";
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.1em;
}


.related-lessons__title span{
	display: block;
	font-weight: normal;
}


.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列並び */
    gap: 30px;
}

.related-card {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s;
}

.related-card:hover {
    opacity: 0.7;
}

.related-card__visual {
    width: 100%;
    aspect-ratio: 4 / 3;
/*     background-color: #f8f8f8; */
    margin-bottom: 5px;
    overflow: hidden;
    position: relative;
}

.related-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 画像がない場合の塗りつぶし */
.related-card__visual .no-image-filler {
    width: 100%;
    height: 100%;
    background-color: #f2f2f2;
}

.related-card__title {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: bold;
    margin: 0;
    /* 2行で省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card span {
    font-size: x-small;
    color: #969088;
}


/* 一覧へ戻るボタン */
.related-lessons__btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.related-lessons__btn {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none !important;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.related-lessons__btn:hover {
    background-color: #333;
    color: #fff;
}




*{
	font-size: unset;
}

h2 span, .hB span {
    background: none;
}

h2 span:first-child, .hB span:first-child{
	display: block;
    color: #969088;
    letter-spacing: 0em;
    font-size: 0.8em;
    background: none;
    padding-bottom: 0;
    border-bottom: none;
    font-family: Copperplate, Copperplate Gothic Light, fantasy !important;
}

h2, .hB{
    padding: 0;
    background: none;
    color: #625a50;
}

.lesson-temp .date {
    text-align: right;
    font-size: 0.75rem;
    color: #aaa;
    letter-spacing: 0.05em;
    margin: 0.5rem 0 2rem;
}


@media screen and (max-width:480px){
  /*画面幅が480pxまでの時*/
	.related-grid{
		grid-template-columns: repeat(2, 1fr);
	}
}





/* =========================================
   汎用クラス
========================================= */

/* まとめカード（グレー背景バリエーション） */
.lesson-temp .vox-summary-card.bg-gray {
    background-color: var(--vox-gray-light);
    border: none;
}

/* リストのサイズダウン */
.lesson-temp ul.vox-default-list.small {
    font-size: 0.9em;
}

/* 引用テキスト */
.lesson-temp .vox-quote-text {
    font-family: Georgia, serif;
    font-size: 1.2em;
    color: var(--vox-primary-spice);
    font-style: italic;
    text-align: center;
}

/* 補足注釈テキスト */
.lesson-temp .vox-note {
    display: block;
    color: var(--vox-primary-spice);
    font-size: 0.9em;
    line-height: 1.6;
    margin-top: 0.2em;
}

/* 記事末尾のエピローグテキスト */
.lesson-temp .vox-epilogue {
    text-align: center;
    margin-top: 4em;
}

/* ポイントボックスなどの小見出し用（オレンジ色でブロック化） */
.lesson-temp .vox-point-title {
    display: block;
    color: var(--vox-primary-spice);
}

/* 余白調整用ユーティリティ */
.lesson-temp .mb-1 {
    margin-bottom: 1em !important;
}

.lesson-temp .mt-1 {
    margin-top: 1em !important;
}

/* ボックス内の最後の要素の余白を自動で消す（これを入れておくと綺麗に揃います） */
.lesson-temp .vox-compare-item > *:last-child,
.lesson-temp .vox-summary-card > *:last-child,
.lesson-temp .vox-point-box > *:last-child {
    margin-bottom: 0 !important;
}

/* --- 商品リンク一覧用 --- */
.lesson-temp .vox-product-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 2em 0 4em;
    justify-content: center;
}

/* WordPressが出力する .wp-caption に対する装飾 */
.lesson-temp .vox-product-links .wp-caption {
    flex: 1 1 200px;
    max-width: 250px;
    margin: 0 !important;
    text-align: left;
}

.lesson-temp .vox-product-links .wp-caption img {
    margin: 0 0 10px 0;
    border-radius: 4px;
    border: 1px solid #eee;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.lesson-temp .vox-product-links .wp-caption a {
    display: block;
    text-decoration: none;
    overflow: hidden; /* 拡大時はみ出し防止 */
    border-radius: 4px;
}

.lesson-temp .vox-product-links .wp-caption a:hover img {
    transform: scale(1.05);
}

.lesson-temp .vox-product-links .wp-caption-text {
    font-size: 0.8em;
    line-height: 1.5;
    color: #555;
    padding: 0 5px;
}

/* 商品タイトル部分での WP Keyword Link ブロック化（改行）防止 */
.lesson-temp .vox-product-links .wp_keywordlink,
.lesson-temp .vox-product-links .wp_keywordlink_affiliate,
.lesson-temp .vox-product-links .wp_keywordlink a,
.lesson-temp .vox-product-links .wp_keywordlink_affiliate a {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    cursor: text !important;
    text-decoration: none !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}


/* 関連商品エリア（ボックス内）の装飾 */
.lesson-temp .vox-related-header {
    text-align: left;
    margin-top: 2.5em;
    border-top: 1px dashed #e0d8c8;
    padding-top: 1.5em;
}

.lesson-temp .vox-related-title {
    font-size: 0.85em;
    color: var(--vox-primary-spice);
    font-weight: bold;
    letter-spacing: 0.05em;
}

.lesson-temp .vox-product-links.in-box {
    margin-top: 1em;
    margin-bottom: 0;
}


/* --- 商品ボタン（CSSで「商品を見る」を表示） --- */
.lesson-temp .vox-product-btn {
    display: inline-block;
    padding: 0px 7px;
    margin: 0 2px;
    background-color: var(--vox-primary-spice) !important;
    color: #fff !important;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 20px;
    text-decoration: none !important;
    line-height: 1.6;
    transition: all 0.2s;
    vertical-align: middle;
}

.lesson-temp .vox-product-btn:hover {
    background-color: #9a4806 !important;
/*     transform: translateY(-1px); */
}

/* ★ここがポイント：CSSでテキストを追加 */
.lesson-temp .vox-product-btn::after {
    content: "\f07a";
    font-family: 'FontAwesome';
/*     font-size: 0.8em; */
    font-weight: normal;
    opacity: 0.9;
    margin-left: 5px;
}

/* --- WP Keyword Link 無効化設定 --- */
/* レッスン記事内の自動リンク機能を完全に消し、普通のテキストと同化させる */
.lesson-temp .wp_keywordlink a,
.lesson-temp .wp_keywordlink_affiliate a {
    pointer-events: none !important;      /* クリックを無効化 */
    cursor: text !important;              /* マウスを乗せても指マークにしない */
    text-decoration: none !important;     /* 下線を消す */
    color: inherit !important;            /* 親の文字色を引き継ぐ */
    font-size: inherit !important;        /* 親の文字サイズを引き継ぐ */
    font-weight: inherit !important;      /* 親の文字の太さを引き継ぐ */
}


/* スラッシュ区切りのインラインリスト */
.lesson-temp ul.vox-inline-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1em 0 !important;
    display: block;
}

.lesson-temp ul.vox-inline-list li {
    display: inline;
    padding: 0;
    margin: 0;
    font-weight: normal;
    line-height: inherit;
}

.lesson-temp ul.vox-inline-list li::before {
    content: none;
}

.lesson-temp ul.vox-inline-list li:not(:last-child)::after {
    content: " / ";
    color: inherit;
}