/* ===== Price Calculation Styles ===== */
.PriceImgArea {
  margin-top: 65px;
  margin-bottom: 104px;
  width: 1240px;
  max-width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.price-calculation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: nowrap;
  margin: 20px 0;
  overflow-x: visible;
}

.price-item {
  background: #fff389;
  border: 8px solid rgba(255, 229, 0);
  border-radius: 10px;
  font-size: 28px;
  font-weight: 900;
  color: #000;
  text-align: center;
  width: 256px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.price-total {
  background: #ffdd00;
  border: none;
  width: 232px;
  height: 90px;
}

.price-operator {
  font-size: 83px;
  font-weight: 900;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
}

@media (max-width: 1240px) {
  .PriceImgArea {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }
}

/* 769px以上での見切れ防止と調整 */
@media (max-width: 1000px) and (min-width: 769px) {
  .PriceImgArea {
    width: 100%;
    padding: 0 15px;
  }
  
  .price-calculation {
    gap: 10px;
  }
  
  .price-item {
    width: 180px;
    height: 75px;
    font-size: 20px;
    font-weight: 900;
  }
  
  .price-total {
    width: 180px;
    height: 75px;
  }
  
  .price-operator {
    font-size: 60px;
    width: 35px;
    min-width: 35px;
  }
}

/* 768px〜481pxを480px以下と同じスタイルに変更 */
@media (max-width: 768px) {
  .PriceImgArea {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
  }
  
  .price-calculation {
    flex-direction: column;
    gap: 20px;
    overflow-x: visible;
    padding: 0;
    margin-bottom: 138px;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .price-calculation-row {
    gap: 1px;
    flex-wrap: nowrap;
    max-width: 100%;
  }
  
  .price-calculation-top,
  .price-calculation-bottom {
    justify-content: center;
  }
  
  .price-item {
    background: #fff389;
    border: 3px solid rgba(255, 229, 0);
    border-radius: 3px;
    font-size: 16px;
    font-weight: 900;
    color: #000;
    text-align: center;
    width: 100px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    min-width: 85px;
  }
  
  /* 個別BOX制御用 */
  .price-item:nth-child(1) {
    /* オリシャン料金BOX */
    width: 100px;
    height: 60px;
  }
  
  .price-item:nth-child(3) {
    /* オプション料金BOX */
    width: 100px;
    height: 60px;
  }
  
  .price-calculation-bottom .price-item {
    /* 送料BOX */
    width: 170px;
    height: 32px;
  }
  
  .price-total {
    background: #ffdd00;
    border: 0px;
    width: 170px;
    height: 32px;
    flex-shrink: 0;
    font-size: 16px;
  }
  
  .price-operator {
    font-size: 28px;
    width: 20px;
    min-width: 20px;
    flex-shrink: 0;
  }
  
  .price-equals {
    font-size: 32px;
    width: 24px;
    min-width: 24px;
  }
}

/* Mobile 2-row layout styles */
.price-calculation-row {
  display: flex;
  align-items: center;
  justify-content: center;
    gap: 11px;
}

/* Mobile Simulation Button improvements */
@media (max-width: 480px) {
  .price-simulation-button-section {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    background-color: #FFF300;
    border-radius: 16px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .price-simulation-yellow-btn-extended {
    width: 95%;
    max-width: 350px;
    height: 70px;
    font-size: 14px;
  }
  
  .btn-text {
    font-size: 20px;
    margin-left: 0;
    position: relative;
    top: -61px;
    color: black;
  }
  
  /* モバイル版PC画像を中央配置 */
  .btn-icon-inside {
    width: 342px;
    height: 126px;
    position: relative;
    left: 8px;
    top: -58px;
    transform: none;
    width:198px;
  }
}
/* ===== End Price Calculation Styles ===== */

/* ===== Price Simulation Section Styles ===== */
.price-simulation-section {
  width: 100%;
  background-color: #FFF500;
  padding: 60px 0;
  margin: 80px 0;
}

.price-simulation-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 20px;
}

/* 競合するスタイルをコメントアウト
.price-simulation-image {
  flex: 0 0 auto;
}

.price-simulation-image img {
  width: 280px;
  height: auto;
  display: block;
}
*/

.price-simulation-content {
  flex: 1;
  text-align: left;
}

.price-simulation-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.4;
}

.price-simulation-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #fff;
  color: #333;
  padding: 18px 36px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.price-simulation-button:hover {
  background-color: #333;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.price-simulation-button svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .price-simulation-section {
    padding: 40px 0;
    margin: 60px 0;
  }
  
  .price-simulation-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  /* 競合するスタイルをコメントアウト
  .price-simulation-image img {
    width: 200px;
    margin: 0 auto;
  }
  */
  
  .price-simulation-content {
    text-align: center;
  }
  
  .price-simulation-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .price-simulation-button {
    font-size: 16px;
    padding: 14px 28px;
  }
}
/* ===== End Price Simulation Section Styles ===== */

