/* CSS Variables for theming and fonts */

:root {
  --font-primary: "Noto Serif JP", serif;
  --font-secondary: "Montserrat", sans-serif;
  --color-topbar-bg: #222222;
  --color-topbar-text: #a0a0a0;
  --color-navbar-bg: #223874;
  --color-text-light: #ffffff;
  --color-bg-main: #fff;
  --color-text-dark: #333333;
  --font-size-sm: clamp(0.75rem, 1vw, 0.875rem);
  --font-size-base: clamp(1.5rem, 1.2vw, 1.125rem);
  --font-size-lg: clamp(1.25rem, 2vw, 1.5rem);
  --font-size-xl: clamp(1.5rem, 3vw, 2rem);
  --font-size-2xl: clamp(2rem, 5vw, 3.5rem);
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-main);
  color: var(--color-text-dark);
  line-height: 1.6;
  font-size: var(--font-size-base);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.header {
  background-color: var(--color-navbar-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  padding: 0 50px 0 30px;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  font-weight: 600;
  font-style: italic;
  color: var(--color-text-light);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-text-light);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text-light);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--color-text-light);
  left: 0;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Main Content Styles */
.main-content {
  min-height: calc(100vh - 70px - 30px);
  /* display: flex;
    align-items: center;
    justify-content: center; */
  /* padding: 4rem 1.5rem; */
}

.hero {
  display: flex;
  align-items: center;
  background-image: url("./assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: calc(100vh - 100px);
  width: 100%;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}
.landing .hero-wrapper {
  min-height: calc(100vh - 100px);
  height: 100%;
}
.landing .hero {
  height: unset;
}
.landing .hero-content-right,
.landing .hero-container {
  height: -webkit-fill-available;
}
.hero-buttons.bottom {
  position: absolute;
  bottom: 0;
  flex-direction: row !important;
  padding: 20px 20px;
  backdrop-filter: blur(6px);
  justify-content: center;
}
.hero-buttons.bottom .btn {
  max-width: 300px;
}
.f-section {
  margin-bottom: 40px;
}
.landing .hero-content-left {
  padding-bottom: 200px;
}

.price-page .hero,
.engineer-page .hero {
  height: auto;
  /* min-height: 50vh; */
}
.price-page.contact .hero {
  min-height: 40vh;
}
.price-page .hero-content-left {
  padding-top: 70px;
  padding-bottom: 70px;
}
.engineer-page .hero-content-left {
  padding-top: 100px;
  padding-bottom: 100px;
}
.price-page .hero-content-right {
  height: -webkit-fill-available;
}
.engineer-page .hero-title-en {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--color-navbar-bg);
}

.hero-container {
  width: 100%;
  /* max-width: 1100px; */
  margin: 0 auto;
  /* padding: 20px 50px 0 106px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* gap: 3rem; */
  height: 100%;
}

.hero-content-left {
  flex: 1;
  max-width: 100%;
  text-align: left;
  padding: 80px 50px 0 100px;
}

.hero-title-en {
  font-family: var(--font-secondary);
  font-size: clamp(3rem, 5vw, 2.5rem);
  color: var(--color-navbar-bg);
  margin-bottom: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.hero-title-ja {
  font-family: var(--font-secondary);
  font-size: clamp(3rem, 5vw, 2.5rem);
  color: var(--color-navbar-bg);
  margin-bottom: 2rem;
  font-weight: 500;
  /* letter-spacing: 0.02em; */
}

.hero-description {
  font-family: var(--font-secondary);
  font-size: clamp(1.5rem, 1vw, 1.1rem);
  color: var(--color-navbar-bg);
  line-height: 2;
  font-weight: 500;
}

.hero-content-right {
  flex-shrink: 0;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  /* background-color: red; */
  justify-content: center;
  padding: 50px;
  backdrop-filter: blur(6px);
}

.hero-consultation-info {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: #252525;
  margin-bottom: 40px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.hero-buttons .btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-en {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 500;
  /* margin-bottom: 0.2rem; */
}

.hero-buttons .btn-ja {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--color-navbar-bg);
  color: var(--color-text-light);
  border: 1px solid var(--color-navbar-bg);
}

.btn-primary:hover {
  background-color: #1a2a54;
}

.btn-secondary {
  background-color: #0d6f82;
  color: var(--color-text-light);
  border: 1px solid #0d6f82;
}

.btn-secondary:hover {
  background-color: #11535d;
}

.btn-outline {
  background-color: var(--color-text-light);
  color: var(--color-navbar-bg);
  border: 1px solid var(--color-navbar-bg);
}

.btn-outline:hover {
  background-color: #f0f4fc;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.worries-section {
  padding: 100px 0px;
  background-color: #f9f9f9;
  /* background-color: red; */
}

.header-section,
.price-header,
.points-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.header-section h3,
.service-subtitle,
.price-subtitle,
.points-subtitle,
.flow-subtitle,
.case-subtitle,
.faq-subtitle,
.price-page-features-section .features-subtitle,
.eng-issues-subtitle {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navbar-bg);
  letter-spacing: 0.2em;
  font-style: italic;
}

