@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/


/************************************
** ■ブログカード/関連記事/次の記事/前の記事 ホバー時に浮かすカスタマイズ
************************************/
.a-wrap:hover {
background-color: #Ffffff;
transform: translateY(-2px);
box-shadow: 2px 2px 6px 0 #222222;
}


/* 固定ページだけタイトルを非表示 */
.page .entry-title {
  display: none;
}

/* 固定ページだけ投稿日・更新日を非表示 */
.page .post-meta,
.page .date,
.page .date-tags {
  display: none;
}

/*カラム背景色*/
.header-container,
.main,
.sidebar,
.footer {
background-color: #f8f8f8;
}

/* ▼ ロゴサイズを小さくする（幅と高さを指定） */
.site-name img {
	width: 300px;
	height :auto;
}

/* ナビ項目の間に縦線を表示 */
.navi a {
  border-right: 1px solid #ccc;
  padding: 0 12px;
}

/* グローバルナビの最初の項目の左側に線を入れる */
#navi .navi-in li:first-child a {
  border-left: 1px solid #ccc; /* 薄いグレーの縦線 */
  padding-left: 12px; /* 線と文字の余白 */
}

/*マウスオーバー時のメニューの色を変更*/
#navi .navi-in a:hover{
	color: #6b7280!important;
	background: #ffe082;
	transition: all 0.5s ease;
}

/*見出し*/
/* H2：斜めストライプ下線（背景 #f8f8f8 対応・細め） */
h2 {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  padding-bottom: 8px;
  margin: 40px 0 20px;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 20px);  /* ←幅を少し縮めて余白を作る */
  margin-left: 10px;         /* ←中央寄せ（任意） */
  height: 4px;               /* ←細く */
  background-image: repeating-linear-gradient(
    135deg,
    #ffe082,
    #ffe082 4px,
    #f8f8f8 4px,
    #f8f8f8 8px
  );
}

/* スマホサイズでの微調整 */
@media screen and (max-width: 600px) {
  h2 {
    font-size: 20px;
    margin: 30px 0 15px;
  }

  h2::after {
    width: calc(100% - 30px);
    margin-left: 15px;
    height: 3px;
  }
}


/* H3：下線太め＆カラー変更 */
.article h3 {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 3px solid #AED9E0;
  padding-bottom: 6px;
  margin: 30px 0 15px;
  color: #333;
}

/* H4：左にカギかっこ風の装飾 */
.article h4 {
  font-size: 18px;
  font-weight: normal;
  color: #333;
  position: relative;
  padding-left: 18px;
  margin: 25px 0 10px;
}

.article h4::before {
  content: "「";
  color: #AED9E0; /* やさしいブルー */
  font-size: 24px;
  position: absolute;
  left: 0;
  top: 0;
}

/*コンタクトフォーム送信ボタンカスタム*/

input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 20px;
  font-weight: bold;
  width: 200px;
  padding: 10px;
  border-radius: 10px;
  background-color: #233b6c;
  border: none;
  color: #fff;
  cursor: pointer;
}
span.wpcf7-spinner {
  display: none;
	}


	/* 開閉ボックスを左寄せに */
.toggle-box {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

/* 開閉ボタン（見出し部分）も左寄せ */
.toggle-button {
  text-align: left !important;
  justify-content: flex-start !important;
}

/* 中身（開いた部分）のテキストも左寄せ */
.toggle-content {
  text-align: left !important;
  padding-left: 0 !important;
}

/* アコーディオンの「＋」を「Q」に変更 */
.toggle-button::before {
  content: "Q";
  font-weight: bold;
  font-size: 1.2em;
  color: #233b6c; /* お好きな色に変更可能 */
  margin-right: 0.5em;
}


/* アコーディオンの色変更 */
/* アコーディオン全体 */
.toggle-box {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
  border: none !important;
}

/* タイトル（Q部分） */
.toggle-button {
  display: flex;
  align-items: center;
  font-weight: bold;
  padding: 1em;
  color: #333;
  font-size: 16px;
  border-bottom: 1px solid #eee;
  background-color: transparent;
}

/* Qマーク */
.toggle-button::before {
  content: "Q";
  font-weight: bold;
  color: #2589d0;
  margin-right: 0.5em;
  font-size: 18px;
}

/* 開いた時の中身（A部分） */
.toggle-content {
  padding: 1em;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Aマーク */
.toggle-content::before {
  content: "A";
  font-weight: bold;
  color: #e74c3c;
  display: inline-block;
  margin-right: 0.5em;
}

/* サイトマップ */
.footer-sitemap {
  font-family: sans-serif;
  background: #fff;
  padding: 0; /* ← ここを0にして余白をリセット */
  margin: 0;  /* ← これも追加して確実に詰める */
  max-width: 250px;
}

.footer-sitemap h2 {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #ccc;
  padding: 0 0 8px 0;
  margin: 0 0 10px 0; /* ← 上側の余白をなくす */
}

.footer-sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-sitemap li {
  margin-bottom: 6px;
}

.footer-sitemap a {
  text-decoration: none;
  color: #444;
  font-size: 13px;
  padding-left: 12px;
  position: relative;
  display: inline-block;
}

.footer-sitemap a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: #999;
  font-size: 13px;
}

/*サポート実績 */
/* ▼ サポート実績カードのカスタマイズ ▼ */
.support-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.support-card {
  width: 32%;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.support-card img {
  width: 100%;
  height: auto;
  display: block;
}

.support-card:hover {
  transform: translateY(-4px);
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .support-card {
    width: 100%;
  }

/*************一分でわかる/************
/* ==== セクション全体をフル幅にする ==== */
#tanpopo-summary {
  width: 100vw;
  margin: 0;
  padding: 40px 0;
  background-color: #f9f9f9;
  box-sizing: border-box;
  overflow-x: hidden; /* 横スクロール防止 */
}

/* ==== タイトルの中央寄せ ==== */
#tanpopo-summary h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
}

/* ==== カードグリッド ==== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.card {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* ==== モバイル対応 ==== */
@media screen and (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }



