@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.0
*/

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

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

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

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

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

alignleft, img.alignleft{
float:none;
display:block;
margin: auto;
}
.alignright, img.alignright{
float:none;
display:block;
margin: auto;
}
}
.menu-header .menu-item:hover{
	 border-bottom:3px solid #ff9900 !important;/*線の太さ色*/
	    transition: all .3s;/*線が出てくる時間*/
}
.sub-menu .menu-item:hover{
	border-bottom:none !important;
}

.widget_nav_menu ul li a {
	line-height: 1.3;
}

.widget_nav_menu ul li a:hover {
  border-bottom:3px solid #ff9900 !important;/*線の太さ色*/
	    transition: all .3s;/*線が出てくる時間*/
}

.widget_nav_menu ul li a:hover {
  cursor: pointer;
  text-decoration: none;
}
.widget_nav_menu ul li a:after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #333;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
.widget_nav_menu ul li a hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

.entry-title {
  position: relative;/*相対位置*/
  padding: 0.5em 0.5em 0.5em 1.5em;/*アイコン分のスペース*/
  line-height: 1.4;/*行高*/
  color: #009a00;/*文字色*/
  border-top: dotted 1px gray;
  border-bottom: dotted 1px gray;
  background: #fffff4;
}

.entry-title:before {
  font-family: "FontAwesome";/*忘れずに*/
  content: "\f138";/*アイコンのユニコード*/
  position: absolute;/*絶対位置*/
  font-size: 1em;/*サイズ*/
  left: 0.25em;/*アイコンの位置*/
  top: 0.5em;/*アイコンの位置*/
  color: #009a00; /*アイコン色*/
}

.dl-table {
	display: flex;
	justify-content: space-between;
}

.dl-left {
	text-align: left;
	font-weight: bold;
	color: #339900;
	display: inline-block;
}

.dl-right {
	text-align: right;
	display: inline-block;
}

a {
	text-decoration: none;
	color: #38992F;
}

a:hover {
	text-decoration: underline;
	color: #f90;
	}

a:visit [
	text-decoration: none;
];

.sdm_download.green{
    background: #b7d770;
    border-color: #adc671 #98b65b #87aa4a;
    color: #2F4014 !important;
    text-shadow: 0 1px 0 #cfe5a4;
}
.sdm_download.green:hover{
    background: #b9d972;
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#b8d872', endColorstr='#b9d972'); /*  IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#b8d872), to(#b9d972)); /*  WebKit */
    background: -moz-linear-gradient(top,  #b8d872, #b9d972);
    border-color: #8bb14d #83a648 #7d9e45;
    text-shadow: 0 1px 0 #d5e8aa;
    -webkit-box-shadow: 0 1px 1px #d5d5d5, inset 0 1px 0 #cae295;
    -moz-box-shadow: 0 1px 1px #d5d5d5, inset 0 1px 0 #cae295;
    box-shadow: 0 1px 1px #d5d5d5, inset 0 1px 0 #cae295;    
}

 div.header-container-in.hlt-top-menu .logo-header img {
 height: auto;
 max-height: none;
 width: 400px;
}

.tablehead {
  color: #6cb4e4;
  text-align: center;
  padding: 0.25em;
  border-top: solid 2px #6cb4e4;
  border-bottom: solid 2px #6cb4e4;
  background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
}

.tagline {
    : ;
    text-align: center;
    font-size: 14px;
    margin: .1em 1em;
}

.logo-image {
    padding: 10px 0;
    font-size: inherit;
}

.tagline{
	background:#333;
	margin:0 0 10px;
	padding:.7em 1em;
	color:#fff;
	line-height:1.5em;
}

.article h2{ /*見出し６カスタマイズ*/
  font-size: 20px; /*フォントサイズ*/
  letter-spacing: 2px; /*文字間隔*/
  margin: 35px 0px 20px 0px;
  padding: 8px 16px 8px 25px;
  line-height: 25px; /*高さ*/
  color: #fff;
  background-color: #69b738; /*背景カラー*/
  border-radius: 10px; /*角丸コーナー*/
  position: relative;
}
.article h2::after{ /*見出し６の逆三角部分のカスタマイズ*/
  position: absolute;
  top: 100%;
  left: 20px;
  content: '';
  width: 0;
  height: 0;
  border: 12px solid transparent;
  border-top: 13px solid #69b738;
}

.mobile-header-menu-buttons.mobile-menu-buttons .menu-button {
  color: #3a7591;
  background-color: #69b738;
}

.shoplist {
  position: relative;
  background: #f4f4f4;
  padding: 2px 5px 2px 20px;
  font-size: 20px;
  color: #474747;
  border-radius: 0 10px 10px 0;
}

/* .shoplist:before {
  font-family: FontAwesome;
  content: "\f041";
  display: inline-block;
  line-height: 40px;
  position: absolute;
  padding: 0em;
  color: white;
  background: #ff6363;
  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-radius: 50%;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.29);
} */

.fa-retweet:before {
  content: "\f079";
}

.internal-blogcard::before{
	position: absolute; 
	content: "READ MORE"; /*表示テキスト*/
	font-family: "Arial Black";
	bottom: 13px;
	right: 15px; 
	color: #fff; /*文字の色*/ 
	font-size: 13px; /*文字のサイズ*/ 
	padding-right: 30px; /*右側余白*/
	padding-left: 20px; /*左側余白*/
	background-color: #1e50a2; /*背景色*/ 
	line-height: 26px;
}
.internal-blogcard::after{
	position: absolute; 
	content: "\00BB"; /*表示記号*/
	color: #fff; /*記号の色*/ 
	font-size: 18px; /*文字のサイズ*/
	bottom: 13px;
	right: 28px;
	line-height: 26px;
}

/* 1. 親要素（抜粋エリア）をボタンの土台にする */
.my-grid-post .wp-block-latest-posts__post-excerpt {
    display: flex !important;
    flex-direction: column !important; /* 縦に並べる */
    justify-content: space-between !important; /* 上下で引き離す */
    height: 120px !important; /* ここで「文章＋ボタン」のエリアの高さを固定（お好みで調整） */
    margin-top: 10px !important;
    text-align: left; /* 文章は左寄せ */
}

/* 2. ボタンを独立させてセンターに配置 */
.my-grid-post .wp-block-latest-posts__read-more {
    display: block !important; /* インラインからブロック要素に変更 */
    width: fit-content !important; /* 横幅を文字に合わせる */
    margin: 15px auto 0 !important; /* 左右autoでセンター寄せ */
    
    /* 以下、デザイン維持 */
    padding: 8px 24px !important;
    background-color: #333 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
}

/* 文字を消して「READ MORE」にする魔法（再掲） */
.my-grid-post .wp-block-latest-posts__read-more {
    font-size: 0 !important;
}
.my-grid-post .wp-block-latest-posts__read-more::before {
    content: "READ MORE" !important;
    font-size: 13px !important;
    letter-spacing: 0.1em;
}

/* ホバー演出 */
.my-grid-post .wp-block-latest-posts__read-more:hover {
    background-color: #555 !important;
    transform: translateY(-2px) !important;
}