@import "fonts.css";

/* =========================================================
   Pattern 37 — recruit.type.jp (キャリアデザインセンター) 真似
   - 6色カラーバンド: 青/緑/黄/橙/赤/紫
   - 左サイドナビ固定 + 右上ハンバーガー
   - 各セクションをカラードット見出しで区分け
   ========================================================= */

:root {
  --p37-c1: #00b8e7;   /* 青(ABOUT) */
  --p37-c2: #6ec24a;   /* 緑(MESSAGE) */
  --p37-c3: #ffc629;   /* 黄(BUSINESS) */
  --p37-c4: #f08300;   /* 橙(WELFARE) */
  --p37-c5: #e8483b;   /* 赤(INTERVIEW) */
  --p37-c6: #8e63b5;   /* 紫(ENCYCLOPEDIA) */

  --p37-ink: #1e1e1e;
  --p37-ink-2: #555;
  --p37-mute: #888;
  --p37-line: #e4e6e8;
  --p37-bg: #ffffff;
  --p37-bg-2: #f4f5f7;
  --p37-bg-3: #eef0f2;

  --p37-pri: var(--p37-c1);
  --p37-radius: 8px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--p37-font-sans);
  color: var(--p37-ink);
  background: var(--p37-bg);
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------------- レイアウト枠 ---------------- */
.p37-shell {
  display: grid;
  grid-template-columns: 96px 1fr;
  min-height: 100vh;
}

/* ---------------- 左サイドナビ ---------------- */
.p37-side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 22px 0 22px;
  border-right: 1px solid var(--p37-line);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 30;
}
.p37-side__logo {
  display: block;
  text-align: center;
  font-family: var(--p37-font-en);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}
.p37-side__logo b {
  display: block;
  font-size: 30px;
  background: linear-gradient(135deg, var(--p37-c1), var(--p37-c2) 30%, var(--p37-c3) 55%, var(--p37-c4) 75%, var(--p37-c5));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.p37-side__logo small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.18em;
  margin-top: 6px;
  color: var(--p37-ink-2);
}

.p37-side__nav {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  width: 100%;
  padding: 0 14px;
}
.p37-side__nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--p37-ink);
  font-weight: 700;
  padding: 4px 0;
  transition: opacity .2s;
}
.p37-side__nav a:hover { opacity: .65; }
.p37-side__nav a::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--p37-c1));
  flex-shrink: 0;
}

.p37-side__book {
  margin-top: 22px;
  width: 60px; height: 60px;
  border: 1px dashed #bbb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--p37-ink-2);
  text-align: center;
  line-height: 1.2;
}

.p37-side__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 24px);
}
.p37-side__cta a {
  display: block;
  text-align: center;
  font-family: var(--p37-font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 10px 0;
  border-radius: 999px;
  background: var(--p37-c1);
  color: #fff;
}
.p37-side__cta a + a { background: #1e1e1e; }

/* ---------------- 本体 ---------------- */
.p37-body { min-width: 0; }

/* ヘッダー右上 */
.p37-topbar {
  position: sticky; top: 0; z-index: 20;
  background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  border-bottom: 1px solid var(--p37-line);
}
.p37-topbar__crumb {
  font-family: var(--p37-font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--p37-ink-2);
}
.p37-topbar__crumb b {
  background: linear-gradient(90deg, var(--p37-c1), var(--p37-c5));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.p37-burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  cursor: pointer;
  background: none; border: 0;
}
.p37-burger span {
  width: 22px; height: 2px;
  background: var(--p37-ink);
}

/* ---------------- HERO portrait slider ---------------- */
.p37-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 78vh;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.p37-hero__cell {
  position: relative;
  overflow: hidden;
}
.p37-hero__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.p37-hero__cell:hover img { transform: scale(1.05); }
.p37-hero__cell::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--tint, rgba(0,184,231,0.22));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.p37-hero__cap {
  position: absolute;
  left: 18px; bottom: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.p37-hero__cap span {
  background: var(--bg, var(--p37-c2));
  color: #fff;
  display: inline-block;
  padding: 4px 8px;
  font-size: 13px;
  align-self: flex-start;
}
.p37-hero__cap small {
  font-family: var(--p37-font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  margin-top: 8px;
  background: rgba(0,0,0,0.4);
  padding: 3px 8px;
  align-self: flex-start;
}
.p37-hero__nav {
  position: absolute;
  left: 0; right: 0;
  bottom: -56px;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-family: var(--p37-font-en);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--p37-ink);
}
.p37-hero__nav button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--p37-line);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}
.p37-hero__pages {
  align-self: center;
  font-weight: 700;
}

