/* Variables */
:root {
  /* Colors */
  --color-primary: #1C2833; /* Darker, heavier blue/black for profoundness */
  --color-secondary: #34495E; 
  --color-accent: #922B21; /* Deep, rich red for accent */
  --color-bg-light: #F4F6F6;
  --color-bg-white: #ffffff;
  --color-text-dark: #1F1F1F;
  --color-text-light: #4A4A4A;
  --color-border: #D0D3D4;

  /* Fonts - Mincho for heavy/profound feel */
  --font-heading: 'Noto Serif JP', serif;
  --font-body: 'Noto Serif JP', serif;

  /* Spacing */
  --spacing-unit: 14px;
  --spacing-sm: calc(var(--spacing-unit) * 1);   
  --spacing-md: calc(var(--spacing-unit) * 2);   
  --spacing-lg: calc(var(--spacing-unit) * 3);   
  --spacing-xl: calc(var(--spacing-unit) * 5); /* Increased for wide PC view spacing */

  /* Radius (Removed for sharp heavy aesthetic) */
  --border-radius-base: 0px;

  /* Shadows (Classic borders used mostly instead, but refined shadows available) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    line-height: 1.8;
    overflow-x: hidden;
    letter-spacing: 0.04em; /* Classic feel */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0 !important; /* NO ROUNDED CORNERS */
}

a {
    text-decoration: none;
    color: var(--color-secondary);
}

.bg-light { background-color: var(--color-bg-light); }
.bg-white { background-color: var(--color-bg-white); }
.text-orange { color: var(--color-accent); }
.text-blue { color: var(--color-primary); }

.container {
    width: 90%;
    max-width: 1400px; /* Wide view for PC */
    margin: 0 auto;
}

/* Animations */
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}
.animate-fade-in.is-visible {
  opacity: 1;
}

.delay-1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; transition-delay: 0.3s; }

/* Section Headings */
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-weight: 900;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
  padding-bottom: var(--spacing-sm);
  letter-spacing: 0.1em;
}

.bg-light .container > .section-heading,
.bg-white .container > .section-heading {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

/* 1. Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: auto;
  background-color: var(--color-primary);
}
.hero-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%; /* Go full bleed across */
}
@media (min-width: 992px) {
    .hero-container {
        flex-direction: row;
        align-items: stretch;
    }
}
.hero-content {
  flex: 1;
  padding: 10vw 5vw;
  color: var(--color-bg-white);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.4;
  margin-bottom: var(--spacing-lg);
  font-weight: 900;
  letter-spacing: 0.05em;
}
.hero-heading span {
  display: block;
}
.hero-text {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 2;
  font-weight: 400;
}
.hero-graphic {
  flex: 1;
  position: relative;
  min-height: 40vh;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
.hero-company-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--color-bg-white);
  letter-spacing: 0.1em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  z-index: 10;
  white-space: nowrap;
}
@media (max-width: 991px) {
  .hero-graphic {
    min-height: 50vw;
  }
}

/* 2. Vision Section */
.section-vision {
  padding: var(--spacing-xl) 0;
}
.vision-layout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}
@media (min-width: 992px) {
  .vision-layout {
    flex-direction: row;
    align-items: center;
  }
  .vision-content, .vision-image-wrapper {
      flex: 1;
  }
}
.vision-content {
  font-size: 1.15rem;
  line-height: 2;
}
.vision-content p:not(:last-child) {
  margin-bottom: var(--spacing-md);
}
.vision-content .highlight-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--spacing-lg);
  border-left: 5px solid var(--color-primary);
  padding-left: var(--spacing-md);
}
.vision-image-wrapper {
    width: 100%;
}
.vision-image {
    width: 100%;
    /* No rounded corners, solid heavy presentation */
}

