@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: 25px !important;
	color: #333;
	padding-top: 10px;
}




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


/*字間*/
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;
}



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


/*TOPへ戻る矢印ボタン*/
.go-to-top-button.go-to-top-common.go-to-top-hide.go-to-top-button-icon-font {
	display: none !important;
}


/* =========================================
   スマホのみ：料金表テーブルの文字サイズを12pxに
   ========================================= */
@media (max-width: 768px){

  /* テーブル全体 */
  .wp-block-flexible-table-block-table,
  .wp-block-flexible-table-block-table table{
    font-size: 12px !important;
	  letter-spacing: 1px !important;
  }

  /* 念のため：セル単位でも指定 */
  .wp-block-flexible-table-block-table th,
  .wp-block-flexible-table-block-table td{
    font-size: 12px !important;
    line-height: 1.4;
	  letter-spacing: 1px !important;
  }

}




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


#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: 14px !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:10px;
}

/*更新日アイコン*/
.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: 12px; /*スマホでの文字の大きさ*/
padding-left:5px;
line-height: 1.2; /*スマホでの行間*/
}

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

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



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





/* 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: 400 !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: 13px;
  margin-bottom: 12px;
}

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

/* タグ */
.my-meta-tag{
  font-size: 12px;
  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;
}

/* =========================================================
   フッターモバイルメニュー：完成版
   - 文字サイズ変更
   - ボタンごとに背景色（Home / お問い合わせ / Facebook / Instagram / LINE）
   - 文字色を白で統一
   - タップ感UP（active）
   - アイコン追加（Font Awesome 5 前提 / CSSのみ）
   ========================================================= */

@media (max-width: 834px){

  /* -----------------------------
     1) 共通：レイアウト・文字
  ----------------------------- */
  .mobile-footer-menu-buttons .menu-button{
    /* 文字 */
    font-size: 14px !important;     /* ← 好みで 11〜14px */
    font-weight: 500;
    letter-spacing: .05em;

    /* 中身を縦並びに（アイコン＋文字） */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px;

    /* タップ感 */
    transition: opacity .2s ease, transform .2s ease;
  }

  /* 文字色（リンク含め白） */
  .mobile-footer-menu-buttons .menu-button,
  .mobile-footer-menu-buttons .menu-button a{
    color: #fff !important;
  }

  /* -----------------------------
     2) アイコン（Font Awesome 5）
  ----------------------------- */

  /* 共通：アイコン枠 */
  .mobile-footer-menu-buttons .menu-button::before{
    content: "";
    display: block;
    line-height: 1;
    font-size: 20px;               /* ← アイコンサイズ */
    margin-bottom: 1px;
  }

  /* 1. ホーム（Solid） */
  .mobile-footer-menu-buttons .menu-button:nth-child(1)::before{
    content: "\f015";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  }

  /* 2. お問い合わせ（Solid） */
  .mobile-footer-menu-buttons .menu-button:nth-child(2)::before{
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  }

  /* 3. Facebook（Brands） */
  .mobile-footer-menu-buttons .menu-button:nth-child(3)::before{
    content: "\f39e";
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
  }

  /* 4. Instagram（Brands） */
  .mobile-footer-menu-buttons .menu-button:nth-child(4)::before{
    content: "\f16d";
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
  }

  /* 5. LINE（Brands） */
  .mobile-footer-menu-buttons .menu-button:nth-child(5)::before{
    content: "\f3c0";
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
  }

  /* -----------------------------
     3) 背景色：ボタンごと
  ----------------------------- */

  /* 1. ホーム */
  .mobile-footer-menu-buttons .menu-button:nth-child(1){
    background-color: #9E9D6B !important;  /* ← 好みで変更OK */
  }

  /* 2. お問い合わせ */
  .mobile-footer-menu-buttons .menu-button:nth-child(2){
    background-color: #C9C39A !important;  /* ← 好みで変更OK */
  }

  /* 3. Facebook */
  .mobile-footer-menu-buttons .menu-button:nth-child(3){
    background-color: #1877F2 !important;
  }

  /* 4. Instagram（グラデ） */
  .mobile-footer-menu-buttons .menu-button:nth-child(4){
    background: linear-gradient(
      45deg,
      #F58529,
      #DD2A7B,
      #8134AF,
      #515BD4
    ) !important;
  }

  /* 5. LINE */
  .mobile-footer-menu-buttons .menu-button:nth-child(5){
    background-color: #06C755 !important;
  }

  /* -----------------------------
     4) タップ感（おまけ）
  ----------------------------- */
  .mobile-footer-menu-buttons .menu-button:active{
    opacity: .75;
    transform: scale(0.96);
  }
	
	
	 /* li（ボタン本体） */
  body .mobile-footer-menu-buttons li.navi-menu-button.menu-button{
    font-size: 10px !important; /* ←ここを好みで */
  }

  /* a（中身）にも確実に効かせる */
  body .mobile-footer-menu-buttons li.navi-menu-button.menu-button > a.menu-button-in{
    font-size: 10px !important;
  }

  /* Cocoon系：キャプションが別要素の場合にも効かせる */
  body .mobile-footer-menu-buttons li.navi-menu-button.menu-button .menu-caption{
    font-size: 11px !important;
  }
	
}



/* Smash Balloon：キャプション内のURLで横に押し広げられるのを防ぐ */
#sb_instagram .sbi_caption,
#sb_instagram .sbi_caption a{
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* キャプションが幅を持ち越さないように */
#sb_instagram .sbi_caption{
  max-width: 100% !important;
}


.blogcard.external-blogcard.eb-left.cf {
	display: none !important;
}

/* Smash Balloon：photo_wrap 内に混入したテキストを非表示 */
#sb_instagram .sbi_photo_wrap{
  font-size: 0 !important;
  line-height: 0 !important;
}

/* 画像自体は元に戻す */
#sb_instagram .sbi_photo_wrap img,
#sb_instagram .sbi_photo_wrap a{
  font-size: initial !important;
  line-height: normal !important;
}







/*faq余白調整*/
.faq-question.faq-item {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}


/* スマホ */
@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;
}


/* ヘッダーロゴの高さを大きくする */
/* Cocoonの .logo-header の max-height:60px を上書き */
.header-container-in.hlt-top-menu .logo-header {
  max-height: none !important;  /* 制限解除 */
  height: auto !important;
}

/* ロゴ画像の高さを指定 */
.header-container-in.hlt-top-menu .logo-header img,
.header-container-in.hlt-top-menu .site-logo-image {
  max-height: 120px !important; /* 好きな高さ */
  height: auto !important;
  width: auto !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; /* ← 好きな高さに調整 */
  }
	


/* アイコン（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;
}
	
	
}

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