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


body .entry-content {
	font-family: var(--cpls-font-family);
}

@font-face {
	font-family: 'fonttitle';
	src: url('./ShipporiMincho-ExtraBold.woff2') format('woff2');
	font-display: swap;
}

.entry-content p:first-of-type img {
	display: none;
}

:root {
	--color_key: #56D6A6;
	--color_sub: #004a63;
	--color_font: #4D5156;
	--color_bg: #FAFAFA;
	--color_link: #1B95E0;
	--color_line: #CCC;
	--color_shadow: 0px 3px 8px -2px rgba(0,0,0,0.2);
	--font_serif: "fontserif", serif;
	--list_space: 0.5em; /*番号と文字の隙間*/
	--width_body: 1200px;
}

/*--------------------------------
	カラム横並び（おもに比較表に使うassy内のdata）
--------------------------------*/
@media screen and (max-width: 834px) {
	.column-wrap.flexrow {
		flex-direction: row;
	}
}

/*--------------------------------
	ヘッダー
	Cocoon：トップメニュー（右寄せ）
--------------------------------*/
/*ロゴ*/
#header .logo-text {
	padding: 0;
	margin: 0 1rem;
}
#header .site-name-text,
#footer .site-name-text {
	/*background: linear-gradient(to right, var(--color_key) 40%, #000 40%);*/
	background: #000;
	color: var(--color_sub);
	font-family: "fonttitle";
	font-size: 3em;
	padding-left: 0.1em;
	/*background-clip: text;*/
	-webkit-background-clip: text;
}
@media screen and (max-width: 480px) {
	#header .site-name-text {
    	font-size: 2.5em;
	}
}



/*--------------------------------
	ボックス 1カラムワイド背景
--------------------------------*/
/*背景色を横幅いっぱいに*/
.fullwide {
	padding: 1rem 32px 3rem;
	margin: 0 calc((100% - 100vw)/2);
}
/*Swellのフルワイズの場合*/
/*:root {
	--scrollbar_width: 17px;
}
.fullwide {
	padding: 1rem 32px 3rem;
	margin: 0 calc(50% - 50vw + var(--scrollbar_width, 0)/2);
	width: calc(100vw - var(--scrollbar_width, 0));
	max-width: 100vw !important;
}*/
.fullwide > * {
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
}
@media screen and (max-width: 490px) {
	.fullwide {
		padding: 0.5rem 1rem;
	}
}
/*背景色*/
.fullwide:nth-of-type(even) {
	background: #F1F7F9;
}



