.news-section{margin:64px 0 32px;padding:32px;border:2px solid var(--ink);border-radius:26px;background:#e5eeff;box-shadow:4px 5px 0 #23233b}.news-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.news-heading h2{font-size:clamp(1.6rem,3vw,2.4rem);margin:8px 0 20px}.news-list{list-style:none;padding:0;margin:0}.news-list li{border-top:1px solid #23233b33}.news-list a{display:grid;grid-template-columns:7em 1fr auto;gap:16px;padding:22px 0;align-items:center;text-decoration:none}.news-list time{font-size:.85rem}.news-list a:hover .news-title{text-decoration:underline}.news-empty{padding:12px 0}.news-link{display:inline-block;font-size:.9rem;padding:10px 16px;border:1px solid var(--ink);border-radius:99px;background:#ffea8e;text-decoration:none}.masthead-bottom{max-width:none!important;display:flex;justify-content:space-between;align-items:center;gap:12px}.mobile-menu nav a{display:block}.article-shell{max-width:840px;margin:50px auto 80px;min-height:45vh}.article-shell h1{font-size:clamp(2rem,5vw,4rem);line-height:1.3;overflow-wrap:anywhere}.article-content{line-height:1.95;overflow-wrap:anywhere}.article-content img{max-width:100%;height:auto;border-radius:20px}.article-content a{text-decoration:underline}.article-back{display:inline-block;margin:30px 0}.article-header{padding:24px 0;border-bottom:1px solid #23233b44;display:flex;justify-content:space-between;align-items:center;gap:20px}.article-header .footer-brand{font-size:2rem}.news-pagination{padding:25px 0}.news-pagination .page-numbers{padding:10px}.news-cover{width:100%;height:auto;border-radius:24px;margin:20px 0}.article-content .alignwide{max-width:100%}.article-content .wp-block-image{margin-inline:0}.admin-bar .mobile-menu{top:46px}
@media(max-width:600px){.news-section{padding:20px;margin-top:36px;border-radius:22px}.news-list a{grid-template-columns:1fr auto;gap:8px;padding:20px 0}.news-list time{grid-column:1/-1}.news-heading{align-items:flex-start}.news-link{white-space:nowrap;font-size:.78rem;padding:8px 12px}.masthead-bottom .news-link{display:none}.article-header .footer-brand{font-size:1.5rem}.article-shell{margin-top:30px}.article-shell h1{font-size:2rem}}

.skip-link:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;padding:0}.skip-link:focus{clip-path:none;width:auto;height:auto;transform:none}

.article-sns{display:none}@media(max-width:600px){.article-sns{display:flex}.article-sns .service-tabs a{display:flex;align-items:center;justify-content:center;min-height:48px;flex:1;font-size:.8125rem;font-weight:600}}

