@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ============================================================
   DMMオンラインクリニック記事用CSS
   貼り付け先: WordPress管理画面 → 外観 → カスタマイズ → 追加CSS
   ※全セレクタは .dmm-cta / .q-say / #revTab / .wn-box / .h2-ans /
     .med-table / .zukai-fig / .dmm-quote / .box-label に限定しており、
     他の記事・サイト共通部分には影響しません
   ============================================================ */
/* ===== DMM送客用CTA:.dmm-cta配下のみに効くスコープ限定CSS(サイト側と競合しません) ===== */
.dmm-cta{max-width:680px;margin:2.4em auto;font-family:inherit;box-sizing:border-box}
.dmm-cta *{box-sizing:border-box}
.dmm-cta__bridge{text-align:center;margin:0 0 12px}
.dmm-cta__badge{display:inline-block;background:linear-gradient(135deg,#17408b,#2563c4);color:#fff;font-size:13px;font-weight:700;padding:5px 20px;border-radius:20px;letter-spacing:.05em;line-height:1.6}
.dmm-cta__box{border:2px solid #17408b;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 4px 16px rgba(23,64,139,.10)}
.dmm-cta__head{background:linear-gradient(135deg,#17408b,#2563c4);color:#fff;font-size:15.5px;font-weight:700;text-align:center;padding:12px 14px;line-height:1.5;margin:0}
.dmm-cta__body{padding:18px 18px 16px}
.dmm-cta__chips{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:0 0 14px;padding:0;list-style:none}
.dmm-cta__chips span{background:#eaf1fc;color:#17408b;font-size:12px;font-weight:700;padding:4px 12px;border-radius:14px;line-height:1.6;white-space:nowrap}
.dmm-cta__lead{font-size:13.5px;line-height:1.8;color:#444;text-align:center;margin:0 0 14px}
.dmm-cta__lead strong{color:#17408b}
.dmm-cta__points{list-style:none;margin:0 0 14px;padding:13px 15px;background:#f7f9fd;border:1px solid #e3eaf6;border-radius:10px}
.dmm-cta__points li{position:relative;padding:0 0 0 27px;margin:0 0 9px;font-size:13.5px;line-height:1.6;color:#333;list-style:none}
.dmm-cta__points li:last-child{margin:0}
.dmm-cta__points li::before{content:"✓";position:absolute;left:0;top:2px;width:18px;height:18px;line-height:18px;text-align:center;font-size:11px;font-weight:800;color:#fff;background:#17408b;border-radius:50%}
.dmm-cta__points b{color:#c2410c;font-weight:800}
.dmm-cta__price{display:flex;flex-direction:column;align-items:center;gap:2px;background:#fff6ec;border:1px dashed #f0b078;border-radius:10px;padding:11px 12px;margin:0 0 16px;text-align:center}
.dmm-cta__price-label{font-size:11.5px;color:#8a6a4a;font-weight:600;line-height:1.5}
.dmm-cta__price-num{font-size:13px;color:#333;font-weight:700;line-height:1.3}
.dmm-cta__price-num b{font-size:26px;color:#c2410c;letter-spacing:.02em;margin:0 1px 0 3px}
.dmm-cta__price-note{font-size:10.5px;color:#a08060;margin:2px 0 0}
.dmm-cta__btn{display:block;position:relative;overflow:hidden;width:100%;max-width:460px;margin:0 auto;text-align:center;background:linear-gradient(135deg,#ff9a53,#f97316);color:#fff!important;font-size:16px;font-weight:700;line-height:1.45;padding:16px 42px 16px 22px;border-radius:12px;box-shadow:0 4px 0 #d05e18,0 6px 14px rgba(249,115,22,.35);text-decoration:none!important;transition:transform .08s ease,box-shadow .08s ease,filter .2s ease}
.dmm-cta__btn:hover{filter:brightness(1.06);color:#fff!important}
.dmm-cta__btn:active{transform:translateY(3px);box-shadow:0 1px 0 #d05e18,0 3px 8px rgba(249,115,22,.3)}
.dmm-cta__btn::after{content:"";position:absolute;top:0;left:-60%;width:36%;height:100%;background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.55),rgba(255,255,255,0));transform:skewX(-20deg);animation:dmmShine 3.2s ease-in-out infinite}
.dmm-cta__arrow{position:absolute;right:16px;top:50%;font-size:13px;animation:dmmArrow 1s ease-in-out infinite}
@keyframes dmmShine{0%{left:-60%}45%{left:120%}100%{left:120%}}
@keyframes dmmArrow{0%,100%{transform:translateY(-50%) translateX(0)}50%{transform:translateY(-50%) translateX(5px)}}
@media(prefers-reduced-motion:reduce){.dmm-cta__btn::after,.dmm-cta__arrow{animation:none}}
.dmm-cta__note{font-size:11px;color:#94a3b8;line-height:1.7;margin:12px 0 0;padding:10px 2px 0;border-top:1px dashed #e2e8f0;text-align:left}
@media(max-width:600px){
.dmm-cta{margin:2em auto}
.dmm-cta__badge{font-size:11.5px;padding:4px 14px}
.dmm-cta__head{font-size:13.5px;padding:10px 10px}
.dmm-cta__body{padding:14px 12px 13px}
.dmm-cta__chips span{font-size:11px;padding:3px 10px}
.dmm-cta__lead{font-size:12.5px}
.dmm-cta__points{padding:11px 12px}
.dmm-cta__points li{font-size:12.5px;padding-left:25px;margin:0 0 8px}
.dmm-cta__price-num b{font-size:22px}
.dmm-cta__btn{font-size:14px;padding:14px 38px 14px 16px}
.dmm-cta__note{font-size:10px}
}
 
/* 視覚用ボールド(strongの代替) */
.bb{font-weight:700}
/* ===== 読者のつぶやき(チャット風・アイコン無し) ===== */
.q-say{position:relative;max-width:560px;margin:14px 0 14px 14px;padding:13px 18px;background:#F4F7FC;border:2px solid #BFD7F0;border-radius:14px;font-size:15px;font-weight:700;line-height:1.7;color:#2b3a52}
.q-say::before{content:"";position:absolute;left:-9px;top:16px;width:14px;height:14px;background:#F4F7FC;border-left:2px solid #BFD7F0;border-bottom:2px solid #BFD7F0;transform:rotate(45deg)}
.q-say.q-right{margin:14px 14px 14px auto;background:#fff;border-color:#9DC0E8;color:#0457B4}
.q-say.q-right::before{left:auto;right:-9px;border-left:none;border-bottom:none;border-right:2px solid #9DC0E8;border-top:2px solid #9DC0E8;background:#fff}
/* ===== H2直下の答えストライプ ===== */
.h2-ans{background:#F6FAFE;border-left:4px solid #0457B4;padding:14px 16px;margin:1.4em 0;border-radius:0 10px 10px 0}
/* ===== ラベル付きタグ ===== */
.box-label{display:inline-block;position:relative;margin:2em 0 0;padding:8px 16px;background:#fff;border:2px solid #0457B4;border-radius:6px;font-size:14px;font-weight:700;color:#0457B4;z-index:1}
.box-label::after{content:"";position:absolute;left:24px;bottom:-9px;width:14px;height:14px;background:#fff;border-right:2px solid #0457B4;border-bottom:2px solid #0457B4;transform:rotate(45deg)}
/* ===== 口コミタブ(CSSのみ・JS不要) ===== */
#revTab{margin:14px 0 1.8em;border:1px solid #D9E4F2;border-radius:12px;overflow:hidden;background:#fff}
#revTab>input{display:none!important;position:absolute;opacity:0;width:0;height:0}
#revTab .revTab__nav{display:flex;background:#F4F7FC;border-bottom:1px solid #D9E4F2}
#revTab .revTab__nav label{flex:1;text-align:center;padding:13px 8px;font-size:14px;font-weight:700;color:#7A8CA6;cursor:pointer;line-height:1.5;margin:0;border-bottom:2px solid transparent;transition:color .2s}
#revTab #rvA:checked~.revTab__nav label[for="rvA"],#revTab #rvB:checked~.revTab__nav label[for="rvB"]{background:#fff;color:#0457B4;border-bottom-color:#0457B4}
#revTab .revTab__panel{display:none;padding:18px 20px}
#revTab #rvA:checked~.revTab__body .revTab__pA,#revTab #rvB:checked~.revTab__body .revTab__pB{display:block}
#revTab ul{margin:0;padding:0;list-style:none}
#revTab li{position:relative;padding:0 0 0 26px;margin:0 0 12px;font-size:14.5px;line-height:1.8;list-style:none}
#revTab li:last-child{margin:0}
#revTab .revTab__pA li::before{content:"○";position:absolute;left:2px;color:#0457B4;font-weight:800}
#revTab .revTab__pB li::before{content:"△";position:absolute;left:2px;color:#8A9BB5;font-weight:800}
/* ===== 注意ボックス ===== */
.wn-box{margin:2em 0;background:#FDF7F7;border:1px solid #EFD2D2;border-radius:10px;overflow:hidden}
.wn-box__ttl{margin:0;background:#F9E9E9;color:#B03A2E;font-size:13px;font-weight:800;padding:9px 16px;letter-spacing:.1em}
.wn-box p{margin:14px 18px;line-height:1.9}
/* ===== 本文ポリッシュ:比較表 ===== */
.med-table-wrap{margin:2em 0;overflow-x:auto}
.med-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #D9E4F2;border-radius:12px;overflow:hidden}
.med-table th,.med-table td{border:none}
.med-table th{background:#F0F6FC;color:#03407F;font-weight:700;padding:12px 10px;border-bottom:1px solid #D9E4F2;font-size:13.5px;line-height:1.6}
.med-table td{background:#fff;padding:12px 10px;border-bottom:1px solid #EEF3FA;font-size:13.5px;line-height:1.7}
.med-table th+th,.med-table td+td{border-left:1px solid #EEF3FA}
.med-table tbody tr:nth-child(even) td{background:#FAFCFF}
.med-table tbody tr:last-child td{border-bottom:none}
/* ===== 本文ポリッシュ:引用カード ===== */
.wp-block-quote.dmm-quote{background:#F8FAFD;border:1px solid #E2EAF4;border-left:4px solid #0457B4;border-radius:0 12px 12px 0;padding:18px 20px;margin:2em 0;color:#39445A;font-size:14.5px;line-height:1.9}
.wp-block-quote.dmm-quote p{margin:0 0 .8em}
.wp-block-quote.dmm-quote p:last-child{margin:0;font-size:12.5px;color:#7A8CA6}
/* ===== 図解(画像挿入後に適用されるスタイル) ===== */
.zukai-fig{margin:1.8em 0}
.zukai-fig img{width:100%;height:auto;border:1px solid #E3EBF5;border-radius:12px;display:block}
.zukai-fig figcaption{margin-top:8px;font-size:12px;color:#8A9BB5;text-align:right}
.zukai-fig--sub{max-width:85%;margin-left:auto;margin-right:auto}
@media(max-width:600px){.zukai-fig--sub{max-width:94%}}
@media(max-width:600px){.q-say{font-size:13.5px}.med-table th,.med-table td{font-size:12.5px;padding:10px 8px}.wp-block-quote.dmm-quote{padding:15px 16px;font-size:13.5px}}
/* ===== 追記（2記事目：イースト駅前クリニック やばい）既存定義は変更せず、不足部品だけ同じ接頭辞で追加 ===== */
/* 赤字（健康・契約リスクのみ） */
.dmm-red{color:#B03A2E;font-weight:700}
/* 口コミの論点リスト（淡色） */
ul.dmm-voice{background:#F8FAFD;border:1px solid #E2EAF4;border-radius:10px;padding:12px 16px 12px 36px;margin:1.2em 0}
ul.dmm-voice li{color:#39445A;font-size:14.5px;line-height:1.8}
/* 口コミタブ下の注記 */
.dmm-tab-note{font-size:12px;color:#7A8CA6;line-height:1.7;margin:-1.2em 0 1.8em}


/* 共通：外側span（クリック領域） */
.link-txt {
    cursor: pointer;
}

/* テキストリンク用 */
.link-txt.link-txt-plain .link-btn {
    text-decoration: underline;
    color: var(--color_link);
}

/* ボタンリンク用：外側を中央寄せ */
.link-txt:not(.link-txt-plain) {
    display: block;
    text-align: center;
    margin: 24px 0;
}

/* ボタンリンク用：ボタン本体 */
.link-txt:not(.link-txt-plain) .link-btn {
    display: inline-block;
    width: 60%;
    padding: 12px 30px;
    background-color: #f44e45;
    color: #fff !important;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
    text-align: center;
    transition: background-color .3s ease;
}

@media (max-width: 768px) {
    .link-txt:not(.link-txt-plain) .link-btn {
        width: 100%;
    }
}

/* ===== イースト駅前クリニック表：横スクロール ===== */
.wp-block-table.east-scroll-table {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.wp-block-table.east-scroll-table table {
  table-layout: auto !important;  /* has-fixed-layout の固定幅を解除 */
  width: max-content !important;  /* 文字の長さに合わせて表を広げる */
  min-width: 100%;
  max-width: none !important;
}

.wp-block-table.east-scroll-table th,
.wp-block-table.east-scroll-table td {
  white-space: nowrap !important; /* 文字を折り返さない */
}

/* 1列目を固定（見出しセルはテーマの青背景のまま） */
.wp-block-table.east-scroll-table th:first-child,
.wp-block-table.east-scroll-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
}
.wp-block-table.east-scroll-table td:first-child {
  background: #fff;
}

.wp-block-table.east-scroll-table th:first-child {
  z-index: 2;
  background-color: #f7f7f7 !important; /* 他の見出しと同じ色にする */
}

/* 表内の公式サイトボタン（赤・左寄せ・下影） */
.east-scroll-table .link-txt:not(.link-txt-plain) {
  display: block;
  text-align: left;
  margin: 10px 0 0;
}
.east-scroll-table .link-txt:not(.link-txt-plain) .link-btn {
  display: inline-block;
  width: auto;
  padding: 10px 28px;
  background-color: #f44e45;
  color: #fff !important;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
  border-radius: 6px;
  box-shadow: 0 5px 0 #b3362f;
  text-decoration: none !important;
  transition: transform .08s ease, box-shadow .08s ease;
}
.east-scroll-table .link-txt:not(.link-txt-plain) .link-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #b3362f;
}


/* ===== CTAボタン（赤・丸・▶付き） ===== */

/* 外枠 */
.cta-box {
    text-align: center;
    margin: 32px 0 64px;
}

/* ＼〜／の煽り文 */
.cta-lead {
    font-weight: bold;
    color: #DB584E;
    font-size: 13px;
    margin: 0 0 8px;
    line-height: 1.4;
}

/* クリック領域（外側span） */
.cta-box.cta-arrow-center .link-txt {
    cursor: pointer;
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* ボタン本体 */
.cta-box.cta-arrow-center .link-btn {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 60%;
    padding: 12px 35px 12px 30px;   /* 右は▶の分だけ広め */
    background-color: #DB584E;
    color: #fff !important;
    font-weight: bold;
    font-size: 14px;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
    text-align: center;
    transition: background-color .3s ease;
}

/* ▶を右端・縦中央に固定 */
.cta-box.cta-arrow-center .btn-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* スマホでは幅100% */
@media (max-width: 768px) {
    .cta-box.cta-arrow-center .link-btn {
        width: 100%;
    }
}

.dmm-bold{
  font-weight:700 !important;
}

.marker-yellow{
  font-weight: 700;
  background: linear-gradient(transparent 55%, #FFEE58 55%);
}

.red {
font-weight:
bold;color: #E60000;
}

.dmm-marker{
  font-weight:700 !important;
  background:linear-gradient(transparent 55%, #FFEE58 55%) !important;
}