/* ==========================================
   キャリア採用ページ専用スタイル
   ========================================== */

:root {
   --career-blue: #186EA9;
   /* TOSCOメインブルー */
   --career-dark: #0f2d4a;
   /* 濃いネイビー */
   --career-bg: #f4f8fc;
   /* 背景色 */
   --career-border: #e0e6ed;
   /* ボーダー色 */
   --career-card-bg: #fff;
   /* カード背景 */
   --career-accent: #FF6600;
   /* アクセント色 */
}

/* --- セクション全体 --- */
.career-section {
   padding: 6rem 0 0;
   background: var(--career-bg);
   position: relative;
   overflow: hidden;
}

.career-section .container{
   max-width: 1000px;
}

.career-intro {
   text-align: center;
   margin-bottom: 5rem;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
}

.career-intro-text {
   font-size: clamp(0.9rem, 1.2vw, 1rem);
   line-height: 2;
   color: #666;
}

/* --- 拠点選択ナビゲーション (Anchor Nav) --- */
.career-anchor-nav {
   display: flex;
   justify-content: center;
   gap: 2rem;
   margin-bottom: 6rem;
   flex-wrap: wrap;
}

.anchor-btn {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   width: 240px;
   padding: 1.5rem 1rem;
   background: #fff;
   border-radius: 8px;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
   text-decoration: none;
   transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
   border-bottom: 4px solid var(--career-blue);
   position: relative;
   overflow: hidden;
}

.anchor-btn:hover {
   transform: translateY(-5px);
   box-shadow: 0 15px 30px rgba(24, 110, 169, 0.15);
   background: var(--career-blue);
}

.anchor-btn:hover .anchor-en,
.anchor-btn:hover .anchor-ja,
.anchor-btn:hover .anchor-arrow {
   color: #fff;
}

.anchor-en {
   font-size: 0.8rem;
   font-weight: 700;
   color: var(--career-blue);
   letter-spacing: 0.1em;
   margin-bottom: 0.3rem;
   font-family: 'Roboto', sans-serif;
   transition: color 0.3s ease;
}

.anchor-ja {
   font-size: 1.1rem;
   font-weight: 700;
   color: #333;
   transition: color 0.3s ease;
}

.anchor-arrow {
   margin-top: 0.8rem;
   font-size: 1.2rem;
   color: #ccc;
   transition: color 0.3s ease;
}

/* --- エリア別ブロック --- */
.career-block {
   margin-bottom: 8rem;
   scroll-margin-top: 100px;
   /* スクロール位置調整（ヘッダー分） */
}

.career-block-header {
   margin-bottom: 2rem;
   display: flex;
   align-items: center;
   gap: 1.5rem;
}

.career-block-title {
   font-size: clamp(1.5rem, 2.5vw, 2rem);
   font-weight: 700;
   color: var(--career-blue);
   margin: 0;
   line-height: 1.2;
}

.career-block-line {
   flex: 1;
   height: 1px;
   background: #ccc;
   opacity: 0.5;
}

/* --- カードスタイル (スペックシート) --- */
.guideline-card {
   background: #fff;
   border-radius: 8px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
   overflow: hidden;
   /* テック・エッジ */
   clip-path: polygon(20px 0,
         100% 0,
         100% calc(100% - 20px),
         calc(100% - 20px) 100%,
         0 100%,
         0 20px);
   border-top: 5px solid var(--career-blue);
}

/* リストスタイル */
.guideline-list {
   width: 100%;
}

.guideline-row {
   display: flex;
   border-bottom: 1px solid var(--career-border);
}

.guideline-row:last-child {
   border-bottom: none;
}

.guideline-row dt {
   width: 25%;
   padding: 2rem 2.5rem;
   background-color: #fcfcfc;
   border-right: 1px solid var(--career-border);
   font-weight: 700;
   color: var(--career-blue);
   display: flex;
   align-items: center;
}

.guideline-row dd {
   width: 75%;
   padding: 2rem 3rem;
   font-size: 0.95rem;
   line-height: 1.8;
   color: #444;
}

.guideline-text {
   margin-bottom: 0.5rem;
}

.bold-text {
   font-weight: 700;
   font-size: 1.1rem;
   color: #333;
   margin-bottom: 1rem;
}

.price-text {
   font-size: 1.25rem;
   font-weight: 700;
   color: var(--career-blue);
   font-family: 'Roboto', sans-serif;
}

.annotation {
   font-size: 0.85rem;
   color: #888;
   display: block;
}

.map-link {
   display: inline-block;
   margin-left: 1rem;
   font-size: 0.8rem;
   color: #fff;
   background: #ccc;
   padding: 0.1rem 0.6rem;
   border-radius: 4px;
   text-decoration: none;
   transition: background 0.3s ease;
}

