@charset "UTF-8";

/* ==========================================================================
   Atleta FAQ Detail (Renewal 2026)
   Design source: Figma node 15857:301514
   Scope: #renewal_2026_atleta_faq で完全に閉じる。
   ========================================================================== */

#renewal_2026_atleta_faq {
  background-color: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #101828;
  padding-bottom: 60px;
  overflow-x: clip; /* 100vwブリードによる横スクロール防止 */
}

#renewal_2026_atleta_faq *,
#renewal_2026_atleta_faq *::before,
#renewal_2026_atleta_faq *::after {
  box-sizing: border-box;
}

#renewal_2026_atleta_faq a {
  color: inherit;
  text-decoration: none;
}

#renewal_2026_atleta_faq ul,
#renewal_2026_atleta_faq ol,
#renewal_2026_atleta_faq li {
  margin: 0;
  padding: 24px 0;
  list-style: none;
}

/* ----- Breadcrumb ----- */
.p-afaq__breadcrumb {
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #99A1AF;
  overflow: hidden;
  white-space: nowrap;
}

.p-afaq__breadcrumb > a,
.p-afaq__breadcrumb > .p-afaq__breadcrumb-sep {
  flex-shrink: 0;
}

.p-afaq__breadcrumb a {
  color: #99A1AF;
  transition: opacity 0.2s;
}

.p-afaq__breadcrumb a:hover {
  opacity: 0.7;
}

.p-afaq__breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #99A1AF;
}

.p-afaq__breadcrumb-current {
  color: #101828;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ----- Hero (title + tags) ----- */
.p-afaq__hero {
  position: relative;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 950px;
  margin: 0 auto;
}

/* 背景だけを画面全幅にブリードさせる（テキストは950pxコンテナのまま） */
.p-afaq__hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background-color: #F9FAFB;
}

.p-afaq__hero-inner {
  position: relative;
  max-width: 950px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#renewal_2026_atleta_faq .p-afaq__hero-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 0.015em;
  color: #101828;
  margin: 0;
  padding: 0;
}

.p-afaq__hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ----- Category tag (color varies by parent category) ----- */
.p-afaq__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  background-color: #F3F4F6;
  color: #4A5568;
  transition: opacity 0.2s;
}

.p-afaq__tag:hover {
  opacity: 0.75;
}

#renewal_2026_atleta_faq a.p-afaq__tag.is-cat1 { background-color: #FFE5E5; color: #BE123C; }
#renewal_2026_atleta_faq a.p-afaq__tag.is-cat2 { background-color: #E6F7F5; color: #007A75; }
#renewal_2026_atleta_faq a.p-afaq__tag.is-cat3 { background-color: #FFF4D8; color: #92400E; }
#renewal_2026_atleta_faq a.p-afaq__tag.is-cat4 { background-color: #DBEAFE; color: #1D4ED8; }
#renewal_2026_atleta_faq a.p-afaq__tag.is-cat5 { background-color: #F3E8FF; color: #6B21A8; }
#renewal_2026_atleta_faq a.p-afaq__tag.is-cat6 { background-color: #E0E7FF; color: #3730A3; }

/* ----- Body layout ----- */
.p-afaq__container {
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.p-afaq__main {
  flex: 1;
  min-width: 0;
}

/* ----- Article body ----- */
.p-afaq__body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 2.0;
  color: #101828;
  word-break: break-word;
}

.p-afaq__body > * {
  margin: 0;
}

.p-afaq__body > * + * {
  margin-top: 24px;
}

.p-afaq__body p {
  font-size: 16px;
  line-height: 2.0;
  color: #101828;
}

.p-afaq__body h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.6;
  color: #101828;
  margin-top: 48px;
  padding-bottom: 12px;
  border-bottom: 2px solid #BE123C;
}

.p-afaq__body h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  color: #101828;
  margin-top: 40px;
}

.p-afaq__body h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: #101828;
  margin-top: 32px;
}

