@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/



	.rsSp{
		display:none;
		}


html {
    scroll-behavior: smooth;
}

/*******
リセット
********/

/* 見出しリセット */
/* 見出し2 */
.article h2{
background:none;
padding: 0;
}

/* 見出し3 */
.article h3{
border-top:none;
border-bottom:none;
border-left:none;
border-right:none;
padding: 0;
}

/* 見出し4 */
.article h4{
border-top:none;
border-bottom:none;
padding: 0;
}

/* 見出し5 */
.article h5{
border-bottom:none;
padding: 0;
}

/* 見出し6 */
.article h6{
border-bottom:none;
padding: 0;
}


.pagination-next{
	display:none;
}

/************************
*
* コラム記事
*
*************************/

.eye-catch-wrap .cat-label{
	left:auto;
	right:0.3em;	
}


/* 見出し1 */
.article h1{
  border-bottom: solid 3px #D9F2EF;
  position: relative;
}
.article h1:before {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #81D8CF;
  bottom: -0.15em;
  width: 20%;
}


.article h1:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #497C77;
  bottom: -0.15em;
  width: 3%;
}



/* 見出し2 */
.article h2{
position: relative;
  background: #d8f2f0;
  padding: 0.3em 0.5em 0.3em 1em;
  font-size: 1.3em;
  border-radius: 0 10px 10px 0;
}

.article h2:before {
  font-family: "Font Awesome 5 Free";
  content: "\f2e7";
  display: inline-block;
  line-height: 40px;
  position: absolute;
  padding: 0em;
  color: white;
  background: #81D8CF;
  font-weight: 900;
  width: 40px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  left: -1.35em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: solid 3px white; 
  border-radius: 50%;
}

/* 見出し3 */
.article h3{
 position: relative;
  line-height: 1.4;
  padding:0.25em 1em;
  display: inline-block;
  top:0;
	font-size:1.15em;
}

.article h3:before, .article h3:after { 
  position: absolute;
  top: 0;
  content:'';
  width: 8px;
  height: 100%;
  display: inline-block;
}


.article h3:before {
  border-left: solid 1.5px #81D8CF;
  border-top: solid 1.5px #81D8CF;
  border-bottom: solid 1.5px #81D8CF;
  left: 0;
}


.article h3:after {
  content: '';
  border-top: solid 1.5px #81D8CF;
  border-right: solid 1.5px #81D8CF;
  border-bottom: solid 1.5px #81D8CF;
  right: 0;
}

/* 見出し4 */
.article h4{
	padding-left:0.5em;
	 font-size: 1.1em;
border-left: solid 7px #81D8CF;
}

/* 見出し5 */
.article h5:before {
  content: '●';
  color: #81D8CF;
  margin-right: 0.5em;
font-size: 1em;
}

/************************************
** サイドバー
************************************/
.sidebar h3{
    padding:0.2em 1em;
	 font-size: 1.1em;
	color:#707070;
border-left: solid 7px #81D8CF;
	background:transparent;
}

.widget_categories li{
	padding-left:0.5em;
	font-size: 0.8em;
	line-height:1;
	position: relative;
	margin-left:15px;
}


.widget_categories li:before {
  font-family: "Font Awesome 5 Free";
  content: "\f2e5";
  display: inline-block;
  position: absolute;
  padding: 0em;
  color: #707070;
  font-weight: 900;
  width: 20px;
  text-align: center;
  height: 10px;
  line-height: 10px;
  left: -1.35em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: solid 3px white; 
  border-radius: 50%;
}

.mailMagazine-side p{
	font-size:0.8em;
	text-align:center;
	font-weight:bold;
	color:#707070;
}

.mailMagazine-side h2{
	display:none;
}

.mailMagazine-side .input_unit{
	display:flex;
	justify-content:center;
	padding:0.3em;
}

.mailMagazine-side .my_column{
	padding-right:1em;
}

.mailMagazine-side .my_column input{
	padding-right:2em;
	font-size:0.8em;
	padding-top:0.5em;
	padding-bottom:0.5em;
	background-color:#fff!important;
}

.mailMagazine-side .form_input_submit{
	text-align:center;
}

