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

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


/************************/
/* 固定ページの不要情報を非表示 */
/************************/
.page .date-tags, /*投稿日・更新日*/
.page .author-info /*投稿者情報*/
{
display: none;
}

/*固定ページ（トップページカスタマイズ）*/
/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{ display: none; }


/************************/
/* 白抜きボックスのカスタマイズ */
/************************/
.blank-box, .is-style-blank-box-red, .is-style-blank-box-navy, .is-style-blank-box-blue, .is-style-blank-box-yellow, .is-style-blank-box-green, .is-style-blank-box-pink, .is-style-blank-box-orange, .is-style-sticky-gray, .is-style-sticky-yellow, .is-style-sticky-red, .is-style-sticky-blue, .is-style-sticky-green{
	border:2px solid #949495;
	padding: 1.2em 1em;

}

/************************/
/* リストULのカスタマイズ */
/************************/
.article ul{
	margin-bottom:3em;
}





/************************************
** ●キャッチフレーズ位置サイズ調整
************************************/
.tagline {
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	background-color: #0051a8;
  margin-bottom: 8px; /*キャッチフレーズ下マージン*/
  text-align: center; /* 文字中央 */
  color: #ffffff;
  font-size: 8px;
}

/************************************
** ●ヘッダーロゴ部分調整
************************************/

/*ヘッダーロゴ左寄せ */
 .logo-image {
     padding:0px;
     margin-top:0em;
     margin-bottom:1em;
     max-height:60px;
     margin-left:0px;
 }
 .logo {
     text-align: left;
 }
 .logo-header img {
     box-shadow: none!important;
 }

/*ヘッダーの右側にCTA画像を配置*/
#header-in{
	position: relative;
}
.add-header-cta {
	position: absolute;
	width: 220px;
	height: 65px;
	margin: 0;
	padding: 0;
	margin-left:75%;
	top: 31%;
}



/************************************
** ●フッターロゴ部分調整
************************************/
/*フッターロゴサイズ*/
/*
.footer-bottom-logo .logo-image {
	padding: 0;
	margin-left: 50px;
	margin-bottom: 30px;
}
.footer-bottom-logo img {
	height: 80px;
	width: auto;
}
*/


/*フッター左　社名サイズ*/

#footer dl#footerOutline dt{
	color:#d2d2d3;
	margin-bottom:8px;
	line-height: 150%;
	font-weight: bold;
}

/*フッター左　住所・電話サイズ*/
#footer dl#footerOutline dd{
	color:#d2d2d3;
	font-size:85%;
	line-height: 150%;
}

/*フッターとコンテンツの余白調整*/
.footer {
	margin-top: 5px;
	padding-top: 5px;
}

.footer-bottom{
	margin-top:5px;
	padding:10px;
	position:relative;
}

.footer-left, .footer-center, .footer-right{
	height:120px;
}

.footer-left{
	width:66.6%;
}





/************************************
** ●グローバルナビのカスタマイズ
************************************/

/*グローバルナビメニュー フォントサイズと位置調整*/
#navi .navi-in > .menu-header .item-label{
	font-size: 14px;
	font-weight:;
	position:relative;
	top:8px;
}

/*グローバルナビメニュー 英語の位置を下に調整*/
.item-description.sub-caption{
	position:relative;
	top:5px;
}

/*グローバルナビメニュー 区切り線*/
#navi .navi-in > ul > li{
  border-left: 1px solid #ffffff;
}
#navi .navi-in > ul > li:last-child{
  border-right: 1px solid #ffffff;
}
.navi-in > ul > .menu-item-has-children > a::after{ 
  right: 10px; 
}

/*グローバルナビメニュー 下線*/
nav#navi, .menu-header .sub-menu{
	border-bottom:2px solid;
	border-bottom-color:#0051a8;
}

/*グローバルナビメニュー グラデーション*/
.navi {
	background: #d9e5f1;
	background-image: linear-gradient(-180deg, rgba(255,255,255,0.50) 0%, rgba(0,0,0,0.50) 100%);
	background-blend-mode: lighten;
}