.header-section h1,
.service-header h2,
.price-header h2,
.points-title,
.flow-title,
.case-title,
.faq-title,
.price-page-features-section .features-title,
.eng-issues-title {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-navbar-bg);
  letter-spacing: 0.05em;
  margin-top: 25px;
}

.worries-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-direction: column;
}

.worries-content img {
  width: 100%;
}

.worries-content .arrow-img {
  max-width: 280px;
}

.worries-content .worries-para {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 24px;
  line-height: 35px;
  text-align: center;
  color: var(--color-navbar-bg);
}

.worries-content .worries-badge {
  background-color: var(--color-navbar-bg);
  font-family: var(--font-primary);
  color: white;
  padding: 0 20px;
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
}

/* Service Section Styles */
.service-section {
  padding: 100px 0;
  background-color: white;
  position: relative;
  overflow: hidden;
  /* background-image: url("./assets/22111200.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative */
}

.service-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("./assets/22111200.png");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.service-section .container {
  position: relative;
  z-index: 1;
}

.service-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  justify-content: start;
  align-items: center;
}

.service-subtitle {
  margin-left: 15px;
}

.service-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.service-card {
  background-color: white;
  border-radius: 6px;
  box-shadow: 0px 0px 6px 0px #00000033;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  width: calc(33.333% - 13.33px);
  transition: all 0.3s ease;
}

.service-card.expanded {
  /* flex removed */
}

.service-card.collapsed {
  /* flex removed */
  height: 100%;
}

.card-header {
  background-color: white;
  color: var(--color-navbar-bg);
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card.expanded .card-header {
  background-color: var(--color-navbar-bg);
  color: white;
}

.card-title-group {
  flex: 1;
  text-align: center;
}

.card-title-group h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
  color: inherit;
}

.card-title-group p {
  font-size: 11px;
  color: inherit;
}

.card-header .icon-toggle {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  display: inline-block;
  padding-left: 10px;
  color: inherit;
}

.card-body {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.3s ease,
    padding 0.3s ease;
  padding: 0 30px;
}

.card-content {
  overflow: hidden;
}

.service-card.expanded .card-body {
  grid-template-rows: 1fr;
  padding: 20px 25px;
}

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

