/* 環境テクノサービス株式会社 サイト共通スタイル
   色はロゴの青と緑から取る。見出しの左に付く「○」と横線は、配管計装図の流れの線をかたどったもの。 */

:root {
  --ink: #18222e;
  --ink-soft: #46525f;
  --blue: #2c62b4;
  --blue-deep: #1d4a8f;
  --green: #23824a;
  --green-soft: #e3f1e8;
  --night: #0f2a4a;
  --paper: #f3f6f5;
  --line: #cbd5d3;
  --white: #ffffff;
  --safety: #f2be22;

  --font: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --wrap: 72rem;
  --measure: 40em;
  --gap: clamp(1rem, 3vw, 2rem);
  --sec: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 4.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere;
  line-break: strict;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-deep); }

:focus-visible {
  outline: 3px solid var(--safety);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  line-height: 1.4;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  margin: 0;
}

p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0.5rem; z-index: 100;
  background: var(--white); padding: 0.5rem 1rem;
}
.skip:focus { left: 0.5rem; }

.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- ボタン ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 2.9rem; padding: 0.55rem 1.4rem;
  border-radius: 4px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; line-height: 1.3;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-light { background: var(--white); color: var(--night); }
.btn-light:hover { background: var(--green-soft); color: var(--night); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(100% - 2 * var(--gap), 84rem);
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--ink); text-decoration: none; font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0.04em; margin-right: auto; white-space: nowrap;
}
.brand img { width: auto; height: 2rem; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; flex: none; }
.site-nav ul { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 0.5rem 0.65rem;
  color: var(--ink); text-decoration: none; font-size: 0.94rem; font-weight: 700;
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.site-nav ul a:hover { color: var(--blue); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--green); }
.nav-contact { display: flex; align-items: center; gap: 1rem; }
.nav-tel {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem;
  font-variant-numeric: tabular-nums; letter-spacing: 0.03em; white-space: nowrap;
}
.nav-tel .ico { color: var(--green); }
.nav-toggle { display: none; }

@media (max-width: 1499px) {
  .nav-tel { display: none; }
}

@media (max-width: 1180px) {
  :root { --header-h: 3.75rem; }
  .header-inner { gap: 0.75rem; }
  .brand { font-size: 0.95rem; min-width: 0; }
  .brand span { overflow: hidden; text-overflow: ellipsis; }
  .brand img { height: 1.6rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: none; border: 1px solid var(--line); border-radius: 4px;
    padding: 0.45rem 0.7rem; font: inherit; font-size: 0.85rem; font-weight: 700; color: var(--ink);
    cursor: pointer; white-space: nowrap; flex: none;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 1.1rem; height: 2px; background: var(--ink); position: relative;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gap) 1.25rem;
    box-shadow: 0 12px 24px -16px rgba(15, 42, 74, 0.45);
  }
  .site-nav.is-open { display: flex; }
  .nav-toggle { min-height: 2.75rem; min-width: 2.75rem; justify-content: center; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--green); }
  .nav-contact { flex-direction: column; align-items: stretch; margin-top: 1rem; }
  .nav-tel { display: inline-flex; justify-content: center; padding: 0.6rem; border: 1px solid var(--line); border-radius: 4px; }
}

/* ---------- パンくず ---------- */
.crumbs { font-size: 0.82rem; color: var(--ink-soft); padding-top: 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "／"; margin: 0 0.4em; color: var(--line); }
.crumbs a { color: var(--ink-soft); }

/* ---------- 見出し（流れの線） ---------- */
.flow-head { position: relative; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: var(--measure); }
.flow-head h2 {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
}
.flow-head h2::before {
  content: ""; flex: none;
  width: 0.85rem; height: 0.85rem; border-radius: 50%;
  border: 3px solid var(--green); background: var(--white);
}
.flow-head h2::after {
  content: ""; flex: 1 1 3rem; height: 2px; min-width: 3rem; max-width: 12rem;
  background: linear-gradient(90deg, var(--green), rgba(35, 130, 74, 0));
}
.flow-head p { margin: 0.9rem 0 0 1.65rem; color: var(--ink-soft); }
.on-dark .flow-head h2::before { background: var(--night); }
.on-dark .flow-head p { color: rgba(255, 255, 255, 0.82); }

