/* Pattern 24 — 真似元: jinji.shogakukan.co.jp/
   雑誌編集部の "クラフト紙×吹き出し×付箋×丸ピンクボタン" を模倣 */

@import url('./fonts.css');

:root {
  --p24-paper: #f4ede0;          /* クラフト紙 */
  --p24-paper-light: #f9f4e7;
  --p24-cream: #fffaf0;
  --p24-ink: #1a1614;            /* ほぼ黒 */
  --p24-ink-soft: #4a423b;
  --p24-pink: #ff6fa3;           /* PEOPLE タブ */
  --p24-pink-soft: #ffd9e6;
  --p24-yellow: #ffd84d;         /* WORKS タブ */
  --p24-yellow-soft: #fff3c0;
  --p24-blue: #6fc5e6;           /* WE ARE タブ */
  --p24-blue-soft: #d9eef9;
  --p24-orange: #ff9a4d;         /* RECRUIT タブ */
  --p24-orange-soft: #ffe1c8;
  --p24-mint: #9fd9b8;            /* FAQ タブ */
  --p24-mint-soft: #d9efe2;
  --p24-purple: #c9a8e0;          /* EVENT タブ */
  --p24-line: #1a1614;
  --p24-line-soft: rgba(26, 22, 20, .15);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--p24-font-body);
  color: var(--p24-ink);
  background: var(--p24-paper);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 218, 165, .35) 0, transparent 22%),
    radial-gradient(circle at 88% 32%, rgba(255, 200, 220, .28) 0, transparent 25%),
    radial-gradient(circle at 30% 78%, rgba(200, 220, 240, .25) 0, transparent 30%);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Header ===== */
.p24-header {
  background: var(--p24-ink);
  color: #fff;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.p24-header__logo {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .04em;
}
.p24-header__logo small {
  display: block;
  font-size: 9px;
  letter-spacing: .3em;
  opacity: .7;
  font-weight: 400;
}
.p24-header__nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
  letter-spacing: .1em;
}
.p24-header__nav a {
  position: relative;
  padding: 4px 0;
}
.p24-header__nav a small {
  display: block;
  font-size: 9px;
  opacity: .6;
  letter-spacing: .15em;
  margin-top: 2px;
}
.p24-header__nav a:hover { color: var(--p24-yellow); }

/* ===== Top: コミック散らばり HERO ===== */
.p24-hero {
  position: relative;
  padding: 60px 24px 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, var(--p24-paper-light) 0%, var(--p24-paper) 70%);
}
.p24-hero__pinwall {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  min-height: 560px;
}
.p24-hero__tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.p24-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  font-family: var(--p24-font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--p24-ink);
  text-align: center;
  border: 2px solid var(--p24-ink);
  box-shadow: 3px 3px 0 var(--p24-ink);
  transition: transform .15s ease;
  line-height: 1.4;
  padding: 8px;
}
.p24-tab:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--p24-ink); }
.p24-tab small { font-size: 9px; opacity: .7; letter-spacing: .15em; display: block; margin-bottom: 2px; }
.p24-tab--pink   { background: var(--p24-pink); }
.p24-tab--yellow { background: var(--p24-yellow); }
.p24-tab--blue   { background: var(--p24-blue); }
.p24-tab--orange { background: var(--p24-orange); }
.p24-tab--mint   { background: var(--p24-mint); }
.p24-tab--purple { background: var(--p24-purple); }

.p24-hero__center {
  position: relative;
  text-align: center;
  padding: 80px 24px;
}
.p24-hero__catch {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--p24-ink);
  position: relative;
  display: inline-block;
}
.p24-hero__catch span {
  background: linear-gradient(transparent 62%, var(--p24-yellow) 62%, var(--p24-yellow) 88%, transparent 88%);
  padding: 0 .1em;
}
.p24-hero__sub {
  margin-top: 24px;
  font-family: var(--p24-font-hand);
  font-size: 16px;
  color: var(--p24-ink-soft);
  line-height: 2;
}