.card-list li {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.card-list li:first-child {
  padding-top: 0;
}

.card-list li:last-child {
  padding-bottom: 0;
}

.card-list li:last-child {
  border-bottom: none;
}

.list-label {
  font-weight: 500;
  font-size: 14px;
  color: #000;
  width: 80px;
  flex-shrink: 0;
}

.list-value {
  font-weight: 500;

  font-size: 14px;
  color: #000;
  word-break: break-all;
}

.service-cards-collapsed {
  display: flex;
  gap: 20px;
  justify-content: start;
}

/* Price Page Features Section */
.price-page-features-section {
  background-color: var(--color-navbar-bg);
  padding: 100px 0;
  color: white;
}

.price-page-features-section .features-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.price-page-features-section .features-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.price-page-features-section .feature-card {
  background-color: white;
  border-radius: 8px;
  width: calc(25% - 15px);
  min-height: 250px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.price-page-features-section .feature-card p {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navbar-bg);
  line-height: 1.6;
}

.price-page-features-section .features-footer {
  text-align: center;
}

.price-page-features-section .features-footer p {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  color: white;
}

/* Price Section */
.price-section {
  background-color: var(--color-navbar-bg);
  padding: 80px 0;
  color: white;
}
.price-page .price-section {
  background-color: white;
  padding-bottom: 0;
}

.price-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-subtitle,
.price-header h2,
.flow-subtitle,
.flow-title,
.price-page-features-section .features-title,
.price-page-features-section .features-subtitle {
  color: white;
}

.price-card-main {
  background-color: white;
  border-radius: 12px;
  padding: 50px 80px;
  color: #333;
  width: 100%;
  margin: 0 auto 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.price-page .price-card-main {
  box-shadow: none;
  padding: 0 !important;
  margin-bottom: 0 !important;
}
.price-page .price-subtitle,
.price-page .price-header h2 {
  color: var(--color-navbar-bg);
}

.price-page-prices-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  width: 100%;
}

.price-page-prices-wrapper .price-page-prices-row-3 {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.price-page-prices-wrapper .price-page-prices-row-2 {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.price-page-prices-wrapper .price-page-price-card {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
  max-width: 33.333%;
}

.price-page-prices-wrapper .price-page-prices-row-2 .price-page-price-card {
  max-width: calc(
    40% - 10px
  ); /* Slightly lower than 50% so they don't get too wide. Or limit to identical width of row-3 */
}

.price-page-prices-wrapper .price-page-price-card-title {
  background-color: #fafafa;
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navbar-bg);
  text-align: center;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-page-prices-wrapper .price-page-price-card-amount {
  padding: 13px 10px;
  font-family: var(--font-secondary);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navbar-bg);
  text-align: center;
}

.price-page-prices-wrapper .price-page-price-card-amount span {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 800;
}

.price-page-extra-costs-card {
  width: 100%;
  border: 1px solid var(--color-navbar-bg);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 60px;
  margin-bottom: 20px;
}

.price-page-extra-costs-card .extra-costs-header {
  background-color: var(--color-navbar-bg);
  color: white;
  text-align: center;
  padding: 12px 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.price-page-extra-costs-card .extra-costs-body {
  background-color: #fff;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.price-page-extra-costs-card .extra-cost-item {
  border: 1px solid var(--color-navbar-bg);
  color: #000;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  background-color: #fff;
  letter-spacing: 0.05em;
}

.price-table {
  margin-bottom: 10px;
  background-color: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
}

.table-main-wrapper {
  max-width: 660px;
  margin: 0 auto;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  border-bottom: 1px solid #d8d8d8;
}

.price-row.border-none {
  border-bottom: none;
}

.price-name {
  flex: 1.5;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-navbar-bg);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.price-amount {
  flex: 1;
  font-family: var(--font-secondary);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navbar-bg);
  text-align: center;
}

.price-amount span {
  font-size: 14px;
  font-weight: 800;
  /* margin-left: 2px; */
}

.price-action {
  flex: 1;
  text-align: right;
}

.btn-micro {
  display: inline-block;
  background-color: var(--color-navbar-bg);
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 40px;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-micro:hover {
  background-color: #1a2b5e;
}

.price-disclaimer {
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-bottom: 30px;
}

.price-consultation-box {
  border: 1px solid#223874;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.price-consultation-title {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
}

.highlight-line {
  position: relative;
  z-index: 1;
}

.highlight-line::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #0d6f8240;
  z-index: -1;
}

.price-box-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-small {
  padding: 10px 0px;
  max-width: 250px;
  width: 100%;
  border-radius: 30px;
}

.btn-small .btn-en {
  font-family: var(--font-secondary);
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  line-height: 1;
}

.btn-small .btn-ja {
  font-size: 16px;
  display: block;
  line-height: 1;
}

.price-divider {
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}

.price-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-navbar-bg);
  z-index: 0;
}

.price-divider span {
  background-color: white;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-navbar-bg);
}

.price-breakdown {
  text-align: center;
}

.breakdown-badge {
  display: inline-block;
  background-color: #0d6f82;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.breakdown-amounts {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.bd-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bd-label {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  padding: 5px 36px;
  background: #f9f9f9;
}

.bd-value {
  font-family: var(--font-secondary);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navbar-bg);
}

.bd-value span {
  font-size: 14px;
  font-weight: 800;
  margin-left: 2px;
}

.bd-english {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-navbar-bg);
  font-weight: 500;
}