/*グローバルナビメニュー マウスオーバーで左からアンダーライン*/
#navi .navi-in a:after{
position: absolute;/*線の位置を絶対配置に*/
content: "";/*文字はなし*/
left: 0px;/*線の位置*/
bottom: 1px;/*線の位置*/
height: 3px;/*線の高さ*/
width: 100%;/*幅いっぱいに線を引く*/
background: #1b68ae;/*線の色*/
transform: scale(0,1);/*マウスオーバーの前は線を消す*/
transition: 0.3s;/*線が0→100%になるまでの秒数*/
transform-origin: left;/*線を左側から出す*/
}

#navi .navi-in a:hover:after{
transform: scale(1);/*マウスオーバー後、線を100%出す*/
}

/*選択中のカテゴリーにアンダーライン*/
.current-menu-item:not(:first-child):after{
position: absolute;/*線の位置を絶対配置に*/
content: "";/*文字はなし*/
left: 0px;/*線の位置*/
bottom: 1px;/*線の位置*/
height: 3.5px;/*線の高さ*/
width: 100%;/*幅いっぱいに線を引く*/
background: #1b68ae;/*線の色*/
}



/************************************
** ●モバイルヘッダーボタンのカスタマイズ
************************************/
/*ヘッダーの色と高さ、アイコンの位置を調整*/
.home-menu-button.menu-button,
.navi-menu-button.menu-button{

	height: 55px;
	padding-top: 8px;
}

.logo-menu-button.menu-button{
	height: 55px;
}

/*768px以下でロゴの大きさ変更*/
@media screen and (max-width: 768px){
img.site-logo-image{
	width: 235px;
	margin: 6px auto 0;
}
}






/************************************
** ●アピールエリア
************************************/


.appeal-content {
display: none;
}
#appeal-in {
	background-image: url("https://sr-yoshida.com/wp-content/uploads/2023/03/main_image_04.png");
	background-repeat: no-repeat;
	background-position:center;
	background-color: #ffffff;
	padding:11px;
	margin-top:20px;
	box-shadow: 0 3px 18px -4px rgba(0,0,0,0.8);
}

@media screen and (max-width: 900px) {
#appeal-in {
	background-size:contain;
	min-height:100px;
	margin-top: 0px;
}
}

/************************************
** ●記事本文カスタマイズ
************************************/
/* 記事本文内の段落間マージン調整 */
.content p {
	margin-bottom: 1.0em;
}

.content ul{
	margin-bottom: 1.0em;
}


/************************************
** ●記事下ページ送りナビ　カスタマイズ
************************************/

#pager-post-navi{
	position:relative;
}
.next-post{
	position: absolute;
	right: 0;
}

.pager-post-navi.post-navi-square a {
	width:120px;
}

.prev-post-title, .next-post-title{
	display:none;
}

.fa-chevron-left::after{
	content: "前へ";
	padding-left: 20px;
	color: #949495;
}
.next-post::after{
	content: "次へ";
	font-size: 1.8em;
	color: #949495;
	margin-right:10px;
}


/************************************
** ●見出しカスタマイズ
************************************/
/* 見出しのデザインリセット */
/*H2 */
.entry-content h2{
	height:60px;
	line-height:45px;
border:none;
background:none;
padding: 0;
}
/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}
/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}

/* 見出しのデザイン設定 */

/* H1 */
.page .entry-title{
	height:auto;
	background-color: #f4f4f4;
	font-size:24px;
	text-shadow:0 2px #b0b0b0;
	font-weight:bolder;
	color: #364e96;/*文字色*/
	border-top: solid 2px #364e96;/*上線*/
	border-bottom: solid 2px #364e96;/*下線*/
	display: flex;
    align-items: center;
	padding-top:0.5em;
	padding-bottom:0.5em;
	padding-left:1em;
}

.article h1{
	color: #364e96;
	font-size: 20px;
}

