@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* コンテンツ上部の余白を消す */
.content {
  margin-top: 0;
  padding-top: 0;
}
/* コンテンツ両サイドの余白を消す（必要な場合） */
.main-content {
  padding-left: 0;
  padding-right: 0;
}

/* SGH ARTICLE TEMPLATE V1 */
.single-post{--sgh-navy:#07192f;--sgh-blue:#092a4b;--sgh-cyan:#16d4e8;--sgh-yellow:#ffd84d;--sgh-pink:#ff4e78;--sgh-ink:#183149;--sgh-pale:#f4f8fb}
.single-post #header-container{position:relative;z-index:100;background:#04101e!important;border-bottom:1px solid #183750}
.single-post #header-container-in{width:min(1120px,calc(100% - 40px));margin:auto;display:flex;align-items:stretch}
.single-post #header{flex:0 0 220px;min-width:220px;background:#04101e!important;border-right:1px solid #183750}
.single-post #header-in{width:100%!important;height:66px!important;min-height:66px!important;margin:0!important;padding:0!important}
.single-post .logo-header{height:66px!important;margin:0!important;padding:0!important;display:flex;align-items:center;justify-content:center}
.single-post .site-name-text-link,.single-post .site-name-text{display:flex!important;align-items:center;justify-content:center;height:66px!important}
.single-post .header-site-logo-image{content:url("https://suguhaya.jp/wp-content/uploads/suguhaya-retro-logo-v1.png");display:block!important;width:150px!important;height:52px!important;max-width:150px!important;object-fit:contain}
.single-post #navi{flex:1;background:#04101e!important}
.single-post #navi-in{width:100%!important;max-width:none!important;height:66px!important;margin:0!important}
.single-post #navi .menu-header{display:flex!important;height:66px!important}
.single-post #navi .menu-header>li{display:flex;flex:1 1 auto}
.single-post #navi .menu-header>li>a{display:flex;align-items:center;justify-content:center;width:100%;min-height:66px;padding:10px 18px;border-right:1px solid #183750;background:#04101e!important;color:#fff!important;font-size:14px;font-weight:900;white-space:nowrap}
.single-post #navi .menu-header>li>a:hover{background:#0d2d49!important;color:var(--sgh-cyan)!important}
.single-post #navi #menu-item-703>a{background:var(--sgh-pink)!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;transform:none!important}
.single-post #navi #menu-item-703>a:hover{background:#e63b65!important}
.single-post #navi .menu-mobile{display:none!important}
.single-post #content{width:100%!important;margin:0!important;padding:64px 20px 90px!important;background:var(--sgh-pale)!important}
.single-post #content-in{width:100%!important;max-width:none!important;margin:0!important;display:block!important}
.single-post #main{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.single-post #sidebar{display:none!important}
.single-post .article{width:min(900px,100%)!important;margin:0 auto!important;padding:58px 64px 72px!important;border:1px solid #dce7ef!important;border-radius:20px!important;background:#fff!important;box-shadow:0 18px 48px rgba(16,36,58,.1)!important;color:var(--sgh-ink)}
.single-post .article-header{margin:0 0 38px!important;padding:0 0 30px!important;border-bottom:1px solid #dce7ef}
.single-post .entry-title{margin:0 0 22px!important;padding:0!important;border:0!important;background:none!important;color:var(--sgh-navy)!important;font-size:clamp(32px,4.2vw,48px)!important;line-height:1.35!important;letter-spacing:-.025em}
.single-post .entry-title:before,.single-post .entry-title:after{display:none!important}
.single-post .date-tags{display:flex!important;gap:10px;flex-wrap:wrap;justify-content:flex-start!important;color:#6b8295!important;font-size:13px}
.single-post .entry-categories-tags{margin-top:14px!important}
.single-post .entry-categories a,.single-post .cat-link{display:inline-flex!important;padding:6px 12px!important;border:0!important;border-radius:999px!important;background:var(--sgh-yellow)!important;color:#173149!important;font-size:12px!important;font-weight:900!important}
.single-post .eye-catch-wrap{margin:28px 0 38px!important}
.single-post .eye-catch-wrap img,.single-post .entry-content .wp-block-image img,.single-post .entry-content>p img{height:auto;border-radius:15px;box-shadow:0 12px 30px rgba(16,36,58,.12)}
.single-post .entry-content{font-size:17px;color:#334e64}
.single-post .entry-content p{margin:0 0 1.7em;line-height:2}
.single-post .entry-content h2{position:relative;margin:64px 0 26px!important;padding:0 0 16px!important;border:0!important;background:none!important;color:var(--sgh-navy)!important;font-size:clamp(26px,3vw,34px)!important;line-height:1.45!important}
.single-post .entry-content h2:before{display:none!important}
.single-post .entry-content h2:after{content:""!important;position:absolute!important;left:0!important;bottom:0!important;display:block!important;width:78px!important;height:4px!important;background:var(--sgh-cyan)!important}
.single-post .entry-content h3{margin:42px 0 20px!important;padding:9px 0 9px 16px!important;border:0!important;border-left:5px solid var(--sgh-yellow)!important;background:none!important;color:var(--sgh-navy)!important;font-size:24px!important;line-height:1.5!important}
.single-post .entry-content h3:before,.single-post .entry-content h3:after{display:none!important}
.single-post .entry-content h4{color:#075f6a;border-bottom:2px solid #b9e8ed;padding-bottom:8px}
.single-post .entry-content a{color:#008fa1;font-weight:700;text-decoration:underline}
.single-post .entry-content blockquote{margin:34px 0;padding:24px 28px;border:1px solid #cfe9ec;border-left:5px solid var(--sgh-cyan);border-radius:0 12px 12px 0;background:#f2fbfc;color:#31566a}
.single-post .entry-content .wp-block-table{overflow-x:auto;border:1px solid #d8e5ed;border-radius:12px;box-shadow:0 8px 22px rgba(16,36,58,.07)}
.single-post .entry-content table{margin:0!important;background:#fff}
.single-post .entry-content th{background:var(--sgh-navy);color:#fff}
.single-post .entry-content th,.single-post .entry-content td{padding:15px 17px}
.single-post .toc{margin:35px 0!important;border:1px solid #cfe9ec!important;border-radius:14px!important;background:#f6fcfd!important;box-shadow:none!important}
.single-post .toc-title{color:var(--sgh-navy)!important;font-weight:900!important}
.single-post .sgh-article-footer{margin:64px -24px 0;padding:36px;border-radius:16px;background:linear-gradient(135deg,var(--sgh-navy),var(--sgh-blue));color:#fff}
.single-post .sgh-author-card{display:grid;grid-template-columns:90px 1fr;gap:22px;align-items:center;margin-bottom:30px;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.17)}
.single-post .sgh-author-logo{width:90px;height:90px;display:grid;place-items:center;border:2px solid var(--sgh-cyan);border-radius:16px;background:#04101e;overflow:hidden}
.single-post .sgh-author-logo img{width:80px;height:64px;object-fit:contain}
.single-post .sgh-author-card small{display:block;margin-bottom:7px;color:var(--sgh-cyan);font:900 12px/1.4 ui-monospace,monospace;letter-spacing:.16em}
.single-post .sgh-author-title{margin:0 0 8px!important;color:#fff!important;font-size:24px!important;font-weight:900;line-height:1.45}
.single-post .sgh-author-card p{margin:0!important;color:#bfd1e0;line-height:1.8}
.single-post .sgh-article-cta{text-align:center}
.single-post .sgh-article-cta small{display:block;margin-bottom:8px;color:var(--sgh-cyan);font:900 12px/1.4 ui-monospace,monospace;letter-spacing:.16em}
.single-post .sgh-article-cta-title{margin:0 0 12px!important;color:#fff!important;font-size:30px!important;font-weight:900;line-height:1.45}
.single-post .sgh-article-cta p{margin:0 0 22px!important;color:#bfd1e0}
.single-post .sgh-article-cta-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.single-post .sgh-article-cta-buttons a{display:inline-flex;align-items:center;justify-content:center;min-width:230px;padding:15px 22px;border-radius:8px;text-decoration:none!important;font-weight:900}
.single-post .sgh-price-button{border:2px solid var(--sgh-cyan);color:var(--sgh-cyan)!important}
.single-post .sgh-order-button{background:var(--sgh-pink);color:#fff!important;box-shadow:0 6px 0 #a82047}
.single-post .related-entry-heading,.single-post .pager-post-navi{width:min(900px,100%);margin-left:auto!important;margin-right:auto!important}
@media screen and (max-width:760px){
 .single-post #header-container-in{width:100%;display:block}
 .single-post #header{width:100%;min-width:0;border-right:0;border-bottom:1px solid #183750}
 .single-post #header-in,.single-post .logo-header,.single-post .site-name-text-link,.single-post .site-name-text{height:58px!important;min-height:58px!important}
 .single-post .header-site-logo-image{width:145px!important;height:46px!important}
 .single-post #navi{display:block!important}
 .single-post #navi-in{height:auto!important}
 .single-post #navi .menu-header{display:grid!important;height:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))}
 .single-post #navi .menu-header>li{display:flex!important}
 .single-post #navi .menu-header>li:last-child{grid-column:1/-1}
 .single-post #navi .menu-header>li>a{min-height:48px;padding:9px 6px;font-size:12px;border-bottom:1px solid #183750}
 .single-post #content{padding:28px 12px 64px!important}
 .single-post .article{padding:34px 20px 48px!important;border-radius:14px!important}
 .single-post .article-header{margin-bottom:28px!important;padding-bottom:22px!important}
 .single-post .entry-title{font-size:30px!important}
 .single-post .entry-content{font-size:16px}
 .single-post .entry-content h2{margin-top:48px!important;font-size:25px!important}
 .single-post .entry-content h3{font-size:21px!important}
 .single-post .sgh-article-footer{margin:50px 0 0;padding:27px 20px}
 .single-post .sgh-author-card{grid-template-columns:1fr;text-align:center}
 .single-post .sgh-author-logo{margin:auto}
 .single-post .sgh-article-cta-buttons a{width:100%;min-width:0}
}

/* 新しい共通記事フッターと重複する旧テンプレートを非表示 */
.single-post .entry-content>.template-box.template-3{display:none!important}


/* SGH CATEGORY AND CAMPAIGN TEMPLATE V1 */
:is(.archive.category,.page-id-2731){--sgh-navy:#07192f;--sgh-blue:#092a4b;--sgh-cyan:#16d4e8;--sgh-yellow:#ffd84d;--sgh-pink:#ff4e78;--sgh-ink:#183149;--sgh-pale:#f4f8fb}
:is(.archive.category,.page-id-2731) #header-container{position:relative;z-index:100;background:#04101e!important;border-bottom:1px solid #183750}
:is(.archive.category,.page-id-2731) #header-container-in{width:min(1120px,calc(100% - 40px));margin:auto;display:flex;align-items:stretch}
:is(.archive.category,.page-id-2731) #header{flex:0 0 220px;min-width:220px;background:#04101e!important;border-right:1px solid #183750}
:is(.archive.category,.page-id-2731) #header-in{width:100%!important;height:66px!important;min-height:66px!important;margin:0!important;padding:0!important}
:is(.archive.category,.page-id-2731) .logo-header{height:66px!important;margin:0!important;padding:0!important;display:flex;align-items:center;justify-content:center}
:is(.archive.category,.page-id-2731) .site-name-text-link,
:is(.archive.category,.page-id-2731) .site-name-text{display:flex!important;align-items:center;justify-content:center;height:66px!important}
:is(.archive.category,.page-id-2731) .header-site-logo-image{content:url("https://suguhaya.jp/wp-content/uploads/suguhaya-retro-logo-v1.png");display:block!important;width:150px!important;height:52px!important;max-width:150px!important;object-fit:contain}
:is(.archive.category,.page-id-2731) #navi{flex:1;background:#04101e!important}
:is(.archive.category,.page-id-2731) #navi-in{width:100%!important;max-width:none!important;height:66px!important;margin:0!important}
:is(.archive.category,.page-id-2731) #navi .menu-header{display:flex!important;height:66px!important}
:is(.archive.category,.page-id-2731) #navi .menu-header>li{display:flex;flex:1 1 auto}
:is(.archive.category,.page-id-2731) #navi .menu-header>li>a{display:flex;align-items:center;justify-content:center;width:100%;min-height:66px;padding:10px 18px;border-right:1px solid #183750;background:#04101e!important;color:#fff!important;font-size:14px;font-weight:900;white-space:nowrap}
:is(.archive.category,.page-id-2731) #navi .menu-header>li>a:hover{background:#0d2d49!important;color:var(--sgh-cyan)!important}
:is(.archive.category,.page-id-2731) #navi #menu-item-703>a{background:var(--sgh-pink)!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;transform:none!important}
:is(.archive.category,.page-id-2731) #navi .menu-mobile{display:none!important}
.archive.category #content{width:100%!important;margin:0!important;padding:68px 20px 90px!important;background:var(--sgh-pale)!important}
.archive.category #content-in{width:min(1120px,100%)!important;max-width:none!important;margin:auto!important;display:block!important}
.archive.category #main{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.archive.category #sidebar{display:none!important}
.archive.category .archive-title{position:relative;margin:0 0 34px!important;padding:0 0 18px!important;border:0!important;background:none!important;color:var(--sgh-navy)!important;font-size:clamp(34px,5vw,54px)!important;line-height:1.25!important}
.archive.category .archive-title:before{content:"ARTICLE ARCHIVE";display:block;margin-bottom:12px;color:var(--sgh-cyan);font:900 13px/1.4 ui-monospace,monospace;letter-spacing:.2em}
.archive.category .archive-title:after{content:"";position:absolute;left:0;bottom:0;width:86px;height:4px;background:var(--sgh-cyan)}
.archive.category #list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.archive.category #list .list-title{grid-column:1/-1;margin:0 0 5px;color:#537087;font-size:16px}
.archive.category .entry-card-wrap{display:block!important;margin:0!important;padding:0!important;overflow:hidden;border:1px solid #d8e5ed!important;border-radius:16px!important;background:#fff!important;box-shadow:0 12px 30px rgba(16,36,58,.08)!important;transition:.2s}
.archive.category .entry-card-wrap:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(16,36,58,.14)!important}
.archive.category .entry-card{display:block!important}
.archive.category .entry-card-thumb{float:none!important;width:100%!important;margin:0!important;aspect-ratio:16/9;overflow:hidden;background:#dce7ef}
.archive.category .entry-card-thumb img{width:100%!important;height:100%!important;object-fit:cover;transition:.25s}
.archive.category .entry-card-wrap:hover .entry-card-thumb img{transform:scale(1.03)}
.archive.category .entry-card-content{margin:0!important;padding:23px 24px 25px!important;color:#365168}
.archive.category .entry-card-title{margin:0 0 12px!important;color:var(--sgh-navy)!important;font-size:21px!important;line-height:1.55!important}
.archive.category .entry-card-snippet{color:#5d7487!important;font-size:14px!important;line-height:1.8!important}
.archive.category .post-date,.archive.category .post-update{color:#7a91a3!important;font-size:12px!important}
.archive.category #breadcrumb{margin:45px 0 0!important;padding:18px 0 0!important;border-top:1px solid #d7e3ec;color:#688094}
.page-id-2731 #content{width:100%!important;margin:0!important;padding:58px 20px 90px!important;background:var(--sgh-pale)!important}
.page-id-2731 #content-in{width:min(1120px,100%)!important;max-width:none!important;margin:auto!important;display:block!important}
.page-id-2731 #main{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.page-id-2731 #sidebar{display:none!important}
.page-id-2731 .article{overflow:hidden;margin:0!important;padding:0!important;border:1px solid #d8e5ed!important;border-radius:20px!important;background:#fff!important;box-shadow:0 18px 48px rgba(16,36,58,.1)!important}
.page-id-2731 .article-header{margin:0!important;padding:62px 64px!important;background:radial-gradient(circle at 82% 20%,rgba(22,212,232,.28),transparent 34%),linear-gradient(135deg,var(--sgh-navy),var(--sgh-blue))!important}
.page-id-2731 .entry-title{margin:0!important;padding:0!important;border:0!important;background:none!important;color:#fff!important;font-size:clamp(35px,5vw,58px)!important;line-height:1.3!important;letter-spacing:-.025em}
.page-id-2731 .entry-title:before,.page-id-2731 .entry-title:after{display:none!important}
.page-id-2731 .article-header:before{content:"RETRO GAME CAMPAIGN";display:block;margin-bottom:16px;color:var(--sgh-cyan);font:900 13px/1.4 ui-monospace,monospace;letter-spacing:.2em}
.page-id-2731 .entry-content{padding:56px 64px 72px!important;color:#334e64;font-size:17px}
.page-id-2731 .entry-content p{line-height:2}
.page-id-2731 .entry-content h2{position:relative;margin:64px 0 28px!important;padding:0 0 16px!important;border:0!important;background:none!important;color:var(--sgh-navy)!important;font-size:clamp(27px,3.5vw,38px)!important;line-height:1.4!important}
.page-id-2731 .entry-content h2:first-of-type{margin-top:15px!important}
.page-id-2731 .entry-content h2:before{display:none!important}
.page-id-2731 .entry-content h2:after{content:""!important;position:absolute!important;left:0!important;bottom:0!important;display:block!important;width:82px!important;height:4px!important;background:var(--sgh-cyan)!important}
.page-id-2731 .entry-content .toc{margin:0 0 50px!important;border:1px solid #cfe9ec!important;border-radius:14px!important;background:#f6fcfd!important;box-shadow:none!important}
.page-id-2731 .wp-block-columns{gap:18px!important}
.page-id-2731 .wp-block-column{overflow:hidden;padding:20px!important;border:1px solid #d8e5ed;border-radius:14px;background:#fff;box-shadow:0 9px 24px rgba(16,36,58,.08)}
.page-id-2731 .wp-block-column img{border-radius:10px}
.page-id-2731 .button-block a{border-radius:8px!important;background:var(--sgh-pink)!important;color:#fff!important;box-shadow:0 6px 0 #a82047!important;font-weight:900!important}
.page-id-2731 .entry-content>p a{color:#008fa1!important;font-weight:800}
.page-id-2731 .entry-content>.wp-block-image img{border-radius:16px;box-shadow:0 12px 30px rgba(16,36,58,.12)}
@media screen and (max-width:760px){
 :is(.archive.category,.page-id-2731) #header-container-in{width:100%;display:block}
 :is(.archive.category,.page-id-2731) #header{width:100%;min-width:0;border-right:0;border-bottom:1px solid #183750}
 :is(.archive.category,.page-id-2731) #header-in,
 :is(.archive.category,.page-id-2731) .logo-header,
 :is(.archive.category,.page-id-2731) .site-name-text-link,
 :is(.archive.category,.page-id-2731) .site-name-text{height:58px!important;min-height:58px!important}
 :is(.archive.category,.page-id-2731) .header-site-logo-image{width:145px!important;height:46px!important}
 :is(.archive.category,.page-id-2731) #navi{display:block!important}
 :is(.archive.category,.page-id-2731) #navi-in{height:auto!important}
 :is(.archive.category,.page-id-2731) #navi .menu-header{display:grid!important;height:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))}
 :is(.archive.category,.page-id-2731) #navi .menu-header>li{display:flex!important}
 :is(.archive.category,.page-id-2731) #navi .menu-header>li:last-child{grid-column:1/-1}
 :is(.archive.category,.page-id-2731) #navi .menu-header>li>a{min-height:48px;padding:9px 6px;font-size:12px;border-bottom:1px solid #183750}
 .archive.category #content{padding:42px 14px 65px!important}
 .archive.category #list{grid-template-columns:1fr;gap:17px}
 .archive.category .entry-card-content{padding:19px 18px 22px!important}
 .page-id-2731 #content{padding:28px 12px 64px!important}
 .page-id-2731 .article{border-radius:14px!important}
 .page-id-2731 .article-header{padding:42px 22px!important}
 .page-id-2731 .entry-title{font-size:32px!important}
 .page-id-2731 .entry-content{padding:35px 20px 52px!important;font-size:16px}
 .page-id-2731 .entry-content h2{margin-top:48px!important;font-size:25px!important}
 .page-id-2731 .wp-block-columns{display:block!important}
 .page-id-2731 .wp-block-column{margin-bottom:14px}
}


/* SGH SITEWIDE UNIFIED TEMPLATE V1 */
body.public-page{--sgh-navy:#07192f;--sgh-blue:#092a4b;--sgh-cyan:#16d4e8;--sgh-yellow:#ffd84d;--sgh-pink:#ff4e78;--sgh-ink:#183149;--sgh-pale:#f4f8fb}
body.public-page:not(.home):not(.content-only) #header-container{position:relative;z-index:100;background:#04101e!important;border-bottom:1px solid #183750}
body.public-page:not(.home):not(.content-only) #header-container-in{width:min(1120px,calc(100% - 40px));margin:auto;display:flex;align-items:stretch}
body.public-page:not(.home):not(.content-only) #header{flex:0 0 220px;min-width:220px;background:#04101e!important;border-right:1px solid #183750}
body.public-page:not(.home):not(.content-only) #header-in{width:100%!important;height:66px!important;min-height:66px!important;margin:0!important;padding:0!important}
body.public-page:not(.home):not(.content-only) .logo-header{height:66px!important;margin:0!important;padding:0!important;display:flex;align-items:center;justify-content:center}
body.public-page:not(.home):not(.content-only) .site-name-text-link,
body.public-page:not(.home):not(.content-only) .site-name-text{display:flex!important;align-items:center;justify-content:center;height:66px!important}
body.public-page:not(.home):not(.content-only) .header-site-logo-image{content:url("https://suguhaya.jp/wp-content/uploads/suguhaya-retro-logo-v1.png");display:block!important;width:150px!important;height:52px!important;max-width:150px!important;object-fit:contain}
body.public-page:not(.home):not(.content-only) #navi{flex:1;background:#04101e!important}
body.public-page:not(.home):not(.content-only) #navi-in{width:100%!important;max-width:none!important;height:66px!important;margin:0!important}
body.public-page:not(.home):not(.content-only) #navi .menu-header{display:flex!important;height:66px!important}
body.public-page:not(.home):not(.content-only) #navi .menu-header>li{display:flex;flex:1 1 auto}
body.public-page:not(.home):not(.content-only) #navi .menu-header>li>a{display:flex;align-items:center;justify-content:center;width:100%;min-height:66px;padding:10px 18px;border-right:1px solid #183750;background:#04101e!important;color:#fff!important;font-size:14px;font-weight:900;white-space:nowrap}
body.public-page:not(.home):not(.content-only) #navi .menu-header>li>a:hover{background:#0d2d49!important;color:var(--sgh-cyan)!important}
body.public-page:not(.home):not(.content-only) #navi #menu-item-703>a{background:var(--sgh-pink)!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;transform:none!important}
body.public-page:not(.home):not(.content-only) #navi .menu-mobile{display:none!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) #content,
body.single:not(.single-post) #content{width:100%!important;margin:0!important;padding:58px 20px 90px!important;background:var(--sgh-pale)!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) #content-in,
body.single:not(.single-post) #content-in{width:min(1120px,100%)!important;max-width:none!important;margin:auto!important;display:block!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) #main,
body.single:not(.single-post) #main{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) #sidebar,
body.single:not(.single-post) #sidebar{display:none!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) .article,
body.single:not(.single-post) .article{overflow:hidden;margin:0!important;padding:0!important;border:1px solid #d8e5ed!important;border-radius:20px!important;background:#fff!important;box-shadow:0 18px 48px rgba(16,36,58,.1)!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) .article-header,
body.single:not(.single-post) .article-header{margin:0!important;padding:54px 64px!important;background:radial-gradient(circle at 82% 20%,rgba(22,212,232,.24),transparent 34%),linear-gradient(135deg,var(--sgh-navy),var(--sgh-blue))!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) .article-header:before,
body.single:not(.single-post) .article-header:before{content:"SUGUHAYA INFORMATION";display:block;margin-bottom:14px;color:var(--sgh-cyan);font:900 12px/1.4 ui-monospace,monospace;letter-spacing:.2em}
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-title,
body.single:not(.single-post) .entry-title{margin:0!important;padding:0!important;border:0!important;background:none!important;color:#fff!important;font-size:clamp(34px,4.6vw,54px)!important;line-height:1.32!important;letter-spacing:-.02em}
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-title:before,
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-title:after,
body.single:not(.single-post) .entry-title:before,
body.single:not(.single-post) .entry-title:after{display:none!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-content,
body.single:not(.single-post) .entry-content{padding:52px 64px 72px!important;color:#334e64;font-size:17px}
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-content p,
body.single:not(.single-post) .entry-content p{line-height:2}
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-content h2,
body.single:not(.single-post) .entry-content h2{position:relative;margin:58px 0 26px!important;padding:0 0 16px!important;border:0!important;background:none!important;color:var(--sgh-navy)!important;font-size:clamp(27px,3.4vw,37px)!important;line-height:1.42!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-content h2:before,
body.single:not(.single-post) .entry-content h2:before{display:none!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-content h2:after,
body.single:not(.single-post) .entry-content h2:after{content:""!important;position:absolute!important;left:0!important;bottom:0!important;display:block!important;width:80px!important;height:4px!important;background:var(--sgh-cyan)!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-content h3,
body.single:not(.single-post) .entry-content h3{margin:38px 0 19px!important;padding:8px 0 8px 15px!important;border:0!important;border-left:5px solid var(--sgh-yellow)!important;background:none!important;color:var(--sgh-navy)!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-content .toc,
body.single:not(.single-post) .entry-content .toc{border:1px solid #cfe9ec!important;border-radius:14px!important;background:#f6fcfd!important;box-shadow:none!important}
body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-content img,
body.single:not(.single-post) .entry-content img{height:auto;border-radius:13px}
body.archive:not(.category) #content,
body.search #content,
body.error404 #content{width:100%!important;margin:0!important;padding:64px 20px 90px!important;background:var(--sgh-pale)!important}
body.archive:not(.category) #content-in,
body.search #content-in,
body.error404 #content-in{width:min(1120px,100%)!important;max-width:none!important;margin:auto!important;display:block!important}
body.archive:not(.category) #main,
body.search #main,
body.error404 #main{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.archive:not(.category) #sidebar,
body.search #sidebar,
body.error404 #sidebar{display:none!important}
body.archive:not(.category) .archive-title,
body.search .archive-title{position:relative;margin:0 0 34px!important;padding:0 0 18px!important;border:0!important;background:none!important;color:var(--sgh-navy)!important;font-size:clamp(34px,5vw,52px)!important}
body.archive:not(.category) .archive-title:after,
body.search .archive-title:after{content:"";position:absolute;left:0;bottom:0;width:84px;height:4px;background:var(--sgh-cyan)}
body.archive:not(.category) #list,
body.search #list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.archive:not(.category) .entry-card-wrap,
body.search .entry-card-wrap{display:block!important;margin:0!important;padding:0!important;overflow:hidden;border:1px solid #d8e5ed!important;border-radius:16px!important;background:#fff!important;box-shadow:0 12px 30px rgba(16,36,58,.08)!important}
body.archive:not(.category) .entry-card-thumb,
body.search .entry-card-thumb{float:none!important;width:100%!important;margin:0!important;aspect-ratio:16/9;overflow:hidden}
body.archive:not(.category) .entry-card-thumb img,
body.search .entry-card-thumb img{width:100%!important;height:100%!important;object-fit:cover}
body.archive:not(.category) .entry-card-content,
body.search .entry-card-content{margin:0!important;padding:22px 24px 25px!important}
body.public-page #footer{border-top:4px solid var(--sgh-cyan)!important;background:#04101e!important;color:#bfd1e0!important}
body.public-page #footer a{color:#fff!important}
body.public-page #footer .footer-bottom-logo,
body.public-page #footer .footer-bottom-content,
body.public-page #footer .source-org{color:#bfd1e0!important}
body.public-page .page-top{background:#0d2d49!important;color:var(--sgh-cyan)!important}
body.public-page .sgh-floating-cta{background:var(--sgh-pink)!important;box-shadow:0 5px 0 #a82047,0 5px 16px rgba(0,0,0,.24)!important}
@media screen and (max-width:760px){
 body.public-page:not(.home):not(.content-only) #header-container-in{width:100%;display:block}
 body.public-page:not(.home):not(.content-only) #header{width:100%;min-width:0;border-right:0;border-bottom:1px solid #183750}
 body.public-page:not(.home):not(.content-only) #header-in,
 body.public-page:not(.home):not(.content-only) .logo-header,
 body.public-page:not(.home):not(.content-only) .site-name-text-link,
 body.public-page:not(.home):not(.content-only) .site-name-text{height:58px!important;min-height:58px!important}
 body.public-page:not(.home):not(.content-only) .header-site-logo-image{width:145px!important;height:46px!important}
 body.public-page:not(.home):not(.content-only) #navi{display:block!important}
 body.public-page:not(.home):not(.content-only) #navi-in{height:auto!important}
 body.public-page:not(.home):not(.content-only) #navi .menu-header{display:grid!important;height:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.public-page:not(.home):not(.content-only) #navi .menu-header>li{display:flex!important}
 body.public-page:not(.home):not(.content-only) #navi .menu-header>li:last-child{grid-column:1/-1}
 body.public-page:not(.home):not(.content-only) #navi .menu-header>li>a{min-height:48px;padding:9px 6px;font-size:12px;border-bottom:1px solid #183750}
 body.page:not(.home):not(.content-only):not(.page-id-2731) #content,
 body.single:not(.single-post) #content{padding:28px 12px 64px!important}
 body.page:not(.home):not(.content-only):not(.page-id-2731) .article,
 body.single:not(.single-post) .article{border-radius:14px!important}
 body.page:not(.home):not(.content-only):not(.page-id-2731) .article-header,
 body.single:not(.single-post) .article-header{padding:40px 22px!important}
 body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-title,
 body.single:not(.single-post) .entry-title{font-size:31px!important}
 body.page:not(.home):not(.content-only):not(.page-id-2731) .entry-content,
 body.single:not(.single-post) .entry-content{padding:34px 20px 50px!important;font-size:16px}
 body.archive:not(.category) #list,
 body.search #list{grid-template-columns:1fr}
}


/* SGH UNIFIED FOOTER V1 */
body.public-page #footer,
body.public-page .page-top{display:none!important}
.sgh-site-footer{position:relative;width:100%;padding:60px 20px 26px;border-top:4px solid var(--sgh-cyan,#16d4e8);background:#04101e;color:#bfd1e0;font-family:"Noto Sans JP",system-ui,sans-serif}
.sgh-site-footer *{box-sizing:border-box}
.sgh-footer-inner{width:min(1120px,100%);margin:auto}
.sgh-footer-main{display:grid;grid-template-columns:300px 1fr;gap:68px;align-items:start;padding-bottom:42px}
.sgh-footer-brand img{display:block;width:180px;height:68px;object-fit:contain;margin-bottom:17px}
.sgh-footer-brand p{margin:0;color:#9fb6c8;font-size:14px;line-height:1.8}
.sgh-footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.sgh-footer-nav-title{margin:0 0 13px;color:var(--sgh-cyan,#16d4e8);font:900 12px/1.4 ui-monospace,monospace;letter-spacing:.17em}
.sgh-footer-links{display:flex;flex-wrap:wrap;gap:9px 20px}
.sgh-site-footer a{color:#fff!important;text-decoration:none!important;font-weight:800}
.sgh-site-footer a:hover{color:var(--sgh-cyan,#16d4e8)!important}
.sgh-footer-company{margin-top:27px;padding:20px 22px;border:1px solid #183750;border-radius:12px;background:#07192f;color:#bfd1e0;font-size:14px;line-height:1.9}
.sgh-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;border-top:1px solid #183750;color:#7892a6;font-size:12px}
.sgh-footer-top{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #214964;border-radius:999px;color:var(--sgh-cyan,#16d4e8)!important;font:900 12px/1.2 ui-monospace,monospace;letter-spacing:.1em}
.sgh-footer-top:before{content:"↑";font-size:16px}
@media screen and (max-width:760px){
 .sgh-site-footer{padding:45px 18px 90px}
 .sgh-footer-main{grid-template-columns:1fr;gap:34px}
 .sgh-footer-brand img{width:160px;height:60px}
 .sgh-footer-nav{grid-template-columns:1fr;gap:24px}
 .sgh-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .sgh-footer-links a{padding:10px;border:1px solid #183750;border-radius:7px;text-align:center;font-size:12px}
 .sgh-footer-bottom{align-items:flex-start;flex-direction:column}
}


/* SGH TOP NOTICE: show text immediately on page load */
.sgh-top-header-inner,
.sgh-top-header-content {
  animation-delay: -3s !important;
}


/* SGH TOP NOTICE MOBILE: start 6 seconds ahead */
@media screen and (max-width: 600px) {
  .sgh-top-header-inner,
  .sgh-top-header-content {
    animation-delay: -6s !important;
  }
}
