/* エラベル 新デザイン共通スタイル(ピアット系ベース)。
   トップ・固定ページ共通。生成元でこのファイルを<link>して直書きを廃止。
   更新: 2026-07-21 build_top.pyのinline STYLEを外部化して新設。 */
* { box-sizing: border-box; }
body { margin: 0; }
:root {
  --ink: #2b2f33; --accent: #2e9e6b; --accent-d: #25835a; --accent-l: #eaf6ef;
  --tint: #f6f8f7; --line: #e3e6e9; --line-soft: #eef1f0; --text: #5b6167; --muted: #8a9096; --wrap: 1040px;
}
body { font-family: 'Noto Sans JP', sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: inherit; }
img { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ===== HEADER ===== */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.brand__eyebrow { font-size: 11px; letter-spacing: .05em; color: var(--muted); margin-bottom: 5px; }
.brand__name { font-size: 30px; font-weight: 900; letter-spacing: .04em; line-height: 1; }
.brand__name b { color: var(--accent); font-weight: 900; }
.brand__latin { font-size: 11px; letter-spacing: .34em; color: var(--muted); margin-top: 6px; text-indent: .34em; }
.util-nav { display: flex; align-items: flex-start; gap: 28px; }
.util-nav a { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--ink); }
.util-nav span { font-size: 11px; }

/* ===== GLOBAL NAV ===== */
.global-nav-bar { border-bottom: 1px solid var(--line); background: #fff; }
.global-nav { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; }
.global-nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); padding: 15px 20px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.global-nav a:hover { background: var(--tint); }

/* ===== SECTION ===== */
.section { padding-top: 50px; padding-bottom: 4px; }
.section--fv { padding-top: 38px; padding-bottom: 8px; }
.section-head { text-align: center; font-size: 23px; font-weight: 900; letter-spacing: .12em; margin: 0 0 10px; }
.section-head--left { text-align: left; letter-spacing: .04em; margin-bottom: 6px; }
.section-sub { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.section-sub--center { text-align: center; }

/* ===== FIRST VIEW ===== */
.fv-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; }
.fv-copy__eyebrow { font-size: 13.5px; font-weight: 700; margin-bottom: 12px; color: var(--accent-d); }
.fv-copy h1 { font-size: 34px; font-weight: 900; margin: 0 0 16px; line-height: 1.32; }
.fv-copy__lead { font-size: 17px; font-weight: 700; margin: 0 0 14px; line-height: 1.6; }
.fv-copy__desc { font-size: 13.5px; line-height: 1.95; color: var(--text); margin: 0; }
.fv-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fv-points span { font-size: 12px; font-weight: 500; color: var(--accent-d); border: 1px solid var(--accent); border-radius: 4px; padding: 7px 14px; background: var(--accent-l); }
.fv-art { display: flex; justify-content: center; }
.fv-art img { width: 100%; max-width: 460px; height: auto; }

/* ===== SKILL / JOB ===== */
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.skill-card { text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 15px 16px; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 8px; transition: all .15s ease; }
.skill-card small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 3px; }
.skill-card span.arw { color: var(--muted); flex-shrink: 0; }
.skill-card:hover { border-color: var(--accent); background: var(--accent-l); color: var(--accent-d); }
.skill-card:hover span.arw { color: var(--accent-d); }

/* ===== ARTICLE CARDS ===== */
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.article-card { text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 22px 18px; display: flex; flex-direction: column; transition: box-shadow .15s ease; }
.article-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.article-card__tag { font-size: 10.5px; font-weight: 700; color: var(--accent-d); background: var(--accent-l); border-radius: 3px; padding: 3px 8px; align-self: flex-start; margin-bottom: 11px; }
.article-card__name { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.article-card__desc { font-size: 12px; line-height: 1.75; color: var(--text); margin: 0 0 14px; flex: 1; }
.article-card__more { font-size: 12px; font-weight: 500; color: var(--accent-d); display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); }

/* ===== BASIC ITEMS (お金と制度など) ===== */
.basics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.basic-item { text-decoration: none; color: var(--ink); display: flex; gap: 12px; align-items: flex-start; padding: 18px 16px; border: 1px solid var(--line); border-radius: 10px; transition: background .15s ease; }
.basic-item:hover { background: var(--tint); }
.basic-item__icon { flex-shrink: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--accent-d); }
.basic-item__title { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 5px; }
.basic-item__desc { display: block; font-size: 11.5px; line-height: 1.6; color: var(--text); }

