@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon
Version:    1.1.3
*/

/* ====================================
** Magazine ヘッダー（.pm-header）
** ==================================*/
.pm-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}
.pm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 5%;
}
.pm-header__logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none !important;
    color: #111 !important;
}
.pm-header__logo-main {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}
.pm-header__logo-sub {
    font-size: 11px;
    font-weight: 400;
    color: #888;
    white-space: nowrap;
}
.pm-header__nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.pm-header__menu {
    display: flex;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 24px;
}
.pm-header__menu li {
    list-style: none !important;
}
.pm-header__menu a {
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px;
    font-weight: 600;
    transition: opacity .2s;
}
.pm-header__menu a:hover {
    opacity: .6;
}
.pm-header__cta {
    display: inline-block;
    padding: 8px 20px;
    background: var(--pm-primary);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 4px;
    transition: opacity .2s;
}
.pm-header__cta:hover {
    opacity: .8;
}
.pm-header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 28px;
    height: 24px;
    position: relative;
}
.pm-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    left: 0;
    transition: .3s;
}
.pm-header__burger span:nth-child(1) { top: 2px; }
.pm-header__burger span:nth-child(2) { top: 11px; }
.pm-header__burger span:nth-child(3) { top: 20px; }
.pm-header__burger.is-open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.pm-header__burger.is-open span:nth-child(2) { opacity: 0; }
.pm-header__burger.is-open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
.pm-header__mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 16px 5%;
}
.pm-header__mobile-nav.is-open {
    display: block;
}
.pm-header__mobile-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.pm-header__mobile-menu li {
    list-style: none !important;
    border-bottom: 1px solid #f0f0f0;
}
.pm-header__mobile-menu a {
    display: block;
    padding: 14px 0;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 15px;
    font-weight: 600;
}
@media (max-width: 768px) {
    .pm-header__nav { display: none; }
    .pm-header__burger { display: block; }
    .pm-header__logo-main { font-size: 17px; }
    .pm-header__logo-sub { font-size: 10px; }
}

/* コーポレートヘッダーを非表示（magazine独自ヘッダーに切替済み） */
header.header { display: none !important; }

/* ====================================
** サイト全体を白背景に統一
** ==================================*/
body,
#container,
#content,
#main,
.wrap,
.content,
.sidebar,
#sidebar,
.e-card-content,
.entry-card-content {
    background: #fff !important;
}
:root {
    --bg01: #fff;
    --pm-primary: #2c00ff;
    --pm-text: #111111;
    --pm-heading: #212121;
    --pm-grey-light: #f6f6f6;
    --pm-border: #e5e5e5;
}

/* ====================================
** 見出しデザイン
** ==================================*/
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    color: var(--pm-heading) !important;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.02em;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
}
/* Reset Cocoon's pseudo-element decorations on headings */
.article h2::before,
.article h2::after,
.article h3::before,
.article h3::after,
.article h5::before,
.article h5::after,
.article h6::before,
.article h6::after {
    content: none !important;
}

/* h2: 左アクセント + 薄背景 */
.article h2 {
    font-size: 26px !important;
    padding: 16px 20px 16px 20px !important;
    border-left: 4px solid var(--pm-primary) !important;
    background: linear-gradient(90deg, rgba(44,0,255,0.03) 0%, transparent 100%) !important;
}

/* h3: 下線アクセント（短いプライマリ線 + グレー線） */
.article h3 {
    font-size: 21px !important;
    padding-bottom: 10px !important;
    background:
        linear-gradient(var(--pm-primary), var(--pm-primary)) 0 100% / 40px 3px no-repeat,
        linear-gradient(var(--pm-border), var(--pm-border)) 0 100% / 100% 1px no-repeat !important;
}

/* h4: ドットアクセント */
.article h4 {
    font-size: 18px !important;
    padding-left: 16px !important;
    position: relative;
}
.article h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pm-primary);
}

/* h5/h6: ミニマル */
.article h5 {
    font-size: 16px !important;
    font-weight: 700;
    color: #555 !important;
}
.article h6 {
    font-size: 15px !important;
    font-weight: 700;
    color: #777 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 768px) {
    .article h2 { font-size: 22px !important; padding: 14px 16px 14px 16px !important; }
    .article h3 { font-size: 19px !important; }
    .article h4 { font-size: 17px !important; }
}

/************************************
** 子テーマ用のスタイルを書く
************************************/
.customBtn1 {
	display: block;
	width: 100%;
	max-width: 600px;
	font-weight: 700;
	text-align: center;
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 16px;
	border: 1px solid #2c00ff;
	transition: .3s;
	background-color: #2c00ff;
	color: #fff !important;
	text-decoration: none !important;
	margin: 16px auto;
}
.btnColor1 {
	border: 1px solid #2c00ff;
	background-color: #2c00ff;
	&:hover{
		background: #fff;
		color: #2c00ff !important;
	}	
}

.btnColor2 {
	border: 1px solid #ee390c;
	background-color: #ee390c;
	margin: 4px auto 16px auto !important;
	&:hover{
		background: #fff;
		color: #ee390c !important;
	}	
}
.btnInfo{
	padding-bottom: 3px !important;
	margin-bottom: 0 !important;
    color: #ee390c;
	text-align: center;
    font-size: 16px !important;
    font-weight: 600 !important;
}


