/********************************************************************
* Barberin' Works 調整用CSS（adjust.css）
* 2026-07 デザイン調整（Figma「調整案」準拠）
* 既存CSS（style.css）は変更せず、本ファイルの追加のみで上書き調整する
********************************************************************/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --aj-green: #14b87f;
  --aj-ink: #111111;
  --aj-text: #222222;
  --aj-sub: #6e6e6e;
  --aj-border: #e8e8e8;
  --aj-input-border: #d9d9d9;
  --aj-bg-gray: #f7f7f5;
  --aj-dark: #1a1a1a;
  --aj-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  --aj-card-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/**********************************************************
* 基本
**********************************************************/

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', メイリオ, Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--aj-text);
}

h2 { font-size: 24px; font-weight: 700; color: var(--aj-ink); }
h3 { font-size: 20px; font-weight: 700; color: var(--aj-ink); }

@media (max-width: 767px) {
  body { font-size: 13.5px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
}

/* 緑バー付き見出しの共通部品 */
.aj-bar-heading::before,
#register h2 i.fa-circle + *,
#user_login_container h2 i.fa-circle + * { display: inline; }

/**********************************************************
* ボタン共通
**********************************************************/

.btn-green,
input[type="submit"].btn-green,
button.btn-green {
  background: var(--aj-green);
  border: 1px solid var(--aj-green);
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: var(--aj-shadow);
}

.l-btn { height: 48px; border-radius: 6px; }

.btn { border-radius: 6px; font-size: 15px; padding: 12px 44px; }

/* お気に入りボタン: 白アウトラインに統一（inline styleより優先させる） */
.favorite-btn {
  background: #ffffff !important;
  color: #555555 !important;
  border: 1.2px solid #cccccc !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
}

.favorite-btn i.fa-star { color: #999999; font-weight: 400; }

/**********************************************************
* ヘッダー
**********************************************************/

#header .header-form,
#header .keyword-form {
  height: 40px;
  border: 1px solid var(--aj-input-border);
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
  color: #333;
}

#header .btn-white {
  height: 40px;
  width: 48px;
  background: var(--aj-dark);
  border: 1px solid var(--aj-dark);
  border-radius: 6px;
  color: #ffffff;
}

#header .menu-item span { color: #999; }

/* ナビの緑ボタン（inline style対策） */
#header a.nav-link button {
  border-radius: 6px !important;
  padding: 9px 18px !important;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.header-bottom {
  background: var(--aj-dark);
  padding: 9px 7px;
}

.header-bottom h1 {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #d2d2d2;
}

@media screen and (max-width: 960px) {
  .header-bottom h1 { font-size: 10px; }
}

/**********************************************************
* 下層ページタイトル帯 + 英語アイキャッチ
**********************************************************/

.otherpage-top { background: var(--aj-bg-gray); }

.otherpage-top .container {
  height: auto;
  min-height: 0;
  justify-content: flex-start;
  padding: 34px 15px;
}

.otherpage-top h2 {
  font-size: 24px;
  letter-spacing: 1px;
  text-align: left;
}

.otherpage-top h2::before {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--aj-green);
  margin-bottom: 4px;
}

@media (max-width: 767px) {
  .otherpage-top .container { padding: 26px 15px; }
  .otherpage-top h2 { font-size: 21px; }
}

