/* 経営陣ページ専用スタイル（style.css から分割。page-management でのみ読み込み） */
/* ---------- Management Page ---------- */
@media (min-width: 600px) {
  .page-management .site-main {
    padding-top: 80px;
  }
}

.mgmt-contents {
  padding-bottom: 10px;
}

.mgmt-article-title {
  font: 700 24px/1.35 "Inter", "Noto Sans JP", sans-serif;
  color: #1e1e1e;
  margin-bottom: 40px;
}

.mgmt-members-group {
  margin-bottom: 64px;
}

.mgmt-members-group:last-of-type {
  margin-bottom: 0;
}

.mgmt-section-subtitle {
  font: 700 18px/1.6 "Inter", "Noto Sans JP", sans-serif;
  color: #1e1e1e;
  margin-bottom: 16px;
}

.mgmt-members-row {
  display: flex;
  gap: 24px 16px;
}

.mgmt-member-box {
  display: flex;
  flex-direction: column;
  width: calc((100% - 32px) / 3);
  flex-shrink: 0;
  border-radius: 20px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.mgmt-member-box:hover {
  opacity: 0.85;
}

.mgmt-member-photo-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 240px;
  overflow: hidden;
}

.mgmt-member-photo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  display: block;
}

.mgmt-member-info {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 24px;
  background: #f6f7fa;
  border-radius: 10px;
}

.mgmt-member-info-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mgmt-member-position {
  font: 400 16px/1.8 "Inter", "Noto Sans JP", sans-serif;
  margin: 0;
  color: #1e1e1e;
}

.mgmt-member-name {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  align-items: baseline;
}

.mgmt-member-name-kanji {
  font: 700 24px/1.35 "Inter", "Noto Sans JP", sans-serif;
  color: #1e1e1e;
}

.mgmt-member-name-kana {
  font: 400 11px/1.5 "Inter", "Noto Sans JP", sans-serif;
  color: #1e1e1e;
  word-break: keep-all;
}

.mgmt-member-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #1e1e1e;
}

.mgmt-member-name-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  max-width: calc((100% - 32px) / 3);
  border-radius: 10px;
  overflow: hidden;
}

.mgmt-member-name-card-inner {
  flex: 1;
  background: #f6f7fa;
  padding: 24px;
}

.mgmt-advisor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mgmt-advisor-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
}

.mgmt-advisor-card-inner {
  flex: 1;
  background: #f6f7fa;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 10px;
}

.mgmt-advisor-desc {
  font: 400 13px/1.5 "Inter", "Noto Sans JP", sans-serif;
  color: #1e1e1e;
}

.mgmt-related {
  padding-top: 48px;
  margin-top: 64px;
}

.mgmt-related-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.mgmt-related-heading {
  font: 700 18px/1.6 "Inter", "Noto Sans JP", sans-serif;
  color: #1e1e1e;
}

.mgmt-related-top-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 14px/1 "Inter", "Noto Sans JP", sans-serif;
  color: #302a2b;
  transition: opacity 0.2s;
}

.mgmt-related-top-link:hover {
  opacity: 0.7;
}

.mgmt-related-top-link .icon-circle {
  border-color: #f05064;
}

.mgmt-related-top-link .icon-circle .icon-chevron-right-small::before {
  border-color: #f05064;
}

.mgmt-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-management .strategy-related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 243px;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  padding: 32px;
}

.page-management .strategy-related-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.page-management .strategy-related-card:hover .strategy-related-card-bg {
  transform: scale(1.05);
}

.page-management .strategy-related-card-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.page-management .strategy-related-card-title {
  font: 700 24px/1.35 "Inter", "Noto Sans JP", sans-serif;
}

.page-management .strategy-related-card-en {
  font: 400 13px/1.5 "Inter", sans-serif;
}

.mgmt-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mgmt-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mgmt-modal {
  position: relative;
  width: 1020px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.mgmt-modal-overlay.is-active .mgmt-modal {
  transform: translateY(0);
}

.mgmt-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.mgmt-modal-close:hover {
  opacity: 0.6;
}

.mgmt-modal-body {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  width: 100%;
  overflow-y: auto;
}

.mgmt-modal-intro {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mgmt-modal-name-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mgmt-modal-position {
  font: 400 16px/1.8 "Inter", "Noto Sans JP", sans-serif;
  margin: 0;
  color: #1e1e1e;
}

.mgmt-modal-name {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  align-items: baseline;
}

.mgmt-modal-name-kanji {
  font: 700 24px/1.35 "Inter", "Noto Sans JP", sans-serif;
  color: #1e1e1e;
}

.mgmt-modal-name-kana {
  font: 400 13px/1.5 "Inter", "Noto Sans JP", sans-serif;
  color: #1e1e1e;
}

.mgmt-modal-name-romaji {
  font: 400 13px/1.5 "Inter", "Noto Sans JP", sans-serif;
  color: #6b6b6b;
  margin: 0;
  letter-spacing: 0.02em;
}

.mgmt-modal-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 400 14px/1.7 "Inter", "Noto Sans JP", sans-serif;
  color: #1e1e1e;
}

.mgmt-modal-summary-text {
  margin: 0;
}

.mgmt-modal-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 400 13px/1.5 "Inter", "Noto Sans JP", sans-serif;
  color: #1e1e1e;
}