/*--------------------------------
	フロントページ
--------------------------------*/
/*.body {
	max-width: var(--width_body);
	margin: 0 auto;
}*/
/*アピールエリアの画像の縦横比を保持*/
#appeal {
    height: calc(1vw * 100 * calc(1000 / 2000));
	max-width: var(--width_body);
	margin: 0 auto;
}
@media screen and (min-width: 1200px) {
	#appeal {
		height: calc(var(--width_body) / 2);
	}
}
.home.page [id$="-assy"] {
	margin-bottom: unset;
}
.home.page a,
.home.page a:hover {
	outline: none;
	text-decoration: none;
}
/*フロント固定ページのヘッダー周りを非表示*/
.home.page .entry-title,
.home.page .post-date,
.home.page .post-update,
.home.page .author-info {
	display: none;
}
/*h2見出しデザインを解除*/
.home.page h2 {
	position: relative;
	color: var(--color_sub);
	font-family: "fonttitle";
	font-size: 2rem;
	padding: unset;
	margin: unset;
	text-align: center;
}
.home.page h2,
.home.page h2::before,
.home.page h2::after {
	background: transparent;
	border: unset;
}
.home.page h2::before {
	content: '';
	position: absolute;
		top: 27px;/*線の上下位置*/
		left: 50%;
	background: linear-gradient(to right, #0095C7 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 75%, #0095C7);
	display: inline-block;
	width: 100%;/*線の長さ*/
	height: 1px;/*線の太さ*/
	transform: translateX(-50%);/*位置調整*/
	-webkit-transform: translateX(-50%);
}
/*キャッチコピー*/
.home.page .catchcopy-wrap {
	text-align: center;
}
.home.page .catchcopy {
	display: block;
	color: #808080;
	font-family: "fonttitle";
	font-size: 1.2em;
	margin-bottom: 1rem;
}
.home.page .catchcopy::before {
	content: "！";
	color: var(--color_sub);
	font-size: 1.3em;
	margin-right: 0.2rem;
}
/*スマホのカラム縦並びを解除*/
.home.page [id^="timing"] .column-wrap,
.home.page [id^="service"] .column-wrap {
	flex-direction: row;
}
.home.page .column-wrap [class^="column"] {
	padding: 0 3px;
	margin-bottom: unset;
}
.home.page .frontcard {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.home.page [id^="feature"] .frontcard {
	height: auto;
}
.home.page .frontcard img {
	border-radius: 4px 4px 0 0;
	object-fit: cover;
}
/*タイトルリンク文字*/
.home.page [class*="card-title"] {
	display: block;
	color: var(--color_font) !important;
	font: normal 1.05rem serif !important;
	line-height: 1.4 !important;
}
.home.page .frontcard [class*="card-title"] {
	padding: 0.5rem 1rem;
}
@media screen and (max-width: 599px) {
	.home.page .frontcard [class*="card-title"] {
		font: normal 0.95rem serif !important;
		padding: 0.5rem;
	}
}
.home.page [id^="timing"] .frontcard,
.home.page [id^="feature"] .frontcard {
	background: #FFF;
	box-shadow: var(--color_shadow);
	border-radius: 4px;
	line-height: 1.2;
}
.home.page [id^="timing"] > img {
	margin-top: -40px;
}
.home.page [id^="feature"] .frontcard {
	margin-bottom: 1rem;
}
.home.page .readmore-button {
	display: block;
	margin: 1.5rem;
	text-align: center;
}
.home.page .readmore-button a {
	border: 1px solid #999;
	border-radius: 4px;
	color: #999;
	font-size: 0.8rem;
	padding: 0.4rem 0.8rem;
}
.home.page [id^="service"] .frontcard {
	position: relative;
	background: #FFF;
	border: 1px solid #EEE;
	line-height: 1.2;
}
.home.page [id^="service"] .frontcard div img + span {
	display: block;
	color: var(--color_sub);
	height: 2.5rem;
	font-weight: bold;
}
.home.page [id^="service"] .frontcard p {
	font-size: 0.9rem;
	flex-grow: 1;
	padding: 8px;
	margin-bottom: unset;
}
.home.page [id^="service"] .frontcard [id$="buttonlink"] {
	min-height: 3.2rem;
}
.home.page [id^="service"] .frontcard [id$="buttonlink"] a {
	position: absolute;
	color: #FFF;
	padding: 6px 0;
	margin: 0 auto;
	min-height: 2rem;
	bottom: 8px
}
.home.page [id^="service"] .frontcard [id$="buttonlink"] a::after {
	display: none;
}
.home.page .internal-blogcard-wrap {
	background: transparent;
	box-shadow: unset;
	border-bottom: 1px solid #CCC;
	border-radius: unset;
	margin: 0 auto;
}
.home.page .internal-blogcard-content::after {
	content: none;
}



/*--------------------------------
	カード
--------------------------------*/
/*カードのサムネイル画像の大きさを調整
エントリー・関連・新着・人気に共通*/
/*カテゴリーラベルを非表示*/
.cat-label {
	display: none;
}
[class*="card-thumb"] {
	margin: 0 8px 0 0 !important;
	width: 108px !important;
	height: 108px !important;
}
[class*="card-content"] {
	margin: 0;
	padding: 0;
}
[class*="card-title"] {
	color: var(--color_font);
	font: normal 1rem var(--font_serif) !important;
	line-height: 1.4 !important;
	margin: 0 0 0.5em 0;
}
@media screen and (max-width: 560px){
	[class*="card-title"] {
		font-size: 1rem !important;	
	}
	[class*="card-snippet"] {
		display: none;
	}
}
[class*="card-footer"] {
	display: none;
}
/*カード類 全部の装飾*/
.a-wrap, a-wrap:hover {
	background: #FFF;
	border-radius: 4px;
	box-shadow: var(--color_shadow);
}
/*ブログカードの装飾*/
.blogcard {
	border: unset;
	padding: unset;
}
[class*="blogcard-wrap"] {
	margin: unset;
	padding: unset;
	max-width: 400px;
}
.internal-blogcard {
	padding: 0.5rem;
	word-wrap: break-word;
	position: relative;
}
.internal-blogcard-content::after {
	position: absolute;
	background: #FFF;
	content: 'この記事を読む ≫';
	color: var(--color_link);
	font-size: 0.8em;
	padding: 0.1em 0.4em;
	right: 4px;
	bottom: 4px;
}


/*--------------------------------
	ボックス
--------------------------------*/
/*引用blockquote*/
blockquote {
	background: #F3F6FF;
	border: unset;
	border-radius: 4px;
	font-family: "fontmono";
	padding: 15px;
}
blockquote::before {
	color: var(--color_sub);
	font-size: 4rem;
	top: -20px;
	left: -9px;
}
blockquote::after {
	content: none;
}
blockquote p {
	margin-bottom: .5rem !important;
}
blockquote p + hr {
	border-width: 1px 0px 0px 0px;
	border-style: solid;
	color: #DDD;
	margin: 1rem;
}




/*--------------------------------
	ASSYボタンリンクbuttonlink
--------------------------------*/
.entry-content [id$="buttonlink"] {
	text-align: center;
}
.entry-content [id$="buttonlink"] a {
	display: block;
	background: linear-gradient(to bottom, #84CBE3, #0095C7);
	border: 1px solid #44B1D5;
	border-radius: 4px;
	box-shadow: var(--color_shadow);
	color: #FFF;
	font-size: 0.85rem;
	padding: 8px;
	text-align: center;
	text-decoration: none;
	bottom: 8px;
	left: 0;
	right: 0;
	margin: 0 auto;
	min-height: 2rem;
	width: 90%;
}


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

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

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