body:has(#recruit-list) .otherpage-top h2::before { content: 'SEARCH RESULTS'; }
body:has(#recruit) .otherpage-top h2::before { content: 'JOB DETAIL'; }
body:has(#register) .otherpage-top h2::before { content: 'SIGN UP'; }
body:has(#user_login_container) .otherpage-top h2::before { content: 'LOGIN'; }
body:has(#mypage) .otherpage-top h2::before { content: 'MY PAGE'; }
body:has(#contact) .otherpage-top h2::before { content: 'CONTACT'; }
body:has(#condition) .otherpage-top h2::before { content: 'TERMS OF SERVICE'; }
body:has(#salon-condition) .otherpage-top h2::before { content: 'TERMS FOR SALONS'; }
body:has(#privacy) .otherpage-top h2::before { content: 'PRIVACY POLICY'; }
body:has(#salon-apply) .otherpage-top h2::before { content: 'FOR SALON OWNERS'; }
body:has(#apply) .otherpage-top h2::before { content: 'ENTRY'; }

/**********************************************************
* セクション見出し共通（緑バー）
**********************************************************/

#home-area-search h2.title-line-black,
#home-jobtype-search h2.title-line-black,
#home-content h2.title-line-black {
  background-image: none;
  text-align: left;
  margin-bottom: 12px;
}

#home-area-search h2.title-line-black span,
#home-jobtype-search h2.title-line-black span,
#home-content h2.title-line-black span {
  padding: 0;
  background: transparent;
  font-size: 26px;
  font-weight: 700;
  color: var(--aj-ink);
  letter-spacing: 1px;
}

#home-area-search h2.title-line-black::before,
#home-jobtype-search h2.title-line-black::before,
#home-content h2.title-line-black::before,
#pre-footer h2::before {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--aj-green);
  margin-bottom: 4px;
}

#home-area-search h2.title-line-black::before { content: 'SEARCH BY AREA'; }
#home-jobtype-search h2.title-line-black::before { content: 'EMPLOYMENT TYPE'; }
#home-content h2.title-line-black::before { content: 'ABOUT US'; }
#pre-footer h2::before { content: 'FOR SALON OWNERS'; }

/**********************************************************
* TOP: ヒーロー
**********************************************************/

#home-top .container {
  max-width: 100%;
  aspect-ratio: 2200 / 903;
  background: url(../images/adjust/hero-pc.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  text-shadow: none;
}

@media (max-width: 767px) {
  #home-top .container {
    aspect-ratio: 780 / 834;
    background: url(../images/adjust/hero-sp.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
}

/**********************************************************
* TOP: エリアから探す / 雇用形態から探す
**********************************************************/

#home-area-search .regular-box,
#home-jobtype-search .regular-box {
  border: none;
  padding: 24px 0 0 0;
}

#home-area-search ul,
#home-jobtype-search ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

#home-area-search ul li {
  width: calc((100% - 50px) / 6);
  border-bottom: none;
  padding: 0;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #ffffff;
}

#home-area-search ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333333;
}

#home-area-search ul li.no-border,
#home-jobtype-search ul li.no-border { display: none; }

#home-jobtype-search { background: var(--aj-bg-gray); }

#home-jobtype-search ul li {
  width: calc((100% - 48px) / 4);
  border-bottom: none;
  padding: 0;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

#home-jobtype-search ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #262626;
}

/* チェブロン（CSSボーダー描画・グリフ不使用） */
#home-jobtype-search ul li a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 1.6px solid var(--aj-green);
  border-right: 1.6px solid var(--aj-green);
  transform: rotate(45deg);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  #home-area-search ul { gap: 8px; }
  #home-area-search ul li { width: calc((100% - 16px) / 3) !important; }
  #home-area-search ul li a { height: 44px; font-size: 13px; }
  #home-jobtype-search ul li { width: calc((100% - 10px) / 2) !important; }
  #home-jobtype-search ul li a { height: 52px; font-size: 13.5px; }
}

/**********************************************************
* TOP: ABOUT
**********************************************************/

/* 見出し「ABOUT」→「Barberin’Worksとは」に置換（英語眉と重複するため） */
#home-content h2.title-line-black span { font-size: 0; letter-spacing: 0; }

#home-content h2.title-line-black span::after {
  content: 'Barberin’Worksとは';
  font-size: 26px;
  font-weight: 700;
  color: var(--aj-ink);
  letter-spacing: 1px;
}

#home-content .sub-title { display: none; }

#home-content .text-center {
  text-align: left !important;
  font-size: 14.5px !important;
  line-height: 1.95;
}

#home-content .text-center p { margin-bottom: 16px; }

@media (min-width: 768px) {
  #home-content .text-center {
    display: grid;
    grid-template-columns: 440px 1fr;
    column-gap: 56px;
  }
  #home-content .text-center::before {
    content: '';
    grid-row: 1 / span 20;
    background: url(../images/adjust/about.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    min-height: 400px;
  }
}

@media (max-width: 767px) {
  #home-content .text-center::before {
    content: '';
    display: block;
    aspect-ratio: 3 / 2;
    background: url(../images/adjust/about.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 20px;
  }
}

/**********************************************************
* TOP: 掲載をご希望の店舗様バンド
**********************************************************/

#pre-footer {
  background: #161617;
  padding: 88px 0;
}

