@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.2
*/

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

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

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

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

/*　固定ページのシェアボタン・フォローボタンを消す　*/
.page .sns-share,
.page .sns-follow {
    display: none;
}




/*投稿日・更新日・著者情報消す　*/
.page .date-tags,
.page .author-info {
    display: none;
} 

 /*
.main {
border: 1px solid #ccc; 
 background-color: #fff; 
 box-shadow: 1px 1px 2px #ccc;
}
 */

/* 見出しカスタマイズ */

/* H2 */
.article h2 {
  padding: 1rem 2rem;
  background: #65c2e9;/*背景色*/
 
}

/* H3 */
/* 元のグレーの枠線を打ち消して、新しくデザインする */
.article h3.blue-box {
  border: none; /* これで上下左右すべてのグレーの線を消します */
  
  /* ↓ここから下に、先ほどのbeforeなどの新しいデザインを書く */
}



/* H3  blue-box */
.blue-box {
  padding: 1rem 2rem;
  background: #65c2e9;/*背景色*/
  color: #fff;   /* 文字色指定 */
}

.blue-box::before {
    color: #fffdab;               /* 薄い黄色の指定 */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f101";             /* ★ここを修正（>> を表すアイコンコード） */
    margin-right: .3em;
}


/* H4 */
.article h4 {
  color: #000;
  font-size: 1.2em;
  position: relative;
  margin: 2em 0 1em;
  padding: 0.5em 0 0.5em 1.5em; /* 上下の余白（一番左の0.5em）を作るとさらに綺麗になります */
  border: none; 
  border-bottom: dotted 1px #65c2e9;
}

/* 左側の「＞」マーク用 */
.article h4::before {
  content: "";
  position: absolute;
  left: 0.4em;            /* 左からの位置を少し微調整 */
  
  /* ▼ ここから変更：上下中央に配置する記述 */
  top: 50%;
  transform: translateY(-50%) rotate(45deg); 
  
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid #65c2e9;
  border-right: 2px solid #65c2e9;
}





h1 {
color: #6e4a38;     /* 文字色指定 */
}

h2 {
 color: #333;   /* 文字色指定 */
}




/*480pxまでの幅の場合に適応される */
@media screen and (max-width: 480px){
h3 {font-size: 15px  !important;}
}




/*480pxまでの幅の場合に適応される */
@media screen and (max-width: 480px){
h4 {font-size: 15px  !important;}
}


.comento_h3 {
margin: 20px 0 0 0;
    padding: 15px 0 15px 12px !important;
      font-size: 18px;
}

/*480pxまでの幅の場合に適応される */
@media screen and (max-width: 480px){
.comento_h3 {font-size: 15px  !important;}
}

 h5 {
	margin: 10px 0 !important;
  position: relative;
  color: white;
  background: #81d0cb;
  line-height: 1.4;
  padding: 0.5em 0.5em 0.5em 0.5em !important;
}

 h5:before {

  font-weight: 900;
  position: absolute;
  left : 0em; /*左端からのアイコンまでの距離*/
}




/************************************
** スマホ版　 ヘッダーロゴ設定
************************************/

/*モバイルヘッダーの背景の色を変える*/
.logo-menu-button.menu-button{
	background-color: #FFFFFF;
}


/*ヘッダーの文字と背景の色を変える*/
.search-menu-button.menu-button,
.navi-menu-button.menu-button{
	background-color: #FFFFFF;
	color: #333;
}


/*---cocoonモバイルメニューのカスタマイズ---*/
.mobile-menu-buttons {
  background: #00a0e9;/* メニューの背景色 */
  box-shadow:0 -2px 6px gray;/* メニューに影をつける */
}
.navi-menu-button,
.mobile-menu-buttons .home-menu-button > a,
.search-menu-button,
.mobile-menu-buttons .top-menu-button > a,
.sidebar-menu-button{
  color: #ffffff;/* メニューのテキストの色 */
}

.mobile-menu-buttons .menu-button > a {
    display: block;
    color: #fff;
}

