@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ===========================
   店舗個別ページ（nf_store）
   =========================== */

.nf-store-header {
  margin-bottom: 1.5rem;
}

.nf-store-title {
  margin-bottom: 0.25rem;
}

.nf-store-area {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #666;
}

/* 基本情報 2カラム */

.nf-store-basic {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.nf-store-basic-thumb {
  flex: 0 0 260px;
  max-width: 280px;
}

.nf-store-thumb {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.nf-store-basic-info {
  flex: 1 1 260px;
  min-width: 220px;
}

.nf-store-basic-list {
  margin: 0;
}

.nf-store-basic-row {
  margin-bottom: 0.75rem;
}

.nf-store-basic-row dt {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 2px;
}

.nf-store-basic-row dd {
  margin: 0;
  font-size: 0.95rem;
}

.nf-store-basic-row a {
  color: #2563eb;
}

/* タブ */

.nf-store-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.nf-store-tabButton {
  border: none;
  background: none;
  padding: 8px 16px;
  font-size: 0.95rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: #6b7280;
}

.nf-store-tabButton.is-active {
  border-bottom-color: #2563eb;
  color: #2563eb;
}

/* タブコンテンツ */

.nf-store-tabContent {
  display: none;
}

.nf-store-tabContent.is-active {
  display: block;
}

/* 募集中の職種カード */

.nf-store-job-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 2rem;
}

.nf-store-job-card {
  display: block;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.nf-store-job-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.nf-store-job-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nf-store-job-title {
  font-size: 1rem;
  font-weight: 600;
}

.nf-store-job-meta {
  font-size: 0.85rem;
  color: #4b5563;
}

.nf-store-job-meta-label {
  margin-right: 0.25em;
}

.nf-store-job-more {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #2563eb;
}

/* 店舗紹介本文 */

.nf-store-content {
  line-height: 1.8;
}

/* スマホ調整（個別ページ） */

@media (max-width: 767px) {
  .nf-store-basic {
    flex-direction: column;
  }

  .nf-store-basic-thumb,
  .nf-store-basic-info {
    flex: 1 1 auto;
    max-width: 100%;
  }
}


/* ===========================
   店舗一覧（アーカイブ・エリア共通）
   =========================== */

/* エリアセクション */

.nf-area-block {
  margin-bottom: 3rem;
}

.nf-area-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
}

/* 一覧ラッパー：SPは1列、PC(960px〜)で2列 */

.nf-store-list {
	display: block;
}

@media (min-width: 960px) {
  .nf-store-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* カード本体 */

.nf-store-card {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  padding: 18px 22px;
  cursor: pointer;
  transition: box-shadow 0.12s ease-out, transform 0.12s ease-out;
}

.nf-store-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

/* サムネ：常に右 30%（PC も SP も同じバランス） */

.nf-store-card-thumb {
  float: right;
  width: 30%;
  max-width: 220px;
  margin-left: 18px;
}

.nf-store-card-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* 左側テキストエリア（float の回り込み対策） */

.nf-store-card-main {
  overflow: hidden;
}

/* 見出し・住所 */

.nf-store-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.nf-store-address {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #4b5563;
}

/* 募集ラベル */

.nf-store-label-open,
.nf-store-label-close {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.nf-store-label-open {
  background: #e60033;
  color: #fff;
}

.nf-store-label-close {
  background: #9ca3af;
  color: #fff;
}

/* 募集中の職種 */

.nf-store-jobtypes {
  margin-top: 6px;
}

.nf-store-jobtypes-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.nf-store-jobtype-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nf-store-jobtype-item {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 0.8rem;
}

/* スマホでもレイアウトは PC と同じ（サムネ 30% 右寄せのまま）
   1列表示だけ維持するための微調整 */

@media (max-width: 767px) {

  /* カードは1列 */
  .post-type-archive-nf_store .nf-store-card,
  .tax-nf_area .nf-store-card {
    width: 100%;
	margin-bottom: 20px;
  }

  /* サムネの比率はそのまま、少しだけ余白を調整 */
  .nf-store-card-thumb {
    margin-left: 12px;
  }

  .nf-store-card {
    padding: 16px 16px;
  }
}

/* -----------------------------------
  店舗一覧専用コンテナ
----------------------------------- */
.nf-store-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .post-type-archive-nf_store .l-main,
  .tax-nf_area .l-main,
  .single-nf_store .l-main {
    width: calc(100% - var(--swl-sidebar_width) - var(--swl-sidebar_margin));
  }
}


/* ============================
   店舗個別ページ（l-container無）
   ============================ */

/* タイトル */
.nf-store-title-page {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.nf-store-area-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* 基本情報 */
.nf-store-basic {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 2.2rem;
}

.nf-store-basic-thumb {
  flex: 0 0 300px;
  max-width: 320px;
}

.nf-store-thumb {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.nf-store-basic-info {
  flex: 1 1 350px;
}

.nf-store-basic-list {
  margin: 0;
}

.nf-store-basic-row {
  margin-bottom: 0.8rem;
}

.nf-store-basic-row dt {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 2px;
}

.nf-store-basic-row dd {
  font-size: 0.95rem;
  margin: 0;
}

/* タブ */
.nf-store-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.nf-store-tabButton {
  border: none;
  background: none;
  padding: 8px 16px;
  font-size: 0.95rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: #6b7280;
}

.nf-store-tabButton.is-active {
  border-bottom-color: #2563eb;
  color: #2563eb;
}

/* タブコンテンツ */
.nf-store-tabContent {
  display: none;
}

.nf-store-tabContent.is-active {
  display: block;
  animation: fade 0.2s ease-out;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 求人リスト */
.nf-store-job-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nf-store-job-card {
  display: block;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  transition: 0.12s ease-out;
  text-decoration: none;
  color: inherit;
}

.nf-store-job-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

/* 店舗紹介コンテンツ */
.nf-store-content {
  line-height: 1.9;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .single-nf_store .l-main.nf-store-main {
    padding: 16px var(--swl-pd_container, 16px) 32px;
  }

  .nf-store-basic {
    flex-direction: column;
  }

  .nf-store-basic-thumb,
  .nf-store-basic-info {
    max-width: 100%;
    flex: 1 1 auto;
  }
}

/* ===========================
   求人票 個別ページ
   =========================== */

/* タイトル */
.nf-job-header {
  margin-bottom: 1.5rem;
}

.nf-job-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.nf-job-store {
  font-size: 0.95rem;
  color: #666;
  margin: 0.25rem 0 0;
}

/* 基本情報 */
.nf-job-basic {
  margin-bottom: 2rem;
}

.nf-job-basic-list {
  margin: 0;
}

.nf-job-basic-list dt {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 2px;
}

.nf-job-basic-list dd {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

/* ブロックエディタ部分 */
.nf-job-content {
  line-height: 1.8;
}

/* SWELL の装飾（h2, h3 など）を効かせるため c-postContent を使用済 */
.nf-job-content h2,
.nf-job-content h3,
.nf-job-content h4 {
  margin-top: 1.8em;
  margin-bottom: 0.8em;
}

/* -------------------------------
   レイアウト調整（l-container無し用）
------------------------------- */

/* 求人票ページの main の幅を店舗ページと合わせる */
@media (min-width: 960px) {
  .single-nf_job .l-main {
    width: calc(100% - var(--swl-sidebar_width) - var(--swl-sidebar_margin));
  }
}

/* PCの左右余白を標準化 */
.single-nf_job .l-main {
  padding-left: var(--swl-pd_container, 20px);
  padding-right: var(--swl-pd_container, 20px);
}

/* スマホ */
@media (max-width: 767px) {
  .single-nf_job .l-main {
    padding-left: 16px;
    padding-right: 16px;
  }
}