.price-footer {
  text-align: center;
  margin-top: 50px;
}

.price-footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 36px;
  letter-spacing: 0.1em;
}

.price-footer-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-pill-dual {
  background-color: white;
  padding: 24px 30px 8px;
  border-radius: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  max-width: 250px;
  width: 100%;
  position: relative;
  height: 100%;
}

.btn-pill-dual:hover {
  transform: translateY(-2px);
}

.btn-pill-top {
  background-color: var(--color-navbar-bg);
  color: white;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-family: var(--font-secondary);
  position: absolute;
  top: -16px;
  border: 3px solid white;
}
.points-section .btn-pill-top,
.cta-footer-section .btn-pill-top {
  background-color: white;
  color: var(--color-navbar-bg);
  border: 3px solid var(--color-navbar-bg);
}
.points-section .btn-pill-dual,
.cta-footer-section .btn-pill-dual {
  background-color: var(--color-navbar-bg);
  color: white;
}
.points-section .btn-pill-bottom,
.cta-footer-section .btn-pill-bottom {
  color: white;
}

.btn-pill-bottom {
  color: var(--color-navbar-bg);
  font-size: 24px;
  font-weight: 500;
}
.not-saying-section {
  padding: 40px 20px;
  margin: 0 auto;
}
.price-page .not-saying-section {
  padding-bottom: 100px;
}
.not-saying-container {
  border: 1px solid #223874;
  background-color: #f4f6fc;
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 740px;
  margin: 0 auto;
}
.not-saying-container span {
  font-size: 32px;
  font-weight: 500;
  color: white;
  background-color: var(--color-navbar-bg);
  border-radius: 5px;
  width: fit-content;
  padding: 8px 14px;
  letter-spacing: 0.05em;
  line-height: 1;
}
.not-saying-container p {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  line-height: 30px;
}

/* Points Section */
.points-section {
  background-color: #f9f9f9;
  padding: 100px 0;
}

.points-title {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-navbar-bg);
  letter-spacing: 0.1em;
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.point-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px 27px;
  text-align: center;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
  align-items: center;
}

.point-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navbar-bg);
  /* margin-bottom: 40px; */
  line-height: 1.6;
}
.point-image {
  max-height: 60px;
  max-width: 60px;
  height: 100%;
  width: 100%;
  object-fit: contain;
  margin-bottom: 15px;
  margin-top: auto;
}

.point-card-desc {
  font-size: 14px;
  color: var(--color-navbar-bg);
  line-height: 1.8;
  font-weight: 600;
  margin-bottom: auto;
  text-align: start;
}

.points-footer {
  text-align: center;
}

/* Flow Section */
.flow-section {
  background-color: var(--color-navbar-bg);
  padding: 100px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.flow-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
}

.flow-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  flex: 1;
}

.flow-column::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 60px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 0;
}
.flow-column.right::before {
  height: 50%;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.step-indicator {
  width: 120px;
  height: 120px;
  border: 1px solid white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-navbar-bg);
  flex-shrink: 0;
}

.step-label {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 500;
  text-transform: lowercase;
  line-height: 1;
}

.step-number {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  margin-top: 4px;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

.step-card img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.step-card p {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

/* Case Section */
.case-section {
  padding: 100px 0;
  background-color: #fff;
}

.case-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.case-card-header {
  background: var(--color-navbar-bg);
  color: #fff;
  padding: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  font-size: 16px;
}

.case-card-body {
  padding: 10px 25px 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.case-card-title {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 30px;
}

.case-card-desc {
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 30px;
  font-weight: 500;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 40px 0;
  border-bottom: 1px solid #000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-question,
.faq-answer {
  display: flex;
  align-items: start;
  gap: 11px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-navbar-bg);
  line-height: normal;
}

.q-label,
.a-label {
  font-family: var(--font-secondary);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 20px;
}

/* CTA and Footer Section */
.cta-footer-section {
  padding: 0px 0 40px;
  position: relative;
}

.cta-left {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-question {
  background: #fff;
  padding: 4px 18px;
  display: inline-block;
}
.price-page .cta-question {
  width: fit-content;
}

.cta-question h2 {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-navbar-bg);
  line-height: normal;
  margin: 0;
}

.cta-card {
  background: #fff;
  padding: 60px 40px;
  max-width: 615px;
  width: 100%;
  text-align: center;
}

.cta-card-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navbar-bg);
  margin-bottom: 10px;
  display: block;
}

.cta-card-text {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-navbar-bg);
  margin-bottom: 45px;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta-btn {
  background: #23225e;
  color: #fff;
  padding: 15px;
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  border-radius: 50px;
}

.cta-btn span {
  font-size: 10px;
  font-weight: 400;
  margin-bottom: 4px;
  text-transform: capitalize;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 18px;
  color: var(--color-navbar-bg);
  line-height: 2;
  font-weight: 500;
}
.footer-upper-wrapper {
  background-image: url("./assets/cta-footer.png");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  padding: 60px 0px;
}
.footer-cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Profile Page Representative Section */
.profile-page-representative-section {
  padding: 100px 0 80px;
  overflow: hidden;
}

.profile-page-representative-section .rep-container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
}

