/* ================================================
   Additional Sections Styles
   ================================================ */

/* Equipment Section */
.section-equipment {
  padding: 4rem 0 6rem;
  background-color: #f9fafb;
}

.section-equipment__header {
  text-align: right;
  align-self: auto !important;
}

.equipment-table {
  width: 100%;
  font-size: 0.875rem;
  text-align: left;
  color: #6b7280;
}

.equipment-table-header {
  font-size: 0.75rem;
  color: white;
  text-transform: uppercase;
  background: linear-gradient(135deg, #185246 0%, #247a65 100%);
}

.equipment-table-row {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
}

.equipment-table-row-alt {
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

/* Greeting Section */
.section-greeting {
  padding: 4rem 0 6rem;
  background-color: white;
}

/* Company Info Section */
.section-company-info {
  padding: 4rem 0 6rem;
  background-color: #eef3ef;
}

.company-info-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.company-info-row {
  display: flex;
  border-bottom: 1px solid #9ca3af;
  padding: 0.75rem 0;
}

.company-info-label {
  width: 25%;
  font-weight: 600;
  color: #374151;
  font-family: "Noto Serif JP", serif;
}

.company-info-value {
  width: 75%;
  color: #1f2937;
}

@media (max-width: 767px) {
  .company-info-row {
    flex-direction: column;
  }

  .company-info-label,
  .company-info-value {
    width: 100%;
  }

  .company-info-label {
    margin-bottom: 0.5rem;
  }
}

/* News Section */
.section-news {
  padding: 4rem 0 6rem;
  background-color: white;
}

.news-item {
  display: block;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1.5rem;
  text-decoration: none;
}

.news-date {
  color: #185246;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.news-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #1f2937;
  transition: color 0.3s ease;
  font-family: "Noto Serif JP", serif;
}

.news-item:hover .news-title {
  color: #0d9488;
}

.news-link {
  display: inline-block;
  color: #0d9488;
  border-bottom: 2px solid #0d9488;
  padding-bottom: 0.25rem;
  text-decoration: none;
  transition: border-color 0.3s ease;
}

.news-link:hover {
  border-color: #0f766e;
}

/* Recruitment Section */
.section-recruitment {
  position: relative;
  padding: 6rem 0 8rem;
  background-image: url('../img/recruitment-background.webp');
  background-size: cover;
  background-position: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.recruitment-heading {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-family: "Noto Serif JP", serif;
  position: relative;
  z-index: 2;
  color: #fff;
}

@media (max-width: 767px) {
  .recruitment-heading {
    font-size: clamp(1.575rem, 4vw, 2.25rem);
  }
}

.recruitment-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  max-width: 42rem;
  position: relative;
  z-index: 2;
}

/* デスクトップ: スマホ用コンテンツを非表示 */
.recruitment-content-mobile {
  display: none;
}

@media (max-width: 767px) {
  /* デスクトップ用コンテンツを非表示 */
  .recruitment-content-desktop {
    display: none;
  }

  /* スマホ用コンテンツを表示 */
  .recruitment-content-mobile {
    display: block;
  }

  .recruitment-content {
    gap: 0;
  }
}

.recruitment-link {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  max-width: 320px;
  height: 64px;
  padding: 8px 64px 8px 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
  background-color: #fff;
  border-radius: 32px;
  text-decoration: none;
  position: relative;
  z-index: 10;
  flex-direction: row-reverse;
  padding: 8px 8px 8px 64px;
  transition: background-color 0.2s;
}

.recruitment-link:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.recruitment-view-more__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  aspect-ratio: 1;
  overflow: hidden;
  transition: transform 0.2s;
}

.recruitment-link:hover .recruitment-view-more__icon {
  transform: translateX(4px);
}

.recruitment-view-more__text {
  flex-shrink: 1;
  width: 100%;
  color: #185246;
}

.iconArrowRight {
  width: 32px;
  height: 32px;
}

@media (max-width: 767px) {
  .section-recruitment {
    padding: 4rem 0 5rem;
  }
}

/* Wide Image Section */
.section-wide-image {
  position: relative;
}

.wide-image-container {
  position: relative;
}

.wide-image {
  display: block;
  width: 100%;
}

.wide-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 1;
}

/* Grid Utilities */
.grid {
  display: grid;
}

.grid.lg\:grid-cols-2 {
  grid-template-columns: 1fr;
  gap: 3rem;
}

.grid.lg\:grid-cols-3 {
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* デスクトップ: スマホ用ボタンを非表示 */
.news-view-more-link--mobile {
  display: none !important;
}

@media (max-width: 767px) {
  /* デスクトップ用ボタンを非表示 */
  .news-view-more-link--desktop {
    display: none !important;
  }

  /* スマホ用ボタンを表示 */
  .news-view-more-link--mobile {
    display: flex !important;
    margin-top: 2rem;
  }

  .section-news .grid.lg\:grid-cols-3 {
    display: flex;
    flex-direction: column;
  }

  .section-news .lg\:col-span-2 {
    order: 2;
  }

  .news-right-column {
    order: 1;
    margin-bottom: 2rem;
  }
}

.lg\:col-span-2 {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .grid.lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .lg\:col-span-2 {
    grid-column: span 2;
  }
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: start;
}

/* Spacing */
.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.pr-8 {
  padding-right: 2rem;
}

.pl-8 {
  padding-left: 2rem;
}

.news-right-column {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

@media (min-width: 1024px) {
  .news-right-column {
    padding-left: 2rem;
  }
}

/* Text Center */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* Shadow */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Rounded */
.rounded-lg {
  border-radius: 0.5rem;
}

/* Object Fit */
.object-cover {
  object-fit: cover;
}

/* Overflow */
.overflow-x-auto {
  overflow-x: auto;
}

/* Space Y */
.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}
