:root {
  --blue-900: #0f172a;
  --blue-700: #1e40af;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-200: #bfdbfe;
  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-500: #6b7280;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --yellow-400: #fbbf24;
  --yellow-300: #fde68a;
  --border-radius: 1.5rem;
  font-family: 'Noto Sans JP', 'Inter', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  color: var(--gray-900);
  font-family: inherit;
  line-height: 1.6;
}

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

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  position: relative;
  min-height: 80vh;
  color: var(--gray-900);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/public/hero/main-visual.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(15, 23, 42, 0.85) 100%);
  mix-blend-mode: multiply;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.hero h1 {
  font-size: clamp(2.75rem, 4vw, 4.25rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 800;
  color: var(--gray-900);
}

.highlight {
  color: var(--blue-700);
}

.highlight--inline {
  display: inline-block;
  margin-left: 0.5rem;
}

.hero__lead {
  max-width: 640px;
  font-size: 1.25rem;
  margin-bottom: 1.75rem;
  color: rgba(15, 23, 42, 0.85);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero__stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--blue-700);
}

.hero__stat-label {
  margin: 0.25rem 0 0;
  color: var(--gray-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 3px solid var(--blue-200);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--yellow-400);
  color: var(--blue-900);
  box-shadow: 0 15px 30px rgba(251, 191, 36, 0.35);
}

.btn--primary:hover {
  background: var(--yellow-300);
  transform: translateY(-2px) scale(1.01);
}

.btn--wide {
  width: 100%;
  justify-content: center;
}

.section {
  padding: 5rem 0;
}

.section--gray {
  background: var(--gray-100);
}

.section__heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section__heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 0.75rem;
}

.section__heading p {
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.grid--staff {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--gray-700);
}

.card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card--accent {
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.card--accent h3 {
  color: var(--gray-900);
}

.card__badge {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--blue-700);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.panel {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1.25rem;
}

.panel--info {
  background: linear-gradient(180deg, #ebf4ff 0%, #dbeafe 100%);
  border-left: 6px solid var(--blue-600);
}

.panel--success {
  background: linear-gradient(180deg, #e0f2fe 0%, #d1fae5 100%);
  border-left: 6px solid var(--blue-600);
  text-align: center;
  font-weight: 600;
  color: var(--gray-800);
}

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

.highlight--blue {
  display: block;
  color: var(--blue-600);
}

.highlight__pill {
  display: inline-flex;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  background: #fef9c3;
  color: var(--blue-900);
  font-weight: 700;
  margin-bottom: 1rem;
}

.logos-marquee__viewport {
  overflow: hidden;
}

.logos-marquee__track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  align-items: center;
}

.logos-marquee__track img {
  width: 140px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(40%);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 1rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.service-card strong {
  color: var(--blue-700);
}

.service-card__number {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 0.35rem;
}

.service-card__logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.service-card__logos img {
  width: 100%;
  height: 60px;
  object-fit: contain;
  background: var(--gray-100);
  padding: 0.5rem;
  border-radius: 0.75rem;
}

.service-card__image {
  min-height: 150px;
  border-radius: 1rem;
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
}

.pricing {
  display: grid;
  gap: 1.5rem;
}

.pricing__main {
  background: linear-gradient(180deg, #eff6ff 0%, #eef2ff 100%);
  border-left: 6px solid var(--blue-600);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 25px 45px rgba(30, 64, 175, 0.15);
}

.pricing__main ul {
  padding-left: 1rem;
  margin: 1rem 0 0;
  color: var(--gray-700);
  line-height: 1.7;
}

.pricing__note {
  background: var(--white);
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.pricing__note ul {
  padding-left: 1.25rem;
  margin: 0;
  line-height: 1.7;
}

.pricing__amount {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.pricing__price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-700);
}

.pricing__label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-700);
}

.pricing__tax {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.case-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.case-slider__viewport {
  overflow: hidden;
  flex: 1;
}

.case-track {
  display: flex;
  gap: 1.25rem;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.case-track::-webkit-scrollbar {
  display: none;
}

.case-slide {
  background: var(--white);
  border-radius: var(--border-radius);
  min-width: min(90vw, 640px);
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr;
}

.case-slide__media {
  margin: 0;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.case-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-slide__body {
  padding: 1.75rem;
}

.case-slide__label {
  color: var(--blue-700);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.case-slide__result {
  color: var(--blue-600);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.case-slide__voice {
  color: var(--gray-700);
  margin: 0;
}

.case-slider__nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  font-size: 1.75rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.case-slider__nav:hover {
  transform: translateY(-3px);
}

.case-slider__footer {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.case-slider__btn {
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: var(--white);
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  cursor: pointer;
}

.case-slider__counter {
  font-weight: 700;
  color: var(--gray-700);
}

.staff-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.staff-card__media {
  min-height: 230px;
  background: var(--gray-100);
  position: relative;
}

.staff-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card__body {
  padding: 1.5rem;
}

.staff-card__position {
  color: var(--blue-600);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.staff-card__meta {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--white);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.faq-item__toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.75rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-item__icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.faq-item__content {
  padding: 0 1.75rem 1.25rem;
  color: var(--gray-700);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item.open .faq-item__content {
  display: block;
}

.highlight--filled {
  background: linear-gradient(180deg, #1e3a8a 0%, #2563eb 100%);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 2rem;
  margin-top: 3rem;
}

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

.contact__phone {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
}

.contact__phone h3 {
  margin-top: 0;
}

.contact__phone a {
  font-size: 2rem;
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: none;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.contact__form input,
.contact__form textarea {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.25);
  font-size: 1rem;
  font-family: inherit;
}

.contact__checkboxes {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact__checkboxes label {
  font-weight: 500;
  align-items: baseline;
  gap: 0.35rem;
}

.contact__checkboxes input {
  width: 1rem;
  height: 1rem;
}

.contact__privacy {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

.contact__privacy-small {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin: 0;
}

.required {
  color: #ef4444;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .case-slide {
    grid-template-columns: 1fr 1fr;
    min-width: 600px;
  }

  .case-slide__media {
    min-height: 100%;
  }

  .grid--stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing {
    grid-template-columns: 2fr 1fr;
  }

  .logos-marquee__viewport {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

