@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
/*===================== ▼ローディングアニメーション▼ =====================*/
/* 画面全体の設定 */
#loader_wrap {
    z-index: 999;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    background: #ba9f7b	;
    pointer-events: none;
    transition: all 0.3s;
}

/* ローディングアニメーションの設定 */
.loader {
    width: 8%;
    height: 100vh;
    background: url(http://sub.yon-dk.com/wp-content/uploads/2025/11/yonldk_load.gif) #ba9f7b;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: contain;
    opacity: 0;
    animation: blinkAnime 3s infinite linear;
}

@keyframes blinkAnime {
	0% {opacity: 0;}
	50% {opacity: 1; }
	100% {opacity: 1; }
}

@media screen and (max-width:768px) { 
	.loader {
		width: 30%;
	}
}

/*===================== ▼TOPヒーロー部分▼ =====================*/
/* タイトル */
.p-mainVisual__slideTitle{
	writing-mode: vertical-rl;
	color:#000;
	font-size:clamp(1.8rem,2vw,3rem);
}
/* タイトルブロックを左側に寄せる */
.p-mainVisual__textLayer {
  align-items: flex-start !important;
}
/* フライパン */


@media screen and (max-width:768px){
  .p-mainVisual__textLayer {
    margin-top: -120px !important;  /* ← 数字を調整して好みの位置に */
    padding-top: 0 !important;
    align-items: flex-start !important; /* 左寄せは維持 */
  }	
}

/*===================== ▼TOPフライパンアニメ▼ =====================*/

/* 全体コンテナ：メインビジュアルの上に重ねる */
.yldk-panAnim {
  position: absolute;
  left: 53%;
  bottom: 0%;
  transform: translateX(-50%);
  width: clamp(280px, 75vw, 1920px);
  pointer-events: none;
  z-index: 8;
}

/* フライパン本体（ゆらゆら揺れる） */
.yldk-panAnim__panWrap {
  position: relative;
  width: 100%;
  animation: yldk-pan-wobble 3s ease-in-out infinite;
}

.yldk-panAnim__pan {
  width: 100%;
  height: auto;
  display: block;
}

/* 具材（目玉焼き・肉・魚） */
.yldk-panAnim__foods {
  position: absolute;
  left: 54%;
  bottom: 14%; /* フライパンの上あたりに調整 */
  transform: translateX(-50%);
  /* 具材の幅を画面に応じて可変（小さい画面では小さめ、大きい画面で430pxまで） */
  width: clamp(220px, 25vw, 430px);
  aspect-ratio: 4 / 3;
}

.yldk-panAnim__food {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .7s ease;
}

.yldk-panAnim__food.is-active {
  opacity: 1;
}

/* 煙 */
.yldk-panAnim__smokes {
  position: absolute;
  left: 50%;
  bottom: 48%;
  transform: translateX(-50%);
  width: 45%;
  max-width: 260px;
  pointer-events: none;
}

.yldk-panAnim__smoke {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  opacity: 0;
  animation: yldk-smoke-rise 4.5s ease-in-out infinite;
}

.yldk-panAnim__smoke--2 {
  animation-delay: 2.2s; /* ずらして連続で上がってる感じに */
}

/* フライパンの揺れ：3秒のうち最初の約1秒だけ揺れて、あとは止まる */
@keyframes yldk-pan-wobble {
  0%,
  50%,
  100% {
    transform: translateY(0) rotate(0deg); /* ほとんどの時間は静止 */
  }

  10% {
    transform: translateY(-2px) rotate(-1.4deg);
  }
  20% {
    transform: translateY(2px) rotate(1.4deg);
  }
  30% {
    transform: translateY(-1px) rotate(-0.7deg);
  }
  40% {
    transform: translateY(0) rotate(0deg);
  }
}

/* 煙：下から上に＆フェードイン・アウト */
@keyframes yldk-smoke-rise {
  0% {
    opacity: 0;
    transform: translate(-50%, 16px) scale(0.9);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  70% {
    opacity: .4;
    transform: translate(-50%, -28px) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -46px) scale(1.1);
  }
}

/* ▼ スマホでは煙だけ表示（パンと具材は非表示） */
@media (max-width: 959px) {
  .yldk-panAnim {
    width: clamp(220px, 70vw, 320px);
    top: 8%;
	  left:65%;
  }

  .yldk-panAnim__panWrap,
  .yldk-panAnim__foods {
    display: none;
  }

  .yldk-panAnim__smokes {
    top: 6%;
    width: 65%;
  }
}

/*===================== ▼TOP記事スライダー▼ =====================*/
.yldk_post_slider_contener{
	z-index:999;
	padding:0 20px;
	border-bottom:solid 5px #EEA649;
}

.yldk-postSlider {
  position: relative;
  padding: 0 2rem 0.5rem;
  overflow: hidden;
}

/* ビューポート */
.yldk-postSlider__viewport {
  overflow: hidden;
}

/* 横並びトラック */
.yldk-postSlider__track {
  display: flex;
  transition: transform .4s ease;
}

/* 1枚のスライド */
.yldk-postSlider__item {
  box-sizing: border-box;
  flex: 0 0 calc(100% / 4);   /* PCで4枚並び（必要なら3に戻してOK） */
  padding: 0 20px;
}

/* カード（画像だけの箱） */
.yldk-postSlider__link {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border: solid 2px #FFCC99;
  margin-bottom: 8px;
}

/* サムネイル */
.yldk-postSlider__thumb {
  width: 100%;
  padding-top: 60%;            /* 画像比率をキープ */
  background-size: cover;
  background-position: center;
}

/* タイトル＆テキスト部分（カードの外側） */
.yldk-postSlider__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 4px 2px 4px;
}

