@charset "utf-8";
/*
 * zokunavi.com の見た目（段 5-a。src/zokunavi/pages/ の部品と組）。PC とスマホで 1 つの HTML を、幅 980px を境に並べ替える
 * （src/zokunavi/pages/frame.ts の WIDE と同じ）。色は今の PC（背景 #ccddff・ピンク #ff3366・線 #ff99cc）とスマホの CSS の色。
 */
[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: #000;
  font:
    15px / 1.5 "メイリオ",
    "Meiryo",
    "Hiragino Kaku Gothic Pro",
    "ヒラギノ角ゴ Pro W3",
    sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: bottom;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: #3b69d3;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.wmax,
.wp100 {
  display: block;
  width: 100%;
}
.wp50 {
  width: 50%;
}
.center {
  text-align: center;
}
.f-red {
  color: red;
}
.float-left {
  float: left;
}
.clear-both {
  clear: both;
}
.button {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ff3366;
  border-radius: 4px;
  background: #fff;
  color: #ff3366;
  font: inherit;
  font-weight: bold;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.button.apply {
  background: #ff3366;
  color: #fff;
}

/* ---- ページの外枠・ヘッダー・メニュー ---- */
.page {
  max-width: 950px;
  margin: 0 auto;
  background: #ccddff;
}
.site-bar {
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: normal;
  text-align: center;
  padding: 2px 4px;
}
.site-logo {
  position: relative;
  display: block;
  width: 100%;
}
.logo-img {
  display: block;
  width: 100%;
}
/* 今の PC のロゴの上に重ねていた画像（広い幅だけ） */
.logo-over {
  position: absolute;
  top: 0;
  left: 0;
}
/* ボタンの行（新規会員登録・ログイン・メニュー）は上に固定する。高さは --bar（固定の見出しはこの下に付く） */
:root {
  --bar: 44px;
}
.member-bar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--bar);
  padding: 0 8px;
  background: #ccddff;
  border-bottom: 1px solid #ff99cc;
}
.member {
  display: flex;
  align-items: center;
  gap: 6px;
}
.member-button {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ff3366;
  border-radius: 4px;
  background: #fff;
  color: #ff3366;
  font: inherit;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}
.member-name {
  font-size: 13px;
  font-weight: bold;
}
.side-open {
  margin-left: auto;
  margin-right: 6px;
}
.site-menu ul {
  display: flex;
}
.site-menu li {
  flex: 1;
}
.site-menu img {
  display: block;
  width: 100%;
}

/* ---- 本文と右の列 ---- */
.main {
  min-width: 0;
  padding: 0 8px 16px;
}
.side-inner {
  padding: 8px;
}
.side-inner > * {
  margin-bottom: 8px;
}
.side-close {
  display: block;
  margin-left: auto;
}
.side-regist img,
.side-title {
  display: block;
  width: 100%;
}
.login-box,
.login-block form {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.login-box form {
  display: grid;
  gap: 6px;
}
.login-box label,
.login-block label {
  display: grid;
  gap: 2px;
}
.login-box input[type="email"],
.login-box input[type="password"],
.login-block input[type="email"],
.login-block input[type="password"] {
  width: 100%;
  padding: 6px;
  font: inherit;
  font-size: 16px;
}
.login-box,
.login-block {
  background: #fff;
  border: 1px solid #ff99cc;
  padding: 8px;
}
.side-list li a {
  display: block;
  text-align: center;
  color: #0000ff;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 6px;
}
.side-list li span {
  display: block;
  font-size: 13px;
}
.side-banner {
  text-align: center;
}
.actions {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: #fff;
  border-top: 2px solid #ff3366;
}
.actions .button {
  flex: 1;
}
.site-foot {
  background: #223 var(--foot);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 10px 8px;
}
.site-foot ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  margin-bottom: 6px;
}
.site-foot li a,
.site-foot p a {
  color: #ccffff;
  font-weight: bold;
}

/* 狭い幅: 1 列。右の列はヘッダーの「おすすめ」で画面の右から出す。店のページのボタンは画面の下に固定 */
@media not all and (min-width: 980px) {
  .side {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -340px;
    width: min(320px, 88vw);
    overflow-y: auto;
    background: #ccddff;
    z-index: 30;
    visibility: hidden;
    transition: right 0.2s;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
  }
  .side-shown .side {
    right: 0;
    visibility: visible;
  }
  .actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    visibility: visible;
  }
  .has-actions .page {
    padding-bottom: 64px;
  }
  /* 右の列の「閉じる」は列を流しても上に残し、店のページでは列の最後が下のボタンの列に隠れないようにする */
  .side-close {
    position: sticky;
    top: 0;
    z-index: 1;
  }
  .has-actions .side-inner {
    padding-bottom: 72px;
  }
  .side-menu ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .side-menu a {
    display: block;
    padding: 8px;
    background: #fff;
    border: 1px solid #ff99cc;
    color: #ff3366;
    font-weight: bold;
    text-decoration: none;
  }
  .side-open {
    margin-left: auto;
  }
  .wide-only {
    display: none;
  }
}

