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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
  color: #ffffff;
  background-color: #020e18;
  background-image: radial-gradient(circle at top, rgba(20, 48, 72, 0.45), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(3, 28, 52, 0.6), transparent 60%);
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1rem;
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
}

body.home header {
  background-color: transparent;
  box-shadow: none;
}

body.home header.is-scrolled {
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #f0c948;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #7fd3ff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.profile-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.profile-link:hover::after {
  transform: translateX(4px);
}


.logo img {
  height: 40px;
  width: 40px;
}

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

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero h1 {
  position: relative;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.4rem, 7.2vw, 6rem);
  font-weight: 600;
  z-index: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-decoration: none;
}

.scroll-indicator .arrow-icon {
  width: 78px;
  height: 78px;
  background: url("images/arrow_downward_white.png?v=20250112") center / contain no-repeat;
  animation: indicator-pulse 1.7s ease-in-out infinite;
}

@keyframes indicator-pulse {
  0% {
    transform: translateY(-2px);
    opacity: 0.35;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
  100% {
    transform: translateY(-2px);
    opacity: 0.35;
  }
}


.section {
  padding: 6rem 1.5rem;
  scroll-margin-top: 90px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: #7fd3ff;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2.9vw, 2.7rem);
  font-weight: 600;
  margin: 0.6rem 0 1.5rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.section-copy p {
  color: #b8c4d2;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.section-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.6rem;
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.section-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f0c948;
}

.section-panel ul {
  list-style: none;
  color: #b8c4d2;
  display: grid;
  gap: 0.6rem;
}

.section-panel li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.section-panel li::before {
  content: "▸";
  color: #7fd3ff;
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(3, 30, 52, 0.65);
  border: 1px solid rgba(127, 211, 255, 0.18);
  padding: 1.6rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: #b8c4d2;
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.contact-details p {
  color: #b8c4d2;
  margin-bottom: 0.8rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7fd3ff;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.75rem 0.9rem;
  color: #ffffff;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(127, 211, 255, 0.7);
  box-shadow: 0 0 0 2px rgba(127, 211, 255, 0.18);
}

.contact-form button {
  justify-self: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: #f0c948;
  color: #000000;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 0;
}

.contact-note {
  font-size: 0.85rem;
  color: #b8c4d2;
}

.contact-note a {
  color: #7fd3ff;
  text-decoration: none;
}

.privacy-section {
  font-size: 0.92rem;
  line-height: 1.8;
}

.privacy-section h2 {
  font-size: 1.6rem;
}

.privacy-section h3 {
  font-size: 1.1rem;
}

.privacy-section h4 {
  font-size: 1rem;
}

.privacy-section ul,
.privacy-section ol {
  padding-left: 1.4rem;
  margin: 0.6rem 0 1.2rem;
}

.privacy-section ul ul,
.privacy-section ol ul,
.privacy-section ul ol,
.privacy-section ol ol {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0.8rem;
}

.privacy-section li {
  margin: 0.4rem 0;
}

.privacy-section section + section {
  margin-top: 1.6rem;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(240, 201, 72, 0.35);
}

.contact-consent {
  display: flex;
  justify-content: center;
  font-size: 0.9rem;
  color: #b8c4d2;
  margin-bottom: 0.2rem;
}

.contact-consent label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.contact-consent input {
  margin-right: 0;
  accent-color: #7fd3ff;
}

.form-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: #7fd3ff;
}

.form-status.is-error {
  color: #f07d7d;
}

.form-status.is-success {
  color: #9fe0b1;
}

.form-status.is-loading {
  color: #7fd3ff;
}

.turnstile-wrapper {
  min-height: 65px;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.honeypot {
  display: none;
}

.contact-cta {
  display: grid;
  gap: 0.1rem;
  align-content: start;
}

.contact-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: #f0c948;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  width: fit-content;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-radio-group {
  display: grid;
  gap: 0.6rem;
  padding-top: 0.2rem;
}

.contact-radio-group label {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  column-gap: 0.6rem;
  color: #b8c4d2;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-radio-group input[type="radio"] {
  justify-self: start;
}

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

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.95rem;
  }

  .contact-consent label {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

.profile-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.profile-modal.is-visible {
  display: flex;
}

.profile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 14, 24, 0.78);
  backdrop-filter: blur(6px);
}

.profile-dialog {
  position: relative;
  max-width: 820px;
  width: min(90vw, 820px);
  max-height: 85vh;
  overflow: auto;
  background: rgba(3, 30, 52, 0.92);
  border: 1px solid rgba(127, 211, 255, 0.2);
  border-radius: 22px;
  padding: 2.5rem 2.2rem;
  z-index: 1;
  animation: fade-in 0.35s ease;
}

.profile-header {
  margin-bottom: 0.6rem;
}

.profile-subtitle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: 1px solid rgba(127, 211, 255, 0.35);
  background: transparent;
  color: #7fd3ff;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.profile-lead {
  color: #b8c4d2;
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.profile-subtitle {
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0;
}

.profile-body {
  color: #b8c4d2;
  font-size: 0.95rem;
  line-height: 1.8;
}