.mgmt-modal-history-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.mgmt-modal-history-year {
  width: 80px;
  flex-shrink: 0;
  white-space: nowrap;
}

.mgmt-modal-history-desc {
  flex: 1;
  min-width: 0;
}

.mgmt-modal-photo-box {
  flex-shrink: 0;
}

.mgmt-modal-photo {
  width: 329px;
  height: 329px;
  object-fit: contain;
  display: block;
}

@media (max-width: 1279px) {
  .mgmt-member-photo-wrap {
    height: 200px;
  }

  .mgmt-member-photo {
    width: 200px;
    height: 200px;
  }

  .mgmt-member-name-kanji {
    font-size: 20px;
  }

  .mgmt-modal-photo {
    width: 280px;
    height: 280px;
  }

  .page-management .strategy-related-card {
    width: 193px;
    height: 120px;
  }
}

@media (max-width: 1079px) {
  .mgmt-contents {
    padding: 40px 16px 10px;
  }

  .mgmt-members-row {
    flex-wrap: wrap;
  }

  .mgmt-member-box {
    width: calc((100% - 16px) / 2);
  }

  .mgmt-advisor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mgmt-member-name-card {
    max-width: calc((100% - 16px) / 2);
  }

  .mgmt-modal {
    width: calc(100vw - 40px);
  }

  .mgmt-modal-body {
    flex-direction: column-reverse;
  }

  .mgmt-modal-photo {
    width: 240px;
    height: 240px;
  }

  .mgmt-modal-close {
    width: 48px;
    height: 48px;
  }

  .mgmt-modal-close svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 599px) {
  .mgmt-contents {
    padding: 80px 16px 10px;
  }

  .mgmt-article-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .mgmt-section-subtitle {
    font-size: 16px;
  }

  .mgmt-members-group {
    margin-bottom: 40px;
  }

  .mgmt-members-row {
    flex-direction: column;
  }

  .mgmt-member-box {
    width: 100%;
  }

  .mgmt-member-name-card {
    max-width: 100%;
    flex: none;
    width: 100%;
  }

  .mgmt-advisor-grid {
    grid-template-columns: 1fr;
  }

  .mgmt-member-name-kanji {
    font-size: 20px;
  }

  .mgmt-related {
    padding-top: 32px;
    margin-top: 40px;
  }

  .mgmt-related-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mgmt-related-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-management .strategy-related-card {
    width: calc(50% - 8px);
    height: 100px;
    padding: 24px;
  }

  .page-management .strategy-related-card-title {
    font-size: 20px;
  }

  .page-management .strategy-related-card-en {
    font-size: 11px;
  }

  .mgmt-modal {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 40px);
  }

  .mgmt-modal-body {
    padding: 20px;
    flex-direction: column-reverse;
    gap: 16px;
  }

  .mgmt-modal-photo {
    width: 200px;
    height: 200px;
  }

  .mgmt-modal-name-kanji {
    font-size: 20px;
  }

  .mgmt-modal-history-row {
    gap: 20px;
  }

  .mgmt-modal-history-year {
    width: 70px;
    font-size: 12px;
  }

  .mgmt-modal-history-desc {
    font-size: 12px;
  }

  .mgmt-modal-close {
    width: 40px;
    height: 40px;
  }

  .mgmt-modal-close svg {
    width: 20px;
    height: 20px;
  }
}


/* 経営陣カードのクリック挙動（旧WP本文の<style>から移設） */
/* 取締役カード: data-member 付きはクリック可、それ以外は非クリック */
.mgmt-member-box {
  cursor: default;
}
.mgmt-member-box:hover {
  opacity: 1;
}
.mgmt-member-box[data-member] {
  cursor: pointer;
}
.mgmt-member-box[data-member]:hover {
  opacity: 0.85;
}

/* 経営陣（7名）で折り返し */
.mgmt-members-row {
  flex-wrap: wrap;
}
