@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: 1.8em;
	font-weight: normal;
	text-align: center;
	margin: 1em 0;
	padding: 0;
	color: #68584b;
}
.archive-title span{
	/*アーカイブ記号非表示*/
	display: none;
}
h1:before{
    content: url(https://www.chiba-ped.com/wp-content/uploads/2025/05/h3.jpg); 
    display: block;
    margin-bottom: 5px;
}
/* H2 */
.article h2 {
    position: relative;
    font-size: 1.8em;
    font-weight: bold;
    text-align: left;
    margin: 2em 0 1em;
    padding: 0.3em 0 0.5em;
    background: transparent;
    border-left: none;
    border-bottom: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

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

}

/* H4 */
.article h4,
.article h5,
.article h6{
	font-size: 1em;
    border: none;
    margin: 1em 0 0.5em;
    padding: 13px 0 10px;
    color: #68584b;
    border-bottom: 2px solid #f4f5f7;
}

/* =================================
 * ヘッダー
 * ================================= */
.header-container-in.hlt-top-menu .header {
    margin: 1em 0;
}
.header-container-in.hlt-top-menu .logo-header img {
    max-height: 55px;
    height: auto;
    vertical-align: middle;
}

/* =================================
 * フッター
 * ================================= */
.footer-bottom {
    margin-top: 0px;
    margin-bottom: 5px;
    padding: 5px;
    position: relative;
    font-size: 12px;
}

/* =================================
 * グローバルメニュー
 * ================================= */
.navi-in .menu-header .item-label{
	font-size: 16px;
}
#navi .navi-in>ul>li>a {
    padding: 0 0.8em;
}

/* ヘッダーモバイルボタン */
.search-menu-button.menu-button,
.navi-menu-button.menu-button{
	background-color: #fbc200;
	color: #fff;
}
.navi-menu-content{ /* スライドインメニューを右から出す */
	left: auto;
	right: 0;
	background-color: #fbc200;
	color: #fff;
	transform: translateX(101%);
}
.menu-drawer a { /* スライドインメニュー */
    color: #fff;
    text-decoration: none;
    padding: 10px;
    display: block;
}
.mobile-menu-buttons .menu-button > a { /* フッターモバイルボタン */
    display: block;
    color: #fff;
    text-decoration: none;
}

/* =================================
 * サイドバー
 * ================================= */
/* CTA */
.cta-box,
.footer-mobile .cta-button{
    background-color: #f4f5f7;
    color: #333;
}
.sidebar .cta-button .btn-l,
.footer-mobile .cta-button .btn-l{
	background-color: #1e50a2;
	color: #fff;
}

.sidebar h3 {
    padding: 0 4px 0;
    color: #68584b;
    background-color: #fff;
    border-bottom: 2px solid #f7c7c8;
}

/* =================================
 * 投稿
 * ================================= */
.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%;
}
/* =================================
 * ボックスメニュー
 * ================================= */
.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;
}

/* =================================
 * ギャラリーのキャプション
 * ================================= */
.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,#5a4f85) !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,#8A83A9) !important;
}

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

/* =================================
 * YouTube
 * ================================= */
.video-container{
    margin: 0 auto;
    align-items: center;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*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){
	/* ボックスメニュー */
	.wwa .box-menu {
    	width: calc(100%/2);
	}
}
