/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Version: 1.0
*/

html {
    scroll-behavior: smooth;
}

body {
  font-family: 'Shippori Mincho', serif;
    color : #402925;
}


main {
  margin: 0 auto;
  z-index: 2;
  position: relative;
}


.body__left,
.body__right {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 1;
  background-color: #F7E9CD;
  width: calc((100% - 768px) / 2);
}

.body__left {
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
    flex-direction: column;
}

.body__right {
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}




.has-global-padding {
    padding: 0;
}

.is-layout-constrained > *:not(.alignleft):not(.alignright):not(.alignfull) {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

main div div figure img {
  width: 100%;
  height: auto;
  display: block;
}

.wp-block-image {
  margin-top: 0; /* または margin-block-start: 0; */
  width: 100%;
display: flex;
  justify-content: center;
}

.is-layout-flex {
  gap: 0;
}


.lp-ui-inner {
  margin: 20px 10px;
  text-align: center;
}

.option-row {
  display: flex;
  align-items: center;
  margin-top: 10px;
  text-align: left;
}

.label {
  font-weight: bold;
  font-size: 0.9em;
  margin: 0;
  margin-right: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.button-group {
  gap: 4px;
  justify-content: flex-start;
  overflow-x: auto;
}

button {
  color: #402925;
  padding: 4px;
  border: 1px solid #ccc;
  background-color: #f5f5f5;
  cursor: pointer;
  font-family: 'Shippori Mincho', serif;
  font-size: 0.8em;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  margin-bottom: 2px;
}


button:focus {
  outline: none;
}

button.selected {
  border:  1px solid #402925;
}

button:hover {
  opacity: 0.6;
}

.size {
 padding:  0 20px;
}

.souryou {
  display: inline-block;
  color : #fff;
  background-color: #402925;
  padding: 0.3rem 6rem;
}

.caution {
  font-size: 0.8em;
  font-weight: 600;
  margin: 8px auto;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 0.1em;
  font-size: 3em;
  justify-content: center;
  font-weight: bold;
  font-family: 'Shippori Mincho', serif;
}


#price {
  margin: 0;
}

.tax-info {
  display: flex;
  flex-direction: column;
  font-size: 0.4em;
  align-items: flex-start;
  justify-content: start;
}

.select-list {
  margin: 0 auto;
  display: inline-block;
  padding: 8px;
}







@media screen and (min-width: 1030px) {
  main {
    width: 768px;
    box-shadow: 0 0 1.6rem 0 rgba(0, 0, 0, 0.25);
  }
}

@media screen and (max-width: 1030px) {
  .body__left,
  .body__right {
    display: none;
  }

  main {
    width: 100%;
    box-shadow: none;
  }
}



.lp-coupon {
  max-width: 700px;
  margin: 40px auto;
  text-align: center;
  font-family: 'Shippori Mincho', serif;
  padding: 0 20px; /* 画面端に寄りすぎないように余白 */
  box-sizing: border-box;
}

.lp-coupon-text {
  font-size: 1rem;
  margin-bottom: 12px;
}

.lp-coupon-button {
  display: block;
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  background-color: #fcbe2a;
  color: #000;
  font-size: clamp(1.3rem, 5vw, 3rem);
  border: none;
  border-radius: 1.8em;
  padding: 0.3em 0;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  letter-spacing: 0.08em;
  line-height: 1.2;
  box-sizing: border-box;
}

.lp-coupon-button::after {
  content: '';
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 100%;
  height: 100%;
  background-color: #fc9502;
  border-radius: 1.8em;
  z-index: -1;
}

.lp-coupon-button:hover {
  opacity: 1; /* opacityをデフォルト（不透明）に戻す */
}



.image-overlay-container {
    position: relative; /* 子要素のabsolute配置の基準点となる */
    width: 100%; /* 親の幅いっぱいに広がるように */    
    overflow: hidden; /* はみ出したコンテンツを隠す */
    max-width: 100%;
    margin-left: auto; /* constrained レイアウトの中央寄せを維持 */
    margin-right: auto;
    max-width: var(--wp--style--global--content-size); /* コンテンツ幅に合わせる */
}

/* 下になる画像ブロックのスタイル */
.image-overlay-container .image-bottom {
    position: relative; /* z-indexを有効にするため（明示的に指定しなくても良い場合が多い） */
    width: 100%; /* 親の幅いっぱいに広げる */
    height: auto; /* アスペクト比を維持 */
    display: block; /* 余分な隙間をなくす */
    margin: 0; /* ブロックのデフォルトマージンをリセット */
    padding: 0;
    line-height: 0; /* 画像の下の余白を消す */
    z-index: 1; /* 下に表示される */
}

.image-overlay-container .image-bottom img {
    display: block;
    width: 100%;
    height: auto;
}

/* 上になる画像ブロックのスタイル */
.image-overlay-container .image-top {
    position: absolute; /* 絶対位置で配置 */
    bottom: 2%; 
    z-index: 2; /* image-bottom より手前に表示させる */
    height: auto;
}


/* クーポンコードなし */
.image-overlay-container .image-top2 {
    position: absolute; /* 絶対位置で配置 */
    bottom: 6%; 
    z-index: 2; /* image-bottom より手前に表示させる */
    height: auto;
}




.image-overlay-container .text-top {
    position: absolute; /* 絶対位置で配置 */
    left: 50%;   /* 親要素の左端から50%の位置に配置 */
    transform: translateX(-50%); /* 要素自身の水平方向の中心を基準に移動して中央寄せ */
    height: auto; /* アスペクト比を維持 */
    margin: 0;
    padding: 0;
    z-index: 3; 
    box-sizing: border-box;
    text-align: center;
    min-width: 0;   /* テキスト自体の最小幅をオーバーライドして縮むのを助ける */
    font-size: clamp(18px, 4vw, 32px); 
    white-space: nowrap;
}

.image-overlay-container .text-top span {
    font-size: clamp(16px, 4vw, 28px); 

}

/* リンク付き画像がフォーカスされたときの枠線を削除 */
.wp-block-image a:focus, /* 画像ブロック内のリンクがフォーカスされたとき */
.wp-block-image a:focus-visible { /* :focus-visible はより新しい標準的なフォーカス表示方法 */
    outline: none; /* 枠線を完全に消す */
    box-shadow: none; /* 影がついている場合も消す */
}

.image-overlay-container .image-top img {
    display: block;
    width: 100%;
    height: auto;
}

/* 画像ブロックのマージンを打ち消す */
.wp-block-group {
    margin-block-start: 0 !important; /* または margin-top: 0 !important; */
}

.image-top-button {
   padding: 0 20px;
}