.sidebar h2 {
    font-size: 20px !important;
    margin: 20px auto 10px;
    padding: 10px 10px 10px 16px;
    background-color: #012543;
    color: #fff;
}

.wiget-popular-articles{
	margin-bottom: 1.8em;
}

/* divの枠線 */
.callout {
  border: 1px solid #e0e0e0;
  padding: 20px;
  margin: 16px 0;
  background-color: #ffffff;
  border-radius: 4px;
}

.callout a:hover {
  text-decoration: underline;
}

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

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

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


body.single .under-entry-content { display: none !important; }

/* 記事タイトル上の余白を縮小（Cocoon デフォルト 36px → 16px） */
#main {
    padding-top: 16px !important;
}

/* 記事 article の上余白を除去（Cocoon デフォルト 180px） */
#main article {
    padding-top: 0 !important;
}

.top-banner {
  display: none;
}

/* ====================================
** Pacific コーポレートヘッダー統合
** ==================================*/

/* Cocoon 純正ヘッダーを非表示 */
#header-container { display: none !important; }
#header-fixed     { display: none !important; }

/* Cocoon が header 要素に付ける padding を除去（5px余分が生じる原因） */
@media (min-width: 1001px) {
    .header {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* コンテンツ上余白（magazine独自ヘッダーはstickyなのでmargin-top不要） */
#container { margin-top: 0 !important; }
.sidebar-scroll { top: 50px !important; }

/* ====================================
** component.css 起因の崩れ修正
** ==================================*/

/* PC ヘッダー nav-other02 のスペース・スラッシュ区切り
   （本来は page.css に定義されているが magazine では読み込まれないため） */
.nav-other02 {
    padding-left: 30px;
}
.nav-other02 li a {
    display: block;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: normal;
    transition: all .3s;
    color: #232031 !important;
}
.nav-other02 li a:hover {
    opacity: .5;
}
.nav-other02 li:not(:last-of-type) {
    padding-right: 5px;
    margin-right: 5px;
    position: relative;
}
.nav-other02 li:not(:last-of-type)::after {
    content: "/";
    display: block;
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: normal;
}

/* navMenuBtn のテキスト色・サイズ — Cocoon の a styles 上書き対策 */
.navMenuBtn,
.navMenuBtn span {
    color: #fff !important;
}
.navMenuBtn03,
.navMenuBtn03 span {
    color: var(--bg02, #232031) !important;
}
.navMenuBtn03:hover,
.navMenuBtn03:hover span {
    color: #fff !important;
}
/* navMenuBtn の高さを保護（Cocoon が padding を潰す対策） */
.header .navMenuBtn {
    padding: 12px 20px !important;
    font-size: 14px !important;
    line-height: 1 !important;
}
/* ロゴの h1 高さを保護（Cocoon が h1 を上書きする対策） */
.headerLogo a h1 {
    height: 37px !important;
    margin: 0 !important;
}
/* nav-wrapper の最低高を保証 */
.header .nav-wrapper {
    min-height: 63px !important;
}

/* EN ボタンのピル形状
   （multiBtnWrap は page.css にあり読み込まれないため直接定義） */
.multiBtnWrap {
    margin-left: 24px;
}
.multiBtnWrap a {
    font-size: 14px;
    line-height: 100%;
    letter-spacing: normal;
    display: block;
    padding: 4px 20px;
    border-radius: 100px;
    color: #74727D;
    background-color: #EFEFF2;
    transition: all .3s;
}
.multiBtnWrap a:hover {
    opacity: .7;
}

/* ヘッダー内 ul のブラウザデフォルト padding/margin をリセット
   （コーポレートテーマのリセットCSSが magazine には読み込まれないため）
   nav-other: ボタンリスト、nav-menuList: 下段メニュー */
.header .nav-other,
.header .nav-menuList {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* SPNav リストの bullet 点除去
   （Cocoon が ul li にデフォルトで list-style を追加するため） */
#spNav li {
    list-style: none !important;
}

/* SPNav CTA ボタン（資料請求・無料相談・メルマガ登録）の幅崩れ修正
   span が 1 つだけのとき span:first-of-type { width: 18px } が適用されて
   テキストが縦に並ぶ問題を修正 */
.spNav-otherListItem a span:only-child {
    width: auto !important;
    height: auto !important;
    position: static !important;
}

/* ====================================
** ドロップダウン関連
** ==================================*/

/* col-w（白文字クラス）— page.css にのみ定義されているため直接定義 */
.col-w {
    color: #fff;
}

/* Cocoon がデフォルトで a に付ける text-decoration を除去 */
.dropdownTop a,
.dropsownSecond a,
.dropdownMenu-listItetm a {
    text-decoration: none !important;
}

/* ====================================
** magazine フッター（.pm-footer）
** ==================================*/
.pm-footer {
    background-color: var(--pm-grey-light);
    color: var(--pm-text);
    padding: 48px 5% 24px;
}
.pm-footer a {
    color: var(--pm-text) !important;
    text-decoration: none !important;
}
.pm-footer a:hover {
    opacity: .6;
}
.pm-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}
.pm-footer__logo-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.pm-footer__company {
    font-size: 14px;
    margin-bottom: 8px;
}
.pm-footer__address {
    font-size: 12px;
    line-height: 1.7;
    color: #888;
}
.pm-footer__nav {
    display: flex;
    gap: 36px;
}
.pm-footer__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.pm-footer__list li {
    list-style: none !important;
    margin-bottom: 10px;
}
.pm-footer__list-heading {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px !important;
    color: #999;
}
.pm-footer__list a {
    font-size: 13px;
}
.pm-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}
.pm-footer__privacy {
    font-size: 12px;
}
.pm-footer__copy {
    font-size: 12px;
    color: #999;
}
@media (max-width: 768px) {
    .pm-footer__inner {
        flex-direction: column;
        gap: 28px;
    }
    .pm-footer__nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        width: 100%;
    }
    .pm-footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ====================================
** フロントページ リニューアル v2
** ==================================*/

/* --- Layout: Cocoon の wrap 制約を解除 --- */
.pm-front { padding: 0; }
.pm-front__main { max-width: 100% !important; padding: 0 !important; width: 100% !important; }

/* Cocoon の .wrap / #content-in が max-width を掛けるため、
   Magazine トップページのみ全幅に上書き */
body.page-template-page-magazine-top #content,
body.page-template-page-magazine-top #content-in,
body.page-template-page-magazine-top .content-in,
body.page-template-page-magazine-top .wrap,
body.page-template-page-magazine-top #main {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    float: none !important;
}
/* トップページ: フル幅 + 余白なし */
body.page-template-page-magazine-top #container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    margin-top: 0 !important;
}
/* body 自体を白背景にしてヘッダー下の隙間の色を統一 */
body.page-template-page-magazine-top {
    background: #fff !important;
}
body.page-template-page-magazine-top .pm-front {
    background: #fff;
}
body.page-template-page-magazine-top .pm-hero {
    margin: 0 20px;
    border-radius: 8px;
    overflow: hidden;
}
body.page-template-page-magazine-top .pm-tabs-section {
    margin: 0 20px;
}
body.page-template-page-magazine-top .pm-cta {
    margin: 0 20px;
    border-radius: 8px;
}
/* サイドバーを非表示 */
body.page-template-page-magazine-top #sidebar,
body.page-template-page-magazine-top .sidebar {
    display: none !important;
}

