/*
 Theme Name:   SWELL CHILD
 Template:     swell
*/


/* ============================
   開発用にツールバー非表示機能
============================ */
/*
#wpadminbar {
  display: none !important;
}
body.logged-in {
  margin-top: 0 !important;
}
 
*/


/*  fotter ＊直前のスペース　*/
#content {
	margin-bottom: 0;
}

/*  ＊まゆげった　TOP*/
#pagetop {
  background-image: url('https://ome-test.site/wp/wp-content/uploads/2025/05/ca56bcdd424d121e77cd8f035b198f27.jpg');
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center;
	background-color: #fff !important;
  margin: 0 auto;
  animation: scrollDown 2s infinite;
  cursor: pointer;
	opacity: 1 !important;

}

.c-fixBtn {
	border: solid 3px #395785 !important;	
	border-radius: 99px;
	width: 80px;
	height: 80px;
}

.c-fixBtn:hover {
	transform: scale(1.2);
	transition: transform 0.25s ease;
}


.hov-bg-main:hover {
  background-color: transparent !important;
}


.c-fixBtn__icon {
	display: none;
}





/* ============================
   ブログ周辺
============================ */
.post_content {
	padding: 0!important;
}

#main_content{
	padding: 0;
}

/*  ＊ブログタイトルのすき間*/
.c-postTitle__ttl {
	padding: 10px;
}

/* ============================
   サイドバーの関係
============================ */

/*  ＊追尾　*/
 #categories-6 {
	position: fixed;
	width: 100%;
	max-width: 280px;
	top: 105px;
	padding-left: 80px!important;
}


.kodachidayori-toggle > .children {
  display: none;
}

.kodachidayori-toggle.open > .children {
  display: block;
}

/* 子カテゴリを非表示 */
.category-kodach_idayori .children {
  display: none !important;
  margin-left: 1em;
}

/* 開いたときのスタイル */
.category-kodachidayori.open .children {
  display: block;
}


/* ============================
   基本スタイル
============================ */

/*  ＊ハンバーガーメニュー　*/

button.c-iconBtn {
  border: 2px solid #fff !important;
  padding: 0.5rem;
  background-color: transparent;
}

