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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
#navi .navi-in > ul li{
	height: 40px;
	line-height: 40px;
}

.marker-under-a-yellow {
background: linear-gradient(transparent 60%, #ffff00 0%);
}

.marker-under-a-gold {
background: linear-gradient(transparent 60%, #ffd700 0%);
}

.x-marker-under-a-goldfull {
background: linear-gradient(transparent 0%, #ff7700 0%);
}

.marker-under-a-goldfull {
background: linear-gradient(transparent 1%, #ff7700 0%);
}

.marker-under-a-white {
background: linear-gradient(transparent 10%, #faf0e6 50%);
}


.navi-menu-caption {
    display: none;
}

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

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

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

body{
	font-family: 'Amatic SC', cursive;
	font-family: 'M PLUS 2', sans-serif;
}

/*スマホのサイドバーメニューを左から右に表示*/
/*.sidebar-menu-content {
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
  right: auto;
  left: 0;
} */






/************************************
** 202601 リニューアル
************************************/

/** 以前の カスタマイズ追加css をここに移動 **/
.mergin-create-under2px{
	margin-bottom: 2px; /* 下マージンを2pxに設定。非常に小さな間隔を空けたいときに使用 */
}
.margin-padding-create-pad{
	margin-bottom: -300px; /* 下方向に強制的に引き上げる（重なりやレイアウト調整） */
	padding-top: 300px; /* 上方向にスペースを確保。上の要素との余白調整に使う */
}
.paddingleft-create{
	padding-left: 30px; /* 左側に30pxの余白を設定。要素の内側の調整 */
}
.top-h3line{
  background-color: #fff7f0; /* 背景を薄いオレンジ系に設定（暖色で強調） */
	border-left: solid 5px #ff7700; /* 左線をオレンジ色で太めに設定。見出しや区切りに使用 */
}
.top-h4line{
	border-bottom: 1px solid #ff7700; /* 下にオレンジ色の境界線 */
	border-top: 1px solid #ff7700; /* 上にも同じくオレンジ色の境界線。上下で囲む装飾効果 */
}
.-article h4 {
    border-left: 7px solid #888; /* グレーの左境界線で見出し感を出す */
    border-right: 1px solid #ddd; /* 薄いグレーの右境界線（装飾・枠のように見せる） */
    border-top: 1px solid #ddd; /* 上の境界線で枠っぽく */
    border-bottom: 1px solid #ddd; /* 下の境界線で囲む感じに */
}
.-article h3 {
	border-bottom:#ff7700; /* 下線にオレンジ色（ただし値が不完全。border-bottom: 1px solid #ff7700; が適切） */
	border-top:#ff7700; /* 上線にオレンジ色（同上） */
}

.article h3{
	background-color:#f0f8ff; /* 背景に淡い青色（視認性を高める） */
	color:#191970; /* 文字色に濃い青（明瞭に見せる） */
	border-left:10px solid #191970; /* 左に濃青の太線（目印になる） */
	border-bottom:1px solid #191970; /* 下線を引いて区切る */
	border-top:1px solid #191970; /* 上線も追加して強調 */
	font-size: 24px; /* フォントサイズを24pxに設定（見出しらしさ） */
	padding:10px; /* 内側に余白を持たせ、読みやすくする */
}
.article h3 {
	color:#27364d;
	padding: 1em 1em;
	box-shadow: 4px -4px #004d87;
	outline: 2px solid #fff;
	border: 2px solid #004d87;
	position: relative;
}

.article h4{
	display:inline-block; /* 見出しをインラインブロックにして横幅を自然にする */
	background-color:#f0f8ff; /* 見出しの背景に淡い青を設定 */
	color:#191970; /* 濃い青色で文字を強調 */
	border-top:2px solid #191970; /* 上部に濃い青の線で装飾 */
	border-bottom:2px solid #191970; /* 下部も同様に装飾 */
	margin-top:20px; /* 上に余白を設けて前後と区切る */
	margin-bottom:5px; /* 下の余白はやや小さめに調整 */
}
.article h4{
	background-color:#3ab5e6;
	color:#ffffff;
	border-top:none;
	border-bottom:none;
	margin-bottom:10px;
	border-radius:5px;
	padding:10px 20px 10px 20px;
}

.article h5{
	border-bottom:2px solid #191970; /* 下線を太めに設定して小見出し感を出す */
	width: fit-content; /* コンテンツの幅に応じたサイズにする（必要以上に広がらない） */
}
.article h5{
	color:#004d87;
	border-bottom:2px solid #004d87;
}

.kakomi-yellow {
    padding: 0.5em 1em; /* 上下0.5em、左右1emの内側余白で囲み感を出す */
    margin: 2em 0; /* 上下に2emの外側余白を設定（目立たせる） */
    font-weight: bold; /* 文字を太字に */
    border: solid 3px #FC9; /* オレンジ系の囲み線で強調 */
    border-radius: 10px; /* 角を丸めて柔らかい印象に */
}
.kakomi-blue {
    padding: 0.5em 1em; /* 上記と同じ余白設定 */
    margin: 2em 0; /* 上下にスペースを確保 */
    font-weight: bold; /* 太字で目立たせる */
    border: solid 3px #99F; /* 青系の囲み線で情報系・補足感を出す */
    border-radius: 10px; /* 角丸で柔らかく見せる */
}
.h3uwagaki{
	border-left:10px solid #FF7700; /* オレンジの太線で目立たせる（強調されたH3） */
	border-bottom:1px solid #FF7700; /* 下に境界線 */
	border-top:1px solid #FF7700; /* 上にも境界線（囲む効果） */
	font-size: 24px; /* フォントサイズ指定で見出し感 */
	padding:10px; /* 内側余白を確保して読みやすく */
}
.font-amatic{
    font-family: 'Amatic SC'; /* GoogleフォントAmatic SCを指定 */
	font-family: 'Amatic SC', cursive; /* cursive系の代替フォントも指定 */
}
.page .entry-title {
    display: none; /* ページタイトルを非表示にする（デザイン上の調整） */
}

.wp-block-table table tbody tr:first-child {
  background-color: #5dade2 !important; /* 表の最初の行に薄い青背景（見出し行として強調） */
  background-color: #8d9eb2 !important;
  color: white !important; /* 文字色を白にしてコントラストを取る */
}
.wp-block-table table tbody tr td {
	font-size:90% !important;
}
.wp-block-table.tbl-gsdc table tbody tr td{
	background-color: #ffffff !important;
	color: #333333 !important;
	padding-top: 15px;
	padding-bottom: 15px;
}
.wp-block-table.tbl-gsdc table tbody tr td:first-child {
	width:30%;
	background-color: #8d9eb2 !important;
	color: white !important; /* 文字色を白にしてコントラストを取る */
}

.navi .navi-in li a {
  padding: 0px 20px 0px 10px !important;
}
.navi .navi-in li:last-child a {
  padding: 0px 0px 0px 10px !important;
}
@media screen and (max-width: 1200px){
  .navi .navi-in li a {
    padding: 0px 16px 0px 6px !important;
    font-size: 82%;
  }
  .navi .navi-in li:last-child a {
    padding: 0px 16px 0px 6px !important;
  }
}

/* ドロップダウンメニューの背景色と文字色を設定 */
.sub-menu {
  background-color: #f8f8f8 !important;  /* 背景色を淡いグレーに変更 */
  border: 1px solid #ccc;                /* 枠線を追加（任意） */
  padding: 10px 0;
  z-index: 9999;
}
.sub-menu li a {
  color: #333 !important;               /* 文字色を濃いグレーに */
  padding: 10px 20px;
  display: block;
}
/* マウスホバー時の色も変更して見やすく */
.sub-menu li a:hover {
  background-color: #004c85 !important;
  color: white !important;
}
/* ドロップダウンの各メニュー項目の縦幅を調整 */
.sub-menu li a {
  height: 40px !important;
  display: block !important;
  padding: 14px 24px !important;  /* 上下左右の余白を拡張 */
  font-size: 16px !important;     /* フォントサイズも少し大きく（任意） */
  line-height: 40px !important;    /* 行間を確保 */
}
/* ドロップダウンメニュー全体の最小幅を調整（必要に応じて） */
.sub-menu {
  min-width: 200px;
}
@media screen and (max-width: 1023px){
  .sub-menu li a {
    height: auto !important;
    line-height: 1 !important;    /* 行間を確保 */
    padding: 10px 20px !important;  /* 上下左右の余白を拡張 */
  }
  .sub-menu {
    margin-top: 0px;
    margin-bottom: 15px;
  }
}

body {
  font-size: 87.5%; /* 通常より12.5%小さく（87.5% = 約14px） */
}
body {
  font-size: 87.5%;
}

.top-img01 {
	margin: 0 0 0 0 !important;
}

/* 本文だけ横幅を縮小（ヘッダー等には影響しない） */
.entry-content {
	max-width: 96.2%;
	margin: 0 auto;
}
.entry-content img {
	width: 100%;
	height: auto;
}
@media screen and (max-width: 480px){
  .entry-content {
    max-width: 100%;
  }
}

/* 追従ヘッダーでの子メニュー表示を有効化 */
.fixed-header .navi-in > ul li:hover > ul {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wp-block-cover {
  display: flex !important;
  flex-direction: column;          /* 縦方向に並べる */
  justify-content: flex-end !important;  /* 下に揃える */
  align-items: flex-start !important;    /* 左に揃える */
  padding: 2em;                     /* 上下左右に余白（調整可） */
}
.wp-block-cover__inner-container {
  align-self: flex-start !important;   /* 左位置 */
  text-align: left !important;         /* テキストも左寄せ */
}

/* 特定ページ用の調整も追加する場合 */
@media screen and (max-width: 480px){
  .page-id-690 .entry-content {
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
}











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

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

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

