/* ============================================================
   article-styles.css — LP + エディター共通の記事コンテンツCSS
   LP 側は .article-content 配下、エディター側は .note-editable 配下
   片方を直せばもう片方も自動的に直る
   ============================================================ */

/* --- 見出し --- */
.article-content h2, .note-editable h2 {
    background: rgb(255, 0, 0) url('/static/meijin_cms/images/h3.png') no-repeat 10px center;
    color: #fff; font-size: 18px; font-weight: 700;
    padding: 7px 2em; margin: 120px -2em 18px -2em;
}
.article-content h3, .note-editable h3 {
    color: #000; font-size: 18px; font-weight: 700;
    padding: 9px 0; margin: 3em 0 18px; border-bottom: 2px solid #ddd;
}
.article-content h3.bg_red, .article-content h2.bg_red,
.note-editable h3.bg_red, .note-editable h2.bg_red {
    background: rgb(255, 0, 0) url('/static/meijin_cms/images/h3.png') no-repeat 10px center;
    color: #fff; font-size: 18px; font-weight: 700;
    padding: 7px 0 7px 35px; margin: 27px 0 18px; border-bottom: none;
}
.hd1, .note-editable .hd1 {
    background: #fff url('/static/meijin_cms/images/h3.png') no-repeat 4px center;
    color: #111; font-size: 18px; font-weight: 700;
    padding: 9px 9px 9px 31px; margin: 36px 0 27px;
    border-bottom: 3px solid rgb(185, 42, 44);
}

/* --- 基本要素 --- */
.article-content p, .note-editable p { margin-bottom: 1em; }
.article-content img, .note-editable img { max-width: 100%; height: auto; margin: 1em 0; }
.article-content ul, .note-editable ul { margin: 1em 0 1em 1.5em; }
.article-content ul li, .note-editable ul li { margin-bottom: 0.8em; }
.article-content ol, .note-editable ol { margin: 1em 0 1em 1.5em; }
.article-content ol li, .note-editable ol li { margin-bottom: 0.5em; }

/* --- テキスト装飾 --- */
.red { color: rgb(255, 10, 10); font-weight: bold; }
.bg_yellow { background-color: rgb(255, 255, 102); color: #000; }
.big1 { font-size: 1.2em; font-weight: bold; }
.big2 { font-size: 1.5em; font-weight: bold; }

/* --- チェックマーク（画像版） --- */
.check { padding-left: 28px; background: url('/static/meijin_cms/images/ico_check.png') no-repeat 0 0.4em; background-size: 20px 20px; line-height: 1.8; list-style: none; }

/* --- チェックマーク（ピンク Unicode） --- */
.check-pink { padding-left: 1.8em; position: relative; list-style: none; }
.check-pink::before { content: "\2714"; color: #e91e8c; position: absolute; left: 0; font-size: 1.1em; }

/* --- 矢印スタイル 4色 --- */
.arrow_black, .arrow_red, .arrow_blue, .arrow_orange {
    background-repeat: no-repeat; font-weight: bold; line-height: 160%;
    font-size: 1em; background-position: left center;
    padding-left: 20px; margin-bottom: 1em; overflow: hidden;
}
.arrow_black { background-image: url('/static/meijin_cms/images/arrow_black.gif'); }
.arrow_red   { background-image: url('/static/meijin_cms/images/arrow_red.gif'); }
.arrow_blue  { background-image: url('/static/meijin_cms/images/arrow_blue.gif'); }
.arrow_orange { background-image: url('/static/meijin_cms/images/arrow_orange.gif'); }

/* --- 黄色ボックス --- */
.ylwbox { background-color: rgb(255, 255, 210); border: 2px solid rgb(204, 0, 0); padding: 10px 16px; margin: 1.5em 0; border-radius: 4px; }
.ylwbox p { margin-bottom: 0; }

/* --- 白ブロック（影） --- */
.whiteblock { margin: 0.5em 0 1.5em; padding: 20px; background: #fff; border: 1px solid #ccc; box-shadow: #ddd 0 2px 3px 0; }

/* --- 引用ブロック（影） --- */
.block, blockquote.block { padding: 16px 16px 0; background: #fff; border: 1px solid #ccc; box-shadow: #ddd 0 2px 3px 0; margin: 1em 0; }

/* --- おしゃれ見出し（グレー背景+影） --- */
.osyare { background-image: none; color: #000; padding: 0.5em 0.75em; background-color: #f6f6f6; box-shadow: rgba(0,0,0,0.15) 0 2px 6px; margin: 1em 0; }

/* --- 口コミセクション --- */
.review_sec { margin-bottom: 10px; padding: 1em; background: rgb(244, 240, 233); border-radius: 10px; }
.fukidasi { position: relative; padding: 0.5em 0.75em; background-color: #fff; border: 1px solid #ccc; border-radius: 6px; margin-bottom: 1em; font-weight: 700; font-size: 1.1em; overflow: visible; }
.fukidasi::before, .fukidasi::after { position: absolute; top: 100%; left: 12px; content: ""; height: 0; width: 0; border: 10px solid transparent; }
.fukidasi::before { border-top: 15px solid #ccc; }
.fukidasi::after  { margin-top: -2px; border-top: 15px solid #fff; }
.reviewer_info { color: rgb(105, 81, 26); margin-bottom: 1em; display: flex; align-items: center; gap: 0.5em; }
.reviewer_img { border: 1px solid rgb(230, 217, 195); background-color: #fff; }
.reviewer_img img { vertical-align: middle; }

/* --- CTA ボタン --- */
.cta-wrapper { text-align: center; margin: 2em 0; }
.cta-button, .note-editable .cta-button, .article-content .cta-button {
    display: inline-block; background: rgb(35, 140, 0) !important;
    color: #fff !important; font-size: 1.3em; font-weight: bold;
    padding: 18px 48px; border-radius: 50px;
    text-decoration: none !important; max-width: 500px;
}
/* CTA ボタンの親要素を常に中央寄せ（wrapper有無に関わらず） */
.cta-wrapper, p:has(> .cta-button), div:has(> .cta-button) { text-align: center !important; }

/* --- 商品概要 flexレイアウト --- */
.product-overview { display: flex; gap: 2em; align-items: flex-start; margin: 2em 0; }
.product-overview .product-image { flex: 0 0 300px; max-width: 300px; }
.product-overview .product-image img { width: 100%; height: auto; margin: 0; }
.product-overview .product-desc { flex: 1; }
