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

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

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

body{
	font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}

/*ヘッダー背景透明化*/
.logo-image span, 
.logo-image a, 
.logo-image img {
	display: block;
	margin:0;
	padding: 0;
	vertical-align:top;
}
h1.logo-image{ padding: 0;}
.header-in { flex-direction: initial; }
.tagline { margin: 0; }


.navi-in .wrap {
    font-weight: bold;
}

.header-container {
	background-color: transparent;
	margin:0;
	padding:0;
}
.entry-content {
  margin-top: 0;
}

.entry-title {
  margin: 0;
}
.content {
  margin-top: 0;
}
.article h1 {
  margin-top: 0;
  padding-top: 0;
}

.entry-content p:first-of-type {
  margin-top: 0;
}

/* コメント欄のユーザーアイコン（Gravatar等）は表示しない。 */
#comments .avatar,
#comment-respond .avatar,
.comment-list .avatar,
.comment-author .avatar,
.comment-meta .avatar {
	display: none !important;
}


span{margin:0;padding:0;}
.kadomaru{  
	margin-bottom:20px !important; padding:10px; 
	position: relative;
   padding: 10px;
   background-color: #fffff5;
   border: 1px solid #ddd;
	border-radius:5px;
}
a {color:#000;}

/* beforeで枠線の三角を表現 */
.kadomaru::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 20px;
  top: -13px;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #ddd;
  border-left: 12px solid transparent;
}

/* beforeで本体の三角を表現 */
.kadomaru::after{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 20px;
  top: -11px;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #fffff5;
  border-left: 12px solid transparent;
}




.firstline{ font-size:12px; }
.a_no{font-weight:normal; margin-right:5px; font-size:1.3em;}
.a_username{ font-weight:bold; color:green; margin-left:5px; margin-right:5px; font-size:1.3em;} 
.a_datetime{ margin-left:5px; margin-right:5px;} 
.a_userid{}
.a_userid_1{ color:darkblue; font-weight:bold; background:#EDF4FC;padding:2px;}
.vip-thread-starter-text{ color:#1769aa !important; font-weight:700 !important; }
.nusi_res{ color:darkblue; font-weight:bold; font-size:18px !important;}
.a_anker{ color:darkblue; font-size:0.8em !important}
.textLine{ font-size:18px; font-weight:bold; margin-top:20px;}
.responce_area1{background:#fff; padding:0px; }
.div_area{margin-top:60px; }
.responce_area2{ margin-top:0px; margin-bottom:0px;　}
.responce_area3{ margin-bottom:0px;}
.responce_area4{ margin-bottom:0px;}
.anchor-response,
.div_area:has(.a_anker) {
    margin-left: 20px !important;
    padding: 20px;
    margin-top: 0;
    margin-bottom: 0;
}
.kintama-comment-index {
    display: inline-block;
    margin-right: .35rem;
    padding: .08rem .4rem;
    border-radius: 999px;
    background: #ead28b;
    color: #5b4104;
    font-size: .76em;
    font-weight: 700;
    vertical-align: middle;
}
.kintama-reply-status {
    min-height: 1.4em;
    margin: 0 0 .65rem;
    color: #80651a;
    font-size: .82rem;
    font-weight: 600;
}
/* 本文画像は読みやすい範囲に収め、クリック時の拡大操作を示す。 */
.matome_img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 520px;
    height: auto;
    margin: 1rem auto;
    cursor: zoom-in;
}
/* 同一レスに画像が複数ある場合は一覧性を優先して小さく並べる */
.textLine:has(.matome_img:nth-of-type(2)) .matome_img { max-width: 180px; max-height: 180px; margin: .25rem; display: inline-block; vertical-align: middle; }
.textLine:has(.matome_img ~ a .matome_img) .matome_img { max-width: 180px; max-height: 180px; margin: .25rem; display: inline-block; vertical-align: middle; }
.textLine:has(a:nth-of-type(2) .matome_img) .matome_img { max-width: 180px; max-height: 180px; margin: .25rem; display: inline-block; vertical-align: middle; }
.vip-image-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(9, 25, 45, .86);
    cursor: zoom-out;
}
.vip-image-modal img {
    display: block;
    max-width: min(94vw, 1200px);
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
}
body.vip-modal-open { overflow: hidden; }
.restop{padding:5px; border:1px solid lightblue;margin-bottom:10px;}

.responce_area2,
.responce_area3,
.responce_area4 {
    margin-left: 20px !important; /* ずらしたい距離を指定 */
	padding:20px;
	margin-bottom:0px;
	margin-top:0px;
}

.iframe_area{ 
	height:255px; 
	margin:0px;
}

.textLine{
}



.a-wrap:hover {
background-color: #eee;
}
.a-wrap:hover{
transform: translateY(0px);
box-shadow: 0px 0px 0px 0 #ccc;
}

a.entry-card-wrap.a-wrap.border-element.cf{
margin-bottom:0em;
margin: 0 0 -1px;  
	
    background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(150, 150,150, 0.1));
    background-origin: border-box;
    border-radius: 0.25em;
    line-height: 1.5;
    padding: 0.5em;
	width:100%;
	
	
}



