@charset "UTF-8";
/* CSS Document */

/* --- 担当者おすすめエリア --- */
.recommend_area {
  padding: 20px 0;
  margin-top: 40px;
}
.special .flex li img {
    max-width: 100%;
    width: auto;
}

/* 2重の枠線ボックス */
.recommend_box_double {
  border-radius: 20px;
  padding: 50px 100px 40px; /* 上部はバッジとタイトル用に広めに */
  margin: 20px auto 0; /* バッジがはみ出す分を下げる */
  width: 96%;
  position: relative;        /* 疑似要素の基準点 */
  border: 1px solid #999999; /* 外側の線（太さ1px） */
  background: #ffffff;
}

/* 疑似要素（内枠を担当） */
.recommend_box_double::before {
  content: "";
  display: block;
  position: absolute;
  /* 線の間隔（ここで広さを調整できます） */
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  
  border: 1px solid #999999; /* 内側の線（太さ1px） */
  
  /* 内側の角丸：親のradius(20px) - 間隔(4px) = 16px くらいが綺麗です */
  border-radius: 16px; 
  
  pointer-events: none; /* マウス操作を邪魔しないようにする */
}

/* 左上の吹き出し画像 */
.badge_img {
  position: absolute;
  top: -59px; /* 枠線の上に飛び出させる */
  left: -25px;
  width: auto; /* 画像サイズに合わせて調整 */
  z-index: 10;
}
.badge_img img {
  width: 100%;
  height: auto;
   /* 画像に合わせて少し傾ける調整（必要であれば） */
}

/* タイトルエリア */
.rec_header h3 {
    margin-bottom: 2em;
}
.rec_header .main_ttl_img img {
  max-width: 100%;
  height: auto;
  width: auto; /* 画像サイズに合わせて調整 */
}

/* チャート画像 */
/* --- チャート部分の4列レイアウト --- */
.rec_chart_row {
  display: flex;
  justify-content: space-between; /* 均等配置 */
  gap: 10px;                      /* 画像間の余白 */
  margin-bottom: 30px;
}

.chart_item {
  width: 23%; /* (100% / 4) - 余白分を考慮 */
}

.chart_item img {
  width: 100%;
  height: auto;
  display: block;
}
.special .special_items_list .flex {
  justify-content: center;
}
.special .special_items_list h3 {
    margin: 0 auto 1.3rem;
}
/* スマホ対応：必要に応じて2列などで折り返す */
@media screen and (max-width: 768px) {
  .rec_chart_row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .chart_item {
    width: calc(50% - 5px); /* 2列表示 */
    margin-bottom: 10px;
  }
}

/* 箇条書きリスト */
.rec_point_list {
   /* 背景色（任意） */
  padding: 20px;
  border-radius: 10px;
}
.rec_point_list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 14px;
  padding-left: 1.5em;
  text-indent: -1.5em;
  font-weight: 400;
}
.rec_point_list li .icon-cup {
  margin-right: 5px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .recommend_box_double {
    padding: 40px 15px 20px;
  }
  .badge_img {
    width: 140px;
    top: -20px;
    left: -10px;
  }
}

/* ====================================================
   CHECK SECTION (Layout Porting)
   ==================================================== */

/* フォント読み込み用（HTMLのhead内に記述がない場合のみ必要） */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500&display=swap');

#check {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  color: #675f57;
  background-image: url(https://gigaplus.makeshop.jp/ecafesp/img/plastic_free_cup/check_bg.png);
  padding: 4rem 4rem 3rem;
  background-position: center;
  background-size: 1.3rem;
  box-sizing: border-box; /* レイアウト崩れ防止 */
  margin-bottom: 5rem;
}

/* Flex Utility (common.cssにある場合は削除可) */
#check .flex {
  display: flex;
}

/* --- List Items --- */
#check .check__list {
  flex-direction: column;
  row-gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

#check .check__list_item {
  position: relative;
  padding-bottom: 1rem;
  align-items: center; /* 垂直中央揃え */
  justify-content: flex-start;
}

/* 偶数番目のアイテムを左右反転（ジグザグ配置） */
#check .check__list_item:nth-child(even) {
  flex-direction: row-reverse;
  margin-top: -11rem;
}

/* 背景画像の位置調整 */
#check .check__list_item_card_bg {
  position: absolute;
  bottom: 0;
  z-index: 0;
}
/* 奇数番目：右下 */
#check .check__list_item:nth-child(odd) .check__list_item_card_bg {
  left: 20rem;
}
/* 偶数番目：左下 */
#check .check__list_item:nth-child(even) .check__list_item_card_bg {
  left: 25rem;
}

