@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.9
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

.comment-notes,
.comment-form-email,
.comment-form-url{
  display:none;
}


/************************************
** ■見出しのカスタマイズ（オレンジ×赤＋青の差し色）
************************************/

/* Cocoon標準の見出し装飾をリセット
   ※H1はトップページ(.home)を除く */
body:not(.home) .article h1,
.article h2,
.article h3,
.article h4,
.sidebar h3 {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  padding: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 700;
}

/* トップページのH1（従来のデザインを維持） */
.home .article h1 {
  padding: 0.5em 0;
  border-top: solid 3px #FFA500;
  border-bottom: solid 3px #FFA500;
}

/* H1：オレンジのグラデーションパネル＋黒い太枠／黒文字＋赤い下線 */
body:not(.home) .article h1 {
  position: relative;
  margin: 0 8px 1.7em 0;
  padding: 1.1rem 4rem 1.2rem 1.4rem;
  font-size: clamp(21px, 4.6vw, 28px);
  line-height: 1.5;
  letter-spacing: .03em;
  color: #1a1a1a;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, .45);
  border: 3px solid #1a1a1a;
  border-bottom: 8px solid #e60012;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffd56e 0%, #ffae2e 55%, #ff8a00 100%);
  box-shadow: 6px 6px 0 #1a1a1a;
}
/* 右端の赤いスピード線 */
body:not(.home) .article h1::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3rem;
  background: linear-gradient(115deg, transparent 0 38%, #e60012 38% 56%, transparent 56% 66%, #e60012 66% 76%, transparent 76%);
  pointer-events: none;
}