/* 散らばるコミック表紙 */
.p24-mag {
  position: absolute;
  width: 130px;
  height: 180px;
  background: #fff;
  border: 1.5px solid var(--p24-ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .15);
  overflow: hidden;
  font-family: var(--p24-font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--p24-ink);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.p24-mag::before {
  content: '';
  position: absolute;
  inset: 30px 8px 30px 8px;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 6px, transparent 6px 12px);
  border: 1px solid var(--p24-line-soft);
}
.p24-mag small { font-size: 9px; opacity: .6; letter-spacing: .12em; }
.p24-mag b { font-size: 18px; line-height: 1.2; position: relative; z-index: 1; }
.p24-mag--pink   { background: var(--p24-pink-soft); }
.p24-mag--yellow { background: var(--p24-yellow-soft); }
.p24-mag--blue   { background: var(--p24-blue-soft); }
.p24-mag--orange { background: var(--p24-orange-soft); }
.p24-mag--mint   { background: var(--p24-mint-soft); }
.p24-mag--white  { background: #fff; }

.p24-mag:nth-child(1) { top: 0;    left: 2%;   transform: rotate(-8deg); }
.p24-mag:nth-child(2) { top: 40px; left: 14%;  transform: rotate(5deg); }
.p24-mag:nth-child(3) { top: 280px;left: 1%;   transform: rotate(-3deg); }
.p24-mag:nth-child(4) { top: 380px;left: 10%;  transform: rotate(8deg); }
.p24-mag:nth-child(5) { top: 0;    right: 4%;  transform: rotate(6deg); }
.p24-mag:nth-child(6) { top: 60px; right: 16%; transform: rotate(-4deg); }
.p24-mag:nth-child(7) { top: 290px;right: 2%;  transform: rotate(7deg); }
.p24-mag:nth-child(8) { top: 400px;right: 14%; transform: rotate(-6deg); }

/* NEWS strip */
.p24-news {
  max-width: 1000px;
  margin: -20px auto 80px;
  background: #fff;
  border: 1.5px solid var(--p24-ink);
  border-radius: 14px;
  padding: 20px 28px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
  box-shadow: 4px 4px 0 var(--p24-ink);
  position: relative;
  z-index: 2;
}
.p24-news__label {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .08em;
  color: var(--p24-pink);
}
.p24-news__list { flex: 1; min-width: 280px; }
.p24-news__list li {
  display: flex;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--p24-line-soft);
  list-style: none;
  font-size: 13px;
}
.p24-news__list li:last-child { border: 0; }
.p24-news__list time { color: var(--p24-pink); font-weight: 700; min-width: 90px; }

/* ===== Section frame (吹き出し見出し) ===== */
.p24-section { padding: 80px 24px; }
.p24-section__inner { max-width: 1100px; margin: 0 auto; }

.p24-bubble {
  display: inline-block;
  background: var(--p24-yellow);
  border: 2px solid var(--p24-ink);
  border-radius: 999px;
  padding: 8px 28px;
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .15em;
  position: relative;
  margin-bottom: 24px;
  box-shadow: 3px 3px 0 var(--p24-ink);
}
.p24-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 32px;
  width: 16px;
  height: 16px;
  background: var(--p24-yellow);
  border-right: 2px solid var(--p24-ink);
  border-bottom: 2px solid var(--p24-ink);
  transform: rotate(45deg);
}
.p24-bubble--pink   { background: var(--p24-pink); color: #fff; }
.p24-bubble--pink::after { background: var(--p24-pink); }
.p24-bubble--blue   { background: var(--p24-blue); }
.p24-bubble--blue::after { background: var(--p24-blue); }

.p24-section__title {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: .06em;
  margin: 0 0 12px;
}
.p24-section__lead {
  font-size: 14px;
  line-height: 2;
  color: var(--p24-ink-soft);
  max-width: 720px;
  margin: 0 0 48px;
}

/* ===== Numbers (付箋) ===== */
.p24-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.p24-stick {
  background: var(--p24-yellow-soft);
  border: 1.5px solid var(--p24-ink);
  padding: 28px 22px;
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--p24-ink);
  position: relative;
  transform: rotate(-1deg);
}
.p24-stick:nth-child(2n) { background: var(--p24-pink-soft); transform: rotate(1deg); }
.p24-stick:nth-child(3n) { background: var(--p24-blue-soft); transform: rotate(-.5deg); }
.p24-stick:nth-child(4n) { background: var(--p24-mint-soft); transform: rotate(.8deg); }
.p24-stick::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 14px;
  background: var(--p24-ink);
  border-radius: 2px;
  opacity: .8;
}
.p24-stick__val {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.02em;
}
.p24-stick__unit { font-size: 18px; margin-left: 4px; }
.p24-stick__label {
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
}
.p24-stick__note {
  font-size: 11px;
  color: var(--p24-ink-soft);
  margin-top: 4px;
  font-family: var(--p24-font-hand);
}