.entry-card-title {
	#color :#4169e1;
	color :#000088;
	font-size: 1.2em;
	line-height: 1.2em;
} 

.entry-card-snippet {
	font-size: 0.7em;
	color: #666;
}






				
body {
	background: url( https://open2ch-blog.ddns.net/wp-content/uploads/2021/07/kao_jien_blue.gif );
	background-attachment: fixed;
}



.blogroll_wrapper {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around; /* または必要に応じて適切な配置を選んでください */
		background-color: #fff;
		width: 100%; /* ブラウザの幅に対して100%の幅を持つように指定 */
		border-radius: 10px 10px 10px 10px;
		max-height: 300px; /* 必要に応じて高さを調整 */
		overflow-y: auto; /* 垂直スクロールを有効にする */

}

.blogroll_wrapper2 {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around; /* または必要に応じて適切な配置を選んでください */
		background-color: #ffe;
		width: 100%; /* ブラウザの幅に対して100%の幅を持つように指定 */
		border: 3px solid #87cefa;
		border-radius: 10px 10px 10px 10px;
		padding:10px;
}

.blogroll_wrapper3 {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around; /* または必要に応じて適切な配置を選んでください */
		background-color: #ffe;
		width: 100%; /* ブラウザの幅に対して100%の幅を持つように指定 */
		border: 3px solid  #cc8100;
		border-radius: 10px 10px 10px 10px;
		padding:10px;
}
/* ----------------------------------------------- */
/*

      BlogRoll css 2

*/
/* ----------------------------------------------- */
.blogroll_innner {
		width: 50%;
		padding: 10px;
		float: left;
	font-size:14px;
	
	}

.blogroll-channel,
.blogroll-channel * {
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
	 font-size: 1em;
	line-height:1.5em;
	text-decoration:none;


}
.blogroll-channel {
    margin-bottom: 15px;
	 width: 100%; /* ブラウザの幅に対して100%の幅を持つように指定 */
}

.blogroll-channel .blogroll-list-wrap {
    margin-bottom: 10px;
	padding:0px;
}

.blogroll-channel .blogroll-list {
    list-style-type: none;
    margin-bottom: 3px;
    line-height: 1.8;
	border-bottom: 1px dashed lightblue;
}

.blogroll_wrapper3 .blogroll-channel .blogroll-list {
    list-style-type: none;
    margin-bottom: 3px;
    line-height: 1.8;
	border-bottom: 1px dashed #ccbca3;
}

.blogroll-channel .blogroll-list img {
    vertical-align: middle;
}

.blogroll-channel img.blogroll-icon,
.blogroll-channel img.blogroll-favicon {
    margin: 0 5px 0 0;
}

.blogroll-channel img.blogroll-favicon {
	width: 16px;
	height: 16px;
}

.blogroll-channel a.blogroll-link {
}

.blogroll-channel .blogroll-new-entry {
    margin-left: 5px;
    color: red;
}

.blogroll-channel .blogroll-clip,
.blogroll-channel .blogroll-hatebu {
    margin: 0 0 0 5px;
}

.blogroll-channel .blogroll-link-time {
    margin: 0 0 0 3px;
    color: #fff;

}

.blogroll-channel .blogroll-ad-img {
}

.blogroll-channel .blogroll-ad-text {
    display: block;
    margin-top: 5px;
    color: #fff;
}



    .custom-card {
        display: flex;
        flex-direction: row; /* 横向きに配置するためのスタイル */
        border: 1px solid #ccc;
        margin: 0px;
        padding: 10px;
        width: 100%;
		text-decoration: none;

    }

    .card-image img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        margin-right: 10px;
    }


    .card-content {
        flex: 1;
		color:#666;
		  }
		  
    .card-description {
		flex: 1;
        font-size: 0.8em;
		color:#666;
	  
    }
    .card-url {
        font-size: 0.8em;
        color: #666;
    }

