/*
Theme Name: Hataraku Night Base
Theme URI: https://example.com/
Author: NDX Media
Description: はたらくNight用スマホファースト試作用テーマ
Version: 0.2.71
Text Domain: hataraku-night
*/

:root {
  --hn-orange: #ff6b1a;
  --hn-orange-2: #ff7a28;
  --hn-grad: linear-gradient(135deg, #ff8a3a, #ff6417);
  --hn-ink: #2a221d;
  --hn-sub: #6f635c;
  --hn-cream: #fff7f1;
  --hn-cream-2: #fff2ea;
  --hn-line: rgba(255, 115, 38, .14);
  --hn-shadow: 0 10px 26px rgba(120, 70, 35, .07);
  --hn-font-display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --hn-font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff8f4;
  color: var(--hn-ink);
  font-family: var(--hn-font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
textarea,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

h1, h2, h3 {
  font-family: var(--hn-font-display);
  font-weight: 800;
}

/* Inline SVG icons — sized by context, colored via currentColor */
.hn-ic {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -.14em;
}

.hn-top,
.hn-site {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 40, .12), transparent 34%),
    #fffdfb;
  min-height: 100vh;
  overflow: hidden;
}

/* ===== Header ===== */
.hn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 66px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(255, 115, 38, .08);
  backdrop-filter: blur(10px);
}

.hn-menu {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #2a221d;
}

.hn-menu .hn-ic {
  width: 26px;
  height: 26px;
}

.hn-logo {
  font-family: var(--hn-font-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}

.hn-logo-en {
  position: relative;
  margin-left: 4px;
  color: var(--hn-orange);
}

.hn-logo-en::before {
  content: "";
  position: absolute;
  top: -.62em;
  left: -.18em;
  width: 1.35em;
  height: .58em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 18'%3E%3Cpath fill='%23ff6b1a' d='M13 0c.7 4.6 1.6 5.5 6.2 6.2C14.6 6.9 13.7 7.8 13 12.4c-.7-4.6-1.6-5.5-6.2-6.2C11.4 5.5 12.3 4.6 13 0Z'/%3E%3Cpath fill='%23ff9a4d' d='M30 4.5c.4 3 1 3.6 4 4-3 .4-3.6 1-4 4-.4-3-1-3.6-4-4 3-.4 3.6-1 4-4Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.hn-header-ai {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 17px;
  color: #fff;
  background: var(--hn-grad);
  border-radius: 999px;
  font-family: var(--hn-font-display);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 111, 28, .28);
}

.hn-header-ai .hn-ic {
  width: 18px;
  height: 18px;
}

/* ===== Hero ===== */
.hn-hero {
  padding-bottom: 0;
}

.hn-hero-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #2b1b15;
}

.hn-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 17, 14, .84) 0%, rgba(24, 17, 14, .5) 44%, rgba(24, 17, 14, .04) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .26));
  z-index: 1;
}

.hn-hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: 64% center;
}

.hn-hero-copy {
  position: absolute;
  z-index: 2;
  left: 22px;
  top: 52px;
  right: 18px;
  color: #fff;
}

.hn-hero-sub {
  margin: 0 0 16px;
  font-family: var(--hn-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .03em;
}

.hn-hero-copy h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: .02em;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

.hn-hero-copy h1 span {
  color: var(--hn-orange);
}

.hn-hero-lead {
  margin: 24px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
}

.hn-hero-tags {
  margin-top: 26px;
  display: grid;
  gap: 11px;
  justify-items: start;
}

.hn-hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px 9px 13px;
  background: rgba(255, 255, 255, .97);
  color: var(--hn-ink);
  border-radius: 999px;
  font-family: var(--hn-font-display);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}

.hn-hero-tags span::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23ff741f'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m7.5 12.3 3 3 6-6.4'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ===== AI consult card ===== */
.hn-ai-card {
  position: relative;
  z-index: 4;
  margin: -22px 12px 0;
  padding: 22px 14px 22px;
  background: var(--hn-cream);
  border: 1px solid rgba(255, 121, 43, .12);
  border-radius: 26px;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, .6), 0 18px 42px rgba(255, 118, 35, .15), 0 4px 16px rgba(80, 40, 20, .06);
}

.hn-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hn-ai-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--hn-orange);
  font-size: 26px;
  line-height: 1;
  letter-spacing: .02em;
}

.hn-ai-head h2 .hn-ic {
  width: 28px;
  height: 28px;
}

.hn-ai-subtitle {
  display: inline;
  margin-left: 2px;
  color: var(--hn-sub);
  font-family: var(--hn-font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.hn-ai-head .hn-ai-badge {
  padding: 7px 12px;
  background: #fff;
  color: var(--hn-orange);
  border-radius: 999px;
  font-family: var(--hn-font-display);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 115, 38, .12);
}

/* PC-only elements — hidden on mobile, revealed in css/pc.css at >=900px */
.hn-logo-sub,
.hn-hero-cta,
.hn-col-more {
  display: none;
}

.hn-ai-question-carousel {
  margin-top: 20px;
  overflow: hidden;
}

.hn-ai-questions {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hn-ai-questions::-webkit-scrollbar {
  display: none;
}

.hn-ai-questions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-width: 168px;
  min-height: 48px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(255, 115, 38, .14);
  border-radius: 999px;
  color: var(--hn-ink);
  text-align: left;
  box-shadow: 0 6px 14px rgba(255, 115, 38, .05);
  scroll-snap-align: start;
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}

.hn-ai-questions button:active {
  transform: translateY(1px);
}

.hn-ai-questions button .hn-ic {
  width: 22px;
  height: 22px;
  padding: 5px;
  flex: none;
  color: var(--hn-orange);
  background: var(--hn-cream-2);
  border-radius: 999px;
}

.hn-ai-questions button em {
  flex: 0 0 auto;
  min-width: 0;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.hn-ai-input {
  position: relative;
  margin-top: 16px;
  scroll-margin-bottom: 48vh;
}

.hn-ai-input textarea {
  width: 100%;
  min-height: 168px;
  padding: 20px 18px 74px;
  resize: vertical;
  border: 1px solid rgba(255, 118, 35, .16);
  border-radius: 18px;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
  outline: none;
  scroll-margin-bottom: 48vh;
}

.hn-ai-input textarea::placeholder {
  color: #b3aaa3;
}

.hn-ai-input button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  top: auto;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  color: #fff;
  background: var(--hn-grad);
  border-radius: 999px;
  font-family: var(--hn-font-display);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 111, 28, .26);
}

.hn-ai-input button .hn-ic {
  width: 19px;
  height: 19px;
}

.hn-ai-note {
  margin: 16px 0 0;
  color: #9a8f88;
  text-align: center;
  font-size: 13px;
}

/* ===== Common sections ===== */
.hn-section {
  padding: 30px 20px 6px;
}

.hn-section-head {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hn-section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: .01em;
}

.hn-section-head h2 .hn-ic {
  width: 24px;
  height: 24px;
  color: var(--hn-orange);
}

.hn-section-head a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--hn-orange);
  font-family: var(--hn-font-display);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hn-section-head a .hn-ic {
  width: 15px;
  height: 15px;
}

.hn-left {
  justify-content: flex-start;
}

/* Column cards */
.hn-column-list,
.hn-job-list,
.hn-voice-list,
.hn-archive-list {
  display: grid;
  gap: 12px;
}

.hn-column-card {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 38px 12px 12px;
  background: #fff;
  border: 1px solid var(--hn-line);
  border-radius: 18px;
  box-shadow: var(--hn-shadow);
}

.hn-column-card > a,
.hn-column-card > img {
  display: block;
  width: 104px;
  height: 80px;
}

.hn-column-card img {
  width: 104px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.hn-column-card div::after,
.hn-column-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-top: 2.2px solid var(--hn-orange);
  border-right: 2.2px solid var(--hn-orange);
  rotate: 45deg;
}

