/* ============================================
   Top Page Styles
   ============================================ */

/* ============================================
   Header Overrides
   ============================================ */

.btn--entry {
  background-color: #e53935;
  color: #fff;
}

.btn--entry:hover {
  background-color: #c62828;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.site-header__recruit-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-accent-green);
  border: 1px solid var(--color-accent-green);
  padding: 0.4em 1em;
  border-radius: var(--border-radius-sm);
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.site-header__recruit-link:hover {
  background-color: var(--color-accent-green);
  color: #fff;
}

@media (max-width: 767px) {
  .site-header__recruit-link {
    display: none;
  }
}

/* ============================================
   Main + Sidebar Layout
   ============================================ */

.top-layout {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.top-layout__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 1024px) {
  .top-layout__grid {
    grid-template-columns: 1fr 240px;
  }
}

/* ============================================
   Shared: Card Box
   ============================================ */

.card-box {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.card-box__heading {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: var(--font-size-lg);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.card-box__sub {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.section-single {
  margin-bottom: var(--space-xl);
}

.card-box__more {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-accent-green);
  font-weight: 500;
  transition: opacity 0.2s;
}

.card-box__more:hover {
  opacity: 0.7;
}

/* ============================================
   First View: Key Visual
   ============================================ */

.top-kv {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: var(--space-xl);
  background-color: #d0d0d0;
}

.top-kv__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-kv__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a5a4a 0%, #5a8a6a 40%, #3a6a50 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-kv__placeholder-text {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
  background: linear-gradient(160deg, #e6f4ef 0%, #f5fbf8 40%, #e8f5f0 100%);
  border-radius: var(--border-radius-md);
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.hero-section__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.hero-section__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

/* Role Cards */
.role-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
  .role-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  transition: box-shadow 0.2s, transform 0.2s;
}

.role-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.role-card__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--border-radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
}

.role-card__badge--green {
  background-color: var(--color-accent-green);
  color: #fff;
}

.role-card__badge--red {
  background-color: #e53935;
  color: #fff;
}

.role-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

.role-card__icon svg {
  width: 100%;
  height: 100%;
}

.role-card__title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.role-card__desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.role-card__link {
  font-size: var(--font-size-xs);
  color: var(--color-accent-green);
  font-weight: 500;
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.btn--outline-dark {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1.4em;
  font-size: var(--font-size-sm);
  font-weight: 500;
  border: 1px solid var(--color-primary-dark);
  border-radius: var(--border-radius-pill);
  color: var(--color-primary-dark);
  background: transparent;
  transition: background-color 0.2s, color 0.2s;
}

.btn--outline-dark:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
}

.btn--outline-green {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1.4em;
  font-size: var(--font-size-sm);
  font-weight: 500;
  border: 1px solid var(--color-accent-green);
  border-radius: var(--border-radius-pill);
  background: var(--color-accent-green);
  color: #fff;
  transition: background-color 0.2s;
}

.btn--outline-green:hover {
  background-color: var(--color-accent-green-hover);
}

/* ============================================
   Two Column Sections
   ============================================ */

.two-col-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 640px) {
  .two-col-section {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   NEWS
   ============================================ */

.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.news-list__item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-xs);
}

.news-list__item:last-child {
  border-bottom: none;
}

.news-list__link {
  display: flex;
  gap: var(--space-md);
  color: inherit;
  transition: color 0.2s;
}

.news-list__link:hover {
  color: var(--color-accent-green);
}

.news-list__item time {
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.news-list__item span {
  color: inherit;
  font-weight: 500;
}

/* ============================================
   ABOUT GALAXIA
   ============================================ */

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-list__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.about-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-list__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--color-accent-green);
}

.about-list__icon svg {
  width: 100%;
  height: 100%;
}

.about-list__text {
  flex: 1;
  min-width: 0;
}

.about-list__title {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: 2px;
}

.about-list__text p {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.about-list__link {
  flex-shrink: 0;
  font-size: var(--font-size-xs);
  color: var(--color-accent-green);
  font-weight: 500;
  white-space: nowrap;
  align-self: center;
}

/* ============================================
   CAREER Slider
   ============================================ */

.career-slider {
  position: relative;
}

.career-slider__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}

