@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 {
  display: none;
}

.wp-block-cover-auto {
	 min-height: auto;
}


/* 全体サイズ---------------------------------------------- */
.content,
.content-in,
.main,
.entry-content {
  margin-top: 0px;
  padding-top: 0px;
}

.section-wrap {
	margin: 0 calc(50% - 50vw);
	padding: 0 calc(50vw - 50%);
	padding-top: 0px;
	padding-bottom: 0px;
}


/*ヘッダー検索*/
.search-menu-icon .menu-icon {
    padding-top: 0px;
}
.fa-search {
    color: #000;
}
#navi .fa-search-header {
    color: #FFF !important;;
}
#navi .fa-search-box {
    color: #222;
}

#navi .navi-in>ul>li:last-child {
    display: none;
}
.menu-drawer .search-menu-button-header {
    display: none;
}
@media screen and (min-width: 1024px) {
	#navi .navi-in>ul>li:last-child {
		display: block;	
	}	
}
.search-menu-button-header .fa-search:before {
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-color: #fff;
    -webkit-text-stroke-width: 0.7px;
}
#search-menu-open-header {
	padding: 0px 15px 0px 25px;
	margin-left: 5px;
	display: flex;
}
#search-menu-content-header,
#search-menu-content-header .search-box {
	max-width: 570px;
	margin-right: auto;
	margin-left: auto;
}
#search-menu-content-header .search-box {
    margin: 0;
}
.search-menu-content-header {
  transition: .3s ease-in-out;
  position: fixed;
  top: 40%;
  z-index: 99;
  width: 90%;
  left: 5%;
  right: 5%;
  -webkit-transform: translateY(900%);
  transform: translateY(900%);
  opacity: 0;
}
.search-menu-content-header .search-edit {
  width: 100%;
  max-width: 570px;
}
/*黒背景*/
#search-menu-close-header {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  transition: .3s ease-in-out;
}
#search-menu-input-header:checked ~ #search-menu-close-header {
  display: block;
  opacity: .5;
}
#search-menu-input-header:checked ~ #search-menu-content-header {
  transition: .3s ease-in-out;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  opacity: 1;  
}
#search-menu-content-header .search-edit {
  font-size: 16px;
}

/* ハンバーガーメニュー---------------------------------------------- */
.mobile-menu-buttons {
	background: #000000;
	color: #ffffff;
}
.navi-menu-close-button {
	color: #7e7e7e;
}

/*×閉じるアイコン*/
.menu-close-button {
	padding: 15px 0px 15px 25px;
	text-align: left;
	font-size: 1.3em;　/*閉じるアイコンサイズ*/

}

/* ヘッダーロゴ---------------------------------------------- */
.site-logo-image {
	width: 250px !important;
}
@media screen and (max-width: 960px){
.site-logo-image {
	width: 200px !important;
}
}
@media screen and (max-width: 600px){
.site-logo-image {
	width: 200px !important;
}
}


/* フローティングバナー */
.floating-banner {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 20;
}
.floating-banner a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  writing-mode: vertical-rl;
  color: #fff;
  background-color: #197A80;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.2em 0.7em;
  border-radius: 10px 0 0 10px;
  transition: opacity 0.25s;
}
.floating-banner a:hover {
  opacity: 0.7;
}
.floating-banner i::before {
  padding-bottom:3px;
}

@media screen and (max-width: 600px) {
  .floating-banner {
    display: none;
  }
}


/*ヘッダーメインメニュー---------------------------------------------- */
.item-label {
	font-size: 14px !important; /*文字サイズ*/
	font-weight: bold !important; /*文字太さ*/
}

/*メインメニュー*/
#navi .navi-in > ul li{
	height: 40px; /*高さ*/
	line-height: 40px; /*高さ*/
	margin: 15px 0px 15px 0px !important; /*上下余白*/
}
#navi .navi-in > ul li a {
	color: #ffffff ; /*文字色*/
}