/* ---------------- 6カラーバンド ---------------- */
.p37-band {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 16px;
  margin: 100px 0 0;
}
.p37-band span:nth-child(1) { background: var(--p37-c1); }
.p37-band span:nth-child(2) { background: var(--p37-c2); }
.p37-band span:nth-child(3) { background: var(--p37-c3); }
.p37-band span:nth-child(4) { background: var(--p37-c4); }
.p37-band span:nth-child(5) { background: var(--p37-c5); }
.p37-band span:nth-child(6) { background: var(--p37-c6); }

/* ---------------- セクション共通 ---------------- */
.p37-sec { padding: 96px 56px; }
.p37-sec--alt { background: var(--p37-bg-2); }

.p37-sec__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
}
.p37-sec__head::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--p37-pri);
  align-self: center;
}
.p37-sec__head small {
  font-family: var(--p37-font-en);
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--p37-ink);
}
.p37-sec__head h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}
.p37-sec__head::after {
  content: "";
  flex: 0 0 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--p37-pri) 50%, var(--p37-line) 50%);
  margin-left: 6px;
}

/* セクション色テーマ */
.p37-sec[data-c="1"] { --p37-pri: var(--p37-c1); }
.p37-sec[data-c="2"] { --p37-pri: var(--p37-c2); }
.p37-sec[data-c="3"] { --p37-pri: var(--p37-c3); }
.p37-sec[data-c="4"] { --p37-pri: var(--p37-c4); }
.p37-sec[data-c="5"] { --p37-pri: var(--p37-c5); }
.p37-sec[data-c="6"] { --p37-pri: var(--p37-c6); }

/* ---------------- NUMBERS グリッド ---------------- */
.p37-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.p37-num {
  background: #fff;
  border: 1px solid var(--p37-line);
  border-radius: 10px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.p37-num__label {
  font-size: 12px;
  color: var(--p37-ink-2);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.p37-num__val {
  font-family: var(--p37-font-en);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--p37-ink);
}
.p37-num__val em {
  font-style: normal;
  font-size: 18px;
  margin-left: 4px;
  color: var(--p37-ink-2);
}
.p37-num__note {
  font-size: 11px;
  color: var(--p37-mute);
  margin-top: 8px;
}
.p37-num__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
}
.p37-num:nth-child(1) .p37-num__bar { background: var(--p37-c1); }
.p37-num:nth-child(2) .p37-num__bar { background: var(--p37-c2); }
.p37-num:nth-child(3) .p37-num__bar { background: var(--p37-c3); }
.p37-num:nth-child(4) .p37-num__bar { background: var(--p37-c4); }
.p37-num:nth-child(5) .p37-num__bar { background: var(--p37-c5); }
.p37-num:nth-child(6) .p37-num__bar { background: var(--p37-c6); }

/* ---------------- 5メニューカード(top下部) ---------------- */
.p37-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 56px 80px;
}
.p37-menu__card {
  display: flex; flex-direction: column;
  gap: 14px;
  border-top: 4px solid var(--c, var(--p37-c1));
  padding: 24px 20px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 1px 0 var(--p37-line), 0 8px 28px -22px rgba(0,0,0,0.3);
  transition: transform .25s ease;
}
.p37-menu__card:hover { transform: translateY(-4px); }
.p37-menu__card small {
  font-family: var(--p37-font-en);
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--c, var(--p37-c1));
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.p37-menu__card small::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c, var(--p37-c1));
}
.p37-menu__card h3 {
  margin: 0; font-size: 16px; font-weight: 700;
}
.p37-menu__card p {
  margin: 0; font-size: 13px; color: var(--p37-ink-2);
}