.career-slider__track::-webkit-scrollbar {
  display: none;
}

.career-card {
  flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

.career-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.career-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #2a4a3a 0%, #3a6a50 50%, #2a5040 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.career-card__thumb-label {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: var(--font-size-base);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
}

.career-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.career-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.career-card__cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-green);
  margin-bottom: var(--space-xs);
}

.career-card__title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-primary);
}

.career-card__desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.career-card__link {
  font-size: var(--font-size-xs);
  color: var(--color-accent-green);
  font-weight: 500;
}

/* Career Arrows */
.career-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.career-arrow:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-accent-green);
}

.career-arrow--prev {
  left: -14px;
}

.career-arrow--next {
  right: -14px;
}

@media (max-width: 639px) {
  .career-card {
    flex: 0 0 calc((100% - var(--space-md)) / 2);
  }
}

@media (min-width: 640px) {
  .career-card {
    flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
  }
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: background-color 0.2s;
}

.carousel-dot--active {
  background-color: var(--color-accent-green);
}

/* ============================================
   STORIES Slider
   ============================================ */

.stories-slider {
  position: relative;
}

.stories-slider__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}

.stories-slider__track::-webkit-scrollbar {
  display: none;
}

.stories-card {
  flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
  scroll-snap-align: start;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.stories-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.stories-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #b0bcc8, #cdd8e0);
}

.stories-card__thumb--biz {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e6f4ef 0%, #d4ece3 100%);
  position: relative;
}

/* Thumb label (shared pattern) */
.stories-card__thumb-label,
.people-card__thumb-label,
.values-card__thumb-label {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.3;
}

.stories-card__thumb-label {
  font-size: var(--font-size-sm);
  color: var(--color-accent-green);
}

.people-card__thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.people-card__thumb-label {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.values-card__thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.values-card__thumb-label {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  padding: 0 var(--space-sm);
}

.stories-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stories-card__body {
  padding: var(--space-md);
}

.stories-card__name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.stories-card__role {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Arrows */
.stories-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stories-arrow:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-accent-green);
}

.stories-arrow--prev {
  left: -14px;
}

.stories-arrow--next {
  right: -14px;
}

/* Responsive: show 2 cards on small screens */
@media (max-width: 639px) {
  .stories-card {
    flex: 0 0 calc((100% - var(--space-md)) / 2);
  }
}

/* Show 3 on wider */
@media (min-width: 640px) {
  .stories-card {
    flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
  }
}

/* ============================================
   PEOPLE Slider
   ============================================ */

.people-slider {
  position: relative;
}

.people-slider__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}

.people-slider__track::-webkit-scrollbar {
  display: none;
}

/* Card: vertical / portrait - 16:9 thumb standard */
.people-card {
  flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

.people-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* Thumb: 16:9 standard */
.people-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #b0bcc8, #cdd8e0);
}

.people-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.people-card__info {
  padding: var(--space-md);
}

.people-card__keyword {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-green);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xs);
}

.people-card__title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Arrows */
.people-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.people-arrow:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-accent-green);
}

.people-arrow--prev {
  left: -14px;
}

.people-arrow--next {
  right: -14px;
}

/* Responsive */
@media (max-width: 639px) {
  .people-card {
    flex: 0 0 calc((100% - var(--space-md)) / 2);
    min-height: 100px;
  }
}

@media (min-width: 640px) {
  .people-card {
    flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
  }
}

/* ============================================
   VALUES Slider
   ============================================ */

.values-slider {
  position: relative;
}

.values-slider__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}

.values-slider__track::-webkit-scrollbar {
  display: none;
}

/* Card: horizontal — thumb 40% left, text 60% right */
.values-card {
  flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: row;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 140px;
}

.values-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.values-card__thumb {
  flex: 0 0 40%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #b0bcc8, #cdd8e0);
}

.values-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-md);
  min-width: 0;
}

.values-card__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-green);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xs);
}

.values-card__title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.values-card__desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.values-card__link {
  font-size: var(--font-size-xs);
  color: var(--color-accent-green);
  font-weight: 500;
}

/* Arrows */
.values-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.values-arrow:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-accent-green);
}