.section { padding-block: var(--sec); }
.section-paper { background: var(--paper); }
.on-dark { background: var(--night); color: var(--white); }
.on-dark a:not(.btn) { color: #cfe0ff; }

/* ---------- トップ: ヒーロー ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  min-height: min(44rem, calc(100svh - var(--header-h)));
  background: var(--white);
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 6vw, 5rem) max(var(--gap), calc((100vw - var(--wrap)) / 2));
}
.hero h1 {
  font-size: clamp(1.75rem, 3.3vw, 2.9rem);
  line-height: 1.32;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--night);
}
.hero h1 span { display: block; white-space: nowrap; }
.hero-line {
  display: flex; align-items: center; gap: 0.6rem;
  margin: clamp(1.4rem, 3vw, 2rem) 0;
}
.hero-line::before {
  content: ""; width: 0.85rem; height: 0.85rem; border-radius: 50%;
  border: 3px solid var(--green); flex: none;
}
.hero-line::after { content: ""; height: 2px; width: min(14rem, 50%); background: var(--green); }
.hero-lead { max-width: 30em; color: var(--ink-soft); }
.hero-lead p:last-child { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-photo { position: relative; overflow: hidden; background: var(--night); margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero-photo figcaption {
  position: absolute; left: 0; bottom: 0;
  background: rgba(15, 42, 74, 0.86); color: var(--white);
  font-size: 0.8rem; padding: 0.45rem 0.9rem;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 16 / 10; }
  .hero-text { padding: 2rem var(--gap) 2.75rem; }
}

/* ---------- トップ: 会社の数字 ---------- */
.facts { border-block: 1px solid var(--line); background: var(--white); }
.facts dl {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}
.facts div { padding: 1.4rem 1.25rem; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: 0.82rem; color: var(--ink-soft); }
.facts dd { margin: 0.2rem 0 0; font-size: 1.3rem; font-weight: 700; color: var(--night); font-variant-numeric: tabular-nums; }
.facts dd { white-space: nowrap; }
.facts dd small { font-size: 0.8rem; font-weight: 400; color: var(--ink-soft); margin-left: 0.3em; }
@media (max-width: 760px) {
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .facts div { padding: 1.1rem 0.9rem; }
  .facts dd small { display: block; margin-left: 0; white-space: normal; }
}

/* ---------- 事業（写真と文の交互） ---------- */
.biz { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.biz-item {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.biz-item:nth-child(even) .biz-photo { order: 2; }
.biz-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.biz-item h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); color: var(--night); margin-bottom: 0.8rem; }
.biz-item .tag-list { margin-top: 1.2rem; }
.biz-more { margin-top: 1.3rem; font-weight: 700; }
@media (max-width: 760px) {
  .biz-item { grid-template-columns: 1fr; }
  .biz-item:nth-child(even) .biz-photo { order: 0; }
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.tag-list li {
  font-size: 0.86rem; padding: 0.3rem 0.75rem;
  background: var(--green-soft); color: #145232; border-radius: 3px;
}

/* 点で区切る一覧（設備・業務の列挙） */
.dot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem 1.5rem; }
.dot-list li { position: relative; padding-left: 1.1rem; }
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--green);
}
.dot-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .dot-list.cols-2 { grid-template-columns: 1fr; } }

/* ---------- 2列の案内（サービス・採用） ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.panel {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex; flex-direction: column;
}
.panel h3 { font-size: 1.3rem; color: var(--night); margin-bottom: 0.7rem; }
.panel p { color: var(--ink-soft); }
.panel .panel-link { margin-top: auto; font-weight: 700; }
.panel.green { border-top-color: var(--green); }

/* ---------- 資格の帯（トップ） ---------- */
.license-band { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.license-count { font-size: clamp(3.2rem, 8vw, 5rem); font-weight: 700; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.license-count small { font-size: 1.1rem; margin-left: 0.3rem; }
.license-sample { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.license-sample li {
  border: 1px solid rgba(255, 255, 255, 0.35); padding: 0.35rem 0.8rem; font-size: 0.9rem; border-radius: 3px;
}
@media (max-width: 760px) { .license-band { grid-template-columns: 1fr; } }

/* ---------- 採用の帯（トップ） ---------- */
.recruit-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--paper); }
.recruit-band .recruit-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 20rem; }
.recruit-band .recruit-text { padding: clamp(2rem, 5vw, 4rem); }
.recruit-jobs { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.recruit-jobs a {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green);
  text-decoration: none; color: var(--ink);
}
.recruit-jobs a:hover { border-color: var(--green); }
.recruit-jobs strong { color: var(--night); font-size: 1.05rem; }
.recruit-jobs span { font-size: 0.86rem; color: var(--ink-soft); }
@media (max-width: 760px) { .recruit-band { grid-template-columns: 1fr; } .recruit-band .recruit-photo img { min-height: 0; aspect-ratio: 16 / 9; } }

