
/* ==========================================
   AOシマくん 公式Xボタン
   ========================================== */

/* プロフィールカード */
.jo-staff-card--aoshima {
  display: flex;
  flex-direction: column;
}

/* Xリンクエリア */
.jo-staff-card--aoshima .jo-staff-social {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  width: 100%;
  min-width: 0;
  margin-top: auto;
  padding-top: 22px;
}

/* ==========================================
   「公式Xはこちら」見出し
   ========================================== */

.jo-staff-card--aoshima .jo-staff-social-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;

  color: #d31667;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;

  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 800;
  line-height: 1.6;
  white-space: nowrap;
  text-align: center;
}

/* 左右の飾り線 */
.jo-staff-card--aoshima .jo-staff-social-heading::before,
.jo-staff-card--aoshima .jo-staff-social-heading::after {
  content: "";
  flex: 1 1 0;
  min-width: 0;
  height: 1px;
  background: #e8abc3;
}

/* 左の斜線 */
.jo-staff-card--aoshima .jo-staff-social-heading span::before {
  content: "\\";
  display: inline-block;
  margin-right: 7px;
  font-weight: 400;
}

/* 右の斜線 */
.jo-staff-card--aoshima .jo-staff-social-heading span::after {
  content: "/";
  display: inline-block;
  margin-left: 7px;
  font-weight: 400;
}

/* ==========================================
   黒×ゴールド Xボタン
   ========================================== */

.jo-staff-card--aoshima .jo-staff-x-link {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 440px;
  margin-inline: auto;
  padding: 0;

  border: 0;
  border-radius: 999px;
  background: none;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  line-height: 0;
}

/* ボタン画像 */
.jo-staff-card--aoshima .jo-staff-x-link .jo-staff-x-banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;

  border: 0;
  object-fit: contain;
  filter: none;
  transform: none;
  transition: none;
}

/* ==========================================
   PCのみ ホバーアニメーション
   ========================================== */

@media (min-width: 920px) and (hover: hover) and (pointer: fine) {

  .jo-staff-card--aoshima .jo-staff-x-link .jo-staff-x-banner {
    transition:
      transform 0.25s ease,
      filter 0.25s ease;
  }

  .jo-staff-card--aoshima .jo-staff-x-link:hover .jo-staff-x-banner {
    transform: translateY(-1px);

    filter:
      brightness(1.08)
      drop-shadow(0 7px 12px rgba(110, 73, 8, 0.25));
  }
}

/* キーボード操作時のフォーカス */
.jo-staff-card--aoshima .jo-staff-x-link:focus-visible {
  outline: 3px solid #d31667;
  outline-offset: 4px;
}

/* ==========================================
   タブレット・スマートフォン
   ========================================== */

@media (max-width: 919px) {

  .jo-staff-card--aoshima .jo-staff-social-heading {
    font-size: 14px;
  }

  .jo-staff-card--aoshima .jo-staff-x-link .jo-staff-x-banner {
    transform: none;
    filter: none;
    transition: none;
  }
}

/* 動きを抑えるOS設定に対応 */
@media (prefers-reduced-motion: reduce) {

  .jo-staff-card--aoshima .jo-staff-x-link .jo-staff-x-banner {
    transition: none;
  }
}
