/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

header {
  position: absolute;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
}

nav {
  display: flex;
  margin: 0 auto;
  padding: 20px 40px;
}

.logo {
  margin-left: 20px;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
  justify-content: flex-start;
  margin-right: auto;
  width: 100%;
}

.nav-links-left {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
  justify-content: flex-start;
}

.language-selector-parentheses-text {
  color: white;
  font-size: 24px;
  font-weight: 900;
  justify-content: center;
}

.language-selector-parentheses-text:last-child {
  margin-right: -15px;
}

.nav-links a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  font-weight: 300;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

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

.nav-links a img {
  height: 12px;
  width: auto;
  transition: opacity 0.3s ease;
}

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

.nav-links .language-selector {
  margin-left: auto;
  margin-right: 20px;
  margin-top: 0;
}

.language-selector {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}

.language-selector a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.language-selector a:hover {
  opacity: 0.5;
}

.language-selector a.selected {
  font-weight: 900;
}

.language-selector span {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  font-size: 28px;
}

/* Hero section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-logo {
  transform: scale(0.7);
  color: white;
}

/* Main content */
@keyframes parallaxScroll1 {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes parallaxScroll2 {
  from {
    transform: translateX(-10%);
  }
  to {
    transform: translateX(-60%);
  }
}

@keyframes parallaxScroll3 {
  from {
    transform: translateX(-20%);
  }
  to {
    transform: translateX(-70%);
  }
}

@keyframes parallaxScroll4 {
  from {
    transform: translateX(-30%);
  }
  to {
    transform: translateX(-80%);
  }
}

@keyframes parallaxScroll5 {
  from {
    transform: translateX(-40%);
  }
  to {
    transform: translateX(-90%);
  }
}

@keyframes parallaxScroll6 {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(-100%);
  }
}

.main-content {
  background: #e02a5e;
  min-height: 800px;
  padding: 2rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 800px;
  z-index: 0;
}

.parallax-layer {
  position: absolute;
  left: 0;
  width: 200%;
  height: 63.33vh;
  min-height: 866px;
  display: flex;
  gap: 20px;
  opacity: 0.5;
}

.parallax-layer-1 {
  top: 0;
  animation: parallaxScroll1 40s linear infinite;
}