/* ---------- 問い合わせの帯 ---------- */
.contact-band { text-align: left; }
.contact-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.contact-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.4rem; }
.contact-band p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.contact-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.contact-band .big-tel {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; color: var(--white); text-decoration: none;
  font-variant-numeric: tabular-nums; letter-spacing: 0.04em;
}
.contact-band .big-tel .ico { color: #8fd3a8; }

/* ---------- 下層ページの見出し ---------- */
.page-head { padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.5rem); }
.page-head h1 {
  display: flex; align-items: center; gap: 0.9rem;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem); color: var(--night);
}
.page-head h1::before {
  content: ""; flex: none; width: 1rem; height: 1rem; border-radius: 50%; border: 4px solid var(--green);
}
.page-head p { margin: 0.9rem 0 0 1.9rem; max-width: var(--measure); color: var(--ink-soft); }
.page-photo { height: clamp(11rem, 26vw, 20rem); overflow: hidden; background: var(--night); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* ---------- 本文 ---------- */
.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.5rem; color: var(--night); margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.2rem; color: var(--night); margin: 2rem 0 0.75rem; }
.prose ul { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.split + .split { margin-top: clamp(3rem, 7vw, 5rem); }
.photo-stack { display: grid; gap: 0.75rem; }
.photo-stack img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.photo-stack.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.sub-title { font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: var(--night); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.7rem; }
.sub-title::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 3px solid var(--green); flex: none; }

.merits { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: merit; }
.merits li { border-left: 3px solid var(--green); padding: 0.2rem 0 0.2rem 1rem; }
.merits strong { display: block; color: var(--night); margin-bottom: 0.2rem; }
.merits p { margin: 0; color: var(--ink-soft); }

/* ---------- 表 ---------- */
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; vertical-align: top; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); }
.table th { width: 30%; font-weight: 700; color: var(--night); background: var(--paper); word-break: keep-all; }
.table td p { margin: 0; }
@media (max-width: 600px) {
  .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: 0; padding-bottom: 0.4rem; }
  .table td { padding-top: 0.4rem; }
}

/* ---------- 資格一覧 ---------- */
.license-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 2rem var(--gap); }
.license-groups h2 { font-size: 1.1rem; color: var(--night); padding-bottom: 0.5rem; border-bottom: 2px solid var(--green); margin-bottom: 0.8rem; display: flex; justify-content: space-between; align-items: baseline; }
.license-groups h2 small { font-size: 0.8rem; color: var(--ink-soft); font-weight: 400; }
.license-groups ul { list-style: none; margin: 0; padding: 0; }
.license-groups li { padding: 0.45rem 0; border-bottom: 1px dashed var(--line); }

/* ---------- 会社概要 ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.values li { border-top: 3px solid var(--green); padding-top: 1rem; }
.values h3 { font-size: 1.15rem; color: var(--night); margin-bottom: 0.4rem; }
.values p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.offices li { background: var(--white); border: 1px solid var(--line); padding: 1.1rem 1.2rem; }
.offices h3 { font-size: 1.05rem; color: var(--night); margin-bottom: 0.4rem; }
.offices p { margin: 0; font-size: 0.93rem; }

/* ---------- 採用 ---------- */
.job-switch { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 2rem; padding: 0; }
.job-switch a {
  display: block; padding: 0.6rem 1.1rem; border: 1px solid var(--line); border-radius: 4px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.95rem;
}
.job-switch a[aria-current="page"] { background: var(--night); border-color: var(--night); color: var(--white); }
.job-title { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--night); margin-bottom: 0.6rem; }
.job-catch { font-weight: 700; color: var(--green); margin-bottom: 1rem; }
.job-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.job-roles li { background: var(--white); border: 1px solid var(--line); padding: 1.3rem; }
.job-roles .role { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--white); background: var(--green); padding: 0.1rem 0.6rem; border-radius: 3px; margin-bottom: 0.6rem; }
.job-roles h3 { font-size: 1.1rem; color: var(--night); margin-bottom: 0.5rem; }
.job-roles p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 860px) { .job-roles { grid-template-columns: 1fr; } }
.note-box { background: var(--green-soft); border-left: 4px solid var(--green); padding: 1.2rem 1.4rem; margin-top: 2rem; }
.note-box h3 { font-size: 1.05rem; color: #145232; margin-bottom: 0.5rem; }
.note-box p { margin: 0; }
.pay span { white-space: nowrap; }
.pay { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--night); font-variant-numeric: tabular-nums; margin: 0.2rem 0; }
.pay-label { font-weight: 700; color: var(--ink-soft); margin: 0; }
.cond-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 760px) { .cond-grid { grid-template-columns: 1fr; } }
.cond { background: var(--white); border: 1px solid var(--line); padding: 1.4rem; }
.cond h3 { font-size: 1.1rem; color: var(--night); margin-bottom: 0.7rem; }
.cond p:last-child { margin-bottom: 0; }
.emph { font-weight: 700; color: var(--green); }

