/*
  はたらくNight — PC / desktop layout
  All rules are wrapped in @media (min-width:900px). Below that width the
  mobile-first rules in style.css apply unchanged. The breakpoint is the
  single place that switches the site between the phone and desktop layouts.
*/

@media (min-width: 900px) {

  /* ===== Page frame ===== */
  body {
    background: #f3f0ee;
  }

  .hn-top,
  .hn-site {
    max-width: 1080px;
    overflow: visible;
    box-shadow: 0 0 60px rgba(120, 70, 35, .09);
    background:
      radial-gradient(circle at top right, rgba(255, 122, 40, .08), transparent 30%),
      #fffdfb;
  }

  /* ===== Header — hamburger left, centered logo + tagline, button right ===== */
  .hn-header {
    position: sticky;
    height: 86px;
    padding: 0 36px;
  }

  .hn-menu {
    width: 44px;
    height: 44px;
  }

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

  .hn-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    font-size: 30px;
    line-height: 1.05;
  }

  .hn-logo-en::before {
    top: -.5em;
  }

  .hn-logo-sub {
    display: block;
    flex-basis: 100%;
    margin-top: 8px;
    text-align: center;
    color: var(--hn-sub);
    font-family: var(--hn-font-body);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .02em;
  }

  .hn-header-ai {
    padding: 13px 22px;
    font-size: 15px;
  }

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

  /* ===== Hero — full-width background image, copy overlaid on the left ===== */
  .hn-hero-image {
    position: relative;
    display: block;
    min-height: 560px;
    padding: 0;
    overflow: hidden;
    background: #f6ece4;
  }

  /* photo fills the whole first view; keep the subject (right side) in frame */
  .hn-hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% center;
    border-radius: 0;
    box-shadow: none;
  }

  /* cream scrim fading left→right so dark copy stays readable over any photo */
  .hn-hero-image::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      90deg,
      rgba(255, 248, 242, .97) 0%,
      rgba(255, 248, 242, .88) 30%,
      rgba(255, 248, 242, .40) 52%,
      rgba(255, 248, 242, 0) 70%
    );
  }

  /* copy box spans the page container; text sits in its left half */
  .hn-hero-copy {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1080px;
    padding: 0 36px;
    box-sizing: border-box;
    color: var(--hn-ink);
  }

  .hn-hero-copy > * {
    max-width: 470px;
  }

  .hn-hero-sub {
    margin-bottom: 10px;
    color: var(--hn-ink);
    font-size: 20px;
  }

  .hn-hero-copy h1 {
    font-size: 52px;
    line-height: 1.2;
    color: var(--hn-ink);
    text-shadow: none;
  }

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

  .hn-hero-copy h1 br {
    display: none;
  }

  .hn-hero-lead {
    margin-top: 18px;
    color: var(--hn-sub);
    font-size: 17px;
  }

  .hn-hero-tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hn-hero-tags span {
    font-size: 14px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--hn-line);
    box-shadow: 0 6px 16px rgba(120, 70, 35, .12);
  }

  /* ===== Hero CTA — two wide buttons (PC only) ===== */
  .hn-hero-cta {
    display: flex;
    gap: 16px;
    padding: 22px 36px 10px;
  }

  .hn-hero-cta a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 66px;
    border-radius: 16px;
    font-family: var(--hn-font-display);
    font-size: 19px;
    font-weight: 800;
    transition: transform .12s ease, box-shadow .12s ease;
  }

  .hn-hero-cta a:hover {
    transform: translateY(-2px);
  }

  .hn-hero-cta a .hn-ic {
    width: 22px;
    height: 22px;
  }

  .hn-hero-cta-primary {
    color: #fff;
    background: var(--hn-grad);
    box-shadow: 0 12px 26px rgba(255, 111, 28, .28);
  }

  .hn-hero-cta-secondary {
    color: var(--hn-orange);
    background: #fff;
    border: 1.6px solid var(--hn-orange);
  }

  /* ===== AI consult card ===== */
  .hn-ai-card {
    margin: 24px 36px 0;
    padding: 30px 32px;
    border-radius: 24px;
  }

  .hn-ai-head h2 {
    font-size: 28px;
  }

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

  .hn-ai-subtitle {
    display: inline;
    margin-left: 14px;
    color: var(--hn-sub);
    font-family: var(--hn-font-body);
    font-size: 15px;
    font-weight: 500;
  }

  .hn-ai-head .hn-ai-badge {
    padding: 9px 16px;
    font-size: 13px;
  }

  .hn-ai-question-carousel {
    margin-top: 22px;
  }

  .hn-ai-questions {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .hn-ai-questions button {
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    min-width: 210px;
    min-height: 0;
    padding: 14px 18px;
    border-radius: 999px;
  }

  .hn-ai-questions button .hn-ic {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 999px;
  }

  .hn-ai-questions button em {
    flex: none;
    font-size: 14.5px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .hn-ai-input {
    margin-top: 18px;
  }

  .hn-ai-input textarea {
    min-height: 124px;
    padding: 22px 22px 66px;
    border-radius: 16px;
  }

  .hn-ai-note {
    margin-top: 14px;
    text-align: right;
  }

  /* ===== Sections ===== */
  .hn-section {
    padding: 48px 36px 6px;
  }

  .hn-section-head {
    margin-bottom: 22px;
  }

  .hn-section-head h2 {
    font-size: 26px;
  }

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

  .hn-section-head a {
    font-size: 15px;
  }

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

  /* ===== Columns — 2 per row, with 読む link ===== */
  .hn-column-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hn-column-card {
    grid-template-columns: 152px 1fr;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
  }

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

  .hn-column-card > a,
  .hn-column-card > img,
  .hn-column-card img {
    width: 152px;
    height: 112px;
  }

  .hn-column-card h3 {
    font-size: 18px;
  }

  .hn-column-card p {
    font-size: 13.5px;
  }

  .hn-col-more {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 10px;
    color: var(--hn-orange);
    font-family: var(--hn-font-display);
    font-size: 14px;
    font-weight: 700;
  }

  .hn-col-more .hn-ic {
    width: 15px;
    height: 15px;
  }

  /* ===== Condition grid — 3 per row ===== */
  .hn-condition-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .hn-condition-grid a {
    min-height: 64px;
    padding: 14px 20px;
    font-size: 16px;
  }

  .hn-condition-grid a .hn-ic {
    width: 25px;
    height: 25px;
  }

  .hn-more-button {
    min-height: 58px;
    margin-top: 16px;
    font-size: 16px;
  }

  /* ===== Jobs — wide horizontal card + chevron ===== */
  .hn-job-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hn-job-card {
    grid-template-columns: 248px 1fr;
    align-items: stretch;
  }

  .hn-job-card img {
    width: 248px;
    min-height: 186px;
  }

  .hn-job-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--hn-cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b1a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") no-repeat center / 17px;
  }

  .hn-job-fav {
    display: none;
  }

  .hn-job-body {
    padding: 24px 92px 24px 28px;
  }

  .hn-job-body h3 {
    margin-top: 9px;
    padding-right: 0;
    font-size: 20px;
  }

  .hn-job-area {
    font-size: 13px;
  }

  .hn-job-pay {
    font-size: 14px;
  }

  .hn-job-pay strong {
    font-size: 22px;
  }

  .hn-job-tags span {
    font-size: 11.5px;
  }

  /* ===== Voice — 2 per row (not in mockup; matched to PC system) ===== */
  .hn-voice-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hn-voice-card {
    grid-template-columns: 84px 1fr;
    gap: 18px;
    padding: 22px;
  }

  .hn-voice-card img {
    width: 84px;
    height: 84px;
  }

  .hn-voice-card h3 {
    font-size: 17px;
  }

  .hn-voice-card p {
    font-size: 13.5px;
  }

  /* ===== Features — icon-left cards, 2x2 ===== */
  .hn-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hn-feature-grid article {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 22px 24px;
    text-align: left;
  }

  .hn-feature-ic {
    grid-row: 1 / 3;
    align-self: center;
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 16px;
  }

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

  .hn-feature-grid h3 {
    grid-column: 2;
    margin: 0 0 5px;
    font-size: 16px;
  }

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

  .hn-feature-grid p {
    grid-column: 2;
    font-size: 13px;
  }

  /* ===== Flow — 2-column cards, no connector line ===== */
  .hn-flow-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 28px;
  }

  .hn-flow-list li {
    grid-template-columns: 42px 30px auto 1fr;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--hn-line);
    border-radius: 16px;
    box-shadow: var(--hn-shadow);
  }

  .hn-flow-list li:not(:last-child)::after {
    display: none;
  }

  .hn-flow-num {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .hn-flow-list strong {
    font-size: 16px;
  }

  .hn-flow-list p {
    font-size: 13px;
  }

  /* ===== Final CTA bar ===== */
  .hn-final-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 50px 36px 46px;
    padding: 30px 38px;
    grid-template-columns: none;
  }

  .hn-final-cta::before {
    content: "";
    flex: none;
    width: 52px;
    height: 52px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a7.5 7.5 0 0 1-10.6 6.8L4 19l1-4.2A7.5 7.5 0 1 1 20 11.5Z'/%3E%3Ccircle cx='8.5' cy='11.5' r='1' fill='%23fff' stroke='none'/%3E%3Ccircle cx='12' cy='11.5' r='1' fill='%23fff' stroke='none'/%3E%3Ccircle cx='15.5' cy='11.5' r='1' fill='%23fff' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain;
  }

  .hn-cta-robot {
    display: none;
  }

  .hn-cta-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 24px;
  }

  .hn-cta-body h2 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 24px;
  }

  .hn-cta-body p {
    grid-column: 1;
    grid-row: 2;
    margin: 4px 0 0;
    font-size: 14px;
  }

  .hn-cta-body a {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    padding: 16px 28px;
    font-size: 17px;
  }

  .hn-final-cta a .hn-ic:first-child {
    display: none;
  }

  /* ===== Footer ===== */
  .hn-footer {
    padding: 36px 36px 50px;
    margin-bottom: 50px;
  }

  .hn-footer .hn-logo {
    position: static;
    transform: none;
    font-size: 24px;
  }

  .hn-footer .hn-logo-sub {
    display: none;
  }

  /* ===== Job archive (PC) ===== */
  .hn-job-archive,
  .hn-job-detail {
    padding-left: 0;
    padding-right: 0;
  }

  .hn-job-archive .hn-page-hero {
    padding: 44px 40px 8px;
  }

  .hn-job-archive .hn-section {
    padding: 24px 40px 16px;
  }

  .hn-chip {
    padding: 8px 15px;
    font-size: 14px;
  }

  .hn-job-filter-label {
    font-size: 13px;
  }

  .hn-job-archive .hn-job-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hn-job-archive .hn-job-card {
    grid-template-columns: 210px 1fr;
  }

  .hn-job-archive .hn-job-card img {
    width: 210px;
    min-height: 172px;
  }

  .hn-job-archive .hn-job-card::after {
    display: none;
  }

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

  .hn-job-archive .hn-job-body h3 {
    font-size: 17px;
  }

  /* ===== Job detail (PC) ===== */
  .hn-job-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 34px;
    padding: 44px 40px 8px;
  }

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

  .hn-job-hero-img img {
    height: 360px;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(120, 70, 35, .16);
  }

  .hn-job-hero-body {
    padding: 0;
  }

  .hn-job-detail h1 {
    font-size: 32px;
  }

  .hn-job-hero-pay strong {
    font-size: 30px;
  }

  .hn-job-detail-body {
    max-width: 820px;
    margin: 0 auto;
    padding: 44px 40px 0;
    gap: 30px;
  }

  .hn-job-block h2 {
    font-size: 22px;
  }

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

  .hn-spec-table dt,
  .hn-spec-table dd {
    padding: 15px 18px;
    font-size: 14.5px;
  }

  .hn-merit-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hn-apply {
    padding: 28px 30px 30px;
  }

  .hn-apply-btns {
    display: flex;
    gap: 14px;
  }

  .hn-apply-btn {
    flex: 1;
  }
}
/* Hataraku Night Core v0.1.0 field display support */
@media (min-width: 900px) {
  .hn-job-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .hn-job-faq summary {
    padding: 15px 18px;
    font-size: 15px;
  }

  .hn-job-faq p {
    padding: 0 18px 16px;
    font-size: 14.5px;
  }

  .hn-job-flow li {
    grid-template-columns: 36px 1fr;
    padding: 16px 18px;
  }

  .hn-job-flow li > span {
    width: 36px;
    height: 36px;
  }
}

