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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

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

  .pc-only {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 0 48px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  min-width: 0;
  container-type: inline-size;
}

.hero-logo {
  margin-bottom: 24px;
}

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

.hero-title {
  font-size: clamp(3rem, 11.3cqw, 4rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 20px;
  white-space: nowrap;
}

.hero-description {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
}

.hero-slider {
  flex: 0 0 auto;
  width: 420px;
  position: relative;
}

.hero-slider__caption {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.hero-slider__viewport {
  position: relative;
  overflow: hidden;
}

.hero-slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.hero-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  z-index: 10;
}

.hero-slider__viewport:hover .hero-slider__btn {
  opacity: 1;
}

.hero-slider__btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.hero-slider__btn--prev {
  left: 12px;
}

.hero-slider__btn--next {
  right: 12px;
}

.hero-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-slider__dot--active {
  background: #fff;
}

@media (max-width: 960px) {
  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }

  .hero-content {
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    white-space: normal;
  }

  .hero-logo {
    margin-bottom: 20px;
  }

  .hero-logo img {
    height: 40px;
  }

  .hero-slider {
    width: 100%;
    max-width: 480px;
  }
}

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

  .hero .container {
    padding: 0 24px;
  }

  .hero-title {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }

  .hero-logo {
    margin-bottom: 16px;
  }

  .hero-logo img {
    height: 36px;
  }

  .hero-description {
    font-size: 0.875rem;
    line-height: 1.8;
  }

  .hero-inner {
    gap: 32px;
  }

  .hero-slider {
    max-width: 360px;
  }

  .hero-slider__btn {
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
    opacity: 1;
  }

  .hero-slider__btn--prev {
    left: 8px;
  }

  .hero-slider__btn--next {
    right: 8px;
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header__en {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #2563eb;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.section-description {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .section-description {
    font-size: 0.875rem;
  }
}

/* Services Section */
.services {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Service Card */
.service-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}


.service-card__header {
  padding: 24px 28px;
}

.service-card--dev .service-card__header {
  background: #0d9488;
}

.service-card--legal .service-card__header {
  background: #1e3a5f;
}

.service-card--figma .service-card__header {
  background: #7c3aed;
}

.service-card--extension .service-card__header {
  background: #007ca6;
}

.service-card--ios .service-card__header {
  background: #c41536;
}

.service-card__target {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.service-card__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card__logo {
  height: 40px;
  width: auto;
}

.service-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.service-card__description {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-top: 16px;
}

.service-card__body {
  padding: 24px 28px 28px;
}

.service-card__status {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #c41536;
  background: #fff;
  padding: 4px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card__features {
  margin-bottom: 20px;
}

.service-card__features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.6;
}

.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card--dev .service-card__features li::before {
  background-color: rgba(13, 148, 136, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.service-card--legal .service-card__features li::before {
  background-color: rgba(30, 58, 95, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.service-card--figma .service-card__features li::before {
  background-color: rgba(124, 58, 237, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.service-card--extension .service-card__features li::before {
  background-color: rgba(0, 124, 166, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007ca6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.service-card--ios .service-card__features li::before {
  background-color: rgba(196, 21, 54, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c41536' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.service-card__features li:last-child {
  margin-bottom: 0;
}

.service-card__features li.service-card__note {
  padding-left: 0;
  font-size: 0.8125rem;
  color: #888;
}

.service-card__features li.service-card__note::before {
  display: none;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #fff;
  text-decoration: none;
}

.service-card__link-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.service-card--dev .service-card__link {
  background: #0d9488;
}

.service-card--dev .service-card__link:hover {
  background: #0f766e;
}

.service-card--legal .service-card__link {
  background: #1e3a5f;
}

.service-card--legal .service-card__link:hover {
  background: #152a45;
}

.service-card--figma .service-card__link {
  background: #7c3aed;
}

.service-card--figma .service-card__link:hover {
  background: #6d28d9;
}

.service-card--extension .service-card__link {
  background: #007ca6;
}

.service-card--extension .service-card__link:hover {
  background: #006288;
}

.service-card--ios .service-card__link {
  background: #c41536;
}

.service-card__link--disabled {
  background: #c41536;
  color: rgba(255, 255, 255, 0.7);
}

/* Coming Soon Card */
.service-card--coming-soon {
  opacity: 0.7;
}

.service-card--coming-soon .service-card__link--disabled {
  cursor: default;
}

.service-card--legal.service-card--coming-soon .service-card__link--disabled {
  background: #1e3a5f;
}

.service-card--legal.service-card--coming-soon .service-card__link--disabled:hover {
  background: #1e3a5f;
}


/* Footer */
.footer {
  background: #1a1a2e;
  padding: 48px 0;
  text-align: center;
}

.footer__logo {
  margin-bottom: 16px;
}

.footer__logo img {
  height: 32px;
  width: auto;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .service-card__header {
    padding: 20px;
  }

  .service-card__target {
    margin-bottom: 10px;
  }

  .service-card__logo {
    height: 26px;
  }

  .service-card__badge {
    font-size: 0.6875rem;
    padding: 3px 10px;
  }

  .service-card__title-row {
    gap: 10px;
  }

  .service-card__description {
    font-size: 0.75rem;
    margin-top: 12px;
  }

  .service-card__body {
    padding: 20px;
  }

  .service-card__features {
    margin-bottom: 16px;
  }

  .service-card__features li {
    font-size: 0.875rem;
    padding-left: 26px;
    margin-bottom: 10px;
  }

  .service-card__features li::before {
    width: 16px;
    height: 16px;
    top: 5px;
  }

  .service-card__link {
    font-size: 0.8125rem;
    padding: 10px 20px;
  }

  .services {
    padding: 60px 0 80px;
  }

  .footer {
    padding: 40px 0;
  }
}