.parallax-layer-1 img {
  width: 512px;
  height: 256px;
  border-radius: 20px;
  object-fit: cover;
  margin-right: 500px;
  margin-top: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.parallax-layer-2 {
  top: 33.33vh;
  animation: parallaxScroll2 40s linear infinite;
}

.parallax-layer-2 img {
  width: 512px;
  height: 256px;
  border-radius: 20px;
  object-fit: cover;
  margin-right: 500px;
  margin-top: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.parallax-layer-3 {
  top: 66.66vh;
  animation: parallaxScroll3 30s linear infinite;
}

.parallax-layer-3 img {
  width: 256px;
  height: 256px;
  border-radius: 20px;
  object-fit: cover;
  margin-right: 500px;
  margin-top: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.parallax-layer-4 {
  top: 83.33vh;
  animation: parallaxScroll4 35s linear infinite;
}

.parallax-layer-4 img {
  width: 512px;
  height: 256px;
  border-radius: 20px;
  object-fit: cover;
  margin-right: 500px;
  margin-top: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.parallax-layer-5 {
  top: 100vh;
  animation: parallaxScroll5 40s linear infinite;
}

.parallax-layer-5 img {
  width: 512px;
  height: 256px;
  border-radius: 20px;
  object-fit: cover;
  margin-right: 500px;
  margin-top: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.parallax-layer-6 {
  top: 136.66vh;
  animation: parallaxScroll6 45s linear infinite;
}

.parallax-layer-6 img {
  width: 256px;
  height: 256px;
  border-radius: 20px;
  object-fit: cover;
  margin-right: 500px;
  margin-top: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.main-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("assets/PC_BG_triangle.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 1;
}

.main-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(
    135deg,
    rgba(255, 64, 129, 0.7) 0%,
    rgba(255, 8, 68, 0.7) 100%
  ); */
  z-index: 2;
}

.content-wrapper {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}

.content-wrapper-bigger {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.main-title {
  position: relative;
  z-index: 3;
  text-align: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

/* Project description animations */
.project-description {
  font-size: 24.56px;
  line-height: 170%;
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 3rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  display: block;
}

.project-description-mobile {
  font-size: 24.56px;
  line-height: 170%;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  display: none;
}

.project-description.visible {
  opacity: 1;
  transform: translateY(0);
}

.highlight-text {
  font-family: "Noto Serif JP", serif;
  font-size: 36.33px;
  font-weight: 900;
  line-height: 190%;
  letter-spacing: 0%;
  margin-bottom: 2rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
}

.highlight-text p {
  display: inline;
  background: #8c001b;
  padding: 0.2em 0.4em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.highlight-text.visible p {
  opacity: 1;
  transform: translateY(0);
}

.highlight-text.visible p:nth-child(1) {
  transition-delay: 0.2s;
}

.highlight-text.visible p:nth-child(3) {
  transition-delay: 0.4s;
}

.detail-text {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 24.56px;
  line-height: 170%;
  font-weight: 700;
  margin-top: 2rem;
  text-align: center;
}

.detail-text p {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.detail-text.visible p {
  opacity: 1;
  transform: translateY(0);
}

.detail-text.visible p:nth-child(1) {
  transition-delay: 0.2s;
}

.detail-text.visible p:nth-child(2) {
  transition-delay: 0.4s;
}

.catchphrase {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 3rem;
  text-align: center;
}

.catchphrase p {
  margin-bottom: 1rem;
}

.closing-text {
  text-align: center;
  font-size: 1.2rem;
  line-height: 2;
}

/* Responsive design */
@media (max-width: 768px) {
  nav {
    justify-content: space-between;
    padding: 16px 0px;
  }
  .hamburger {
    display: block;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    margin-right: 20px;
    margin-left: auto;
  }

  .nav-links-left {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
  }

  .language-selector {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-right: 1rem !important;
  }

  .logo {
    margin-left: 20px;
  }

  .logo img {
    height: 40px;
  }

  .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 8px 0;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .hamburger span:nth-child(2) {
    display: none;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0, 10px);
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0, -10px);
  }

  .content-wrapper {
    margin-top: 0rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
    right: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .nav-links a {
    font-size: 28px;
  }

  .language-selector {
    display: none;
  }

  .content-wrapper {
    max-width: auto;
  }

  .nav-links.active .language-selector {
    display: flex;
    margin-top: 40px;
    margin-right: 0;
  }

  .language-selector a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 300;
    transition: color 0.3s ease;
  }

  .language-selector span {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    font-size: 28px;
  }

  .detail-text {
    font-size: 0.8rem;
  }

  .main-title {
    font-size: 2rem;
  }

  .catchphrase {
    font-size: 1.4rem;
  }

  .project-description {
    display: none;
  }

  .project-description-mobile {
    display: block !important;
    font-size: 0.8rem;
    margin-top: -1rem;
  }

  .highlight-text {
    font-size: 1.3rem;
  }

  .requirements-section-wrapper {
    flex-direction: column;
    padding: 0 !important;
    align-items: flex-start !important;
    width: 100%;
    gap: 0rem !important;
  }

  .requirements-content {
    width: 100%;
  }

  .requirements-box {
    width: 100%;
    margin: 0;
    padding: 1rem 1.5rem !important;
  }

  .requirements-list {
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    width: 100%;
  }

  .requirements-list-text {
    width: 100%;
    text-align: left;
    margin-top: 1rem;
  }

  .requirements-list-text li {
    padding-left: 1.5rem !important;
    font-size: 15px;
  }

  .req-icon {
    width: 80px;
    height: 80px;
  }

  .requirements-titles {
    align-items: flex-start;
  }

  .requirements-titles img.section-title {
    width: 300px;
    height: auto;
  }

  .schedule-section-wrapper {
    flex-direction: column;
    text-align: left;
    padding: 0 !important;
    align-items: flex-start !important;
  }

  .schedule-timeline {
    width: 100%;
  }

  .timeline-step {
    text-align: left;
    padding-left: 2rem;
  }

  .timeline-step::before {
    left: -5px;
  }

  .step-title {
    font-size: 18px;
    text-align: left;
    padding-right: 20px;
  }

  .schedule-titles {
    align-items: flex-start;
  }

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

  .precautions-section-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 0 !important;
    align-items: flex-start !important;
    gap: 0rem !important;
  }

  .precautions-titles {
    align-items: flex-start;
  }

  .precautions-list {
    text-align: left;
    font-size: 16px;
    line-height: 0%;
    color: #333;
  }

  .precautions-list p {
    margin-bottom: 0rem !important;
    padding-left: 1em;
    text-indent: -1em;
    line-height: 150%;
  }

  .entry-section-wrapper,
  .contact-section-wrapper {
    flex-direction: column;
    text-align: left;
    padding: 0 !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  .entry-titles,
  .contact-titles {
    align-items: flex-start;
  }

  .contact-content {
    width: 100%;
    padding: 0 0px !important;
  }

  .contact-company,
  .contact-email,
  .contact-note {
    text-align: left;
  }

  .entry-button {
    width: 80%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 18px;
    margin: 0 auto;
  }

  .section-title,
  .section-title-info {
    width: 300px;
    height: auto;
  }

  .precautions-titles img.section-title {
    width: 250px;
    height: auto;
  }

  .entry-titles img.section-title,
  .contact-titles img.section-title {
    width: 200px;
    height: auto;
  }

  .info-section {
    padding: 3rem 1.5rem !important;
  }

  .entry-titles {
    align-items: flex-start;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content > * {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Animation styles */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Info sections */
.info-section {
  padding: 4rem 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.info-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title-info {
  font-size: 48px;
  color: #333;
  font-weight: 700;
  text-align: left;
  margin-bottom: -0.5rem;
}

.section-title {
  font-size: 48px;
  color: #333;
  font-weight: 700;
  text-align: left;
}

.jp-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 700;
}

.info-box {
  background-image: url("assets/bg-patturn01.png");
  background-color: #ffedf9;
  background-size: 64px;
  background-blend-mode: hard-light;
  padding: 1.5rem;
  margin-top: 0rem;
  border-radius: 20px;
}

.info-text {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.info-text span {
  white-space: nowrap;
}

.what-is-vee-background {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.what-is-vee-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("assets/bg-patturn02.png");
  background-blend-mode: overlay;
  opacity: 0;
  z-index: 1;
}

.what-is-vee-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("assets/bg-whatVee-pattern.svg");
  opacity: 0.1;
  background-color: rgba(255, 230, 235, 0.8);
  background-blend-mode: normal;
  z-index: 1;
}

.what-is-vee-info-box {
  border: 4px dotted black;
  border-style: dotted;
  border-width: 4px;
  border-color: black;
  padding: 1.5rem;
  margin-top: 0rem;
  border-radius: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.68);
  position: relative;
  z-index: 2;
}

/* Requirements section specific styles */
#requirements {
  position: relative;
  overflow: hidden;
}

#requirements::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("assets/bg-patturn05.svg");
  filter: invert(1);
  background-size: cover;
  background-position: center;
  background-blend-mode: screen;
  z-index: 1;
}

#requirements::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(173, 216, 230, 0.5);
  z-index: 1;
}

.requirements-section-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 60vh;
  padding: 4rem 2rem;
}

.requirements-titles {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.requirements-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.requirements-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 2.78px 5.57px 5.57px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  width: 100%;
}

.requirements-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.requirements-list-text {
  list-style: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: -1rem;
  width: 100%;
}

.requirements-list-text li {
  display: flex;
  align-items: center;
  padding-left: 2.5rem;
  position: relative;
}

.requirements-list-text li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #333;
  font-size: 1.5em;
}

.req-icon {
  width: 105px;
  height: 105px;
  flex-shrink: 0;
  max-width: 100%;
  height: auto;
}

.requirements-notes {
  margin-top: 1rem;
  color: black;
  font-size: 15px;
  line-height: 1.6;
}

.requirements-notes p {
  margin-bottom: 0.5rem;
}

#schedule {
  background-color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 50vh;
}

#schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("assets/bg-patturn03.png");
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

#schedule::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("assets/bg-patturn04.svg");
  background-blend-mode: screen;
  filter: invert(1);
  opacity: 1;
  background-size: 100% 100%;
  background-position: center;
  z-index: 1;
}
.schedule-section-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.schedule-titles {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.schedule-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.schedule-timeline {
  position: relative;
}

.schedule-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-left: 2px dotted black; /* Changed to dotted */
}

.timeline-step {
  position: relative;
  padding-left: 2rem;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -5px;
  width: 12px;
  height: 12px;
  background-color: #ff4081;
  border-radius: 50%;
}

.step-number {
  font-size: 24px;
  font-weight: 700;
  color: #ff4081;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4rem;
}

.schedule-notes {
  margin-top: 2rem;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.schedule-notes p {
  margin-bottom: 0.5rem;
}

/* Precautions section styles */
#precautions {
  background-color: #ffe6eb;
  position: relative;
  overflow: hidden;
  min-height: 40vh;
}

#precautions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.precautions-section-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.precautions-titles {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.precautions-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.precautions-list {
  font-size: 15px;
  line-height: 130%;
  color: #333;
}

.precautions-list p {
  margin-bottom: 1rem;
  padding-left: 1em;
  text-indent: -1em;
  line-height: 150%;
}

/* Entry section styles */
#entry {
  background-color: #f0f8ff;
  position: relative;
  overflow: hidden;
  min-height: 20vh;
  background-image: url("assets/osha-entry.svg");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 400px auto; /* Added to make the entry image bigger */
  padding-top: 40px;
  padding-right: 40px;
}