/*サブメニュー*/
.sub-menu {
	padding-top: 20px !important; /*上余白*/
	background-color: rgba(0,0,0,0.8) !important; /*背景色・透過*/
}
.navi-in>ul .sub-menu li {
	margin: 5px 0px 5px 0px !important; /*余白*/
	padding: 0px 0px 0px 0px !important; /*余白*/
	height: 20px !important; /*高さ*/
}
.navi-in>ul .sub-menu li a {
	color: #ffffff !important; /*文字色*/
}

/*サブメニュー下階層*/
.navi-in>ul li .sub-menu-lowerlevel  {
padding: 0px 0px 0px 15px !important; /*左余白*/
}




#navi .navi-in a:hover{
	background: none;
}
#navi .navi-in a::after {
	position: absolute;
	left: 10%;
	content: '';
	width: 80% !important;
	height: 2px;
	background: #FFF;
	bottom: 1px;
	transform: scale(0, 1);
	transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
	transition: transform 0.3s;   /*変形の時間*/
}

#navi .navi-in a:hover::after {
transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}
#navi .navi-in > ul > li{
  border-left: none;
}
#navi .navi-in > ul > li:last-child{
  border-right: none;
}
.navi-in > ul > .menu-item-has-children > a::after{
  right: 10px;
}
#navi .navi-in>ul>li>a{
	padding: 0 0.7em;
}
.navi-in .has-icon .fa-angle-down {
  position: absolute;
  right: 6px;
  top: 0;
  display: flex;
  opacity: 0.7;
  font-size: 11px;
  height: 100%;
  align-items: center;
}
.fixed-header .navi-in > ul li:hover > ul {
display: block;
}

/* ヘッダー問合せボタン */
.header-contact a {
	padding: 0px 20px 0px 20px !important;
	margin: 0px 0px 0px 20px !important;
	background-color: #197A80 !important;
	color: #fff !important;
	font-weight: bold !important;
	text-decoration-line: none !important;
	border-radius: 3px !important;
}
.header-contact a:hover {
	opacity: 0.7 !important;
	transition: 0.5s;
}
#navi .header-contact a::after {
	height: 0px;
}


/* サイドバー */
#sidebar>.widget{

}
.sidebar {
padding-left:0px;
}

.sidebar h3 {
	font-size: 16px; /*文字サイズ*/
	color:#197a80; /*文字色*/
	background-color:transparent; /*背景色を透明*/
	border-bottom:2px solid #197a80; /*下線*/
	padding: 5px 0px 0px 5px; /*上下左右余白*/
	margin: 0px 0px 5px 0px; /*上下左右余白*/
}


.widget_search{
	padding:0 !important;
}


.widget-entry-card-title {
	margin: 0px 0px 0px 0px !important;
	padding: 0px 0px 0px 0px !important;
	font-size: 14px !important;
}

.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a {
	font-size: 14px !important;
	background-color:#fff !important;
	margin: 6px 0 !important;
	padding: 4px 10px !important;
	border-radius:5px !important;
	transition: 0.4s !important;
}
.widget_recent_entries ul li a:hover, .widget_categories ul li a:hover, .widget_archive ul li a:hover, .widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_rss ul li a:hover, .widget_nav_menu ul li a:hover{
	background-color:#197a80;/*マウスオーバー時の背景色変更はこちら*/
	color:#197a80!important;
}
.tagcloud a{
	background-color:#fff;
}
.tagcloud a:hover{
	background-color:#197a80;/*マウスオーバー時の背景色変更はこちら*/
	color:#197a80!important;
	transition: 0.4s ;
}
.nwa .recommended.rcs-card-margin a {
	margin: 0 0 1em;
	width: 90%;
}
.widget-entry-cards .widget-entry-card-content{
	color: #197a80;
}
.tagline {
	display: none !important;
}

.sidebar h3 {
	font-size: 16px; /*文字サイズ*/
	color:#197a80; /*文字色*/
	background-color:transparent; /*背景色を透明*/
	border-bottom:2px solid #197a80; /*下線*/
	padding: 5px 0px 0px 5px; /*上下左右余白*/
	margin: 0px 0px 10px 0px; /*上下左右余白*/
}
.widget-sidebar ul li a {
	font-size: 14px; /*文字サイズ*/
	padding: 2px 0px 2px 15px !important; /*上下左右余白*/
}
.widget-sidebar ul li a:hover {
	background-color: transparent; /*背景色を透明*/
	opacity: 0.6; /*透過*/
}


