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

html {
  scroll-behavior: smooth;
  /* Override landscape mode flex/scroll behavior */
  display: block !important;
  height: auto !important;
  overflow-y: auto !important;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  background-color: #ffffff;
  color: #1f2937;
  overflow-x: hidden;
  /* Override landscape mode flex layout */
  display: block !important;
}

.font-outfit {
  font-family: "Outfit", sans-serif !important;
}

.page-container {
  min-height: 100vh;
  overflow-x: hidden;
}

.desktop-only {
  display: none !important;
}

.mobile-only {
  display: block;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex !important;
  }
  .mobile-only {
    display: none !important;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

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

.hero-section {
  position: relative;
  height: 280px;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    height: 560px;
  }
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: absolute;
  left: 32px;
  top: 40px;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero-content {
    left: 80px;
    top: 100px;
  }
}

.hero-title {
  font-family: "Outfit", sans-serif !important;
  font-size: 18vw;
  font-weight: 800;
  line-height: 100%;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 120px;
    width: 511px;
  }
}

.story-section {
  background-color: #fff366;
  padding: 2.5rem 0;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .story-section {
    padding: 160px 0;
  }
}

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

@media (min-width: 768px) {
  .story-container {
    padding: 0 32px;
  }
}

.story-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .story-title {
    font-size: 48px;
    margin-bottom: 80px;
  }
}

.stats-container {
  max-width: 896px;
  margin: 0 auto 40px;
}

.stats-header {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
}

.stats-row,
.activity-stats-row {
  align-items: flex-end;
  gap: 16px;
  justify-content: center;
}

.stats-row {
  white-space: nowrap;
}

.stats-row-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stats-line {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.counter-number {
  font-family: "Outfit", sans-serif !important;
  font-size: 48px;
  font-weight: 800;
  line-height: 90%;
  letter-spacing: 0.1em;
  color: #000000;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .counter-number {
    font-size: 60px;
    min-width: auto;
    text-align: right;
  }
}

.stats-unit {
  font-size: 30px;
  font-weight: 700;
  color: #000000;
  white-space: nowrap;
}

.stats-unit-large {
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
  color: #000000;
}

.stats-unit-small {
  font-size: 18px;
  font-weight: 700;
  line-height: 120%;
  color: #000000;
}

.stats-note {
  font-size: 10px;
  color: #000000;
  text-align: center;
  margin-top: 16px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .stats-note {
    font-size: 14px;
    margin-bottom: 56px;
  }
}

.story-text {
  font-size: 14px;
  line-height: 1.75;
  color: #000000;
  padding: 0 8px;
}

.story-text p {
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .story-text {
    font-size: 18px;
  }
}

.cta-button-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 24px;
}

.cta-button {
  display: inline-block;
  height: 50px;
  line-height: 50px;
  width: 90%;
  max-width: 360px;
  border-radius: 9999px;
  background-color: #000000;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.05);
}

.cta-button:active {
  transform: scale(0.95);
}

@media (min-width: 768px) {
  .cta-button {
    height: 68px;
    line-height: 68px;
    width: 400px;
    max-width: 600px;
    font-size: 24px;
  }
}

.cta-button-black {
  background-color: #000000;
}

.cta-button-blue {
  background-color: #0095d9;
}

.testimonials-section {
  margin-top: 40px;
  padding: 0;
}

@media (min-width: 768px) {
  .testimonials-section {
    margin-top: 40px;
  }
}

.testimonials-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  text-align: left;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .testimonials-title {
    font-size: 32px;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 24px;
  padding: 24px;
  height: 100%;
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 32px;
  }
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #374151;
  text-align: left;
}

@media (min-width: 768px) {
  .testimonial-card p {
    font-size: 16px;
  }
}

.additional-text {
  max-width: 896px;
  margin: 40px auto;
  padding: 0 8px;
}

.additional-text p {
  font-size: 14px;
  line-height: 1.75;
  color: #000000;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .additional-text p {
    font-size: 18px;
    margin-bottom: 24px;
  }
}

.activity-section {
  background-color: #fff366;
  padding-bottom: 80px;
  overflow-x: hidden;
}

.parallax-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .parallax-image {
    height: 400px;
    margin-bottom: 80px;
  }
}

.activity-container {
  padding: 0 16px;
}

@media (min-width: 768px) {
  .activity-container {
    padding: 0 160px;
  }
}

.activity-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .activity-title {
    font-size: 32px;
  }
}

.activity-subtitle {
  font-size: 16px;
  color: #1f2937;
  text-align: center;
  margin-bottom: 24px;
}

.activity-stats {
  margin-bottom: 32px;
}

.activity-stats-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 40px;
}

.activity-stats-line {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.activity-counter {
  font-size: 48px;
}

@media (min-width: 768px) {
  .activity-counter {
    font-size: 64px;
  }
}

.activity-unit {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}

@media (min-width: 768px) {
  .activity-unit {
    font-size: 32px;
  }
}

.activity-unit-large {
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
  color: #000000;
}

.category-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .category-stats {
    flex-direction: row;
    gap: 32px;
  }
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 350px;
}

