/* 介護A「ぬくもり」: 丸ゴシック×クリーム色×大きな角丸。
 * 最もやわらかい設計。幼稚にならないよう彩度は抑えめに。 */
body.pat-cw {
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: #fff8ef;
  color: #4a3f35;
  line-height: 2;
}

/* ヘッダー・フッターもパターンに馴染ませる */
.pat-cw .site-header { background: #fff8ef; border-bottom: 1px dashed #e8d9c3; }
.pat-cw .site-header__name { color: #4a3f35; }
.pat-cw .site-footer { background: #6b5d4f; }

/* ヒーロー: 写真を丸く切り抜き、文字は左。スマホは縦積み */
.cw-hero { padding: 36px 20px 8px; max-width: 980px; margin: 0 auto; }
.cw-hero__photo img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: 28px 28px 80px 28px;
  box-shadow: 0 10px 30px rgba(180, 140, 90, .25);
}
.cw-hero__photo-fallback {
  aspect-ratio: 16/10; border-radius: 28px 28px 80px 28px;
  background: radial-gradient(circle at 30% 30%, #ffe6c7, #ffd2a1);
  display: flex; align-items: center; justify-content: center; font-size: 64px;
}
.cw-hero__text { padding: 24px 4px 28px; text-align: center; }
.cw-hero__lead { color: var(--brand); font-weight: bold; font-size: 14px; }
.cw-hero__title { font-size: 26px; line-height: 1.7; margin: 10px 0 22px; }
.cw-hero__note { font-size: 12px; color: #8a7a68; margin-top: 10px; }

/* ボタン */
.cw-btn {
  display: inline-block; padding: 16px 30px; border-radius: 999px;
  font-weight: bold; text-decoration: none; font-size: 16px;
}
.cw-btn--main {
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 0 color-mix(in srgb, var(--brand) 70%, #000);
}
.cw-btn--main:active { transform: translateY(3px); box-shadow: 0 3px 0 color-mix(in srgb, var(--brand) 70%, #000); }
.cw-btn--line { background: #06c755; color: #fff; }
.cw-btn--ghost { background: #fff; color: var(--brand); border: 2px solid var(--brand); }

.cw-wave { line-height: 0; }
.cw-wave svg { width: 100%; height: 36px; display: block; }

/* セクション */
.cw-section { padding: 44px 20px; max-width: 760px; margin: 0 auto; }
.cw-section--white { background: #fff; max-width: none; }
.cw-section--white > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.cw-h2 { text-align: center; font-size: 22px; margin-bottom: 26px; }
.cw-h2 span { color: var(--brand); }
.cw-center-note { text-align: center; color: #8a7a68; font-size: 14px; margin: -16px 0 22px; }
.cw-text p { margin-bottom: 1em; }

/* 3つの安心: 数字カード */
.cw-anshin__grid { display: grid; gap: 14px; }
.cw-anshin__card {
  background: #fff; border-radius: 24px; padding: 22px; text-align: center;
  border: 2px solid #f3e3cb;
}
.cw-anshin__label { font-weight: bold; font-size: 14px; color: #8a7a68; }
.cw-anshin__value { font-size: 34px; font-weight: bold; color: var(--brand); line-height: 1.4; margin: 6px 0; }
.cw-anshin__note { font-size: 13px; color: #6b5d4f; line-height: 1.7; }

/* 一日の流れ: タイムライン */
.cw-timeline { list-style: none; position: relative; padding-left: 86px; }
.cw-timeline::before {
  content: ""; position: absolute; left: 66px; top: 8px; bottom: 8px;
  border-left: 3px dotted #e8c9a0;
}
.cw-timeline__item { position: relative; padding-bottom: 26px; }
.cw-timeline__item::before {
  content: ""; position: absolute; left: -26px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%; background: var(--brand);
}
.cw-timeline__time {
  position: absolute; left: -86px; top: 2px; width: 52px;
  font-weight: bold; color: var(--brand); font-size: 15px; text-align: right;
}
.cw-timeline__title { font-weight: bold; font-size: 16px; }
.cw-timeline__text { font-size: 14px; color: #6b5d4f; line-height: 1.8; }

/* 先輩の声: 吹き出し */
.cw-voice { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.cw-voice__photo {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid #fff; box-shadow: 0 3px 10px rgba(180, 140, 90, .3);
}
.cw-voice__bubble {
  background: #fff; border-radius: 20px; padding: 16px 18px; position: relative; flex: 1;
  border: 2px solid #f3e3cb;
}
.cw-voice__bubble::before {
  content: ""; position: absolute; left: -10px; top: 26px;
  border: 8px solid transparent; border-right-color: #f3e3cb;
}
.cw-voice__body { font-size: 15px; line-height: 1.9; }
.cw-voice__meta { font-size: 12px; color: var(--brand); font-weight: bold; margin-top: 8px; }

/* 写真 */
.cw-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.cw-photos__item img { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.cw-photos__item figcaption { font-size: 12px; color: #8a7a68; margin-top: 4px; text-align: center; }

/* 求人カード */
.cw-jobs { display: grid; gap: 14px; }
.cw-job {
  display: block; background: #fff; border-radius: 24px; padding: 22px;
  text-decoration: none; color: inherit; border: 2px solid #f3e3cb;
}
.cw-job__type {
  display: inline-block; background: #fff1e0; color: var(--brand);
  font-size: 12px; font-weight: bold; padding: 3px 12px; border-radius: 999px;
}
.cw-job__title { display: block; font-size: 18px; font-weight: bold; margin-top: 8px; }
.cw-job__salary { display: block; color: var(--brand); font-weight: bold; margin-top: 4px; }
.cw-job__meta { display: block; font-size: 13px; color: #8a7a68; margin-top: 4px; }
.cw-job__more { display: block; text-align: right; color: var(--brand); font-weight: bold; font-size: 14px; }

/* FAQ */
.cw-faq { background: #fff8ef; border-radius: 18px; margin-bottom: 12px; padding: 0 18px; }
.cw-faq__q { padding: 16px 24px 16px 0; font-weight: bold; cursor: pointer; list-style: none; position: relative; }
.cw-faq__q::before { content: "Q."; color: var(--brand); margin-right: 8px; }
.cw-faq__q::after { content: "＋"; position: absolute; right: 0; color: var(--brand); }
details[open] .cw-faq__q::after { content: "−"; }
.cw-faq__a { padding: 0 0 16px; font-size: 14px; }

/* 会社概要・地図 */
.pat-cw .company-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 18px; overflow: hidden; }
.pat-cw .company-table th, .pat-cw .company-table td { padding: 12px 14px; border-bottom: 1px dashed #f3e3cb; text-align: left; vertical-align: top; }
.pat-cw .company-table th { color: #8a7a68; font-weight: normal; white-space: nowrap; width: 6.5em; }
.cw-map { margin-top: 18px; border-radius: 18px; overflow: hidden; }
.cw-map iframe { width: 100%; height: 260px; border: 0; display: block; }

/* 締めCTA */
.cw-closing {
  text-align: center; padding: 48px 20px 56px;
  background: linear-gradient(180deg, #fff8ef, #ffeed7);
}
.cw-closing__title { font-size: 21px; margin-bottom: 8px; }
.cw-closing .cw-btn--main { margin-top: 18px; font-size: 20px; }
.cw-closing__sub { margin-top: 16px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cw-closing__sub .cw-btn { font-size: 14px; padding: 12px 20px; }

@media (min-width: 768px) {
  .cw-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding-top: 56px; }
  .cw-hero__text { text-align: left; order: -1; }
  .cw-hero__title { font-size: 32px; }
  .cw-anshin__grid { grid-template-columns: repeat(3, 1fr); }
  .cw-jobs { grid-template-columns: 1fr 1fr; }
  .cw-photos { grid-template-columns: repeat(3, 1fr); }
}
