/* ==========================================================================
   /company/（会社概要 ＋ プロフィール）専用スタイル
   assets/css/company.css
   --------------------------------------------------------------------------
   ・設置先：/assets/css/company.css
   ・読み込み：functions.php で page-hys-company.php のときだけ enqueue。
     依存に 'hys-top'（= assets/css/style.css）を指定しているため、
     必ず style.css の後に読み込まれ、カスケード順が保たれます。
   ・トークン（--green / --brass / --paper / --line 等）は
     style.css の :root が唯一の定義元です。ここでは定義しません。
   ・共通クラス（.block / .wrap / .eyebrow / .disp / .close-line /
     .page-hero / .cta-band / .btn-dark など）は style.css を継承します。
   ・プロフィールは本ページ下部のセクション（#profile）です。
     独立ページを廃止したため、旧 profile.css は不要になりました。
   ========================================================================== */

/* ==========================================================================
   会社概要テーブル
   --------------------------------------------------------------------------
   <dl class="info"> の中に <div><dt>項目</dt><dd>内容</dd></div> を並べます。
   項目を増減しても罫線は自動で追従します。
   ========================================================================== */
.hys-top .info{margin-top:38px;border-top:1px solid var(--line)}
.hys-top .info > div{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:26px;
  padding:20px 4px;
  border-bottom:1px solid var(--line);
}
.hys-top .info dt{
  font-size:13.5px;font-weight:500;letter-spacing:.1em;color:var(--muted);line-height:2;
}
.hys-top .info dd{
  font-size:16px;line-height:2;color:var(--body);letter-spacing:.02em;
}
.hys-top .info dd.num{font-family:var(--num);font-size:18px;letter-spacing:.06em}
.hys-top .info dd a{color:var(--brass);text-decoration:underline}

/* --- 運営体制の説明 --- */
.hys-top .runby{
  margin-top:40px;
  border:1px solid var(--line);
  border-left:3px solid var(--brass);
  background:var(--paper);
  padding:30px 32px;
}
.hys-top .block.alt .runby{background:var(--paper-2)}
.hys-top .runby h3{
  font-family:var(--mincho);font-weight:600;font-size:18px;
  letter-spacing:.06em;color:var(--green);margin-bottom:14px;
}
.hys-top .runby p{
  font-size:15px;line-height:2.05;color:var(--muted);letter-spacing:.02em;
}
.hys-top .runby p + p{margin-top:14px}
.hys-top .runby a{color:var(--brass);text-decoration:underline}

/* ==========================================================================
   プロフィール（顔写真＋基本情報）
   ========================================================================== */
.hys-top .pf-head{
  display:grid;
  grid-template-columns:340px 1fr;
  gap:56px;
  align-items:center;
}
.hys-top .pf-photo{
  width:340px;
  aspect-ratio:4/5;
  /* 画像を4:5で書き出してあるため、枠（aspect-ratio:4/5）とぴったり一致します。
     位置指定は不要なので center のみ。 */
  background:url("../img/portrait_matsu.jpg") center/cover no-repeat;
  border:1px solid var(--line);
  position:relative;
}
/* 写真の下辺に細いブラスのラインを引いて、額装のような見え方に */
.hys-top .pf-photo::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--brass);
}

.hys-top .pf-affil{
  font-size:12.5px;letter-spacing:.16em;font-weight:500;color:var(--brass);
  margin-bottom:8px;
}
.hys-top .pf-name{
  font-family:var(--mincho);font-weight:700;font-size:40px;line-height:1.4;
  letter-spacing:.14em;color:var(--green);
}

