/* 訪問看護ステーション ラテ ― サイト全体の見た目 */

:root {
  --latte-900: #4a3426;
  --latte-700: #7a5a44;
  --latte-500: #ad8a68;
  --latte-300: #dcc3a8;
  --latte-100: #f6efe7;
  --cream: #fffaf4;
  --gold: #c9974f;
  --gold-dark: #a87a35;
  --green: #5f8a6b;
  --green-100: #e6efe8;
  --heart-100: #f6e1df;
  --text: #3b2f28;
  --muted: #74675e;
  --line: #eadfd3;
  --radius: 16px;
  --radius-sm: 10px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --shadow: 0 6px 24px rgba(74, 52, 38, 0.08);
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
h1, h2, h3 {
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0.06em;
}
.nw { display: inline-block; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* セクション */
.section { padding-block: var(--space-6); }
.section.alt { background: var(--latte-100); }
.sec-head { text-align: center; margin-bottom: var(--space-4); }
.sec-head .en {
  display: block;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: var(--space-1);
}
.sec-head h2 { font-size: clamp(24px, 3.2vw, 32px); }
.sec-head p {
  margin: var(--space-2) auto 0;
  color: var(--muted);
  max-width: 36em;
  text-wrap: balance;
  word-break: auto-phrase;
}

/* ボタン・ラベル */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--latte-700); border: 1.5px solid var(--latte-300); }
.btn.ghost:hover { background: #fff; }
.tag {
  justify-self: start;
  align-self: flex-start;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--latte-100);
  color: var(--latte-700);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.tag.green { background: var(--green-100); color: var(--green); }
.tag.gold { background: #f6ead6; color: var(--gold-dark); }

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.hd { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--space-2); }
.logo img { height: 48px; width: auto; }
.gnav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 500; }
.gnav a { text-decoration: none; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--gold-dark); }
.hd .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.menu-toggle { display: none; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--latte-900);
  cursor: pointer;
}

/* ヒーロー */
.hero { padding-block: var(--space-5) var(--space-6); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-5); align-items: center; }
.hero .lead { font-size: 14px; color: var(--gold-dark); font-weight: 700; letter-spacing: 0.15em; margin: 0; }
.hero h1 { font-size: clamp(28px, 4.4vw, 46px); margin: var(--space-2) 0 var(--space-3); }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--heart-100) 62%); }
.hero .desc { color: var(--muted); margin: 0 0 var(--space-4); }
.hero .cta { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.hero-photo { border-radius: 32px 32px 32px 120px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--latte-100); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-top: var(--space-4); }
.fact { background: #fff; border-radius: var(--radius-sm); padding: 14px; text-align: center; box-shadow: var(--shadow); }
.fact b { display: block; font-family: "Zen Maru Gothic", sans-serif; font-size: 22px; color: var(--latte-900); line-height: 1.3; }
.fact span { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card .photo { aspect-ratio: 16 / 10; background: var(--latte-100); overflow: hidden; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; }
.card .photo.contain img { object-fit: contain; object-position: center bottom; }
.card .body { padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); flex: 1; }
.card h3 { font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card ul { margin: 0; padding-left: 1.2em; font-size: 15px; flex: 1; }
.card ul li::marker { color: var(--gold); }
.card .more { margin-top: var(--space-2); font-weight: 700; color: var(--gold-dark); text-decoration: none; font-size: 15px; }
.card .more::after { content: " →"; }

/* 研修の帯 */
.banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4);
}
.banner h3 { font-size: 20px; margin-bottom: 4px; }
.banner p { margin: 0; color: var(--muted); font-size: 15px; }

/* 求人 */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.job { background: #fff; border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.job .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.job h3 { font-size: 20px; }
.job dl { margin: 0; display: grid; grid-template-columns: 5em 1fr; gap: 4px 12px; font-size: 15px; }
.job dt { color: var(--muted); }
.job dd { margin: 0; }
.job .pay { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 18px; color: var(--latte-900); }
.center { text-align: center; margin-top: var(--space-4); }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; position: relative; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--gold); font-family: "Zen Maru Gothic", sans-serif; font-size: 18px; line-height: 1.6; }
.faq summary::after { content: "＋"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--latte-500); }
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 20px 20px; color: var(--muted); display: flex; gap: 12px; }
.faq .a::before { content: "A"; color: var(--green); font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.6; }
.faq .a p { margin: 0; }

/* 事業所 */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.office { background: #fff; border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow); }
.office .map { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: var(--space-2); background: var(--latte-100); }
.office .map iframe { width: 100%; height: 100%; border: 0; display: block; }
.office h3 { font-size: 19px; margin-bottom: var(--space-1); }
.office dl { margin: 0; display: grid; grid-template-columns: 3.5em 1fr; gap: 4px 12px; font-size: 15px; }
.office dt { color: var(--muted); }
.office dd { margin: 0; }
.area { margin: var(--space-4) auto 0; max-width: 780px; text-align: center; }
.area h3 { font-size: 13px; letter-spacing: 0.2em; color: var(--gold-dark); font-weight: 500; margin-bottom: var(--space-1); }
.area p { margin: 0; color: var(--text); text-wrap: balance; word-break: auto-phrase; }

/* お問い合わせ */
.contact {
  background: var(--latte-700);
  color: #fff;
  border-radius: 24px;
  padding: var(--space-5) var(--space-4);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-4);
  align-items: center;
}
.contact h2 { font-size: clamp(22px, 3vw, 30px); }
.contact p { margin: var(--space-2) 0 0; opacity: 0.9; }
.contact .tels { display: flex; flex-direction: column; gap: 12px; }
.contact .tels a.tel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-decoration: none;
}
.contact .tels a.tel:hover { background: rgba(255, 255, 255, 0.18); }
.contact .tels b { font-family: "Zen Maru Gothic", sans-serif; font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact .tels .btn { background: #fff; color: var(--latte-700); }

/* フッター */
.site-footer { padding: var(--space-5) 0 var(--space-4); font-size: 13px; color: var(--muted); text-align: center; }
.site-footer img { height: 64px; width: auto; margin: 0 auto var(--space-2); }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 0; margin: 0 0 var(--space-2); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-dark); }

/* タブレット */
@media (max-width: 960px) {
  .gnav { display: none; }
  .menu-btn { display: inline-flex; }
  .menu-toggle:checked ~ .gnav {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .menu-toggle:checked ~ .gnav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; font-size: 16px; }
  .menu-toggle:checked ~ .gnav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .hero-photo { order: -1; aspect-ratio: 16 / 9; border-radius: 24px 24px 24px 80px; }
  .cards, .jobs { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr; }
}