/* --- Hero: 最新ニュース + ピックアップ (2カラム) --- */
.pm-hero {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 0;
    min-height: 480px;
    background: #fff;
}
.pm-hero__main a {
    display: block;
    position: relative;
    text-decoration: none;
    color: #fff;
    height: 100%;
    overflow: hidden;
}
.pm-hero__main-thumb {
    position: absolute;
    inset: 0;
}
.pm-hero__main-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pm-hero__main-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.05) 70%);
}
.pm-hero__main-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 40px;
}
.pm-hero__label {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
    width: fit-content;
    border-left: 3px solid var(--primary, #2c00ff);
    padding-left: 10px;
}
.pm-hero__main-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 14px;
    color: #fff;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.pm-hero__main-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pm-hero__date {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}

/* ピックアップ（右カラム） */
.pm-hero__pickup {
    background: #fff;
    border-left: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
}
.pm-hero__pickup-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bg02, #232031);
    padding: 12px 16px 6px;
    margin: 0;
    border-bottom: 2px solid var(--bg02, #232031);
}
.pm-hero__pickup-list {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pm-hero__pickup-item {
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}
.pm-hero__pickup-item:last-child {
    border-bottom: none;
}
.pm-hero__pickup-item a {
    display: flex;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    align-items: flex-start;
    transition: background 0.2s;
}
.pm-hero__pickup-item a:hover {
    background: #eef0f4;
}
.pm-hero__pickup-thumb {
    flex-shrink: 0;
    width: 88px;
    height: 56px;
}
.pm-hero__pickup-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.pm-hero__pickup-body {
    min-width: 0;
}
.pm-hero__pickup-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 2px;
    color: var(--bg02, #232031);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- タブセクション --- */
.pm-tabs-section {
    padding: 40px 5% 60px;
    background: #fff;
}
.pm-tabs-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* タブナビ */
.pm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 32px;
}
.pm-tabs__btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s;
}
.pm-tabs__btn:hover {
    color: var(--bg02, #232031);
}
.pm-tabs__btn.is-active {
    color: var(--bg02, #232031);
}
.pm-tabs__btn.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary, #2c00ff);
    border-radius: 3px 3px 0 0;
}

/* タブパネル */
.pm-tabs__panel {
    display: none;
}
.pm-tabs__panel.is-active {
    display: block;
}

/* --- カード共通 --- */
.pm-grid {
    display: grid;
    gap: 24px;
}
.pm-grid--3col { grid-template-columns: repeat(3, 1fr); }
.pm-grid--4col { grid-template-columns: repeat(4, 1fr); }

.pm-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.pm-card a:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #ccc;
}
.pm-card__thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.pm-card__body {
    padding: 16px;
}
.pm-card__date {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 4px;
}
.pm-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: var(--bg02, #232031);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pm-card__excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Protocol カード */
.pm-card--protocol a {
    padding: 20px;
}
.pm-card--protocol .pm-card__thumb img {
    height: auto;
}
.pm-card__header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.pm-card__icon img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}
.pm-card__meta {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.pm-card__tag {
    font-size: 11px;
    background: #e8ebff;
    color: var(--primary, #2c00ff);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 600;
}
.pm-card__chain {
    font-size: 11px;
    color: #888;
}

/* Report DLボタン */
.pm-card__dl-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    background: var(--primary, #2c00ff);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

/* Protocol フィルター */
.pm-protocols__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.pm-protocols__filter-btn {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 100px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}
.pm-protocols__filter-btn:hover {
    background: var(--bg02, #232031);
    color: #fff;
    border-color: var(--bg02, #232031);
}

/* セクション More リンク */
.pm-section-more {
    display: inline-block;
    margin-top: 24px;
    font-size: 14px;
    color: var(--primary, #2c00ff);
    text-decoration: none;
    font-weight: 600;
}
.pm-section-more:hover {
    text-decoration: underline;
}

/* --- CTA（コーポレート cvArea トンマナ準拠） --- */
.pm-cta {
    background: var(--bg02, #232031);
    color: #fff;
    padding: 0;
}
.pm-cta__inner {
    max-width: 100%;
    margin: 0;
    display: flex;
}
.pm-cta__col {
    flex: 1;
    padding: 60px 38px;
}
.pm-cta__col:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.05);
}
.pm-cta__col h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: normal;
    margin: 0;
    color: #fff;
}
.pm-cta__col p {
    font-size: 14px;
    letter-spacing: normal;
    padding: 20px 0;
    margin: 0;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
}
.pm-cta__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    border-radius: 5px;
    border: 1px solid #fff;
    line-height: 1;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--bg02, #232031);
    text-decoration: none;
    transition: all 0.3s;
}
.pm-cta__btn:hover {
    background: #fff;
    color: var(--bg02, #232031);
}
.pm-cta__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.pm-cta__btn path {
    transition: fill 0.3s;
    fill: #fff;
}
.pm-cta__btn:hover path {
    fill: var(--bg02, #232031);
}

/* --- SP対応 --- */
@media (max-width: 768px) {
    body.page-template-page-magazine-top .pm-hero,
    body.page-template-page-magazine-top .pm-tabs-section,
    body.page-template-page-magazine-top .pm-cta {
        margin-left: 16px;
        margin-right: 16px;
    }
    .pm-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .pm-hero__main a {
        min-height: 300px;
    }
    .pm-hero__pickup-thumb {
        width: 80px;
        height: 50px;
    }
    .pm-tabs-section { padding: 24px 0 40px; }
    .pm-tabs__btn { padding: 10px 16px; font-size: 13px; }
    .pm-grid--3col { grid-template-columns: 1fr; }
    .pm-grid--4col { grid-template-columns: 1fr 1fr; }
    .pm-card__thumb img { aspect-ratio: 16 / 9; }
    .pm-cta__inner { flex-direction: column; }
    .pm-cta__col { padding: 40px 30px; }
    .pm-cta__col:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .pm-cta__col h3 { font-size: 20px; }
}

/* ====================================
** Blockchain Magazine redesign v3
** ==================================*/
:root {
    --pm-primary: #2c00ff;
    --pm-ink: #232031;
    --pm-text: #242231;
    --pm-muted: #74727d;
    --pm-soft: #f5f6f8;
    --pm-line: #e4e6eb;
    --pm-card: #ffffff;
    --pm-page-gutter: clamp(28px, 5.2vw, 80px);
    --pm-content-max: 1320px;
}

.pm-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--pm-line);
    backdrop-filter: blur(12px);
}
.pm-header__inner {
    max-width: 1500px;
    padding: 18px 36px;
}
.pm-header__logo {
    align-items: center;
    gap: 10px;
}
.pm-header__logo::before {
    display: none;
}
.pm-header__logo-main {
    color: var(--pm-ink);
    font-size: 24px;
    letter-spacing: 0;
}
.pm-header__logo-sub {
    color: var(--pm-muted);
    font-size: 13px;
    font-weight: 600;
}
.pm-header__menu {
    gap: 34px;
}
.pm-header__menu a {
    color: var(--pm-ink) !important;
    font-size: 14px;
    letter-spacing: 0;
}
.pm-header__menu a:hover {
    color: var(--pm-ink) !important;
    opacity: 1;
}
.pm-header__cta {
    padding: 14px 24px;
    border-radius: 4px;
    background: var(--pm-primary);
}
.pm-header__cta:hover {
    background: var(--pm-primary);
    opacity: 1;
}

body.page-template-page-magazine-top,
body.page-template-templates-template-articles-php {
    color: var(--pm-text);
    background: #fff !important;
}
body.page-template-page-magazine-top #main,
body.page-template-templates-template-articles-php #main {
    padding-top: 0 !important;
}
body.page-template-page-magazine-top .pm-front,
body.page-template-page-magazine-top .pm-front__main {
    background: #fff;
}
body.page-template-page-magazine-top .pm-tabs-section {
    margin: 0;
}

.pm-kicker {
    margin: 0 0 14px;
    color: var(--pm-primary);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.pm-intel-hero {
    padding: 26px 36px 16px;
    background: #fff;
    border-bottom: 1px solid var(--pm-line);
}
.pm-intel-hero__inner {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(520px, 1.18fr) minmax(360px, 0.92fr);
    grid-template-areas:
        "copy featured signal";
    gap: 30px;
    max-width: 1500px;
    margin: 0 auto;
    align-items: stretch;
}
.pm-intel-hero__copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 446px;
    padding: 30px 8px 30px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.pm-intel-hero__copy h1 {
    margin: 0;
    color: var(--pm-ink);
    max-width: 430px;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.34;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: normal;
}
.pm-intel-hero__copy h1 span {
    display: inline-block;
    white-space: nowrap;
}
.pm-intel-hero__copy h1 span:not(:last-child)::after {
    content: "\A";
    white-space: pre;
}
.pm-intel-hero__lead {
    margin: 20px 0 0;
    max-width: 430px;
    color: #555260;
    font-size: 15px;
    line-height: 1.9;
}
.pm-intel-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 5px;
    border: 1px solid var(--pm-ink);
    color: var(--pm-ink) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .2s, color .2s, border-color .2s;
}
.pm-btn--primary {
    background: var(--pm-primary);
    border-color: var(--pm-primary);
    color: #fff !important;
}
.pm-btn--outline:hover,
.pm-btn--primary:hover {
    background: var(--pm-ink);
    border-color: var(--pm-ink);
    color: #fff !important;
}

.pm-featured a,
.pm-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
    background: var(--pm-card);
    border: 1px solid var(--pm-line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(35, 32, 49, 0.045);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pm-featured {
    grid-area: featured;
}
.pm-featured a {
    position: relative;
    display: block;
    min-height: 446px;
    border-radius: 4px;
    box-shadow: none;
}
.pm-featured a:hover,
.pm-card a:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 0, 255, 0.22);
    box-shadow: 0 18px 42px rgba(35, 32, 49, 0.09);
}
.pm-featured__thumb,
.pm-card__thumb {
    background: #f0f2f6;
    overflow: hidden;
}
.pm-featured__thumb {
    aspect-ratio: auto;
    height: 446px;
}
.pm-featured__thumb img,
.pm-card__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.pm-featured__fallback,
.pm-card__fallback {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 100%;
    padding: 22px 26px;
    border-left: 7px solid var(--pm-primary);
    background:
        linear-gradient(90deg, rgba(44, 0, 255, 0.075), rgba(44, 0, 255, 0) 52%),
        linear-gradient(135deg, #f7f8fb 0%, #eef1f7 100%);
}
.pm-featured__fallback {
    padding: 32px;
    }
.pm-featured__fallback span,
.pm-card__fallback span {
    color: var(--pm-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pm-featured__fallback strong,
.pm-card__fallback strong {
    color: #18304d;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.48;
}
.pm-featured__fallback strong {
    margin-top: auto;
    max-width: 480px;
    font-size: 22px;
    line-height: 1.55;
}
.pm-featured__body {
    position: absolute;
    left: 0;
    right: 38%;
    bottom: 0;
    padding: 28px;
    background: rgba(18, 20, 34, 0.9);
    color: #fff;
}
.pm-featured__label {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.pm-featured__body h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0;
}
.pm-featured__body p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.8;
}
.pm-featured__body time {
    display: block;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.pm-signal {
    grid-area: signal;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: none;
    border-radius: 0;
    color: var(--pm-ink);
    box-shadow: none;
}
.pm-signal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 14px;
    border-bottom: 1px solid var(--pm-line);
    text-transform: uppercase;
}
.pm-signal__head span {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
}
.pm-signal__head a {
    color: var(--pm-primary) !important;
    font-size: 12px;
    text-decoration: none !important;
    opacity: .72;
}
.pm-signal__list {
    display: flex;
    flex-direction: column;
}
.pm-signal__item {
    display: grid;
    grid-template-columns: 78px 74px 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 17px 0;
    border-bottom: 1px solid var(--pm-line);
    color: var(--pm-ink) !important;
    text-decoration: none !important;
}
.pm-signal__item:last-child {
    border-bottom: none;
}
.pm-signal__item time {
    color: #6f6c78;
    font-size: 12px;
    letter-spacing: 0.02em;
}
.pm-signal__item span {
    color: var(--pm-primary);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.pm-signal__item strong {
    display: block;
    color: var(--pm-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pm-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
    gap: 16px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 16px 36px 0;
    background: #fff;
}
.pm-strip__inner {
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 28px;
    max-width: none;
    margin: 0;
    padding: 18px 28px;
    background: #f7f8fb;
    border: 1px solid var(--pm-line);
    border-radius: 4px;
}
.pm-strip__cover {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    padding: 18px 16px;
    background: var(--pm-ink);
    color: #fff;
}
.pm-strip__cover span,
.pm-strip__cover small {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.75);
}
.pm-strip__cover strong {
    font-size: 16px;
    line-height: 1.35;
}
.pm-strip h2 {
    margin: 0;
    color: var(--pm-ink);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.55;
}
.pm-strip__body p,
.pm-consult-strip p {
    margin: 12px 0 0;
    color: #5d5a66;
    font-size: 14px;
    line-height: 1.8;
}
.pm-strip__body a,
.pm-consult-strip a {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: var(--pm-primary) !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}
.pm-consult-strip {
    display: flex;
    align-items: center;
    padding: 28px;
    min-height: 188px;
    background:
        linear-gradient(90deg, rgba(7, 10, 28, 0.94), rgba(7, 10, 28, 0.72)),
        #111522;
    border-radius: 4px;
    color: #fff;
}
.pm-consult-strip h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}
.pm-consult-strip p {
    color: rgba(255, 255, 255, 0.78);
}
.pm-consult-strip a {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 12px 28px;
}

.pm-pickup-section,
.pm-tabs-section {
    padding: 56px 32px;
    background: #fff;
}
.pm-pickup-section {
    max-width: 1280px;
    margin: 0 auto;
}
.pm-tabs-section__inner {
    max-width: 1280px;
}
.pm-section-head {
    margin-bottom: 28px;
}
.pm-section-head h2 {
    margin: 0;
    color: var(--pm-ink);
    font-size: 30px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: 0;
}
.pm-section-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}
.pm-pickup-grid,
.pm-grid {
    display: grid;
    gap: 24px;
}
.pm-pickup-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pm-grid--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pm-grid--4col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pm-card__thumb {
    aspect-ratio: 16 / 9;
}
.pm-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}
.pm-card__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #9a98a1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.pm-card__meta-row span {
    color: var(--pm-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pm-card__title {
    margin: 0;
    color: var(--pm-ink);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.65;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pm-card__excerpt {
    margin: 12px 0 0;
    color: #6f6c78;
    font-size: 13px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pm-card--compact .pm-card__body {
    min-height: 172px;
}
.pm-section-more {
    display: inline-flex;
    align-items: center;
    margin-top: 28px;
    color: var(--pm-primary) !important;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;
}
.pm-section-more::after {
    content: "";
    width: 28px;
    height: 1px;
    margin-left: 10px;
    background: currentColor;
}

.pm-tabs {
    gap: 36px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--pm-line);
}
.pm-tabs__btn {
    padding: 0 0 16px;
    color: #8d8a94;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
}
.pm-tabs__btn.is-active,
.pm-tabs__btn:hover {
    color: var(--pm-ink);
}
.pm-tabs__btn.is-active::after {
    bottom: -2px;
    height: 4px;
    background: var(--pm-primary);
    border-radius: 4px 4px 0 0;
}

.pm-archive-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 54px 32px 34px;
}
.pm-archive-hero h1 {
    margin: 0;
    color: var(--pm-ink);
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
}
.pm-archive-hero p:not(.pm-kicker) {
    max-width: 680px;
    margin: 18px 0 0;
    color: #5d5a66;
    font-size: 16px;
    line-height: 1.8;
}
.pm-articles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto 56px;
    padding: 0 32px;
}
.pm-articles-card .pm-card__title {
    font-size: 18px;
}

.pm-footer {
    background: #f4f5f8;
    border-top: 1px solid var(--pm-line);
}
.pm-footer__logo-name {
    color: var(--pm-ink) !important;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
}
.pm-footer__tagline {
    margin: -6px 0 14px;
    color: var(--pm-muted);
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .pm-intel-hero__inner {
        grid-template-columns: 1fr 1fr;
    }
    .pm-signal {
        grid-column: 1 / -1;
    }
    .pm-pickup-grid,
    .pm-grid--4col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pm-header__inner {
        padding: 12px 20px;
    }
    .pm-header__logo::before {
        height: 24px;
    }
    .pm-header__logo {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }
    .pm-header__logo::before {
        display: none;
    }
    .pm-intel-hero {
        padding: 36px 20px 28px;
    }
    .pm-intel-hero__inner,
    .pm-grid--3col,
    .pm-grid--4col,
    .pm-pickup-grid,
    .pm-articles-grid {
        grid-template-columns: 1fr;
    }
    .pm-intel-hero__copy {
        padding: 0;
    }
    .pm-intel-hero__copy h1,
    .pm-archive-hero h1 {
        font-size: 32px;
    }
    .pm-intel-hero__lead {
        font-size: 15px;
    }
    .pm-strip {
        padding: 0 20px;
    }
    .pm-strip__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    .pm-pickup-section,
    .pm-tabs-section,
    .pm-archive-hero,
    .pm-articles-grid {
        padding-left: 20px;
        padding-right: 20px;
    }
    .pm-section-head--row {
        align-items: flex-start;
        flex-direction: column;
    }
    .pm-section-head h2 {
        font-size: 26px;
    }
    .pm-tabs {
        gap: 24px;
        overflow-x: auto;
        padding-bottom: 0;
    }
    .pm-tabs__btn {
        flex: 0 0 auto;
        font-size: 16px;
    }
}

/* ====================================
** Blockchain Magazine top stabilization v4
** ==================================*/
body.page-template-page-magazine-top .pm-intel-hero {
    padding: 46px var(--pm-page-gutter) 42px;
}
body.page-template-page-magazine-top .pm-intel-hero__inner {
    grid-template-columns: minmax(0, 0.98fr) minmax(440px, 480px);
    grid-template-areas: "copy signal";
    gap: clamp(28px, 3.2vw, 48px);
    align-items: center;
    max-width: var(--pm-content-max);
}
body.page-template-page-magazine-top .pm-intel-hero__copy {
    min-height: 360px;
}
body.page-template-page-magazine-top .pm-intel-hero__copy h1 {
    max-width: 760px;
    font-size: clamp(44px, 4.35vw, 72px);
    line-height: 1.22;
    letter-spacing: 0;
}
body.page-template-page-magazine-top .pm-intel-hero__copy h1 span {
    display: block;
    white-space: normal;
}
body.page-template-page-magazine-top .pm-intel-hero__copy h1 span:not(:last-child)::after {
    content: none;
}
body.page-template-page-magazine-top .pm-intel-hero__lead {
    max-width: 600px;
}
body.page-template-page-magazine-top .pm-signal {
    min-height: 0;
    height: auto;
    align-self: center;
    padding: 26px 28px;
    border: 1px solid var(--pm-line);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(44, 0, 255, 0.025), rgba(44, 0, 255, 0) 44%),
        #fff;
    box-shadow: 0 14px 38px rgba(35, 32, 49, 0.045);
}
body.page-template-page-magazine-top .pm-signal__item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0;
}
body.page-template-page-magazine-top .pm-signal__item strong {
    font-size: 14.5px;
    line-height: 1.65;
}

