@charset "UTF-8";
/* クリエイターエージェント（archive-agent.php / single-agent.php）
   1rem = デザイン上の10px（PC 1366px / SP 375px 基準） */

/* ページ見出し：「クリエイターエージェント」がSPで折り返さないよう縮める（agent.cssはこのページだけで読み込む） */
@media (max-width: 767px) {
  .c-pagehead__title {
    font-size: 2.6rem;
  }
}

/* ==========================================================
   一覧
   ========================================================== */
.agent-list {
  padding-bottom: 8rem;
}
@media (max-width: 767px) {
  .agent-list {
    padding-bottom: 6rem;
  }
}

.agent-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  margin: 3rem 0 5.5rem;
}
@media (max-width: 767px) {
  .agent-intro {
    flex-direction: column;
    gap: 2.5rem;
    margin: 1rem 0 4rem;
  }
}
.agent-intro__lead {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 2;
}
@media (max-width: 767px) {
  .agent-intro__lead {
    font-size: 1.6rem;
    line-height: 1.875;
  }
}
.agent-intro__logo {
  flex-shrink: 0;
  width: 27.4rem;
  height: auto;
}
@media (max-width: 767px) {
  .agent-intro__logo {
    width: 20rem;
  }
}

.agent-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem 1.6rem;
}
@media (max-width: 767px) {
  .agent-card-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.agent-card {
  position: relative;
  display: block;
  aspect-ratio: 365 / 500;
  border-radius: 2rem;
  overflow: hidden;
  background-color: #fff;
  color: var(--color-black);
  text-decoration: none;
}
.agent-card__deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: currentColor;
  color: #ccc;
  transition: color 0.4s;
}
.agent-card__image {
  position: absolute;
  inset: 0;
}
.agent-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
  transition: filter 0.4s;
}
/* マウスを乗せたときの写真（任意）：一覧用写真の上に重ねてフェードで切り替える */
.agent-card__image .agent-card__image-hover {
  position: absolute;
  inset: 0;
  filter: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.agent-card__role {
  position: absolute;
  top: 0;
  left: 2.5rem;
  writing-mode: vertical-rl;
  padding: 0.7rem 0;
  width: 2.7rem;
  background-color: var(--color-blue);
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 2.7rem;
}
@media (max-width: 767px) {
  .agent-card__role {
    left: 2rem;
    width: 2.5rem;
    font-size: 1.5rem;
    line-height: 2.5rem;
  }
}
.agent-card__body {
  position: absolute;
  left: 2.5rem;
  right: 6rem;
  bottom: 3rem;
}
@media (max-width: 767px) {
  .agent-card__body {
    left: 2rem;
    right: 5.4rem;
    bottom: 2.5rem;
  }
}
.agent-card__name {
  display: inline-block;
  padding: 0 1.3rem;
  background-color: var(--color-black);
  color: #fff;
  font-family: var(--font-sp);
  font-size: 3.2rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  line-height: 4.5rem;
}
@media (max-width: 767px) {
  .agent-card__name {
    font-size: 2.8rem;
    line-height: 4rem;
  }
}
/* 表示上の1行ごとに白い枠を付ける（自動で折り返した行も別の枠になる）
   行の高さ4.2rem＝枠3.2rem＋行間1rem */
.agent-card__message {
  margin-top: 1.5rem;
  margin-bottom: -0.5rem;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 4.2rem;
}
.agent-card__message span {
  padding: 0.15rem 1rem;
  border: 1px solid #707070;
  background-color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 767px) {
  .agent-card__message {
    margin-top: 1.1rem;
    font-size: 1.7rem;
    line-height: 3.6rem;
  }
  .agent-card__message span {
    padding: 0.1rem 0.9rem;
  }
}
.agent-card__more {
  position: absolute;
  right: 2.5rem;
  bottom: 3rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-yellow);
  transition: transform 0.4s;
}
.agent-card__more svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.9rem;
  height: 1.3rem;
  color: var(--color-black);
}
@media (max-width: 767px) {
  .agent-card__more {
    right: 2rem;
    bottom: 2.5rem;
    width: 3.6rem;
    height: 3.6rem;
  }
}
.agent-card:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}
.agent-card:focus-visible .agent-card__deco {
  color: var(--color-yellow);
}
.agent-card:not(.agent-card--has-hover):focus-visible .agent-card__image img,
.agent-card--has-hover:focus-visible .agent-card__image-hover {
  filter: none;
  opacity: 1;
}
@media (hover: hover) {
  .agent-card:hover .agent-card__deco {
    color: var(--color-yellow);
  }
  .agent-card:not(.agent-card--has-hover):hover .agent-card__image img {
    filter: none;
  }
  .agent-card--has-hover:hover .agent-card__image-hover {
    opacity: 1;
  }
  .agent-card:hover .agent-card__more {
    transform: translateX(0.5rem);
  }
}

