/* Requested edits on top of the mirrored source CSS (not part of the source site). */

/* 2026-11-23: header top strip removed -> close the gap it left; login button added (PC only). */
@media screen and (min-width: 769px) {
  .c-header__inner { align-items: center; padding-top: 14px; }
  .c-header__logo { margin-top: 0; }
  .c-header__right { display: flex; align-items: center; gap: 16px; }
  .c-header__rightNav { margin-top: 0; }
  /* same look as the source's outlined login button (.c-signUpBox__btn.u-login), header-sized */
  .c-header__loginBtn {
    display: flex; align-items: center; justify-content: center;
    width: 132px; height: 44px; font-size: 15px; font-weight: 700; line-height: 100%;
    color: #1953d4; background: #fff; border: 2px solid #1953d4; border-radius: 40px;
    box-shadow: 0 -4px 14px #1abec82e inset, 0 15px 20px -10px #0bb1e58c;
    transition: all 0.3s;
  }
  .c-header__loginBtn:hover { opacity: 0.8; }
  /* logged-in page: マイページ (filled, like the source's u-signup button) + ログアウト (outlined) */
  .c-header__loginBtn.u-mypage { color: #fff; background: linear-gradient(94deg, #11b5ff, #1953d4); border-color: transparent; }
  .c-header__loginBtn.u-mypage + .c-header__loginBtn { margin-left: -4px; }
}

/* 2026-11-23: search box full width; sidebar moved to the left of the main column (PC only). */
@media screen and (min-width: 769px) {
  .p-top__inner { grid-template-columns: 320px 1fr; gap: 36px 40px; }
  .p-top__inner > .s-searchBox { grid-column: 1 / -1; grid-row: 1; margin-top: 36px; }
  /* phone-only hero: on PC it was just the 36px spacer above the search box (kept as the margin above) */
  .p-top__main > .s-topKv { display: none; }
  .p-top__side { grid-column: 1; grid-row: 2; }
  .p-top__main { grid-column: 2; grid-row: 2; min-width: 0; }
  .p-top__main #b_dash1 > .s-recJob { margin-top: 0; }
}

/* 2026-11-23: sidebar search conditions open inside the sidebar instead of a popup (PC only).
   The site's own forms are moved into .c-sidePanel by mirror-sidebar-search.js. */
@media screen and (min-width: 769px) {
  .c-sidePanel { display: none; }
  .c-sidePanel.is-open { display: block; padding-bottom: 18px; border-bottom: 2px solid #f1f5f6; }
  /* details section: its repeated 職種 / 勤務地 lists are hidden (they have their own sections) */
  .c-sidePanel #formDetails > .c-searchModal__form--subttl,
  .c-sidePanel #formDetails > .c-formItem.permanent_jobs,
  .c-sidePanel #formDetails > .c-formItem.work_locations { display: none; }
  .c-searchByBox__btn--count {
    display: inline-block; min-width: 20px; padding: 3px 6px; margin-left: 8px; font-family: Outfit, sans-serif;
    font-size: 12px; line-height: 100%; color: #fff; text-align: center; vertical-align: 1px;
    background: linear-gradient(94deg, #ff7685, #ed4055); border-radius: 10px;
  }
  .c-searchByBox__btn--count[hidden] { display: none; }
  .p-top__side .c-searchByBox__btn:last-of-type:not(.is-open) { padding-bottom: 18px; border-bottom: 2px solid #f1f5f6; }
  .p-top__side .c-searchByBox__btn { width: 100%; text-align: left; cursor: pointer; }
  .p-top__side .c-searchByBox__btn.is-open { padding-bottom: 0; border-bottom: 0; }
  .p-top__side .c-searchByBox__btn.is-open:before,
  .p-top__side .c-searchByBox__btn.is-open:hover:before { transform: rotate(90deg); }
  .c-sidePanel .c-searchModal__form { display: block; }
  .c-sidePanel .c-searchModal__form--ttl { display: none; }
  .c-sidePanel .c-searchModal__form--subttl { margin: 20px 0 10px; font-size: 14px; }
  .c-sidePanel .c-searchModal__form--income { padding-bottom: 12px; }
  .c-sidePanel .c-searchModal__form--incomeBody span { padding-right: 8px; padding-left: 6px; }
  .c-sidePanel .c-searchModal__form--incomeModal { width: 240px; left: auto; right: 0; padding: 14px; }
  .c-sidePanel .c-searchModal__form--incomeModal:before,
  .c-sidePanel .c-searchModal__form--incomeModal:after { left: auto; right: 40px; }
  .c-sidePanel .c-formItem { margin-bottom: 6px; }
  .c-sidePanel .c-formItem summary,
  .c-sidePanel .c-formItem details[open] summary { padding: 10px 14px 10px 10px; }
  .c-sidePanel .c-formItem summary label { align-items: flex-start; padding-right: 0; font-size: 13px; }
  .c-sidePanel .c-formItem summary label:after { top: 5.5px; left: 3.5px; width: 10px; height: 6px; }
  .c-sidePanel .c-formItem.no-item summary label:after { top: 6.5px; }
  .c-sidePanel .c-formItem summary input[type="checkbox"] { width: 17px; height: 17px; margin-top: 1px; margin-right: 6px; }
  .c-sidePanel .c-formItem__arrow:before { top: 7px; right: 3px; width: 7px; height: 7px; }
  .c-sidePanel .c-formItem__content { flex-direction: column; flex-wrap: nowrap; gap: 9px; padding: 2px 10px 14px 16px; }
  .c-sidePanel .c-formItem__content .line-break { display: none; }
  .c-sidePanel .c-formItem__checkbox { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; }
  .c-sidePanel .c-formItem__checkbox:after { top: 3.5px; left: 3px; width: 8px; height: 5px; }
  .c-sidePanel .c-formItem__label--txt { flex: 1; font-size: 13px; }
  .c-sidePanel .c-formItem__keyword--input:before { left: 10px; width: 18px; height: 18px; }
  .c-sidePanel .c-formItem__keyword--input input { height: 44px; padding-left: 34px; font-size: 14px; }
  .c-sidePanel .c-formItem__keyword--input input::placeholder { font-size: 11px; }
  .c-sidePanel__btns { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
  .c-sidePanel__btns .c-searchModal__btn { height: 44px; font-size: 12px; }
  .c-sidePanel__btns .c-searchModal__btn.u-reset { flex-shrink: 0; width: 92px; }
  .c-sidePanel__btns .c-searchModal__btn.u-search { flex: 1; width: auto; align-items: baseline; padding-top: 11px; }
  .c-sidePanel__btns .c-searchModal__btn .icn { display: none; }
  .c-sidePanel__btns .c-searchModal__btn .counter { font-size: 18px; }
}

/* 2026-11-23: 検討中 removed from the phone header. Logged-in page has two items left
   (気になる / ログアウト): stack them in one right-aligned column so ログアウト is not cut off. */
@media screen and (max-width: 768px) {
  .c-header.is-login .c-header__rightSpNav--list { grid-template-columns: auto; justify-items: start; }
  .c-header.is-login .c-header__rightSpNav--item { max-width: none; }
}
/* 2026-11-23: job page save button relabelled 検討中へ保存 -> 気になるリストへ保存(済み): the longer
   label must stay on one line, so the top card's button grows with its text. */
.c-singleCard__btn.u-consider { width: auto; min-width: 50%; padding-right: 26px; padding-left: 26px; }
.button-keep__label { white-space: nowrap; }

/* 2026-11-23: 関連コンテンツ cards moved into the blue 転職ノウハウ section: they were drawn for a
   white page, so give them a white card face and keep them above the section's decoration. */
/* heading left-aligned with the cards (it was indented on PC / centred on phones for the removed bubble) */
.s-knowhow__head { justify-content: flex-start; padding-left: 4px; }
.s-knowhow .s-relatedCont__list { position: relative; z-index: 2; }
.s-knowhow .s-relatedCont__item--link { background-color: #fff; }
@media screen and (min-width: 769px) {
  .s-knowhow .s-relatedCont__item--link:hover { background-color: #eff4ff; }
}

/* 2026-11-23: "新着の求人" section under the recommended jobs (mirror-only section; cards are the
   site's own .c-jobCard, laid out as a grid instead of a carousel). */
.s-newJob { margin-top: 48px; }
.s-newJob__head {
  position: relative; padding-left: 14px; font-size: 24px; font-weight: 700; line-height: 140%; color: #1953d4; letter-spacing: 0.04em;
}
.s-newJob__head:before {
  position: absolute; top: 50%; left: 0; width: 5px; height: 24px; content: ""; border-radius: 3px;
  background: linear-gradient(180deg, #13b8ff, #1953d4); transform: translateY(-50%);
}
.s-newJob__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; margin-top: 24px; }
.s-newJob .c-jobCard { width: auto; height: auto; }
@media screen and (min-width: 769px) {
  .s-newJob .c-jobCard__thumb { width: 100%; height: auto; }
}
.s-newJob .c-jobCard__link { height: 100%; border: 1px solid rgba(25, 83, 212, 0.1); }
@media screen and (max-width: 768px) {
  .s-newJob { padding: 0 16px; margin-top: 36px; }
  .s-newJob__head { font-size: 20px; }
  .s-newJob__list { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }
}

/* 2026-11-23: job page top card (PC): photo large on top, then catch copy + description, then
   keywords (the phone layout already has this order). The source only stores 320x240 photos,
   so the photo is capped at 640px wide (2x) rather than stretched across the whole card. */
@media screen and (min-width: 769px) {
  .c-singleCard__mid { flex-direction: column; gap: 0; align-items: stretch; }
  .c-singleCard__left { display: contents; }
  .c-singleCard__slider { order: 1; width: 640px; max-width: 100%; margin: 0 auto; }
  .c-singleCard__slide { width: 100%; }
  .c-singleCard__subSliderWrap { justify-content: start; }
  .c-singleCard__right { order: 2; flex: none; margin-top: 28px; }
  .c-singleCard__caption { font-size: 20px; }
  .c-singleCard__keywords { order: 3; margin-top: 32px; }
}

/* 2026-11-23: hero block from pita-career.com, embedded full width under the header.
   The height is set by /pita/frame.js; 100vh is only the value before it has loaded. */
.p-top__heroFrame { display: block; width: 100%; height: 100vh; border: 0; background: var(--key, #F8E700); }

/* 2026-11-24: 関連コンテンツ moved into the sidebar: narrow box, its cards one under another */
.p-top__side .s-knowhow { padding: 24px 16px 20px; margin-top: 24px; }
.p-top__side .s-knowhow__head { font-size: 18px; }
.p-top__side .s-relatedCont__list { display: flex; flex-direction: column; gap: 12px; }
.p-top__side .s-relatedCont__item { width: 100%; }
@media screen and (min-width: 769px) {
  /* same card as on phones: small picture on the left, text on the right */
  .p-top__side .s-relatedCont__item--link { position: relative; height: auto; min-height: 0; padding: 16px 28px 18px 14px; border-radius: 16px; }
  .p-top__side .s-relatedCont__item--thumb { flex: none; width: 84px; height: 36px; margin-right: 10px; }
  .p-top__side .s-relatedCont__item--ttl { padding-bottom: 4px; font-size: 14px; line-height: 140%; }
  .p-top__side .s-relatedCont__item--txt { font-size: 12px; }
}
@media screen and (max-width: 768px) { .p-top__side .s-knowhow { margin-top: 0; } }
/* layout "image_top" (site_config.json related.layout): picture on top, title and text under it */
.p-top__side .s-relatedCont__list.u-imgTop .s-relatedCont__item--link { display: block; padding: 14px 14px 30px; }
.p-top__side .s-relatedCont__list.u-imgTop .s-relatedCont__item--thumb { width: 100%; height: auto; aspect-ratio: 153 / 66; margin: 0 0 12px; overflow: hidden; border-radius: 8px; }

/* 2026-11-24: one job only -> the carousels have a single card, so their page dots are not shown */
.s-recJob__pagination, .s-lately__item.u-job .s-lately__pagination { display: none; }

/* 2026-11-24: job page tabs - two tabs now (応募方法 removed), so they share the full width half and half */
.c-singleTab__list { grid-template-columns: repeat(2, 1fr); }

/* 2026-11-24: job page fields that mirror 詳しい条件から探す */
.c-jobUnset { font-weight: 500; color: #9aa0a0; }
.c-jobTags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.c-jobTags__item { padding: 5px 12px; font-size: 13px; font-weight: 700; line-height: 140%; color: #1953d4; background: #fff; border: 1px solid #1953d4; border-radius: 999px; }
.c-jobSpec { margin: 0; }
.c-jobSpec__row { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(25, 83, 212, 0.12); }
.c-jobSpec__row:first-child { padding-top: 0; }
.c-jobSpec__row:last-child { padding-bottom: 0; border-bottom: 0; }
.c-jobSpec__term { flex: 0 0 7em; font-weight: 700; }
.c-jobSpec__desc { flex: 1 1 0; min-width: 0; margin: 0; }
.c-jobFlow { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.c-jobFlow__step { display: flex; align-items: center; gap: 12px; }
.c-jobFlow__step + .c-jobFlow__step { position: relative; padding-top: 10px; border-top: 1px dashed rgba(25, 83, 212, 0.25); }
.c-jobFlow__num { display: flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: 13px; font-weight: 900; color: #fff; background: #1953d4; border-radius: 50%; }
.c-jobFlow__txt { flex: 1 1 0; min-width: 0; font-weight: 700; }
.c-jobFlow__note { margin: 14px 0 0; font-size: 13px; color: #696c6c; }
.c-jobSpec--add { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(25, 83, 212, 0.12); }

/* 2026-11-24: my page (/mypage/) */
.p-mypage { padding: 40px 0 80px; }
.p-mypage__inner { width: min(960px, 100% - 32px); margin: 0 auto; }
.p-mypage__ttl { font-size: 28px; font-weight: 900; line-height: 140%; }
.p-mypage__note { margin-top: 8px; font-size: 13px; color: #696c6c; }
.p-mypage__tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 24px; }
.p-mypage__tab { min-height: 52px; padding: 8px 6px; text-align: center; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 130%; color: #1953d4; cursor: pointer; background: #fff; border: 1px solid #1953d4; border-radius: 12px; }
.p-mypage__tab[aria-selected="true"] { color: #fff; cursor: default; background: #1953d4; }
.p-mypage__panel { margin-top: 20px; padding: 28px 28px 32px; background: #fff; border: 1px solid rgba(25, 83, 212, 0.25); border-radius: 18px; }
.p-mypage__panel.is-hidden, .p-mypage__saved.is-hidden { display: none; }
.p-mypage__head { padding-left: 12px; font-size: 20px; font-weight: 900; line-height: 140%; border-left: 6px solid #1953d4; }
.p-mypage__head.u-second { margin-top: 36px; }
.p-mypage__lead { margin-top: 10px; font-size: 14px; color: #696c6c; }
.p-mypage__form { margin-top: 20px; }
.p-mypage__field { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(25, 83, 212, 0.12); }
.p-mypage__label { flex: 0 0 220px; font-size: 14px; font-weight: 700; }
.p-mypage__req { display: inline-block; margin-left: 8px; padding: 1px 6px; font-size: 11px; font-weight: 700; color: #fff; vertical-align: 1px; background: #e0364b; border-radius: 4px; }
.p-mypage__control { flex: 1 1 0; min-width: 0; }
.p-mypage__control input, .p-mypage__control select { width: 100%; max-width: 420px; height: 46px; padding: 0 12px; font-family: inherit; font-size: 16px; color: inherit; background: #fff; border: 1px solid #b9bfbf; border-radius: 8px; }
.p-mypage__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 24px; }
.p-mypage__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; min-height: 48px; padding: 0 24px; font-family: inherit; font-size: 15px; font-weight: 700; color: #fff; cursor: pointer; background: #1953d4; border: 1px solid #1953d4; border-radius: 999px; }
.p-mypage__btn.u-line { color: #1953d4; background: #fff; }
.p-mypage__saved { font-size: 13px; font-weight: 700; color: #e0364b; }
.p-mypage__field.u-top { align-items: flex-start; }
.p-mypage__control textarea { width: 100%; max-width: 560px; padding: 10px 12px; font-family: inherit; font-size: 16px; line-height: 160%; color: inherit; resize: vertical; background: #fff; border: 1px solid #b9bfbf; border-radius: 8px; }
.p-apply__opt { display: inline-block; margin-left: 8px; padding: 1px 6px; font-size: 11px; font-weight: 700; color: #696c6c; vertical-align: 1px; background: #eef0f0; border-radius: 4px; }
.p-apply__job { margin-top: 16px; padding: 16px 20px; background: #fff; border: 1px solid rgba(25, 83, 212, 0.25); border-radius: 14px; }
.p-apply__jobSub { display: block; font-size: 13px; color: #696c6c; }
.p-apply__jobSub:empty { display: none; }
.p-apply__jobTtl { display: inline-block; margin-top: 2px; font-size: 18px; font-weight: 900; line-height: 150%; color: #1953d4; }
.p-apply__error { margin-top: 16px; padding: 12px 14px; font-size: 14px; font-weight: 700; color: #b3202f; background: #fdecee; border: 1px solid #f3b6bd; border-radius: 10px; }
.p-apply__thanks { font-size: 16px; line-height: 180%; }
.p-apply__notice { margin-top: 16px; padding: 12px 14px; font-size: 14px; font-weight: 700; color: #0b6b3a; background: #e9f7ef; border: 1px solid #b5dfc6; border-radius: 10px; }
.p-apply__hint { margin-top: 14px; padding: 12px 14px; font-size: 14px; line-height: 170%; background: #f4f6f8; border-radius: 10px; }
.p-apply__hint a { font-weight: 700; color: #1953d4; text-decoration: underline; }
.p-apply__leave { margin-top: 28px; font-size: 14px; }
.p-apply__leave summary { display: inline-block; color: #696c6c; text-decoration: underline; cursor: pointer; }
.p-login .p-apply__notice { margin: 0 0 16px; }
.p-apply__consent { display: flex; gap: 8px; align-items: center; margin: 18px 0 4px; font-size: 14px; font-weight: 700; }
.p-apply__consent input { width: 18px; height: 18px; flex: none; appearance: auto; -webkit-appearance: checkbox; }
.p-apply__consent a, .c-footer__btm--links a { text-decoration: underline; }
.p-apply__consent.u-note { font-weight: 400; color: #555; }
.p-login__btm .p-apply__consent { justify-content: center; margin: 0; }
.p-apply__policy { font-size: 15px; line-height: 190%; }
.p-apply__policy + .p-apply__policy { margin-top: 18px; }
.c-footer__btm--links { margin-bottom: 8px; font-size: 13px; text-align: center; }
.p-apply__badge { display: inline-block; margin-left: 10px; padding: 2px 8px; font-size: 12px; font-weight: 700; color: #8a4b00; background: #fff1d6; border-radius: 999px; }
.p-apply__badge.u-ok { color: #0b6b3a; background: #e9f7ef; }
/* served list page: the source's search boxes (its own area/job-type choices) are hidden; a filter built from the site's jobs is shown */
.p-list__main.is-simple .p-list__side, .p-list__main.is-simple .c-searchBar__spBtns, .p-list__main.is-simple .c-searchBar__fixedspBtns, .p-list__main.is-simple .p-list__spBtns { display: none !important; }
.p-list__main.is-simple, .p-list__main.is-simple > .p-list__inner, .p-list__main.is-simple .p-list__wrap { display: block !important; }
.p-list__main.is-simple .p-list__content { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; padding-left: 0 !important; }
@media screen and (max-width: 767px) { .c-jobFilter { margin: 0 16px 20px; } }
.c-jobFilter { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin-bottom: 28px; padding: 18px 20px; background: #fff; border: 1px solid #d9dede; border-radius: 14px; }
.c-jobFilter__item { display: flex; flex: 1 1 180px; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.c-jobFilter__item.u-wide { flex: 2 1 260px; }
.c-jobFilter__item input, .c-jobFilter__item select { width: 100%; height: 44px; padding: 0 12px; font-size: 15px; background: #fff; border: 1px solid #b9c0c0; border-radius: 8px; appearance: auto; -webkit-appearance: auto; }
.c-jobFilter__actions { display: flex; gap: 14px; align-items: center; }
.c-jobFilter__btn { height: 44px; padding: 0 22px; font-size: 14px; font-weight: 700; color: #fff; cursor: pointer; background: var(--key, #1953d4); border: 0; border-radius: 999px; }
.c-jobFilter__clear { font-size: 13px; text-decoration: underline; }
/* トップページの横に出す絞り込み（元サイトの「〜から探す」の枠の代わり） */
.c-jobFilter.u-side { flex-direction: column; align-items: stretch; gap: 14px; margin: 0 0 20px; padding: 18px 16px; }
.c-jobFilter.u-side .c-jobFilter__item { flex: none; }
.c-jobFilter.u-side .c-jobFilter__btn { width: 100%; }
.c-jobFilter__title { font-size: 15px; font-weight: 700; }
.p-apply__fixed { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.p-login .p-apply__error { margin: 0 0 16px; }
.p-apply__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.p-apply .p-mypage__btn { text-decoration: none; }
.p-mypage__jobs { margin-top: 20px; }
.p-mypage__tableWrap { margin-top: 16px; overflow-x: auto; }
.p-mypage__table { width: 100%; min-width: 480px; font-size: 14px; border-collapse: collapse; }
.p-mypage__table th, .p-mypage__table td { padding: 12px 10px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(25, 83, 212, 0.15); }
.p-mypage__table th { font-size: 12px; color: #696c6c; white-space: nowrap; }
.p-mypage__table a { font-weight: 700; color: #1953d4; text-decoration: underline; }
.p-mypage__badge { display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; background: #1953d4; border-radius: 999px; }
.p-mypage__badge.u-none { color: #696c6c; background: #eceeee; }
.p-mypage__sample { display: inline-block; margin-left: 8px; padding: 1px 6px; font-size: 11px; color: #696c6c; white-space: nowrap; border: 1px dashed #9aa0a0; border-radius: 4px; }
.p-mypage__files { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.p-mypage__file { padding: 20px; border: 1px solid rgba(25, 83, 212, 0.25); border-radius: 14px; }
.p-mypage__fileHead { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.p-mypage__fileName { font-size: 16px; font-weight: 900; }
.p-mypage__filePicked { margin: 12px 0 16px; font-size: 13px; color: #696c6c; overflow-wrap: anywhere; }
.p-mypage__fileInput { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.p-mypage__msgs { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.p-mypage__msg { max-width: 80%; padding: 12px 16px; background: #f4f6f8; border-radius: 4px 16px 16px 16px; }
.p-mypage__msg.u-me { align-self: flex-end; background: #eff4ff; border-radius: 16px 4px 16px 16px; }
.p-mypage__msgFrom { font-size: 12px; font-weight: 700; }
.p-mypage__msgBody { margin-top: 4px; font-size: 14px; line-height: 160%; }
.p-mypage__msgForm { margin-top: 24px; }
.p-mypage__msgForm textarea { display: block; width: 100%; padding: 12px; font-family: inherit; font-size: 16px; line-height: 160%; color: inherit; resize: vertical; background: #fff; border: 1px solid #b9bfbf; border-radius: 8px; }
.p-mypage__msgForm .p-mypage__actions { margin-top: 12px; }
.p-mypage__refMeta { margin: 16px 0 0; padding: 14px 16px; font-size: 14px; background: #f4f6f8; border-radius: 12px; }
.p-mypage__refMeta div { display: flex; gap: 12px; padding: 4px 0; }
.p-mypage__refMeta dt { flex: 0 0 5em; font-weight: 700; }
.p-mypage__refMeta dd { flex: 1 1 0; min-width: 0; margin: 0; }
@media screen and (max-width: 768px) {
  .p-mypage { padding: 112px 0 56px; }   /* the phone header is fixed (about 87px tall) and nothing else pushes this page down */
  .p-mypage__ttl { font-size: 22px; }
  .p-mypage__tabs { grid-template-columns: repeat(3, 1fr); }
  .p-mypage__tab { font-size: 13px; }
  .p-mypage__panel { padding: 20px 16px 24px; }
  .p-mypage__head { font-size: 17px; }
  .p-mypage__field { flex-direction: column; gap: 8px; align-items: stretch; }
  .p-mypage__label { flex: none; }
  .p-mypage__control input, .p-mypage__control select { max-width: none; }
  .p-mypage__control textarea { max-width: none; }
  .p-mypage__field.u-top { align-items: stretch; }
  .p-mypage__btn { width: 100%; }
  .p-mypage__files { grid-template-columns: 1fr; }
  .p-mypage__table { min-width: 0; font-size: 13px; }
  .p-mypage__table th, .p-mypage__table td { padding: 10px 6px; }
  .p-mypage__sample { margin: 4px 0 0; }
}

/* 2026-11-24: company logo + company name (site_config.json "brand") in place of the JOB logo */
.c-header__logo--link, .c-footer__left--head, .c-formheader__logo--link { display: flex; align-items: center; gap: 10px; }
.c-header__logo--link img.c-brandLogo, .c-footer__left--head img.c-brandLogo, .c-formheader__logo--link img.c-brandLogo {
  width: auto; max-width: 160px; height: 36px; object-fit: contain; }
.c-formheader__logo, .c-formheader__logo--link { width: -webkit-fit-content; width: fit-content; }
img.c-brandLogo { flex: none; }
.c-brandName { font-size: 15px; font-weight: 900; line-height: 130%; letter-spacing: 0.04em; color: #1953d4; white-space: nowrap; }
.c-footer__left--head .c-brandName { font-size: 18px; }
/* 2026-11-24: button to the company's website under the footer text (brand.site_url) - the source's white pill button */
.c-footer__siteBtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 200px; height: 46px; margin-top: 20px; padding: 0 28px;
  font-size: 14px; font-weight: 700; color: #1953d4; text-decoration: none; background: #fff; border: 2px solid #1953d4; border-radius: 40px;
  box-shadow: inset 0 -4px 14px 0 #1abec82e, 0 15px 20px -10px #0bb1e58c; transition: opacity .2s; }
.c-footer__siteBtn:after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.c-footer__siteBtn:hover { opacity: .7; }
/* 2026-11-24: phone top - no white gap between the hero and the search block (the source's 88px top padding made
   room for its fixed header; here the hero sits in between) */
@media screen and (max-width: 768px) { .p-top__heroFrame + .p-top { padding-top: 0; } }
/* 2026-11-24: line icons of the phone search block */
.s-topKv__search--itemIcon { display: flex; align-items: center; justify-content: center; color: #1953d4; }
.c-spSearchIcon { width: 30px; height: 30px; }
/* 2026-11-24: 最近検索した条件 inside the phone search block */
/* 2026-11-25: public site (AgentDesk) - the line shown where no job is listed */
.c-jobsEmpty { width: 100%; padding: 32px 16px; list-style: none; text-align: center; font-size: 15px; font-weight: 700; color: #555; }
/* PC search box, keyword only (2026-11-24): the job count sits above the keyword field (first tried on one
   row; stacked on request the same day: "求人数と検索バーは縦並びがいい") */
@media screen and (min-width: 769px) {
  .s-searchBox .s-searchBox__form--top { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 0; }
  .s-searchBox .s-searchBox__form--caption { flex: none; margin: 0; }
  .s-searchBox .s-searchBox__form--right { flex: none; width: auto; max-width: none; min-width: 0; margin: 0; padding: 0; }
  .s-searchBox .s-searchBox__form--conditions { width: auto; margin: 0; padding: 0; }
  .s-searchBox .s-searchBox__form--hits .number { padding-bottom: 0; }
  /* stacked: even space above and below (the source's 16px bottom was for the removed 最近検索した条件 row),
     and the field starts at the caption's left edge (its 22px left margin made room for the removed "x") */
  .s-searchBox { padding-top: 28px; padding-bottom: 28px; }
  .s-searchBox .s-searchBox__form--input { margin-left: 0; }
}
.s-topKv__recent { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .6); }
.s-topKv__recent--head { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #fff; }
/* the same icons on the tabs of the phone search pop-up (were PNGs of the same pictures) */
.c-searchModal__titleTab--icn { align-items: center; justify-content: center; color: #1953d4; }
.c-searchModal__titleTab--icn .c-spSearchIcon { width: 24px; height: 24px; }
@media screen and (max-width: 768px) {
  .c-header__logo--link img.c-brandLogo { max-width: 90px !important; height: 26px; }
  .c-header__logo--link .c-brandName { max-width: 9.5em; overflow: hidden; font-size: 11px; letter-spacing: 0; text-overflow: ellipsis; }
  .c-footer__left--head img.c-brandLogo, .c-formheader__logo--link img.c-brandLogo { height: 30px; }
  .c-footer__left--head .c-brandName { font-size: 15px; }
}

/* 2026-11-24: footer - its right column is empty now (JOBアプリ removed, SNS already commented out in the source),
   so on PC the link column uses that space: three even columns of links, no blank third on the right. */
.c-footer__right { display: none; }
@media screen and (min-width: 769px) {
  .c-footer__left { flex: 0 0 440px; }
  .c-footer__mid { flex: 1 1 0; min-width: 0; margin: 0 0 0 96px; }
}
/* 2026-11-24: the footer's middle column is a 会社概要 block (site_config.json "company") instead of the link list */
.c-footerCompany__head { margin-bottom: 20px; font-size: 20px; font-weight: 700; line-height: 140%; letter-spacing: 0.05em; color: #1953d4; }
.c-footerCompany__row { display: flex; padding: 12px 0; border-top: 1px solid rgba(25, 83, 212, 0.2); }
.c-footerCompany__row:last-child { border-bottom: 1px solid rgba(25, 83, 212, 0.2); }
.c-footerCompany__term { flex: none; width: 7em; font-size: 14px; font-weight: 700; line-height: 170%; color: #1953d4; }
.c-footerCompany__desc { flex: 1 1 0; min-width: 0; font-size: 14px; font-weight: 500; line-height: 170%; color: #000; }
@media screen and (max-width: 768px) {
  .c-footerCompany { padding: 20px; background-color: #fff; border-radius: 10px; }
  .c-footerCompany__head { margin-bottom: 12px; font-size: 16px; }
  .c-footerCompany__row { padding: 10px 0; }
  .c-footerCompany__term, .c-footerCompany__desc { font-size: 12px; }
}
}

/* 2026-11-24: the 詳しい条件 groups have no check-all box in their heading (requested); the heading only opens/closes */
.c-formItem.job_advances summary label { cursor: pointer; }
.c-formItem.job_advances summary label:after { display: none; }
/* 2026-11-24: 詳しい条件 = the items of search_conditions.json; its dropdown rows reuse the 初年度年収 select */
.c-condSelects { width: 100%; padding: 6px 0 4px; }
.c-condSelects__row:last-child { margin-bottom: 0; }
.c-condSelects__ttl { padding-bottom: 8px; font-size: 13px; font-weight: 700; line-height: 140%; letter-spacing: 0.04em; }
.c-condSelects__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.c-condSelects__label { flex: none; width: 6em; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; }
.c-condSelects__row.u-pair .c-condSelects__label { width: 100%; }
.c-condSelects__sep { flex: none; font-size: 12px; }
/* result list (/nagoya/list/, requested 2026-11-24) */
.c-searchBar__none { font-size: 13px; color: #666; }
/* PC: left = the same search box as the top page's sidebar (320px), right = the result list using the rest of the
   width, up to the right edge of the header's login button (requested 2026-11-24) */
@media screen and (min-width: 769px) {
  .p-list__main { grid-template-columns: 320px minmax(0, 1fr); column-gap: 40px; }
  .p-list__main > .c-searchBar { width: 320px; padding: 0; background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important; }
  .p-list__main > .c-searchBar:before, .p-list__main > .c-searchBar:after { display: none !important; }
  .p-list__side { width: 320px; }
  .p-list__content, .p-list__cards, .p-list__cards .c-jobDetailCard { width: auto; max-width: none; }
  .p-list__content { min-width: 0; }
  .p-list__cards .c-jobDetailCard { align-self: stretch; }
}
.c-searchBar__formItem--body[data-chosen] .c-searchBar__label { display: flex; align-items: center; gap: 4px; }
@media screen and (max-width: 768px) {
  .c-jobDetailCard__btn .c-jobDetailCard__btn--txt, .c-jobDetailCard__btn .button-detail__label { font-size: 12px; white-space: nowrap; }
}
.c-condSelects .c-searchModal__form--incomeSelect { flex: 1 1 0; width: auto; min-width: 0; }
.c-condSelects .c-searchModal__form--incomeSelect select { padding-right: 24px; font-family: inherit; font-size: 12px; text-overflow: ellipsis; }


/* 2026-11-24: 最近見た求人 is always open -> no open/close arrow, heading is not a button. */
.s-lately__item.u-job > .s-lately__item--head { cursor: default; }
.s-lately__item.u-job > .s-lately__item--head:before { display: none; }

/* 2026-11-23: tagline above the logo removed -> keep the area label on one line. */
.c-header__logo--area { white-space: nowrap; }
@media screen and (max-width: 389px) {
  .c-header__logo--link { gap: 4px; }
  .c-header__logo--link img { max-width: 56px !important; }
  .c-header__logo--area { font-size: 10px; letter-spacing: 0; margin-left: 0; }
}

/* 2026-11-24: phone header -> logo on top, company name under it (was side by side and cramped). */
@media screen and (max-width: 768px) {
  .c-header__inner { align-items: center; }
  .c-header__logo { flex: 1 1 0; min-width: 0; margin: 0; padding: 0 8px 0 0; align-self: center; }
  .c-header__logo--link { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-width: 0; }
  .c-header__logo--link img.c-brandLogo, .c-header__logo--link img { max-width: 100% !important; height: 28px; object-position: left center; }
  .c-header__logo--link .c-brandName, .c-header__logo--area { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-width: 100%; margin: 0; overflow: hidden; font-size: 11px; line-height: 130%; letter-spacing: 0; white-space: normal; word-break: break-all; }
  .c-header__right { flex: none; }
}

/* 2026-11-24: phone header -> 気になる / ログイン / 会員登録 on one row (was 2 + 1 below).
   The two icon links put their label under the icon so the row fits beside the menu button. */
@media screen and (max-width: 768px) {
  .c-header__right { align-items: center; }
  .c-header__rightSpNav { margin-top: 0; }
  .c-header__rightSpNav--list, .c-header.is-login .c-header__rightSpNav--list { display: flex; align-items: center; gap: 8px; }
  .c-header__rightSpNav--item { min-width: 0; max-width: none; }
  .c-header__rightSpNav--item:not(.u-signup) .c-header__rightSpNav--link { flex-direction: column; gap: 3px; }
  .c-header__rightSpNav--item:not(.u-signup) .c-header__rightSpNav--txt { flex: none; font-size: 10px; line-height: 120%; }
  .c-header__rightSpNav--item.u-signup .c-header__rightSpNav--link { width: auto; padding: 0 20px 0 10px; }
  .c-header.is-scrolled .c-header__rightSpNav--item:nth-child(n + 3) { height: auto; opacity: 1; }
  .c-header__menuBtn { align-self: flex-start; }
  /* scrolled header is lower: smaller logo so logo + name still fit */
  .c-header.is-scrolled .c-header__logo--link { gap: 2px; }
  .c-header.is-scrolled .c-header__logo--link img.c-brandLogo, .c-header.is-scrolled .c-header__logo--link img { height: 20px; }
  .c-header.is-scrolled .c-header__logo--link .c-brandName, .c-header.is-scrolled .c-header__logo--area { -webkit-line-clamp: 1; }
}
@media screen and (max-width: 374px) {
  .c-header__rightSpNav--list { gap: 5px; }
  .c-header__rightSpNav--item.u-signup .c-header__rightSpNav--link { padding: 0 17px 0 7px; }
}