/* スマホ */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .section { padding-block: var(--space-5); }
  .hd { height: 64px; }
  .logo img { height: 40px; }
  .hd .hd-cta { display: none; }
  .menu-toggle:checked ~ .gnav { top: 64px; }
  .hero .cta { flex-direction: column; }
  .hero .cta .btn { width: 100%; }
  .facts { gap: 8px; }
  .fact { padding: 12px 4px; }
  .fact b { font-size: 18px; }
  .fact span { font-size: 11px; letter-spacing: 0; }
  .cards, .jobs, .offices { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; }
  .banner { grid-template-columns: 1fr; padding: var(--space-3); }
  .banner .btn { width: 100%; }
  .contact { padding: var(--space-4) var(--space-3); }
  .contact .tels b { font-size: 19px; }
}

.hd-right { display: flex; align-items: center; gap: 8px; }

/* ===== 中のページ ===== */
.page-hero { padding-block: var(--space-5) var(--space-5); text-align: center; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: var(--space-3); display: flex; gap: 8px; justify-content: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-dark); }
.page-hero .en { display: block; font-size: 13px; letter-spacing: 0.25em; color: var(--gold-dark); font-weight: 500; margin-bottom: var(--space-1); }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); }
.page-hero .lead-text { max-width: 44em; margin: var(--space-3) auto 0; color: var(--muted); text-align: left; word-break: auto-phrase; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); max-width: 900px; margin-inline: auto; }
.feature { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); }
.feature h3 { font-size: 18px; margin-bottom: var(--space-1); color: var(--latte-900); word-break: auto-phrase; }
.feature ul, .split-body ul { margin: 0; padding-left: 1.2em; font-size: 15px; }
.feature li::marker, .split-body li::marker { color: var(--gold); }

.when { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-2); }
.when-item { display: flex; gap: var(--space-3); align-items: flex-start; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); }
.when-item .num { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 28px; color: var(--gold); line-height: 1.2; }
.when-item h3 { font-size: 18px; margin-bottom: 4px; }
.when-item p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-5); align-items: center; margin-bottom: var(--space-5); }
.split.reverse .split-photo { order: 2; }
.split-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 7; background: var(--latte-100); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-body h3 { font-size: 22px; margin: var(--space-1) 0 var(--space-2); }
.split-body p { margin: 0 0 var(--space-2); }
.split-body h4 { font-size: 15px; color: var(--latte-700); margin: var(--space-2) 0 var(--space-1); }
.closing { text-align: center; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; color: var(--latte-900); font-size: 18px; margin: 0; text-wrap: balance; word-break: auto-phrase; }

.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); counter-reset: none; }
.flow li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); position: relative; }
.flow .step { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; color: var(--gold-dark); }
.flow h3 { font-size: 18px; margin: 4px 0 var(--space-1); }
.flow p { margin: 0; color: var(--muted); font-size: 15px; }

.more-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.link-card { display: flex; flex-direction: column; gap: var(--space-1); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-4) var(--space-3); text-decoration: none; transition: transform 0.2s; }
.link-card:hover { transform: translateY(-2px); }
.link-card h3 { font-size: 20px; }
.link-card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.link-card .more { font-weight: 700; color: var(--gold-dark); font-size: 15px; }
.link-card .more::after { content: " →"; }

@media (max-width: 960px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: var(--space-3); }
  .split.reverse .split-photo { order: 0; }
  .flow { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-hero { padding-block: var(--space-4); }
  .features, .more-links { grid-template-columns: 1fr; }
  .when-item { gap: var(--space-2); padding: var(--space-2) var(--space-3); }
  .when-item .num { font-size: 22px; }
}

/* よくあるご質問のページ */
.faq-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: var(--space-4); }
.faq-toc a { text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--latte-300); color: var(--latte-700); }
.faq-toc a:hover { border-color: var(--gold); color: var(--gold-dark); }
.faq-group { max-width: 780px; margin: 0 auto var(--space-5); }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h2 { font-size: 20px; margin-bottom: var(--space-2); padding-left: 12px; border-left: 4px solid var(--gold); }
.faq-group .faq summary::before { content: none; }
.faq-group .qn { color: var(--gold); font-family: "Zen Maru Gothic", sans-serif; min-width: 2.6em; }
.faq-group .faq .a { padding-left: 20px; }
.faq summary { word-break: auto-phrase; text-wrap: pretty; }
.faq .a p { word-break: auto-phrase; }
@media (max-width: 600px) {
  .faq summary { padding: 16px 44px 16px 16px; gap: 8px; }
  .faq summary::after { right: 16px; }
  .faq-group .qn { min-width: 2.4em; }
  .faq .a { padding: 0 16px 16px; }
}

/* 求人のページ */
.wrap.narrow { max-width: 860px; }
.center-tags { display: flex; justify-content: center; gap: 6px; margin-bottom: var(--space-1); }
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); max-width: 900px; margin-inline: auto; }
.points.three { grid-template-columns: repeat(3, 1fr); max-width: none; }
.point { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); border-top: 4px solid var(--gold); }
.point h3 { font-size: 18px; margin-bottom: var(--space-1); word-break: auto-phrase; }
.point p { margin: 0; color: var(--muted); font-size: 15px; }
.kv { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.kv th, .kv td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.kv th { width: 8.5em; background: var(--latte-100); color: var(--latte-900); font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow); }
.data { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.data th, .data td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.data thead th { background: var(--latte-100); color: var(--latte-900); text-align: right; }
.data th[scope="row"], .data thead th:first-child { text-align: left; }
.narrow-table { max-width: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.narrow-table td { text-align: left; }
.sub { font-size: 18px; margin: var(--space-4) 0 4px; }
.small { font-size: 13px; color: var(--muted); }
.center-text { text-align: center; }
.prose p { margin: 0 0 var(--space-2); word-break: auto-phrase; }
.chips { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { background: #fff; border-radius: 999px; padding: 8px 18px; box-shadow: var(--shadow); font-weight: 500; font-size: 15px; }
.job-actions { display: flex; gap: 8px; margin-top: auto; padding-top: var(--space-1); }
.job-actions .btn { flex: 1; min-height: 44px; padding: 0 12px; font-size: 14px; }
.apply-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-4); text-align: center; max-width: 860px; margin-inline: auto; border: 2px solid var(--latte-300); }
.apply-box h2 { font-size: 24px; margin-bottom: var(--space-2); }
.apply-box p { margin: 0 0 var(--space-3); color: var(--muted); }
.apply-actions { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-2); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-bottom: var(--space-3); }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-4) var(--space-3); text-align: center; }
.panel h2 { font-size: 20px; margin-bottom: var(--space-1); }
.panel p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .points.three { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .points, .contact-cards { grid-template-columns: 1fr; }
  .kv, .kv tbody, .kv tr, .kv th, .kv td { display: block; width: 100%; }
  .kv th { padding: 10px 16px; border-bottom: 0; }
  .kv td { padding: 12px 16px 16px; }
  .apply-box { padding: var(--space-3); }
  .apply-actions .btn { width: 100%; white-space: normal; }
}
.page-hero h1 { word-break: auto-phrase; text-wrap: balance; }

