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

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


/* -------------------------------------*/
/* None                                 */
/* -------------------------------------*/
.none {
	display:none;
}
.none-sp {display:inline-block !important;}
.none-pc {display:none !important;}
@media only screen and (max-width: 768px) {
	.none-sp {display:none !important;}
	.none-pc {display:inline-block !important;}
	br.none-pc {display:block !important;}
}

.blogcard-wrap {
	width: 100%;
}

/* -------------------------------------*/
/* フッター                             */
/* -------------------------------------*/
/* ロゴサイズ */
.footer-bottom-logo .logo-image {
	padding-bottom: 10px;
}
.footer-bottom-logo img {
	height: 60px;
	width: auto;
}

/* -------------------------------------*/
/* 固定ページのタイトル                 */
/* -------------------------------------*/
h1.entry-title {
	text-align: center;
	font-size: 2.0em;
	padding: 0.6em 0.8em;
}

/* -------------------------------------*/
/* ボタン                               */
/* -------------------------------------*/
.btn {
	display: inline-block !important;
	background-color: #054795 !important;
	color:#FFF !important;
	border-radius: 5px !important;
	border: none !important;
	text-decoration: none !important;
	margin: 5px !important;
	padding: .7em 2em !important;
/*	width: auto !important;*/
}

/* -------------------------------------*/
/* 共通タイトル                         */
/* -------------------------------------*/
.article h1, .article h2,.article h3,.article h4,.article h5,.article h6 {
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.article h2,.article h3,.article h4,.article h5,.article h6 {
	margin-bottom: 1.0em;
}
.article h2 {
	font-size: 2.0em;
}
.article h2 {
	font-size: 1.7em;
	background: none;
	border-bottom: solid 1px #000;
	margin-top:10px;
	margin-bottom: 1.0em;
}
.article h3 {
	font-size: 1.5em;
	padding: 5px;
    margin-bottom: 0.5em;
	color: #054795;
	border: none;
}
.article h4 {
	font-size: 1.5em;
	padding: 5px;
    margin-bottom: 0.5em;
	color: #054795;
	border-top: none;
	border-bottom: solid 1px #000;
}
.article h5 {
	font-size: 1.2em;
	padding: 5px;
    margin-bottom: 0.5em;
	color: #054795;
	border-top: none;
	border-bottom: solid 1px #000;
}
.article h6 {
	font-size: 1.2em;
	padding: 5px;
    margin-bottom: 0.5em;
	color: #054795;
	border-top: none;
	border-bottom: none;
}

/* -------------------------------------*/
/* テーブル                             */
/* -------------------------------------*/
.content table {
	width: 100% !important;
}
.content table th {
	width: 30% !important;
	text-align: center;
	padding: 10px;
	background-color: #f4fbff !important;
	font-weight: normal !important;
}
.content table th, .content table td {
	border: 1px solid #999999;
	padding: 10px;
}

/* -------------------------------------*/
/* フロントページ                       */
/* -------------------------------------*/
.home.page main.main{
	padding-top: 3px !important;
}

/* タイトルを非表示 */
.home.page .entry-title {
	display: none;
}
/* シェアボタンを非表示 */
.home.page .sns-share{
	display: none;
}
/* 投稿日・更新日・投稿者名を非表示 */
.home.page .post-date{
	display: none;
}
.home.page .post-update{
	display: none;
}
.home.page .author-info{
	display: none;
}

#appeal {
	height: calc(100vw * calc(480 / 1920));
}

/* 商品・サービス */
.body .wp-block-columns{
	margin-bottom: 1.8em;
}
.body .wp-block-column{
	margin-bottom: 1.4em;
}
.body .wp-block-image {
	margin-bottom: 0.8em;
}

/* ニュース                             */
/* -------------------------------------*/
.info {
	background: none !important;
}
.list-info {
	padding: 0 40px !important;
	margin: 0;
}
.list-info .list-info-date {
	color: #054795;
}
.list-info .list-info-cat {
	position: absolute;
	display: inline-block;
	width: 140px;
	font-size: 75%;
	font-weight: 550;
	background: #fff;
	color: #054795;
	border: solid 1.5px #054795;
	padding: 1px 10px;
	margin-left: 10px;
	text-align: center;
}
.list-info .list-info-cat a {
	color: #054795;
	text-decoration: none;
}
.list-info li {
	margin: 0;
	padding: 15px 0;
	overflow: hidden;
	border-bottom: solid 1px #bfbfbf;
}
.list-info .list-info-title {
	color: #000;
	text-decoration: none;
}
.list-info-history {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
}