.sidebar-title-h3 {
	font-size: 16px; /*文字サイズ*/
	color:#197a80; /*文字色*/
	background-color:transparent; /*背景色を透明*/
	border-bottom:2px solid #197a80; /*下線*/
	padding: 5px 0px 0px 5px; /*上下左右余白*/
	margin: 0px 0px 10px 0px; /*上下左右余白*/
}
.article p {
	margin-bottom: 0px;
}

.info-list-item {
    padding: 14px 0;
    font-size: 14px;
    line-height: 1.6;
}
.info-list {
padding: 10px;
}
.wp-block-categories-list {
padding: 10px;
}
.cat-item {
    font-size: 14px;
    line-height: 1.6;
}

.wp-block-search__input  {
	background-color: #dceaeb; /*背景色*/
	border: none; /*枠線*/
}


input.search-edit {
	background-color: #dceaeb; /*背景色*/
	border: none; /*枠線*/
	padding: 10px; /*上下左右余白*/
	border-radius: 5px; /*角丸*/
}
input.search-edit::placeholder {
	color: #7d9394; /*枠内文字色*/
}
span.fa-search::before {
	color: #7d9394; /*虫眼鏡色*/
}

.article h2,
.article h3,
.article h6 { 
	padding: 0;
	margin: 0;
	font-size: medium;
	border-collapse: separate;
	border-spacing: 0;
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: none;
	line-height: normal;
	position:relative;
	background-color: transparent;
}
.article h2 {
	font-size: 22px; /*文字サイズ*/
	font-weight: bold; /*文字太さ*/
	color: #197a80; /*文字色*/
	position: relative; /*要素相対配置*/
	border-bottom: 4px solid #ccc; /*下線太さ・種類・色*/
	padding: 0px 0px 3px 0px; /*上下左右余白*/
}
.article h2::after {
	position: absolute; /*要素絶対配置*/
	bottom: -4px; /*左線位置*/
	left: 0; /*左線位置*/
	width: 30%; /*左線長さ*/
	border-bottom: 4px solid #197a80; /*左線太さ・種類・色*/
	content: '';
}
.article h3 {
    color: #000;/*文字色（黒）*/
    font-size: 18px;/*文字サイズ*/
    padding: 15px 10px;/*文字回りの余白（上下 左右）*/
    display: block;
    position: relative;
}
.article h3::before {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    left: 2.5%;
    border-radius: 50%;
    background: #ccddde;
    transform: translate(-50%, -50%);
    content: '';
    z-index: -1;
}



.article h6 {		
	font-size: 16px; /*文字サイズ*/
	font-weight: bold; /*文字太さ*/
	color: #197a80; /*文字色*/
	letter-spacing: 5px; /*文字間隔*/
	padding: 5px 0px 0px 7px; /*上下左右余白*/
	margin: 0px 0px 0px 0px; /*上下左右余白*/
	border-top: 3px solid #197a80; /*上線太さ・種類・色*/
	display: inline-block;
}


.btn-ad a {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 80%;
	height: 60px;
	color: #197a80;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.3s;
	border-width: 2px 2px 2px 2px;
	border-style: solid;
	border-color: #197a80;
	justify-content: center;
	margin: 0px auto;
	border-radius: 5px;
}

.btn-ad a:hover {
	color: #f2f2f2;
}

.btn-ad a::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 20px;
	transform: rotate(45deg) translateY(-50%);
	width: 6px;
	height: 6px;
	border-width: 2px 2px 0 0;
	border-style: solid;
	border-color: #197a80;
}

.btn-ad a:hover {
	background-color: #197a80;
	border: 1px solid #197a80;
}

.btn-ad a:hover::after {
	border-color: #197a80 #197a80 transparent transparent;
}