.icon-menu-thin:before {
  content: "" !important;
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-image: url('https://ome-test.site/image/icon_menu.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.swl-inline-icon:after {
  font-size: 32px;
}

.c-postThumb__cat.icon-folder {
  font-size: 16px;
}

/* カテゴリカラータグのカラー */
.c-postThumb__cat[data-cat-id="7"] { background-color: #557d18c4; color: #fff; }
.c-postThumb__cat[data-cat-id="4"] { background-color: #626958de; color: #fff; }
.c-postThumb__cat[data-cat-id="10"] { background-color: #59b93be3; color: #fff; }
.c-postThumb__cat[data-cat-id="11"] { background-color: #786d85f5; color: #fff; }
.c-postThumb__cat[data-cat-id="9"] { background-color: #e91a1ae0; color: #fff; }

/* -------------------------------- */
/* main-title（フォント）     */
/* -------------------------------- */

.p-mainVisual__slideTitle {
	font-size: min(5.1vw, 56px);
	text-shadow: 2px 2px 2px #333;
}

.p-mainVisual__slideText {
	text-shadow: 2px 2px 2px #333;
	font-size: min(3vw, 28px);
}

/* -------------------------------- */
/* 全体設定（フォント・共通）     */
/* -------------------------------- */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.8;
}

* {
  font-size: 16px;
}


h1, h2, h3, h4, h5, h6,
p, span, a, li, dt, dd, th, td, div, section, article,
.has-medium-font-size,
.has-large-font-size,
.swl-fz,
.u-fz-l,
input, textarea, select, button, label {
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6,
strong, b,
.p-mainVisual__slideTitle,
.btn_text {
  font-weight: 700;
}

/*  h2＊のpadding */
.wp-block-heading.is-style-default {
	padding:10px;
}

.post_content h2:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title) {
    padding: 10px;
}

/*  パーマリンク下のマージン　*/
#main_content {
 padding-top:0 !important;
}

/*  h2＊のアイコンと見出しのスペース */
.swl-fz {
	padding: 16px;
}


/* -------------------------------- */
/* パンくずリスト対策              */
/* -------------------------------- */
.c-breadcrumb,
.p-breadcrumb {
  padding-top: 60px !important;
}

/* ============================
   その他補助
============================ */

/*  hover時のopacity */
.swell-block-box-menu,
.swell-block-box-menu * {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.p-postList__excerpt {
  font-size: 16px !important;
}

button.c-iconBtn {
  border: 2px solid #fff;
  padding: 0.5rem;
  background-color: transparent;
}
/* -------------------------------- */
/* ボタン・メニュー                */
/* -------------------------------- */

.btn_text {
  background-color: #fff !important;
  color: #395785 !important;
  border: solid 3px #395785;
  font-weight: 700;
}


.btn_text:hover {
  background-color:#395785 !important;
 color: #fff!important;
}



.swell-block-box-menu__link {
  border: solid 3px #395785 !important;
  transition: background-color 0.3s, color 0.3s;
}

.swell-block-box-menu__link:hover {
  background-color: #395785 !important;
  color: #fff;
}

.swell-block-box-menu__link:hover svg {
  fill: #fff;
}

.is-style-more_btn a:after {
  content: none;
}

/* -------------------------------- */
/* カスタムスタイル                */
/* -------------------------------- */
.swell-block-accordion__label {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 400 !important;
}

.-type-simple .p-postList__link {
  border-bottom: 3px solid var(--color_border);
}


.wp-block-heading.is-style-default {
  margin: 10px;
}

/*  top画下　*/

.l-header__customBtn.sp_ {
	display: none;
}

.l-conten {
	padding-top: 3em;
}

@media (min-width: 1026px) {
	.top #content {
    padding-top: 5em;
}
}

/* ============================
   ヘッダー構造（共通）
============================ */
@media (min-width: 320px) {

/*  ＊サブタイトル */
.c-catchphrase {
  display: inline-block;
  opacity: 1;
	padding-left: 0;
	padding-right: 0;
}
	
/* ============================
   固定ヘッダー
============================ */
#header {
  position: fixed;
  width: 100%;
  z-index: 99;
  background-color: #395785;
	height: 60px;
	display: flex;
}

.c-gnav > .menu-item > a {
  display: flex;
  justify-content: end;
	padding: 10px;
}

.c-headLogo.-txt {
 align-items: flex-end;		
	}
.sub-menu {
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}


.-series .l-header__logo {
  display: flex;
  align-items: flex-end;
	padding: 10px;
	padding-left: 0;
	padding-right: 0;
}


	
.l-header__inner.l-container {
	padding-right: 2rem;
	padding-left: 2rem;
}
	
/*  ＊メニュー　*/
.ttl {
	font-size:16px!important;
  letter-spacing: 1px;
	}
}



/* -------------------------------- */
/*  ヘッダー内　　　                */
/* -------------------------------- */

/*  タイトル　*/


/*  ＊サブタイトル位置調整 */
.-series .l-header__logo .c-catchphrase{
	padding: 0;
}

.l-header__logo,
.c-headLogo,
.c-catchphrase,
.u-thin {
	display:flex;
	justify-content:flex-end;
  margin: 0 !important;
  gap: 4px;
}

.c-headLogo__link {
	font-size: 28px !important;
	letter-spacing: 1px;
}

.c-catchphrase.u-thin {
	font-size: 14px!important;
	letter-spacing: 1px !important;
}

/* ============================
   フッター共通
============================ */


/*///// Footer /////*/
.l-footer .copyright {
  font-size: 14px;
}

.l-footer a, .l-footer span {
  font-size: 14px;
}

.l-footer__foot{
	padding:0;
	padding-bottom: 5px;
	height: 35px;
}

.l-footer__widgetArea {
	padding:0;
	height: 35px;
}

.w-footer__box {
	padding:0;
	padding-bottom:10px !important;
}

#text-3 p {
	padding:6px !important;
	letter-spacing:1px;
}
/* ============================
   タブレット用
============================ */


/* ▼ （タブレット（〜959px） */
@media (min-width: 769px) and  (max-width: 959px) {
	
/*  ＊サブタイトル　*/
.c-catchphrase.u-thin {
  font-size: 14px !important;
  visibility: visible;
	display:flex;
	}

	
.l-header__inner.l-container {
 display:flex;
 justify-content: space-between;
 padding: 1.5rem;
 align-items: center;
}

.post_content dd>:last-child, .post_content div>:last-child, .post_content>:last-child {
 padding-top: 10px;
	}
	
	#lp-content .post_content, #main_content .post_content{
		padding:1.5rem !important
	}	
	
}




/* ============================
   スマホ用
============================ */


/* ▼ スマホ（〜768px） */
@media (max-width: 768px) {

/* 	 コンテンツ幅調整　*/
	.swell-block-fullWide__inner {
		padding: 1.5rem;
	}
	
/*  ＊最新記事　*/
	
.p-postList.-sp-col2 {
  padding: 20px;
}
	
.post_content dd>:last-child, .post_content div>:last-child, .post_content>:last-child {
 padding-top: 10px;
}


/*  ＊タイトル */
.p-mainVisual__slideTitle {
  font-size: 28px;
  letter-spacing: 0.05em;
}
	
/*  ＊サブタイトル　*/
.c-catchphrase.u-thin {
  font-size: 14px !important;
  visibility: visible;
	display:flex;
}

.l-header__inner.l-container {
 display:flex;
 justify-content: space-between;
 align-items: center;
 padding: 1rem;

}
	
main,
.l-mainContent {
  padding-top: 60px !important;
  margin-top: 0 !important;
}

.wp-block-heading {
  margin: auto !important;
  }
}

.wp-block-heading .swl-inline-icon > svg,
.wp-block-heading .swl-inline-icon > img {
  margin-right: 1rem !important;
  vertical-align: middle;
}

.p-mainVisual img {
  display: block;
  margin: 0 auto;
}

.swiper-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}