/* -------------------------------------*/
/* 会社情報 沿革 / 顧問                 */
/* -------------------------------------*/
dl.history, dl.advisor {
	font-size:90%;
	line-height:1.5em;
}
dl.history dt, dl.advisor dt {
	clear: left;
	float: left;
	width:30%;
	height: 100%;
	min-width: 240px;
	padding: 10px 0;
	margin: 0px;
	color: #054795;
	font-weight: bold;
}
dl.history dd,  dl.advisor dd {
	border-bottom:1px dotted #78a04f !important;
	padding:15px 0 15px 0;
	margin: 0px;
}

/* -------------------------------------*/
/* よくあるご質問                       */
/* -------------------------------------*/
#faq-block .faq-list {
	width:100% !important;
	padding-left: 0 !important;
}

#faq-block .single-faq .faq-question {
	background: #eee url(../../images/faq_Q.png) no-repeat 10px center;
	border-bottom:solid 2px #8d8d8d;
	padding:25px 55px !important;
	font-weight:bold;
	font-size:1em;
}
#faq-block .single-faq .faq-answer{
	background: #fff url(../../images/faq_A.png) no-repeat 10px 12px;
	padding: 10px 5px 5px 43px;
}




/* -------------------------------------*/
/* お問い合わせ                         */
/* -------------------------------------*/
.smf-form--business .smf-item:not(:first-child) {
	border-top: 1px solid #ddd;
}
.smf-form--business .smf-item {
	border-collapse: collapse;
}

.smf-action .smf-button-control__control {
	color: #fff !important;
	background-color: #333631 !important;
	background-image: none !important;
	border-radius: 0px !important;
	box-shadow: none !important;
	cursor: pointer !important;
	display: inline-block !important;
	font-size: 1.125em !important;
	padding: calc(0.667em + 2px) calc(1.333em + 2px) !important;
	text-align: center !important;
	text-decoration: none !important;
	word-break: break-word !important;
	box-sizing: border-box !important;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){

}

/*834px以下*/
@media screen and (max-width: 834px){

}

/*480px以下*/
@media screen and (max-width: 480px){

	/* -------------------------------------*/
	/* 共通タイトル                         */
	/* -------------------------------------*/
	.article h1 {
		font-size: 1.6em;
	}
	.article h2 {
		font-size: 1.4em;
	}
	.article h3 {
		font-size: 22px;
		margin-bottom: 0.5em;
	}
	.article h6 {
		padding-top: 0.6em;
	}
	.article p {
		margin-bottom: 1.0em;
	}
	.home .is-layout-flex {
	  gap: 0;
	}
	.body .wp-block-image {
		margin-bottom: 0!important;
	}
	.body .wp-block-columns {
		margin-bottom: 2.5em;
	}
	.body .wp-block-column {
		margin-bottom: 0.8em;
	}
	
	/* -------------------------------------*/
	/* フロントページ                       */
	/* -------------------------------------*/
	#appeal {
		height: 60vw; 
	}
	.appeal {
		background-image: url( /wp-content/uploads/2024/01/appeal-sp.jpg );
	}

	/* ニュース */
	.list-info {
		padding: 0 !important;
		margin: 0;
	}
	.list-info dt {
		float: none;
		padding-top: 10px;
		padding-bottom: 10px;
		background: none;
	}
	.list-info li {
		padding-top: 0px;
		padding-bottom: 15px;
	}
	
	/* -------------------------------------*/
	/* 会社情報 沿革 / 顧問                 */
	/* -------------------------------------*/
	dl.history dt, dl.advisor dt {
		float: none;
		width: 100%;
		padding: 10px 0 0 0;
	}
	dl.history dd,  dl.advisor dd {
		padding: 5px 0 10px 0;
	}
	
	/* -------------------------------------*/
	/* よくあるご質問                       */
	/* -------------------------------------*/
	#faq-block .single-faq .faq-question {
		padding:18px 48px !important;
	}
}
