/*
Theme Name: Lightning Child Teate
Template: lightning
Version: 0.6.0
Description: テアテ用 Lightning 子テーマ
*/

/* ===== トークン ===== */
:root {
  --t-bg: #F4F7F7;
  --t-ink: #173033;
  --t-ink-soft: #4E6467;
  --t-main: #176B68;
  --t-main-soft: #E3F0EF;
  --t-accent: #C8753D;
  --t-accent-dark: #A85E2C;
  --t-blue: #2A7DBF;
  --t-yellow: #E0A020;
  --t-green: #3A9E6A;
  --t-purple: #7B5EA7;
  --t-coral: #D95F6B;
  --t-blue-soft: #E6F0F9;
  --t-yellow-soft: #FBF3E0;
  --t-green-soft: #E4F3EA;
  --t-purple-soft: #EEE9F5;
  --t-coral-soft: #FBE7E9;
  --t-line: #D5DFDF;
  --t-white: #FFFFFF;
  --t-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --t-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --t-radius: 10px;
}

/* ===== 求人ページ共通 ===== */
body.single-job { background: var(--t-bg); }
.teate-job { font-family: var(--t-sans); color: var(--t-ink); line-height: 1.8; padding-bottom: 96px; }
.teate-job a { color: var(--t-main); }
.teate-job p { margin: 0 0 1em; }
.teate-job section { margin: 0 0 56px; }

.teate-h2 {
  font-family: var(--t-serif); font-weight: 700; font-size: 1.35rem; line-height: 1.4;
  margin: 0 0 20px; padding-left: 16px; position: relative; color: var(--t-ink);
}
.teate-h2::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 6px; height: 1.1em; border-radius: 3px; background: var(--t-main);
}
.teate-job__radar .teate-h2::before { background: var(--t-main); }
.teate-message  .teate-h2::before { background: var(--t-coral); }
.teate-dayflow  .teate-h2::before { background: var(--t-blue); }
.teate-voice    .teate-h2::before { background: var(--t-purple); }
.teate-spec     .teate-h2::before { background: var(--t-yellow); }
.teate-location .teate-h2::before { background: var(--t-green); }
.teate-apply    .teate-h2::before { background: var(--t-accent); }

/* ===== タグ ===== */
.teate-job__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.teate-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  text-decoration: none; line-height: 1.6; border: 1.5px solid transparent;
}
.teate-tag--shikaku { background: var(--t-blue-soft); color: var(--t-blue); border-color: var(--t-blue); }
.teate-tag--koyo    { background: var(--t-yellow-soft); color: #8A5F0A; border-color: var(--t-yellow); }
.teate-tag--tokucho { background: var(--t-purple-soft); color: var(--t-purple); border-color: var(--t-purple); }
.teate-tag--tsuyomi { background: var(--t-coral-soft); color: var(--t-coral); border-color: var(--t-coral); }
.teate-tag:hover { filter: brightness(0.95); text-decoration: none; }

/* ===== ヘッダー ===== */
.teate-job__head { padding: 24px 0 28px; border-bottom: 1px solid var(--t-line); margin-bottom: 40px; }
.teate-job__org { font-size: 1rem; color: var(--t-main); font-weight: 700; margin: 0 0 6px; letter-spacing: 0.02em; }
.teate-job__title { font-family: var(--t-serif); font-size: 2rem; line-height: 1.3; margin: 0 0 14px; color: var(--t-ink); }
.teate-job__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; color: var(--t-ink-soft); font-size: 0.95rem; }
.teate-job__place::before { content: "📍"; margin-right: 4px; }
.teate-job__employment { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--t-yellow-soft); color: #8A5F0A; font-weight: 500; font-size: 0.85rem; }

/* ===== プロフィール（写真＋レーダー） ===== */
.teate-job__profile {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
  background: var(--t-white); border-radius: var(--t-radius); padding: 32px; margin-bottom: 40px;
}
.teate-job__profile--nophoto { grid-template-columns: 1fr; }
.teate-job__profile--nophoto .teate-job__radar { max-width: 560px; }
.teate-job__photo { margin: 0; }
.teate-job__photo img { width: 100%; height: auto; border-radius: var(--t-radius); display: block; }
.teate-job__radar .teate-radar { width: 100%; max-width: 520px; height: auto; display: block; margin: 0 auto 8px; }
.teate-job__radar-note { font-size: 0.8rem; color: var(--t-ink-soft); text-align: center; margin-bottom: 16px; }