/*---cocoonクリックした時ヘッダー---*/
.mobile-menu-buttons .menu-button:hover {
  background:#6e4a38;/* メニューの背景色(選択時) */
}
.top-menu-button a:hover,
.home-menu-button a:hover,
.mobile-menu-buttons :hover,
.menu-button:hover,
.navi-menu-button:hover{
	color: #6e4a38;/* メニューのテキストの色(選択時) */
}

.mobile-menu-buttons .menu-button > a:hover {
    color:#6e4a38;
}

.mobile-menu-buttons .menu-content{
  color: #6e4a38;/* サイドメニューの表示色が変わるのを防ぐ */
}
/*-------------------------------------*/
/* ヘッダーの下画像モバイル端末サイズでつぶれるのを防ぐ */
@media screen and (max-width: 834px){
  #appeal .appeal-in{
    min-height: 150px;    /* この値は各自設定 */
  }
}

/* ヘッダーロゴを非表示 */
@media screen and (max-width: 1023px) {
.logo-menu-button img {
display: none;
}
.logo-menu-button  {
	display: inline-block;
	background: url("https://m222neko.lsv.jp/neko_hobby/wp-content/uploads/2021/02/sp_rogo_m.png") no-repeat;
	background-size: contain;
	background-position: center;
}	
	
}









/************************************
** cocoonモバイルメニューのカスタマイズ
************************************/
/*---モバイルフッター背景色変更等---*/
.mobile-menu-buttons {
  background: #FFFFFF;
  box-shadow: 0 0 5px darkgrey;
  font-size: 19px;

}

/************************************
** モバイルフッターナビ　ここでアイコン色変える
************************************/

.mobile-menu-buttons .menu-button > a {
  display: block;
  color: #333;
  text-decoration: none;
}


/* モバイルフッターサイドバーアイコン色【白】 */
.sidebar-menu-icon{
  color: #333;/* メニューのテキストの色 */
}

/* モバイルフッターサイドバー文字色【白】 */
.sidebar-menu-caption {
  color: #333;/* メニューのテキストの色 */
}


input[type='submit'] {
    -webkit-appearance: none;
    border: 1px solid #040404 !important;
    background-color: #000000 !important;
}





/* ナビメニュー 文字*/
#navi {
font-weight: bold; /* 太文字 */
 /*　text-shadow: 0 2px 4px rgba(0,0,0,0.3); 影 */
}
/* ナビメニュー（アイコン） */
.navi-in .has-icon {
display: none; /* 非表示 */
}

/* フッター 文字*/
.footer-bottom.fdt-left-and-right .footer-bottom-content {
font-weight: bold; /* 太文字 */
}

.footer-bottom {
    margin-top: 0px; 
    padding: 8px;
    position: relative;
    font-size: 14px;
}





/* プルダウンメニューの文字が改行されるのを避けるために幅広く設定 */
.navi-in > ul .sub-menu li {
    width: 340px !important;
}

/* サイドバーフォント設定 */
.widget_nav_menu ul li a {
font-size: 17px !important;
}

/*YouTube中央*/
.video-container {
margin: 0px auto;
}

/*PCのみ・SPのみで改行させる*/
@media screen and (min-width: 680px){   
  .pc { display:block; }
  .sp { display:none; }
}
@media screen and (max-width: 680px){   
  .pc { display:none; }
  .sp { display:block; }
}

