@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
*/
/*
  SWELL CHILD – 追従サイドバー（XVL Converter ページ専用）
  - IDで表示/非表示を制御
  - :targetは使わず、hover連動のみで強調
*/

/* ▼ トップページ：追尾サイドバー非表示 */
.home #fix_sidebar { display: none !important; }

/* ▼ グローバルメニュー & 追従ヘッダーのプルダウン幅 */
.l-header__gnav .sub-menu,
.l-fixHeader .sub-menu,
.p-fixHeader .sub-menu{
  min-width: 190px;
  max-width: 320px; /* 必要に応じて調整 */
}

/* ▼ 第2階層：親に左揃え（通常＆追従ヘッダー） */
.l-header__gnav .menu-item-has-children > .sub-menu,
.l-fixHeader .menu-item-has-children > .sub-menu,
.p-fixHeader .menu-item-has-children > .sub-menu{
  left: 0 !important;
  transform: translateX(0) !important;
}

/* ▼ 第3階層：デフォルトは親の右側に横展開（通常＆追従ヘッダー） */
.l-header__gnav .sub-menu .menu-item-has-children > .sub-menu,
.l-fixHeader .sub-menu .menu-item-has-children > .sub-menu,
.p-fixHeader .sub-menu .menu-item-has-children > .sub-menu{
  left: 100% !important;
  right: auto !important;
  top: 0 !important;
  transform: translateX(0) !important;
  margin-left: 0 !important;
  white-space: nowrap;
  z-index: 9999;
}

/* ドロップダウンの横幅を中身にフィットさせ、右側余白を詰める */
.l-header__gnav .sub-menu,
.l-fixHeader .sub-menu,
.p-fixHeader .sub-menu{
  width: max-content; 
  width: fit-content;
  min-width: 160px;        
  max-width: 320px;
  padding-right: 0;  
}

/* 各項目の右パディングを縮める（余白の主因） */
.l-header__gnav .sub-menu a,
.l-fixHeader .sub-menu a,
.p-fixHeader .sub-menu a{
  padding-right: 12px !important;  /* ← 好みで 8〜14px に */
  padding-left: 1.6em !important;  /* 左の矢印分は確保 */
  white-space: nowrap;             /* 折り返し防止で幅が最小化 */
}

/* ▼ カテゴリーページのサブタイトル非表示*/
.c-pageTitle__subTitle{
	display: none;
}
/* ▼ 下部カテゴリ非表示 */
.p-articleFoot .p-articleMetas{ display: none; }

/* is-style-simple のみ：先頭なし、2件目以降は区切り線を出す */
.swell-block-accordion.is-style-simple .swell-block-accordion__item{
  border-top: none !important;
}
.swell-block-accordion.is-style-simple .swell-block-accordion__item + .swell-block-accordion__item{
  border-top: 1px solid var(--color_border, #ddd) !important;
}
  body.category .p-postList__thumb {
    margin-left: var(--swl-space-m);
    margin-right: 0;
  }
/* カテゴリ（アーカイブ）ページの “リスト型” のみ、画像を右側に */
body.category .p-postList.-type-list .p-postList__link{
  display: flex;               /* 念のため指定（SWELL側で指定済みでも上書き安全） */
  align-items: stretch;
}
body.category .p-postList.-type-list .p-postList__thumb{
  order: 2;                    /* 画像を右側へ */
  margin-left: 16px;           /* 本文との間隔 */
  margin-right: 0;
}
body.category .p-postList.-type-list .p-postList__body{
  order: 1;                    /* 本文を左側へ */
}

/* SP では縦積みになる想定なら、順序をデフォルトに戻す */
@media (max-width: 599px){
  body.category .p-postList.-type-list .p-postList__thumb,
  body.category .p-postList.-type-list .p-postList__body{
    order: initial;
    margin: 0;
  }
}
body.category .p-postList.-type-list .p-postList__thumb{ order:2 !important; }
body.category .p-postList.-type-list .p-postList__body{  order:1 !important; }


/* TOPのメインコンテンツ内は隠す */
.home .l-mainContent .p-postList__tags {
  display: none !important;
}
/* TOPのサイドバータイトル行間詰める */
.linehe{
	line-height:25px;
}
/*=================*/
/** 投稿リストのタグ表示 **/
/*=================*/

/* アイコン非表示 */
.c-tagList:before {
    display: none;
}

/* タグ間の余白を調整 */
.p-postList__body .post-tags a {
    display: inline-block;
    margin-right: 5px; 
}

.p-postList__link {
    display: inline;
}

.post-tags {
    display: inline-block;
}

/* タグのデザイン調整 */
.it-tag a {
    display: inline-block;
    text-decoration: none;
    color: #FFF;
    background-color: #000; /* 背景色 */
    border-radius: 16px; /* 背景角丸 */
    padding: 2px 10px; /* 背景余白 */
    margin-top: 3px;
    font-size: 12px !important; /* 文字サイズ */
} 
/* =========================================================
   モーダル共通（ベース）
========================================================= */

.lpmodal-mask {
  position: fixed;
  inset: 0;
  background: rgb(0, 0, 0, .3);   /* デフォルトは黒マスク */
  z-index: 9998;
}
/* 日本語テンプレート（別テンプレ用）向けの hr 非表示 */
body.page-template-welcomeモーダルlp .lpmodal hr.wp-block-separator {
  display: none;
}

/* =========================================================
   Welcomeモーダル：TOPページ背景をぼかして表示
   （テンプレート：page-welcome-modal.php 用）
   スクロールについては541行目以降で上書きして制御  
========================================================= */

/* ラッパーを画面全体に固定 */
body.page-template-page-welcome-modal .lpmodal-page-wrap {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}

/* 背景の TOP ページ（iframe） */
body.page-template-page-welcome-modal .lpmodal-iframe-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  border: none;

  /* がっつりぼかす（暗くはしない） */
  filter: blur(20px);
  transform: scale(1.05);   /* ぼかしで端が欠けるのを防ぐため少し拡大 */

  pointer-events: none;     /* 背景はクリック不可 */
  z-index: 1;
}

