/*
Theme Name: Entaar Career
Theme URI: https://career.entaar.com
Author: Entaar
Description: career.entaar.com（Studio.Design 製）を WordPress で再現するクラシックテーマ。デザイントークンは snapshot/index.json の styleVars から実測値を取り込んでいる。
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: entaar-career
*/

/* =========================================================================
   デザイントークン
   出典: snapshot/index.json の styleVars / fonts / breakPoints / info.baseWidth
   （Studio 上の変数名をコメントで併記。値を変えるときは元サイトと突き合わせる）
   ========================================================================= */
:root {
  --ec-brand: #e84a10;        /* Brand */
  --ec-accent: #185b99;       /* New Color */
  --ec-text-01: #111111;      /* text/01 本文 */
  --ec-text-02: #ffffff;      /* text/02 反転 */
  --ec-text-03: #888888;      /* text/03 補足 */
  --ec-border-01: #e3e3e3;    /* Border/01 */
  --ec-bg-01: #f6f6f6;        /* background/01 */
  --ec-bg-base: #ffffff;

  --ec-font: "Poppins", "Noto Sans JP", sans-serif;

  /* info.baseWidth = 1280 */
  --ec-base-width: 1280px;
  /* --ec-gutter（外余白）は assets/custom.css で定義する。ここで定義すると、custom.css の後に読む News 系のページだけ 24px に戻る */
}

/* breakPoints: mini 320 / mobile 540 / tablet 840 / small 1140 */

/* =========================================================================
   ベース
   ========================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--ec-font);
  color: var(--ec-text-01);
  background: var(--ec-bg-base);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
}

.ec-container {
  width: 100%;
  max-width: var(--ec-base-width);
  margin-inline: auto;
  padding-inline: var(--ec-gutter);
}

/* =========================================================================
   ヘッダー / フッター（骨格のみ。実レイアウトはページ再現時に作り込む）
   ========================================================================= */
.ec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  border-bottom: 1px solid var(--ec-border-01);
}

.ec-header__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ec-nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.ec-nav a {
  text-decoration: none;
}

.ec-nav a:hover {
  color: var(--ec-brand);
}

.ec-main {
  padding-block: 48px 80px;
}

.ec-footer {
  padding-block: 40px;
  background: var(--ec-bg-01);
  color: var(--ec-text-03);
  font-size: 13px;
}

/* =========================================================================
   本文（未再現ページの暫定表示）
   ========================================================================= */
.ec-entry__title {
  font-size: 32px;
  line-height: 1.4;
  margin-block: 0 24px;
}

.ec-notice {
  padding: 20px 24px;
  border: 1px solid var(--ec-border-01);
  background: var(--ec-bg-01);
  font-size: 14px;
  color: var(--ec-text-03);
}

@media (max-width: 840px) {
  .ec-nav {
    display: none; /* TODO: ハンバーガーメニュー（元サイトの menu ページ相当）*/
  }
  .ec-entry__title {
    font-size: 26px;
  }
}