.yldk-postSlider__titleLink {
  color: inherit;
  text-decoration: none;
}

.yldk-postSlider__titleLink:hover {
  text-decoration: underline;
}

.yldk-postSlider__excerpt {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  margin: 0 2px 0;
}

/* ====== 矢印＋ドットをきれいに配置 ====== */

/* コントロール全体を中央寄せに */
.yldk-postSlider__controls {
  margin-top: .3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* ナビボタン */
.yldk-postSlider__nav {
  width: 36px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #999;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, border-color .2s ease, transform .1s ease;
}

.yldk-postSlider__nav:hover {
  background: #EEA649;
  border-color: #EEA649;
  color: #fff;
  transform: translateY(-1px);
}

/* ドット */
.yldk-postSlider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yldk-postSlider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #bbb;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.yldk-postSlider__dot.is-active {
  background: #ff7f00;
  border-color: #ff7f00;
}

/* SP：1枚ずつ表示 */
@media (max-width: 959px) {
  .yldk-postSlider__item {
    flex: 0 0 100%;
    padding: 0 6px;
  }

  .yldk-postSlider {
    padding: 0 1rem 0;
  }
}



/*===================== ▼フッター部分▼ =====================*/
.l-mainContent__inner>.post_content{
	margin-bottom:0!important;
}
.top #content{
	margin-bottom:0!important;
}
#before_footer_widget{
	margin:0;
}
.w-frontBottom{
	margin:0;
}

/*===================== ▼TOPオレンジ外枠▼ =====================*/
/* 背景 全体をオレンジに */
body {
  background-color: #EEA649;  /* 好きなオレンジに変更OK */
}

/* サイト全体を包んでいるコンテナに白背景＋余白 */
#body_wrap {
  margin: 20px;
  background-color: #ffffff;  /* 中身は白 */
}

@media (max-width: 768px) {
  #body_wrap {
    margin: 10px;
  }
}

/*===================== ▼TOPタグカルーセル▼ =====================*/
.top #content{
	padding-top:0!important;
}
.tag_slider{
	z-index:10;
}
/* ▼ タグカルーセル全体 */
.yldk-tagCarousel {
  overflow: hidden;
  padding: 1.3em 0;
  position: relative;
	margin:0;
}

/* 横に流れるトラック部分 */
.yldk-tagCarousel__track {
  display: inline-flex;
  white-space: nowrap;
  animation: yldk-tagCarousel-marquee 35s linear infinite;
}

/* 各タグ（リンク） */
.yldk-tagCarousel__item {
  display: inline-flex;
  align-items: center;
  padding: 4px 16px;
  font-size: 20px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
	font-weight:bold;
}

/* ホバー時：色だけ変える（リンク先はタグアーカイブ） */
.yldk-tagCarousel__item:hover {
  color: #EEA649;
}

/* ホバー中はスクロール停止 */
.yldk-tagCarousel:hover .yldk-tagCarousel__track {
  animation-play-state: paused;
}

