@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
*/

/* ===== おもいつぐLP（.omoi-lp があるページ）だけ、SWELLの部品を隠す ===== */
body:has(.omoi-lp) #header,
body:has(.omoi-lp) #fix_header,
body:has(.omoi-lp) #sp_menu,
body:has(.omoi-lp) #breadcrumb,
body:has(.omoi-lp) .c-pageTitle,
body:has(.omoi-lp) #footer,
body:has(.omoi-lp) .p-fixBtnWrap,
body:has(.omoi-lp) #page_top,
body:has(.omoi-lp) #search_modal{display:none!important}

/* 隠したあとに残る上下の余白をなくす */
body:has(.omoi-lp) #content{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}
body:has(.omoi-lp) .l-mainContent__inner>.post_content{margin-top:0!important;margin-bottom:0!important}

/* 左右の余白をなくし、背景を白にする（Lightningの見た目に合わせる） */
body:has(.omoi-lp),
body:has(.omoi-lp) #body_wrap,
body:has(.omoi-lp) #content{background:#fff!important}
body:has(.omoi-lp) #content{padding-left:0!important;padding-right:0!important}

/* ① SWELLが見出しに付ける飾り（紺色の帯・白文字・飾りの線）を、LPの中だけ消す */
html .omoi-lp h2,
html .omoi-lp h3,
html .omoi-lp h4{background-color:transparent;color:inherit}
html .omoi-lp h2::before,
html .omoi-lp h2::after,
html .omoi-lp h3::before,
html .omoi-lp h3::after,
html .omoi-lp h4::before,
html .omoi-lp h4::after{content:none}

/* ② SWELLに消された「赤枠の箱の上のすき間」を戻す */
html .omoi-lp div.wrap>.tok:first-child{margin-top:14px!important}