/* 広い幅: 今の PC の 2 列（本文 730px・右の列 220px）。右の列は本文と同じ高さに伸び、上の欄が最後まで残る */
@media (min-width: 980px) {
  body {
    font-size: 16px;
    background: #fff var(--bg) no-repeat center top fixed;
  }
  .page {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
  }
  .site-bar {
    font-size: 16px;
  }
  .member-bar {
    justify-content: flex-end;
  }
  .side-open,
  .side-close,
  .side-menu {
    display: none;
  }
  .layout {
    display: grid;
    grid-template-columns: minmax(0, 730px) 220px;
  }
  /* 本文の最後のタブを右の列と同じ高さまで伸ばし、本文が短くても店名とタブの名前が最後まで上に残るように */
  .main {
    display: flex;
    flex-direction: column;
    padding: 0 0 16px;
  }
  .main > .tabs:last-child {
    flex: 1;
  }
  .actions {
    position: sticky;
    top: var(--bar);
    z-index: 5;
    flex-direction: column;
    border: 2px solid #ff3366;
  }
}

/* ---- 年齢確認 ---- */
.auth {
  position: fixed;
  inset: 0;
  z-index: 1001;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.9);
}
.auth-inner {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
}
.auth-bar {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 2px;
}
.auth .caution {
  color: red;
  text-align: center;
  padding: 8px;
}

/* ---- 上に固定の見出しとタブ ---- */
.sticky {
  position: sticky;
  top: var(--bar);
  z-index: 10;
  background: #ccddff;
}
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 6px 0;
}
.page-head h2,
.page-title {
  color: #ff3366;
  font-size: 18px;
}
.page-head h2 {
  flex: 1;
}
.page-title {
  padding: 6px 0;
}
.page-title small {
  display: block;
  color: #333;
  font-size: 13px;
  font-weight: normal;
}
.page-head .count {
  font-size: 14px;
  font-weight: bold;
}
.tab-names {
  display: flex;
  overflow-x: auto;
  border-bottom: 3px solid #ff3366;
}
.tab-names [role="tab"] {
  flex: 1 0 auto;
  padding: 8px 10px;
  border: 1px solid #ff3366;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #fff;
  color: #ff3366;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}
.tab-names [aria-selected="true"] {
  background: #ff3366;
  color: #fff;
}
.panel {
  padding-top: 8px;
}
/* 「条件を変更」・タブの # で移ったとき、上に固定のボタンの行と見出しの下に隠れないように */
#searchForm,
.panel {
  scroll-margin-top: calc(var(--bar) + 7em);
}

/* ---- 広告の横の並び（ローテーション）。次の画像が少し見える幅 ---- */
.ad-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0;
}
.ad {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.ad img {
  height: 150px;
  width: auto;
  max-width: 80vw;
  object-fit: cover;
}
.panel .ad-row {
  flex-wrap: wrap;
  overflow: visible;
}
@media (min-width: 980px) {
  .ad img {
    height: 186px;
    max-width: 600px;
  }
}

/* ---- トップ ---- */
.area-entry ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .area-entry ul {
    grid-template-columns: repeat(4, 1fr);
  }
}
.area-entry img {
  display: block;
  width: 100%;
}
.pickups {
  display: grid;
  gap: 8px;
}
@media (min-width: 768px) {
  .pickups {
    grid-template-columns: 1fr 1fr;
  }
}
.pickups .pickup a,
.item-link {
  display: block;
  background: #fff;
  border: 1px solid #ccc;
  color: #000;
  text-decoration: none;
  padding: 6px;
}
.pickup img {
  display: block;
  width: 100%;
  aspect-ratio: 468 / 348;
  object-fit: cover;
}
.item-name {
  display: block;
  color: #ff3366;
  font-weight: bold;
}
.item-area,
.item-title,
.item-salary {
  display: block;
  font-size: 13px;
}
.item-title {
  color: #3ca223;
  font-weight: bold;
}
.items {
  display: grid;
  gap: 4px;
}
@media (min-width: 768px) {
  .items {
    grid-template-columns: 1fr 1fr;
  }
}
.item-link {
  display: flex;
  gap: 8px;
}
.item-link img {
  flex: 0 0 100px;
  width: 100px;
  height: 60px;
}
.item-text {
  min-width: 0;
}
.rank {
  display: inline-block;
  width: 21px;
  height: 15px;
  margin-right: 4px;
  font-size: 9px;
  text-align: center;
  padding-top: 3px;
  background-repeat: no-repeat;
  color: #000;
}
.special {
  display: block;
  margin-top: 8px;
}