.hn-column-card div::after {
  display: none;
}

.hn-column-card h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.45;
}

.hn-column-card p {
  margin: 0;
  color: var(--hn-sub);
  font-size: 12.5px;
  line-height: 1.65;
}

/* Condition grid */
.hn-condition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.hn-condition-grid a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(255, 115, 38, .18);
  border-radius: 14px;
  font-family: var(--hn-font-display);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 5px 13px rgba(120, 70, 35, .04);
}

.hn-condition-grid a .hn-ic {
  width: 23px;
  height: 23px;
  color: var(--hn-orange);
}

.hn-more-button {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 54px;
  color: var(--hn-orange);
  background: #fff;
  border: 1.5px solid #ff9a4f;
  border-radius: 14px;
  font-family: var(--hn-font-display);
  font-weight: 700;
  letter-spacing: .02em;
}

.hn-more-button .hn-ic {
  width: 16px;
  height: 16px;
}

/* Job cards */
.hn-job-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 115, 38, .12);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(120, 70, 35, .06);
}

.hn-job-card img {
  width: 120px;
  height: 100%;
  min-height: 158px;
  object-fit: cover;
}

.hn-job-body {
  position: relative;
  padding: 14px 14px 14px 15px;
}

.hn-job-fav {
  position: absolute;
  top: 11px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #cdb9ae;
}

.hn-job-fav .hn-ic {
  width: 22px;
  height: 22px;
}

.hn-job-labels span {
  display: inline-block;
  padding: 3px 10px;
  background: var(--hn-cream-2);
  color: var(--hn-orange);
  border-radius: 999px;
  font-family: var(--hn-font-display);
  font-size: 11px;
  font-weight: 700;
}

.hn-job-body h3 {
  margin: 7px 0 5px;
  padding-right: 24px;
  font-size: 15px;
  line-height: 1.35;
}

.hn-job-area {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 6px;
  color: var(--hn-sub);
  font-size: 12px;
}

.hn-job-area .hn-ic {
  width: 14px;
  height: 14px;
  color: var(--hn-orange);
}

.hn-job-pay {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--hn-sub);
}

.hn-job-pay strong {
  color: var(--hn-orange);
  font-family: var(--hn-font-display);
  font-size: 18px;
  line-height: 1.2;
}

.hn-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hn-job-tags span {
  padding: 4px 9px;
  background: var(--hn-cream);
  color: #8a7b72;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
}

/* Voice cards */
.hn-voice-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding: 16px;
  background: var(--hn-cream);
  border: 1px solid rgba(255, 115, 38, .1);
  border-radius: 18px;
  box-shadow: var(--hn-shadow);
}

.hn-voice-card img {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(120, 70, 35, .1);
}

.hn-voice-card h3 {
  margin: 0 0 3px;
  font-size: 15px;
  line-height: 1.45;
}

.hn-voice-meta {
  margin: 0 0 7px;
  color: var(--hn-orange);
  font-size: 11px;
  font-weight: 700;
}

.hn-voice-card p {
  margin: 0;
  color: var(--hn-sub);
  font-size: 12.5px;
  line-height: 1.65;
}

/* Feature grid */
.hn-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.hn-feature-grid article {
  padding: 16px 7px 13px;
  background: #fff;
  border: 1px solid rgba(255, 115, 38, .1);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(120, 70, 35, .045);
}

.hn-feature-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 9px;
  color: var(--hn-orange);
  background: var(--hn-cream-2);
  border-radius: 13px;
}

.hn-feature-ic .hn-ic {
  width: 24px;
  height: 24px;
}

.hn-feature-grid h3 {
  margin: 0 0 6px;
  font-size: 11.5px;
  line-height: 1.4;
}

.hn-feature-grid p {
  margin: 0;
  color: var(--hn-sub);
  font-size: 10px;
  line-height: 1.55;
}

/* Flow list */
.hn-flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.hn-flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 30px auto 1fr;
  align-items: center;
  gap: 11px;
}

.hn-flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  height: calc(100% + 18px);
  width: 1.5px;
  background: rgba(255, 115, 38, .28);
}

.hn-flow-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #fff;
  color: var(--hn-orange);
  border: 1.5px solid #ff9a4f;
  border-radius: 999px;
  font-family: var(--hn-font-display);
  font-weight: 800;
  font-size: 15px;
}

.hn-flow-ic {
  display: grid;
  place-items: center;
  color: var(--hn-orange);
}

.hn-flow-ic .hn-ic {
  width: 24px;
  height: 24px;
}

.hn-flow-list strong {
  font-family: var(--hn-font-display);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.hn-flow-list p {
  margin: 0;
  color: var(--hn-sub);
  font-size: 12px;
  line-height: 1.55;
}

/* Final CTA */
.hn-final-cta {
  position: relative;
  margin: 30px 20px 36px;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .25), transparent 42%), var(--hn-grad);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(255, 111, 28, .26);
}

.hn-final-cta h2 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.4;
}

.hn-final-cta p {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  opacity: .96;
}

.hn-final-cta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  background: #fff;
  color: var(--hn-orange);
  border-radius: 999px;
  font-family: var(--hn-font-display);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(180, 70, 10, .2);
}

.hn-final-cta a .hn-ic:first-child {
  width: 18px;
  height: 18px;
}

.hn-final-cta a .hn-ic:last-child {
  width: 15px;
  height: 15px;
  margin-left: auto;
}

.hn-cta-robot {
  display: grid;
  place-items: center;
}

.hn-cta-robot .hn-ic {
  width: 78px;
  height: 78px;
  color: #fff;
  opacity: .96;
  filter: drop-shadow(0 6px 12px rgba(150, 55, 5, .25));
}

/* ===== Page / Single / Archive ===== */
.hn-page-main {
  padding: 20px 0px 36px;
}

.hn-page-hero {
  padding: 32px 20px 24px;
  background: linear-gradient(180deg, #fff7f1, #fffdfb);
  border-bottom: 1px solid rgba(255, 115, 38, .12);
}

.hn-page-hero .hn-kicker {
  margin: 0 0 8px;
  color: var(--hn-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}

.hn-page-hero h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.4;
}

.hn-page-hero p {
  margin: 12px 0 0;
  color: var(--hn-sub);
  font-size: 14px;
}

.hn-content {
  background: #fff;
  border: 1px solid rgba(255, 115, 38, .1);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: var(--hn-shadow);
}

.hn-content h2 {
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--hn-orange);
  font-size: 21px;
  line-height: 1.45;
}

.hn-content h2:first-child {
  margin-top: 0;
}

.hn-content h3 {
  margin: 26px 0 10px;
  font-size: 18px;
  line-height: 1.45;
}

.hn-content p {
  margin: 0 0 1.2em;
}

.hn-content ul,
.hn-content ol {
  padding-left: 1.4em;
}

.hn-content a {
  color: var(--hn-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hn-post-meta {
  margin-top: 12px;
  color: #9a8f88;
  font-size: 12px;
}

.hn-archive-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(255, 115, 38, .11);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--hn-shadow);
}

.hn-archive-card-thumb {
  background: #fff0e8;
  min-height: 112px;
}

.hn-archive-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hn-archive-card-body {
  padding: 15px 16px;
}

.hn-archive-card-body h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
}

.hn-archive-card-body p {
  margin: 0;
  color: var(--hn-sub);
  font-size: 13px;
  line-height: 1.6;
}

.hn-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}

.hn-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid rgba(255, 115, 38, .18);
  border-radius: 999px;
}

.hn-pagination .current {
  color: #fff;
  background: var(--hn-orange);
}

.hn-search-form {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 8px;
  margin-bottom: 20px;
}

.hn-search-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 115, 38, .18);
  border-radius: 12px;
  background: #fff;
  outline: none;
}

.hn-search-form button {
  min-height: 46px;
  color: #fff;
  background: var(--hn-orange);
  border-radius: 12px;
  font-family: var(--hn-font-display);
  font-weight: 700;
}