.eye-catch-wrap .custom-featured-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 350px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
}

.eye-catch-wrap {
    justify-content: center;
}

/* アイキャッチ読込前も出典を横書きで安定表示する */
.eye-catch-caption {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
    color: #777;
}

/* 既存記事に残るサイズ3・4のインライン指定もサイズ2相当に統一 */
.textLine[style*="font-size: 2em"],
.textLine[style*="font-size: 3em"],
.textLine[style*="font-size: 4em"] {
    font-size: 1.5em !important;
}

.entry-content h1 {
    background-color: #f8f8f8; /* 背景色を設定 */
    border: 2px solid #333; /* 枠線のスタイルと色を設定 */
    border-radius: 10px; /* 角丸にする半径を設定 */
    padding: 10px; /* タイトルの周りの余白を設定 */
    margin-bottom: 20px; /* タイトルの下に余白を設定 */

}

.widget-footer-left-title.footer-title {
	background:#d1c07f;
    color: white; /* テキスト色を赤に変更 */
    font-size: 20px; /* フォントサイズを変更 */
	margin-top:0px ;
	margin-left:20px ;
	margin-right:20px ;
	padding:5px;
	border-radius: 0.25em;
	text-align: center;
}

.widget-footer-center-title.footer-title {
	background:#d1c07f;
    color: white; /* テキスト色を赤に変更 */
    font-size: 20px; /* フォントサイズを変更 */
	margin-top:0px ;
	margin-left:0px ;
	margin-right:20px ;
	padding:5px;
	border-radius: 0.25em;
	text-align: center;
}

.widget-footer-right-title.footer-title {
	background:#d1c07f;
    color: white; /* テキスト色を赤に変更 */
    font-size: 20px; /* フォントサイズを変更 */
	margin-top:0px ;
	margin-left:0px ;
	margin-right:20px ;
	padding:5px;
	border-radius: 0.25em;
	text-align: center;
}


.custom-card {
	display: flex;
	flex-direction: row; /* 横向きに配置するためのスタイル */
	border: 1px solid #333;
	margin: 0px;
	margin-top:10px;
	padding: 10px;
	width: 100%;
	text-decoration: none;
	line-height:1.5;
}

.card-image img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	margin-right: 10px;
}

.card-content  p{
	flex: 1;
	color:#333;
	line-height:1.5;
	margin: 0px;
	margin-bottom:10px;
}

.card-description p {
	flex: 1;
	font-size: 0.8em;
	color:#666;
	line-height:1.5;
	margin: 0px;
}
.card-url {
	font-size: 0.8em;
	color: #666;
	line-height:1;
}

/* 人気記事のタイトルの文字サイズを小さくする */
.popular-entry-card-title {
    font-size: 12px; /* 好みに応じて適切な文字サイズに変更 */
}

/************************************
**　　グローバルナビメニュー 
************************************/

/*マウスオーバーでアンダーライン*/
#navi .navi-in a:after{
position: absolute;/*線の位置を絶対配置に*/
content: "";/*文字はなし*/
left: 10px;/*線の位置*/
bottom: 10px;/*線の位置*/
height: 3px;/*線の高さ*/
width: 84%;/*線の幅*/
background: #85c5ec;/*線の色*/
transform: scale(0,1);/*マウスオーバーの前は線を消す*/
transition: 0.3s;/*線が0→100%になるまでの秒数*/
}

#navi .navi-in a:hover:after{
transform: scale(1);/*マウスオーバー後、線を100%出す*/
}

/*スマホメニューを横スクロール*/
#header-container .navi-in > ul li {
   height: auto;
   font-weight: 600;
   line-height:1.3;
}
#header-container #navi a{
   color:#666666; /* 文字色 */
   padding:0.8em 1em;
}
#header-container #navi a:hover{
   color:#85c5ec; /* マウスホバー時の文字色 */
}
#header-container .navi-in > ul > .menu-item-has-children > a::after {
   top: 0.8em;
   font-size: 1.2em;
   font-weight: 600;
}
#header-container .sub-menu .caption-wrap{
   padding-left:1em;
}
.navi-in > ul .menu-item-has-description > a > .caption-wrap{
   height:auto;
}