/* イラストの位置調整 */
#check .check__list_item_card_illust {
  position: absolute;
  z-index: 2; /* カードより上 */
}
#check .check__list_item:nth-child(odd) .check__list_item_card_illust {
  right: 2rem;
  top: 4.4rem;
}
#check .check__list_item:nth-child(even) .check__list_item_card_illust {
  left: 0;
  top: 10.8rem;
}

/* --- Card Style --- */
#check .check__list_item_card {
  width: 33.6%;
  border-radius: 2.5rem;
  border: 1px solid #675f57;
  position: relative;
  z-index: 1;
  /* background: #fff; */ /* 背景色明示 */
}

#check .check__list_item_card_inner {
  margin: 1rem;
  background-color: #e6dcd2;
  border-radius: 2rem;
  display: flex;
  padding: 2.3rem 1.5rem;
  flex-direction: column;
  row-gap: 1.5rem;
}

#check .check__list_item_card_title {
  margin: 0;
}
#check .check__list_item_card_title_image,
#check .check__list_item_card_border {
  width: 100%;
  height: auto;
  display: block;
}

#check .check__list_item_card_text {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.9375;
  margin-top: -0.4em;
  text-align: justify; /* 両端揃え（任意） */
  font-weight: 400;
}

/* --- Recommend Section --- */
#check .check__recommend {
  border-radius: 3rem;
  border: 1px solid #675f57;
  background: #f7f7f7;
  margin-top: 8.6rem;
  position: relative;
}

#check .check__recommend_inner {
  border-radius: 2.5rem;
  border: 1px solid #675f57;
  margin: 1rem;
  padding: 3.6rem 2rem 3rem;
}

#check .check__recommend_title {
  text-align: center;
  margin-bottom: 2.6rem;
}
#check .check__recommend_title_image {
  max-width: 100%;
  height: auto;
}

#check .check__recommend_tag {
  width: 20rem;
  position: absolute;
  top: -2.6rem;
  left: 3rem;
}

#check .check__recommend_list {
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

#check .check__recommend_list_item {
  width: 23%; /* 4列並び */
}
#check .check__recommend_list_item_image {
  width: 100%;
  height: auto;
  display: block;
}

#check .check__recommend_note_list {
  flex-direction: column;
  margin-top: 2.4rem;
  list-style: none;
  padding: 0;
}

#check .check__recommend_note_list_item {
  background-image: url(https://gigaplus.makeshop.jp/ecafesp/img/plastic_free_cup/check_recommend_note_list_item_icon.svg);
  background-repeat: no-repeat;
  background-position: left top 0.5em;
  padding-left: 1.8em;
  font-weight: 500;
  line-height: 1.8;
  font-size: 1.4rem;
  background-size: 1.6rem;
  margin-bottom: 0.5em;
}

/* --- SP Responsive (max-width: 767px) --- */
@media screen and (max-width: 767px) {
  #check {
    padding: 5vw 4% 10vw;
  }

  /* リストアイテムの縦積み */
  #check .check__list_item,
  #check .check__list_item:nth-child(even) {
    flex-direction: column;
    row-gap: 12vw;
    margin-top: 0rem;
  }

  /* カード幅調整 */
  #check .check__list_item_card {
    width: 100%;
  }

  #check .check__list_item_card_border {
    width: 100%;
  }

  /* 背景画像の調整 */
  #check .check__list_item_card_bg {
    position: static; /* 絶対配置解除 */
    width: 100%;
    margin-top: -20px; /* 少し重ねる調整 */
  }

  #check .check__list_item_card_title_image {
    width: 100%;
  }

  /* イラスト非表示（クラスで制御されている場合は不要） */
  .pc_display {
    display: none;
  }

  /* レコメンドエリアのSP調整 */
  #check .check__recommend {
    margin-top: 14vw;
  }

  #check .check__recommend_tag {
    top: -8vw;
    left: 2vw;
    width: 52vw;
  }

  #check .check__recommend_title_image {
    width: 100%;
  }

  #check .check__recommend_list {
    flex-wrap: wrap;
    row-gap: 2.6vw;
  }

  #check .check__recommend_list_item {
    width: 48%; /* 2列表示 */
  }

  #check .check__recommend_list_item_image {
    width: 100%;
  }
}