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

/* =================================
 * アイキャッチ画像
 * ================================= */
.widget-entry-cards.card-large-image figure img,
.card-thumb img{
    border: 1px solid #ddd;
}

/* =================================
 * 見出しカスタマイズ
 * ================================= */
.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: bold;
	text-align: left;
	margin: 1em 0;
	padding: 0.5em 0;
	color: #2277cb;
	border-bottom: 2px solid #78a2cc;
}
.archive-title span{
	/*アーカイブ記号非表示*/
	display: none;
}

/* H2 */
.article h2 {
    position: relative;
    font-size: 1.6em;
    font-weight: bold;
    text-align: left;
	margin: 3em 0 0.5em;
    padding: 0.3em 0 0.3em;
    background: transparent;
    border-left: none;
    color: #333;
}

/* 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 0.5em;
    padding: 13px 0 10px;
    color: #444;
    font-weight: 500;
    border-bottom: 2px solid #f4f5f7;
}

/* =================================
 * ヘッダー
 * ================================= */
.tagline {
    display: none;
}


/* =================================
 * グローバルメニュー
 * ================================= */
.navi-in .menu-header .item-label{
font-size: 16px;
}

/* =================================
 * サイドバー
 * ================================= */
.cta-box { /*CTA*/
    background-color: #f7f5f5;
    color: #333;
}
.sidebar .cta-button .btn-l {
	background-color: #2277cb;
	color: #fff;
}

.sidebar h3{ /*サイドバータイトル*/
	padding: 0 4px 0;
	color: #2277cb;
   	background-color: #fff;
	border-bottom: 2px solid #78a2cc;
}

/*スライドインメニューを右から*/
.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;
}

/* =================================
 * 送信ボタン
 * ================================= */
input[type='submit'] {
    -webkit-appearance: none;
    border: 1px solid #f7941d;
    background-color: #f7941d;
    border-radius: 4px;
    margin: 0 1em;
    color: #fff;
    font-weight: bold;
	font-size: 1em;
    width: 145px;
}
/* =================================
 * ダウンロード
 * ================================= */
.wp-block-file:not(.wp-element-button) {
    font-size: 1em;
}
/* =================================
 * 表
 * ================================= */
figure.wp-block-table table {
    width: 100%;
}
/* =================================
 * 折り畳みアーカイブウィジェット
 * ================================= */
.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;
}

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

/* 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:  #d3475c;
	 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,#2277cb) !important;
  color: #fff !important;
  border: none !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,#649BD5) !important;
}

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

/* =================================
 * カバーブロック横幅いっぱい
 * ================================= */
.full {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	padding-right: calc(50vw - 50%);
	padding-left: calc(50vw - 50%);
	width: auto;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
    .entry-content {
        margin-top: 3em;
	}
	
	.article h1,
	.archive-title {
		font-size: 1.6em;
	}
	.article h2{
		font-size: 1.3em;
	}
}

/*639px以下*/
@media screen and (max-width: 834px){
	/* =================================
	 *  お問い合わせフォームの見出し
	 *  ================================= */
	.smf-form--business .smf-item__col--label {
    	max-width: 100%;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
	/* ボックスメニュー */
	.wwa .box-menu {
    	width: calc(100%/2);
	}
}