#navi .navi-in > ul > li{
  border-right: 1px solid #ddd;
}

#navi .navi-in > ul > li:last-child{
  border-right-width: 0;
}

.navi-in > ul > .menu-item-has-children > a::after{
  right: 10px;
} 

.responsive-iframe {
	width: 100%;
	border: none;
}
.wpp-post-title {
	font-weight: 700;
	display:block;
	line-height: 1.4;
	margin-bottom: 10px;
	font-size:10px;
}

.comment-notes,
.comment-form-author,
.comment-form-cookies-consent {
    display: none !important;
}

/* 本文冒頭のコメント欄への導線 */
.comment-jump-link {
	margin: 0 0 1.25em;
	text-align: right;
}

.comment-jump-link a {
	display: inline-block;
	padding: .45em .9em;
	border: 1px solid #7d95ad;
	border-radius: 4px;
	color: #34506c;
	background: #f6f9fc;
	font-size: .9em;
	text-decoration: none;
}

.comment-jump-link a:hover {
	color: #fff;
	background: #527b9f;
}

/* 本文末のコメント参加導線 */
.comment-invitation {
	margin: 2.25em 0 1.5em;
	padding: 1em 1.15em;
	border-left: 4px solid #d6a84b;
	border-radius: 4px;
	background: #fffaf0;
}

.comment-invitation p {
	margin: 0 0 .55em;
	font-weight: 700;
}

.comment-invitation a {
	color: #34506c;
	font-weight: 700;
	text-decoration: none;
}

.comment-invitation a:hover {
	text-decoration: underline;
}

#comments {
	scroll-margin-top: 90px;
}

@media screen and (min-width: 1024px){
  /*必要ならばここにコードを書く*/
	.res{margin:0;padding:0; font-weight:bold; font-size:1.1em;line-height:1.5em !important;}
	.firstline{margin:0;padding:0; font-weight:normal; font-size:12px; line-height:0em;}

	.entry-card-thumb {
		width: 247px;
	}
	.entry-card-content {
		margin-left: 267px;
	}
}

@media screen and (max-width: 1030px){
  #header-container .menu-mobile{
    display:none;
  }
  .navi-in > .menu-mobile{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
  #header-container #navi a{
    font-size:0.8em;
    padding: 1em 1.2em;
  }
  #header-container .navi-in > ul > .menu-item-has-children > a::after{
    display:none;
  }
  #navi .navi-in > .menu-mobile li {
    height: auto;
    line-height: 1.8;
  }
  .mblt-header-mobile-buttons {
    margin-top: 53px;
  }
}

.custom-card
{
	background:#FFF;
}

/* 本文直前のタイトルはテーマ側のH1とは別の、視認性用の見出し。 */
.custom-title {
	margin: 0 0 1.1em;
	padding: .55em .75em;
	border-left: 5px solid #b99032;
	background: #fffaf0;
	color: #302712;
	font-size: 1.15em;
	font-weight: 700;
	line-height: 1.55;
}

/* トップページのサイト主題と、専門カテゴリへの内部導線。 */
.site-topic-guide {
	max-width: 1200px;
	margin: 16px auto 8px;
	padding: 14px 18px;
	border: 1px solid #e5dcc8;
	background: #fffdf8;
	box-sizing: border-box;
}

.site-topic-guide h1 {
	margin: 0 0 .35em;
	font-size: 1.25em;
	line-height: 1.45;
}

.site-topic-guide p {
	margin: 0 0 .8em;
	font-size: .92em;
	line-height: 1.6;
}

.site-category-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.site-category-nav a {
	display: inline-block;
	padding: .38em .72em;
	border-radius: 3px;
	background: #395d83;
	color: #fff;
	font-size: .9em;
	font-weight: 700;
	text-decoration: none;
}

.site-category-nav a:hover {
	background: #233f5d;
	color: #fff;
}

/* VIPでは金のタマゴ由来の付箋紙風先頭レス装飾を使わない。 */
.sticky.st-yellow {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

/* トップ先頭カードの見出し色を、通常カードと同じ青に統一。 */
#main #list > .entry-card-wrap:first-of-type .entry-card-title {
	color: #000088 !important;
}

/* 画像カード／ギャラリーの最終行を、余り枚数に合わせて均等配置する。 */
.wp-block-gallery.columns-4,
.gallery.gallery-columns-4 {
	display: flex;
	flex-wrap: wrap;
}