/* ---------------- VOICE / interview ---------------- */
.p37-voice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.p37-voice__card {
  background: #fff;
  border: 1px solid var(--p37-line);
  border-radius: 10px;
  padding: 22px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: start;
  position: relative;
}
.p37-voice__card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 48px; height: 4px;
  background: var(--p37-c5);
}
.p37-voice__card img {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--p37-line);
}
.p37-voice__card h4 {
  margin: 0 0 4px;
  font-size: 16px;
}
.p37-voice__card small {
  font-size: 11px; color: var(--p37-ink-2);
  font-family: var(--p37-font-en);
  letter-spacing: 0.08em;
}
.p37-voice__card p {
  margin: 10px 0 0; font-size: 13px;
  border-left: 3px solid var(--p37-c5);
  padding-left: 10px;
}

/* ---------------- 下層共通: ページヘッダー ---------------- */
.p37-page {
  padding: 0 0 80px;
}
.p37-page__hero {
  padding: 80px 56px 56px;
  background: var(--p37-bg-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 4px solid var(--c, var(--p37-c1));
}
.p37-page__hero small {
  font-family: var(--p37-font-en);
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  color: var(--p37-ink);
}
.p37-page__hero small::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c, var(--p37-c1));
}
.p37-page__hero h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0.04em;
}
.p37-page__hero p {
  margin: 0;
  color: var(--p37-ink-2);
  max-width: 720px;
}

.p37-page__body {
  padding: 56px;
}

/* ---------------- JOBS グリッド ---------------- */
.p37-jobs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.p37-jobcard {
  background: #fff;
  border: 1px solid var(--p37-line);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.p37-jobcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -22px rgba(0,0,0,0.3);
}
.p37-jobcard__media {
  aspect-ratio: 16/9;
  background: var(--p37-bg-3);
  position: relative;
}
.p37-jobcard__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.p37-jobcard__media span {
  position: absolute; left: 12px; top: 12px;
  background: var(--p37-c1); color: #fff;
  font-family: var(--p37-font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.p37-jobcard__body {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.p37-jobcard__body h3 {
  margin: 0; font-size: 18px;
}
.p37-jobcard__body small {
  font-size: 12px; color: var(--p37-ink-2);
}
.p37-jobcard__body p {
  margin: 6px 0 0; font-size: 13px;
}
.p37-jobcard__points {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 4px;
}
.p37-jobcard__points li {
  list-style: none;
  font-size: 11px;
  padding: 3px 10px;
  background: var(--p37-bg-2);
  border-radius: 999px;
  color: var(--p37-ink-2);
}
.p37-jobcard__more {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--p37-font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--p37-c1);
  padding-top: 12px;
  border-top: 1px solid var(--p37-line);
  width: 100%;
}

/* ---------------- JOB DETAIL ---------------- */
.p37-job__hero {
  padding: 60px 56px 40px;
  background: var(--p37-bg-2);
  border-bottom: 4px solid var(--p37-c1);
}
.p37-job__hero small {
  font-family: var(--p37-font-en);
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
  color: var(--p37-c1);
}
.p37-job__hero h1 {
  margin: 8px 0; font-size: 30px;
}
.p37-job__hero p {
  margin: 0; color: var(--p37-ink-2);
}
.p37-job__hero img {
  margin-top: 24px;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.p37-job__sec {
  padding: 40px 56px;
  border-bottom: 1px solid var(--p37-line);
}
.p37-job__sec h2 {
  margin: 0 0 18px;
  font-size: 18px;
  display: flex; align-items: center; gap: 10px;
}
.p37-job__sec h2::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--p37-c1);
}
.p37-job__sec ul { margin: 0; padding-left: 1.4em; }
.p37-job__sec li + li { margin-top: 4px; }

/* 1日のスケジュール */
.p37-day {
  display: grid;
  grid-template-columns: 100px 1fr;
  border-top: 1px solid var(--p37-line);
}
.p37-day__row {
  display: contents;
}
.p37-day__t,
.p37-day__c {
  border-bottom: 1px solid var(--p37-line);
  padding: 14px 12px;
}
.p37-day__t {
  font-family: var(--p37-font-en);
  font-weight: 700;
  color: var(--p37-c1);
  background: var(--p37-bg-2);
}
.p37-day__c b { display: block; font-size: 14px; }
.p37-day__c small { color: var(--p37-ink-2); font-size: 12px; }

/* ---------------- 募集要項テーブル ---------------- */
.p37-reqtable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--p37-line);
  border-radius: 8px;
  overflow: hidden;
}
.p37-reqtable th,
.p37-reqtable td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--p37-line);
  vertical-align: top;
}
.p37-reqtable tr:last-child th,
.p37-reqtable tr:last-child td { border-bottom: 0; }
.p37-reqtable th {
  width: 200px;
  background: var(--p37-bg-2);
  font-weight: 700;
  color: var(--p37-ink);
  position: relative;
}
.p37-reqtable th::before {
  content: "";
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 4px;
  background: var(--p37-c2);
}

