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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
figure img {
    border-radius: 16px;
}

span.cat-label {
    border-radius: 16px;
    padding: 0px 8px;
}
.entry-content.cf img {
    border-radius: 16px;
}
.cta-box.cta-left-and-right {
    border-radius: 16px;
}
.cta-thumb img {
    border-radius: 16px;
}
.cta-button a {
    border-radius: 24px;
}
a.btn {
    border-radius: 32px;
}
.category-page-content img {
    border-radius: 16px;
}
main#main {
    border-radius: 16px;
}
div#sidebar {
    border-radius: 16px;
}
.cta-box.cta-left-and-right {
    background-color: #f8f9fa;
}

.cta-box.cta-left-and-right {color: #343a40;}

/*記事本文*/
.article h3 {
  margin-top: 2.4em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  padding: 0
}

/*CF7*/
/* フォーム全体のスタイル */
.wpcf7-form {
  margin: 0 auto;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 16px;
}

/* 各ラベルと入力フィールドのスタイル */
.wpcf7-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
  background-color: #4361ee;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 99px;
  cursor: pointer;
  font-size: 16px;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #0056b3;
}
/* 画像キャプション */
figcaption{
    font-size: 0.8em;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  /* お問い合わせフォームの姓名欄を縦積みにする */
  .iroriformdiv .cflex {
    flex-direction: column;
  }
}
.category-content h2 {
    text-align: center;
    font-size: 30px;
    margin-top: 1.62em;
}
.column-wrap > div {
    background-color: #fff;
    display: block;
    width: 40%;
    height: 460px;
    margin: 0 auto;
    border-radius: 10px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 5px rgb(0 0 0 / 26%);
}
.column-wrap > div h3{

	text-align:center;
}
.column-wrap > div p span{

	text-align:center;
}
.column-wrap > div h3 {
    background-color: #4895ef;
    color: #fff;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 25px;
    margin: 0 auto 30px;
    width: 285px;
    font-weight: bold;
}
.column-wrap > div p {
    text-align: center;
}
.column-2-3-2-1 > div {
    background-color: #fff;
    display: block;
    width: 40%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 30px;
    box-shadow: unset;
}
.column-2-3-2-1 > div p {
    text-align:left;
}
.scrollable-table th, .scrollable-table td {
    text-align: center;
    font-size: 14px;
    width: 180px;
}
.scrollable-table tr td img {
    border-radius: 16px;
    width: 18px;
}
.scrollable-table thead tr th{
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #50535D;
	    font-size: 18px;
	color:#fff;

}
.scrollable-table th, .scrollable-table td {
    padding-top: 15px;
    padding-bottom: 15px;
}




/*新規レイアウトCSS*/
.site-name-text-link {
    padding: 0 1.5em;
}
.logo-image span, .logo-image a {
    max-width: unset;
}
.logo-header {
    transition: .3s;
    max-width: unset;
}

.headflex {
    background-image: url(https://service.cominka.co.jp/wp-content/uploads/Group-48.png);
    background-position: left;
    background-size: 100%;
    background-repeat: no-repeat;
}
.headlogodiv img{
    padding-top: 7px;
    width: 89px;
}
.article-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
div.toc-center {
	    background: #ecf2f4;
	    border-radius: 12px;
}
.toc-title {
    font-weight: 700;
}
.postdiv h2::before {
position: absolute;
    left: 0;
    display: inline-block;
    width: 5px;
    height: 100%;
    background: #F28242;
    top: 0;
    content: "";
}
.postdiv h2{
    position: relative;
	    padding: 5px 5px 5px 15px;
	margin-bottom:2em;
	    line-height: 1.8em;
}
.postdiv h3{
padding: 8px 10px 8px 10px;
    border: none;
    position: relative;
	    line-height: 1.8em;
    margin-top: 2.5em;
	background-color:#f3f3f3;
}
.postdiv img{
	    margin-top: 2.5em;
    margin-bottom: 2em;
}
.postdiv ul,.postdiv ol{
    padding-left: 15px;
}
.postdiv h2::after {
    position: absolute;
    bottom: -15px;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
    background: #cbd1d7;
    content: "";
}
.entry-card-meta, .related-entry-card-meta {
    left: 0;
	right:unset;
    font-size: 1.2em;
}
@media screen and (min-width:768px){

.headlogodiv img {
    max-width: 200px;
    width: 200px;
}
	.postdiv img {
    margin-top: 1.5em;
    margin-bottom: 5em;
}
	.site-name-text-link {
    padding: 0 3em;
}
}
.category main{width: 100%;}

/************************************
** Cookie同意バナーのスタイル
************************************/
#pi_tracking_opt_in_div {
  /* 元のレイアウトを尊重するため、position, displayの変更は避ける */
  /* top, left, widthなども元のスクリプトに任せる */
  background-color: #f7f7f7 !important;
  color: #333 !important;
  border-bottom: 1px solid #ddd !important;
  padding: 15px !important;
  z-index: 10000 !important; /* 他より手前に来るように */
}