/* ==========================================================
   詳細：プロフィール
   ========================================================== */
.agent-detail {
  padding-bottom: 9rem;
}
@media (max-width: 767px) {
  .agent-detail {
    padding-bottom: 6rem;
  }
}
.agent-detail__illust {
  position: absolute;
  top: -2.5rem;
  right: -6.5rem;
  z-index: 1;
  width: 12.8rem;
  height: auto;
}
@media (max-width: 767px) {
  .agent-detail__illust {
    top: -8.5rem;
    right: 1.5rem;
    width: 6.4rem;
  }
}

.agent-profile {
  display: grid;
  grid-template-columns: 31.5rem 1fr;
  align-items: center;
  gap: 6.2rem;
  padding: 3rem 2.9rem;
  border-radius: 2rem;
  background-color: #fff;
}
@media (max-width: 767px) {
  .agent-profile {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 1.5rem 1.5rem 3rem;
  }
}
.agent-profile__image {
  aspect-ratio: 315 / 322;
  overflow: hidden;
  background-color: #f2f2f2;
}
.agent-profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.agent-profile__body {
  padding-right: 5rem;
}
@media (max-width: 767px) {
  .agent-profile__body {
    padding: 0 0.5rem;
  }
}
.agent-profile__role {
  font-size: 2rem;
  font-weight: bold;
  line-height: 3rem;
}
@media (max-width: 767px) {
  .agent-profile__role {
    font-size: 1.6rem;
    line-height: 2.4rem;
  }
}
.agent-profile__name {
  margin-top: 1.5rem;
  font-family: var(--font-sp);
  font-size: 5.6rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.agent-profile__name span {
  margin-left: 0.6rem;
  font-size: 4rem;
}
@media (max-width: 767px) {
  .agent-profile__name {
    margin-top: 1rem;
    font-size: 3.6rem;
  }
  .agent-profile__name span {
    margin-left: 0.4rem;
    font-size: 2.4rem;
  }
}
.agent-profile__text {
  margin-top: 2.4rem;
  font-size: 1.6rem;
  line-height: 2.1875;
}
@media (max-width: 767px) {
  .agent-profile__text {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.8;
  }
}
.agent-profile__sns {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.8rem;
}
.agent-profile__sns-title {
  font-size: 1.6rem;
  font-weight: bold;
}
@media (max-width: 767px) {
  .agent-profile__sns-title {
    font-size: 1.4rem;
  }
}
.agent-profile__sns-link {
  position: relative;
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background-color: var(--color-blue);
  color: #fff;
  transition: opacity 0.4s;
}
.agent-profile__sns-link svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.6rem;
  height: 1.6rem;
}
@media (hover: hover) {
  .agent-profile__sns-link:hover {
    opacity: 0.7;
  }
}

.agent-detail__button {
  margin: 6rem auto 0;
}
@media (max-width: 767px) {
  .agent-detail__button {
    margin-top: 4rem;
  }
}

/* ==========================================================
   詳細：経歴
   ========================================================== */
.agent-career__title {
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 6rem;
  background-image: linear-gradient(to right, var(--color-black) 4px, transparent 4px);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  background-position: left bottom;
}
@media (max-width: 767px) {
  .agent-career__title {
    font-size: 2.4rem;
    line-height: 4.5rem;
  }
}

