@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
:root {
  /* Colors */
  --color-primary: #223874; /* Dark blue used for titles and contact bg */
  --color-text: #373c44;
  --color-text-light: #5a6270;
  --color-bg: #ffffff;
  --color-bg-light: #f7f9fc;
  --color-divider: #e0e5ed;
  --color-border: #d1d8e0;
  --color-accent: #ec365a; /* Red for required badges */
  --bg-circle: #86b1ff26;

  /* Typography */
  --font-primary: "Yu Gothic", sans-serif;
  --font-secondary: "Helvetica Neue", Arial, sans-serif;

  --font-family-base: var(--font-primary);

  /* Spacing */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-xxl: 3rem;

  /* Layout */
  --container-width: 1680px;
}

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

body {
  font-family: var(--font-family-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 160px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  font-family: var(--font-secondary);
  letter-spacing: 0.2em;
  line-height: 195px;
}

.section-title span {
  font-size: 32px;
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 0.2em;
}

/* Header */
.header {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.header-logo {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.header-logo img {
  height: 40px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: 20px;
  background-color: white;
  position: relative;
  border-radius: 0 0 0 25px;
}

.round-1 {
  position: absolute;
  top: 2px;
  height: 12px;
  width: 20px;
  background-color: white;
  left: -36px;
  transform: rotate(90deg);
}

.round-3 {
  position: absolute;
  bottom: -35px;
  height: 12px;
  width: 20px;
  background-color: white;
  right: 0px;
}

#curved-corner-bottomleft,
#curved-corner-bottomright,
#curved-corner-topleft,
#curved-corner-topright {
  width: 61px;
  height: 44px;
  overflow: hidden;
  /* position: relative; */
  background: transparent;
}
#curved-corner-topleft {
  width: 50px;
  height: 41px;
}
#curved-corner-bottomleft:before,
#curved-corner-bottomright:before,
#curved-corner-topleft:before,
#curved-corner-topright:before {
  content: "";
  display: block;
  width: 200%;
  height: 200%;
  position: absolute;
  border-radius: 50%;
}
#curved-corner-bottomleft:before {
  bottom: 0;
  left: 0;
  box-shadow: -50px 50px 0 0 red;
}
#curved-corner-bottomright:before {
  bottom: 0;
  right: 0;
  box-shadow: 50px 50px 0 0 red;
}
#curved-corner-topleft:before {
  top: 0;
  left: 0;
  box-shadow: -50px -50px 0 0 white;
}
#curved-corner-topright:before {
  position: absolute;
  top: 0;
  right: 0;
  box-shadow: 50px -50px 0 0 white;
}

.lang-switch {
  display: flex;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 2px;
  border: 1px solid var(--color-primary);
}

.lang-switch a {
  padding: 4px 16px;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 18px;
  font-family: var(--font-secondary);
}