/* 無限スクロールのアニメーション */
@keyframes yldk-tagCarousel-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 2周分出しているので、半分（50%）ぶんだけ左へ流す */
    transform: translateX(-50%);
  }
}

/* スマホでは少し文字小さめに */
@media (max-width: 768px) {
  .yldk-tagCarousel__item {
    font-size: 12px;
    padding: 3px 12px;
  }
	.yldk-tagCarousel {
  padding: 1em 0;
}
}



/*===================== ▼追従サイドバー▼ =====================*/
#header{
  z-index:15;
}
#main_visual{
  z-index:10;
}

/* すべてのフルワイドに要適用（PC用の初期値） */
.fullWide_sen_p{
  padding-right:15%!important;
  padding-left:20px!important;
}

/* SP ではサイドバー非表示 */
@media (max-width: 768px) {
  .right-fixed-bar {
    display: none;
  }
  .fullWide_sen_p{
    padding-right:10px!important;
    padding-left:10px!important;
  }
}

/* ========= PC幅（横 960px 以上）のとき ========= */
@media (min-width: 960px) {

  /* 本体 */
  .right-fixed-bar {
    position: fixed;
    top: 0;
    right: 20px;
    bottom: 0;
    width: 125px;
    background: #ffffff;
    border-left: 4px solid #EEA649;
    border-right: 4px solid #EEA649;
    border-top: 20px solid #EEA649;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;        /* ★上詰めにする */
    padding-top: 90px;                  /* お好みで微調整 */
    padding-bottom: 40px;               /* 下の余白は少なめでOK */
    box-sizing: border-box;
    font-weight: bold;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }


  .right-fixed-bar .simbp{
    width:100px;
    flex-shrink: 0;
  }

  .right-fixed-bar .logop{
    transform: rotate(90deg);
    transform-origin: center center;
    /* ★高さベースでロゴサイズを決める（画面に応じて可変） */
    height: clamp(60px, 22vh, 80px);
    width: auto;              /* 横幅は画像比率に任せる */
    max-height: 100%;
    flex: 0 0 auto;           /* shrink させない ＋ grow もしない */
    display: block;
  }


  /* 中身（ロゴ＋縦書きテキスト） */
  .right-fixed-bar .rfb-inner {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    align-items: center;
    justify-content: center;
	gap: 4.5em;
    flex-shrink: 0;
  }

  /* Safari で中身が潰れないように子要素も shrink させない */
  .right-fixed-bar .rfb-inner > * {
    flex-shrink: 0;
  }

  /* ハンバーガーボタン */
    .rfb-menu-btn {
    width: 50px;
    height: 50px;
    background: #EEA649;
    border-radius: 20%;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    margin: clamp(32px, 11vh, 120px) 0 0;  /* ★ロゴの下に余白をとる */
  }


  .rfb-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
  }

}

/* ========= 画面の高さが少し低いとき：コンパクト版 ========= */
/* 例：iPad 横向き（768px 高さ）など */
@media (min-width: 960px) and (max-height: 800px) {

  .right-fixed-bar {
    padding-top: 70px;
    padding-bottom: 120px;
    width: 110px;
  }

  .right-fixed-bar .simbp{
    width: 80px;
  }

  .right-fixed-bar .logop{
    height: clamp(40px, 20vh, 60px);
  }


  .right-fixed-bar .rfb-inner {
    gap: 2.5em;
  }

  .rfb-menu-btn {
    width: 46px;
    height: 46px;
  }
}

/* ========= 画面の高さがかなり低いとき：超コンパクト版 ========= */
/* 例：もっと高さのないノートPCやブラウザを小さくしたとき */
@media (min-width: 960px) and (max-height: 650px) {

  .right-fixed-bar {
    padding-top: 50px;
    padding-bottom: 80px;
  }

  /* テキストは見切れるので、ロゴ＋ボタン中心に */
  .right-fixed-bar .rfb-inner {
    gap: 2.5em;
  }

  .right-fixed-bar .simbp{
    width: 70px;
  }

  .right-fixed-bar .logop{
    height: clamp(30px, 18vh, 40px);
  }


  .rfb-menu-btn {
    width: 42px;
    height: 42px;
  }
}

/* ========= PCでもSPメニューを表示させる（既存仕様） ========= */
@media screen and (min-width: 960px) {
  .p-spMenu {
    display: block !important;
    z-index: 9998;
  }

  .p-spMenu__inner {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    transform: translateX(0) !important;
    opacity: 0;
    transition: opacity .5s ease-out !important;
  }

  [data-spmenu="opened"] .p-spMenu__inner {
    opacity: 1;
  }
}


