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

/* ============================================================
   Pattern 41 — Horipro recruit 風
   - 黒×白×赤 / 巨大セリフ見出し / 写真グリッドヒーロー
   - 背景に巨大セクションラベル / 付箋風数字ボード
   - 番号付きジョブリスト
   ============================================================ */

:root {
  --p41-bg: #ebebeb;
  --p41-fg: #000;
  --p41-white: #fff;
  --p41-dark: #0a0a0a;
  --p41-red: #d80c18;
  --p41-blue: #14385a;
  --p41-blue-deep: #0d2944;
  --p41-yellow: #f1d445;
  --p41-mute: #888;
  --p41-line: #d4d4d4;
  --p41-line-d: #2a2a2a;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--p41-font-jp);
  color: var(--p41-fg);
  background: var(--p41-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* skip link */
.p41-skip {
  position: absolute; left: -9999px; top: 0;
  background: #000; color: #fff; padding: 8px 12px; z-index: 1000;
}
.p41-skip:focus { left: 8px; top: 8px; }

/* ============================================================
   HEADER
   ============================================================ */
.p41-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: rgba(235, 235, 235, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--p41-line);
}
.p41-header__brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.p41-header__brand__mark {
  font-family: var(--p41-font-en);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
  position: relative;
  padding-left: 18px;
}
.p41-header__brand__mark::before {
  content: "★";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--p41-fg);
  font-style: normal;
}
.p41-header__brand__sub {
  font-family: var(--p41-font-en);
  font-size: 9px;
  letter-spacing: .14em;
  display: block;
  margin-top: 2px;
}
.p41-header__nav {
  display: flex; align-items: center; gap: 18px;
  font-size: 12px;
  letter-spacing: .08em;
}
.p41-header__nav a { padding: 4px 2px; }
.p41-header__nav a:hover { opacity: .6; }
.p41-header__nav__group {
  background: var(--p41-red);
  color: #fff;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: .1em;
}
.p41-header__nav__entry {
  border: 1px solid #000;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: .1em;
}
.p41-header__nav__entry:hover { background: #000; color: #fff; }

@media (max-width: 800px) {
  .p41-header__nav { gap: 8px; font-size: 10px; }
  .p41-header__nav .p41-header__nav__hide { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.p41-hero {
  padding-top: 72px;
  background: var(--p41-bg);
}
.p41-hero__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 110px;
  gap: 8px;
  padding: 24px;
  background: #0d1a1f;
}
.p41-hero__cell {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  filter: grayscale(.2) brightness(.85);
  transition: filter .6s;
}
.p41-hero__cell:hover { filter: grayscale(0) brightness(1); }
.p41-hero__cell img {
  width: 100%; height: 100%; object-fit: cover;
}
.p41-hero__cell--lg { grid-column: span 2; grid-row: span 2; }
.p41-hero__cell--md { grid-column: span 2; grid-row: span 1; }
.p41-hero__cell--portrait { grid-column: span 1; grid-row: span 2; }
.p41-hero__cell--accent::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(216, 12, 24, .55), transparent 60%);
}

.p41-hero__title {
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: .06em;
  margin: 0;
  padding: 36px 24px 12px;
}
.p41-hero__title small {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--p41-mute);
  margin-bottom: 8px;
  font-weight: 700;
}

@media (max-width: 800px) {
  .p41-hero__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 90px;
    padding: 12px;
  }
}

/* ============================================================
   MESSAGE — 黒背景・赤eyebrow・大型コピー
   ============================================================ */
.p41-message {
  background: var(--p41-dark);
  color: var(--p41-white);
  padding: 100px 24px 140px;
}
.p41-message__inner {
  max-width: 900px;
  margin: 0 auto;
}
.p41-message__eyebrow {
  font-family: var(--p41-font-en);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--p41-red);
  margin: 0 0 28px;
  font-weight: 700;
}
.p41-message__copy {
  font-family: var(--p41-font-jp);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.9;
  letter-spacing: .04em;
  margin: 0 0 18px;
  font-weight: 500;
}
.p41-message__copy + .p41-message__copy { margin-top: 28px; }
.p41-message__sign {
  margin-top: 60px;
  font-size: 13px;
  letter-spacing: .15em;
  color: #999;
  font-family: var(--p41-font-en);
}

/* ============================================================
   SECTION with massive background label
   ============================================================ */
