@charset "utf-8";
div#milksweets_cp .sr-only {
  display: none;
}
div#milksweets_cp dl > div {
  display: flex;
  gap: 10px
}
div#milksweets_cp dt {
  font-weight: 600;
  flex-shrink: 0;
  flex-basis: 5em; /* ★追加：dtの幅を「約文字分」に固定する */
}
#milksweets_cp img {
  width: 100%;
  height: auto;
}
#milksweets_cp svg {
  shape-rendering: geometricPrecision;
}
#milksweets_cp .fix {
  clear: both;
}
#milksweets_cp p {
  color: #003A5C;
}
#milksweets_cp article {
  width: 100%;
  margin: 0;
}
/* =========================================
   商品セクションのレイアウト（PC・共通）
========================================= */
#milksweets_cp .product_section {
  padding: 0;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}
#milksweets_cp .product_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px 10px;
}
#milksweets_cp .product_item {
  width: calc((100% - 60px) / 4);
  box-sizing: border-box;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
}
#milksweets_cp .product_img {
  margin: 0;
  padding: 0px;
  z-index: 2;
}
#milksweets_cp .product_img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: drop-shadow(0px 1px 4px rgba(35, 90, 152, 0.1));
}
#milksweets_cp .product_info {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-top: 15px;
}
/* テキスト要素の装飾 */
#milksweets_cp .product_section .release_date {
  display: inline-block;
  border: 1px solid #18529f;
  background-color: #ffef12;
  color: #18529f;
  border-radius: 50px;
  padding: 2px 14px;
  font-size: clamp(0.8rem, 0.771rem + 0.17vw, 0.85rem);
  font-weight: 600;
  margin: 0 0 10px 0;
  align-self: flex-start;
}
#milksweets_cp .product_section .product_name {
  font-size: clamp(1.1rem, 1.121rem + 0.17vw, 1.2rem);
  margin: 0 0 5px;
  line-height: 1.4;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-style: normal;
  color: #235a98;
}
#milksweets_cp .product_section .product_price {
  font-size: 1.0rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  text-align: right;
  color: #235a98;
}
#milksweets_cp .product_section .product_name > span {
  font-size: 80%;
}
#milksweets_cp .product_section .price {
  font-size: 1rem;
  font-weight: bold;
  text-align: right;
  margin-bottom: 0;
}
#milksweets_cp .product_section .description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 5px;
  border-top: 2px dotted #9ed3cf;
  padding-top: 10px;
}
#milksweets_cp .product_section .note {
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.5;
  /*margin-top: auto;*/
}
#milksweets_cp .product_section .note::before {
  content: "※";
}
/*===============================================

●pc.css 画面の横幅が737px以上

===============================================*/
@media screen and (min-width: 737px) {
  div#milksweets_cp {
    width: calc(100vw - 0.7%);
    margin: 0 calc(50% - 50vw);
    background-color: #00abeb;
    background-image: url("dot_screen.svg");
    background-repeat: repeat-x;
    background-attachment: fixed;
    background-size: 40% auto;
    background-position: bottom center;
    padding-bottom: 5rem;
  }
  div#milksweets_cp .milk_head {
    /* =========================================
     ① 要素を上部に固定する設定
  ========================================= */
    position: sticky;
    top: 95px; /* 画面の一番上（0px）に来たらピタッと止める */
    z-index: 50; /* スクロールしてくる下の要素よりも手前に出す */
    /* =========================================
     ② 背景画像の設定
  ========================================= */
    background-image: url("milk_head.webp");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    /* =========================================
     ③ 箱の「高さ」を確保する（超重要！）
  ========================================= */
    width: 100%;
    aspect-ratio: 1920 / 80;
  }
  div#milksweets_cp section {
    max-width: 1200px;
    margin: 0 auto;
  }
  /*--------KVarea-------------*/
  /* 親要素を可変＆比率固定にする */
  div#milksweets_cp .kv_area {
    position: relative;
    max-width: 1200px;
    width: 100%; /* 画面幅に合わせて縮小させる */
    margin: 0 auto;
    aspect-ratio: 1200 / 630; /* heightの代わりにアスペクト比で高さを維持 */
  }
  /* KV内の画像が枠に合わせて可変するように設定 */
  div#milksweets_cp .kv_area img {
    width: 100%;
    height: auto;
    display: block;
  }
  /* --- 子要素の絶対配置 --- */
  .kv_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  /* pxから％に変換 （例: 222px / 1300px * 100 = 約17.07%） */
  .tit {
    position: absolute;
    top: 5%;
    width: 39.5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
  .ushi {
    position: absolute;
    top: 10%;
    width: 11.75%;
    left: 32.5%;
    z-index: 9;
  }
  #milksweets_cp .title_area {
    margin: 0 auto 5rem;
    text-align: center;
  }
  #milksweets_cp .h1_tit {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
    text-align: center;
    font-size: clamp(1.8rem, 1.007rem + 1.72vw, 2.5rem);
    line-height: 1;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 4px #003A5C, -4px -4px 4px #003A5C, -4px 4px 4px #003A5C, 4px -4px 4px #003A5C, 4px 0px 4px #003A5C, -4px -0px 4px #003A5C, 0px 4px 4px #003A5C, 0px -4px 4px #003A5C;
  }
  #milksweets_cp .lead {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 2rem;
    color: #003A5C;
   /*text-shadow: 2px 2px 2px #00abeb, -2px -2px 2px #00abeb, -2px 2px 2px #00abeb, 2px -2px 2px #00abeb, 2px 0px 2px #00abeb, -2px -0px 2px #00abeb, 0px 2px 2px #00abeb, 0px -2px 2px #00abeb;*/
    text-shadow: 4px 4px 4px #fff, -4px -4px 4px #fff, -4px 4px 4px #fff, 4px -4px 4px #fff, 4px 0px 4px #fff, -4px -0px 4px #fff, 0px 4px 4px #fff, 0px -4px 4px #fff;
  }
