/* === RESET & BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #e0e0e0;
  background-color: #0a0a0a;
  overflow-x: hidden;
}

/* First view background overlay */
.fv-bg {
  position: fixed;
  inset: 0 0 auto 0; /* top:0; left:0; right:0; bottom:auto */
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  /* Use hero background image with fallback */
  background-image: url("../images/hero-bg.jpg"), url("../images/IMG_2702.JPG");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* dim overlay */
.fv-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.75)
  );
}

/* fade-out mask so content below blends */
.fv-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 40vh;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0),
    rgba(10, 10, 10, 0.9) 60%,
    #0a0a0a 100%
  );
}

/* ensure sections stack above */
body.home > *:not(.fv-bg):not(.header) {
  z-index: 1;
  position: relative;
}

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

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ffffff;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

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

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: #ff0000;
  color: #ffffff;
  border-color: #ff0000;
}

.btn-primary:hover {
  background-color: #e60000;
  border-color: #e60000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #ff0000;
  border-color: #ff0000;
}

.btn-secondary:hover {
  background-color: #ff0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.2);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(20, 20, 20, 0.95) !important;
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid #333333;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo .logo {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #ffffff !important;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ff0000 !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff0000;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.bar {
  width: 25px;
  height: 3px;
  background-color: #ffffff !important;
  margin: 3px 0;
  transition: 0.3s;
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* ヘッダーの高さ分のスペースを確保 */
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-highlights {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chip {
  background: rgba(255, 255, 255, 0.08);
  color: #e0e0e0;
  border: 1px solid #333;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-logo-img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background-color: #ff0000;
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #ff0000;
  border-bottom: 2px solid #ff0000;
  transform: rotate(45deg);
}

/* === SECTIONS === */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #ffffff;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #ff0000;
}

.section-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cccccc;
}

.section-text.large {
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

.bg-light {
  background-color: #1a1a1a;
}

/* === RESULTS STRIP === */
.results-strip {
  background: rgba(15, 15, 15, 0.78);
  backdrop-filter: blur(2px);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}
/* Avoid overlap with fixed header on home */
body.home .results-strip {
  margin-top: 80px;
}
.results-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 0;
}
.result-item {
  text-align: center;
}
.result-number {
  color: #ff0000;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
}
.result-label {
  color: #cccccc;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}
@media (max-width: 768px) {
  .results-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === CASE STUDIES === */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.case-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}
.case-card.highlight {
  border-color: #ff0000;
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.12);
}
.case-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.case-title {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
}
.case-desc {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}
.case-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.badge {
  background: rgba(255, 255, 255, 0.08);
  color: #e0e0e0;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid #333;
}
.badge-contract {
  background: rgba(0, 200, 255, 0.12);
  color: #9be8ff;
  border-color: rgba(0, 200, 255, 0.35);
}
.badge-product {
  background: rgba(255, 0, 0, 0.12);
  color: #ff9b9b;
  border-color: rgba(255, 0, 0, 0.35);
}
.badge-rnd {
  background: rgba(255, 215, 0, 0.12);
  color: #ffe28a;
  border-color: rgba(255, 215, 0, 0.35);
}
.badge-research {
  background: rgba(0, 255, 127, 0.12);
  color: #7fffbe;
  border-color: rgba(0, 255, 127, 0.35);
}

/* === PORTFOLIO CARDS === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.portfolio-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}
.portfolio-card.highlight {
  border-color: #ff0000;
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.12);
}
.portfolio-card-header {
  margin-bottom: 0.5rem;
}
.portfolio-title {
  color: #fff;
  font-size: 1.2rem;
  margin: 0.25rem 0 0.25rem;
}
.portfolio-desc {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}
.portfolio-meta {
  color: #aaa;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.portfolio-english {
  display: block;
  color: #888;
  font-style: italic;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.portfolio-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.portfolio-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  border: 1px solid #222;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === PAGE HEADER === */
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  text-align: center;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.page-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  color: #cccccc;
  font-weight: 300;
  letter-spacing: 0.1em;
}

/* === WHAT IS VALIARK === */
.what-is-valiark {
  background-color: #0a0a0a;
}

/* === MISSION VISION VALUE === */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.mvv-item {
  text-align: center;
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333333;
}