/* H2：オレンジ帯＋赤いタブ（右にスピード線） */
.article h2 {
  margin: 2.6em 0 1.2em;
  padding: .7rem 4.5rem .7rem 1.1rem;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: #3b1200;
  border-left: 16px solid #e60012;
  border-radius: 0 4px 4px 0;
  background-image:
    linear-gradient(115deg, transparent 90%, rgba(255, 255, 255, .5) 90% 93%, transparent 93% 95.5%, rgba(255, 255, 255, .5) 95.5% 98%, transparent 98%),
    linear-gradient(180deg, #ffbd3a 0%, #ff9a00 100%);
  box-shadow: 0 4px 0 #c76a00;
}

/* H3（本文・サイドバー共通）：左に四星球＋赤→オレンジの下線 */
.article h3,
.sidebar h3 {
  position: relative;
  margin: 2.1em 0 1em;
  padding: .35rem 0 .7rem 2.8rem;
  font-size: 20px;
  line-height: 1.55;
  color: #222;
  background: linear-gradient(90deg, #e60012 0 90px, #ffa500 90px 100%) bottom / 100% 3px no-repeat;
}
.article h3::before,
.sidebar h3::before {
  content: "★ ★\A★ ★";
  white-space: pre;
  position: absolute;
  left: 0;
  top: -.05rem;
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  font-family: sans-serif;
  font-size: .5rem;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
  color: #d4180a;
  background:
    radial-gradient(ellipse 28% 20% at 32% 22%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle at 35% 30%, #ffd978 0%, #ff9a1f 45%, #d8640a 80%, #9a4306 100%);
  box-shadow:
    inset -2px -3px 5px rgba(130, 50, 0, .5),
    inset 1px 1px 3px rgba(255, 235, 170, .6),
    0 3px 6px rgba(0, 0, 0, .3);
}
/* サイドバーのH3は上の余白を詰める */
.sidebar h3 {
  margin: 0 0 1em;
}

/* H4：ナビと同じ青の差し色（淡い青地＋左に青い線） */
.article h4 {
  margin: 1.8em 0 .8em;
  padding: .45rem .9rem;
  font-size: 17px;
  line-height: 1.5;
  color: #1a2a6c;
  border-left: 5px solid #4169e1;
  background: #eaf0ff;
}

@media screen and (max-width: 480px) {
  body:not(.home) .article h1 {
    margin: 0 6px 1.5em 0;
    padding: .9rem 2.8rem 1rem 1.1rem;
  }
  body:not(.home) .article h1::after { width: 2.2rem; }
  .article h2 { font-size: 19px; padding-right: 3.2rem; border-left-width: 12px; }
  .article h3,
  .sidebar h3 { font-size: 17px; }
  .article h4 { font-size: 16px; }
}


/************************************
** ■区切り線(hr)のカスタマイズ（赤→オレンジのライン＋中央に球体）
************************************/
.article hr,
.article hr.wp-block-separator {
  height: 20px;
  margin: 2.5em 0;
  border: none;
  opacity: 1;
  overflow: visible;
  background:
    radial-gradient(circle at 35% 30%, #ffd978 0%, #ff9a1f 45%, #d8640a 80%, #9a4306 100%) center / 18px 18px no-repeat,
    linear-gradient(90deg, #e60012 0%, #ffa500 100%) center / 100% 4px no-repeat;
}


/************************************
** ■目次のカスタマイズ（黒枠＋オレンジ帯＋赤ライン）
************************************/

.toc {
    border: 3px solid #1a1a1a; /*全体の枠線*/
    border-radius: 6px;
    box-shadow: 5px 5px 0 #1a1a1a;
    background: #fffaf0;
    font-size: 0.9em;
    line-height: 1.5;
    padding: 0;
    margin: 0 auto 1.5em;
    max-width: calc(100% - 5px);
    overflow: hidden;
}
.toc-title {
    background: linear-gradient(135deg, #ffd56e 0%, #ffae2e 55%, #ff8a00 100%);
    color: #1a1a1a;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: .05em;
    text-align: center;
    padding: 8px 16px;
    border-bottom: 5px solid #e60012; /*赤い下線*/
}
.toc-title::before {
    font-family: FontAwesome;
    content: '\f0ca'; /*目次タイトルのアイコン*/
    margin-right: 0.5em;
}
.toc-content {
    padding: 10px 12px;
}

.toc ul li a, .toc ol li a {
    display: block;
    color: #222;
    border-bottom: 1px dashed #ffa500; /*h3以下の下側ボーダー*/
    margin-left: -20px;
    padding: .3em .5em .3em 20px;
    transition: all .2s ease;
}
.toc ul li a:hover, .toc ol li a:hover {
    color: #e60012;
    background: #fff0d0;
}
.toc ul.toc-list>li, .toc ol.toc-list>li {
    margin-top: 1em;
}
.toc ul.toc-list>li>a, .toc ol.toc-list>li>a {
    font-weight: 700;
    border-bottom: 2px solid #e60012; /*h2の下側ボーダー*/
}
.toc li::marker {
    color: #e60012;
    font-weight: 700;
}


span.black{
  color:#A9A9A9;
  font-weight:bold;
  font-size: 8px !important;
}


/**********************************
コメント欄カスタマイズ
**********************************/
/* コメント欄・返信フォームの見出し（H2風） */
.comment-title,
.comment-reply-title {
    margin: 2em 0 1em;
    padding: .6rem 1rem;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    color: #3b1200;
    border-left: 12px solid #e60012;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #ffbd3a 0%, #ff9a00 100%);
    box-shadow: 0 4px 0 #c76a00;
}

/* コメント本体 */
.comment-body {
    padding: 16px 18px;
    background: #fff;
    border: 3px solid #1a1a1a;
    border-radius: 6px;
    box-shadow: 4px 4px 0 #ffa500;
}
.comment-meta,
.comment-date {
    color: #7a4a00;
}

/* 返信ボタン */
.comment-reply-link {
    display: inline-block;
    padding: .2em 1em;
    font-weight: 700;
    color: #1a1a1a;
    background: #ffa500;
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    transition: all .2s ease;
}
.comment-reply-link:hover {
    color: #fff;
    background: #e60012;
}

/* コメントフォーム */
#commentform textarea, #commentform input{
    border: 2px solid #FFA500; /* 枠線の色 */
    border-radius: 0.3em; /*角丸 */
    background: #fffaf0;
    transition: all .2s ease;
    font-size: 80%;
}
/* コメントフォーム選択時 */
#commentform textarea:focus, #commentform input:focus{
    outline: none;
    border: 4px solid #e60012; /* 枠線の色 */
    background: #fff;
}
/* 送信ボタン */
#commentform #submit{
    background: linear-gradient(180deg, #ff3b30 0%, #e60012 100%); /* 送信ボタンの背景色 */
    box-shadow: 4px 4px 0 #1a1a1a; /* 送信ボタンの影色 */
    color: #fff;
    font-weight: 700;
    letter-spacing: .05em;
    border: 3px solid #1a1a1a;
    border-radius: 0.5em; /*角丸 */
    height: 44px;
    width: 20em; /*ボタンの横幅をボタン内の文字数で指定 */
    max-width: 100%;
    padding: 0;
    line-height: 38px;
    vertical-align: middle;
    text-align: center;
    transition: all .2s ease;
}
#commentform #submit:hover{
    box-shadow: none;
    transform: translate(4px, 4px);
}


/**********************************
ヘッダ画像伸縮
**********************************/
@media screen and (max-width: 1023px) {
  .header {
    background-size: contain;
  }
}

/**********************************
ヘッダPCビュー
**********************************/

/* PCのヘッダー高さ */
.header div.header-in {
	min-height: 250px; /* 変更時：以下ほとんど微調整として変更しなきゃダメ */
}
/* サイト名・サイト説明 */
.logo-text,
.tagline {
	padding: 0;
	text-align: left; /* 文字左寄せ */
	position:absolute; /* 位置を強引に決める */
	left: 20px; /* 左から20pxの位置に */
}
/* サイト名の位置 */
#header-in {
	position: relative; /* サイト名・descriptionはメイン領域に合わた位置 */
}
.logo-text {
	bottom: 200px; /* ヘッダーの下から */
}
/* サイト説明の位置；微調整必要 */
.tagline {
	bottom: 175px; /* ヘッダの下から */
	padding-right: 1em; /* 右内側余白1文字分 */
	font-size: 0.8em;
	color: #fff;
}

/**********************************
ヘッダの余白設定
**********************************/
.content {
margin-top: 0;
}


/************************************
** グローバルメニュー（PC：黒ライン＋オレンジ＋赤）
************************************/
@media screen and (min-width: 1024px) {
  #navi {
    position: relative;
    z-index: 100;
    margin-bottom: 15px; /* 本文との間隔（影の分も含めて調整） */
    background: linear-gradient(180deg, #ffbd3a 0%, #ff9a00 100%);
    border-top: 4px solid #1a1a1a;
    border-bottom: 4px solid #e60012;
    box-shadow: 0 4px 0 #1a1a1a;
  }

  /* メニュー文字が折り返して縦に膨らむのを防ぐ場合 */
  #navi .navi-in > ul > li > a {
    white-space: nowrap;
  }
  #navi .navi-in > ul > li {
    border-right: 1px solid rgba(26, 26, 26, .25);
  }
  #navi .navi-in > ul > li:last-child {
    border-right: none;
  }
  #navi .navi-in a {
    color: #3b1200;
    font-weight: 700;
    transition: all .2s ease;
  }
  /* hover：赤背景＋白文字 */
  #navi .navi-in > ul > li:hover > a,
  #navi .navi-in a:hover {
    background: #e60012;
    color: #fff;
  }
  /* サブメニュー */
  #navi .navi-in .sub-menu {
    background: #ffbd3a;
    border: 2px solid #1a1a1a;
    border-top: none;
    box-shadow: 4px 4px 0 #1a1a1a;
  }
  #navi .navi-in .sub-menu li {
    border-bottom: 1px dashed rgba(26, 26, 26, .3);
  }
  #navi .navi-in .sub-menu li:last-child {
    border-bottom: none;
  }
}