.pm-major-news {
    padding: 34px var(--pm-page-gutter) 0;
    background: #fff;
}
.pm-major-news__inner {
    max-width: var(--pm-content-max);
    margin: 0 auto;
}
.pm-major-news .pm-section-head {
    margin-bottom: 18px;
}
.pm-major-news .pm-featured {
    grid-area: auto;
}
.pm-major-news__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.58fr);
    gap: 24px;
}
.pm-major-news .pm-featured a {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 3vw, 42px);
    min-height: 332px;
    padding: 28px 34px;
    border-radius: 4px;
    border-color: var(--pm-line);
    box-shadow: 0 16px 44px rgba(35, 32, 49, 0.07);
}
.pm-major-news .pm-featured__thumb {
    order: 1;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--pm-line);
    border-radius: 4px;
    overflow: hidden;
}
.pm-major-news .pm-featured__thumb img,
.pm-major-news__side .pm-card__thumb img {
    object-fit: cover !important;
    object-position: center center;
    background: #f4f6fa;
}
.pm-major-news .pm-featured__fallback {
    justify-content: center;
    padding: 18px;
}
.pm-major-news .pm-featured__fallback strong {
    display: none;
}
.pm-major-news .pm-featured__body {
    position: static;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    right: auto;
    bottom: auto;
    padding: 0;
    background: transparent;
    color: var(--pm-ink);
}
.pm-major-news .pm-featured__label {
    color: var(--pm-primary);
}
.pm-major-news .pm-featured__body h2 {
    color: var(--pm-ink);
    max-width: 560px;
    font-size: clamp(24px, 1.9vw, 32px);
    line-height: 1.45;
}
.pm-major-news .pm-featured__body p {
    max-width: 540px;
    color: #5d5a66;
    font-size: 14px;
}
.pm-major-news .pm-featured__body time {
    color: #8d8a94;
}
.pm-major-news__side {
    display: grid;
    gap: 12px;
}
.pm-card--horizontal a {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 118px;
    box-shadow: none;
}
.pm-card--horizontal .pm-card__thumb {
    aspect-ratio: auto;
    height: 100%;
    min-height: 100%;
}
.pm-card--horizontal .pm-card__fallback {
    justify-content: center;
    min-height: 100%;
    padding: 14px 16px;
}
.pm-card--horizontal .pm-card__fallback strong {
    display: none;
}
.pm-card--horizontal .pm-card__body {
    justify-content: center;
    min-height: 0;
    padding: 14px 16px;
}
.pm-card--horizontal .pm-card__meta-row {
    margin-bottom: 6px;
}
.pm-card--horizontal .pm-card__title {
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
}
.pm-major-news__side .pm-card--horizontal a {
    grid-template-columns: 174px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 132px;
    padding: 18px 20px;
}
.pm-major-news__side .pm-card--horizontal .pm-card__thumb {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
}
.pm-major-news__side .pm-card--horizontal .pm-card__body {
    padding: 0;
}
.pm-major-news__side .pm-card--horizontal .pm-card__fallback {
    min-height: 0;
}