.profile-page-representative-section .rep-image-box {
  flex: 0 0 45%;
  position: relative;
  z-index: 2;
}

.profile-page-representative-section .rep-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background-color: #d9d9d9;
  border-radius: 8px;
}

.profile-page-representative-section .rep-content-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.profile-page-representative-section .rep-top-box {
  padding-bottom: 40px;
  padding-top: 20px;
}

.profile-page-representative-section .rep-subtitle {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navbar-bg);
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.profile-page-representative-section .rep-subtitle i {
  font-family: var(--font-secondary);
  font-style: italic;
  margin-right: 10px;
  font-size: 14px;
}

.profile-page-representative-section .rep-title {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navbar-bg);
  letter-spacing: 0.05em;
}

.profile-page-representative-section .rep-title span {
  margin-left: 20px;
}

.profile-page-representative-section .rep-bottom-box {
  position: relative;
  padding: 40px 0 0;
  z-index: 1;
}

.profile-page-representative-section .rep-bottom-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50vw;
  right: -50vw;
  bottom: -500px;
  background-color: var(--color-navbar-bg);
  z-index: -1;
}

.profile-page-representative-section .rep-bottom-box p {
  color: white;
  font-size: 16px;
  line-height: 45px;
  font-weight: 500;
}

/* Contact Form Section */
.contact-form-section {
  padding: 100px 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--color-navbar-bg);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.contact-subtitle {
  font-size: 32px;
  font-weight: 500;
  color: var(--color-navbar-bg);
}

.consultation-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.btn-consultation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  height: 60px;
  width: 100%;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.2;
}

.btn-consultation span {
  font-size: 16px;
}

.btn-email {
  background-color: var(--color-navbar-bg);
  color: white;
  border: 1px solid var(--color-navbar-bg);
}

.btn-email:hover {
  background-color: #1a2a54;
}

.btn-online {
  background-color: white;
  color: var(--color-navbar-bg);
  border: 1px solid var(--color-navbar-bg);
}

.btn-online:hover {
  background-color: #f0f4fc;
}

.contact-form-wrapper {
  /* max-width: 900px; */
  margin: 0 auto;
  background-color: white;
  border: 1px solid #eeeeee;
  padding: 60px 80px;
  border-radius: 0px;
  box-shadow: 0px 0px 6px 0px #00000033;
}