/* レーダーSVG */
.teate-radar__grid { fill: none; stroke: var(--t-line); stroke-width: 1; }
.teate-radar__grid:nth-of-type(5) { stroke: #B9C8C8; }
.teate-radar__axis { stroke: var(--t-line); stroke-width: 1; }
.teate-radar__value { fill: rgba(23, 107, 104, 0.22); stroke: var(--t-main); stroke-width: 2.5; stroke-linejoin: round; }
.teate-radar__dot { stroke: var(--t-white); stroke-width: 2; }
.teate-radar__dot--1 { fill: var(--t-blue); }
.teate-radar__dot--2 { fill: var(--t-yellow); }
.teate-radar__dot--3 { fill: var(--t-green); }
.teate-radar__dot--4 { fill: var(--t-purple); }
.teate-radar__dot--5 { fill: var(--t-coral); }
.teate-radar__label { font-family: var(--t-sans); font-size: 12px; fill: var(--t-ink); font-weight: 500; }
.teate-radar__score { font-weight: 700; font-size: 13px; }
.teate-radar__score--1 { fill: var(--t-blue); }
.teate-radar__score--2 { fill: var(--t-yellow); }
.teate-radar__score--3 { fill: var(--t-green); }
.teate-radar__score--4 { fill: var(--t-purple); }
.teate-radar__score--5 { fill: var(--t-coral); }

/* 強み */
.teate-strengths { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.teate-strength {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 16px; border-radius: 8px; background: var(--t-coral-soft);
}
.teate-strength--2 { background: var(--t-purple-soft); }
.teate-strength__name { font-weight: 700; color: var(--t-ink); }
.teate-strength__name::before { content: "強み"; font-size: 0.7rem; font-weight: 700; color: var(--t-white); background: var(--t-coral); border-radius: 4px; padding: 2px 6px; margin-right: 8px; vertical-align: 2px; }
.teate-strength--2 .teate-strength__name::before { background: var(--t-purple); }
.teate-strength__score { letter-spacing: 0.15em; color: var(--t-coral); font-size: 0.9rem; white-space: nowrap; }
.teate-strength--2 .teate-strength__score { color: var(--t-purple); }

/* ===== 環境4項目 ===== */
.teate-env__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.teate-env__item { border-radius: 8px; padding: 14px 16px; }
.teate-env__item:nth-child(1) { background: var(--t-green-soft); }
.teate-env__item:nth-child(2) { background: var(--t-blue-soft); }
.teate-env__item:nth-child(3) { background: var(--t-yellow-soft); }
.teate-env__item:nth-child(4) { background: var(--t-purple-soft); }
.teate-env__label { font-size: 0.8rem; color: var(--t-ink-soft); margin: 0 0 4px; font-weight: 500; }
.teate-env__value { font-size: 1.05rem; font-weight: 700; margin: 0; }

/* ===== 院長の一言 ===== */
.teate-message__body {
  font-family: var(--t-serif); font-size: 1.15rem; line-height: 2; margin: 0; padding: 24px 28px;
  background: var(--t-white); border-left: 6px solid var(--t-coral); border-radius: 0 var(--t-radius) var(--t-radius) 0;
}
.teate-message__body p:last-child { margin-bottom: 0; }
.teate-message__by { text-align: right; color: var(--t-ink-soft); font-size: 0.9rem; margin: 10px 0 0; }

/* ===== 一日の流れ／スタッフの声 ===== */
.teate-dayflow, .teate-voice { }
.teate-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 3px solid var(--t-blue-soft); }
.teate-timeline__item { position: relative; display: flex; gap: 14px; padding: 0 0 18px 16px; }
.teate-timeline__item::before {
  content: ""; position: absolute; left: -22px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--t-blue); border: 3px solid var(--t-white); box-shadow: 0 0 0 2px var(--t-blue-soft);
}
.teate-timeline__time { font-weight: 700; color: var(--t-blue); min-width: 3.5em; }
.teate-voice { background: var(--t-purple-soft); border-radius: var(--t-radius); padding: 24px 28px; }
.teate-voice .teate-h2 { margin-top: 0; }
.teate-voice p:last-child { margin-bottom: 0; }