/* ---------------- FAQ ---------------- */
.p37-faqlist {
  display: flex; flex-direction: column;
  gap: 10px;
}
.p37-faqitem {
  background: #fff;
  border: 1px solid var(--p37-line);
  border-radius: 8px;
  padding: 18px 22px;
}
.p37-faqitem__q {
  display: flex; align-items: flex-start; gap: 14px;
  font-weight: 700;
}
.p37-faqitem__q::before {
  content: "Q";
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--p37-c2);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--p37-font-en);
  font-size: 12px;
  font-weight: 700;
}
.p37-faqitem__a {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 12px;
  color: var(--p37-ink-2);
  font-size: 13px;
  padding-left: 0;
}
.p37-faqitem__a::before {
  content: "A";
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--p37-c2);
  border: 1px solid var(--p37-c2);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--p37-font-en);
  font-size: 12px;
  font-weight: 700;
}

/* ---------------- FORM ---------------- */
.p37-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
  max-width: 760px;
}
.p37-form__field { display: flex; flex-direction: column; gap: 6px; }
.p37-form__field--full { grid-column: 1 / -1; }
.p37-form__field label {
  font-size: 12px;
  color: var(--p37-ink-2);
  font-weight: 700;
}
.p37-form__field label em {
  color: var(--p37-c5);
  font-style: normal;
  margin-left: 4px;
}
.p37-form__field input,
.p37-form__field select,
.p37-form__field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--p37-line);
  border-radius: 6px;
  background: #fff;
  width: 100%;
}
.p37-form__field textarea { min-height: 120px; resize: vertical; }
.p37-form__field input:focus,
.p37-form__field select:focus,
.p37-form__field textarea:focus {
  outline: 2px solid var(--p37-c1);
  outline-offset: 0;
  border-color: var(--p37-c1);
}
.p37-form__cta {
  grid-column: 1 / -1;
  margin-top: 14px;
  display: flex;
  gap: 12px;
}
.p37-form__cta button {
  padding: 14px 40px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.p37-form__cta button[type="submit"] {
  background: var(--p37-c1);
  color: #fff;
}
.p37-form__cta button[type="button"] {
  background: #1e1e1e;
  color: #fff;
}

/* ---------------- HISTORY (company) ---------------- */
.p37-history {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  border-left: 2px solid var(--p37-line);
  padding-left: 22px;
  gap: 22px;
}
.p37-history li {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: baseline;
}
.p37-history li::before {
  content: "";
  position: absolute;
  left: -29px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--p37-c3);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--p37-c3);
}
.p37-history__y {
  font-family: var(--p37-font-en);
  font-weight: 900;
  font-size: 22px;
  color: var(--p37-c4);
  line-height: 1;
}
.p37-history__e {
  font-size: 14px;
  color: var(--p37-ink);
}