/* ラテとは・自費・小児・研修 */
.en-label { display: block; font-size: 13px; letter-spacing: 0.25em; color: var(--gold-dark); font-weight: 500; margin-bottom: 4px; }
.h-lg { font-size: clamp(22px, 3vw, 28px); margin-bottom: var(--space-2); }
.mv { display: flex; flex-direction: column; gap: var(--space-5); text-align: center; }
.mv-item h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: var(--space-2); }
.mv-text { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: clamp(17px, 2.2vw, 20px); color: var(--latte-900); line-height: 2; margin: 0; word-break: auto-phrase; text-wrap: balance; }
.values { counter-reset: v; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.values li { counter-increment: v; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 16px 20px 16px 64px; position: relative; font-weight: 500; word-break: auto-phrase; }
.values li::before { content: counter(v); position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.case { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); display: flex; flex-direction: column; gap: 8px; }
.case-no { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; color: var(--gold-dark); }
.case h3 { font-size: 18px; word-break: auto-phrase; }
.case p { margin: 0; font-size: 15px; }
.case .who { color: var(--muted); font-size: 13px; }
.case .voice { margin-top: auto; padding: 12px 14px; background: var(--latte-100); border-radius: var(--radius-sm); color: var(--latte-900); font-weight: 500; }
.targets { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.target { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: var(--space-3); border-left: 4px solid var(--gold); }
.target h3 { font-size: 17px; margin-bottom: 4px; }
.target p { margin: 0; color: var(--muted); font-size: 15px; }
.point ul { margin: var(--space-1) 0; padding-left: 1.2em; font-size: 15px; }
.point li::marker { color: var(--gold); }
.point .note { margin-top: var(--space-1); font-size: 14px; color: var(--latte-700); }
.flow.five { grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
.flow.five li { padding: var(--space-2); }
.panel-prose { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-4); }
.panel-prose ul { margin: 0 0 var(--space-2); padding-left: 1.2em; }
.panel-prose li::marker { color: var(--gold); }
.panel-prose p:last-child { margin-bottom: 0; }
.data.price td, .data.price th { text-align: center; }
.data.price th[scope="row"] { text-align: center; }
.data.price td { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 18px; color: var(--latte-900); }
.data.sched td, .data.sched th { text-align: left; white-space: normal; }
.data.sched td:last-child { white-space: nowrap; color: var(--muted); }
@media (max-width: 960px) {
  .cases { grid-template-columns: 1fr; }
  .flow.five { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .targets { grid-template-columns: 1fr; }
  .panel-prose { padding: var(--space-3); }
  .data.price td { font-size: 16px; }
  .data th, .data td { padding: 10px 12px; }
}
.data.price thead th { text-align: center; }

/* 性格診断 */
.quiz { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: var(--space-5) var(--space-4); text-align: center; }
.quiz h2 { font-size: clamp(20px, 3vw, 26px); word-break: auto-phrase; text-wrap: balance; }
.qtypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); margin: var(--space-3) 0 var(--space-4); }
.qtype { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 14px; color: var(--latte-900); }
.qtype img { width: 100%; max-width: 150px; height: auto; border-radius: var(--radius-sm); }
.quiz-progress { height: 8px; background: var(--latte-100); border-radius: 999px; overflow: hidden; margin-bottom: var(--space-3); }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.3s; }
.quiz-count { color: var(--gold-dark); font-weight: 700; letter-spacing: 0.1em; margin: 0 0 var(--space-1); }
.quiz-text { min-height: 3.2em; display: flex; align-items: center; justify-content: center; outline: none; }
.quiz-answers { display: flex; gap: var(--space-2); justify-content: center; margin: var(--space-4) 0 var(--space-2); }
.quiz-answers .btn { min-width: 9em; min-height: 56px; font-size: 18px; }
.quiz-back { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; padding: 8px; }
.quiz-back:hover { color: var(--gold-dark); }
.quiz-result h2 { font-size: clamp(28px, 5vw, 40px); color: var(--latte-900); outline: none; }
.quiz-result img { width: 100%; max-width: 300px; height: auto; margin: var(--space-2) auto; border-radius: var(--radius); }
.r-catch { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 18px; color: var(--latte-900); word-break: auto-phrase; text-wrap: balance; }
.r-body { text-align: left; max-width: 38em; margin: 0 auto; }
.r-body p { margin: 0 0 var(--space-2); }
.r-scores { max-width: 420px; margin: var(--space-3) auto; display: flex; flex-direction: column; gap: 8px; }
.r-score { display: grid; grid-template-columns: 8em 1fr; align-items: center; gap: 12px; font-size: 14px; text-align: left; color: var(--muted); }
.r-score.is-top { color: var(--latte-900); font-weight: 700; }
.r-track { height: 10px; background: var(--latte-100); border-radius: 999px; overflow: hidden; }
.r-fill { display: block; height: 100%; background: var(--latte-300); border-radius: 999px; }
.r-score.is-top .r-fill { background: var(--gold); }
.r-cta { font-weight: 700; color: var(--gold-dark); margin: var(--space-3) 0 var(--space-2); }
.campaign { display: grid; grid-template-columns: 200px 1fr auto; gap: var(--space-3); align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); }
.campaign img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.campaign h3 { font-size: 20px; margin: 4px 0; }
.campaign p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 600px) {
  .quiz { padding: var(--space-4) var(--space-2); }
  .qtypes { grid-template-columns: repeat(2, 1fr); }
  .quiz-answers .btn { min-width: 0; flex: 1; }
  .campaign { grid-template-columns: 1fr; text-align: center; }
  .campaign img { max-width: 220px; margin: 0 auto; }
}
button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
button.btn.ghost { border: 1.5px solid var(--latte-300); }
.r-cta { word-break: auto-phrase; text-wrap: balance; }