.mvv-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.mvv-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.mvv-subtitle {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.mvv-text {
  color: #e0e0e0;
  line-height: 1.7;
}

.mvv-item.detailed {
  text-align: left;
}

.mvv-description {
  margin-top: 1rem;
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: #1a1a1a;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333333;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.service-description {
  color: #cccccc;
  line-height: 1.6;
}

/* === FEATURES/WHY VALIARK === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.feature-description {
  color: #cccccc;
  font-size: 0.95rem;
}

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.contact-item {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #333333;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-description {
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* === FOUNDERS SECTION === */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.founder-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #333333;
}

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

.founder-image {
  width: 200px;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #333; /* Debug: fallback background */
  border: 2px solid #ff0000; /* Debug: red border to see container */
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Ensure image displays as block */
}

.founder-info {
  padding: 2rem;
}

.founder-name {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.founder-title {
  color: #ff0000;
  font-weight: 500;
  margin-bottom: 1rem;
}

.founder-description {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.founder-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background-color: #333333;
  color: #e0e0e0;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #555555;
}

/* === TEAM VALUES === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #333333;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
}

.value-icon {
  margin-bottom: 1.5rem;
}

.value-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.value-description {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === SERVICE DETAILS === */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-content {
  padding: 2rem 0;
}

.service-icon.large {
  margin-bottom: 2rem;
}

.service-detail-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.service-detail-description {
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.subsection-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 2rem 0 1rem;
  font-weight: 600;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #cccccc;
}

.feature-list li::before {
  content: "•";
  color: #ff0000;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background-color: #ff0000;
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.service-detail-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.placeholder-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

/* === PROCESS SECTION === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #333333;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
}

.process-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: #ff0000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
}

.process-title {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.process-description {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === WHY CHOOSE === */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-choose-item {
  text-align: center;
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #333333;
}

.why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
}

.why-choose-icon {
  margin-bottom: 1.5rem;
}

.why-choose-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.why-choose-description {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, #ff0000 0%, #e60000 100%);
  color: #ffffff;
}

.cta-section .section-title {
  color: #ffffff;
}

.cta-section .section-text {
  color: #ffffff;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-section .btn-primary {
  background-color: #ffffff;
  color: #ff0000;
  border-color: #ffffff;
}

.cta-section .btn-primary:hover {
  background-color: #f5f5f5;
  border-color: #f5f5f5;
}

.cta-section .btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.cta-section .btn-secondary:hover {
  background-color: #ffffff;
  color: #ff0000;
}

/* === WORKS PAGE === */
.coming-soon-section {
  padding: 8rem 0;
  text-align: center;
}

.coming-soon-content {
  max-width: 600px;
  margin: 0 auto;
}

.coming-soon-icon {
  margin-bottom: 2rem;
  opacity: 0.8;
}

.coming-soon-title {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.coming-soon-description {
  font-size: 1.2rem;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.coming-soon-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.work-category-card {
  background-color: #1a1a1a;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #333333;
}

.work-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
}

.category-icon {
  margin-bottom: 1.5rem;
}

.category-title {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.category-list {
  list-style: none;
  text-align: left;
}

.category-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #cccccc;
}

.category-list li::before {
  content: "•";
  color: #ff0000;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.work-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #333333;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
}

.work-card.sample {
  opacity: 0.7;
}

.work-image {
  height: 200px;
  overflow: hidden;
}

.work-content {
  padding: 1.5rem;
}

.work-category {
  display: inline-block;
  background-color: #ff0000;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.work-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.work-description {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.work-tag {
  background-color: #333333;
  color: #e0e0e0;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid #555555;
}

/* === CONTACT FORM === */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #1a1a1a;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  border: 1px solid #333333;
  width: 100%;
  box-sizing: border-box;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.required {
  color: #ff0000;
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  border: 2px solid #555555;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #2a2a2a;
  color: #ffffff;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ff0000;
  background-color: #333333;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #888888;
}

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

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: #cccccc;
}

.radio-label input[type="radio"] {
  /* display:none だと必須バリデーション時に "not focusable" エラーになるため
     物理的に極小＆透明化してフォーカス可能な状態を維持 */
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #555555;
  border-radius: 50%;
  margin-right: 0.8rem;
  position: relative;
  transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: #ff0000;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #ff0000;
  border-radius: 50%;
}

/* キーボード操作時のフォーカスリング */
.radio-label input[type="radio"]:focus + .radio-custom {
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.4);
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: #cccccc;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #555555;
  border-radius: 4px;
  margin-right: 0.8rem;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  border-color: #ff0000;
  background-color: #ff0000;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.4);
}

