/* 介護C「なかま」: 写真主体のマガジン風。白地に1色ビビッド、太ゴシック、英字見出し。 */
body.pat-cp {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: #fff;
  color: #18181b;
  line-height: 1.9;
}

.pat-cp .site-header { border-bottom: 3px solid #18181b; }
.pat-cp .site-header__name { font-weight: 900; }
.pat-cp .site-footer { background: #18181b; }

/* フルスクリーン写真ヒーロー */
.cp-hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; background: #18181b; }
.cp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.cp-hero__overlay {
  position: relative; width: 100%; padding: 80px 24px 36px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
}
.cp-hero__en { font-size: 13px; letter-spacing: .5em; color: var(--brand); font-weight: 900; }
.cp-hero__title { font-size: 34px; font-weight: 900; line-height: 1.4; margin: 8px 0; }
.cp-hero__sub { font-size: 14px; opacity: .9; }

/* 見出し: 英字大+和文小 */
.cp-section { padding: 52px 24px; max-width: 880px; margin: 0 auto; }
.cp-section--tint { background: #f4f4f5; max-width: none; }
.cp-section--tint > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.cp-section--dark { background: #18181b; color: #fff; max-width: none; }
.cp-section--dark > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.cp-h2 { font-size: 30px; font-weight: 900; letter-spacing: .04em; margin-bottom: 28px; line-height: 1.2; }
.cp-h2 span { display: block; font-size: 13px; font-weight: bold; color: var(--brand); margin-top: 4px; letter-spacing: .1em; }
.cp-h2--light { color: #fff; }

/* メンバーカード */
.cp-members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cp-member__photo { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.cp-member__photo--empty { background: #f4f4f5; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.cp-member__name { font-weight: 900; font-size: 16px; margin-top: 10px; }
.cp-member__role { font-size: 12px; color: var(--brand); font-weight: bold; }
.cp-member__word { font-size: 13px; color: #52525b; margin-top: 6px; line-height: 1.7; }

/* インタビュー */
.cp-qa { padding: 22px 0; border-bottom: 1px solid #3f3f46; }
.cp-qa__q { font-weight: 900; font-size: 17px; margin-bottom: 10px; }
.cp-qa__q span { color: var(--brand); margin-right: 8px; font-size: 20px; }
.cp-qa__a { font-size: 14px; color: #d4d4d8; }
.cp-qa__who { font-size: 12px; color: var(--brand); margin-top: 8px; text-align: right; }

/* モザイクギャラリー */
.cp-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.cp-gallery__item img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.cp-gallery__item--wide { grid-column: 1 / -1; }
.cp-gallery__item--wide img { aspect-ratio: 16/8; }

/* データ */
.cp-data { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cp-data__item { border: 3px solid #18181b; padding: 18px 14px; text-align: center; }
.cp-data__label { font-size: 12px; font-weight: bold; }
.cp-data__value { font-size: 30px; font-weight: 900; color: var(--brand); line-height: 1.3; }

/* 求人 */
.cp-job {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: #fff; border: 3px solid #18181b; padding: 20px;
  text-decoration: none; color: inherit; margin-bottom: 14px;
  transition: transform .1s;
}
.cp-job:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 #18181b; }
.cp-job__type { display: inline-block; background: #18181b; color: #fff; font-size: 11px; font-weight: bold; padding: 2px 10px; }
.cp-job__title { font-size: 18px; font-weight: 900; margin-top: 6px; }
.cp-job__salary { font-size: 14px; color: var(--brand); font-weight: bold; }
.cp-job__arrow { font-size: 24px; font-weight: 900; }

/* FAQ */
.cp-faq { border-bottom: 2px solid #18181b; }
.cp-faq__q { padding: 16px 28px 16px 0; font-weight: 900; cursor: pointer; list-style: none; position: relative; }
.cp-faq__q::after { content: "＋"; position: absolute; right: 0; font-weight: 900; color: var(--brand); }
details[open] .cp-faq__q::after { content: "−"; }
.cp-faq__a { padding: 0 0 16px; font-size: 14px; color: #52525b; }

/* 会社概要 */
.pat-cp .company-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pat-cp .company-table th, .pat-cp .company-table td { border-bottom: 1px solid #d4d4d8; padding: 12px 8px; text-align: left; vertical-align: top; }
.pat-cp .company-table th { color: #71717a; font-weight: bold; white-space: nowrap; width: 7em; }

/* 締め */
.cp-closing { background: var(--brand); color: #fff; text-align: center; padding: 60px 24px 70px; }
.cp-closing__en { font-weight: 900; letter-spacing: .5em; font-size: 13px; }
.cp-closing__title { font-size: 28px; font-weight: 900; margin: 10px 0 14px; }
.cp-closing__note { font-size: 14px; margin-bottom: 26px; }
.cp-closing__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cp-btn { display: inline-block; padding: 16px 30px; font-weight: 900; text-decoration: none; font-size: 15px; }
.cp-btn--main { background: #18181b; color: #fff; }
.cp-btn--ghost { background: #fff; color: #18181b; }
.cp-closing__line { display: inline-block; margin-top: 18px; color: #fff; font-weight: bold; font-size: 14px; }

@media (min-width: 768px) {
  .cp-hero__title { font-size: 52px; }
  .cp-members { grid-template-columns: repeat(3, 1fr); }
  .cp-gallery { grid-template-columns: repeat(3, 1fr); }
  .cp-gallery__item--wide { grid-column: span 2; }
  .cp-data { grid-template-columns: repeat(4, 1fr); }
}