/*  ＊ヘッダー下の画像隙間調整　*/
#main_visual {
  padding-top: 60px !important;
}








/* ============================
   ハンバーガーメニュー中身
============================ */
.p-spMenu__body {
	padding:16px;
	padding-right: 1rem;
}
.p-spMenu__inner {
	width: clamp(200px, 80vw, 400px);
}

.c-widget__title.-spmenu {
	padding: 0.5rem;
	margin-bottom: 16px;
}

.post_content>h2  {
	margin-left:0;
	margin-right:0;
}

.p-termNavigation.c-categoryList {
	display: none;
}

.c-gnav .sub-menu a:before, .c-listMenu a:before {
	display: none;
}

.c-listMenu a {
	padding: 0.5rem;
}

.wp-block-group.has-border.-border02 {
	margin-top: 3em;
}



/* ============================
   記事について
============================ */
/*  重複ページ削除　*/

.kindachidayori ul li:first-child {
display: none;
}

.houkoku ul li:first-child {
display: none;
}

.c-iconBtn__icon:before {
    display: block !important;
    padding-top: 20px !important;
    padding-right: 60px !important;
}

.p-spMenu__body {
	padding-top: 5px;
}


/* ▼ スマホ（〜768px） */
@media (max-width: 768px) {
  .swl-fz {
    font-size: 24px !important;

  }
}

/* ▼ タブレット（769〜960px） */
@media (min-width: 769px) and (max-width: 959px) {
  .swl-fz {
    font-size: 28px !important;
		
  }
}



/* ============================
   pc
============================ */

@media (min-width: 960px) {
	
.c-iconBtn__icon .icon-menu-thin::before {
		display: none!important;
	}
	
.swl-fz {
    font-size: 32px !important;
  }
	
	/* Titleの高さを強制的配置	 */
	.l-header__logo {
	
}
	.p-mainVisual__slideText {
		font-size:
	}
	
}

@media screen and (max-width: 419px) {
  .ft_text {
    display: block;
		font-size: 16px !important;
		margin: 0;
  }
	
	.l-footer__widgetArea {
		height: 57px;
	}
	
.textwidget{
		line-height: 1.2
}
	
.l-container .w-footer .-col1 {
		padding: 10px !important;
	}
	
}


  .swell-block-box-menu__item.has-link {
    padding-top: 0 !important;
  }



