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

:root {
  --primary: #EA5405;
  --bg-dark: #0D1B2A;
  --bg-light: #F8F9FA;
  --accent: #00A859;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 10px 20px rgba(234, 84, 5, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 15px 25px rgba(234, 84, 5, 0.4);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-light);
  box-shadow: 0 10px 20px rgba(0, 168, 89, 0.3);
}

.btn-accent:hover {
  box-shadow: 0 15px 25px rgba(0, 168, 89, 0.4);
}

/* Diagonal */
.separator-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  z-index: 10;
}

.separator {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--primary);
  transform: skewY(-2.5deg);
}

/* Common Section Styles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 50px;
  color: var(--text-dark);
}

section {
  padding: 100px 0;
}

.sp-only {
  display: none;
}

/* 1. Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.header-logo {
  max-height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  font-size: 0.9rem;
}

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

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

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--text-dark);
}

/* =========================================
   Animations
   ========================================= */

/* Scroll Fade In */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

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

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

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  0% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes fadeRotateDeco {
  0% {
    opacity: 0;
    transform: rotate(55deg) translateY(30px);
  }

  100% {
    opacity: 1;
    transform: rotate(55deg) translateY(0);
  }
}

@keyframes slideRotateIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) rotate(-55deg);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-55deg);
  }
}

@keyframes revealClipPC {
  0% {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }

  100% {
    clip-path: polygon(52% 0, 100% 0, 100% 100%, 35% 100%);
  }
}

@keyframes revealClipSP {
  0% {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }

  100% {
    clip-path: polygon(52% 0, 100% 0, 100% 100%, 35% 100%);
  }
}

/* 1. Hero */
.hero-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
}

/* Left Content (Text) */
.hero-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 10;
  width: 80%;
}

.hero-title-main {
  font-family: inherit;
  font-weight: 900;
  font-size: 9.5vw;
  color: #1c2128;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -3px;
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
}

.hero-title-sub {
  font-size: 3.2vw;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.3;
  margin-top: 1vh;
  margin-left: 0.5vw;
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
  opacity: 0;
}

/* Baseレイヤー用の装飾 */
.hero-layer-base .hero-title-sub {
  text-shadow: 2px 2px 0px #fff, -2px -2px 0px #fff, 2px -2px 0px #fff, -2px 2px 0px #fff;
}

/* Clippedレイヤー（画像上）用の白文字スタイル */
.hero-layer-clipped .hero-title-main {
  color: #ffffff;
}

.hero-layer-clipped .hero-title-sub {
  color: #ffffff;
  text-shadow: none;
}

/* Base Layer (Bottom) */
.hero-layer-base {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Clipped Layer (Top) */
.hero-layer-clipped {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  z-index: 5;
  animation: revealClipPC 1.4s cubic-bezier(0.77, 0, 0.175, 1) 0.4s forwards;
}

/* Right Background (Image inside the clipped layer) */
.hero-bg-image {
  width: 100%;
  height: 100%;
  background-image: url('images/hero-bg-group.jpg');
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  transform: scale(1.15);
  animation: scaleIn 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 172, 219, 0.8) 0%, rgba(0, 85, 170, 0.9) 100%);
  mix-blend-mode: hard-light;
}

