@charset "UTF-8";

/* ==========================================================================
   Hash Hack - PATTERN 2 REFINED (RESTORED & NEW BG DIRECTION - SUN ORBS)
   Radius: 70%.
   Updated:    Header Design (Leapy Style - Fixed, White/Clean).
   ========================================================================== */

/* Google Fonts は functions.php で非同期読み込み済み */


body {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px; /* Base font size to match Leapy style */
  color: var(--lp-text);
  line-height: 1.8;
  margin: 0;
  background-color: #f8fbfe;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.05em;
  position: relative;
}

.hh-page-p2 { width: 100%; overflow-x: hidden; position: relative; z-index: 1; }
.hh-container { max-width: 1140px; margin: 0 auto; padding: 0 30px; position: relative; }

/* Utilities */
.u-text-center { text-align: center; }
.text-red { color: var(--lp-red); font-weight: 700; }
.text-bold { font-weight: 700; }

/* ==========================================================================
   HEADER (Leapy Style)
   ========================================================================== */

/* ==========================================================================
   BACKGROUND ANIMATION ("Sun-like" Breathing Orbs)
   ========================================================================== */
.hh-bg-fixed {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1; 
  overflow: hidden;
  background-color: #f8fbfe; 
  pointer-events: none;
}

.hh-bg-orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  opacity: 0.8;
}

/* Orb 1: Cyan Sun (Top Left) */
.orb-1 {
  width: 42vw; height: 42vw;
  max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.6) 0%, rgba(0, 191, 255, 0.1) 50%, rgba(0, 191, 255, 0) 70%);
  top: -15%; left: -15%;
  animation: moveOrb1 10s ease-in-out infinite alternate;
}

/* Orb 2: Navy/Purple Sun (Bottom Right) */
.orb-2 {
  width: 35vw; height: 35vw;
  max-width: 420px; max-height: 420px;
  background: radial-gradient(circle, rgba(100, 149, 237, 0.5) 0%, rgba(100, 149, 237, 0.1) 50%, rgba(100, 149, 237, 0) 70%);
  bottom: -10%; right: -10%;
  animation: moveOrb2 12s ease-in-out infinite alternate;
}

/* Orb 3: Light Accent Sun (Center Left Floating) */
.orb-3 {
  width: 28vw; height: 28vw;
  max-width: 350px; max-height: 350px;
  background: radial-gradient(circle, rgba(230, 230, 250, 0.8) 0%, rgba(230, 230, 250, 0.1) 50%, rgba(230, 230, 250, 0) 70%);
  top: 40%; left: -10%;
  animation: moveOrb3 14s ease-in-out infinite alternate;
}


/* ==========================================================================
   Typography
   ========================================================================== */
.hh-sec-head { margin-bottom: 60px; position: relative; }
.hh-sec-head.center { text-align: center; }

.hh-sec-en {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--lp-accent);
  font-weight: 500;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hh-sec-head-large .hh-sec-en {
    font-size: 60px;
    color: var(--lp-navy);
    margin-bottom: 0;
    line-height: 1.2;
    opacity: 1;
    font-weight: 500;
}
.hh-sec-head-large .hh-sec-jp {
    font-size: 16px;
    color: var(--lp-text);
    font-weight: 700;
}

.hh-sec-jp {
  font-size: 32px;
  font-weight: 700;
  color: var(--lp-navy);
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.hh-btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px; /* Reduced from 16px 36px */
  font-size: 14px; /* Reduced from 15px */
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px; /* Pill shape */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  min-width: 220px; /* Reduced from 280px to prevent wrapping/oversize */
  width: auto; /* Changed from fixed 280px to auto */
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.05em;
  box-sizing: border-box; /* Ensure padding doesn't affect width */
  white-space: nowrap; /* Prevent text wrapping */
}
.hh-btn i {
  margin-left: 12px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Primary: Shine Swipe & Scale */
.hh-btn.primary {
  background: var(--lp-red);
  background: linear-gradient(135deg, var(--lp-red) 0%, #ff4d5e 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
}
.hh-btn.primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: none; /* Reset for instant return */
  z-index: -1;
  transform: skewX(-20deg);
}
.hh-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(230, 0, 18, 0.5);
}
.hh-btn.primary:hover::after {
  left: 100%;
  transition: left 0.6s ease;
}
.hh-btn.primary:hover i {
  transform: translateX(5px) scale(1.1);
}