.profile-inline-photo {
  float: right;
  width: 140px;
  height: 180px;
  margin: 0.1rem 0 0.75rem 1rem;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(127, 211, 255, 0.25);
  background: rgba(3, 30, 52, 0.4);
}

.profile-body::after {
  content: "";
  display: block;
  clear: both;
}

.profile-company {
  margin-top: 1.8rem;
}

.company-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.company-list div {
  display: grid;
  gap: 0.35rem;
}

.company-row {
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 0.8rem;
}

.company-list dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7fd3ff;
}

.company-list dd {
  color: #b8c4d2;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .profile-dialog {
    padding: 2rem 1.6rem;
  }

  .profile-subtitle-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-inline-photo {
    float: none;
    width: 100%;
    max-width: 240px;
    height: auto;
    margin: 0 0 1rem 0;
  }
}


@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #020e18;
  border-top: 1px solid #222222;
  color: #5c5c5c;
}

/* ========================================
   Services Section - Data Adoption Journey
   ======================================== */

.section-services .section-title {
  margin-bottom: 2.5rem;
}

.services-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.journey-connector {
  display: none;
}

@media (min-width: 1024px) {
  .services-journey {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .journey-connector {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
      rgba(127, 211, 255, 0.3) 0%,
      rgba(127, 211, 255, 0.6) 50%,
      rgba(127, 211, 255, 0.3) 100%);
    z-index: 0;
  }
}

.service-card-stage {
  background: linear-gradient(135deg, rgba(3, 30, 52, 0.8) 0%, rgba(10, 45, 70, 0.7) 100%);
  border: 1.5px solid rgba(127, 211, 255, 0.25);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.service-card-stage:hover {
  border-color: rgba(127, 211, 255, 0.5);
  box-shadow: 0 30px 70px rgba(127, 211, 255, 0.12);
  transform: translateY(-6px);
}

.stage-badge {
  display: inline-block;
  background: linear-gradient(135deg, #7fd3ff, #5fb3d5);
  color: #020e18;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  width: fit-content;
  text-transform: uppercase;
}

.service-card-stage h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-weight: 600;
}

.service-card-stage p {
  color: #b8c4d2;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.stage-focus {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(127, 211, 255, 0.15);
  padding: 1rem;
  border-radius: 12px;
  margin-top: auto;
}

.stage-focus-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7fd3ff;
  margin-bottom: 0.6rem;
  display: block;
  font-weight: 600;
}

.stage-focus-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.stage-focus-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #b8c4d2;
}

.stage-focus-list li::before {
  content: "▸";
  color: #7fd3ff;
  font-size: 0.8rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.additional-services-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(127, 211, 255, 0.15);
}

.additional-services-title {
  font-size: 1.1rem;
  color: #7fd3ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.additional-services-section .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card-additional {
  background: rgba(3, 30, 52, 0.5);
  border: 1px solid rgba(127, 211, 255, 0.15);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.service-card-additional:hover {
  border-color: rgba(127, 211, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.service-card-additional h4 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
  font-weight: 600;
}

.service-card-additional p {
  color: #b8c4d2;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .services-journey {
    grid-template-columns: 1fr;
  }

  .service-card-stage {
    padding: 1.8rem;
  }

  .service-card-stage h3 {
    font-size: 1.15rem;
  }

  .service-card-stage p {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .services-journey {
    gap: 1.5rem;
  }

  .service-card-stage {
    padding: 1.5rem;
  }

  .stage-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }

  .service-card-stage h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }

  .service-card-stage p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .stage-focus {
    padding: 0.8rem;
  }

  .stage-focus-label {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .stage-focus-list li {
    font-size: 0.85rem;
  }

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

  .service-card-additional {
    padding: 1.3rem;
  }

  .service-card-additional h4 {
    font-size: 1rem;
  }

  .service-card-additional p {
    font-size: 0.9rem;
  }
}

@keyframes badge-glow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(127, 211, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(127, 211, 255, 0.6);
  }
}

.stage-badge {
  animation: badge-glow 3s ease-in-out infinite;
}

/* ========================================
   Profile Page Styles
   ======================================== */

.profile-page {
    padding-top: 80px;
}

.profile-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    background-color: #0a192f;
}

.profile-image-container {
    flex: 1;
    max-width: 400px;
    margin-right: 40px;
}

.profile-image-container img {
    width: 100%;
    border-radius: 8px;
}

.profile-title-container {
    flex: 2;
}

.profile-title-container h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: #f0c948;
    line-height: 1.4;
}

.profile-details {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline {
    border-left: 2px solid #7fd3ff;
    padding-left: 40px;
    margin-bottom: 80px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: -100px;
    top: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: #7fd3ff;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccd6f6;
}

.strengths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.strength-item {
    background-color: #112240;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #7fd3ff;
}

.strength-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #f0c948;
    margin-bottom: 20px;
}

.strength-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccd6f6;
}

@media (max-width: 768px) {
    .profile-hero {
        flex-direction: column;
        padding: 60px 20px;
    }

    .profile-image-container {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 300px;
    }

    .profile-title-container h1 {
        font-size: 2rem;
        text-align: center;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-year {
        position: static;
        margin-bottom: 10px;
    }

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