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

.wp-block-search__inside-wrapper {
  display: flex;
  flex: auto;
  flex-wrap: nowrap;
  max-width: 100%;
  background-color: #fff;
  border-radius: .5em;
}


/*COL2*/
*, *:before, *:after {
    box-sizing: border-box;
}
.col_2{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
		vertical-align:top;	
			margin-top: 0em;
}
.col_2 > *{
    width: calc( 50% - 6px ) ;
    margin-right: 12px;
    margin-bottom: 12px;

}
.col_2 > * > * {

	margin-top:0em;
}

.col_2 > *:nth-child(2n){
    margin-right: auto;

}
.col_2 > * > *{
    background: #fff;

    position: relative;
    overflow: hidden
}
@media screen and (max-width: 960px) {
    .col_2 > *{
        width: 100%;
        margin-right: auto;
    }
}
/*COL2*/

/*tabels*/
tables {
    border: none;
    width: 100%;
}
 
td {
    border: none;
	  margin-right:3%;
}
 
td.td-first {
    width: 67%;

}

@media screen and (max-width: 960px) {
    .td> *{
        width: 100%;
        margin-right: auto;
    }
}
/*tabels*/

/*スペック説明*/

.boxspec {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: normal;
    color: #000;/*文字色*/
    background: #FFF;
    border: solid 1px #c4c4c4;/*線*/
    border-radius: 5px;/*角の丸み*/
		font-size:14px
}
.boxspec p {
    margin: 0; 
    padding: 5px;
		border-top:1px solid #dcdcdc ;
}

.post_content h1 {
  font-size: 2em;
  padding: .5em;
}


/*H2*/
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  border-top: none;
  border-bottom: none;
  padding: .2em;
  margin-bottom: 0em;
	font-size:1.2em;
}
@media screen and (max-width: 960px) {
{
        	font-size:1.2em;
    }
}

.c-postTitle {
  font-size: .7em;
}



/*ブログパーツ*/
.p-blogParts {
  position: relative;
  width: 100%;
}

/*会員登録*/
.swell-block-button .swell-block-button__link[data-has-icon] {
  align-items: center;
  display: inline-flex;
  gap: .5em;
  justify-content: center;
  letter-spacing: 0;
  width: 120px;
}

/*スマホ下部打ち消し*/
#fix_bottom_menu .menu_list {
  display:none;
}


/*検索*/
.wp-block-search__button {
  background: #fff;
  border: none !important;
  border-radius: 2px;
  box-shadow: 0 0 1px #aaa,inset 0 -1px 0 #ccc;
  flex-shrink: 0;
  font-size: 14px;
  width: 70px;
	border-radius: 5px;
	border:0px;
	
}