#pre-footer .container { text-shadow: none !important; }

#pre-footer h2 {
  color: #ffffff;
  font-size: 26px;
  letter-spacing: 1.5px;
}

#pre-footer h2::before { text-align: center; }

#pre-footer p { color: #d9d9d9; }

#pre-footer button {
  background: var(--aj-green);
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 1px;
  height: 54px;
  padding: 10px 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  #pre-footer { padding: 64px 0; }
  #pre-footer h2 { font-size: 22px; }
}

/**********************************************************
* 求人一覧
**********************************************************/

#recruit-list h2.title-border {
  border-bottom: none;
  font-size: 24px;
  letter-spacing: 1px;
}

#recruit-list .search_keys {
  display: inline-block;
  background: #f2f2f0;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: #595959;
  margin-bottom: 8px;
}

/* 件数（タイトル横の緑数字） */
#recruit-list h2 .search-count {
  font-size: 13px;
  font-weight: 400;
  color: var(--aj-sub);
  letter-spacing: 0;
  margin-left: 8px;
  white-space: nowrap;
}

#recruit-list h2 .search-count-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--aj-green);
  margin: 0 3px;
}

/* カード */
#recruit-list .regular-box,
#mypage .regular-box {
  border: 1px solid var(--aj-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--aj-card-shadow);
  margin-bottom: 20px;
}

#recruit-list .recruit-title h3,
#mypage .recruit-title h3 {
  font-size: 17px;
  line-height: 1.6;
  border: none;
  margin-bottom: 6px;
}

#recruit-list h4.recruit-catch,
#mypage h4.recruit-catch {
  font-size: 13px;
  font-weight: 400;
  color: var(--aj-sub);
  text-align: left;
  margin-bottom: 12px;
}

#recruit-list img.wrap-recruit,
#mypage img.wrap-recruit {
  border-radius: 8px;
  width: 100%;
}

/* ラベル（給与・雇用形態 / 勤務地） */
#recruit-list th.recruit-box-l,
#mypage .regular-box th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #444444;
  background: transparent;
  text-align: left;
  vertical-align: top;
  padding: 10px 4px;
}

#recruit-list th.recruit-box-l::before,
#mypage .regular-box th::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 12px;
  background: var(--aj-green);
  border-radius: 1px;
  margin-right: 7px;
}

#recruit-list th.recruit-box-l i,
#mypage .regular-box th i,
#mypage .regular-box td i { display: none; }

/* 雇用形態（下線付き太字td）→ 黒チップ風
   ※テーマ側HTMLがtd入れ子崩れしているため、チップ=inline-block／値=blockで整流する */
#recruit-list .job-type-table td[style*="underline"],
#mypage .regular-box table table td[style*="padding-left:0"] {
  text-decoration: none !important;
  font-size: 11px !important;
  display: inline-block;
  background: var(--aj-dark);
  color: #ffffff !important;
  border-radius: 3px;
  padding: 3px 9px !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.4;
  margin: 14px 0 8px 0;
  white-space: nowrap;
}

/* 先頭のチップは上余白を詰める */
#recruit-list .job-type-table tr:first-child td[style*="underline"] { margin-top: 2px; }

/* 給与の値: チップの下にブロックで配置（回り込み防止） */
#recruit-list .job-type-table td:not([style]),
#mypage .regular-box table table td:not([style]) {
  display: block;
  font-size: 13px;
  color: #262626;
  padding: 0 0 6px 0;
  line-height: 1.8;
}

#recruit-list td.recruit-box-r { font-size: 13.5px; }

#recruit-list p.description.clamp,
#mypage p.description.clamp {
  font-size: 12.5px;
  color: var(--aj-sub);
  margin: 16px 0 !important;
  padding: 0;
}