/* 求人を強くする */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.number { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); text-align: center; }
.num-val { margin: 0; color: var(--gold-dark); line-height: 1.2; }
.num-val b { font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(34px, 5vw, 46px); font-weight: 700; }
.num-val span { font-weight: 700; font-size: 18px; margin-left: 2px; }
.num-label { margin: 8px 0 2px; font-weight: 700; color: var(--latte-900); word-break: auto-phrase; }
.num-note { margin: 0; font-size: 13px; color: var(--muted); word-break: auto-phrase; }
.flow.four { grid-template-columns: repeat(4, 1fr); gap: var(--space-2); margin-bottom: var(--space-4); }
.flow.four li { padding: var(--space-2) var(--space-3); }
.updated { text-align: right; margin-top: var(--space-1); }
.recruit-bar { display: none; }
@media (max-width: 960px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .flow.four { grid-template-columns: 1fr 1fr; }
  .recruit-bar {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 250, 244, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(74, 52, 38, 0.08);
  }
  .recruit-bar .btn { flex: 1; min-height: 48px; padding: 0 8px; }
  .recruit-bar .btn.ghost { background: #fff; }
  .has-bar .site-footer { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .number { padding: var(--space-2); }
  .flow.four { grid-template-columns: 1fr; }
}

/* ===== 言語聴覚士の求人 ===== */
.more-links.three { grid-template-columns: repeat(3, 1fr); }
.points .point ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--muted); }
.example { margin-top: var(--space-3); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); }
.example h3 { font-size: 18px; margin-bottom: 8px; }
.example p { margin: 0 0 8px; }
.example b { color: var(--gold-dark); font-size: 20px; }
.st-banner { grid-template-columns: 120px 1fr auto; }
.st-mark { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: var(--green-100, #e6efe8); color: var(--green, #5f8a6b); font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 40px; letter-spacing: 0.05em; }
@media (max-width: 960px) {
  .more-links.three { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .st-banner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .st-mark { width: 80px; height: 80px; font-size: 28px; }
}
.campaign h3 { word-break: auto-phrase; text-wrap: balance; }
.point.with-img { padding-top: var(--space-3); }
.point.with-img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: var(--space-2); }
.st-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); max-width: 900px; margin-inline: auto; }
.st-photo { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.st-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.st-photo figcaption { padding: var(--space-2) var(--space-3); color: var(--muted); font-size: 14px; }
.st-photo figcaption b { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.voices { display: grid; gap: var(--space-3); max-width: 900px; margin-inline: auto; }
.voice { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-3); align-items: start; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); }
.voice img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--latte-100, #f6efe7); }
.voice h3 { font-size: 18px; margin-bottom: 4px; word-break: auto-phrase; }
.voice .voice-who { font-size: 13px; color: var(--gold-dark); font-weight: 700; margin: 0 0 var(--space-1); }
.voice p { margin: 0; font-size: 15px; }
.draft-note { max-width: 900px; margin: 0 auto var(--space-2); padding: 8px 12px; border: 1px dashed var(--gold); border-radius: var(--radius-sm); color: var(--gold-dark); font-size: 14px; text-align: center; }
@media (max-width: 600px) {
  .st-photos { grid-template-columns: 1fr; }
  .voice { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .voice p { text-align: left; }
  .voice img { width: 96px; height: 96px; }
}
.calc { margin-top: var(--space-3); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); border-top: 4px solid var(--green); }
.calc h3 { font-size: 18px; margin-bottom: var(--space-2); }
.calc-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-bottom: var(--space-2); }
.calc-in label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 700; color: var(--latte-700, #7a5a44); }
.calc-in select { font: inherit; font-weight: 500; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line, #eadfd3); border-radius: var(--radius-sm); background: var(--cream, #fffaf4); color: var(--text); min-height: 48px; }
.calc-out { width: 100%; border-collapse: collapse; margin-bottom: var(--space-1); }
.calc-out th, .calc-out td { padding: 10px 4px; border-bottom: 1px solid var(--line, #eadfd3); font-size: 15px; }
.calc-out th { text-align: left; font-weight: 500; color: var(--muted); }
.calc-out td { text-align: right; font-weight: 700; white-space: nowrap; }
.calc-out .sum th, .calc-out .sum td { border-bottom: 0; color: var(--text); font-size: 17px; }
.calc-out .sum td { color: var(--gold-dark); font-size: 24px; }
.data.compare td:last-child { background: var(--green-100); font-weight: 700; color: var(--text); }
.data.compare th[scope="row"] { white-space: nowrap; }
.st-entry { text-align: center; margin: var(--space-3) 0; }
.st-entry a { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.st-entry .tag { text-decoration: none; }
@media (max-width: 600px) {
  .calc-in { grid-template-columns: 1fr; }
  .data.compare th[scope="row"] { white-space: normal; }
}
.data.compare th, .data.compare td { text-align: left; white-space: normal; }
.data.compare thead th:last-child { background: var(--green); color: #fff; }
.calc-out .head th { padding-top: var(--space-3); color: var(--green); font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--green-100); }
.calc-out .sum + .head th { padding-top: var(--space-4); }

/* ===== 職種ごとのページの入口 ===== */
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.role-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-4) var(--space-3) var(--space-3); text-decoration: none; color: var(--text); transition: transform 0.25s, box-shadow 0.25s; }
.role-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(74, 52, 38, 0.14); }
.role-mark { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 26px; letter-spacing: 0.04em; margin-bottom: 4px; }
.role-card.gold .role-mark { background: #f6ead6; color: var(--gold-dark); }
.role-card.heart .role-mark { background: var(--heart-100); color: #b8625a; font-size: 22px; }
.role-card.green .role-mark { background: var(--green-100); color: var(--green); }
.role-card h3 { font-size: 18px; margin: 0; word-break: auto-phrase; }
.role-card p { margin: 0; font-size: 14px; color: var(--muted); flex: 1; }
.role-card .more { font-weight: 700; color: var(--gold-dark); font-size: 15px; }
.st-entry { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.st-entry a { text-decoration: none; }
.st-entry .tag { font-size: 14px; padding: 6px 14px; }
.st-entry-note { width: 100%; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .role-cards { grid-template-columns: 1fr; }
  .role-card { flex-direction: row; text-align: left; align-items: center; flex-wrap: wrap; padding: var(--space-3); }
  .role-mark { width: 64px; height: 64px; font-size: 18px; margin: 0; }
  .role-card.heart .role-mark { font-size: 15px; }
  .role-card h3, .role-card p { flex: 1 1 calc(100% - 90px); }
  .role-card .more { margin-left: 80px; }
}

.st-photos:has(> :only-child) { grid-template-columns: 1fr; max-width: 560px; }

/* ===== 応募のフォーム ===== */
.entry-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-4) var(--space-4) var(--space-3); display: grid; gap: var(--space-3); }
.ef-row { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.ef-row label, .ef-row legend { font-weight: 700; color: var(--latte-900); padding: 0; }
.ef-row em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: #c0726b; border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.ef-row .opt { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.entry-form input:not([type=radio]), .entry-form select, .entry-form textarea { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--text); min-height: 48px; }
.entry-form input:focus, .entry-form select:focus, .entry-form textarea:focus { outline: 3px solid rgba(201, 151, 79, 0.35); border-color: var(--gold); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; }
.radio span { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream); font-weight: 700; color: var(--latte-700); cursor: pointer; min-height: 44px; }
.radio input:checked + span { background: var(--latte-900); border-color: var(--latte-900); color: #fff; }
.radio input:focus-visible + span { outline: 3px solid rgba(201, 151, 79, 0.5); }
.ef-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ef-error { margin: 0; color: #b0463d; font-weight: 700; }
.ef-submit { justify-self: center; min-width: 240px; border: 0; cursor: pointer; font-size: 17px; }
.ef-submit:disabled { opacity: 0.6; cursor: wait; }
.entry-done { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-5) var(--space-4); text-align: center; }
.entry-done .done-mark { width: 72px; height: 72px; margin: 0 auto var(--space-2); border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green); font-size: 36px; font-weight: 700; }
@media (max-width: 600px) {
  .entry-form { padding: var(--space-3) var(--space-2); }
  .ef-submit { width: 100%; }
}

/* ===== お知らせ・ラテの日常 ===== */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--text); transition: transform 0.25s, box-shadow 0.25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(74, 52, 38, 0.14); }
.news-card img, .news-noimg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.news-noimg { display: grid; place-items: center; background: var(--latte-100); color: var(--heart-100); font-size: 48px; }
.news-card > div { padding: var(--space-2) var(--space-3) var(--space-3); }
.news-card time, .news-article time { font-size: 13px; color: var(--gold-dark); font-weight: 700; }
.news-card h2, .news-card h3 { font-size: 17px; margin: 4px 0 6px; line-height: 1.5; word-break: auto-phrase; }
.news-card p { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-article { padding: var(--space-4) 0 var(--space-6); }
.news-article h1 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.5; margin: 8px 0 var(--space-3); }
.news-cover { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: var(--space-3); }
.news-body { line-height: 2; }
.news-body h2 { font-size: 22px; margin: var(--space-4) 0 var(--space-2); padding-left: 12px; border-left: 4px solid var(--gold); }
.news-body h3, .news-body h4 { font-size: 18px; margin: var(--space-3) 0 var(--space-1); }
.news-body figure { margin: var(--space-3) 0; }
.news-body figure img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.news-body figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.news-body blockquote { margin: var(--space-3) 0; padding: var(--space-2) var(--space-3); background: var(--latte-100); border-radius: var(--radius-sm); }
.news-body a { color: var(--gold-dark); }
.news-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: var(--space-3) 0; }
.news-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.news-video { position: relative; aspect-ratio: 16 / 9; margin: var(--space-3) 0; }
.news-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius-sm); }
.news-back { text-align: center; margin-top: var(--space-5); }
@media (max-width: 860px) { .news-list { grid-template-columns: 1fr; } .news-card { flex-direction: row; } .news-card img, .news-noimg { width: 120px; aspect-ratio: 1; flex: none; } .news-card > div { padding: 12px 14px; } .news-card h2, .news-card h3 { font-size: 15px; } .news-card p { -webkit-line-clamp: 2; font-size: 13px; } }