/* ---------------- MESSAGE (代表メッセージ) ---------------- */
.p37-message {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
.p37-message__photo {
  border-radius: 8px;
  overflow: hidden;
  background: var(--p37-bg-2);
  aspect-ratio: 1/1;
}
.p37-message__photo img { width: 100%; height: 100%; object-fit: cover; }
.p37-message__name {
  margin-top: 14px;
  font-size: 12px; color: var(--p37-ink-2);
}
.p37-message__name b {
  display: block;
  font-size: 16px;
  color: var(--p37-ink);
  margin-top: 2px;
}
.p37-message__body {
  font-size: 14px;
  line-height: 2;
}
.p37-message__body h3 {
  margin: 0 0 20px;
  font-size: 22px;
  letter-spacing: 0.04em;
  border-left: 4px solid var(--p37-c5);
  padding-left: 14px;
}
.p37-message__body p {
  margin: 0 0 14px;
  white-space: pre-line;
}

/* ---------------- フッター ---------------- */
.p37-foot {
  background: var(--p37-bg-2);
  padding: 40px 56px 28px;
  border-top: 1px solid var(--p37-line);
}
.p37-foot__band {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 8px;
  margin-bottom: 32px;
}
.p37-foot__band span:nth-child(1){background:var(--p37-c1);}
.p37-foot__band span:nth-child(2){background:var(--p37-c2);}
.p37-foot__band span:nth-child(3){background:var(--p37-c3);}
.p37-foot__band span:nth-child(4){background:var(--p37-c4);}
.p37-foot__band span:nth-child(5){background:var(--p37-c5);}
.p37-foot__band span:nth-child(6){background:var(--p37-c6);}
.p37-foot__logo {
  text-align: center;
  font-family: var(--p37-font-en);
  font-weight: 900;
  font-size: 30px;
  background: linear-gradient(135deg, var(--p37-c1), var(--p37-c2) 30%, var(--p37-c3) 55%, var(--p37-c4) 75%, var(--p37-c5));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.p37-foot__sub {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--p37-ink-2);
  margin-top: 4px;
}
.p37-foot__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 32px 0;
}
.p37-foot__nav a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  border-left: 4px solid var(--c, var(--p37-c1));
}
.p37-foot__nav a small {
  font-family: var(--p37-font-en);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--p37-ink-2);
  font-weight: 700;
}
.p37-foot__cta {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 12px;
}
.p37-foot__cta a {
  padding: 12px 36px;
  border-radius: 999px;
  background: var(--p37-c1);
  color: #fff;
  font-weight: 700;
  font-family: var(--p37-font-en);
  letter-spacing: 0.14em;
  font-size: 13px;
}
.p37-foot__cta a + a { background: #1e1e1e; }
.p37-foot__copy {
  text-align: center;
  font-size: 11px;
  color: var(--p37-mute);
  margin-top: 24px;
}
.p37-foot__src {
  text-align: center;
  font-size: 11px;
  color: var(--p37-mute);
  margin-top: 6px;
}

/* ---------------- レスポンシブ ---------------- */
@media (max-width: 900px) {
  .p37-shell { grid-template-columns: 1fr; }
  .p37-side {
    position: relative;
    height: auto;
    width: 100%;
    flex-direction: row;
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--p37-line);
    gap: 14px;
  }
  .p37-side__nav,
  .p37-side__book,
  .p37-side__cta { display: none; }
  .p37-hero { grid-template-columns: 1fr; height: 60vh; }
  .p37-hero__cell:nth-child(n+2) { display: none; }
  .p37-numbers,
  .p37-menu,
  .p37-jobs__grid,
  .p37-voice,
  .p37-foot__nav,
  .p37-form { grid-template-columns: 1fr; }
  .p37-message { grid-template-columns: 1fr; }
  .p37-sec,
  .p37-page__hero,
  .p37-page__body,
  .p37-job__hero,
  .p37-job__sec,
  .p37-menu { padding-left: 20px; padding-right: 20px; }
  .p37-reqtable th { width: 110px; padding: 12px; }
  .p37-reqtable td { padding: 12px; }
}
