@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: #69443c;
	padding-top: 10px;
	padding-bottom: 4px;
}

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









/*字間*/
p, body {
letter-spacing: 2px !important;
}

h1, h2, h3 {
letter-spacing: 2.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: 13px;
font-weight: 400;
}



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










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


#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: #BBDADA; /* 背景色 */
}

/* リンク全体（文字＋アイコン） */
.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;
	}
	
	
	/*アコーディオン*/
	h3 {
		padding-top: 0px !important;
	}
}
	
/* =========================================
   吹き出し（対象：p.ichi-bubble）
   - 角丸で柔らかい
   - PC：しっぽ右
   - SP：しっぽ下
   ========================================= */

/* 本体 */
p.ichi-bubble{
  position: relative !important;
  display: inline-block !important;
  background: #fff !important;
  color: inherit !important;

  padding: 10px 16px !important;
  border-radius: 9999px !important;            /* やわらか丸 */
  box-shadow: 0 10px 20px rgba(0,0,0,.12) !important;
  border: 1px solid rgba(0,0,0,.06) !important;

  line-height: 1.6 !important;
  margin: 0 auto !important;
}

/* 以前の画像吹き出し/別方式を無効化 */
p.ichi-bubble::before{
  content: none !important;
}

/* しっぽ：三角（参考画像方式） */
p.ichi-bubble::after{
  content: "" !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;

  /* デフォルトはSP：下 */
  left: 80% !important;
  bottom: -10px !important;
  top: auto !important;
  right: auto !important;
  transform: translateX(-50%) !important;

  /* 下向き三角：上が白、他は透明 */
  border-style: solid !important;
  border-width: 10px 10px 0 10px !important;  /* 高さ/幅 */
  border-color: #fff transparent transparent transparent !important;

  /* 影をしっぽにも少しだけ */
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.10)) !important;
}

/* PC：しっぽを右（縦中央） */
@media (min-width: 769px){
  p.ichi-bubble::after{
    left: auto !important;
    bottom: auto !important;

    right: -8px !important;     /* 本体の外側へ */
    top: 50% !important;
    transform: translateY(-50%) !important;

    /* 右向き三角：左が白、他は透明 */
    border-width: 10px 0 10px 10px !important;
    border-color: transparent transparent transparent #fff !important;

    filter: drop-shadow(6px 0 10px rgba(0,0,0,.10)) !important;
  }
}

/* SP：カラム中央寄せの保険（必要なら） */
@media (max-width: 768px){
  .wp-block-column:has(p.ichi-bubble){
    display: flex !important;
	  justify-content: center !important;}
	
  }


/* =========================================
   右カラム（画像側）をPCだけ左寄せ
   - 対象：.wp-block-column（flex-basis:55% の方）
   ========================================= */

/* PCのみ */
@media (min-width: 782px){

  /* 画像が入っているカラム（= flex-basis:55% の方）を左寄せ */
  .wp-block-columns:not(.is-not-stacked-on-mobile)
  > .wp-block-column[style*="flex-basis:55%"]{
    display: flex !important;
    justify-content: flex-start !important; /* 左寄せ */
    align-items: flex-start !important;
  }

  /* その中の画像ブロックを左端に固定 */
  .wp-block-columns:not(.is-not-stacked-on-mobile)
  > .wp-block-column[style*="flex-basis:55%"]
  figure.wp-block-image{
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

/*カラム内の文字色指定*/
.wp-block-column{
  color: #69443C;
}


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

/* --- yasashiyoga font fix (2026-01-15) --- */
.fz-14px p.has-text-align-center.yasashiyoga{
  font-size: 20px !important;
  letter-spacing: normal !important;
}

@media (max-width: 767px){
  .fz-14px p.has-text-align-center.yasashiyoga{
    font-size: 14px !important;
    letter-spacing: 1px !important;
  }
}


/* スマホのみ：TOP途中写真を2回り小さく（vwで強制） */
@media (max-width: 768px){
  img.wp-image-367 {
    width: 35vw !important;     /* ← ここで大きさ調整（例 65〜75vw） */
    max-width: 35vw !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }
	
	  img.wp-image-370 {
    width: 45vw !important;     /* ← ここで大きさ調整（例 65〜75vw） */
    max-width: 45vw !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !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 くらいが綺麗 */
}
	


	/*faq余白調整*/
.faq-question.faq-item {
	padding-top: 10px !important;
	padding-bottom: 15px !important;
	line-height: 1.5em;
}

.faq-answer.faq-item {
	padding-top: 10px !important;
	padding-bottom: 5px !important;
	line-height: 1.5em;
}

/* FAQのAマークを回答本文の中央に揃える */
.cocoon-block-faq .faq-answer{
  align-items: center;
}

/* FAQの Q / A マークを一回り小さく */
.cocoon-block-faq .faq-question-label,
.cocoon-block-faq .faq-answer-label{
  font-size: 18px; /* 元は 24px → 一回り小さく */
}


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