html {
  font-size: 20px;
  color: black;
}

:root {
  --primary: #000000;       
  --primary-dark: #72752f;  
  --secondary: #a6c8e0;     
  --neutral-1: #9a9c6b;     
  --neutral-2: #cccead;     
  --neutral-3: #736359;    
  --text-muted: #666666;
  --border: #ddddcc;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text-main);
  background: #F1F1F1;
  line-height: 1.6;
}

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

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

/* Header */
header {
  border-bottom: 1px solid var(--border);
  background: #FF6347;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* ===========================
   NAVIGATION BAR (PC + MOBILE)
   =========================== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  position: relative;
}

/* Desktop Menu */
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
}

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

/* Hamburger (hidden on PC) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===========================
   SMARTPHONE VIEW
   =========================== */
@media (max-width: 768px) {

  /* Hide menu by default */
  .nav-links {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 56px;
    right: 0;
    width: 200px;
    padding: 16px;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
  }

  /* Show menu AFTER clicking hamburger */
  .nav-links.show {
    display: flex;
  }

  /* Show hamburger on mobile */
  .nav-toggle {
    display: block;
  }
}


/* Sections */
section {
  padding: 40px 0;
}

section h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

 


   .hero {
      position: relative;
      width: 100%;
      height: 70vh;
      max-height: 720px;
      overflow: hidden;
      background: #000;
      color: #fff;
    }

    @media (max-width: 768px) {
      .hero {
        height: 60vh;
      }
    }

.hero__image {
  position: absolute;
  inset: 0;
  background-size: cover;         /* use 'contain' if you want full image visible */
  background-position: center;
  transition: opacity 0.8s ease;
  opacity: 0;

  /* slow movement (Ken Burns style) */
  transform: scale(1.05);
  animation: slowPanZoom 30s ease-in-out infinite alternate;
}

    .hero__image--visible {
      opacity: 1;
    }

    .hero__overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0)
      );
      display: flex;
      align-items: center;
      padding: 2rem 5vw;
    }

    @media (max-width: 768px) {
      .hero__overlay {
        padding: 1.5rem 1rem;
        background: linear-gradient(
          to top,
          rgba(0, 0, 0, 0.8),
          rgba(0, 0, 0, 0.3),
          rgba(0, 0, 0, 0)
        );
        align-items: flex-end;
      }
    }

    .hero__text {
      max-width: 700px;
      animation: fadeUp 0.8s ease;
    }

    .hero__kicker {
  font-size: 1.2rem;         
  color: #ffffff;           
  font-weight: 700;          
  letter-spacing: 0.25em;   
  text-transform: none;      
  opacity: 1;               
    }

    .hero__title {
  font-size: clamp(1.8rem, 4vw, 3.0rem);  
  font-weight: 500;
  color: #FF6347;                         
  font-family: "Noto Serif JP", serif;    
    }

    .hero__subtitle {
      font-size: clamp(0.95rem, 1.4vw, 1.1rem);
      max-width: 40rem;
      opacity: 0.9;
      margin-bottom: 1rem;
    }

    .hero__meta {
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 400;
  opacity: 1;
  letter-spacing: 0.05em;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Dots / progress indicator */
    .hero__dots {
      position: absolute;
      left: 50%;
      bottom: 1.5rem;
      transform: translateX(-50%);
      display: flex;
      gap: 0.5rem;
    }

    .hero__dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.8);
      background: rgba(255, 255, 255, 0.2);
      overflow: hidden;
    }

    .hero__dot-fill {
      width: 0%;
      height: 100%;
      background: #fff;
      transform-origin: left;
    }

.hero__dot--active .hero__dot-fill {
  animation: fillDot 30s linear forwards;
}

@keyframes slowPanZoom {
  0% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.1) translate3d(-8px, -8px, 0);
  }
  100% {
    transform: scale(1.12) translate3d(8px, 8px, 0);
  }
}

    /* ============== Research Section ============== */
.research {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.8s ease, transform 0.8s ease;
      padding: 3rem 5vw 4rem;
      background-color: #ffffff;
    }


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

.research__heading {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-bottom: 2rem;
    }

.research__eyebrow {
      font-size: 0.85rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #777;
    }


.research__title {
      font-size: clamp(1.5rem, 2.2vw, 2rem);
      font-weight: 700;
    }

.research__desc {
      max-width: 40rem;
      color: #555;
      font-size: 0.98rem;
    }

.research__grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.5rem;
    }

@media (max-width: 1024px) {
      .research__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

@media (max-width: 640px) {
      .research__grid {
        grid-template-columns: 1fr;
      }
    }

.research-card {
      background: #fafafa;
      border-radius: 1.2rem;
      padding: 1.5rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      cursor: default;
      text-decoration:none;
    }

.research-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
      background: #ffffff;
    }

.research-card__label {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #888;
      margin-bottom: 0.75rem;
    }

.research-card__title {
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

.research-card__body {
      font-size: 0.9rem;
      color: #666;
    }

.step-image img {
  width: 260px;       /* bigger width */
  height: 180px;      /* bigger height */
  object-fit: cover;  /* crop nicely without distortion */
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  margin-top: 12px;
}



.logo {
  display: flex;
  align-items: center;
  gap: 8px; /* space between logo and text */
  font-size: 1.4rem;
  font-weight: bold;
}

/* Adjust the logo image size */
.logo-img {
  width: 32px;   
  height: 32px;
  object-fit: contain;
}