.mailMagazine-side input[type=submit] {
	margin-top:0.8em;
    background-color:#fff!important;
    border: 2px solid #707070;
    background-color: #f5f8fa;
    color: #707070;
	border-radius:2px;
	width:50%;
	font-size:0.8em;
	padding-top:0.5em;
	padding-bottom:0.5em;
	transition: all 0.3s ease;
}


.mailMagazine-side input[type=submit]:hover {
	
    background-color:#81D8CF!important;
    border: 2px solid #497C77;
    background-color: #f5f8fa;
    color: #fff;
	border-radius:10px;
	font-weight:bold;
	
}

/************************************
** アーカイブページ
************************************/

.e-card-thumb .cat-label{
	font-size:0.5em;
	left:auto;
	top:0;
	right:0;
}

.e-card-content h2{
	font-size:0.8em;
	border-bottom: solid 3px #D9F2EF;
  position: relative;
	padding-bottom:0.5em;
	margin-bottom:0.5em;
}

.e-card-content h2:before {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #81D8CF;
  bottom: -0.18em;
  width: 20%;
}

.e-card-content h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #497C77;
  bottom: -0.18em;
  width: 3%;
}


.e-card-content div{
	font-size:0.8rem;
	line-height:1.7;
}

.entry-card-wrap:hover{
	background-color:#d8f2f04d;
}

/************************************
** 固定ページ
************************************/

