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

/* pc */
@media screen and (min-width: 960px) {
	/* toc dlt */
	.l-mainContent .p-toc {
		display: none;
	}

	/* 本文内の目次下に自動挿入した編集者ボックスをPCで非表示 */
	.l-mainContent .post_content .theories-editor-note--after-toc {
		display: none;
	}
}

/* sp */
@media screen and (max-width: 959px) {
	/* header */
    .l-header__logo {margin-left: 7px;}
	.l-header__customBtn{visibility: hidden;}

	/* content */
	#content.l-content.l-container {
	    padding-left: 0vw;
	    padding-right: 0vw;
	}
	.-frame-on .l-mainContent{
	    padding-left: 4vw;
	    padding-right: 4vw;
	}


	/* toc H3 dlt */
	.p-toc__childList {
		display: none;
	}

	/* td_to_th_：左列の折り返し禁止（スマホでのはみ出し防止） */
	.td_to_th_ td:first-child {
		white-space: nowrap;
	}
}

/* Post */
/* category */
.c-categoryList__link {
	color: #333;
	background-color: #eee;
}

.c-categoryList::before {
	content: none;
}

/* toc */
#main_content .p-toc {
	margin: 1em 0;
}

.l-mainContent__inner > .post_content {
	margin: 2em 0;
}

a.p-toc__link {
	font-size: 90%;
}

/* editor note */
.theories-editor-note {
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 13px 13px;
	margin: 1.2em 0 2em;
	background: #fff;
}

.theories-editor-note__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.theories-editor-note__label {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 6px;
	background: #666;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.theories-editor-note__name {
	font-size: 0.95em;
	font-weight: 700;
	line-height: 1.5;
	color: #333;
}

.theories-editor-note p {
	margin: 0;
	font-size: 0.8em;
	line-height: 1.75;
	color: #555;
}

/* 編集部ボックス直後の見出しだけ余白を詰める */
.post_content .theories-editor-note + h2.wp-block-heading {
	margin-top: 2em;
}