/*#milksweets_cp mark {
  background-color: #00abeb;
}*/
  #milksweets_cp .box {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 10px;
    box-shadow: -5px -5px 15px #91cbc8 inset;
  }
  #milksweets_cp .h2_tit {
    display: block;
    width: fit-content;
    margin: -3.5rem auto 1rem;
    height: 64px;
    line-height: 52px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
    text-align: center;
    font-size: 1.9rem;
    padding: 0 60px;
    color: #235a98;
    background-color: rgba(255, 255, 255, 0.9);
    border: 4px solid #00abeb;
    border-radius: 50rem;
    box-sizing: border-box;
    box-shadow: -2px -2px 5px #91cbc8 inset;
    filter: drop-shadow(0px 1px 0px #00abeb) /* 下 */ ;
  }
}
/* ====================================
   ▼ SPレイアウト (736px以下) ▼
   ==================================== */
@media screen and (max-width:736px) {
  div#milksweets_cp {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 0 0 2rem;
    margin-top: -10px;
    background-color: #00abeb;
    background-image: url("dot_screen.svg");
    background-repeat: repeat-x;
    background-attachment: fixed;
    background-size: 100% auto;
    background-position: bottom center;
  }
  footer {
    background-color: #fff;
    z-index: -2;
  }
  div#milksweets_cp .milk_head {
    /* =========================================
     ① 要素を上部に固定する設定
  ========================================= */
    position: sticky;
    top: 54px; /* 画面の一番上（0px）に来たらピタッと止める */
    z-index: 50; /* スクロールしてくる下の要素よりも手前に出す */
    /* =========================================
     ② 背景画像の設定
  ========================================= */
    background-image: url("milk_head_sp.webp");
    background-position: top center; /* centerの方が画面幅が変わってもズレにくいです */
    background-repeat: no-repeat;
    background-size: 100% auto;
    /* =========================================
     ③ 箱の「高さ」を確保する（超重要！）
  ========================================= */
    width: 100%;
    aspect-ratio: 1040 / 100;
  }
  div#milksweets_cp section {
    max-width: 100%;
  }
  #milksweets_cp .h1_tit {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.4;
    color: #fff;
    margin: 0 0 1rem 0;
    text-shadow: 4px 4px 4px #003A5C, -4px -4px 4px #003A5C, -4px 4px 4px #003A5C, 4px -4px 4px #003A5C, 4px 0px 4px #003A5C, -4px -0px 4px #003A5C, 0px 4px 4px #003A5C, 0px -4px 4px #003A5C;
  }
  #milksweets_cp .h2_tit {
    display: block;
    width: fit-content;
    margin: -2.5rem auto 1rem;
    height: 45px;
    line-height: 38px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
    text-align: center;
    font-size: 1.4rem;
    padding: 0 30px;
    color: #235a98;
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px solid #00abeb;
    border-radius: 50rem;
    box-sizing: border-box;
    box-shadow: -1px -1px 4px #91cbc8 inset;
    filter: drop-shadow(0px 1px 0px #00abeb) /* 下 */ ;
  }
  #milksweets_cp .lead {
    font-size: 0.9rem;
    font-weight: 600;
    color: #003A5C;
    margin: 0 10px 50px;
    /*text-shadow: 2px 2px 2px #00abeb, -2px -2px 2px #00abeb, -2px 2px 2px #00abeb, 2px -2px 2px #00abeb, 2px 0px 2px #00abeb, -2px -0px 2px #00abeb, 0px 2px 2px #00abeb, 0px -2px 2px #00abeb;*/
    text-shadow: 2px 2px 2px #fff, -2px -2px 2px #fff, -2px 2px 2px #fff, 2px -2px 2px #fff, 2px 0px 2px #fff, -2px -0px 2px #fff, 0px 2px 2px #fff, 0px -2px 2px #fff;
  }
