/*
Theme Name: SYN Ownd Child
Template: syn-ownd
Theme URI: https://syn.design/
Author: 株式会社ウェブライダー
Author URI: https://web-rider.jp/
Description: SYN Ownd の子テーマ
Version: 1.0.0
Text Domain: syn-ownd-child
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@charset "utf-8";

/* カテゴリーページ：並び順切り替え */
.c3-sort {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 22px 0 30px;
}

.c3-sort__label {
	font-weight: 600;
	margin-right: 4px;
}

.c3-sort__btn {
	display: inline-block;
	padding: 7px 16px;
	border: 1px solid #0560a9;
	border-radius: 5px;
	background: #fff;
	color: #0560a9;
	text-decoration: none !important;
	line-height: 1.4;
}

.c3-sort__btn:hover {
	background: #f2f7fb;
	text-decoration: none !important;
}

.c3-sort__btn.is-active {
	background: #0560a9;
	color: #fff;
	text-decoration: none !important;
}

/* =========================================================
   C3 読みたい一覧
   ========================================================= */

.c3-topic-row {
	display: grid !important;
	grid-template-columns: 80px minmax(0, 1fr) 190px !important;
	align-items: center !important;
	column-gap: 20px !important;

	width: 100% !important;
	min-height: 54px !important;
	margin: 0 !important;
	padding: 4px 0 !important;
}