.hn-notfound {
  padding: 52px 20px 60px;
  text-align: center;
}

.hn-notfound h1 {
  margin: 0 0 12px;
  color: var(--hn-orange);
  font-size: 48px;
  line-height: 1;
}

.hn-notfound h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.hn-notfound p {
  color: var(--hn-sub);
}

/* ===== Footer ===== */
.hn-footer {
  margin-top: 8px;
  padding: 22px 20px 34px;
  text-align: center;
  border-top: 1px solid rgba(255, 115, 38, .08);
}

.hn-footer .hn-logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 21px;
}

.hn-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-bottom: 14px;
}

.hn-footer nav a {
  color: #8a7b72;
  font-size: 11px;
}

.hn-footer p {
  margin: 0;
  color: #b3a79f;
  font-size: 10px;
}

@media (max-width: 374px) {
  .hn-header {
    padding: 0 12px;
  }

  .hn-logo {
    font-size: 20px;
  }

  .hn-header-ai {
    padding: 9px 12px;
    font-size: 12px;
  }

  .hn-hero-copy h1 {
    font-size: 40px;
  }

  .hn-hero-copy {
    left: 18px;
    top: 44px;
  }

  .hn-ai-questions {
    gap: 7px;
  }

  .hn-ai-questions button {
    min-width: 158px;
    padding-inline: 12px;
  }

  .hn-ai-questions button em {
    font-size: 12px;
  }

  .hn-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hn-flow-list li {
    grid-template-columns: 30px 26px auto 1fr;
    gap: 9px;
  }
}

@media (min-width: 768px) {
  body {
    background: #f4f4f4;
  }

  .hn-top,
  .hn-site {
    max-width: 430px;
    box-shadow: 0 0 40px rgba(0, 0, 0, .12);
  }
}

/* =========================================================================
   求人(job) — アーカイブ & 詳細（モバイル基準）
   ========================================================================= */

/* --- archive: filter chips --- */
.hn-job-filter {
  margin-bottom: 14px;
}

.hn-job-filter-label {
  display: block;
  margin-bottom: 7px;
  color: var(--hn-sub);
  font-family: var(--hn-font-display);
  font-size: 12px;
  font-weight: 700;
}

.hn-job-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.hn-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: #fff;
  border: 1px solid rgba(255, 115, 38, .2);
  border-radius: 999px;
  color: var(--hn-ink);
  font-family: var(--hn-font-display);
  font-size: 13px;
  font-weight: 700;
}

.hn-chip em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--hn-sub);
}

.hn-chip.is-current {
  color: #fff;
  background: var(--hn-grad);
  border-color: transparent;
}

.hn-chip.is-current em {
  color: rgba(255, 255, 255, .85);
}

/* --- archive: card thumb wrapper + status --- */
.hn-job-thumb {
  display: block;
  height: 100%;
}

.hn-job-status {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--hn-font-display);
  font-size: 11px;
  font-weight: 700;
}

.hn-job-status--paused {
  color: #b06a00;
  background: #fff1dd;
}

.hn-job-status--closed {
  color: #6f635c;
  background: #efeae6;
}

.hn-job-card.is-closed {
  opacity: .72;
}

.hn-empty,
.hn-job-archive .hn-content p {
  color: var(--hn-sub);
}

/* =========================================================================
   求人詳細
   ========================================================================= */
.hn-job-hero {
  padding: 0 0 4px;
}

.hn-job-hero-img {
  margin: 0;
}

.hn-job-hero-img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.hn-job-hero-body {
  padding: 18px 20px 4px;
}

.hn-job-termchips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hn-termchip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--hn-font-display);
  font-size: 12px;
  font-weight: 700;
}

.hn-termchip .hn-ic {
  width: 13px;
  height: 13px;
}

.hn-termchip--industry {
  color: var(--hn-orange);
  background: var(--hn-cream-2);
}

.hn-termchip--area {
  color: var(--hn-sub);
  background: #f3efec;
}

.hn-job-detail h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.4;
}

.hn-job-tagline {
  margin: 8px 0 0;
  color: var(--hn-sub);
  font-size: 14px;
}

.hn-job-hero-pay {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--hn-sub);
}

.hn-job-hero-pay strong {
  margin-left: 4px;
  color: var(--hn-orange);
  font-family: var(--hn-font-display);
  font-size: 24px;
}

.hn-job-role {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--hn-sub);
}

.hn-job-tags--hero {
  margin-top: 14px;
}

.hn-job-tags--hero span {
  background: var(--hn-cream);
  color: #8a7b72;
}

.hn-job-detail-body {
  display: grid;
  gap: 22px;
}

.hn-job-block h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.3;
}

.hn-job-block h2 .hn-ic {
  width: 22px;
  height: 22px;
  color: var(--hn-orange);
}

.hn-job-intro {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.85;
}

/* spec table */
.hn-spec-table {
  margin: 0;
  border: 1px solid var(--hn-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.hn-spec-table > div {
  display: grid;
  grid-template-columns: 116px 1fr;
}

.hn-spec-table > div:not(:last-child) {
  border-bottom: 1px solid var(--hn-line);
}

.hn-spec-table dt {
  margin: 0;
  padding: 13px 14px;
  background: var(--hn-cream);
  color: var(--hn-ink);
  font-family: var(--hn-font-display);
  font-size: 13px;
  font-weight: 700;
}

.hn-spec-table dd {
  margin: 0;
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.6;
}

/* merit list */
.hn-merit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hn-merit-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--hn-line);
  border-radius: 12px;
  font-family: var(--hn-font-display);
  font-size: 13px;
  font-weight: 700;
}

.hn-merit-list .hn-ic {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--hn-orange);
}

.hn-job-address {
  margin: 0 0 10px;
  font-size: 14px;
}

/* apply */
.hn-apply {
  padding: 22px 20px 24px;
  background: var(--hn-cream);
  border: 1px solid rgba(255, 115, 38, .12);
  border-radius: 20px;
}

.hn-apply-reply {
  margin: 0 0 14px;
  color: var(--hn-sub);
  font-size: 13px;
}

.hn-apply-btns {
  display: grid;
  gap: 10px;
}

.hn-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 56px;
  border-radius: 14px;
  color: #fff;
  background: var(--hn-grad);
  font-family: var(--hn-font-display);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 111, 28, .22);
}

.hn-apply-btn .hn-ic {
  width: 20px;
  height: 20px;
}

.hn-apply-btn--line {
  background: linear-gradient(135deg, #34c759, #1eb84e);
  box-shadow: 0 8px 18px rgba(30, 184, 78, .25);
}

.hn-apply-btn--tel {
  color: var(--hn-orange);
  background: #fff;
  border: 1.6px solid var(--hn-orange);
  box-shadow: none;
}

.hn-apply-place {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  color: var(--hn-sub);
  font-size: 13px;
}

.hn-apply-place .hn-ic {
  width: 15px;
  height: 15px;
  color: var(--hn-orange);
}

.hn-job-back {
  margin: 4px 0 0;
}

.hn-job-back a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hn-orange);
  font-family: var(--hn-font-display);
  font-size: 14px;
  font-weight: 700;
}

.hn-job-back .hn-ic {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

/* Hataraku Night Core v0.1.0 field display support */
.hn-job-pay p,
.hn-job-hero-pay p {
  margin: 0;
}

.hn-job-pay p + p,
.hn-job-hero-pay p + p {
  margin-top: 3px;
}

.hn-job-summary {
  margin: 0 0 8px;
  color: var(--hn-sub);
  font-size: 12px;
  line-height: 1.55;
}

.hn-job-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hn-job-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--hn-line);
  background: #fff;
}

.hn-job-faqs {
  display: grid;
  gap: 10px;
}