/************************************
** ボックスナビ
************************************/
.p-nav{
margin:2em 0;/* 全体外余白 */
padding:0;/* 全体内余白 */
}
.p-nav ul{
display:-webkit-box;
display:-ms-flexbox;
display:flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
list-style:none;
margin:0;
padding:0;
border:none;
}
.p-nav ul li{
-ms-flex-preferred-size: calc(100%/4);/* 4列 */
flex-basis: calc(100%/4);/* 4列 */
margin:0;
padding:0;
text-align:center;
box-shadow: inset 1px 1px 0 0 #e0ddd1, 1px 1px 0 0 #e0ddd1, 1px 0 0 0 #e0ddd1;/* 罫線 */
display:-webkit-box;
display:-ms-flexbox;
display:flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-orient: vertical;
-webkit-box-direction: reverse;
-ms-flex-direction: column-reverse;
flex-direction: column-reverse;
min-height:100px;/* 最低の高さ */
cursor:pointer;
background:#fff;/* 背景色 */
}
.p-nav ul li:hover{
z-index:2;
box-shadow: inset 2px 2px 0 0 #fcb760, 2px 2px 0 0 #fcb760, 2px 0 0 0 #fcb760, 0 2px 0 0 #fcb760;/* 罫線(マウスホバー) */
transition: 0.35s ease-in-out;
}
.p-nav ul li:before{
content:unset !important;
}
.p-nav ul li a{
display:block;
padding: 0.5em 1em;/* 内余白 */
text-decoration:none;
width:100%;
}
.p-nav ul li a:hover{
background:none;
opacity:1;
}
.p-nav ul li a img{
max-width:50% !important;/* 画像横幅 */
height: auto !important;
filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.1));/* 画像影 */
display: inline-block;
}
.p-nav .p-nav-title{
display: block;
color: #666;/* 文字色 */
font-size: 0.7em;/* 文字大きさ */
letter-spacing: 1px;
font-weight: 600;/* 文字太さ */
text-align: center;
line-height: 1.5;/* 文字行間高さ */
}
/* サイドバー */
.sidebar .p-nav ul li{
-ms-flex-preferred-size: calc(100%/2);/* 2列 */
flex-basis: calc(100%/2);/* 2列 */
}
/* スマホ */
@media screen and (max-width: 559px) {
  .p-nav ul li{
    -ms-flex-preferred-size: calc(100%/2);/* 2列 */
    flex-basis: calc(100%/2);/* 2列 */
  }
}
/* fontawesome */
.p-nav ul li a i,.p-nav ul li a svg{
font-size: 40px;/* アイコン大きさ */
padding: 10px 0;/* アイコン余白 */
color: #00a674;/* アイコン色 */
display:inline-block;
}
/* fontawesome(2番目) */
.p-nav ul li:nth-of-type(2) a i,.p-nav ul li:nth-of-type(2) a svg{
color:#00a674;/* アイコン色 */
}
/* fontawesome(3番目) */
.p-nav ul li:nth-of-type(3) a i,.p-nav ul li:nth-of-type(3) a svg{
color:#00a674;/* アイコン色 */
}
/* fontawesome(4番目) */
.p-nav ul li:nth-of-type(4) a i,.p-nav ul li:nth-of-type(4) a svg{
color:#00a674;/* アイコン色 */
}



/* サイドバー枠 */
/* 
#nav_menu-18,#nav_menu-23,#nav_menu-29{

padding: 0px 10px;
border-radius: 4px;
margin-bottom: 20px;
	border: 1px solid #ccc; 
 background-color: #fff; 
 box-shadow: 1px 1px 2px #ccc;
}


.sidebar {
    background-color: transparent;
    padding-top: 0;
}

.sidebar h3 {
    padding: 0px; 
    margin: 16px 0;
    border-radius: 2px;
}

h3 {
    color: #eb0a1e;
}
*/
/************************************
** グローバルナビにマウスカーソルが乗ったときの見た目を変更する
************************************/


.caption-wrap:hover {
    font-weight: bold;
    color: #00a674;
    border-bottom: 3px solid #00a674;
}

/*---------------------------------
グローバルナビサブメニュー
（プルダウン））の装飾
--------------------------------*/

ul.sub-menu li a {
font-size: 15px;
}

/*---------------------------------
 YouTubeの画像・パソコンでもカラム幅いっぱいにする
--------------------------------*/

.video-container {
  max-width: none;
}


/************************************
** ■フッターホバー時の背景色設定
************************************/

