:root {
  --ink: #1d2433;
  --ink-soft: #4d5665;
  --muted: #737a85;
  --navy: #243764;
  --orange: #f26f21;
  --orange-dark: #da5515;
  --orange-deep: #c86820;
  --peach: #fff0e5;
  --cream: #f4e7d8;
  --cream-light: #fcf8f3;
  --line: #e7dfd6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(75, 52, 33, 0.11);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream-light);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

body,
button,
input,
select {
  font-family: "Noto Sans JP", sans-serif;
}

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

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

button,
input,
select,
fieldset {
  margin: 0;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header - 仕事探しページと共通 */
.site-header {
  position: relative;
  z-index: 1000;
  height: 94px;
}

.global-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 94px;
  padding: 0 clamp(24px, 4vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(19, 33, 54, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  width: min(1440px, 100%);
  height: 100%;
  margin: 0 auto;
  align-items: center;
  gap: clamp(24px, 3vw, 52px);
}

.logo-container {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.logo,
.logo img {
  display: block;
}

.global-nav .logo img {
  display: block;
  width: clamp(135px, 10vw, 165px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-container {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2.5vw, 44px);
}

.nav-list {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(6px, 1vw, 18px);
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  padding: 10px clamp(8px, 0.9vw, 16px);
  align-items: center;
  color: #20242b;
  font-size: clamp(13px, 0.95vw, 16px);
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link--current {
  color: var(--orange-dark);
}

.nav-link:hover::after,
.nav-link--current::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-divider {
  width: 1px;
  height: 30px;
  background: #e4e7ec;
}

.button-container {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.nav-contact-button {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9418, #ff5f58);
  box-shadow: 0 8px 20px rgba(242, 111, 33, 0.18);
  color: #171717;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.nav-contact-button--login {
  border-color: #ff7b3d;
  background: #fff;
  box-shadow: none;
  color: #d95418;
}

.nav-contact-button:hover {
  box-shadow: 0 11px 25px rgba(242, 111, 33, 0.26);
  transform: translateY(-2px);
}

.hamburger-menu {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

/* Top search */
.search-hero {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  background: url("/src/img/job/job-top.png") center 45% / cover no-repeat;
}

.search-hero::before {
  position: absolute;
  inset: -8px;
  background: rgba(249, 241, 231, 0.72);
  content: "";
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.search-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 250, 244, 0.88) 0%,
    rgba(255, 249, 242, 0.52) 44%,
    rgba(247, 237, 225, 0.6) 100%
  );
  content: "";
}

.search-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1500px, calc(100% - 56px));
  min-height: 245px;
  margin: 0 auto;
  padding: 36px 0;
  align-items: center;
  grid-template-columns: minmax(405px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(34px, 4vw, 58px);
}

.search-hero__copy {
  position: relative;
  padding-left: 12px;
  transform: rotate(-3deg);
}

.search-hero__copy h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #1a1c20;
  font-size: clamp(24px, 2.05vw, 34px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.62;
  white-space: nowrap;
}

.search-hero__copy h1::after {
  position: absolute;
  right: -6px;
  bottom: 2px;
  left: -7px;
  height: 2px;
  background: linear-gradient(90deg, #ef9066, #e8b183, transparent);
  content: "";
  transform: rotate(-2deg);
}

.search-hero__copy p {
  margin: -2px 0 0;
  color: #dda370;
  font-family: "Caveat", cursive;
  font-size: clamp(36px, 3vw, 50px);
  font-weight: 500;
  line-height: 1;
}

.quick-search {
  display: grid;
  min-width: 0;
  padding: 25px;
  grid-template-columns: minmax(190px, 0.85fr) minmax(190px, 0.9fr)
    minmax(250px, 1.18fr) minmax(135px, 0.55fr);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(73, 50, 31, 0.14);
}

.quick-search__field {
  position: relative;
  display: block;
  min-width: 0;
}

.quick-search__icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 17px;
  display: flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  color: #bd7841;
  font-size: 21px;
  pointer-events: none;
  transform: translateY(-50%);
}

.quick-search select,
.quick-search input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 61px;
  padding: 0 43px 0 52px;
  border: 1px solid #ddd8d2;
  border-radius: 10px;
  outline: 0;
  background-color: #fff;
  color: #34373c;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.quick-search select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.quick-search__field--select::after {
  position: absolute;
  z-index: 2;
  top: calc(50% - 5px);
  right: 19px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #1f2227;
  border-bottom: 2px solid #1f2227;
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.quick-search input::placeholder {
  color: #8a8e95;
  opacity: 1;
}

.quick-search select:focus,
.quick-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 111, 33, 0.12);
}

.quick-search__button {
  display: inline-flex;
  min-width: 0;
  height: 61px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ed7718 0%, #d94b0c 100%);
  box-shadow: 0 8px 20px rgba(206, 76, 18, 0.24);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.quick-search__button:hover {
  box-shadow: 0 12px 25px rgba(206, 76, 18, 0.34);
  transform: translateY(-2px);
}

/* Results layout */
.results-section {
  padding: 47px clamp(20px, 3.5vw, 65px) 105px;
  background:
    radial-gradient(circle at 90% 4%, rgba(255, 255, 255, 0.78), transparent 27%),
    linear-gradient(135deg, #f8f2eb 0%, #fffdfa 47%, #f5ecdf 100%);
}

.results-layout {
  display: grid;
  width: min(1500px, 100%);
  margin: 0 auto;
  align-items: start;
  grid-template-columns: 325px minmax(0, 1fr);
  gap: 34px;
}

.mobile-filter-button {
  display: none;
}

/* Filter panel */
.filter-panel {
  position: sticky;
  top: 116px;
  overflow: hidden;
  border: 1px solid rgba(226, 217, 207, 0.88);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.filter-panel form {
  padding: 26px 25px 25px;
}

.filter-panel__heading {
  display: flex;
  margin-bottom: 24px;
  padding-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #eee8e2;
}

.filter-panel__heading h2 {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 10px;
  color: #22262c;
  font-size: 20px;
  font-weight: 800;
}

.filter-panel__heading h2 i {
  color: #bd7841;
  font-size: 20px;
}

.filter-panel__heading a {
  flex: 0 0 auto;
  color: #bc6c2f;
  font-size: 12px;
  font-weight: 700;
}

.filter-panel__heading a:hover {
  text-decoration: underline;
}

.filter-group {
  display: block;
  margin-bottom: 26px;
}

.filter-group__title {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  color: #25282d;
  font-size: 14px;
  font-weight: 800;
}

.filter-keyword {
  position: relative;
}

.filter-keyword i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 15px;
  color: #b87540;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
}

.filter-keyword input,
.filter-select select {
  display: block;
  width: 100%;
  height: 52px;
  border: 1px solid #dcd8d3;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #33373d;
  font-size: 14px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.filter-keyword input {
  padding: 0 15px 0 43px;
}

.filter-keyword input::placeholder {
  color: #999da3;
}

.filter-keyword input:focus,
.filter-select select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 111, 33, 0.11);
}

.filter-options {
  display: grid;
  gap: 8px;
}

.check-option {
  position: relative;
  display: flex;
  min-height: 29px;
  align-items: center;
  gap: 10px;
  color: #3f444d;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.check-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.check-option__box {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.check-option__box::after {
  width: 5px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(45deg);
}

.check-option input:checked + .check-option__box {
  border-color: var(--orange);
  background: var(--orange);
}

.check-option input:checked + .check-option__box::after {
  opacity: 1;
}

.check-option input:focus-visible + .check-option__box {
  outline: 3px solid rgba(242, 111, 33, 0.2);
  outline-offset: 2px;
}

.check-option__box--radio {
  border-radius: 50%;
}

.check-option__box--radio::after {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  transform: none;
}

.filter-select {
  position: relative;
}

.filter-select::after {
  position: absolute;
  top: calc(50% - 5px);
  right: 17px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #25282d;
  border-bottom: 2px solid #25282d;
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.filter-select select {
  padding: 0 43px 0 14px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.filter-submit {
  display: flex;
  width: 100%;
  min-height: 62px;
  padding: 14px 18px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ea7719 0%, #dd5310 100%);
  box-shadow: 0 9px 21px rgba(211, 82, 20, 0.25);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.filter-submit:hover {
  box-shadow: 0 13px 27px rgba(211, 82, 20, 0.32);
  transform: translateY(-2px);
}

/* Results heading */
.results-main {
  min-width: 0;
}

.results-toolbar {
  display: flex;
  min-height: 66px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.results-count {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 25px;
}

.results-count h2 {
  margin: 0;
  color: #20242b;
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 800;
  white-space: nowrap;
}

.results-count p {
  margin: 0;
  color: #333840;
  font-size: 14px;
}

.results-count strong {
  margin-right: 2px;
  color: #d45b1a;
  font-size: clamp(37px, 3.7vw, 52px);
  font-weight: 700;
  line-height: 1;
}

.results-count p span {
  margin-right: 8px;
  color: #d45b1a;
  font-size: 20px;
  font-weight: 700;
}

.sort-form {
  flex: 0 0 auto;
}

.sort-form label {
  position: relative;
  display: block;
}

.sort-form label::after {
  position: absolute;
  top: calc(50% - 5px);
  right: 19px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #24272c;
  border-bottom: 2px solid #24272c;
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.sort-form select {
  min-width: 175px;
  height: 50px;
  padding: 0 46px 0 17px;
  border: 1px solid #d8d6d3;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #33373d;
  font-size: 14px;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.sort-form select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 111, 33, 0.11);
}

.active-filters {
  display: flex;
  margin: -2px 0 18px;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.active-filters span {
  display: inline-flex;
  min-height: 29px;
  padding: 5px 11px;
  align-items: center;
  border: 1px solid #f0d6c2;
  border-radius: 999px;
  background: #fff6ee;
  color: #9a551f;
  font-size: 11px;
  font-weight: 600;
}

.active-filters a {
  margin-left: 4px;
  color: #8a6a50;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
}

/* Job cards */
.job-results {
  display: grid;
  gap: 17px;
}

.job-result-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e3ded8;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 7px 22px rgba(60, 43, 29, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    transform 0.25s ease;
}

.job-result-card:hover {
  border-color: #e7c3a6;
  box-shadow: 0 15px 34px rgba(60, 43, 29, 0.13);
  transform: translateY(-3px);
}

.job-result-card__link {
  display: grid;
  min-height: 225px;
  grid-template-columns: minmax(230px, 28%) minmax(0, 1fr);
}

.job-result-card__image {
  position: relative;
  min-height: 225px;
  overflow: hidden;
  background: #eee9e3;
}

.job-result-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.job-result-card:hover .job-result-card__image img {
  transform: scale(1.035);
}

.job-status {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  min-width: 64px;
  min-height: 32px;
  padding: 5px 12px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #ff7652, #f04c69);
  box-shadow: 0 6px 14px rgba(220, 61, 84, 0.24);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.no-image {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 225px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  background: linear-gradient(135deg, #eee8e1, #f8f4ef);
  color: #a49b92;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.no-image i {
  font-size: 31px;
}

.job-result-card__body {
  position: relative;
  min-width: 0;
  padding: 20px 69px 18px 25px;
}

.job-result-card__body h3 {
  max-width: calc(100% - 22px);
  margin: 0;
  overflow-wrap: anywhere;
  color: #172942;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.5;
}

.job-result-card__summary {
  display: -webkit-box;
  margin: 5px 0 0;
  overflow: hidden;
  color: #454b54;
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.job-tags {
  display: flex;
  margin-top: 11px;
  flex-wrap: wrap;
  gap: 7px;
}

.job-tags span {
  display: inline-flex;
  min-height: 29px;
  padding: 5px 12px;
  align-items: center;
  border-radius: 999px;
  background: #fff1e3;
  color: #654a35;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.job-meta {
  display: grid;
  margin: 15px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 20px;
}

.job-meta > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.job-meta dt {
  display: flex;
  width: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  color: #bd7841;
  font-size: 16px;
}

.job-meta dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #3f444c;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-result-card__arrow {
  position: absolute;
  right: 21px;
  bottom: 22px;
  display: flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #be7c46;
  box-shadow: 0 6px 15px rgba(153, 91, 40, 0.2);
  color: #fff;
  font-size: 13px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.job-result-card:hover .job-result-card__arrow {
  background: var(--orange);
  transform: translateX(3px);
}

.favorite-button {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 18px;
  display: flex;
  width: 41px;
  height: 41px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #31363d;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.favorite-button svg {
  width: 24px;
  height: 24px;
  fill: transparent;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.favorite-button:hover {
  background: #fff2ed;
  color: #ef5d54;
  transform: scale(1.07);
}

.favorite-button.is-favorite {
  color: #ef5d54;
}

.favorite-button.is-favorite svg {
  fill: currentColor;
}

.favorite-button:focus-visible,
.quick-search__button:focus-visible,
.filter-submit:focus-visible,
.mobile-filter-button:focus-visible {
  outline: 3px solid rgba(242, 111, 33, 0.28);
  outline-offset: 3px;
}

/* No results */
.no-results {
  padding: 67px 30px;
  border: 1px solid #e6dfd7;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  text-align: center;
}

.no-results__icon {
  display: flex;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--peach);
  color: var(--orange);
  font-size: 29px;
}

.no-results h3 {
  margin: 0;
  color: #252930;
  font-size: 21px;
}

.no-results p {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.no-results a {
  display: inline-flex;
  min-height: 48px;
  padding: 10px 23px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* Pagination */
.pagination {
  display: flex;
  margin-top: 39px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.pagination__numbers {
  display: flex;
  align-items: center;
  gap: 7px;
}

.pagination__numbers a,
.pagination__numbers span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ded8d1;
  border-radius: 50%;
  background: #fff;
  color: #4d535c;
  font-size: 13px;
  font-weight: 700;
}

.pagination__numbers a:hover,
.pagination__numbers a.active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.pagination__move {
  display: inline-flex;
  min-height: 42px;
  padding: 8px 15px;
  align-items: center;
  gap: 7px;
  border: 1px solid #ded8d1;
  border-radius: 999px;
  background: #fff;
  color: #4d535c;
  font-size: 12px;
  font-weight: 700;
}

.pagination__move:hover {
  border-color: #e6a678;
  color: var(--orange-dark);
}

/* Footer - 仕事探しページと共通 */
footer {
  padding: 56px 24px 25px;
  background: #30343b;
  color: #fff;
}

.footer-container {
  display: grid;
  width: min(1200px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 2fr);
  gap: 70px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: 200px;
  height: auto;
}

.footer-address,
.footer-phone {
  color: #d3d5d8;
  font-size: 14px;
}

.footer-address {
  margin-top: 22px;
}

.footer-address p,
.footer-phone p {
  margin: 4px 0;
}

.footer-sns {
  display: flex;
  margin-top: 18px;
  gap: 12px;
}

.footer-sns .sns-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 22px;
}

.fa-instagram {
  color: #f2a9d8;
}

.fa-line {
  color: #35db72;
}

.footer-right {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-end;
}

.footer-nav-list {
  display: flex;
  margin: 0;
  padding: 8px 0 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 10px;
  list-style: none;
}

.footer-nav-link {
  display: block;
  padding: 8px 11px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.footer-nav-link:hover {
  color: #ff9d65;
}

.footer-contact {
  display: flex;
  margin-top: 38px;
  gap: 18px;
}

.contact-btn {
  display: inline-flex;
  min-width: 215px;
  min-height: 58px;
  padding: 13px 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.contact-btn-job-seeker {
  background: #fff;
  color: #25282e;
}

.contact-btn-employer {
  background: transparent;
  color: #fff;
}

.contact-btn:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  width: min(1200px, 100%);
  margin: 47px auto 0;
  padding-top: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.copyright,
.policy-item a {
  color: #aeb2b8;
  font-size: 12px;
}

.policies {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 21px;
  list-style: none;
}

.policy-item a:hover {
  color: #fff;
}

/* Scroll button */
.scroll-to-top {
  position: fixed;
  z-index: 900;
  right: 26px;
  bottom: 26px;
  display: flex;
  width: 50px;
  height: 50px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 111, 33, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(38, 28, 20, 0.14);
  color: var(--orange);
  font-size: 23px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--orange);
  color: #fff;
}

/* Smaller desktop */
@media (max-width: 1260px) {
  .results-layout {
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 25px;
  }

  .filter-panel form {
    padding-right: 21px;
    padding-left: 21px;
  }

  .job-result-card__link {
    grid-template-columns: minmax(215px, 29%) minmax(0, 1fr);
  }

  .job-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Narrow desktop search */
@media (max-width: 1420px) {
  .search-hero__inner {
    width: min(1320px, calc(100% - 40px));
    grid-template-columns: minmax(315px, 0.42fr) minmax(0, 1fr);
    gap: 25px;
  }

  .search-hero__copy h1 {
    font-size: 26px;
  }

  .quick-search {
    padding: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet header */
@media (max-width: 1180px) {
  .global-nav {
    padding-right: 22px;
    padding-left: 22px;
  }

  .nav-inner,
  .nav-container {
    gap: 15px;
  }

  .nav-list {
    gap: 1px;
  }

  .nav-link {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 13px;
  }

  .nav-contact-button {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 13px;
  }
}

@media (max-width: 940px) {
  .search-hero__inner {
    display: block;
    padding: 31px 0 36px;
  }

  .search-hero__copy {
    margin: 0 auto 25px;
    padding-left: 0;
    text-align: center;
  }

  .results-layout {
    display: block;
  }

  .mobile-filter-button {
    display: flex;
    width: 100%;
    min-height: 56px;
    margin-bottom: 18px;
    padding: 11px 18px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #e2d7cc;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(67, 46, 30, 0.08);
    color: #333840;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-filter-button > span {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
  }

  .mobile-filter-button::after {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid #44484f;
    border-bottom: 2px solid #44484f;
    content: "";
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .mobile-filter-button.is-open::after {
    transform: translateY(4px) rotate(225deg);
  }

  .filter-panel {
    position: static;
    display: none;
    margin-bottom: 28px;
  }

  .filter-panel.is-open {
    display: block;
  }

  .filter-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .site-header,
  .global-nav {
    height: 74px;
  }

  .global-nav {
    padding: 0 18px;
  }

  .nav-inner {
    justify-content: space-between;
  }

  .global-nav .logo img {
    width: 125px;
    max-width: 100%;
    height: auto;
  }

  .hamburger-menu {
    position: relative;
    z-index: 1001;
    display: inline-flex;
  }

  .hamburger-menu.active {
    color: var(--orange-dark);
    font-size: 37px;
  }

  .nav-container {
    position: fixed;
    z-index: 1000;
    top: 74px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    width: 100%;
    height: calc(100dvh - 74px);
    padding: 30px 22px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 25px;
    background: rgba(247, 241, 234, 0.985);
  }

  .nav-container.is-open {
    display: flex;
  }

  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .nav-list li,
  .nav-link {
    width: 100%;
  }

  .nav-link {
    min-height: 51px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
  }

  .nav-divider {
    display: none;
  }

  .button-container {
    width: 100%;
    flex-direction: column;
    gap: 11px;
  }

  .nav-contact-button {
    width: 100%;
    min-height: 50px;
  }

  .search-hero {
    min-height: 0;
  }

  .search-hero__inner {
    width: min(100% - 28px, 620px);
    min-height: 0;
    padding: 28px 0 33px;
  }

  .search-hero__copy {
    margin-bottom: 22px;
  }

  .search-hero__copy h1 {
    font-size: clamp(19px, 5.3vw, 22px);
    line-height: 1.65;
  }

  .search-hero__copy p {
    font-size: 37px;
  }

  .quick-search {
    padding: 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    border-radius: 16px;
  }

  .quick-search select,
  .quick-search input,
  .quick-search__button {
    width: 100%;
    max-width: 100%;
    height: 56px;
    font-size: 16px;
  }

  .results-section {
    padding: 31px 14px 73px;
  }

  .filter-panel form {
    padding: 23px 19px 20px;
  }

  .filter-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-toolbar {
    display: block;
    min-height: 0;
    margin-bottom: 18px;
  }

  .results-count {
    display: flex;
    margin-bottom: 15px;
    justify-content: space-between;
    gap: 12px;
  }

  .results-count h2 {
    font-size: 22px;
  }

  .results-count p {
    text-align: right;
  }

  .results-count strong {
    font-size: 37px;
  }

  .results-count p span {
    margin-right: 4px;
    font-size: 17px;
  }

  .sort-form,
  .sort-form label,
  .sort-form select {
    width: 100%;
  }

  .sort-form select {
    height: 48px;
    font-size: 16px;
  }

  .job-results {
    gap: 15px;
  }

  .job-result-card {
    border-radius: 16px;
  }

  .job-result-card__link {
    display: block;
    min-height: 0;
  }

  .job-result-card__image {
    width: 100%;
    height: 215px;
    min-height: 215px;
  }

  .no-image {
    min-height: 215px;
  }

  .job-result-card__body {
    padding: 18px 19px 68px;
  }

  .job-result-card__body h3 {
    max-width: 100%;
    padding-right: 0;
    font-size: 17px;
  }

  .job-result-card__summary {
    font-size: 12px;
  }

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

  .job-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  .job-meta dd {
    font-size: 11px;
  }

  .job-result-card__arrow {
    right: 17px;
    bottom: 17px;
    width: 37px;
    height: 37px;
  }

  .favorite-button {
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.94);
  }

  .pagination {
    gap: 7px;
  }

  .pagination__numbers a,
  .pagination__numbers span {
    width: 37px;
    height: 37px;
    font-size: 12px;
  }

  .pagination__move {
    min-height: 37px;
    padding: 7px 11px;
  }

  footer {
    padding: 42px 24px 24px;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .footer-left {
    order: 2;
  }

  .footer-logo img {
    width: 150px;
  }

  .footer-right {
    width: 100%;
    align-items: stretch;
  }

  .footer-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 6px;
  }

  .footer-nav-link {
    padding: 8px 4px;
    font-size: 12px;
  }

  .footer-contact {
    display: grid;
    width: 100%;
    margin-top: 27px;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .contact-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 11px 18px;
    font-size: 14px;
  }

  .footer-bottom {
    display: block;
    margin-top: 34px;
  }

  .policies {
    display: block;
    margin-top: 17px;
  }

  .policy-item {
    padding: 3px 0;
  }

  .scroll-to-top {
    right: 17px;
    bottom: 17px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

@media (max-width: 430px) {
  .results-count {
    display: block;
  }

  .results-count h2 {
    margin-bottom: 4px;
  }

  .results-count p {
    text-align: left;
  }

  .job-result-card__image,
  .no-image {
    height: 190px;
    min-height: 190px;
  }

  .job-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .job-meta dd {
    white-space: normal;
  }

  .pagination__move {
    font-size: 0;
  }

  .pagination__move i {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