.p41-section {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
}
.p41-section--alt { background: #ddd; }
.p41-section--dark { background: var(--p41-dark); color: var(--p41-white); }

.p41-section__bg {
  position: absolute;
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: clamp(110px, 18vw, 240px);
  letter-spacing: -.02em;
  color: rgba(255, 255, 255, .55);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.p41-section--alt .p41-section__bg { color: rgba(255, 255, 255, .55); }
.p41-section--dark .p41-section__bg { color: rgba(255, 255, 255, .04); }
.p41-section__bg--tl { top: 60px; left: 24px; }
.p41-section__bg--br { bottom: 60px; right: 24px; }

.p41-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.p41-section__eyebrow {
  display: inline-block;
  font-family: var(--p41-font-en);
  font-size: 12px;
  letter-spacing: .2em;
  background: #000;
  color: #fff;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.p41-section--dark .p41-section__eyebrow {
  background: #fff;
  color: #000;
}
.p41-section__title {
  font-family: var(--p41-font-jp);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: .06em;
  margin: 0 0 24px;
  line-height: 1.5;
}
.p41-section__title em {
  font-style: normal;
  font-family: var(--p41-font-en);
  color: var(--p41-red);
}
.p41-section__lead {
  font-size: 16px;
  line-height: 2;
  max-width: 720px;
}

/* ============================================================
   NUMBERS — 付箋風（黄色テープ + 青ノート）
   ============================================================ */
.p41-numbers {
  background: var(--p41-bg);
  padding: 120px 24px;
}
.p41-numbers__head {
  max-width: 1100px;
  margin: 0 auto 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.p41-numbers__title {
  font-family: var(--p41-font-jp);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.p41-numbers__title small {
  display: block;
  font-family: var(--p41-font-en);
  font-size: 14px;
  letter-spacing: .25em;
  color: var(--p41-mute);
  margin-top: 8px;
  font-weight: 400;
}

.p41-numbers__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.p41-numnote {
  position: relative;
  background: var(--p41-blue);
  color: #fff;
  padding: 36px 24px 28px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  min-height: 220px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.p41-numnote::before {
  /* 黄色いマスキングテープ */
  content: "";
  position: absolute;
  top: -10px; left: 16px;
  width: 60px; height: 20px;
  background: var(--p41-yellow);
  opacity: .9;
  transform: rotate(-3deg);
  box-shadow: 0 2px 4px rgba(0,0,0,.18);
}
.p41-numnote__label {
  font-size: 12px;
  letter-spacing: .1em;
  color: #fff;
  margin: 0 0 18px;
  background: rgba(255,255,255,.08);
  display: inline-block;
  padding: 4px 10px;
}
.p41-numnote__value {
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  margin: 8px 0;
}
.p41-numnote__unit {
  font-size: 18px;
  margin-left: 4px;
  font-weight: 400;
  letter-spacing: 0;
}
.p41-numnote__note {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  margin-top: 14px;
  letter-spacing: .04em;
}

/* ============================================================
   CLOSE UP — カードグリッド (黒カード)
   ============================================================ */
.p41-closeup {
  background: var(--p41-bg);
  padding: 100px 24px 140px;
}
.p41-closeup__head {
  max-width: 1100px;
  margin: 0 auto 50px;
}
.p41-closeup__title {
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: .02em;
  margin: 0;
  line-height: 1;
}
.p41-closeup__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.p41-cucard {
  background: #0a0a0a;
  color: #fff;
  padding: 20px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.p41-cucard__img {
  position: absolute; inset: 0;
  opacity: .35;
  filter: grayscale(.6);
}
.p41-cucard__img img { width: 100%; height: 100%; object-fit: cover; }
.p41-cucard__tag {
  font-family: var(--p41-font-en);
  font-size: 10px;
  letter-spacing: .2em;
  background: #fff;
  color: #000;
  padding: 4px 10px;
  display: inline-block;
  position: relative;
  align-self: flex-start;
}
.p41-cucard__body { position: relative; }
.p41-cucard__h {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: .04em;
}
.p41-cucard__p {
  font-size: 12px;
  line-height: 1.7;
  color: #bbb;
  margin: 0 0 14px;
}
.p41-cucard__view {
  font-family: var(--p41-font-en);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--p41-red);
  border-top: 1px solid #333;
  padding-top: 10px;
}

@media (max-width: 800px) {
  .p41-closeup__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .p41-closeup__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SUBPAGE — 共通レイアウト
   ============================================================ */
.p41-page {
  padding-top: 72px;
  background: var(--p41-bg);
  min-height: 100vh;
}
.p41-page__hero {
  background: var(--p41-dark);
  color: #fff;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.p41-page__hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.p41-page__hero__eyebrow {
  font-family: var(--p41-font-en);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--p41-red);
  margin: 0 0 18px;
}
.p41-page__hero__title {
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: .04em;
  margin: 0;
  line-height: 1;
}
.p41-page__hero__sub {
  margin: 20px 0 0;
  font-size: 14px;
  letter-spacing: .08em;
  color: #aaa;
}
.p41-page__hero__bg {
  position: absolute;
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: clamp(140px, 20vw, 280px);
  letter-spacing: -.04em;
  color: rgba(255,255,255,.04);
  bottom: -40px;
  right: 24px;
  line-height: 1;
  pointer-events: none;
}
.p41-page__crumb {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 0 24px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--p41-mute);
}
.p41-page__crumb a { text-decoration: underline; }
.p41-page__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 120px;
}
.p41-page__lead {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 40px;
  max-width: 760px;
}

/* ============================================================
   JOBS — 番号付きリスト (Horiproの仕事ページ風)
   ============================================================ */
.p41-jobs__grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: block;
}
.p41-jobcard {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  gap: 30px;
  padding: 36px 0;
  border-top: 1px solid var(--p41-line);
  align-items: center;
  transition: background .25s;
}
.p41-jobcard:last-child { border-bottom: 1px solid var(--p41-line); }
.p41-jobcard:hover { background: rgba(0,0,0,.03); }
.p41-jobcard__num {
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: clamp(60px, 10vw, 120px);
  color: rgba(0, 0, 0, .15);
  line-height: 1;
  letter-spacing: -.02em;
}
.p41-jobcard__body { padding-right: 20px; }
.p41-jobcard__code {
  font-family: var(--p41-font-en);
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--p41-red);
  margin: 0 0 8px;
}
.p41-jobcard__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: .04em;
}
.p41-jobcard__sub {
  font-size: 13px;
  color: var(--p41-mute);
  margin: 0 0 14px;
}
.p41-jobcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
}
.p41-jobcard__meta span { display: inline-flex; align-items: baseline; gap: 6px; }
.p41-jobcard__meta b {
  font-size: 10px;
  letter-spacing: .12em;
  color: #fff;
  background: #000;
  padding: 2px 6px;
}
.p41-jobcard__cta {
  text-align: right;
  font-family: var(--p41-font-en);
  font-size: 13px;
  letter-spacing: .2em;
  border: 1px solid #000;
  padding: 14px 0;
  text-align: center;
}
.p41-jobcard:hover .p41-jobcard__cta { background: #000; color: #fff; }

@media (max-width: 800px) {
  .p41-jobcard {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }
  .p41-jobcard__num { font-size: 56px; }
  .p41-jobcard__cta { grid-column: 1 / -1; }
}

/* ============================================================
   JOB DETAIL
   ============================================================ */
.p41-job__hero {
  background: var(--p41-dark);
  color: #fff;
  padding: 80px 24px 60px;
  position: relative;
}
.p41-job__hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.p41-job__hero__txt { position: relative; z-index: 1; }
.p41-job__hero__code {
  font-family: var(--p41-font-en);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--p41-red);
  margin: 0 0 18px;
}
.p41-job__hero__title {
  font-family: var(--p41-font-jp);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .05em;
  margin: 0 0 16px;
  line-height: 1.4;
}
.p41-job__hero__sub {
  font-size: 15px;
  color: #ccc;
  margin: 0 0 24px;
}
.p41-job__hero__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 0;
}
.p41-job__hero__meta div { border-top: 1px solid #333; padding-top: 10px; }
.p41-job__hero__meta dt {
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--p41-mute);
  margin: 0 0 4px;
}
.p41-job__hero__meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.p41-job__hero__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  filter: grayscale(.2);
}
.p41-job__hero__img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 800px) {
  .p41-job__hero__inner { grid-template-columns: 1fr; }
}

