/* Reset & Base */
:root {
  --color-primary: #ffc107;
  --color-secondary: #4caf50;
  --color-text: #333333;
  --color-background: #ffffff;
  --font-main: "Noto Sans JP", sans-serif;
  --font-heading: "Poppins", sans-serif;
  --color-primary-rgb: 255, 193, 7;
  --color-secondary-rgb: 76, 175, 80;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* Custom Cursor */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease;
  transform: translate(-50%, -50%);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 40px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__nav-list {
  display: flex;
  gap: 40px;
  list-style: none;
}

.header__nav-list a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.btn-contact {
  padding: 12px 24px;
  background-color: var(--color-primary);
  color: white !important;
  border-radius: 30px;
}

.header__menu-button {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1) rotate(2deg);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideShow 18s infinite;
  filter: saturate(0.6) brightness(0.9) contrast(0.9);
}

.hero__slide:nth-child(1) {
  animation-delay: 0s;
}

.hero__slide:nth-child(2) {
  animation-delay: 6s;
}

.hero__slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes slideShow {
  0%,
  33% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  37%,
  100% {
    opacity: 0;
    transform: scale(1.1) rotate(2deg);
  }
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  backdrop-filter: blur(5px);
  mix-blend-mode: multiply;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__background-text {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  gap: 60px;
  opacity: 0.1;
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  animation: floatText 8s infinite alternate;
}

.vertical-text:nth-child(2) {
  animation-delay: 2s;
}

.vertical-text:nth-child(3) {
  animation-delay: 4s;
}

@keyframes floatText {
  0% {
    transform: rotate(180deg) translateY(0);
  }
  100% {
    transform: rotate(180deg) translateY(30px);
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 9rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.hero__title-line:nth-child(3) {
  animation-delay: 0.4s;
}

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

.hero__subtitle {
  font-size: 2.4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* Scroll Animation */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 2;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.hero__scroll span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
}

.hero__scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll-arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  animation: scrollArrow 1.5s infinite;
  margin: 0;
}

.hero__scroll-arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.hero__scroll-arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scrollArrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

/* Content Reveal Animation */
[data-scroll] {
  opacity: 0;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll="in"] {
  opacity: 1;
  transform: translateY(0) !important;
}

[data-scroll="out"] {
  opacity: 0;
}

.fade-up {
  transform: translateY(40px);
}

.fade-left {
  transform: translateX(-40px);
}

.fade-right {
  transform: translateX(40px);
}

/* Add smooth page transitions */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  z-index: 9999;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition.active {
  transform: scaleY(1);
}

/* Section Spacing */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section + .section {
  margin-top: 0;
}

/* Section Colors */
.about {
  background: #f9f9f9;
}

.services {
  background: var(--color-background);
}

.works {
  background: #f9f9f9;
}

.news {
  background: #f9f9f9;
}

.company {
  background: var(--color-background);
}

.recruit {
  background: #f9f9f9;
}

.contact {
  background: var(--color-background);
}

.footer {
  background: #2c3e50;
  color: white;
}

.footer__nav-list a,
.footer__copyright {
  color: rgba(255, 255, 255, 0.8);
}

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

/* Section Titles */
.section__title {
  text-align: center;
  margin-bottom: 80px;
}

.section__title-en {
  display: block;
  font-family: var(--font-heading);
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section__title-ja {
  display: block;
  font-size: 1.8rem;
  color: var(--color-text);
}

/* About Section */
.about__content {
  display: flex;
  gap: 80px;
  align-items: center;
}

.about__text {
  flex: 1;
}

.about__description {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--color-text);
}

.about__message {
  font-size: 1.8rem;
  line-height: 2;
  margin-bottom: 60px;
}

.about__stats {
  display: flex;
  gap: 40px;
}

.stat__item {
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.stat__label {
  font-size: 1.4rem;
  color: var(--color-text);
}

.about__image {
  flex: 1;
}

.about__image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  padding: 80px 0 40px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer__info {
  flex: 1;
}

.footer__logo {
  margin-bottom: 20px;
}

.footer__address {
  margin-top: 10px;
  font-size: 1.4rem;
  line-height: 1.6;
}

.footer__social {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.footer__nav {
  flex: 2;
}

.footer__nav-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
}

.footer__copyright {
  text-align: center;
  font-size: 1.2rem;
}

/* News Section */
.news__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.news__item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.news__link {
  display: block;
  text-decoration: none;
  color: var(--color-text);
}

.news__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news__item:hover .news__image img {
  transform: scale(1.1);
}

.news__content {
  padding: 30px;
}

.news__date {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.news__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
}

.news__excerpt {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

.news__more {
  display: inline-flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 500;
}

.news__more::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.news__item:hover .news__more::after {
  transform: translateX(5px);
}

/* Services Section */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.service__item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service__item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.service__icon {
  width: 100%;
  height: 240px;
  overflow: hidden;
  margin-bottom: 0;
}

.service__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service__item:hover .service__icon img {
  transform: scale(1.1);
}

.service__content {
  padding: 30px;
  text-align: left;
}

.service__title {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: var(--color-text);
}

.service__description {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #666;
}

/* Works Section */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.work__item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.work__image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.work__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work__item:hover .work__image img {
  transform: scale(1.1);
}

.work__content {
  padding: 30px;
  background: white;
}

.work__title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.work__description {
  font-size: 1.4rem;
  color: #666;
}

/* Recruit Section */
.recruit__content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.recruit__text {
  flex: 1;
}

.recruit__heading {
  font-size: 3.6rem;
  line-height: 1.4;
  margin-bottom: 30px;
}

.recruit__description {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.recruit__image {
  flex: 1;
}

.recruit__image img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  display: inline-block;
  padding: 18px 40px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

/* Contact Section */
.contact__content {
  max-width: 800px;
  margin: 0 auto;
}

.contact__description {
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 60px;
}

.contact__form {
  background: white;
  padding: 60px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form__group {
  margin-bottom: 40px;
}

.form__label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.required {
  color: #f44336;
  margin-left: 5px;
}

.form__input {
  width: 100%;
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
}

.form__textarea {
  height: 200px;
  resize: vertical;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 20px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover::before {
  transform: translateX(100%);
}

/* Company Section */
.company__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.company__info {
  order: 1;
}

.company__map {
  order: 2;
}

.info__list {
  display: grid;
  gap: 20px;
}

.info__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.info__item dt {
  font-weight: 500;
  color: #666;
}

.info__item dd {
  line-height: 1.8;
}

.company__map iframe {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 6rem;
  }

  .about__content {
    flex-direction: column;
    gap: 60px;
  }

  .about__text {
    width: 100%;
  }

  .about__description {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }

  .about__message {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  .about__stats {
    justify-content: center;
  }

  .stat__number {
    font-size: 4rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .works__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recruit__content {
    flex-direction: column;
  }

  .recruit__image {
    order: -1;
  }

  .news__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .cursor {
    display: none !important;
  }
}

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

  .header__menu-button {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
  }

  .header__menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    transition: all 0.3s ease;
  }

  .header__menu-button span:nth-child(1) {
    top: 0;
  }
  .header__menu-button span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .header__menu-button span:nth-child(3) {
    bottom: 0;
  }

  .hero__title {
    font-size: 4rem;
  }

  .hero__subtitle {
    font-size: 1.8rem;
  }

  .section__title {
    font-size: 3.6rem;
  }

  .about__content {
    gap: 40px;
    padding: 0 20px;
  }

  .about__description {
    font-size: 2.4rem;
    margin-bottom: 25px;
    text-align: left;
  }

  .about__message {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: left;
  }

  .about__stats {
    flex-direction: column;
    gap: 30px;
  }

  .stat__item {
    width: 100%;
  }

  .stat__number {
    font-size: 3.6rem;
  }

  .stat__label {
    font-size: 1.3rem;
  }

  .about__image {
    margin: 0;
    padding: 0 20px;
  }

  .about__image img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .footer__content {
    flex-direction: column;
    gap: 40px;
  }

  .footer__nav-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .contact__form {
    padding: 30px;
  }

  .company__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company__info {
    order: 1;
  }

  .company__map {
    order: 2;
  }

  .info__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .service__icon {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .about__description {
    font-size: 2rem;
  }

  .about__message {
    font-size: 1.4rem;
  }

  .stat__number {
    font-size: 3.2rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

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

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

/* Floating Shapes */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  mix-blend-mode: multiply;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  top: -200px;
  right: -200px;
  animation: floatShape 20s infinite alternate ease-in-out;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  bottom: -100px;
  left: -100px;
  animation: floatShape 15s infinite alternate-reverse ease-in-out;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: #ff6b6b;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatShape 18s infinite alternate ease-in-out;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(100px, 50px) rotate(180deg);
  }
}

/* Decorative Lines */
.decorative-line {
  position: fixed;
  background: linear-gradient(90deg, transparent, rgba(var(--color-primary-rgb), 0.1), transparent);
  height: 1px;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

.line-1 {
  top: 30%;
  transform: rotate(-15deg);
  animation: lineFloat 15s infinite alternate ease-in-out;
}

.line-2 {
  bottom: 40%;
  transform: rotate(15deg);
  animation: lineFloat 20s infinite alternate-reverse ease-in-out;
}

@keyframes lineFloat {
  0% {
    transform: rotate(-15deg) translateY(0);
  }
  100% {
    transform: rotate(-15deg) translateY(50px);
  }
}

/* Decorative Circles */
.decorative-circle {
  position: fixed;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  pointer-events: none;
  z-index: 1;
}

.circle-1 {
  width: 400px;
  height: 400px;
  top: 20%;
  right: -200px;
  animation: circleFloat 25s infinite alternate ease-in-out;
}

.circle-2 {
  width: 600px;
  height: 600px;
  bottom: -300px;
  left: -300px;
  animation: circleFloat 30s infinite alternate-reverse ease-in-out;
}

@keyframes circleFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 30px) scale(1.1);
  }
}

/* Section Background Enhancements */
.section::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(circle at center, rgba(var(--color-primary-rgb), 0.03) 0%, transparent 70%);
  transform: rotate(var(--rotation, 0deg));
  pointer-events: none;
  z-index: 0;
}

.about::before {
  --rotation: 15deg;
}

.services::before {
  --rotation: -15deg;
}

.works::before {
  --rotation: 30deg;
}

.news::before {
  --rotation: -30deg;
}

/* Update existing section colors for better contrast with new background elements */
.section > * {
  position: relative;
  z-index: 2;
}

/* Recruit Detail Page */
.recruit-hero {
  height: 40vh;
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, rgba(var(--color-primary-rgb), 0.1) 0%, rgba(var(--color-secondary-rgb), 0.1) 100%);
  overflow: hidden;
}

.recruit-hero__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.recruit-hero__title {
  position: relative;
}

.recruit-hero__title-en {
  display: block;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.recruit-hero__title-ja {
  display: block;
  font-size: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.recruit-detail {
  padding: 80px 0;
}

.recruit-detail__content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.recruit-detail__position {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--color-text);
}

.recruit-detail__grid {
  display: grid;
  gap: 40px;
}

.recruit-detail__item {
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.recruit-detail__item:last-child {
  border-bottom: none;
}

.recruit-detail__label {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.recruit-detail__text {
  font-size: 1.6rem;
  line-height: 1.8;
}

.recruit-detail__text ul {
  list-style: none;
  padding: 0;
}

.recruit-detail__text li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.recruit-detail__text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.recruit-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-text);
  border-radius: 20px;
  font-size: 1.4rem;
  font-weight: 500;
}

.recruit-detail__action {
  text-align: center;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .recruit-hero__title-en {
    font-size: 4rem;
  }

  .recruit-detail__content {
    padding: 30px;
    border-radius: 20px;
  }

  .recruit-detail__position {
    font-size: 2.4rem;
  }

  .recruit-detail__grid {
    gap: 30px;
  }

  .tag {
    font-size: 1.2rem;
  }
}

/* Mobile Navigation */
.header__nav.active {
  display: block;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 40px 20px;
  animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header__nav.active .header__nav-list {
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.header__menu-button {
  width: 30px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.header__menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  position: absolute;
  transition: all 0.3s ease;
}

.header__menu-button span:nth-child(1) {
  top: 0;
}

.header__menu-button span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.header__menu-button span:nth-child(3) {
  bottom: 0;
}

.header__menu-button.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header__menu-button.active span:nth-child(2) {
  opacity: 0;
}

.header__menu-button.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Add overlay for mobile menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

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

  .header__nav.active .header__nav-list {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.2s;
  }

  .header__nav-list li {
    width: 100%;
    text-align: center;
  }

  .header__nav-list a {
    display: block;
    padding: 15px 0;
    font-size: 1.8rem;
  }

  .btn-contact {
    margin-top: 20px;
  }
}

/* Form Message Styles */
.form-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border: 1px solid #2e7d32;
}

.form-message.error {
  background-color: rgba(244, 67, 54, 0.1);
  color: #d32f2f;
  border: 1px solid #d32f2f;
}

.news-detail__image {
  margin: 60px 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.news-detail__content {
  margin-bottom: 60px;
}

.news-detail__content p {
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 1.6rem;
}

.news-detail__text-spacer {
  margin-top: 40px;
}

.news-detail__action {
  text-align: center;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .news-detail__subtitle {
    font-size: 1.8rem;
  }

  .news-detail__image {
    margin: 40px 0;
    border-radius: 15px;
  }

  .news-detail__content p {
    margin-bottom: 25px;
  }

  .news-detail__text-spacer {
    margin-top: 30px;
  }

  .news-detail__action {
    margin-top: 50px;
  }
}
