/* ------------------------------
 背景画像の調整
------------------------------ */
.show\@pc {
  display: block;
}

.hide\@pc {
  display: none;
}

@media (max-width: 767px) {
  .show\@tb {
    display: block;
  }

  .hide\@tb {
    display: none;
  }
  
  .hide\@pc {
    display: block;
  }  
}

/* ------------------------------
 背景画像の調整
------------------------------ */
.bg-parent {
  position: relative;
}

.bg-content {
  position: relative;
  z-index: 1;
}

.bg-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.bg-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
}

.background-container{
  position: relative;
}

.background-container .background-image{
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.background-container .content{
  position: relative;
  z-index: 2;
}

/* ------------------------------
 画像の調整
------------------------------ */
.imgwrap01{
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  height: 310px;
}

.imgwrap02{
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  height: 332px;
}

.imgwrap04{
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  height: 278px;
}

.imgwrap05{
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  height: 189px;
}

.imgwrap06{
  display: block;
  width: 378px;
  height: 378px;
  border-radius: 100%;
  overflow: hidden;
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.imgwrap07{
  display: block;
  width: 352px;
  height: 428px;
  position: absolute;
  top: 134px;
  left: 35px;
  z-index: 1;
}

.imgwrap08{
  display: block;
  width: 407px;
  height: 572px;
  position: absolute;
  top: 101px;
  right: 0;
  z-index: 1;
}


@media(max-width:767px) {
.imgwrap06{
  width: 150px;
  height: 150px;
  top: -75px;
}

.imgwrap07{
  width: 176px;
  height: 214px;
  top: 30px;
  left: 10px;
}

.imgwrap08{
  width: 204px;
  height: 286px;
  top: auto;
  bottom: 0;
}
}

/* ------------------------------
 アレルギー成分表
------------------------------ */
.allergen-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #FF9933;
  font-family: sans-serif;
  font-size: 16px;
  table-layout: fixed;
}

.allergen-table td {
  border: 1px solid #FF9933;
  padding: 12px 8px;
  text-align: center;
  color: #FF9933;
  background-color: #ffffff;
  font-size: 12px;
}

.allergen-table td.allergens-item {
  background-color: #FF9933;
  color: #fff;
}

@media (max-width: 767px) {
.allergen-table td {
  font-size: 10px;
}
}

.mt1em{
  margin-top: 1em;
}

/* ------------------------------
 レシピぺージ（一覧・詳細）
------------------------------ */
.newtitle01{
  /* clamp 375px 24px 2000px 32px */
  font-size: clamp(1.5rem, 1.3846rem + 0.4923vw, 2rem);
  margin-bottom: 1em;
  padding-bottom: 1em;
  font-weight: 700;
  color: #666666;
  border-bottom: 3px solid #ff9933;
  letter-spacing: 0.1em;
}

.newtitle02{
  /* clamp 375px 20px 2000px 24px */
  font-size: clamp(1.25rem, 1.1923rem + 0.2462vw, 1.5rem);
  padding-top: 1em;
  padding-bottom: 1em;
  font-weight: 700;
  color: #ff9933;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.newtitle03{
  font-size: 16px;
  padding-bottom: 1em;
  border-bottom: 1px solid #ffc857;
  margin-bottom: 2em;
  color: #ffc857;
  line-height: 1.5;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.newtitle03::before{
  content: "";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-image: url('/upload/tenant_1/icon_product.webp');
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 0.5em;
}

.newtitle04{
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 1.5em;
  display: flex;
  align-items: center;  
}

.newtitle04::before{
  content: "";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-image: url('/upload/tenant_1/icon_product.webp');
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 0.5em;
}

.newtitle04.-ver02::before{
  background-image: url('/upload/tenant_1/icon_aside_spoon.webp');
}

.newtitle05{
  color: #ff9933;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 0.5em;
}

.newtitle06{
  font-size: 16px;
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}

.newtitle06::before{
  content: "";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-image: url('/upload/tenant_1/icon_product.webp');
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 0.5em;
}

.newtitle07{
  /* clamp 375px 18px 2000px 24px */
  font-size: clamp(1.125rem, 1.0385rem + 0.3692vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.5em;
  margin-top: 1em;
  border-left: 3px solid #ff9933;
  padding-left: 1em;
}

.newtitle07.-mb1em{
  margin-bottom: 1em;
}

.newtitle08{
  /* clamp 375px 18px 2000px 24px */
  font-size: clamp(1.125rem, 1.0385rem + 0.3692vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.5em;
  margin-top: 1em;
  background-color: #ffc857;
  color: #fff;
  text-align: center;
}

.newbtn01{
  width: fit-content;
}

.newbtn01 a{
  display: block;
  border: 1px solid #ff9933;
  color: #ff9933;
  font-size: 1.5em;
  line-height: 1.5;
  padding: 0.8em;
  font-weight: 700;
  text-decoration: none;
  max-width: 100% !important;
  height: 100%;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.newbtn01 a::after{
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url('/upload/tenant_1/icon_newwindow.webp');
  background-position: center;
  background-repeat: no-repeat;
  margin-left: 0.5em;
}

.newbtn01 a:hover{
  background-color: #ff9933;
  color: #fff;
}

.newbtn01 a:hover::after{
  background-image: url('/upload/tenant_1/icon_newwindow_on.webp');
}

.newbtn01.-small a{
  font-size: 1.25em;
}

.newbtnwrap{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newbtnwrap>.newbtn01{
  width: calc((100% - 20px) / 3);
}

@media (max-width: 767px) {
.newbtnwrap>.newbtn01{
  width: 100%;
}
}

.newsection{
  padding: 100px 0;
}

.newsection .inner{
  width: 96%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.recipe-container{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.recipe-container .left{
  width: 70%;
}

.recipe-container .right{
  width: 25%;
}

.categorywrap+.categorywrap{
  margin-top: 80px;
}

@media (max-width: 767px) {
.newsection{
  padding: 50px 0;
}
  
.recipe-container .left{
  width: 100%;
}

.recipe-container .right{
  width: 100%;
  margin-top: 80px;
}
}

/* list-recipe */
.list-recipe li{
  padding-bottom: 30px;
  border-bottom: 1px solid #dddddd;
}

.list-recipe li+li{
  margin-top: 30px;
}

.list-recipe li .list-inner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.list-recipe li .list-inner .imgwrap{
  width: 25%;
}

.list-recipe li .list-inner .contentwrap{
  width: 70%;
}

.list-recipe li .list-inner .contentwrap .comment{
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 1em;
}

@media (max-width: 767px) {
.list-recipe li .list-inner .imgwrap{
  width: 100%;
}

.list-recipe li .list-inner .contentwrap{
  width: 100%;
}  
}

/* list-latest-recipe */
.list-latest-recipe li{
  padding-bottom: 30px;
  border-bottom: 1px solid #dddddd;
}

.list-latest-recipe li+li{
  margin-top: 30px;
}

.list-latest-recipe li .list-inner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.list-latest-recipe li .list-inner .imgwrap{
  width: 25%;
}

.list-latest-recipe li .list-inner .contentwrap{
  width: 70%;
}

/* list-category */
.category-parent{
  color: #ff9933;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 2;
  margin: 1em 0;
}

.list-category li a{
  color: #ff9933;
  font-size: 1.5em;
  text-decoration: none;
  font-weight: 500;
  line-height: 2;
  display: flex;
  align-items: center;
}

.list-category li a::before{
  font-size: 0.5em;
  content: "∟";
  color: #ff9933;
  margin-right: 0.5em;
}

/* list-howtomake */
.list-howtomake li {
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid #dddddd;
  padding-bottom: 1em;
}

.list-howtomake li::before {
  content: "01.";
}

.list-howtomake li:nth-child(2)::before {
  content: "02.";
}

.list-howtomake li:nth-child(3)::before {
  content: "03.";
}

.list-howtomake li:nth-child(4)::before {
  content: "04.";
}

.list-howtomake li:nth-child(5)::before {
  content: "05.";
}

.list-howtomake li:nth-child(6)::before {
  content: "06.";
}

.list-howtomake li:nth-child(7)::before {
  content: "07.";
}

.list-howtomake li:nth-child(8)::before {
  content: "08.";
}

.list-howtomake li:nth-child(9)::before {
  content: "09.";
}

.list-howtomake li:nth-child(10)::before {
  content: "10.";
}

.list-howtomake li:nth-child(11)::before {
  content: "11.";
}

.list-howtomake li:nth-child(12)::before {
  content: "12.";
}

.list-howtomake li:nth-child(13)::before {
  content: "13.";
}

.list-howtomake li:nth-child(14)::before {
  content: "14.";
}

.list-howtomake li:nth-child(15)::before {
  content: "15.";
}

.list-howtomake li+li {
  margin-top: 1em;
}

.list-howtomake li::marker {
  font-weight: bold;
}

/* pagenation */
.newpager{
  margin-top: 50px;
}

.pagenation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.pagenation li {
  width: 50px;
  height: 50px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 10px;
}

.pagenation li a,
.pagenation li .now {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 16px;
  color: #333333;
  text-align: center;
  border: 1px solid #dddddd;
}

.pagenation li.prev a::before,
.pagenation li.next a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #473d2f;
}

.pagenation li.prev a::before {
  content: "\f104";
}

.pagenation li a:hover{
  text-decoration: none;
  background-color: #ff9933;
  color: #fff;
}

.pagenation li.prev a:hover::before,
.pagenation li.next a:hover::before {
  color: #fff;
}

@media (max-width: 767px) {
.pagenation {
  justify-content: center;
}
}

/* recipe-detail-container */
.recipe-detail-container .cookingtime{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #ffc857;
  margin-top: 1em;
}

.recipe-detail-container .cookingtime::before{
  content: "\f2f2";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.25em;
  width: 1.5em;
  height: 1.5em;
  background-color: #ffc857;
  color: #fff;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.recipe-detail-container .product-thumbnail{
  width: 30%;
}

.recipe-detail-container .product-thumbnail a{
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.recipe-detail-container .product-thumbnail .product-name{
  font-size: 16px;
  color: #ff9933;
  margin-top: 0.5em;
}

.recipe-detail-container .text{
  font-size: 16px;
  line-height: 1.5;
}

.recipe-detail-container .youtube{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.recipe-detail-container .youtube .youtube-item{
  width: calc((100% - 10px) / 2);
}

.recipe-detail-container .youtube iframe {
  max-width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  margin: 1em 0;
}

@media(max-width:767px) {
.recipe-detail-container .youtube .youtube-item{
  width: 100%;
}    
}

/* material-table */
.material-table-wrap{
  padding: 50px;
  background-color: #FFFBE8;
}

.material-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  color: #333;
  font-size: 16px;
}

.material-table tbody tr {
  border-bottom: 1px dotted #dddddd;
}

.material-table tbody tr:last-child {
  border-bottom: none;
}

.material-table tbody td {
  padding: 14px 5px;
  vertical-align: top;
}

.material-table tbody td:first-child {
  text-align: left;
}

.material-table tbody td:last-child {
  text-align: right;
  white-space: nowrap;
}

@media(max-width:767px){
.material-table-wrap{
  padding: 10px;
}   
}

/* ------------------------------
 見たまま編集画面用
------------------------------ */

[data-element-id]#M_slider {
    border: solid 5px blue;
}

[data-element-id]#M_slider:before {
    display: block;
    content: "スライダー";
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    background: blue;
    padding: 5px;
    text-align: center;
}

[data-element-id]#M_slider li {
    display: block !important;
}

[data-element-id].header {
  height: auto;
  position: relative;
}

[data-element-id].hide\@pc {
  display: block;
}

[data-element-id].background-container .background-image.hide\@pc {
  position: relative;
  max-width: 767px;
  margin: 0 auto;
  border: 2px solid #000;
}

[data-element-id].background-container .background-image.hide\@pc::before {
  content: "モバイル用背景画像";
  width: 100%;
  background-color: #000;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 1em 0;
}

[data-element-id].imgwrap03 .sp-only-block {
  display: block;
}

[data-element-id].imgwrap03{
  position: relative;
  max-width: 767px;
  margin: 0 auto;
  border: 2px solid #000;
}

[data-element-id].imgwrap03::before {
  content: "モバイル用画像";
  width: 100%;
  background-color: #000;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 1em 0; 
}