.privacy-link {
  color: #ff0000;
  text-decoration: underline;
}

.form-submit {
  text-align: center;
  margin-top: 1rem;
}

/* Form status & loading */
.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
  color: #cccccc;
}
.form-status.info {
  color: #cccccc;
}
.form-status.warn {
  color: #ffcc66;
}
.form-status.error {
  color: #ff6666;
}
.form-status.success {
  color: #66dd88;
}

#contactSubmit.loading {
  position: relative;
  opacity: 0.85;
  pointer-events: none;
}
.btn-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Simple invalid highlight when .was-validated */
.was-validated :invalid.form-input,
.was-validated :invalid.form-select,
.was-validated :invalid.form-textarea {
  border-color: #ff4d4d;
  background: #2a1414;
}
.was-validated :invalid.form-input:focus,
.was-validated :invalid.form-select:focus,
.was-validated :invalid.form-textarea:focus {
  outline: 2px solid #ff4d4d;
}

/* === CONTACT INFO === */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-info-item {
  text-align: center;
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  border: 1px solid #333333;
}

.contact-info-icon {
  margin-bottom: 1.5rem;
}

.contact-info-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-info-description {
  color: #cccccc;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-info-link {
  color: #ff0000;
  font-weight: 500;
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #1a1a1a;
  padding: 2rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
  border: 1px solid #333333;
}

.faq-question {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.faq-answer {
  color: #cccccc;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  background-color: #333333;
  color: #ffffff;
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

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

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #cccccc;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff0000;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555555;
}

.copyright {
  color: #cccccc;
  font-size: 0.9rem;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #1a1a1a;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    border-top: 1px solid #333333;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

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

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .page-title {
    font-size: 2.5rem;
  }

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

  .mvv-grid,
  .services-grid,
  .features-grid,
  .contact-grid,
  .founders-grid,
  .values-grid,
  .process-grid,
  .why-choose-grid,
  .works-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail-grid.reverse {
    direction: ltr;
  }

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

  .contact-form-container {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .cta-buttons,
  .hero-buttons,
  .coming-soon-buttons {
    flex-direction: column;
    align-items: center;
  }

  .container {
    padding: 0 15px;
  }
}

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

  .page-title {
    font-size: 2rem;
  }

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

  .coming-soon-title {
    font-size: 2rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .section {
    padding: 3rem 0;
  }
}

/* === SCROLL ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === LOGO STYLES === */
.logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.nav-logo:hover .logo {
  transform: scale(1.05);
}

.hero-logo-img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  animation: fadeInRight 1s ease 0.3s both;
}

.footer .logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-logo:hover .logo {
  transform: scale(1.05);
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Mobile logo adjustments */
@media (max-width: 768px) {
  .logo {
    height: 35px;
    max-width: 150px;
  }

  .hero-logo-img {
    max-height: 200px;
  }
}

/* === OUR STORY SECTION === */
.our-story {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  position: relative;
  overflow: hidden;
}

.our-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad" cx="50%" cy="50%"><stop offset="0%" style="stop-color:%23ff0000;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%23ff0000;stop-opacity:0"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23grad)"/><circle cx="800" cy="300" r="100" fill="url(%23grad)"/><circle cx="600" cy="700" r="120" fill="url(%23grad)"/></svg>')
    no-repeat;
  background-size: cover;
  opacity: 0.3;
  z-index: 1;
}

.our-story .container {
  position: relative;
  z-index: 2;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-text {
  line-height: 2;
  font-size: 1.1rem;
}

.story-paragraph {
  margin-bottom: 2rem;
  color: #e0e0e0;
  font-weight: 400;
}

.story-paragraph.highlight {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.2rem;
  position: relative;
  padding: 1.5rem 0;
}

.story-paragraph.highlight::before,
.story-paragraph.highlight::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff0000, transparent);
}

