/* ==============================
   PROWISE — 株式会社PROWISE
   Brand Colors
   Green: #3DD68C  (primary)
   Dark:  #0D0D0D  (header/bg)
   Char:  #1A1A1A
   Gray:  #6B7280
   Light: #F5F5F5
   ============================== */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: #1A1A1A;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.8;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Utilities ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; }
.section-dark { background: #0D0D0D; }
.section-green { background: #3DD68C; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #3DD68C;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,0.7); }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 56px;
  color: #0D0D0D;
}
.section-title.light { color: #fff; }


/* ==============================
   HEADER
   ============================== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 900;
  background: #0D0D0D;
  border-bottom: 1px solid rgba(61,214,140,0.25);
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Logo ── */
.logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  /* 新ロゴは黒背景+白テキスト+シアンアイコン PNG — フィルター不要 */
  filter: none;
  transition: opacity 0.2s;
}
.logo-wrap:hover .logo-img { opacity: 0.85; }

/* ── Nav ── */
.nav-list {
  display: flex;
  gap: 36px;
}
.nav-list a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: #3DD68C;
  transition: width 0.3s;
}
.nav-list a:hover { color: #3DD68C; }
.nav-list a:hover::after { width: 100%; }

/* ── Header CTA ── */
.btn-header {
  background: #3DD68C;
  color: #0D0D0D;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-header:hover { background: #2bc87a; transform: translateY(-1px); }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.88) 0%, rgba(13,13,13,0.60) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-sub {
  font-size: 14px;
  font-weight: 500;
  color: #3DD68C;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: none;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
}
.brand-highlight { color: #3DD68C; }

.hero-desc {
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 600px;
}
.pc-br { display: inline; }

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: #3DD68C;
  color: #0D0D0D;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: #2bc87a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61,214,140,0.35);
}

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 34px;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-outline:hover {
  border-color: #3DD68C;
  color: #3DD68C;
  transform: translateY(-2px);
}

.scroll-down {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.5);
  font-size: 20px;
  animation: bounce 1.8s infinite;
  transition: color 0.2s;
}
.scroll-down:hover { color: #3DD68C; }


@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}


/* ==============================
   ABOUT
   ============================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: #444;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.95;
}
.about-text strong { color: #0D0D0D; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat-card {
  background: #F5F5F5;
  border-left: 4px solid #3DD68C;
  padding: 24px 28px;
  border-radius: 0 8px 8px 0;
}
.stat-num {
  font-size: 38px;
  font-weight: 700;
  color: #0D0D0D;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: #6B7280;
  font-weight: 500;
}


/* ==============================
   SERVICES
   ============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61,214,140,0.4);
  box-shadow: 0 16px 48px rgba(61,214,140,0.12);
}

.service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-img { transform: scale(1.06); }

.service-num {
  position: absolute;
  top: 16px; left: 16px;
  background: #3DD68C;
  color: #0D0D0D;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.service-body { padding: 28px 24px; }

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.5;
}
.service-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  font-size: 12px;
  font-weight: 600;
  color: #3DD68C;
  border: 1px solid rgba(61,214,140,0.4);
  padding: 4px 12px;
  border-radius: 20px;
}


/* ==============================
   STRENGTHS
   ============================== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.strength-item {
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  background: #F9F9F9;
  border: 1px solid #E5E7EB;
  transition: transform 0.3s, box-shadow 0.3s;
}
.strength-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.strength-icon {
  width: 64px; height: 64px;
  background: #3DD68C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: #0D0D0D;
}
.strength-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0D0D0D;
}
.strength-item p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.85;
}


/* ==============================
   PHILOSOPHY
   ============================== */
.philosophy {
  position: relative;
  padding: 120px 0;
}
.philosophy-bg {
  position: absolute;
  inset: 0;
}
.philosophy-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.philosophy-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.82);
}
.philosophy-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.philosophy-quote {
  border: none;
  margin: 0 auto 32px;
  max-width: 720px;
}
.philosophy-quote p {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  color: #3DD68C;
  line-height: 1.6;
}
.philosophy-body {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 2;
}


/* ==============================
   COMPANY
   ============================== */
.company-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 20px 24px;
  border-bottom: 1px solid #E5E7EB;
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 180px;
  color: #6B7280;
  font-weight: 600;
  white-space: nowrap;
}
.company-table td { color: #0D0D0D; }
.company-biz { padding-left: 0; }
.company-biz li { margin-bottom: 6px; }
.company-biz li::before {
  content: '・';
  color: #3DD68C;
}


/* ==============================
   CONTACT / CTA
   ============================== */
.contact-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.contact-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(0,0,0,0.6);
  margin-bottom: 12px;
}
.contact-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: #0D0D0D;
  margin-bottom: 24px;
  line-height: 1.4;
}
.contact-desc {
  font-size: 15px;
  color: rgba(0,0,0,0.7);
  line-height: 1.9;
  margin-bottom: 40px;
}

.btn-white {
  display: inline-block;
  background: #0D0D0D;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 44px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}
.btn-white:hover { background: #333; transform: translateY(-2px); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.contact-info-item {
  font-size: 15px;
  color: rgba(0,0,0,0.7);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-info-item span {
  font-size: 13px;
  font-weight: 400;
  color: rgba(0,0,0,0.5);
}
a.contact-info-item:hover { color: #0D0D0D; text-decoration: underline; }
.contact-info-item.no-link { cursor: default; }

.company-tel {
  color: #0D0D0D;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.company-tel:hover { color: #3DD68C; text-decoration: underline; }
.company-tel-note {
  font-size: 13px;
  color: #6B7280;
  margin-left: 6px;
}
.company-mail {
  color: #0D0D0D;
  text-decoration: none;
  transition: color 0.2s;
}
.company-mail:hover { color: #3DD68C; text-decoration: underline; }


/* ==============================
   FOOTER
   ============================== */
.footer {
  background: #0D0D0D;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: none;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}


/* ==============================
   ANIMATIONS
   ============================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.7s forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal.delay-1 { transition-delay: 0.12s; }
.scroll-reveal.delay-2 { transition-delay: 0.24s; }


/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .strengths-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

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

  /* Header mobile */
  .nav {
    position: fixed;
    top: 72px; left: 0;
    width: 100%;
    background: #0D0D0D;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    z-index: 800;
  }
  .nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; gap: 20px; }
  .nav-list a { font-size: 16px; }
  .btn-header { display: none; }
  .hamburger { display: flex; }

  .header-inner { padding: 0 20px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Strengths */
  .strengths-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Hero */
  .pc-br { display: none; }
  .hero-desc { max-width: 100%; }

  /* Company table */
  .company-table th { width: 110px; padding: 16px 12px; }
  .company-table td { padding: 16px 12px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
}
