@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@800&family=Noto+Sans+JP:wght@400;500;700&display=swap");

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

/************************************
** ぐりろぐ A案（はてな時代の配色を洗練）2026-11
** 青 #2F74CE / 水色 #8FD3F4 / 黄マーカー
************************************/
:root{
  --gr-blue:#2F74CE;
  --gr-blue-dark:#1F5FAF;
  --gr-sky:#8FD3F4;
  --gr-sky-soft:#E4F4FC;
  --gr-bg:#F4F7FB;
  --gr-text:#2E3440;
  --gr-head:#1E2A3A;
  --gr-sub:#5B6675;
  --gr-line:#DDE6EF;
  --gr-shadow:0 1px 2px rgba(20,40,80,.06),0 8px 24px rgba(20,40,80,.05);
}

/* 全体 */
body{
  background:var(--gr-bg);
  color:var(--gr-text);
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}
a{color:var(--gr-blue-dark);}
a:hover{color:#16477F;}
.content,#content{background:transparent;}
.main,.sidebar{background:transparent;border:none;padding:0;}

/* ヘッダー：青い帯＋丸ゴシックのロゴ */
.header-container,#header-container{background:var(--gr-blue);}
.header,#header{background:var(--gr-blue);color:#fff;}
#header-in{padding:40px 16px 8px;text-align:center;}
.logo-header{margin:0;padding:0;}
.logo-header .site-name-text{
  font-family:"M PLUS Rounded 1c",sans-serif;
  font-weight:800;font-size:52px;letter-spacing:.06em;color:#fff;line-height:1.1;
}
.site-name-text-link,.site-name-text-link:hover{color:#fff;text-decoration:none;}
.tagline{color:#fff;font-size:14px;letter-spacing:.08em;opacity:1;order:2;margin:10px 0 0;}
#header-in{display:flex;flex-direction:column;align-items:center;}

/* グローバルメニュー：タブ風 */
.navi,#navi{background:var(--gr-blue);border:none;}
#navi .navi-in>ul{justify-content:center;flex-wrap:wrap;gap:4px;padding-top:20px;}
#navi .navi-in>ul>li{width:auto;height:auto;}
#navi .navi-in>ul>li>a{
  color:#fff;font-size:14px;font-weight:500;padding:12px 20px;border-radius:12px 12px 0 0;
  line-height:1.4;height:auto;
}
#navi .navi-in>ul>li>a:hover,
#navi .navi-in>ul>li.current-menu-item>a{background:var(--gr-bg);color:var(--gr-blue);font-weight:700;}
#navi .navi-in>ul .sub-menu{background:#fff;}
#navi .navi-in>ul .sub-menu a{color:var(--gr-text);}

/* レイアウト */
#content-in{padding-top:36px;}
.main{border-radius:16px;}

/* 記事一覧カード */
.ect-entry-card .entry-card-wrap,
.entry-card-wrap{
  background:#fff;border:none;border-radius:16px;box-shadow:var(--gr-shadow);
  padding:16px;margin-bottom:20px;transition:transform .15s ease,box-shadow .15s ease;
}
.entry-card-wrap:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(20,40,80,.08),0 12px 28px rgba(20,40,80,.08);background:#fff;}
.entry-card-thumb img{border-radius:10px;}
.entry-card-title{color:var(--gr-head);font-size:17px;font-weight:700;line-height:1.6;}
.entry-card-snippet{color:#556070;font-size:13px;}
.entry-card-meta,.e-card-info,.entry-card-meta .fa{color:var(--gr-sub);font-size:12px;}
.cat-label{
  background:var(--gr-blue);color:#fff;border:none;border-radius:999px;
  font-size:11px;font-weight:700;padding:3px 10px;top:8px;left:8px;
}

/* サイドバー */
.sidebar .widget{
  background:#fff;border-radius:16px;box-shadow:var(--gr-shadow);
  padding:22px 24px;margin-bottom:24px;
}
.sidebar h2,.sidebar h3,.sidebar .widget-title,.sidebar .wp-block-heading{
  background:none;color:var(--gr-head);font-size:15px;font-weight:700;
  padding:0 0 10px;margin:0 0 12px;border:none;border-bottom:3px double var(--gr-line);
}
.sidebar ul{padding-left:0;}
.sidebar li{list-style:none;}
.sidebar li a{display:block;padding:9px 2px;border-bottom:1px solid #EEF2F6;color:var(--gr-text);font-size:14px;}
.sidebar li a:hover{color:var(--gr-blue);background:none;}
.sidebar .wp-block-search__input{border:1px solid #CBD6E2;border-radius:10px;padding:10px 12px;}
.sidebar .wp-block-search__button{background:var(--gr-blue);color:#fff;border:none;border-radius:10px;font-weight:700;min-height:44px;}
.gr-profile{text-align:center;}
.gr-profile .gr-profile-band{background:var(--gr-sky);height:48px;margin:-22px -24px 0;border-radius:16px 16px 0 0;}
.gr-profile .gr-profile-icon{
  width:84px;height:84px;margin:-42px auto 8px;border-radius:50%;background:#fff;border:4px solid #fff;
  box-shadow:0 2px 8px rgba(20,40,80,.12);display:flex;align-items:center;justify-content:center;
  font-family:"M PLUS Rounded 1c",sans-serif;font-weight:800;font-size:30px;color:var(--gr-blue);
}
.gr-profile .gr-profile-name{font-weight:700;font-size:17px;color:var(--gr-head);}
.gr-profile p{font-size:13px;line-height:1.8;color:#556070;margin:8px 0 0;}

/* 記事ページ */
.article{background:#fff;border-radius:16px;box-shadow:var(--gr-shadow);padding:40px 44px 48px;}
.article .entry-title{font-size:28px;line-height:1.55;color:var(--gr-head);}
.article .entry-content{font-size:16px;line-height:2;color:var(--gr-text);}
.article h2{
  background:var(--gr-blue);color:#fff;font-size:20px;line-height:1.5;
  padding:14px 20px;border:none;border-radius:10px;margin:2.4em 0 1em;
}
.article h3{
  background:none;color:var(--gr-head);font-size:18px;
  padding:0 0 8px;border:none;border-bottom:3px solid var(--gr-sky);border-left:none;margin:2em 0 .8em;
}
.article h4{color:var(--gr-head);border:none;padding:0;border-left:4px solid var(--gr-sky);padding-left:10px;}
.article table th{background:var(--gr-sky-soft);color:var(--gr-head);}
.article table th,.article table td{border-color:var(--gr-line);}
.toc{border:2px solid var(--gr-sky);border-radius:12px;background:#fff;padding:18px 24px;}
.toc-title{color:var(--gr-head);font-weight:700;}
.article blockquote{background:var(--gr-bg);border:none;border-radius:12px;}
.cat-link{background:var(--gr-sky-soft);color:var(--gr-blue-dark);border-radius:999px;padding:3px 12px;font-weight:700;}
.tag-link{border-color:var(--gr-line);border-radius:999px;}

/* はてな時代の黄色マーカー（斜体・em・strong を蛍光ペン風に） */
.article em,.article i{
  font-style:normal;font-weight:700;margin:0 .1em;padding:.1em .2em;
  background:linear-gradient(transparent 60%,rgba(252,252,84,.85) 60%);
}

/* フッター */
.footer,#footer{background:var(--gr-blue);color:#fff;margin-top:48px;}
#footer a,.footer .navi-footer a{color:#fff;}
.footer-bottom-logo .site-name-text{font-family:"M PLUS Rounded 1c",sans-serif;font-weight:800;font-size:22px;color:#fff;}
.copyright{color:#fff;}

/* リッチ化 2026-11-29 */
#header{position:relative;overflow:hidden;}
#header::before,#header::after{content:"";position:absolute;border-radius:50%;background:rgba(143,211,244,.28);pointer-events:none;}
#header::before{width:420px;height:420px;right:-120px;top:-220px;}
#header::after{width:300px;height:300px;left:-140px;bottom:-200px;}
#header-in{position:relative;z-index:1;}
.logo-header .site-name-text{text-shadow:0 2px 0 rgba(20,60,120,.18);}
.tagline{display:inline-block;background:linear-gradient(transparent 62%,rgba(252,252,84,.55) 62%);padding:0 .3em;}
.gr-profile .gr-profile-icon img{width:76px;height:76px;border-radius:18px;display:block;}
.gr-profile .gr-profile-icon{background:#fff;}
.gr-profile .gr-profile-btn{display:inline-block;margin-top:4px;background:var(--gr-blue);color:#fff;padding:10px 20px;border-radius:999px;font-size:13px;font-weight:700;}
.gr-profile .gr-profile-btn:hover{background:var(--gr-blue-dark);color:#fff;}
.entry-card-thumb{overflow:hidden;border-radius:10px;}
.entry-card-thumb img{transition:transform .3s ease;}
.entry-card-wrap:hover .entry-card-thumb img{transform:scale(1.04);}
.article h2{position:relative;box-shadow:0 4px 0 rgba(47,116,206,.18);}
.footer-bottom-logo .site-name-text::before{content:"";display:inline-block;width:28px;height:28px;margin-right:8px;vertical-align:-5px;border-radius:7px;background:url(https://grisoluto.com/wp-content/uploads/2026/11/grisoluto_site_icon.png) center/cover;box-shadow:0 0 0 2px rgba(255,255,255,.6);}
.go-to-top-button{background:var(--gr-blue);color:#fff;border-radius:50%;}

/************************************
** レスポンシブ
************************************/
@media screen and (max-width: 1023px){
  .main{padding:0;}
}
@media screen and (max-width: 834px){
  #content-in{padding:12px 12px 0;}
  .entry-card-wrap{margin-bottom:14px;}
  .main{padding:0 !important;margin-top:0;}
  .logo-header .site-name-text{font-size:32px;}
  #header-in{padding:24px 16px 16px;}
  .logo-header .site-name-text{font-size:38px;}
  .tagline{font-size:12px;}
  .article{padding:24px 18px 32px;border-radius:12px;}
  .article .entry-title{font-size:22px;}
  .article h2{font-size:18px;padding:12px 16px;}
}
@media screen and (max-width: 480px){
  .entry-card-title{font-size:15px;}
  .entry-card-wrap{padding:12px;}
}