/* --- 基本情報（出身・保有資格） --- */
.hys-top .pf-meta{margin-top:30px;border-top:1px solid var(--line)}
.hys-top .pf-meta > div{
  display:flex;align-items:baseline;gap:26px;flex-wrap:wrap;
  padding:18px 2px;border-bottom:1px solid var(--line);
}
.hys-top .pf-meta dt{
  flex:0 0 auto;min-width:6em;
  font-size:13px;font-weight:500;letter-spacing:.12em;color:var(--muted);
}
.hys-top .pf-meta dd{
  font-family:var(--mincho);font-weight:600;font-size:19px;letter-spacing:.05em;
  color:var(--green);line-height:1.6;
}
/* 資格はチップで並べる（対応エリアの .chip と同じ考え方） */
.hys-top .pf-meta .lics{display:flex;flex-wrap:wrap;gap:8px}
.hys-top .pf-meta .lic{
  font-family:var(--mincho);font-size:15px;font-weight:500;letter-spacing:.05em;
  color:var(--green);border:1px solid var(--brass-soft);background:var(--paper);
  padding:7px 16px;line-height:1.5;
}
.hys-top .block.alt .pf-meta .lic{background:var(--paper-2)}

.hys-top .pf-note{
  font-size:12.5px;line-height:1.95;color:var(--muted);letter-spacing:.02em;margin-top:22px;
}
.hys-top .pf-note a{color:var(--brass);text-decoration:underline}

/* ==========================================================================
   自己紹介メッセージ（章立て）
   ========================================================================== */
.hys-top .story{max-width:900px}
.hys-top .chap{position:relative;padding-left:78px;margin-bottom:32px}
.hys-top .chap-no{
  position:absolute;left:0;top:-10px;
  font-family:var(--num);font-weight:500;font-size:56px;line-height:1;
  letter-spacing:.02em;color:var(--brass);opacity:.35;
}
.hys-top .chap .eyebrow{margin-bottom:14px}

.hys-top .story p{
  font-size:16.5px;line-height:2.15;color:var(--body);letter-spacing:.03em;
  margin-top:26px;
}
.hys-top .story p b{color:var(--green);font-weight:700}

/* 章の締めの一文（少し大きく、罫線で区切る） */
.hys-top .pf-pull{
  font-family:var(--mincho);font-weight:600;
  font-size:22px !important;line-height:1.85 !important;
  letter-spacing:.06em;color:var(--green);
  margin-top:34px !important;padding-left:22px;
  border-left:2px solid var(--brass-soft);
}

.hys-top .story .finenote{
  font-size:12px;line-height:1.85;color:var(--muted);letter-spacing:.01em;margin-top:26px;
}
.hys-top .story .finenote a{color:var(--brass);text-decoration:underline}

.hys-top .story .close-line{margin-top:48px}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media(max-width:980px){
  .hys-top .pf-head{grid-template-columns:280px 1fr;gap:38px}
  .hys-top .pf-photo{width:280px}
  .hys-top .pf-name{font-size:34px}
}

@media(max-width:820px){
  .hys-top .info > div{grid-template-columns:1fr;gap:5px;padding:16px 2px}
  .hys-top .info dt{font-size:12.5px;line-height:1.9}
  .hys-top .info dd{font-size:15px;line-height:1.95}
  .hys-top .info dd.num{font-size:17px}
  .hys-top .runby{padding:24px 22px;margin-top:32px}

  /* 写真は上、情報は下。写真は大きくしすぎない */
  .hys-top .pf-head{grid-template-columns:1fr;gap:28px;justify-items:center;text-align:center}
  .hys-top .pf-photo{width:100%;max-width:300px}
  .hys-top .pf-body{width:100%}
  .hys-top .pf-name{font-size:29px;letter-spacing:.1em}
  .hys-top .pf-meta{margin-top:24px}
  .hys-top .pf-meta > div{
    flex-direction:column;align-items:center;gap:10px;padding:16px 2px;
  }
  .hys-top .pf-meta dt{min-width:0}
  .hys-top .pf-meta dd{font-size:17px}
  .hys-top .pf-meta .lics{justify-content:center}
  .hys-top .pf-meta .lic{font-size:14px;padding:6px 13px}

  .hys-top .chap{padding-left:0;margin-bottom:24px}
  .hys-top .chap-no{position:static;display:block;font-size:38px;margin-bottom:10px}
  .hys-top .story p{font-size:15.5px;line-height:2.05;margin-top:22px}
  .hys-top .pf-pull{font-size:19px !important;padding-left:16px}
  .hys-top .story .close-line{margin-top:38px}
}
