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

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

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

 
/*見出しデザインのリセット*/
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
background-color: transparent; /* 背景色を透明に*/
border: none; /*枠線なし*/
border-radius: 0; /*角の丸みなし*/
padding-left: 0px;
padding-right: 0px;
	padding-bottom: 0px;
}

.article h2 {
	font-size: 26px !important;
	color: #333;
	padding-top: 10px;
	padding-bottom: 4px;
}

/*pの余白*/
.has-text-align-center {
	margin-bottom: 0px !important;
}


/*フォント設定*/
body, p, h2, h1, a, span, has-text-align-center {
 font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* テーブル内フォントをサイト全体（Zen Maru Gothic）に統一 */
.wp-block-table,
.wp-block-table table,
.wp-block-table th,
.wp-block-table td,
.wp-block-table th *,
.wp-block-table td * {
  font-family: "Zen Maru Gothic", sans-serif !important;
  font-weight: inherit !important;
}

/* =========================
   アコーディオン（プルダウン）内フォント統一
   ========================= */

.wp-block-accordion,
.wp-block-accordion * {
  font-family: "Zen Maru Gothic", sans-serif !important;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
  color: inherit;
}

/* ラベル文字 */
.wp-block-accordion-heading__toggle-title {
  font-family: "Zen Maru Gothic", sans-serif !important;
  font-size: 14px;              /* お好みで 13〜15px */
  font-weight: 500;             /* やさしく */
  letter-spacing: 0.08em;       /* VIEW MORE 向け */
  text-transform: uppercase;    /* 英字ならきれい */
}

/* =========================
   Cocoon FAQ：質問（Question）側のフォント統一
   ========================= */

.faq .faq-question-label,
.faq .faq-question-content,
.faq .faq-question-label *,
.faq .faq-question-content *{
  font-family: "Zen Maru Gothic", sans-serif !important;
  font-weight: 500;           /* 質問は少しだけ強め（お好みで400でもOK） */
  letter-spacing: inherit;
}


/*フォント統一終わり*/



/*字間*/
p, body {
letter-spacing: 1.5px;
}

h1, h2, h3 {
letter-spacing: 1.5px;
}


/*リンクホバー色*/
a:hover {
color: #fff;
transition : 0.5s;
}


/*ヘッダーフッターまわりの調整*/
.breadcrumb,
.article-header,
.article-footer {
display: none;
}

.header-container-in {
padding-top: 10px;
padding-bottom: 10px;
}


/*セクションまわりの細々とした余白の調整*/
.main {
	border: none;
padding-bottom:0!important;
margin-bottom:0!important;
margin-left:0!important;
margin-right:0!important;
}


/*フルワイドと余白の調整*/
.wp-block-cover, .n2-section-smartslider {
margin-bottom:0!important;
margin-top:0!important;
padding-bottom:0!important;
bottom: 0;
}

.wp-block-columns {
margin-bottom:0!important;
}

.entry-content, .content {
padding-top:0!important;
padding-bottom:0!important;
margin-top:0!important;
margin-bottom:0!important;
}

.content-bottom {
margin:0;
}

.article {
padding-bottom:0px!important;
margin-bottom:0px!important;
}


/*フッター*/
.footer {
margin-top:0px;
}


/*SNSシェア非表示*/
.page .sns-share,
.page .sns-follow {
display: none ;
}

.veu_socialSet.veu_socialSet-position-after.veu_contentAddSection {
	display: none;
}


/*水平スクロールバー非表示*/
body {
overflow-x:clip;
font-size: 12px;
}


/*フルワイド*/
.fullwide {
width: 100vw;
margin: 0 calc(50% - 50vw);
padding: 0 calc(50vw - 50%);
}


/*グローバルメニュー*/
/*メニュー項目の左右の余白*/
#navi .navi-in>ul>li>a{
padding: 0 0em;
}

/*ホバー時にメニューの色が薄くなるのをやめる*/
#navi .navi-in a:hover {
background-color: rgb(255 255 255 / 0);
}

/*ホバー時にメニューにアンダーラインを出す*/
#navi .navi-in a:after{
position: absolute;/*線の位置を絶対配置に*/
content: "";/*文字はなし*/
opacity: .5;
left: 0px;/*線の位置*/
bottom: 0;/*線の位置*/
height: 100%;/*線の高さ*/
width: 100%;/*幅いっぱいに線を引く*/
background: #dddddd ;/*線の色*/
transform: scale(0,1);/*ホバー前は線を消す*/
transition: 0.3s;/*線が0→100%になるまでの秒数*/
}

#navi .navi-in a:hover:after{
transform: scale(1);/*マウスオーバー後、線を100%出す*/
}

/*フォントサイズ等変更*/
.navi-in .menu-header .item-label{
letter-spacing: 2px;
font-size: 15px;
font-weight: 600;
}



/*グローバルメニュー終わり*/










