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


/* 以下、追記部分 */

/* --- 前半の通常スタイルはそのまま維持 --- */

/* 検索窓を画面上部の「ロゴの直下」にピタッと潜り込ませる設定 */
.header-logo-under-search-bar {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: #ffffff !important;
    padding: 8px 10px;
    text-align: center;
    box-sizing: border-box;
    border-bottom: 2px solid #f3f3f3;
    z-index: 10; /* 通常時は控えめな数値にしておきます */
    display: block !important;
}

/* フォーム内の横並び設定 */
.header-logo-under-search-bar form {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}


/* ★【ここを上書き】SWELLのハンバーガーメニュー開閉に完全連動させる設定 ★ */

/* SWELLのスマホメニュー（ドロワー）が「開いた時」だけ、検索窓を物理的に消し去る */
body.is-opened .header-logo-under-search-bar,
body.-drawer-opened .header-logo-under-search-bar,
body[data-drawer-opened="true"] .header-logo-under-search-bar {
    display: none !important;
}


/* スマートフォン（SP）表示の時の位置微調整 */
@media (max-width: 959px) {
    .header-logo-under-search-bar {
        top: 50px;
    }
    #content, .l-content {
        padding-top: 25px !important;
    }
}

/* メインコンテンツの外枠ごと、アイキャッチ側に強制的に引き上げる */
.home #content, 
.l-mainContent {
    margin-top: 0px !important;
}

/* パンくずリストに記事名を表示 */
.p-breadcrumb__list {
    flex-wrap: wrap; //記事名が長い場合は折り返す
}
.single .p-breadcrumb__item:last-child>span.p-breadcrumb__text {
    display: block !important; //記事名の表示
    opacity: 1; //記事名を半透明にしない
    white-space: pre-wrap;//記事名が長い場合は折り返す
}