/* ===== Price Simulation Button Arrow Styles ===== */
.btn-arrow {
  --arrow-size: 40px; /* デフォルトサイズ - この値を変更でサイズ調整可能 */
  --arrow-stroke-width: 4px; /* デフォルト太さ - この値を変更で太さ調整可能 */
}

.btn-arrow svg {
  width: var(--arrow-size);
  height: var(--arrow-size);
  transition: transform 0.3s ease;
  overflow: visible; /* 線のはみ出しを表示 */
}

.btn-arrow svg circle,
.btn-arrow svg line,
.btn-arrow svg path {
  stroke-width: var(--arrow-stroke-width);
}

.btn-arrow:hover svg {
  transform: scale(1.1);
}

/* Arrow size variations - add class to btn-arrow div */
.btn-arrow.small svg {
  width: 32px;
  height: 32px;
}

.btn-arrow.medium svg {
  width: 40px;
  height: 40px;
}

.btn-arrow.large svg {
  width: 48px;
  height: 48px;
}

.btn-arrow.extra-large svg {
  width: 56px;
  height: 56px;
}

@media (max-width: 768px) {
  .btn-arrow svg {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .btn-arrow {
    position: relative;
    top: -63px;
  }
  
  .btn-arrow svg {
    width: 23px;
    height: 24px;
  }
}

/* ===== Footer Top Button Fix for Small Screens ===== */
@media screen and (max-width: 767px) {
  body section.scroll-top-button .line-button {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  body section.scroll-top-button .line-button::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
  }
  
  body section.scroll-top-button .line-button .btn {
    width: 342px;
    min-width: 342px;
    max-width: 342px;
    flex-shrink: 0;
  }
  
  body section.scroll-top-button .top-button {
    width: 100%;
    height: 56px;
    left: 0;
    position: relative;
    top: 208px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  body section.scroll-top-button .top-button::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
  }
  
  body section.scroll-top-button .top-button .btn {
    width: 342px;
    min-width: 342px;
    max-width: 342px;
    flex-shrink: 0;
    position: relative;
    top: 0;
    margin: 0 auto;
  }
}

@media screen and (max-width: 454px) {
  body .footer-before .top-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 0;
    position: relative;
    left: auto;
    right: auto;
    transform: none;
  }
  
  body section.scroll-top-button .top-button {
    width: 100%;
    left: 0;
    position: relative;
    top: 207px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  
  body section.scroll-top-button .top-button .btn {
    width: 342px;
    min-width: 342px;
    height: 56px;
    flex-shrink: 0;
    position: relative;
    top: 0;
    margin: 0 auto;
  }
  
  body .footer-before .top-button .btn {
    margin: 0 auto;
    position: relative;
    left: auto;
    transform: none;
  }
}
/* ===== End Footer Top Button Fix ===== */

/* ===== End Price Simulation Button Arrow Styles ===== */
@media (max-width: 789px) {
  .price-simulation-button-section {
      margin-top: -53px;
      margin-bottom: 51px;
      text-align: center;
      background-color: #FFF300;
      border-radius: 16px;
      height: 148px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      padding-top: 10px;
      width:342px;
      transition: transform 0.3s ease;
  }
  
  .price-simulation-button-section:hover {
      transform: scale(1.05);
  }
  
  /* モバイル版料金表の（税込）を改行 */
  .TablePrice.Sponly td {
    white-space: pre-line;
    line-height: 1.4;
    font-size: 16px;
  }
  
  /* モバイル版商品名とアルコール度数を左側中央に配置 */
  .TablePrice.Sponly th {
    text-align: left;
    vertical-align: middle;
    padding-left: 10px;
  }
  
  .TablePrice.Sponly th .product-name {
    display: block;
    text-align: left;
    margin-bottom: 0px;
    font-size: 14px;
    line-height: 1.1;
  }
  
  .TablePrice.Sponly th .alcohol-content {
    display: block;
    text-align: left;
    font-size: 12px;
    line-height: 1.1;
    margin-top: -2px;
    margin-left: 0;
    padding-left: 5px;
  }
  
  /* ラズベリーとレッドグレープの文字色を黒に統一 */
  .TablePrice.Sponly th {
    color: #000 !important;
  }
}

/* ===== Sticky Table Header Styles ===== */
/* モバイル版テーブル - 固定列実装 */
.price-table-wrapper.Sponly {
  overflow-x: auto;
  overflow-y: hidden; /* 縦スクロールを無効化 */
  -webkit-overflow-scrolling: touch;
}

/* モバイル版テーブルの最小幅を設定して全列表示 */
.TablePrice.Sponly {
  min-width: 700px;
  width: 100%;
  position: relative;
}

/* 固定列のスタイル - 既存のfirst-childルールと併用 */
.TablePrice.Sponly .fixed-column {
  /* 既存のfirst-childルールと同じ設定を適用 */
  position: sticky !important;
  left: 0 !important;
  z-index: 3 !important;
  background: inherit;
  min-width: 100px !important; /* 他の列と同じ幅に設定 */
}

/* 本数行（TablePriceTr1）の固定列も同じ幅に */
.TablePrice.Sponly .TablePriceTr1 .fixed-column {
  background: #f8f8f8;
  font-weight: bold;
}

@media screen and (min-width: 790px) {
  .PricePage .shipping-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 114px;
  }

  .PricePage .shipping-item {
    display: flex;
    align-items: center;
    gap: 0;
    width: auto;
    max-width: none;
  }

  .PricePage .shipping-region {
    background: #ffdd00;
    color: #000;
    font-weight: bold;
    padding: 15px 40px;
    font-size: 20px;
    border-radius: 0px 0 0 0px;
  }

  .PricePage .shipping-price {
    background: #fff;
    color: #333;
    font-weight: bold;
    padding: 12px 59px;
    font-size: 20px;
    border: 3px solid #ffdd00;
    border-left: none;
    border-radius: 0 0px 0px 0;
  }

  .PricePage .shipping-section {
    margin: 40px auto;
    max-width: 800px;
    padding: 0 20px;
  }

  .PricePage .shipping-title-wrapper {
    text-align: center;
    margin-bottom: 90px;
    margin-top: 200px;
    position: relative;
    display: block;
  }

  .PricePage .shipping-title {
    display: inline-block;
    font-size: 44px;
    font-weight: 900;
    color: #333;
    margin: 0px 0px -55px 0px;
    position: relative;
  }
  
  .PricePage .shipping-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100px;
    height: 55px;
    width: 80px;
    background: url("../images/PriceBefore.svg");
    background-size: cover;
  }
  
  .PricePage .shipping-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: calc(100% + 20px);
    height: 55px;
    width: 80px;
    background: url("../images/PriceAfter.svg");
    background-size: cover;
  }
  
  @media (min-width: 791px) {
    .PricePage .shipping-title::before {
      top: 12px;
      left: -320px;
      height: 93px;
      width: 129px;
    }
    .PricePage .shipping-title::after {
      top: 12px;
      left: 320px;
      height: 93px;
      width: 129px;
    }
  }
  
  /* 重複する画像設定を削除（spanタグで表示） */

}