/* ボタンhover時の文字・背景変更 (PC版)*/
.navi-footer-in a:hover { /*メニューのマウスホバー時の指定*/
  color: #fff!important; /*文字色を通常時と同じに*/
  background: none; /*背景色をなしに*/
  text-decoration: underline; /*アンダーラインを追加*/
}

	
/* ボタンhover時の文字・背景変更 (モバイル版)*/
.mobile-menu-buttons .menu-button:hover {
  color: #fff!important; /*文字色を通常時と同じに*/
  background: none; /*背景色をなしに*/
  text-decoration: underline; /*アンダーラインを追加*/
}


/************************************
** プロフィール吹き出し(開始)
************************************/
.balloon1 {
position: relative;
display: inline-block;
margin: 1.5em 0;
padding: 7px 10px;
min-width: 120px;
max-width: 100%;
color: #fff;
font-size: 16px;
background: #ff8e9d;
border-radius: 15px;
}
.balloon1:before{
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -15px;
border: 15px solid transparent;
border-top: 15px solid #ff8e9d;
}
.balloon1 p {
margin: 0;
padding: 0;
}




/************************************
** プロフィール吹き出し(終了)
************************************/


@charset "UTF-8";
/*/////////////////////////////////////////////////
//チャット画面(会話方式)を記事に表示する方法
/////////////////////////////////////////////////*/
.balloon__contener {
  clear: both;
  width: 100%;
  padding: 0px 0;
}


.balloon__contener2 {
  clear: both;
  width: 100%;
  padding: 10px 0;
}

.balloon__contener:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.balloon__contener2:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}


.balloon__contener figure {
width: 60px;
position: absolute;
padding: 0;
margin: 0;
top: 0;
/* 正方形を用意 */
}


.balloon__contener2 figure {
  width: 60px;
  position: absolute;
  padding: 0;
  margin: 0;
  top: 0px;
  /* 正方形を用意 */
}

.balloon__contener figure img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  border: solid 1px #dddddd;
}

.balloon__contener2 figure img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  border: solid 1px #dddddd;
}



.balloon__contener figure figcaption {
color: #000000;
width: 60px;
position: absolute;
top: 70px;
text-align: center;
font-size: 70%;
line-height: 100%;
}

.balloon__contener2 figure figcaption {
    color: #000000;
    width: 60px;
    position: absolute;
    top: 65px;
    text-align: center;
    font-size: 70%;
    line-height: 100%;
}



.balloon__contener .balloon__left {
  width: 100%;
  position: relative;
  display: block;
  max-width: 80%;
  clear: both;
}

.balloon__contener .balloon__left figure {
  left: 0;
}

.balloon__contener .balloon__left .balloon__text {
  margin-left: 80px;

  position: relative;
  padding: 20px;
  border-radius: 10px;
  background-color: #d8f4f8;
}

.balloon__contener .balloon__left .balloon__text::after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -10px;
  top: 12px;
  border-right: 15px solid #d8f4f8;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.balloon__contener .balloon__right {
  width: 100%;
  position: relative;
  display: block;
  float: right;
  max-width: 80%;
  clear: both;
}

.balloon__contener .balloon__right figure {
  right: 0;
}

.balloon__contener .balloon__right .balloon__text {
  margin-right: 80px;
  position: relative;
  padding: 20px;
  border-radius: 10px;
  background-color: #ffcece;
}

.balloon__contener .balloon__right .balloon__text::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -10px;
  top: 12px;
  border-left: 15px solid #ffcece;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

@media only screen and (max-width: 767px) {
  .balloon__contener .balloon__left,
  .balloon__contener .balloon__right {
    max-width: 100%;
  }
}

/*/////////////////////////////////////////////////
//チャット画面(会話方式)にアイコンを追加する方法
/////////////////////////////////////////////////*/
.balloon__contener .icon_emotion {
  width: 30px;
  height: 30px;
  position: absolute;
   top: -8px;
  left: 35px;
  background-size: auto 100%;
  padding: 0;
  z-index: 1;
}

.balloon__contener .balloon__right .icon_emotion {
 left: 35px;
}