/* ===== 募集要項 ===== */
.teate-spec { background: var(--t-white); border-radius: var(--t-radius); padding: 28px 32px 12px; }
.teate-spec__block { display: grid; grid-template-columns: 160px 1fr; gap: 12px 24px; padding: 16px 0; border-top: 1px solid var(--t-line); }
.teate-spec__block:first-of-type { border-top: 0; }
.teate-spec__label { font-size: 0.95rem; font-weight: 700; color: var(--t-main); margin: 0; padding-top: 2px; }
.teate-spec__body p:last-child { margin-bottom: 0; }

/* ===== 勤務地 ===== */
.teate-location__address { font-size: 1.05rem; font-weight: 500; }
.teate-location__zip { color: var(--t-ink-soft); margin-right: 8px; font-size: 0.9rem; }
.teate-location__station { color: var(--t-ink-soft); }

/* ===== 応募 ===== */
.teate-apply { background: var(--t-main-soft); border-radius: var(--t-radius); padding: 28px 32px; }
.teate-apply__note { color: var(--t-ink-soft); font-size: 0.9rem; }
.teate-apply__buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.teate-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 16px 20px; border-radius: 10px; font-weight: 700; font-size: 1.05rem;
  background: var(--t-accent); transition: background 0.15s;
}
.teate-btn,
.teate-btn:link,
.teate-btn:visited,
.teate-btn:hover,
.teate-btn:focus,
.teate-btn:active { color: var(--t-white); text-decoration: none; }
.teate-btn:hover, .teate-btn:focus { background: var(--t-accent-dark); }
.teate-btn--mail { background: var(--t-main); }
.teate-btn--mail:hover, .teate-btn--mail:focus { background: #115451; }
.teate-btn--url { background: var(--t-blue); }
.teate-btn--url:hover, .teate-btn--url:focus { background: #21669C; }
.teate-btn__sub { font-size: 0.8rem; font-weight: 400; opacity: 0.9; color: inherit; }

/* ===== フッター情報 ===== */
.teate-job__foot { color: var(--t-ink-soft); font-size: 0.85rem; padding-top: 16px; border-top: 1px solid var(--t-line); }

.teate-applybar__btn {
  flex: 1; text-align: center; padding: 14px 8px; border-radius: 10px; font-weight: 700;
  background: var(--t-accent);
}
.teate-applybar__btn--apply { background: var(--t-main); }
.teate-applybar__btn,
.teate-applybar__btn:link,
.teate-applybar__btn:visited,
.teate-applybar__btn:hover,
.teate-applybar__btn:focus { color: var(--t-white); text-decoration: none; }

/* ===== レスポンシブ ===== */
@media (max-width: 991px) {
  .teate-env__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .teate-job { padding-bottom: 120px; }
  .teate-job section { margin-bottom: 40px; }
  .teate-job__title { font-size: 1.5rem; }
  .teate-job__profile { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .teate-job__radar .teate-radar { max-width: 100%; }
  .teate-radar__label { font-size: 19px; }
  .teate-radar__score { font-size: 21px; }
  .teate-radar__dot { r: 7; }
  .teate-spec { padding: 20px 18px 8px; }
  .teate-spec__block { grid-template-columns: 1fr; gap: 6px; }
  .teate-message__body { font-size: 1.05rem; padding: 18px 20px; }
  .teate-voice, .teate-apply { padding: 20px 18px; }
  .teate-applybar { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .teate-btn { transition: none; }
}

/* ===== 求人一覧 ===== */
body.post-type-archive-job, body.tax-shikaku, body.tax-area, body.tax-koyo, body.tax-gyotai, body.tax-tokucho, body.tax-tsuyomi { background: var(--t-bg); }
.teate-archive { font-family: var(--t-sans); color: var(--t-ink); line-height: 1.8; padding-bottom: 64px; }
.teate-archive__head { display: flex; align-items: baseline; gap: 16px; padding: 24px 0 20px; margin-bottom: 24px; border-bottom: 1px solid var(--t-line); }
.teate-archive__title { font-family: var(--t-serif); font-size: 1.7rem; margin: 0; }
.teate-archive__count { color: var(--t-ink-soft); margin: 0; font-weight: 500; }
.teate-archive__layout { display: grid; grid-template-columns: 272px 1fr; gap: 32px; align-items: start; }

/* 絞り込み */
.teate-filter { background: var(--t-white); border-radius: var(--t-radius); padding: 0 20px 20px; }
.teate-filter__summary { list-style: none; cursor: pointer; font-weight: 700; padding: 16px 0 12px; font-size: 1rem; color: var(--t-main); }
.teate-filter__summary::-webkit-details-marker { display: none; }
.teate-filter__summary::before { content: "▾ "; }
.teate-filter:not([open]) .teate-filter__summary::before { content: "▸ "; }
.teate-filter__form { display: grid; gap: 14px; }
.teate-filter__field { display: block; }
.teate-filter__label { display: block; font-size: 0.8rem; color: var(--t-ink-soft); margin-bottom: 4px; }
.teate-filter select { width: 100%; padding: 8px 10px; border: 1px solid var(--t-line); border-radius: 6px; background: var(--t-white); font-family: inherit; font-size: 0.95rem; color: var(--t-ink); }
.teate-filter__actions { display: grid; gap: 8px; margin-top: 4px; }
.teate-filter__submit { padding: 12px; border: 0; border-radius: 8px; background: var(--t-main); color: var(--t-white); font-weight: 700; font-family: inherit; font-size: 1rem; cursor: pointer; }
.teate-filter__submit:hover { background: #115451; }
.teate-filter__reset { text-align: center; font-size: 0.9rem; color: var(--t-ink-soft); }

/* カード */
.teate-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.teate-card { background: var(--t-white); border-radius: var(--t-radius); overflow: hidden; border: 1px solid transparent; transition: border-color 0.15s; }
.teate-card:hover { border-color: var(--t-main); }
.teate-card__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.teate-card__link:hover { text-decoration: none; color: inherit; }
.teate-card__photo { height: 168px; overflow: hidden; background: var(--t-main-soft); }
.teate-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teate-card__body { padding: 16px 18px 18px; }
.teate-card__org { font-size: 0.85rem; color: var(--t-main); font-weight: 700; margin: 0 0 2px; }
.teate-card__title { font-family: var(--t-serif); font-size: 1.2rem; line-height: 1.4; margin: 0 0 6px; }
.teate-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.85rem; color: var(--t-ink-soft); margin: 0 0 6px; }
.teate-card__koyo { padding: 0 10px; border-radius: 999px; background: var(--t-yellow-soft); color: #8A5F0A; font-weight: 500; }
.teate-card__salary { font-weight: 700; margin: 0 0 12px; color: var(--t-ink); }
.teate-card__lower { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.teate-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.teate-card__tags .teate-tag { font-size: 0.75rem; padding: 2px 10px; }
.teate-card__radar { flex: 0 0 84px; width: 84px; }
.teate-card__radar .teate-radar { width: 84px; height: 84px; display: block; }
.teate-card--nophoto .teate-card__body { padding-top: 22px; }

/* ページ送り */
.teate-pagination { margin-top: 32px; }
.teate-pagination .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.teate-pagination .page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; text-align: center; border-radius: 8px; background: var(--t-white); color: var(--t-main); text-decoration: none; }
.teate-pagination .page-numbers.current { background: var(--t-main); color: var(--t-white); }
.teate-pagination .screen-reader-text { position: absolute; left: -9999px; }

.teate-empty { background: var(--t-white); border-radius: var(--t-radius); padding: 40px 24px; text-align: center; }

@media (max-width: 991px) {
  .teate-archive__layout { grid-template-columns: 1fr; gap: 20px; }
  .teate-cards { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .teate-archive__title { font-size: 1.35rem; }
}

/* ===== TOP ===== */
body.home { background: var(--t-bg); }
.teate-top { font-family: var(--t-sans); color: var(--t-ink); line-height: 1.8; padding-bottom: 64px; }
.teate-top section { margin: 0 0 64px; }
.teate-h2--top { font-size: 1.6rem; }
.teate-tag--area { background: var(--t-green-soft); color: #23704A; border-color: var(--t-green); }

/* ヒーロー */
.teate-hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center;
  background: var(--t-white); border-radius: 16px; padding: 48px 48px 40px; margin-top: 24px; position: relative; overflow: hidden;
}
.teate-hero__eyebrow { font-size: 0.9rem; color: var(--t-main); font-weight: 700; margin: 0 0 12px; }
.teate-hero__title { font-family: var(--t-serif); font-size: 2.6rem; line-height: 1.35; margin: 0 0 18px; color: var(--t-ink); }
.teate-hero__lead { color: var(--t-ink-soft); max-width: 36em; margin: 0 0 24px; }
.teate-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 14px; }
.teate-search__field { display: block; }
.teate-search__label { display: block; font-size: 0.8rem; color: var(--t-ink-soft); margin-bottom: 4px; }
.teate-search select { width: 100%; padding: 12px 12px; border: 1.5px solid var(--t-line); border-radius: 8px; background: var(--t-white); font-family: inherit; font-size: 1rem; color: var(--t-ink); }
.teate-search__submit { padding: 13px 26px; border: 0; border-radius: 8px; background: var(--t-accent); color: var(--t-white); font-weight: 700; font-family: inherit; font-size: 1rem; cursor: pointer; white-space: nowrap; }
.teate-search__submit:hover { background: var(--t-accent-dark); }
.teate-hero__count { font-size: 0.9rem; color: var(--t-ink-soft); margin: 0; }
.teate-hero__count strong { color: var(--t-main); font-size: 1.3rem; margin: 0 2px; }
.teate-hero__art svg { width: 100%; height: auto; display: block; }
.teate-hero__grid { fill: none; stroke: var(--t-line); stroke-width: 1.2; }
.teate-hero__axis { stroke: var(--t-line); stroke-width: 1.2; }
.teate-hero__value { fill: rgba(23,107,104,0.18); stroke: var(--t-main); stroke-width: 3; stroke-linejoin: round; }
.teate-hero__dot { stroke: var(--t-white); stroke-width: 3; }
.teate-hero__dot--blue { fill: var(--t-blue); } .teate-hero__dot--yellow { fill: var(--t-yellow); } .teate-hero__dot--green { fill: var(--t-green); } .teate-hero__dot--purple { fill: var(--t-purple); } .teate-hero__dot--coral { fill: var(--t-coral); }

/* 新着 */
.teate-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.teate-sec-head .teate-h2 { margin-bottom: 0; }
.teate-sec-head__more { font-weight: 500; white-space: nowrap; }
.teate-cards--3 { grid-template-columns: repeat(3, 1fr); }

/* 入口 */
.teate-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teate-entry { background: var(--t-white); border-radius: var(--t-radius); padding: 22px 24px; border-top: 5px solid var(--t-blue); }
.teate-entry--area { border-top-color: var(--t-green); }
.teate-entry--tsuyomi { border-top-color: var(--t-coral); }
.teate-entry__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 12px; }
.teate-entry__tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* 説明 */
.teate-about { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: start; }
.teate-about__axes { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.teate-about__axes li { display: flex; align-items: baseline; gap: 10px; }
.teate-about__axes strong { color: var(--t-ink); margin-right: 4px; white-space: nowrap; }
.teate-about__dot { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; position: relative; top: 1px; }
.teate-about__dot--blue { background: var(--t-blue); } .teate-about__dot--yellow { background: var(--t-yellow); } .teate-about__dot--green { background: var(--t-green); } .teate-about__dot--purple { background: var(--t-purple); } .teate-about__dot--coral { background: var(--t-coral); }
.teate-about__note { background: var(--t-purple-soft); border-radius: var(--t-radius); padding: 24px 26px; }
.teate-about__note-title { font-family: var(--t-serif); font-weight: 700; font-size: 1.15rem; margin: 0 0 10px; }
.teate-about__note p:last-child { margin-bottom: 0; }

/* 掲載者CTA */
.teate-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: var(--t-main); color: var(--t-white); border-radius: 16px; padding: 32px 40px;
}
.teate-cta__title { font-family: var(--t-serif); font-size: 1.4rem; font-weight: 700; margin: 0 0 6px; }
.teate-cta__lead { margin: 0; opacity: 0.9; }
.teate-cta__btn { flex: 0 0 auto; padding: 16px 28px; border-radius: 10px; background: var(--t-accent); color: var(--t-white); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.teate-cta__btn:hover { background: var(--t-accent-dark); color: var(--t-white); text-decoration: none; }

@media (max-width: 991px) {
  .teate-hero { grid-template-columns: 1fr; padding: 32px 28px; }
  .teate-hero__art { max-width: 320px; margin: 0 auto; }
  .teate-cards--3 { grid-template-columns: repeat(2, 1fr); }
  .teate-entries { grid-template-columns: 1fr; }
  .teate-about { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .teate-top section { margin-bottom: 44px; }
  .teate-hero { padding: 26px 20px; margin-top: 8px; }
  .teate-hero__title { font-size: 1.8rem; }
  .teate-search { grid-template-columns: 1fr; }
  .teate-search__submit { width: 100%; }
  .teate-cards--3 { grid-template-columns: 1fr; }
  .teate-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 26px 22px; }
}

/* ===== 掲載申込フォーム（post-job） ===== */
body.page-post-job { background: var(--t-bg); }
.page-post-job .wpcf7 { font-family: var(--t-sans); color: var(--t-ink); }

.jf-progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 24px; padding: 0; counter-reset: jf; }
.jf-progress li { counter-increment: jf; position: relative; padding: 10px 8px 10px 40px; border-radius: 8px; background: var(--t-white); color: var(--t-ink-soft); font-size: 0.85rem; font-weight: 500; border: 1.5px solid var(--t-line); }
.jf-progress li::before { content: counter(jf); position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--t-line); color: var(--t-white); font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.jf-progress li.is-active { border-color: var(--t-main); color: var(--t-main); font-weight: 700; }
.jf-progress li.is-active::before { background: var(--t-main); }
.jf-progress li.is-done { color: var(--t-ink-soft); }
.jf-progress li.is-done::before { background: var(--t-green); content: "✓"; }

.jf-step { display: none; }
.jf-step.is-active { display: block; }

.jf-sec { border: 0; margin: 0 0 20px; padding: 24px 28px; background: var(--t-white); border-radius: var(--t-radius); min-width: 0; }
.jf-sec legend { font-family: var(--t-serif); font-weight: 700; font-size: 1.15rem; color: var(--t-ink); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.jf-sec legend + * { clear: both; }
.jf-sec > label, .jf-sec > p { display: block; margin: 0 0 14px; font-size: 0.95rem; font-weight: 500; }
.jf-sec > p { margin-bottom: 6px; }
.jf-sec .wpcf7-form-control-wrap { display: block; margin-top: 4px; }
.jf-sec input[type="text"], .jf-sec input[type="email"], .jf-sec input[type="url"], .jf-sec input[type="tel"], .jf-sec input[type="number"], .jf-sec select, .jf-sec textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--t-line); border-radius: 8px; background: var(--t-white); font-family: inherit; font-size: 1rem; color: var(--t-ink); font-weight: 400;
}
.jf-sec input:focus, .jf-sec select:focus, .jf-sec textarea:focus { outline: none; border-color: var(--t-main); box-shadow: 0 0 0 3px rgba(23,107,104,0.15); }
.jf-sec textarea { min-height: 120px; }
.jf-sec input[type="file"] { font-weight: 400; }
.jf-sec .jf-invalid, .jf-sec .wpcf7-not-valid { border-color: var(--t-coral) !important; background: #FFF7F8; }
.jf-sec .wpcf7-not-valid-tip { color: var(--t-coral); font-size: 0.85rem; font-weight: 400; }

/* チェックボックス */
.jf-sec .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px 6px; margin-bottom: 14px; }
.jf-sec .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.jf-sec .wpcf7-checkbox label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1.5px solid var(--t-line); border-radius: 999px; background: var(--t-white); cursor: pointer; font-weight: 400; font-size: 0.95rem; }
.jf-sec .wpcf7-checkbox label:has(input:checked) { border-color: var(--t-main); background: var(--t-main-soft); color: var(--t-main); font-weight: 500; }
.jf-sec .wpcf7-checkbox input { margin: 0; accent-color: var(--t-main); }

/* レーダー配分 */
.jf-radar { border-top: 5px solid var(--t-main); }
.jf-radar > label { display: grid; grid-template-columns: 1fr 120px; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--t-line); }
.jf-radar > label .wpcf7-form-control-wrap { margin: 0; }
.jf-radar > label:nth-of-type(1) { border-left: 6px solid var(--t-blue); padding-left: 12px; }
.jf-radar > label:nth-of-type(2) { border-left: 6px solid var(--t-yellow); padding-left: 12px; }
.jf-radar > label:nth-of-type(3) { border-left: 6px solid var(--t-green); padding-left: 12px; }
.jf-radar > label:nth-of-type(4) { border-left: 6px solid var(--t-purple); padding-left: 12px; }
.jf-radar > label:nth-of-type(5) { border-left: 6px solid var(--t-coral); padding-left: 12px; }
.jf-radar-sum { font-size: 1.15rem; font-weight: 700; margin: 14px 0 0 !important; color: var(--t-coral); }
.jf-radar.is-ok .jf-radar-sum { color: var(--t-green); }
.jf-radar.is-over .jf-radar-sum { color: var(--t-coral); }
.jf-radar-rest { font-size: 0.9rem; font-weight: 500; }

/* エラー・ナビ */
.jf-error { color: var(--t-coral); background: var(--t-coral-soft); border-radius: 8px; padding: 10px 14px; margin: 8px 0 0; font-size: 0.9rem; font-weight: 500; }
.jf-step-error { margin: 0 0 16px; }
.jf-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.jf-nav__back, .jf-nav__next { padding: 14px 28px; border-radius: 10px; border: 0; font-family: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; }
.jf-nav__back { background: var(--t-white); color: var(--t-ink-soft); border: 1.5px solid var(--t-line); }
.jf-nav__next { background: var(--t-main); color: var(--t-white); margin-left: auto; }
.jf-nav__next:hover { background: #115451; }

/* 同意・送信 */
.jf-step .wpcf7-acceptance { display: block; margin: 8px 0 16px; }
.jf-step .wpcf7-acceptance label { font-weight: 500; }
.jf-step .wpcf7-acceptance input { accent-color: var(--t-main); margin-right: 6px; }
.jf-step input.wpcf7-submit { width: 100%; padding: 16px; border: 0; border-radius: 10px; background: var(--t-accent); color: var(--t-white); font-family: inherit; font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.jf-step input.wpcf7-submit:hover { background: var(--t-accent-dark); }
.wpcf7 .wpcf7-spinner { display: block; margin: 8px auto 0; }
.wpcf7 form .wpcf7-response-output { border-radius: 8px; padding: 14px 18px; margin: 20px 0 0; font-weight: 500; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--t-green); background: var(--t-green-soft); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: var(--t-coral); background: var(--t-coral-soft); }

@media (max-width: 767px) {
  .jf-progress { grid-template-columns: repeat(2, 1fr); }
  .jf-sec { padding: 18px 16px; }
  .jf-radar > label { grid-template-columns: 1fr 96px; }
}

/* ===== ヘッダー／フッター（ブロックテンプレートパーツ用）— style.css 末尾に追記 ===== */
.teate-header { font-family: var(--t-sans); position: sticky; top: 0; z-index: 1000; }
.teate-header__brand a { text-decoration: none; font-family: var(--t-serif); letter-spacing: 0.04em; }
.teate-header__brand a:hover { color: var(--t-accent); }
.teate-header__tagline { margin: 0 0 0 14px; }
.teate-header__logo { margin: 0; }
.teate-header__logo img { height: 44px; width: auto; display: block; }
.teate-header__nav a { color: var(--t-ink); text-decoration: none; }
.teate-header__nav a:hover { color: var(--t-main); }
.teate-header__nav .teate-header__cta a {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: var(--t-accent); color: var(--t-white); font-weight: 700;
}
.teate-header__nav .teate-header__cta a:hover { background: var(--t-accent-dark); color: var(--t-white); }
.teate-footer { font-family: var(--t-sans); margin-top: 64px; }
.teate-footer a { text-decoration: none; }
.teate-footer a:hover { text-decoration: underline; }
.teate-footer__links { list-style: none; margin: 0; }
.teate-footer__links li { margin: 0 0 8px; }
@media (max-width: 767px) {
  .teate-header__tagline { display: none; }
  .teate-header__nav .teate-header__cta a { display: block; text-align: center; }
}