.p41-job__sec {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 0;
}
.p41-job__sec__head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid #000;
  padding-bottom: 14px;
}
.p41-job__sec__num {
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: 32px;
  color: var(--p41-red);
  line-height: 1;
}
.p41-job__sec__tag {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
}
.p41-job__sec__en {
  margin-left: auto;
  font-family: var(--p41-font-en);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--p41-mute);
}
.p41-job__sec p {
  font-size: 15px;
  line-height: 2;
  margin: 0 0 16px;
}
.p41-job__sec ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p41-job__sec ul li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px dashed var(--p41-line);
  font-size: 14px;
  line-height: 1.8;
}
.p41-job__sec ul li::before {
  content: "";
  position: absolute;
  left: 6px; top: 22px;
  width: 14px; height: 2px;
  background: var(--p41-red);
}

/* 1日の流れ */
.p41-day {
  border-left: 2px solid #000;
  margin-left: 12px;
  padding-left: 0;
}
.p41-day__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 20px 0 20px 24px;
  position: relative;
}
.p41-day__row::before {
  content: "";
  position: absolute;
  left: -7px; top: 28px;
  width: 12px; height: 12px;
  background: var(--p41-red);
  border-radius: 50%;
}
.p41-day__time {
  font-family: var(--p41-font-num);
  font-weight: 700;
  font-size: 22px;
  color: #000;
}
.p41-day__body h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}
.p41-day__body p {
  margin: 0;
  font-size: 13px;
  color: #444;
  line-height: 1.8;
}

