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

/* =================================
 * 見出しカスタマイズ
 * ================================= */
.article h2, .article h3, .article h4, .article h5, .article h6{
	padding: 0;
	margin: 0;
	font-size: medium;
	border-collapse: separate;
	border-spacing: 0;
	border: none;
	line-height: none;
	position:relative;
}

/* H1 */
.article h1,
.archive-title{
	position: relative;
	font-size: 2.2em;
	font-weight: normal;
	text-align: center;
	margin: 1em 0;
	padding: 0;
	color: #333;
}
.archive-title span{
	/*アーカイブ記号非表示*/
	display: none;
}
/* H2 */
.article h2 {
	position: relative;
    font-size: 1.8em;
	font-weight: bold;
    text-align: left;
    margin: 3em 0 1em;
    padding: 0.3em 0 0.8em;
    background: transparent;
    border-left: none;
    color: #333;
}
.article h2:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  content: '';
  border-radius: 3px;
  background-image: -webkit-gradient(linear, right top, left top, from(#ecf6fb), to(#4791dd));
  background-image: -webkit-linear-gradient(right, #ecf6fb 0%, #4791dd 100%);
  background-image: linear-gradient(to left, #ecf6fb 0%, #4791dd 100%);
}


/* H3 */
.article h3{
    font-size: 1.3em;
    border: none;
	margin: 0.5em 0;
    padding: 0.5em 0;
}

/* H4 */
.article h4,
.article h5,
.article h6{
	font-size: 1.2em;
    border: none;
    margin: 1em 0;
    padding: 13px 0 5px;
    color: #444;
    border-bottom: 2px solid #efebe1;
}

/* =================================
 * ヘッダー
 * ================================= */
.header-container-in.hlt-top-menu .header {
    margin: 1em 0;
}
/*
#header-container .navi {
    border-bottom: 1px solid #ddd;
}
*/
.header-container-in.hlt-top-menu .logo-header img {
    max-height: 47px;
}

/* =================================
 * ヘッダー領域追加コンテンツ
 * ================================= */
.add-header-contents{
    position: relative;
    bottom: 62px;
    left: 804px;
	width: 220px;/*追加コンテンツ全体の幅*/
}
.search-box{
	margin: 0;
	width: 160px;
}
@media screen and (max-width: 768px){
	.add-header-contents{
		display:none;
	}
	.search-box{
		width: auto;
	}
}

/* =================================
 * グローバルメニュー
 * ================================= */
.navi-in .menu-header .item-label{
	font-size: 14px;
	font-weight: bold;
}
/* ---------------------------------
 * サブメニュー
 * --------------------------------- */
#navi .navi-in>.menu-header .sub-menu {
	/*通常背景*/
    background-color: #fff;
	border: 1px solid #fff;
}
.sub-menu .caption-wrap{
	/*通常文字色*/
	color:#333;
}
.sub-menu .caption-wrap:hover{
	/*マウスオーバー文字色*/
	color:#333;
}

/*スライドインメニューを右から*/
.navi-menu-content{
	left: auto;
	right: 0;
	transform: translateX(101%);
}

/* =================================
 * サイドバー
 * ================================= */
.sidebar h3{
	padding: 0 4px 0;
	color: #333;
   	background-color: #fff;
	border-bottom: 2px solid #5880c9;
}

/*スライドインメニューを右から*/
.navi-menu-content{
	left: auto;
	right: 0;
	transform: translateX(101%);
}

/* =================================
 * 投稿
 * ================================= */
.pager-post-navi.post-navi-square .card-thumb img {
	/*ページ送りナビのサムネイル*/
    width: 100%;
    height: 70px;
    object-fit: cover;
}
.prev-post-title:before,
.next-post-title:before {
    color: #999999; /* 文字色 */
    font-size: 12px; /* 文字サイズ */
    margin-bottom: 0.3em;
    display: block;
}
.next-post-title:before {
    content: '次のページ';
}
.prev-post-title:before {
    content: '前のページ';
}

.no-thumbnail .entry-card-meta .entry-card-categorys {
    display: none;
}

/*更新日*/
.post-date, .post-update{
	font-size: 0.9em; /*フォントサイズ*/
	padding-right: 4px; /*右余白*/
	display: inline; /*横並びで縦中央揃え*/
}
.no-thumbnail .entry-card-meta{
	float: left;
}

/* =================================
 * ダウンロード
 * ================================= */
.wp-block-file:not(.wp-element-button) {
    font-size: 1em;
}
/* =================================
 * 表
 * ================================= */
figure.wp-block-table table {
    width: 100%;
}

/* 列方向の縞模様 */
table tr:nth-child(even),
table tr:nth-child(odd) {
    background-color: #fafbfc !important;
}
table tr td:nth-child(even),
table tr th:nth-child(even) {
    background-color: #fff !important;
}

/* =================================
 * ボックスメニュー
 * ================================= */
.wwa .box-menu {
    width: calc(100%/6);
}
.box-menu:first-child {
    margin-left: auto;
}
.box-menu-icon{
	color: #3ca51d;
}
.box-menu-label{
    font-size: 0.8em;
    color: #333;
    margin-top: 0.5em;
    font-weight: 500;
}
.box-menu {
    box-shadow: inset 1px 1px 0 0 #cfcfcf, 1px 1px 0 0 #cfcfcf, 1px 0 0 0 #cfcfcf;
}
.box-menu:hover{
	box-shadow: inset 2px 2px 0 0 #3ca51d, 2px 2px 0 0 #3ca51d, 2px 0 0 0 #3ca51d, 0 2px 0 0 #3ca51d;
}
/* =================================
 * カバーブロック横幅いっぱい
 * ================================= */
.full {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	padding-right: calc(50vw - 50%);
	padding-left: calc(50vw - 50%);
	width: auto;
}

/* =================================
 *パンくずリストのアイコン非表示
 * ================================= */
/*.breadcrumb .fa-home,*/
.breadcrumb .fa-folder,
.breadcrumb .fa-file {
	display: none; /*非表示*/
} 

/* =================================
 * 折り畳みアーカイブウィジェット
 * ================================= */
.widget_archive a.year{ /*各年*/
	cursor: pointer;
	border-bottom: 1px dotted #ccc; /*各年に下線を引く*/
}
.widget_archive a.year::after{ /*各年横のアイコン*/
	font-family: "Font Awesome 5 Free";
	content: '\f107'; /* アイコンの指定 */
	position: relative; /* 相対配置 */
	left: 5px; /* アイコンの位置 */
	font-weight: bold;
}
.widget_archive .years ul { /*各月*/
	display: flex;
	flex-flow: row wrap;
	margin-left: 5px; /*インデント*/
	font-size: 1rem;
	text-decoration: underline; /*各月に下線を引く*/
}
.widget_archive ul.years li {
	padding: 0 1px; /*各月の間隔*/
}
#sidebar .widget_archive ul.years li :hover { /*マウスホバー時*/
	background: none;
	transition: 0.1s;
}
.widget_archive ul.years .hide { /*各年をクリックすると開閉*/
	margin: 0;
	height: 0;
	opacity: 0;
	visibility: hidden;
}


/* =================================
 * FAQ
 * ================================= */
.is-style-accordion .faq-question {
    background-color: #eaebed;
}
/* =================================
 * ギャラリーのキャプション
 * ================================= */
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    display: none;
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: linear-gradient(0deg, #000000b3, #0000004d 70%, #0000);
    bottom: 0;
    box-sizing: border-box;
    color: #fff;
    font-size: 13px;
    left: 0;
    margin-bottom: 0;
    max-height: 60%;
    overflow: auto;
    padding: 0 8px 8px;
    position: absolute;
    scrollbar-color: #0000 #0000;
    scrollbar-gutter: stable both-edges;
    scrollbar-width: thin;
    text-align: center;
    width: 100%;
    will-change: transform;
}

/* =================================
 * お問い合わせフォーム
 * ================================= */

/* Snow Monkey Formsに必須マークをつける */
.smf-item__label__text {
	position: relative;
}
.required .smf-item__label__text::after {
	 position: absolute;
	 content: '必須';
	 color:  #fff;
	 width:  40px;
	 height: 22px;
	 top: 50%;
	 transform: translateY(-50%);
	 right: -50px;
	 display: grid;
	 place-items: center;
	 background:  #cf4778;
	 border-radius: 4px;
	 font-size: 12px;
}

.smf-form--simple-table .smf-item__col--label {
       flex: 0 0 18em;
       max-width: 18em;
       padding-bottom: 0;
       padding-right: var(--_padding1);
    }

/*businessスタイル*/
.smf-form--business .smf-item__col--label {
	border-bottom: none;
	border-right: 1px solid #ddd;
	flex: 0 0 18em;
	max-width: 18em;
}

/* フォームボタンをデザイン */
.smf-button-control__control {
  background: var(--accent-color,#fff) !important;
  color: #333 !important;
  border: 2px solid #333 !important;
  transition: background-color 0.3s ease !important;
}

/* 「戻る」フォームボタンを個別にデザイン */
.smf-button-control__control[data-action="back"] {
  background: transparent !important;
  color: #333 !important;
  text-decoration: underline !important;
}

/* 「戻る」以外のフォームボタンのホバー＆フォーカス色 */
.smf-button-control__control:not([data-action="back"]):hover,
.smf-button-control__control:not([data-action="back"]):focus {
  background: var(--dark-accent-color,#fff) !important;
}

/* ハイフンなしで入力！を削除 */
#autozip {
   display: none !important;
}

/* =================================
 * YouTube
 * ================================= */
.video-container{
    max-width: 100%;
}

/* =================================
 * CTA
 * ================================= */
.cta-box, .footer-mobile .cta-button {
    background-color: #ebf5fb;
    max-width: 500px;
    margin: auto;
}
.btn-blue, .ranking-item-detail a, .btn-wrap.btn-wrap-blue > a {
    background-color: #4791dd;/* 青色 */
}

/* =================================
 * フッター
 * ================================= */
.content-bottom{
	text-align: center;
}
aside > img {
	width: 200px;
	margin: 50px auto auto;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
	/* ボックスメニュー */
	.wwa .box-menu {
    	width: calc(100%/4);
	}
}

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

}

/*480px以下*/
@media screen and (max-width: 480px){
	/* H1 */
.article h1,
.archive-title{
	font-size: 2.2em;
}
/* H2 */
.article h2 {
    font-size: 1.5em!important;
}

	
		/* ボックスメニュー */
	.wwa .box-menu {
    	width: calc(100%/2);
	}
}