/*//// ガーン /////*/
@-webkit-keyframes icon_shock {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  51%,
  100% {
    opacity: 1;
  }
}
@keyframes icon_shock {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  51%,
  100% {
    opacity: 1;
  }
}

.icon_shock .balloon__left .balloon__text {
  background-color: #c7ade2;
}

.icon_shock .balloon__left .balloon__text::after {
  border-right: 15px solid #c7ade2;
}

.icon_shock .icon_emotion {
  background: url("./icon/icon_shock.svg") repeat-x 0 0;
  -webkit-animation: icon_shock 1s ease-in-out infinite alternate;
  animation: icon_shock 1s ease-in-out infinite alternate;
}

/*//// 汗 /////*/
@-webkit-keyframes icon_sweat {
  16.65% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
  }
  33.3% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes icon_sweat {
  16.65% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
  }
  33.3% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.icon_sweat .balloon__left .balloon__text {
  background-color: #a5d4d8;
}

.icon_sweat .balloon__left .balloon__text::after {
  border-right: 15px solid #a5d4d8;
}

.icon_sweat .icon_emotion {
  background: url("./icon/icon_sweat.svg") repeat-x 0 0;
  -webkit-animation: icon_sweat 1s ease-in-out infinite alternate;
  animation: icon_sweat 1s ease-in-out infinite alternate;
}

/*//// 気分UP /////*/
@-webkit-keyframes icon_up {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(1em);
    transform: translateY(1em);
  }
}
@keyframes icon_up {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(1em);
    transform: translateY(1em);
  }
}

.icon_up .balloon__left .balloon__text {
  background-color: #f0d2a7;
}

.icon_up .balloon__left .balloon__text::after {
  border-right: 15px solid #f0d2a7;
}

.icon_up .icon_emotion {
  background: url("./icon/icon_up.svg") repeat-x 0 0;
  -webkit-animation: icon_up 1s ease-in-out infinite alternate;
  animation: icon_up 1s ease-in-out infinite alternate;
}

/*//// 怒る /////*/
@-webkit-keyframes icon_angry {
  50% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
}
@keyframes icon_angry {
  50% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
}

.icon_angry .balloon__left .balloon__text {
  background-color: #e7b3b1;
}

.icon_angry .balloon__left .balloon__text::after {
  border-right: 15px solid #e7b3b1;
}

.icon_angry .icon_emotion {
  background: url("./icon/icon_angry.svg") repeat-x 0 0;
  -webkit-animation: icon_angry 1s ease-in-out infinite alternate;
  animation: icon_angry 1s ease-in-out infinite alternate;
}

/*//// ハート /////*/
@-webkit-keyframes icon_heart {
  50% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
}
@keyframes icon_heart {
  50% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
}

.icon_heart .balloon__left .balloon__text {
  background-color: #f9d7e8;
}

.icon_heart .balloon__left .balloon__text::after {
  border-right: 15px solid #f9d7e8;
}

.icon_heart .icon_emotion {
  background: url("./icon/icon_heart.svg") repeat-x 0 0;
  -webkit-animation: icon_heart 1s ease-in-out infinite alternate;
  animation: icon_heart 1s ease-in-out infinite alternate;
}

/*//// 気分ダウン /////*/
@-webkit-keyframes img_down {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  51%,
  100% {
    opacity: 1;
  }
}
@keyframes img_down {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  51%,
  100% {
    opacity: 1;
  }
}

.img_down .balloon__left .balloon__text {
  background-color: #adbedb;
}

.img_down .balloon__left .balloon__text::after {
  border-right: 15px solid #adbedb;
}

.img_down .icon_emotion {
  background: url("./icon/icon_down.svg") repeat-x 0 0;
  -webkit-animation: img_down 1.3s ease-in-out infinite alternate;
  animation: img_down 1.3s ease-in-out infinite alternate;
}

/************************************
** 色々な枠デザイン(開始)
************************************/


