@charset "utf-8";
/* CSS Document */

/* ------------------------------------------

	サロン個別ページ
	
--------------------------------------------*/

.salon_page_title {
  margin: 20px auto;
  width: 96%;
  max-width: 1000px;
}

.salon_page_title p.icon {
  display: inline-block;
  margin: 2px 0;
  padding: 3px 7px;
  background: #ffdeab;
  color: #b02703;
  font-size: 0.8rem;
  font-weight: bold;
}

.salon_page_title p.page-area {
  margin: 0px 0px 0px 2px;
  padding-top: 4px;
  font-size: 0.8rem;
}

.salon_page_title p.salonname {
  margin: 0;
  padding: 0px 4px;
  font-size: 1.4rem;
  font-weight: bold;
}

.salon_page_title p.catch {
  margin: 0px 2px;
  padding: 0px 6px;
  font-size: 1.2rem;
  color: #ff0004;
}

.salon_page_terms {
  margin: 0px auto;
  width: 94%;
  max-width: 1000px;
  padding: 0px 4px;
  color: #000;
  line-height: 1.6rem;
}

.salon_page_terms i {
  color: #e3b26b;
}

.salon-page-image {
  margin: 20px auto;
  width: 96%;
  max-width: 920px;
  text-align: center;
}

.salon-page-image img {
  width: 32%;
  margin: 3px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .salon_page_title p.salonname {
    font-size: 1.2rem;
  }

  .salon_page_title p.catch {
    font-size: 1rem;
  }

  .salon-page-image img {
    width: 96%;
    margin: 3px auto 0 auto;
  }
}

.salon_job_info {
  text-align: center;
  margin: 20px 0 20px;
  position: relative;
}

.salon_job_info::before {
  content: "Salon Job Info";
  display: block;
  font-family: "Georgia", serif;
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 1px;
  letter-spacing: 1px;
}

.salon_job_info span {
  display: inline-block;
  font-size: 1.4em;
  color: #d4a643;
  /* 落ち着いた青系 */
  font-weight: bold;
  border-bottom: 3px solid #d4a643;
  padding-bottom: 4px;
  font-family: "Noto Sans JP", sans-serif;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
}

/* -------------------------------
	特典・給与例
------------------------------- */

/* 全体レイアウト（修正・追加分） */
.salary-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 25px auto 0 auto;
  width: 95%;
  max-width: 900px;
}

/* スマホ版の表示（デフォルト） */
.salary-list .salary-container {
  width: 100%;
}

/* PC版の表示（画面幅768px以上） */
@media (min-width: 768px) {
  .salary-list .salary-container {
    width: calc(50% - 10px);
    max-width: none;
  }
}

/* 共通コンテナスタイル */
/* -------------------------------
	重厚感のある桃色バージョンのCSS
------------------------------- */

.salary-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  width: 94%;
  max-width: 500px;
  margin: 0 auto;
  border: 2px solid #c54b78;
  /* より深みのあるピンクの枠線 */
  border-radius: 15px;
  background-color: #f8e8f0;
  /* 落ち着いたピンクの背景 */
  box-sizing: border-box;
}

