div.red_font{ color: #ff0000; font-weight:bold; }

.box23 {
    position: relative;
    margin: 2em 0 2em 40px;
    padding: 8px 15px;
    background: #fff0c6;
    border-radius: 30px;
}
.box23:before{font-family: FontAwesome;
    content: "\f111";
    position: absolute;
    font-size: 15px;
    left: -40px;
    bottom: 0;
    color: #fff0c6;
}
.box23:after{
    font-family: FontAwesome;
    content: "\f111";
    position: absolute;
    font-size: 23px;
    left: -23px;
    bottom: 0;
    color: #fff0c6;
}
.box23 p {
    margin: 0; 
    padding: 0;
}

/* 黒板風　1 */
.kokuban-s1 {
 position: relative;
 margin: 2em auto;
 padding: 1em;
 width: 90%; /* ボックス幅 */
 background: #202020; /* ボックス背景色 */
 color: #fff; /* 文章色 */
 border: 7px solid #b2771f; /* 枠線 */
 border-radius: 3px; /* 角の丸み */
 box-shadow: 0 0 5px #333;
}
.kokuban-s1::before,
.kokuban-s1::after {
 position: absolute;
 content: '';
 bottom: 0;
} 
.kokuban-s1::before {
 width: 20px;
 right: 10px;
 border: solid 3px #ff42a0; /*チョーク（ピンク） */
 border-radius: 3px 2px 0 2px;
}
.kokuban-s1::after {
 width: 15px; 
 right: 45px;
 border: solid 3px #fff; /*チョーク（白） */
 border-radius: 8px 5px 2px 5px;
}

/* ギャラリー全体 */
.product-gallery-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px; /* メインとサムネイルの間隔 */
  margin-bottom: 20px;
}

/* メイン画像 */
.product-gallery-wrap .main-image img {
  border: none !important; /* ← これを追加 */
  box-shadow: none !important; /* 念のため影も消す */
  width: 500px;
  height: auto;
  border: 1px solid #ddd;
  padding: 4px;
  object-fit: contain;
}

/* サブ画像枠（独立して右側に） */
.product-gallery-wrap .thumb-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

/* サブ画像 */
.product-gallery-wrap .thumb-area .thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.2s;
}

.product-gallery-wrap .thumb-area .thumb:hover {
  border-color: #333;
  transform: scale(1.1);
}
