/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #1c1c33;
  background-color: #fdfdff;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
}

button a {
  color: inherit;
  text-decoration: none;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

button {
  background: none;
  border: none;
}

.sp {
  display: none;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(
    135deg,
    rgba(215, 14, 206, 1) 0%,
    rgba(78, 44, 245, 1) 100%
  );
  color: white;
  border: none;
  width: 172px;
  height: 44px;
  border-radius: 4px;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    rgba(215, 14, 206, 0.9) 0%,
    rgba(78, 44, 245, 0.9) 100%
  );
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #1c1c33;
  border: none;
  padding: 12px 16px;
  border-radius: 4px;
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  margin-top: 76px;
  height: 790px;
  position: relative;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  overflow-x: hidden;
}

.header {
  height: 76px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  box-sizing: content-box;
  padding: 0 16px;
  margin: 0 auto;
}

.logo {
  height: 40px;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  text-decoration: none;
  color: #1c1c33;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #646cff;
}

.header-buttons {
  display: flex;
  gap: 16px;
}

.btn-open {
  display: none;
}

.btn-primary.sp {
  display: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
  max-width: 1440px;
  margin: 0 auto;
  height: calc(100%);
  position: relative;
  background-image: url(./public/main-bg-pc.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  z-index: 2;
}

.hero-title {
  font-size: 50px;
  line-height: 75px;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 0;
}

.title-line {
  display: block;
}

.title-line > span {
  background: linear-gradient(
    135deg,
    rgba(215, 14, 206, 1) 0%,
    rgba(78, 44, 245, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: "Shippori Mincho B1", serif;
  font-size: 18px;
  text-align: center;
  line-height: 1.9;
  margin-bottom: 28px;
}

.hero-cta-btn {
  width: 360px;
  height: 72px;
  background: linear-gradient(
    135deg,
    rgba(215, 14, 206, 1) 0%,
    rgba(78, 44, 245, 1) 100%
  );
  color: white;
  border: none;
  border-radius: 8px;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(78, 44, 245, 0.3);
}

.hero-images {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-img-1 {
  position: absolute;
  width: 382px;
  height: 458px;
  top: -24px;
  left: 50px;
}

.hero-img-2 {
  position: absolute;
  width: 394px;
  height: 530px;
  top: 222px;
  right: 50px;
}

.hero-line-1 {
  position: absolute;
  width: 365px;
  height: 301px;
  top: 384px;
  left: 97px;
}

.hero-line-2 {
  position: absolute;
  width: 465px;
  height: 396px;
  top: 20px;
  right: 100px;
}

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

.section-header h2 {
  font-size: 40px;
  line-height: 60px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: rgba(28, 28, 51, 0.6);
}

/* About Section */
.about-section {
  padding: 64px 0 128px;
  background: linear-gradient(
    0deg,
    rgba(241, 242, 245, 1) 0%,
    rgba(241, 242, 245, 1) 100%
  );
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.feature-item {
  margin-bottom: 48px;
  position: relative;
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 64px;
}

.feature-text {
  flex: 1;
}

.feature-number {
  font-size: 16px;
  color: rgba(28, 28, 51, 0.6);
  margin-bottom: 12px;
}

.feature-title {
  font-size: 28px;
  line-height: 1.8;
  margin-bottom: 16px;
  display: inline-block;
  padding-bottom: 2px;
  position: relative;
}

.feature-title span {
  position: relative;
  display: inline;
  border-bottom: 2px solid;
  border-image: linear-gradient(
      135deg,
      rgba(215, 14, 206, 1) 0%,
      rgba(78, 44, 245, 1) 100%
    )
    1;
}

.feature-description {
  font-size: 16px;
  line-height: 28.8px;
}

.feature-image {
  width: 240px;
  height: 144px;
  object-fit: cover;
  border-radius: 8px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 64px 24px;
  position: relative;
}

.testimonials-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(./public/testimonials-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: -370px 0;
  background-color: lightgray;
  z-index: -1;
  filter: blur(5px);
}

.testimonials-hero {
  max-width: 1024px;
  margin: 0 auto 64px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.testimonials-hero-content {
  display: flex;
  align-items: center;
}

.testimonials-hero-text {
  flex: 1;
  padding: 96px 72px;
  background: #161c2d;
  color: white;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.testimonials-hero-text h2 {
  font-size: 32px;
  line-height: 48px;
  margin-bottom: 24px;
}

.testimonials-hero-text p {
  font-size: 16px;
  line-height: 32px;
}

.testimonials-hero-image-wrap {
  position: relative;
  font-size: 0;
}

.testimonials-hero-image-wrap img:nth-of-type(1) {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.testimonials-hero-image {
  flex: 1;
  height: 488px;
  object-fit: cover;
}

.testimonials-hero-image-line {
  position: absolute;
  z-index: 1;
  left: -110px;
  top: 48px;
}

.concerns-flow {
  max-width: 1024px;
  margin: 0 auto 16px;
  display: flex;
  gap: 32px;
  margin-bottom: 16px;
}

.concerns-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.concern-card,
.solution-card {
  flex: 1;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.concern-card {
  background: #504d64;
  border: 1px solid #736d7a;
  color: white;
}

.solution-card {
  background: linear-gradient(
      226deg,
      rgba(203, 89, 232, 0.14) 0%,
      rgba(122, 89, 232, 0.14) 45%,
      rgba(194, 179, 244, 0.19) 75%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0.7) 100%
    );
  backdrop-filter: blur(25px);
  color: #1c1c33;
}

.card-header {
  margin-bottom: 16px;
}

.card-header h3 {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 300;
}

.solution-card .card-header h3 {
  background: linear-gradient(
    135deg,
    rgba(215, 14, 206, 1) 0%,
    rgba(78, 44, 245, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.separator.gradient {
  background: linear-gradient(
    135deg,
    rgba(215, 14, 206, 1) 0%,
    rgba(78, 44, 245, 1) 100%
  );
  height: 2px;
}

.arrows {
  display: flex;
  justify-content: center;
  gap: 320px;
  font-size: 20px;
  font-weight: 700;
  color: #1c1c33;
  margin: 16px 0;
}

/* Voices Section */
.voices-section {
  padding: 64px 0;
  background: linear-gradient(
    0deg,
    rgba(241, 242, 245, 1) 0%,
    rgba(241, 242, 245, 1) 100%
  );
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  max-width: 912px;
  margin: 0 auto;
}

.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 24px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(98, 152, 192, 0.12), 0 0 2px rgba(64, 67, 79, 0.14),
    0 0 2px -1px rgba(236, 236, 255, 0.2);
  max-width: 440px;
}

.testimonial-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  margin-top: 20px;
}

.user-avatar {
  width: 64px;
  height: 64px;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.user-name {
  font-size: 12px;
  font-weight: 700;
}

.user-demo {
  font-size: 10px;
  color: rgba(28, 28, 51, 0.7);
}

.testimonial-content {
  flex: 1;
}

.testimonial-content h3 {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 8px;
  text-align: left;
  height: 72px;
}

.testimonial-content .separator {
  margin-bottom: 8px;
  height: 1px;
}

.testimonial-content p {
  font-size: 14px;
  line-height: 21px;
  text-align: left;
}

/* Services Section */
.flow-section {
  padding: 64px 0;
  background: white;
  background-image: url(./public/flow-bg.png);
}

.services-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 80px;
}

.service-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 600px;
  padding: 16px 24px 24px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(98, 152, 192, 0.12), 0 0 2px rgba(64, 67, 79, 0.14),
    0 0 2px -1px rgba(236, 236, 255, 0.2);
  position: relative;
}

.step-number {
  font-size: 24px;
  font-weight: 700;
  color: #1c1c33;
  width: 45px;
  height: 45px;
  text-align: left;
  background-image: url(./public/flow-line.svg);
  background-repeat: no-repeat;
  background-position: 15px 15px;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  line-height: 21px;
}

/* Achievements Section */
.achievements-section {
  padding: 64px 0;
  background: white;
}

.achievements-section .section-header h2 small {
  font-size: 10px;
}

.company-logos {
  margin: 0 auto 16px;
}

.company-logos .swiper-wrapper {
  transition-timing-function: linear;
}

.company-logos .swiper-slide {
  width: 100px;
}
.company-logos img {
  max-width: 100%;
}

.disclaimer {
  font-size: 12px;
  color: rgba(28, 28, 51, 0.6);
  text-align: right;
  padding: 0 80px;
}

/* CTA Section */
.cta-section {
  background: url(./public/bg-cta.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  height: 300px;
  padding: 64px 24px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 64px;
}

.cta-section button {
  width: 400px;
  height: 64px;
  font-size: 18px;
}

/* FAQ Section */
.faq-section {
  padding: 64px 0 128px;
  background: #f1f2f5;
}

.faq-container {
  max-width: 832px;
  margin: 0 auto;
  padding: 0 16px;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 0 5px rgba(98, 152, 192, 0.12), 0 0 2px rgba(64, 67, 79, 0.14),
    0 0 2px -1px rgba(236, 236, 255, 0.2);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  min-height: 62px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-question span {
  padding: 16px 0;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-separator {
  width: 1px;
  height: auto;
  background: #e0e0e0;
  align-self: normal;
}

.faq-question .faq-separator {
  margin: 16px 0;
}

.faq-question span {
  flex: 1;
  font-size: 18px;
  color: #1c1c33;
}

.faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #1c1c33;
  transition: transform 0.3s ease;
}

.faq-toggle .minus {
  display: none;
}

.faq-item.active .faq-toggle .minus {
  display: block;
}

.faq-item.active .faq-toggle .puls {
  display: none;
}

.faq-answer {
  display: none;
  padding: 16px 24px;
}

.faq-item.active .faq-question {
  background: rgba(95, 41, 240, 0.03);
}

.faq-item.active .faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.faq-answer-text {
  flex: 1;
  font-size: 16px;
  line-height: 24px;
  color: #1c1c33;
}

/* Footer */
.footer {
  background: #161c2d;
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 64px 16px 96px;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: content-box;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.footer-logo {
  width: 173px;
  height: 48px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 12px 0 12px 64px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.external-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 12px;
  color: white;
}

@media (max-width: 1082px) {
  .header {
    height: 64px;
  }

  .logo {
    height: 32px;
  }

  .btn-open {
    width: auto;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: block;
  }

  .btn-primary.sp {
    display: block;
  }

  .btn-primary.pc {
    display: none;
  }

  .btn-open img {
    width: 100%;
  }

  .nav-container {
    position: fixed;
    gap: 16px;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh);
    background: linear-gradient(
        244deg,
        rgba(203, 89, 232, 0.21) 1.13%,
        rgba(122, 89, 232, 0.21) 45.26%,
        rgba(194, 179, 244, 0.28) 74.37%,
        rgba(255, 255, 255, 0) 98.78%
      ),
      #fff;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }

  .to-close {
    display: none;
  }

  body.active .nav-container {
    opacity: 1;
    visibility: visible;
  }

  body.active .to-open {
    display: none;
  }

  body.active .to-close {
    display: block;
  }

  .header-buttons {
    margin-top: 8px;
    padding-top: 32px;
    width: 100%;
    border-top: 1px solid #ccc;
  }

  .btn-outline {
    font-size: 18px;
    padding: 0 32px 0;
    font-family: "Noto Sans JP", sans-serif;
  }

  .btn-outline svg {
    color: #5f29f0;
    width: 16px;
    height: 16px;
  }

  .nav-container .btn-primary {
    width: 100%;
    font-size: 18px;
    height: 56px;
    margin: 32px auto 0;
  }

  .nav-menu {
    width: 100%;
    padding: 0 32px;
    flex-direction: column;
  }

  .nav-menu a {
    font-size: 22px;
  }

  .nav-menu span {
    color: #1c1c33;
    opacity: 61%;
    font-size: 12px;
    padding: 8px 0 4px;
  }

  .nav-container .btn-primary {
    margin: 32px 32px 0;
    width: calc(100% - 64px);
  }

  .container {
    margin-top: 64px;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
    padding: 64px 24px;
  }

  .footer-left {
    width: 100%;
    gap: 32px;
  }
  .footer-left button {
    width: 100%;
    height: 56px;
    font-size: 16px;
  }

  .footer-nav {
    flex-wrap: wrap;
    padding: 0;
    gap: 32px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    padding: 16px 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: left;
    gap: 8px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .hero-section {
    margin-top: 64px;
    height: auto;
  }

  .hero-content {
    padding: 3vw 0;
    align-items: flex-start;
    justify-content: flex-start;
    background-image: none;
  }

  .hero-title {
    font-size: 8.6vw;
    line-height: 1.6;
    padding: 0px 3vw;
    position: relative;
    z-index: 1;
  }

  .hero-text {
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    gap: 4vw;
  }

  .hero-subtitle-wrap {
    width: 100%;
    padding: 0 18px;
  }

  .title-line {
    text-align: left;
  }

  .hero-image {
    font-size: 0;
    width: 100%;
    margin-top: -13.5vw;
    position: relative;
  }

  .hero-image,
  .hero-image img:nth-of-type(1) {
    width: 100%;
  }

  .hero-image img:nth-of-type(2) {
    position: absolute;
    left: -6vw;
    width: 30vw;
    bottom: -19vw;
  }

  .hero-image img:nth-of-type(3) {
    position: absolute;
    right: -5vw;
    width: 30vw;
    top: -30vw;
  }

  .hero-subtitle {
    font-size: 4.4vw;
  }

  .hero-cta-btn {
    width: 100%;
    height: 15vw;
    font-size: 4.8vw;
  }

  .about-section {
    padding: 64px 0 48px;
  }

  .feature-content {
    flex-direction: column-reverse;
    gap: 14px;
  }

  .feature-content img {
    width: 100%;
    height: auto;
  }

  .feature-title {
    font-size: 24px;
    line-height: 1.8;
  }

  .testimonials-section {
    padding: 64px 5vw;
  }

  .testimonials-hero {
    margin: 0 auto 32px;
  }

  .testimonials-hero-content {
    flex-direction: column;
  }

  .testimonials-hero-text {
    padding: 9vw 6vw;
    border-top-right-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
  }

  .testimonials-hero-image-wrap {
    width: 100%;
  }

  .testimonials-hero-image {
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 0;
    height: auto;
  }

  .testimonials-hero-image-line {
    width: 100vw;
    position: absolute;
    z-index: 1;
    left: -5.4vw;
    top: -44vw;
  }

  .testimonials-hero-text h2 {
    font-size: 6vw;
    line-height: 1.8;
    margin-bottom: 6vw;
  }

  .testimonials-hero-text p {
    font-size: 4.3vw;
    line-height: 1.8;
  }

  .services-flow {
    padding: 0 16px;
  }

  .concerns-flow {
    flex-direction: column;
    gap: 56px;
  }

  .concerns-cards {
    flex-direction: column;
    gap: 4px;
  }

  .cta-section {
    background: url(./public/bg-cta-sp.png);
    background-repeat: no-repeat;
    background-size: 110%;
    background-position: center center;
    height: 78vw;
    padding: 0 16px;
  }

  .cta-section button {
    width: 100%;
    width: 100%;
    height: 16vw;
  }

  .faq-question span,
  .faq-answer-text {
    font-size: 14px;
  }

  .arrows {
    gap: 0;
    justify-content: space-around;
  }

  .testimonials-grid {
    padding: 0 16px;
    flex-direction: column;
    gap: 16px;
  }

  .testimonial-card {
    flex-direction: column;
    text-align: center;
    max-width: none;
    position: relative;
    gap: 16px;
  }

  .testimonial-user {
    margin-top: 0;
  }

  .testimonial-content h3 {
    height: auto;
    position: absolute;
    width: calc(100% - 148px);
    top: 24px;
    right: 24px;
  }

  .testimonial-content .separator {
    margin-bottom: 16px;
  }

  .service-step {
    width: 100%;
    max-width: 500px;
  }

  .disclaimer {
    padding: 0 16px;
    text-align: left;
    word-break: break-all;
  }
}