@media (min-width:900px){.hn-job-filter-groups{grid-template-columns:1fr}.hn-job-filter-group{grid-template-columns:140px minmax(0,1fr);align-items:start}.hn-job-filter-group>.hn-chip--parent{justify-content:center}}

/* v0.2.4 archive/detail corrections */
@media (min-width: 900px) {
  .hn-job-archive .hn-job-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .hn-job-archive .hn-job-card {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hn-job-archive .hn-job-card::after {
    display: none;
  }

  .hn-job-archive .hn-job-thumb {
    display: block;
    width: 100%;
  }

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

  .hn-job-archive .hn-job-body {
    padding: 14px 16px 16px;
  }

  .hn-job-archive .hn-job-card-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(128px, 38%);
    gap: 12px;
    align-items: start;
  }

  .hn-job-archive .hn-job-card-main {
    min-width: 0;
  }

  .hn-job-archive .hn-job-labels span {
    padding: 3px 9px;
    font-size: 10px;
  }

  .hn-job-archive .hn-job-body h3 {
    margin: 6px 0 4px;
    padding-right: 0;
    font-size: 15px;
    line-height: 1.35;
  }

  .hn-job-archive .hn-job-area {
    margin-bottom: 5px;
    font-size: 11.5px;
  }

  .hn-job-archive .hn-job-pay {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .hn-job-archive .hn-job-pay strong {
    font-size: 17px;
  }

  .hn-job-archive .hn-job-summary {
    margin-bottom: 0;
    font-size: 11.5px;
    line-height: 1.55;
  }

  .hn-job-archive .hn-job-tags {
    justify-content: flex-end;
    align-content: start;
    gap: 5px;
  }

  .hn-job-archive .hn-job-tags a,
  .hn-job-archive .hn-job-tags span {
    padding: .30em .58em;
    font-size: 10px;
    line-height: 1.2;
  }

  .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-job-fixed-cta {
    left: 50%;
    right: auto;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(820px, calc(100% - 40px));
    padding: 10px;
    border: 1px solid rgba(255, 115, 38, .16);
    border-radius: 999px;
  }

  .hn-job-fixed-cta__btn {
    min-height: 52px;
    font-size: 15px;
  }

  .hn-job-gallery {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 14px;
  }

  .hn-job-gallery img {
    flex: 0 0 min(72vw, 760px);
    width: min(72vw, 760px);
    max-width: 760px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    scroll-snap-align: start;
    border-radius: 20px;
  }
}


/* v0.2.5 gallery sizing correction */
@media (min-width: 900px) {
  .hn-job-gallery img {
    flex-basis: min(68%, 680px);
    width: min(68%, 680px);
    max-width: 680px;
  }
}


/* v0.2.6 overrides */
@media (min-width: 900px) {
  .hn-feature-grid {
    grid-template-columns: 1fr;
  }
  .hn-feature-grid article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    text-align: left;
  }
  .hn-feature-ic {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }
  .hn-feature-grid h3,
  .hn-feature-grid p {
    grid-column: 2;
  }
  .hn-feature-grid h3 br {
    display: none;
  }
  .hn-merit-list--check {
    grid-template-columns: 1fr !important;
  }
}