/* Secondary: Navy Fill Slide */
.hh-btn.secondary {
  background: #fff;
  color: var(--lp-navy);
  border: 1.5px solid var(--lp-navy); /* Adjusted to 1.5x */
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
/* Use pseudo-element for fill to keep text on top easily without z-index mess if using background-size */
.hh-btn.secondary::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 100%;
  background: var(--lp-navy);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
}
.hh-btn.secondary:hover {
  color: #fff;
  border-color: var(--lp-navy);
  box-shadow: 0 10px 25px rgba(0, 51, 102, 0.2);
}
.hh-btn.secondary:hover::before {
  width: 100%;
}
.hh-btn.secondary:hover i {
  transform: translateY(3px); /* Down arrow suggests download */
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hh-hero {
  padding: 140px 0 80px; /* Increased top padding for fixed header */
  background: transparent;
  display: flex;
  align-items: center;
}
.hh-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hh-hero-txt { 
  flex: 1; 
  max-width: 55%;
}
/* Catch Copy (Image Style) */
.hh-hero-catch-wrapper {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  padding: 0;
  color: var(--lp-text);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px; /* Reduced from 25px to bring closer to main title */
  box-shadow: none;
}

.hh-hero-catch-img {
  height: 28px; /* Reduced by 30% (40px -> 28px) */
  width: auto;
  margin-right: 8px; /* Reduced margin to bring text closer */
  display: inline-block;
  vertical-align: middle;
}

.hh-hero-catch-text {
  font-size: 16px;
  letter-spacing: 0.1em;
}

.hh-hero-title {
  font-size: clamp(30px, 4.5vw, 54px); /* Slightly reduced to prevent awkward wrapping */
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  white-space: nowrap; /* Ensures text doesn't wrap awkwardly mid-sentence */
  
  /* Shimmer Animation */
  background: linear-gradient(
    110deg, 
    #333333 0%,
    #333333 45%, 
    #00bfff 50%, 
    #333333 55%,
    #333333 100%
  );
  background-size: 300% 100%; /* Make background wide enough to ensure solid color covers text */
  background-repeat: no-repeat; /* Crucial: Prevent looping pattern */
  color: #333333;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Run once, move Left to Right, faster speed */
  animation-name: shineTitleOneTime !important;
  animation-duration: 1.5s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: 1 !important;
  animation-fill-mode: forwards !important;
}

@keyframes shineTitleOneTime {
  0% { background-position: 100% 0; } /* Shine is to the Left (offscreen) */
  100% { background-position: 0% 0; } /* Shine is to the Right (offscreen) */
}
.hh-hero-desc {
  font-size: 18px; /* Increased from 15px */
  font-weight: 700; /* Bold */
  color: var(--lp-text); /* Darker color */
  margin-bottom: 35px;
  line-height: 2.2; /* More breathing room */
}
.hh-hero-subtitle-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hh-hero-logo-inline {
  height: 32px; /* Adjust height to match text */
  width: auto;
  vertical-align: middle;
  transform: translateY(2px); /* Optical alignment */
}
.hh-hero-img { 
  flex: 1; 
  display: flex;
  justify-content: center;
  align-items: center;
}
.hh-hero-img-mask {
  display: inline-block;
  position: relative;
  /* Ensure padding covers the shadow extent */
  padding: 60px; 
  margin: -60px;
  
  /* Start fading out earlier and smoother */
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 90%);
  mask-image: linear-gradient(to bottom, black 50%, transparent 90%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  /* Increase size by 20% */
  transform: scale(1.2);
  transform-origin: center center;
}

.hh-hero-img img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 500px; /* Reverted to 500px */
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 10px 20px rgba(0, 51, 102, 0.2));
  /* Remove mask from img itself */
  -webkit-mask-image: none;
  mask-image: none;
}

/* ==========================================================================
   1-B. SCROLL TEXT (Medium Weight)
   ========================================================================== */