.p-afaq__body a {
  color: #BE123C;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.p-afaq__body a:hover {
  opacity: 0.7;
}

.p-afaq__body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 24px auto;
}

.p-afaq__body ul,
.p-afaq__body ol {
  padding-left: 1.5em;
}

.p-afaq__body ul { list-style: disc; }
.p-afaq__body ol { list-style: decimal; }

.p-afaq__body ul li,
.p-afaq__body ol li {
  list-style: inherit;
  margin-top: 8px;
  line-height: 2.0;
}

.p-afaq__body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background-color: #F9FAFB;
  border-left: 4px solid #BE123C;
  color: #4A5568;
  font-size: 15px;
  line-height: 1.8;
}

.p-afaq__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.p-afaq__body table th,
.p-afaq__body table td {
  border: 1px solid #E5E7EB;
  padding: 12px 16px;
  text-align: left;
}

.p-afaq__body table th {
  background-color: #F9FAFB;
  font-weight: 700;
}

.p-afaq__body iframe {
  max-width: 100%;
}

.p-afaq__body hr {
  border: 0;
  border-top: 1px solid #E5E7EB;
  margin: 32px 0;
}

/* ----- Sidebar ----- */
.p-afaq__sidebar {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Keyword search */
.p-afaq__search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background-color: #fff;
  border: 1px solid #D1D5DC;
  border-radius: 10px;
}

.p-afaq__sidebar .p-afaq__search {
  padding: 11px 16px 11px 4px;
}

#renewal_2026_atleta_faq .p-afaq__search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #101828;
  box-shadow: none;
  height: auto;
}

#renewal_2026_atleta_faq .p-afaq__search-input::placeholder {
  color: #ABABAB;
}

#renewal_2026_atleta_faq .p-afaq__search-submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #101828;
  cursor: pointer;
}

/* Sub navigation (accordion per parent category) */
.p-afaq__nav-group {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  background-color: #F9FAFB;
}

.p-afaq__nav-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #101828;
}

.p-afaq__nav-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 20px;
  color: #101828;
  transition: transform 0.2s ease;
}

.p-afaq__nav-group.is-open .p-afaq__nav-icon {
  transform: rotate(180deg);
}

.p-afaq__nav-title {
  flex: 1;
  min-width: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #101828;
  margin: 0;
}

//.p-afaq__nav-group.is-current .p-afaq__nav-title {
//  color: #BE123C;
//}

.p-afaq__nav-list {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding-left: 29px; /* icon 13px + gap 16px */
}

.p-afaq__nav-group.is-open .p-afaq__nav-list {
  display: flex;
}

.p-afaq__nav-link {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: #4A5568;
  transition: background-color 0.2s, color 0.2s;
}

.p-afaq__nav-link:hover {
  background-color: #F3F4F6;
  color: #101828;
}

.p-afaq__nav-link.is-current {
  background-color: #FFE5E5;
  color: #BE123C;
  font-weight: 500;
}

/* ----- SP: カテゴリ絞り込みプルダウン（PCでは非表示） ----- */
.p-afaq__mobile-filter {
  display: none;
  width: 100%;
}

#renewal_2026_atleta_faq .p-afaq__mobile-filter-select {
  width: 100%;
  height: 44px;
  padding: 12px 40px 12px 44px;
  background-color: #fff;
  border: 1px solid #D1D5DC;
  border-radius: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #333333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* 右: シェブロン / 左: 絞り込み（ファネル）アイコン */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1L5 5L9 1' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'><path d='M1.5 2.5h13l-5 5.8v4.4l-3 1.8V8.3z' stroke='%23333333' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat, no-repeat;
  background-position: right 16px center, left 16px center;
}

#renewal_2026_atleta_faq .p-afaq__mobile-filter-select:focus {
  outline: none;
  border-color: #D80C18;
}

