@charset "UTF-8";
/* Recruit Top Page */
body.is-recruit-top {
  background: #FFFFFB;
}

/* Hero Section */
.recruit-hero {
  background: #FFFAF1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}
.recruit-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 250, 241, 0.55);
  z-index: 0;
}
.recruit-hero__circles {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  z-index: 52;
  pointer-events: none;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
}
@media (max-width: 768px) {
  .recruit-hero__circles {
    width: 480px;
    height: 480px;
  }
}
@media (max-width: 480px) {
  .recruit-hero__circles {
    width: 320px;
    height: 320px;
  }
}
.recruit-hero__circle-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-out;
}
.recruit-hero__circle-wrap--1 {
  top: -60px;
  left: 0;
}
.recruit-hero__circle-wrap--2 {
  top: 0;
  left: 60px;
}
.recruit-hero__circle-wrap--3 {
  top: 60px;
  left: 0;
}
.recruit-hero__circle-wrap--4 {
  top: 0;
  left: -60px;
}
.recruit-hero__circle {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.recruit-hero__circle-wrap--1 .recruit-hero__circle {
  animation: circleRotate1 20s linear infinite;
}
.recruit-hero__circle-wrap--2 .recruit-hero__circle {
  animation: circleRotate2 25s linear infinite;
}
.recruit-hero__circle-wrap--3 .recruit-hero__circle {
  animation: circleRotate3 22s linear infinite;
}
.recruit-hero__circle-wrap--4 .recruit-hero__circle {
  animation: circleRotate4 28s linear infinite;
}
.recruit-hero__visual {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 70%;
}
@media (max-width: 768px) {
  .recruit-hero__visual {
    max-width: 480px;
  }
}
@media (max-width: 480px) {
  .recruit-hero__visual {
    max-width: 320px;
  }
}
.recruit-hero__text {
  width: 100%;
  height: auto;
  display: block;
}
.recruit-hero__text .hero-letter {
  opacity: 0;
  animation: letterFadeIn 0.6s ease forwards;
}
.recruit-hero__banners {
  position: relative;
  z-index: 55;
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 20px 30px;
  transition: opacity 0.5s ease;
}
.recruit-hero__banners.is-hidden {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 768px) {
  .recruit-hero__banners {
    padding: 20px;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .recruit-hero__banners {
    padding: 15px;
    gap: 8px;
    flex-direction: column;
  }
}
.recruit-hero__banner-item {
  display: block;
  flex: 1;
  min-width: 0;
}
.recruit-hero__banner-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.recruit-hero__banner-item:hover {
  opacity: 0.85;
}
.recruit-hero__subtext {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #E97F4B;
  letter-spacing: 0.15em;
  margin-top: 24px;
  opacity: 0;
  animation: subtextFadeIn 1s ease forwards;
  animation-delay: 3.2s;
}
@media (max-width: 480px) {
  .recruit-hero__subtext {
    font-size: 12px;
    margin-top: 16px;
  }
}

@keyframes letterFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-letter:nth-child(1) {
  animation-delay: 0.5s;
}

.hero-letter:nth-child(2) {
  animation-delay: 0.58s;
}

.hero-letter:nth-child(3) {
  animation-delay: 0.66s;
}

.hero-letter:nth-child(4) {
  animation-delay: 0.74s;
}

.hero-letter:nth-child(5) {
  animation-delay: 0.82s;
}

.hero-letter:nth-child(6) {
  animation-delay: 0.9s;
}

.hero-letter:nth-child(7) {
  animation-delay: 0.98s;
}

.hero-letter:nth-child(8) {
  animation-delay: 1.06s;
}

.hero-letter:nth-child(9) {
  animation-delay: 1.14s;
}

.hero-letter:nth-child(10) {
  animation-delay: 1.22s;
}

.hero-letter:nth-child(11) {
  animation-delay: 1.3s;
}

.hero-letter:nth-child(12) {
  animation-delay: 1.38s;
}

.hero-letter:nth-child(13) {
  animation-delay: 1.46s;
}

.hero-letter:nth-child(14) {
  animation-delay: 1.54s;
}

.hero-letter:nth-child(15) {
  animation-delay: 1.62s;
}

.hero-letter:nth-child(16) {
  animation-delay: 1.7s;
}

.hero-letter:nth-child(17) {
  animation-delay: 1.78s;
}

.hero-letter:nth-child(18) {
  animation-delay: 1.86s;
}

.hero-letter:nth-child(19) {
  animation-delay: 1.94s;
}

.hero-letter:nth-child(20) {
  animation-delay: 2.02s;
}

.hero-letter:nth-child(21) {
  animation-delay: 2.1s;
}

.hero-letter:nth-child(22) {
  animation-delay: 2.18s;
}

.hero-letter:nth-child(23) {
  animation-delay: 2.26s;
}

.hero-letter:nth-child(24) {
  animation-delay: 2.34s;
}

.hero-letter:nth-child(25) {
  animation-delay: 2.42s;
}

.hero-letter:nth-child(26) {
  animation-delay: 2.5s;
}

.hero-letter:nth-child(27) {
  animation-delay: 2.58s;
}

@keyframes subtextFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes circleRotate1 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes circleRotate2 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
@keyframes circleRotate3 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes circleRotate4 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
/* バナーエリア */
.banner-area {
  display: flex;
  justify-content: center;
  gap: 30px;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 55;
  padding: 40px 20px;
}
.banner-area__item {
  display: block;
  max-width: 400px;
  transition: opacity 0.3s;
}
.banner-area__item:hover {
  opacity: 0.85;
}
.banner-area__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .banner-area {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/* ストーリー固定要素（body直下） */
.story__bg-wrap {
  position: fixed;
  top: -100px;
  left: 0;
  width: 100%;
  height: calc(100vh + 200px);
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.story__bg-wrap.is-active {
  opacity: 1;
}

.story__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.story__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}
.story__bg.is-active {
  opacity: 1;
}
.story__bg--6 {
  background-color: #FFFAF1;
}
.story__bg--6::after {
  background: rgba(0, 0, 0, 0.15);
}

.story__final-text {
  position: fixed;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 54;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease 0.3s;
}
.story__final-text.is-visible {
  opacity: 1;
}

.story__final-line {
  font-size: 28px;
  font-weight: 700;
  color: #E97F4B;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .story__final-line {
    font-size: 22px;
  }
}
@media (max-width: 480px) {
  .story__final-line {
    font-size: 17px;
  }
}

.story__logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 53;
  display: flex;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}
.story__logo.is-visible {
  opacity: 1;
}
.story__logo-left {
  font-size: 120px;
  font-weight: 300;
  font-family: "Cormorant Garamond", "EB Garamond", "Noto Serif JP", "Times New Roman", serif;
  color: #006637;
  white-space: nowrap;
  margin-right: 200px;
}
@media (max-width: 768px) {
  .story__logo-left {
    font-size: 80px;
    margin-right: 140px;
  }
}
@media (max-width: 480px) {
  .story__logo-left {
    font-size: 56px;
    margin-right: 80px;
  }
}
.story__logo-right {
  font-size: 120px;
  font-weight: 300;
  font-family: "Cormorant Garamond", "EB Garamond", "Noto Serif JP", "Times New Roman", serif;
  color: #006637;
  white-space: nowrap;
  margin-left: 200px;
}
@media (max-width: 768px) {
  .story__logo-right {
    font-size: 80px;
    margin-left: 140px;
  }
}
@media (max-width: 480px) {
  .story__logo-right {
    font-size: 56px;
    margin-left: 80px;
  }
}

/* ストーリーセクション */
.story {
  position: relative;
  z-index: 51;
}
.story__content {
  position: relative;
}
.story__section {
  min-height: 100vh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 40px 150px 58%;
  margin-bottom: 60vh;
}
.story__section--final {
  min-height: 100vh;
  padding-left: 0;
  align-items: center;
  text-align: center;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .story__section {
    padding: 80px 40px 80px 50%;
  }
  .story__section--final {
    padding-left: 0;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .story__section {
    padding: 60px 20px 60px 20px;
  }
  .story__section--final {
    padding-left: 20px;
  }
}
.story__line {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  line-height: 2.2;
  letter-spacing: 3px;
  margin: 0;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.story__line.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.story__line--gap {
  height: 32px;
}
.story__line--large {
  font-size: 38px;
}
@media (max-width: 768px) {
  .story__line--large {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .story__line--large {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .story__line {
    font-size: 19px;
  }
}
@media (max-width: 480px) {
  .story__line {
    font-size: 16px;
    text-align: center;
  }
}
.story__section:nth-child(even) {
  padding-left: 40px;
  padding-right: 58%;
}
@media (max-width: 768px) {
  .story__section:nth-child(even) {
    padding-left: 40px;
    padding-right: 50%;
  }
}
@media (max-width: 480px) {
  .story__section:nth-child(even) {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.story__section:nth-child(even) .story__line {
  transform: translateX(40px);
}
.story__section:nth-child(even) .story__line.is-visible {
  transform: translateX(0);
}
.story__section--final .story__line {
  color: #E97F4B;
  text-align: center;
  transform: translateY(20px);
}
.story__section--final .story__line.is-visible {
  transform: translateY(0);
}

/* Main Content */
.recruit-main {
  background: #f6f7f3;
}

/* Common Section Styles */
.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #333333;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 40px;
  }
}

.section-description {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  color: #333333;
  margin-bottom: 40px;
}

/* About Section */
.recruit-about {
  padding: 80px 0;
  background: #ffffff;
}
.recruit-about__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .recruit-about__container {
    padding: 20px 40px;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.about-card {
  background: #f6f7f3;
  padding: 40px 32px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.about-card__icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.about-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #006637;
  margin-bottom: 16px;
}
.about-card__text {
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
}

/* Recruitment Categories */
.recruit-categories {
  padding: 80px 0;
  background: #f6f7f3;
}
.recruit-categories__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .recruit-categories__container {
    padding: 20px 40px;
  }
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
  position: relative;
  text-decoration: none;
}
.category-card:hover {
  border-color: #006637;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(26, 122, 78, 0.15);
}
.category-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 12px;
}
.category-card__text {
  font-size: 14px;
  color: #666666;
  margin-bottom: 16px;
}
.category-card__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  background: #006637;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: transform 0.3s;
}
.category-card:hover .category-card__arrow {
  transform: translateX(4px);
}

/* ===========================================
   Recruit Panels (5 sections with scroll open)
   =========================================== */
.recruit-panels {
  position: relative;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recruit-panel-trigger {
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  visibility: hidden;
}

.recruit-panel {
  background: #FFFAF1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  border: 2px solid #e89b6f;
}
.recruit-panel__inner-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.recruit-panel.is-open .recruit-panel__inner-wrap {
  max-height: 800px;
}
.recruit-panel--alt {
  background: #FFFAF1;
}
.recruit-panel__number {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.recruit-panel__number span {
  font-size: 14px;
  font-weight: 700;
  color: #e89b6f;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.recruit-panel__number::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background: #e89b6f;
}
.recruit-panel__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 40px;
  padding-bottom: 60px;
}
@media (min-width: 768px) {
  .recruit-panel__inner {
    padding: 20px 40px;
  }
}
.recruit-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.recruit-panel__breadcrumb {
  font-size: 12px;
  color: #e89b6f;
  letter-spacing: 0.05em;
}
.recruit-panel__more-link {
  font-size: 13px;
  color: #333333;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.recruit-panel__more-link:hover {
  color: #e89b6f;
}
.recruit-panel__more-link:hover .recruit-panel__arrow {
  border-color: #e89b6f;
  color: #e89b6f;
}
.recruit-panel__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .recruit-panel__content {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
}
.recruit-panel__text {
  flex: 1;
  color: #333333;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}
.recruit-panel.is-open .recruit-panel__text {
  opacity: 1;
  transform: translateY(0);
}
.recruit-panel__title {
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 16px;
}
@media (min-width: 768px) {
  .recruit-panel__title {
    font-size: 36px;
  }
}
.recruit-panel__description {
  font-size: 15px;
  line-height: 1.8;
  color: #666666;
  margin: 0 0 24px;
}
.recruit-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.recruit-panel__list-item {
  font-size: 14px;
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
  color: #666666;
}
.recruit-panel__list-item::before {
  content: "●";
  position: absolute;
  left: 0;
  font-size: 8px;
  top: 0.5em;
  color: #e89b6f;
}
.recruit-panel__link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.recruit-panel__link-list li {
  margin: 0;
}
.recruit-panel__link-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  transition: color 0.3s;
}
.recruit-panel__link-list a:hover {
  color: #e89b6f;
}
.recruit-panel__link-list a:hover .recruit-panel__arrow {
  border-color: #e89b6f;
  color: #e89b6f;
}
.recruit-panel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  color: #333333;
  flex-shrink: 0;
  transition: border-color 0.3s, color 0.3s;
}
.recruit-panel__image {
  flex: 0 0 auto;
  width: 100%;
  max-width: 400px;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}
.recruit-panel.is-open .recruit-panel__image {
  opacity: 1;
  transform: translateX(0);
}
@media (min-width: 768px) {
  .recruit-panel__image {
    width: 45%;
  }
}
.recruit-panel__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.recruit-panel__image-placeholder {
  width: 100%;
  padding-bottom: 66.67%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

/* CTA Section */
.recruit-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 102, 55, 0.05) 0%, rgba(232, 245, 233, 0.3) 100%);
}
.recruit-cta__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
@media (min-width: 768px) {
  .recruit-cta__container {
    padding: 20px 40px;
  }
}
.recruit-cta__title {
  font-size: 32px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .recruit-cta__title {
    font-size: 40px;
  }
}
.recruit-cta__text {
  font-size: 16px;
  color: #333333;
  margin-bottom: 40px;
}
.recruit-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
@media (min-width: 768px) {
  .recruit-cta__buttons {
    flex-direction: row;
    gap: 24px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: #006637;
  color: #ffffff;
  border: 2px solid #006637;
}
.btn--primary:hover {
  background: rgb(0, 51, 27.5);
  border-color: rgb(0, 51, 27.5);
}
.btn--secondary {
  background: #e67e3c;
  color: #ffffff;
  border: 2px solid #e67e3c;
}
.btn--secondary:hover {
  background: rgb(211.8409090909, 98.8590909091, 27.1590909091);
  border-color: rgb(211.8409090909, 98.8590909091, 27.1590909091);
}
.btn--large {
  padding: 16px 40px;
  font-size: 18px;
}