/* Welcomeモーダル本体（上に載る箱） */
body.page-template-page-welcome-modal .lpmodal {
  /* ベース .lpmodal を引き継ぎつつ、必要な差分だけ上書き */
  max-height: min(370px, 96vh);
  padding: 1rem 20px 24px;
  z-index: 3;
}

/* Welcomeモーダルでは黒マスクを透明化 */
body.page-template-page-welcome-modal .lpmodal-mask {
  background: transparent !important;
}
.lpmodal-mask {
  position: fixed;
  inset: 0;
  background: rgb(0, 0, 0, .3);   /* デフォルトは黒マスク */
  z-index: 9998;
}

.lpmodal {
  position: relative;
  z-index: 9999;
  margin: auto;
  max-width: min(570px, 96vw);
  border-radius: 16px;
  margin-top:50px;
}
/* =========================================================
   ログイン・新規登録ボタン（親要素ボタン方式・レイアウト調整版）
========================================================= */

/* 親要素をボタン化 */
.btn_login,
.btn_signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 48px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding-top: 12px;
}

/* ログイン（青） */
.btn_login {
  background-color: #1E88E5;
  border: none;
  color: #fff;
}

/* 新規登録（白＋オレンジ枠） */
.btn_signup {
  background-color: #fff;
  border: 1px solid #F2853B;
  color: #F2853B;
}

/* 内側の a は「中身だけ」表示させる */
.btn_login a,
.btn_signup a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: inherit;          /* 親の色を継承 */
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* ホバー */
.btn_login:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn_signup:hover {
  background-color: #fff;
  color: #F2853B;
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* アイコンと文字の間隔 */
.btn_signup i,
.btn_login i {
  margin-right: 4px;
}

/* SWELL の c-plainBtn 系の疑似線を完全に殺す */
.btn_login::before,
.btn_login::after,
.btn_signup::before,
.btn_signup::after {
  content: none !important;
  display: none !important;
  border: none !important;
  box-shadow: none !important;
}
/* ============================================
   Page ID 4808 → 背景ぼかし（現行仕様）
============================================ */
body.page-id-4808 .lpmodal-mask {
  background: transparent !important; /* 黒マスクなし */
}

body.page-id-4808 .lpmodal-iframe-bg {
  filter: blur(20px) brightness(1);   /* 強いぼかし、暗くしない */
  transform: scale(1.05);
}

body.page-id-4808 .lpmodal {
  max-width: 570px;  /* 横長 */
  padding: 30px 40px !important;
}
/* ============================================
   Page ID 4808 → 背景ぼかし（現行仕様）
============================================ */
body.page-id-4808 .lpmodal-mask {
  background: transparent !important; /* 黒マスクなし */
}

body.page-id-4808 .lpmodal-iframe-bg {
  filter: blur(20px) brightness(1);   /* 強いぼかし、暗くしない */
  transform: scale(1.05);
}

body.page-id-4808 .lpmodal {
  max-width: 570px;  /* 横長 */
  padding: 30px 40px !important;
}
/* ============================================
   Page ID 5660 → ぼかしなし、背景やや暗く（旧仕様）
============================================ */
body.page-id-5660 .lpmodal-mask {
  background: rgba(0, 0, 0, 0.35) !important; /* 旧仕様の薄暗い背景 */
}

body.page-id-5660 .lpmodal-iframe-bg {
  filter: none !important;    /* ぼかしを消す */
  transform: none !important;
}

body.page-id-5660 .lpmodal {
  max-width: 570px;
  padding: 30px 40px !important;
}
/*ログイン画面*/
html, body { height: 100%; }

body.welcome-fixed{
  margin:0;
  height:100vh;
  overflow:hidden;
  background:#000;
}

/* 画面全体の固定コンテナ */
.welcome-stage{
  position:fixed;
  inset:0;
  width:100%;
  height:100vh;
  overflow:hidden;
}

/* 背景を fixed にする */
.welcome-bg{
  position:fixed;
  inset:0;
  width:100%;
  height:100vh;
  min-height:100vh;
  z-index:1;
  overflow:hidden;
}
/* 対象ページだけに限定（例：ID 4808） */
body.page-id-4808 .entry-content > .alignfull:first-child{
  min-height: 100svh; /* 100vhよりスマホ安全 */
}
/* =====================================
   投稿リスト：サムネ非表示＋本文全幅＋区切り線
   対象：固定1451 / 投稿608 / カテゴリ72 / カテゴリ9
===================================== */

/* 対象スコープ（body / #body_wrap 両対応） */
:where(body, #body_wrap):is(
  .page-id-1451,
  .postid-608,
  .category-72, .category-id-72, .id_72,
  .category-9,  .category-id-9,  .id_9
){}

/* 1) サムネを消す（保険でimgも） */
:where(body, #body_wrap):is(
  .page-id-1451,
  .postid-608,
  .category-72, .category-id-72, .id_72,
  .category-9,  .category-id-9,  .id_9
) :is(.p-postList__thumb, .p-postList__thumbWrap, .p-postList figure, .p-postList__thumb img){
  display: none !important;
}

/* 2) ここが肝：SWELLの“サムネ列”自体を潰して 1カラムにする
   - list型で grid/flex のどちらでも崩せるように複数指定 */
:where(body, #body_wrap):is(
  .page-id-1451,
  .postid-608,
  .category-72, .category-id-72, .id_72,
  .category-9,  .category-id-9,  .id_9
) .p-postList__link{
  display: block !important;              /* flex/gridをやめる */
}
:where(body, #body_wrap):is(
  .page-id-1451,
  .postid-608,
  .category-72, .category-id-72, .id_72,
  .category-9,  .category-id-9,  .id_9
) .p-postList__body{
  width: 100% !important;
  flex: 1 1 auto !important;
}

/* 3) 区切り線 */
:where(body, #body_wrap):is(
  .page-id-1451,
  .postid-608,
  .category-72, .category-id-72, .id_72,
  .category-9,  .category-id-9,  .id_9
) .p-postList__item{
  position: relative;
  padding-bottom: 1.2em;
  margin-bottom: 1.2em;
}

:where(body, #body_wrap):is(
  .page-id-1451,
  .postid-608,
  .category-72, .category-id-72, .id_72,
  .category-9,  .category-id-9,  .id_9
) .p-postList__item::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,.15);  /* ← 0.15 が正しい */
}

