@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* --- Root Color Palette & Variables --- */
:root {
  --primary: #E58A8A;
  --primary-hover: #D67272;
  --primary-light: #FFF0F0;
  --secondary: #F7E9E9;
  --accent-gold: #E6A15C;
  --accent-green: #5BB889;
  --accent-blue: #5B92E5;
  --bg: #FDFBFB;
  --surface: #FFFFFF;
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #7D7D7D;
  --border-color: #F0E2E2;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(229, 138, 138, 0.08);
  --shadow-hover: 0 20px 40px rgba(229, 138, 138, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px; /* Space for mobile sticky CTA */
}

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

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

/* --- Top Announcement Bar --- */
.top-bar {
  background: linear-gradient(90deg, #E58A8A, #EEA5A5);
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* --- Container --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* --- Header Navigation --- */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(253, 251, 251, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-sub {
  font-size: 10px;
  color: var(--primary);
  display: block;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  gap: 28px;
  writing-mode: horizontal-tb !important;
}

.nav-list li {
  white-space: nowrap !important;
  word-break: keep-all !important;
  writing-mode: horizontal-tb !important;
  flex-shrink: 0;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
  transition: var(--transition);
  white-space: nowrap !important;
  word-break: keep-all !important;
  writing-mode: horizontal-tb !important;
  display: inline-block;
}

.nav-link:hover {
  color: var(--primary);
}

/* --- Menu Toggle (Hamburger) --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 105;
}

.menu-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-download-btn {
  display: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: 30px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 14px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #E58A8A 0%, #D67272 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(229, 138, 138, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(229, 138, 138, 0.45);
  background: linear-gradient(135deg, #EE9494 0%, #DC6D6D 100%);
}

.btn-large {
  padding: 18px 40px;
  font-size: 17px;
  border-radius: 40px;
}

.btn-cta {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.btn-outlined {
  background-color: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
}

.btn-outlined:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 20px;
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(180deg, #FFF5F5 0%, #FDFBFB 100%);
  padding: 70px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  border: 1px solid #F5C6C6;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(229, 138, 138, 0.1);
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(120deg, rgba(229, 138, 138, 0.2) 0%, rgba(229, 138, 138, 0) 100%);
  padding: 0 4px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-medium);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-tag-item {
  background-color: white;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #F0ECEC;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.sub-title {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-medium);
}

/* --- Comparison Table --- */
.table-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  background-color: #FFF5F5;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
  padding: 18px 20px;
  font-size: 14px;
  border-bottom: 1px solid #F7EEEE;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.brand-name {
  color: var(--primary);
  font-size: 15px;
}

.font-bold {
  font-weight: 700;
}

.badge-select {
  background-color: #FFF2E5;
  color: #D97706;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.badge-none {
  background-color: #E6F4EA;
  color: #137333;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.star-rating {
  color: #F59E0B;
  letter-spacing: 2px;
}

/* --- Job Ranking Cards --- */
.ranking-section {
  background-color: #FFF8F8;
}

.job-cards-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.job-card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid var(--border-color);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #F5C6C6;
}

.job-card-rank {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #E6A15C 0%, #D97706 100%);
  color: white;
  padding: 8px 20px;
  font-weight: 800;
  font-size: 14px;
  border-bottom-right-radius: 16px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.job-card-rank.rank-2 {
  background: linear-gradient(135deg, #94A3B8 0%, #64748B 100%);
}

.job-card-rank.rank-3 {
  background: linear-gradient(135deg, #CBD5E1 0%, #94A3B8 100%);
}

.job-card-header {
  padding: 24px 30px 16px;
  padding-left: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  background-color: #FFFAFA;
}

.job-category-tag {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2px 0 4px;
}

.job-catch {
  font-size: 13px;
  color: var(--text-medium);
}

.job-reward-badge {
  background-color: #FFF2F2;
  border: 1px solid #F5C6C6;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  text-align: center;
}

.badge-blue {
  background-color: #EFF6FF;
  border-color: #BFDBFE;
}

.badge-green {
  background-color: #ECFDF5;
  border-color: #A7F3D0;
}

.reward-label {
  display: block;
  font-size: 10px;
  color: var(--text-light);
  font-weight: 600;
}

.reward-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.badge-blue .reward-val {
  color: var(--accent-blue);
}

.badge-green .reward-val {
  color: var(--accent-green);
}

.job-card-body {
  padding: 30px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.job-banner-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.a8-banner-box {
  background-color: var(--bg);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.a8-banner-box img {
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.a8-banner-box:hover img {
  transform: scale(1.02);
}

.job-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.highlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight-list li {
  font-size: 13px;
  color: var(--text-medium);
  line-height: 1.6;
  position: relative;
  padding-left: 18px;
}

.highlight-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.job-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background-color: #FAF5F5;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
}

.meta-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.job-cta-box {
  margin-top: 10px;
  text-align: center;
}

.cta-subnote {
  font-size: 11px;
  color: var(--text-light);
}

/* --- App Promo Banner --- */
.app-promo-card {
  background: linear-gradient(135deg, #FFF0F0 0%, #F5E6E6 100%);
  border-radius: 28px;
  padding: 50px 40px;
  border: 1px solid #F5C6C6;
  box-shadow: var(--shadow);
}

.app-promo-badge {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.app-promo-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.35;
}

.app-promo-text {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 20px;
  max-width: 700px;
}

.app-promo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  background-color: white;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: #FFF9F9;
}

.faq-q-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 24px 20px 64px;
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* --- Mobile Sticky CTA Bar --- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

.mobile-sticky-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  font-size: 13px;
  font-weight: 700;
}

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

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

/* --- Footer --- */
.footer {
  background-color: #262626;
  color: white;
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  color: white;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col-title {
  font-size: 13px;
  color: #AAA;
  margin-bottom: 16px;

}

.footer-col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 13px;
  color: #DDD;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #404040;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #888;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {
  .job-card-body {
    grid-template-columns: 1fr;
  }
  .job-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-left: 30px;
    padding-top: 48px;
  }
  .job-reward-badge {
    align-self: flex-start;
  }
  .job-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 992px) {
  .menu-toggle {
    display: flex !important;
  }

  .nav {
    display: none !important;
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    width: 100vw !important;
    height: auto !important;
    max-height: calc(100vh - 68px) !important;
    overflow-y: auto !important;
    background-color: #FDFBFB !important;
    box-shadow: 0 12px 32px rgba(229, 138, 138, 0.16) !important;
    padding: 28px 20px 36px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    border-bottom: 1px solid var(--border-color) !important;
    z-index: 9999 !important;
  }

  .nav.active {
    display: flex !important;
    animation: fadeInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
  }

  .nav-list li {
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    writing-mode: horizontal-tb !important;
  }

  .nav-link {
    font-size: 15px !important;
    padding: 6px 0 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    writing-mode: horizontal-tb !important;
  }

  .download-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 240px !important;
    text-align: center !important;
    margin: 6px auto 0 !important;
    justify-content: center !important;
  }
}

  .hero-title {
    font-size: 28px;
  }
  .header-container {
    flex-wrap: nowrap;
  }
  .mobile-sticky-bar {
    display: block;
  }
  .table-wrapper {
    overflow-x: auto;
  }
  .comparison-table {
    min-width: 550px;
  }
}