/* ----- SP (Figma node 17338:230414) ----- */
@media screen and (max-width: 767px) {
  /* Hero: padding 32/16, タイトル20px、タグは折り返し gap8 */
  .p-afaq__hero {
    padding: 32px 16px;
  }

  #renewal_2026_atleta_faq .p-afaq__hero-title {
    font-size: 20px;
    line-height: 32px;
  }

  .p-afaq__hero-tags {
    gap: 8px;
  }

  .p-afaq__tag {
    white-space: normal;
  }

  /* 本文 → 検索 → 絞り込みプルダウンの縦並び */
  .p-afaq__container {
    flex-direction: column;
    padding: 24px 16px 40px;
    gap: 24px;
  }

  .p-afaq__body,
  .p-afaq__body p {
    font-size: 16px;
    line-height: 1.8;
    color: #364153;
  }

  .p-afaq__body h2 {
    font-size: 18px;
    margin-top: 32px;
  }

  .p-afaq__body h3 {
    font-size: 16px;
    margin-top: 28px;
  }

  .p-afaq__body > * + * {
    margin-top: 20px;
  }

  .p-afaq__sidebar {
    width: 100%;
    gap: 8px;
  }

  /* SP はアコーディオンではなくプルダウン */
  .p-afaq__nav-group {
    display: none;
  }

  .p-afaq__mobile-filter {
    display: block;
  }
}

/* ==========================================================================
   Atleta FAQ Category Archive (Renewal 2026)
   Design source: Figma node 15857:301385 (PC) / 17330:228362 (SP)
   Scope: #renewal_2026_atleta_faq.is-archive
   ========================================================================== */

/* ----- Hero ----- */
.is-archive .p-afaq__hero.-archive {
  padding: 80px 16px;
}

.is-archive .p-afaq__hero-inner {
  gap: 16px;
}

#renewal_2026_atleta_faq.is-archive .p-afaq__hero-title {
  font-size: 36px;
  line-height: 40px;
  text-align:center;
}

#renewal_2026_atleta_faq.is-archive .p-afaq__hero-lead {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #4A5565;
}

/* ----- Layout（PCは 本文 → サイドバー、SPは サイドバー → 本文） ----- */
.is-archive .p-afaq__container.-archive {
  padding: 40px 16px 0;
  align-items: flex-start;
}

.is-archive .p-afaq__container.-archive .p-afaq__main {
  order: 1;
}

.is-archive .p-afaq__container.-archive .p-afaq__sidebar {
  order: 2;
}

/* ----- カテゴリ見出し ----- */
#renewal_2026_atleta_faq.is-archive .p-afaqcat__title {
  margin: 0 0 8px;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #D80C18;
  border: 0;
}

/* ----- 質問リスト ----- */
.is-archive .p-afaqcat__list {
  display: block;
}

.is-archive .p-afaqcat__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid #F3F4F6;
}

.is-archive .p-afaqcat__item-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  transition: opacity 0.2s;
}

.is-archive .p-afaqcat__item-link:hover {
  opacity: 0.7;
}

#renewal_2026_atleta_faq.is-archive .p-afaqcat__item-title {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: #101828;
}

#renewal_2026_atleta_faq.is-archive .p-afaqcat__item-text {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #4A5565;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#renewal_2026_atleta_faq.is-archive .p-afaqcat__empty {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: #4A5565;
}