/*ヘッダーカスタマイズ*/
/*お問い合わせボタン（ヘッダー）*/


#header-in .header-contact img {
  max-width: none !important;         /* ← 160px上限を解除 */
  width: 80px !important;            /* お好みで 220〜280px などに */
  height: auto !important;
  display: block;
}


	/* 位置を上へ：PC */
@media (min-width: 960px){
  #header-in .header-contact{
    margin-top: 15px !important;   /* ← ここを 0〜12px で微調整 */
  }
}
	
#header-in .header-contact {
  display: flex !important;      /* ← これを追加：子要素を横並びにする */
  flex-direction: row;           /* 横並び（※なくてもOK。rowが初期値） */
  gap: 1px !important;           /* アイコン同士の間隔 */
  align-items: center;           /* 縦位置をそろえる */
}


/* 余白の混入対策（テーマ側の余白をゼロに） */
#header-in .header-contact a {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;               /* 画像周りの行間を消す */
}
#header-in .header-contact img {
  display: block;
  margin: 0 !important;
}
	


/*ヘッダーロゴ(テキスト)の反対側に問い合わせボタン表示*/

div#header-in {
/* ヘッダーロゴ(テキスト)と問い合わせボタンを横並び */
flex-direction: row;
}

.header-in .logo-header {
/* ヘッダーロゴ(テキスト)と問い合わせボタンの位置を両端にする */
margin-right: auto;

}

/*お問い合わせボタン終わり*/





/* スマホヘッダー：上下に5pxずつ余白 */
.mobile-header-menu-buttons {
  padding-top: 5px;
  padding-bottom: 5px;
}





/*ブログ記事一覧のカスタマイズ*/
.new-entry-cards {
margin: auto;
width: 110vh;
}

.new-entry-card-thumb {
transition-duration: 0.3s; /*アニメーションの時間*/ box-shadow: 0px 10px 10px -5px rgba(85,85,85,0.75); /*通常時の画像の影*/
}

.new-entry-card-thumb:hover {
transform: translateY(-6px); /*マウスホバーで上に移動*/
box-shadow: 0px 5px 5px -5px rgba(85,85,85,0.75); /*マウスホバー時の画像の影*/
}

.new-entry-card-thumb img { /*画像下の隙間を消す*/
vertical-align: bottom;
}

.widget-entry-card-thumb {
width: 200px !important;
}

.new-entry-card-title {
margin-top: 5px; /*上に余白を付ける*/
line-height: 1; /*行間を広く*/
font-size: 15px !important;
padding-bottom: 0px!important;
}

.is-list-horizontal.large-thumb .card-title, .is-list-horizontal.large-thumb-on .card-title {
height: 1.5em;
}

/*タイトルと日付の間の調整*/
.new-entry-card-title:hover {
color: #85A4B5 ;/*マウスホバー時の色*/
}

/*記事一覧の投稿日表示カスタム*/
/*ウィジェット記事の投稿日・更新日を表示*/
.widget-entry-card-date {
display:block;
text-align: right;/*右寄せ*/
}

/*更新日を非表示にする*/
.widget-entry-card-update-date{
display: none;
}

/*日付にアイコン追加*/
.widget-entry-card-post-date::before,

.widget-entry-card-update-date::before{
font-family: "Font Awesome 5 Free";
padding-right: 3px; /*右余白*/
font-size:13px;
}

/*更新日アイコン*/
.widget-entry-card-update-date::before{
font-weight:bold;
content: "\f1da"; /*fa-historyアイコン*/
}


/*レスポンシブ*/
@media screen and (max-width: 768px){
.new-entry-cards {
margin: auto;
width: 45vh;
}
.new-entry-card-title {
font-size: 13px; /*スマホでの文字の大きさ*/
padding-left:5px;
	letter-spacing: 1.2px !important;
line-height: 1.2; /*スマホでの行間*/
}

.e-card-info {
color: #666 ; /*色を薄く*/
}

.new-entry-card-snippet { padding-left: 5px; font-size: 10px; } 
.e-card-info {font-size: 13px; /*スマホでの文字サイズ*/}
}



/*記事一覧カスタマイズ終わり*/





/* Font Awesome 用のフォントを正しく指定（!important で全体フォントより優先） */
.fa,
.fas,
.far {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;  /* 太めでOKならこのまま。細くしたければ 400 に */
}

/* ブランドアイコン（LINE / Instagram 用） */
.fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 500 !important;
}




/*Youtube動画位置調整*/
/* Cocoon の video-container が左寄せになるのを防ぐ */
.wp-block-embed__wrapper .video-container {
  margin: 0 auto !important;
}



/* 記事ページ */
/* カテゴリーバッジ下の余白 */
.entry-categories-tags.ctdt-one-row {
	margin-bottom: 5px !important;
}

