*{
  margin: 0;
  padding: 0;
}


.button-container {
    margin: 10px 0px 40px 0px;
    display: flex;
    justify-content: center;
}

.transparent-button {
    display: inline-block;
    background-color: transparent;
    color: #c1a35d;
    border: 1px solid #c1a35d;
    padding: 10px 30px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

/*ポップアップ*/
/* ポップアップのスタイリング */
.popup {
  display: none; /* デフォルトでは非表示 */
  position: fixed;
  max-width:450px;
  margin:0 auto;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  padding:10px 30px;
  z-index: 1000; /* ポップアップを最前面に */
  overflow-y: auto; /* 内容が多い場合は内部をスクロール */
  background-color:#53090e;
}

#popup{
  background-color: #161d30;
}

.popup-content {
  position: relative;
  width: 100%;
  height: 100%;
  color:#fff;
}

.popup-content h2{
  text-align:center;
  color:#c1a35d;
  padding:30px 0 40px 0;
  font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

.pop-h2-2{
  line-height:14px;
  font-size:13px;
}

.popup-content-p{
  text-align:center;
  font-size:10px;
  border:0.7px solid #ffffff;
  padding:15px;
}

.pop-block{
  margin-top:30px;
  margin-bottom:30px;
}


.close-button {
  color:#ffffff;
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 35px;
  background: none;
  border: none;
}

.close-button:hover{
  cursor: pointer;
}

/* 半透明の背景 */
.popup-overlay {
  display: none; /* デフォルトでは非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* 80%の黒いスクリーン */
  z-index: 999; /* 背景をポップアップの下に */
}


/*ポップアップコンテンツ*/
.pop-block{
  font-size:14px;
}

.caption {
  font-size: 12px; /* キャプションのフォントサイズを小さく設定 */
  margin-top: 5px; /* 画像とキャプションの間隔を設定 */
}

.about-p-end{
  padding-bottom:40px;
}

.fudoki{
  text-align:right;
  font-size:9px;
}

.store-cont{
  padding-bottom:15px;
}

.store-cont a{
  color:#c1a35d;
}

.store-cont-ad, .store-cont-llink{
  font-size:11px;
}
/*ポップアップコンテンツ終了*/



/*ポップアップ終了*/

/* 初期状態で非表示 */
.header-c.header-top {
  opacity: 0;
  transition: opacity 2s ease-in-out; /* 2秒かけてフェードイン */
}

/* フェードインさせる */
.header-c.header-top.visible {
  opacity: 1;
}

.non-sp, .pc-head-img{
  display:none;
}


/* 初期状態では非表示 */
    .fadein {
      opacity: 0;
      transition: opacity 1.5s ease-in-out;
    }

    /* fadein クラスが追加されたときに表示 */
    .fadein.visible {
      opacity: 1;
    }

    .content {
      margin: 1000px 0; /* コンテンツがスクロール可能になるように */
    }


    .header-bottom{
      position:absolute;
      width:20px;
      bottom:10px;
      right:10px;
      color:#c6a65d;
    }


    /* '→' の棒部分にアニメーション */
    .arrow {
      display: block;
      width:100%;
      margin-top: 10px;
      animation: moveArrow 1.5s infinite alternate;
    }

    /* アニメーションの定義 */
    @keyframes moveArrow {
      0% {
        transform: translateY(0);
      }
      100% {
        transform: translateY(10px); /* 上から下に動く */
      }
    }

    body{
      margin: 0;
      padding: 0;
      height: 100%;
    }

    body::before {
      content: "";
      position: fixed; /* ここを変更 */
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: url('img/product/back.jpg');
      background-size: cover;
      background-position: center;
      z-index: -1; /* 背景がコンテンツの後ろに来るように */
    }



header{
  background-image: url('img/header/back.jpg');
  background-position: center; /* 横中央 */
  background-repeat: no-repeat; /* 画像の繰り返しを防止 */
  background-size: cover; /* 画像のサイズを親要素に合わせて調整 */
  width:100%;
  height:85vh;
  position:relative;
  overflow-x: hidden;
}

.header-c{
  position:absolute;
}

.header-top{
  width:50%;
  max-width:500px;
  top:7vh;
  left:10vw;
}

.header-top img{
  width:100%;
}

.header-middle{
  top:27vh;
  width:100%;
  height:45vh;
  position:relative;
}

.header-middle img{
  height:100%;
  position:absolute;
  left: 50%; /* 左端を50%に配置 */
  transform: translateX(-50%); /* 画像の幅の半分だけ左にずらす */
}




.about{
  position:relative;
  padding-top:60px;
  padding-bottom:60px;
  background-color: #2e0206;
  color:#c6a65d;
  text-align: center;
  font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

.about-head{
  position:absolute;
  width:170px;
  top:-60px;
  left:0px;
}

.about-top{
  font-size:30px;
}

.about-top-s{
  font-size:24px;
}

.about-content{
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size:17px;
  line-height: 28px;
}

.about-content-c{
  margin-top:30px;
}

.about-img{
  margin-top:30px;
  text-align:center;
}

.about-img img{
  width:85%;
}

.about-milk{
  margin-left:10%;
  margin-right:10%;
  border:solid 2px #fff;
  color:#fff;
  padding: 50px 20px;
  margin-top:60px;
}

.about-milk-img{
  padding-top:20px;
  padding-bottom:30px;
  text-align:center;
}

.about-milk-img img{
  max-height:130px;
}

.about-milk-text{
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size:13px;
  line-height:20px;
}

.about-milk-title p{
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

.about-milk-title{
  padding-bottom:20px;
}

.about-milk-title h3{
  font-size:23px;
  line-height:20px;
}


.product{
  background: transparent;
  border-top:4px solid #c6a65d;
  border-bottom:4px solid #c6a65d;
  color:#2e0206;
  padding-top:60px;
  padding-bottom:60px;
}

.h2{
  text-align: center;
  font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

.h2 h2{
  font-size:30px;
  line-height:35px;
}

.h2-p{
  font-size:14px;
}

.product-img{
  text-align: center;
  margin-top:40px;
}

.product-img img{
  width:90%;
}

.product-price{
  margin-top:30px;
  font-size:10px;
}

.nn, .nn-1{
  font-style: italic;
  font-weight:bold;
      letter-spacing: 0.03em;
}

.nn{
  font-size:15px;
}

.nn-1{
  font-size:20px;
}

.product-price-c{
  font-family: "Libre Baskerville", serif;
  display: flex; /* 子要素の幅に合わせて親の幅を設定 */
  justify-content: center; /* 子要素を左寄せ */
}

.product-price-c-inline{
  display: inline-block;
}

.product-price-c-inline-number{
  width:70px;
  text-align:right;
  padding-right:10px;
}

.product-price-c-inline-price{
  padding-left:10px;
  width:150px;
  border-left:1px solid #2e0206;
}

.yoso{
  display: inline-block;
  line-height: 10px;
  margin-bottom:15px;
}

.nnn{
  font-size:13px;
}

.stores{
  background-color:#53090e;
  color:#c1a35d;
  padding-top: 60px;
}

.stores-milk img{
  width:100%;
}

.stores-text{
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  padding:30px 40px;
  font-size:13px;
  text-align:center;
}

.stores-logo{
  text-align:center;
}

.stores-logo img{
  width:60%;
}

footer{
  font-size:10px;
  text-align:center;
  margin-top:50px;
}

@media screen and (min-width: 600px){
  header{
    height:700px;
    width:100%;
    background:#53090e;
  }

  .header-middle, .non-pc{
    display:none;
  }

  .about-pc{
    width:70%;
    max-width:800px;
    margin:0 auto;
  }

  .about-milk-img, .about-milk-pc{
    display:inline-block;
  }


  .about-milk {
  display: flex;
  align-items: center;  /* 垂直方向に中央揃え */
  justify-content: space-between;  /* 横並びに配置 */
}

.about-milk-img {
  width: 40%;  /* 横幅を3:7で設定 (3) */
  text-align: center;
}

.about-milk-img img {
  padding-top:20px;
  max-width: 100%;  /* 画像を親要素に合わせる */
  height: auto;  /* 画像のアスペクト比を維持 */
}

.about-milk-pc {
  width: 60%;  /* 横幅を3:7で設定 (7) */
}

.non-sp{
  display:inline;
}

.pc-head-img{
  position:absolute;
  display:block;
  top: 50%;                     /* 親要素の中央に配置 */
  left: 50%;                    /* 親要素の中央に配置 */
  transform: translate(-50%, -50%); /* 位置を調整して正確に中央に配置 */
  height:500px;
}

.pc-head-img img{
  height:100%;
}

.stores-logo img{
  max-width:400px;
}

}