/* Secondary Image (Bottom Left) */
.secondary-image {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 35%;
  height: 45%;
  background-image: url('https://images.unsplash.com/photo-1556905055-8f358a7a47b2?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center top;
  clip-path: polygon(0 0, 75% 0, 100% 100%, 0 100%);
  z-index: 5;
}

/* Slanted Divider / Graphic elements */
.slant-decor {
  position: absolute;
  background-color: var(--primary);
  z-index: 20;
  /* Clipped Layer(5)より手前に出す */
}

.slant-1 {
  width: 6px;
  height: 80px;
  transform: rotate(55deg);
  top: 15%;
  left: 58%;
  opacity: 0;
  animation: fadeRotateDeco 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

.slant-1-sub {
  width: 2px;
  height: 120px;
  transform: rotate(55deg);
  top: 13%;
  left: 60%;
  background-color: var(--primary);
  position: absolute;
  z-index: 15;
  opacity: 0;
  animation: fadeRotateDeco 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
}

.slant-2 {
  width: 6px;
  height: 25vw;
  transform: rotate(55deg);
  bottom: -5%;
  right: 15%;
  opacity: 0;
  animation: fadeRotateDeco 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards;
}

.slant-2-sub {
  width: 2px;
  height: 35vw;
  transform: rotate(55deg);
  bottom: -10%;
  right: 12%;
  background-color: var(--primary);
  position: absolute;
  z-index: 15;
  opacity: 0;
  animation: fadeRotateDeco 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards;
}

/* Slanted Text along the diagonal */
.slanted-text {
  position: absolute;
  top: 75%;
  left: 68%;
  transform: translate(-50%, -50%) rotate(-55deg);
  font-weight: 900;
  font-size: 3vw;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
  z-index: 12;
  white-space: nowrap;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: slideRotateIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 1s forwards;
}

@keyframes fadeUpCenter {
  0% {
    opacity: 0;
    transform: translate(-50%, 40px);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 20;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeUpCenter 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 1.5s forwards;
}

.scroll-indicator svg {
  display: block;
  margin: 8px auto 0;
  width: 24px;
  height: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}

/* 2. Mission */
.mission {
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.mission .section-title {
  color: var(--text-light);
}

.mission-vision {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 30px;
}

.mission-philosophy {
  font-size: 1.2rem;
  line-height: 2;
}

/* 3. About Aparise */
.about-aparise {
  background: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.about-aparise-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-aparise-copy {
  flex: 1;
  max-width: 550px;
  position: relative;
  z-index: 2;
}

.about-aparise-title {
  display: flex;
  align-items: flex-end;
  margin-bottom: 25px;
}

.about-aparise-logo-block {
  display: flex;
  flex-direction: column;
}

.about-aparise-logo-label {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: -5px;
  letter-spacing: 1px;
}

.about-aparise-logo-frame {
  display: block;
}

.about-aparise-logo-frame img {
  height: 45px;
  width: auto;
  display: block;
}

.about-aparise-title-main {
  font-size: 1.8rem;
  font-weight: 800;
  color: #111;
  line-height: 1;
  margin-left: 15px;
  margin-bottom: 5px;
}

.about-aparise-lead {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.6;
  color: #222;
  margin-bottom: 20px;
}

.about-aparise-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 40px;
}

.about-aparise-batches {
  display: flex;
  gap: 15px;
}

.about-aparise-batch {
  width: auto;
  height: 100px;
  object-fit: contain;
}

.about-aparise-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  z-index: 1;
}

.about-aparise-bg {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 120%;
  height: 120%;
  background-color: var(--primary);
  transform: translateY(-50%) rotate(-8deg);
  border-radius: 40px;
  z-index: 0;
}

.about-aparise-pc {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

.about-aparise-phone {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 130px;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

/* 4. Approach */
.approach {
  background: var(--bg-dark);
  color: var(--text-light);
}

.approach .section-title {
  color: var(--text-light);
}

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

.approach-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 0;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.approach-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.approach-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 25px;
}

.approach-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.approach-card:hover .approach-img img {
  transform: scale(1.05);
}

.approach-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  padding: 0 30px;
}

.approach-card p {
  padding: 0 30px 40px;
}

/* 5. Service */
.service {
  background: #fff;
}

.service-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-item {
  position: relative;
  padding: 50px 30px 40px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  transition: 0.3s;
  border-bottom: 5px solid transparent;
  overflow: hidden;
  z-index: 1;
}

.service-item:hover {
  border-bottom-color: var(--primary);
  transform: translateY(-5px);
}

/* Number Decor */
.service-num {
  position: absolute;
  top: 10px;
  left: 20px;
  font-weight: 900;
  font-size: 4rem;
  color: rgba(234, 84, 5, 0.06);
  /* Faint orange */
  z-index: 0;
  line-height: 1;
}

/* Slanted Decor on Top Right */
.service-item::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 25px;
  width: 6px;
  height: 60px;
  background-color: var(--primary);
  transform: rotate(55deg);
  z-index: 0;
  transition: transform 0.3s;
}

.service-item::after {
  content: '';
  position: absolute;
  top: -15px;
  right: 18px;
  width: 2px;
  height: 90px;
  background-color: var(--primary);
  transform: rotate(55deg);
  z-index: 0;
  transition: transform 0.3s;
}

.service-item:hover::before {
  transform: rotate(55deg) translate(0px, -5px);
}

.service-item:hover::after {
  transform: rotate(55deg) translate(0px, -2px);
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.service-item p {
  color: #444;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* 6. Results */
.results {
  background: var(--bg-light);
  text-align: center;
  padding-bottom: 40px;
}

.results-summary {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 50px;
}

.results-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.result-stats-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 420px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.result-stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.red-slash {
  width: 4px;
  height: 18px;
  background-color: var(--primary);
  transform: skewX(-20deg);
  margin-right: 12px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
}

.main-stat-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.main-stat-note {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 5px;
}

.main-stat-val {
  display: flex;
  align-items: baseline;
}

.main-stat-number {
  font-size: 5rem;
  font-weight: 900;
  color: #111;
  line-height: 1;
  letter-spacing: -2px;
}

.main-stat-unit {
  font-size: 1.6rem;
  font-weight: 700;
  margin-left: 5px;
}

.card-graphic {
  margin-top: 30px;
  margin-bottom: -10px;
  align-self: flex-end;
  width: 150px;
  height: 150px;
}

/* 6.5 Media & Partners */
.media {
  background: var(--bg-light);
  text-align: center;
  padding-top: 30px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.media-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s, box-shadow 0.3s;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.media-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.media-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
}

.partners-container {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.partners-title {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partner-logo {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 20px 30px;
  width: calc(33.333% - 20px);
  max-width: 250px;
  min-width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  height: auto;
  object-fit: contain;
}

/* Mobile Fixed CTA Base (Hidden on Desktop) */
.mobile-cta-wrapper {
  display: none;
}

/* 7. Stories */
.stories {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 100px 0;
  overflow: hidden;
}

.stories .section-title {
  color: var(--text-dark);
}

.stories-container-wide {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 0 0 20px;
}

.stories-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 10px 20px 50px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.stories-slider::-webkit-scrollbar {
  display: none;
}

.stories-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #ddd;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.carousel-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.carousel-arrow:hover svg path {
  stroke: #fff;
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
}

.carousel-arrow svg path {
  stroke: #333;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.3s;
}

.carousel-arrow.prev {
  left: -25px;
}

.carousel-arrow.next {
  right: -25px;
}

@media (max-width: 1350px) {
  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }
}

.story-image-card {
  flex: 0 0 350px;
  height: 400px;
  /* Force uniform height */
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  background: transparent;
}

.story-image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Fit image into the uniform height box */
  display: block;
  mix-blend-mode: multiply;
  /* Make white backgrounds transparent */
}


/* 8. Members */
.members {
  background: #f8f9fa;
  padding: 100px 0;
}

.ceo-profile {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 60px;
}

.ceo-img-wrapper {
  width: 45%;
}

.ceo-img {
  width: 100%;
  height: 100%;
  min-height: 450px;
}

.ceo-info {
  width: 55%;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ceo-role {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 5px;
}

.ceo-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: #111;
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.ceo-name-en {
  font-size: 1rem;
  color: #888;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.ceo-message {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
}

.ceo-bio h4 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 10px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
  display: inline-block;
}

.ceo-bio p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

/* Board Members */
.board-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.board-member-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.board-member-card:hover {
  transform: translateY(-5px);
}

.board-img {
  width: 100%;
  padding-top: 100%;
}

.board-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 120px;
}

.board-role {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.board-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 0;
}

/* 9. Recruit */
.recruit {
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.recruit .section-title {
  color: var(--text-light);
}

.recruit-content h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  line-height: 1.5;
  color: var(--primary);
}

.recruit-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* 10. News */
.news {
  background: #fff;
}

.news-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.news-list li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 25px 0;
  transition: 0.3s;
}

.news-list li:hover {
  background: var(--bg-light);
  padding-left: 10px;
}

.news-date {
  color: #888;
  font-size: 0.9rem;
  min-width: 120px;
}

.news-category {
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-right: 20px;
  min-width: 100px;
  text-align: center;
}

.news-list a {
  display: block;
  flex-grow: 1;
  transition: 0.3s;
}

.news-list a:hover {
  color: var(--primary);
}

/* 11. Company */
.company {
  background: var(--bg-light);
  padding: 100px 0;
}

.company-info-wide {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.company-info-wide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
}

.company-table th,
.company-table td {
  padding: 25px 20px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  width: 35%;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 1.15rem;
  position: relative;
}

.company-table th::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 3px;
  background: rgba(234, 84, 5, 0.2);
  border-radius: 2px;
}