/* 共通要素スタイル */
.salary-header {
  background-color: #c54b78;
  /* より深みのあるピンクのヘッダー */
  color: white;
  text-align: center;
  padding: 10px 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.salary-title {
  position: relative;
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
}

.salary-title::before {
  content: "";
  /* 絵文字または画像 */
  font-size: 1em;
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
}

.salary-main {
  background-color: #fff;
  margin: 15px;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.salary-highlight {
  font-size: 1.5em;
  font-weight: bold;
  color: #b53e6c;
  /* より落ち着いたピンクのハイライト */
  margin-bottom: 10px;
}

.salary-highlight .duration {
  font-size: 0.8em;
  color: #333;
}

.salary-highlight .label {
  font-size: 0.7em;
  color: white;
  background-color: #c54b78;
  /* より深みのあるピンクのラベル背景 */
  padding: 5px 6px;
  border-radius: 5px;
  margin: 0 5px;
}

.salary-highlight .amount {
  font-size: 0.8em;
}

.salary-details {
  background-color: #f8e8f0;
  /* 落ち着いたピンクの背景 */
  border: 1px solid #dda0dd;
  /* Lavenderの色合いの枠線 */
  padding: 10px 10px 5px 10px;
  border-radius: 8px;
  text-align: left;
}

.salary-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.salary-details li {
  margin-bottom: 5px;
  color: #333;
  line-height: 1.4;
}

.salary-details .note {
  font-size: 0.8em;
  color: #888;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  margin: 15px;
  gap: 10px;
}

.stat-box {
  flex: 1;
  background-color: #c54b78;
  /* より深みのあるピンクの統計ボックス */
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.stat-title {
  font-size: 0.9em;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 1.2em;
  font-weight: bold;
}

.salary-footer {
  text-align: center;
  padding: 15px;
  border-top: 1px solid #dda0dd;
  /* Lavenderの色合いの区切り線 */
}

.footer-title {
  color: #c54b78;
  /* より深みのあるピンクのフッタータイトル */
  font-weight: bold;
  margin-bottom: 5px;
}

.footer-text {
  font-size: 0.9em;
  color: #666;
  line-height: 1.5;
}

/* -------------------------------
	重厚感のある緑色バージョンのCSS
------------------------------- */

.salary-container.green {
  border-color: #006400;
  /* DarkGreenの枠線 */
  background-color: #f0fff0;
  /* Honeydewの背景 */
}

.salary-container.green .salary-header {
  background-color: #2e8b57;
  /* SeaGreenのヘッダー */
}

.salary-container.green .salary-highlight {
  color: #2e8b57;
  /* SeaGreenのハイライト */
}

.salary-container.green .salary-highlight .label {
  background-color: #2e8b57;
  /* SeaGreenのラベル背景 */
}

.salary-container.green .salary-details {
  border-color: #3cb371;
  /* MediumSeaGreenの枠線 */
  background-color: #f0fff0;
  /* Honeydewの背景 */
}

.salary-container.green .stats-container .stat-box {
  background-color: #20b2aa;
  /* LightSeaGreenの統計ボックス */
}

.salary-container.green .salary-footer {
  border-top-color: #3cb371;
  /* MediumSeaGreenの区切り線 */
}

.salary-container.green .salary-footer .footer-title {
  color: #2e8b57;
  /* SeaGreenのフッタータイトル */
}

/* -------------------------------
	重厚感のある紫色バージョンのCSS
------------------------------- */

.salary-container.heavy-purple {
  border-color: #4b0082;
  /* Indigo */
  background-color: #f5eef8;
  /* 淡い紫の背景 */
}

.salary-container.heavy-purple .salary-header {
  background-color: #4b0082;
  /* Indigo */
}

.salary-container.heavy-purple .salary-highlight {
  color: #4b0082;
  /* Indigo */
}

.salary-container.heavy-purple .salary-highlight .label {
  background-color: #4b0082;
  /* Indigo */
}

.salary-container.heavy-purple .salary-details {
  border-color: #9370db;
  /* MediumPurple */
  background-color: #f8f0fa;
  /* 薄い紫の背景 */
}

.salary-container.heavy-purple .stats-container .stat-box {
  background-color: #6a5acd;
  /* SlateBlue */
}

.salary-container.heavy-purple .salary-footer {
  border-top-color: #9370db;
  /* MediumPurple */
}

.salary-container.heavy-purple .salary-footer .footer-title {
  color: #4b0082;
  /* Indigo */
}

/* ------------------------------------------

	検索条件フォーム
	
--------------------------------------------*/

.search_area {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  /*background: #f9f9f9;*/
  padding: 0;
  margin-top: 0px;
}

.search_area.open {
  /* max-height は JavaScript で制御 */
  padding: 0px;
}

.toggle-button {
  padding: 8px 14px;
  background: linear-gradient(to bottom, #d4a643, #000000);
  color: #fff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  margin-top: -20px;
}

.toggle-button:hover {
  background: linear-gradient(to bottom, #000000, #d4a643);
  color: #fff;
}

.toggle-button.open {
  background: linear-gradient(to bottom, #000000, #d4a643);
  color: #fff;
}

.toggle-icon {
  margin-right: 6px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* PCでは4列 */
  gap: 10px;
  width: 95%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

/* スマホ対応：2列×2段に自動調整 */
@media screen and (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    /* スマホでは2列 */
  }
}

.toggleBtn {
  border: 1px #f00 solid;
  padding: 5px 8px;
  border-radius: 8px;
  background: #ff770f;
  color: #fff;
  text-decoration: none;
  display: block;
  width: fit-content;
}

/* 開閉対象（短縮／全文）の両方にスムース適用 */
.job-msg .msg-short,
.job-msg .msg-full {
  overflow: hidden;
  transition: height 260ms ease, opacity 260ms ease;
  will-change: height, opacity;
}

/* ------------------------------------------

	求人リスト
	
--------------------------------------------*/

/* 基本スタイル（モバイルファースト） */
.job-listing-card {
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  max-width: 94%;
  /* スマホでは全幅 */
  margin: 35px auto 10px auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-header {
  padding: 11px 12px;
  background-color: #d4a643;
  /*#E8C57C*/
  color: #fff;
}

.card-header.clr2 {
  background-color: #a1c92f;
}

.card-header.clr3 {
  background-color: #2980b9;
}

.job-title-link {
  font-size: 1em;
  color: #fff;
  text-decoration: none;
  display: block;
}

.card-body {
  display: flex;
  flex-wrap: wrap;
}

.card-image {
  flex: 0 0 320px;
  max-width: 100%;
}

.card-image img {
  width: 94%;
  height: auto;
  display: block;
  margin-top: 10px;
  border-radius: 8px;
}

.card-text {
  flex: 1;
  padding: 8px 15px;
  box-sizing: border-box;
  text-align: left;
}

.card-text span {
  font-size: 0.8rem;
  font-weight: bold;
}

/* スマホ対応（横並び解除） */
@media screen and (max-width: 768px) {
  .card-body {
    flex-direction: column;
  }

  .card-image {
    width: 100%;
    flex: none;
  }

  .card-text {
    width: 100%;
    padding: 10px 15px;
  }
}

.job-meta {
  padding: 10px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-weight: bold;
  font-size: 0.8rem;
}

.meta-tag {
  background-color: #fff;
  border: 1px #d4a643 solid;
  border-radius: 4px;
  padding: 4px 8px;
  color: #d4a643;
  white-space: nowrap;
  display: inline-block; /* ←余白が効きやすいように */
  margin-right: 0.4em; /* ←隙間を追加 */
  margin-bottom: 0.4em;
}

.meta-tag.age {
  background-color: #d4a643;
  border: 1px #d4a643 solid;
  border-radius: 4px;
  padding: 4px 8px;
  color: #fff;
}

.orange-tag {
  background-color: #fff;
  box-shadow: 0 0 0 1px #f39309;
  color: #f39309;
  border-radius: 4px;
  padding: 4px 8px;
  white-space: nowrap;
}

.pink-tag {
  background-color: #fff;
  box-shadow: 0 0 0 1px #ff3399;
  color: #ff3399;
  border-radius: 4px;
  padding: 4px 8px;
  white-space: nowrap;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  /* スマホでは縦並び */
  padding: 15px;
}

.area-panel {
  overflow: hidden;
  transition: height 260ms ease, opacity 260ms ease;
  padding-bottom: 8px;
}

/* スマホ版で画像を一番上に配置するため、HTMLの順序と合わせて調整 */
.job-image {
  flex-shrink: 0;
  margin-bottom: 15px;
  /* スマホでは画像の下に余白 */
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
}

.job-image img {
  width: 100%;
  height: auto;
  display: block;
}

.salary-and-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* スマホでは給与と店舗情報が縦並び */
}

.salary-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 10px;
}

.salary-type {
  background-color: #2c3e50;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  margin-right: 8px;
  font-weight: bold;
  width: 80px;
}

.salary-amount {
  font-size: 0.9em;
  font-weight: bold;
  color: #333;
  text-align: left;
}

.store-info {
  margin: 15px 0;
  border-top: 1px solid #eee;
  /* 区切り線 */
  padding-top: 15px;
  width: 100%;
  text-align: left;
}

.store-base {
  color: #333;
  margin: 5px 0;
  padding: 8px 0;
  border-bottom: 1px #d4a643 dotted;
}

.store-name {
  font-size: 1em;
  color: #000;
  margin-bottom: 8px;
}

.store-address,
.store-access {
  font-size: 0.9em;
  color: #666;
}

.contact-and-buttons {
  padding: 15px;
  border-top: 1px solid #eee;
}

.tel-info {
  text-align: center;
  margin-bottom: 15px;
  color: #555;
  font-size: 0.9em;
}

.tel-icon {
  font-size: 1.2em;
  vertical-align: middle;
  margin-right: 5px;
}

.tel-number a {
  font-size: 1.3em;
  font-weight: bold;
  color: #d4a643;
  text-decoration: none;
}

.request-number {
  font-size: 0.8em;
  color: #888;
  margin-top: 5px;
}

/* スマホ版でボタンを横並びにする修正 */
.action-buttons {
  display: flex;
  /* flexboxを使って横並び */
  gap: 10px;
  /* ボタン間のスペース */
  justify-content: space-between;
  /* ボタン間のスペースを均等に */
}

.btn {
  padding: 12px 0;
  /* 左右のpaddingはflexアイテムの幅で調整 */
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  flex-grow: 1;
  /* 利用可能なスペースを均等に埋める */
  flex-basis: 0;
  /* flex-growと組み合わせて50%幅を確保 */
  min-width: 0;
  /* flex-basis: 0; の時にコンテンツがはみ出さないように */
}

.job-button {
  display: inline-block;
  background: linear-gradient(to right, #ff9c47, #e64560);
  color: #fff;
  width: 200px;
  transition: all 0.3s ease;
}

.job-button:hover {
  background: linear-gradient(to right, #e64560, #ff9c47);
  /* グラデ反転 */
  opacity: 0.95;
}

.keep-button {
  background-color: #fff;
  border: 1px solid #4a5067;
  color: #4a5067;
}

.keep-button.kept {
  background-color: #4a5067;
  color: #fff;
  font-weight: bold;
}

.btn-apply {
  background-color: #00c300;
  color: #fff;
}

.btn-gray {
  background-color: #eee;
  color: #ccc;
  border: 1px solid #ccc;
  cursor: default;
}

/* --- PC版（デスクトップ）用メディアクエリ --- */
@media (min-width: 768px) {
  .job-listing-card {
    max-width: 900px;
  }

  .content-wrapper {
    flex-direction: row;
    /* PC版では横並びにする */
    align-items: flex-start;
    gap: 20px;
  }

  /* PC版での画像の配置調整 */
  .job-image {
    order: 1;
    /* flexアイテムの並び順を変更（2番目） */
    margin-bottom: 0;
    /* スマホ版の余白をリセット */
    margin-left: 20px;
    /* 情報との間に余白 */
    max-width: 300px;
  }

  .salary-and-info {
    order: 0;
    /* flexアイテムの並び順を変更（1番目） */
    flex: 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .salary-box {
    margin-bottom: 0;
  }

  .store-info {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    flex-basis: 100%;
  }

  .contact-and-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 新しい変更点: 電話番号情報とボタン群の間のスペースを確保するため */
    padding: 15px 20px;
    /* 左右に少しパディングを追加 */
  }

  .tel-info {
    text-align: left;
    margin-bottom: 0;
    flex-shrink: 0;
    /* 新しい変更点: TEL応募情報に固定幅を設定し、ボタン群とのバランスを取る */
    flex-basis: 40%;
    /* 例えば、全体の40%を電話番号情報に割り当てる */
    max-width: 350px;
    /* 最大幅を設けることで、極端に伸びるのを防ぐ */
  }

  .action-buttons {
    flex-direction: row;
    /* 横並びにする */
    gap: 15px;
    /* ボタン間のスペース */
    flex-shrink: 0;
    /* 新しい変更点: 残りのスペースをボタン群に割り当てる */
    flex-grow: 1;
    /* 電話番号情報の残りのスペースを埋める */
    justify-content: flex-end;
    /* ボタンを右寄せにする */
  }

  .btn {
    width: auto;
    /* PC版ではコンテンツに応じた幅に */
    padding: 12px 25px;
    /* ここを調整してボタンの左右のパディングを増やす */
    /* 新しい変更点: ボタンの最小幅を設定して、キツキツになるのを防ぐ */
    min-width: 140px;
    /* 例: ボタンの最小幅を140pxに設定 */
  }
}

/* ------------------------------------------

	求人個別ページ
	
--------------------------------------------*/

.info-table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 8px auto;
  font-size: 13px;
  /*
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	*/
  box-sizing: border-box;
}

.info-table .row {
  display: flex;
  /*border-top: 1px solid #ccc;*/
}

.info-table .row:first-child {
  border-top: none;
}

.info-table .label,
.info-table .value {
  padding: 10px;
  box-sizing: border-box;
  border: none;
  /* ← 横線除去 */
}

.info-table .label {
  width: 30%;
  font-weight: bold;
  /*background-color: #f9f9f9;*/
}

.info-table .value {
  width: 70%;
  text-align: left;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .info-table .row {
    flex-direction: column;
  }

  .info-table .label,
  .info-table .value {
    width: 100%;
    border: none;
    text-align: left;
    padding: 3px 15px;
  }

  .info-table .label {
    border: none;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: bold;
  }

  .info-table .value {
    /*border-top: 1px solid #ccc;*/
    border-bottom: none;
    padding: 3px 23px;
  }

  .info-table .row:last-child .value {
    /*border-top: 1px solid #ccc;*/
    border-bottom: none;
  }
}

/*
.info-table {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto 8px auto;
	font-size: 16px;
	border: 1px solid #ccc;
	box-sizing: border-box;
}


.info-table .row {
	display: flex;
	border-top: 1px solid #ccc;
}

.info-table .row:first-child {
	border-top: none;
}

.info-table .label,
.info-table .value {
	padding: 10px;
	border-right: 1px solid #ccc;
	box-sizing: border-box;
}

.info-table .label {
	width: 30%;
	font-weight: bold;
	background-color: #f9f9f9;
}

.info-table .value {
	width: 70%;
	border-right: none;
	text-align: left;
}


@media screen and (max-width: 768px) {
	.info-table .row {
		flex-direction: column;
	}

	.info-table .label,
	.info-table .value {
		width: 100%;
		border: none;
		text-align: left;
	}

	.info-table .label {
		border: none;
	}

	.info-table .value {
		border-top: 1px solid #ccc;
		border-bottom: none;
	}

	.info-table .row:last-child .value {
		border-top: 1px solid #ccc;
		border-bottom: none;
	}
}

*/

/* ------------------------------------------
    店舗ブログリスト
--------------------------------------------*/

.job-box-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* 間隔調整 */
  width: 95%;
  max-width: 1200px;
  margin: 25px auto 0px auto;
  box-sizing: border-box;
}

.job-box-card {
  display: flex;
  align-items: flex-start;
  /* 右サイド上詰め */
  width: calc(50% - 8px);
  /* 2列を崩さず gap を考慮 */
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  padding: 3px;
  box-sizing: border-box;
}

.job-box-card:hover {
  transform: translateY(-2px);
}

.job-box-card a {
  display: flex;
  text-decoration: none;
  /* アンダーライン削除 */
  color: inherit;
  /* 親の文字色を引き継ぐ */
  width: 100%;
  height: 100%;
}

.job-box-card a:hover {
  text-decoration: none;
  color: inherit;
}

.job-box-image img {
  width: 120px;
  height: auto;
  margin: 4px;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

.job-box-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* 念のため明示 */
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.4;
  flex: 1;
  gap: 3px;
  /* 行間（各要素間の間隔） */
}

/* 各テキスト項目のマージン調整（リセット） */
.job-box-date,
.job-box-title,
.job-box-name,
.job-box-area {
  margin: 0.3px;
  padding: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  /* 表示する最大行数（ここでは1行） */
  line-clamp: 1;
  /* 標準プロパティも追加 */
  overflow: hidden;
}

.job-box-date {
  font-size: 12px;
  color: #777;
}

.job-box-date span {
  display: inline-block;
  padding: 1px;
  background: #666;
  color: #fff;
  border-radius: 6px;
  padding: 0px 4px;
}

.job-box-name {
  font-weight: bold;
  color: #f1ab59;
}

.job-box-title {
  -webkit-line-clamp: 1;
  line-clamp: 1;
  font-weight: bold;
  color: #3c4256;
}

.job-box-area {
  color: #00bfa6;
  font-size: 13px;
}

/* --- スマホ対応（1段） --- */
@media (max-width: 768px) {
  .job-box-wrapper {
    gap: 6px;
  }

  .job-box-card {
    width: 100%;
    flex-direction: row;
  }

  .job-box-title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

/* スマホで5個目以降を非表示にする */
@media screen and (max-width: 768px) {
  .job-box-card.area:nth-of-type(n + 5) {
    display: none;
  }
}

/* PCで5個目以降を非表示にしたい場合（任意） */
@media screen and (min-width: 769px) {
  .job-box-card.area:nth-of-type(n + 5) {
    display: none;
  }
}

/* ------------------------------------------
    新着ブログリスト
--------------------------------------------*/

.column-card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* 中央揃え */
  gap: 10px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 10px;
  box-sizing: border-box;
  /*font-family: 'Kosugi Maru', 'Noto Sans JP', sans-serif;*/
}

.column-card {
  width: 224px;
  /* 固定幅 */
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.column-card.pref {
  background: #9e181a;
  color: #fff;
}

.column-card a {
  text-decoration: none;
  color: #666;
}

.column-card:hover {
  transform: translateY(-2px);
}

.column-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.column-thumb img.blog {
  width: 100%;
  height: 160px;
  /* 任意の高さに固定 */
  object-fit: cover;
  /* 縦横比を保ちつつ、はみ出す部分をトリミング */
  object-position: top;
  /* 上部を優先して表示（下をカット） */
  display: block;
  /* 画像下の隙間対策（インライン要素→ブロック） */
}

.column-meta {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px 0 8px;
  font-size: 1rem;
}

.column-tag {
  background: #d44755;
  color: #fff;
  padding: 2px 6px;
  font-size: 1rem;
  border-radius: 3px;
}

/* 1位：ゴールド */
.column-tag.rank-1 {
  background: linear-gradient(145deg, #fff7ae, #ffd700, #d4af37, #b8860b);
  color: #333;
  text-shadow: 0 1px 0 rgba(255, 255, 200, 0.6),
    0 -1px 1px rgba(160, 120, 0, 0.5);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4),
    0 2px 4px rgba(184, 134, 11, 0.4);
}

/* 2位：シルバー */
.column-tag.rank-2 {
  background: linear-gradient(145deg, #f5f5f5, #c0c0c0, #a9a9a9, #808080);
  color: #333;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6),
    0 -1px 1px rgba(100, 100, 100, 0.4);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4),
    0 2px 4px rgba(128, 128, 128, 0.3);
}

/* 3位：ブロンズ */
.column-tag.rank-3 {
  background: linear-gradient(145deg, #f1c198, #cd7f32, #a97142, #7b4b28);
  color: #fff;
  text-shadow: 0 1px 0 rgba(255, 220, 180, 0.4),
    0 -1px 1px rgba(100, 50, 20, 0.5);
  box-shadow: inset 0 1px 2px rgba(255, 240, 220, 0.2),
    0 2px 4px rgba(120, 60, 30, 0.3);
}

/* 4位以降や通常タグ（ブルーグリーン） */
.column-tag.rank-default {
  background: linear-gradient(145deg, #a2d4c5, #56b2a0, #368f7b);
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3),
    0 2px 3px rgba(0, 0, 0, 0.15);
}

.column-date {
  color: #666;
  font-size: 11px;
}

.column-title {
  padding: 0px 10px;
  line-height: 1.1rem;
  margin-top: 5px;
  margin-bottom: 10px;
}

.column-title span.area {
  display: block;
  font-size: 0.7rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  /* 表示する最大行数（ここでは2行） */
  line-clamp: 1;
  /* 標準プロパティも追加 */
  overflow: hidden;
  color: #3a9393;
}

.column-title span.salon {
  display: block;
  font-size: 0.8rem;
  font-weight: bold;
  color: #f5c06d;
  margin: 3px 0;
}

.column-title span.title {
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* 表示する最大行数（ここでは2行） */
  line-clamp: 2;
  /* 標準プロパティも追加 */
  overflow: hidden;
  color: #000;
}

.column-title.pref {
  color: #fff;
  padding: 4px 0 2px 0;
  font-size: 0.9rem;
}

.more-ranking-wrap {
  text-align: center;
  margin-top: 20px;
}

.more-ranking-btn {
  display: inline-block;
  background: linear-gradient(145deg, #f9e79f, #f7d358, #e6b800);
  /* ゴールド系 */
  color: #333;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 28px;
  border-radius: 24px;
  text-decoration: none;

  /* 文字に立体感 */
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6),
    -1px -1px 1px rgba(180, 140, 0, 0.3);

  /* 控えめな影 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

  transition: all 0.3s ease;
}

.more-ranking-btn:hover {
  background: linear-gradient(145deg, #fff5c2, #ffe169, #d4a700);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* --- スマホ対応：2列 --- */
@media (max-width: 768px) {
  .column-card {
    width: calc(50% - 6px);
    /* gapの半分を引いて2列 */
  }

  .column-title {
    font-size: 14px;
  }
}

/* スマホで5個目以降を非表示にする */
@media screen and (max-width: 768px) {
  .column-card:nth-of-type(n + 5) {
    display: none;
  }
}

/* PCで6個目以降を非表示にしたい場合（任意） */
@media screen and (min-width: 769px) {
  .column-card:nth-of-type(n + 6) {
    display: none;
  }
}

/* ------------------------------------------
    求人条件説明文
--------------------------------------------*/

.terms-box {
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.8;
  color: #222;
  margin: 20px auto;
  width: 95%;
  max-width: 1200px;
  padding: 0;
}

.terms-item {
  margin-bottom: 24px;
}

.terms-title {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 6px;
}

/* 展開ボックスラッパー */
.terms-text-wrapper {
  position: relative;
  margin: 20px auto;
  width: 95%;
  max-width: 1200px;
  visibility: hidden;
  /* 初期非表示でチラつき防止 */
}

.terms-text-wrapper.js-ready {
  visibility: visible;
}

/* テキスト本体 */
.terms-text {
  font-size: 14px;
  line-height: 1.8;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
}

/* 閉じたときの高さ（約3行分）+ フェード */
.terms-text.closed {
  max-height: 6.8em;
}

/* フェードマスク用オーバーレイ */
.terms-text.closed::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 90%);
  pointer-events: none;
  z-index: 1;
}

/* 開いたときはmax-height制限解除 & フェード削除 */
.terms-text.open {
  max-height: 1200px;
}

.terms-text.open::after {
  display: none;
}

/* bタグ = 赤文字＋太字 */
.terms-text b {
  color: #c00;
  font-weight: bold;
}

/* spanタグ = 赤文字＋マーカー（複数行対応） */
.terms-text span {
  color: #c00;
  font-weight: normal;
  background: linear-gradient(transparent 70%, rgba(255, 80, 80, 0.3) 0%);
}

/* 「続きを読む」リンク */
.read-more {
  display: block;
  margin: -15px auto 0px auto;
  color: #0077cc;
  cursor: pointer;
  font-size: 13px;
  text-align: center;
}

/* ------------------------------------------
    次ページリンク
--------------------------------------------*/

.pagination {
  width: 100%;
  margin: 18px auto 20px auto;
  text-align: center;
}

.pagination a {
  text-decoration: none;
  display: inline-block;
  color: #000;
  padding: 5px 11px;
  margin: 1px;
  border-radius: 8px;
  outline: 1px solid #ccc;
  /* 代わりに枠線を描画 */
  outline-offset: -1px;
  /* 枠を内側に寄せる */
}

.pagination a:hover {
  background: #e2e4ea;
}

.pagination strong {
  text-decoration: none;
  display: inline-block;
  background: #3c4256;
  color: #fff;
  padding: 4px 12px;
  margin: 1px;
  border-radius: 8px;
}

.store-base,
.store-name {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}

.store-base i,
.store-name i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  /* オプション：高さ調整 */
  margin-right: 6px;
  color: #d4a643;
  font-style: normal;
}

.label-text {
  margin-right: 10px;
  color: #d4a643;
  font-weight: normal;
  /* ← 太字解除 */
  min-width: 120px;
}

.keep-tip-bubble {
  position: relative;
  width: 95%;
  max-width: 600px;
  margin: 15px auto;
  padding: 15px;
  background: #fcf8f0;
  /* ← #4A5067 の薄い背景色 */
  border: 2px solid #f7ebd3;
  border-radius: 10px;
  color: #333;
  font-size: 0.95rem;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* 上向き矢印（先端） */
.keep-tip-bubble::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -12px;
  border-width: 12px;
  border-style: solid;
  border-color: transparent transparent #f7ebd3 transparent;
}

.keep-tip-bubble::after {
  content: "";
  position: absolute;
  bottom: calc(100% - 2px);
  left: 50%;
  margin-left: -12px;
  border-width: 12px;
  border-style: solid;
  border-color: transparent transparent #fcf8f0 transparent;
}

/* スマホ（幅768px以下）のとき矢印位置を左50pxに変更 */
@media screen and (max-width: 768px) {
  .keep-tip-bubble::before,
  .keep-tip-bubble::after {
    left: 50px;
    margin-left: 0;
  }
}