.values-arrow--prev {
  left: -14px;
}

.values-arrow--next {
  right: -14px;
}

/* Responsive */
@media (max-width: 639px) {
  .values-card {
    flex: 0 0 calc(100% - var(--space-md));
  }
}

@media (min-width: 640px) {
  .values-card {
    flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
  }
}

/* ============================================
   MEMBER BLOG Slider
   ============================================ */

.member-slider {
  position: relative;
}

.member-slider__track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}

.member-slider__track::-webkit-scrollbar {
  display: none;
}

.member-slide {
  flex: 0 0 calc((100% - var(--space-lg) * 4) / 5);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--border-radius-md);
  transition: background-color 0.2s;
}

.member-slide:hover {
  background-color: var(--color-bg-light);
}

.member-slide__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c0c0c0, #e0e0e0);
  overflow: hidden;
}

.member-slide__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-slide__name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.member-slide__dept {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Arrows */
.member-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.member-arrow:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-accent-green);
}

.member-arrow--prev { left: -10px; }
.member-arrow--next { right: -10px; }

@media (max-width: 639px) {
  .member-slide {
    flex: 0 0 calc((100% - var(--space-lg) * 2) / 3);
  }
}

@media (min-width: 640px) {
  .member-slide {
    flex: 0 0 calc((100% - var(--space-lg) * 4) / 5);
  }
}

/* ============================================
   ENTRY GUIDE
   ============================================ */

.guide-grid,
.next-step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.guide-item,
.btn--ns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  height: 56px;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.guide-item {
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.guide-item:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-accent-green);
}

.guide-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent-green);
}

/* ============================================
   NEXT STEP
   ============================================ */

.btn--ns {
  font-weight: 700;
}

.btn--ns-red-fill {
  background-color: #e53935;
  color: #fff;
  border: 1px solid #e53935;
}
.btn--ns-red-fill:hover {
  background-color: #c62828;
  border-color: #c62828;
}

.btn--ns-red-outline {
  background-color: transparent;
  color: #e53935;
  border: 1px solid #e53935;
}
.btn--ns-red-outline:hover {
  background-color: #fef0f0;
}

.btn--ns-green-outline {
  background-color: transparent;
  color: var(--color-accent-green);
  border: 1px solid var(--color-accent-green);
}
.btn--ns-green-outline:hover {
  background-color: #f0f8f4;
}

/* ============================================
   Right Sidebar
   ============================================ */

.top-sidebar {
  display: none;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 1024px) {
  .top-sidebar {
    display: flex;
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
    max-height: calc(100vh - var(--header-height) - var(--space-2xl));
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.top-sidebar__box {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
}

.top-sidebar__heading {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: var(--font-size-base);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.top-sidebar__sub {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* Sidebar Nav List */
.sidebar-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sidebar-nav-list li {
  border-bottom: 1px solid var(--color-border);
}

.sidebar-nav-list li:last-child {
  border-bottom: none;
}

.sidebar-nav-list a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  transition: color 0.2s;
}

.sidebar-nav-list a:hover {
  color: var(--color-accent-green);
}

/* Popular Articles */
.popular-articles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.popular-articles__item {
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.popular-articles__item:last-child {
  border-bottom: none;
}

.popular-articles__title {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: 2px;
}

.popular-articles__views {
  font-size: 10px;
  color: var(--color-text-muted);
}

/* Internship */
.internship-thumb {
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, #c0c8d0, #dce4ea);
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-md);
}

.internship-desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.internship-btn {
  width: 100%;
  font-size: var(--font-size-xs);
}

/* Careers List */
.careers-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.careers-list__group {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-text-primary);
  padding: var(--space-sm) 0 var(--space-xs);
  margin-top: var(--space-sm);
}

.careers-list__group:first-child {
  margin-top: 0;
}

.careers-list a {
  display: block;
  padding: 3px 0 3px var(--space-sm);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  transition: color 0.2s;
}

.careers-list a:hover {
  color: var(--color-accent-green);
}

.sidebar-entry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: var(--space-lg);
  padding: 0.7em;
  font-size: var(--font-size-sm);
  font-weight: 700;
}
