/* ============================================
   グランドアクシス社労士法人 - Style
   Color: Dark#111 + Cyan#06B6D4
   Font: Noto Sans JP
   ============================================ */

:root {
  --primary: #06B6D4;
  --primary-dark: #0891B2;
  --primary-light: #22D3EE;
  --primary-pale: #ECFEFF;
  --dark: #111111;
  --dark-mid: #1A1A1A;
  --dark-light: #242424;
  --text: #333333;
  --text-light: #777777;
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  --bg-dark: #0D0D0D;
  --border: #E2E2E2;
  --border-dark: #2A2A2A;
  --font-main: 'Noto Sans JP', sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}


/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}


.section-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-line {
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
}

.section-desc {
  margin-top: 24px;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 2;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 44px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-full {
  width: 100%;
  text-align: center;
}


/* Header */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(17, 17, 17, 0.97);
  padding: 12px 0;
  backdrop-filter: blur(20px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.15em;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  margin-left: 6px;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

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

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
}

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


.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--primary-dark);
}


.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}


/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.75) 50%, rgba(17,17,17,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}

.hero-sub {
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 700;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-desc {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  font-weight: 700;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--primary);
  animation: scrollAnim 2s ease infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

}

@keyframes scrollAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }

}

/* About */
.about {
  background: var(--white);
}


.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  overflow: hidden;
}


.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.95);
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.5;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 2;
}

.about-badge-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.about-badge {
  padding: 20px 32px;
  background: var(--dark);
  text-align: center;
}

.badge-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.badge-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Services */
.services {
  background: var(--off-white);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.service-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 6px;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  background: var(--primary);
}

/* Strength */
.strength {
  background: var(--dark);
  color: var(--white);
}

.strength .section-title {
  color: var(--white);
}


.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.strength-item {
  text-align: center;
}


.strength-icon-box {
  width: 72px;
  height: 72px;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.strength-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.strength-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
}

/* Cases */
.cases {
  background: var(--white);
}


.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card {
  background: var(--off-white);
  padding: 40px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.case-market {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: 3px 10px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.case-tag {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.case-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.case-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Numbers */
.numbers {
  background: var(--dark);
  padding: 80px 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.number-item {
  color: var(--white);
}


.number-value {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: inline;
}

.number-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.number-label {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* Flow */
.flow {
  background: var(--off-white);
}


.flow-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.flow-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.flow-step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}

.flow-marker {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.flow-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.flow-body p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* FAQ */
.faq {
  background: var(--white);
}


.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-icon {
  min-width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 20px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-icon::after {
  width: 2px;
  height: 20px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}


.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}


.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 2;
}

/* Company */
.company {
  background: var(--off-white);
}


.company-table-wrap {
  max-width: 800px;
  margin: 0 auto;
}


.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--border);
}

.company-table th {
  padding: 20px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  width: 180px;
}

.company-table td {
  padding: 20px 24px;
  font-size: 0.93rem;
  color: var(--text-light);
}


/* Contact */
.contact {
  background: var(--white);
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-box {
  background: var(--dark);
  padding: 32px;
  margin-bottom: 20px;
}

.contact-box h3 {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-phone {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
}

.contact-email {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
}

.contact-hours {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.contact-form {
  background: var(--off-white);
  padding: 48px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}


.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.required {
  color: var(--primary);
  font-size: 0.75rem;
}


.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-main);
  font-size: 0.93rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}


/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-dark);
}

.footer .logo-text {
  font-size: 1rem;
}

.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
}


.footer-links h4 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--primary);
}

.footer-links a, .footer-links p {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: var(--white);
}


.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}


/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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


/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .strength-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

}

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

  .section-header {
    margin-bottom: 48px;
  }

  .section-title {
    font-size: 1.6rem;
  }


  .nav {
    position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
    background: var(--dark); flex-direction: column; padding: 100px 40px;
    gap: 24px; transition: right 0.4s ease; z-index: 999;
  }
  .nav.active {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }


  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-badge-row {
    flex-wrap: wrap;
  }

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

  .service-card {
    padding: 32px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .number-value {
    font-size: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .flow-timeline::before {
    left: 24px;
  }

  .flow-step {
    flex-direction: column;
    gap: 12px;
  }

  .flow-marker {
    width: 48px;
    height: 48px;
  }

}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 14px 32px;
    font-size: 0.9rem;
  }

}

@media print {
  .header, .hero-scroll, .hamburger {
    display: none;
  }

  .section {
    padding: 40px 0;
  }

}