/* Minimal latest news directly below the first view. */
.news-section--compact{margin:24px 0 28px;padding:0 4px;background:transparent;border:0;border-radius:0;box-shadow:none}
.news-section--compact .news-heading{margin-bottom:10px;gap:16px}
.news-section--compact .news-heading>div{display:flex;align-items:center;gap:14px}
.news-section--compact .eyebrow{color:#4355ed;font-weight:700;letter-spacing:.16em}
.news-section--compact .news-heading h2{font-size:1.05rem;margin:0;font-weight:600}
.news-section--compact .news-link{padding:6px 0;background:none;border:0;border-radius:0;font-size:.8rem;border-bottom:1px solid #23233b55}
.news-section--compact .news-list li{border-top:1px solid #23233b26}
.news-section--compact .news-list li:last-child{border-bottom:1px solid #23233b26}
.news-section--compact .news-list a{grid-template-columns:7em minmax(0,1fr) auto;gap:24px;padding:12px 0;font-size:.94rem}
.news-section--compact .news-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.news-section--compact .news-list time{font-size:.78rem;color:#737687;font-variant-numeric:tabular-nums;letter-spacing:.025em}
.news-section--compact .news-list a>span:last-child{color:#4355ed}
.news-section--compact a:hover{color:#4355ed}
.news-section--compact a:focus-visible{outline:2px solid #4355ed;outline-offset:4px}
@media(max-width:600px){.news-section--compact{margin:20px 0 22px;padding:0 2px}.news-section--compact .news-heading{margin-bottom:8px}.news-section--compact .news-heading>div{gap:10px}.news-section--compact .news-heading h2{font-size:.95rem}.news-section--compact .eyebrow{font-size:.68rem}.news-section--compact .news-link{font-size:.75rem;padding:5px 0}.news-section--compact .news-list a{grid-template-columns:6.3em minmax(0,1fr) auto;gap:10px;font-size:.8rem;padding:11px 0}.news-section--compact .news-list time{grid-column:auto;font-size:.68rem}}

/* Keep the descriptor on its own baseline beneath the portfolio title. */
.masthead{grid-template-columns:minmax(0,1fr)}
.masthead::after{display:none}
.masthead h1{max-width:100%}
.masthead-bottom{width:100%;margin-top:24px;padding:18px 0 0;border-top:1px solid #23233b26;gap:16px;flex-wrap:wrap}
.masthead-bottom p{margin:0;line-height:1.6;letter-spacing:.035em;font-size:.875rem}
.masthead-bottom .news-link{flex-shrink:0}
@media(max-width:600px){.masthead-bottom{margin-top:16px;padding-top:14px}.masthead-bottom p{font-size:.8125rem;letter-spacing:.015em}}

/* Restore the yellow accent inside reserved title-side space. */
.masthead::after{display:block;top:94px;right:70px;width:110px;height:110px}
.masthead h1{padding-right:170px}
@media(max-width:900px){.masthead::after{top:100px;right:36px;width:76px;height:76px}.masthead h1{padding-right:110px}}
@media(max-width:600px){.masthead::after{top:76px;right:22px;width:38px;height:38px}.masthead h1{padding-right:54px;font-size:clamp(2rem,9.3vw,3.5rem)}}

.work-info .source-with-icon{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:var(--ink)}
.work-info .sns-icon{display:block;width:18px;height:18px;object-fit:contain;flex:0 0 18px;border-radius:0}

.account-heading,.account-empty{grid-column:1/-1}.account-heading{margin:16px 0 0;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:1rem}.account-empty{margin:0;font-size:.875rem;color:var(--muted)}

/* Keep official X content intact; only align the surrounding card. */
.artwork.x-official-card{align-self:start;padding:8px;background:#fff;border:1px solid var(--line);border-radius:22px;min-width:0}
.x-official-card .twitter-tweet{margin:0!important;max-width:100%!important}
.x-official-card blockquote{padding:20px;font-size:.875rem}
.x-official-card blockquote a{text-decoration:underline}
.x-official-card iframe{max-width:100%}

.x-custom-card{align-self:start;padding:10px;border-radius:22px;background:#fff}
.x-card-author{display:flex;align-items:center;gap:9px;padding:5px 4px 12px;min-width:0}
.x-card-author>a:first-child{flex:none}.x-card-author>a:first-child img{display:block;border-radius:50%;width:32px;height:32px}
.x-author-name{min-width:0;display:flex;flex-direction:column;gap:3px;font-size:.8rem;overflow-wrap:anywhere}
.x-author-name span{color:var(--muted);font-size:.72rem}.x-card-brand{margin-left:auto;flex:none}.x-card-brand img{display:block;width:20px;height:20px}
.x-card-text{font-size:.85rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 4px 12px}.x-card-text:empty{display:none}.x-card-text a{color:var(--accent);text-decoration:underline}
.x-card-picture{display:block}.x-card-picture img{display:block;width:100%;height:auto;border-radius:13px}
.x-card-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:13px 4px 5px;font-size:.7rem;color:var(--muted)}.x-card-footer a:last-child{color:var(--ink);border-bottom:1px solid var(--line);padding:4px 0}

.x-card-picture{aspect-ratio:1;overflow:hidden;border-radius:13px;background:#f6f4ee}.x-card-picture img{width:100%;height:100%;object-fit:contain;border-radius:0}

/* Xの投稿者情報・日時・投稿リンクを画像下にまとめる。 */
.x-card-footer{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:10px;padding:12px 4px 4px}
.x-card-footer .x-card-author{flex:1;min-width:0;padding:0;gap:7px}
.x-card-footer .x-author-name{font-size:.75rem;line-height:1.35}
.x-card-footer .x-author-name span{font-size:.65rem;line-height:1.35}
.x-card-footer .x-card-date{flex:none;font-size:.65rem;line-height:1.5;color:var(--muted)}
.x-card-date time{display:flex;flex-direction:column}
.x-card-footer .x-card-brand{margin-left:0;padding:6px 0 6px 4px;border:0;flex:none}
@media(max-width:360px){.x-card-footer{gap:6px;padding-inline:0}.x-card-footer .x-card-author{gap:5px}.x-card-footer .x-card-author>a:first-child img{width:26px;height:26px}.x-card-footer .x-author-name{font-size:.7rem}.x-card-footer .x-author-name span{font-size:.6rem}.x-card-footer .x-card-date{font-size:.6rem}}

/* Client account tabs */
.account-popup[hidden]{display:none!important}
.account-popup{display:none}
@media(min-width:601px){.service-tabs{gap:3px}.service-tabs button{padding-inline:17px;white-space:nowrap}}
@media(max-width:600px){
 .service-tabs .account-sub-tab{display:none!important}
 .navigation,.navigation .service-tabs{overflow:visible}
 .service-tabs button[aria-haspopup=menu]::after{content:'⌃';font-size:.7rem;margin-left:5px}
 .account-popup{display:flex;flex-direction:column;position:absolute;bottom:calc(100% + 10px);left:12px;right:12px;padding:8px;background:#fffef8;border:1.5px solid #23233b;border-radius:18px;box-shadow:3px 4px 0 #23233b;gap:5px}
 .account-popup button{display:block;width:100%;min-height:48px;text-align:left;padding:12px 18px;background:transparent;color:#23233b;border:0;border-radius:11px;font:inherit;font-weight:600;cursor:pointer}
 .account-popup button:hover,.account-popup button:focus-visible{background:#fff09b;outline:2px solid #414fea;outline-offset:-2px}
}