/* ===== Works (部署・職種紹介) クリップ吊るしカード ===== */
.p24-works {
  background: var(--p24-paper-light);
  position: relative;
  padding: 100px 24px;
}
.p24-works__rail {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--p24-line);
  position: relative;
}
.p24-works__rail::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--p24-ink) 0 2px, transparent 2px 8px);
  opacity: .25;
}
.p24-works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  padding-top: 24px;
}
.p24-clip {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--p24-ink);
  padding: 60px 24px 24px;
  box-shadow: 3px 4px 0 rgba(0,0,0,.12);
}
.p24-clip::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 36px;
  background: linear-gradient(180deg, #999 0%, #555 50%, #999 100%);
  border-radius: 6px 6px 4px 4px;
  border: 1px solid var(--p24-ink);
}
.p24-clip::after {
  content: '';
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 18px;
  border: 2px solid #888;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}
.p24-clip__cat {
  font-family: var(--p24-font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--p24-pink);
  margin-bottom: 8px;
}
.p24-clip__title {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 12px;
  line-height: 1.4;
}
.p24-clip__lead {
  font-size: 13px;
  line-height: 1.8;
  color: var(--p24-ink-soft);
  margin-bottom: 16px;
}
.p24-clip__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.p24-clip__meta span {
  font-size: 11px;
  background: var(--p24-yellow-soft);
  border: 1px solid var(--p24-ink);
  border-radius: 999px;
  padding: 3px 10px;
}
.p24-clip__more {
  font-family: var(--p24-font-display);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid var(--p24-pink);
  padding-bottom: 2px;
}

/* ===== People (社員カード・吹き出し) ===== */
.p24-people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.p24-person {
  background: #fff;
  border: 1.5px solid var(--p24-ink);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--p24-ink);
}
.p24-person__photo {
  aspect-ratio: 4 / 3;
  background: var(--p24-blue-soft);
  border-bottom: 1.5px solid var(--p24-ink);
  overflow: hidden;
}
.p24-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.p24-person__body { padding: 24px; }
.p24-person__name {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 20px;
  margin: 0 0 4px;
}
.p24-person__attr { font-size: 12px; color: var(--p24-ink-soft); margin-bottom: 16px; }
.p24-person__quote {
  background: var(--p24-yellow-soft);
  border: 1.5px solid var(--p24-ink);
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.8;
  font-family: var(--p24-font-hand);
  position: relative;
}
.p24-person__quote::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 24px;
  width: 14px;
  height: 14px;
  background: var(--p24-yellow-soft);
  border-left: 1.5px solid var(--p24-ink);
  border-top: 1.5px solid var(--p24-ink);
  transform: rotate(45deg);
}

/* ===== History (年表・出版年史風) ===== */
.p24-history {
  background: var(--p24-cream);
  border: 1.5px solid var(--p24-ink);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 4px 4px 0 var(--p24-ink);
}
.p24-history__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--p24-line-soft);
}
.p24-history__row:last-child { border: 0; }
.p24-history__year {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--p24-pink);
  letter-spacing: .04em;
}
.p24-history__event { font-size: 14px; line-height: 1.9; padding-top: 6px; }