/* v0.2.7 salary simulator must stay single column inside modal */
@media (min-width: 900px) {
  .hn-salary-modal .hn-salary-sim__grid,
  .hn-salary-modal .hn-salary-sim__grid--backs,
  .hn-salary-modal .hn-salary-sim__result {
    grid-template-columns: 1fr !important;
  }
}


/* v0.2.8 salary simulator hard fix: keep modal hidden until opened and single column */
@media (min-width: 900px) {
  .hn-salary-modal,
  .hn-salary-modal[hidden] {
    display: none !important;
  }
  .hn-salary-modal.is-open {
    display: grid !important;
  }
  .hn-salary-modal .hn-salary-sim__grid,
  .hn-salary-modal .hn-salary-sim__grid--backs,
  .hn-salary-modal .hn-salary-sim__result {
    grid-template-columns: 1fr !important;
  }
  .hn-salary-modal .hn-salary-sim__result > div {
    display: flex !important;
    min-height: 0 !important;
  }
}

/* v0.2.40 TOP/archive job card layout: PC carousel image height follows card height */
@media (min-width: 900px) {
  .hn-job-card--structured,
  .hn-job-archive .hn-job-card--structured {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    grid-template-areas:
      "media pre"
      "media content";
    align-items: stretch;
    gap: 0;
  }

  .hn-job-card--structured .hn-job-card__pre {
    grid-area: pre;
    padding: 20px 24px 0;
  }

  .hn-job-card--structured .hn-job-card__media {
    grid-area: media;
    align-self: stretch;
    display: flex;
    height: 100%;
    min-height: 420px;
    padding: 0;
  }

  .hn-job-card--structured .hn-job-card__content {
    grid-area: content;
    padding: 12px 24px 22px;
  }

  .hn-job-card--structured .hn-job-card-carousel-wrap,
  .hn-job-card--structured .hn-job-card-carousel {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 420px;
  }

  .hn-job-card--structured .hn-job-card-carousel__item {
    flex: 0 0 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 0;
  }

  .hn-job-card--structured .hn-job-card-carousel__nav {
    width: 38px;
    height: 38px;
    font-size: 0;
  }

  .hn-job-card--structured .hn-job-card-carousel__item img,
  .hn-job-card--structured img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
  }

  .hn-job-card--structured .hn-job-card__title {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.35;
  }

  .hn-job-card--structured .hn-job-card__meta {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .hn-job-card--structured .hn-job-card__summary {
    font-size: 13px;
  }

  .hn-job-card--structured .hn-job-card__pay {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .hn-job-card--structured .hn-job-card__pay p {
    display: grid;
    gap: 4px;
    align-items: start;
  }

  .hn-job-card--structured .hn-job-card__pay strong {
    text-align: left;
    font-size: 20px;
  }

  .hn-job-card--structured .hn-job-card__catch {
    font-size: 14px;
  }

  .hn-job-card--structured .hn-job-card__intro-preview,
  .hn-job-card--structured .hn-job-card__intro-full {
    font-size: 13px;
  }

  .hn-job-card--structured .hn-job-card__cta {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    max-width: 360px;
  }

  .hn-job-card--structured .hn-job-card__keep {
    width: auto;
    min-width: 160px;
    padding: 0 18px;
  }

  .hn-job-archive .hn-job-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hn-job-archive .hn-job-card--structured .hn-job-card__title {
    font-size: 20px;
  }

  .hn-job-archive .hn-job-card--structured .hn-job-card__summary {
    font-size: 13px;
  }
}

@media (min-width: 900px) {
  .hn-job-card--structured::after {
    display: none !important;
  }
}

/* v0.2.41 PC only: place CTA buttons and keep button on the same row */
@media (min-width: 900px) {
  .hn-job-card--structured .hn-job-card__cta {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    width: min(360px, calc(100% - 180px));
    max-width: 360px;
    margin: 0 10px 0 0;
    vertical-align: middle;
  }

  .hn-job-card--structured .hn-job-card__keep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    margin: 0;
    padding: 0 18px;
    vertical-align: middle;
    white-space: nowrap;
  }
}