/*===================== ▼TOP CONTENTS部分▼ =====================*/
.fullWide_sen_p2{
	padding-right:80px!important;
	padding-left:20px!important;	
}

.contents_boxs{
	margin-right:60px;
}
.contents_box{
	position: relative;
	padding:1.5em!important;
	border:solid 1px #EEA649;
}

.contents_box::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 50px 50px;         /* 三角の大きさ（調整OK） */
  border-color: transparent transparent #EEA649 transparent;
}
.contents_box::before {
  content: "↓";                         /* 矢印を変えたいならここ */
  position: absolute;
  bottom: 3px;                          /* 位置を微調整 */
  right: 7px;
  font-size: 14px;
  color: #ffffff;
  z-index: 1;                           /* 三角より前面に */
}
.sub_T{
	writing-mode: vertical-rl;
	color:#617f88;
}
@media (min-width: 960px) and (max-height: 800px) {
	.fullWide_sen_p2{
	padding-right:70px!important;
}
}

@media (max-width: 768px) {
	.contents_boxs{
	margin-right:0px;
}
	.fullWide_sen_p{
	padding-right:10px!important;
	padding-left:10px!important;
}	
	.fullWide_sen_p2{
	padding-right:10px!important;
	padding-left:10px!important;
	}
	.cont_inner_p{
		font-size:10px;
	}
	.contents_box .wp-block-columns{
	gap:0!important;
}
}

/*===================== ▼挿入タイトル▼ =====================*/

.top_cent_txt{
	writing-mode: vertical-rl;
	font-size:clamp(1.5rem,2vw,2rem);
	margin-left: auto;
  margin-right: auto;
}

/*===================== ▼TOPお皿ブログカルーセル▼ =====================*/

/* ▼ 円形お皿カルーセル全体 */
.yldk-circleCarousel {
  overflow: hidden;
  padding: 24px 0;
  position: relative;
}

/* ▼ 横に長い帯 */
.yldk-circleCarousel__track {
  display: inline-flex;
  gap: 24px;
  padding: 0 16px;
  white-space: nowrap;
  animation: yldk-circleCarousel-marquee 40s linear infinite;
}

.yldk-circleCarousel:hover .yldk-circleCarousel__track {
  animation-play-state: paused;
}