.page-title {
	position:static;
    height: 300px;
    background-image: url('./img/pagetopcover.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
	text-align:center;
	display: flex;
	flex-direction:column;
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 水平方向の中央揃え */
}

.page-title h1{
		font-family:"Tienne";
	font-size:2.5em;
	margin-bottom:0px;
}

.page-title p{
		font-weight:bold;
}

.page .article-header{
	display:none;
}

.page .main{
	max-width:800px;
	margin:0 auto!important;
}


/************************************
** お問い合わせフォーム
************************************/

.contact_form{
	max-width:700px;
	margin:0 auto;
	
}

.contact_form .required{
	background-color:#fff!important;
}

.contact_form .input_unit{
	display:flex;
	gap:10px;
	width:95%;
	padding-left:30px;
	margin-bottom:10px;
}
.contact_form .my_left{
	margin-right:1%;
}

.contact_form .my_right{
	width:80%;
}

.contact_form .name_form{
	display:flex;
	gap:2%;
}

.contact_form .name_left,.contact_form .name_right{
	width:49%;
}

.contact_form .form_input_submit{
	text-align:center;
}

.contact_form input[type=submit] {
	margin-top:0.8em;
    background-color:#fff!important;
    border: 2px solid #707070;
    background-color: #f5f8fa;
    color: #707070;
	border-radius:2px;
	width:50%;
	font-size:0.8em;
	padding-top:0.5em;
	padding-bottom:0.5em;
	transition: all 0.3s ease;
}


.contact_form input[type=submit]:hover {
	
    background-color:#81D8CF!important;
    border: 2px solid #497C77;
    background-color: #f5f8fa;
    color: #fff;
	border-radius:10px;
	font-weight:bold;
	
}

/************************************
** フッター
************************************/

.footer{
	background-color:#594B3F;
}

.footer-widgets{
	max-width:900px;
}

.footer a{
	color:#fff!important;	
	font-size:1rem;
	line-height:1;
}
.footer a:hover{
	color:#858585!important;
	background-color:transparent!important;
}

.copyright{
	color:#fff;
}


/************************************
** ヘッダー
************************************/

.main-scroll {
  position: -webkit-fixed;
  position: fixed;
  top: 20%;
  right:10%;
	z-index:999;
}


.main-scroll a{
	background:#fff;
	border-radius:50%;
	color:#81D8CF!important;
	padding:3px 0px!important;
	margin:10px;
}

.main-scroll li{
	background:#fff;
	border-radius:50%;
	padding:0px;
	margin:10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header-container-in.hlt-top-menu .logo-header img {
  max-height: 45px;
}


.navi-in{
	max-width:600px;
}

.navi-in > ul li {
    width: 120px;
}

.navi-in > ul li i{
    padding-right:0.3em;
}

.sub-caption{
	font-size:0.6em;
	color:#555!important;
}


.sub-menu {
 background-color:#D8f2f0!important;
}


.navi-in > ul .sub-menu li {
    position: relative;
    overflow: hidden;
    height: 50px;
}

.navi-in > ul .sub-menu a {
    font-size: 0.7em;
    position: relative;
}

.navi-in > ul .sub-menu a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #497C77;
    transition: left 0.5s ease, width 0.5s ease;
}

.navi-in > ul .sub-menu a:hover::before {
    left: 0;
    width: 100%;
}

.navi-in > ul .sub-menu a:hover {
    height: 50px;
    background-color: #D8f2f0!important;
}

.navi-in > ul .sub-menu i {
    padding:0 0.4em;
}

.navi-in > ul .sub-menu .fa-external-link-alt {
    padding:0 0.3em;
	font-size:0.8em;
	opacity:0.6;
}


/************************************
** 汎用的デザイン
************************************/

/*画像の影*/
.img-shadow{
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

/*タイムラインの枠線消し*/
.timeline-box {
	border:none;
}

/*div内のテキストを中央にする。*/
.boxcenter{
		text-align:center;
}
/*チェック赤ボックス*/
.check-box-red{
	font-weight:bold;
	border:2px solid #D88E81;
	padding:0.8em 2em;
	position:relative;
	margin-top:50px;
	margin-bottom:50px;
}
.check-box-red:before{
	position: absolute;
  font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
  font-weight: 900;
  content: '\f00c 　Check';
  background: #D88E81;
  color: #fff;
  left: -2px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 6px 7px 5px;
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.05em
}


/*「見どころ」黄色いボックス*/
.point-box-yellow{
	font-weight:bold;
	border:2px solid #D8CE81;
	padding:0.8em 2em;
	position:relative;
	margin-top:50px;
	margin-bottom:50px;
}
.point-box-yellow:before{
	position: absolute;
  font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
  font-weight: 900;
  content: '\f0eb 　みどころ';
  background: #D8CE81;
  color: #fff;
  left: -2px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 6px 7px 5px;
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.05em
}

/*オススメグリーンボックス*/
.target-box-green{
	font-weight:bold;
	border:2px solid #81D8CF;
	padding:0.8em 2em;
	position:relative;
}
.target-box-green:before{
	position: absolute;
  font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
  font-weight: 900;
  content: '\f5ad 　こんな人におすすめ';
  background: #81D8CF;
  color: #fff;
  left: -2px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 6px 7px 5px;
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.05em
}

/*チェックリスト風リスト*/
.checkList li {
    position: relative;
    list-style-type: none!important;
    padding: 0.5em 0.5em 0.5em 0.5em;
    margin-bottom: 5px;
    line-height: 1.5;
}

.checkList li:before {
    position: absolute;
    display: inline;
    vertical-align: middle;
    font-family: "Font Awesome 5 Free", 'Quicksand', 'Avenir', 'Arial', sans-serif;
    font-weight: 900;
    content: '\f00c';
    width: 2em;
    height: 1em; /* 修正 */
    margin-right: 8px;
    left: -1em; /* 左にはみ出すように調整 */
    white-space: nowrap; /* 改行を防ぐ */
	color:#497C77;
}

/* 文字がはみ出さないように対応 */
.checkList li span {
    display: inline-block;
}

#book-campaign{
	background-color:#D88E81;
	 color:#fff;
}
#book-campaign:before{
	background-color:#D88E81;
	 color:#fff;
}

/* トップページボタン */

.topBtn a {
    text-decoration: none;
    color: #594B3F;
    border: 1px solid #594B3F;
    border-radius: 5px;
    font-size: 0.8em;
    padding: 0.7em 3em 0.7em 2.5em;
    position: relative;
	white-space: nowrap; /* 改行を防ぐ */
    transition: color 0.3s ease, background-color 0.3s ease; /* トランジションの追加 */
}

