@charset "utf-8";

/* ==========================================================================
   正職員募集 / 全国維新塾 LP
   ========================================================================== */

/* ---------- フォント定義 ---------- */
#recruit article .inner,
#recruit article .inner * {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-feature-settings: "palt";
}

#recruit article .inner {
  width: auto;
  margin: 0 auto;
  padding: 0 20px 80px;
  box-sizing: border-box;
}

/* ---------- メインビジュアル ---------- */
.jukushibu-kv {
  margin: 0 -20px 50px;
}
.jukushibu-kv img,
.jukushibu-kv picture {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- リード文 ---------- */
.jukushibu-lead {
  width: 840px;
  text-align: left;
  margin: 0 auto 60px;
  padding: 0 10px;
}
.jukushibu-lead__main {
  font-size: 32px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 22px;
  color: #1a1a1a;
  letter-spacing: .02em;
}
.jukushibu-lead__highlight {
  color: #19b95a;
  font-weight: 700;
}
.jukushibu-lead__note {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #444;
  margin: 0;
}

/* ---------- カード一覧 ---------- */
.jukushibu-list {
  width: 1200px;
  margin: 0 auto;
}
.jukushibu-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

/* ---------- カード本体（button-政治塾コンポーネント） ---------- */
.jukushibu-card {
  position: relative;
  background: #fff;
  border: 5px solid #1a1a1a;
  border-radius: 10px;
  padding: 32px 36px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease;
}
.jukushibu-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

/* バッジ（カード内側 左上） */
.jukushibu-card__badge {
  display: inline-block;
  align-self: flex-start;
  min-width: 122px;
  padding: 8px 16px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  border-radius: 999px;
  letter-spacing: .06em;
  line-height: 1.3;
  white-space: nowrap;
  margin-bottom: 18px;
}
.jukushibu-card__badge--always,
.jukushibu-card__badge--open {
  background: #19b95a;
}
.jukushibu-card__badge--prep {
  background: #21bfe0;
}
.jukushibu-card__badge--closed {
  background: #9aa0a6;
}

/* タイトル */
.jukushibu-card__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 22px;
  color: #1a1a1a;
  letter-spacing: .02em;
}

/* 開講期間 / 応募締切 */
.jukushibu-card__info {
  margin: 0 0 30px;
  padding: 0;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 400;
  color: #1a1a1a;
  flex: 1;
}
.jukushibu-card__info dt {
  float: left;
  clear: left;
  width: 5em;
  padding-right: 15px;
  border-right: 1.5px solid #b0b0b0;
  margin-right: 15px;
  font-weight: 500;
  color: #1a1a1a;
  box-sizing: border-box;
}
.jukushibu-card__info dd {
  margin: 0 0 8px;
  padding-left: 0;
  overflow: hidden;
  font-weight: 400;
}

/* 詳細はこちら（左寄せ＋矢印が右端まで伸びる） */
.jukushibu-card__link {
  margin: 0;
}
.jukushibu-card__link a,
.jukushibu-card__link > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  padding: 4px 0;
}
.jukushibu-card__arrow {
  flex: 1;
  position: relative;
  height: 3px;
  background: #1a1a1a;
  margin-left: 18px;
}
.jukushibu-card__arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(-50%) rotate(45deg);
}
.jukushibu-card__link a:hover {
  opacity: .7;
}

/* 受付終了カード（モノトーン寄せ） */
.jukushibu-card--closed .jukushibu-card__title,
.jukushibu-card--closed .jukushibu-card__info,
.jukushibu-card--closed .jukushibu-card__link a {
  color: #6b6b6b;
}
.jukushibu-card--closed .jukushibu-card__arrow {
  background: #9aa0a6;
}
.jukushibu-card--closed .jukushibu-card__arrow::after {
  border-color: #9aa0a6;
}

.jukushibu-card__nolink {
  height: 22px;
}

.jukushibu-card:hover {
  opacity: 0.5;
}

/* カード全体クリック用ラッパー */
.jukushibu-card__link-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.jukushibu-card__link-wrap:hover {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   レスポンシブ（スマホ max-width: 896px）
   ========================================================================== */
@media all and (max-width: 896px) {

  #recruit article .inner {
    padding: 0 16px 60px;
  }

  /* ---------- メインビジュアル ---------- */
  .jukushibu-kv {
    margin: 0 -16px 36px;
  }

  /* ---------- リード文 ---------- */
  
  .jukushibu-lead {
    width: auto;
    margin: 0 auto 40px;
    padding: 0;
  }
  .jukushibu-lead__main {
    font-size: 20px;
    line-height: 1.75;
    margin: 0 0 18px;
    letter-spacing: 0;
  }
  .jukushibu-lead__main br {
    display: none;
  }
  .jukushibu-lead__note {
    font-size: 16px;
    line-height: 1.85;
  }

  /* ---------- カード一覧 ---------- */
  .jukushibu-list {
    width: auto;
  }
  
  .jukushibu-cards {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  /* ---------- カード本体（SP実寸: ボーダー5px, タイトル40px相当） ---------- */
  .jukushibu-card {
    border-width: 5px;
    border-radius: 10px;
    padding: 26px 22px 22px;
  }

  /* バッジ */
  .jukushibu-card__badge {
    min-width: 118px;
    padding: 8px 24px;
    font-size: 24px;
    margin-bottom: 16px;
  }

  /* タイトル（デザイン実寸: 36-40px相当） */
  .jukushibu-card__title {
    font-size: 32px;
    line-height: 1.3;
    margin: 0 0 18px;
    letter-spacing: .03em;
    font-feature-settings: normal;
  }

  /* 情報行 */
  .jukushibu-card__info {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 28px;
  }
  .jukushibu-card__info dt {
    width: 5em;
    padding-right: 12px;
    margin-right: 12px;
    font-size: 14px;
  }

  /* 詳細はこちら */
  .jukushibu-card__link a,
  .jukushibu-card__link > span {
    font-size: 20px;
    font-weight: bold;
  }
  .jukushibu-card__arrow {
    margin-left: 23px;
    margin-right: 12px;
    height: 3px;
  }
  .jukushibu-card__arrow::after {
    width: 11px;
    height: 11px;
    border-top: 3px solid #1a1a1a;
    border-right: 3px solid #1a1a1a;
  }

}

/* ==========================================================================
   PC専用調整（min-width: 897px）
   詳細はこちら：PCでは右寄せ＋固定長矢印
   ========================================================================== */
@media all and (min-width: 897px) {
  .jukushibu-card__link {
    text-align: right;
  }
  .jukushibu-card__link a,
  .jukushibu-card__link > span {
    display: inline-flex;
  }
  .jukushibu-card__arrow {
    flex: none;
    display: inline-block;
    width: 140px;
  }
}