.yldk-circleCarousel__item {
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

/* ▼ お皿外側（リム）— iOSでも崩れない安定構造 */
.yldk-circleCarousel__plate {
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 1 / 1;               /* 正方形を維持 */
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #e0e0e0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  position: relative;
  display: flex;                     /* 中の円を中央配置 */
  align-items: center;
  justify-content: center;
  overflow: visible;                 /* iOS対策 */
}

/* ▼ 内側のお皿（中央の白い円） */
.yldk-circleCarousel__inner {
  width: calc(100% - 44px);          /* 外側のリム分だけ小さく */
  height: calc(100% - 44px);
  border-radius: 50%;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1em;

  /* 内側の薄いボーダー */
  box-shadow: inset 0 0 0 2px #e9e9e9;

  transition: transform .25s ease;
}

/* ▼ 上半分アイキャッチ */
.yldk-circleCarousel__thumb {
  width: 100%;
  height: 52%;
  background-size: cover;
  background-position: center;
  border-radius: 50% 50% 40% 40%;
}

/* ▼ テキスト部分 */
.yldk-circleCarousel__body {
  flex: 1;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.yldk-circleCarousel__title {
  font-size: clamp(12px, 2vw, 15px);
  font-weight: 700;
  margin: 4px 0 6px;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

/* 抜粋も同様に調整 */
.yldk-circleCarousel__excerpt {
  font-size: clamp(10px, 1.7vw, 12px);
  line-height: 1.6;
  color: #555;
  white-space: normal;
  word-break: break-word;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

/* ▼ ホバーで浮き上がる（PCのみ見た目向上） */
.yldk-circleCarousel__item:hover .yldk-circleCarousel__plate {
  box-shadow: 0 16px 24px rgba(0,0,0,0.18);
  transform: translateY(-4px);
}
.yldk-circleCarousel__item:hover .yldk-circleCarousel__inner {
  transform: translateY(-4px);
}

/* ▼ 調理中 */
.yldk-circleCarousel__item--empty .yldk-circleCarousel__body {
  justify-content: center;
}
.yldk-circleCarousel__cooking {
  font-size: 14px;
  font-weight: 700;
  color: #EEA649;
}

/* ▼ 永続スクロールアニメ */
@keyframes yldk-circleCarousel-marquee {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ▼ SP調整 */
@media (max-width: 768px) {
  .yldk-circleCarousel__plate {
    width: 260px;
  }
  .yldk-circleCarousel__track {
    gap: 16px;
    padding: 0 12px;
  }
}





/*===================== ▼書籍▼ =====================*/
.wp-block-media-text__media img{
	box-shadow: 3px 3px 10px #EEE;
}

/*===================== ▼ハンバーガーメニュー▼ =====================*/

/* メニューアイコン（デフォルト時） */
.-menuBtn .c-iconBtn__icon {
	width: 24px;
	height: 2px;
	background-color: #EEA649;
	display: grid;
	place-items: center;
	transition: transform .3s;
	
	&::before,
	&::after {
		grid-area: 1 / 1;
		content: '';
		display: block;
		inset: 0;
		width: 24px;
		height: 2px;
		background-color: #EEA649;
		transition: transform .3s;
	}
	
	&::before {
		transform: translateY(-8px);
	}
	
	&::after {
		transform: translateY(8px);
	}
}

/* メニューアイコン（オープン時） */
[data-spmenu=opened] {
	
	.-menuBtn .c-iconBtn__icon::before {
			transform: rotate(45deg);
	}
	
	.-menuBtn .c-iconBtn__icon {
		background-color: transparent;
	}
	
	.-menuBtn .c-iconBtn__icon::after {
		transform: rotate(-45deg);
	}
}

/* ボタンラベル */
.l-header__menuBtn .c-iconBtn::after,
.p-spMenu__closeBtn .c-iconBtn::after {
	font-size: 10px;
	line-height: 10px;
	transform: translateY(12px);
}

/* ボタンラベル（開くボタン） */
.l-header__menuBtn .c-iconBtn::after {
/* 	content: 'MENU'; */
}

/* ボタンラベル（閉じるボタン） */
.p-spMenu__closeBtn .c-iconBtn::after {
/* 	content: 'CLOSE'; */
}

/* メニュー */
.p-spMenu__inner {
  width: 100%;
  height: 100%;
  transform: translateX(0)!important;
  opacity: 0;
  transition: opacity .5s ease-out!important;
}

/* メニュー（オープン時） */
[data-spmenu="opened"] .p-spMenu__inner {
  opacity: 1;
}

/* 背景色をぼかす */
.p-spMenu__inner::before {
	background: rgb(255 255 255 / .8);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

/* メニューをフェードイン */
.p-spMenu__body {
	opacity: 0;
	transform: translateY(20px);
}

[data-spmenu="opened"] .p-spMenu__body {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 1s ease-in, transform .7s ease-out;
}

/* 既存のメニューを削除 */
.c-widget__title.-spmenu,
.p-spMenu__nav {
  display:none;
}

/* リンクリストメニュー余白 */
.p-spMenu__body .swell-block-linkList {
	gap: 2em;
}

/* リンクリストメニュー中央寄せ */
.p-spMenu__body .swell-block-linkList__text {
	margin-inline: auto;
}

/*===================== ▼ヘッダーメニュー（画像）▼ =====================*/
@media (min-width: 960px) {

  /* ★ TOPページだけ適用！！ */
  .home .l-header__gnav .c-gnav {
    position: absolute;
    /* 上からの位置：-120px〜-180px の範囲で可変 */
    top: clamp(-120px, -10vw, -180px);
    /* 右からの距離：小さい画面で 20px、大きい画面で 80px くらいまで広がる */
    right: clamp(20px, 4vw, 80px);

    display: flex;
    flex-direction: row;
    /* メニュー同士の間隔：16〜32px で可変 */
    gap: clamp(16px, 2.5vw, 32px);
    align-items: flex-start;
    z-index: 20;
  }

  /* ---------- メニュー共通（画像サイズを可変） ---------- */
  .home .l-header__gnav .c-gnav > li > a {
    display: block;

    /* 幅：小さい画面で 90px、大きい画面で 145px */
    width: clamp(90px, 9vw, 145px);
    /* 高さ：小さい画面で 220px、大きい画面で 350px */
    height: clamp(220px, 22vw, 350px);

    text-indent: -9999px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    position: relative;
    transition: transform .3s ease;
  }

  /* 画像指定 */
  .home .l-header__gnav .c-gnav > li:nth-child(1) > a {
    background-image: url("http://sub.yon-dk.com/wp-content/uploads/2025/11/menu-recipe.webp");
  }

  .home .l-header__gnav .c-gnav > li:nth-child(2) > a {
    background-image: url("http://sub.yon-dk.com/wp-content/uploads/2025/11/menu-achieve.webp");
  }

  .home .l-header__gnav .c-gnav > li:nth-child(3) > a {
    background-image: url("https://yon-dk.com/wp-content/uploads/2025/12/menu-about-1.webp");
	height: clamp(220px, 26vw, 450px);
  }

  /* ---------- 4番目(Contact)だけ別位置（右側＆中央） ---------- */
  .home .l-header__gnav .c-gnav > li:nth-child(4) {
    position: absolute;
			top: clamp(40vh, 26vw, 80vh);
    transform: translateY(-50%);
    /* 右への飛び出し量を可変：-80〜-40px */
    right: clamp(40px, 4vw, 80px);
  }

  .home .l-header__gnav .c-gnav > li:nth-child(4) > a {
    background-image: url("http://sub.yon-dk.com/wp-content/uploads/2025/11/menu-contact.webp");
  }

  /* ---------- 1〜3番目：斜め配置も可変 ---------- */
  .home .l-header__gnav .c-gnav > li:nth-child(1) {
    position: relative;
    /* 基準なので 0 固定でOK */
    top: clamp(0px, 1vw, -10px);
  }

  .home .l-header__gnav .c-gnav > li:nth-child(2) {
    position: relative;
    /* 2番目は 40〜70px の範囲で下げる */
    top: clamp(40px, 5vw, 50px);
  }

  .home .l-header__gnav .c-gnav > li:nth-child(3) {
    position: relative;
    /* 3番目は 70〜100px の範囲で下げる */
    top: clamp(40px, 7vw, 40px);
  }

  /* ---------- ホバー動作（距離も少しだけ可変に） ---------- */

  /* 最初の3つ：ホバーで「にゅっ」と下に下がる */
  .home .l-header__gnav .c-gnav > li:nth-child(-n+3) > a:hover {
    transform: translateY(clamp(8px, 1vw, 14px));
  }

  /* 4つ目：ホバーで少し上にあがる */
  .home .l-header__gnav .c-gnav > li:nth-child(4) > a:hover {
    transform: translateY(clamp(-14px, -1vw, -8px));
  }
}
.home .l-header__gnav .c-gnav>li>a:after{
		  background:none!important;
}


/*===================== ▼目次デザイン▼ =====================*/
#main_content .p-toc {
  background-color: #f7efdb; /* 背景色 */
  border: none;
  padding: 2em;
  position: relative;
  margin: 4.3em auto 4em auto;
  font-weight: bold;
  border-radius:15px;
}
#main_content .p-toc .p-toc__ttl {
  color: #f9b572; /* タイトルの文字色 */
  border: none;
  text-align: center;
  font-size: 2.3em;
  position: absolute;
  display: block;
  padding: 0;
  margin: 0;
  top: -0.5em;
  left: 50%;
  transform: translateX(-50%);
}
#main_content .p-toc .p-toc__ttl:before {
  display: none;
}
.p-toc ol.is-style-index > li:before {
  font: var(--fa-font-solid);
  content: "\f7b6"; /* アイコンのUnicode */
	color:#ef9643;
}
.p-toc ol.is-style-index ol > li::before {
  content: "・";
  border: none;
  padding: 0;
	color:#ef9643;
}
.p-toc ol.is-style-index > li:before,
.p-toc ol.is-style-index ol > li::before {
  border: none;
  padding: 0;
}

/*===================== ▼TOPタグリスト▼ =====================*/
/* タグ pill 全体の並び */
.yldk-tagPills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;          /* 行内・縦のすき間 */
}

/* 各タグ pill */
.yldk-tagPills__item {
  display: inline-flex;
  align-items: center!important;
  justify-content: center;
  padding: 4px 12px;
  border:solid 2px #EEA649;
  border-radius: 999px;   /* 角丸で pill 形状に */
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  color: #808080;
  background-color: #fff;
  transition: background-color .2s ease, color .2s ease, transform .1s ease;
}

/* ホバー時 */
.yldk-tagPills__item:hover {
  background-color: #EEA649;
  color: #fff;
  transform: translateY(-1px);
}

/* スマホ向けに少し小さく */
@media (max-width: 768px) {
  .yldk-tagPills__item {
    font-size: 12px;
    padding: 3px 10px;
  }
}

.wp-block-search__input{
	background:#FFF!important;
	border-radius: 999px; 
	padding:1em 2em;
}
.wp-block-search__button{
	background:#EEA649!important;
	border-radius: 999px; 
	color:#FFF;
	padding:1em 2em;
}



/*===================== ▼お問い合わせ▼ =====================*/
/* CONTACT フルワイドカラム全体をリンクにする */
#contact_btn {
  position: relative;
}

/* 中に入れたオーバーレイリンクをカラム全体に広げる */
#contact_btn .contact-btn-overlay {
  position: absolute;
  inset: 0;              /* top:0; right:0; bottom:0; left:0 と同じ */
  display: block;
  z-index: 10;           /* 中身より前面にしてクリックを拾う */
}