.wp-block-gallery.columns-4 > *,
.gallery.gallery-columns-4 > .gallery-item {
	box-sizing: border-box;
	flex: 0 0 25%;
	max-width: 25%;
}

/* 4列の最終行が3枚（7枚、11枚…）なら3等分。 */
.wp-block-gallery.columns-4 > :nth-child(4n + 1):nth-last-child(3),
.wp-block-gallery.columns-4 > :nth-child(4n + 2):nth-last-child(2),
.wp-block-gallery.columns-4 > :nth-child(4n + 3):last-child,
.gallery.gallery-columns-4 > .gallery-item:nth-child(4n + 1):nth-last-child(3),
.gallery.gallery-columns-4 > .gallery-item:nth-child(4n + 2):nth-last-child(2),
.gallery.gallery-columns-4 > .gallery-item:nth-child(4n + 3):last-child {
	flex-basis: 33.3333%;
	max-width: 33.3333%;
}

/* 4列の最終行が2枚（6枚、10枚…）なら2等分。 */
.wp-block-gallery.columns-4 > :nth-child(4n + 1):nth-last-child(2),
.wp-block-gallery.columns-4 > :nth-child(4n + 2):last-child,
.gallery.gallery-columns-4 > .gallery-item:nth-child(4n + 1):nth-last-child(2),
.gallery.gallery-columns-4 > .gallery-item:nth-child(4n + 2):last-child {
	flex-basis: 50%;
	max-width: 50%;
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	.res{margin:0;padding:0; font-weight:bold; font-size:1.0em !important;　}
	.firstline{margin:0;padding:0; font-weight:normal; font-size:9px; line-height:0em;}
	.entry-card-title {
		font-size: 1.2em;
	}
	.entry-card-thumb {
		width: 80px;
	}
	.entry-card-content {
		margin-left: 110px;
	}
}

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

/*760px以下*/
@media screen and (max-width: 760px){
	.textLine{ font-size:18px; font-weight:bold; margin-top:20px;}
	.iframe_area{ 
		height:290px; 
		margin:0px;
	}
	.toprss {
    	display: none;
  	}
} 
/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/ 
}

/* PC表示モード（835〜1023px）ではカードをPCレイアウトで表示 */
@media screen and (min-width: 835px) and (max-width: 1023px){
  .entry-card-thumb { width: 247px; }
  .entry-card-content { margin-left: 267px; }
}

/* PCのみ: Cocoonの実DOM（#content-in > #main / #sidebar）に合わせて右カラムを拡張。 */
@media screen and (min-width: 1200px){
  #content-in.content-in.wrap{
    width: calc(100% - 20px);
    max-width: 1200px;
  }

  #content-in.content-in > #main.main{
    width: calc(100% - 400px);
  }

  #content-in.content-in > #sidebar.sidebar{
    width: 380px;
  }
}

/* VIPわいわい速報 ブランド調整（複製サイト専用） */
body.vip-branding-placeholder {}
body {
  background-color: #f6f8fc;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 205, 92, .22) 0 42px, transparent 43px),
    radial-gradient(circle at 88% 18%, rgba(116, 181, 255, .18) 0 58px, transparent 59px),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(238,245,255,.92));
  background-attachment: fixed;
}
#header-container {
  background: linear-gradient(135deg, #253b73 0%, #3d67a4 55%, #65a8d8 100%) !important;
  border-bottom: 4px solid #f3c85b;
  box-shadow: 0 4px 16px rgba(34,55,98,.22);
}
#header-container .header-in {
  min-height: 92px;
  align-items: center;
}
.logo-image a {
  display: inline-flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 76px;
  padding: 10px 18px !important;
  color: #fff !important;
  text-decoration: none;
}
.logo-image img { display: none !important; }
.logo-image a::before {
  content: "VIPわいわい速報";
  color: #fff;
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.1;
  text-shadow: 2px 3px 0 rgba(20,38,78,.35);
  white-space: nowrap;
}
.logo-image a::after {
  content: "VIP・なんJの面白い雑談をピックアップ";
  margin-top: 6px;
  color: #fff7d4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
#navi, #navi .navi-in {
  background: rgba(20,42,88,.32) !important;
}
@media (max-width: 768px) {
  #header-container .header-in { min-height: 76px; }
  .logo-image a { min-height: 64px; padding: 7px 12px !important; }
  .logo-image a::before { font-size: 25px; }
  .logo-image a::after { font-size: 10px; margin-top: 4px; }
}

