@charset "UTF-8";

/* 基本設定：共通リセットは今後の要素追加にも使えるため維持 */
body, div, dl, dt, dd, ul, ol, li,
h1, h2, h3, h4, h5, h6, pre, form, fieldset,
input, textarea, p, blockquote, th, td, select {
  padding: 0;
  margin: 0;
  font-family: "メイリオ", "Meiryo", "Lato", "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: #333;
}

body {
  background-color: #fff;
}

img {
  width: 100%;
  display: block;
}

/* 全体と商品グループ */
.main {
  width: 100%;
  max-width: 1200px;
  background: #fff;
  margin: 0 auto;
  padding: 1% 0;
  position: relative;
  overflow: hidden;
}

.box {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1%;
}

.box_one {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fdf2e7;
  width: 50%;
}

.blue {
  background: #ededf6;
}

/* 商品情報と左右の配置 */
.data {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  width: 100%;
}

.data_left {
  width: 50%;
  background: #fdf2e7;
}

.data_right {
  width: 50%;
  background: #ededf6;
}

.left {
  margin: 1% 1% 1% 2%;
}

.right {
  margin: 1% 2% 1% 3%;
}

.p_name {
  min-width: 0;
  margin-top: 1%;
  font-size: 1.1rem;
  width: 49%;
  margin-left: 1%;
}

.p_data {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  width: 46%;
}

.p_data_caution {
  color: rgb(246, 39, 125);
}

.p_caption {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  width: 46%;
}

p.p_caption.left,
p.p_caption.right {
  margin-top: 0;
  margin-bottom: 16px;
}

.p_data.product-33-detail {
  font-size: 0.7rem;
}

/* 21・22・39番：商品ごとの縦並び */
.box_one_21-22 {
  width: 100%;
  display: flex;
  flex-grow: 1;
  align-items: stretch;
}

.data_21-22 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
}

.data_21-22 .p_name,
.data_21-22 .p_data,
.data_21-22 .p_caption {
  width: auto;
}

.data_21-22.right {
  background-color: #ededf6;
}

.data_21-22 .data_left,
.data_21-22 .data_right {
  width: auto;
  margin: 1% 2% 1% 3%;
}

/* 通常の商品ペア：店名2件 → 内容2件の順で折り返す */
.data > div {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  width: 100%;
}

.box_one_21-22 > .data_21-22 {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: auto;
  min-height: 155px;
  flex-wrap: nowrap;
}

.data_21-22 > div {
  display: block;
}

.box_one_21-22 > .product-39 {
  flex: 0 0 50%;
}

p.p_caption.data_right {
  margin-top: 12px;
}

p.p_caption.data_left {
  margin-top: 12px;
}

p.p_caption.data_right.product-39 {
  margin-top: 0;
  margin-bottom: 16px;
}

/* 商品番号別の最小高さ */
.p-top-1-4,
.p-top-5-8 {
  min-height: 100px;
}

.p-top-9-12 {
  min-height: 80px;
}

.p-top-13-16 {
  min-height: 102px;
}

.p-top-17-20 {
  min-height: 102px;
}

.p-top-21-24 {
  min-height: 103px;
}

.p-top-25-28 {
  min-height: 85px;
}

.p-top-29-32 {
  min-height: 100px;
}

.p-top-33-36 {
  min-height: 130px;
}

.p-top-37-38 {
  min-height: 112px;
}

/* タブレット：768〜1024px */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  p.p_name {
    font-size: 0.9rem;
  }
  .p-top-1-4 {
    min-height: 120px;
  }

  .p-top-9-12 {
    min-height: 100px;
  }

  .p-top-5-8 {
    min-height: 120px;
  }

  .p-top-13-16 {
    min-height: 110px;
  }

  .p-top-17-20 {
    min-height: 140px;
  }

  .p-top-17-18 .p_data {
    padding-top: 25px;
  }

  .p-top-21-24 {
    min-height: 120px;
  }

  .p-top-25-28 {
    min-height: 100px;
  }

  .p-top-29-32 {
    min-height: 110px;
  }

  .p-top-33-36 {
    min-height: 120px;
  }

p.p_caption.data_right {
  margin-top: 30px;
}

p.p_caption.data_left {
  margin-top: 12px;
}

}

/* スマートフォン：767px以下 */
@media screen and (max-width: 767px) {
  .box {
    margin-bottom: 0;
  }

  .box_one {
    width: 100%;
    margin-bottom: 1%;
  }

  .data_left {
    background: none;
  }

  .p_name {
    font-size: 0.9rem;
  }

  .p_data {
    font-size: 0.75rem;
  }

  .p_caption {
    font-size: 0.75rem;
  }

  .p_data.product-33-detail {
    font-size: 0.65rem;
  }

  .p-top-1-4,
  .p-top-5-8,
  .p-top-9-12,
  .p-top-13-16,
  .p-top-17-20,
  .p-top-21-24,
  .p-top-25-28,
  .p-top-29-32,
  .p-top-33-36 {
    min-height: 0;
  }

  .p-top-21-24 {
    min-height: 70px;
  }

  .box_one_21-22 > .data_21-22 {
    min-height: 0;
  }
  
  p.p_caption.data_left {
    margin-top: 0px;
}

p.p_caption.data_right {
    margin-top: 18px;
    margin-bottom:16px;
}

  
}
