/* 共通スタイル */
* { -webkit-tap-highlight-color: transparent; }
body { font-family: "Noto Sans JP", -apple-system, sans-serif; }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* スクロールバー */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

/* コラム本文用装飾 */
.prose-content h2 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1a5a77;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  border-left: 4px solid #2AA9D6;
}
.prose-content p { margin-bottom: 0.75rem; }
.prose-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 0.75rem; }
.prose-content li { margin-bottom: 0.25rem; }

/* フェードイン */
.job-card { animation: fadeIn 0.3s ease-in; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ヒーロー画像スライダー */
/* 画像の実サイズ(1900x700 = 19:7)に合わせて全ブレークポイントで
   同一のアスペクト比を指定。object-fit: cover によるクロップ・はみ出しを防ぎ、
   PC・スマホともに画像全体が見切れず全幅で表示されるようにする */
#hero-slider {
  width: 100%;
  aspect-ratio: 1900 / 700;
  background: linear-gradient(135deg, #eefaff 0%, #d9f2ff 100%);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
#hero-slider.is-dragging {
  cursor: grabbing;
}
.hero-slide-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hero-dot.active {
  background: #2AA9D6;
  transform: scale(1.25);
}

/* ヒーロースライダー 矢印ボタン */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1a6f92;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.2s;
}
.hero-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow:active {
  transform: translateY(-50%) scale(0.96);
}
.hero-arrow-prev { left: 10px; }
.hero-arrow-next { right: 10px; }
@media (min-width: 640px) {
  .hero-arrow { width: 44px; height: 44px; font-size: 1.05rem; }
  .hero-arrow-prev { left: 20px; }
  .hero-arrow-next { right: 20px; }
}

/* LINE POPUPバナー（右下固定） */
#line-popup-banner {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: linePopupIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}
@keyframes linePopupIn {
  from { opacity: 0; transform: translateY(24px) scale(0.85); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.line-popup-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: #ffffff;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.line-popup-close:hover {
  background: #f3f4f6;
  color: #374151;
  transform: scale(1.08);
}
.line-popup-link {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #06C755;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.line-popup-link:hover {
  transform: translateZ(0) scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.line-popup-link i {
  color: #ffffff;
  font-size: 34px;
}
.line-popup-caption {
  margin-top: 6px;
  background: #ffffff;
  color: #06a94a;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
@media (min-width: 640px) {
  #line-popup-banner { right: 24px; bottom: 24px; }
  .line-popup-link { width: 84px; height: 84px; border-radius: 20px; }
  .line-popup-link i { font-size: 40px; }
  .line-popup-caption { font-size: 12px; padding: 5px 12px; }
}