/* 見た目用（お好みで） */
#contact_btn .contact-btn-overlay {
  cursor: pointer;
}


.cf-area {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 2em 0;
	border-bottom: 1px dashed #ccc;
	transition: all .3s;
}

.cf-area:last-child {
	border-bottom: none;
}

.cf-area dt {
  width: 200px;
  padding-right: 30px;
  text-align: right;
	line-height:1.5em;
}

.cf-area dd {
    flex: 1;
}

.cf-area input, .cf-area textarea {
  width: 100%;
  padding: 0.8em;
  border: none;
  background-color: #e6e6e6;
  font-size: 16px;
	resize: vertical;
	transition: all .3s;
}

.cf-area input:focus,.cf-area textarea:focus {
	outline: none;
	background: #dde2e9;
}

.cf-required {
	background: #ed5053;
	color: #fff;
	font-size: 0.8em;
	padding: .3em .5em;
	border-radius: 2px
}
.cf-optional {
	background: #617f88;
	color: #fff;
	font-size: 0.8em;
	padding:.3em .5em;
	border-radius: 2px
}

.cf-send input {
	display: block;
	background: #6aa48d;
	width: 300px;
	height: 60px;
	margin: 30px auto 0;
	border: none;
	border-radius: 999px;
	color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	font-size: 1.3em;
	font-weight: bold;
	transition: all .3s;
}