body.page-template-page-magazine-top .pm-pickup-section {
    max-width: none;
    margin: 0;
    padding: 54px var(--pm-page-gutter) 30px;
}
body.page-template-page-magazine-top .pm-tabs-section {
    padding: 30px var(--pm-page-gutter) 56px;
}
body.page-template-page-magazine-top .pm-pickup-section__inner {
    max-width: var(--pm-content-max);
    margin: 0 auto;
}
body.page-template-page-magazine-top .pm-tabs-section__inner {
    max-width: var(--pm-content-max);
    margin: 0 auto;
}
body.page-template-page-magazine-top .pm-pickup-grid,
body.page-template-page-magazine-top .pm-grid--4col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.page-template-page-magazine-top .pm-card:not(.pm-card--horizontal) a {
    min-height: 332px;
}
body.page-template-page-magazine-top .pm-card:not(.pm-card--horizontal) .pm-card__thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
}
body.page-template-page-magazine-top .pm-card:not(.pm-card--horizontal) .pm-card__fallback {
    justify-content: center;
    min-height: 100%;
    padding: 22px;
}
body.page-template-page-magazine-top .pm-card:not(.pm-card--horizontal) .pm-card__fallback strong {
    display: none;
}
body.page-template-page-magazine-top .pm-card:not(.pm-card--horizontal) .pm-card__body {
    min-height: 154px;
}
body.page-template-page-magazine-top .pm-card:not(.pm-card--horizontal) .pm-card__title {
    -webkit-line-clamp: 3;
}