/* ===== Message (代表) ===== */
.p24-message {
  background: var(--p24-pink-soft);
  border: 1.5px solid var(--p24-ink);
  border-radius: 16px;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  box-shadow: 4px 4px 0 var(--p24-ink);
}
.p24-message__photo {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--p24-ink);
  background: #fff;
}
.p24-message__photo img { width: 100%; height: 100%; object-fit: cover; }
.p24-message__title {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 24px;
  margin: 0 0 20px;
  line-height: 1.5;
}
.p24-message__body { font-size: 14px; line-height: 2; white-space: pre-wrap; }
.p24-message__sign {
  margin-top: 24px;
  font-family: var(--p24-font-hand);
  font-size: 16px;
  font-weight: 600;
}

/* ===== Page base (下層) ===== */
.p24-page {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.p24-page__head { text-align: center; margin-bottom: 56px; }
.p24-page__head .p24-bubble { margin-bottom: 12px; }
.p24-page__head h1 {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 0 0 12px;
}
.p24-page__head p { color: var(--p24-ink-soft); font-size: 14px; }

/* Jobs grid */
.p24-jobs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.p24-jobcard {
  background: #fff;
  border: 1.5px solid var(--p24-ink);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 4px 4px 0 var(--p24-ink);
  transition: transform .15s ease;
  position: relative;
}
.p24-jobcard:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--p24-ink); }
.p24-jobcard__code {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--p24-pink);
}
.p24-jobcard__title {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 22px;
  margin: 8px 0 6px;
}
.p24-jobcard__sub { font-size: 12px; color: var(--p24-ink-soft); margin-bottom: 16px; }
.p24-jobcard__row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--p24-line-soft); }
.p24-jobcard__row dt { font-weight: 700; }
.p24-jobcard__more {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--p24-font-display);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid var(--p24-pink);
  padding-bottom: 2px;
}

/* Job detail */
.p24-job__hero {
  background: #fff;
  border: 1.5px solid var(--p24-ink);
  border-radius: 16px;
  padding: 40px 36px;
  margin-bottom: 48px;
  box-shadow: 4px 4px 0 var(--p24-ink);
}
.p24-job__hero h1 {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 8px 0 12px;
}
.p24-job__hero .p24-jobcard__code { display: inline-block; }
.p24-job__hero p { font-size: 14px; line-height: 1.9; color: var(--p24-ink-soft); }
.p24-job__sec { margin: 48px 0; }
.p24-job__sec h2 {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 6px solid var(--p24-pink);
}
.p24-job__sec ul { padding-left: 24px; line-height: 2; }
.p24-job__sec p { line-height: 2; }

/* Day timeline (1日のスケジュール) */
.p24-day {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.p24-day::before {
  content: '';
  position: absolute;
  left: 76px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--p24-pink);
}
.p24-day li {
  position: relative;
  padding: 14px 0 14px 110px;
  border-bottom: 1px dashed var(--p24-line-soft);
}
.p24-day li:last-child { border: 0; }
.p24-day li::before {
  content: '';
  position: absolute;
  left: 72px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--p24-pink);
  border: 2px solid var(--p24-ink);
}
.p24-day__time {
  position: absolute;
  left: 0;
  top: 14px;
  width: 64px;
  text-align: right;
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--p24-ink);
}
.p24-day__title { font-weight: 700; margin-bottom: 2px; }
.p24-day__desc { font-size: 13px; color: var(--p24-ink-soft); }

/* Requirements table */
.p24-reqtable {
  background: #fff;
  border: 1.5px solid var(--p24-ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--p24-ink);
}
.p24-reqtable__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px dashed var(--p24-line-soft);
}
.p24-reqtable__row:last-child { border: 0; }
.p24-reqtable__k {
  background: var(--p24-yellow-soft);
  padding: 18px 20px;
  font-family: var(--p24-font-display);
  font-weight: 700;
  font-size: 14px;
  border-right: 1px dashed var(--p24-line-soft);
}
.p24-reqtable__v { padding: 18px 24px; font-size: 14px; line-height: 1.9; }

