@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: 100px 0;
    margin-bottom: 0 !important;
}

.mailmagazineWrap, .giftWrap {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* --- 特典セクション（緑）独自の調整 --- */
.giftWrap {
    background-color: #87A986; /* セクション全体を緑に */
}

.giftLeft, .giftRight {
    width: 50%;
    box-sizing: border-box;
}

.giftLeft {
    display: flex;
    flex-direction: column;
}

/* 画像は幅100%・高さオートで歪ませない */
.giftImg {
    width: 100%;
    height: auto;
    display: block;
}

/* 画像の下のリストエリア */
.giftListBox {
    padding: 30px 40px;
    color: #fff;
}

.listTitle {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.giftList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 0.9em;
}

.giftList li {
    position: relative;
    padding-left: 25px;
}

.giftList li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #fff;
}

/* 右側：タイトルとフォーム */
.giftRight {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- 通常メルマガ（赤） --- */
.mailmagazineLeft { background-color: #D88E81; padding: 60px 40px; width:50%; }
.mailmagazineRight { width:50%; }
.mailmagazineImg { width:100%; height:100%; object-fit: cover; display: block; }

/* --- 共通テキストスタイル --- */
.topMainh {
    font-size: 2.2em !important;
    font-family: "Tienne", serif;
    color: #fff;
    text-align: center;
    margin: 0 0 5px !important;
}

.topSubh {
    font-size: 0.9em !important;
    color: #fff;
    text-align: center;
    margin-bottom: 25px !important;
    font-weight: bold;
}

.giftDescription, .mailmagazineWrap p {
    color: #fff;
    font-size: 0.9em;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- 共通フォームスタイル --- */
.input_row { display: flex; gap: 10px; justify-content: center; margin-bottom: 10px; }
.input_unit input {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: none;
    font-size: 0.9em;
    box-sizing: border-box;
}
.full_width { max-width: 410px; margin: 0 auto 10px; }

.qualification_box {
    max-width: 410px;
    margin: 0 auto 15px;
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: 4px;
}
.label_text { color: #fff; font-size: 0.85em; font-weight: bold; margin-bottom: 10px; }
.checkbox_group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    color: #fff;
    font-size: 0.8em;
}

input[type=submit] {
    background-color: #fff !important;
    border: 2px solid #555;
    color: #555;
    border-radius: 4px;
    width: 260px;
    height: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    margin: 10px auto 0;
}

input[type=submit]:hover {
    background-color: #333 !important;
    color: #fff;
    border-color: #333;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .mailmagazineWrap, .giftWrap { flex-direction: column; }
    .mailmagazineLeft, .mailmagazineRight, .giftLeft, .giftRight { width: 100%; }
    .giftLeft { order: -1; }
}

/************************************
** 特典セクション V3（修正版）
************************************/
.giftWrap.v2 {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 40px auto;
    background-color: #87A986;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.giftLeftArea, .giftRightArea {
    width: 50%;
    box-sizing: border-box;
}

/* 左側：特典リストの調整 */
.giftHeroImg { width: 100%; height: auto; display: block; }
.benefitBox { padding: 30px; color: #fff; }
.benefitTitle {
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1em;
}
.benefitList {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85em; 
    line-height: 1.8;
}
.benefitList li {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
}
.benefitList li::before {
    content: "✓";
    margin-right: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

/* 右側：カードとタイトルの修正 */
.giftRightArea { padding: 40px 30px; display: flex; align-items: center; }
/* 1. カード全体の上の余白を確保 */
.conversionCard {
    background: #fff;
    padding: 50px 25px 40px; /* 最初の50pxが上の余白です。ここを増減して調整してください */
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    width: 100%;
    box-sizing: border-box;
}

/* 2. タイトルヘッダーのズレを修正 */
.cardTitleHeader {
    display: flex;
    align-items: center; /* カッコと文字の垂直中心を合わせる */
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px; /* 下のメルマガ登録文言との間隔 */
}

/* 3. pタグになったタイトルの余白をリセット */
.cardTitle {
    font-family: "Tienne", serif;
    font-size: 1.8em;
    color: #4A6349;
    margin: 0 !important; /* 余計なマージンを完全に消す */
    line-height: 1.2; /* 行間を整えて中央に */
    white-space: nowrap;
}

/* 4. カッコの高さを文字に合わせる */
.bracket {
    width: 12px;
    height: 1.2em; /* 文字の高さ(em)に合わせるとズレません */
    border: 2px solid #87A986;
    display: inline-block;
    flex-shrink: 0;
}
.bracket:first-child { border-right: none; }
.bracket:last-child { border-left: none; }

.cardSubTitle {
    font-weight: bold;
    text-align: center;
    color: #87A986;
    margin-bottom: 15px;
    font-size: 0.9em;
}
.cardDesc {
    font-size: 0.8em;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

/* フォーム部品 */
.nameRow { display: flex; gap: 8px; margin-bottom: 12px; }
.proForm input[type="text"], .proForm input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    font-size: 0.85em;
}
.fullInput { margin-bottom: 12px; }

.qualifyBox {
    background: #f4f7f4;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.qualifyLabel { font-size: 0.75em; font-weight: bold; color: #4A6349; margin-bottom: 8px; }
.qualifyGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 0.7em;
    color: #444;
}

.submitBtn {
    width: 100%;
    padding: 14px;
    background: #D88E81;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(216,142,129,0.3);
}
.submitBtn:hover { background: #c27a6d; transform: translateY(-2px); }

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .giftLeftArea, .giftRightArea { width: 100%; }
    .cardTitle { font-size: 1.5em; }
}

/************************************
** メルマガセクション V2（カード仕様・1枚画像版）
************************************/
.mailmagazineWrap_V2 {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
}

.mailmagazineLeft_Card, .mailmagazineRight_Photo {
    width: 50%;
    box-sizing: border-box;
    display: flex;
    align-items: stretch; /* 左右の高さを揃える */
}

/* 左側：白いカード形式 */
.mailmagazineLeft_Card {
    background-color: #D88E81; /* ピンク系背景 */
    padding: 60px 40px;
    display: flex;
    align-items: center; /* カードを上下中央に */
    justify-content: center;
}

.conversionCard_Mail {
    background: #fff;
    padding: 50px 30px 40px; /* タイトルの上の余白を確保 */
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 480px; /* カードが広がりすぎないように制限 */
}

/* タイトルヘッダーのズレ修正 */
.cardTitleHeader_Mail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}
.cardTitle_Mail {
    font-family: "Tienne", serif;
    font-size: 1.8em;
    color: #4A6349;
    margin: 0 !important;
    line-height: 1.2;
    white-space: nowrap;
}
.bracket_Mail {
    width: 12px;
    height: 1.2em;
    border: 2px solid #D88E81; /* ピンク系の枠線 */
    display: inline-block;
    flex-shrink: 0;
}
.bracket_Mail:first-child { border-right: none; }
.bracket_Mail:last-child { border-left: none; }

.cardSubTitle_Mail {
    font-weight: bold;
    text-align: center;
    color: #D88E81;
    margin-bottom: 15px;
    font-size: 0.9em;
}
.cardDesc_Mail, .cardDetail_Mail {
    font-size: 0.85em;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 15px;
    color: #555;
}
.cardDetail_Mail { font-size: 0.8em; margin-bottom: 25px; }

/* フォーム部品（アイコン付き） */
.input_unit_Mail {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}
.my_column_Mail { color: #D88E81; }
.my_left_Mail { margin-right: 12px; font-size: 1.2em; }
.my_right_Mail { width: 100%; }
.my_column_Mail input[type="text"] {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.9em;
    background-color: #f9f9f9 !important;
    box-sizing: border-box;
}

/* ボタン（ピンクのアクセントカラー） */
.form_input_submit_Mail { text-align: center; margin-top: 10px; }
input[type=submit].submitBtn_Mail {
    background-color: #D88E81 !important;
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 100%;
    max-width: 260px;
    height: 50px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(216,142,129,0.3);
}
input[type=submit].submitBtn_Mail:hover {
    background-color: #333 !important;
    box-shadow: none;
    transform: translateY(-2px);
}

/* 右側：写真（1枚） */
.mailmagazineRight_Photo {
    background-color: #f2f2f2;
}
.collageImg_Mail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .mailmagazineWrap_V2 { flex-direction: column; }
    .mailmagazineLeft_Card, .mailmagazineRight_Photo { width: 100%; }
    .mailmagazineLeft_Card { padding: 40px 20px; }
    .mailmagazineRight_Photo { height: 300px; order: -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