.story-paragraph.highlight::before {
  top: 0;
}

.story-paragraph.highlight::after {
  bottom: 0;
}

.story-quote {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff0000;
  margin: 3rem 0;
  font-family: "Montserrat", sans-serif;
  position: relative;
  text-align: center;
}

.story-quote::before,
.story-quote::after {
  content: '"';
  font-size: 3rem;
  color: #ff0000;
  opacity: 0.5;
  position: absolute;
  font-family: "Times New Roman", serif;
}

.story-quote::before {
  left: -1.5rem;
  top: -0.5rem;
}

.story-quote::after {
  right: -1.5rem;
  bottom: -1rem;
}

.story-conclusion {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 3rem;
  padding: 2rem;
  border: 2px solid #ff0000;
  border-radius: 12px;
  background: rgba(255, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

/* Responsive Design for Story Section */
@media (max-width: 768px) {
  .story-text {
    font-size: 1rem;
  }

  .story-quote {
    font-size: 1.5rem;
    margin: 2rem 0;
  }

  .story-quote::before,
  .story-quote::after {
    font-size: 2rem;
  }

  .story-quote::before {
    left: -1rem;
  }

  .story-quote::after {
    right: -1rem;
  }

  .story-conclusion {
    font-size: 1.1rem;
    padding: 1.5rem;
  }
}

/* === BUSINESS MODEL SECTION === */
.business-model {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  position: relative;
}

.business-model .section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.business-model-diagram {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid #333333;
}

.mermaid {
  display: flex;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
}

.business-model-explanation {
  margin-top: 3rem;
}

.explanation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.explanation-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #333333;
  transition: all 0.3s ease;
}

.explanation-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.explanation-item.highlight {
  background: rgba(255, 0, 0, 0.1);
  border-color: #ff0000;
}

.explanation-title {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
}

.explanation-item.highlight .explanation-title {
  color: #ff0000;
}

.explanation-list {
  list-style: none;
  padding: 0;
}

.explanation-list li {
  color: #e0e0e0;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.explanation-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #ff0000;
  font-size: 0.8rem;
}

.explanation-item.highlight .explanation-list li::before {
  color: #ff0000;
}

/* Responsive Design for Business Model Section */
@media (max-width: 768px) {
  .business-model-diagram {
    padding: 1rem;
    margin: 2rem 0;
  }

  .explanation-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .explanation-item {
    padding: 1.5rem;
  }

  .explanation-title {
    font-size: 1.1rem;
  }
}

/* === FEATURED PROJECT SECTION === */
.featured-project {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.featured-project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad" cx="50%" cy="50%"><stop offset="0%" style="stop-color:%23ff0000;stop-opacity:0.05"/><stop offset="100%" style="stop-color:%23ff0000;stop-opacity:0"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23grad)"/><circle cx="800" cy="800" r="200" fill="url(%23grad)"/></svg>')
    no-repeat;
  background-size: cover;
  z-index: 1;
}

.featured-project .container {
  position: relative;
  z-index: 2;
}

.project-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 60vh;
}

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

.badge-text {
  background: rgba(255, 0, 0, 0.1);
  color: #ff0000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  width: fit-content;
}