.lang-switch a.active {
  background: var(--color-primary);
  color: #fff;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  font-weight: bold;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  font-family: var(--font-secondary);
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: var(--space-xxl) var(--space-xl);
  /* background: linear-gradient(135deg, #e6f0fa 0%, #ffffff 100%); */
  background-image: url("./assets/hero.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin: 20px;
  border-radius: 0 25px 25px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
}

.hero-headline {
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.1em;
}

.hero-subtext p {
  font-size: 24px;
  margin-bottom: var(--space-sm);
  color: #fff;
  background: var(--color-primary);
  display: inline-block;
  padding: 4px 12px;
  line-height: 1.5;
}

.hero-bottom-text {
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  color: #262626;
  line-height: 1.8;
}

/* Philosophy */
.philosophy {
  padding: var(--space-xxl) 0;
  padding-bottom: 0;
  position: relative;
}
.bg-circle-1 {
  position: absolute;
  top: -100px;
  background-color: var(--bg-circle);
  height: 700px;
  width: 700px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(150px);
  right: -306px;
}
.bg-circle-2 {
  position: absolute;
  bottom: 57px;
  background-color: var(--bg-circle);
  height: 700px;
  width: 700px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(150px);
  left: -100px;
}

.bg-circle-3 {
  position: absolute;
  bottom: -400px;
  background-color: var(--bg-circle);
  height: 700px;
  width: 700px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(150px);
  right: -100px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: var(--space-xxl);
  margin-top: 60px;
}

.philosophy-item {
  text-align: center;
  padding: 0 50px;
}

.philosophy-item:first-child {
  border-right: 1px solid var(--color-primary);
}

.philosophy-item h3 {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 5px;
  font-family: var(--font-secondary);
  letter-spacing: 0.1em;
  font-weight: bold;
}

.philosophy-item h4 {
  font-size: 24px;
  color: #262626;
  margin-bottom: 30px;
  font-weight: bold;
}

.philosophy-item p {
  font-size: 16px;
  text-align: left;
  line-height: 35px;
  color: #262626;
}

.goal-values-header {
  text-align: center;
  margin-bottom: 40px;
}

.goal-values-header h3 {
  font-size: 32px;
  color: var(--color-primary);
  font-family: var(--font-secondary);
}

.goal-values-header h4 {
  font-size: 32px;
  color: var(--color-text);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #fff;
  padding: var(--space-lg);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.card-number {
  font-size: 2.5rem;
  color: var(--color-primary);
  font-weight: bold;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

.card h5 {
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
  letter-spacing: 0.2em;
}

.card h6 {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: normal;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
  letter-spacing: 0.2em;
}

.card p {
  font-size: 16px;
  text-align: left;
  color: #262626;
  line-height: 35px;
}

/* Business */
.business {
  padding: var(--space-xxl) 0;
  padding-bottom: 0;
}

.business .section-title {
  text-align: left;
}

.business-intro {
  text-align: left;
  font-size: 16px;
  color: #262626;
  max-width: 800px;
  margin: 0 0 var(--space-xxl) 0;
  line-height: 35px;
  font-weight: bold;
  font-weight: 500;
}

.business-section {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-xxl);
}

.business-number-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: var(--space-lg);
}

.business-number-row .number {
  font-size: 95px;
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1;
  font-family: var(--font-secondary);
}

.business-number-row .number-line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--color-primary);
}

.business-content {
  text-align: left;
  max-width: 1100px;
}

.business-content h4 {
  font-size: 16px;
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}

