@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* サイト名 */
.site-name-text {
	position: relative;
	z-index: 1;
}
.site-name-text::before {
	position: absolute;
	content: "";
	display: inline-block;
	background-image: url('http://ninteibi.net/wp-content/uploads/favicon.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 64px;  /* アイコンの幅に合わせて調整 */
	height: 64px; /* アイコンの高さに合わせて調整 */
	margin-right: 8px; /* アイコンと文字の間隔 */
	vertical-align: middle;
	top: -2rem;
	left: -3rem;
	z-index: -1;
}

/* ボタンリンク（アフィリエイト） */
.buttonlink {
	margin: 2em 0;
	text-align: center;
}
.buttonlink a {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	max-width: 100%;
	padding: 1em 3em 1em 2em;
	border-radius: 9999px; /* 両端を半円に */
	background: linear-gradient(#ffa040, #f57c00);
	color: #fff !important;
	font-weight: bold;
	font-size: 1.05em;
	line-height: 1.5;
	text-decoration: none;
	box-shadow: 0 4px 0 #c25e00, 0 8px 14px rgba(0, 0, 0, .2);
	transition: transform .15s, box-shadow .15s, filter .15s;
}
/* 右端の矢印（クリックを促す） */
.buttonlink a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.5em;
	width: .55em;
	height: .55em;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: translateY(-50%) rotate(45deg);
}
/* ホバー時：ボタンが押し込まれる動き */
.buttonlink a:hover {
	transform: translateY(3px);
	filter: brightness(1.06);
	box-shadow: 0 1px 0 #c25e00, 0 3px 6px rgba(0, 0, 0, .2);
}
.buttonlink::before {
    content: "＼ 5分で登録完了・利用は無料 ／";
    display: block;
    font-size: 0.8em;
    font-weight: bold;
    color: #FF9722;
    margin-bottom: 5px;
}

.afx-title::before {
	content: "関連 >";
	display: inline-block;
	margin-right: 0.5rem;
	padding: 0.2rem 0.6rem 0.1rem;
	font-size: 0.8rem;
	font-weight: bold;
	color: #FFF;
	background: var(--cpls-color-primary);
	border-radius: 1rem;
	vertical-align: middle;
	margin-bottom: 0.3rem;

}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