.hn-job-faq {
  border: 1px solid var(--hn-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.hn-job-faq summary {
  cursor: pointer;
  padding: 13px 14px;
  color: var(--hn-ink);
  font-family: var(--hn-font-display);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.hn-job-faq summary::-webkit-details-marker {
  display: none;
}

.hn-job-faq summary::after {
  content: '+';
  float: right;
  color: var(--hn-orange);
  font-weight: 800;
}

.hn-job-faq[open] summary::after {
  content: '−';
}

.hn-job-faq p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--hn-sub);
  font-size: 14px;
  line-height: 1.75;
}

.hn-merit-list--check {
  margin-bottom: 12px;
}

.hn-job-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--hn-cream);
  color: var(--hn-sub);
  font-size: 13px;
  line-height: 1.75;
}

.hn-job-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hn-job-flow li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--hn-line);
  border-radius: 14px;
  background: #fff;
}

.hn-job-flow li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--hn-orange);
  color: #fff;
  font-family: var(--hn-font-display);
  font-size: 14px;
  font-weight: 800;
}

.hn-job-flow strong {
  display: block;
  margin-top: 4px;
  font-family: var(--hn-font-display);
  font-size: 14px;
}

.hn-job-flow p {
  margin: 5px 0 0;
  color: var(--hn-sub);
  font-size: 13px;
  line-height: 1.65;
}

/* v0.2.2 taxonomy/link refinements */
.hn-job-filter-groups{display:grid;gap:10px}.hn-job-filter-group{display:grid;gap:8px}.hn-chip--parent{font-weight:800;background:#fff7ed;border-color:#fed7aa}.hn-job-tags a,.hn-job-tags--hero a{display:inline-flex;align-items:center;border-radius:999px;padding:.34em .72em;background:#fff7ed;color:#9a3412;text-decoration:none;font-size:.7rem;font-weight:700;line-height:1.2;border:1px solid #fed7aa}.hn-job-tags a:hover,.hn-job-tags--hero a:hover{background:#ffedd5;color:#7c2d12}.hn-job-filter--area .hn-job-filter-label{align-self:start}.hn-job-filter--area{align-items:start}

/* v0.2.4 detail/apply/gallery fixes */
@media (max-width: 899px) {
  .hn-chip {
    font-size: 10px;
  }
}

.hn-job-detail .hn-job-tags a,
.hn-job-detail .hn-job-tags span,
.hn-job-detail .hn-job-tags--hero a,
.hn-job-detail .hn-job-tags--hero span {
  font-size: 0.7rem;
}

.hn-apply--top {
  margin-bottom: 18px;
}

.hn-job-detail {
  padding-bottom: 92px;
}

.hn-job-fixed-cta {
  position: fixed;
  z-index: 1000;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 248, 244, .96);
  border-top: 1px solid rgba(255, 115, 38, .16);
  box-shadow: 0 -10px 24px rgba(120, 70, 35, .12);
  backdrop-filter: blur(10px);
}

.hn-job-fixed-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  color: #fff;
  font-family: var(--hn-font-display);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hn-job-fixed-cta__btn .hn-ic {
  width: 18px;
  height: 18px;
}

.hn-job-fixed-cta__btn--line {
  background: linear-gradient(135deg, #34c759, #1eb84e);
  box-shadow: 0 8px 18px rgba(30, 184, 78, .18);
}

.hn-job-fixed-cta__btn--tel {
  color: var(--hn-orange);
  background: #fff;
  border: 1.5px solid var(--hn-orange);
  box-shadow: 0 8px 18px rgba(255, 111, 28, .10);
}

.hn-job-gallery {
  display: flex;
  grid-template-columns: none;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 12px;
  -webkit-overflow-scrolling: touch;
}

.hn-job-gallery img {
  flex: 0 0 86vw;
  width: 86vw;
  max-width: 620px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  scroll-snap-align: start;
  border-radius: 18px;
}

.hn-job-gallery::-webkit-scrollbar {
  height: 8px;
}

.hn-job-gallery::-webkit-scrollbar-thumb {
  background: #fed7aa;
  border-radius: 999px;
}

.hn-apply-btn:only-child,
.hn-job-fixed-cta__btn:only-child {
  grid-column: 1 / -1;
}


/* v0.2.5 mobile overflow and carousel correction */
@media (max-width: 899px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hn-job-detail {
    overflow-x: hidden;
  }

  .hn-job-detail-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hn-job-detail-body > *,
  .hn-job-block,
  .hn-apply,
  .hn-spec-table,
  .hn-job-faqs,
  .hn-job-flow,
  .hn-job-gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hn-job-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .hn-job-card img {
    width: 108px;
  }

  .hn-job-body,
  .hn-job-card-content,
  .hn-job-card-main,
  .hn-job-tags,
  .hn-job-tags--hero {
    min-width: 0;
  }

  .hn-job-tags a,
  .hn-job-tags span,
  .hn-job-tags--hero a,
  .hn-job-tags--hero span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hn-spec-table > div {
    grid-template-columns: minmax(92px, 32%) minmax(0, 1fr);
  }

  .hn-spec-table dt,
  .hn-spec-table dd {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hn-merit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hn-merit-list li {
    min-width: 0;
    padding: 10px 11px;
    overflow-wrap: anywhere;
    line-height: 1.45;
  }

  .hn-apply {
    padding: 18px 14px 20px;
    border-radius: 18px;
  }

  .hn-apply-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }

  .hn-apply-place {
    align-items: flex-start;
    overflow-wrap: anywhere;
  }

  .hn-job-fixed-cta {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .hn-job-fixed-cta__btn {
    min-width: 0;
    padding: 0 8px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }

  .hn-job-gallery {
    gap: 10px;
    padding: 2px 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hn-job-gallery img {
    flex: 0 0 78%;
    width: 78%;
    border-radius: 14px;
  }
}

@media (max-width: 374px) {
  .hn-merit-list {
    grid-template-columns: 1fr;
  }
}


/* v0.2.6 top layout and salary simulator */
.hn-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hn-feature-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 3px;
  align-items: center;
  padding: 14px 15px;
  text-align: left;
}

.hn-feature-ic {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  width: 42px;
  height: 42px;
}

.hn-feature-grid h3 {
  grid-column: 2;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.hn-feature-grid h3 br {
  display: none;
}

.hn-feature-grid p {
  grid-column: 2;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.hn-interview-check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hn-interview-check-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--hn-line);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(120, 70, 35, .045);
}

.hn-interview-check-list article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--hn-orange);
  background: var(--hn-cream-2);
  border-radius: 13px;
}

.hn-interview-check-list .hn-ic {
  width: 21px;
  height: 21px;
}

.hn-interview-check-list h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.4;
}

.hn-interview-check-list p {
  margin: 0;
  color: var(--hn-sub);
  font-size: 12.5px;
  line-height: 1.65;
}

.hn-merit-list--check {
  grid-template-columns: 1fr !important;
}

.hn-salary-sim {
  background: linear-gradient(180deg, #fffaf7 0%, #fff 100%);
  border: 1px solid rgba(255, 115, 38, .16);
}

.hn-salary-sim__lead {
  margin: -4px 0 14px;
  color: var(--hn-sub);
  font-size: 13px;
  line-height: 1.7;
}

.hn-salary-sim__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hn-salary-sim__grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--hn-ink);
  font-size: 12px;
  font-weight: 700;
}

.hn-salary-sim input,
.hn-salary-sim select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--hn-line);
  border-radius: 12px;
  background: #fff;
  color: var(--hn-ink);
  font-size: 14px;
  box-sizing: border-box;
}

.hn-salary-sim__details {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--hn-line);
  border-radius: 14px;
  background: #fff;
}

.hn-salary-sim__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  color: var(--hn-orange);
  font-family: var(--hn-font-display);
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.hn-salary-sim__details summary::after {
  content: '▼';
  flex: 0 0 auto;
  color: var(--hn-orange);
  font-size: 11px;
  line-height: 1;
}

