﻿@charset "UTF-8";
.p-section {
  padding-bottom: 50px;
}

.hankaku-top {
  margin-top: -0.5em;
}

.hankaku-bottom {
  margin-bottom: -0.5em;
}

.hankaku-left {
  margin-left: -0.5em;
}

.hankaku-right {
  margin-right: -0.5em;
}

.mfp-bg,
.mfp-wrap {
  z-index: 10001 !important;
}

/*------------------------------------
  style.css 上書き（seasoningsのみ適用）
------------------------------------*/
@media screen and (max-width:767px){
  .p-recipe__link {
    min-height: auto;
    font-size: 0.8125rem;
    max-width: 95%;
  }
}

/*------------------------------------
  レシピ popUpページ　.single_recipe
------------------------------------*/
.single_recipe {
  background: #fff url("/assets/img/products/common/ptn_06.png");
}

.single_recipe .wrapper_recipe {
  padding: 7% 7% 5%;
}

.p-recipe__item .single_recipe .wrapper_recipe p {
  margin-bottom: 0;
}

.single_recipe p, .single_recipe li {
  line-height: 1.6;
  text-align: justify;
  /* 両端揃え */
  text-justify: inter-ideograph;
  /* 両端揃えの種類 */
}

.p-recipe__item .modal-container .single_recipe h1 {
  font-size: 23px;
  font-weight: 700 !important;
  color: #6d3b00;
  border: #6d3b00 1px solid;
  padding: 3px 0 !important;
  margin-bottom: 20px !important;
}

.p-recipe__item .modal-container .single_recipe h1 .name {
  padding: 0.5em 0;
  border: #6d3b00 2px solid;
  display: block;
}

.p-recipe__item .modal-container .single_recipe h1, .single_recipe h1 .name {
  border-right: none !important;
  border-left: none !important;
}

.single_recipe .data p {
  font-size: 15px !important;
}

.single_recipe .data .time, .single_recipe .data .cal {
  color: #db4b4b;
  padding-left: 1.3em;
  padding-right: 0.8em;
  display: inline-block;
  font-size: 16px !important;
}

.single_recipe .data .time {
  background: url("/assets/img/products/common/icon_time.png") no-repeat left center;
}

.single_recipe .data .cal {
  background: url("/assets/img/products/common/icon_cal.png") no-repeat left center;
}

.single_recipe .data .ex {
  font-size: 13px !important;
  padding-top: 0.4em;
}

.single_recipe .photo {
  margin: 20px 0;
}

.p-recipe__item .single_recipe .point h2 {
  background: url("/assets/img/products/common/icon_point.png") no-repeat left center/0.8em;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #6d3b00;
  padding: 0.2em 1em !important;
  margin-bottom: 0.2em !important;
}

.single_recipe .point p {
  background: url("/assets/img/products/common/ptn_06_dark2.png");
  padding: 0.8em;
}

/*making*/
.single_recipe .making {
  padding-top: 20px;
}

.p-recipe__item .modal-container .single_recipe .wrapper_recipe .making h2 {
  font-weight: 700 !important;
  color: #db4b4b;
  background: url("/assets/img/products/common/ptn_08.png") repeat-x left bottom;
  font-size: 18px;
  padding-top: 20px !important;
  padding-bottom: 0.6em !important;
  margin-bottom: 0.6em !important;
}

.single_recipe .making .ingredients li::before {
  content: "●";
  padding-right: 0.2em;
}

.single_recipe .making h2::before {
  content: "◆";
  padding-right: 0.2em;
  font-size: 90%;
}

/*------
  大サイズ
 ------*/
/********************************************************

  モーダルPOPUP

*********************************************************/
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
  z-index: 10000;
  overflow-x: hidden;
}

/*モーダル本体の擬似要素の指定*/
.modal-container:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active {
  opacity: 1;
  visibility: visible;
}

/*モーダル枠の指定*/
.modal-body {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 860px;
  width: 90%;
}

/*モーダルを閉じるボタンの指定*/
.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.modal-close:hover, .modal-close2:hover {
  cursor: pointer;
  opacity: 0.5;
}

/*モーダル内のコンテンツの指定*/
.modal-content {
  background: #fff;
  text-align: left;
}

/*------
  大サイズ
 ------*/
/*------
  小サイズ
 ------*/
@media screen and (min-width: 768px){
  .single_recipe .making {
    display: flex;
    justify-content: space-between;
  }

  .single_recipe .making > section {
    width: 48%;
  }

  .single_recipe {
    min-width: 0px;
    max-width: 900px;
  }

  .single_recipe .data {
    float: left;
    width: 48%;
  }

  .single_recipe figure.photo {
    float: right;
    width: 48%;
    margin-top: 0;
  }

  .single_recipe .point {
    float: left;
    width: 48%;
    padding-top: 20px;
  }

  .single_recipe .making {
    clear: both;
  }
  .single_recipe .modal-close2 {
    font-size: 50px;
    text-align: right;
    color: #6d3c02;
    font-weight: normal;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
  }

  .modal-close {
    display: none !important;
  }
}
@media screen and (max-width: 767px){
  .modal-container {
    padding: 40px 0;
  }

  .modal-container:before {
    height: 0;
  }

  /*モーダル枠の指定*/
  .modal-body {
    width: 100%;
  }

  .single_recipe .modal-close2 {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -40px;
    right: 0px;
    width: 40px;
    height: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: normal;
  }
}
@media screen and (max-width:767px){
  .p-section {
    padding-bottom: 40px;
  }
}