/*
Theme Name:   EVERY Child
Theme URI:    https://dokushin-navi.com/
Description:  独身なび（dokushin-navi.com）用 子テーマ
Author:       SYCLA合同会社
Template:     every_tcd075
Version:      1.0.0
Text Domain:  every-child
*/

/* ここに追加したいCSSがあれば記述してください（親テーマのCSSは自動で読み込まれます） */

/* 監修者・記事を買いたい人 帯タイトル */
.dn-author-label,
.dn-supervisor-label {
	font-size: 11px;
	font-weight: bold;
	color: #ffffff;
	background-color: #a69a7b;
	margin: 0 0 1em;
	padding: 5px 5px;
	display: table;
	line-height: 1;
}

/* =========================================================
 * カテゴリーカラー（独身なび）
 * ========================================================= */

/* ラベル共通 */
.dn-cat-label {
	display: inline-block;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	line-height: 1;
	padding: 6px 10px;
	text-decoration: none;
}
a.dn-cat-label:hover {
	color: #fff;
	opacity: 0.8;
}

/* 記事詳細：タイトル上 */
.dn-cat-label--single {
	margin-bottom: 12px;
}

/* 一覧：サムネイル左肩 */
#post_list .image_wrap,
.index_blog .image_wrap,
#related_post .image_wrap {
	position: relative;
}
.image_wrap .dn-cat-label {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}
 /* 記事詳細：タイトル下のカテゴリー名（二重表示）を非表示 */
  #post_title_area .post_meta .category {
  	display: none;
  }
  
  
/* =========================================================
 * スマホ・タブレット：検索ボタンをハンバーガーメニューの左に配置
 * ※親テーマのresponsive.cssが後から読まれるため、bodyを付けて優先度を上げる
 * ========================================================= */
@media screen and (max-width: 1210px) {
	body #header,
	body #header_inner {
		height: 52px;
	}
	body #header_logo,
	body #header_button_area,
	body #menu_button {
		top: 0;
	}
	body #header_search_button {
		top: 0;
		right: 0;
		width: 50px;
		height: 52px;
		border: none;
		background: none;
	}
	body #header_search_button::before {
		top: 22px;
		left: 17px;
	}
	/* 検索窓の表示位置をヘッダー直下に合わせる */
	body #header_search {
		top: 52px;
	}
}

/* フッターSNS：Threads アイコン */
#footer_social_link li.threads a::before,
#header_sns li.threads a::before {
	content: "";
	width: 15px;
	height: 15px;
	margin: 0 auto;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z'/%3E%3C/svg%3E") no-repeat center / contain;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ヘッダーSNS */
#header_sns { float: left; display: flex; align-items: center; height: 60px; margin: 0; padding: 0; list-style: none; }
#header_sns li { margin: 0 0 0 18px; }
#header_sns li:first-child { margin-left: 0; }
#header_sns li a { display: block; position: relative; width: 20px; height: 20px; line-height: 20px; text-align: center; color: #000; font-size: 0; text-decoration: none; }
#header_sns li a span { display: none; }
#header_sns li a::before { font-family: 'design_plus'; font-size: 17px; display: block; -webkit-font-smoothing: antialiased; }
#header_sns li a:hover::before { color: #aaa; }
#header_sns li.insta a::before     { content: '\ea92'; }
#header_sns li.line a::before      { content: '\e909'; }
#header_sns li.pinterest a::before { content: '\e905'; }
#header_sns li.twitter a::before   { font-family: 'tiktok_x_icon'; content: '\e901'; }
#header_sns li.tiktok a::before    { font-family: 'tiktok_x_icon'; content: '\e900'; }
#header_sns li.facebook a::before  { font-family: 'tiktok_x_icon'; content: '\e902'; }
#header_sns li.youtube a::before   { font-family: 'footer_bar'; content: '\ea9d'; }
#header_sns li.threads a::before   { position: absolute; inset: 0; width: 17px; height: 17px; }

@media screen and (max-width: 1210px) {
	#header_sns { float: none; position: absolute; top: 0; right: 60px; height: 52px; }
	#header_sns li { margin-left: 16px; }
}

/* ハンバーガーメニュー内 検索窓 */
#drawer_search { padding: 12px 20px; border-bottom: 1px solid #fff; }
#drawer_search form { position: relative; margin: 0; }
#drawer_search input[type="text"] {
	display: block; width: 100%; height: 40px; box-sizing: border-box;
	padding: 0 44px 0 15px; margin: 0;
	border: none; border-radius: 0; background: #fff; color: #000;
	font-size: 14px; -webkit-appearance: none; appearance: none;
}
#drawer_search input[type="text"]::placeholder { color: #aaa; }
#drawer_search button {
	position: absolute; top: 0; right: 0; width: 44px; height: 40px;
	margin: 0; padding: 0; border: none; background: none; cursor: pointer;
}
#drawer_search button::before {
	content: '\e915'; font-family: 'design_plus'; font-size: 16px; line-height: 40px;
	color: #000; display: block; -webkit-font-smoothing: antialiased;
}
#drawer_search button:hover::before { color: #f08437; }


/* ============================================
   LINE友だち追加ボタン（独身なび）
   ============================================ */
.line-add-btn a { display: inline-block; line-height: 0; }
.line-add-btn img { width: auto; max-width: none; }

/* ヘッダー（PC）：SNSアイコンの左 */
.line-add-btn--header {
  float: left;
  height: 60px;
  display: flex;
  align-items: center;
  margin-right: 12px;
}
.line-add-btn--header img { height: 26px; }

/* ハンバーガーメニュー最下部 */
.line-add-btn--drawer {
  margin: 30px 20px;
  text-align: center;
}
.line-add-btn--drawer img { height: 40px; }

/* フッター：SNSアイコンの下 */
.line-add-btn--footer {
  clear: both;
  text-align: right;
  padding-top: 15px;
}
.line-add-btn--footer img { height: 36px; }

/* 記事末 */
.line-add-btn--article { text-align: center; margin: 40px 0; }
.line-add-btn--article img { height: 40px; }

/* 切り替え（ハンバーガーが出る幅＝1210px以下） */
@media screen and (min-width: 1211px) {
  .line-add-btn--drawer { display: none; }
}
@media screen and (max-width: 1210px) {
  .line-add-btn--header { display: none; }
  .line-add-btn--footer { text-align: center; }
}