@charset "UTF-8";
/* CSS Document */

:root {
  --brand: #E60039;
  /* 見出し・タブの基調色（お好みで変更） */
  --ink: #222;
  --muted: #666;
  --line: #000000;
  --bg: #fff;
  --pill: #fafafa;
  --radius: 4px;
  --radius-lg: 16px;
  --w: 1100px;
  /* 最大幅 */
  --subline: #B7B7B7;
  --en: "Poppins";
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
}
.a a.under-line {
    color: var(--brand);
    border-bottom: 2px solid var(--brand);
}

.second h1 {
  text-align: center;
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 100px;
  color: var(--brand);
  letter-spacing: .02em;
  font-weight: bold;
}

/* CONTENT */
.faq main section:not(.Head):not(.full) {
  padding: 0 0;
}

.faq main section:not(.Head):not(.full) {
  padding: 0;
}


/* カテゴリナビ（ページ内リンクの丸ボタン） */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0px auto 40px;
  padding-bottom: 20px;
  list-style: none;
}

.cat-nav li {
  width: calc(100% / 4 - 8px);
}

/*  ホバー */
.cat-nav a:hover {
  background: #F8B3C4;
}


.cat-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 20px 30px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform .1s ease, background .2s ease, border-color .2s ease;
  width: 100%;
}

.cat-nav a:before {
  position: absolute;
  content: '';
  right: 20px;
  display: block;
  width: 20px;
  /*幅*/
  height: 20px;
  /*どれだけデカくなってもはみ出ないであろう高さを指定*/
  background-image: url(../images/common/arrow-link.png);
  background-size: contain;
  background-repeat: no-repeat;
  /*画像を繰り返さない*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}


.cat-nav a:focus-visible {
  outline: 3px solid #b3e5fc;
}

/* セクション（カテゴリブロック） */
section.faq-section {
  margin-bottom: 40px;
  border: 2px solid var(--line);
  /* border-radius: var(--radius-lg); */
  overflow: hidden;
  background: #fff;
  scroll-margin-top: 80px;
  /* 固定ヘッダがある場合は調整 */
}

.faq-section>h2 {
  background: var(--brand);
  color: #fff;
padding: 20px 40px;
  font-weight: 700;
  font-size: clamp(20px, 4.5vw, 24px);
  text-align: center;
  border-bottom: 2px solid var(--line);
}

/* QAリスト（dl構造） */
.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  padding-bottom: 0;
}

.faq-list {
  margin: 0;
  padding: clamp(24px, 6vw, 40px);
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--subline);
}

.faq-item:last-child {
  border-bottom: none;
}

.q {
    padding-bottom: 10px;
}

.q,
.a {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
}

.q .label,
.a .label {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
}

.q .label {
  color: var(--brand);
  font-family: var(--en);
}

.a .label {
  color: var(--line);
}

.q .text {
  font-weight: 700;
  color: var(--brand);
}

.a .text {
  font-weight: bold;
}

/* 見やすさ微調整 */
.note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}






@media (max-width: 780px) {

  .cat-nav {
    margin-bottom: 0;
}


  .cat-nav li {
    width: calc(100% / 2 - 8px);
  }

  .cat-nav a {
    padding: 10px 20px;
  }

  .cat-nav a:before {
    right: 15px;
  }

}