/* ===== 研修資料のダウンロード ===== */
.dl-loading { text-align: center; color: var(--muted); padding: var(--space-4) 0; }
.dl-empty { text-align: center; }
.dl-list { display: grid; gap: 8px; }
.dl-item { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; font-weight: 500; }
.dl-item:has(input:checked) { border-color: var(--gold); background: #fff8ec; }
.dl-item input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold-dark); flex: none; }
.dl-item b { display: block; color: var(--latte-900); }
.dl-item small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.dl-ok { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.dl-ok input { width: 20px; height: 20px; accent-color: var(--gold-dark); }
.dl-files { display: grid; gap: 10px; max-width: 420px; margin: var(--space-3) auto; }
.dl-btn::before { content: "↓ "; }
.entry-form input[type=checkbox] { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; }

/* ===== 採用（2026-10 全面見直し）：共通の部品 ===== */
.tag.urgent { background: #c0726b; color: #fff; }
.tag.stopped { background: #e9e4df; color: #74675e; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 var(--space-2); }
.role-card.blue .role-mark, .job-role.blue .role-mark { background: #e3ecf4; color: #4f7394; }
.role-cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .role-cards.four { grid-template-columns: 1fr 1fr; } }

.recruit-bar.three .btn { font-size: 14px; white-space: nowrap; }

.bonus-box { margin: var(--space-3) auto 0; max-width: 720px; background: #fff; border: 2px solid #f0dcbc; border-radius: var(--radius); padding: var(--space-3); display: grid; gap: 8px; text-align: center; }
.bonus-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.bonus-main p { margin: 0; font-weight: 700; color: var(--latte-900); word-break: auto-phrase; }
.bonus-main b { font-family: "Zen Maru Gothic", sans-serif; font-size: 28px; color: var(--gold-dark); margin-left: 4px; }
.bonus-main.st { background: var(--green-100); border-radius: var(--radius-sm); padding: 10px 12px; }
.bonus-main.st b { color: var(--green); }
.bonus-ref { margin: 0; font-size: 14px; color: var(--text); word-break: auto-phrase; }
.bonus-box .small { margin: 0; }

.timeline { list-style: none; margin: 0 auto var(--space-2); padding: 0; max-width: 720px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.2em; top: 12px; bottom: 12px; width: 2px; background: var(--latte-300); }
.timeline li { display: grid; grid-template-columns: 6.4em 1fr; gap: 1.6em; padding: 10px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(7.2em - 6px); top: 20px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.timeline time { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; color: var(--gold-dark); text-align: right; padding-top: 6px; font-size: 15px; line-height: 1.5; }
.timeline div { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 12px 16px; }
.timeline h3 { font-size: 16px; margin: 0 0 2px; }
.timeline p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 600px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; }
  .timeline li::before { left: 0; top: 16px; }
  .timeline time { text-align: left; padding-top: 0; }
}

/* タブ（職種を選ぶ） */
.seg-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--shadow); width: max-content; max-width: 100%; margin: 0 auto var(--space-3); }
.seg-tabs button { font: inherit; font-weight: 700; font-size: 15px; border: 0; background: transparent; color: var(--latte-700); padding: 8px 18px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.seg-tabs button[aria-selected="true"] { background: var(--latte-900); color: #fff; }
.seg-tabs button:focus-visible { outline: 3px solid rgba(201, 151, 79, 0.5); }
@media (max-width: 600px) {
  .seg-tabs { border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg-tabs button { padding: 8px 6px; font-size: 14px; border-radius: var(--radius-sm); }
}

/* ===== トップ（採用） ===== */
.nm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.nm-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); text-align: center; }
.nm-val { margin: 0; color: var(--gold-dark); line-height: 1.2; }
.nm-val b { font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(34px, 5vw, 48px); }
.nm-val small { font-weight: 700; font-size: 18px; margin-left: 2px; }
.nm-label { margin: 8px 0 2px; font-weight: 700; color: var(--latte-900); word-break: auto-phrase; }
.nm-note { margin: 0; font-size: 12px; color: var(--muted); word-break: auto-phrase; line-height: 1.6; }
.staff-bar { display: flex; height: 52px; border-radius: 12px; overflow: hidden; margin: var(--space-4) 0 8px; box-shadow: var(--shadow); }
.staff-bar span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; color: #fff; font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; }
.staff-bar b { font-size: 12px; }
.sb-0 { background: var(--gold); } .sb-1 { background: #c0726b; } .sb-2 { background: #4f7394; } .sb-3 { background: var(--green); } .sb-4 { background: var(--latte-500); }
@media (max-width: 760px) {
  .nm-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nm-card { padding: var(--space-2) 12px; }
  .staff-bar { height: 56px; }
  .staff-bar b { font-size: 10px; }
  .staff-bar span { font-size: 10px; }
}

.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.ap-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.ap-visual { position: relative; display: flex; align-items: center; gap: 16px; padding: var(--space-3) var(--space-3) 0; }
.ap-visual img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.ap-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; flex: none; }
.ap-icon svg { width: 36px; height: 36px; }
.ap-pay .ap-icon { background: #f6ead6; color: var(--gold-dark); }
.ap-rest .ap-icon { background: var(--heart-100); color: #b8625a; }
.ap-team .ap-icon { background: var(--green-100); color: var(--green); }
.ap-grow .ap-icon { background: #e3ecf4; color: #4f7394; }
.ap-no { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 40px; color: var(--latte-100); line-height: 1; margin-left: auto; }
.ap-body { padding: var(--space-2) var(--space-3) var(--space-3); display: flex; flex-direction: column; }
.ap-word { margin: 0; font-weight: 700; color: var(--gold-dark); letter-spacing: 0.1em; font-size: 14px; }
.ap-body h3 { font-size: 20px; margin: 2px 0 8px; word-break: auto-phrase; }
.ap-body > p { margin: 0 0 8px; font-size: 15px; }
.ap-body ul { margin: 0 0 12px; padding-left: 1.2em; font-size: 14px; color: var(--text); flex: 1; }
.ap-body .more, .ed-card .more { font-weight: 700; color: var(--gold-dark); text-decoration: none; font-size: 15px; }
.ap-body .more::after { content: " →"; }
@media (max-width: 760px) { .ap-grid { grid-template-columns: 1fr; } }

.sim { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-4) var(--space-4) var(--space-3); border-top: 4px solid var(--gold); }
.sim .seg-tabs { box-shadow: none; background: var(--latte-100); }
.sim-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-bottom: var(--space-3); }
.sim-in[hidden] { display: none; }
.sim-in label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 700; color: var(--latte-700); }
.sim-in select { font: inherit; font-weight: 500; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--text); min-height: 48px; }
.sim-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.so-main { background: var(--latte-100); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; flex-direction: column; }
.so-main span { font-size: 13px; color: var(--muted); font-weight: 700; }
.so-main b { font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(26px, 4vw, 34px); color: var(--gold-dark); font-variant-numeric: tabular-nums; line-height: 1.3; }
.so-rows { grid-column: 1 / -1; margin: 4px 0 0; display: grid; grid-template-columns: 1fr auto; }
.so-rows dt, .so-rows dd { padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: 14px; margin: 0; }
.so-rows dt { color: var(--muted); }
.so-rows dd { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sim-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: var(--space-2); }
@media (max-width: 600px) {
  .sim { padding: var(--space-3) var(--space-2); }
  .sim-in { grid-template-columns: 1fr; gap: 12px; }
  .sim-out { grid-template-columns: 1fr; }
  .sim-cta .btn { width: 100%; }
}

.tab-panel[hidden] { display: none; }
.vc-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: var(--space-2) 0 var(--space-4); }
.vc-more a { font-weight: 700; color: var(--gold-dark); }
#voices .rc-quiz { max-width: 640px; margin: 0 auto; }