.map-link:hover {
   background: var(--career-blue);
}

.tag-highlight {
   display: inline-block;
   background: #eaf4fd;
   color: var(--career-blue);
   font-weight: 700;
   padding: 0.2rem 0.8rem;
   border-radius: 4px;
   font-size: 0.85rem;
}

.mt-2 {
   margin-top: 0.5rem;
}

.mt-3 {
   margin-top: 1rem;
}

/* 年収例ボックス */
.income-example {
   background: #f8f9fa;
   padding: 1.5rem;
   border-radius: 6px;
}

.income-title {
   font-weight: 700;
   margin-bottom: 0.8rem;
   color: #333;
}

.income-row {
   display: flex;
   align-items: baseline;
   margin-bottom: 0.5rem;
   border-bottom: 1px dashed #ddd;
   padding-bottom: 0.5rem;
}

.income-row:last-child {
   border-bottom: none;
   margin-bottom: 0;
   padding-bottom: 0;
}

.income-role {
   font-weight: 700;
   width: 80px;
   color: #555;
}

.income-val {
   font-size: 1.1rem;
   font-weight: 700;
   color: var(--career-blue);
   margin-right: 0.5rem;
}

.income-note {
   font-size: 0.8rem;
   color: #888;
}

/* --- CTAエリア (カード内下部) --- */
.career-cta {
   background: #f0f4f8;
   padding: 3rem;
   text-align: center;
   border-top: 1px solid var(--career-border);
}

.career-cta-text {
   font-weight: 700;
   margin-bottom: 2rem;
   color: #333;
   line-height: 1.6;
}

@media (max-width: 768px) {
   .career-cta-text {
      text-align: left;
   }
}

.btn-primary {
   display: inline-flex;
   align-items: center;
   justify-content: space-between;
   gap: 4rem;
   padding: 1rem 3rem;
   background: linear-gradient(90deg, #019DE8 0%, #0356BB 100%);
   color: #fff;
   border-radius: 50px;
   font-weight: 600;
   text-decoration: none;
   transition: all 0.3s ease;
   min-width: 280px;
   box-shadow: 0 4px 15px rgba(1, 157, 232, 0.3);
}

.btn-primary:hover {
   transform: translateY(-3px);
   box-shadow: 0 6px 20px rgba(1, 157, 232, 0.4);
   background: linear-gradient(90deg, #0178BD 0%, #023D8F 100%);
}

.btn-text {
   font-size: 1.1rem;
}

.btn-arrow-circle {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 28px;
   height: 28px;
   background: #fff;
   border-radius: 50%;
}

.btn-arrow {
   font-size: 1.2rem;
   color: #019DE8;
   line-height: 1;
}

/* ==========================================
   レスポンシブ対応
   ========================================== */

@media (max-width: 768px) {
   .career-section {
      padding: 4rem 0 0;
   }

   /* ナビゲーション */
   .career-anchor-nav {
      gap: 1rem;
      margin-bottom: 4rem;
      flex-direction: column;
      /* スマホでは縦並び */
   }

   .anchor-btn {
      width: 100%;
      flex-direction: row;
      /* 中身は横並び */
      justify-content: space-between;
      padding: 1.2rem 1.5rem;
   }

   .anchor-btn .anchor-arrow {
      margin-top: 0;
      transform: rotate(-90deg);
      /* 右向き矢印に */
   }

   /* ブロック */
   .career-block {
      margin-bottom: 5rem;
   }

   /* リスト（スマホカード化） */
   .guideline-card {
      border-radius: 0;
      box-shadow: none;
      background: transparent;
      border-top: none;
      clip-path: none;
   }

   .guideline-row {
      flex-direction: column;
      display: block;
      padding: 0;
      margin-bottom: 1.5rem;
      border: 1px solid #eee;
      border-radius: 8px;
      overflow: hidden;
      background: #fff;
   }

   .guideline-row dt {
      width: 100%;
      padding: 1rem 1.5rem;
      background-color: #f9fbfd;
      border-right: none;
      border-bottom: 1px solid #eee;
   }

   .guideline-row dd {
      width: 100%;
      padding: 1.5rem;
   }

   /* CTAエリア */
   .career-cta {
      margin-top: 2rem;
      border-radius: 8px;
      padding: 2rem 1.5rem;
      background: #eaf4fd;
      /* スマホでは少し色を変えて区別 */
   }

   .btn-primary {
      width: 100%;
      min-width: auto;
      padding: 1rem 1.5rem;
      box-sizing: border-box;
   }
}