.cf-send input:hover {
	transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	background-color: #fce3e3;
	border: none;
	text-align: center;
}

@media screen and (max-width:768px){

	.cf-area {
		display: block;
	}

	.cf-area dt {
    width: 100%;
		margin-bottom: 5px;
    padding-right: 0;
    text-align: left;
		line-height:1.5em;
	}
}


.form_kome-text{
 color:#008080	;
 text-align:center;
 font-size:0.8em;
margin-top:2em;
}

/*===================== ▼ホバーアニメ1▼ =====================*/
.hover1 {
  /* 初期設定: アニメーションの対象となるプロパティと時間を指定 */
  /* transform（拡大・縮小）とopacity（透明度）にトランジションを適用 */
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;

  /* 視覚的な変化のために、少し透明度を下げておく */
  opacity: 0.9;
}

.hover1:hover {
  /* ホバー時の状態: 1.1倍に拡大 */
  transform: scale(1.1);

  /* ホバー時は完全に不透明に */
  opacity: 1;

  /* z-indexを上げて、他の要素の上に浮き上がって見えるようにする（オプション） */
  z-index: 10;
}


/*===================== ▼その他▼ =====================*/

/* ページTOPボタン位置調整 */
.p-fixBtnWrap {
	right:3.3em!important;
}

.single-post .post_content h2{
	background-color:#dda34b;
	color:#FFF;
	padding:1em 1.1em;
	border-radius:5px;
}
.single-post .post_content{
	max-width:868px;
	margin:auto;
}
.kotp h2{
	background-color:#dda34b;
	color:#FFF;
	padding:1em 1.1em;
	border-radius:5px;
}
.kotp{
	padding:0 2em;
}

.foot_col a{
	text-decoration: none;
}

.grecaptcha-badge {
	visibility: hidden;
}