.contact-form-message {
  max-width: 570px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.contact-form-message.is-success {
  color: #1a4d1a;
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
}

.contact-form-message.is-error {
  color: #7a1e1e;
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.form-group label {
  flex: 0 0 130px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navbar-bg);
}

.form-group input,
.form-group textarea {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid #eeeeee;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-family: var(--font-primary);
  font-size: 15px;
  color: #333;
  &:focus {
    outline: none;
    border-color: #2238743d;
  }
}

.contact .contact-form {
  max-width: 570px;
  margin: 0 auto;
}
.form-group input::placeholder {
  color: #cccccc;
}

.textarea-group {
  align-items: flex-start;
}

.textarea-group label {
  margin-top: 15px;
}

.form-agreement {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.checkmark {
  display: block;
  height: 20px;
  width: 20px;
  background-color: transparent;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #f9f9f9;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 1px;
  width: 6px;
  height: 13px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container span a {
  color: #3b4cb8;
  text-decoration: underline;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.submit-btn {
  max-width: 300px;
  height: 60px;
  background-color: var(--color-navbar-bg);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #1a2a54;
}

.blog-section {
  padding: 100px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.blog-card-thumb {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image {
  transform: translateY(-5px);
}

.blog-img-placeholder {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  background-color: #e0e0e0;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-img-placeholder {
  transform: translateY(-5px);
}

.blog-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-category {
  display: inline-block;
  padding: 1px 12px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  width: fit-content;
}

.category-blue {
  background-color: var(--color-navbar-bg);
}

.category-teal {
  background-color: #0d6f82;
}

.blog-title {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navbar-bg);
  line-height: 1.5;
}

.blog-empty {
  text-align: center;
  font-family: var(--font-primary);
  font-size: 16px;
  color: #555;
  padding: 40px 20px;
}

.blog-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-pagination li {
  margin: 0;
}

.blog-pagination a,
.blog-pagination span.page-numbers {
  font-family: var(--font-primary);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  color: var(--color-navbar-bg);
  text-decoration: none;
}

.blog-pagination a:hover {
  background-color: #f0f4fc;
}

.blog-pagination span.page-numbers.current {
  background-color: var(--color-navbar-bg);
  color: #fff;
  border-color: var(--color-navbar-bg);
}

.blog-single-article {
  padding: 60px 0 100px;
}

.blog-single-inner {
  max-width: 760px;
  margin: 0 auto;
}

.blog-single-meta {
  font-family: var(--font-primary);
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.blog-single-meta-sep {
  margin: 0 0.25em;
}

.blog-single-featured {
  margin-bottom: 32px;
  border-radius: 10px;
  overflow: hidden;
}

.blog-single-featured-img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-single-content {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.85;
  color: #333;
}

.blog-single-content p {
  margin-bottom: 1.25em;
}

.blog-single-content h2,
.blog-single-content h3 {
  font-family: var(--font-primary);
  color: var(--color-navbar-bg);
  margin: 1.5em 0 0.75em;
}

.blog-single-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.blog-single-back {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navbar-bg);
  text-decoration: none;
}

.blog-single-back:hover {
  text-decoration: underline;
}

.engineer-hero .hero-title-ja {
  margin-bottom: 50px;
}
.engineer-hero .hero-title-en {
  font-size: 24px;
  margin-bottom: 0;
}

/* Engineers Page - Visa Issues Section */
.eng-issues-section {
  padding: 100px 0;
  background-color: #fff;
}
.eng-issues-content-wrapper img {
  width: 100%;
  margin: 0 auto;
}

.eng-issues-content-wrapper {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 80px 40px;
  text-align: center;
  margin-top: 60px;
}
.eng-issues-header {
  text-align: center;
}

.eng-issues-description {
  margin-bottom: 40px;
}

.eng-issues-description p {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  line-height: 2;
  font-weight: 500;
}

.eng-issues-circles-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  flex-wrap: nowrap;
}

.eng-issues-circle {
  width: 240px;
  height: 240px;
  border: 1px solid #3b4cb8;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  margin: 0 -20px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(59, 76, 184, 0.1);
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
}

.eng-issues-circle:hover {
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 10px 30px rgba(59, 76, 184, 0.2);
}

.eng-issues-circle-ja {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.5;
}

.eng-issues-circle-en {
  font-size: 13px;
  color: #555;
  line-height: 1.3;
}

/* Engineers Page - Visa Support Services Section */
.eng-support-section {
  padding: 100px 0;
  background-color: var(--color-navbar-bg);
  color: #fff;
  text-align: center;
}

.eng-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
  margin-top: 60px;
  max-width: 912px;
}

.eng-support-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 30px;
  color: #333;
  text-align: left;
}

.eng-support-num {
  font-family: var(--font-secondary);
  font-size: 48px;
  font-weight: 700;
  font-style: italic;
  color: var(--color-navbar-bg);
  line-height: 1;
  letter-spacing: 0.1em;
}

.eng-support-divider {
  width: 1px;
  height: 100%;
  background-color: #000;
}

.eng-support-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-navbar-bg);
}

.eng-support-info p {
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-secondary);
  color: #000;
}

/* Engineers Page - Why Choose Us Section */
.eng-reasons-section {
  padding: 100px 0;
  background-color: #fff;
}

