@charset "UTF-8";
/*
  osechi_2025_add.css
  PCとスマホで表示を切り替えるためのスタイル
*/
/* PC閲覧時のスタイル（デフォルト） */
.lp-wrapper-button {
  display: flex;
  gap: 10px;
  max-width: 1140px;
  margin: 30px auto;
  justify-content: center;
  align-items: flex-start; /* 画像を上揃えで表示 */
}

/* pc-onlyクラスを持つ要素（PC用画像）を表示 */
.lp-wrapper-button .pc-only {
  display: block;
  width: 30%;
  height: auto;
}

/* sp-onlyクラスを持つ要素（スマホ用画像）を非表示 */
.lp-wrapper-button .sp-only {
  display: none;
}

/* スマホ閲覧時のスタイル（画面幅767px以下） */
@media screen and (max-width: 767px) {
  .lp-wrapper-button {
    /* 縦並びにする */
    flex-direction: column;
    /* 中央揃えにする */
    align-items: center;
    gap: 0; /* gapをリセットし、marginで間隔を調整 */
  }
  /* pc-onlyクラスを持つ要素を非表示 */
  .lp-wrapper-button .pc-only {
    display: none;
  }
  /* sp-onlyクラスを持つ要素を表示してスタイルを調整 */
  .lp-wrapper-button .sp-only {
    display: block;
    width: 90%; /* 横幅を画面の90%に設定 */
    max-width: 100%; /* PC用のmax-widthを上書き */
    margin: 0 0 20px; /* 画像下のマージンを20pxに設定 */
  }
  /* 最後の要素のマージンをなくす */
  .lp-wrapper-button .sp-only:last-child {
    margin-bottom: 0;
  }
}
.p-lp-link-btn a {
  display: grid;
  place-content: center;
  max-width: 400px;
  margin:  2rem auto 0;
  font-weight: bold;
  letter-spacing: 0.1em;
  /* line-height: 1; */
  text-align: center;
  color: #fff;
  /*background: linear-gradient(#E30413, #a0231a);*/
  background: linear-gradient(#cfb464, #c2b27d, #855c06);
  box-shadow: 3px 3px 10px #3F1411;
  border-radius: 50px;
  border: 2px ridge #FFFCF2;

}

.p-lp-link-btn .yen {
  font-size: 1rem;
  letter-spacing: 0;
}

.p-lp-link-btn .name {
  font-size: 1.15rem;
}

.p-lp-link-btn_coupon a {
  display: grid;
  place-content: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  /* line-height: 1; */
  text-align: center;
  color: #fff;
  /*background: linear-gradient(#E30413, #a0231a);*/
  background: linear-gradient(#cf6464, #c27d7d, #850606);
  box-shadow: 3px 3px 10px #3F1411;
  border-radius: 50px;
  border: 2px ridge #FFFCF2;
  padding:0.5rem
}

.p-lp-link-btn .name {
  font-size: 1.15rem;
}



.p-box-coupon__period{
  font-size: 1.8rem;
  font-weight:bold;
  margin:0 auto;
  background-color:#ca0d00;
  color:white;
  padding:0.5rem 1.5rem;
  border-radius:15px;
  border-color:#ca0d00

}

/* クーポンセクション全体 (Flexコンテナ) */
.p-mainvisual-coupon-oshirase {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 30px;
    max-width: 850px;
    margin: 3rem auto;
    padding: 2rem; 
    background-color: rgb(255, 238, 238);
    border-radius: 2rem;
    border-style:double;
    border-color:#ca0d00;
    border-width: 10px;
}

/* クーポン画像 */
.p-mainvisual-coupon-oshirase img {
    width: 25%;
    height: auto;
    border-radius: 15px;
    flex-shrink: 0; 
}

/* クーポンテキスト */
.p-mainvisual-coupon-oshirase p {
    color: black;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.8; 
    flex-grow: 1; 
    text-align:center;
}

/* クーポン価格のテキストスタイル */
.p-mainvisual-coupon-oshirase .coupon-price {
    font-size: 2.5rem;
    color: #f82212; 
    font-weight: bold;
    display: inline-block;
    margin: 0.5rem 0;
}
/* 元のインラインstyleにも対応する場合 */
.p-mainvisual-coupon-oshirase span[style*="font-size:2.5rem"] {
    color: #fffb00;
    font-weight: bold;
}


/* 改行の制御 */
.spbr {
    display: none; 
}
.pcbr {
    display: block;
}


/* === スマートフォン表示 (767px以下) === */
@media screen and (max-width: 767px) {
    .p-mainvisual-coupon-oshirase {
        flex-direction: column; 
        text-align: center;
        gap: 20px;
    }

    .p-mainvisual-coupon-oshirase img {
        width: 90%;
        max-width: 400px;
    }

    .p-mainvisual-coupon-oshirase p {
        width: 100%;
        font-size: 1.2rem; 
    }

    .p-mainvisual-coupon-oshirase .coupon-price {
        font-size: 2rem; 
    }
    

}

/* monomode追加 */
@media (width < 768px) {
  .p-osechi-separately-list.-sp-center li {
    display: block;
    width: calc(50% - 10px);
  }

    /* 改行の制御 */
    .spbr {
        display: block; 
    }
    .pcbr {
        display: none; 
    }
  }