.category-image {
  width: 100%;
  max-width: 300px;
  height: auto;
}

@media (min-width: 768px) {
  .category-image {
    max-width: 320px;
  }
}

.category-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
}

@media (min-width: 768px) {
  .category-title {
    font-size: 24px;
  }
}

.category-number {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  justify-content: center;
}

.category-counter {
  font-size: 40px;
}

@media (min-width: 768px) {
  .category-counter {
    font-size: 64px;
  }
}

.category-unit {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}

@media (min-width: 768px) {
  .category-unit {
    font-size: 32px;
  }
}

.reports-section {
  background-color: #f5f5f5;
  padding: 40px 0;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .reports-section {
    padding: 80px 0;
  }
}

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

@media (min-width: 768px) {
  .reports-container {
    padding: 0 32px;
  }
}

.reports-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .reports-title {
    font-size: 36px;
    margin-bottom: 64px;
  }
}

.reports-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .reports-grid {
    flex-direction: row;
    gap: 32px;
  }
}

.report-card {
  display: block;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.report-card-large {
  width: 100%;
}

@media (min-width: 1024px) {
  .report-card-large {
    width: 60%;
  }
}

.reports-small-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .reports-small-grid {
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .reports-small-grid {
    width: 40%;
  }
}

.report-image-container {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.report-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.report-card:hover .report-image {
  transform: scale(1.05);
}

.report-content {
  padding: 16px;
}

@media (min-width: 768px) {
  .report-content {
    padding: 24px;
  }
}

.report-content h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.5;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .report-card-large .report-content h3 {
    font-size: 20px;
  }

  .report-card-small .report-content h3 {
    font-size: 16px;
  }
}

.report-card:hover .report-content h3 {
  color: #0095d9;
}

.reports-link {
  text-align: center;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .reports-link {
    margin-top: 64px;
  }
}

.reports-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0095d9;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.reports-link a:hover {
  text-decoration: underline;
}

.process-section {
  padding: 80px 0;
  overflow-x: hidden;
}

.process-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .process-container {
    gap: 64px;
  }
}

.process-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
}

@media (min-width: 768px) {
  .process-title {
    font-size: 36px;
  }
}

.process-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 250px;
}

.process-icon {
  width: 134px;
  height: 134px;
  background-color: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .process-icon {
    width: 160px;
    height: 160px;
  }
}

.process-icon img {
  width: 56px;
  height: 56px;
}

@media (min-width: 768px) {
  .process-icon img {
    width: 80px;
    height: 80px;
  }
}

.process-text {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.75;
  padding: 0 8px;
  max-width: 240px;
  white-space:nowrap;
}

@media (min-width: 768px) {
  .process-text {
    font-size: 16px;
    max-width: 300px;
  }
}

.partners-section {
  background-color: #fff366;
  padding: 40px 0 80px;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .partners-section {
    padding: 80px 0;
  }
}

.partners-container {
  padding: 0 16px;
  margin-bottom: 100px;
}

@media (min-width: 768px) {
  .partners-container {
    padding: 0 160px;
  }
}

.partners-title {
  font-size: 24px;
  color: #1f2937;
  text-align: center;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .partners-title {
    font-size: 32px;
    margin-bottom: 40px;
    /* デスクトップ版で中央寄せを確実にする */
    display: block;
    width: fit-content;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
  }

  /* デスクトップ版でパートナーズタイトル内のspanを中央寄せ */
  .partners-title .desktop-only {
    display: block;
    width: fit-content;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
  }
}
.partners-title span {
  font-weight:bold;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1024px;
  margin: 0 auto 16px;
  padding: 0 32px;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .partners-grid {
    gap: 24px;
    margin-bottom: 24px;
  }
}

.partner-logo {
  width: 100%;
  height: 87px;
  background-color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

@media (min-width: 768px) {
  .partner-logo {
    height: 116px;
    padding: 16px;
  }
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-banner {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 50;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.floating-banner.hidden {
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
}

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

.floating-banner a {
  display: block;
  transition: transform 0.2s ease;
}

.floating-banner a:hover {
  transform: scale(1.05);
}

.floating-banner img {
  width: 150px;
  height: auto;
}

@media (min-width: 768px) {
  .floating-banner img {
    width: 250px;
  }
}

.close-banner {
  position: absolute;
  top: 12px;
  right: -4px;
  width: 28px;
  height: 28px;
  background-color: #1f2937;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.close-banner:hover {
  background-color: #374151;
}

@media (min-width: 768px) {
  .close-banner {
    top: 32px;
    right: 0;
    width: 32px;
    height: 32px;
  }
}

.close-banner svg {
  width: 12px;
  height: 12px;
}

@media (min-width: 768px) {
  .close-banner svg {
    width: 16px;
    height: 16px;
  }
}
