
/* =========================================================
   Preview / standalone fallback styles
   ========================================================= */
body.p-faq-preview {
  margin: 0;
  color: #1f2937;
  background: #f5f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

.p-faq-preview a { color: #0b5cad; }
.p-faq-preview .l-section { padding: 36px 0; }
.p-faq-preview .l-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.p-faq-preview .c-heading { margin: 0 0 20px; font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1.4; color: #0f2847; }
.p-faq-preview .c-section__content > p { margin: 0 0 16px; }
.p-faq-preview .c-list--nospace { margin: 0; padding-left: 1.25rem; }
.p-faq-preview .c-list--nospace li + li { margin-top: 12px; }
.p-faq-preview .u-text-bold { font-weight: 700; }

.p-faq-html { margin: 32px 0 56px; }
.p-faq-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid #dbe7f3;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f8fe 100%);
  box-shadow: 0 8px 28px rgba(15, 40, 71, 0.06);
}
.p-faq-hero__eyebrow {
  margin: 0 0 8px;
  color: #0b5cad;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.p-faq-hero__title { margin: 0 0 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.35; color: #0f2847; }
.p-faq-hero__lead { margin: 0 0 12px; font-size: 1.02rem; }
.p-faq-hero__note { margin: 0; color: #49566a; font-size: 0.95rem; }

.p-faq-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}
.p-faq-stats__item {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dbe7f3;
}
.p-faq-stats__label { display: block; margin: 0 0 6px; color: #5b6879; font-size: 0.86rem; }
.p-faq-stats__value { display: block; font-size: 1.04rem; color: #0f2847; line-height: 1.5; }

.p-faq-section-heading { margin: 0 0 16px; }
.p-faq-section-heading__title { margin: 0 0 6px; font-size: 1.25rem; color: #0f2847; }
.p-faq-section-heading__text { margin: 0; color: #586577; }

.p-faq-resource-overview, .p-faq-guide, .p-faq-related-files {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}
.p-faq-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.p-faq-resource-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  min-height: 210px;
  border: 1px solid #dbe7f3;
  border-radius: 14px;
  background: #fbfdff;
  color: #1f2937;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.p-faq-resource-card:hover,
.p-faq-resource-card:focus-visible {
  transform: translateY(-2px);
  border-color: #9dc1e6;
  box-shadow: 0 10px 24px rgba(15,40,71,.08);
}
.p-faq-resource-card--primary { background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%); }
.p-faq-resource-card__type {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf3fd;
  color: #0b5cad;
  font-size: 0.78rem;
  font-weight: 700;
}
.p-faq-resource-card__title { color: #0f2847; font-size: 1.05rem; line-height: 1.5; }
.p-faq-resource-card__meta { color: #5b6879; font-size: 0.85rem; }
.p-faq-resource-card__text { color: #364152; font-size: 0.93rem; }
.p-faq-resource-card__cta {
  margin-top: auto;
  font-weight: 700;
  color: #0b5cad;
}

.p-faq-guide__list {
  margin: 0;
  padding-left: 1.1rem;
}
.p-faq-guide__list li + li { margin-top: 8px; }

.p-faq-nav {
  margin: 24px 0 28px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}
.p-faq-nav__title { margin: 0 0 12px; font-weight: 700; color: #0f2847; }
.p-faq-nav__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-faq-nav__list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
  padding: 14px;
  border: 1px solid #dbe7f3;
  border-radius: 12px;
  background: #fbfdff;
  text-decoration: none;
}
.p-faq-nav__list a strong { color: #0f2847; line-height: 1.45; }
.p-faq-nav__list a span { color: #5b6879; font-size: 0.84rem; }
.p-faq-nav__list a:hover,
.p-faq-nav__list a:focus-visible { background: #f3f8fe; border-color: #a8c6e6; text-decoration: none; }

.p-faq-list { margin-top: 12px; }
.p-faq-category {
  margin-top: 34px;
  scroll-margin-top: 24px;
}
.p-faq-category__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-left: 6px solid #0b5cad;
  border-radius: 10px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
  color: #0f2847;
  font-size: 1.2rem;
  box-shadow: inset 0 0 0 1px #dde8f2;
}
.p-faq-category__count {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #49566a;
  font-size: 0.84rem;
  font-weight: 700;
}

.p-faq-item {
  margin: 12px 0;
  border: 1px solid #dde6ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(15,40,71,0.04);
  overflow: hidden;
}
.p-faq-item[open] { border-color: #a8c6e6; }
.p-faq-item__question {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 54px 18px 18px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}
.p-faq-item__question::-webkit-details-marker { display: none; }
.p-faq-item__question::marker { content: ""; }
.p-faq-item__question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eaf3fd;
  color: #0b5cad;
  font-size: 1.35rem;
  font-weight: 700;
}
.p-faq-item[open] .p-faq-item__question::after { content: "−"; }
.p-faq-item__question:focus-visible { outline: 3px solid #99c7f3; outline-offset: 2px; }
.p-faq-item__no {
  flex: 0 0 auto;
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0b5cad;
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}
.p-faq-item__text {
  flex: 1 1 auto;
  color: #0f2847;
  font-weight: 700;
  line-height: 1.7;
}
.p-faq-item__answer {
  padding: 18px;
  border-top: 1px solid #edf2f7;
  background: #fbfdff;
}
.p-faq-item__answer p { margin: 0 0 12px; }
.p-faq-item__answer p:last-of-type { margin-bottom: 0; }
.p-faq-item__audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.p-faq-item__audience span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eaf3fd;
  color: #0b5cad;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}
.p-faq-item__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8eef4;
}
.p-faq-item__meta div { display: block; }
.p-faq-item__meta dt { margin: 0 0 4px; color: #5b6879; font-size: 0.8rem; font-weight: 700; }
.p-faq-item__meta dd { margin: 0; color: #1f2937; font-size: 0.92rem; }

@media (max-width: 991px) {
  .p-faq-hero { grid-template-columns: 1fr; }
  .p-faq-resource-grid,
  .p-faq-nav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-faq-item__meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .p-faq-preview .l-container { width: min(100% - 24px, 1120px); }
  .p-faq-resource-overview, .p-faq-guide, .p-faq-related-files, .p-faq-nav { padding: 18px; }
  .p-faq-stats { grid-template-columns: 1fr 1fr; }
  .p-faq-resource-grid, .p-faq-nav__list { grid-template-columns: 1fr; }
  .p-faq-item__question { padding: 16px 52px 16px 14px; }
  .p-faq-item__question::after { right: 14px; width: 30px; height: 30px; }
  .p-faq-item__no { min-width: 46px; font-size: 0.9rem; }
  .p-faq-item__meta { grid-template-columns: 1fr; }
  .p-heading-link { display: block; }
  .p-heading-link a { display: inline-block; margin-bottom: 6px; }
  .p-heading-link span { display: block; margin-left: 0; margin-top: 4px; }
}

.p-heading-link{
  display: flex;
  align-items: center;
}

.p-heading-link a{
  text-decoration: none;
  margin-bottom: 7px;
  font-size: 1.4rem;
  font-weight: bold;
}

.p-heading-link span {
  font-size: 1rem;
  margin-left: 2rem;
}

.p-guideline-image {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.p-guideline-image a {
  display: flex;
  align-items: center;
  width: 48%;
}

.p-guideline-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =========================================================
   UR E26/27 FAQ HTML掲載用
   カテゴリ別アコーディオン＋カテゴリ目次＋対象者ラベル
   追記先：/hp/css/scope/activities/ur-e26e27.css
   ========================================================= */

.p-faq-html {
  margin: 32px 0 48px;
}

.p-faq-html__lead {
  padding: 24px;
  border: 1px solid #d9e4ef;
  border-radius: 8px;
  background: #f7fbff;
}

.p-faq-html__title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-faq-html__lead p {
  margin: 0 0 12px;
}

.p-faq-html__lead p:last-child {
  margin-bottom: 0;
}

.p-faq-html__notice {
  font-size: 0.92rem;
  color: #555;
}

.p-faq-html__download {
  margin-top: 16px;
}

.p-faq-html__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.p-faq-html__summary span {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  line-height: 1.5;
}

.p-faq-nav {
  margin: 20px 0 28px;
  padding: 18px;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  background: #fff;
}

.p-faq-nav__title {
  margin: 0 0 10px;
  font-weight: 700;
}

.p-faq-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-faq-nav__list a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #cfdce8;
  border-radius: 999px;
  background: #f7fbff;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.5;
}

.p-faq-nav__list a span {
  color: #555;
  font-size: 0.82rem;
}

.p-faq-nav__list a:hover,
.p-faq-nav__list a:focus-visible {
  background: #e8f2fb;
  text-decoration: underline;
}

.p-faq-list {
  margin-top: 24px;
}

.p-faq-category {
  margin-top: 36px;
  scroll-margin-top: 24px;
}

.p-faq-category:first-child {
  margin-top: 0;
}

.p-faq-category__title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-left: 5px solid #005bac;
  background: #f2f6fa;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-faq-category__count {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 400;
  color: #555;
}

.p-faq-item {
  margin: 10px 0;
  border: 1px solid #d9e0e8;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.p-faq-item[open] {
  border-color: #a9bfd8;
}

.p-faq-item__question {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px 46px 16px 18px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
}

.p-faq-item__question::-webkit-details-marker {
  display: none;
}

.p-faq-item__question::marker {
  content: "";
}

.p-faq-item__question:focus-visible {
  outline: 3px solid #99c7f3;
  outline-offset: 2px;
}

.p-faq-item__question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  font-size: 1.4rem;
  line-height: 1;
  color: #005bac;
}

.p-faq-item[open] .p-faq-item__question::after {
  content: "−";
}

.p-faq-item__no {
  flex: 0 0 auto;
  min-width: 3.2em;
  color: #005bac;
  font-weight: 700;
}

.p-faq-item__text {
  flex: 1 1 auto;
}

.p-faq-item__answer {
  padding: 16px 18px 18px 18px;
  border-top: 1px solid #edf1f5;
  line-height: 1.8;
}

.p-faq-item__answer p {
  margin: 16px 0 0;
}

.p-faq-item__answer p:first-child {
  margin-top: 0;
}

.p-faq-item__audience {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.p-faq-item__audience span {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid #cfdce8;
  border-radius: 999px;
  background: #f7fbff;
  font-size: 0.82rem;
  line-height: 1.4;
}

.p-faq-item__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 18px 0 0;
  padding: 12px;
  border-radius: 6px;
  background: #f7f7f7;
  font-size: 0.86rem;
}

.p-faq-item__meta div {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 8px;
}

.p-faq-item__meta dt {
  margin: 0;
  color: #555;
  font-weight: 700;
}

.p-faq-item__meta dd {
  margin: 0;
}

/* モバイル用スタイル */
@media screen and (max-width: 1200px) {
  .p-guideline-image {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .p-guideline-image a {
    max-width: 750px;
    width: 95%;
    margin: 0 auto;
    display: block;
  }

  .p-guideline-image a:nth-child(1) img {
    content: url("/hp/common_image/activities/cybersecurity/ur_e26_e27_002_01_m.png");
  }

  .p-guideline-image a:nth-child(2) img {
    content: url("/hp/common_image/activities/cybersecurity/ur_e26_e27_002_02_m.png");
  }

  .p-guideline-image--en a:nth-child(1) img {
    content: url("/hp/common_image/activities/cybersecurity/ur_e26_e27_004_01_m.png");
  }

  .p-guideline-image--en a:nth-child(2) img {
    content: url("/hp/common_image/activities/cybersecurity/ur_e26_e27_004_02_m.png");
  }
}

@media screen and (max-width: 767px) {
  .p-heading-link {
    display: block;
  }

  .p-heading-link a {
    display: inline-block;
    margin-bottom: 6px;
  }

  .p-heading-link span {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .p-faq-html__lead {
    padding: 18px;
  }

  .p-faq-nav {
    padding: 14px;
  }

  .p-faq-nav__list {
    display: block;
  }

  .p-faq-nav__list li {
    margin-top: 6px;
  }

  .p-faq-nav__list li:first-child {
    margin-top: 0;
  }

  .p-faq-nav__list a {
    display: flex;
    justify-content: space-between;
    border-radius: 6px;
  }

  .p-faq-category__title {
    display: block;
  }

  .p-faq-category__count {
    display: block;
    margin-top: 4px;
  }

  .p-faq-item__question {
    padding: 14px 42px 14px 14px;
  }

  .p-faq-item__answer {
    padding: 16px 14px 16px 14px;
  }

  .p-faq-item__meta {
    grid-template-columns: 1fr;
  }

  .p-faq-item__meta div {
    grid-template-columns: 4.5em 1fr;
  }
}


/* =========================================================
   Latest update: category-level accordion / update date / resource cards
   ========================================================= */

.p-faq-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.p-faq-nav__note {
  margin: -4px 0 14px;
  color: #586577;
  font-size: 0.92rem;
}

.p-faq-category {
  margin-top: 22px;
  border: 1px solid #dbe7f3;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 24px;
  box-shadow: 0 6px 18px rgba(15, 40, 71, 0.04);
}

.p-faq-category + .p-faq-category {
  margin-top: 18px;
}

.p-faq-category:first-child {
  margin-top: 0;
}

.p-faq-category__summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 58px 17px 18px;
  border-left: 6px solid #0b5cad;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
  color: #0f2847;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.p-faq-category__summary::-webkit-details-marker {
  display: none;
}

.p-faq-category__summary::marker {
  content: "";
}

.p-faq-category__summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid #cfdce8;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #0b5cad;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.p-faq-category[open] .p-faq-category__summary::after {
  content: "−";
}

.p-faq-category__summary:focus-visible {
  outline: 3px solid #99c7f3;
  outline-offset: 2px;
}

.p-faq-category__title-text {
  font-size: 1.16rem;
  line-height: 1.5;
}

.p-faq-category__count {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #49566a;
  font-size: 0.84rem;
  font-weight: 700;
}

.p-faq-category__body {
  padding: 14px 18px 18px;
  background: #fbfdff;
}

.p-faq-category__body .p-faq-item:first-child {
  margin-top: 0;
}

.p-faq-resource-card__cta::after {
  content: " →";
}

@media (max-width: 991px) {
  .p-faq-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .p-faq-stats {
    grid-template-columns: 1fr 1fr;
  }

  .p-faq-category__summary {
    display: block;
    padding: 15px 54px 15px 14px;
  }

  .p-faq-category__summary::after {
    right: 14px;
    width: 30px;
    height: 30px;
  }

  .p-faq-category__count {
    display: inline-block;
    margin-top: 6px;
  }

  .p-faq-category__body {
    padding: 12px;
  }
}



/* =========================================================
   UR E26/27 FAQ page search/filter controls
   File: /hp/css/scope/activities/ur-e26e27-faq.css
   ========================================================= */

.p-faq-back-link {
  margin: 0 0 20px;
}

.p-faq-back-link a {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
}

.p-faq-back-link a::before {
  content: "← ";
}

.p-faq-tools {
  margin: 24px 0 28px;
  padding: 22px;
  border: 1px solid #dbe7f3;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 40, 71, 0.05);
}

.p-faq-tools__head {
  margin-bottom: 16px;
}

.p-faq-tools__title {
  margin: 0 0 6px;
  color: #0f2847;
  font-size: 1.22rem;
  line-height: 1.5;
}

.p-faq-tools__text {
  margin: 0;
  color: #586577;
  font-size: 0.94rem;
}

.p-faq-tools__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 14px;
}

.p-faq-tools__field {
  display: block;
}

.p-faq-tools__field span {
  display: block;
  margin-bottom: 6px;
  color: #344154;
  font-size: 0.86rem;
  font-weight: 700;
}

.p-faq-tools__input,
.p-faq-tools__select {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #cfdce8;
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.p-faq-tools__input:focus,
.p-faq-tools__select:focus {
  outline: 3px solid #99c7f3;
  outline-offset: 1px;
  border-color: #0b5cad;
}

.p-faq-tools__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.p-faq-tools__result {
  margin: 0;
  color: #0f2847;
  font-weight: 700;
}

.p-faq-tools__reset {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #cfdce8;
  border-radius: 999px;
  background: #f7fbff;
  color: #0b5cad;
  font-weight: 700;
  cursor: pointer;
}

.p-faq-tools__reset:hover,
.p-faq-tools__reset:focus-visible {
  background: #eaf3fd;
}

.p-faq-category[hidden],
.p-faq-item[hidden] {
  display: none !important;
}

.p-faq-empty {
  margin: 20px 0 0;
  padding: 18px;
  border: 1px solid #dbe7f3;
  border-radius: 12px;
  background: #fff;
  color: #344154;
}

@media screen and (max-width: 991px) {
  .p-faq-tools__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 767px) {
  .p-faq-tools {
    padding: 18px;
  }

  .p-faq-tools__grid {
    grid-template-columns: 1fr;
  }

  .p-faq-tools__footer {
    display: block;
  }

  .p-faq-tools__reset {
    margin-top: 10px;
    width: 100%;
  }
}


/* =========================================================
   2026/7/6 request: open / close all accordions
   ========================================================= */

.p-faq-tools__grid {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.p-faq-tools__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.p-faq-tools__button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #0b5cad;
  border-radius: 999px;
  background: #0b5cad;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.5;
}

.p-faq-tools__button:hover,
.p-faq-tools__button:focus-visible {
  background: #084a8c;
}

.p-faq-tools__button--reset,
.p-faq-tools__reset {
  border-color: #cfdce8;
  background: #f7fbff;
  color: #0b5cad;
}

.p-faq-tools__button--reset:hover,
.p-faq-tools__button--reset:focus-visible,
.p-faq-tools__reset:hover,
.p-faq-tools__reset:focus-visible {
  background: #eaf3fd;
  color: #0b5cad;
}

@media screen and (max-width: 991px) {
  .p-faq-tools__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 767px) {
  .p-faq-tools__grid {
    grid-template-columns: 1fr;
  }

  .p-faq-tools__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .p-faq-tools__button {
    width: 100%;
  }
}


/* =========================================================
   2026/7/6 UI adjustment v2
   - 検索欄崩れ修正
   - カテゴリ目次装飾修正
   - Q番号文字色修正
   - ボタン文字色修正
   ========================================================= */

.p-faq-tools {
  box-sizing: border-box;
}

.p-faq-tools__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 14px;
  align-items: end;
}

.p-faq-tools__field {
  min-width: 0;
  width: 100%;
}

.p-faq-tools__input,
.p-faq-tools__select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #c8d8e8;
  border-radius: 10px;
  background-color: #fff;
}

.p-faq-tools__input {
  padding: 9px 12px;
}

.p-faq-tools__select {
  padding: 9px 36px 9px 12px;
}

.p-faq-tools__button,
.p-faq-tools__button:link,
.p-faq-tools__button:visited,
.p-faq-tools__button:hover,
.p-faq-tools__button:focus-visible {
  color: #fff !important;
}

.p-faq-tools__button--reset,
.p-faq-tools__button--reset:link,
.p-faq-tools__button--reset:visited,
.p-faq-tools__button--reset:hover,
.p-faq-tools__button--reset:focus-visible {
  color: #0b5cad !important;
}

.p-faq-nav {
  padding: 22px;
  border: 1px solid #dbe7f3;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 40, 71, 0.05);
}

.p-faq-nav__title {
  margin: 0 0 8px;
  color: #0f2847;
  font-size: 1.18rem;
  font-weight: 700;
}

.p-faq-nav__note {
  margin: 0 0 16px;
  color: #586577;
  font-size: 0.94rem;
}

.p-faq-nav__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px;
}

.p-faq-nav__list a {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid #c8d8e8;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  color: #0f2847;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 40, 71, 0.04);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}

.p-faq-nav__list a strong {
  color: #0b3b6f;
  font-weight: 700;
  line-height: 1.45;
}

.p-faq-nav__list a span {
  display: inline-block;
  margin-top: 6px;
  color: #586577;
  font-size: 0.9rem;
}

.p-faq-nav__list a:hover,
.p-faq-nav__list a:focus-visible {
  border-color: #0b5cad;
  background: #eef6ff;
  box-shadow: 0 8px 18px rgba(15, 40, 71, 0.08);
  transform: translateY(-1px);
  text-decoration: none;
}

.p-faq-item__no,
.p-faq-item__no:link,
.p-faq-item__no:visited {
  color: #fff !important;
}

.p-faq-item__question {
  align-items: flex-start;
}

.p-faq-item__text {
  padding-top: 2px;
}

@media screen and (max-width: 991px) {
  .p-faq-tools__grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .p-faq-nav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 767px) {
  .p-faq-tools__grid {
    grid-template-columns: 1fr !important;
  }

  .p-faq-nav__list {
    grid-template-columns: 1fr !important;
  }

  .p-faq-nav__list a {
    min-height: auto;
  }
}


/* =========================================================
   2026/7/6 UI adjustment v3
   - キーワード検索欄の横幅をカテゴリ・対象者と同じ幅に統一
   - 既存指定より後勝ちで反映させるため末尾に配置
   ========================================================= */

.p-faq-tools__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: end !important;
}

.p-faq-tools__field {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

.p-faq-tools__field[for="faqSearch"],
.p-faq-tools__field[for="faqCategoryFilter"],
.p-faq-tools__field[for="faqAudienceFilter"] {
  grid-column: auto !important;
}

#faqSearch,
#faqCategoryFilter,
#faqAudienceFilter,
.p-faq-tools__input,
.p-faq-tools__select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 991px) {
  .p-faq-tools__grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .p-faq-tools__field[for="faqSearch"] {
    grid-column: 1 / -1 !important;
  }
}

@media screen and (max-width: 767px) {
  .p-faq-tools__grid {
    grid-template-columns: 1fr !important;
  }

  .p-faq-tools__field[for="faqSearch"] {
    grid-column: auto !important;
  }
}
