@charset "UTF-8";
/*
Theme Name:   THE SONIC Child
Theme URI:    https://the-sonic.jp
Description:  THE SONICカスタマイズ用子テーマ
Author:       SONIC Team
Author URI:   https://the-sonic.jp
Template:     thesonic
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
* ここから下に記述
*/

/* ==========================================================
   メンター採用記事（カテゴリ「大学生必見バイト情報」slug=job）専用CSS  2026-09-03
   投稿別CSSに7記事分コピーしていたものをここに集約。カテゴリを変えたら .category-job を差し替える。
   ・カテゴリのクラスは body ではなく <article class="... category-job"> に付く。
     1カラムテンプレートのときは同じ article に .one-column も付くので、この2つの組み合わせで
     「講師向けカテゴリ × 1カラム」の記事だけに効かせる（他カテゴリで1カラムを選んでも影響なし）。
   ・article の外にある要素（ヘッダー帯 .header-info）は body:has() で同じ条件を見る。
   ========================================================== */
/* 1カラムはテーマがタイトルをアイキャッチに重ねる(eyecatching-mark1)ため通常配置（タイトル→日付→画像）に戻す */
article.category-job .entry-header div.eyecatching-mark1{position:static !important;background:none !important;outline:none !important;min-height:0 !important;height:auto !important;}
article.category-job .entry-header .eyecatching-mark1 .entry-title{position:static !important;transform:none !important;opacity:1 !important;color:inherit !important;font-size:1.6em !important;text-align:left !important;padding:0 36px !important;margin:0 0 .6em !important;}
article.category-job .entry-header .eyecatching-mark1 .entry-header-item{position:static !important;color:inherit !important;justify-content:flex-start !important;padding:0 36px !important;margin:0 0 1em !important;}
article.category-job .entry-header .eyecatching-mark1 .entry-header-item span{opacity:1 !important;}
article.category-job .entry-header .eyecatching-mark1 .entry-eyeimg img{opacity:1 !important;}
/* 生徒向け導線の非表示（記事下CTA・記事中プロフィール・書いた人ボタン・ヘッダー帯） */
article.category-job.one-column .entry-footer .post-cta{display:none !important;}
article.category-job.one-column .post-middle{display:none !important;}
article.category-job.one-column .entry-writer .pf-custom-btn{display:none !important;}
body:has(article.category-job.one-column) .header-info{display:none !important;}
/* 表: 3列以下(.tbl-wrap)はスマホで折り返し。1列目を狭く */
article.category-job .entry-content .tbl-wrap table{table-layout:fixed;width:100%;}
article.category-job .entry-content .tbl-wrap th:first-child,article.category-job .entry-content .tbl-wrap td:first-child{width:26%;}
@media (max-width:600px){article.category-job .entry-content .tbl-wrap th,article.category-job .entry-content .tbl-wrap td{font-size:13px;padding:8px 6px;line-height:1.5;}}
