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

:root {
  --primary-color: #317cd8;
  --secondary-color: #f97316;
  --accent-color: #06b6d4;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
}

a {
  text-decoration: none;
  color: var(--text-primary);
}

a:hover {
  color: var(--primary-color);
}

a:visited {
  color: var(--text-primary);
}

body {
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(
    to bottom,
    #bddfff 0%,
    #fafdff 30%,
    #fdfaff 70%,
    #ffffff 100%
  );
  min-height: 100vh;
}

.container-header {
  padding: 0 3rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  margin: 20px;
  border-radius: 50px;
  top: 10px;
  z-index: 50;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-mobile {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Mobile Menu */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  margin-bottom: 5px;
  z-index: 101;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2.5px;
  background-color: var(--text-primary);
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 70%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.mobile-menu-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.mobile-close-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-close-button:hover {
  background: rgba(37, 99, 235, 0.1);
}

.mobile-close-button svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
  transition: stroke 0.3s;
}

.mobile-close-button:hover svg {
  stroke: var(--primary-color);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.mobile-menu a {
  display: block;
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.mobile-menu a:hover {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.05);
}

.mobile-menu {
  text-align: center;
}

.mobile-cta a {
  color: white;
  border-radius: 15px;
  margin: 2rem;
  text-align: center;
  padding: 0.5rem;
}

.mobile-cta a:hover {
  color: white;
}

.mobile-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cta-button {
  background: var(--secondary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: #ea580c;
  color: white;
  transform: translateY(-2px) !important;
}

.cta-button:visited {
  color: white;
}

.cta-button-blue {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
}



.cta-button-blue:hover {
  background: #1157cf;
  color: white;
  transform: translateY(-2px) !important;
}

.cta-button-blue:visited {
  color: white;
}

/* Hero Section */
.hero {
  background: rgba(248, 250, 252, 0.1);
  backdrop-filter: blur(10px);
  /* padding: 4rem 0; */
  text-align: center;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* gap: 1rem; */
}

.hero-content {
  flex: 0 0 40%;
  text-align: left;
  padding-bottom: 100px;
}

.hero-visual {
  flex: 0 0 60%;
  position: relative;
}

.hero h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero_emphasize {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.hero-visual img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  display: inline-block;
  transform: perspective(1000px) rotateY(-5deg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: perspective(1000px) rotateY(-5deg) translateY(0px);
  }
  50% {
    transform: perspective(1000px) rotateY(-5deg) translateY(-20px);
  }
}

.section-container {
  padding-top: 100px;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.features p {
  font-size: 17px;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 40px;
  text-align: left;

  color: var(--primary-color);
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-img-card {
  transition: all 0.3s;
  background-color: transparent;
  border-radius: 16px;
}

.feature-img-card img {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(229, 231, 235, 0.5);
  transition: all 0.3s;
  text-align: center;
}

.feature-card:hover,
.feature-img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-odd {
  margin-right: 100px;
}

.feature-card-even {
  margin-left: 100px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Sub Features Section */

.sub-features-grid-container {
  display: grid;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.sub-features-title {
  margin: 5rem 0;
  font-size: 24px !important;
  text-align: center;

  color: var(--primary-color);
  font-weight: 600;
}

.sub-features-button {
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(0);
  transform-origin: bottom center; /* 変形の基準点を下部中央に設定 */
}

.sub-features-button:hover {
  transform: translateY(-4px);
}

.sub-features-button:active {
  transform: scaleY(0.5); /* translateYを削除して、下部を固定 */
  transition: transform 0.1s ease;
}

.sub-features-button:active:hover {
  transform: scaleY(0.7); /* translateYを削除して、下部を固定 */
}

.sub-features-grid-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.sub-features-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sub-features-grid img {
  width: 100px;
  height: 100px;
}

.sub-features-grid p {
  font-size: 16px;
}

/* Pricing Section */
.pricing {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.pricing ul {
  margin: 2rem 0;
}

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

.pricing-card {
  background: #edf6fe;
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #edf6fe 0%, #317cd8 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing-card.featured {
  transform: scale(1.3);
  background: #fbf6ee;
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #edf6fe 0%, #f06c00 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing-card.featured h3 {
  color: #f06c00;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
  transform: scale(1.3) translateY(-5px);
}

.pricing h3 {
  font-size: 21px; /* 24px */
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.price {
  font-size: 30px;
  font-weight: 500;
  color: var(--text-primary);
}

.price-period {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  text-align: right;
  line-height: 1;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-primary);
  font-size: 14px;
}

.pricing-features li::before {
  content: "✓";
  background-color: var(--text-primary);
  color: white;
  font-weight: bold;
  margin-right: 0.5rem;
  padding: 0.05rem 0.2rem;
  border-radius: 5px;
}

/* Team Section */
.team {
  background: rgba(248, 250, 252, 0.1);
  backdrop-filter: blur(10px);
  padding: 4rem 0;
}

.team-title {
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  justify-items: center;
  justify-content: center;
}

.team-member {
  text-align: center;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #edf6fe;
  box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.15);

  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  font-weight: 600;
  transition: transform 0.3s;
  position: relative;
}

.member-role-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: var(--primary-color);
  color: white;
  padding: 2px 8px;
  border-radius: 50px;
  border: 2px solid white;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* right position avatar adjustment */
.position-right-avatar img {
  object-position: 80% 50% !important; /* より右に寄せる */
}

.member-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--text-primary);
  font-size: 15px;
}

.member-linkedin a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 14px;
}

.linkedin-icon img {
  width: 20px;
  height: 17px;
  margin-top: 5px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 5rem 0;
}

.contact {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.contact h2 {
  font-size: 40px;
  font-weight: 600;
  color: var(--primary-color);
}

.contact img {
  animation: logoPop 1.2s ease-out forwards;
  transform: scale(0.1);
  transition: transform 0.3s ease;
}

.contact img:hover {
  transform: scale(1.1) rotate(5deg) !important;
}

@keyframes logoPop {
  0% {
    transform: scale(0.1) translateY(20px);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) translateY(-10px);
    opacity: 1;
  }
  70% {
    transform: scale(0.9) translateY(5px);
  }
  85% {
    transform: scale(1.05) translateY(-2px);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.contact p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
}

.contact-form {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: none;
}

.contact-form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #bddfff;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #edf6fe;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(49, 124, 216, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: var(--secondary-color);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
  align-self: flex-end;
}

.submit-btn:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}
/* Footer */
footer {
  background: var(--primary-color);
  backdrop-filter: blur(10px);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

/* Responsive Design */

@media (max-width: 1040px) {
  .feature-card-odd {
    margin-right: 50px;
  }

  .feature-card-even {
    margin-left: 50px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    order: 2;
    flex: 2;
    text-align: center;
    margin: 0 auto;
  }

  .hero-visual {
    order: 1;
    flex: 1;
    width: 50%;
    margin: 0 auto;
  }

  .hero-content {
    padding-bottom: 50px;
  }
  .container {
    padding: 0 30px;
  }

  .contact-container {
    padding-bottom: 20px;
  }
}

@media (max-width: 870px) {
  body {
    background: linear-gradient(
      to bottom,
      #bddfff 0%,
      #fafdff 10%,
      #fdfaff 70%,
      #ffffff 100%
    );
    min-height: 100vh;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  .feature-card-odd {
    margin-right: 0px;
  }

  .feature-card-even {
    margin-left: 0px;
  }

  .feature-text-1 {
    order: 2;
  }

  .feature-img-1 {
    order: 1;
  }

  .feature-text-2 {
    order: 4;
  }

  .feature-img-2 {
    order: 3;
  }

  .feature-text-3 {
    order: 6;
  }

  .feature-img-3 {
    order: 5;
  }

  .feature-text-4 {
    order: 8;
  }

  .feature-img-4 {
    order: 7;
  }

  /* .sub-features-grid-container {
  display: grid;
  flex-direction: column;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
} */

  .contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  .login-button {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  header {
    margin: 0;
    border-radius: 0;
    top: 0;
    padding: 20px 0 10px 0;
  }

  .hero-visual {
    width: 100%;
  }

  .hero p {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-overlay {
    display: block;
  }

  .mock-chart {
    width: 300px;
    height: 180px;
  }

  .container {
    padding: 0 15px;
  }

  .feature-card {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-icon-title {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }

  .feature-icon-title h3 {
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    order: 2;
  }

  .feature-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    order: 1;
    margin-top: 15px;
  }

  .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .feature-card p {
    margin: 0 0 3rem 3rem;
  }

  .hero-visual {
    padding-top: 3rem;
  }

  .pricing {
    padding-top: 0;
    margin-top: 0;
  }
  .pricing-container {
    padding-top: 0;
    margin-top: 0;
  }

  .pricing-container ul li {
    margin-left: 1rem;
  }

  .team {
    padding-top: 0;
    margin-top: 0;
  }

  .team-title {
    margin-bottom: 3rem;
  }

  .team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 0 auto;
  }

  .contact-container {
    padding-bottom: 5rem;
  }

  .contact-container h2 {
    font-size: 30px;
  }

  .contact-container p {
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  /* .hero {
        height: 100vh;
    } */

  .hero h2 {
    font-size: 30px;
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .section-title {
    font-size: 30px;
  }

  .features p {
    font-size: 14px;
  }
}
