@charset "UTF-8";

/* =========================================
   Research page
   ========================================= */

/* =========================================
   Four Step Flow
   ========================================= */
.four-step {
  padding: 96px 0;
  background: var(--c-bg);
}


.step-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.step-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;            /* グリッドトラック内で収縮させオーバーフロー防止 */
}

.step-col__tab {
  position: relative;
  padding: 16px 12px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  border-radius: 6px;
  line-height: 1.3;
}
.step-col__tab small {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .12em;
  opacity: .85;
  margin-top: 3px;
}
.step-col__tab--1 { background: var(--c-red-deep); }
.step-col__tab--2 { background: var(--c-red-dark); }
.step-col__tab--3 { background: var(--c-rose); }
.step-col__tab--4 { background: var(--c-hot-pink); }

.step-col__tab::after {
  content: "›";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 22px;
  font-weight: 700;
  color: var(--c-grey-300);
}
.step-col:last-child .step-col__tab::after { display: none; }

.step-col__sub {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.5;
  padding: 10px 4px;
}
.step-col__sub strong { color: var(--c-red); }

.step-col__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 8px;
  flex: 1;
}
.step-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--c-grey-90);
  border-radius: 6px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
.step-card__title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.35;
}
.step-card__title small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--c-grey-400);
  margin-top: 1px;
}
.step-card__desc {
  display: block;
  font-size: 10px;
  color: var(--c-grey-400);
  margin-top: 4px;
  line-height: 1.45;
}
.step-card__graph {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin-top: auto;
  border: 1px solid var(--c-grey-93);
  border-radius: 4px;
  background: #fff;
}
.step-card__desc { padding-bottom: 8px; }

@media (max-width: 1023px) {
  .step-flow { grid-template-columns: repeat(2, 1fr); }
  .step-col__tab::after { display: none; }
}
@media (max-width: 767px) {
  .four-step { padding: 64px 0; }
  .step-flow { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .step-card__desc { min-height: 0; }
}

/* =========================================
   Team profile
   ========================================= */
.team-profile {
  padding: 112px 0;
  background: var(--c-bg);
}

.team-lead {
  max-width: 1000px;
  margin-bottom: 64px;
}
.team-lead__head {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
  margin-bottom: 24px;
}
.team-lead__slash {
  color: var(--c-red);
  font-family: var(--font-en);
  font-weight: 600;
  margin-right: 10px;
}
.team-lead__text {
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: .05em;
  color: var(--c-grey-700);
}

.team-card {
  display: flex;
  align-items: stretch;
  width: calc(100% - 32px);
  margin-bottom: 64px;
  background: #fff;
  border: 1px solid var(--c-grey-90);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .15);
}
.team-card:nth-of-type(odd)  { margin-right: auto; }
.team-card:nth-of-type(even) { margin-left: auto; }
.team-card:last-of-type { margin-bottom: 0; }

.team-card__media {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.team-card__badge {
  color: var(--c-red-deep);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .027em;
  padding: 15px 20px 17px;
  border-bottom: 1px solid var(--c-grey-90);
}
.team-card__photo {
  flex: 1 1 auto;
  min-height: 362px;
  background: #eee;
  overflow: hidden;
}
.team-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* 旧 background-position を踏襲＝顔が切れにくい */
}

.team-card__body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}
.team-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team-card__name {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.2;
  letter-spacing: .027em;
}
.team-card__role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-grey-400);
  letter-spacing: .15em;
  line-height: 1.5;
}
.team-card__career {
  border-top: 1px solid var(--c-grey-90);
  padding-top: 17px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.team-card__career-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-grey-700);
  letter-spacing: .034em;
  line-height: 1.1;
}
.team-card__career-text {
  font-size: 12px;
  color: var(--c-grey-700);
  line-height: 1.85;
  letter-spacing: .053em;
}
.team-card__career-text p { margin: 0; }
.team-card__career-text p + p { margin-top: 1.85em; }
.team-card__career-text strong { font-weight: 700; }

@media (max-width: 1023px) {
  .team-card {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .team-card__media,
  .team-card__body { flex: 0 0 auto; }
  .team-card__photo { min-height: 320px; }
}
@media (max-width: 767px) {
  .team-profile { padding: 64px 0; }
  .team-lead__head { font-size: 18px; }
  .team-lead__text { font-size: 14px; }
  .step-col__sub { font-size: 14px; }
  .team-card__badge { font-size: 18px; padding: 14px 16px; }
  .team-card__name { font-size: 20px; }
  .team-card__body { padding: 20px; }
  .team-card__photo { min-height: 220px; }
}