.hn-salary-sim__details[open] summary::after {
  content: '▲';
}

.hn-salary-sim__details summary::-webkit-details-marker {
  display: none;
}

.hn-salary-sim__grid--backs {
  margin-top: 12px;
}

.hn-salary-sim__result {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}

.hn-salary-sim__result > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--hn-line);
}

.hn-salary-sim__result span {
  color: var(--hn-sub);
  font-size: 12px;
  font-weight: 700;
}

.hn-salary-sim__result strong {
  color: var(--hn-orange);
  font-family: var(--hn-font-display);
  font-size: 17px;
  line-height: 1.2;
  text-align: right;
}

.hn-salary-sim__net {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
}

.hn-salary-sim__net strong {
  font-size: 22px;
}

.hn-salary-sim__breakdown {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--hn-cream);
}

.hn-salary-sim__breakdown-section {
  display: grid;
  gap: 6px;
}

.hn-salary-sim__breakdown-section h3 {
  margin: 0;
  color: var(--hn-ink);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.45;
}

.hn-salary-sim__breakdown-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hn-salary-sim__breakdown-list li {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  padding-left: 1.1em;
  color: var(--hn-sub);
  font-size: 12px;
  line-height: 1.55;
}

.hn-salary-sim__breakdown-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hn-sub);
  font-weight: 700;
}

.hn-salary-sim__breakdown-label {
  min-width: 0;
}

.hn-salary-sim__breakdown-value {
  flex: 0 0 auto;
  color: var(--hn-ink);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.hn-salary-sim__breakdown-section--cost .hn-salary-sim__breakdown-value {
  color: #9a3412;
}

.hn-salary-sim__note {
  margin: 12px 0 0;
  color: var(--hn-sub);
  font-size: 11.5px;
  line-height: 1.7;
}

@media (max-width: 374px) {
  .hn-salary-sim__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .hn-feature-grid,
  .hn-interview-check-list {
    grid-template-columns: 1fr;
  }

  .hn-feature-grid article {
    padding: 16px 18px;
  }

  .hn-feature-grid h3,
  .hn-interview-check-list h3 {
    font-size: 15px;
  }

  .hn-feature-grid p,
  .hn-interview-check-list p {
    font-size: 13px;
  }

  .hn-salary-sim__grid {
    grid-template-columns: 1fr;
  }

  .hn-salary-sim__grid--backs {
    grid-template-columns: 1fr;
  }

  .hn-salary-sim__result {
    grid-template-columns: 1fr;
  }

  .hn-salary-sim__result > div {
    display: grid;
    align-content: center;
    min-height: 84px;
  }

  .hn-salary-sim__result strong {
    text-align: left;
  }
}


/* v0.2.7 salary simulator modal correction */
.hn-salary-overview .hn-spec-table {
  margin-bottom: 12px;
}

.hn-salary-sim-launch {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
  border: 1px solid rgba(255, 115, 38, .18);
}

.hn-salary-sim-launch p,
.hn-salary-sim-launch small {
  margin: 0;
  color: var(--hn-sub);
  font-size: 12px;
  line-height: 1.6;
}

.hn-salary-sim-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--hn-grad);
  color: #fff;
  font-family: var(--hn-font-display);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(255, 107, 26, .22);
  cursor: pointer;
}

.hn-salary-sim-open .hn-ic {
  width: 19px;
  height: 19px;
}

html.hn-modal-open,
html.hn-modal-open body {
  overflow: hidden;
}

.hn-salary-modal[hidden] {
  display: none !important;
}

.hn-salary-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: end center;
  padding: 18px 12px;
}

.hn-salary-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 34, 29, .56);
  backdrop-filter: blur(4px);
}

.hn-salary-modal__panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(86vh, 760px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 14px 20px;
  border-radius: 22px 22px 18px 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(42, 34, 29, .28);
}

.hn-salary-modal__close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 0 0 auto;
  border: 1px solid var(--hn-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hn-ink);
  font-size: 23px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(120, 70, 35, .08);
  cursor: pointer;
}

.hn-salary-modal__title {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: -26px 46px 8px 0;
  font-family: var(--hn-font-display);
  font-size: 18px;
  line-height: 1.35;
}

.hn-salary-modal__title .hn-ic {
  width: 23px;
  height: 23px;
  color: var(--hn-orange);
}

.hn-salary-modal .hn-salary-sim {
  padding: 0;
  border: 0;
  background: transparent;
}

.hn-salary-modal .hn-salary-sim__lead {
  margin: 0 0 14px;
}

.hn-salary-sim__grid,
.hn-salary-sim__grid--backs,
.hn-salary-sim__result {
  grid-template-columns: 1fr !important;
}

.hn-salary-sim__grid {
  gap: 10px;
}

.hn-salary-sim__details {
  padding: 12px;
}

.hn-salary-sim__result > div {
  display: flex !important;
  min-height: 0 !important;
  justify-content: space-between;
  align-items: center;
}

.hn-salary-sim__result strong {
  text-align: right !important;
}

@media (min-width: 900px) {
  .hn-salary-modal {
    place-items: center;
    padding: 28px;
  }

  .hn-salary-modal__panel {
    padding: 22px 22px 24px;
    border-radius: 24px;
  }

  .hn-salary-sim-open {
    width: auto;
    min-width: 260px;
    justify-self: start;
  }
}


/* v0.2.8 salary simulator hard fix: button, modal visibility, single-column layout */
.hn-salary-sim-launch {
  display: block !important;
  margin-top: 14px !important;
  padding: 14px !important;
  border: 1px solid rgba(255, 115, 38, .18) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 100%) !important;
}

.hn-salary-sim-launch p,
.hn-salary-sim-launch small {
  display: block !important;
  margin: 0 !important;
  color: var(--hn-sub) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.hn-salary-sim-launch p + .hn-salary-sim-open,
.hn-salary-sim-launch .hn-salary-sim-open {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 10px 0 8px !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--hn-grad) !important;
  color: #fff !important;
  font-family: var(--hn-font-display) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 10px 20px rgba(255, 107, 26, .22) !important;
  cursor: pointer !important;
}

.hn-salary-sim-open .hn-ic {
  width: 19px !important;
  height: 19px !important;
  flex: 0 0 auto !important;
}

.hn-salary-modal,
.hn-salary-modal[hidden] {
  display: none !important;
}

.hn-salary-modal.is-open {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  display: grid !important;
  place-items: end center !important;
  padding: 18px 12px !important;
}