.ed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.ed-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3) var(--space-2) var(--space-2); }
.ed-card h3 { font-size: 16px; margin: 0 0 4px; padding-left: 10px; border-left: 3px solid var(--gold); word-break: auto-phrase; }
.ed-card p { margin: 0; font-size: 14px; color: var(--muted); }
.ed-card.later { background: transparent; border: 1.5px dashed var(--latte-300); box-shadow: none; }
.ed-later-h { text-align: center; margin: var(--space-4) 0 var(--space-2); font-size: 18px; }
@media (max-width: 960px) { .ed-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ed-grid { grid-template-columns: 1fr; } }

.gl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: var(--space-3); }
.gl-item { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--latte-100); }
.gl-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gl-item figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, 0.9); border-radius: 8px; padding: 2px 10px; font-size: 12px; font-weight: 700; color: var(--latte-900); }
@media (max-width: 760px) { .gl-grid { grid-template-columns: 1fr 1fr; } }

.jr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.job-role { display: grid; grid-template-columns: 80px 1fr; gap: 4px 20px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); text-decoration: none; color: var(--text); transition: transform 0.25s, box-shadow 0.25s; }
.job-role:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(74, 52, 38, 0.14); }
.job-role .role-mark { width: 80px; height: 80px; font-size: 22px; margin: 0; }
.job-role.gold .role-mark { background: #f6ead6; color: var(--gold-dark); }
.job-role.heart .role-mark { background: var(--heart-100); color: #b8625a; font-size: 20px; }
.job-role.green .role-mark { background: var(--green-100); color: var(--green); }
.jr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.job-role h3 { font-size: 19px; margin: 4px 0 0; }
.jr-pay { margin: 2px 0 0; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 22px; color: var(--gold-dark); line-height: 1.4; }
.jr-pay small { display: block; font-family: "Noto Sans JP", sans-serif; font-size: 13px; color: var(--text); }
.jr-hours { margin: 0; font-size: 13px; color: var(--muted); }
.job-role .more { grid-column: 2; font-weight: 700; color: var(--gold-dark); font-size: 15px; }
.job-role .more::after { content: " →"; }
.jo-h { text-align: center; font-size: 18px; margin: var(--space-4) 0 var(--space-2); }
.job-others { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; gap: 8px; }
.job-others a { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 16px; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 12px 16px; text-decoration: none; color: var(--text); font-weight: 700; border: 1.5px solid var(--line); }
.job-others a:hover { border-color: var(--gold); }
.job-others .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.job-others .o-pay { color: var(--gold-dark); font-size: 14px; white-space: nowrap; }
@media (max-width: 760px) {
  .jr-grid { grid-template-columns: 1fr; }
  .job-role { grid-template-columns: 64px 1fr; padding: var(--space-2); gap: 4px 14px; }
  .job-role .role-mark { width: 64px; height: 64px; font-size: 18px; }
  .job-others a { grid-template-columns: 1fr; }
}

.entry-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ea-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: var(--space-3) var(--space-2); text-decoration: none; color: var(--text); text-align: center; transition: border-color 0.2s, transform 0.2s; }
.ea-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.ea-card b { font-size: 17px; color: var(--latte-900); }
.ea-card span { font-size: 13px; color: var(--muted); }
.ea-card.main { background: var(--gold); border-color: var(--gold); }
.ea-card.main b, .ea-card.main span { color: #fff; }
.rt-entry .center { margin-top: var(--space-3); }
@media (max-width: 760px) { .entry-actions { grid-template-columns: 1fr; } }

.user-band { background: var(--latte-900); color: #fff; font-size: 14px; }
.user-band .wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; align-items: center; padding-block: 12px; }
.user-band a { color: #f6ead6; font-weight: 700; }
.users-head { padding-bottom: 0; border-top: 6px solid var(--latte-300); }
.job.stopped { opacity: 0.75; }
.btn.disabled { pointer-events: none; color: var(--muted); border-color: var(--line); background: #f3efeb; }
.stop-note { max-width: 720px; width: calc(100% - 32px); margin: 0 auto var(--space-4); padding: 12px 16px; border-radius: var(--radius-sm); background: #f3efeb; color: var(--latte-900); font-weight: 700; text-align: center; }
.gl-item img[src*="hirano-office"] { object-position: 50% 0; }
.calc-in.four, .sim-in.four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .calc-in.four, .sim-in.four { grid-template-columns: 1fr; } }
.rt-entry .center .btn { max-width: 100%; white-space: normal; height: auto; padding-block: 10px; }

/* ===== 変なところで改行しない（文の中の <wbr> の位置でだけ改行する。tools/phrase_wrap.py） ===== */
body { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
input, textarea, select, .news-body, pre, code { word-break: normal; }
@media (max-width: 760px) { .role-cards.four { grid-template-columns: 1fr; } }
h1, h2, h3, h4, th, dt, summary, figcaption, .btn, label, legend, .tag, .sec-head p, .lead-text { text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; }
@media (max-width: 600px) {
  .data.compare { font-size: 14px; }
  .data.compare th, .data.compare td { padding: 10px 8px; }
  .data.compare th[scope="row"] { width: 5em; min-width: 5em; }
}
@media (max-width: 600px) { .data.compare th[scope="row"] { width: 6em; min-width: 6em; overflow-wrap: normal; } }
.nm-label, .num-label, .nm-note, .num-note, .jr-hours, .ea-card span, .vc-who { text-wrap: balance; }
.sim [data-o], .sim .so-rows dt { word-break: normal; }
/* 病院とラテの比べる表：スマホでは1行ずつカードにする */
@media (max-width: 600px) {
  .data.compare, .data.compare tbody { display: block; width: 100%; }
  .data.compare thead { display: none; }
  .data.compare tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .data.compare th[scope="row"] { grid-column: 1 / -1; width: auto; min-width: 0; padding: 12px 12px 4px; background: transparent; border: 0; font-size: 15px; }
  .data.compare td { border: 0; padding: 8px 12px 12px; }
  .data.compare td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
  .data.compare td:last-child::before { color: var(--green); }
}
.data.sched th[scope="row"], .data.sched td:last-child { white-space: nowrap; }
@media (max-width: 600px) { .data.sched th, .data.sched td { padding: 10px 8px; font-size: 14px; } .calc-out th { font-size: 14px; } }
.calc-out th small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; line-height: 1.5; }
/* 職種別の人数のグラフ */
.staff-bar em { font-style: normal; }
.staff-bar i { display: none; }
@media (max-width: 760px) {
  /* スマホでは、職種ごとに1本ずつの横棒にする */
  .staff-bar { display: grid; gap: 14px; height: auto; overflow: visible; background: #fff; border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow); }
  .staff-bar span { display: grid; grid-template-columns: 5.6em 1fr; align-items: center; column-gap: 12px; font-size: 14px; background: none !important; color: var(--text); overflow: visible; white-space: nowrap; }
  .staff-bar b { font-size: 14px; }
  .staff-bar i { display: flex; align-items: center; justify-content: flex-end; height: 26px; width: var(--p); min-width: 44px; border-radius: 13px; background: currentColor; transform-origin: left; animation: sb-grow 1s cubic-bezier(.2,.8,.2,1) both; }
  .staff-bar em { grid-column: 2; grid-row: 1; justify-self: start; width: var(--p); min-width: 44px; text-align: right; padding-right: 10px; font-weight: 700; font-size: 13px; color: #fff; position: relative; z-index: 1; }
  .staff-bar .sb-0 i { color: var(--gold); } .staff-bar .sb-1 i { color: #c0726b; } .staff-bar .sb-2 i { color: #4f7394; } .staff-bar .sb-3 i { color: var(--green); } .staff-bar .sb-4 i { color: var(--latte-500); }
  .staff-bar .sb-1 i { animation-delay: .08s; } .staff-bar .sb-2 i { animation-delay: .16s; } .staff-bar .sb-3 i { animation-delay: .24s; } .staff-bar .sb-4 i { animation-delay: .32s; }
  .staff-bar i { grid-column: 2; grid-row: 1; }
}
@keyframes sb-grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .staff-bar i { animation: none; } }

/* ===== 年収の例 ===== */
.inc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-3); margin-bottom: 8px; }
.inc-grid.one { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
.inc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-3); }
.inc-card h3 { font-size: 18px; margin: 0 0 12px; }
.inc-card h3 small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.inc-table { width: 100%; border-collapse: collapse; }
.inc-table th, .inc-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.inc-table thead th { font-size: 12px; color: var(--muted); font-weight: 700; }
.inc-table td { text-align: right; white-space: nowrap; }
.inc-table thead th:not(:first-child) { text-align: right; }
.inc-table td b { font-family: "Zen Maru Gothic", sans-serif; font-size: 22px; color: var(--gold-dark); font-variant-numeric: tabular-nums; }
.inc-table tbody tr:last-child th, .inc-table tbody tr:last-child td { border-bottom: 0; }
.inc-card .small { margin: 10px 0 0; }
.inc-h { font-size: 18px; margin: var(--space-4) 0 var(--space-2); text-align: center; }
@media (max-width: 860px) { .inc-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .inc-card { padding: var(--space-2); } .inc-table td b { font-size: 19px; } }

/* ===== 4つの魅力の見出しを大きく ===== */
.ap-word { font-size: 22px; letter-spacing: 0.12em; }
.ap-card { scroll-margin-top: 90px; }

/* ===== 入社祝い金（目立たせる） ===== */
.bonus-box { position: relative; overflow: hidden; border: 0; background: linear-gradient(135deg, #fff6e6, #ffe9d6 55%, #fde3e0); box-shadow: 0 14px 34px rgba(201, 151, 79, 0.28); padding: var(--space-4) var(--space-3) var(--space-3); }
.bonus-box::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%); transform: translateX(-100%); animation: bonus-shine 3.6s ease-in-out infinite; pointer-events: none; }
.bonus-box > * { position: relative; }
.bonus-label { justify-self: center; margin: 0; background: linear-gradient(90deg, #c9974f, #d97a6f); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: 0.2em; padding: 6px 22px; border-radius: 999px; box-shadow: 0 6px 16px rgba(201, 120, 90, 0.35); }
.bonus-main p { font-size: 17px; }
.bonus-main b { display: inline-block; font-size: clamp(44px, 9vw, 64px); line-height: 1.1; margin: 0 4px; background: linear-gradient(180deg, #d9a54f, #a8742f); -webkit-background-clip: text; background-clip: text; color: transparent; animation: bonus-pop 2.4s ease-in-out infinite; }
.bonus-main.st { background: #fff; border: 2px solid var(--green); border-radius: var(--radius); padding: 12px 14px; }
.bonus-main.st b { background: linear-gradient(180deg, #74a481, #4c7a59); -webkit-background-clip: text; background-clip: text; }
@keyframes bonus-shine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes bonus-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .bonus-box::before, .bonus-main b { animation: none; } }
.dl-item b, .dl-item small { word-break: normal; line-break: strict; }
/* かっこ書きをひとかたまりにする（tools/phrase_wrap.py の .pw）。入りきらなければ、かっこごと次の行へ */
.pw { display: inline-block; max-width: 100%; text-indent: 0; }
.inc-table tbody th { white-space: nowrap; }
/* 入社祝い金：言語聴覚士（常勤）の枠の余白と文字のバランス */
.bonus-main { line-height: 1.3; }
.bonus-main p { line-height: 1.3; }
.bonus-main.st { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 2px; padding: 16px 18px 12px; max-width: 560px; width: 100%; justify-self: center; }
.bonus-main.st .tag { margin: 0; align-self: center; justify-self: center; }
.bonus-main.st p { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: 6px; }
.bonus-main.st b { margin: 0; }
/* 入社祝い金：説明の下に、金額を真ん中にそろえる */
.bonus-box .bonus-main p, .bonus-box .bonus-main.st p { display: flex; flex-direction: column; align-items: center; row-gap: 0; text-align: center; }
.bonus-box .bonus-main b { display: block; margin: 0; }

/* ===== Instagram への入口 ===== */
.ig-icon { width: 1.15em; height: 1.15em; flex: none; }
.ig-card {
  --ig: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5);
  position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head photos" "follow photos"; gap: 14px 24px; align-items: center;
  max-width: 820px; margin: var(--space-4) auto var(--space-3); padding: 22px 24px;
  border: 3px solid transparent; border-radius: 22px;
  background: linear-gradient(#fff, #fff) padding-box, var(--ig) border-box;
  box-shadow: 0 14px 34px rgba(214, 41, 118, 0.18); text-decoration: none; color: var(--text);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ig-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(214, 41, 118, 0.28); }
.ig-head { grid-area: head; display: flex; align-items: center; gap: 14px; min-width: 0; }
.ig-avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: var(--ig); background-size: 200% 200%; animation: ig-flow 4s ease-in-out infinite; }
.ig-avatar-in { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: var(--ig); background-size: 200% 200%; animation: ig-flow 4s ease-in-out infinite reverse; color: #fff; }
.ig-avatar-in .ig-icon { width: 34px; height: 34px; }
.ig-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.5; }
.ig-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; background: var(--ig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ig-label .ig-icon { color: #d62976; }
.ig-text b { font-family: "Zen Maru Gothic", sans-serif; font-size: 24px; color: var(--latte-900); }
.ig-text > span:last-child { font-size: 14px; color: var(--muted); }
.ig-photos { grid-area: photos; display: grid; grid-template-columns: repeat(2, 84px); gap: 6px; }
.ig-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; transition: transform 0.3s; }
.ig-card:hover .ig-photos img { transform: scale(1.06); }
.ig-follow { grid-area: follow; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 15px; background: var(--ig); background-size: 200% 200%; box-shadow: 0 8px 18px rgba(214, 41, 118, 0.3); animation: ig-flow 4s ease-in-out infinite; }
@keyframes ig-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (max-width: 640px) {
  .ig-card { grid-template-columns: 1fr; grid-template-areas: "head" "photos" "follow"; padding: 18px 16px; gap: 14px; }
  .ig-avatar { width: 60px; height: 60px; }
  .ig-text b { font-size: 21px; }
  .ig-photos { grid-template-columns: repeat(4, 1fr); }
  .ig-photos img { width: 100%; height: auto; aspect-ratio: 1; }
  .ig-follow { justify-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ig-avatar, .ig-avatar-in, .ig-follow { animation: none; } }
.ft-ig { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 12px; padding: 8px 16px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; background: linear-gradient(45deg, #fa7e1e, #d62976 50%, #962fbf); }
.site-footer .ft-ig { display: flex; width: max-content; }
.inc-grid > .inc-card { min-width: 0; overflow-x: auto; }

/* 入社祝い金：応募ボックスの中でも文字色・余白を保つ／紹介制度 */
.bonus-box p { margin: 0; }
.bonus-box .bonus-label { color: #fff; }
.bonus-box .small { color: var(--muted); }
.bonus-ref { display: grid; gap: 8px; margin-top: 6px; padding: 16px 14px; background: rgba(255, 255, 255, 0.85); border: 2px dashed #e3a99a; border-radius: var(--radius); }
.bonus-box .ref-title { justify-self: center; color: #c0655a; font-weight: 700; font-size: 17px; letter-spacing: 0.08em; }
.bonus-box .ref-lead { color: var(--text); font-size: 14px; word-break: auto-phrase; }
.ref-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; max-width: 480px; width: 100%; justify-self: center; }
.ref-item { display: grid; gap: 2px; background: #fff; border: 1px solid #f0d2c4; border-radius: var(--radius-sm); padding: 10px 6px; min-width: 0; }
.ref-item span { font-size: 13px; font-weight: 700; color: var(--latte-900); }
.ref-item b { font-family: "Zen Maru Gothic", sans-serif; font-size: 26px; line-height: 1.2; color: #c0655a; }
.ref-plus { font-size: 22px; font-weight: 700; color: #d97a6f; }
.apply-box .recruit-note { margin: var(--space-4) 0 0; }
.contact-area { font-size: 14px; color: rgba(255, 255, 255, 0.88); margin-top: 12px; }
.contact-area b { display: block; width: fit-content; margin-bottom: 4px; padding: 1px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--latte-900); font-size: 12px; }