/* 黄色の枠　*/
.ye_color {
    padding: 20px;
    margin: 40px 0;
    width: 80%;
    background: #ffffcc;
    border-radius: 8px;
	 color: #333;
}

/* 破線のボックス 青　*/
.box_blue{
    padding: 0.5em 1em;
    margin: 2em 0;
    background: #f0f7ff;
    border: dashed 2px #5b8bd0;/*点線*/
}
.box_blue p {
    margin: 0; 
    padding: 0;
}


/* 破線のボックス 黄　*/
.box_yellow{
    padding: 0.5em 1em;
    margin: 2em 0;
    background: #ffffcc;
    border: dashed 2px  #ffc06e;/*点線*/
}
.box_yellow p {
    margin: 0; 
    padding: 0;
}

/* 破線のボックス 黒　*/

.box_black{
margin: 2em auto;
padding: 1em;
width: 100%;
border: 3px dashed #000000;
color: #000000;
background-color: #fff;
border-radius: 1px;
}

/* タイトルを横いっぱいに広げたボックス 青　*/
.box29 {
    margin: 2em 0;
    background: #dcefff;
}
.box29 .box-title {
    font-size: 1.2em;
    background: #5fb3f5;
    padding: 4px;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
	    margin: 2em 0;
}
.box29 p {
    padding: 15px 20px;
    margin: 0;
}


/* 枠線を付ける 黄　*/
.normal-ye{
  padding: 0.5em 1em;
  margin: 2em 0;
  background-color: #fff9c4;
  border: solid 3px #ffca28;
}

.normal-ye p{
  margin: 0;
  padding: 0;
}


/* 黒板風　タイトル　2 */
.kokuban-t2 {
 position: relative;
 margin: 2em auto;
 padding: 1em 1em 1em;
 width: 90%; /* ボックス幅 */
 background-color: #006633; /* ボックス背景色 */
 color: #fff; /* 文章色 */
 border: 8px solid #b2771f; /* 枠線 */
 border-radius: 3px; /* 角の丸み */
 box-shadow: 0 0 5px #333, 0 0 5px #555 inset;
}
.kokuban-t2::before,
.kokuban-t2::after {
 position: absolute;
 content: '';
 bottom: 0;
} 
.kokuban-t2::before {
 right: 10px;
 border: solid 3px #fff; /*チョーク（白）*/
 width: 20px; 
 border-radius: 3px 2px 0 2px;
}
.kokuban-t2::after {
 right: 40px;
 border: solid 3px #ffff6b; /*チョーク（黄色）*/
 width: 15px; 
 border-radius: 8px 5px 2px 5px;
}
.title-t2 {
 position: absolute;
 left: 1em;
 top: .5em;
 font-weight: bold;
 font-size: 1.1em;
 color: #ffff6b; /* タイトル色 */
}


/************************************
** 色々な枠デザイン(終了)
************************************/


/* ここから下がボタンのCSS　*/
.contents {
     width: 100%;
     max-width: 1200px;
     margin: auto;
 }

 .text-center {
     text-align: center;
	 margin: 0.5em 0;
 }
 .flexbox {
     display: flex;
 }
 .box1 {
     width: 50%;
	 margin: 0.5rem 0.5rem; 

    border: 2px solid #b82c2c;
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: .4s;
 }



/*div要素全体にリンクをつけるために必要な要素*/
.box1 {
    position: relative;
}
.box1 a {
    position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}

 .box2 {
     width: 50%;
   	 margin: 0.5rem 0.5rem; 

    border: 2px solid #b82c2c;
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: .4s;
 }



/*div要素全体にリンクをつけるために必要な要素*/
.box2 {
    position: relative;
}
.box2 a {
    position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}




 @media screen and (max-width: 767px) {
     .flexbox {
         display: block;
     }
     .flexbox .box1 {
         width: 100%;
         margin: 5px auto;
     }
     .flexbox .box2 {
         width: 100%;
         margin: 5px auto;
     }

 }


/***** 行間・段間設定
.entry-content>*, .demo .entry-content p {
 margin-top: 0em!important; 
 margin-bottom:0em!important;
}
 行間・段間設定 *****/