.hn-salary-modal__panel {
  width: min(640px, 100%) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: min(86vh, 760px) !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.hn-salary-modal .hn-salary-sim__grid,
.hn-salary-modal .hn-salary-sim__grid--backs,
.hn-salary-modal .hn-salary-sim__result {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.hn-salary-modal .hn-salary-sim__grid label {
  display: grid !important;
  grid-template-columns: 1fr !important;
  min-width: 0 !important;
}

.hn-salary-modal .hn-salary-sim__result > div {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: 0 !important;
}

.hn-salary-modal .hn-salary-sim__result strong {
  text-align: right !important;
}


/* v0.2.10 salary simulator select-range and mobile stability fixes */
.hn-salary-modal .hn-salary-sim select {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.hn-salary-modal .hn-salary-sim label,
.hn-salary-modal .hn-salary-sim__details,
.hn-salary-modal .hn-salary-sim__result,
.hn-salary-modal .hn-salary-sim__breakdown {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.hn-salary-modal__panel {
  overflow-x: hidden !important;
}

/* TOP FAQ / structured FAQ display */
.hn-top-faq-lead {
  margin: -4px 0 14px;
  color: var(--hn-sub);
  font-size: 14px;
  line-height: 1.75;
}
.hn-top-faq-section .hn-job-faqs {
  margin-top: 10px;
}

/* v0.2.34 TOP/archive job card layout */
.hn-job-card--structured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
}

.hn-job-card--structured .hn-job-card__pre,
.hn-job-card--structured .hn-job-card__content {
  min-width: 0;
  padding: 14px 15px 0;
}

.hn-job-card--structured .hn-job-card__content {
  padding-top: 10px;
  padding-bottom: 15px;
}

.hn-job-card--structured .hn-job-card__title {
  margin: 5px 0 5px;
  padding-right: 0;
  font-size: 16px;
  line-height: 1.35;
}

.hn-job-card--structured .hn-job-card__title a {
  color: inherit;
  text-decoration: none;
}

.hn-job-card__meta {
  margin: 0 0 7px;
  color: var(--hn-orange);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.hn-job-card__summary {
  margin: 0;
  color: var(--hn-sub);
  font-size: 12.5px;
  line-height: 1.6;
}

.hn-job-card__media {
  min-width: 0;
  padding: 12px 15px 0;
}

.hn-job-card-carousel-wrap {
  position: relative;
  min-width: 0;
}

.hn-job-card-carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.hn-job-card-carousel::-webkit-scrollbar {
  display: none;
}

.hn-job-card-carousel__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(15, 23, 42, .48);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.hn-job-card-carousel__nav--prev {
  left: 8px;
}

.hn-job-card-carousel__nav--next {
  right: 8px;
}

.hn-job-card-carousel__hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .52);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.hn-job-card-carousel__item {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  border-radius: 15px;
  overflow: hidden;
  background: var(--hn-cream-2);
  text-decoration: none;
}

.hn-job-card--structured .hn-job-card-carousel__item img,
.hn-job-card--structured img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hn-job-card__pay {
  display: grid;
  gap: 7px;
  margin: 0 0 10px;
}

.hn-job-card__pay p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 8px 10px;
  background: #fff8f2;
  border: 1px solid rgba(255, 115, 38, .14);
  border-radius: 12px;
  color: var(--hn-sub);
  font-size: 12px;
  line-height: 1.25;
}

.hn-job-card__pay span {
  flex: 0 0 auto;
  font-weight: 800;
}

.hn-job-card__pay strong {
  min-width: 0;
  color: var(--hn-orange);
  font-family: var(--hn-font-display);
  font-size: 17px;
  line-height: 1.2;
  text-align: right;
  overflow-wrap: anywhere;
}

.hn-job-card__catch {
  margin: 0 0 10px;
  color: var(--hn-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.hn-job-card__intro {
  margin: 0 0 11px;
  padding: 10px 11px;
  background: #fffdfb;
  border: 1px solid rgba(255, 115, 38, .12);
  border-radius: 13px;
}

.hn-job-card__intro summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
  list-style: none;
}

.hn-job-card__intro summary::-webkit-details-marker {
  display: none;
}

.hn-job-card__intro-preview {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--hn-sub);
  font-size: 12px;
  line-height: 1.65;
}

.hn-job-card__intro-toggle {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 172px;
  min-height: 34px;
  padding: 6px 18px;
  border: 1px solid rgba(15, 23, 42, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--hn-ink);
  box-shadow: 0 6px 15px rgba(15, 23, 42, .12);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.hn-job-card__intro-toggle-mark {
  color: var(--hn-orange);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

/* v0.2.35: keep the visible "少なく表示" button text intact.
   The summary-side toggle is hidden when open, so no text replacement is needed. */

.hn-job-card__intro-full {
  margin: 10px 0 0;
  color: var(--hn-sub);
  font-size: 12px;
  line-height: 1.7;
}

.hn-job-card__tags {
  margin-top: 10px;
}

.hn-job-card__cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 9px;
}

.hn-job-card__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 40px;
  padding-right: 8px;
  padding-left: 8px;
  box-sizing: border-box;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.hn-job-card__cta-btn .hn-ic {
  width: 15px;
  height: 15px;
}

.hn-job-card__cta-btn--line {
  background: linear-gradient(135deg, #34c759, #1eb84e);
}

.hn-job-card__cta-btn--tel {
  background: linear-gradient(135deg, #ff8a3a, #ff6417);
}

.hn-job-card__keep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255, 115, 38, .22);
  border-radius: 999px;
  background: #fff;
  color: var(--hn-orange);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.hn-job-card__keep .hn-ic {
  width: 16px;
  height: 16px;
}

.hn-job-card__keep.is-kept,
.hn-job-card__keep[aria-pressed="true"] {
  background: #fff0e6;
  border-color: rgba(255, 115, 38, .38);
  color: #d94d0b;
}

.hn-job-card__tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .34em .72em;
  background: #fff7ed;
  color: #9a3412;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid #fed7aa;
}


/* v0.2.35: expanded intro close button is placed below the tag area and centered. */
.hn-job-card__intro[open] summary .hn-job-card__intro-toggle {
  display: none;
}

.hn-job-card__intro-toggle--less {
  display: none;
  width: fit-content;
  margin: 12px auto 0;
  border: 1px solid rgba(15, 23, 42, .24);
  cursor: pointer;
  font-family: inherit;
}

.hn-job-card__intro[open] .hn-job-card__intro-toggle--less {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.hn-job-card__intro-toggle--less .hn-job-card__intro-toggle-text,
.hn-job-card__intro-toggle--less .hn-job-card__intro-toggle-mark {
  font-size: inherit;
}

.hn-job-card__intro-toggle--less .hn-job-card__intro-toggle-mark {
  font-size: 18px;
}

.hn-job-card__intro[open] .hn-job-card__intro-toggle--less .hn-job-card__intro-toggle-text::before,
.hn-job-card__intro[open] .hn-job-card__intro-toggle--less .hn-job-card__intro-toggle-mark::before {
  content: none;
}

/* v0.2.34: center card carousel arrows using CSS chevrons instead of font glyphs. */
.hn-job-card-carousel__nav {
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: 0;
}

.hn-job-card-carousel__nav::before {
  content: '';
  display: block;
  width: 11px;
  height: 11px;
  box-sizing: border-box;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.hn-job-card-carousel__nav--prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.hn-job-card-carousel__nav--next::before {
  transform: translateX(-2px) rotate(45deg);
}


/* v0.2.36: detail hero tag accordion, closed state shows about two tag rows. */
.hn-job-tags-accordion {
  margin-top: 14px;
}

.hn-job-tags-accordion summary {
  display: grid;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.hn-job-tags-accordion summary::-webkit-details-marker {
  display: none;
}

.hn-job-tags-accordion__collapsed {
  max-height: 56px;
  overflow: hidden;
}

.hn-job-tags-accordion__toggle,
.hn-job-tags-accordion__toggle--less {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 172px;
  min-height: 34px;
  width: fit-content;
  margin: 0 auto;
  padding: 6px 18px;
  border: 1px solid rgba(15, 23, 42, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--hn-ink);
  box-shadow: 0 6px 15px rgba(15, 23, 42, .12);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.hn-job-tags-accordion__toggle-mark {
  color: var(--hn-orange);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.hn-job-tags-accordion[open] summary {
  display: none;
}

.hn-job-tags-accordion__expanded {
  margin-top: 0;
}

.hn-job-tags-accordion__toggle--less {
  display: flex;
  width: fit-content;
  margin: 12px auto 0;
  gap: 7px;
}


/* ===== Side drawer menu ===== */
body.hn-side-open {
  overflow: hidden;
}

.hn-side-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(42, 34, 29, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

body.hn-side-open .hn-side-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.hn-side-menu {
  position: fixed;
  top: 0;
  left: max(0px, calc((100vw - 430px) / 2));
  z-index: 90;
  width: min(88vw, 390px);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fffdfb;
  border-right: 1px solid rgba(255, 115, 38, .16);
  box-shadow: 18px 0 38px rgba(60, 35, 18, .18);
  transform: translateX(-105%);
  transition: transform .22s ease;
}

body.hn-side-open .hn-side-menu {
  transform: translateX(0);
}

.hn-side-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 115, 38, .1);
}

.hn-side-menu__logo {
  font-family: var(--hn-font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}

.hn-side-menu__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff5ed;
  color: #7c2d12;
  font-size: 22px;
  line-height: 1;
}

.hn-side-menu__nav {
  flex: 1;
  padding: 14px 16px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hn-side-menu__group {
  margin: 0 0 10px;
  border: 1px solid rgba(255, 115, 38, .16);
  border-radius: 16px;
  background: #fffaf6;
  overflow: hidden;
}

.hn-side-menu__group--child {
  margin: 8px 0 0;
  border-color: rgba(255, 115, 38, .12);
  background: #fffdfb;
}

.hn-side-menu__summary {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 42px 13px 15px;
  color: #3b2f28;
  font-family: var(--hn-font-display);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.hn-side-menu__summary::-webkit-details-marker {
  display: none;
}

.hn-side-menu__summary::after {
  content: "▽";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hn-orange);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.hn-side-menu__group[open] > .hn-side-menu__summary::after {
  content: "△";
}

.hn-side-menu__panel {
  display: grid;
  gap: 2px;
  padding: 0 10px 12px;
}

.hn-side-menu__panel a,
.hn-side-menu__plain {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #5f5149;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.hn-side-menu__panel a:hover,
.hn-side-menu__plain:hover {
  background: #fff2e8;
  color: #9a3412;
}

.hn-side-menu__panel--tags a {
  color: #9a3412;
}

.hn-side-menu__plain {
  margin: 0 0 8px;
  border: 1px solid rgba(255, 115, 38, .12);
  background: #fff;
}

@media (min-width: 900px) {
  .hn-side-menu {
    left: max(0px, calc((100vw - 1080px) / 2));
    width: min(360px, 32vw);
  }
}

/* ===== Footer menu ===== */
.hn-footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 0 auto 14px;
}

.hn-footer-menu a {
  color: #8a7b72;
  font-size: 11px;
  font-weight: 700;
}

/* ===== v0.2.47 AI Engine bridge / side menu hard fix ===== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hn-site {
  position: relative;
}

body.hn-side-open {
  overflow: hidden;
  touch-action: none;
}

.hn-side-backdrop {
  left: 0 !important;
  right: 0 !important;
}

.hn-side-menu {
  left: 0 !important;
  right: auto !important;
  width: min(86vw, 360px) !important;
  max-width: 360px !important;
  min-width: 0 !important;
  overflow-x: hidden;
  transform: translate3d(-110%, 0, 0) !important;
  will-change: transform;
}

body.hn-side-open .hn-side-menu {
  transform: translate3d(0, 0, 0) !important;
}

.hn-side-menu,
.hn-side-menu * {
  box-sizing: border-box;
  max-width: 100%;
}

.hn-side-menu__nav {
  overflow-x: hidden;
}

.hn-side-menu__summary,
.hn-side-menu__panel a,
.hn-side-menu__plain {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 900px) {
  .hn-side-menu {
    width: 360px !important;
  }
}

@media (min-width: 900px) and (max-width: 1080px) {
  .hn-side-menu {
    left: 0 !important;
  }
}

.hn-ai-input {
  display: block;
}

.hn-ai-input textarea {
  display: block;
}

.hn-ai-input button[type="submit"] {
  display: inline-flex;
}

.hn-ai-soudan-page .hn-section {
  display: block;
}

.hn-ai-soudan-content {
  overflow: visible;
}

.hn-ai-soudan-lead {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 115, 38, .18);
  border-radius: 16px;
  background: #fff7ed;
  color: #7c2d12;
  font-size: 14px;
  font-weight: 700;
}

.hn-ai-soudan-lead p {
  margin: 0;
}

.hn-ai-soudan-body {
  margin-top: 24px;
}

.hn-ai-soudan-fallback {
  padding: 16px;
  border: 1px dashed rgba(255, 115, 38, .3);
  border-radius: 18px;
  background: #fffaf6;
}

/* v0.2.49: Hide AI Engine's native frontend widgets/site-wide chatbot.
   はたらくNightでは独自AIブリッジUIを使うため、AI Engine本体の吹き出し・フッター出力は非表示にする。 */
body .mwai-window,
body .mwai-trigger,
body .mwai-open-button,
body .mwai-chatbot-button,
body .mwai-chatbot-container,
body .mwai-chatbot,
body .mwai-bubble,
body .mwai-chatgpt-theme.mwai-window,
body .mwai-chatgpt-theme.mwai-bubble,
body .mwai-timeless-theme.mwai-window,
body .mwai-timeless-theme.mwai-bubble,
body .mwai-messages-theme.mwai-window,
body .mwai-messages-theme.mwai-bubble {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}


/* v0.2.51: AI相談室ページの外枠装飾を解除 */
.hn-ai-soudan-page .hn-section,
.hn-ai-soudan-page .hn-ai-soudan-section {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.hn-ai-soudan-page .hn-content,
.hn-ai-soudan-page .hn-ai-soudan-content {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* v0.2.52: job detail keep buttons */
body.single-job .hn-apply-btn--keep,
body.single-job .hn-job-fixed-cta__btn--keep {
  color: #fff;
  background: var(--hn-grad);
  border: 1.6px solid var(--hn-orange);
  box-shadow: 0 8px 18px rgba(255, 111, 28, .22);
}

body.single-job .hn-apply-btn--keep.is-kept,
body.single-job .hn-apply-btn--keep[aria-pressed="true"],
body.single-job .hn-job-fixed-cta__btn--keep.is-kept,
body.single-job .hn-job-fixed-cta__btn--keep[aria-pressed="true"] {
  color: var(--hn-orange);
  background: #fff;
  border-color: var(--hn-orange);
  box-shadow: none;
}

body.single-job .hn-job-fixed-cta {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}

body.single-job .hn-apply-btn--keep {
  width: 100%;
}

body.single-job .hn-apply-btns .hn-apply-btn--keep {
  grid-column: 1 / -1;
}

/* v0.2.56: AI相談例カルーセルの横スクロール誘導バー */
.hn-ai-question-carousel {
  position: relative;
  padding-bottom: 13px;
}

.hn-ai-question-carousel::after {
  content: "";
  display: block;
  width: min(156px, 46%);
  height: 5px;
  margin: 1px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 107, 26, .9) 0 34%, rgba(255, 215, 189, .9) 34% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 115, 38, .08), 0 4px 10px rgba(255, 115, 38, .12);
}

.hn-ai-question-carousel::before {
  content: "左右にスライドできます";
  display: block;
  margin: 0 0 6px;
  color: #9a7a66;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  letter-spacing: .02em;
}


/* v0.2.57: PCでも質問カルーセルを掴んで動かしやすくする */
.hn-ai-questions {
  cursor: grab;
}

.hn-ai-questions.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.hn-ai-questions.is-dragging button {
  pointer-events: none;
}

/* v0.2.64: TOP column category links with category background images */
.hn-column-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.hn-column-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 122px;
  padding: 15px 34px 14px 15px;
  overflow: hidden;
  background-color: #8a817c;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(255, 115, 38, .18);
  border-radius: 15px;
  box-shadow: 0 5px 13px rgba(120, 70, 35, .08);
  color: #fff;
  isolation: isolate;
}

.hn-column-category-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 24, 20, .08) 18%, rgba(32, 24, 20, .78) 100%);
  content: "";
}

.hn-column-category-card__content {
  display: flex;
  flex-direction: column;
}

.hn-column-category-card__name {
  color: #fff;
  font-family: var(--hn-font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

.hn-column-category-card__count {
  margin-top: 5px;
  color: rgba(255, 255, 255, .88);
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}

.hn-column-category-card > .hn-ic {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 17px;
  height: 17px;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5));
  transform: translateY(-50%);
}

/* v0.2.64: column article checklist / FAQ / CTA shortcodes */
.hn-content .column-checklist,
.hn-content .column-faq,
.hn-content .column-cta {
  margin: 28px 0;
}

.hn-content .column-checklist {
  padding: 18px 18px 16px;
  background: var(--hn-cream);
  border: 1px solid rgba(255, 115, 38, .22);
  border-radius: 16px;
}

.hn-content .column-checklist__title {
  margin: 0 0 12px;
  color: var(--hn-ink);
  font-family: var(--hn-font-display);
  font-size: 17px;
  font-weight: 800;
}

.hn-content .column-checklist ul,
.hn-content .column-checklist ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hn-content .column-checklist li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 30px;
  border-bottom: 1px dashed rgba(255, 115, 38, .2);
}

.hn-content .column-checklist li:last-child {
  border-bottom: 0;
}

.hn-content .column-checklist li::before {
  content: "✓";
  position: absolute;
  top: 8px;
  left: 0;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: #fff;
  background: var(--hn-orange);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.hn-content .column-faq > h2 {
  margin-bottom: 16px;
}

.hn-content .column-faq__item {
  margin: 0 0 12px;
  padding: 17px 18px;
  background: #fffaf6;
  border: 1px solid rgba(255, 115, 38, .18);
  border-radius: 15px;
}

.hn-content .column-faq__item h3 {
  position: relative;
  margin: 0 0 10px;
  padding-left: 32px;
  font-size: 17px;
}

.hn-content .column-faq__item h3::before {
  content: "Q";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  background: var(--hn-orange);
  border-radius: 50%;
  font-family: var(--hn-font-display);
  font-size: 13px;
  font-weight: 800;
}

.hn-content .column-faq__answer,
.hn-content .column-faq__item > p {
  position: relative;
  padding-left: 32px;
}

.hn-content .column-faq__answer::before,
.hn-content .column-faq__item > p::before {
  content: "A";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--hn-orange);
  background: #fff;
  border: 1px solid var(--hn-orange);
  border-radius: 50%;
  font-family: var(--hn-font-display);
  font-size: 13px;
  font-weight: 800;
}

.hn-content .column-faq__answer p:last-child,
.hn-content .column-faq__item > p:last-child {
  margin-bottom: 0;
}

.hn-content .column-cta {
  padding: 22px 18px;
  border-radius: 18px;
  text-align: center;
}

.hn-content .column-cta--ai {
  background: linear-gradient(135deg, #fff2e8, #fff8f2);
  border: 1px solid rgba(255, 107, 26, .25);
}

.hn-content .column-cta--jobs {
  background: #fff;
  border: 1px solid rgba(255, 107, 26, .28);
  box-shadow: var(--hn-shadow);
}

.hn-content .column-cta__title {
  margin: 0 0 9px;
  font-family: var(--hn-font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.hn-content .column-cta p {
  margin-bottom: 13px;
}

.hn-content .column-cta p:last-child {
  margin-bottom: 0;
}

.hn-content .column-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  color: #fff;
  background: var(--hn-grad);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255, 111, 28, .22);
  font-family: var(--hn-font-display);
  font-weight: 800;
  text-decoration: none;
}

@media (min-width: 900px) {
  .hn-column-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .hn-column-category-card {
    min-height: 104px;
    padding: 18px 40px 18px 18px;
  }

  .hn-column-category-card__name {
    font-size: 16px;
  }

  .hn-column-category-card__count {
    font-size: 12px;
  }

  .hn-content .column-checklist,
  .hn-content .column-faq__item,
  .hn-content .column-cta {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* v0.2.64: article table layout styles */
.hn-content .wp-block-table,
.hn-content .column-table,
.hn-content table {
  margin-top: 28px;
  margin-bottom: 28px;
}

/* Gutenbergのテーブルブロックと、任意で付ける .column-table をスクロール領域にする */
.hn-content .wp-block-table,
.hn-content .column-table {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 115, 38, .18);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(120, 70, 35, .06);
  -webkit-overflow-scrolling: touch;
}

.hn-content .wp-block-table table,
.hn-content .column-table table {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hn-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  background: #fff;
  border: 1px solid rgba(255, 115, 38, .18);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(120, 70, 35, .06);
  color: var(--hn-ink);
  font-size: 14px;
}

.hn-content table caption {
  caption-side: top;
  padding: 0 0 10px;
  color: var(--hn-sub);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  text-align: left;
}

.hn-content table th,
.hn-content table td {
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 115, 38, .14);
  border-bottom: 1px solid rgba(255, 115, 38, .14);
  vertical-align: top;
  line-height: 1.75;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hn-content table th:last-child,
.hn-content table td:last-child {
  border-right: 0;
}

.hn-content table tr:last-child th,
.hn-content table tr:last-child td,
.hn-content table tfoot tr:last-child th,
.hn-content table tfoot tr:last-child td {
  border-bottom: 0;
}

.hn-content table thead th {
  color: var(--hn-ink);
  background: linear-gradient(180deg, #fff6ef 0%, #fff0e4 100%);
  font-family: var(--hn-font-display);
  font-weight: 800;
  white-space: nowrap;
}

.hn-content table tbody th {
  min-width: 120px;
  color: var(--hn-ink);
  background: #fffaf6;
  font-weight: 800;
}

.hn-content table tbody tr:nth-child(even) td {
  background: rgba(255, 247, 241, .62);
}

.hn-content .wp-block-table.is-style-stripes {
  border-bottom: 1px solid rgba(255, 115, 38, .18);
}

.hn-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) td,
.hn-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) th {
  background: rgba(255, 247, 241, .75);
}

.hn-content table tfoot th,
.hn-content table tfoot td {
  color: var(--hn-ink);
  background: #fff6ef;
  font-weight: 800;
}

.hn-content table a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hn-content table strong {
  color: var(--hn-ink);
}

.hn-content .table-note,
.hn-content .wp-block-table figcaption,
.hn-content .column-table figcaption {
  margin: 9px 2px 0;
  color: var(--hn-sub);
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 899px) {
  /* ラッパーのない通常HTMLテーブルもスマホでは横スクロール可能にする */
  .hn-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
  }

  /* Gutenbergや.column-tableでは外側のラッパーをスクロール領域にする */
  .hn-content .wp-block-table table,
  .hn-content .column-table table {
    display: table;
    min-width: 560px;
    overflow: visible;
  }

  .hn-content table th,
  .hn-content table td {
    min-width: 110px;
    padding: 11px 12px;
  }
}

@media (min-width: 900px) {
  .hn-content table {
    font-size: 15px;
  }

  .hn-content table th,
  .hn-content table td {
    padding: 14px 16px;
  }
}



/* v0.2.68: side menu area groups generated from job_area hierarchy */
.hn-side-menu__panel--areas {
  gap: 8px;
}

.hn-side-menu__area-group {
  border-top: 1px solid rgba(255, 115, 38, .10);
}

.hn-side-menu__area-group:first-child {
  border-top: 0;
}

.hn-side-menu__area-summary {
  position: relative;
  list-style: none;
  min-height: 42px;
  padding: 10px 34px 10px 12px;
  color: #3b2f28;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.hn-side-menu__area-summary::-webkit-details-marker {
  display: none;
}

.hn-side-menu__area-summary::after {
  content: "▽";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hn-orange);
  font-size: 12px;
  line-height: 1;
}

.hn-side-menu__area-group[open] > .hn-side-menu__area-summary::after {
  content: "△";
}

.hn-side-menu__area-links {
  display: grid;
  gap: 2px;
  padding: 0 0 6px 10px;
}

.hn-side-menu__area-links a {
  min-height: 38px;
  padding: 8px 12px;
  font-weight: 700;
}

/* v0.2.70: editable column category copy */
.hn-column-category-card__description{display:block;margin-top:4px;font-size:.78rem;line-height:1.45;opacity:.92}

/* v0.2.71: top settings full-text audit + AI heading visibility */
