/*商品紹介
----------------------------------------------------------------------------------------------------- */
.product_header{
  position: relative;
}

.product_header_title{
  position: absolute;
  top: 40%;
  right: 3%;
  width: calc(100% - 70%);
  max-width: 220px;
}

@media (min-width: 768px) {
.product_header_title{
  width: calc(100% - 80%);
  bottom: 0;
  right: auto;
  left: 45%;
}

}

@media (min-width: 992px) {
/* h2.product_heading {
  padding-bottom: 0;
} */
}

/*------------------------------------------------------
 商品説明表（LP、その他商品共通）編集可能
 ------------------------------------------------------*/
ul.product_list {
  display: grid;
  grid-template-columns: 1fr; /* SPは縦並び */
  gap: 10px; /* li間の余白 */
  width: 90%;
  margin: 0 auto;
  list-style: none;
  padding-bottom: 3rem;
}

ul.product_list > li {
  display: flex;
  flex-direction: column;
  padding: 10px;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  border: #CED5D8 2px solid;
  border-radius: 30px;
  padding: 5%;
  background: #fff;

}
/* 1列用 singleクラス名をつけたものだけ */
ul.product_list.single {
  grid-template-columns: 1fr;
  justify-items: center;
}
ul.product_list.single > li{
  max-width: 450px;
}

ul.product_list > li table {
  margin-top: auto;  /* これで table が下に固定される */
}

/* tableを横並びに */
ul.product_list > li table {
  width: 100%;
  border-collapse: collapse;
}

ul.product_list > li th, ul.product_list > li td {
  border-top: 1px dotted #707070;
  border-bottom: 1px dotted #707070;
  border-left: none;
  border-right: none;
  padding: 5px 0px 5px 10px;
  text-align: left;
}

ul.product_list > li th{
  background: #E9F8FE;
  width: 42%;
  font-weight: 500;
}

p.product_table_heading{
  text-align: center;
  font-size: clamp(17px, 15.98px + 0.2614vw, 21px);
  font-weight: 600;
}
.product_table_img{
  width: clamp(170px, 162.35px + 1.96vw, 200px);
  margin: 0 auto;
  padding: 0.75rem 0;
}
.product_table_text{
  border-top: #707070 dotted 2px;
  padding: 1rem 0.5rem;
  line-height: 1.6;
  margin-bottom: auto;
  letter-spacing: 0.025rem;
  font-size: 0.9375rem;
}
.product_table_sub_title{
  display: block;
  text-align: center;
  font-weight: 500;
  color: #E54F0D;
  font-size: 105%;
}
.product_table{
  font-size: 0.875rem;
}
.product_table_color{
  display: inline-block;
  font-weight: 500;
  color: #E54F0D;
}
.product_table_icon{
  display: block;
  max-width: 44px;
    margin-left: auto;
  width: fit-content;
}
.product_table_icon02{
  position: relative;
}

.product_table_icon02 span{
  position: absolute;
  top: -50px;
  right: 0;
  display: block;
  max-width: 70px;
  margin-left: auto;
  width: fit-content;
}

/* Hybrid マルチアイス,ふわゆきチーズ サブ商品リスト */
.product_sub_list{
  width: 90%;
  padding-left: 0.5rem;
}
.product_sub_list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
  position: relative;
  top: -0.5rem;
  font-size: 0.875rem;

}

.product_sub_list li .flavor {
  position: relative;
  padding-left: 1em;
  word-break: break-word;
  flex: 1;
}

.product_sub_list li .flavor::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.product_sub_list li .pieces {
  flex-shrink: 0;
  margin-left: 8px;
}