/* 最後の線だけ消す */
:where(body, #body_wrap):is(
  .page-id-1451,
  .postid-608,
  .category-72, .category-id-72, .id_72,
  .category-9,  .category-id-9,  .id_9
) .p-postList__item:last-child::after{
  display: none;
}
/* 投稿リストのサムネを消す（構造に直撃） */
.postid-608 .p-postList__thumb,
.postid-608 .p-postList__thumbWrap,
.postid-608 .c-postThumb,
.postid-608 .c-postThumb__figure,
.postid-608 .c-postThumb__img{
  display: none !important;
}
/* =====================================
   投稿ID:608 「投稿リストブロック」
   サムネ非表示＋1カラム化＋区切り線
===================================== */

/* 1) サムネ領域を消す */
#body_wrap.id_608 .p-postList.-type-list .p-postList__thumb,
#body_wrap.id_608 .p-postList.-type-list .p-postList__thumbWrap,
#body_wrap.id_608 .p-postList.-type-list figure,
#body_wrap.id_608 .p-postList.-type-list img {
  display: none !important;
}

/* 2) サムネ列が消えた後のレイアウト調整（1カラム化） */
#body_wrap.id_608 .p-postList.-type-list .p-postList__link {
  display: block !important;   /* flex（横並び）を解除 */
}

/* 3) 本文を全幅にする */
#body_wrap.id_608 .p-postList.-type-list .p-postList__body {
  width: 100% !important;
  flex: 1 1 auto !important;
}

/* 4) 各記事ブロック下に区切り線 */
#body_wrap.id_608 .p-postList.-type-list .p-postList__item {
  position: relative;
  padding-bottom: 1.2em;
  margin-bottom: 1.2em;
}

#body_wrap.id_608 .p-postList.-type-list .p-postList__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,.15);
}

/* 最後の線だけ消す */
#body_wrap.id_608 .p-postList.-type-list .p-postList__item:last-child::after {
  display: none;
}
/* 代理店ページの更新情報のボックス */
.update-box {
  max-height: 320px;
  overflow-y: auto;
  border: 2px solid #0a089c;
  border-radius: 6px;
  padding: 1em;
  background: #fff;
}




/*---------------------------------------------
welcome：スクロール制御上書き
-----------------------------------------------*/

/* Welcomeページではスクロールを復活させる */
body.page-template-page-welcome-modal,
body.page-template-page-welcome-modal.welcome-fixed{
  height: auto !important;
  overflow-y: auto !important;
}

body.page-template-page-welcome-modal .lpmodal-page-wrap,
body.page-template-page-welcome-modal .welcome-stage,
body.page-template-page-welcome-modal .welcome-bg,
body.page-template-page-welcome-modal .lpmodal-iframe-bg{
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
}

body.page-template-page-welcome-modal .lpmodal-iframe-bg{
  display: none !important;
}