/* ボタン: 詳細を主・お気に入りを副にし、順序を入れ替え */
#recruit-list .row.recruit-btn { display: flex; flex-wrap: wrap; }
#recruit-list .row.recruit-btn .col-md-6:first-child { order: 2; }
#recruit-list .row.recruit-btn .col-md-6:last-child { order: 1; }

@media (max-width: 767px) {
  #recruit-list .regular-box, #mypage .regular-box { padding: 18px; }
}

/**********************************************************
* 求人詳細
**********************************************************/

#recruit h3, #salon h3 {
  border-bottom: none;
  font-size: 20px;
  line-height: 1.65;
  margin-bottom: 8px;
}

#recruit .m-container > h2, #salon .m-container > h2 {
  font-size: 14px;
  font-weight: 400;
  color: var(--aj-sub);
  margin-bottom: 18px;
}

/* 「募集要項」「店舗情報」見出し */
#recruit h2[style], #salon h2[style] {
  font-size: 24px !important;
  font-weight: 700;
  color: var(--aj-ink);
  margin-bottom: 4px;
}

/* タブ */
.recruit-switch.tag, .salon-switch.tag {
  height: 46px;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 1px;
}

.tag { border-radius: 6px; }

.tag-white { border-color: #cccccc; color: #595959; }

/* 詳細ページの雇用形態タグ: 全幅帯 → コンパクトなチップ */
#recruit .recruit-area + .row .tag,
#recruit .row .tag[id^="btn-"] {
  width: auto;
  display: inline-flex;
  height: 34px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

#recruit .row .col-md-3 { flex: 0 0 auto; width: auto; }

/* スライダー画像 */
.photo-area img { border-radius: 12px; }

/* 募集要項テーブル */
#recruit table, #salon table { font-size: 14px; line-height: 1.9; }

#recruit th, #salon th {
  font-size: 14px;
  font-weight: 700;
  color: #262626;
  vertical-align: top;
  padding: 22px 5px;
  white-space: nowrap;
}

#recruit th::before, #salon th::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--aj-green);
  border-radius: 1px;
  margin-right: 9px;
  vertical-align: -2px;
}

#recruit td, #salon td {
  border-bottom: 1px solid #ececec;
  padding: 22px 5px;
}

#recruit th { border-bottom: 1px solid #ececec; }
#salon th { border-bottom: 1px solid #ececec; }

/* SPは縦積み */
@media (max-width: 767px) {
  #recruit table tr, #salon table tr { display: block; padding: 16px 0; border-bottom: 1px solid #ececec; }
  #recruit th, #salon th {
    display: block;
    width: 100% !important;
    border-bottom: none;
    padding: 0 0 6px 0;
    text-align: left;
  }
  #recruit td, #salon td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: 0;
  }
}

/* 応募CTA */
#btn-area { padding-top: 0; }

#btn-area .btn-green {
  height: 54px;
  font-size: 16px;
  letter-spacing: 1.5px;
}

@media (max-width: 767px) {
  #btn-area .row { display: flex; flex-direction: column; }
  #btn-area .row .col-md-6:first-child { order: 2; }
  #btn-area .row .col-md-6:last-child { order: 1; }
}

/**********************************************************
* フォーム共通
**********************************************************/

input[type="text"], input[type="password"], input[type="email"] {
  height: 48px;
  border: 1px solid var(--aj-input-border);
  border-radius: 6px;
  padding: 0 14px;
  font-size: 14px;
  margin-top: 8px;
}

textarea {
  border: 1px solid var(--aj-input-border);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  margin-top: 8px;
}

select {
  height: 48px;
  border: 1px solid var(--aj-input-border);
  border-radius: 6px;
  padding: 0 10px;
  font-size: 14px;
}

/* 必須バッジ: 黒チップに統一 */
.badge.badge-yellow {
  background: #1f1f1f;
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
  vertical-align: 2px;
}

/* フォーム内ラベル */
#register td p, #contact td p, #salon-apply td p, #mypage td p, #apply td p {
  font-weight: 700;
  font-size: 14px;
  color: #262626;
  display: inline-block;
  margin-bottom: 0;
}

#register td, #contact td, #salon-apply td, #apply td { padding: 14px 0; }

/* 注意書き（青文字の注記をグレーに） */
.info-msg {
  color: var(--aj-sub) !important;
  font-size: 12px;
  font-weight: 400;
  margin-top: 6px;
}