/* ボタンのスタイル */
#pi_tracking_opt_in_div a {
  text-decoration: none !important;
  border-radius: 5px !important;
  padding: 8px 15px !important;
  font-size: 14px !important;
  font-weight: bold;
  transition: opacity 0.3s;
  margin: 0 5px !important;
}

#pi_tracking_opt_in_div a:hover {
  opacity: 0.8;
}

/* Yesボタン */
#pi_tracking_opt_in_yes {
  background-color: #d9534f !important;
  color: #fff !important;
  border: 1px solid #d9534f !important;
}

/* Noボタン */
#pi_tracking_opt_in_no {
  background-color: #555 !important;
  color: #fff !important;
  border: 1px solid #555 !important;
}

/* ハンバーガーメニューの全体的な調整 */
#humMenu nav {
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #f8f8f8; /* 背景色を追加してシンプルさを強調 */
    padding: 10px 0; /* 全体のパディングを調整 */
}

/* メインメニュー項目 */
#humMenu nav ul.inner li {
    padding: 10px 0; /* 上下のパディングを調整 */
    font-size: 16px; /* メインメニューのフォントサイズを少し大きく */
    border-bottom: 1px solid #eee; /* 区切り線を追加 */
}
#humMenu nav ul.inner li:last-child {
    border-bottom: none; /* 最後の項目には区切り線なし */
}

/* メインメニューリンク */
#humMenu nav ul.inner li a {
    padding: 10px 20px; /* 左右のパディングを調整 */
    line-height: 1.4; /* 行の高さを調整 */
    color: #333; /* テキスト色を調整 */
    display: block; /* タップ領域を広げる */
    text-decoration: none; /* 下線を削除 */
}
#humMenu nav ul.inner li a:hover {
    background-color: #e0e0e0; /* ホバー時の背景色 */
}

/* サブメニューの調整 */
#humMenu nav ul.inner ul.smenu {
    padding-left: 25px; /* インデントを調整 */
    margin-top: 5px;
    background-color: #f0f0f0; /* サブメニューの背景色を少し変える */
    border-top: 1px solid #eee; /* 上部に区切り線 */
    border-bottom: 1px solid #eee; /* 下部に区切り線 */
}

/* サブメニュー項目 */
#humMenu nav ul.inner ul.smenu li {
    padding: 8px 0; /* 上下のパディングを調整 */
    font-size: 14px; /* サブメニューのフォントサイズ */
    border-bottom: 1px dotted #ddd; /* 点線で区切り */
}
#humMenu nav ul.inner ul.smenu li:last-child {
    border-bottom: none;
}

/* サブメニューリンク */
#humMenu nav ul.inner ul.smenu li a {
    padding: 8px 20px; /* 左右のパディングを調整 */
    line-height: 1.3; /* 行の高さを調整 */
    color: #555; /* テキスト色を調整 */
    display: block;
    text-decoration: none;
}
#humMenu nav ul.inner ul.smenu li a:hover {
    background-color: #d0d0d0; /* ホバー時の背景色 */
}