/* ---- お仕事を探す ---- */
.search {
  background: #fff;
  border: 1px solid #ff99cc;
  padding: 8px;
  margin: 8px 0;
}
.area-switch,
.genre-switch ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.area-switch .button,
.genre-switch .button {
  padding: 4px 8px;
  font-size: 13px;
}
.area-switch [aria-current],
.genre-switch [aria-current] {
  background: #ff3366;
  color: #fff;
}
.genre-switch ul {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 6px 0;
}
.genre-switch li {
  flex: 0 0 auto;
}
.cond-row {
  display: grid;
  grid-template-columns: 6em 1fr auto;
  align-items: center;
  gap: 6px;
  border-bottom: 1px dashed #fec6c6;
  padding: 6px 0;
}
.cond-name {
  background: #ff3366;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 6px 0;
}
.cond-value {
  font-size: 13px;
}
.cond-change {
  border: 1px solid #ff3366;
  border-radius: 12px;
  background: #fff;
  color: #ff3366;
  font: inherit;
  font-size: 13px;
  font-weight: bold;
  padding: 2px 10px;
  cursor: pointer;
}
.cond-dialog {
  width: min(440px, 92vw);
  max-height: 85vh;
  padding: 0;
  border: 2px solid #ff3366;
}
.cond-dialog[open] {
  display: flex;
  flex-direction: column;
}
.dialog-head {
  background: #ff3366;
  color: #fff;
  font-weight: bold;
  padding: 8px;
}
.dialog-list {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
  font-size: 14px;
}
.dialog-foot {
  border-top: 1px solid #ff99cc;
  padding: 8px;
  text-align: center;
}
.cond-word {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.cond-word input {
  flex: 1;
  min-width: 0;
  padding: 6px;
  font-size: 16px;
}

/* ---- 店のカード ---- */
.card {
  background: #fff;
  border: 2px solid pink;
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 8px;
}
.card-premiere {
  border-color: #0099ff;
}
.card .card-name a {
  color: #ff00cc;
  font-size: 17px;
  font-weight: bold;
}
.card-body {
  display: flex;
  gap: 8px;
  margin: 6px 0;
}
.card-image {
  flex: 0 0 40%;
  max-width: 300px;
}
.card-advance .card-image {
  flex-basis: 30%;
}
.card-image img {
  display: block;
  width: 100%;
}
.card-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 6px;
  margin: 0;
  font-size: 13px;
  align-content: start;
}
.card-table dt {
  background: #ccccff;
  color: #000099;
  padding: 0 4px;
}
.card-table dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.others {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 6px 0;
}
.others li {
  border-radius: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
}
.others .on {
  background: #e62db9;
}
.others .off {
  background: #b4a4ac;
}
.card-title {
  color: #ff00ff;
  font-weight: bold;
}
.card-text {
  font-size: 13px;
}
.card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.more-foot,
.none {
  text-align: center;
  padding: 8px;
}

/* ---- 店のページ・仕事の説明 ---- */
.shop-text,
.explain {
  background: #fff;
  padding: 8px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.shop-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}
.shop-table th,
.shop-table td {
  border: 1px solid #ff99cc;
  padding: 4px 6px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.shop-table th {
  width: 9em;
  background: #ff3366;
  color: #fff;
  font-weight: normal;
}
.section-title {
  background: #ff6699;
  color: #fff;
  font-size: 15px;
  padding: 4px 8px;
  margin: 8px 0 4px;
}
.message {
  background: #fff;
  padding: 8px;
  overflow: hidden;
}
.message img {
  float: right;
  width: 40%;
  max-width: 300px;
  margin: 0 0 6px 8px;
}
.message-title {
  color: green;
  font-weight: bold;
}
.qa dt {
  background: #eeeeff;
  color: #000099;
  font-weight: bold;
  padding: 4px 8px;
}
.qa dt::before {
  content: "Q. ";
}
.qa dd {
  background: #fff;
  margin: 0 0 8px;
  padding: 6px 8px;
}
.note {
  color: #c00;
  font-size: 13px;
}
.explain-banner {
  text-align: right;
}
.fixed {
  background: #fff;
  padding: 8px;
  margin: 8px 0;
  overflow-x: auto;
}
.not-found {
  text-align: center;
  padding: 60px 0;
}

/* ---- 会員・応募の画面（今のスマホの型紙） ---- */
#main input[type="text"],
#main input[type="email"],
#main input[type="password"],
#main select,
#main textarea {
  max-width: 100%;
  font-size: 16px;
}

/* 今のスマホの型紙（メッセージボックス）が出し入れする */
.hide {
  display: none;
}

/* 今のスマホの型紙（応募・メッセージボックス）の見出し */
.main h1 {
  color: #ff3366;
  font-size: 18px;
  margin: 6px 0;
}