#register .colored_link { font-weight: 700 !important; color: var(--aj-green) !important; }

/* セクション見出し（●アイコン → 緑バー） */
#register h2 i.fa-circle,
#user_login_container h2 i.fa-circle { display: none; }

#register h2::before,
#user_login_container h2::before,
#mypage h2::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 17px;
  background: var(--aj-green);
  border-radius: 1px;
  margin-right: 9px;
  vertical-align: -2px;
}

#register h2, #user_login_container h2, #mypage h2 { font-size: 19px; }

/**********************************************************
* ログイン（一般・店舗）
**********************************************************/

main:has(#user_login_container) { background: var(--aj-bg-gray); display: block; }

#user_login_container .s-container > div {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 30px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

#loginform label { display: block; font-size: 13px; font-weight: 700; color: #262626; }

#loginform .login-remember label { font-weight: 400; font-size: 13px; }

#user_login_container input[type="submit"] {
  width: 100%;
  height: 50px;
  background: var(--aj-green);
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  color: #ffffff;
  box-shadow: var(--aj-shadow);
  cursor: pointer;
}

#user_login_container .colored_link { color: var(--aj-green) !important; }

/**********************************************************
* マイページ
**********************************************************/

/* お気に入りを上、会員情報を下に（対応ブラウザのみ・非対応時は現状順） */
main:has(#mypage) article { display: flex; flex-direction: column; }
main article > section#mypage:nth-of-type(1) { order: 2; }
main article > section#mypage:nth-of-type(2) { order: 1; }

#mypage h2.text_center { text-align: left; }

#mypage table td { padding: 10px 0; }

#mypage input[type="submit"] {
  background: var(--aj-green) !important;
  border: none;
  border-radius: 6px;
  height: 50px !important;
  padding: 12px 40px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: var(--aj-shadow);
}

/**********************************************************
* 規約・プライバシーポリシー
**********************************************************/

#condition .container, #salon-condition .container, #privacy .container,
#condition .m-container, #salon-condition .m-container, #privacy .m-container {
  max-width: 820px;
}

#condition h3, #salon-condition h3, #privacy h3 {
  font-size: 18px;
  border-bottom: 1px solid #ececec;
  padding-bottom: 10px;
  margin: 40px 0 16px 0;
}

#condition h3::before, #salon-condition h3::before, #privacy h3::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--aj-green);
  border-radius: 1px;
  margin-right: 9px;
  vertical-align: -2px;
}

#condition p, #salon-condition p, #privacy p,
#condition li, #salon-condition li, #privacy li {
  font-size: 13.5px;
  line-height: 1.9;
  margin-bottom: 10px;
}

/**********************************************************
* 掲載申込LP（/salon_apply/）
**********************************************************/

#lp-top {
  height: auto;
  min-height: 0;
  padding: 96px 0;
  background:
    linear-gradient(rgba(3, 3, 4, 0.6), rgba(3, 3, 4, 0.6)),
    url(../images/adjust/lp-bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  text-shadow: none;
  margin-top: 132px;
}

#lp-top .flex-wrapper {
  background: transparent;
  padding: 0;
}

#lp-top h2 { line-height: 1.7; color: #ffffff; }

#lp-top h2 span { font-size: 44px; color: #ffffff; }

#lp-top .btn-green {
  padding: 16px 46px !important;
  font-size: 15px;
}

@media (max-width: 960px) {
  #lp-top { margin-top: 100px; }
}

@media screen and (max-width: 767px) {
  #lp-top { height: auto; padding: 64px 0; }
  #lp-top h2 span { font-size: 30px; }
}

/**********************************************************
* ページネーション
**********************************************************/

ul.paging-number li {
  width: 36px;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--aj-border);
  border-radius: 6px;
}

/**********************************************************
* フッター
**********************************************************/

#footer { background: #141414; }

#footer-menu p { font-size: 13px; }

.footer-link td { padding: 10px 8px; }

.footer-link td a { color: #cccccc; font-size: 13px; }

.copyright { font-size: 11px; color: #888888; padding-top: 10px; }

.copyright a { color: #888888; }
