/*
 * JOHS Core — 本文用スタイル（テーマ非依存）
 * 旧テーマ Stinger Plus2（親・子テーマ）とカスタマイザーの追加CSSから、
 * 本文・Events Manager・MailPoet 等で使うクラスだけを移植したもの。
 * 旧子テーマが有効な間は読み込まれない。
 */

/* ---------- ボックス・マーカー（Stinger 由来＋子テーマの上書き） ---------- */
.huto{font-weight:bold;}
.hutoaka{font-weight:bold;color:#ff0000;}
.keiko_red,.rmarker{background:linear-gradient(transparent 50%, rgba(255, 88, 88, 0.24) 50%);padding:0 2px;}
.yellowbox,.graybox{font-size:1rem;line-height:1.5em;}
.yellowbox{padding:5px 20px 15px;border:1px dotted #fff100;background-color:#ffffe0;margin-bottom:20px;}
.graybox{padding:5px 20px 15px;border:1px dotted #cccccc;background-color:#fcfcfc;margin-bottom:20px;}
.yellowbox p:last-child,.yellowbox ol:last-child,.yellowbox ul:last-child,
.graybox p:last-child,.graybox ol:last-child,.graybox ul:last-child{margin-bottom:0;padding-bottom:0;}
.break{display:block;width:35px;height:35px;margin:-5px auto 10px;background:url("../../../themes/stingerplus2-child/images/break.png") no-repeat;text-indent:-9999px;}
p.r_text{text-align:right;}
.width_70{width:70%;margin:20px auto;}

/* ---------- 表 ---------- */
.b_table th{width:110px;background-color:#eeeeee;}
.b_table td{background-color:#ffffff;}
.seminar_table th{background-color:#eeeeee;}
.res-table th{background:#eeeeee;}
@media print, screen and (min-width:960px) {
.res-table table{box-sizing:border-box;border-collapse:collapse;margin:0 auto;text-align:left;}
.res-table th,.res-table td{border:1px solid #999999;font-size:14px;}
.res-table th{width:120px;text-align:center;}
}
@media only screen and (max-width:960px) {
.res-table table{width:100%;margin-bottom:20px;}
.res-table th,.res-table td{display:block;}
.res-table td{background-color:#ffffff;}
}

/* ---------- ごあいさつ（プロフィール） ---------- */
h2.profile{position:relative;padding:1em 0.75em;background-color:#f0f0f0;border-radius:6px;border-left:none !important;}
h2.profile::after{position:absolute;top:100%;left:30px;content:"";width:0;height:0;border-width:15px 10px 10px;border-style:solid;border-color:#f0f0f0 transparent transparent;}
.profile::before{content:"\f007";display:inline-block;font-family:FontAwesome;font-weight:normal;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;padding-right:0.5em;color:#444444;}
h3.profile{position:relative;border-bottom:4px solid #cccccc;border-left:none;}
h3.profile::after{position:absolute;bottom:-4px;left:0;z-index:2;content:"";width:20%;height:4px;background-color:#f77e05;}
.profile_box{border:1px dotted #cccccc;padding:10px 15px;}

/* ---------- パワーフード ---------- */
table.pfood{border-collapse:collapse;width:100%;font-size:14px;line-height:1.5em;}
table.pfood th{border-bottom:1px dotted #e3e3e3;text-align:left;padding:10px;font-weight:normal;}
table.pfood td{border-bottom:1px dotted #e3e3e3;text-align:left;padding:10px;}
td.pf_top{border-top:4px solid #b3b3b3;}
th.pf_top_ok{border-top:4px solid #3498db;}
th.pf_top_ng{border-top:4px solid #e74c3c;}

/* ---------- 参加者の声 ---------- */
.vbox_wrap{padding-top:20px;padding-bottom:0;}
.vbox{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:40px;clear:both;}
.vbox:last-child{margin-bottom:0;}
.vbox-left{width:calc(100% - 210px);}
.vbox-right{width:120px;}
.vbox-right img{border-radius:50%;width:100px;height:100px;margin:5px 10px 0;border:2px solid #eeeeee;}
.voice{width:100%;position:relative;padding:1em 1.5em;background-color:#ffffff;border:2px solid #cccccc;border-radius:6px;margin:0;background-image:url("../../../uploads/quote.png");background-repeat:no-repeat;background-position:left top;}
.voice p{margin-bottom:5px;}
.voice::before{position:absolute;top:30px;right:-32px;content:"";width:0;height:0;border-width:10px 10px 10px 20px;border-style:solid;border-color:transparent transparent transparent #cccccc;}
p.voice_title{font-size:1.1em;color:#888888;margin-bottom:15px;padding-left:30px;}
.age{text-align:center;margin-top:5px;margin-bottom:0;}
.gender{text-align:center;margin-top:0;margin-bottom:0;}
@media screen and (max-width:767px) {
.voice::before{position:absolute;top:100%;left:90px;right:auto;content:"";width:0;height:0;border-width:20px 10px 10px;border-style:solid;border-color:#cccccc transparent transparent;}
.voice::after{top:calc(100% - 4px);left:90px;border-width:20px 10px 10px;border-style:solid;border-color:#ffffff transparent transparent;}
.vbox-right img{float:left;margin-left:50px;}
.age{text-align:left;padding-top:25px;padding-left:180px;}
.gender{text-align:left;padding-left:180px;}
.vbox{display:block;width:100%;}
.vbox-left{width:calc(100% - 52px);}
.vbox-right{margin:25px 0 50px;width:100%;}
}

/* ---------- おすすめ食材（商品ボックス） ---------- */
.pbox{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:20px;}
.pbox-left-width{width:30%;}
.pbox-left-out{padding-top:100%;position:relative;}
.pbox-left{position:absolute;top:0;left:0;border:1px solid #cccccc;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;}
.pbox-left img,.pbox-left a img{width:auto;height:auto;max-width:100%;max-height:100%;vertical-align:middle;}
.pbox-left img.size-full{margin-bottom:0;}
.pbox-right{width:70%;margin-left:3%;}
.m_prod_notes{margin-left:0;margin-right:0;}
.m_proddetails p{margin-bottom:5px;}
.proditem{font-size:80%;color:#ffffff;padding:3px 20px;margin:0 20px 0 0;width:200px;background-color:cornflowerblue;border-radius:10px;}
.buyit{text-align:center;margin-top:10px;}
@media (max-width:700px) {
.pbox{flex-direction:column;}
.pbox-right{width:100%;margin-left:0;margin-top:20px;}
.pbox-left{border:1px solid #eeeeee;width:99%;}
.pbox-left img{display:block;margin:auto;max-height:1000px !important;}
.pbox-left-width{width:100%;}
.pbox-left,.pbox-left-out{max-height:200px;}
.pbox-left-out{padding-top:200px;}
}

/* ---------- セミナー案内 ---------- */
ul.seminar_notice{list-style-type:none;padding:10px 10px 0;margin:20px 0 0;border-top:1px dotted #bbbbbb;border-bottom:1px dotted #bbbbbb;background-color:#fafafa;}
ul.seminar_notice li{margin-bottom:0.5em;line-height:1.5;padding-left:1.5em;position:relative;font-size:14px;}
ul.seminar_notice li::before{font-family:FontAwesome;content:"\f061";color:#b22222;position:absolute;top:0;left:0;}

/* ---------- Events Manager：イベント一覧 ---------- */
.el-box{display:flex;border-bottom:1px solid #eeeeee;padding:20px 0;}
.el-box:last-child{border-bottom:none;}
.coming_events .el-box:last-child{border-bottom:1px dotted #cccccc;}
.el-place,.el-venue,.el-price{color:#ffffff;background-color:cornflowerblue;border-radius:5px;font-size:80%;padding:3px 15px;margin:0 20px 0 0;width:200px;}
@media only screen and (max-width:960px) {
.el-place,.el-venue,.el-price{font-size:0.8rem;padding:2px 10px;width:160px;}
.el-box p{font-size:1rem;}
}
.event table{margin-top:20px;}

/* ---------- Events Manager：申込フォーム（ふりがな欄など） ---------- */
.el_form{margin:30px auto;}
.el_form dl{display:table;width:100%;}
.el_form dt,.el_form dd{display:table-cell;vertical-align:middle;font-size:1rem;color:#333333;}
.el_form dt,dt.el_form{width:30%;padding:15px 0 15px 10px;position:relative;font-weight:bold;letter-spacing:0;}
.el_form dt.required::after,dt.el_form.required::after{content:"必須";width:30px;font-weight:normal;position:absolute;right:10px;top:0;bottom:0;margin:auto;height:16px;display:inline-block;background:#dc143c;border-radius:5px;color:#ffffff;padding:1px 3px;text-align:center;font-size:0.6rem;line-height:16px;}
.el_form dd,dd.el_form{width:70%;padding:15px 20px;background:#ffffff;}
.el_form input[type="text"],.el_form input[type="tel"],.el_form input[type="url"],.el_form input[type="email"],.el_form select,.el_form textarea{width:100%;background-color:#f0f4f6;border:none;line-height:1.6rem;letter-spacing:0.1em;vertical-align:middle;padding:5px 10px !important;}
@media screen and (max-width:767px) {
.el_form{margin:0 auto 20px;}
.el_form dl{display:block;width:100%;border-top:1px solid #e0e0e0;}
.el_form dl:last-child{border-bottom:1px solid #e0e0e0;}
.el_form dt,.el_form dd{display:block;vertical-align:middle;font-size:1rem;}
.el_form dt{width:100%;position:relative;padding:15px 0;}
.el_form dd{width:100%;padding:0 20px 0 0;background:#ffffff;margin-left:0;margin-bottom:16px;}
}

/* ---------- Events Manager：イベント詳細・申込画面（カスタマイザーの追加CSSから） ---------- */
.em.pixelbones .m_eventdetails p{margin:0 0 6px !important;}
.em.pixelbones .m_eventnote p{margin:0 !important;}
.em.pixelbones .m_eventnote h4{font-size:18px !important;font-weight:bold !important;line-height:1.5 !important;letter-spacing:normal !important;margin:0 0 10px !important;padding:0 5px 0 15px !important;}
.em.pixelbones.em-item-single > h3{font-size:20px !important;font-weight:bold !important;line-height:1.4 !important;letter-spacing:normal !important;margin:25px 0 15px !important;padding:5px 5px 5px 15px !important;}
.em.pixelbones .el-details p{margin:0 0 6px !important;}
.em.pixelbones.em-event-booking-form input.em-button.em-booking-submit.em-form-submit{display:inline-block !important;width:auto !important;max-width:280px !important;height:auto !important;line-height:normal !important;text-align:center !important;text-transform:none !important;letter-spacing:normal !important;border:2px solid #9ec34b !important;font-size:16px !important;color:#9ec34b !important;background-color:#ffffff !important;text-decoration:none !important;font-weight:bold !important;padding:12px 35px !important;margin:5px auto 20px !important;border-radius:10px !important;transition:0.4s !important;}
.em.pixelbones.em-event-booking-form input.em-button.em-booking-submit.em-form-submit:hover{background-color:#9ec34b !important;border-color:#9ec34b !important;color:#ffffff !important;}
.em.pixelbones.em-event-booking-form .em-booking-section-title{font-size:18px !important;font-weight:bold !important;color:#999999 !important;padding:7px 5px 7px 20px !important;margin:0 0 10px !important;}
.em.pixelbones.em-event-booking-form .em-booking-form-tickets.em-booking-section{padding-top:5px !important;}
.em.pixelbones.em-event-booking-form table.em-tickets{margin-top:0 !important;}
.em.pixelbones.em-event-booking-form .em-payment-gateways{padding:0 !important;min-height:0 !important;}
.em.pixelbones.em-event-booking-form .em-booking-form-buttons{padding:5px !important;}
.em.pixelbones.em-event-booking-form .em-booking-form-summary{padding:10px 15px 5px !important;}

/* ---------- MailPoet・reCAPTCHA・埋め込み（カスタマイザーの追加CSSから） ---------- */
.mailpoet_paragraph{margin-bottom:5px !important;}
.mailpoet_form_columns{margin-bottom:5px !important;}
#mailpoet_form_4 form.mailpoet_form{padding:0 !important;}
#mailpoet_form_4 .mailpoet_paragraph.last{margin-top:20px !important;}
.mailpoet_form_shortcode{width:80%;margin-left:auto;margin-right:auto;}
.page-id-1439 .el_come,.page-id-1439 .ad{display:none;}
.google_rc{padding:30pt 0;color:#888888;}
.google_rc a{color:#888888;}
.grecaptcha-badge{visibility:hidden;}
iframe[src*="vimeo.com"],.elementor iframe[src*="vimeo.com"]{border:1px dotted #cccccc;}

/* ---------- メニューの英語表記 ---------- */
.menu-item-description{display:block;font-size:0.75em;line-height:1.2;opacity:0.8;}
@media only screen and (max-width:960px) {
.menu-item-description{display:inline;margin-left:10px;}
}

/* ---------- Events Manager：イベント一覧のカード（旧子テーマの style.css から・v0.2.1） ---------- */
.coming_events{border-top:1px dotted #cccccc;}
.el-box{line-height:24px;}
.el-box-1{border:1px solid #cccccc;width:150px;height:150px;float:left;margin-right:20px;display:flex;flex-direction:column;justify-content:center;align-items:center;}
.el-box-1>img{width:auto;height:auto;max-width:100%;max-height:100%;vertical-align:middle;}
.el-box-2{flex:1 1 0%;}
.el-box-2>p{margin-top:0;margin-bottom:25px;vertical-align:middle;color:#333333;line-height:24px;}
.el-title{font-size:1.1rem;font-weight:bold;line-height:2em;margin:0 0 10px;}
.el-title a,.entry-content .el-title a{color:#3372f0;text-decoration:none;}
p.el-schedule{font-size:100%;font-weight:600;color:#ff8c00;line-height:1.5em;margin:0 0 25px;}
.el-status{font-size:80%;color:#ffffff;padding:3px 15px;margin:0 20px 0 0;width:200px;border-radius:5px;}
.el-onsale{background-color:#e9573f;}
.el-end{background-color:#ccd1d9;}
.el-details{margin:10px 0 0;}
.el-details p{margin:0 0 6px;color:#333333;line-height:24px;}
@media only screen and (max-width:700px){.el-box-1{display:none;}}

/* Vimeo 埋め込み動画の枠線（旧カスタマイザー追加CSSから・v0.2.2） */
iframe[src*="vimeo.com"],.elementor iframe[src*="vimeo.com"]{border:1px dotted #cccccc;}

/* ---------- お問い合わせフォーム（MW WP Form）：旧子テーマの style.css から・v0.2.3 ---------- */
.form_table{margin:30px auto;}
.form_table dl{display:table;width:100%;margin:0;}
.form_table dt,.form_table dd{display:table-cell;vertical-align:middle;font-size:1rem;color:#333333;margin:0;}
.form_table dt{width:30%;padding:15px 0 15px 10px;position:relative;font-weight:bold;letter-spacing:0;}
.form_table dt.required::after{content:"必須";width:30px;font-weight:normal;position:absolute;right:10px;top:0;bottom:0;margin:auto;height:16px;display:inline-block;background:#dc143c;border-radius:5px;color:#ffffff;padding:1px 3px;text-align:center;font-size:0.6rem;line-height:16px;}
.form_table dd{width:70%;padding:15px 20px;background:#ffffff;}
.form_table input[type="text"],.form_table input[type="tel"],.form_table input[type="url"],.form_table input[type="email"],.form_table select,.form_table textarea{width:100%;background-color:#f0f4f6;border:none;border-radius:0;box-shadow:none;line-height:1.6rem;letter-spacing:0.1em;vertical-align:middle;padding:5px 10px !important;}
.btnWrap{text-align:center;}
.btnWrap .btn,.btnWrap input.btn[type="submit"]{display:inline-block;max-width:180px;text-align:left;border:2px solid #9ec34b;font-size:16px;color:#9ec34b;text-decoration:none;font-weight:bold;padding:8px 35px;margin:25px 0;border-radius:10px;background:#ffffff;transition:0.4s;line-height:1.5;}
.btnWrap .send,.btnWrap .home{background:#ffffff;color:#9ec34b;}
.btnWrap .send:hover,.btnWrap .home:hover{background:#9ec34b;color:#ffffff;border-color:#9ec34b;text-decoration:none;}
.btnWrap .back{background:#ffffff;color:#ffc31c;border-color:#ffc31c;margin-right:20px;}
.btnWrap .back:hover{background:#ffc31c;color:#ffffff;}
.check{text-align:center;padding-top:0;margin-bottom:20px;}
.mw_wp_form_input .check{display:none;}
.mw_wp_form_complete .btnWrap{margin-top:30px;}
.mw_wp_form_preview .form_table dt,.mw_wp_form_preview .form_table dd{border-bottom:1px solid #eeeeee;}
.google_rc{padding:30pt 0;color:#888888;}
.google_rc a{color:#888888;}
.grecaptcha-badge{visibility:hidden;}
@media screen and (max-width:767px){
.form_table{margin:0 auto 20px;}
.form_table dl{display:block;width:100%;border-top:1px solid #e0e0e0;}
.form_table dl:last-child{border-bottom:1px solid #e0e0e0;}
.form_table dt,.form_table dd{display:block;vertical-align:middle;font-size:1rem;}
.form_table dt{width:100%;position:relative;padding:15px 0;}
.form_table dd{width:100%;padding:0 20px 0 0;background:#ffffff;margin-left:0;margin-bottom:16px;}
.btnWrap .btn,.btnWrap input.btn[type="submit"]{font-size:1rem;max-width:400px;min-height:45px;padding:12px 24px;text-align:center;cursor:pointer;}
.check{text-align:left;}
}

/* ---------- イベント詳細ページ（Events Manager 単一イベント）：旧子テーマの style.css から・v0.2.4 ---------- */
.sbox,.pbox{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:20px;}
.sbox-left-width,.pbox-left-width{width:40%;flex-shrink:0;}
.sbox-left-out,.pbox-left-out{padding-top:100%;position:relative;}
.sbox-left,.pbox-left{position:absolute;top:0;left:0;border:1px solid #cccccc;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;box-sizing:border-box;}
.sbox-left img,.sbox-left a img,.pbox-left img,.pbox-left a img{width:auto;height:auto;max-width:100%;max-height:100%;vertical-align:middle;margin:0;}
.sbox-right,.pbox-right{width:60%;margin-left:3%;}
.m_event_notes,.m_prod_notes{margin-left:0;margin-right:0;}
.m_eventdetails p,.m_proddetails p{margin:0 0 6px !important;}
.eventitem{display:inline;font-size:80%;color:#ffffff;background-color:cornflowerblue;border-radius:5px;padding:3px 20px;margin:0 20px 0 0;line-height:1.5;}
.m_eventnote{margin:25px 0;padding:20px;border:1px solid #aaaaaa;}
.m_eventnote p{margin:0 !important;}
.m_eventnote h4{font-size:18px !important;font-weight:bold !important;line-height:1.5 !important;letter-spacing:normal !important;margin:0 0 10px !important;padding:0 5px 0 15px !important;border-left:4px solid #b22222;color:#333333;}
.johs_map{position:relative;padding-bottom:56.25%;padding-top:30px;margin-top:20px;height:0;overflow:hidden;}
.johs_map iframe,.johs_map object,.johs_map embed{position:absolute;top:0;left:0;width:100%;height:100%;}
@media (max-width:700px){
.sbox,.pbox{flex-direction:column;}
.sbox-left-width,.pbox-left-width{width:100%;}
.sbox-right,.pbox-right{width:100%;margin-left:0;margin-top:20px;}
.sbox-left,.pbox-left{border:1px solid #eeeeee;width:99%;}
.sbox-left img,.pbox-left img{display:block;margin:auto;max-height:1000px !important;}
}

/* ---------- イベント申し込みフォーム（Events Manager Pro）：旧子テーマの style.css から・v0.2.5 ---------- */
div.em-booking-form-details{width:100%;margin:0;padding:0;}
.em-booking-buttons{text-align:center;}
.em-bookings-ticket-table-price,.em-bookings-ticket-table-spaces{text-align:center;}
.em-booking-message-error ul{list-style-type:none;}
.em-form-required{visibility:hidden;}
.em-form-required::after{visibility:visible;content:"必須";width:30px;font-weight:normal;margin:auto;height:16px;display:inline-block;background:#dc143c;border-radius:5px;color:#ffffff;padding:1px 3px;text-align:center;font-size:0.6rem;line-height:16px;}
#em-booking .em-booking-form-details{width:100% !important;}
#em-booking .em-booking-form-details input.input{width:100% !important;}

/* ---------- 終了したセミナーの案内（v0.4.2） ---------- */
.johs-ended{background:#ffffff;border:1px solid #c0392b;border-radius:4px;padding:14px 20px;margin:0 0 25px;text-align:center;}
.johs-ended p{margin:0;font-size:15px;line-height:1.7;color:#333333;}
.johs-ended strong{color:#c0392b;font-weight:700;}
.johs-ended a{color:#1a73c8;text-decoration:underline;}
