@charset "UTF-8";

/*!
Theme Name: Cocoon Child（アクトパス）
Description: Cocoon専用の子テーマ。賢威8からの移行用に、賢威と同じ見た目を再現するCSSと、賢威リンクカード互換のショートコードを含む。
Theme URI: https://wp-cocoon.com/
Author: 株式会社アクトパス
Template:   cocoon-master
Version:    1.0.0
*/

/************************************
** 1. 見出し：賢威8と同じ見た目
**    （賢威の base.css＋カスタマイザー設定から再現。
**     .title_no-style が付いた見出しは対象外）
************************************/
.article h2:not(.title_no-style) {
  margin: 60px 0 23px;
  padding: 10px 10px 5px;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
  font-size: 19px;
  line-height: 1.4;
}
.article h2:not(.title_no-style) a { color: #fff; }

.article h3:not(.title_no-style) {
  margin: 60px 1px 24px;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  border-radius: 0;
  background: none;
  color: #5a3f30;
  font-size: 18px;
  line-height: 1.4;
}

.article h4:not(.title_no-style) {
  margin: 60px 0 18px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px dotted #000;
  border-radius: 0;
  background: none;
  color: #5a3f30;
  font-size: 18px;
  line-height: 1.4;
}

.article h5:not(.title_no-style) { color: #5a3f30; }

.article h3:not(.title_no-style) a,
.article h4:not(.title_no-style) a,
.article h5:not(.title_no-style) a { color: #505050; }

/* 賢威と同じく、入れ物（本文・部品・枠）の先頭にある見出しは上の余白なし（賢威 .keni-section h2〜h6:first-child） */
.article h2:not(.title_no-style):first-child,
.article h3:not(.title_no-style):first-child,
.article h4:not(.title_no-style):first-child { margin-top: 0; }

/* 見出し装飾を消すクラス（賢威の title_no-style）。.apx 方式のページで使用 */
.article .title_no-style {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  color: #333;
  font-weight: normal;
  font-size: 100%;
  line-height: 1.0;
}
.article .title_no-style::before,
.article .title_no-style::after { content: none; }

/************************************
** 2. 賢威の補助クラス（本文・固定ページで使用中のものだけ）
************************************/
.lh15 { line-height: 1.5 !important; }
.lh18 { line-height: 1.8 !important; }
.lh20 { line-height: 2.0 !important; }

.red    { color: #e00000 !important; }
.blue   { color: #0329ce !important; }
.yellow { color: #ffe400 !important; }
.black  { color: #000 !important; }
.white  { color: #fff !important; }
.b      { font-weight: bold !important; }

.m5-t  { margin-top: 5px !important; }
.m10-t { margin-top: 10px !important; }
.m20-t { margin-top: 20px !important; }
.m30-t { margin-top: 30px !important; }
.m40-t { margin-top: 40px !important; }
.m50-t { margin-top: 50px !important; }
.m60-t { margin-top: 60px !important; }

.al-c { text-align: center !important; }

.line-yellow { background: linear-gradient(transparent 50%, #fff499 50%); }

.col2-wrap { margin: 0 0 1em; }
.col2-wrap::after { display: block; content: " "; clear: both; }
@media (min-width: 480px) {
  .col2-wrap > .col { float: left; width: 49%; }
  .col2-wrap > .col:nth-child(odd) { margin-right: 2%; }
}

/* PC/スマホの出し分け（旧カスタマイザー追加CSSから移植） */
.pc { display: inline !important; }
.mb { display: none !important; }
@media screen and (max-width: 768px) {
  .pc { display: none !important; }
  .mb { display: inline !important; }
}

/************************************
** 3. 賢威リンクカード（[keni-linkcard] の表示）
************************************/
.keni-link-card_wrap {
  min-height: 75px;
  margin-bottom: 2.5em;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}
.keni-link-card_wrap .keni-link-card {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #505050;
  font-style: normal;
  line-height: 1.4;
}
.keni-link-card_wrap .keni-link-card::before,
.keni-link-card_wrap .keni-link-card::after { display: none; content: none; }
.keni-link-card_thumb {
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  width: 75px;
  height: 75px;
}
.keni-link-card_thumb img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  max-width: none;
  height: 100%;
  transform: translate(-50%, -50%);
}
.keni-link-card_title {
  margin-right: 85px;
  margin-bottom: 5px;
  font-size: 14px;
}
.keni-link-card_title a {
  color: #505050;
  font-weight: bold;
  text-decoration: none;
}
.keni-link-card_title a:hover,
.keni-link-card_title a:focus { text-decoration: underline; }
.keni-link-card_url {
  overflow: hidden;
  margin-bottom: 10px;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.keni-link-card_url a { color: #999; text-decoration: none; }
.keni-link-card_desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  max-height: 65px;
  margin-right: 85px;
  font-size: 12px;
}
@media (min-width: 600px) {
  .keni-link-card_wrap .keni-link-card { min-height: 100px; }
  .keni-link-card_thumb { width: 100px; height: 100px; }
  .keni-link-card_title,
  .keni-link-card_desc { margin-right: 115px; }
}

/************************************
** 4. プラグイン向けの調整（旧カスタマイザー追加CSSから移植）
************************************/
/* Blog Floating Button の「×」を消す */
.inner_bfb .bfb_closed { display: none; }

/* Content Views のタイトル */
.pt-cv-title { font-size: 14px !important; color: #777 !important; margin-bottom: -4px !important; }

/* SiteOrigin：ヘッダーとトップバナーの間隔 */
.hero-row { margin-top: 0 !important; }
.hero-row .panel-row-style { padding-top: 0 !important; margin-top: 0 !important; }
.hero-row > .panel-grid-cell { padding-top: 0 !important; }

/* SiteOrigin Hero：スマホでボタンが押せない問題の回避 */
@media (max-width: 768px) {
  .sow-hero-container::after,
  .sow-hero-foreground::after { pointer-events: none; }
  .sow-hero-foreground a { pointer-events: auto; position: relative; z-index: 999; }
}

/************************************
** 5. 賢威と同じにする表示の調整
************************************/
/* トップページ（固定ページ）ではページ名と日付を出さない（賢威の設定と同じ） */
.home.page .entry-title,
.home.page .date-tags { display: none; }

/************************************
** 6. メニュー（PC）：賢威と同じく1行にまとめる
************************************/
.navi-in > ul.menu-pc { flex-wrap: nowrap; }
.navi-in > ul.menu-pc > li { width: auto; height: auto; }
.navi-in > ul.menu-pc > li > a { padding: 8px 12px; font-size: 13px; color: #fff; }
.navi-in > ul.menu-pc > li > a:hover { background-color: #333; color: #fff; }
.navi-in > ul.menu-pc .sub-menu li { height: auto; }
.navi-in > ul.menu-pc .sub-menu a { padding: 10px 16px; font-size: 13px; color: #333; }
.navi-in > ul.menu-pc .sub-menu a:hover { background-color: #e9e9e9; color: #333; }

/************************************
** 7. スマホ下の固定ボタン：賢威と同じ黄色の6ボタン
**    （メニュー「スマホ下部メニュー」を「フッターモバイルボタン」に割り当てて使う）
************************************/
.mobile-footer-menu-buttons {
  background: #ffd700;
  border-top: 1px solid #ffff00;
  box-shadow: none;
}
.mobile-footer-menu-buttons .menu-button { border-right: 1px solid #ffff00; }
.mobile-footer-menu-buttons .menu-button:last-child { border-right: 0; }
.mobile-footer-menu-buttons .menu-button-in { padding: 10px 2px; color: #000; }
.mobile-footer-menu-buttons .menu-icon { display: none; }
.mobile-footer-menu-buttons .menu-caption {
  opacity: 1;
  color: #000;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.3;
  white-space: normal;
}

/************************************
** 8. 本文の横幅（PC）：賢威と同じ約800px
**    （1カラム時はCocoon設定の幅が効かないため、CSSで指定）
************************************/
@media screen and (min-width: 835px) {
  .no-sidebar .content .main {
    width: auto;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }
}

/************************************
** 9. スマホのヘッダー：黒い帯にメニュー・ロゴ・検索をまとめる
**    （Cocoonのヘッダーモバイルボタンを使い、大きいロゴの帯は隠す）
************************************/
@media screen and (max-width: 1023px) {
  .mobile-header-menu-buttons { background: #000; box-shadow: none; }
  .mobile-header-menu-buttons .menu-button > .menu-button-in,
  .mobile-header-menu-buttons .menu-button > .menu-button-in .menu-icon,
  .mobile-header-menu-buttons .menu-button > .menu-button-in .menu-caption { color: #fff; }
  #header-container .header { display: none; }
}

/************************************
** 10. 賢威と同じ表示ルール
**    ・固定ページは投稿日を出さない（賢威は固定ページに日付なし）
**    ・賢威で「タイトル／アイキャッチを表示しない」にしていたページは隠す
**      （functions.php の 4. が body にクラスを付ける）
************************************/
.page .article-header .date-tags,
.keni-hide-title .article-header .entry-title,
.keni-hide-eyecatch .article-header .eye-catch-wrap {
  display: none;
}

/************************************
** 11. 本文の文字：賢威と同じ 14px・行間1.7・字間0.05em・段落の間1.5文字
**    （賢威の追加CSS「行間」「改行したときの行間」を再現。PC・スマホ共通）
************************************/
.main .article {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: .05em;
}
.main .article p { margin-bottom: 1.5em; }
/* Cocoonの「行の高さ」設定（.entry-content>* に 1.8）より優先させる */
.main .article .entry-content > * { line-height: 1.7; }

/* 小見出し h5・h6：賢威は線も余白もなし（Cocoonの下線を消す） */
#container .article h5:not(.title_no-style),
#container .article h6:not(.title_no-style) {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  line-height: 1.4;
}
#container .article h5:not(.title_no-style) { font-size: 18px; }
#container .article h6:not(.title_no-style) { font-size: 16px; color: #505050; }

/************************************
** 12. トップページ冒頭：上の案内と跳会議バナーの間を賢威と同じく約20px空ける
**    （バナーの部品に「上に -30px」の指定があり、賢威では上の部品側の余白で相殺されていた）
**    ※トップの部品の並びを組み替えたら、番号（panel-24260-0-0-○）の見直しが要る
************************************/
/* 0-0-0＝PC用の案内、0-0-1＝スマホ用の案内（片方は隠れているが余白は残るので、画面幅で分ける） */
.home #pl-24260 #panel-24260-0-0-0 { margin-bottom: 50px; }
.home #pl-24260 #panel-24260-0-0-1 { margin-bottom: 0; }
@media screen and (max-width: 768px) {
  .home #pl-24260 #panel-24260-0-0-0 { margin-bottom: 0; }
  .home #pl-24260 #panel-24260-0-0-1 { margin-bottom: 50px; }
  /* PC用の案内（0-0-0）には部品設定で「上に -50px」が入っていて、スマホでは中身が隠れても
     その余白だけ残り、スマホ用の案内（0-0-1）がヘッダーの下に食い込んでいた。
     -34px にしてヘッダーとの間を 12px 空ける */
  .home #pl-24260 #panel-24260-0-0-0 { margin-top: -34px; }
}


/************************************
** 13. PCのフッター地図：左右の列は使っていないので隠し、真ん中の列を全幅に。
**    地図は本文と同じ最大860px幅で中央に置く（スマホは「フッター（モバイル用）」側）
**    ※フッター左・右にウィジェットを入れるときは、この指定を外す
************************************/
@media screen and (min-width: 835px) {
  .footer-widgets .footer-left,
  .footer-widgets .footer-right { display: none; }
  .footer-widgets .footer-center { flex: 1 1 100%; width: 100%; }
}
.footer-center iframe { width: 100%; max-width: 860px; }

/************************************
** 14. スマホのメニュー（ハンバーガー）：階層を見分けやすく
**    上の階層（コンサルティング／セミナー・講演・研修 など）は太字＋下線、
**    その下の項目は細字・やや小さめ・先頭に「－」
************************************/
.navi-menu-content .menu-drawer > li { margin-top: 8px; }
.navi-menu-content .menu-drawer > li:first-child { margin-top: 0; }
.navi-menu-content .menu-drawer > li > a {
  font-weight: bold;
  font-size: 16px;
  padding: 8px 6px;
  border-bottom: 1px solid #ddd;
}
.navi-menu-content .menu-drawer .sub-menu { padding-left: 14px; }
.navi-menu-content .menu-drawer .sub-menu a {
  font-weight: normal;
  font-size: 14px;
  color: #444;
  padding: 6px 6px 6px 12px;
  position: relative;
}
.navi-menu-content .menu-drawer .sub-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1em;
  width: 5px;
  height: 1px;
  background: #999;
}

/************************************
** 15. 記事一覧（Content Views）：スマホで右に10pxはみ出して横スクロールが出るのを止める
**    （.pt-cv-colsys の左右 -15px の余白が、入れ物の幅より外に出るため）
************************************/
.pt-cv-wrapper { overflow: hidden; }

/************************************
** 16. 写真・帯で始まる固定ページ：ヘッダーのメニューと本文の間の余白をなくす
**    （上のパンくず「ホーム」と、その下の余白 約110px を出さない。文章で始まるページは今のまま）
**    対象：.apx-hero で始まるページ（WEB販促 無料診断など）と、下のページID
**    498 メルマガ／1019 アクトパスクラブ／40 会社概要／2327 実績／25399 2026年9月セミナー／25773 跳会議／25955 NEWSライブラリー紹介
************************************/
body.page:has(.entry-content .apx-hero) #breadcrumb,
body.page-id-498 #breadcrumb, body.page-id-1019 #breadcrumb, body.page-id-40 #breadcrumb,
body.page-id-2327 #breadcrumb, body.page-id-25399 #breadcrumb, body.page-id-25773 #breadcrumb,
body.page-id-25955 #breadcrumb { display: none; }
body.page:has(.entry-content .apx-hero) #content,
body.page-id-498 #content, body.page-id-1019 #content, body.page-id-40 #content,
body.page-id-2327 #content, body.page-id-25399 #content, body.page-id-25773 #content,
body.page-id-25955 #content { margin-top: 0; }
body.page:has(.entry-content .apx-hero) #main,
body.page-id-498 #main, body.page-id-1019 #main, body.page-id-40 #main,
body.page-id-2327 #main, body.page-id-25399 #main, body.page-id-25773 #main,
body.page-id-25955 #main { padding-top: 0; }
body.page:has(.entry-content .apx-hero) .entry-content,
body.page-id-498 .entry-content, body.page-id-1019 .entry-content, body.page-id-40 .entry-content,
body.page-id-2327 .entry-content, body.page-id-25399 .entry-content, body.page-id-25773 .entry-content,
body.page-id-25955 .entry-content { margin-top: 0; }

/************************************
** 17. トップページの改修（2026年11月）
**    body.aqt-top（トップと改修プレビュー用の下書き。functions.php 16. が付ける）だけに効く。
**    ・幅：中身を1000pxにそろえる　・書体：サイトの基本書体1種類に統一
**    ・文字サイズ：大見出し30／中見出し22／小見出し18／本文15／補足13（スマホは大見出し24・中見出し20）
**    ・新しいブロック（.aqt-blk）：メルマガ紹介／提供サービス／SNS／会社概要
**      と、ショートコード（ちょい読み・バックナンバー・最新号）の見た目
************************************/
.aqt-top {
  --aqt-w: 1000px;
  --aqt-fs-h1: 30px;
  --aqt-fs-h2: 22px;
  --aqt-fs-h3: 18px;
  --aqt-fs-body: 15px;
  --aqt-fs-sm: 13px;
  --aqt-ink: #333;
  --aqt-soft: #6b6b6b;
  --aqt-line: #e3e0d6;
  --aqt-navy: #1f3a5f;
  --aqt-orange: #e05a00;
  --aqt-yellow: #f5c518;
  --aqt-yellow-d: #e0b40b;
}
@media screen and (max-width: 768px) {
  .aqt-top { --aqt-fs-h1: 24px; --aqt-fs-h2: 20px; }
}

/* 幅：Cocoon の本文幅（8. の860px）を広げ、中身を1000pxにする（左右の余白30pxずつ） */
@media screen and (min-width: 835px) {
  .aqt-top.no-sidebar .content .main { max-width: calc(var(--aqt-w) + 60px); }
}

/* 書体：ヒーローとライブラリーの帯が独自の書体を指定しているので、基本書体に戻す */
.aqt-top .ap-hero,
.aqt-top .apm-hero,
.aqt-top .apx.apbn-s,
.aqt-top .apx.apbn-s * { font-family: inherit !important; }

/* ヒーローとEXPOバナーの間隔：12. と同じ指定を、ページIDに頼らない形で（改修プレビューの下書きにも効くように）。
   1つ目＝PC用の案内（スマホでは中身が隠れ、上に -50px の余白だけ残る）、2つ目＝スマホ用の案内 */
.aqt-top .panel-layout > .panel-grid:first-child .panel-grid-cell > .so-panel:nth-child(1) { margin-bottom: 50px !important; }
.aqt-top .panel-layout > .panel-grid:first-child .panel-grid-cell > .so-panel:nth-child(2) { margin-bottom: 0 !important; }
@media screen and (max-width: 768px) {
  .aqt-top .panel-layout > .panel-grid:first-child .panel-grid-cell > .so-panel:nth-child(1) { margin-top: -34px !important; margin-bottom: 0 !important; }
  .aqt-top .panel-layout > .panel-grid:first-child .panel-grid-cell > .so-panel:nth-child(2) { margin-bottom: 50px !important; }
}

/* ヒーロー（PC）：黄色ボタンの文字を1行に収める */
.aqt-top .ap-hero .ap-btn { white-space: nowrap; font-size: 18px; }

/* 黒い見出し帯（SiteOrigin の見出し部品）と、その下の小見出し */
.aqt-top .sow-headline { font-size: var(--aqt-fs-h1) !important; line-height: 1.4 !important; }
.aqt-top .sow-sub-headline { font-size: var(--aqt-fs-h3) !important; line-height: 1.5 !important; }

/* 部品の小見出し（最新情報・ちょい読み・バックナンバー） */
.aqt-top .so-panel .widget-title { font-size: var(--aqt-fs-h3); line-height: 1.5; }

/* お悩み4つ（SiteOrigin の特徴部品）の説明文 */
.aqt-top .sow-features-feature h4 { font-size: var(--aqt-fs-body) !important; line-height: 1.6 !important; }

/* 最新情報（functions.php 7. の部品） */
.aqt-top .keni-modified-posts { margin: 0; padding: 0; list-style: none; }
.aqt-top .keni-modified-posts li { margin: 0; padding: 10px 0; border-bottom: 1px dotted #ccc; font-size: var(--aqt-fs-body); line-height: 1.7; list-style: none; }
.aqt-top .keni-modified-posts li a { color: var(--aqt-ink); text-decoration: none; }
.aqt-top .keni-modified-posts li a:hover { color: var(--aqt-orange); text-decoration: underline; }

/* 新しいブロック共通：テーマの見出し・段落・リストの装飾を受けない */
.aqt-top .aqt-blk { color: var(--aqt-ink); font-size: var(--aqt-fs-body); line-height: 1.8; }
.aqt-top .aqt-blk h2,
.aqt-top .aqt-blk h3,
.aqt-top .aqt-blk h4,
.aqt-top .aqt-blk p,
.aqt-top .aqt-blk ul,
.aqt-top .aqt-blk li,
.aqt-top .aqt-blk dl,
.aqt-top .aqt-blk dt,
.aqt-top .aqt-blk dd { margin: 0; padding: 0; border: 0; background: none; list-style: none; font-family: inherit; color: inherit; line-height: inherit; letter-spacing: normal; }
.aqt-top .aqt-blk li::before,
.aqt-top .aqt-blk li::after { content: none; }
.aqt-top .aqt-blk a { color: inherit; text-decoration: none; }
.aqt-top .aqt-blk img { display: block; max-width: 100%; height: auto; }

/* メルマガ紹介 */
.aqt-top .aqt-mag { max-width: 880px; margin: 28px auto 8px; padding: 30px 32px 22px; background: #fff; border: 1px solid var(--aqt-line); border-top: 4px solid var(--aqt-navy); border-radius: 10px; box-shadow: 0 10px 28px -16px rgba(0,0,0,.25); text-align: center; }
.aqt-top .aqt-mag .aqt-mag-label { font-size: var(--aqt-fs-sm); font-weight: 700; letter-spacing: .08em; color: var(--aqt-orange); }
.aqt-top .aqt-mag .aqt-mag-title { margin: 4px 0 10px; font-size: var(--aqt-fs-h2); font-weight: 700; line-height: 1.4; color: var(--aqt-navy); }
.aqt-top .aqt-mag .aqt-mag-lead { margin: 0 0 14px; font-size: var(--aqt-fs-body); line-height: 1.8; }
.aqt-top .aqt-mag .aqt-mag-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 20px; }
.aqt-top .aqt-mag .aqt-mag-facts li { padding: 3px 12px; border-radius: 999px; background: #eef2f7; color: var(--aqt-navy); font-size: var(--aqt-fs-sm); font-weight: 700; line-height: 1.6; }
.aqt-top .aqt-mag .aqt-mag-btn { display: inline-block; padding: 12px 36px; border: 2px solid var(--aqt-yellow-d); border-radius: 999px; background: var(--aqt-yellow); color: #1a1a1a; font-size: 16px; font-weight: 700; line-height: 1.4; box-shadow: 0 6px 16px -6px rgba(0,0,0,.3); transition: transform .15s; }
.aqt-top .aqt-mag .aqt-mag-btn:hover { transform: translateY(-2px); background: var(--aqt-yellow-d); }
.aqt-top .aqt-mag .aqt-mag-note { margin: 8px 0 0; font-size: var(--aqt-fs-sm); color: var(--aqt-soft); }
.aqt-top .aqt-maglatest { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 0; padding: 14px 4px 0; border-top: 1px solid #eee; color: var(--aqt-ink); text-align: left; text-decoration: none; }
.aqt-top .aqt-maglatest-tag { flex: none; padding: 1px 8px; border-radius: 3px; background: var(--aqt-navy); color: #fff; font-size: 12px; font-weight: 700; }
.aqt-top .aqt-maglatest-date { flex: none; color: var(--aqt-soft); font-size: var(--aqt-fs-sm); }
.aqt-top .aqt-maglatest-title { font-size: var(--aqt-fs-body); font-weight: 700; line-height: 1.6; }
.aqt-top .aqt-maglatest:hover .aqt-maglatest-title { color: var(--aqt-orange); text-decoration: underline; }
@media screen and (max-width: 768px) {
  .aqt-top .aqt-maglatest { flex-wrap: wrap; gap: 4px 8px; }
  .aqt-top .aqt-maglatest-title { flex: 1 1 100%; }
  .aqt-top .aqt-mag { padding: 24px 18px 18px; }
}

/* 提供サービス：PC 4列・スマホ 2列のカード */
.aqt-top .aqt-svc ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 24px; max-width: var(--aqt-w); margin: 0 auto; padding: 4px 0 56px; }
.aqt-top .aqt-svc li { flex: 0 0 calc((100% - 72px) / 4); }
.aqt-top .aqt-svc a { display: block; height: 100%; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.07); transition: transform .15s, box-shadow .15s; }
.aqt-top .aqt-svc a:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.3); }
.aqt-top .aqt-svc .aqt-svc-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.aqt-top .aqt-svc .aqt-svc-img img { width: 100%; height: 100%; object-fit: cover; }
.aqt-top .aqt-svc .aqt-svc-q { display: block; padding: 12px 10px 14px; font-size: var(--aqt-fs-body); font-weight: 700; line-height: 1.6; text-align: center; }
.aqt-top .aqt-svc .aqt-svc-q::after { content: "→"; margin-left: 6px; color: var(--aqt-orange); }
@media screen and (max-width: 768px) {
  .aqt-top .aqt-svc ul { gap: 16px 12px; padding: 0 0 36px; }
  .aqt-top .aqt-svc li { flex-basis: calc((100% - 12px) / 2); }
  .aqt-top .aqt-svc .aqt-svc-q { padding: 8px 6px 10px; font-size: var(--aqt-fs-sm); }
}

/* SNS：PC 横4つ・スマホ 2×2 */
.aqt-top .aqt-sns { max-width: var(--aqt-w); margin: 0 auto; padding: 48px 0 56px; text-align: center; }
.aqt-top .aqt-sns .aqt-sns-h { margin: 0 0 20px; font-size: var(--aqt-fs-h3); font-weight: 700; }
.aqt-top .aqt-sns ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aqt-top .aqt-sns a { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 20px 10px 16px; border: 1px solid var(--aqt-line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.aqt-top .aqt-sns a:hover { border-color: var(--aqt-navy); box-shadow: 0 8px 20px -10px rgba(0,0,0,.3); }
.aqt-top .aqt-sns img { width: 36px; height: 36px; object-fit: contain; }
.aqt-top .aqt-sns .aqt-sns-name { font-size: var(--aqt-fs-body); font-weight: 700; line-height: 1.4; }
.aqt-top .aqt-sns .aqt-sns-id { font-size: var(--aqt-fs-sm); color: var(--aqt-soft); line-height: 1.4; }
@media screen and (max-width: 768px) {
  .aqt-top .aqt-sns { padding: 36px 0 40px; }
  .aqt-top .aqt-sns ul { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ちょい読み（最新号） */
.aqt-top .aqt-chou-img { display: block; margin: 0 0 14px; overflow: hidden; border-radius: 6px; }
.aqt-top .aqt-chou-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.aqt-top .aqt-chou .aqt-chou-date { margin: 0 0 2px; font-size: var(--aqt-fs-sm); color: var(--aqt-soft); }
.aqt-top .aqt-chou .aqt-chou-title { margin: 0 0 8px; padding: 0; border: 0; background: none; font-size: var(--aqt-fs-h3); font-weight: 700; line-height: 1.5; }
.aqt-top .aqt-chou .aqt-chou-title a { color: var(--aqt-ink); text-decoration: none; }
.aqt-top .aqt-chou .aqt-chou-text { margin: 0 0 12px; font-size: var(--aqt-fs-body); line-height: 1.85; }
.aqt-top .aqt-chou .aqt-chou-more { display: inline-block; padding: 8px 22px; border-radius: 999px; background: var(--aqt-navy); color: #fff; font-size: var(--aqt-fs-sm); font-weight: 700; text-decoration: none; }
.aqt-top .aqt-chou .aqt-chou-more:hover { opacity: .85; }

/* バックナンバー：16:9 のサムネイル 2列 */
.aqt-top .aqt-bn { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.aqt-top .aqt-bn li { margin: 0; padding: 0; list-style: none; }
.aqt-top .aqt-bn li::before { content: none; }
.aqt-top .aqt-bn a { display: block; color: var(--aqt-ink); text-decoration: none; }
.aqt-top .aqt-bn .aqt-bn-img { display: block; margin: 0 0 6px; overflow: hidden; border-radius: 4px; }
.aqt-top .aqt-bn .aqt-bn-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.aqt-top .aqt-bn .aqt-bn-date { display: block; font-size: 12px; color: var(--aqt-soft); line-height: 1.4; }
.aqt-top .aqt-bn .aqt-bn-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: var(--aqt-fs-sm); font-weight: 700; line-height: 1.55; }
.aqt-top .aqt-bn a:hover .aqt-bn-title { color: var(--aqt-orange); text-decoration: underline; }

/* 会社概要：表＋社長メッセージのバナー */
.aqt-top .aqt-co { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; max-width: var(--aqt-w); margin: 0 auto; }
.aqt-top .aqt-co .aqt-co-h { margin: 0 0 12px; padding: 0 0 8px; border-bottom: 2px solid var(--aqt-navy); font-size: var(--aqt-fs-h3); font-weight: 700; color: var(--aqt-navy); }
.aqt-top .aqt-co dl > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #e6e6e6; font-size: var(--aqt-fs-body); line-height: 1.7; }
.aqt-top .aqt-co dt { font-weight: 700; color: var(--aqt-navy); }
.aqt-top .aqt-co .aqt-co-more { display: inline-block; margin: 14px 0 0; font-size: var(--aqt-fs-sm); font-weight: 700; color: var(--aqt-navy); }
.aqt-top .aqt-co .aqt-co-more:hover { color: var(--aqt-orange); text-decoration: underline; }
.aqt-top .aqt-co .aqt-co-pic { display: block; overflow: hidden; border-radius: 6px; box-shadow: 0 10px 28px -14px rgba(0,0,0,.35); }
@media screen and (max-width: 768px) {
  .aqt-top .aqt-co { grid-template-columns: 1fr; gap: 24px; }
  .aqt-top .aqt-co dl > div { grid-template-columns: 5.5em 1fr; gap: 8px; }
}

/* コンサルティング実績のバナー2枚（SiteOrigin の画像グリッド）：PC は横に2枚並べる（1枚の最大幅610pxのままだと1000pxの枠で縦に積まれる） */
@media screen and (min-width: 769px) {
  .aqt-top .sow-image-grid-wrapper { flex-wrap: nowrap; gap: 20px; }
  .aqt-top .sow-image-grid-wrapper .sow-image-grid-image { flex: 1 1 0; width: auto; max-width: none; margin: 0; }
  .aqt-top .sow-image-grid-wrapper .sow-image-grid-image img { width: 100%; height: auto; }
}

/* 改修プレビュー用の下書きだけ：ページ名・パンくずなどトップに無いものを隠す */
.aqt-top-preview .entry-title,
.aqt-top-preview .breadcrumb,
.aqt-top-preview .date-tags,
.aqt-top-preview .sns-share,
.aqt-top-preview .sns-follow,
.aqt-top-preview .author-info { display: none; }