.agent-career__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 6rem;
  margin-top: 5rem;
  padding: 2rem 3rem;
  min-height: 9.4rem;
  border-radius: 2rem;
  background-color: #fff;
}
@media (max-width: 767px) {
  .agent-career__nav {
    gap: 1.5rem 2.5rem;
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    min-height: 0;
  }
}
.agent-career__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--color-black);
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
}
@media (max-width: 767px) {
  .agent-career__nav-link {
    gap: 0.8rem;
    font-size: 1.6rem;
  }
}
.agent-career__nav-icon {
  position: relative;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background-color: var(--color-yellow);
  transition: transform 0.4s;
}
.agent-career__nav-icon svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.7rem;
  height: 1rem;
  color: var(--color-black);
  rotate: 90deg;
}
@media (max-width: 767px) {
  .agent-career__nav-icon {
    width: 2rem;
    height: 2rem;
  }
}
@media (hover: hover) {
  .agent-career__nav-link:hover .agent-career__nav-icon {
    transform: translateY(0.3rem);
  }
}

.agent-career__body {
  margin-top: 8.6rem;
}
@media (max-width: 767px) {
  .agent-career__body {
    margin-top: 5rem;
  }
}
.agent-career__body > :first-child {
  margin-top: 0;
}
.agent-career__heading {
  position: relative;
  margin: 10.6rem 0 3.8rem;
  padding-left: 1.4rem;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 2.5rem;
}
.agent-career__heading::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto 0;
  width: 0.4rem;
  height: 2.5rem;
  background-color: var(--color-yellow);
}
@media (max-width: 767px) {
  .agent-career__heading {
    margin: 6rem 0 1.5rem;
    padding-left: 1.2rem;
    font-size: 2rem;
  }
  .agent-career__heading::before {
    height: 2rem;
  }
}

.agent-career__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1.6rem;
  text-align: left;
}
.agent-career__table th,
.agent-career__table td {
  padding: 0 2rem 0 0;
  border: none;
  vertical-align: middle;
  word-break: break-word;
}
.agent-career__table thead th {
  padding-top: 0.5rem;
  padding-bottom: 2.6rem;
  border-bottom: 2px solid var(--color-black);
  font-weight: bold;
  line-height: 3rem;
}
.agent-career__table thead th:nth-child(1) {
  width: 49.8rem;
}
.agent-career__table thead th:nth-child(2) {
  width: 16.8rem;
}
.agent-career__table thead th:nth-child(3) {
  width: 17.9rem;
}
.agent-career__table th:first-child,
.agent-career__table td:first-child {
  padding-left: 6.3rem;
}
.agent-career__table tbody tr {
  background-image: linear-gradient(to right, var(--color-black) 4px, transparent 4px);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  background-position: left bottom;
}
.agent-career__table tbody td,
.agent-career__table tbody th {
  padding-top: 2.7rem;
  padding-bottom: 2.7rem;
  font-weight: normal;
  line-height: 3rem;
}
@media (max-width: 767px) {
  .agent-career__table,
  .agent-career__table tbody,
  .agent-career__table tr,
  .agent-career__table td,
  .agent-career__table tbody th {
    display: block;
    width: 100%;
  }
  .agent-career__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .agent-career__table tbody {
    border-top: 2px solid var(--color-black);
  }
  .agent-career__table tbody tr {
    padding: 1.6rem 0 1.8rem;
  }
  .agent-career__table tbody td,
  .agent-career__table tbody th {
    display: flex;
    gap: 1rem;
    padding: 0;
    font-size: 1.3rem;
    line-height: 2.2rem;
  }
  .agent-career__table th:first-child,
  .agent-career__table td:first-child {
    padding-left: 0;
  }
  .agent-career__table tbody td:first-child,
  .agent-career__table tbody th:first-child {
    margin-bottom: 0.6rem;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 2.4rem;
  }
  .agent-career__table tbody td:not(:first-child)::before,
  .agent-career__table tbody th:not(:first-child)::before {
    content: attr(data-label);
    flex-shrink: 0;
    width: 3em;
    color: #777;
    font-weight: bold;
  }
  .agent-career__table tbody td:empty {
    display: none;
  }
}

/* ==========================================================
   詳細：下部CTA
   ========================================================== */
.agent-footer-cta {
  margin-top: 10rem;
}
.agent-footer-cta__inner {
  padding: 10rem 0;
  border-top: 2px solid #d1d1d1;
}
@media (max-width: 767px) {
  .agent-footer-cta {
    margin-top: 6rem;
  }
  .agent-footer-cta__inner {
    padding: 6rem 0;
  }
}
