/* workplace：こもれび社労士事務所「深緑×からし」やわらかく親しみのある型 */
:root {
  --c-main: #2e5a4c;
  --c-sub: #4f7f6e;
  --c-pale: #f6f3ec;
  --c-accent: #9a6f1f;
  --c-accent-soft: #e9d6ad;
  --c-cta: #b35b36;
  --c-text: #25332e;
  --c-muted: #56625d;
  --c-line: #e0dacd;
  --f-head: "Zen Maru Gothic", sans-serif;
  --f-latin: "Quicksand", sans-serif;
  --radius: 16px;
  --radius-img: 24px;
}

h1, h2, h3, h4 { font-weight: 700; }
.sr-head__en { letter-spacing: .18em; font-weight: 600; font-size: 14px; }
.sr-tel__num { font-family: var(--f-latin); font-weight: 600; }
.sr-btn { border-radius: 999px; }
.sr-hero__keys li { border-radius: 999px; }
.sr-tags a, .sr-news__cat, .sr-caseitem__meta span { border-radius: 999px; }
.sr-nav a::after { height: 3px; border-radius: 3px; background: var(--c-accent-soft); }
.sr-checks li::before { border-color: var(--c-accent); }
.sr-reason__num, .sr-flow li::before, .sr-fee__price strong { font-family: var(--f-latin); font-weight: 600; }
.sr-message__photo::before { border: 0; background: var(--c-accent-soft); inset: 28px -28px -28px 28px; opacity: .6; }
.sr-service::before { display: none; }
.sr-service { border-color: transparent; background: #fff; box-shadow: 0 2px 0 var(--c-line); }
.sr-sec:not(.sr-sec--pale) .sr-service { background: var(--c-pale); box-shadow: none; }
.sr-service__icon { background: #fff; border-radius: 50%; padding: 10px; width: 64px; height: 64px; color: var(--c-main); }
.sr-col:nth-child(3) .sr-col__thumb { background: #b5883a; }
.sr-contact { background: var(--c-main); }
.sr-contact::before { background: radial-gradient(circle at 12% 20%, rgba(233,214,173,.14) 0 120px, transparent 121px), radial-gradient(circle at 92% 85%, rgba(255,255,255,.06) 0 180px, transparent 181px); }
.sr-footer { background: #1f3b33; }

/* ヒーロー：生成りの面に、左に文字・右に角丸の写真 */
.sr-hero { background: var(--c-pale); padding-block: 72px 96px; }
.sr-hero::before { content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: var(--c-accent-soft); opacity: .45; }
.sr-hero::after { content: ""; position: absolute; left: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: #dfe8e2; }
.sr-hero .sr-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
.sr-hero__label { color: var(--c-main); background: #fff; padding: 6px 16px; border-radius: 999px; margin-bottom: 24px; font-weight: 700; }
.sr-hero__title { color: var(--c-main); font-size: clamp(30px, 4vw, 46px); }
.sr-hero__title em { font-style: normal; background: linear-gradient(transparent 62%, var(--c-accent-soft) 62%); }
.sr-hero__lead { color: var(--c-text); }
.sr-hero__keys li { color: var(--c-main); border-color: transparent; background: #fff; }
.sr-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.sr-hero__photo { position: relative; }
.sr-hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 200px 200px var(--radius-img) var(--radius-img); }
.sr-hero__badge { position: absolute; left: -32px; bottom: 40px; background: #fff; border-radius: 20px; padding: 16px 20px; box-shadow: 0 12px 30px rgba(46,90,76,.14); font-size: 13px; line-height: 1.6; color: var(--c-text); max-width: 220px; }
.sr-hero__badge strong { display: block; font-family: var(--f-head); color: var(--c-main); font-size: 15px; }

/* 連絡帯は白地で控えめに */
.sr-contactbar { background: #fff; color: var(--c-text); border-bottom: 1px solid var(--c-line); }
.sr-contactbar .sr-tel { color: var(--c-main); }
.sr-contactbar .sr-tel__time { color: var(--c-muted); }
.sr-contactbar__lead { color: var(--c-main); }
.sr-contactbar .sr-btn--white { background: var(--c-main); color: #fff; }
.sr-contactbar .sr-btn--white:hover { background: var(--c-sub); color: #fff; }

/* 伴走の3ステップ（選ばれる理由の代わり） */
.sr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.sr-step { background: #fff; border-radius: var(--radius); padding: 36px 32px; position: relative; }
.sr-step:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 14px; height: 14px; border-top: 2px solid var(--c-accent); border-right: 2px solid var(--c-accent); transform: translateY(-50%) rotate(45deg); }
.sr-step__label { display: inline-block; font-family: var(--f-latin); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: #fff; background: var(--c-main); border-radius: 999px; padding: 2px 14px; }
.sr-step h3 { font-size: 20px; margin: 16px 0 10px; }
.sr-step p { font-size: 15px; color: var(--c-muted); }

.js .sr-hero__copy > * { opacity: 0; transform: translateY(14px); animation: sr-up .9s ease forwards; }
.js .sr-hero__copy > *:nth-child(2) { animation-delay: .12s; }
.js .sr-hero__copy > *:nth-child(3) { animation-delay: .24s; }
.js .sr-hero__copy > *:nth-child(4) { animation-delay: .36s; }
.js .sr-hero__copy > *:nth-child(5) { animation-delay: .48s; }
@keyframes sr-up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .sr-hero__copy > * { opacity: 1; transform: none; animation: none; } }

@media (max-width: 1024px) {
  .sr-steps { grid-template-columns: 1fr; }
  .sr-step:not(:last-child)::after { right: 50%; top: auto; bottom: -19px; transform: translateX(50%) rotate(135deg); }
}
@media (max-width: 860px) {
  .sr-hero { padding-block: 40px 64px; }
  .sr-hero .sr-inner { grid-template-columns: 1fr; gap: 40px; }
  .sr-hero__photo { order: -1; max-width: 360px; margin-inline: auto; width: 88%; }
  .sr-hero__badge { left: -16px; bottom: 20px; }
  .sr-message__photo::before { inset: 16px -12px -12px 16px; }
  .sr-hero::before { width: 320px; height: 320px; right: -140px; top: -100px; }
}