/* H2 */
.entry-content h2{
	font-size:18px;
	padding: 0.4em 0.4em;/*文字の上下 左右の余白*/
	color: #494949;/*文字色*/
	text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
	background: #f4f4f4;/*背景色*/
	border-left: solid 5px #7db4e6;/*左線*/
	border-bottom: solid 3px #d7d7d7;/*下線*/
	margin: 1em auto 1em;
}
/* H3 */
.entry-content h3{
	font-size:20px;
  color: #364e96;/*文字色*/
  padding: 0.5em 0 0.5em 0.5em; /*上右下左の余白*/
  border-top: solid 1px #364e96; /*上線*/
  border-bottom: 1px solid #364e96; /*下線*/
	margin-top: 1.8em;
	margin-bottom: 0.5em;
}

/* H4 */
.entry-content h4{
	font-size:20px;
  color: #364e96;/*文字色*/
	padding: 0.2em 0 0.2em 0.5em; /*上右下左の余白*/
	margin-top: 1.0em;
	margin-bottom: 0.2em;
}


/************************************
** ●トップページ　主な相談内容　パネル化
************************************/
.wp-block-cocoon-blocks-column-left.column-left.top-service-left,
.wp-block-cocoon-blocks-column-center.column-center.top-service-center,
.wp-block-cocoon-blocks-column-right.column-right.top-service-right {
	height: 280px;
	padding:15px;
	background:#1e50a2;
}

p.top-service-title {
	text-align: center;
	font-size:1.4em;
	color:#ffffff;
	font-style:normal;
	font-weight:800;
	line-height:1.5;
	margin-bottom: 20px;
	
}

p.top-service-description {
	height:80px;
	text-align: left;
	font-size:1.0em;
	color:#ffffff;
	font-style:normal;
	font-weight:400;
	line-height:1.4;
}



/************************************
** ●就業規則等諸規程改定コンサルティング　ページ
************************************/
.wp-block-cocoon-blocks-column-left.column-left.flow04{
	display:flex;
	align-items: center;
}

.wp-block-cocoon-blocks-column-right.column-right.flow01,
.wp-block-cocoon-blocks-column-right.column-right.flow02,
.wp-block-cocoon-blocks-column-right.column-right.flow03{
	display:flex;
	align-items: center;
}

/************************************
** ●事務所概要　ページ
************************************/
.wp-block-table.is-style-regular{
	line-height:1.5em;
}
.wp-block-table td, .wp-block-table th{
	border: 1px #a9a9a9 solid;
}

table > tbody > tr:nth-child(7) > td:nth-child(2) > p:nth-child(1){
	margin-bottom: 0.5em;
}
table > tbody > tr:nth-child(7) > td:nth-child(2) > p:nth-child(2){
	margin-bottom: 0.8em;
}


/************************************
** ●投稿ページ
************************************/
.new-entry-card-date {
	display: flex;
	color:red;
}

.widget-entry-cards div.widget-entry-card-content{
	color:black;
	display: flex;
	flex-direction:column;
}

.new-entry-card-title.widget-entry-card-title.card-title{
	color: #333333;
	order: 2;
	font-size: 0.8em;
}
.new-entry-card-date.widget-entry-card-date{
	color: DD0000;
	order: 1;
	font-size: 1.2em;
}



/************************************
** ●ContactForm7カスタマイズ
************************************/
table.CF7_table{
	width:80%;
	margin:0 auto;
	border: 3px solid #e5e5e5;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #f79034;/*オレンジ*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	text-align:left;
	font-size:1.0em;
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	text-align:left;
	font-size:1.0em;
	}
}

/* 承諾確認 */
.CF7_acceptance{
	font-size:1.2em;
	font-weight:bold;
	text-align:center;
	padding:20px 0;
}



/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#318A95;/* 青緑*/
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
	width:50%;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}






/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	#header-in{
	position: relative;
	}
	.add-header-cta {
	display: none;
	}
	.tagline{
		min-height:14.4px;
		padding-top: 4px;

	}
	
	/*グローバルナビメニュー 下線を消す*/
nav#navi, .menu-header .sub-menu{
	border-bottom:0px solid;
	border-bottom-color:#0051a8;
}
	
	
	
}

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

	.entry-content h2 {
		line-height:1.2em;
		display: grid;
		place-items: center center;
	}
}

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