.badge-highlight {
  background: linear-gradient(135deg, #ff0000, #e60000);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.project-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.project-subtitle {
  font-size: 1.2rem;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.project-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

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

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff0000;
  font-family: "Montserrat", sans-serif;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #e0e0e0;
  margin-top: 0.25rem;
}

.project-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.app-interface {
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-header {
  background: #ff0000;
  color: white;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  margin: -1rem -1rem 1rem -1rem;
}

.timetable-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.time-slot {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #ddd;
  font-size: 0.9rem;
}

.time-slot.active {
  background: rgba(255, 0, 0, 0.1);
  border-left-color: #ff0000;
  color: #ff0000;
  font-weight: 600;
}

.time-slot.quest {
  background: rgba(255, 215, 0, 0.1);
  border-left-color: #ffd700;
  color: #d4a300;
  font-weight: 600;
}

/* PROJECT DETAILS SECTION */
.project-details {
  padding: 6rem 0;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.detail-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #333;
}

.detail-title {
  color: #ff0000;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.detail-text {
  color: #e0e0e0;
  line-height: 1.7;
}

.features-showcase {
  margin: 4rem 0;
}

.showcase-title {
  color: #ffffff;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

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

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-description {
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.tech-stack-section {
  margin: 4rem 0;
  background: rgba(255, 255, 255, 0.03);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid #333;
}

.tech-title {
  color: #ffffff;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

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

.tech-category-title {
  color: #ff0000;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid #333;
}

.tech-tag.primary {
  background: rgba(255, 0, 0, 0.2);
  color: #ff0000;
  border-color: #ff0000;
  font-weight: 600;
}

.project-impact {
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.1),
    rgba(255, 0, 0, 0.05)
  );
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid #ff0000;
  margin-top: 3rem;
}

.impact-title {
  color: #ffffff;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

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

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

.impact-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff0000;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 0.5rem;
}

.impact-label {
  color: #e0e0e0;
  font-size: 1rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 968px) {
  .project-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .project-title {
    font-size: 2.5rem;
  }

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

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

@media (max-width: 768px) {
  .project-title {
    font-size: 2rem;
  }

  .project-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .phone-frame {
    width: 250px;
    height: 500px;
  }

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

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

/* === PROJECT HEADER STYLES === */
.project-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.project-icon {
  flex-shrink: 0;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 3px solid #333;
}

.project-title-section {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.project-title-content {
  flex: 1;
}

.project-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.app-store-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ff0000, #e60000);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.app-store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
  color: white;
}

.store-icon {
  font-size: 1.2rem;
}

.store-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid #333;
}

/* === APP DOWNLOAD SECTION === */
.app-download-section {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid #333;
}

.download-title {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.download-button {
  display: flex;
  align-items: center;
  background: #000000;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #333;
  min-width: 200px;
}

.download-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: #ff0000;
  color: white;
}

.download-button.primary {
  background: linear-gradient(135deg, #007aff, #0051d5);
  border-color: #007aff;
}

.download-button.primary:hover {
  border-color: #007aff;
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

.coming-soon-button {
  display: flex;
  align-items: center;
  background: #333333;
  color: #999999;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 2px solid #555;
  min-width: 200px;
  cursor: not-allowed;
  opacity: 0.7;
}

.button-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

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

.button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.button-label {
  font-size: 0.8rem;
  opacity: 0.8;
}

.button-store {
  font-size: 1.1rem;
  font-weight: 600;
}

/* App Screenshots Styles */
.app-screenshots {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.screenshot-container {
  position: relative;
}

.screenshot-container .phone-frame {
  width: 250px;
  height: 500px;
  padding: 15px;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Responsive adjustments for screenshots */
@media (max-width: 768px) {
  .app-screenshots {
    flex-direction: column;
    gap: 1.5rem;
  }

  .screenshot-container .phone-frame {
    width: 200px;
    height: 400px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .screenshot-container .phone-frame {
    width: 180px;
    height: 360px;
    padding: 10px;
  }
}

.portfolio-section .portfolio-block {
  margin-bottom: 2rem;
}

/* === PLAN NAVI SECTION === */
.plan-navi-section {
  background-color: #1a1a1a;
  border-top: 1px solid #333333;
}

.plan-navi-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.plan-navi-subtitle {
  font-size: 1.3rem;
  color: #ff6b6b;
  margin-bottom: 2rem;
  font-weight: 500;
}

.plan-navi-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.plan-navi-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #cccccc;
  line-height: 1.6;
}

.plan-navi-features li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #ff0000;
  font-weight: bold;
}

.plan-navi-features strong {
  color: #ffffff;
}

.plan-navi-quote {
  font-style: italic;
  color: #aaaaaa;
  border-left: 4px solid #ff0000;
  padding-left: 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
  font-size: 1.1rem;
  text-align: left;
}

.plan-navi-footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #888888;
  font-style: italic;
}

@media (max-width: 768px) {
  .plan-navi-subtitle {
    font-size: 1.1rem;
  }

  .plan-navi-features {
    text-align: left;
  }

  .plan-navi-quote {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}
