/*
Theme Name: KOEBA
Theme URI: https://koeba.jp
Description: ノンデスクワーカー特化の口コミプラットフォーム KOEBA のメインテーマ
Version: 1.0
Author: Nexly Inc.
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  height: 64px; display: flex; align-items: center;
}
.header__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.header__logo {
  font-size: 22px; font-weight: 900; color: #ff7b00;
  display: flex; align-items: center; gap: 8px;
}
.header__logo span { color: #333; font-weight: 500; font-size: 12px; }
.header__nav { display: flex; gap: 24px; align-items: center; }
.header__nav a { font-size: 14px; font-weight: 500; color: #555; }
.header__nav a:hover { color: #ff7b00; }
.header__cta-wrap { display: flex; gap: 12px; align-items: center; }
.header__login {
  font-size: 14px; font-weight: 500; color: #ff7b00;
  border: 2px solid #ff7b00; padding: 8px 20px; border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}
.header__login:hover { background: #ff7b00; color: #fff; }
.header__cta {
  background: linear-gradient(135deg, #ff7b00, #ffaa00);
  color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 24px; border-radius: 50px; border: none; cursor: pointer;
  transition: transform 0.2s;
  display: inline-block;
}
.header__cta:hover { transform: scale(1.05); color: #fff; }

/* ===== FV ===== */
.fv {
  margin-top: 64px;
  background: linear-gradient(135deg, #fff5eb 0%, #fff5eb 50%, #ffe8cc 100%);
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fv::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,123,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.fv__badge {
  display: inline-block;
  background: #ff7b00; color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 6px 20px; border-radius: 50px;
  margin-bottom: 24px;
}
.fv__title {
  font-size: 42px; font-weight: 900; line-height: 1.4;
  margin-bottom: 16px; color: #222;
}
.fv__title em {
  font-style: normal;
  background: linear-gradient(transparent 60%, #ffe8cc 60%);
}
.fv__subtitle {
  font-size: 18px; color: #666; margin-bottom: 40px; line-height: 1.8;
}
.fv__numbers {
  display: flex; justify-content: center; gap: 40px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.fv__num-item { text-align: center; }
.fv__num-value {
  font-size: 36px; font-weight: 900; color: #ff7b00;
}
.fv__num-value span { font-size: 16px; font-weight: 500; }
.fv__num-label { font-size: 13px; color: #888; margin-top: 4px; }
.fv__cta {
  display: inline-block;
  background: linear-gradient(135deg, #ff7b00, #ffaa00);
  color: #fff; font-size: 18px; font-weight: 700;
  padding: 18px 48px; border-radius: 50px;
  box-shadow: 0 4px 16px rgba(255,123,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: bounce 2.5s infinite;
}
.fv__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,123,0,0.4);
  color: #fff;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 80px 20px;
  max-width: 1280px; margin: 0 auto;
}
.section--gray { background: #f8f8f8; }
.section--gray .section { padding: 80px 20px; }
.section__header {
  text-align: center; margin-bottom: 48px;
}
.section__label {
  display: inline-block;
  font-size: 13px; font-weight: 700; color: #ff7b00;
  background: #fff5eb; padding: 4px 16px; border-radius: 50px;
  margin-bottom: 12px;
}
.section__title {
  font-size: 28px; font-weight: 900; color: #222;
}

/* ===== CATEGORY CARDS ===== */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: #fff; border-radius: 16px;
  padding: 32px 24px; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer; border: 2px solid transparent;
  display: block;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: #ff7b00;
}
.cat-card__icon {
  width: 64px; height: 64px;
  background: #fff5eb; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 28px;
}
.cat-card__name {
  font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #222;
}
.cat-card__jobs {
  font-size: 12px; color: #999; line-height: 1.6;
}
.cat-card__count {
  margin-top: 12px; font-size: 13px; color: #ff7b00; font-weight: 700;
}

/* ===== POINTS ===== */
.points { display: flex; flex-direction: column; gap: 24px; }
.point {
  background: #fff; border-radius: 16px;
  padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex; align-items: flex-start; gap: 24px;
}
.point__num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #ff7b00, #ffaa00);
  color: #fff; font-size: 20px; font-weight: 900;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.point__title {
  font-size: 20px; font-weight: 700; margin-bottom: 12px; color: #222;
}
.point__text {
  font-size: 15px; color: #666; line-height: 1.8;
}

/* ===== RANKING ===== */
.ranking-list { display: flex; flex-direction: column; gap: 16px; }
.ranking-item {
  background: #fff; border-radius: 12px; padding: 20px 24px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.ranking-item__rank {
  font-size: 24px; font-weight: 900; color: #ff7b00;
  width: 40px; text-align: center; flex-shrink: 0;
}
.ranking-item__rank--1 { color: #ffd700; }
.ranking-item__rank--2 { color: #c0c0c0; }
.ranking-item__rank--3 { color: #cd7f32; }
.ranking-item__info { flex: 1; }
.ranking-item__name { font-size: 16px; font-weight: 700; }
.ranking-item__meta { font-size: 13px; color: #999; margin-top: 4px; }
.ranking-item__score {
  display: flex; align-items: center; gap: 8px;
}
.ranking-item__stars { color: #ff7b00; font-size: 18px; }
.ranking-item__value { font-size: 20px; font-weight: 900; color: #ff7b00; }

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.review-card {
  background: #fff; border-radius: 12px; padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.review-card__header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.review-card__avatar {
  width: 40px; height: 40px; background: #ffe8cc;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.review-card__job { font-size: 13px; font-weight: 700; color: #ff7b00; }
.review-card__date { font-size: 11px; color: #bbb; }
.review-card__facility {
  font-size: 14px; font-weight: 700; margin-bottom: 8px;
}
.review-card__stars { color: #ff7b00; font-size: 14px; margin-bottom: 12px; }
.review-card__text {
  font-size: 14px; color: #666; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== AGENT BANNER ===== */
.agent-banner {
  background: linear-gradient(135deg, #ff7b00, #ffaa00);
  border-radius: 20px; padding: 48px; text-align: center; color: #fff;
}
.agent-banner__title {
  font-size: 28px; font-weight: 900; margin-bottom: 16px;
}
.agent-banner__text {
  font-size: 16px; margin-bottom: 32px; opacity: 0.9;
}
.agent-banner__btn {
  display: inline-block;
  background: #fff; color: #ff7b00; font-weight: 700; font-size: 16px;
  padding: 16px 40px; border-radius: 50px;
  transition: transform 0.2s;
}
.agent-banner__btn:hover { transform: scale(1.05); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}
.faq-header {
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  cursor: pointer; font-weight: 700; font-size: 15px;
}
.faq-header:hover { background: #fafafa; }
.faq-q {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: #ff7b00; color: #fff; font-weight: 900; font-size: 14px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.faq-content {
  padding: 0 24px 20px 72px;
  font-size: 14px; color: #666; line-height: 1.8;
  display: none;
}
.faq-item.active .faq-content { display: block; }

/* ===== FOOTER CTA ===== */
.footer-cta {
  background: linear-gradient(135deg, #fff5eb, #ffe8cc);
  padding: 80px 20px; text-align: center;
}
.footer-cta__title {
  font-size: 32px; font-weight: 900; margin-bottom: 16px; color: #222;
}
.footer-cta__text {
  font-size: 16px; color: #666; margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: #ff7b00; color: #fff; padding: 48px 20px 24px;
}
.footer__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px;
}
.footer__logo {
  font-size: 20px; font-weight: 900; margin-bottom: 8px;
}
.footer__tagline {
  font-size: 13px; opacity: 0.8; margin-bottom: 16px;
}
.footer__col-title { font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.footer__col a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  max-width: 1280px; margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.3);
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .fv__title { font-size: 26px; }
  .fv__numbers { gap: 20px; }
  .fv__num-value { font-size: 28px; }
  .categories { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 20px 16px; }
  .cat-card__icon { width: 48px; height: 48px; font-size: 22px; }
  .point { flex-direction: column; }
  .reviews-grid { grid-template-columns: 1fr; }
  .header__nav { display: none; }
  .section__title { font-size: 22px; }
  .footer__inner { flex-direction: column; }
  .header__login { display: none; }
}