.topBtn a:before {
    position: absolute;
    display: inline;
    vertical-align: middle;
    font-family: "Font Awesome 5 Free", 'Quicksand', 'Avenir', 'Arial', sans-serif;
    font-weight: 900;
    content: '\f138';
    margin-right: 8px;
    top: 0.4em;
    right: 0.5em;
    color: #594B3F;
    transition: color 0.3s ease; /* トランジションの追加 */
}

.topBtn a:hover {
    color: #fff;
    background-color: #594B3F;
}

.topBtn a:hover:before {
    color: #fff; /* ホバー時の色に変更 */
	right:0.3em;
}




/************************************
** 下部メルマガフッター
************************************/
.content-bottom{
	background-color:#F2F2F2;
	padding:200px 0px 200px 0px;
	margin-bottom:0px!important;
}
.footer{
	margin-top:0px!important;
}

.mailmagazineWrap{
	display:flex;
}

.mailmagazineLeft{
	background-color:#D88E81;
	width:50%;
	padding:2em 3em;
	z-index:0;

}
.mailmagazineRight{
	width:50%;
	position:relative;
	
}


.mailmagazineWrap p{
	font-size:0.8em;
	text-align:left;
	font-weight:bold;
color:#FFF;
	max-width:450px;
	padding:0px 30px;
		margin:0 auto;
}

.mailmagazineWrap p:nth-last-of-type(1){
		margin-bottom:30px;
}

.mailmagazineWrap .input_unit{
	display:flex;
	justify-content:center;
	padding:0.3em;
	
}

.mailmagazineWrap .my_column{
	padding-right:1em;
	color:#fff;
}


.mailmagazineWrap .my_right{
	width:300px;
}

.mailmagazineWrap .my_column input{
	padding-right:2em;
	font-size:0.8em;
	padding-top:0.5em;
	padding-bottom:0.5em;
	background-color:#fff!important;
}

.mailmagazineWrap .form_input_submit{
	text-align:center;
}

.mailmagazineWrap input[type=submit] {
    margin-top: 0.8em;
    background-color: #fff !important;
    border: 2px solid #707070;
    background-color: #f5f8fa;
    color: #707070;
    border-radius: 2px;
    width: 200px;
    height: 40px; /* 要素の高さを追加 */
    margin-right: 50px;
    font-size: 0.8em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    transition: all 0.3s ease;
    
}



.mailmagazineWrap input[type=submit]:hover {
	
    background-color:#81D8CF!important;
    border: 2px solid #497C77;
    background-color: #f5f8fa;
    color: #fff;
	border-radius:5px;
	font-weight:bold;
	
}

.topMainh{
	font-size:2em!important;
	font-family:"Tienne";
}

.topSubh{
	font-size:0.8em!important;
	margin-top:-15px!important;
	margin-bottom:30px!important;
	
}

.mailmagazineImg1{
	position:absolute;
	width:85%;
	top:-20%;
	left:-5%;
	z-index:2;
}
.mailmagazineImg2{
	position:absolute;
	width:85%;
	bottom:-20%;
	left:0;
	z-index:1;
}


/************************************
** トップページ
************************************/
.front-top-page main{
	max-width:100%!important;
	padding:0px;
}

/*message*/
.messageBox{
	text-align:center;
	margin-bottom:80px!important;
}

.topMainH{
	font-size:2em!important;
	font-family:"Tienne";
	margin-bottom:0px!important;
	font-weight:bold;
}

.topSubH{
	font-size:0.8em!important;
	margin-top:-15px!important;
	margin-bottom:30px!important;
	font-weight:bold;
}

.topBoxText{
		font-size:0.7em!important;
}


.akogreen{
	color:#81D8CF!important;
}

/*About*/
.aboutBox{
	margin-bottom:120px!important;
}

.aboutLeft{
	background-color:#D9F2EF;
	padding:5% 0% 5% 10%;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}
.aboutRight{
	position:relative;
}

.aboutRight img{
	position:absolute;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
	top:10%;
	left:-20%;

}


/*Profile*/
.profileBox{
	background-color:#d88e813d;
	padding:5% 5% 5% 20%;
	 margin: 0 calc(50% - 50vw);
  width: 100vw;
	
}
.profileLeft{
	position:relative;
}