.business-content h3 {
  font-size: 32px;
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.business-desc {
  font-size: 16px;
  color: #262626;
  margin-bottom: var(--space-lg);
  /* line-height: 1.8; */
}

.business-box {
  background: #f5f6f9;
  padding: 30px 20px;
  border-radius: 10px;
}

.business-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.business-list li {
  font-size: 16px;
  color: #262626;
  margin-bottom: 15px;
  line-height: 1.8;
}

.business-list li strong {
  color: var(--color-primary);
}

.business-list li::before {
  content: "✔";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  margin-right: 4px;
  margin-top: 5px;
  flex-shrink: 0;
}

.business-list li:last-child {
  margin-bottom: 0;
}

/* Company */
.company {
  padding-bottom: 40px;
  position: relative;
}
.company .bg-circle-1 {
  left: -200px;
}
.company .bg-circle-2 {
  bottom: 48px;
  right: -295px;
  left: unset;
}

.company-desc {
  text-align: center;
  font-size: 16px;
  /* max-width: 700px; */
  color: #262626;
  margin: 0 auto var(--space-xl);
  line-height: 35px;
}

.company-table-wrapper {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0px 0px 16.3px 0px #d6e0ec;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-divider);
  text-align: left;
  font-size: 18px;
}
.company-table td {
  font-size: 16px;
}
.company-table tr:not(:last-child) th {
  padding-bottom: 50px;
}
/* Apply top padding to all THs EXCEPT the one in the first row */
.company-table tr:not(:first-child) th {
  padding-top: 50px;
}
.company-table tr:first-child td {
  padding-bottom: 50px;
}
.company-table tr:last-child td {
  padding-top: 50px;
}

.company-table th {
  width: 30%;
  color: var(--color-primary);
  font-weight: 500;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* Contact */
.contact {
  padding: var(--space-xxl) 0;
  background: var(--color-primary);
  color: #fff;
}

.contact .section-title h2 {
  color: #fff;
}

.contact .section-title span {
  color: #fff;
  font-size: 32px;
}

.contact-desc {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

.contact-form-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
  color: var(--color-text);
}

.form-group {
  display: flex;
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.form-label {
  width: 30%;
  font-weight: bold;
  font-size: 16px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  padding-top: var(--space-sm);
}

.required-badge {
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  padding: 0px 6px;
  border-radius: 16px;
  margin-left: var(--space-sm);
}

.form-input {
  width: 70%;
}

.form-input input,
.form-input textarea {
  width: 100%;
  padding: var(--space-md);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: var(--color-bg-light);
  border: 1px solid transparent;
}
.form-input input::placeholder,
.form-input textarea::placeholder {
  color: #999999;
}

.form-input input:focus,
.form-input textarea:focus {
  outline: none;
  border: 1px solid var(--color-primary);
  background: #fff;
}

.form-input textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: var(--space-xl);
}

.submit-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  max-width: 350px;
  width: 100%;
  text-align: center;
  position: relative;
}

.submit-btn::after {
  position: absolute;
  right: 20px;
  content: url("./assets/Union.svg");
  transform: translateY(-50%);
  top: 55%;
}

.submit-btn:hover {
  opacity: 0.9;
}

/* Footer */
.footer {
  text-align: center;
  padding: 65px 0;
  background: #fff;
  border-top: 1px solid var(--color-divider);
}

.footer-logo img {
  height: 30px;
  margin-bottom: var(--space-sm);
}

.footer-logo {
  font-family: var(--font-secondary);
}

.footer-copy {
  font-size: 14px;
  color: #000000;
  font-weight: 400;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
  position: relative;
  z-index: 100;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn span:nth-child(1) {
  top: 0;
}
.mobile-menu-btn span:nth-child(2) {
  top: 8px;
}
.mobile-menu-btn span:nth-child(3) {
  top: 16px;
}

.mobile-menu-btn.open span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}
.contact .section-title,
.contact-desc {
  max-width: 1100px;
  text-align: start;
  margin: 0 auto;
}
.contact .contact-desc {
  font-size: 16px;
  line-height: 35px;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 1300px) {
  .section-title h2 {
    font-size: 100px;
  }
}
@media (max-width: 768px) {
  .business-list li {
    font-size: 14px;
  }
  .contact-form-wrapper {
    padding: 30px;
  }
  .contact .section-title span {
    font-size: 20px;
  }
  .company-table-wrapper {
    padding: 20px 25px;
  }
  .company-table tr:not(:first-child) th {
    padding-top: 15px;
  }
  .company-table tr:not(:last-child) th {
    padding-bottom: 0px;
  }
  .company-table td {
    padding-top: 8px;
  }
  .company-table tr:first-child td {
    padding-bottom: 15px;
  }
  .company-table tr:last-child td {
    padding-top: 15px;
  }
  .submit-btn::after {
    transform: translateY(-50%) scale(0.7);
  }
  .section-title h2 {
    font-size: 70px;
    line-height: 1.2;
  }
  .section-title span {
    font-size: 20px;
  }
  .header-logo img {
    height: 30px;
  }
  .hero {
    padding: 105px 20px 30px;
    margin: 0;
    border-radius: 0;
  }
  #curved-corner-topleft,
  #curved-corner-topright {
    display: none;
  }
  .header {
    top: 0;
    flex-direction: row;
    padding: 20px 10px;
  }

  .header-nav {
    flex-direction: row;
    gap: 12px;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: transparent;
    box-shadow: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 99;
    gap: 30px;
    font-size: 1.2rem;
  }

  .nav-links.open {
    right: 0;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-subtext p {
    font-size: 16px;
    padding: 4px 10px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .philosophy-item {
    padding: 0;
  }

  .philosophy-item:first-child {
    border-right: none;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  .philosophy-item h3 {
    font-size: 24px;
  }

  .philosophy-item h4 {
    font-size: 18px;
  }

  .goal-values-header h3 {
    font-size: 24px;
  }

  .goal-values-header h4 {
    font-size: 18px;
  }

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

  .business-number-row .number {
    font-size: 60px;
  }

  .business-content h3 {
    font-size: 20px;
  }

  .business-box {
    padding: 20px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    border-bottom: none;
    padding-bottom: 0;
  }

  .form-group {
    flex-direction: column;
  }

  .form-label,
  .form-input {
    width: 100%;
  }

  .form-label {
    margin-bottom: var(--space-sm);
    margin-top: 0;
  }
  .footer {
    padding: 40px 0;
  }
}
@media (max-width: 500px) {
  .section-title h2 {
    font-size: 40px;
  }
}
@media (max-width: 40px) {
  .section-title h2 {
    font-size: 30px;
  }
}