/* 各商品行の固定列背景色を維持 */
.TablePrice.Sponly .TablePriceTr16 .fixed-column { 
  background: linear-gradient(to bottom, #ffebb3, #ff9500);
  width: 100px !important;
}
.TablePrice.Sponly .TablePriceTr17 .fixed-column { background: linear-gradient(to bottom, #ddb892, #8b4513); }
.TablePrice.Sponly .TablePriceTr18 .fixed-column { background: linear-gradient(to bottom, #ffb3d9, #ff1493); }
.TablePrice.Sponly .TablePriceTr19 .fixed-column { background: linear-gradient(to bottom, #87ceeb, #1e90ff); }
.TablePrice.Sponly .TablePriceTr20 .fixed-column { background: linear-gradient(to bottom, #c9ff9f, #90ee90); }
.TablePrice.Sponly .TablePriceTr21 .fixed-column { background: linear-gradient(to bottom, #98fb98, #32cd32); }
.TablePrice.Sponly .TablePriceTr22 .fixed-column { background: linear-gradient(to bottom, #ffc299, #ff6347); }
.TablePrice.Sponly .TablePriceTr23 .fixed-column { background: linear-gradient(to bottom, #ffff99, #ffd700); }
.TablePrice.Sponly .TablePriceTr24 .fixed-column { background: linear-gradient(to bottom, #ff99cc, #dc143c); color: #fff; }
.TablePrice.Sponly .TablePriceTr25 .fixed-column { background: linear-gradient(to bottom, #e6e6fa, #708090); color: #000; }
.TablePrice.Sponly .TablePriceTr26 .fixed-column { background: linear-gradient(to bottom, #f0ffb3, #adff2f); }
.TablePrice.Sponly .TablePriceTr27 .fixed-column { background: linear-gradient(to bottom, #dda0dd, #8b008b); color: #fff; }
/* ===== End Sticky Table Header Styles ===== */

/* 光るオリシャンカード専用スタイル */
.PricePage .OptionCardHighlight {
  position: relative;
}

.PricePage .GlowBottleSubtitle,
.PricePage .GlowBottlePrice {
  color: white !important;
  position: absolute;
  bottom: 60px;
  left: 5%;
  right: 5%;
  z-index: 4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.PricePage .GlowBottleSubtitle {
  margin-bottom: 0;
  font-size: clamp(16px, 2.5vw, 8px);
  line-height: 1.3;
  bottom: 77px;
  left: -158px;
  font-weight: 300;
}

.PricePage .GlowBottlePrice {
  bottom: 31px;
  left: -208px;
  font-weight: bold;
  font-size: clamp(28px, 3vw, 18px);
}

/* 光るオリシャンの税込表示を白色に */
.PricePage .GlowBottleTax {
  color: white !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* OptionGridMiddleスタイル */
.PricePage .OptionGridMiddle {
  display: flex;
  justify-content: center;
  margin: 20px auto;
}

.PricePage .OptionGridMiddle .OptionCard {
  width: 100%;
  max-width: 600px;
}

@media (min-width: 1025px) {
  .PricePage .OptionGridMiddle {
    max-width: 1240px;
    padding: 0 20px;
  }
}

/* デスクトップ版とモバイル版のテキスト切り替え */
.mobile-text {
  display: none;
}

@media (max-width: 790px) {
  .desktop-text {
    display: none;
  }
  .mobile-text {
    display: inline;
  }
}

/* 790px-1024px範囲のオプション料金カード設定（721px-789pxは別途定義） */
@media (min-width: 790px) and (max-width: 1024px) {
  /* このメディアクエリは721px-789pxの範囲と重複するため、
     実際には790px-1024pxで適用される */
  .PricePage .OptionGridBottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .PricePage .OptionGridBottom .OptionCard {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

/* 721px-789px範囲のオプション料金カード設定 - 790px以下のスタイルを適用 */
/* より具体的なメディアクエリが優先される */
@media screen and (min-width: 721px) and (max-width: 789px) {
  /* 下4つのカードのグリッド設定 */
  .PricePage .OptionGridBottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 22px;
  }
  
  /* 下4つのカードのサイズを統一 */
  .PricePage .OptionGridBottom .OptionCard {
    width: 342px;
    height: 256px;
    max-width: 100%;
    margin: 0 auto 20px;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
  }
  
  /* 下4つのカードの文字を左揃え */
  .PricePage .OptionGridBottom .OptionCard .OptionCardTitle {
    text-align: left !important;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 12px;
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: bold;
  }
  
  .PricePage .OptionGridBottom .OptionCard .OptionCardSubtitle {
    text-align: left !important;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 300;
  }
  
  .PricePage .OptionGridBottom .OptionCard .OptionCardPrice {
    text-align: left !important;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
    font-weight: bold;
  }
  
  /* 下4つのカードの画像エリアを固定 */
  .PricePage .OptionGridBottom .OptionCard .OptionCardInner {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: white;
  }
  
  /* 画像表示エリアの高さを固定 */
  .PricePage .OptionGridBottom .OptionCard .OptionCardImg {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin: 0;
    flex-shrink: 0;
    clip-path: none;
  }
  
  /* 下4つのカードの画像を個別調整 */
  /* 1番目: オリジナルネックラベル */
  .PricePage .OptionGridBottom .OptionCard:nth-child(1) .OptionCardImg {
    transform: none;
    object-position: center center;
  }
  
  /* 2番目: アクリルキーホルダー */
  .PricePage .OptionGridBottom .OptionCard:nth-child(2) .OptionCardImg {
    transform: none;
    object-position: center center;
  }
  
  /* 3番目: メニュー表作成 */
  .PricePage .OptionGridBottom .OptionCard:nth-child(3) .OptionCardImg {
    transform: none;
    object-position: center 30%;
  }
  
  /* 4番目: スピード発送 */
  .PricePage .OptionGridBottom .OptionCard:nth-child(4) .OptionCardImg {
    transform: none;
    object-position: center center;
  }
  
  /* 下4つのカードの文字位置調整 */
  .PricePage .OptionGridBottom .OptionCard {
    position: relative;
  }
  
  .PricePage .OptionGridBottom .OptionCard .OptionCardInner {
    position: relative;
  }
  
  /* 各カードのタイトルとサブタイトルの位置を個別調整 */
  /* 1番目: オリジナルネックラベル */
  .PricePage .OptionGridBottom .OptionCard:nth-child(1) .OptionCardTitle {
    position: relative;
    top: 0px;
    left: -39px;
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(1) .OptionCardSubtitle {
    position: relative;
    top: 0px; 
    left: -35px;
  }
  
  /* 2番目: アクリルキーホルダー */
  .PricePage .OptionGridBottom .OptionCard:nth-child(2) .OptionCardTitle {
    position: relative;
    top: 0px;
    left: -44px;
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(2) .OptionCardSubtitle {
    position: relative;
    top: 0px; 
    left: -34px;
  }
  
  /* 3番目: メニュー表作成 */
  .PricePage .OptionGridBottom .OptionCard:nth-child(3) .OptionCardTitle {
    position: relative;
    top: 0px;
    left: -74px;
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(3) .OptionCardSubtitle {
    position: relative;
    top: 0px; 
    left:-24px;
  }
  
  /* 4番目: スピード発送 */
  .PricePage .OptionGridBottom .OptionCard:nth-child(4) .OptionCardTitle {
    position: relative;
    top: 0px;
    left: -82px;
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(4) .OptionCardSubtitle {
    position: relative;
    top: 0px; 
    left:-50px;
  }
  
  /* 価格も同様に調整可能 */
  .PricePage .OptionGridBottom .OptionCard:nth-child(1) .OptionCardPrice {
    position: relative;
    top: -8px;
    left:1px;
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(2) .OptionCardPrice {
    position: relative;
    top: -8px;
    left:1px;
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(3) .OptionCardPrice {
    position: relative;
    top: -8px;
    left:1px;
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(4) .OptionCardPrice {
    position: relative;
    top: -8px;
    left:1px;
  }
}

/* モバイル版光るオリシャンカードのスタイル - 1024pxまで拡張 */
@media (max-width: 1024px) {
  .PricePage .OptionGridTop {
    margin: 0 -24px;
  }
  
  .PricePage .OptionGridMiddle {
    margin: 20px auto;
    padding: 0 20px;
  }
  
  .PricePage .OptionGridMiddle .OptionCard {
    width: 90%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .PricePage .OptionGridTop .OptionCardHighlight {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
  }
  
  .PricePage .OptionGridTop .OptionCardHighlight:hover {
    transform: none;
    box-shadow: none;
  }
  
  .PricePage .OptionGridTop .OptionCardHighlight .OptionCardInner {
    padding: 0;
    background: transparent;
    margin-top: 20px;
  }
  
  .PricePage .OptionGridTop .OptionCardHighlight .OptionCardImg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    margin: 0;
    max-width: none;
  }
  
  .PricePage .OptionGridTop .OptionCardHighlight .OptionCardSubtitle {
    display: block;
    position: absolute;
    bottom: 53px;
    left: 25px;
    right: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 12px;
    text-align: left;
    margin: 0;
    font-weight: 300;
  }
  
  .PricePage .OptionGridTop .OptionCardHighlight .OptionCardPrice {
    display: block;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 18.76px;
    font-weight: bold;
    text-align: left;
    margin: 0;
  }
  
  .PricePage .OptionGridTop .OptionCardHighlight {
    position: relative;
  }
  
  /* モバイル版下4つのカードの画像下部をカット */
  .PricePage .OptionGridBottom .OptionCard .OptionCardImg {
    clip-path: none; /* カットを削除 */
  }
  
  /* モバイル版下4つのカードのサイズを統一 */
  .PricePage .OptionGridBottom .OptionCard {
    width: 342px;
    height: 256px;
    max-width: 100%;
    margin: 0 auto;
    background: #fff; /* 背景を白に */
    border-radius: 15px;
    overflow: hidden;
  }
  
  /* モバイル版下4つのカードの文字を左揃え */
  .PricePage .OptionGridBottom .OptionCard .OptionCardTitle {
    text-align: left !important;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 700 !important;
  }
  
  /* h3タグのfont-weightを確実に上書き */
  .PricePage .OptionGridBottom .OptionCard h3.OptionCardTitle {
    font-weight: 700 !important;
  }
  
  .PricePage .OptionGridBottom .OptionCard .OptionCardSubtitle {
    text-align: left !important;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 300;
  }
  
  .PricePage .OptionGridBottom .OptionCard .OptionCardPrice {
    text-align: left !important;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 5px;
    margin-bottom: 10px;
  }
  
  /* モバイル版下4つのカードの画像エリアを固定 */
  .PricePage .OptionGridBottom .OptionCard .OptionCardInner {
    overflow: hidden; /* カードからはみ出した部分を隠す */
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0; /* パディングを削除 */
    background: #fff; /* 白背景 */
  }
  
  /* 画像表示エリアの高さを固定 */
  .PricePage .OptionGridBottom .OptionCard .OptionCardImg {
    display: block;
    width: 100%;
    height: 150px; /* 画像エリアを大きく */
    object-fit: cover;
    object-position: center center;
    margin: 0; /* マージンを削除 */
  }
  
  /* モバイル版下4つのカードの画像を個別調整 */
  /* 1番目: オリジナルネックラベル */
  .PricePage .OptionGridBottom .OptionCard:nth-child(1) .OptionCardImg {
    transform: none;
    object-position: center center;
  }
  
  /* 2番目: アクリルキーホルダー */
  .PricePage .OptionGridBottom .OptionCard:nth-child(2) .OptionCardImg {
    transform: none;
    object-position: center center;
  }
  
  /* 3番目: メニュー表作成 */
  .PricePage .OptionGridBottom .OptionCard:nth-child(3) .OptionCardImg {
    transform: none;
    object-position: center center;
  }
  
  /* 4番目: スピード発送 */
  .PricePage .OptionGridBottom .OptionCard:nth-child(4) .OptionCardImg {
    transform: none;
    object-position: center center;
  }
  
  /* モバイル版下4つのカードの文字位置調整 */
  .PricePage .OptionGridBottom .OptionCard {
    position: relative;
  }
  
  /* モバイル版テーブルのアルコール度数の位置調整 */
  .PricePage .TablePrice.Sponly th .alcohol-content {
    position: relative;
    left: -29px; /* 左右位置調整 */
    top: 0px; /* 上下位置調整 */
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
  }
  
  .PricePage .OptionGridBottom .OptionCard .OptionCardInner {
    position: relative;
  }
  
  /* 各カードのタイトルとサブタイトルの位置を個別調整 */
  /* 1番目: オリジナルネックラベル */
  .PricePage .OptionGridBottom .OptionCard:nth-child(1) .OptionCardTitle {
    position: relative;
    top: 0px;
    left: -39px; /* 上下位置調整 */
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(1) .OptionCardSubtitle {
    position: relative;
    top: 0px; 
    left: -35px;/* 上下位置調整 */
  }
  
  /* 2番目: アクリルキーホルダー */
  .PricePage .OptionGridBottom .OptionCard:nth-child(2) .OptionCardTitle {
    position: relative;
    top: 0px;
    left: -44px;/* 5px上に移動 */
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(2) .OptionCardSubtitle {
    position: relative;
    top: 0px; 
    left: -34px; /* 5px上に移動 */
  }
  
  /* 3番目: メニュー表作成 */
  .PricePage .OptionGridBottom .OptionCard:nth-child(3) .OptionCardTitle {
    position: relative;
    top: 0px;
    left: -74px;/* 5px下に移動 */
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(3) .OptionCardSubtitle {
    position: relative;
    top: 0px; 
    left:-24px;/* 5px下に移動 */
  }
  
  /* 4番目: スピード発送 */
  .PricePage .OptionGridBottom .OptionCard:nth-child(4) .OptionCardTitle {
    position: relative;
    top: 0px;
    left: -82px; /* 10px上に移動 */
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(4) .OptionCardSubtitle {
    position: relative;
    top: 0px; 
    left:-50px/* 10px上に移動 */
  }
  
  /* 価格も同様に調整可能 */
  .PricePage .OptionGridBottom .OptionCard:nth-child(1) .OptionCardPrice {
    position: relative;
    top: -8px;
    left:1px
  
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(2) .OptionCardPrice {
    position: relative;
    top: -8px;
    left:1px
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(3) .OptionCardPrice {
    position: relative;
    top: -8px;
    left:1px
  }
  .PricePage .OptionGridBottom .OptionCard:nth-child(4) .OptionCardPrice {
    position: relative;
    top: -8px;
    left:1px
  }
}

/* 1024px以下790px以上でのOptionCardPriceフォントサイズ調整 */
@media (max-width: 1024px) and (min-width: 790px) {
  .PricePage .OptionGridBottom .OptionCard .OptionCardPrice {
    text-align: left;
    padding-left: 0px;
    padding-right: 111px;
    font-size: 20px;
    font-weight: bold;
  }
  
  .PricePage .OptionGridBottom .OptionCard .OptionCardTax {
    font-size: 16px;
    font-weight: normal;
  }
  
  .PricePage .OptionGridBottom .OptionCard .OptionCardUnit {
    font-size: 20px;
    font-weight: bold;
  }
  
  .PricePage .OptionGridTop .OptionCardHighlight .OptionCardPrice {
    text-align: left;
    font-size: 20px;
    font-weight: bold;
  }
  
  .PricePage .OptionGridTop .OptionCardHighlight .OptionCardTax {
    font-size: 16px;
    font-weight: normal;
  }
  
  .PricePage .OptionGridTop .OptionCardHighlight .OptionCardUnit {
    font-size: 20px;
    font-weight: bold;
  }
}