/* FAQ list */
.p24-faqlist { display: flex; flex-direction: column; gap: 16px; }
.p24-faqlist details {
  background: #fff;
  border: 1.5px solid var(--p24-ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--p24-ink);
  overflow: hidden;
}
.p24-faqlist summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px 20px 56px;
  font-family: var(--p24-font-display);
  font-weight: 700;
  font-size: 15px;
  position: relative;
}
.p24-faqlist summary::-webkit-details-marker { display: none; }
.p24-faqlist summary::before {
  content: 'Q';
  position: absolute;
  left: 20px;
  top: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--p24-pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 13px;
}
.p24-faqlist__a {
  padding: 0 24px 24px 56px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--p24-ink-soft);
  position: relative;
}
.p24-faqlist__a::before {
  content: 'A';
  position: absolute;
  left: 20px;
  top: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--p24-yellow);
  color: var(--p24-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 13px;
}

/* Form */
.p24-form {
  background: #fff;
  border: 1.5px solid var(--p24-ink);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 4px 4px 0 var(--p24-ink);
  display: grid;
  gap: 22px;
}
.p24-form__field { display: flex; flex-direction: column; gap: 6px; }
.p24-form__field label {
  font-family: var(--p24-font-display);
  font-weight: 700;
  font-size: 13px;
}
.p24-form__field label span { color: var(--p24-pink); font-size: 11px; margin-left: 6px; }
.p24-form__field input,
.p24-form__field select,
.p24-form__field textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--p24-ink);
  border-radius: 8px;
  background: var(--p24-paper-light);
  outline: none;
}
.p24-form__field textarea { min-height: 120px; resize: vertical; }
.p24-form__submit {
  align-self: flex-start;
  background: var(--p24-pink);
  color: #fff;
  border: 2px solid var(--p24-ink);
  border-radius: 999px;
  padding: 14px 40px;
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .1em;
  box-shadow: 3px 3px 0 var(--p24-ink);
  cursor: pointer;
}
.p24-form__submit:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--p24-ink); }

/* Company info table reused via p24-reqtable */

/* ===== Footer ===== */
.p24-footer {
  background: var(--p24-ink);
  color: #fff;
  padding: 60px 24px 28px;
  margin-top: 80px;
}
.p24-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.p24-footer__logo {
  font-family: var(--p24-font-display);
  font-weight: 900;
  font-size: 28px;
}
.p24-footer__logo small {
  display: block;
  font-size: 10px;
  letter-spacing: .3em;
  opacity: .6;
  margin-top: 4px;
}
.p24-footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  font-size: 12px;
}
.p24-footer__nav a { opacity: .8; padding: 4px 0; display: block; }
.p24-footer__nav a small { display: block; font-size: 9px; opacity: .6; letter-spacing: .15em; }
.p24-footer__base {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  opacity: .65;
}

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .p24-header__nav { display: none; }
  .p24-mag { width: 86px; height: 120px; font-size: 10px; padding: 8px 6px; }
  .p24-mag b { font-size: 13px; }
  .p24-hero__pinwall { min-height: 420px; }
  .p24-message { grid-template-columns: 1fr; }
  .p24-message__photo { width: 160px; }
  .p24-history__row { grid-template-columns: 80px 1fr; gap: 12px; }
  .p24-history__year { font-size: 22px; }
  .p24-reqtable__row { grid-template-columns: 110px 1fr; }
  .p24-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .p24-section { padding: 56px 16px; }
  .p24-tab { width: 90px; height: 90px; font-size: 11px; }
  .p24-day::before { left: 60px; }
  .p24-day li { padding-left: 90px; }
  .p24-day li::before { left: 56px; }
  .p24-day__time { width: 52px; font-size: 14px; }
}