/* ----- SP ----- */
@media screen and (max-width: 767px) {
  .is-archive .p-afaq__hero.-archive {
    padding: 40px 16px;
  }

  #renewal_2026_atleta_faq.is-archive .p-afaq__hero-title {
    font-size: 28px;
    line-height: 40px;
  }

  .is-archive .p-afaq__container.-archive {
    flex-direction: column;
    padding: 24px 16px 40px;
    gap: 40px;
  }

  .is-archive .p-afaq__container.-archive .p-afaq__sidebar {
    order: 1;
    width: 100%;
  }

  .is-archive .p-afaq__container.-archive .p-afaq__main {
    order: 2;
    width: 100%;
  }

  /* SP はアコーディオンではなくプルダウンのみ */
  .is-archive .p-afaq__nav-group {
    display: none;
  }

  .is-archive .p-afaq__mobile-filter {
    display: block;
  }

  .is-archive .p-afaq__sidebar {
    gap: 8px;
  }

  #renewal_2026_atleta_faq.is-archive .p-afaqcat__title {
    font-size: 20px;
    line-height: 28px;
  }

  .is-archive .p-afaqcat__item {
    padding: 16px 0;
  }

  #renewal_2026_atleta_faq.is-archive .p-afaqcat__item-title {
    font-size: 16px;
    line-height: 28px;
  }
}

/* ==========================================================================
   Atleta FAQ TOP (Renewal 2026)
   Design source: Figma node 15857:301560 (PC) / 17235:293214 (SP)
   Scope: #renewal_2026_atleta_faq.is-top
   ========================================================================== */

/* ----- Hero ----- */
.is-top .p-afaq__hero.-archive {
  padding: 80px 16px;
}

.is-top .p-afaq__hero-inner {
  gap: 16px;
}

#renewal_2026_atleta_faq.is-top .p-afaq__hero-title {
  font-size: 36px;
  line-height: 40px;
  text-align: center;
}

.is-top .p-afaqtop {
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#renewal_2026_atleta_faq.is-top .u-sp-only {
  display: none;
}

/* ----- 検索ボックス ----- */
.is-top .p-afaqtop__search-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
  border-radius: 16px;
  background-color: #F9FAFB;
}

.is-top .p-afaqtop__search-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__search-title {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 40px;
  color: #101828;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__search-lead {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #101828;
}

.is-top .p-afaqtop__search {
  max-width: 688px;
}

/* ----- アカウント種別タブ ----- */
.is-top .p-afaqtop__persons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px;
  border: 2px solid transparent;
  border-radius: 16px;
  background-color: #F9FAFB;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__person:hover {
  background-color: #F3F4F6;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__person.is-current {
  background-color: #FFE5E5;
  border-color: #D80C18;
}

.is-top .p-afaqtop__person-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: #101828;
  text-align: center;
}

.is-top .p-afaqtop__person.is-current .p-afaqtop__person-label {
  color: #D80C18;
}

.is-top .p-afaqtop__person-img {
  display: block;
  width: 76px;
  height: 126px;
}

.is-top .p-afaqtop__person-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

/* ----- パネル ----- */
.is-top .p-afaqtop__panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.is-top .p-afaqtop__panel[hidden] {
  display: none;
}

.is-top .p-afaqtop__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__section-title {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #101828;
  border: 0;
}

.is-top .p-afaqtop__section-title-cat {
  color: #D80C18;
}

/* ----- よくある質問（後日実装のためデザインのみ） ----- */
#renewal_2026_atleta_faq.is-top .p-afaqtop__questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__question {
  margin: 0;
  padding: 0;
  border: 1px solid #D1D5DC;
  border-radius: 16px;
  background-color: #fff;
  overflow: hidden;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__question-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 16px 24px;
  text-decoration: none;
  transition: background-color 0.2s;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__question-link:hover {
  background-color: #F9FAFB;
}

.is-top .p-afaqtop__question-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: #101828;
}

.is-top .p-afaqtop__question-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 20px;
  height: 20px;
}

/* ----- 使い方ガイド ----- */
#renewal_2026_atleta_faq.is-top .p-afaqtop__guides {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__guide {
  margin: 0;
  padding: 0;
}

.is-top .p-afaqtop__guide-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  height: 100%;
  padding: 16px;
  border: 1px solid #D1D5DC;
  border-radius: 16px;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.is-top .p-afaqtop__guide-link:hover {
  border-color: #D80C18;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}

.is-top .p-afaqtop__guide-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.is-top .p-afaqtop__guide-head {
  display: flex;
  align-items: center;
  gap: 4px;
}

.is-top .p-afaqtop__guide-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.is-top .p-afaqtop__guide-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.is-top .p-afaqtop__guide-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: #101828;
}