/*ダウンロードグラデボタン*/
.btn_dl {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 100%;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: normal;
background-color: #4aeadc;
background-image: linear-gradient(43deg, #4aeadc 0%, #9778d1 17%, #cf2aba 39%, #ee2c82 60%, #fb6962 80%, #fef84c 100%);
	border-radius: 5px;
	color: #fff !important;
	border: none;
	transition: 0.5s;
	font-size:1.2em;
}
.btn_dl:hover {
color: #fff;
background-color: #4aeadc;
background-image: linear-gradient(225deg, #4aeadc 0%, #9778d1 17%, #cf2aba 39%, #ee2c82 60%, #fb6962 80%, #fef84c 100%);

}

/*ファイルアイコン削除*/
.widget_categories>ul>.cat-item>a:before, .wp-block-categories-list>li>a:before {
    content: "";
	display:none;
}
.widget_categories>ul>.cat-item>a, .wp-block-categories-list>li>a {
    padding-left: 0;
	display:none;
}
/*サムネイル有料無料表示*/
.-type-thumb .p-postList__body {
background: #fff;
color: #000;
font-size: .7em;
border: none;
width: 60px;
border-radius: 5px;
padding: .2em;
margin: .8em;
text-align: center;
}

/*カテゴリ打ち消し*/
.c-postThumb__cat {
border-radius: 16px;
margin: .5em;
padding: 0 8px;
display: none;
}


/*検索ボタン*/
.wp-block-search.aligncenter .wp-block-search__inside-wrapper {
  margin: auto;
　max-width:1360px;
	width:100%;
}
/*検索ボタン見た目*/
.wp-block-search .wp-block-search__input, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
  border: 1px solid var(--color_border);
  background-color: #fff;
  border-radius: 5px;
}
.wp-block-search__inside-wrapper {
  display: flex;
  flex: auto;
  flex-wrap: nowrap;
  max-width: 100%;
background-color: transparent;
  border-radius: .5em;
	
}

.p-mainVisual {
  margin-top: -2em;
}



	/*コンテンツ上余地引き上げ*/
.l-header {

  margin-bottom: -2em;
}



/*カテゴリフォルダアイコン打ち消し*/
.c-categoryList::before {
  display: none;
}
.c-tagList::before {
  color: inherit;
  content: "\e935";
  display: none;
}



/*カテゴリとタグリストフォントサイズ*/
.c-categoryList__link, .c-tagList__link, .tag-cloud-link {
  border-radius: 5px;
  padding: 10px 10px;
  font-size: 1.2em;
}

.c-tagList__link {
  background: #f7f7f7;
  color: #333;
  border: solid 1.5px #bdbdbd;
}

.tag-cloud-link.tag-cloud-link {
  background: #f7f7f7;
  color: #333;
  border: solid 1.5px #bdbdbd;
	font-size:1.4em;
	padding:.7em !important;	
	margin-top: -1em;
	margin-bottom: 1em;
}
@media (min-width: 600px) {
  .tag-cloud-link {
    font-size: 15px !important;
		
  }
}


/*タグクラウド上に*/
.w-pageTop, .w-singleBottom, .w-singleTop {
  margin: -2em 0;
}


/*類似素材上に*/
@media (min-width: 600px) {
  .l-articleBottom__section {
    margin-top: 3em;
  }
}
/*ruijiイメージ画像少し上に*/
.p-postList.-type-card, .p-postList.-type-thumb {
  margin-top: -.7em;
}

/*関連イメージタイトル打ち消し*/
.p-postList .p-postList__title {
  display: none;
}


/*favolite&カンプ画像2列*/
*, *:before, *:after {
    box-sizing: border-box;
}
.col_2B{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
	  margin-top: -1em;
}
.col_2B > *{
    width: calc( 50% - 6px ) ;
    margin-right: 12px;
    margin-bottom: 12px;
}
.col_2B > *:nth-child(2n){
    margin-right: auto;
}
.col_2B > * > *{
    background: #fff;
    height: 60px;
    position: relative;
    overflow: hidden
}
@media screen and (max-width: 960px) {
.col_2B{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
	  margin-top: -1em;
}
.col_2B > *{
    width: calc( 50% - 6px ) ;
    margin-right: 12px;
    margin-bottom: 12px;
}
.col_2B > *:nth-child(2n){
    margin-right: auto;
}
.col_2B > * > *{
    background: #fff;
    height: 55px;
    position: relative;
    overflow: hidden
}
}

/*favolite2列ボタン*/
a.btn_f {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 100%;
	margin: auto;
	padding: 1rem 2rem;
	font-weight: normal;
	font-size:14px
	color: #000;
	transition: 0.5s;
	background-color:#f4f4f4;
	border: solid 1.5px #dcdcdc;
	border-radius:5px;
}
a.btn_f:hover {
	color: #fff;
	background: #9b9a9a;
	border: solid 1.5px #9b9a9a;
}


/*favoriteボタン*/
.simplefavorite-button.preset i {
  position: absolute;
  font-size: 1.3em;
  left: .3em;
  margin-top: .13em;
}
.box1-fav {
	width:100%
	margin:auto;
	padding:.4em;/*内側余白*/
	border:solid 1.5px #dcdcdc;/*線の種類・太さ・色*/
	text-align:center;
	background-color:#f4f4f4;
	border-radius:5px;
}

/*素材ページ内容上に*/

  .-sidebar-on .l-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: -3.5em;
		z-index:-999999;
  }

@media screen and (max-width: 960px) {
	  .-sidebar-on .l-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: -2em;
  }
}


/*SP時メニューバー*/
.spbox {
    display: inline-block;      /* インラインブロック要素にする */
    background-color:  #fff;    /* 背景色指定 */
    padding:  5px;             /* 余白指定 */
	font-size:.9em;
	vertical-align: middle;
  margin-top: 1.4em;
	text-decoration:none;
}

/*SPヘッダーメニュー制御*/
.l-header__menuBtn2{
  height: var(--logo_size_sp);
  line-height: 1.25;
  text-align: center;
  width: var(--logo_size_sp);
  width: 220px;
}




/*ログイン表記*/
#wpmem_login, #wpmem_reg {
  color: #2b2b2b;
  width: 100%;
  border: 1px solid #b0b0b0;
  border-radius: 5px;
  padding: 1em;
	margin-top:.5em;
	
}
#wpmem_login fieldset, #wpmem_reg fieldset {
  border: none;
  padding: 0;
  margin: 10px 0;
}

#wpmem_login legend, #wpmem_reg legend {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 20px;
  width: 100%;
  background-color: dcdcdc;
  border-bottom: 1px solid #c4c4c4;
  border-spacing: 10px;
  margin-top: -10px;
	
}

/*SP時カテゴリ打ち消し*/
@media not all and (min-width: 960px) {
  #sidebar {
    display:none;
  }
}




/* ============ SWELL風関連記事カード：4列→2列対応 ============ */

.my-related-posts {
  margin: 3em 0;
}

.my-related-posts .related-heading {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 1em;
  border-left: 4px solid #333;
  padding-left: 0.6em;
}

.my-related-posts .related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.my-related-posts .related-card {
  width: calc(25% - 15px); /* PC：4列（25%） */
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.my-related-posts .related-card:hover {
  transform: translateY(-5px);
}

.my-related-posts .related-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* タイトルは非表示 */
.my-related-posts .related-title {
  display: none !important;
}

/* タブレット以下：2列 */
@media (max-width: 1024px) {
  .my-related-posts .related-card {
    width: calc(50% - 10px);
  }
}
/* 非表示制御 */
.my-related-posts .is-hidden {
  display: none;
}

/* ボタンデザイン（シンプル） */
.more-button-wrap {
  text-align: center;
  margin-top: 1.5em;
}

.more-button {
  padding: 0.6em 1.5em;
  background: #333;
  color: #fff;
  font-size: 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.more-button:hover {
  background: #555;
}