/*アイキャッチ見た目*/
.single .eye-catch-wrap{
  margin: 15px 0 15px;
}
.single .eye-catch img{
  width: 100%;
  height: auto;
  display: block;
}
.my-post-topmeta {
	margin-bottom: 10px !important;
}



/* ===== 投稿メタ全体 ===== */
.my-post-meta{
  margin: 16px 0 24px;
}

/* 上段（日付・カテゴリ・タグ） */
.my-post-meta-top{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 14px;
  margin-bottom: 12px;
}

/* カテゴリ */
.my-meta-cat{
  background: #c7a492;
  color: #fff;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 14px;
  text-decoration: none;
}

/* タグ */
.my-meta-tag{
  font-size: 14px;
  color: #777;
  text-decoration: none;
}

/* アイキャッチ */
.my-meta-eyecatch{
  margin-top: 12px;
}
.my-meta-eyecatch img{
  width: 100%;
  height: auto;
  display: block;
}

/* 記事内に自動表示されるCocoon標準のカテゴリを非表示 */
.single .entry-categories,
.single .entry-categories-tags,
.single .entry-categories-tags.ctdt-one-row {
  display: none !important;
}

/* 記事タイトル */
.my-post-title {
  font-size: 26px;      /* お好みで 24〜30px */
  font-weight: 500;
  line-height: 1.6;
  display: block;
  margin-bottom: 6px;
}

/* 時計アイコンと日付の色 */
.my-meta-date i.fa-clock {
  color: #BBA492;
}
.my-meta-date {
  color: #666;
}


/* スマホ */
@media (max-width: 768px){
  .single .my-post-datetitle{ font-size: 18px; }
	  .my-post-title {
    font-size: 18px;
  }
	
}


/* --- Cocoonデフォルトの投稿メタを非表示 --- */

/* 本文の先頭に入っている画像（ブロック）を隠す */
.single .entry-content > figure.wp-block-image:first-child,
.single .entry-content > .wp-block-image:first-child {
  display: none !important;
}




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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	
	 .logo-menu-button {
    margin-left: 0 !important;
  }
	
	.header-container-in.hlt-top-menu.wrap {
		display: none !important;
	}
	
	/* Smart Slider：スマホだけ縦幅を広げる */
  .n2-ss-slider {
    min-height: 260px !important; /* ← 好きな高さに調整 */
  }
	
	/* フッターモバイルボタン 全体 */
.mobile-footer-menu-buttons .menu-button {
  background-color: #c7d1b8; /* 背景色 */
}

/* リンク全体（文字＋アイコン） */
.mobile-footer-menu-buttons .menu-button a {
  color: #ffffff !important; /* 文字色 */
}


/* フッターモバイルボタン：中身を“文字だけ”にする */
.mobile-footer-menu-buttons .menu-button-in{
  display: block !important;      /* ← flexをやめる */
  text-align: center !important;
}
	
	/* フッターモバイルボタンの文字を大きく・太字に */
.mobile-footer-menu-buttons .menu-caption{
  font-size: 16px !important;   /* ← 16〜18pxがおすすめ */
  font-weight: 700 !important;  /* 太字 */
  opacity: 1 !important;        /* 薄くなってたのを解除 */
  line-height: 1.3 !important;
}

/* さらにタップしやすくしたい場合（上下余白） */
.mobile-footer-menu-buttons .menu-button-in{
  padding: 10px 0 !important;
}

/* アイコン（i / svg / FontAwesome）を消す */
.mobile-footer-menu-buttons .menu-button i,
.mobile-footer-menu-buttons .menu-button svg,
.mobile-footer-menu-buttons .menu-button .fa,
.mobile-footer-menu-buttons .menu-button .fas,
.mobile-footer-menu-buttons .menu-button .far,
.mobile-footer-menu-buttons .menu-button .fab{
  display: none !important;
}

/* 擬似要素で出てるアイコンも消す（Cocoon対策） */
.mobile-footer-menu-buttons .menu-button-in::before,
.mobile-footer-menu-buttons .menu-button-in::after{
  content: none !important;
  display: none !important;
}
	
	/* モバイルスライドインメニュー：項目の縦幅を広くする */
.menu-drawer li a {
  padding: 16px 20px; /* ← 上下を広げる（ここが縦幅） */
  display: block;
}
	
	/*カラムの縦ギャップ*/
	.wp-block-columns {
		row-gap: 5px !important;
	}

	
	/* =========================
   ヘッダー Font Awesome アイコンサイズ調整
   ========================= */

/* モバイルヘッダーのアイコン */
.mobile-menu-buttons .custom-menu-icon .fa,
.mobile-menu-buttons .custom-menu-icon .fas,
.mobile-menu-buttons .custom-menu-icon .fab {
  font-size: 26px;   /* ← 22〜30pxで調整 */
}
	.mobile-menu-buttons .fa-bars {
  font-size: 27px;   /* ← 他が26pxなら +2px くらいが綺麗 */
}
	
	
}

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