.is-top .p-afaqtop__guide-comment {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 25px;
  color: #666666;
  white-space: pre-line; /* 説明文の改行をそのまま活かす */
}

.is-top .p-afaqtop__guide-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 8px;
  padding-right: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #101828;
}

/* ----- 下部バナー ----- */
#renewal_2026_atleta_faq.is-top .p-afaqtop__banners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 0;
}

#renewal_2026_atleta_faq.is-top .p-afaqtop__banner {
  margin: 0;
  padding: 0;
}

.is-top .p-afaqtop__banner a {
  display: block;
  padding: 0;
  transition: opacity 0.2s;
}

.is-top .p-afaqtop__banner a:hover {
  opacity: 0.8;
}

.is-top .p-afaqtop__banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- SP ----- */
@media screen and (max-width: 767px) {
  #renewal_2026_atleta_faq.is-top .u-sp-only {
    display: inline;
  }

  .is-top .p-afaq__hero.-archive {
    padding: 40px 16px;
  }

  #renewal_2026_atleta_faq.is-top .p-afaq__hero-title {
    font-size: 28px;
    line-height: 40px;
  }

  .is-top .p-afaqtop {
    padding: 24px 16px 40px;
    gap: 24px;
  }

  .is-top .p-afaqtop__search-box {
    padding: 40px 24px;
  }

  #renewal_2026_atleta_faq.is-top .p-afaqtop__search-title {
    font-size: 20px;
    line-height: 28px;
  }

  #renewal_2026_atleta_faq.is-top .p-afaqtop__search-lead {
    font-size: 14px;
    line-height: 26px;
  }

  .is-top .p-afaqtop__persons {
    gap: 8px;
  }

  #renewal_2026_atleta_faq.is-top .p-afaqtop__person {
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 8px;
    padding: 8px;
    border-width: 1px;
    border-radius: 8px;
  }

  #renewal_2026_atleta_faq.is-top .p-afaqtop__person.is-current {
    background-color: #fff;
  }

  .is-top .p-afaqtop__person-label {
    font-size: 14px;
    line-height: 17px;
  }

  .is-top .p-afaqtop__person-img {
    width: 60px;
    height: 56px;
  }

  .is-top .p-afaqtop__panel {
    gap: 24px;
  }

  #renewal_2026_atleta_faq.is-top .p-afaqtop__section-title {
    font-size: 18px;
    line-height: 26px;
  }

  #renewal_2026_atleta_faq.is-top .p-afaqtop__questions {
    grid-template-columns: minmax(0, 1fr);
  }

  #renewal_2026_atleta_faq.is-top .p-afaqtop__question-link {
    padding: 12px 16px;
  }

  #renewal_2026_atleta_faq.is-top .p-afaqtop__guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .is-top .p-afaqtop__guide-link {
    padding: 12px 8px;
  }
  
  .is-top .p-afaqtop__question-text {
    font-size: 14px;
    line-height: 26px;
  }

  #renewal_2026_atleta_faq.is-top .p-afaqtop__banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .is-top .p-afaqtop__guide-title {
    font-size: 14px;
    line-height: 26px;
  }
  .is-top .p-afaqtop__guide-comment {
    font-size: 12px;
    line-height: 22px;
  }
  .is-top .p-afaqtop__guide-more {
    font-size: 12px;
    line-height: 18px;
  }
}

/* ==========================================================================
   Pagination（atleta_letters_category と同じ仕様）
   atleta_letters.css は FAQ 側では読み込まれないため、スコープを付けて複製。
   ========================================================================== */

#renewal_2026_atleta_faq .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
  margin: 0 auto;
}