/************************************
** プロフィール文字　中央揃え(開始)
************************************/
.nwa .author-box .author-description {
    text-align: center;
}

/************************************
** プロフィール文字　中央揃え(終了)
************************************/



/************************************
** トップページカスタマイズ(開始)
************************************/




.home #main .large-thumb{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0.8em 0;
}
.home #main .large-thumb a{
    width: 50%;
    padding: 10px;
}
.home #main .large-thumb a:hover{
    background:unset;
}
.home #main .widget-entry-cards .e-card {
    font-size: 18px;
    box-shadow: 0 0 4px rgba(0,0,0,.15);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    height:100%;
}
.home #main .widget-entry-cards .e-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 3px 18px 3px rgba(0,0,0,.08);
}
.home #main .widget-entry-cards figure {
    float: none;
    width: 100%;
}
.home #main .widget-entry-cards figure img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 210px;
}
.home #main .widget-entry-cards .card-content {
    margin: 0 0 0.5em;
    padding:10px 10px;
    background:#fff;
}
.home #main .large-thumb .new-entry-card-title,.home #main .large-thumb .popular-entry-card-title {
    font-size: 0.8em;
    line-height: 1.5;
    font-weight: 600;
    color: #555;
    margin-top: 3px;
}
/*(スマホ)480px以下*/
@media screen and (max-width: 480px){

    .home #main .widget-entry-cards .e-card {
        margin:0 5px;
    }
    .home #main .large-thumb a {
        width: 100%;
        padding: 0;
        margin:0 0 15px;
    }
    .home .mobile-2{
        justify-content:space-between;
    }
    .home .mobile-2 a{
        width:48% !important;
    }
    .home .mobile-2 figure img {
        object-fit: unset !important;
        height: auto !important;
    }
    .home #main .large-thumb .new-entry-card-title{
        line-height:1.3;
    }
}
/************************************
** ボタン
************************************/
.p-button {
    max-width: 300px;
    margin: 0 auto;
}
.p-button a {
    display: block;
    margin:25px 0;
    padding: 0.8em 1em;
    border-radius: 2em;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: #eba02f;
    box-shadow: 0 5px 20px rgba(235, 160, 47, .5);
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity:1;
}
.p-button a:hover{
    box-shadow:none;
    transform: translateY(3px);
    opacity:1;
}


/************************************
** トップページカスタマイズ(開始)
************************************/
/* ボックス全体の枠 */
.custom-merit-box {
  position: relative;
  background-color: #fff9eb; /* 薄いベージュの背景 */
  padding: 45px 25px 20px;   /* リボンが被らないように上の余白を広めに */
  margin: 2em 0;
  border-radius: 4px;
}

/* 「メリット」のリボン部分 */
.custom-merit-title {
  position: absolute;
  top: 15px;
  left: -10px; /* ボックスの左側に少しはみ出させる */
  background-color: #f46b6b; /* 赤ピンク */
  color: #fff;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 4px 4px 4px 0; /* 左下だけ角を丸めない */
  font-size: 0.9em;
  letter-spacing: 1px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* リボンの左下の折り返し（三角形） */
.custom-merit-title::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  border-width: 0 10px 10px 0; /* 三角形のサイズ */
  border-style: solid;
  border-color: transparent #c55252 transparent transparent; /* 少し濃い赤で影を表現 */
}

/* 中の文章の調整 */
.custom-merit-content p {
  margin: 0 0 8px 0;
  line-height: 1.8;
  color: #333;
}

/* 最後の行だけ下の余白をゼロにする */
.custom-merit-content p:last-child {
  margin-bottom: 0;
}


/* ===================================================
   全体のレイアウト（PC・スマホ共通のベース）
   =================================================== */

/* 全体を囲む枠 */
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 15px; /* 各スキル行の上下のすき間 */
  margin: 2em 0;
}

/* 1つの行（横並び、高さを揃える） */
.skill-row {
  display: flex;
  align-items: stretch; 
}