/* 3. Job Description */
.section-job-desc {
  padding: var(--spacing-xl) 0;
}
.job-desc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}
@media (min-width: 992px) {
  .job-desc-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.job-intro {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}
.job-steps {
  list-style: none;
  padding: 0;
}
.job-step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--spacing-md);
}
.job-step-item:last-child {
    border-bottom: none;
}
.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-right: var(--spacing-md);
  line-height: 1;
  font-weight: 900;
  width: 40px; 
}
.step-detail h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}
.step-detail p {
  font-size: 1.05rem;
  margin-bottom: 0;
}
.job-image-area {
  position: relative;
}
.dynamic-image {
  width: 100%;
}

/* 4. Member Voice */
.section-member-voice {
  padding: calc(var(--spacing-xl) * 1.5) 0;
}
.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}
@media (min-width: 992px) {
    .voice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.voice-card {
  background-color: var(--color-bg-white);
  padding: var(--spacing-lg);
  border: 1px solid var(--color-border); /* Heavy, simple border instead of shadow */
  display: flex;
  flex-direction: column;
}
.rank-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-bg-white);
  background-color: var(--color-primary);
  padding: 4px 16px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: var(--spacing-md);
  align-self: flex-start;
}
.voice-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}
.voice-text {
  font-size: 1.05rem;
  line-height: 1.8;
  flex-grow: 1;
  margin-bottom: var(--spacing-md);
}
.voice-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-top: auto;
}
.voice-photo.opacity-adjust {
}

/* 5. Culture */
.section-culture {
  padding: var(--spacing-xl) 0;
}
.culture-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}
.culture-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  align-items: stretch;
}
@media (min-width: 992px) {
  .culture-item {
    flex-direction: row;
  }
  .culture-item:nth-child(even) {
      flex-direction: row-reverse;
  }
  .culture-image-wrapper, .culture-text-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }
}
.culture-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.culture-text-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
  font-weight: 700;
}
.culture-text-content p {
  font-size: 1.15rem;
  line-height: 1.8;
}

/* 6. Benefits */
.section-benefits {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-bg-light); 
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px; /* Real grid lines */
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
}
@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.benefit-card {
  background-color: var(--color-bg-white);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.benefit-card.card-accent {
  background-color: #FAFAFA;
}
.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
  color: var(--color-text-dark);
}
.benefit-card p {
  font-size: 1rem;
  color: var(--color-text-light);
}

/* 7. Recruitment Info */
.section-recruitment {
  padding: var(--spacing-xl) 0;
}
.shift-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}
@media (min-width: 992px) {
    .shift-info-wrapper {
        flex-direction: row;
        align-items: stretch;
    }
    .shift-card {
        flex: 1;
    }
}
.shift-card {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: var(--spacing-xl);
}
.shift-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  font-weight: 900;
  border-left: 4px solid var(--color-accent);
  padding-left: var(--spacing-md);
}
.shift-time {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-lg);
  font-weight: 700;
  padding-left: var(--spacing-md);
}
.schedule-list {
  list-style: none;
  padding: 0 0 0 var(--spacing-md);
  margin: 0;
}
.schedule-list li {
  font-size: 1.05rem;
  margin-bottom: var(--spacing-md); 
  position: relative;
  line-height: 1.6;
}
.schedule-list .time {
  font-weight: 700;
  color: var(--color-secondary);
  display: inline-block;
  margin-right: 0.5em;
  font-size: 1.1rem;
}
.schedule-list .note {
  font-size: 0.9em;
  color: var(--color-accent);
  display: block;
  margin-top: 4px;
}

/* 8. Flow */
.section-flow {
  padding: var(--spacing-xl) 0;
}
.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}
@media (min-width: 992px) {
  .flow-steps {
    flex-direction: row;
    gap: 0;
  }
}
.flow-step {
  padding: var(--spacing-lg);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-white);
  margin-bottom: var(--spacing-md);
  flex: 1;
}
@media (min-width: 992px) {
    .flow-step {
        margin-bottom: 0;
        border-right: none;
    }
    .flow-step:last-child {
        border-right: 1px solid var(--color-border);
    }
}
.step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}
.flow-step h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}
.flow-step p {
  font-size: 1rem;
}
.flow-arrow {
  display: none; /* In grid mode, borders are enough, no loose arrows needed for heavy style */
}