/* ===== AREA ===== */
.region-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 8px; }
.region__name { font-size: 14px; font-weight: 700; margin-bottom: 10px; border-left: 3px solid var(--accent); padding-left: 10px; }
.region__name a { text-decoration: none; color: var(--ink); }
.region__name a:hover { color: var(--accent-d); }
.pref-all { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.region__name a:hover .pref-all { color: var(--accent-d); }
.pref-list { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 13px; }
.pref-list a { text-decoration: none; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; padding: 7px 12px; min-width: 88px; text-align: center; color: var(--ink); }
.pref-list a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.area-all { text-decoration: none; border: 1px solid var(--accent); border-radius: 6px; color: var(--accent-d); display: inline-flex; align-items: center; gap: 28px; padding: 13px 28px; font-size: 14px; font-weight: 700; }
.area-all:hover { background: var(--accent); color: #fff; }

/* ===== PILLAR GUIDE ===== */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillar-card { text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; padding: 16px 18px; transition: all .15s ease; }
.pillar-card:hover { border-color: var(--accent); background: var(--accent-l); }
.pillar-card b { font-size: 13.5px; font-weight: 700; }
.pillar-card small { display: block; font-size: 11.5px; color: var(--text); margin-top: 5px; line-height: 1.6; }

/* ===== STRENGTHS ===== */
.strengths { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--accent-l); margin-top: 50px; }
.strengths__inner { padding-top: 30px; padding-bottom: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.strength { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.strength__icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--accent-d); }
.strength__title { font-size: 13px; font-weight: 700; }
.strength__desc { font-size: 11px; line-height: 1.6; color: var(--text); }

/* ===== 固定ページ本文(会社概要・問い合わせ等) ===== */
.page-head { padding-top: 42px; padding-bottom: 6px; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-d); text-decoration: underline; }
.page-title { font-size: 28px; font-weight: 900; letter-spacing: .04em; margin: 0 0 8px; }
.page-lead { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.9; }
.page-body { padding-top: 34px; padding-bottom: 10px; }
.page-body h2 { font-size: 18px; font-weight: 900; letter-spacing: .04em; margin: 34px 0 14px; padding-left: 11px; border-left: 3px solid var(--accent); }
.page-body h2:first-child { margin-top: 0; }
.page-body p { font-size: 13.5px; line-height: 1.95; color: var(--text); margin: 0 0 14px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 13px 14px; border-bottom: 1px solid var(--line); line-height: 1.8; }
.info-table th { width: 30%; font-weight: 700; color: var(--ink); background: var(--tint); white-space: nowrap; }
.info-table td { color: var(--text); }
@media (max-width: 560px) { .info-table th, .info-table td { display: block; width: 100%; } .info-table th { border-bottom: none; } }

/* ===== フォーム(問い合わせ) ===== */
.form-wrap { max-width: 720px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.form-req { font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 3px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; }
.form-any { font-size: 11px; font-weight: 500; color: var(--muted); background: var(--tint); border: 1px solid var(--line); border-radius: 3px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; }
.form-input, .form-select, .form-textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-l); }
.form-textarea { min-height: 160px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b2f33' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 13px; color: var(--text); display: flex; align-items: flex-start; gap: 9px; margin: 24px 0; line-height: 1.7; }
.form-privacy input { margin-top: 3px; }
.form-privacy a { color: var(--accent-d); }
.form-submit { background: var(--accent); color: #fff; border: none; border-radius: 6px; font-size: 15px; font-weight: 700; font-family: inherit; height: 54px; padding: 0 44px; cursor: pointer; transition: background .15s ease; }
.form-submit:hover { background: var(--accent-d); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.8; }

/* ===== FOOTER ===== */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-top { padding-top: 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 26px; }
.footer-brand__name { font-size: 22px; font-weight: 900; letter-spacing: .04em; }
.footer-brand__name b { color: var(--accent); }
.footer-brand__latin { font-size: 10px; letter-spacing: .32em; color: var(--muted); margin-top: 5px; text-indent: .32em; }
.footer-brand__tagline { font-size: 12px; color: var(--text); margin: 12px 0 10px; }
.footer-brand__desc { font-size: 12px; line-height: 1.8; color: var(--text); margin: 0; max-width: 280px; }
.footer-col__title { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { text-decoration: none; color: var(--text); font-size: 12px; }
.footer-col a:hover { color: var(--accent-d); text-decoration: underline; }
.footer-mascot { display: flex; align-items: flex-end; justify-content: flex-end; }
.footer-mascot img { width: 150px; height: auto; }
.footer-copy { border-top: 1px solid var(--line); margin-top: 28px; }
.footer-copy__inner { padding-top: 14px; padding-bottom: 14px; }
.footer-copy span { font-size: 11px; color: var(--muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .basics-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths__inner { grid-template-columns: repeat(2, 1fr); gap: 26px 22px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-mascot { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 768px) { .global-nav { justify-content: flex-start; overflow-x: auto; } .fv-grid { grid-template-columns: 1fr; } .fv-copy h1 { font-size: clamp(25px, 6.2vw, 34px); } .fv-art { order: -1; } }
@media (max-width: 560px) { .util-nav { gap: 16px; } .skill-grid, .article-grid, .basics-grid, .pillar-grid, .strengths__inner { grid-template-columns: 1fr; } .footer-top { grid-template-columns: 1fr 1fr; } }