.company-table td {
  color: #333;
  line-height: 1.8;
  font-weight: 600;
}

/* 12. Contact */
.contact {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 120px 0;
  text-align: center;
}

.contact h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* 13. Footer */
.site-footer {
  background: #111;
  color: #fff;
  padding: 60px 0 40px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 30px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.copyright {
  font-size: 0.8rem;
  color: #888;
  margin-top: 20px;
}

@media (max-width: 992px) {

  .stories {
    padding-top: 40px;
  }

  .results-grid,
  .approach-grid,
  .service-content {
    grid-template-columns: 1fr;
  }

  .about-container-new {
    display: block;
  }

  .about-left-text {
    display: block;
    width: 100%;
    padding-right: 0;
    margin-bottom: 60px;
  }

  .about-right-images {
    display: block;
    width: 100%;
    margin: 0 auto;
  }

  .news-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .news-date,
  .news-category {
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .sp-only {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .header-cta .btn {
    display: none;
  }

  .hero-container {
    height: auto;
    min-height: 80vh;
  }

  .hero-title-main {
    font-size: 15vw;
  }

  .hero-title-sub {
    font-size: 5vw;
  }

  .slanted-text {
    font-size: 4.5vw;
    left: 85%;
    top: 60%;
  }

  .hero-layer-clipped {
    animation-name: revealClipSP;
  }

  .about-aparise-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-aparise-copy {
    padding: 0 15px;
  }

  .about-aparise-title {
    justify-content: center;
    align-items: center;
  }

  .about-aparise-logo-label {
    text-align: left;
    margin-bottom: 0px;
  }

  .about-aparise-batches {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-aparise-visual {
    width: 100%;
    margin-top: 20px;
    min-height: 300px;
  }

  .about-aparise-bg {
    width: 120%;
    right: -10%;
    top: 50%;
    height: 350px;
    transform: translateY(-50%) rotate(-5deg);
  }


  .results-card-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .result-stats-card {
    min-height: auto;
    padding: 30px;
  }

  .main-stat-title {
    font-size: 1.3rem;
  }

  .main-stat-number {
    font-size: 4rem;
  }

  .main-stat-unit {
    font-size: 1.2rem;
  }

  .card-graphic {
    width: 140px;
    height: 140px;
    margin: 20px auto 0;
    align-self: center;
  }

  .hero-message {
    font-size: 1.2rem;
  }

  .mission-vision {
    font-size: 2rem;
  }

  .contact h2 {
    font-size: 2rem;
  }

  .story-card {
    flex: 0 0 320px;
  }

  .story-duration {
    font-size: 0.8rem;
  }

  .story-result-badge {
    font-size: 0.95rem;
    padding: 6px;
  }

  .story-result-badge span {
    font-size: 1.6rem;
  }

  .graph-item.before .bar,
  .graph-item.after .bar {
    width: 35px;
  }

  .graph-item .label {
    font-size: 0.75rem;
  }

  .graph-item.after .label {
    font-size: 0.9rem;
  }

  .graph-item.after .label span {
    font-size: 1.4rem;
  }

  .story-catch {
    font-size: 1.15rem;
    margin: 15px 0;
  }

  .story-text {
    font-size: 0.85rem;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    border-bottom: none;
    padding-bottom: 5px;
  }

  .company-table td {
    border-top: none;
    padding-top: 5px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }

  .carousel-arrow.prev {
    left: 5px;
  }

  .carousel-arrow.next {
    right: 5px;
  }

  /* Mobile Members */
  .ceo-profile {
    flex-direction: column;
  }

  .ceo-img-wrapper,
  .ceo-info {
    width: 100%;
  }

  .ceo-img {
    height: 350px;
    min-height: auto;
  }

  .ceo-info {
    padding: 30px 20px;
  }

  .ceo-name {
    font-size: 1.6rem;
    flex-direction: column;
    gap: 0;
  }

  .story-image-card {
    flex: 0 0 280px;
  }

  /* Media Grid Mobile */
  .media-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  /* Mobile CTA visible */
  .mobile-cta-wrapper {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
    /* Reduced wrapper shadow */
    padding: 8px 15px 6px;
    /* Reduced padding */
    z-index: 9999;
    text-align: center;
    border-top: 2px solid var(--primary);
  }

  .mobile-cta-sub {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 4px;
  }

  .mobile-cta-btn {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    /* Reset padding to be identical on both sides */
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 6px;
    background-color: #17c653;
    /* LINE Green */
    color: white;
    box-shadow: 2px 4px 0 #0f933e;
    /* Solid unblurred darker shadow */
    transition: transform 0.1s, box-shadow 0.1s;
    position: relative;
    border: none;
  }

  .mobile-cta-btn::before {
    content: "";
    position: absolute;
    left: 20px;
    width: 28px;
    height: 28px;
    background: url('../images/line_icon.png') no-repeat center center;
    background-size: contain;
  }

  .mobile-cta-btn:active {
    transform: translate(2px, 4px);
    box-shadow: 0 0px 0 #0f933e;
  }

  .mobile-cta-btn::after {
    content: "▶";
    position: absolute;
    right: 20px;
    font-size: 0.9rem;
  }

  .mobile-cta-note {
    font-size: 0.65rem;
    color: #666;
    margin-top: 3px;
  }

  body {
    /* Add padding to body to prevent CTA from covering footer */
    padding-bottom: 95px;
    /* Reduced bottom padding */
  }
}
/* =========================================
   Recruitment Entry Form Styles
   ========================================= */
.page-entry-form {
  background: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-entry-form header {
  position: static;
  background: #fff;
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(234, 84, 5, 0.05);
}

.page-entry-form footer {
  margin-top: auto;
  border-top: 1px solid #111;
}

.form-main-container {
  flex: 1;
  padding: 60px 20px 100px;
}

.form-wrapper {
  width: 70%;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  padding: 60px 80px;
  position: relative;
  overflow: hidden;
}

.form-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #FF7B00);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #111;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Stepper */
.form-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: 0.3s;
}

.step.active {
  opacity: 1;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step.active .step-num {
  background: var(--primary);
  box-shadow: 0 4px 10px rgba(234, 84, 5, 0.3);
}

.step-text {
  font-size: 0.85rem;
  font-weight: 700;
}

.step.active .step-text {
  color: var(--primary);
}

.step-divider {
  width: 60px;
  height: 2px;
  background: #e0e0e0;
  margin: -25px 15px 0;
}

/* Form Groups */
.entry-form-body {
  margin-top: 30px;
}

.form-group.row {
  display: flex;
  gap: 30px;
  margin-bottom: 35px;
  align-items: flex-start;
}

.label-col {
  width: 200px;
  flex-shrink: 0;
  padding-top: 10px;
}

.label-col label {
  font-weight: 700;
  color: #222;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-required {
  background: #E85B43;
  color: #fff;
}

.badge-optional {
  background: #ccc;
  color: #fff;
}

.form-hint-left, .form-hint {
  font-size: 0.8rem;
  color: #777;
  margin-top: 8px;
  line-height: 1.5;
}

.input-col {
  flex-grow: 1;
  max-width: 100%;
}

/* Inputs & Controls */
.form-control {
  width: 100%;
  padding: 18px 25px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: inherit;
  transition: all 0.3s;
  background: #fdfdfd;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 84, 5, 0.1);
  background: #fff;
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
}

/* Custom Select */
.custom-select {
  position: relative;
}

.custom-select select {
  width: 100%;
  padding: 18px 25px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: inherit;
  appearance: none;
  background: #fdfdfd;
  cursor: pointer;
  transition: all 0.3s;
}

.custom-select select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 84, 5, 0.1);
}

.custom-select::after {
  content: "▼";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  pointer-events: none;
  color: #888;
}

/* Radio Cards */
.radio-cards {
  display: flex;
  gap: 15px;
}

.radio-card {
  flex: 1;
  position: relative;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.card-content {
  padding: 15px;
  text-align: center;
  border: 2px solid #eee;
  border-radius: 8px;
  font-weight: 700;
  color: #555;
  transition: all 0.2s;
  background: #fff;
}

.radio-card:hover .card-content {
  border-color: #ddd;
  background: #fafafa;
}

.radio-card input:checked ~ .card-content {
  border-color: var(--primary);
  background: rgba(234, 84, 5, 0.05);
  color: var(--primary);
}

/* Checkboxes */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: 0.2s;
}

.checkbox-item:hover {
  background: #fafafa;
}

.checkbox-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.checkbox-item span {
  font-weight: 600;
  color: #444; /* Changed duplicate color to default text color, or use what is appropriate */
}

/* File Upload */
.file-uploads {
  display: flex;
  gap: 15px;
}

.file-upload-box {
  flex: 1;
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.file-upload-box:hover {
  border-color: var(--primary);
  background: rgba(234, 84, 5, 0.02);
}

.file-upload-box input {
  display: none;
}

.file-icon {
  font-size: 1.5rem;
}

.file-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #666;
}

/* Center Groups */
.center-group {
  text-align: center;
  margin-top: 40px;
}

.privacy-agreement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  padding: 15px 30px;
  background: #f5f5f5;
  border-radius: 8px;
}

.privacy-agreement input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.privacy-agreement a {
  color: var(--primary);
  text-decoration: underline;
}

.form-actions {
  margin-top: 40px;
}

.submit-btn {
  width: 100%;
  max-width: 400px;
  font-size: 1.1rem;
  padding: 20px;
  border-radius: 8px;
}

/* Responsive adjustments for Form */
@media (max-width: 768px) {
  .form-wrapper {
    width: 100%;
    padding: 40px 20px;
    border-radius: 0;
    margin: -60px -20px -100px;
    box-shadow: none;
  }

  .form-group.row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
  }

  .label-col {
    width: 100%;
    padding-top: 0;
  }

  .label-col label {
    font-size: 0.95rem;
  }

  .form-hint-left {
    margin-top: 5px;
  }

  .radio-cards, .file-uploads {
    flex-direction: column;
    gap: 10px;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step-divider {
    width: 30px;
  }
}