body.page-template-page-magazine-top .pm-layout--three .pm-intel-hero {
    padding-left: clamp(28px, 3.8vw, 64px);
    padding-right: clamp(28px, 3.8vw, 64px);
}
body.page-template-page-magazine-top .pm-layout--three .pm-intel-hero__inner {
    grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.08fr) minmax(340px, 0.78fr);
    grid-template-areas: "copy featured signal";
    gap: 28px;
    max-width: 1500px;
    align-items: stretch;
}
body.page-template-page-magazine-top .pm-layout--three .pm-intel-hero__copy {
    min-height: 420px;
}
body.page-template-page-magazine-top .pm-layout--three .pm-intel-hero__copy h1 {
    max-width: 520px;
    font-size: clamp(42px, 3.4vw, 58px);
    line-height: 1.28;
}
body.page-template-page-magazine-top .pm-layout--three .pm-featured {
    grid-area: featured;
}
body.page-template-page-magazine-top .pm-layout--three .pm-featured a {
    min-height: 420px;
}
body.page-template-page-magazine-top .pm-layout--three .pm-featured__thumb {
    height: 420px;
}
body.page-template-page-magazine-top .pm-layout--three .pm-featured__fallback {
    justify-content: flex-start;
}
body.page-template-page-magazine-top .pm-layout--three .pm-featured__fallback strong {
    display: none;
}
body.page-template-page-magazine-top .pm-layout--three .pm-featured__body {
    right: 28%;
}
body.page-template-page-magazine-top .pm-layout--three .pm-featured__body h2 {
    font-size: 21px;
}
body.page-template-page-magazine-top .pm-layout--three .pm-signal {
    min-height: 420px;
    padding: 22px 24px;
}
body.page-template-page-magazine-top .pm-layout--three .pm-signal__item {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
}
body.page-template-page-magazine-top .pm-layout--three .pm-signal__item time {
    white-space: nowrap;
}