/* v0.2.42 PC only: center the CTA group (LINE / phone / keep) within the content column */
@media (min-width: 900px) {
  .hn-job-card--structured .hn-job-card__content {
    text-align: center;
  }

  .hn-job-card--structured .hn-job-card__pay,
  .hn-job-card--structured .hn-job-card__catch,
  .hn-job-card--structured .hn-job-card__intro,
  .hn-job-card--structured .hn-job-card__intro-preview,
  .hn-job-card--structured .hn-job-card__intro-full,
  .hn-job-card--structured .hn-job-card__tags {
    text-align: left;
  }

  .hn-job-card--structured .hn-job-card__cta {
    margin: 0 10px 0 0;
  }

  .hn-job-card--structured .hn-job-card__keep {
    margin: 0;
  }
}


/* 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.56: AI相談例カルーセルの横スクロール誘導バー */
@media (min-width: 900px) {
  .hn-ai-question-carousel::before {
    font-size: 12px;
  }

  .hn-ai-question-carousel::after {
    content: none;
    display: none;
  }
}


/* v0.2.57: PCでは横スクロール可能であることを操作上も分かりやすくする */
@media (min-width: 900px) {
  .hn-ai-question-carousel {
    padding-left: 34px;
    padding-right: 34px;
  }

  .hn-ai-questions {
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 115, 38, .55) rgba(255, 221, 196, .7);
  }

  .hn-ai-questions::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  .hn-ai-questions::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 221, 196, .7);
  }

  .hn-ai-questions::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 115, 38, .62);
  }
}
