@charset "UTF-8";
/*==================================
      レスポンシブ設定 マップ型変数breakpointsを定義
      =================================*/
/*==================================
      # 色、フォントファミリー
      =================================*/
/*==================================
      common(一般) - 全体に共通するスタイル
      =================================*/
@media screen and (max-width: 767px) {
  .is-pc {
    display: none !important;
  }
  .bl-sp {
    display: block !important;
  }
}

@media screen and (min-width: 768px) {
  .is-sp {
    display: none !important;
  }
  .bl-sp {
    display: none !important;
  }
}

@media screen and (min-width: 768px) {
  .page-category {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-category ul li .text {
    font-size: 18px;
  }
  .page-category ul li,
  .topRecipe ul li {
    width: calc(50% - 60px * 1 / 2);
    margin-right: 60px;
  }
  .page-category ul li:nth-child(3n),
  .topRecipe ul li:nth-child(3n) {
    margin-right: 60px;
  }
  .page-category ul li:nth-child(2n),
  .topRecipe ul li:nth-child(2n) {
    margin-right: 0;
  }
  .page-category ul li:nth-child(n + 4),
  .topRecipe ul li:nth-child(n + 4) {
    margin-top: 0;
  }
  .page-category ul li:nth-child(n + 3),
  .topRecipe ul li:nth-child(n + 3) {
    margin-top: 60px;
  }
  .page-category ul li .img .info,
  .topRecipe ul li .img .info {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .topNews ul li,
  .topRecipe ul li {
    width: calc(50% - 15px* 1 / 2);
    margin-right: 15px;
  }
}

.voice .flex2 {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
  .voice .flex2 .img {
    width: calc(25% - 10px * 3 / 4);
  }
  .voice .flex2 .img:nth-child(4n) {
    margin-right: 0;
  }
  .voice .flex2 .img:nth-child(n + 5) {
    margin-top: 20px;
  }
}

@media screen and (max-width: 767px) {
  .voice .flex2 .img {
    width: calc(50% - 10px * 1 / 2);
    margin-right: 10px !important;
  }
  .voice .flex2 .img:nth-child(2n) {
    margin-right: 0 !important;
  }
  .voice .flex2 .img:nth-child(n + 3) {
    margin-top: 20px;
  }
}

.voice .flex2:nth-child(n +2) {
  margin-top: 0;
}

/* モーダル内の「前へ」「次へ」ボタンのスタイル */
#prev-btn, #next-btn {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  /* 背景を少し濃く */
  color: white;
  border: none;
  font-size: 40px;
  /* ボタンを大きく */
  padding: 15px;
  /* パディングを大きく */
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  /* 丸くする */
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background-color 0.3s ease, transform 0.3s ease;
  transition: background-color 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}

@media screen and (max-width: 767px) {
  #prev-btn, #next-btn {
    font-size: 14px;
  }
}

/* 左側の前へボタン */
#prev-btn {
  left: 20px;
}

/* 右側の次へボタン */
#next-btn {
  right: 20px;
}

/* ホバー時のエフェクト */
/* モーダル画像の表示位置 */
.modal-content {
  display: block;
  margin: 0 auto;
}

.ga-title2 {
  margin-bottom: 60px;
}

@media screen and (max-width: 767px) {
  .ga-title2 {
    margin-bottom: 30px;
  }
}

@media screen and (min-width: 768px) {
  .common-heading .content {
    max-width: 550px;
  }
  .page-add .flex .item:last-child {
    margin-right: 0 !important;
  }
}

.page-add .flex {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
  .page-add .flex .item:nth-child(n + 4) {
    margin-top: 40px;
  }
}