.hh-scroll-wrapper {
  background: transparent; 
  padding: 0; 
  overflow: hidden;
  position: relative;
  width: 100%;
  border-bottom: none; /* Removed visible border */
  height: 140px;
  display: flex;
  align-items: center;
  /* Add mask to fade edges smoothly instead of white overlay */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.hh-scroll-overlay {
  /* Removed white overlay to prevent boxy look */
  display: none;
}

.hh-scroll-track {
  display: flex;
  white-space: nowrap;
  animation: scrollText 60s linear infinite;
  will-change: transform;
}

.hh-scroll-text {
  font-family: "Archetype", "ArchitypeRenner", "Futura", sans-serif;
  font-size: 80px;
  font-weight: 500;
  line-height: 1;
  padding-right: 80px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  
  /* Thinner stroke for delicacy */
  -webkit-text-stroke: 0.6px rgba(100, 149, 237, 0.6); 
  color: transparent;
  
  /* Lighter, pastel gradient logic */
  background: linear-gradient(120deg, 
    #a6c0fe 0%,     
    #f68084 50%,    
    #a6c0fe 100%    
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  
  animation: colorShift 15s ease-in-out infinite alternate;
  opacity: 1; /* Reset opacity */
}

.hh-scroll-text.fill {
  -webkit-text-stroke: 0;
  /* Lighter fill gradient */
  background: linear-gradient(120deg, 
    #89f7fe 0%, 
    #66a6ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1; /* Reset opacity, control via color lightness */
}

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes colorShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ==========================================================================
   2. PROBLEMS
   ========================================================================== */
.hh-prob { 
  padding: 100px 0; 
  background: rgba(255,255,255,0.6); /* Slight transparency */
}
.hh-prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.hh-prob-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 0;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  
  /* Card Entrance Animation */
  opacity: 0;
  transform: translateY(40px);
  animation: cardSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Card Staggered Delays */
.hh-prob-card:nth-child(1) {
  animation-delay: 0.1s;
}
.hh-prob-card:nth-child(2) {
  animation-delay: 0.25s;
}
.hh-prob-card:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes cardSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hh-prob-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.hh-prob-label {
  display: none;
}
.hh-prob-img {
  width: 100%;
  height: 200px;
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* Number with Navy Outline + White Blurred Cloud Background */
.hh-prob-number {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: var(--font-archetype, "Archetype", sans-serif);
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  
  /* Navy outline text */
  color: transparent;
  -webkit-text-stroke: 2px var(--lp-navy, #253742);
  text-stroke: 2px var(--lp-navy, #253742);
  
  z-index: 5;
  pointer-events: none;
  
  /* Entrance Animation */
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: numberPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* White blurred cloud background */
.hh-prob-number::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 110px;
  background: rgba(255, 255, 255, 1);
  border-radius: 50%;
  filter: blur(12px);
  z-index: -1;
}

/* Staggered Animation Delays */
.hh-prob-card:nth-child(1) .hh-prob-number {
  animation-delay: 0.2s;
}
.hh-prob-card:nth-child(2) .hh-prob-number {
  animation-delay: 0.35s;
}
.hh-prob-card:nth-child(3) .hh-prob-number {
  animation-delay: 0.5s;
}

/* Pop-in Animation */
@keyframes numberPop {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hover Effects */
.hh-prob-card:hover .hh-prob-number {
  transform: translateY(-5px) scale(1.08);
}

.hh-prob-card:hover .hh-prob-number::before {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(255, 255, 255, 1);
  filter: blur(15px);
  transition: all 0.3s ease;
}
.hh-prob-img img,
.hh-prob-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hh-prob-card:hover .hh-prob-img img,
.hh-prob-card:hover .hh-prob-img video {
  transform: scale(1.05);
}
.hh-prob-card-content {
  padding: 30px;
}
.hh-prob-title {
  font-size: 20px; 
  font-weight: 700; 
  color: var(--lp-navy);
  margin-bottom: 20px; 
  line-height: 1.5; 
  width: 100%; 
  text-align: left;
}
.hh-prob-text {
  font-size: 14px; 
  color: var(--lp-gray); 
  line-height: 2; 
  text-align: left;
}

.hh-prob-summary {
  margin-top: 60px;
  text-align: center;
}
.hh-prob-summary-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--lp-navy);
  line-height: 1.8;
}
.hh-summary-logo {
  height: 70px;
  width: auto;
  vertical-align: bottom;
  margin-right: 8px;
  margin-bottom: -5px; /* Adjust alignment */
}
.hh-prob-highlight {
  color: var(--lp-red);
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(transparent 65%, rgba(255, 235, 59, 0.7) 65%);
  padding: 0 10px;
  display: inline-block;
  margin-top: 15px;
}

/* ==========================================================================
   3. REASON
   ========================================================================== */
.hh-reason { 
  padding: 100px 0; 
  background: rgba(255,255,255,0.4); 
}
.hh-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hh-reason-item {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hh-reason-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}
/* Step + Number */
.hh-reason-step-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.hh-reason-step {
  font-family: var(--font-archetype, "Archetype", sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-navy, #253742);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.hh-reason-num {
  font-family: var(--font-archetype, "Archetype", sans-serif);
  font-size: 48px;
  font-weight: 500;
  color: var(--lp-navy, #253742);
  line-height: 1;
}
.hh-reason-head {
  font-size: 20px;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: 16px;
  line-height: 1.5;
}
/* Image/Video area */
.hh-reason-illust {
  width: 100%;
  height: auto;
  margin: 0 0 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hh-reason-illust img,
.hh-reason-illust video {
  width: 85%;
  height: auto;
  object-fit: contain;
}
.hh-reason-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}
/* Legacy - hide old elements */
.hh-reason-icon-box,
.hh-reason-img-wrap {
  display: none;
}
.hh-reason-content {
  text-align: center;
}
.hh-reason-item .hh-prob-text {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* ==========================================================================
   4. CURRICULUM
   ========================================================================== */
.hh-curr { 
  padding: 100px 0; 
  background: rgba(240,246,251,0.6); 
}
.hh-curr-block {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 50px;
  margin-bottom: 40px;
  display: flex; gap: 50px;
  box-shadow: var(--shadow-soft);
  align-items: center;
  transition: transform 0.3s;
}
.hh-curr-block:hover { transform: translateY(-5px); }
.hh-curr-info { flex: 1; }
.hh-curr-step {
  font-family: var(--font-archetype, "Archetype", sans-serif);
  color: var(--lp-accent);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}
.hh-curr-title {
  font-size: 26px; font-weight: 700; margin-bottom: 25px;
}
.hh-curr-list {
  margin: 0 0 25px; padding: 0; list-style: none;
}
.hh-curr-list li {
  padding-left: 34px; /* Adjusted to 1.35x (from orig 25px) */
  position: relative; margin-bottom: 12px;
  font-weight: 700; color: var(--lp-navy, #253742);
}
.hh-curr-list li::before {
  /* Replace text content checkmark with FontAwesome or CSS shape */
  content: "\f00c"; /* FontAwesome check icon code */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  
  position: absolute; left: 0; top: 2px;
  color: #fff; 
  background: var(--lp-accent); /* Keep accent color */
  
  /* Make it a filled circle */
  width: 22px; height: 22px; /* Slightly larger */
  border-radius: 50%;
  
  /* Center the check icon */
  display: flex; 
  align-items: center; 
  justify-content: center;
  
  /* Adjust icon size/style to look bold like reference */
  font-size: 13px; 
}
.hh-curr-img { width: 45%; }
.hh-curr-img img { width: 100%; border-radius: var(--radius-img); }

/* ==========================================================================
   5. SERVICE GRID
   ========================================================================== */
.hh-service-grid-sec { 
  padding: 100px 0; 
  background: rgba(240,246,251,0.6); 
}
.hh-service-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 30px; row-gap: 60px; margin-top: 50px;
}
.hh-service-card {
    background: #fff;
    border-radius: 20px; padding: 30px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 90px; /* Reduced to 70% of 130px */
    display: flex; flex-direction: column; justify-content: space-between;
}
.hh-service-card:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-hover);
}
.hh-svc-num {
    font-family: var(--font-en); font-size: 28px; font-weight: 700; /* Increased font size */
    color: var(--lp-navy); line-height: 1; margin-bottom: 10px;
    display: inline-block;
}
.hh-svc-num::after {
    content: ""; display: block; width: 24px; height: 3px; /* Slightly thicker/wider line */
    background: var(--lp-accent); margin-top: 5px;
}
.hh-svc-title {
    font-size: 22px; font-weight: 700; color: var(--lp-text); margin: 0; /* Increased font size */
}

/* ==========================================================================
   6. FLOW (Vertical Steps)
   ========================================================================== */
.hh-flow {
  padding: 100px 0;
  background: rgba(255,255,255,0.7);
}
.hh-flow-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.hh-flow-item {
  display: flex;
  gap: 40px;
  position: relative;
  padding-bottom: 60px;
}
.hh-flow-item:last-child {
  padding-bottom: 0;
}
.hh-flow-num-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}
.hh-flow-circle {
  width: 70px;
  height: 70px;
  background-color: var(--lp-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  z-index: 2;
  position: relative;
}
.hh-flow-item:last-child .hh-flow-circle {
  background-color: var(--lp-red);
}
.hh-flow-line {
  width: 2px;
  height: 100%;
  border-left: 3px dashed #ddd;
  position: absolute;
  top: 10px;
  left: 38px;
  z-index: 1;
}
.hh-flow-item:last-child .hh-flow-line { display: none; }
.hh-flow-content { padding-top: 10px; }
.hh-flow-title {
  font-size: 24px; font-weight: 700; color: var(--lp-navy); margin: 0 0 15px;
}
.hh-flow-desc {
  font-size: 15px; color: var(--lp-gray); line-height: 1.8; margin: 0;
}

/* ==========================================================================
   7. CONTACT
   ========================================================================== */
.hh-contact {
  padding: 80px 0; 
  background: transparent; /* Changed from semi-white to transparent */
  text-align: center; 
  border-top: none; /* Removed border */
  box-sizing: border-box;
  width: 100%;
}
.hh-contact-box {
  background: var(--lp-blue-bg); 
  border-radius: var(--radius-section);
  padding: 60px 40px; max-width: 900px; margin: 0 auto;
}

/* ==========================================================================
   8. NEWS & BLOG OVERRIDES (LP Specific)
   ========================================================================== */

/* Keep only LP specific overrides if necessary */
.blog-container .hh-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure background is transparent on LP (HashHack page only) */
.page-hashhack .blog-container,
.hashhack-page .blog-container {
    background-color: transparent;
}

/* ==========================================================================
   FOOTER (Unified in css/components/footer.css)
   ========================================================================== */

/* ==========================================================================
   Responsive (768px以下) - 他のページと同じスタイルに統一
   ========================================================================== */
@media (max-width: 768px) {
  /* Container */
  .hh-container {
    padding: 0 20px;
  }

  /* Header */
  .custom-header {
    padding: 15px 20px;
  }
  .custom-header__nav {
    display: none;
  }
  .custom-menu-toggle {
    display: flex;
  }

  /* Hero Section */
  .hh-hero {
    padding: 120px 0 56px;
    min-height: auto;
  }
  .hh-hero-inner { 
    flex-direction: column;
    text-align: center;
    gap: 0;
  }
  .hh-hero-txt { 
    max-width: 100%; 
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  /* グループ1: 私らしく。を今日から始める + 未経験でもSNSを仕事に。 */
  .hh-hero-catch-wrapper {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .hh-hero-catch-img {
    height: 20px;
    margin-right: 6px;
  }
  .hh-hero-catch-text {
    font-size: 12px;
    letter-spacing: 0.05em;
  }
  .hh-hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    white-space: normal;
    
    /* Shimmer Animation (same as PC) */
    background: linear-gradient(
      110deg, 
      #333333 0%,
      #333333 45%, 
      #00bfff 50%, 
      #333333 55%,
      #333333 100%
    );
    background-size: 300% 100%;
    background-repeat: no-repeat;
    color: #333333;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Run once, move Left to Right, faster speed */
    animation-name: shineTitleOneTime;
    animation-duration: 1.5s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }
  /* グループ2: SNS運用でキャリアアップを目指すなら！マンツーマンで学べる Hash Hack + ボタン2つ */
  .hh-hero-desc {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 32px;
    margin-bottom: 24px;
    color: var(--lp-text);
  }
  .hh-hero-desc br {
    display: none;
  }
  .hh-hero-subtitle-line {
    font-size: 12px;
    line-height: 1.2;
    display: block;
    margin-bottom: 0;
    vertical-align: baseline;
  }
  .hh-hero-subtitle-line:first-child {
    display: block;
    margin-bottom: 0;
  }
  .hh-hero-subtitle-line:last-child {
    margin-top: 8px;
    display: block;
    vertical-align: baseline;
  }
  .hh-hero-subtitle-line img {
    vertical-align: middle;
    line-height: 1.2;
  }
  .hh-hero-logo-inline {
    height: 20px;
    width: auto;
    margin: 0 4px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.2;
    transform: none;
  }
  .hh-btn-group { 
    justify-content: center; 
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 0;
    margin-bottom: 32px;
  }
  .hh-hero-img {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
  }
  .hh-hero-img-mask {
    padding: 0;
    margin: 0;
    transform: scale(1);
  }
  .hh-hero-img img {
    max-height: 300px;
  }
  
  /* Scroll Text - 女性画像のすぐ下に配置 */
  .hh-scroll-wrapper {
    margin-top: -40px;
    margin-bottom: 0;
    padding: 0;
  }
  .hh-btn {
    width: 100%;
    min-width: 0;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
  }

  /* Section Headers - 他のページと同じスタイル */
  .hh-sec-head {
    margin-bottom: 32px;
    text-align: center;
  }
  .hh-sec-en {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    opacity: 0.7;
    color: var(--lp-navy);
  }
  .hh-sec-jp {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--lp-navy);
  }
  .hh-sec-head-large .hh-sec-en {
    font-family: var(--font-archetype, "Archetype", sans-serif);
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 8px;
    opacity: 1;
    color: var(--lp-navy);
  }
  .hh-sec-head-large .hh-sec-jp {
    font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1;
    margin-bottom: 32px;
    opacity: 0.7;
    color: var(--lp-navy);
  }

  /* Problems Section */
  .hh-prob {
    padding: 56px 0;
  }
  .hh-prob-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
  .hh-prob-card {
    padding: 0;
    text-align: left;
    align-items: stretch;
    position: relative;
    animation: cardSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  /* Card Staggered Delays - Responsive */
  .hh-prob-card:nth-child(1) {
    animation-delay: 0.05s;
  }
  .hh-prob-card:nth-child(2) {
    animation-delay: 0.15s;
  }
  .hh-prob-card:nth-child(3) {
    animation-delay: 0.25s;
  }
  .hh-prob-card-content {
    padding: 24px 20px;
  }
  .hh-prob-label {
    display: none;
  }
  .hh-prob-img {
    width: 100%;
    height: 150px;
    margin-bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  /* Number - Responsive */
  .hh-prob-number {
    bottom: 10px;
    right: 12px;
    font-size: 54px;
    -webkit-text-stroke: 1.5px var(--lp-navy, #253742);
    text-stroke: 1.5px var(--lp-navy, #253742);
  }
  
  .hh-prob-number::before {
    width: 110px;
    height: 85px;
    background: rgba(255, 255, 255, 1);
    filter: blur(10px);
  }
  
  /* Staggered Animation - Responsive */
  .hh-prob-card:nth-child(1) .hh-prob-number {
    animation-delay: 0.1s;
  }
  .hh-prob-card:nth-child(2) .hh-prob-number {
    animation-delay: 0.2s;
  }
  .hh-prob-card:nth-child(3) .hh-prob-number {
    animation-delay: 0.3s;
  }
  
  /* Hover/Touch effect - Responsive */
  .hh-prob-card:hover .hh-prob-number {
    transform: translateY(-3px) scale(1.05);
  }
  .hh-prob-img img,
  .hh-prob-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .hh-prob-card:hover .hh-prob-img img,
  .hh-prob-card:hover .hh-prob-img video {
    transform: scale(1.05);
  }
  .hh-prob-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.5;
    text-align: left;
    width: 100%;
  }
  .hh-prob-text {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    text-align: left;
    color: #666;
    margin: 0;
  }
  .hh-prob-summary {
    margin-top: 32px;
  }
  .hh-prob-summary-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    color: var(--lp-navy);
    margin: 0;
  }
  .hh-summary-logo {
    height: 35px;
    margin-right: 6px;
    margin-bottom: -2px;
    vertical-align: middle;
  }
  .hh-prob-highlight {
    font-size: 18px;
    font-weight: 900;
    margin-top: 4px;
    padding: 0 6px;
    display: inline-block;
    line-height: 1.8;
  }

  /* Reason Section */
  .hh-reason {
    padding: 56px 0;
  }
  .hh-reason-grid {
    gap: 24px;
    max-width: 100%;
  }
  .hh-reason-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hh-reason-item {
    padding: 32px 24px;
    text-align: center;
    border-radius: 16px;
  }
  .hh-reason-step-num {
    margin-bottom: 16px;
  }
  .hh-reason-step {
    font-size: 12px;
  }
  .hh-reason-num {
    font-size: 36px;
  }
  .hh-reason-head {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.5;
    color: var(--lp-navy);
  }
  .hh-reason-illust {
    width: 100%;
    height: auto;
    margin: 0 0 14px;
  }
  .hh-reason-illust img,
  .hh-reason-illust video {
    width: 80%;
  }
  .hh-reason-desc {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    color: #666;
    text-align: left;
  }
  .hh-reason-text {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    color: #666;
  }
  .hh-reason-item .hh-prob-text {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    color: #666;
    text-align: center;
    margin: 0;
  }

  /* Curriculum Section */
  .hh-curr {
    padding: 56px 0;
  }
  .hh-curr-block {
    flex-direction: column;
    padding: 24px 20px;
    margin-bottom: 32px;
    gap: 20px;
    text-align: left;
    align-items: flex-start;
  }
  .hh-curr-info {
    width: 100%;
    order: 2;
  }
  .hh-curr-img {
    width: 100%;
    order: 1;
    margin-bottom: 0;
  }
  .hh-curr-img img {
    border-radius: 12px;
  }
  .hh-curr-step {
    font-family: var(--font-archetype, "Archetype", sans-serif);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: var(--lp-accent);
  }
  .hh-curr-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.5;
    color: var(--lp-navy);
  }
  .hh-curr-list {
    margin-bottom: 20px;
  }
  .hh-curr-block .hh-curr-list li {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--lp-navy, #253742);
    padding-left: 28px;
  }
  .hh-curr-block   .hh-curr-block .hh-curr-list li::before {
    width: 18px;
    height: 18px;
    font-size: 11px;
    top: 0;
    left: 0;
  }
  .hh-curr-block .hh-prob-text {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    color: #666;
    margin: 0;
    text-align: left;
  }

  /* Service Grid Section */
  .hh-service-grid-sec {
    padding: 56px 0;
  }
  .hh-service-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }
  .hh-service-card {
    padding: 24px 20px;
    min-height: auto;
    text-align: left;
    justify-content: flex-start;
  }
  .hh-svc-num {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--lp-navy);
  }
  .hh-svc-num::after {
    width: 18px;
    height: 2px;
    margin-top: 4px;
  }
  .hh-svc-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    color: var(--lp-text);
  }

  /* Flow Section */
  .hh-flow {
    padding: 56px 0;
  }
  .hh-flow-wrapper {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  .hh-flow-item {
    gap: 16px;
    padding-bottom: 40px;
    flex-direction: row;
    align-items: flex-start;
  }
  .hh-flow-item:last-child {
    padding-bottom: 0;
  }
  .hh-flow-num-box {
    min-width: 50px;
    align-items: flex-start;
    flex-shrink: 0;
  }
  .hh-flow-circle {
    width: 50px;
    height: 50px;
    font-size: 22px;
    flex-shrink: 0;
  }
  .hh-flow-line {
    left: 23px;
    height: calc(100% - 50px);
  }
  .hh-flow-content {
    padding-top: 0;
    flex: 1;
  }
  .hh-flow-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
    color: var(--lp-navy);
  }
  .hh-flow-desc {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    color: #666;
    margin: 0;
  }
  .hh-flow-desc br {
    display: block;
  }

  /* Contact Section */
  .hh-contact {
    padding: 56px 0;
  }
  .hh-contact-box {
    padding: 40px 20px;
    margin: 0;
    max-width: 100%;
    border-radius: 20px;
  }
  .hh-contact-box .hh-sec-jp {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--lp-navy);
  }
  .hh-contact-box .hh-prob-text {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 32px;
    color: #666;
  }
  .hh-contact-box .hh-btn-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
  }
  .hh-contact-box .hh-btn {
    width: 100%;
    min-width: 0;
  }

  /* Scroll Text */
  .hh-scroll-text {
    font-size: 42px;
    padding-right: 20px;
    -webkit-text-stroke: 0.4px rgba(100, 149, 237, 0.4);
  }
  .hh-scroll-wrapper {
    height: 105px;
    margin-top: -40px;
    margin-bottom: 0;
    padding: 0;
  }

  /* Summary Section (if exists) */
  .hh-summary-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
  }
}
/* ==========================================================================
   FOOTER OFFICE CUSTOMIZATION (Unified in css/components/footer.css)
   ========================================================================== */