.profileLeft figure{
	width:120%;
	position:absolute;
	top:-30%;
	left:-40%;
}

.profileBox .topBtn{
	margin-top:0%;
	text-align:right;
	padding-right:30%;
}

/*book*/
.bookBoxWrap{
	 margin: 0 calc(50% - 50vw);
  width: 100vw;
		margin-top:-35px!important;
}

.bookBox{
	max-width:1000px;
	margin:0 auto;
	padding-top:5%;
	padding-bottom:5%;
color:#707070;
}

.bookBox .topMainH,.bookBox .topSubH{
	text-align:center;
}



.bookLeft{
	color:#707070;
}


.bookBox .topBtn{
	margin-top:10%;
}

/*lesson*/
.lessonBox{
	border:3px solid #3DA69A;
	max-width:1000px;
	margin:8% auto;
	padding:3% 1% 5% 1%;
	position:relative;
	text-align:center;
	
}

.lessonBox .topTag{
	position:absolute;
	top:0%;
	left:0%;
	background-color:#3DA69A;
	color:#fff;
	padding:0.5% 3%;
}

.lessonBox img{
	width:100%!important;
	
}


/*Voicy*/
.youtubeBox{
	text-align:center;
}

.youtubeBox hr{
	border-color: #63C7BB;
}

.voicyBoxWrap{
	 margin: 0 calc(50% - 50vw);
  width: 100vw;
		margin-top:10%;
			margin-bottom:10%;
}

.voicyBox{
	max-width:1000px;
	margin:0 auto;
	color:#707070;
	padding-left:2%;
	padding-right:2%;
}



.voicyRight img{
	width:60%!important;
}


/*column*/
.columnBox{
	text-align:center;
}

.columnBox hr{
	border-color: #63C7BB;
}

.columnBox .swiper-wrapper{
	display:flex!important;
	gap:10px;
}

.columnBox .e-card-title {
	padding:1em;
}
.columnBox .e-card-snippet{
	padding:1em;
	min-height:120px;
	margin-bottom:0px;
}

.columnBox .a-wrap{
	
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}






/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	
.topMainH{
	text-align:center;
}

.topSubH{
	text-align:center;
	padding-top:10px;
}


	
/*About*/
.aboutBox{
	margin-bottom:60px!important;
}

.aboutLeft{
	margin:25px!important;
	padding:25px;
}
.aboutRight{
	position:relative;
	padding:5px;
}

.aboutRight img{
	position:static;
}

/*Profile*/
.profileBox{
	background-color:#d88e813d;
	padding:25px;
	 margin: 0 calc(50% - 50vw);
  width: 100vw;
	
}
.profileLeft{
	position:relative;
}

.profileLeft figure{
	width:80%;
	position:static;
	margin:0 auto;

}

.profileBox .topBtn{
	margin-top:0%;
	text-align:right;
	padding-right:30%;
}

.main-scroll {
  display:none;
}
	
	/*book*/	
.bookBox .bookColumn{
	flex-direction:column-reverse;
}	
.bookBox .topBoxText{
	padding:15px;
}
	
.bookBox .topBtn{
	margin-top:0px;
}	

	.bookBox{
		padding-bottom:50px;
	}
	
	
/*service*/
	.serviceColumn{
		display:none!important;
	}
	
	
/*lesson*/

	.lessonBox{
	padding:10% 5% 10%;
	position:relative;
	text-align:center;
	
}


/*voicy*/
.voicyRight{
	margin:0 auto;
	text-align:center;
}

.voicyRight img{
	margin:0 auto;
	text-align:center;
}

/*message*/

.messageBox{
	margin-bottom:20px!important;
}


/*YouTube*/
	
.youtubeBox hr,.columnBox hr{
	width:60%;
}

.youtubeBox .topSubH,.columnBox .topSubH{
	margin-bottom:10px!important;
}	



/*Column*/
.columnBox .swiper-wrapper {
	flex-direction:column!important;
	padding:15px;
}	

.columnBox .e-card-title {
	padding:0em 3em;
}
.columnBox .e-card-snippet{
	padding:1em;
	min-height:120px;
	margin-bottom:0px;
}