/************************************
**サイドバー
************************************/
.sidebar{
	background:transparent;
}
/* ※サイドバーH3の見出しデザインは「■見出しのカスタマイズ」で共通化 */

.widget_categories ul li,
.widget_archive ul li{/*カテゴリ・アーカイブ下線*/
	padding-left:10px;
	border-bottom:1px dotted  rgba(125, 125, 125, 0.2);/*下線の種類*/
}
.widget_categories ul li a,
.widget_archive ul li a{/*親カテゴリ・アーカイブの文字サイズ*/
	font-size:.95rem;
}
.widget_categories ul li a:before,
.widget_archive ul li a:before{/*親カテゴリ・アーカイブアイコン*/
	font-family:Fontawesome;
	content:"\f138";/*アイコン種類*/
	color:#FFC14D;/*アイコン色*/
	margin-right:6px;/*アイコンと文字の距離*/
}
.widget_categories ul .children li a:before{/*子カテゴリアイコン*/
	font-family:Fontawesome;
	content:"\f105";/*アイコン種類*/
	color:#FFC14D;/*アイコン色*/
	font-weight:normal;
	margin-right:6px;/*アイコンと文字の距離*/
}
.widget_categories ul .children li{
	border-bottom:none;
}	
.widget_categories ul .children li a{/*子カテゴリ*/
	padding:3px 10px;
	font-size:.85rem;/*文字サイズ*/
}
.widget_categories ul li a:hover,
.widget_archive ul li a:hover{/*カテゴリ・アーカイブhover時*/
	background:transparent;
	color:#38b48b;/*hover時の文字色*/
	margin-left:5px;/*hover時動く幅*/
}
.widget_categories ul li a .post-count,
.widget_archive ul li a  .post-count{/*カテゴリ・アーカイブ記事数*/
	border:1px solid rgba(221, 221, 221, 0.867);/*囲線*/
	border-radius:5px;
	font-size:.8em;/*数字サイズ*/
	padding:1px 10px;/*囲いの大きさ*/
}
.widget_categories ul li a:hover .post-count,
.widget_archive ul li a:hover  .post-count{/*カテゴリ・アーカイブ記事数hover時*/
	border-color:#FFC14D;/*囲線色*/
	background:#FFC14D;/*背景色*/
	color:#fff;/*文字色*/
	transition:.4s;/*変化スピード*/
}
/*ここまで*/

