.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.header > .container {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.whitepaper-float-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: block;
  width: min(320px, calc(100vw - 36px));
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.16));
}

.whitepaper-float-banner img {
  width: 100%;
  height: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(520px, 72vh, 760px);
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-bg-next,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg,
.hero-bg-next {
  background-position: center;
  background-size: cover;
  transition: opacity 1s ease;
}

.hero-bg {
  background-image: url("images/slider1.jpg");
}

.hero-bg-next {
  opacity: 0;
  background-image: url("images/slider2.jpg");
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.28);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 40px));
  text-align: center;
}

.hero-catch-img {
  width: min(700px, 90%);
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.25));
}

.hero-subcatch {
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.section {
  padding: 88px 0;
}

.about-title,
.section h2 {
  margin: 0 0 36px;
  color: #333;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.4;
  text-align: center;
}

.about-flex {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  align-items: center;
  gap: 54px;
}

.about-flex .content,
#about-ikigai .content {
  font-size: 1.05rem;
  line-height: 2;
}

.about-flex .content p,
#about-ikigai .content > p {
  margin: 0 0 24px;
}

.about-mascot-bg {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
}

.center-button {
  margin-top: 36px;
  text-align: center;
}

.cta-button,
.cta-button-white,
.line-add-button,
.contact-cta-btn {
  display: inline-flex;
  min-height: 52px;
  padding: 12px 28px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #ff6b35;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.banner-section {
  overflow: hidden;
  background: #f47b4a;
}

.banner-section .about-title,
.banner-section .activity-intro-text {
  color: #fff;
}

.activity-intro-text {
  margin-bottom: 36px;
  text-align: center;
}

.activity-swiper {
  width: min(1180px, 100%);
  padding: 12px 52px 54px;
}

.activity-item {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.activity-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.link-block {
  display: block;
  text-decoration: none;
}

.cta-button-white {
  background: #fff;
  color: #e85f2d;
}

#about-ikigai {
  background: #f7fbfd;
}

#about-ikigai .content {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.ikigai-lead {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
}

.ikigai-declaration-section {
  background: #fff8ef;
}

.declaration-wrapper {
  display: flex;
  justify-content: center;
}

.line-block-simple {
  width: min(620px, 100%);
  padding: 36px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.line-simple-lead {
  margin: 0 0 24px;
  font-size: 1.25rem;
  font-weight: 700;
}

.line-qr-img {
  width: 180px;
  margin: 0 auto 10px;
}

.line-btn-sp,
.sp-only {
  display: none;
}

.contact-cta-section-new {
  padding: 64px 20px;
  background: #eaf7fb;
}

.contact-cta-inner {
  display: flex;
  width: min(900px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-cta-text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .header > .container {
    position: relative;
    min-height: 66px;
  }

  .about-flex {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-mascot-bg {
    max-height: 320px;
  }

  .contact-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .whitepaper-float-banner {
    right: 10px;
    bottom: 10px;
    width: 172px;
  }

  .header-logo-img {
    width: min(230px, calc(100vw - 96px));
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  .hero-catch-img {
    width: 96%;
  }

  .section {
    padding: 60px 0;
  }

  .about-title,
  .section h2 {
    margin-bottom: 28px;
    font-size: 1.75rem;
  }

  .about-flex .content,
  #about-ikigai .content {
    font-size: 1rem;
    line-height: 1.85;
  }

  .about-flex br,
  #about-ikigai .content br.desktop-only {
    display: none;
  }

  .activity-intro-text {
    padding: 0 16px;
  }

  .activity-intro-text br {
    display: none;
  }

  .activity-swiper {
    padding: 8px 42px 48px;
  }

  .line-block-simple {
    padding: 28px 20px;
  }

  .line-qr-pc {
    display: none;
  }

  .line-btn-sp {
    display: inline-flex;
  }

  .sp-only {
    display: inline;
  }

  .mobile-block {
    display: inline;
  }
}