.c3-topic-number {
	font-size: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.c3-topic-title {
	font-size: 18px !important;
	line-height: 1.4 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.c3-topic-action {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	margin: 0 !important;
	padding: 0 !important;
}


/* 読みたいボタン */

.c3-topic-want {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;

	min-width: 165px !important;
	padding: 8px 16px !important;

	border: 0 !important;
	border-radius: 999px !important;

	background: #07589f !important;
	color: #ffffff !important;

	font-size: 16px !important;
	line-height: 1.2 !important;

	cursor: pointer;
}

.c3-topic-heart {
	font-size: 21px !important;
	line-height: 1 !important;
	color: #ffffff !important;
}

.c3-topic-count {
	display: inline-block !important;
	min-width: 16px !important;
	font-size: 16px !important;
	text-align: center !important;
	color: #ffffff !important;
}


/* 押した後 */

.c3-topic-want.is-wanted {
	background: #557b65 !important;
	color: #ffffff !important;
}


/* 公開中 */

.c3-topic-open {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	min-width: 165px !important;
	padding: 8px 16px !important;

	border-radius: 999px !important;

	background: #557b65 !important;
	color: #ffffff !important;

	font-size: 16px !important;
	text-decoration: none !important;
}


/* スマホ */

@media (max-width: 767px) {

	.c3-topic-row {
		grid-template-columns: 48px minmax(0, 1fr) !important;
		column-gap: 8px !important;
		row-gap: 5px !important;
		min-height: auto !important;
		padding: 9px 0 !important;
	}

	.c3-topic-number {
		font-size: 15px !important;
	}

	.c3-topic-title {
		font-size: 16px !important;
	}

	.c3-topic-action {
		grid-column: 2 !important;
		justify-content: flex-start !important;
	}

	.c3-topic-want,
	.c3-topic-open {
		min-width: 145px !important;
		padding: 7px 13px !important;
		font-size: 15px !important;
	}

}

/* ===== 読みたい一覧をさらにコンパクトに ===== */

.c3-topic-row {
	min-height: 34px !important;
	padding: 0 !important;
}

.c3-topic-want {
	min-width: 132px !important;
	padding: 3px 10px !important;
	font-size: 14px !important;
}

.c3-topic-heart {
	font-size: 16px !important;
}

.c3-topic-count {
	font-size: 14px !important;
	min-width: 12px !important;
}

.c3-topic-open {
	min-width: 132px !important;
	padding: 3px 10px !important;
	font-size: 14px !important;
}

/* ===== 読みたい一覧：行間だけ詰める ===== */

.c3-topic-row {
	min-height: 0 !important;
	height: auto !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 3px !important;
	padding-bottom: 3px !important;
}

/* ショートコード周辺の余計な余白対策 */
.c3-topic-row + .c3-topic-row {
	margin-top: 0 !important;
}

/* スマホ */
@media (max-width: 767px) {

	.c3-topic-row {
		min-height: 0 !important;
		margin: 0 !important;
		padding: 4px 0 !important;
		row-gap: 2px !important;
	}

	.c3-topic-action {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

}

/* =========================================================
   ヘッダーメニュー：PC時の横幅調整
   ========================================================= */

@media (min-width: 1024px) {

	/* メニュー文字を折り返さない */
	.hdr__nav .ddmenu__list > li > a {
		white-space: nowrap !important;
	}

	/* 各メニューの左右余白を少し縮める */
	.hdr__nav .ddmenu__list > li > a {
		padding-left: 11px !important;
		padding-right: 11px !important;
	}

	/* ベルだけ少し細く */
	.hdr__nav .ddmenu__list > li:last-child > a {
		padding-left: 9px !important;
		padding-right: 9px !important;
	}
}

/* =========================================================
   C3 更新通知ボタン
   ========================================================= */

.c3-push-box {
	margin: 0 0 30px;
	padding: 20px;
	background: #f7f8f9;
	border-radius: 8px;
	text-align: center;
}

.c3-push-button {
	display: inline-block;
	padding: 12px 22px;
	border: 0;
	border-radius: 6px;
	background: #163a5f;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.c3-push-button:hover {
	opacity: 0.88;
}

.c3-push-button.is-subscribed {
	background: #477f60;
}

.c3-push-button:disabled {
	opacity: 0.6;
	cursor: default;
}

.c3-push-message {
	margin: 10px 0 0;
	font-size: 14px;
	color: #666;
}

/* =========================================================
   C3 更新情報一覧：表示調整
   ========================================================= */

.c3-updates {
	margin-top: 36px;
}

.c3-update-item {
	display: grid !important;
	grid-template-columns: 120px minmax(0, 1fr) !important;
	column-gap: 28px;
	align-items: start;
	padding: 20px 0;
	border-bottom: 1px solid #e5e5e5;
}

.c3-update-date {
	font-size: 15px;
	line-height: 1.7;
	color: #777;
	white-space: nowrap;
}

.c3-update-title {
	font-size: 17px;
	line-height: 1.7;
	font-weight: 600;
	color: #222;
}

.c3-update-text {
	margin-top: 4px;
	font-size: 15px;
	line-height: 1.8;
	color: #555;
}

.c3-update-text p {
	margin: 0 !important;
}


/* スマホ */
@media (max-width: 767px) {

	.c3-updates {
		margin-top: 28px;
	}

	.c3-update-item {
		display: block !important;
		padding: 16px 0;
	}

	.c3-update-date {
		margin-bottom: 3px;
		font-size: 13px;
	}

	.c3-update-title {
		font-size: 16px;
	}

	.c3-update-text {
		margin-top: 3px;
		font-size: 14px;
	}
}

/* =========================================================
   C3 更新通知：停止リンク
   ========================================================= */

.c3-push-stop {
	display: inline-block;
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: #777;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}

.c3-push-stop:hover {
	color: #333;
}

.c3-push-stop:disabled {
	opacity: 0.5;
	cursor: default;
}

/* =========================================================
 * センペンバンカ使用カテゴリー：一覧アイキャッチ
 * 65歳の手前 / 思うこと / 身の丈の生活
 * 縦長・横長を同じ比率で表示し、作品全体を残す
 * ========================================================= */

.category-before-65 .common-list__img,
.category-thoughts .common-list__img,
.category-simple-life .common-list__img {
	aspect-ratio: 1200 / 630 !important;
	background: #f3f1ec;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.category-before-65 .common-list__img img,
.category-thoughts .common-list__img img,
.category-simple-life .common-list__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	display: block;
}

/* =========================================================
 * C3 お問い合わせフォーム
 * ========================================================= */

.c3-contact-form {
	max-width: 720px;
	margin-top: 32px;
}

.c3-contact-field {
	margin-bottom: 26px;
}

.c3-contact-field label {
	display: block;
	font-weight: 600;
}

.c3-contact-field input[type="text"],
.c3-contact-field input[type="email"],
.c3-contact-field select,
.c3-contact-field textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 8px;
	padding: 12px 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	font-size: 16px;
	font-weight: 400;
}

.c3-contact-field textarea {
	min-height: 180px;
	resize: vertical;
}

.c3-required {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 7px;
	border-radius: 3px;
	background: #b54545;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	vertical-align: 2px;
}

.c3-contact-privacy {
	margin: 30px 0 22px;
	font-size: 15px;
}

.c3-contact-submit input[type="submit"] {
	min-width: 180px;
	padding: 13px 30px;
	border: 0;
	border-radius: 4px;
	background: #145b96;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.c3-contact-submit input[type="submit"]:hover {
	opacity: .85;
}

@media (max-width: 767px) {
	.c3-contact-form {
		width: 100%;
	}

	.c3-contact-submit input[type="submit"] {
		width: 100%;
	}
}

/* =========================================================
 * C3 本文H2見出しをグリーン系に
 * ========================================================= */

.post-content h2.wp-block-heading {
	background: linear-gradient(90deg, #2f6b3f 0%, #79b95a 100%) !important;
	color: #fff !important;
}

/* =========================================================
 * プロフィール：アイキャッチ画像を小さく表示
 * ========================================================= */

.page-id-26 .entry__head img.entry__thumb {
	width: 230px;
	max-width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/* スマホではプロフィール画像をさらに小さく */
@media (max-width: 767px) {
	.page-id-26 .entry__head img.entry__thumb {
		width: 180px;
	}
}