/* VIPわいわい速報 ロゴ領域の統一 */
#header-container,
#header-container .header,
#header-container .header-in,
#header-container .header-container-in,
#header-container .logo,
#header-container .logo-image {
  background: transparent !important;
}
#header-container .header-in {
  max-width: 1200px;
  margin: 0 auto;
}
.logo-image a::before {
  color: #fffdf2;
  text-shadow: 0 2px 0 #1c3566, 2px 3px 7px rgba(10,24,56,.55);
}
.logo-image a::after {
  color: #ffe59a;
  text-shadow: 0 1px 3px rgba(10,24,56,.6);
}
@media (max-width: 768px) {
  #header-container .header-in { min-height: 74px; }
  .logo-image a { padding-left: 14px !important; }
}

/* VIPわいわい速報 背景とロゴの最終調整 */
body {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 205, 92, .18) 0 42px, transparent 43px),
    radial-gradient(circle at 88% 18%, rgba(116, 181, 255, .14) 0 58px, transparent 59px),
    linear-gradient(135deg, #f8fbff 0%, #edf4ff 100%) !important;
  background-attachment: fixed !important;
}
.logo-image a {
  background: rgba(25, 52, 105, .92) !important;
  border: 2px solid rgba(255, 220, 125, .8);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(14, 31, 70, .28);
}
.site-topic-guide {
  border-color: #b8d1ee;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 4px 16px rgba(42, 78, 130, .10);
}
.site-topic-guide h1 { color: #173e78; }
.site-topic-guide p { color: #2f4058; }

/* VIPヘッダー：Cocoonの正式なロゴ画像を表示する。
   横並びヘッダーのauto幅＋非表示画像で枠が0pxになるため、親から幅を確保。 */
#header-container #header-container-in {
  flex-direction: column;
  align-items: stretch;
}
#header-container #header,
#header-container #header-in {
  width: 100%;
  max-width: none;
  min-height: 0;
  height: auto;
  padding: 0;
}
#header-container #header-in { display: block; }
#header-container .logo-header {
  width: 100%;
  /* 本文＋サイドバー（content-in）の外側ラインに揃える。 */
  max-width: 1200px;
  height: auto;
  max-height: none;
  margin: 0 auto;
  padding: 0;
}
#header-container .logo-header > a {
  display: block !important;
  width: 100%;
  height: auto;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
#header-container .logo-header > a::before,
#header-container .logo-header > a::after { content: none !important; display: none !important; }
#header-container .logo-header .site-name-text { display: block; visibility: visible; }
#header-container .logo-header img.header-site-logo-image {
  display: block !important;
  visibility: visible !important;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  max-height: none;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