.columnBox .a-wrap{
	
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}


/*MailMagazine*/

.mailmagazineWrap{
	display:block;
}

.mailmagazineLeft{
	width:95%;
	padding:2em;
	margin:0 auto;

}
.mailmagazineRight{
	display:none;
	
}
	
.content-bottom{
	padding:10px 0px 10px 0px;
}	
	
	/*見出し*/
	/* 見出し2 */
.article h2{
  padding-left:1.6em;
  font-size: 1.2em!important;
  border-radius: 0 10px 10px 0;
	margin-left:8px;
}
	
.wp-block-spacer{
	height:5px!important;
}	
	
}

.contentfooter{
	padding:10px;
}



/* ===== 受講者の声カード（ラッパー不要版） ===== */
ul.wp-block-latest-posts__list.is-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.wp-block-latest-posts__list.is-grid > li {
  position: relative;
  background: #fff;
  border: 1px solid #eef4f2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(32, 96, 84, 0.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

ul.wp-block-latest-posts__list.is-grid > li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(32, 96, 84, 0.14);
  border-color: #dfeeea;
}

/* アイキャッチを16:9でクロップし、インラインstyleを打ち消し */
ul.wp-block-latest-posts__list.is-grid .wp-block-latest-posts__featured-image {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

ul.wp-block-latest-posts__list.is-grid .wp-block-latest-posts__featured-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .5s ease;
}

ul.wp-block-latest-posts__list.is-grid > li:hover
  .wp-block-latest-posts__featured-image img {
  transform: scale(1.05);
}

/* タイトル */
ul.wp-block-latest-posts__list.is-grid a.wp-block-latest-posts__post-title {
  display: block;
  padding: 14px 16px 18px;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.6;
  color: #183a33;
  text-decoration: none;
  transition: color .2s ease;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1em * 1.6 * 2 + 4px);
}

ul.wp-block-latest-posts__list.is-grid a.wp-block-latest-posts__post-title:hover,
ul.wp-block-latest-posts__list.is-grid a.wp-block-latest-posts__post-title:focus {
  color: #19a493;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  ul.wp-block-latest-posts__list.is-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 599px) {
  ul.wp-block-latest-posts__list.is-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 最新の投稿ブロック（受講者の声）リセット＆上書き ===== */
/* まずはテーマ既存の is-grid/columns-3 の幅や並び方をリセット */
ul.wp-block-latest-posts__list.is-grid.columns-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: clamp(16px, 2.2vw, 24px) !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* li に残っている width/height/margin 指定を無効化してカード化 */
ul.wp-block-latest-posts__list.is-grid.columns-3 > li {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  /* カードの見た目 */
  position: relative;
  background: #fff;
  border: 1px solid #eef4f2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(32,96,84,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;               /* 画像→テキストの縦積み */
  flex-direction: column;
}
ul.wp-block-latest-posts__list.is-grid.columns-3 > li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(32,96,84,.14);
  border-color: #dfeeea;
}

/* 画像エリア：インラインstyle打ち消し＋16:9クロップ */
ul.wp-block-latest-posts__list.is-grid .wp-block-latest-posts__featured-image {
  margin: 0 !important;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex: 0 0 auto;
}
ul.wp-block-latest-posts__list.is-grid .wp-block-latest-posts__featured-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .5s ease;
}
ul.wp-block-latest-posts__list.is-grid > li:hover
  .wp-block-latest-posts__featured-image img {
  transform: scale(1.05);
}

/* タイトル：縦書き化しているテーマ側を強制解除 */
ul.wp-block-latest-posts__list.is-grid a.wp-block-latest-posts__post-title {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  letter-spacing: normal !important;
  white-space: normal !important;

  display: block;
  padding: 14px 10px 40px;
  font-weight: 700;
  font-size: clamp(12px, 1.6vw, 10px);
  line-height: 1.6;
  color: #183a33;
  text-decoration: none;
  transition: color .2s ease;

  /* 2行で省略 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  /* カードの高さ均一化 */
  flex: 1 1 auto;
  min-height: calc(1