/************************************
** 固定ページトップページカスタマイズ
************************************/
.home #main h1{
    font-size: 1em;
    color: #555;
    letter-spacing: 1px;
    margin: 1em 0 -2em;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.home #main h1:before, .home #main h1:after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: #aaa;
    display: block;
}
.home #main h1:before {
    margin-right: .4em;
}
.home #main h1:after {
    margin-left: .4em;
}
.home #main .large-thumb{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0.8em 0;
}

.home #main .large-thumb a{
    width: 50%;
    padding: 10px;
}

.home #main .large-thumb a:hover{
    background:unset;
}
.home .widget-entry-cards .e-card {
    font-size: 18px;
    box-shadow: 0 0 4px rgba(0,0,0,.15);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    height:100%;
}
.home .widget-entry-cards .e-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 3px 18px 3px rgba(0,0,0,.08);
}
.home .widget-entry-cards figure {
    float: none;
    width: 100%;
}
.home .widget-entry-cards figure img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 210px;
}
.home .widget-entry-cards .card-content {
    margin: 0 0 0.5em;
    padding:10px 3px;
    background:#fff;
}
.home #main .large-thumb .new-entry-card-title,.home #main .large-thumb .popular-entry-card-title {
    font-size: 0.9em;
    line-height: 1.5;
    font-weight: 600;
    color: #555;
    margin-top: 3px;
}
/*(スマホ)480px以下*/
@media screen and (max-width: 480px){
    .home #main h1{
        margin: 1em 0 0;
        padding: 0;
        font-size:0.8em;
    }
    .home .widget-entry-cards .e-card {
        margin:0 5px;
    }
    .home #main .large-thumb a {
        width: 100%;
        padding: 0;
        margin:0 0 15px;
    }
    .home .mobile-2{
        justify-content:space-between;
    }
    .home .mobile-2 a{
        width:48% !important;
    }
    .home .mobile-2 figure img {
        object-fit: unset !important;
        height: auto !important;
    }
    .home #main .large-thumb .new-entry-card-title{
        line-height:1.3;
    }
}
/************************************
** ボタン
************************************/
.p-button {
    max-width: 300px;
    margin: 0 auto;
}
.p-button a {
    display: block;
    margin:25px 0;
    padding: 0.8em 1em;
    border-radius: 2em;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: #eba02f;
    box-shadow: 0 5px 20px rgba(235, 160, 47, .5);
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity:1;
}
.p-button a:hover{
    box-shadow:none;
    transform: translateY(3px);
    opacity:1;
}