@media (max-width: 1180px) {
    body.page-template-page-magazine-top .pm-intel-hero__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "signal";
    }
    body.page-template-page-magazine-top .pm-layout--three .pm-intel-hero__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "featured"
            "signal";
    }
    .pm-major-news__grid {
        grid-template-columns: 1fr;
    }
    body.page-template-page-magazine-top .pm-signal {
        min-height: 0;
    }
    body.page-template-page-magazine-top .pm-layout--three .pm-featured a,
    body.page-template-page-magazine-top .pm-layout--three .pm-featured__thumb,
    body.page-template-page-magazine-top .pm-layout--three .pm-signal {
        min-height: 0;
        height: auto;
    }
    .pm-major-news__side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.page-template-page-magazine-top .pm-header__inner {
        min-height: 72px;
        padding: 12px 18px;
    }
    body.page-template-page-magazine-top .pm-header__logo-main {
        font-size: 24px;
        line-height: 1.1;
    }
    body.page-template-page-magazine-top .pm-header__logo-sub {
        font-size: 13px;
        line-height: 1.2;
        letter-spacing: 0.12em;
    }
    body.page-template-page-magazine-top .pm-header__burger {
        width: 34px;
        height: 28px;
    }
    body.page-template-page-magazine-top .pm-intel-hero {
        padding: 50px 20px 44px;
    }
    body.page-template-page-magazine-top .pm-intel-hero__copy {
        min-height: 0;
    }
    body.page-template-page-magazine-top .pm-intel-hero__copy h1 {
        font-size: 34px;
        line-height: 1.38;
    }
    body.page-template-page-magazine-top .pm-intel-hero__lead {
        margin-top: 28px;
        line-height: 2;
    }
    body.page-template-page-magazine-top .pm-intel-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 34px;
    }
    .pm-major-news {
        padding: 28px 20px 0;
    }
    .pm-major-news .pm-section-head--row {
        gap: 8px;
    }
    .pm-major-news .pm-featured a {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .pm-major-news .pm-featured__thumb {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
    .pm-major-news .pm-featured__body {
        padding: 0;
    }
    .pm-major-news .pm-featured__body h2 {
        font-size: 22px;
    }
    .pm-major-news__side {
        grid-template-columns: 1fr;
    }
    .pm-card--horizontal a {
        grid-template-columns: 112px minmax(0, 1fr);
    }
    body.page-template-page-magazine-top .pm-pickup-section {
        padding: 46px 20px;
    }
    body.page-template-page-magazine-top .pm-pickup-grid,
    body.page-template-page-magazine-top .pm-grid--4col {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    body.page-template-page-magazine-top .pm-card:not(.pm-card--horizontal) a {
        min-height: 0;
    }
    body.page-template-page-magazine-top .pm-card:not(.pm-card--horizontal) .pm-card__body {
        min-height: 0;
    }
}