/* ============================================================
   REQUIREMENTS TABLE
   ============================================================ */
.p41-reqtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.p41-reqtable tr { border-bottom: 1px solid var(--p41-line); }
.p41-reqtable tr:first-child { border-top: 2px solid #000; }
.p41-reqtable th {
  width: 200px;
  text-align: left;
  vertical-align: top;
  padding: 22px 18px 22px 0;
  font-size: 12px;
  letter-spacing: .12em;
  color: #000;
  font-weight: 700;
  background: rgba(0,0,0,.02);
}
.p41-reqtable td {
  padding: 22px 0 22px 18px;
  line-height: 1.9;
}

@media (max-width: 700px) {
  .p41-reqtable, .p41-reqtable tbody, .p41-reqtable tr, .p41-reqtable th, .p41-reqtable td {
    display: block;
    width: 100%;
  }
  .p41-reqtable th { padding: 14px 0 6px; background: none; }
  .p41-reqtable td { padding: 0 0 16px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.p41-faqlist {
  border-top: 2px solid #000;
}
.p41-faqitem {
  border-bottom: 1px solid var(--p41-line);
  padding: 0;
}
.p41-faqitem > summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 60px 24px 60px;
  position: relative;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}
.p41-faqitem > summary::-webkit-details-marker { display: none; }
.p41-faqitem > summary::before {
  content: "Q";
  position: absolute;
  left: 14px; top: 24px;
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: 22px;
  color: var(--p41-red);
  line-height: 1;
}
.p41-faqitem > summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--p41-font-num);
  font-size: 24px;
  font-weight: 300;
  transition: transform .3s;
}
.p41-faqitem[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.p41-faqitem > div {
  padding: 0 24px 28px 60px;
  position: relative;
  font-size: 14px;
  line-height: 2;
  color: #333;
}
.p41-faqitem > div::before {
  content: "A";
  position: absolute;
  left: 14px; top: 0;
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: 22px;
  color: #000;
  line-height: 1;
}

/* ============================================================
   FORM
   ============================================================ */
.p41-form {
  margin-top: 30px;
  border-top: 2px solid #000;
}
.p41-form > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--p41-line);
  align-items: flex-start;
}
.p41-form label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  padding-top: 10px;
}
.p41-form label small {
  display: inline-block;
  margin-left: 8px;
  font-size: 10px;
  background: var(--p41-red);
  color: #fff;
  padding: 2px 6px;
  letter-spacing: .1em;
  font-weight: 400;
  vertical-align: middle;
}
.p41-form input, .p41-form select, .p41-form textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  border-radius: 0;
}
.p41-form textarea { resize: vertical; min-height: 120px; }
.p41-form input:focus, .p41-form select:focus, .p41-form textarea:focus {
  outline: 2px solid var(--p41-red);
  outline-offset: -2px;
}
.p41-form__note {
  font-size: 12px;
  color: var(--p41-mute);
  line-height: 1.9;
  background: rgba(0,0,0,.03);
  padding: 16px 18px;
  margin: 0 0 30px;
}
.p41-form button[type="submit"] {
  display: block;
  margin: 40px auto 0;
  background: var(--p41-red);
  color: #fff;
  border: none;
  padding: 18px 60px;
  font-size: 14px;
  letter-spacing: .25em;
  font-family: var(--p41-font-en);
  font-weight: 700;
  transition: background .2s;
}
.p41-form button[type="submit"]:hover { background: #000; }

@media (max-width: 700px) {
  .p41-form > div { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   COMPANY / HISTORY
   ============================================================ */
.p41-history {
  border-top: 2px solid #000;
  margin-top: 30px;
}
.p41-history__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--p41-line);
  align-items: baseline;
}
.p41-history__year {
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: 24px;
  color: #000;
  letter-spacing: .02em;
}
.p41-history__event {
  font-size: 14px;
  line-height: 1.9;
}

/* メッセージブロック (会社ページ用) */
.p41-message__article {
  background: #000;
  color: #fff;
  padding: 80px 24px;
  margin-bottom: 80px;
}
.p41-message__article__inner {
  max-width: 900px;
  margin: 0 auto;
}
.p41-message__article__eyebrow {
  font-family: var(--p41-font-en);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--p41-red);
  margin: 0 0 24px;
}
.p41-message__article__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  margin: 0 0 36px;
}
.p41-message__article__body {
  font-size: 15px;
  line-height: 2.1;
  color: #ddd;
  white-space: pre-line;
}
.p41-message__article__sign {
  margin-top: 40px;
  font-size: 14px;
  letter-spacing: .1em;
  text-align: right;
}
.p41-message__article__sign b {
  display: block;
  font-size: 20px;
  margin-top: 6px;
  letter-spacing: .12em;
}