/* VIP配色の最終統一：ファビコンの紺を基調に、金のタマゴ由来の色を残さない */
:root {
  --vip-navy: #234f7d;
  --vip-navy-dark: #173b60;
  --vip-blue: #4f8fc2;
  --vip-line: #a9c4dc;
  --vip-pale: #eef5fb;
}
body,
body.public-page {
  background-color: #eef4fa !important;
  background-image: linear-gradient(135deg, #f7fbff 0%, #eaf2fa 100%) !important;
}
#header-container {
  background: linear-gradient(135deg, var(--vip-navy-dark), var(--vip-navy) 55%, #3e78a8) !important;
  border-bottom-color: var(--vip-blue) !important;
}
#navi,
#navi .navi-in,
#header-container .navi {
  background: var(--vip-navy-dark) !important;
}
#navi .navi-in a,
#navi .navi-in a:hover { color: #fff !important; }
.site-topic-guide,
.site-topic-guide p,
.site-topic-guide h1 { color: var(--vip-navy-dark) !important; }
.site-topic-guide {
  background: linear-gradient(145deg, #fff 0%, var(--vip-pale) 100%) !important;
  border-color: var(--vip-line) !important;
}
.site-topic-guide .cat-link,
.cat-link,
.tag-link {
  background: var(--vip-navy) !important;
  color: #fff !important;
  border-color: var(--vip-navy-dark) !important;
}
.entry-card-wrap,
#main #list > .entry-card-wrap,
.list.ecb-entry-border .entry-card-wrap,
.related-entry-card-wrap,
.entry-card-wrap.a-wrap {
  background: linear-gradient(135deg, #fff 0%, #f3f8fc 100%) !important;
  background-image: linear-gradient(135deg, #fff 0%, #f3f8fc 100%) !important;
  border-color: rgba(35, 79, 125, .42) !important;
  box-shadow: 0 4px 16px rgba(23, 59, 96, .10) !important;
}
.entry-card-wrap:hover,
#main #list > .entry-card-wrap:hover,
.list.ecb-entry-border .entry-card-wrap:hover,
.related-entry-card-wrap:hover,
.entry-card-wrap.a-wrap:hover {
  background: linear-gradient(135deg, #eef6ff 0%, #dcecfb 100%) !important;
  background-image: linear-gradient(135deg, #eef6ff 0%, #dcecfb 100%) !important;
  border-color: #75b6e8 !important;
  box-shadow: 0 5px 18px rgba(23, 95, 150, .18) !important;
}
.entry-card-thumb { background-color: #edf4fa !important; }
.cat-label,
.cat-label-2449,
.cat-label-2450,
.cat-label-2451,
.cat-label-2452,
.cat-label-2453 {
  background-color: var(--vip-navy) !important;
  color: #fff !important;
  border-color: var(--vip-navy-dark) !important;
}
.sidebar h2,
.sidebar h3,
.widget-title,
.ranking-title {
  background: linear-gradient(135deg, #dceaf6, #f7fbff) !important;
  color: var(--vip-navy-dark) !important;
  border-color: var(--vip-line) !important;
}
.ranking-item,
.popular-entry-card,
.widget_recent_entries li,
.widget_categories li {
  border-color: rgba(35, 79, 125, .22) !important;
}
.pagination .current,
.pagination a:hover,
.page-numbers.current {
  background: var(--vip-navy) !important;
  border-color: var(--vip-navy-dark) !important;
  color: #fff !important;
}
#footer {
  background: var(--vip-navy-dark) !important;
  border-top-color: var(--vip-blue) !important;
}
#footer a:not(.sns-button),
#footer .footer-title { color: #fff !important; }

/* サイドバーとフッター見出しの残存テーマ色を上書き */
.sidebar .widget,
.sidebar .widget-title,
.sidebar h2,
.sidebar h3,
.sidebar .widget-content,
.sidebar .popular-entry-card,
.sidebar .ranking-item {
  background-color: #f3f8fc !important;
  background-image: none !important;
  border-color: var(--vip-line) !important;
}
.sidebar .widget-title,
.sidebar h2,
.sidebar h3 { color: var(--vip-navy-dark) !important; }
#footer .footer-title,
#footer .widget-title,
#footer h2,
#footer h3 { color: var(--vip-navy-dark) !important; }

/* タグランキング */
.vip-tag-ranking {
  margin: 18px 0;
  padding: 0 12px 12px;
  border: 1px solid var(--vip-line);
  border-radius: 10px;
  background: #f3f8fc;
}
.vip-tag-ranking__title {
  margin: 0 -12px 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--vip-line);
  border-radius: 10px 10px 0 0;
  background: linear-gradient(135deg, #dceaf6, #f7fbff);
  color: var(--vip-navy-dark);
  font-size: 1.05rem;
  font-weight: 700;
}
.vip-tag-ranking__list { margin: 0; padding: 0; list-style: none; }
.vip-tag-ranking__item { border-bottom: 1px solid rgba(35, 79, 125, .16); }
.vip-tag-ranking__item:last-child { border-bottom: 0; }
.vip-tag-ranking__item a {
  display: grid;
  grid-template-columns: 2em minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 8px 2px;
  color: var(--vip-navy-dark);
  text-decoration: none;
}
.vip-tag-ranking__item a:hover { color: #d97706; }
.vip-tag-ranking__rank {
  color: var(--vip-blue);
  font-weight: 700;
  text-align: center;
}
.vip-tag-ranking__name { min-width: 0; overflow-wrap: anywhere; }
.vip-tag-ranking__count { color: #6b7f95; font-size: .82em; white-space: nowrap; }

/* 長い半角タイトルでもカード幅からはみ出さないようにする */
.entry-card-title,
.entry-card-title a,
.entry-card-content,
.entry-card-content > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ===== 2026-11-13 デザイン調整（Claude Code）開始 =====
   紺（#173b60）×青（#3d7ab8）の既存の基調に、記事カード見出し・抜粋・サイドバー見出しをそろえる。
   トップのRSS一覧・アフィリエイト枠・広告・計測コード・記事本文のスタイルは触らない。 */
:root {
	--vp-navy: #173b60;
	--vp-blue: #234f7d;
	--vp-accent: #3d7ab8;
	--vp-line: #a9c4dc;
}

/* 記事カード：見出しの真っ青を、サイドバーと同じ濃紺に。ホバーは明るい青。 */
#main #list .entry-card-title,
#main #list > .entry-card-wrap:first-of-type .entry-card-title {
	color: var(--vp-navy) !important;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .01em;
}
#main #list .a-wrap:hover .entry-card-title {
	color: var(--vp-accent) !important;
}
#main #list .entry-card-snippet {
	color: #5d6b7a;
	line-height: 1.65;
}
#main #list .entry-card-meta,
#main #list .entry-card-meta .post-date {
	color: #7a8794;
}
#main #list .cat-label {
	border-radius: 3px;
	font-weight: 700;
	letter-spacing: .02em;
}

/* サイドバー：見出しに青い左線を入れて、面の区切りをはっきりさせる。 */
#popular_entries-2 .widget-sidebar-title,
#views-3 .widget-sidebar-title,
#recent_comments-2 .widget-sidebar-title {
	border-left: 5px solid var(--vp-accent);
	font-weight: 700;
	letter-spacing: .06em;
}
.popular-entry-card-title {
	line-height: 1.5;
}
/* トップ先頭の記事を大きく（金のタマゴと同じ構成）。画像は端まで広げず、上に大きく、見出しと抜粋を下に。 */
#main #list > .entry-card-wrap:first-of-type {
	margin-bottom: 1.4rem;
	padding: .85rem .85rem 1rem;
	border-radius: 12px;
	background: linear-gradient(135deg, #fff 0%, #f3f8fc 100%);
	box-shadow: 0 4px 16px rgba(23, 59, 96, .12);
}
#main #list > .entry-card-wrap:first-of-type .entry-card {
	display: block;
}
#main #list > .entry-card-wrap:first-of-type .entry-card-thumb {
	float: none;
	width: 90%;
	height: 230px;
	margin: 0 auto .8rem;
	overflow: hidden;
	border-radius: 8px;
	background: #eaf2fa;
}
#main #list > .entry-card-wrap:first-of-type .entry-card-thumb-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
#main #list > .entry-card-wrap:first-of-type .entry-card-content {
	margin: 0;
	padding: 0 .35rem;
}
#main #list > .entry-card-wrap:first-of-type .entry-card-title {
	margin: 0 0 .45rem;
	font-size: 1.45rem;
	line-height: 1.5;
}
#main #list > .entry-card-wrap:first-of-type .entry-card-snippet {
	color: #5d6b7a;
	font-size: .86rem;
	line-height: 1.65;
}
@media screen and (max-width: 834px) {
	#main #list > .entry-card-wrap:first-of-type {
		padding: .65rem .6rem .8rem;
	}
	#main #list > .entry-card-wrap:first-of-type .entry-card-thumb {
		display: flex !important;
		flex-direction: column;
		align-items: stretch;
		width: 100% !important;
		height: auto !important;
		overflow: visible !important;
		margin: 0 0 .35rem;
	}
	#main #list > .entry-card-wrap:first-of-type .entry-card-thumb-image {
		flex: none;
		width: 94%;
		height: 190px;
		margin: 0 auto .35rem;
		border-radius: 8px;
	}
	#main #list > .entry-card-wrap:first-of-type .entry-card-thumb .cat-label {
		top: .35rem;
		left: .35rem;
		margin-top: 0;
	}
	#main #list > .entry-card-wrap:first-of-type .entry-card-title {
		font-size: 1.12rem;
	}
	#main #list > .entry-card-wrap:first-of-type .entry-card-meta,
	#main #list > .entry-card-wrap:first-of-type .entry-card-info,
	#main #list > .entry-card-wrap:first-of-type .entry-card-categorys {
		position: static;
		float: none;
		clear: both;
	}
	#main #list > .entry-card-wrap:first-of-type .entry-card-meta {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: .45rem;
		margin-top: .45rem;
		padding-top: .35rem;
	}
}
/* ===== 2026-11-13 デザイン調整（Claude Code）終了 ===== */