.home header .sns-share,.home footer .sns-share,.home footer .sns-follow,.home header .post-date,.home .post-update,.home .author-info{
    display: none;
}


/************************************
** モバイルフッターボタン（黒ライン＋オレンジ＋赤）
************************************/

/*フッターモバイルメニュー*/
.mobile-menu-buttons {
    background: linear-gradient(180deg, rgba(255, 189, 58, .9) 0%, rgba(255, 154, 0, .9) 100%); /*透過度0.9*/
    border-top: 4px solid #1a1a1a;
    box-shadow: 0 -4px 0 #e60012; /*黒ラインの上に赤ライン*/
}
.mobile-menu-buttons .menu-button {
    border-right: 1px solid rgba(26, 26, 26, .25);
}
.mobile-menu-buttons .menu-button:last-child {
    border-right: none;
}
.mobile-menu-buttons .menu-button a,
.mobile-menu-buttons .menu-button .menu-icon,
.mobile-menu-buttons .menu-button .menu-caption {
    color: #3b1200;
    font-weight: 700;
}

/* ボタンhover・タップ時：赤背景＋白文字 */
.mobile-menu-buttons .menu-button:hover,
.mobile-menu-buttons .menu-button:active {
    background: rgba(230, 0, 18, .9);
}
.mobile-menu-buttons .menu-button:hover a,
.mobile-menu-buttons .menu-button:hover .menu-icon,
.mobile-menu-buttons .menu-button:hover .menu-caption,
.mobile-menu-buttons .menu-button:active a,
.mobile-menu-buttons .menu-button:active .menu-icon,
.mobile-menu-buttons .menu-button:active .menu-caption {
    color: #fff;
}


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

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

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

/* タブレットビュー */

/* タブレットのヘッダー高さ */
.header div.header-in {
	min-height: 100px;
}
/* サイト名・サイト説明 */
.logo-text,
.tagline {
	padding: 0;
	text-align: left;
	position:absolute;
	left: 30px;
}
/* サイト名の位置 */
#header-in {
	position: relative;
}
.logo-text {
	bottom: 65px;
}
/* サイト説明の位置；微調整必要 */
.tagline {
	bottom: 50px;
	padding-right: 1em;
	font-size: 0.5em;
	color: #fff;
}

}

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

/* スマホビュー */

/* スマホのヘッダー高さ */
.header div.header-in {
	min-height: 100px;
}
/* サイト名・サイト説明 */
.logo-text,
.tagline {
	padding: 0;
	text-align: left;
	position:absolute;
	left: 20px;
}
/* サイト名の位置 */
#header-in {
	position: relative;
}
.logo-text {
	bottom: 70px;
}
/* サイト説明の位置；微調整必要 */
.tagline {
	bottom: 55px;
	padding-right: 1em;
	font-size: 0.5em;
	color: #fff;
}

}