/* ============================================================
   VOICES strip on top
   ============================================================ */
.p41-voices {
  background: var(--p41-bg);
  padding: 100px 24px 120px;
}
.p41-voices__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.p41-voices__head { margin-bottom: 50px; }
.p41-voices__title {
  font-family: var(--p41-font-num);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: .02em;
  margin: 0;
  line-height: 1;
}
.p41-voices__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.p41-voicecard {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  background: #fff;
  padding: 22px;
}
.p41-voicecard__photo {
  width: 100%;
  aspect-ratio: 1;
  background: #ddd;
  overflow: hidden;
}
.p41-voicecard__photo img { width: 100%; height: 100%; object-fit: cover; }
.p41-voicecard__name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: .05em;
}
.p41-voicecard__attr {
  font-size: 11px;
  color: var(--p41-mute);
  letter-spacing: .08em;
  margin: 0 0 12px;
}
.p41-voicecard__quote {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  border-left: 2px solid var(--p41-red);
  padding-left: 12px;
}

@media (max-width: 700px) {
  .p41-voices__list { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.p41-foot {
  background: var(--p41-dark);
  color: #fff;
  padding: 80px 24px 30px;
}
.p41-foot__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.p41-foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--p41-line-d);
}
.p41-foot__col h4 {
  font-family: var(--p41-font-en);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--p41-red);
  margin: 0 0 18px;
  font-weight: 700;
}
.p41-foot__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p41-foot__col ul li {
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .04em;
}
.p41-foot__col ul a:hover { color: var(--p41-red); }
.p41-foot__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  flex-wrap: wrap;
}
.p41-foot__brand strong {
  font-family: var(--p41-font-en);
  font-size: 18px;
  letter-spacing: .12em;
  font-style: italic;
}
.p41-foot__brand small {
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--p41-mute);
}
.p41-foot__brand span {
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--p41-mute);
}

@media (max-width: 700px) {
  .p41-foot__cols { grid-template-columns: 1fr 1fr; }
}

/* page top */
.p41-pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #000;
  color: #fff;
  font-family: var(--p41-font-en);
  font-size: 10px;
  letter-spacing: .2em;
  padding: 12px 16px;
  text-decoration: none;
  z-index: 50;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.p41-pagetop.is-on {
  opacity: 1;
  transform: translateY(0);
}

/* reveal */
[data-p41-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
[data-p41-reveal].is-on {
  opacity: 1;
  transform: none;
}
