/* ============================================================
   精密審美会 採用サイト — 各種申し込み＆お問い合わせ
   Figma: 各種申し込み＆お問い合わせ-PC (102:267)
   ============================================================ */

/* --- MVオーバーライド ---
   Figma: 135:883 Contact-us logo (511×78)
   ======================================= */
.secondary-mv--contact .secondary-mv__title-logo {
  max-width: 511px;
  margin-bottom: -41px;
}


/* --- 説明テキスト ---
   Figma: 102:411 fs=16, ls=1.28, lh=25, #333
   ======================================= */
.contact-intro {
  padding: 60px 0 0;
}

.contact-intro__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

.contact-intro__text {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.28px;
  line-height: 25px;
  color: #333;
  margin: 0 0 40px;
}


/* --- カテゴリフィルタ ---
   Figma: 102:420 Rectangle 57 (1000×100, #EEF7FF)
          Frame 60 instances (r=50, stroke=1px #1556a6)
   ======================================= */
.contact-filter {
  background: #EEF7FF;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Figma: 102:421 "職種カテゴリ" fs=14 ls=1.12 lh=52 #333 */
.contact-filter__label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.12px;
  line-height: 1;
  color: #333;
  white-space: nowrap;
}

.contact-filter__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Figma: Frame 60 (122:652)
   デフォルト: bg=transparent, stroke=1px #1556a6, r=50
   テキスト: fs=16, ls=1.28, lh=52, #1556a6
   hover/active (バリアント2): bg=#1556a6, text=#fff */
.contact-filter__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 40px;
  border: 1px solid #1556A6;
  border-radius: 50px;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.28px;
  line-height: 1;
  color: #1556A6;
  cursor: pointer;
  outline: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-filter__tab:hover,
.contact-filter__tab.is-active {
  background: #1556A6;
  color: #fff;
}


/* --- 職種セクション ---
   ======================================= */
.contact-category {
  padding: 40px 0;
}

.contact-category__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

/* Figma: 見出し fs=32, ls=2.56, lh=52, #1556A6
          英語 fs=14, ls=0, lh=52, #32A9E1 */
.contact-category__heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-category__title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2.56px;
  line-height: 52px;
  color: #1556A6;
  margin: 0;
}

.contact-category__title-en {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 52px;
  color: #32A9E1;
}


/* --- エントリーボタン (Component 6) ---
   Figma: 119:596 デフォルト — 425×140, r=10, bg=#fff, stroke=1px #1556a6
          119:598 hover — bg=#1556a6, text=#fff
          テキスト: fs=20, ls=1.6, lh=32, #1556a6 → hover:#fff
          アイコン: Component 3 (43×43 circle)
            Figma: bg=#1556a6 r=50 → hover: bg=#fff
            inner Group 6 triple chevron → color=#fff → hover: #1556a6
   ======================================= */
.contact-category__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-entry-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  background: #fff;
  border: 1px solid #1556A6;
  border-radius: 10px;
  text-decoration: none;
  line-height: 1;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-entry-btn:hover {
  background: #1556A6;
}

/* Figma: 119:588 fs=20 fw=400 ls=1.6 lh=32 #1556a6 */
.contact-entry-btn__text {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1.6px;
  line-height: 32px;
  color: #1556A6;
  transition: color 0.3s ease;
}

.contact-entry-btn:hover .contact-entry-btn__text {
  color: #fff;
}

/* Figma: Component 3 (26:126) circle 43×43 bg=#1556a6 r=50
   内部: Group 6 triple chevron (10×8) color=#fff */
.contact-entry-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #1556A6;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-entry-btn:hover .contact-entry-btn__icon {
  background: #fff;
  color: #1556A6;
}

.contact-entry-btn__icon svg {
  display: block;
}

/* --- 募集停止中ボタン ---
   recruit-data.php の status=false 時に表示
   ======================================= */
.contact-entry-btn--closed {
  border-color: #ccc;
  background: #f9f9f9;
  cursor: default;
  pointer-events: none;
}

.contact-entry-btn--closed .contact-entry-btn__text {
  color: #999;
}

.contact-entry-btn__status {
  font-size: 13px;
  font-weight: 400;
  color: #999;
  white-space: nowrap;
}

/* 歯学部アルバイトは1列のみ → max-width で幅を揃える */
#contact-student .contact-category__grid {
  grid-template-columns: 1fr 1fr;
}

#contact-student .contact-entry-btn:only-child {
  grid-column: 1;
}


/* ============================================================
   SP レスポンシブ — 430px基準
   Figma: 各種申し込み＆お問い合わせ-SP (102:332) 430×2486
   ============================================================ */
@media (max-width: 768px) {

  /* MV ロゴ */
  .secondary-mv--contact .secondary-mv__title-logo {
    max-width: 260px;
  }

  /* 説明テキスト */
  .contact-intro {
    padding: 40px 0 0;
  }

  .contact-intro__inner {
    padding: 0 22px;
  }

  .contact-intro__text {
    font-size: 14px;
    letter-spacing: 1.12px;
    line-height: 25px;
  }

  /* カテゴリフィルタ — SP: 387×224, 2行折り返し */
  .contact-filter {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
  }

  .contact-filter__tabs {
    gap: 8px;
  }

  .contact-filter__tab {
    font-size: 14px;
    letter-spacing: 1.12px;
    padding: 0 16px;
    height: 36px;
  }

  /* 職種セクション */
  .contact-category {
    padding: 30px 0;
  }

  .contact-category__inner {
    padding: 0 16px;
  }

  /* SP見出し: fs=28 ls=2.24 lh=52 */
  .contact-category__title {
    font-size: clamp(20px, 6.5vw, 28px);
    /* 360px→23.4px — 「歯学部生アルバイト」+英語タイトルが1行に収まる */
    letter-spacing: 1px;
  }

  /* SP: ボタン縦1列 387×140 */
  .contact-category__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #contact-student .contact-category__grid {
    grid-template-columns: 1fr;
  }

  /* SP: ボタンテキスト fs=20 ls=1.6 lh=32 — 同じ */
  .contact-entry-btn {
    padding: 24px;
  }
}