.entry-section-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  margin-top: 1rem;
}

.entry-titles {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.entry-content {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.entry-content .osha-entry {
  position: absolute;
  top: -20px;
  right: 20px;
  height: 40px;
  width: auto;
}

.entry-button {
  background-color: #dc3545;
  color: white;
  padding: 1rem 4rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0px 4px rgba(0, 0, 0, 0.9);
}

.entry-button:hover {
  background-color: #c82333;
}

/* Contact section styles */
#contact {
  background-color: #fff8dc;
  position: relative;
  overflow: hidden;
  background-image: url("assets/osha-contact.svg");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 400px auto;
  padding-top: 40px;
  padding-right: 40px;
}

.contact-section-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
}

.contact-titles {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-company {
  font-size: 18px;
  color: #333;
}

.contact-email {
  font-size: 18px;
  color: #333;
}

.contact-note {
  font-size: 18px;
  color: #333;
}

@media (max-width: 768px) {
  .entry-section-wrapper,
  .contact-section-wrapper {
    flex-direction: column;
    text-align: left;
    padding: 0 !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  .entry-titles,
  .contact-titles {
    align-items: flex-start;
  }

  .contact-content {
    width: 100%;
    padding: 0 20px;
  }

  .contact-company,
  .contact-email,
  .contact-note {
    text-align: left;
  }

  .entry-button {
    width: 80%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 18px;
    margin: 0 auto;
  }

  .entry-content {
    justify-content: center;
    width: 100%;
  }
}

.entry-titles img.section-title,
.contact-titles img.section-title {
  width: 250px;
  height: auto;
}

.entry-titles .jp-title,
.contact-titles .jp-title {
  font-size: 20px;
}

/* Update existing styles */
.hero-content {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 1s ease-out,
    transform 1s ease-out;
}

.hero-content.visible {
  opacity: 1;
  transform: scale(1);
}

.main-content > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.main-content > *.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Add animation delays for staggered effects */
.main-content > *:nth-child(1) {
  transition-delay: 0.2s;
}
.main-content > *:nth-child(2) {
  transition-delay: 0.4s;
}
.main-content > *:nth-child(3) {
  transition-delay: 0.6s;
}
.main-content > *:nth-child(4) {
  transition-delay: 0.8s;
}
.main-content > *:nth-child(5) {
  transition-delay: 1s;
}
.main-content > *:nth-child(6) {
  transition-delay: 1.2s;
}

/* Footer styles */
footer {
  background-color: #1a1a1a;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo img {
  height: 20px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-logo a {
  margin: 0;
  padding: 0;
}

.footer-logo img:hover {
  opacity: 1;
}

.footer-logo span {
  color: #666;
  font-size: 12px;
  white-space: nowrap;
}

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

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a[href="https://vee-official.jp/"]
{
  font-weight: 700;
}

.footer-links div {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #999;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 16px;
  }

  .footer-logo {
    flex-direction: column;
    gap: 8px;
  }

  .footer-logo span {
    white-space: normal;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowText {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  }
}

.project-description p {
  animation: glowText 3s ease-in-out infinite;
}

.precautions-titles img.section-title {
  width: 450px;
  height: auto;
}

@media (max-width: 768px) {
  .precautions-titles img.section-title {
    width: 300px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .requirements-list {
    gap: 0.5rem;
  }

  .req-icon {
    width: 60px;
    height: 60px;
  }
}