/* 左側の画像エリア */
.skill-img {
  flex-shrink: 0;
  width: 377px; /* 元の画像幅に固定（環境によって崩れるのを防ぐ） */
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #000; 
  box-sizing: border-box;
}

/* 画像自体のバグ強制リセット */
.skill-img img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  vertical-align: bottom !important;
  margin: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  border: none !important;
  box-shadow: none !important;
  background: none !important;
}

/* 中央のテキストエリア */
.skill-text {
  flex-grow: 1;           
  display: flex;
  flex-direction: column;   /* 中の文字を縦に並べる */
  justify-content: center;  /* 縦方向の真ん中に寄せる */
  align-items: flex-start;  /* 左揃えにする */
  padding: 10px 20px;     
  color: #000;
  border: 1px solid #000; 
  border-left: none;        /* 左の線を消して画像と合体 */
  border-right: none;       /* 右の線を消してアイコンと合体 */
  box-sizing: border-box; 
}

.skill-text p.title {
  font-size: 1em;
  font-weight: bold;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  line-height: 1.4;
}

.skill-text p.desc {
  font-size: 0.8em;
  font-weight: normal !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5;
}

/* ★右側のアイコンエリア */
.skill-icon {
  flex-shrink: 0;
  width: 70px;             /* アイコン枠の横幅（お好みで調整してください） */
  display: flex;
  align-items: center;      /* 縦方向の中央寄せ */
  justify-content: center;   /* 横方向の中央寄せ */
  padding: 5px;
  border: 1px solid #000;   /* 右端の閉じる線 */
  box-sizing: border-box;
  background: #fff;
}

/* アイコン画像自体のリセット */
.skill-icon img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}


/* ===================================================
   ▼ スマホ用の設定（画面幅が768px以下のとき自動適用）
   =================================================== */
@media (max-width: 768px) {
  /* 1つの行：全体を縦並びに（画像が上、下がテキスト＋アイコン） */
  .skill-row {
    flex-direction: column;
    align-items: stretch; /* 横幅いっぱいに広げる */
  }
  
  /* 上側の画像エリア */
  .skill-img {
    width: 100%;
    border: 1px solid #000; 
  }

  /* 下側のテキストとアイコンを包む「擬似的な横並びコンテナ」の作成 */
  /* skill-rowの中に直接ある text と icon を横並びにするため、
     flexレイアウトを入れ子のように適用させます */
  .skill-row {
    display: flex;
    flex-direction: column;
  }

  /* 中央のテキストエリア */
  .skill-text {
    width: auto; /* 固定幅を解除 */
    flex-grow: 1; /* 横幅いっぱいに広げる */
    padding: 15px;          
    border: 1px solid #000; 
    border-top: none;       /* 上の線を消して画像の下線と合体 */
    
    /* 修正ポイント：アイコンと横並びにするための設定 */
    order: 2; /* 画像の次に配置 */
  }

  /* 右側のアイコンエリア */
  .skill-icon {
    width: 60px;            /* 理想のレイアウトに合わせたアイコン枠の幅 */
    padding: 5px;
    border: 1px solid #000;
    border-top: none;       /* 上の線を消して画像の下線と合体 */
    border-left: none;      /* 左の線を消してテキストの右線と合体 */
    background: #fff;
    
    /* 修正ポイント：テキストと横並びにするための設定 */
    order: 3; /* テキストの右隣に配置 */
  }

  /* 【重要】スマホ時にテキストとアイコンを横並びにするためのラッパー調整 */
  /* skill-rowを2ステップのflexに変形させます */
  .skill-row {
    display: grid;
    grid-template-columns: 1fr auto; /* 左側が残りの幅、右側がアイコンの幅 */
  }
  .skill-img {
    grid-column: 1 / -1; /* 画像は1行丸ごとブチ抜き */
  }
  .skill-text {
    grid-column: 1; /* 左側 */
  }
  .skill-icon {
    grid-column: 2; /* 右側 */
  }
}