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

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

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
.new-entry-card-date {
  display: block;
}
/**************************************
複数の固定ページの日付を非表示にする、おまじない
*************************************/
.post-10 .date-tags,
.post-18 .date-tags,
.post-1948 .date-tags,
.post-6 .date-tags,
.post-3211 .date-tags,
.post-3239 .date-tags,
.post-212 .date-tags,
.post-2512 .date-tags,
.post-3159 .date-tags,
.post-3470 .date-tags,
.post-3473 .date-tags,
.post-14 .date-tags {
display: none;
}


/******************表のデザインを変更*******************/
/*--- ヘッダーセル(th) ---*/
.entry-content th {
    padding: 1.5em 0.8em; /* 余白（上下　左右） */
    text-align: center;
	color: #fff;
	border-bottom:2px dotted #DED1C0;
	background-color: #DED1C0;
	width: 20%;
}
/*--- ヘッダーセル以外のセル(td) ---*/
.entry-content td {
    padding: 1.5em 0.8em; /* 余白（上下　左右） */
border:1px solid white;
	border-bottom:2px dotted #DED1C0;
	background-color: #fff;
}


/*スマホのサイドバーメニューを左から右に表示*/
.navi-menu-content {
  left: auto;
  right: 0;
  transform: translateX(105%);
}
/* ↓↓ナビゲーションメニュー、サイドバーの×ボタン */
.menu-close-button {
  margin-right: 8%;
  text-align: right;
  color: #999999;
  opacity: 0.7;
}
/******************スマホヘッタロゴの位置を変更*******************/
@media screen and (max-width: 480px){
.logo-menu-button img {
	/*height: 45px !important;
		margin: .5em auto;	*/
	padding: 2px 0px 2px 40px;
	}
}
/******************見出しh1のデザインを変更*******************/
h1.entry-title {
color: #42210B;
text-align: center;	
padding: 20px 20px 160px 30px;  /*余白*/	
background-image: url(https://umya-yakisoba.com/gmen/wp-content/uploads/2023/01/h1.jpg);
background-size:cover;
background-position:center center;
height: 200px;
width: 100%; 
display: inline-block;
}
/******************見出しh2～h4のデザインをリセット*******************/
/*H2 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}

/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}


/******************見出しh2のデザインを変更*******************/
.article h2 { /*基本デザイン*/
 font-size: 28px;  /*フォントサイズ*/
 color: #fff;
padding: 20px 20px 20px 90px;
	background-image: url(https://umya-yakisoba.com/gmen/wp-content/uploads/2023/01/h2.jpg);
	background-repeat:no-repeat;
	background-position:left;
  background-color: #ED6907;
}

/******************見出しh3のデザインを変更*******************/
.article h3 { /*基本デザイン*/
  color: #643D28;/*文字色*/
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #DED1C0;/*上線*/
  border-bottom: solid 3px #DED1C0;/*下線*/
}

/******************見出しh4のデザインを変更*******************/
.article h4 { /*基本デザイン*/
 font-size: 20px;  /*フォントサイズ*/
 color: #fff;/*文字色*/
  background: #F29600;/*背景色*/
  padding: 0.5em;/*文字周りの余白*/
  border-radius: 0.5em;/*角丸*/
border:none;	
}

/******************投稿カテゴリページh1デザインを変更*******************/
.archive-title {
color: #42210B;
text-align: center;	
padding: 80px 20px 100px 30px;  /*余白*/	
background-image: url(https://umya-yakisoba.com/gmen/wp-content/uploads/2023/01/h1.jpg);
background-size:cover;
background-position:center center;
height: 200px;
width: 100%; 
display: inline-block;
}
.archive-title span {
	display:none;
}

/******************コンタクトフォーム7　送信ボタンのカスタマイズ*******************/
.form-btn {
	text-align: center;
}
input.wpcf7-submit {
padding:1em !important;/* ボタン内の余白 */
margin:2em 0em !important;/* ボタンの上下の余白 */
background-color: #e75a24 !important;/* 背景の色 */
border-radius: 5px !important;/* 角を丸く*/
color: #fff !important;/* 文字の色*/
font-size: 18px !important;/* 文字の大きさ */
font-weight: bold !important;/* 文字の太さ*/
width: 50%;/* ボタンの横幅*/
}



/* ***************** お店一覧ページ ****************** */
.p-shopList {
  text-align: center;
  display: -webkit-box; /*Android4.3*/
  display: -moz-box;    /*Firefox21*/
  display: -ms-flexbox; /*IE10*/
  display: -webkit-flex; /*PC-Safari,iOS8.4*/
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  }
.p-shopList > * {
  display: block;
  box-sizing: border-box;
  width: 25%;
  padding: 20px 10px;
  text-align: center;
  text-decoration: none;
  color: #000;
  }
  @media print, screen and (min-width: 768px) {
    .p-shopList > *:hover {
      background-color: #F5F8FA;
      }
  }
  @media screen and (max-width: 767px) {
  .p-shopList > * {
    width: 50%;
    margin: 0 auto 20px;
    }
    .p-shopList::after {
      content: "";
      display: block;
      width: 50%;
      height: 0;
      }
  }

.p-shopthumb-ph {
  width: 100%;
  max-width: 150px;
  height: 150px;
  margin: 0 auto;
  }
.p-shopthumb-ph-no {
  width: 100%;
  max-width: 150px;
  height: 150px;
  margin: 0 auto;
  background-color: #c7c7c7!important;
  display: -webkit-box!important;
  display: -moz-box!important;
  display: -ms-flexbox!important;
  display: -webkit-flex!important;
  display: flex!important;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  }


.p-shopthumb-text h2 {
  font-size: 1em;
  margin-top: 5px;
  }
.p-shopthumb-text p {
  font-size: 0.9em;
  }


/* ***************** お店詳細ページ ****************** */
.p-shopPh {
  display: -webkit-box; /*Android4.3*/
  display: -moz-box;    /*Firefox21*/
  display: -ms-flexbox; /*IE10*/
  display: -webkit-flex; /*PC-Safari,iOS8.4*/
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
	margin-bottom: 10px;
  }
.p-shopPh > * {
  width: 48%;
  text-align: center;
  }
.p-shopPh.p-shopPhsub > * {
  width: 32%;
  text-align: center;
  }
  @media screen and (max-width: 767px) {
  .p-shopPh > * {
    width: 90%;
    margin: 0 auto 20px;
    }
  }

.p-shopPhYoko {
  width: 100%;          /* 親要素に合わせて伸縮 */
  aspect-ratio: 4 / 3;  /* 常に 4:3 */
  overflow: hidden;
}

.p-shopPhYoko img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* 枠いっぱいに表示（トリミングあり） */
}


/*
    .p-shopPhYoko {
      position: relative;
      display: block;
      width: 100%;
      padding-top: 75%;
      }
    .p-shopPhYoko img{
      position: absolute;
      display: block;
      width: 100%;
      height: 100%;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      margin: auto;
      }
*/

	.p-shopOwner {
    display: -webkit-flex;
    display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-justify-content: center;
		justify-content: center;
    margin-bottom: 30px;
    gap: 20px 2%;
		}
    .p-shopOwner > figure {
      display: inline-block;
      }
	@media print, screen and (min-width: 768px) {
    .p-shopOwner > div  {
      flex: 1;
      }
    .p-shopOwner > figure  {
			max-width: 300px;
			padding-top: 10px;
      }
	}
	@media (max-width: 767px) {
    .p-shopOwner > figure {
      max-width: 70%;
      margin-left: auto;
      margin-right: auto;
			order: 1;
      }
    .p-shopOwner > div {
			order: 2;
      }
	}


dl.p-shopDetails {
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
	flex-wrap: wrap;
	align-items: stretch;	
	width: 100%;
	border: 1px solid #ccc;
	border-bottom: none;
  }
dl.p-shopDetails dt{
	background: #f5f5f5;
	padding: 5px;
	width: 200px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
  }
dl.p-shopDetails dd{
	background: #fff;
	padding: 5px;
	width: calc(100% - 200px);
	border-bottom: 1px solid #ccc;
  }
  @media screen and (max-width: 767px) {
    dl.p-shopDetails dt{ 
      width: 100%;
      border-right: none;
      }
    dl.p-shopDetails dd{
      width: 100%; 
      }
  }


.p-shopmap {
  text-align: center;
  margin-top: 30px;
  }
  .p-shopmap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    }
  .p-shopmap iframe,
  .p-shopmap object,
  .p-shopmap embed {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
    }
@media print, screen and (min-width: 768px) {
}
@media (max-width: 767px) {
  .p-shopmap{
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    }
  .p-shopmap iframe,
  .p-shopmap object,
  .p-shopmap embed {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
    }
}


.p-pager {
  margin: 50px auto 20px;
  width: 250px;
  }
	.p-pager:after {
		content: " ";
		display: block;
		clear: both;
		}

.p-pager > * a {
  background-color: #E75A24;
  padding: 8px;
  display: inline-block;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  		-webkit-border-radius: 8px;
			 -moz-border-radius: 8px;
						border-radius: 8px;
				-ms-border-radius: 8px;
  }
.p-pager .p-next {
  float: right;
  }
.p-pager .p-previous {
  float: left;
  }
  
 /**************************************
 * 「戻る」ボタン下余白
 ************************************/
.p-button-area {
	text-align: center;
}
.p-button-area input[type='submit'] {
	width: 16em !important;
	margin-bottom: 1em;
	margin-left: auto;
	margin-right: auto;
	font-size: 100% !important;
	padding: 15px !important;
}
.p-button-area input[type='submit'],
#bbp_reply_submit,{
	display:inline-block;	
} 