.product_table_link a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #15BEE9;
  font-weight: 600;
  margin-left: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.product_table_link a::after{
   content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../images/common/common_blank_icon_01.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.notes{
  margin-left: 0.5rem;
  font-size: 0.875rem;
}

/* 背景色 */
.product_section{
  display: none;
}
.product_list_bg{
   position: relative;
    background:linear-gradient(to bottom, transparent 70px, #F3FBFE 70px);
  width: 100%;
  height: auto;
}

.product_list_bg::before {
  content: "";
  display: none;
}
@media (min-width: 768px) {
ul.product_list {
    /* max-width: 1000px; */
    margin: 0 auto;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    padding-bottom: 4rem;
  }
  ul.product_list > li{
    max-width: 95%;
  }
}

@media (min-width: 992px) and (max-width: 1920px) {
  .product_list_bg::before {
    content: "";
    display: block;
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    height: auto;
    aspect-ratio: 1920 / 763; /* 元画像の縦横比 */

    background: url('../images/product/wave_pc_01.svg') no-repeat top left;
    background-size: 100% auto; /* 横幅に合わせて縦横比維持 */
    pointer-events: none;
  }
}

/* 1920px以上は固定幅にする場合 */
@media (min-width: 2000px) {
  .product_list_bg::before {
    width: 1920px;
    height: auto;
    background-size: cover; /* 必要に応じて調整 */
  }
}
@media (min-width: 992px) {
ul.product_list {
    padding-bottom: 5rem;
      width:85%;
  }
  .product_list_bg{
  background: linear-gradient(to bottom, transparent 150px, #F3FBFE 150px);
}

 .product_section{
  display: block;
  position: relative;
  top: 70px;
}
.product_section picture,
.product_section img {
  width: 100%;
  height: 100%;
}

.product_section img {
  object-fit: cover;
}
   .product_section{
    top: 150px;
   }

  ul.product_list > li{
    margin-bottom: 1rem;
    max-width: 430px;
  }
}

@media (min-width: 1280px) {
  ul.product_list > li{
    min-height: 400px;
  }
  .product_list_bg{
   background: linear-gradient(
    to bottom,
    transparent 300px,
    #F3FBFE 300px
  )
}
   .product_section{
    top: 300px;
   }
    ul.product_list {
      width:85%;
      max-width: 1000px;
    }

}
/* ここまで商品説明表 */


/*-----------------------------------------------------
 商品一覧ページ（共通　商品カタログ｝
 -------------------------------------------------------*/
.catalog_wrapper{
  padding: 1rem 1rem 2rem;
  border-radius: 30px;
  background: #86D5EF;
  width: 90%;
  margin: 0 auto 2rem;
  max-width: 500px;
}
.catalog_heading_title p{
  font-size: clamp(20px, 0.654vw + 17.45px, 30px);
  text-align: center;
  color: #fff;
  font-weight: 600;
  padding: 1rem 0;
}
.catalog_heading_title p span{
  display: inline-block;
  font-size: 130%;
}

.catalog_heading_title p::after{
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 5px;
  vertical-align: middle;

  background-image: url('../images/product/product_catalog_01.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.catalog_list_inner{
    background: #FFF;
    border-radius: 30px;
    padding: 2rem 1rem;
}
.catalog_list{
margin: 0 auto;
}

.catalog_list ul {
  grid-template-columns: 1fr;
  gap: 12px;
}

.catalog_list li {
  margin-bottom: 0.5rem;
}

.catalog_list a {
  position: relative;

  padding: 14px;
  text-align: center;
  background-color: #F3FBFE;
  color: #0EA8DC;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  border: #86D5EF 5px solid;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  width: 100%;
  height: 100%;

}
.catalog_list a .pdf_icon{
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  background: url('../images/common/common_pdf_icon_01.png') no-repeat center center;
  background-size: contain;
}
@media (min-width: 768px) {
.catalog_wrapper{
  width: calc(100% - 20%);
}
}
@media (min-width: 992px) {
  .catalog_wrapper{
    max-width: 1000px;
  }
  .catalog_list ul{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
  }

  .catalog_list li {
    box-sizing: border-box;
  }

  .catalog_list a {
    min-width: 160px;
  }
}
/*  ここまで共通カタログページ */

/*------------------------------------------
LP
-------------------------------------------- */
.sp_lp_images,
.pc_lp_images {
  margin: 0;
  padding: 0;
}

.sp_lp_images img,
.pc_lp_images img {
  display: block;   /* ←必須 */
  width: 100%;      /* 必要に応じて */
  margin: 0 0 -1px;
  padding: 0;
  border: 0;
}

.pc_lp_images {
  display: none;
}

@media (min-width: 750px) {
  .sp_lp_images {
    display: none;
  }

  .pc_lp_images {
    display: block;
  }
}

h2.lp_heading{
  padding: 3rem 0;
  margin: 0 auto;
}


@media (min-width: 768px) {
  h2.lp_heading{
    max-width: 220px;
  }
}
@media (min-width: 1280px) {
  h2.lp_heading{
    max-width: 290px;
    padding-bottom: 5rem;
  }
}

/*-----------------------------------------------------
 LP一覧ページ（共通　ECサイトリスト一覧）
 -------------------------------------------------------*/

.ec-site_heading{
  padding: 0 0 1rem;
}
.ec-site_list_title{
  text-align: center;
  width: 90%;
  margin: 0 auto 1.5rem;
}
.ec-site_list_wrapper{
  padding: 0.25rem;
  border-radius: 45px;
  background: #50C0E5;
  width: 90%;
  margin: 0 auto 2rem;
}

.ec-site_list_inner{
    background: #FFF;
    border-radius: 40px;
    padding: 2rem 1rem;
}

.ec-site_list ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ec-site_list li {
  margin-bottom: 0.5rem;
}

.ec-site_list a {
  position: relative;
  padding: 14px 20px;
  text-align: center;
  background-color: #F3FBFE;
  color: #0EA8DC;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  border: #86D5EF 5px solid;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  width: 100%;
  height: 100%;
}
.ec-site_list a .blank_icon{
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  background: url('../images/common/common_blank_icon_01.png') no-repeat center center;
  background-size: contain;
}

.antenna_shop{
   margin: 2rem auto;
}
.antenna_shop_text{
  text-align: center;
  width: 90%;
  margin: 0 auto;
    font-weight: 500;
}
.antenna_shop_text span{
  font-weight: 600;
  color: #00BFFF;
}

.antenna_shop_address{
  text-align: center;

}
.antenna_shop_address .address{
  font-size: 90%;
  margin-top: 0.5rem;

}

.antenna_shop_address .shop a {
   font-size: 110%;
    font-weight: 500;
  border-bottom: #353537 1px solid;
  margin-left: 0.5rem;
}

.antenna_shop_address .shop a::after{
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../images/common/common_blank_icon_01.png');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-left: 0.3em;
}

@media (min-width: 768px) {
.ec-site_list_wrapper{
  width: calc(100% - 20%);
}
}
@media (min-width: 992px) {
  .ec-site_list_wrapper{
    max-width: 900px;
    margin-bottom: 5rem;
  }
  .ec-site_list_inner{
    padding: 3rem;

  }
  .ec-site_list ul{
     flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start; /* 左寄せ */
    gap: 10px;
  }

  .ec-site_list li {
      flex: 0 1 48%;
  }

  .ec-site_list a {
    min-width: 160px;
  }
}
/* ここまで共通ECサイト一覧 */

/* 極ヨーグルト */

.recipe_list {
  border: 2px solid #00BFFF;
  padding: 1rem;
  width: calc(100% - 10%);
  margin: 0 auto;
  border-radius: 45px;
  max-width: 400px;
  min-width: 340px;
}
/* SP（縦並び） */
.recipe_list{
  margin: 0 auto 2rem;
}

.recipe_list_title,
.recipe_list_text {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

.recipe_list_title > p{
  text-align: center;
}

.recipe_list_title > p{
  display: block;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 500;
}

.recipe_list_title > p span{
  display: inline-block;
  background: linear-gradient(transparent 60%, #F9F990 60%);
  color: #0EA8DC;
  font-size: 1.5rem;
}

.recipe_list_title img {
  display: block;
  width: 70%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}

.recipe_procedure{
  margin-top: 1rem;
}
.recipe_procedure li {
  display: flex;
  align-items: flex-start;
  margin: 0 auto 12px 0;
  width: 95%;

}
.recipe_procedure li:last-child{
  margin-bottom: 0;
}

.recipe_procedure li span {
  display: inline-flex;
  justify-content: center;
  /* align-items: center; */
  min-width: 24px;
  height: 24px;
  padding: 0 3px;
  background-color: #DBF2FB;
  color: #0EA8DC;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 8px;
  flex-shrink: 0;
  text-align: center;
}
  .recipe_list_text p{
    font-weight: 500;
    word-break: keep-all; /* 日本語の単語を途中で分割しない */
    overflow-wrap: normal; /* 単語の途中で折り返さない */
  }
  .recipe_list_text p span.color{
    display: block;
    text-align: center;
    font-size: 1.0625rem;
    color: #E54F0D;
  }

  .recipe_list_title_pc{
    display: none;
  }

/* PC（横並び） */
@media (min-width: 768px) {
    .recipe_list {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 5%;
    max-width: 800px;
    margin: 0 auto 3rem;
  }
    .recipe_list_title{
      flex: 1;
    }
    .recipe_list_text{
      flex: 1.2;
    }
.recipe_list_title > p{
  display: none;
}
  .recipe_list_text p span.color{
    text-align: left;
  }

  .recipe_list_title img{
    width: 100%;
  }
  .recipe_list_title_pc{
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.6875rem;
  }
  .recipe_list_title_pc span{
    display: inline-block;
    background: linear-gradient(transparent 60%, #F9F990 60%);
    color: #0EA8DC;
    font-size: 1.6875rem;
  }
}

@media (min-width: 992px) {
    .recipe_list {
      padding: 3%;
    }
}

/* 山田乳業ページ用 */
.fy_lp_kv {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  padding: 0;
  margin: 0 0 -1px;
}

/* 画像 */
.fy_lp_kv_img {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
    /* margin: 0; */
}

/* SP画像表示 */
.fy_lp_kv_img.sp {
  display: block;
}

.fy_lp_kv:last-child .fy_lp_kv_img.sp,
.fy_lp_kv:last-child .fy_lp_kv_img.pc {
  margin-bottom: 0;
}

.fy_lp_kv_img.pc{
  display: none;
}


/* ボタン列 4列*/
.fy_lp_kv_buttons {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* SPは2列 */
  gap: 20px;
  width: 80%;
}

/* ボタン列 2列*/
.fy_lp_kv_buttons_02 {
  position: absolute;
  bottom: 5%;  /* ← 高さ調整可能 */
  left: 50%;
  transform: translateX(-50%); /* 横方向中央揃え */
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 常に2列 */
  gap: 20px;
  width: 80%;
  pointer-events: auto;
  z-index: 10;
}

/* ボタン画像 */
.fy_lp_kv_btn img {
  width: 100%;
  height: auto;
  display: block;
}

/* 画像のみ */
.fy_lp_dancing-boy{
  position: absolute;
  bottom: 20%;
  right: 32%;
  width: 18%;
  pointer-events: auto;
  z-index: 10;
}

.fy_lp_kv05_text{
  position: absolute;
  top: 30.2%;
  left: 13%;

  width: 30%;
  pointer-events: auto;
  z-index: 10;
}

/* --------------------------------
   PC用：750px以上
-------------------------------- */
@media (min-width: 750px) {
  /* 画像切替 */
  .fy_lp_kv_img.sp {
    display: none;
  }
  .fy_lp_kv_img.pc {
    display: block;
  }

  /* ボタン：4列に変更 */
  .fy_lp_kv_buttons {
    grid-template-columns: repeat(4, 1fr);
  }

/* 画像のみ */
.fy_lp_dancing-boy{
  bottom: 14%;
  right: 35%;
  width: 15%;
}
.fy_lp_kv05_text{
  top: 28.5%;
  left: 21.5%;
  width: 20%;
}
}
/* ボタンここまで */

.external-company{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px;
  width: 90%;
  max-width: 450px;
  margin: 0 auto;
}

/* 画像のサイズ調整（スマホ向け） */
.external-company img {
  width: 70%;
  /* max-width: 300px; */
  height: auto;
  object-fit: cover;
  margin: 0 auto;
}

/* テキスト調整（スマホ向け） */
.external-company p {
  text-align: center;
  font-weight: 600;
}
.external-company p span{
  display: inline-block;
  font-size: 70%;
}

@media (min-width: 751px) {
  .external-company {
    width: calc(100% - 20%);
    max-width: 1000px;

    flex-direction: row;
    justify-content: center;

    align-items: center;
    gap: 20px;
    margin: 0 auto;

  }
  .external-company img{
    flex: 1;
  }
  .external-company p {
    text-align: left;
    flex: 1;
  }
}

/* youtube */
.video-list_wrapper{
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-size: auto auto;
  background-color: rgba(235, 248, 255, 1);
  background-image: repeating-linear-gradient(142deg, transparent, transparent 20px, rgba(204, 242, 255, 1) 20px, rgba(204, 242, 255, 1) 40px );
}
.video-list_inner{
  width: 95%;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  border: #C4EDFE solid 5px;
  border-radius: 45px;
}

.btn_text{
  text-align: center;
  margin-top: 2rem;
}
.video_heading{
  text-align: center;
  margin: 0 auto 2rem;
}
.video_heading_title{
  font-size: 1.5625rem;
  font-weight: 600;
}
.video_heading_title span{
  display: inline-block;
  color: #0EA8DC;
}

.video_heading_title span.f_size{
  font-size: 120%;
}


/* 共通設定 */
.video-list{
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.video_card_title{
  margin-bottom: 1rem;
  width: auto;
}

.video-list li {
  display: flex;
  flex-direction: column;
}


.video-list li .video-list_title {
  width: 100%;
}

.video_card_title{
display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.video-list_title{
  padding: 5px;
  border-radius: 15px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  background: #00BFFF;

}

.video-list_title span{
  font-size: 80%;
}

.video-list li .video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

/* PC用 */
@media (min-width: 751px) {

  .video-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-list li:nth-child(odd) {
    justify-content: flex-start;
  }
  .video_heading_title{
    font-size: 1.9375rem;
  }
}

@media (min-width: 992px) {
.video-list_inner{
  /* width: calc(100% - 20%); */
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 5rem;
  background: #fff;
  border: #C4EDFE solid 5px;
  border-radius: 45px;
}
}

@media (min-width: 1280px) {
  .video-list_inner{
    padding: 3rem 5rem;
    border-radius: 70px;
  }
  .video_heading{
    margin-bottom: 4rem;
  }
  .video_heading_title{
    font-size: 2.125rem;
  }
  .btn_text{
    margin-top: 5rem;
  }
}

/* フレンドヨーグルト 4コマ */

.comics_main_title{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 2rem;
}

.comics_main_title img{
  max-width: 80%;
  margin: 0 auto 2rem;
}

.comics_main_title_sub{
  padding: 0 5%;
}

.scroll_button_wrap {
  display: grid;
  gap: 12px;
}

/* SP：2列 */
.scroll_button_wrap {
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
  width: calc(100% - 10%);
  max-width: 600px;
}

/* タブレット：3列 */
@media (min-width: 751px) {
  .scroll_button_wrap {
    grid-template-columns: repeat(3, 1fr);
    max-width: calc(100% - 25%);
  }
  .comics_main_title{
    margin-bottom: 4rem;
  }
}

/* PC：5列 */
@media (min-width: 1280px) {
    .comics_main_title img{
      width: 90%;
      max-width: 1100px;
    }
  .scroll_button_wrap {
    grid-template-columns: repeat(5, 1fr);
    width: calc(100% - 30%);
    max-width: 1100px;
  }
}

.scroll_btn_img {
  display: block;
}

.scroll_btn_img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 4コマ漫画 */
.comics_grid {
  display: grid;
  gap: 10px; /* 画像の間隔 */
  grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
  margin: 0 auto;
  max-width: 90%;
}

.comics_grid img {
  width: 100%;
  height: auto;
  display: block;
}

.comics_wrapper{
  margin: 3rem auto;
  max-width:500px;
}

.comics_wrapper:last-child{
  margin-bottom: 0;
}

.comics_heading{
  width: 90%;
  margin: 1.5rem auto;
  padding: 0.75rem;
  text-align: center;
  border-top: 1px solid #353537;
  border-bottom: 1px solid #353537;
  scroll-padding-top: 60px;
}
.comics_heading p{
  font-size: clamp(25px, 0.85vw + 21.675px, 38px);
  font-weight: 600;
}

.apply_wrapper{
  margin: 3rem auto;
}

.apply_text{

  margin: 0 auto;
}

.apply_text.sp{
  width: 90%;
  max-width: 350px;
  display: block;
}

.apply_text.pc{
  display: none;
}

@media (min-width: 751px) {
  .comics_wrapper{
    max-width: 650px;
  }

    .apply_text.sp{
      display: none;
    }

    .apply_text.pc{
      display: block;
      width: 60%;
      max-width: 700px;
    }
  }
@media (min-width: 992px) {
  .comics_wrapper{
    width: 70%;
    max-width: 1200px;
  }
  .comics_grid {
    grid-template-columns: repeat(4, 1fr); /* PCは4列 */
  }
  .apply_wrapper{
    margin: 5rem auto;
  }
}
