/* ========================================
   Career TECH BAR - Stylesheet
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #1A1A2E;
  color: #F0F0F0;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  position: relative;
  background: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.95)),
              url('https://images.unsplash.com/photo-1515187029135-18ee286d815b?w=1200&q=80') center/cover no-repeat;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #FF6B6B, #ff8e8e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  color: #4ECDC4;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero .catchcopy {
  max-width: 600px;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 2;
  margin: 1.5rem auto;
  color: #B0B0C0;
}

/* --- Countdown --- */
.countdown {
  color: #FFE66D;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* --- CTA Button --- */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #FF6B6B, #ee5a5a);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(255, 107, 107, 0.7); }
}

/* --- Info Button --- */
.info-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.info-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

/* --- Section Common --- */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #4ECDC4;
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* Surface background variant */
.section-alt {
  background: #16213E;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Recommend List --- */
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  list-style: none;
}

.recommend-item {
  background: #16213E;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  border-left: 3px solid #4ECDC4;
  transition: transform 0.3s ease;
}

.recommend-item:hover {
  transform: translateX(5px);
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: #16213E;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  color: #FFE66D;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card p {
  color: #B0B0C0;
  font-size: 0.95rem;
}

/* --- Event Info --- */
.event-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 1.5rem;
  margin-bottom: 2rem;
}

.event-info dt {
  color: #4ECDC4;
  font-weight: 700;
  white-space: nowrap;
}

.event-info dd {
  color: #F0F0F0;
}

.map-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

/* --- Section Image --- */
.section-image {
  border-radius: 12px;
  margin: 2rem auto;
  display: block;
  max-width: 600px;
}

/* --- Footer --- */
footer {
  background: #0F0F23;
  text-align: center;
  padding: 3rem 1.5rem;
}

footer .cta-button {
  margin-bottom: 1.5rem;
}

footer .copyright {
  color: #B0B0C0;
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

/* --- Responsive (768px+) --- */
@media (min-width: 768px) {
  .map-container iframe {
    height: 450px;
  }

  .event-info dl {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}