.eng-reasons-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.eng-reasons-left {
  flex: 1;
  text-align: left;
}

.eng-reasons-right {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.eng-reason-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  max-width: 320px;
  aspect-ratio: 1/1;
}

.eng-reason-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.eng-reason-card:hover img {
  transform: scale(1.1);
}

.eng-reason-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}

.eng-reason-overlay h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.eng-reason-overlay p {
  font-family: var(--font-secondary);
  font-size: 16px;
}
.eng-prcess-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.eng-prcess-content-wrapper span {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 16px;
}

/* Media Queries for Responsibility */
@media (max-width: 940px) {
  .engineer-page .hero-title-en {
    font-size: 18px;
  }
  .landing .hero-content-left {
    padding-bottom: unset;
  }

  .hero-buttons.bottom {
    display: none;
  }
  .landing .hero-content-right,
  .landing .hero-container {
    height: auto;
  }
  .f-section {
    margin-bottom: 20px;
  }

  .engineer-hero .hero-title-ja {
    margin-bottom: 20px;
  }
  .engineer-hero .hero-title-en {
    font-size: 18px;
    margin-bottom: 0;
  }
  .form-group input,
  .form-group textarea {
    width: 100%;
  }
  .profile-page-representative-section .rep-top-box {
    padding-bottom: 20px;
    padding-top: 0px;
  }
  .profile-page-representative-section {
    padding: 50px 0;
  }
  .price-page-features-section .features-grid {
    flex-wrap: wrap;
  }
  .price-page-features-section .feature-card {
    width: calc(50% - 10px);
    min-height: 200px;
  }
  .price-page .not-saying-section {
    padding-bottom: 40px;
  }
  .price-page .hero img {
    width: 100%;
  }
  .price-page .hero-content-left {
    padding-top: 0px;
    padding-bottom: 40px;
  }
  .engineer-page .hero-content-left {
    padding-top: 0px;
    padding-bottom: 20px;
  }
  .hero-content-right {
    padding: 30px 20px;
  }
  .footer-cta-container {
    flex-direction: column;
  }
  .faq-question,
  .faq-answer {
    gap: 7px;
    font-size: 14px;
  }
  .q-label,
  .a-label {
    font-size: 16px;
  }
  .floating-img {
    display: none;
  }
  .header-section,
  .price-header,
  .points-header {
    margin-bottom: 30px;
  }
  .not-saying-container span {
    font-size: 18px;
  }
  .not-saying-container p {
    font-size: 14px;
  }
  .logo {
    font-size: 14px;
  }

  .worries-section,
  .service-section,
  .points-section,
  .price-section,
  .flow-section,
  .case-section,
  .faq-section,
  .price-page-features-section,
  .contact-form-section,
  .eng-issues-section,
  .eng-support-section {
    padding: 50px 0;
  }

  .header-section {
    margin-bottom: 40px;
  }

  .header-section h1,
  .service-header h2,
  .points-title,
  .flow-title,
  .case-title,
  .faq-title,
  .price-page-features-section .features-title,
  .eng-issues-title {
    font-size: 24px;
    margin-top: 18px;
  }

  .worries-content {
    gap: 20px;
  }

  .worries-content .worries-para {
    font-size: 18px;
    line-height: 35px;
  }

  .worries-content .worries-badge {
    font-size: 14px;
  }

  .worries-content .arrow-img {
    max-width: 180px;
  }

  .hero {
    height: auto;
  }

  .hero-title-en {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .hero-title-ja {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .nav-links {
    gap: 1rem;
  }

  .hero-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    /* padding: 0 1.5rem; */
  }

  .hero-content-left {
    max-width: 100%;
    text-align: center;
    margin-top: 4rem;
    padding: 0 20px;
  }

  .hero-content-right {
    height: auto;
    max-width: 100%;
  }

  .hero-description {
    font-size: 14px;
  }

  /* .hero-description br {
        display: none;
    } */
  .service-cards {
    flex-direction: column;
  }

  .service-cards-collapsed {
    flex-direction: column;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
  }

  .price-card-main {
    padding: 30px 20px;
  }

  .price-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .price-amount {
    text-align: left;
  }

  .price-action {
    text-align: center;
    width: 100%;
  }

  .price-box-buttons {
    flex-direction: column;
  }

  .breakdown-amounts {
    flex-direction: column;
    gap: 15px;
  }

  .price-footer-buttons {
    flex-direction: column;
    gap: 30px;
  }

  .btn-pill-dual {
    max-width: 100%;
    width: 100%;
  }

  .points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-container {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }
  .cta-left {
    width: 100%;
    text-align: center;
    max-width: 100%;
  }
  .cta-card {
    max-width: 100%;
    width: 100%;
    padding: 40px 20px;
  }
  .contact-form-wrapper {
    padding: 40px;
  }
  .form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .form-group label {
    flex: none;
    width: 100%;
  }
  .consultation-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-consultation {
    width: 100%;
    max-width: 320px;
  }
  .contact-title,
  .contact-subtitle {
    font-size: 24px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .eng-issues-circles-container {
    flex-wrap: wrap;
    gap: 20px;
  }
  .eng-issues-circle {
    margin: 0;
  }
  .eng-support-grid {
    grid-template-columns: 1fr;
  }
  .eng-reasons-container {
    flex-direction: column;
    gap: 40px;
  }
  .eng-reasons-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .profile-page-representative-section .rep-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .profile-page-representative-section .rep-image-box {
    width: 100%;
    /* margin-bottom: 20px; */
  }
  .price-page-features-section .features-grid {
    flex-direction: column;
    align-items: center;
  }
  .price-page-features-section .feature-card {
    width: 100%;
    min-height: 150px;
    justify-content: center;
  }
  .price-page-prices-wrapper .price-page-prices-row-3,
  .price-page-prices-wrapper .price-page-prices-row-2 {
    flex-direction: column;
    align-items: center;
  }
  .price-page-prices-wrapper .price-page-price-card,
  .price-page-prices-wrapper .price-page-prices-row-2 .price-page-price-card {
    max-width: 100%;
    width: 100%;
  }
  .price-consultation-title {
    font-size: 15px;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-navbar-bg);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    right: -1px;
  }

  .nav-links a {
    font-size: var(--font-size-lg);
    display: block;
    width: 100%;
    text-align: center;
  }
  .contact-title,
  .contact-subtitle {
    font-size: 18px;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .blog-page .hero {
    min-height: 30vh;
  }
  .eng-issues-content-wrapper {
    padding: 60px 20px;
    margin-top: 30px;
  }
}

@media (max-width: 400px) {
  .header-section h1,
  .service-header h2,
  .points-title,
  .flow-title,
  .case-title,
  .faq-title,
  .profile-page-representative-section .rep-title,
  .price-page-features-section .features-title,
  .eng-issues-title {
    font-size: 20px;
  }

  .highlight-line::after {
    display: none;
  }

  .points-grid {
    grid-template-columns: 1fr;
  }
  .eng-issues-title {
    font-size: 20px;
  }
  .eng-issues-circle {
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 1;
  }
  .eng-support-card {
    padding: 20px;
    gap: 15px;
  }
  .eng-support-num {
    font-size: 28px;
  }
  .eng-reasons-right {
    grid-template-columns: 1fr;
  }
}

/* Responsive Flow Section */
@media (max-width: 991px) {
  .flow-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 500px;
  }

  .flow-column.right {
    margin-top: 0;
  }

  /* .flow-column::before {
        display: none;
    } */

  .flow-column {
    width: 100%;
  }

  .step-card p {
    white-space: normal;
  }
  .flow-column.right::before {
    height: 100%;
    top: -100px;
  }
}

@media (max-width: 480px) {
  .step-indicator {
    height: 90px;
    width: 90px;
  }
  .flow-column::before {
    left: 45px;
  }
  .flow-step {
    align-items: start;
  }

  .step-card {
    flex-direction: column;
    gap: 10px;
  }

  /* .step-card img {
    width: 100%;
    max-width: 200px;
  } */
}

/* Responsive Case Section */
@media (max-width: 991px) {
  .case-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .case-container {
    grid-template-columns: 1fr;
  }
  .cta-question h2 {
    font-size: 18px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .footer-bottom {
    padding: 0 20px;
    font-size: 16px;
  }
}

/* Responsive FAQ Section */
@media (max-width: 767px) {
  .faq-item {
    padding: 20px 0;
  }
}