#renewal_2026_atleta_faq .pagination a,
#renewal_2026_atleta_faq .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#renewal_2026_atleta_faq .pagination a.page-numbers {
  background: #FFF;
  border: 1px solid #999;
  border-radius: 6px;
}

#renewal_2026_atleta_faq .pagination a.page-numbers:hover {
  background: #DFDFDF;
}

#renewal_2026_atleta_faq .pagination span.current {
  background: #999;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
}

#renewal_2026_atleta_faq .pagination .dots {
  background: transparent;
  color: #666;
  pointer-events: none;
}

#renewal_2026_atleta_faq .pagination a.next,
#renewal_2026_atleta_faq .pagination a.prev {
  background: #D3293B;
  border-radius: 50%;
  border: 1px solid #D3293B;
  color: #fff;
  font-size: 32px;
  line-height: 0.8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 5px;
}

#renewal_2026_atleta_faq .pagination a.next:hover,
#renewal_2026_atleta_faq .pagination a.prev:hover {
  background: #000;
  border: 1px solid #000;
}

/* 先頭ページ（＜の直後の番号） */
#renewal_2026_atleta_faq .pagination a.prev + a.page-numbers {
  display: none;
}

/* 末尾ページ（＞の直前の番号） */
#renewal_2026_atleta_faq .pagination a.page-numbers:has(+ a.next) {
  display: none;
}

/* ==================================================
   ロール（親カテゴリ）を限定した検索
   ================================================== */

/* トップ：種別タブの上の見出し */
#renewal_2026_atleta_faq.is-top .p-afaqtop__search-title {
  width: 100%;
  text-align: center;
}

/* トップ：使い方ガイドの上に置く検索ボックス */
#renewal_2026_atleta_faq.is-top .p-afaqtop__search-lead {
  text-align: center;
}

/* ロール別の配色（検索結果のタグ .p-afaq__tag.is-catN と同じ値） */
#renewal_2026_atleta_faq .p-afaq__search-role.is-cat1,
#renewal_2026_atleta_faq .p-afaqcat__role.is-cat1 { background-color: #FFE5E5; color: #BE123C; font-size: 9px;}
#renewal_2026_atleta_faq .p-afaq__search-role.is-cat2,
#renewal_2026_atleta_faq .p-afaqcat__role.is-cat2 { background-color: #E6F7F5; color: #007A75; }
#renewal_2026_atleta_faq .p-afaq__search-role.is-cat3,
#renewal_2026_atleta_faq .p-afaqcat__role.is-cat3 { background-color: #FFF4D8; color: #92400E; }
#renewal_2026_atleta_faq .p-afaq__search-role.is-cat4,
#renewal_2026_atleta_faq .p-afaqcat__role.is-cat4 { background-color: #DBEAFE; color: #1D4ED8; }
#renewal_2026_atleta_faq .p-afaq__search-role.is-cat5,
#renewal_2026_atleta_faq .p-afaqcat__role.is-cat5 { background-color: #F3E8FF; color: #6B21A8; }
#renewal_2026_atleta_faq .p-afaq__search-role.is-cat6,
#renewal_2026_atleta_faq .p-afaqcat__role.is-cat6 { background-color: #E0E7FF; color: #3730A3; }

/* 検索窓の左に表示する「いま選択されているロール」 */
#renewal_2026_atleta_faq .p-afaq__search-role {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  max-width: 45%;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 検索結果：どのロールで検索しているかの明示 */
#renewal_2026_atleta_faq.is-archive .p-afaqcat__role {
  display: inline-flex;
  align-items: center;
  margin: 12px 0 20px;
  padding: 2px 10px;
  border-radius: 999px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
}

@media screen and (max-width: 768px) {
  #renewal_2026_atleta_faq .p-afaq__search-role {
    max-width: 40%;
    padding: 2px 8px;
    font-size: 12px;
  }

  #renewal_2026_atleta_faq.is-archive .p-afaqcat__role {
    font-size: 13px;
    line-height: 20px;
  }
}