/*#milksweets_cp mark {
  background-color: #00abeb;
}*/
  #milksweets_cp .box {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    max-width: 100%;
    margin: 0 auto;
    padding: 13px;
    box-shadow: -5px -5px 8px #91cbc8 inset;
  }
  #milksweets_cp .product_list {
    gap: 50px;
  }
  #milksweets_cp .product_item {
    width: 100%;
  }
  #milksweets_cp section {
    padding: 0;
  }
  #milksweets_cp main {
    padding: 0 13px;
  }
  /*--------KVarea-------------*/
  /* 親要素を可変＆比率固定にする */
  #milksweets_cp .kv_area {
    position: relative;
    max-width: 1040px;
    width: 100%; /* 画面幅に合わせて縮小させる */
    margin: 0 auto;
    aspect-ratio: 1040 / 1040; /* heightの代わりにアスペクト比で高さを維持 */
  }
  /* KV内の画像が枠に合わせて可変するように設定 */
  #milksweets_cp .kv_area img {
    width: 100%;
    height: auto;
    display: block;
  }
  /* --- 子要素の絶対配置 --- */
  .kv_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  /* pxから％に変換 （例: 222px / 1300px * 100 = 約17.07%） */
  .tit {
    position: absolute;
    top: 19.5%;
    width: 64.1346%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
  .ushi {
    position: absolute;
    top: 24%;
    width: 19.807%;
    left: 20%;
    z-index: 9;
  }
  #milksweets_cp .title_area {
    margin: .5rem auto 2rem;
    text-align: center;
  }
}
/* =========================================
   アニメーション要素の軽量化設定
========================================= */
.kv-title-anim {
  /* スマホのGPU（グラフィック専用処理）を強制的にオンにして動作を軽くする */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* ブラウザに「これからこの要素が動くよ」と事前予告して計算をスムーズにする */
  will-change: transform, opacity;
}
/* =========================================
   スクロールアニメーション（ふわっと現れる）
========================================= */
.js-fade {
  opacity: 0;
  transform: translateY(30px); /* 30px下から */
  transition: opacity 0.8s ease, transform 0.8s ease; /* 0.8秒かけて変化 */
}
/* JSでこのクラスが付与されると表示される */
.js-fade.is-active {
  opacity: 1;
  transform: translateY(0);
}