/* =================================
   会員企業CSS - member.css
================================= */

/* 会員企業情報セクション */
.member-info {
  background: var(--Linear, linear-gradient(180deg, #e3f2fd 0%, #f8fbff 100%));
  padding: 104px 0;
}

.member-info-container {
  border-radius: 16px;
  background: var(--bg-primary, #fff);
  box-shadow: 10px 10px 20px 0 rgba(74, 144, 226, 0.08);
  margin: 0 auto;
  padding: 80px 32px;
}

.member-info-name {
  color: var(--text-primary, #333);
  text-align: center;
  font-size: 48px;
}

.member-info-tag {
  display: inline-block;
  padding: 16px 32px;
  text-align: center;
  border-radius: 32px;
  background: var(
    --Linear4,
    linear-gradient(
      90deg,
      var(--edo-ai, #4a90e2) 0%,
      var(--hanada, #5dade2) 100%
    )
  );
  color: var(--text-inverse, #fff);
  font-size: 20px;
  font-weight: bold;
}

.member-info-leader {
  margin-top: 32px;
  color: var(--text-primary, #333);
  text-align: center;
  font-size: 32px;
  font-weight: bold;
}

.member-info-tag-wrapper {
  text-align: center;
  margin-top: 32px;
}

.member-info-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 80px;
}

.member-info-img-wrapper {
  width: 50%;
  height: 300px;
}

.member-info-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px 0 rgba(74, 123, 167, 0.08);
}

.member-info-table-wrapper {
  width: 50%;
}

.member-info-tr {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 1px solid var(--text-muted, #999);
}

.member-info-th,
.member-info-td {
  padding: 16px 0;
}

.member-info-th {
  min-width: 120px;
  text-align: left;
  font-weight: bold;
}

.member-info-table-text {
  margin-top: 32px;
}

/* インタビューセクション */
.member-interview {
  padding: 104px 0;
  position: relative;
}

.member-interview::before {
  content: "";
  width: 572px;
  height: 488px;
  background: url(../media/ring-top.png) center / cover;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}

.member-interview::after {
  content: "";
  width: 572px;
  height: 583px;
  background: url(../media/ring-bottom.png) center / cover;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.member-interview-circle {
  width: 375px;
  height: 510px;
  background: url(../media/circle.png) center / cover;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

.member-interview-question,
.member-interview-last {
  color: var(--text-primary, #333);
  font-size: 32px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 24px;
}

.member-interview-question::before,
.member-interview-last::before {
  content: "";
  width: 64px;
  height: 1px;
  background: var(--text-primary, #333);
  display: block;
}

.member-interview-answer {
  margin-top: 40px;
}

.member-interview-flex {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.member-interview-flex > .member-interview-answer {
  width: 45%;
  margin-top: 0;
}

.member-interview-img {
  width: 45%;
  flex-shrink: 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 480px) {
  .member-info {
    padding: 64px 16px;
  }

  .member-info-container {
    padding: 40px 16px;
  }

  .member-info-name {
    font-size: 24px;
  }

  .member-info-leader {
    font-size: 20px;
  }

  .member-info-tag {
    font-size: 16px;
  }

  .member-info-content {
    flex-direction: column;
  }

  .member-info-img-wrapper {
    width: 100%;
  }

  .member-info-table-wrapper {
    width: 100%;
  }

  .member-info-tr {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .member-info-td {
    padding-top: 0;
  }

  .member-interview-question {
    font-size: 20px;
  }

  .member-interview-flex {
    flex-direction: column;
    gap: 24px;
  }

  .member-interview-flex > .member-interview-answer {
    width: 100%;
  }

  .member-interview-img {
    width: 100%;
  }

  .member-interview-last {
    font-size: 20px;
  }
}

/* =================================
   会員企業カード - 最小構成（top.cssからコピー・簡略化）
   ※ 2024年追加: voice_listショートコード対応のため
================================= */

/* コンテナ制限 */
.member-interview-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.member-interview-slider {
  position: relative;
}

.member-interview-slider-container {
  overflow: hidden;
  position: relative;
  margin: 0 24px; /* 左右に余白を追加 */
  padding: 0 8px;
  touch-action: pan-y;
}

.member-interview-slider-track {
  display: flex;
  flex-wrap: nowrap; /* スライダーとして1行表示 */
  gap: 24px;
  padding: 10px 0;
  transition: transform 0.3s ease;
}

.member-interview-slider-track:active {
  cursor: grabbing;
}

/* カード部分 */
.member-interview-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex: 0 0 calc(33.333% - 16px); /* PCでは3枚表示 */
  max-width: calc(33.333% - 16px);
  margin-right: 0;
  transform-origin: center center;
}

.member-interview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.member-interview-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 画像部分 */
.member-interview-visual {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.member-interview-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.member-interview-card:hover .member-interview-visual img {
  transform: scale(1.08);
}

/* オーバーレイ */
.member-interview-visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.member-interview-card:hover .member-interview-visual::after {
  opacity: 1;
}

/* コンテンツ部分 */
.member-interview-info {
  padding: 24px;
  background: #ffffff;
}

.member-interview-company {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.member-interview-card:hover .member-interview-company {
  color: #2563eb;
}

.member-interview-name {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.member-interview-name::before {
  content: "";
  width: 4px;
  height: 4px;
  background: #3b82f6;
  border-radius: 50%;
}


/* レスポンシブ対応 */
@media (min-width: 1280px) {
  .member-interview-card {
    flex: 0 0 calc(33.333% - 16px); /* PCでは3枚表示に固定 */
    max-width: calc(33.333% - 16px);
  }
}

@media (max-width: 992px) {
  .member-interview-card {
    flex: 0 0 calc(50% - 12px); /* タブレットでは2枚表示 */
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .member-interview-slider-container {
    margin: 0 16px; /* スマホ版の余白を調整 */
  }

  .member-interview-card {
    flex: 0 0 calc(100% - 32px); /* SPでは1枚表示 */
    max-width: calc(100% - 32px);
  }

  .member-interview-visual {
    height: 180px;
  }

  .member-interview-info {
    padding: 20px;
  }

  .member-interview-company {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .member-interview-slider-container {
    margin: 0 8px; /* 小さいスマホでさらに余白を調整 */
  }
}

/* スライダーボタン */
.member-interview-slider-prev,
.member-interview-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.member-interview-slider-prev:hover,
.member-interview-slider-next:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transform: translateY(-50%) scale(1.1);
}

.member-interview-slider-prev:disabled,
.member-interview-slider-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.member-interview-slider-prev {
  left: -24px;
}

.member-interview-slider-next {
  right: -24px;
}

.member-interview-slider-prev svg,
.member-interview-slider-next svg {
  color: #666;
  transition: color 0.3s ease;
}

.member-interview-slider-prev:hover svg,
.member-interview-slider-next:hover svg {
  color: #4a90e2;
}

/* スマホでのボタン調整 */
@media (max-width: 768px) {
  .member-interview-slider-prev,
  .member-interview-slider-next {
    width: 40px;
    height: 40px;
  }

  .member-interview-slider-prev {
    left: -20px;
  }

  .member-interview-slider-next {
    right: -20px;
  }

  .member-interview-slider-prev svg,
  .member-interview-slider-next svg {
    width: 20px;
    height: 20px;
  }
}