/* ---------- フォーム ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form-aside { background: var(--paper); padding: 1.5rem; border-top: 4px solid var(--green); }
.form-aside h2 { font-size: 1.1rem; color: var(--night); margin-bottom: 0.6rem; }
.form-aside .big-tel { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 1.5rem; font-weight: 700; text-decoration: none; color: var(--night); font-variant-numeric: tabular-nums; }
.form-aside .big-tel .ico { color: var(--green); }
.form-aside p { font-size: 0.93rem; color: var(--ink-soft); }

.field { margin-bottom: 1.5rem; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; margin-bottom: 0.45rem; padding: 0; }
.req, .opt { font-size: 0.75rem; font-weight: 700; padding: 0.05rem 0.45rem; border-radius: 3px; }
.req { background: #b3261e; color: var(--white); }
.opt { background: var(--paper); color: var(--ink-soft); border: 1px solid var(--line); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.7rem 0.85rem; border: 1px solid #9aa7a5; border-radius: 4px; background: var(--white);
}
.field textarea { min-height: 11rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(44, 98, 180, 0.25); outline-offset: 0; }
.field .hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0.35rem 0 0; }
.field .err { font-size: 0.88rem; color: #b3261e; font-weight: 700; margin: 0.35rem 0 0; }
.field .err:empty { display: none; }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.checks { display: grid; gap: 0.45rem; }
.checks label { display: flex; align-items: center; gap: 0.6rem; font-weight: 400; cursor: pointer; }
.checks input, .consent input { width: 1.2rem; height: 1.2rem; accent-color: var(--blue); flex: none; }
.consent { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 400; }
.consent input { margin-top: 0.3rem; }
.h-captcha { margin: 0.5rem 0 1.5rem; min-height: 78px; }
.form-status { padding: 1rem 1.2rem; border-radius: 4px; margin-bottom: 1.5rem; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-error { background: #fff0ee; color: #8c1d16; border: 1px solid #f0b8b2; }
.form-status.is-ok { background: var(--green-soft); color: #145232; border: 1px solid #9fd0b2; }
.form-submit[disabled] { opacity: 0.6; cursor: progress; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 個人情報保護方針 ---------- */
.policy h2 { font-size: 1.2rem; color: var(--night); margin: 2rem 0 0.6rem; }
.policy ul { padding-left: 1.3em; }
.policy .sign { text-align: right; margin-top: 2em; }

/* ---------- フッター ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, 0.85); padding-top: clamp(2.5rem, 6vw, 4rem); font-size: 0.92rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem var(--gap); }
.footer-name { display: flex; align-items: center; gap: 0.7rem; font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.8rem; }
.footer-name img { height: 1.6rem; width: auto; background: var(--white); padding: 0.2rem 0.35rem; border-radius: 3px; box-sizing: content-box; }
.site-footer address { font-style: normal; }
.footer-license { margin-top: 0.6rem; font-size: 0.85rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.footer-nav li { break-inside: avoid; padding: 0.25rem 0; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.18); margin-top: 2.5rem; padding-block: 1.2rem; font-size: 0.8rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- スマホ下部の問い合わせ ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 3.6rem; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    border-top: 1px solid var(--line); background: var(--white);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    min-height: 3.6rem; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  }
  .mobile-cta-tel { color: var(--night); font-variant-numeric: tabular-nums; }
  .mobile-cta-tel .ico { color: var(--green); }
  .mobile-cta-form { background: var(--blue); color: var(--white); }
  .mobile-cta-form:hover { color: var(--white); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-line::after { transform-origin: left; animation: draw 900ms 200ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

@media (max-width: 480px) {
  .brand { font-size: 0.9rem; gap: 0.5rem; }
  .brand img { height: 1.35rem; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media print {
  .site-header, .mobile-cta, .site-footer nav { display: none; }
}