/* 9. FAQ */
.section-faq {
  padding: var(--spacing-xl) 0;
}
.faq-list {
  padding: 0;
}
.faq-item {
  background-color: var(--color-bg-white);
  margin-bottom: var(--spacing-md);
  border: 1px solid var(--color-border);
}
.faq-question {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text-dark);
  padding: var(--spacing-lg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-bg-light);
  font-weight: 700;
  transition: background-color 0.3s;
}
.faq-question:hover {
    background-color: #eef0f0;
}
.faq-question::marker, .faq-question::-webkit-details-marker {
  display: none; 
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
}
details[open] .faq-question::after {
  content: '-';
}
details[open] .faq-question {
  border-bottom: 1px solid var(--color-border);
}
.faq-answer {
  font-size: 1.05rem;
  padding: var(--spacing-lg);
  background-color: var(--color-bg-white);
}

/* 10. Application Form */
.section-application {
  padding: calc(var(--spacing-xl) * 1.5) 0;
}
.application-layout {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}
@media (min-width: 992px) {
  .application-layout {
    flex-direction: row;
    align-items: flex-start;
  }
  .application-overview {
      flex: 1;
      position: sticky;
      top: 40px;
  }
  .application-form {
      flex: 1.2;
  }
}
.application-overview {
  padding: var(--spacing-xl);
  background-color: var(--color-bg-white);
  border: 4px solid var(--color-primary); /* Heavy border for emphasis */
}
.overview-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
  font-weight: 900;
}
.application-overview p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}
.application-overview p strong {
    color: var(--color-text-dark);
}
.application-form {
  padding: var(--spacing-xl);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
}
.form-group {
  margin-bottom: var(--spacing-lg);
}
.form-group label {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}
.form-group .required {
  color: var(--color-bg-white);
  background-color: var(--color-accent);
  font-size: 0.8rem;
  margin-left: var(--spacing-sm);
  padding: 2px 8px;
  font-weight: normal;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  border-radius: 0; /* Keep it sharp */
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  background-color: var(--color-bg-white);
}
.form-group textarea {
  resize: vertical;
}
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}
.radio-group label {
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
}
.radio-group input[type="radio"] {
  margin-right: 0.5em;
  transform: scale(1.2); 
  cursor: pointer;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
}
.checkbox-group input[type="checkbox"] {
  margin-top: 6px; 
  margin-right: 1em;
  transform: scale(1.2);
  cursor: pointer;
}
.checkbox-group label {
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.cta-button {
  display: block;
  width: 100%;
  padding: var(--spacing-lg);
  background-color: var(--color-accent); 
  color: var(--color-bg-white);
  border: none;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
  margin-top: var(--spacing-xl);
  transition: background-color 0.3s;
  letter-spacing: 0.1em;
}
.cta-button:hover {
  background-color: #b03a2e;
}

/* 11. Footer */
.site-footer {
  background-color: #111111; /* Very heavy ground-like footer */
  color: var(--color-bg-white);
  padding: var(--spacing-xl) 0;
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}
@media (min-width: 992px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}
.footer-brand .company-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.1em;
}
.footer-brand p {
  color: #AAAAAA;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}
@media (min-width: 992px) {
  .footer-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}
.footer-nav a {
  color: #CCCCCC;
  transition: color 0.3s ease;
}
.footer-nav a:hover {
  color: var(--color-bg-white);
}
.footer-legal {
  width: 100%;
  text-align: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid #333333;
}
.footer-legal p {
  color: #666666;
}
@media (min-width: 992px) {
    .footer-legal {
        width: auto;
        border-top: none;
        align-self: flex-end;
        padding-top: 0;
        margin-top: 0;
    }
}
