@charset "UTF-8";
/*
Theme Name: Devotion Base
Theme URI: https://devotion-co.jp/
Author: Devotion Co
Author URI: https://devotion-co.jp/
Description: Devotion 専用のカスタムテーマ（共有親テーマ）。Cocoon から移行するための最小構成で、デザインを持たず、テンプレート階層・head 出力・Cocoon 互換設定の読み取りのみを担う。アイコンフォント・jQuery・SNS ボタン・広告枠・目次などの機能は一切持たない。各サイトの見た目は子テーマ側で定義する。
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minimal-base
*/

/* ==========================================================================
   Cocoon から移植したベーススタイル

   移行前の computed style を維持するために必要な分だけを移植している。
   ここに無いものは「Cocoon には有ったが selfi-yu では効いていなかった」もの。
   変更する場合は必ず computed style 差分を取り直すこと。
   ========================================================================== */

/* 初期化 ------------------------------------------------------------------ */
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

body {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	font-size: var(--mb-font-size, 18px);
	color: #333;
	line-height: 1.8;
	margin: 0;
	overflow-wrap: break-word;
	background-color: #f4f5f7;
	background-attachment: fixed;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

@media screen and (max-width: 480px) {
	body {
		font-size: var(--mb-font-size-mobile, 16px);
	}

	/*
	 * Cocoon 互換の fz-* クラス（例 .fz-18px）は PC 用の値を持つ。
	 * 属性セレクタで詳細度を 1 段上げ、モバイルではこちらを優先させる
	 * （これが無いと SP でも PC のフォントサイズになり、文章の折返しが全部ずれる）。
	 */
	body[class*="fz-"] {
		font-size: var(--mb-font-size-mobile, 16px);
	}
}

a {
	color: #1967d2;
}

a:hover {
	color: #e53900;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

figure {
	margin: 0;
}

ol,
ul {
	padding-left: 40px;
}

ul {
	list-style-type: disc;
}

ul ul {
	list-style-type: revert;
}

label {
	cursor: pointer;
}

canvas,
iframe,
video {
	max-width: 100%;
}

/* フォーム ---------------------------------------------------------------- */
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="color"],
input[type="month"],
input[type="week"],
input[type="datetime-local"],
textarea,
select {
	padding: 11px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: inherit;
	width: 100%;
}

/* Cocoon は submit にも padding / width を当てている。落とすと送信ボタンが 22px 低くなる。 */
input[type="submit"] {
	padding: 11px;
	width: 100%;
	margin: 0;
	cursor: pointer;
}

input[type="submit"] {
	-webkit-appearance: none;
	border: 1px solid #ddd;
	background-color: #f5f8fa;
	color: #333;
}

@media screen and (max-width: 834px) {
	textarea {
		min-height: 160px;
	}
}

/* テーブル ---------------------------------------------------------------- */
table {
	margin-bottom: 20px;
	max-width: 100%;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

table th,
table td {
	position: relative;
	padding: 0.5em;
}

table th {
	background-color: #f5f6f7;
}

table tr:nth-of-type(2n+1) {
	background-color: #fafbfc;
}

table:not(.has-border-color) :where(th, td) {
	border: 1px solid #eee;
}

@media screen and (max-width: 834px) {
	table th,
	table td {
		padding: 3px;
		font-size: 0.8em;
	}
}

/* レイアウト骨格 ----------------------------------------------------------
   子テーマの CSS がこの ID / クラス構成を前提にしているため、Cocoon と
   同一の骨格を維持している。詳細は設計書 4.3 を参照。
   ------------------------------------------------------------------------ */
.container {
	padding-right: constant(safe-area-inset-right);
	padding-left: constant(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
	padding-left: env(safe-area-inset-left);
}

.content {
	margin-top: 24px;
}

@media screen and (max-width: 834px) {
	.content {
		margin-top: 10px;
	}
}

.wrap {
	width: 1256px;
	margin: 0 auto;
}

@media screen and (max-width: 1255px) {
	.wrap {
		width: auto;
	}
}

.content-in {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

@media screen and (max-width: 1023px) {
	.content-in {
		display: block;
	}
}

.no-sidebar .content-in {
	display: block;
}

.main {
	width: 860px;
	padding: 36px 29px;
	border: 1px solid transparent;
	border-radius: 4px;
	position: relative;
	z-index: 0;
	background-color: #fff;
}

@media screen and (max-width: 1255px) {
	.main {
		width: 67.4%;
	}
}

/* 子テーマの .main{width:100vw} より詳細度を高く保つ必要がある。
   詳細度を下げるとビューポート幅にスクロールバーが含まれ横スクロールが発生する。 */
.no-sidebar .content .main {
	margin: 0;
	width: 100%;
}

.no-scrollable-main .main {
	height: 100%;
}

/* 詳細度 (0,1,1) が必要。子テーマの reset.css も `div.sidebar, main.main` で
   打ち消しているため、要素セレクタを含めた形のまま移植する。
   特に border-width:0 を落とすと SP で 1px ずれる。 */
@media screen and (max-width: 1023px) {
	main.main {
		display: block;
		margin: 10px;
		width: auto;
	}
}

@media screen and (max-width: 834px) {
	main.main {
		padding: 32px 16px;
		margin: 12px 0;
		border-width: 0;
	}
}

/* 記事 -------------------------------------------------------------------- */
.article {
	margin-bottom: 2em;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
	line-height: 1.25;
	font-weight: bold;
}

.entry-title {
	font-size: 26px;
	margin: 16px 0;
	line-height: 1.3;
}

@media screen and (max-width: 480px) {
	.entry-title,
	.article h2 {
		font-size: 20px;
		padding: 0.6em 0.8em;
	}

	.entry-title {
		margin: 0;
		margin-bottom: 6px;
	}
}

.entry-content {
	margin-top: 1em;
	margin-bottom: 3em;
}

/* 本文ブロックの下マージン。
   `.body` は body 要素に付与しているクラス。子テーマの reset.css が
   `div{margin:0}` を当てるため、詳細度 (0,2,0) のこの形でないと打ち消されてしまう。 */
.entry-content > *,
.article p,
.article dl,
.article ul,
.article ol,
.article blockquote,
.article pre,
.article table,
.body .information-box,
.body .question-box,
.body .alert-box,
.body .information,
.body .question,
.body .alert,
.body .memo-box,
.body .comment-box,
.body .common-icon-box {
	margin-bottom: 1.8em;
}

/*
 * Cocoon は同じセレクタ群に line-height も指定している。
 * 子テーマが .entry-content に独自の line-height を当てている場合、
 * これが無いと table など直下の要素がそれを継承して行間がずれる。
 */
.entry-content > *,
.article p,
.article dl,
.article ul,
.article ol,
.article blockquote,
.article pre,
.article table {
	line-height: 1.8;
}

/* .article は Cocoon 側に margin-bottom:2em もあるが、詳細度 (0,2,0) のこちらが勝つ。 */
.body .article {
	margin-bottom: 1.8em;
}

/* 補足説明ボックス（このサイトでは recruit の FAQ が .question を使用） */
.information-box,
.question-box,
.alert-box,
.information,
.question,
.alert,
.memo-box,
.comment-box,
.common-icon-box {
	padding: 20px 20px 20px 72px;
	border-radius: 4px;
	position: relative;
	display: block;
}

.question-box,
.question {
	background: #fff7cc;
	border: 1px solid #ffe766;
}

.information-box,
.information {
	background: #f3fafe;
	border: 1px solid #bde4fc;
}

.alert-box,
.alert {
	background: #fdf2f2;
	border: 1px solid #f6b9b9;
}

/* .question の「?」アイコン。
   移行前は FontAwesome の 059 を content で描いていた。フォントを読み込まずに
   同一形状を出すため、フォント側のグリフ輪郭をそのままインライン SVG 化している。
   （SVGフォント座標 units-per-em=1792 / ascent=1536 を y 反転して viewBox 化） */
.question::before {
	content: "";
	font-size: 34px;
	line-height: 1em;
	position: absolute;
	top: 50%;
	left: 10px;
	margin-top: -0.5em;
	width: 44px;
	height: 1em;
	padding-right: 0.15em;
	border-right: 1px solid #ffe766;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1536 1792'%3E%3Cpath fill='gold' transform='translate(0,1536) scale(1,-1)' d='M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 6.9px center;
	background-size: 0.857em 1em;
}

/* SP では Cocoon がアイコンをボックス上部中央に移す。
   Cocoon 側は width:auto（＝グリフの送り幅 0.857em）なので同値を明示する。 */
@media screen and (max-width: 480px) {
	.question::before {
		padding: 0;
		top: 0.7em;
		left: 50%;
		margin-left: -0.5em;
		font-size: 18px;
		border: none;
		width: 0.857em;
		background-position: 0 center;
	}
}

@media screen and (max-width: 480px) {
	.information-box,
	.question-box,
	.alert-box,
	.information,
	.question,
	.alert,
	.memo-box,
	.comment-box,
	.common-icon-box {
		padding: 28px 12px 12px;
	}
}

pre {
	line-height: 1.6;
	word-wrap: normal;
}

/* content-only（独自ページテンプレートを使う固定ページ） ------------------
   Cocoon がこのクラス経由で装飾要素を隠していた挙動をそのまま維持する。 */
.footer {
	padding: 8px 0;
	background-color: #fff;
}

.content-only .footer {
	display: none;
}

/* ユーティリティ ---------------------------------------------------------- */
.display-none {
	display: none;
}

.red {
	color: #e60033;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.cf::after {
	content: "";
	display: block;
	clear: both;
}


/* ==========================================================================
   Cocoon 互換レイヤー

   Cocoon の CSS のうち、実サイトで実際に要素にマッチしているルールだけを
   抽出したもの（記事カード・ページ送り・ウィジェット・投稿メタ など）。
   子テーマを書き換えずに Cocoon から乗り換えられるようにするために持つ。
   ========================================================================== */

/* Cocoon から抽出した実使用ルール: 361 件 */ .related-entry-card, .entry-card { position: relative;
  height: 100%; }
.related-entry-card-content, .entry-card-content { padding-bottom: 1.2em; }
.related-entry-card-title, .entry-card-title { font-size: 18px;
  margin: 0 0 0.4em 0;
  line-height: 1.6;
  font-weight: bold;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; }
.related-entry-card-snippet, .entry-card-snippet { font-size: var(--cocoon-text-size-s);
  margin: 0 0 0.4em 0;
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; }
.related-entry-card-meta, .entry-card-meta { bottom: 0;
  position: absolute;
  right: 0;
  text-align: right;
  line-height: 1; }
.post-date, .post-update, .post-author, .amp-back, .entry-category { padding: 2px;
  display: inline;
  font-size: 0.7em; }
.fz-18px { font-size: 18px; }
.fw-400 { font-weight: 400; }
.skip-link { position: absolute;
  top: -9999px;
  left: 6px;
  z-index: 9999;
  padding: 6px 12px;
  background: #000;
  color: #fff;
  text-decoration: none; }
ol, ul { padding-left: 40px; }
hr { color: var(--cocoon-current-background-color); }
.header-container, .main, .sidebar, .footer { background-color: var(--cocoon-white-color); }
:is(.is-layout-flow, .is-layout-constrained) > * { margin-block-start: 0; }
.entry-card-thumb, .author-thumb, .blogcard-thumbnail, .related-entry-card-thumb, .popular-entry-card-thumb, .new-entry-card-thumb { margin-right: 1.6%; }
.ect-vertical-card .entry-card-thumb, .rect-vertical-card .related-entry-card-thumb { flex-shrink: 0; }
.thumb-wide { --card-ratio: 16 / 9; }
.blogcard-thumbnail img, .card-thumb img { aspect-ratio: var(--card-ratio);
  object-fit: cover; }
.header { height: 100%;
  flex-shrink: 0; }
.header-in { display: flex;
  flex-direction: column;
  justify-content: center; }
.tagline { text-align: center;
  font-size: 14px;
  margin: 0.6em 1em; }
.logo { text-align: center; }
.site-name-text-link { color: var(--cocoon-text-color);
  text-decoration: none;
  font-weight: normal;
  padding: 0 1em; }
.site-name-text { font-size: 28px; }
.logo-text { padding: 20px 0 30px;
  font-size: 1em; }
.navi { background-color: var(--cocoon-white-color); }
.a-wrap { text-decoration: none;
  display: block;
  color: var(--cocoon-text-color);
  padding: 1.5%;
  transition: all 0.3s ease-in-out; }
.card-thumb img { width: 100%; }
.entry-card-thumb { width: 320px; }
.cat-label { position: absolute;
  top: 0.24em;
  left: 0.24em;
  border: 1px solid #eee;
  font-size: 10px;
  color: var(--cocoon-white-color);
  background-color: rgba(51, 51, 51, 0.7);
  padding: 1px 5px;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; }
.entry-card-content { margin-left: 330px; }
.entry-card-info > * { font-size: 0.7em;
  padding: 2px; }
.e-card-meta .e-card-categorys { display: none; }
.e-card-info { display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center; }
.e-card-info > span { margin-right: 4px; }
.list { display: flex;
  flex-direction: column;
  row-gap: 1em; }
#list, .list-wrap { margin-bottom: 3em; }
.ect-vertical-card { flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 1%; }
.ect-vertical-card .entry-card-wrap { width: 49.5%;
  display: inline-block; }
.ect-vertical-card .entry-card-wrap .entry-card { display: flex;
  flex-direction: column; }
.ect-vertical-card .entry-card-wrap .entry-card-thumb { width: 100%;
  float: none; }
.ect-vertical-card .entry-card-wrap .entry-card-content { margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 0; }
.ect-vertical-card .entry-card-wrap .entry-card-meta { margin-top: auto;
  padding-top: 5px;
  position: unset; }
.ect-vertical-card .entry-card-wrap .post-date, .ect-vertical-card .entry-card-wrap .post-update { margin-right: 0; }
.ect-3-columns { column-gap: 0.5%; }
.ect-3-columns .entry-card-wrap { width: 33%;
  padding: 7px; }
.ect-3-columns .entry-card-snippet { display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; }
.ect-3-columns > *, .fpt-3-columns > * { width: 33%;
  display: inline-block; }
.entry-date { margin-left: 3px; }
.date-tags { line-height: 0.8;
  text-align: right;
  margin-bottom: 1em; }
.post-date, .post-update, .post-author, .amp-back { margin-right: 8px; }
.entry-title, .archive-title { font-size: 26px;
  margin: 16px 0;
  line-height: 1.3; }
.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 { line-height: 1.25;
  font-weight: bold; }
.footer-meta { font-size: 0.8em;
  text-align: right; }
.author-info .post-author { font-size: 14px; }
.eye-catch-wrap { display: flex; }
.eye-catch { position: relative;
  margin-bottom: 0.6em;
  max-width: 100%; }
.sidebar { width: 376px;
  border: 1px solid transparent;
  padding: 19px;
  border-radius: var(--cocoon-basic-border-radius);
  background-color: var(--cocoon-white-color); }
.sidebar h2, .sidebar h3 { background-color: var(--cocoon-xx-thin-color);
  padding: 12px;
  margin: 16px 0;
  border-radius: var(--cocoon-badge-border-radius); }
.sidebar-scroll { position: -webkit-sticky; 
  position: sticky;
  top: 0; }
.widget_recent_entries ul, .widget_categories ul, .widget_archive ul, .widget_pages ul, .widget_meta ul, .widget_rss ul, .widget_nav_menu ul, .widget_block ul { padding: 0;
  margin: 0;
  list-style: none; }
.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a, .widget_block ul li a { color: var(--cocoon-text-color);
  text-decoration: none;
  padding: 10px 0;
  display: block;
  padding-right: 4px;
  padding-left: 4px; }
.widget h2 { font-size: 20px; }
.wp-block-categories-list, .wp-block-archives-list, ul.wp-block-archives { list-style: none;
  padding-left: 0; }
.body blockquote > :last-child, .body .wp-block-media-text__content > :last-child, .body .wp-block-column > :last-child, .body .column-left > :last-child, .body .column-center > :last-child, .body .column-right > :last-child, .body .timeline-item-snippet > :last-child, .body .wp-block-cover__inner-container > :last-child, .body .wp-block-group:not(.is-content-justification-left, .is-content-justification-center, .is-content-justification-right, .is-content-justification-space-between, .is-layout-flex) > :last-child, .body .block-box > :last-child, .body .blank-box > :last-child, .body .toggle-content > :last-child, .body .tab-content > :last-child, .body .faq-item-content > :last-child, .body .block-box-content > :last-child, .body .common-icon-box > :last-child, .body .info-box > :last-child, .body .primary-box > :last-child, .body .success-box > :last-child, .body .warning-box > :last-child, .body .danger-box > :last-child, .body .secondary-box > :last-child, .body .light-box > :last-child, .body .dark-boxs > :last-child { margin-bottom: 0; }
.btn, .ranking-item-link-buttons a { margin: 0; }
.pagination { margin: 24px 0;
  clear: both;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  width: 100%; }
.pagination .current { background-color: var(--cocoon-current-background-color); }
.page-numbers { color: var(--cocoon-text-color);
  text-decoration: none;
  display: inline-block;
  height: 46px;
  width: 46px;
  border: 1px solid var(--cocoon-thin-color);
  margin: 0 4px;
  line-height: 44px;
  text-align: center;
  border-radius: var(--cocoon-basic-border-radius);
  font-size: 16px; }
.page-numbers span { line-height: inherit; }
.page-numbers.dots { opacity: 0.6;
  background-color: var(--cocoon-xx-thin-color); }
.pagination-next { margin-top: 24px; }
.pagination-next-link, .comment-btn { background-color: #f9f9f9;
  border: 1px solid var(--cocoon-thin-color);
  color: var(--cocoon-text-color);
  display: block;
  font-size: 1.2em;
  text-decoration: none;
  width: 100%;
  text-align: center;
  padding: 10px;
  display: block; }
canvas, iframe, video, .fb_iframe_widget, .fb_iframe_widget span { max-width: 100%; }
.copyright { margin-top: 8px; }
.footer-bottom { margin-top: 24px;
  padding: 8px;
  position: relative;
  font-size: 14px; }
.footer-bottom-logo { float: left;
  bottom: 0;
  position: absolute; }
.footer-bottom-logo .logo-text { padding: 0; }
.footer-bottom-logo .site-name-text { font-size: 18px; }
.footer-bottom-content { float: right;
  text-align: right; }
.go-to-top { position: fixed;
  display: block;
  right: 10px;
  bottom: 10px;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: 0.6s; }
.go-to-top-button { border-width: 0;
  background-color: #eee;
  color: #333;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  text-align: center;
  line-height: 1;
  border-radius: 5px;
  font-size: 22px; }
.go-to-top-button-image { background-color: transparent;
  padding: 0; }
:root { --easing: cubic-bezier(.2, 1, .2, 1);
  --transition: .8s var(--easing);
  --box-shadow: 0 0 30px #fff; }
.go-to-top { display: block; }
:root { --cocoon-twitter-color: #000000;
  --cocoon-mastodon-color: #6364FF;
  --cocoon-bluesky-color: #0085ff;
  --cocoon-misskey-color: #96d04a;
  --cocoon-facebook-color: #3b5998;
  --cocoon-threads-color: #000000;
  --cocoon-reddit-color: #FF4500;
  --cocoon-hatebu-color: #2c6ebd;
  --cocoon-google-plus-color: #dd4b39;
  --cocoon-pocket-color: #ef4056;
  --cocoon-line-color: #00c300;
  --cocoon-linkedin-color: #0077b5;
  --cocoon-website-color: #002561;
  --cocoon-instagram-color: #405de6;
  --cocoon-pinterest-color: #bd081c;
  --cocoon-youtube-color: #cd201f;
  --cocoon-tiktok-color: #000000;
  --cocoon-note-color: #000000;
  --cocoon-soundcloud-color: #ff8800;
  --cocoon-flickr-color: #111;
  --cocoon-amazon-color: #ff9900;
  --cocoon-twitch-color: #6441a4;
  --cocoon-rakuten-color: #bf0000;
  --cocoon-rakuten-room-color: #c61e79;
  --cocoon-slack-color: #e01563;
  --cocoon-github-color: #4078c0;
  --cocoon-codepen-color: #333;
  --cocoon-feedly-color: #2bb24c;
  --cocoon-rss-color: #f26522;
  --cocoon-copy-color: #333333;
  --cocoon-comment-color: #333333;
  --cocoon-red-color: #e60033;
  --cocoon-pink-color: #e95295;
  --cocoon-purple-color: #884898;
  --cocoon-deep-color: #55295b;
  --cocoon-indigo-color: #1e50a2;
  --cocoon-blue-color: #0095d9;
  --cocoon-light-blue-color: #2ca9e1;
  --cocoon-cyan-color: #00a3af;
  --cocoon-teal-color: #007b43;
  --cocoon-green-color: #3eb370;
  --cocoon-light-green-color: #8bc34a;
  --cocoon-lime-color: #c3d825;
  --cocoon-yellow-color: #ffd900;
  --cocoon-amber-color: #ffc107;
  --cocoon-orange-color: #f39800;
  --cocoon-deep-orange-color: #ea5506;
  --cocoon-brown-color: #954e2a;
  --cocoon-light-grey-color: #cccccc;
  --cocoon-grey-color: #949495;
  --cocoon-dark-grey-color: #666666;
  --cocoon-blue-gray-color: #607d8b;
  --cocoon-black-color: #333333;
  --cocoon-white-color: #ffffff;
  --cocoon-watery-blue-color: #f3fafe;
  --cocoon-watery-yellow-color: #fff7cc;
  --cocoon-watery-red-color: #fdf2f2;
  --cocoon-watery-green-color: #ebf8f4;
  --cocoon-custom-background-color: inherit;
  --cocoon-custom-text-color: inherit;
  --cocoon-custom-border-color: #ccc;
  --cocoon-default-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --cocoon-text-color: #333;
  --cocoon-pallid-text-color: #777;
  --cocoon-x-pallid-text-color: #999;
  --cocoon-default-text-size: 18px;
  --cocoon-text-size-s: 0.8em;
  --cocoon-basic-border-color: #ccc;
  --cocoon-three-d-border-colors: #e3e3e3 #cecece #b4b4b4 #d6d6d6;
  --cocoon-middle-thickness-color: #888;
  --cocoon-thin-color: #ddd;
  --cocoon-x-thin-color: #eee;
  --cocoon-xx-thin-color: #f5f6f7;
  --cocoon-xxx-thin-color: #fafbfc;
  --cocoon-current-background-color: #eee;
  --cocoon-select-background-color: #d8eaf2;
  --cocoon-tab-label-color: #f2f2f2;
  --cocoon-tab-label-active-color: #404453;
  --cocoon-basic-border-radius: 4px;
  --cocoon-badge-border-radius: 2px;
  --cocoon-middle-border-radius: 8px;
  --cocoon-box-padding: 1em 1.5em;
  --cocoon-list-padding: min(1%, 8px) min(2%, 16px) min(1%, 8px) min(3%, 24px);
  --cocoon-list-wide-padding: min(3%, 24px) min(5%, 40px) min(3%, 24px) min(7%, 56px);
  --cocoon-box-border-color: #47585c;
  --cocoon-sns-color: var(--cocoon-text-color);
  --card-ratio: 16/9;
  --cocoon--header-container--position-offset: 0px;
  --cocoon--mobile-header-menu-buttons--height: 50px; }
:root { --cocoon-twitter-color: #000000;
  --cocoon-facebook-color: #2c6ebd;
  --cocoon-google-plus-color: #dd4b39;
  --cocoon-pocket-color: #ef4056;
  --cocoon-line-color: #00c300;
  --cocoon-linkedin-color: #0077b5;
  --cocoon-website-color: #002561;
  --cocoon-instagram-color: #405de6;
  --cocoon-pinterest-color: #bd081c;
  --cocoon-youtube-color: #cd201f;
  --cocoon-tiktok-color: #000000;
  --cocoon-note-color: #000000;
  --cocoon-soundcloud-color: #ff8800;
  --cocoon-flickr-color: #111;
  --cocoon-amazon-color: #ff9900;
  --cocoon-twitch-color: #6441a4;
  --cocoon-rakuten-color: #bf0000;
  --cocoon-rakuten-room-color: #c61e79;
  --cocoon-slack-color: #e01563;
  --cocoon-github-color: #4078c0;
  --cocoon-codepen-color: #333;
  --cocoon-feedly-color: #2bb24c;
  --cocoon-rss-color: #f26522;
  --cocoon-red-color: #e60033;
  --cocoon-pink-color: #e95295;
  --cocoon-purple-color: #884898;
  --cocoon-deep-color: #55295b;
  --cocoon-indigo-color: #1e50a2;
  --cocoon-blue-color: #0095d9;
  --cocoon-light-blue-color: #2ca9e1;
  --cocoon-cyan-color: #00a3af;
  --cocoon-teal-color: #007b43;
  --cocoon-green-color: #3eb370;
  --cocoon-light-green-color: #8bc34a;
  --cocoon-lime-color: #c3d825;
  --cocoon-yellow-color: #ffd900;
  --cocoon-amber-color: #ffc107;
  --cocoon-orange-color: #f39800;
  --cocoon-deep-orange-color: #ea5506;
  --cocoon-brown-color: #954e2a;
  --cocoon-grey-color: #949495;
  --cocoon-blue-gray-color: #607d8b;
  --cocoon-black-color: #333333;
  --cocoon-white-color: #ffffff;
  --cocoon-watery-blue-color: #f3fafe;
  --cocoon-watery-yellow-color: #fff7cc;
  --cocoon-watery-red-color: #fdf2f2;
  --cocoon-watery-green-color: #ebf8f4;
  --cocoon-custom-background-color: inherit;
  --cocoon-custom-text-color: inherit;
  --cocoon-custom-border-color: #ccc;
  --cocoon-default-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --cocoon-text-color: #333;
  --cocoon-pallid-text-color: #777;
  --cocoon-x-pallid-text-color: #999;
  --cocoon-default-text-size: 18px;
  --cocoon-text-size-s: 0.8em;
  --cocoon-basic-border-color: #ccc;
  --cocoon-three-d-border-colors: #e3e3e3 #cecece #b4b4b4 #d6d6d6;
  --cocoon-middle-thickness-color: #888;
  --cocoon-thin-color: #ddd;
  --cocoon-x-thin-color: #eee;
  --cocoon-xx-thin-color: #f5f6f7;
  --cocoon-xxx-thin-color: #fafbfc;
  --cocoon-current-background-color: #eee;
  --cocoon-select-background-color: #d8eaf2;
  --cocoon-basic-border-radius: 4px;
  --cocoon-badge-border-radius: 2px;
  --cocoon-middle-border-radius: 8px;
  --cocoon-box-padding: 1em 1.5em;
  --cocoon-list-box-padding: 1.6em 2em 1.6em 3em;
  --cocoon-box-border-color: #47585c;
  --cocoon-sns-color: var(--cocoon-text-color); }
.carousel-entry-card-thumb, .related-entry-card-thumb, .widget-entry-card-thumb, .entry-card-thumb { float: left;
  margin-top: 3px;
  position: relative;
  margin-bottom: 0.4em; }
.appeal, .header, body { background-position: top center;
  
  background-repeat: no-repeat;
  
  background-size: 100% auto; }
option { padding: 12px; }
.blogcard, .ecb-entry-border .entry-card-wrap, .page-numbers, .pagination-next-link, .comment-btn, .index-tab-buttons .index-tab-button, .border-square .a-wrap, .author-box { border-color: var(--cocoon-three-d-border-colors);
  border-width: 1px;
  border-style: solid; }

@media screen and (max-width: 1023px) {
.navi-footer { float: none;
    margin: 0;
    width: 100%; }
.copyright { width: 100%; }
main.main, div.sidebar { display: block;
    margin: 10px;
    width: auto; }
.footer-bottom-logo, .footer-bottom-content { float: none; }
.footer-bottom-logo { line-height: 1; }
.footer-bottom-content { text-align: center; }
.sidebar-scroll { position: static; }
.header, .appeal { background-size: cover; }
.footer-bottom-logo { position: relative;
    bottom: auto; }
.logo-footer { margin: 8px auto; }
.scrollable-mobile-buttons { margin-bottom: 0; }
}


@media screen and (max-width: 834px) {
main.main, div.sidebar { padding: 32px 16px;
    margin: 12px 0;
    border-width: 0; }
.entry-card-title, .related-entry-card-title { font-size: 17px; }
.entry-card-snippet, .related-entry-card-snippet { font-size: 14px; }
.ect-vertical-card .entry-card-wrap { width: 49%; }
.header div.header-in { min-height: auto; }
#header .site-name-text { font-size: 22px; }
}


@media screen and (max-width: 480px) {
h2, h3 { font-size: 20px; }
.entry-card, .related-entry-card, .e-card-title { line-height: 1.3; }
.e-card-title { font-size: 16px; }
.e-card-snippet { font-size: 13px; }
.cat-label { font-size: 10px;
    padding: 1px 3px; }
.pagination-next-link, .comment-btn { font-size: 1em; }
.entry-title, .article h2, .article h3, .article h4, .article h5, .article h6 { padding: 0.6em; }
#header .site-name-text { font-size: 18px; }
.tagline { font-size: 12px; }
.entry-card-snippet { display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; }
.no-sp-snippet .entry-card-snippet { display: none; }
.e-card-meta { margin-top: 2px; }
.page-numbers.dots { display: none; }
}


@media screen and (max-width: 356px) {
.ect-vertical-card .entry-card-wrap, .rect-vertical-card .related-entry-card-wrap, .ect-2-columns > *, .ect-3-columns > *, .fpt-2-columns > *, .fpt-3-columns > * { width: 100% !important; }
}


@media print {
#container { font-size: 11pt; }
#container .header-container, #container .ad-area, #container .pager-links, #container .under-entry-content, #container .breadcrumb-category, #container .entry-footer, #container .sidebar, #container .footer, #container #admin-panel, #container #go-to-top, #container .go-to-top-button, #container #fb-root, #container .mobile-menu-buttons, #container .toc, #container .sns-share, #container .widget, #container #notice-area-wrap, #container #notice-area, #container #appeal, #container .recommended, #container #carousel, #container #go-to-top { display: none !important; }
#container .content-in { display: block; }
#container .main, #container .content, #container .wrap { width: auto;
    margin: 0;
    float: none;
    padding: 0;
    border: none;
    overflow-wrap: normal; }
#container .main { width: 100% !important; }
#container h1, #container h2, #container h3, #container h4, #container h5, #container h6 { background-color: transparent;
    border-width: 0;
    padding: 0;
    margin: 10px 0;
    color: #333; }
#container h1 { font-size: 21.5pt; }
#container h2 { font-size: 18.5pt; }
#container h3 { font-size: 16pt; }
#wpadminbar, #go-to-top, .go-to-top-button, #admin-panel, .mobile-menu-buttons { display: none !important; }
}


/* --------------------------------------------------------------------------
   アイコン（FontAwesome 4 互換）

   Cocoon はアイコンフォント（woff2 約 77KB ＋ CSS 約 31KB）を読み込むが、
   実サイトで表示されているグリフはごく少数。フォントを読まずに
   同じ形をインライン SVG で描く。クラス名は FontAwesome 4 と互換。
   グリフを足すときは fontawesome-webfont.svg からパスを取り出して同じ形式で追加する。
   -------------------------------------------------------------------------- */
.fa {
	display: inline-block;
	/*
	 * フォントのグリフ送り幅に合わせる（既定 horiz-adv-x=1536 / units-per-em=1792）。
	 * 1em にすると文字送りがフォント版より広くなり、日付などの並びが数 px ずれる。
	 */
	width: 0.857em;
	height: 1em;
	/* FontAwesome の .fa は line-height:1 を持つ。省くと行ボックスが縮み、日付行の高さが変わる。 */
	line-height: 1;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	/*
	 * FontAwesome のグリフのディセンダ実測値（0.2059em）。
	 * 空の inline-block はボックス下端がベースラインになるため、この分だけ下げると
	 * フォント版と同じ位置・同じ行ボックス高になる。ずらすと日付行の高さが変わり、
	 * それ以降の要素が 0.2px 単位でずれて全面に差分が出る。
	 */
	vertical-align: -0.2059em;
}

.fa-clock-o {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1792 1792'%3E%3Cpath fill='currentColor' transform='translate(0,1536) scale(1,-1)' d='M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z'/%3E%3C/svg%3E");
}
.fa-history {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1792 1792'%3E%3Cpath fill='currentColor' transform='translate(0,1536) scale(1,-1)' d='M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298zM896 928v-448q0 -14 -9 -23 t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23z'/%3E%3C/svg%3E");
}
.fa-pencil {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1792 1792'%3E%3Cpath fill='currentColor' transform='translate(0,1536) scale(1,-1)' d='M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z'/%3E%3C/svg%3E");
}
.fa-angle-right {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1792 1792'%3E%3Cpath fill='currentColor' transform='translate(0,1536) scale(1,-1)' d='M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z'/%3E%3C/svg%3E");
}


/* トップへ戻るボタン・スキップリンク・記事下の著者情報 ------------------ */
.skip-link:focus { top: 6px; }
.admin-bar .skip-link:focus { top: calc(var(--wp-admin--admin-bar--height, 32px) + 6px);
  z-index: 100000; }
.e-card-info .post-author { display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center; }
.post-author-image { margin-right: 3px; }
.post-author-image img { border-radius: 50%; }
.article-header .sns-share:not(:has(.sns-button)), .article-footer .sns-share:not(:has(.sns-button)) { display: none; }
.content-only .header-container, .content-only .appeal, .content-only .ad-area, .content-only .sns-share, .content-only .date-tags, .content-only .sns-follow, .content-only .article-footer, .content-only .under-entry-content, .content-only .breadcrumb, .content-only .main-scroll, .content-only .footer, .content-only .go-to-top-button, .content-only .notice-area, .content-only .content-top, .content-only .content-bottom, .content-only .recommended { display: none; }
.no-post-date .article-header .post-date, .no-post-update .article-header .post-update, .no-post-author .author-info { display: none; }
.author-box .author-name { font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.4em; }
.go-to-top-visible .go-to-top { visibility: visible;
  opacity: 1; }
.go-to-top-button:hover { color: #333; }
.go-to-top-trigger { height: 0;
  position: absolute;
  top: 500px;
  width: 0; }

@media screen and (max-width: 1023px) {
.no-mobile-sidebar .sidebar, .mobile-button-fmb .go-to-top-button, .no-mobile-header-logo #header .logo-header { display: none; }
.mblt-footer-mobile-buttons .go-to-top-button, .mblt-header-and-footer-mobile-buttons .go-to-top-button { display: none; }
}

/* --------------------------------------------------------------------------
   カスケード順の調整（必ずファイル末尾に置くこと）

   上の「Cocoon 互換レイヤー」はトップレベル宣言を後ろにまとめているため、
   前半で定義したモバイル用の打ち消しより後に来て勝ってしまう。
   Cocoon 本体と同じ最終結果にするため、モバイル側をここで再宣言する。
   （.entry-title の margin が残ると margin collapse でページ全体が下にずれる）
   -------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
	.entry-title,
	.article h2 {
		font-size: 20px;
		padding: 0.6em 0.8em;
	}

	.entry-title {
		margin: 0;
		margin-bottom: 6px;
	}
}

/* angle-right はフォント側の horiz-adv-x が 640（既定 1536）と狭い。 */
.fa-angle-right {
	width: 0.357em;
}

/* --------------------------------------------------------------------------
   Cocoon の .btn（ボタンブロック用ユーティリティ）

   子テーマがマークアップに .btn を付けている場合、Cocoon のこの宣言を
   拾っている（font-weight:bold / line-height:normal など）。落とすと
   ボタンの幅と高さが数 px 変わるため、そのまま移植する。
   子テーマ側の指定は後から読まれるので従来どおり優先される。
   -------------------------------------------------------------------------- */
.btn {
	border-width: 2px;
	border-style: solid;
	color: #fff;
	background-color: #333;
	border-color: transparent;
	font-weight: bold;
	border-radius: 4px;
	display: inline-block;
	cursor: pointer;
	line-height: normal;
	padding: 7px 13px;
	text-decoration: none;
	text-align: center;
	font-size: 14px;
	position: relative;
	transition: all 0.3s ease-in-out;
	background-clip: padding-box;
}

.btn img {
	margin: 0;
}

/*
 * SP は .post-date のフォントサイズが 11.2px（PC は 12.6px）になり、
 * ブラウザがフォントのアセントを整数に丸める都合で、必要なディセンダ量が
 * PC と一致しない（PC 0.2059em / SP 0.1975em）。日付行だけ実測値に合わせる。
 * ここを揃えないと記事ヘッダーが 0.09px 高くなり、以降の本文が丸めで 1px ずれる。
 */
@media screen and (max-width: 480px) {
	.date-tags .fa {
		vertical-align: -0.1975em;
	}
}

/* ===== Cocoon 互換: 記事本文の色付きボックス／マーカー（2026-08-17 追加） =====
   Cocoon から移行したサイトの記事本文で使われる色付きボックス(.primary-box 等)と
   マーカー(.marker 等)。Cocoon 本体 style.css の原文どおり移植。移行時のCSS抽出でこれらが
   漏れると「月ごとの色分けと余白が消え詰め詰めになる」回帰が起きる(kikuchi-gym 記事559で発生)。
   ボックス間の縦間隔は .entry-content > *{margin-bottom:1.8em}、
   最終子要素は既存の .body .X-box > :last-child{margin-bottom:0} が担う。 */
.marker { background-color: #ff9; }
.marker-red { background-color: #ffd0d1; }
.marker-blue { background-color: #a8dafb; }
.marker-under { background: linear-gradient(transparent 60%, #ff9 60%); }
.marker-under-red { background: linear-gradient(transparent 60%, #ffd0d1 60%); }
.marker-under-blue { background: linear-gradient(transparent 60%, #a8dafb 60%); }

.is-style-primary-box, .primary-box, .sp-primary, .primary {
	color: #004085; background-color: #cce5ff; border-color: #b8daff; padding: 15px; border-radius: 4px;
}
.is-style-success-box, .success-box, .sp-success, .success {
	color: #155724; background-color: #d4edda; border-color: #c3e6cb; padding: 15px; border-radius: 4px;
}
.is-style-info-box, .info-box, .sp-info, .info {
	color: #0c5460; background-color: #d1ecf1; border-color: #bee5eb; padding: 15px; border-radius: 4px;
}
.is-style-warning-box, .warning-box, .sp-warning, .warning {
	color: #856404; background-color: #fff3cd; border-color: #ffeeba; padding: 15px; border-radius: 4px;
}
.is-style-danger-box, .danger-box, .sp-danger, .danger {
	color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; padding: 15px; border-radius: 4px;
}
.is-style-secondary-box, .secondary-box {
	color: #383d41; background-color: #e2e3e5; border-color: #d6d8db; padding: 15px; border-radius: 4px;
}
.is-style-light-box, .light-box {
	color: #818182; background-color: #fefefe; border-color: #fdfdfe; padding: 15px; border-radius: 4px;
}
.is-style-dark-box, .dark-box {
	color: #1b1e21; background-color: #d6d8d9; border-color: #c6c8ca; padding: 15px; border-radius: 4px;
}
/* ===== /Cocoon 互換ボックス・マーカー ===== */


/* --------------------------------------------------------------------------
   reCAPTCHA v3 のバッジ位置（Cocoon 本体から移植）

   Google はバッジにインラインで bottom:14px を付けるため !important でないと
   勝てない。これが無いとバッジが右下の「トップへ戻る」ボタンに完全に重なる
   （実測 40x40 のボタンが全面隠れる）。lazy-recaptcha を入れているサイトでは
   無操作の計測時にバッジが DOM に現れないため、CSS 抽出では構造的に漏れる。
   -------------------------------------------------------------------------- */
.grecaptcha-badge {
	bottom: 60px !important;
}


/* Cocoon 互換：タイルカード（entry_card_type = tile_card_*）--------------------
   ⚠ Cocoon 本体の `.ect-tile-card{--card-ratio:auto}`（サムネイルを原寸比で表示）は
   **意図的に移植しない**。あれは Cocoon の masonry JS が可変高のカードを詰めることを
   前提にしたルールで、masonry の無い本テーマで当てると flex 行が最も高いカードに
   揃ってしまい一覧が 3 倍近く間延びする（実測 1,989px → 5,787px）。
   masonry JS 自体は再配置ループと CLS 悪化の実績があるため採用しない。
   サムネイルは thumb-wide の 16:9 のまま、余白だけ Cocoon に合わせる。 */
.ect-vertical-card.ect-tile-card .entry-card-content { padding: 0; }
.ect-vertical-card.ect-tile-card .card-snippet { padding: 0; margin: 0; }
.ect-vertical-card.ect-tile-card .card-meta { position: static; }
/* ⚠ Cocoon の `.ect-vertical-card.ect-tile-card .a-wrap{margin:0 0.16666%}` も移植しない。
   masonry が絶対配置する前提の余白で、通常の flex 折り返しに当てると
   33% × 3 + 余白 が親幅を超えて 1 行 2 枚に落ちる（実測 3 列 → 2 列）。 */
.ect-3-columns .entry-card-snippet { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
