@charset "UTF-8";
/***** Normalize.css *****/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/***** Base *****/
* {
  box-sizing: border-box;
}

body {
  background-color: #FFFFFF;
  color: rgba(28, 30, 33, 1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) {
  body > main {
    min-height: 65vh;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  margin-top: 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

h4 {
  font-size: 16px;
}

a {
  color: rgba(0, 95, 63, 1);
  text-decoration: none;
}
a:hover, a:active, a:focus {
  text-decoration: underline;
}

.hbs-form input,
.hbs-form textarea, .search input,
.search textarea {
  color: #000;
  font-size: 14px;
}
.hbs-form input, .search input {
  max-width: 100%;
  box-sizing: border-box;
  transition: border 0.12s ease-in-out;
  /* We use the :where selector to not increase the specificity of the selector */
}
.hbs-form input:where(:not([type=checkbox])), .search input:where(:not([type=checkbox])) {
  outline: none;
}
.hbs-form input:where(:not([type=checkbox])):focus, .search input:where(:not([type=checkbox])):focus {
  border: 1px solid rgba(0, 135, 90, 1);
}
.hbs-form input[disabled], .search input[disabled] {
  background-color: #ddd;
}
.hbs-form select, .search select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23CCC' d='M0 0h10L5 6 0 0z'/%3E%3C/svg%3E%0A") no-repeat #fff;
  background-position: right 10px center;
  border: 1px solid #848F99;
  border-radius: 4px;
  padding: 8px 30px 8px 10px;
  outline: none;
  color: #555;
  width: 100%;
}
.hbs-form select:focus, .search select:focus {
  border: 1px solid rgba(0, 135, 90, 1);
}
.hbs-form select::-ms-expand, .search select::-ms-expand {
  display: none;
}
.hbs-form textarea, .search textarea {
  border: 1px solid #848F99;
  border-radius: 2px;
  resize: vertical;
  width: 100%;
  outline: none;
  padding: 10px;
}
.hbs-form textarea:focus, .search textarea:focus {
  border: 1px solid rgba(0, 135, 90, 1);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}
@media (min-width: 1160px) {
  .container {
    padding: 0;
    width: 90%;
  }
}

.container-divider {
  border-top: 1px solid #ddd;
  margin-bottom: 20px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.error-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}
@media (min-width: 1160px) {
  .error-page {
    padding: 0;
    width: 90%;
  }
}

.visibility-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* ========================================
  SGPマルペイ FAQ CSS
======================================== */

:root {
  --primary-darkest: #004832;
  --primary-darker: #005f3f;
  --primary: #00875a;
  --primary-dark: #007a51;
  --primary-light: #009463;
  --primary-accent: #B3D056;
  --black-text: #1c1e21;
  --border-gray: #e2e8f0;
  --gray-300: #dadde1;
  --yellow-100: #fffddd;
  --white: #fff;
  --font: 'Noto Sans JP', sans-serif;
}

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

html, body {
  font-size: 62.5%;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--black-text);
  scroll-behavior: smooth;
}
body {
  font-size: 1.4rem;
  background: var(--white);
}
body.sgp-top {
  background: linear-gradient(95deg, #f6f9ea 7.31%, #f0f9f6 92.97%);
}
a:hover {
  opacity: 0.7;
}
table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-gray);
  margin: 16px 0px;
}
table th,
table td {
  border: 1px solid var(--border-gray);
  padding: 8px 16px;
}
table th {
  background: #f5f6f7;
}
.sgp-breadcrumb a:visited,
.sgp-article-section a:visited{
  color: var(--primary-darker);
}
/* ヘッダー */
.sgp-header {
  position: fixed;
  top: 29px;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px 16px 40px;
}

.sgp-header__logo img {
  width: 270px;
  display: block;
}

.sgp-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sgp-header__nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.4rem;
  color: var(--primary-darkest);
  text-decoration: none;
  white-space: nowrap;
}

.sgp-header__nav-link:hover {
  text-decoration: underline;
}

/* ヒーローセクション */
.sgp-hero {
  background: linear-gradient(to bottom, #fff calc(100% - 150px), transparent calc(100% - 150px));
  padding: 100px 40px 0;
}

.sgp-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 57px;
  position: relative;
  z-index: 1;
  padding-bottom: 64px;
}

/* タイトル */
.sgp-hero__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sgp-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary);
}

.sgp-hero__breadcrumb-arrow {
  flex-shrink: 0;
}

.sgp-hero__heading {
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--primary-darkest);
  margin: 0;
  line-height: 1.5;
}

/* 検索バー */
.sgp-hero__search-wrap {
  display: flex;
  justify-content: center;
}

.sgp-hero__search {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--primary-darker);
  border-radius: 12px;
  width: 640px;
  max-width: 100%;
  height: 50px;
  overflow: hidden;
}

.sgp-hero__search-icon {
  flex-shrink: 0;
  margin: 0 4px 0 12px;
}

.sgp-hero__search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 1.6rem;
  color: var(--black-text);
  background: transparent;
  min-width: 0;
}

.sgp-hero__search-input::placeholder { color: #8d949e; }

.sgp-hero__search-btn {
  flex-shrink: 0;
  height: 50px;
  padding: 0 24px;
  background: var(--primary-darker);
  border: none;
  border-left: 1px solid rgba(0,89,184,0.25);
  color: var(--white);
  font-family: var(--font);
  font-size: 1.6rem;
  cursor: pointer;
  white-space: nowrap;
}

.sgp-hero__search-btn:hover {
  opacity:0.7;
}

/* インナーリンクカード */
.sgp-hero__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.sgp-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 28px 16px 24px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 16px;
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.sgp-hero-card:hover {
  border: 1px solid rgba(0,135,90,0.25);
  box-shadow: 0 6px 16px rgba(0,135,90,0.15);
  opacity:1.0;
  text-decoration: none;
}
.sgp-hero-card:hover img,.sgp-hero-card:hover span{
  opacity:0.7;
}

.sgp-hero-card__img-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sgp-hero-card__icon {
  height: 43px;
  width: auto;
  object-fit: contain;
}

.sgp-hero-card__logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  max-width: 200px;
}
.sgp-hero-card__logo--smbc {
  height: 48px;
}

.sgp-hero-card__label {
  font-size: 1.4rem;
  color: var(--primary-dark);
  text-align: center;
  line-height: 1.5;
}

/* メインコンテンツ */
.sgp-main {
  padding: 40px 32px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
}

/* ホワイトカード */
.sgp-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 4px rgba(218,221,225,0.3);
  /* 内部コンテンツが常に1000px確保されるよう、余白を比率で算出 */
  padding: 72px max(24px, calc((100% - 1000px) / 2));
}

.sgp-card__header {
  text-align: center;
  margin-bottom: 72px;
}
.sgp-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 0;
}
.sgp-card__logo img {
  height: 32px;
  width: auto;
}
.sgp-card__logo--pack {
  flex-direction: column;
  gap: 20px;
}
.sgp-card__logo .sgp-card__pack-icon {
  height: 51px;
  width: auto;
}
.sgp-card__pack-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.sgp-card__logo--tap {
  flex-direction: column;
  gap: 20px;
}
.sgp-card__logo .sgp-card__tap-icon {
  height: 51px;
  width: auto;
}
.sgp-card__tap-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.sgp-card__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #231815;
  margin: 0;
}
.sgp-card__title--center { text-align: center; }

/* セクション見出し */
.sgp-section { margin-bottom: 0; }
.sgp-section + .sgp-section { margin-top: 40px; }

.sgp-section__heading {
  display: flex;
  align-items: center;
  border-left: 4px solid var(--primary-darker);
  padding-left: 20px;
  height: 32px;
  margin-bottom: 32px;
}
.sgp-section__heading h2 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--primary-darkest);
  margin: 0;
  white-space: nowrap;
}

/* お知らせバナー */
.sgp-notice-banner {
  background: var(--yellow-100);
  border-radius: 12px;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  text-decoration: underline var(--primary-light);
}
.sgp-notice-banner__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.sgp-notice-banner__text {
  font-size: 1.6rem;
  color: var(--primary-darkest);
  white-space: nowrap;
}

/* 重要なお知らせ */
.sgp-news-box {
  border: 1px solid var(--primary-light);
  border-radius: 12px;
  padding: 20px 32px 24px 32px;
}
.sgp-news-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sgp-news-box__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.sgp-news-box__more {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-gray);
  border-radius: 30px;
  padding: 6px 13px 6px 21px;
  font-size: 1.4rem;
  color: var(--black-text);
  text-decoration: none;
  white-space: nowrap;
}
/* 重要なお知らせ「もっと見る」ボタン：矢印を下向きに */
.sgp-news-box__more svg {
  transform: rotate(90deg);
}
.sgp-news-box__more:hover { background: #f5f5f5; }
.sgp-news-list {display: flex;flex-direction: column;gap: 12px;padding-left: 0px;margin: 0px;}
.sgp-news-item {
  display: flex;
  align-items: center;
  gap: 24px;
}
.sgp-news-item__date {
  font-size: 1.6rem;
  color: var(--primary-darker);
  white-space: nowrap;
}
.sgp-news-item__link {
  font-size: 1.6rem;
  color: var(--primary-darker);
  text-decoration: none;
  white-space: normal;
  word-break: break-all;
  flex: 1;
  min-width: 0;
}
.sgp-news-item__link:hover { text-decoration: underline; }

/* よく見られているご質問 - アイコンカード */
.sgp-quicklinks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.sgp-quicklink-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 16px;
  width: 100%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.sgp-quicklink-card:hover { 
  box-shadow: 0 4px 12px rgba(0,95,63,0.12); 
  text-decoration: none;
}
.sgp-quicklink-card__icon {
  width: 47px;
  height: 47px;
  object-fit: contain;
}
.sgp-quicklink-card__label {
  font-size: 1.6rem;
  color: var(--black-text);
  text-align: center;
}

/* FAQリンクリスト */
.sgp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sgp-faq-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.sgp-faq-item__arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 12px solid var(--primary-accent);
  margin-left: 2px;
}
.sgp-faq-item__text {
  font-size: 1.6rem;
  color: var(--primary-darker);
  line-height: 1.5;
}
.sgp-faq-item:hover .sgp-faq-item__text { text-decoration: underline; }

/* 目的から探す - グリッド */
.sgp-purpose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 23px;
}
.sgp-purpose-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  font-size: 1.6rem;
  color: var(--black-text) !important;
  text-align: center;
  text-decoration: none;
  padding: 0 24px 0 12px;
  cursor: pointer;
  transition: box-shadow 0.2s;
  line-height: 1.2;
}
.sgp-purpose-btn:hover {
  box-shadow: 0 2px 8px rgba(0,95,63,0.1);
  text-decoration: none;
}
.sgp-purpose-btn__arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 決済手段グリッド */
.sgp-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
}
.sgp-payment-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 74px;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.sgp-payment-card:hover { 
  box-shadow: 0 2px 8px rgba(0,95,63,0.1); 
  text-decoration: none;
}
.sgp-payment-card--extra {
  display: none;
}
.sgp-payment-grid.is-expanded .sgp-payment-card--extra {
  display: flex;
}
.sgp-payment-card__label {
  font-size: 1.6rem;
  color: var(--black-text);
}
.sgp-payment-card__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sgp-payment-card__img {
  height: 70px;
  width: 146px;
  object-fit: contain;
}
.sgp-payment-card__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.sgp-payment-more {
  text-align: right;
  margin-top: 0;
  max-width: 1000px;
  margin-top: 24px;
}
.sgp-payment-more a {
  font-size: 1.4rem;
  color: var(--primary-dark);
  text-decoration: underline;
}
.sgp-payment-more--close {
  display: none;
}

/* カテゴリグリッド（3列） */
.sgp-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sgp-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 20px 25px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.sgp-cat-card:hover {
  box-shadow: 0 2px 8px rgba(0,95,63,0.1);
  opacity: 0.7;
  text-decoration: none;
}
.sgp-cat-card__icon {
  height: 64px;
  object-fit: contain;
}
.sgp-cat-card__label {
  font-size: 1.6rem;
  color: var(--black-text);
  text-align: center;
  white-space: nowrap;
}

/* フッター */
.sgp-footer {
  background: var(--white);
  text-align: center;
  padding: 24px 40px;
}
.sgp-footer__copy {
  font-size: 1.2rem;
  color: #777;
  margin: 0;
}

/* アイコンSVG */
.icon-chevron-right {
  display: inline-block;
  width: 5px;
  height: 9px;
}
.icon-chevron-right path {
  stroke: currentColor;
}

/* スクリーンリーダー向け */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
/* ========================================
  レスポンシブ（1000px以下）
======================================== */
@media (max-width: 1000px) {
  /* メインコンテンツ：余白縮小・幅100% */
  .sgp-main {
    padding: 24px 16px 40px;
    max-width: 100%;
  }

  /* カード：横パディング縮小 */
  .sgp-card {
    padding: 40px 20px;
    border-radius: 12px;
  }

  .sgp-card__header {
    margin-bottom: 40px;
  }

  .sgp-card__title {
    font-size: 1.8rem;
  }

  /* ヒーロー */
  .sgp-hero {
    min-height: 200px;
    padding: 100px 36px 60px;
  }

  .sgp-hero__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .sgp-hero-card {
    min-width: 0;
  }

  .sgp-hero__title {
    font-size: 2.2rem;
  }

  /* 検索バー：幅100% */
  .sgp-search-wrap {
    padding: 16px 16px 0;
    margin-top: -20px;
  }

  .sgp-search {
    width: 100%;
  }

  /* セクション間隔 */
  .sgp-section + .sgp-section {
    margin-top: 32px;
  }

  /* お知らせバナー：テキスト折り返し許可 */
  .sgp-notice-banner {
    height: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
  }

  .sgp-notice-banner__text {
    white-space: normal;
  }

  /* ニュースアイテム：縦並び */
  .sgp-news-item {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .sgp-news-item__date,
  .sgp-news-item__link {
    white-space: normal;
    font-size: 1.4rem;
  }
  
  /* stera pack / stera tap 見出し：縦並び */
  .sgp-card__pack-heading,
  .sgp-card__tap-heading {
    flex-direction: column;
    gap: 12px;
  }
  .sgp-card__logo .sgp-card__pack-heading img,
  .sgp-card__logo .sgp-card__tap-heading img {
    max-width: 100%;
    height: 28px;
  }

  /* クイックリンク：2列グリッドに変更 */
  .sgp-quicklinks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
  }

  .sgp-quicklink-card {
    width: 100%;
    height: auto;
    padding: 20px 16px;
    min-height: 120px;
  }

  /* 目的から探すグリッド：2列 */
  .sgp-purpose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sgp-purpose-btn {
    font-size: 1.4rem;
    height: auto;
    min-height: 48px;
    padding: 10px 36px 10px 12px;
    white-space: normal;
    text-align: left;
  }

  /* 決済手段グリッド：1列 */
  .sgp-payment-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }
  
  /* カテゴリグリッド：2列 */
  .sgp-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .sgp-cat-card {
    min-width: 0;
    padding: 16px 12px;
    gap: 8px;
  }
  .sgp-cat-card__icon {
    height: 48px;
    max-width: 100%;
  }
  .sgp-cat-card__label {
    font-size: 1.4rem;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }

  /* FAQリスト */
  .sgp-faq-list {
    max-width: 100%;
  }

  .sgp-faq-item__text {
    font-size: 1.4rem;
  }

  /* ロゴ */
  .sgp-card__logo {
    flex-direction: column;
    gap: 12px;
  }

  .sgp-card__logo .sgp-card__pack-icon {
    height: 51px;
  }
}

/* ========================================
  レスポンシブ（768px以下）：ヘッダーtop 0
======================================== */
@media (max-width: 768px) {
  .sgp-hero__inner {
    gap: 40px;
    padding-bottom: 32px;
  }
  .sgp-header {
    top: 9.6vw;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px 10px;
    height: 74px;
  }
  .sgp-hero {
    min-height: 200px;
    padding: 24px 24px 0px;
    padding-top: 48px;
  }
  .sgp-hero__heading {
    font-size: 2.5rem;
  }

  .sgp-header__logo img {
    width: 220px;
  }

  .sgp-header__nav {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
  }

  body {
    padding-top: 9.6vw;
  }

  .sgp-hero__cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .sgp-hero-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    min-height: auto;
    padding: 16px 24px;
  }

  .sgp-hero-card__img-wrap {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }
  .sgp-hero-card__icon {
    height: 32px;
    width: auto;
  }
  .sgp-hero-card__logo {
    height: 16px;
  }
  .sgp-hero-card__logo--smbc {
    height: 24px;
  }

  .sgp-hero-card__label {
    flex: 1;
    text-align: right;
  }
}

@media (max-width: 480px) {
  .sgp-hero-card {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .sgp-hero-card__label {
    width: 100%;
    text-align: center;
  }
}
/* ========================================
  カテゴリページ専用スタイル
======================================== */
/* カテゴリページ検索バー */
body.sgp-cat-page{
  padding-top: 64px;
}
.sgp-searchbar {
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: 82px; */
  padding: 16px 32px 16px 40px;
  background: linear-gradient(35.83deg, #f6f9ea 7.31%, #f0f9f6 92.97%);
}

.sgp-searchbar__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.sgp-searchbar__brand:hover {
  text-decoration: none;
}

.sgp-searchbar__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sgp-searchbar__badge-title {
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary);
}

.sgp-searchbar__title {
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary-darkest);
  line-height: 48px;
  white-space: nowrap;
}

/* カテゴリページメインコンテンツ */
.sgp-cat-main {
  padding: 32px 24px 60px 24px;
  margin-top: 64px;
}

/* コンテナ（カテゴリページ） */
.sgp-container--cat {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0 0 0;
}

/* パンくずリスト */
.sgp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.sgp-breadcrumb__link {
  color: var(--primary-darker);
  text-decoration: none;
}

.sgp-breadcrumb__link:hover {
  text-decoration: underline;
}

.sgp-breadcrumb__current {
  color: var(--text);
}

/* 2カラムレイアウト */
.sgp-cat-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* サイドバー */
.sgp-sidebar {
  width: 220px;
  flex-shrink: 0;
  border: 1px solid var(--gray-300);
  padding: 16px;
  border-radius: 10px;
}

.sgp-sidebar__section-title {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--primary-darkest);
  margin: 0 0 8px 0;
  padding: 8px 0;
}

.sgp-sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 0;
}

.sgp-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--black-text);
  text-decoration: none;
}

.sgp-sidebar__link--active {
  font-weight: 700;
}

.sgp-sidebar__link:hover {
  opacity: 0.7;
}

.sgp-sidebar__link:visited {
  color: var(--black-text);
  text-decoration: none;
}

.sgp-sidebar__divider {
  border: none;
  border-top: 1px solid var(--gray-300);
  margin: 16px 0;
}

/* コンテンツエリア */
.sgp-cat-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* ページタイトル（左ボーダー） */
.sgp-page-title {
  padding: 8px 0px;
}

.sgp-page-title__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  border-left: 4px solid var(--primary-darker);
  padding-left: 20px;
  height: 32px;
}

.sgp-page-title__text {
  font-size: 2rem;
  font-weight: 400;
  color: var(--primary-darkest);
  margin: 0;
  white-space: nowrap;
}

/* 中カテゴリセクション */
.sgp-mid-cat {
  border: 1px solid var(--border, #d9d9d9);
  border-radius: 10px;
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sgp-mid-cat--plain {
  border: none;
  border-radius: 0;
  padding: 0 0 24px;
  display: block;
  gap: 0;
}

/* 中カテゴリヘッド */
.sgp-mid-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.sgp-mid-cat__head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sgp-mid-cat__title {
  font-size: 1.8rem;
  color: var(--black-text);
  white-space: nowrap;
}

/* 小カテゴリリスト */
.sgp-small-cat-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.sgp-small-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--gray-300);
  text-decoration: none;
  font-size: 1.8rem;
  color: var(--black-text);
}

.sgp-small-cat-item:hover {
  opacity: 0.7;
}

/* FAQ記事リスト（中カテゴリ直下） */
.sgp-article-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0;
}

/* 区切り線 */
.sgp-mid-cat-divider {
  border: none;
  border-top: 1px solid var(--gray-300);
  margin: 0 0 0 0;
}

/* すべて表示ボタン */
.sgp-show-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 30px;
  padding: 6px 14px 6px 28px;
  font-size: 1.4rem;
  font-family: var(--font);
  color: var(--black-text);
  cursor: pointer;
  white-space: nowrap;
  margin-top: 4px;
}

.sgp-show-all-btn:hover {
  background: #f5f5f5;
}

/* ========================================
  カテゴリページ レスポンシブ
======================================== */
@media (max-width: 768px) {
  body.sgp-cat-page{
    padding-top: 74px;
  }
  .sgp-searchbar__brand {
    display: none;
  }
  .sgp-searchbar {
    justify-content: flex-end;
    padding: 16px 24px;
    top: calc(9.6vw + 74px);
  }
  .sgp-page-title {
    padding: 0px;
  }
  .sgp-mid-cat {
    padding: 12px 16px;
  }
  .sgp-mid-cat__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .sgp-show-all-btn {
    align-self: flex-end;
  }
  
  .mid-cat__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .sgp-cat-main {
    padding: 32px 24px 60px 24px;
  }
  .sgp-breadcrumb {
    flex-wrap: wrap;
    column-gap: 0;
    gap: 8px;
  }
  .sgp-cat-layout {
    flex-direction: column;
  }

  .sgp-sidebar {
    display: none;
  }

  .sgp-mid-cat-divider {
    width: 100%;
  }

  .sgp-cat-search {
    width: 100%;
    max-width: 484px;
  }
}

/* カテゴリページ検索入力（Figmaデザイン：右アイコン・緑ボーダー） */
.sgp-cat-search {
  position: relative;
  width: 370px;
  /* height: 50px; */
  background: var(--white);
  border: 1px solid #009b67;
  border-radius: 12px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .sgp-cat-search {
    width: 100%;
    max-width: 100%;
  }
}

.sgp-cat-search__input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 52px 12px 16px;
  font-family: var(--font);
  font-size: 1.6rem;
  color: var(--black-text);
  border-radius: 12px;
}

.sgp-cat-search__input::placeholder {
  color: #8d949e;
}

.sgp-cat-search__btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sgp-cat-search__btn:hover {
  opacity: 0.7;
}

/* ========================================
  記事ページ
======================================== */

body.sgp-article-page {
  padding-top: 64px;
}

/* 記事ページ用コンテナ */
.sgp-container--article {
  max-width: 1000px;
  margin: 0 auto;
}

/* 記事コンテンツ全体 */
.sgp-article-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Q&A */
.sgp-article-qa {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sgp-article-question {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 0;
}

.sgp-article-q-prefix {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1.4;
}

.sgp-article-q-text {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--black-text);
  margin: 0;
  line-height: 1.4;
}

.sgp-article-answer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.6rem;
  color: var(--black-text);
  line-height: 1.4;
}

.sgp-article-answer p {
  margin: 4px 0;
}

.sgp-article-answer__lead {
  font-size: 1.8rem;
  font-weight: 700;
}

/* 参考になりましたか？ */
.sgp-feedback {
  background: #f6f9ea;
  border-radius: 15px;
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sgp-feedback__title {
  font-size: 2rem;
  font-weight: 400;
  color: var(--black-text);
  margin: 0;
  padding: 8px 0;
}

.sgp-feedback__buttons {
  display: flex;
  gap: 40px;
}

.sgp-feedback__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 177px;
  height: 59px;
  justify-content: center;
  background: var(--white);
  border-radius: 60px;
  cursor: pointer;
  font-size: 1.8rem;
  font-family: var(--font);
}

.sgp-feedback__btn:hover {
  opacity: 0.7;
}

.sgp-feedback__btn--yes {
  border: 1px solid #24b4b6;
  color: #24b4b6;
}

.sgp-feedback__btn--no {
  border: 1px solid #e84a4a;
  color: #e84a4a;
}

/* 下部セクション群 */
.sgp-article-sections {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sgp-article-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sgp-article-section-heading {
  border-left: 4px solid var(--primary-darker);
  padding-left: 20px;
  height: 32px;
  display: flex;
  align-items: center;
}

.sgp-article-section-heading h2 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--primary-darkest);
  margin: 0;
}

/* 記事ページのFAQリスト */
.sgp-article-faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sgp-article-faq-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sgp-article-faq-item__arrow {
  width: 0;
  height: 0;
  flex-shrink: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 12px solid var(--primary-accent);
}

.sgp-article-faq-item__link {
  font-size: 1.6rem;
  color: var(--primary-darker);
  text-decoration: none;
  line-height: 1.5;
}

.sgp-article-faq-item__link:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ========================================
  検索結果ページ
======================================== */

.sgp-container--search {
  max-width: 1000px;
  margin: 72px auto 0;
}

.sgp-search-content {
  display: flex;
  flex-direction: column;
}

/* クイック回答 */
.sgp-quick-answer {
  border: 2px solid var(--border-gray);
  border-radius: 10px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sgp-quick-answer__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sgp-quick-answer__label {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--black-text);
}

.sgp-quick-answer__body {
  font-size: 1.6rem;
  color: var(--black-text);
  line-height: 1.7;
}

.sgp-quick-answer__body ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.sgp-quick-answer__body li {
  margin-bottom: 4px;
}

.sgp-quick-answer__source {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sgp-quick-answer__source-label {
  font-size: 1.4rem;
  color: #6b7280;
  margin: 0;
}

.sgp-quick-answer__source-query {
  font-size: 1.4rem;
  color: var(--primary-darker);
  text-decoration: none;
}

.sgp-quick-answer__source-query:hover {
  text-decoration: underline;
}

.sgp-quick-answer__feedback {
  display: flex;
  gap: 8px;
}

.sgp-quick-answer__feedback-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sgp-quick-answer__feedback-btn:hover {
  opacity: 0.7;
}

/* 検索結果リスト */
.sgp-search-results {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sgp-search-result-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sgp-search-result-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 2px dotted var(--border-gray);
}

.sgp-search-result-item:last-child {
  border-bottom: none;
}

.sgp-search-result-item__excerpt {
  font-size: 1.6rem;
  color: var(--black-text);
  line-height: 1.5;
}

/* =============================================
   ページネーション
   {{pagination}} ヘルパーが生成するHTML対応版
   旧 .sgp-pagination カスタムHTMLは {{pagination}} に置き換え済み
   Zendesk生成クラス:
     .pagination-list
     .pagination-prev-link / .pagination-next-link
     .pagination-first-link / .pagination-last-link
     .pagination-prev-text / .pagination-next-text
     .pagination-prev-icon / .pagination-next-icon（デフォルト文字→非表示）
   ============================================= */

.pagination-list {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 40px 0 32px;
  padding: 0;
}

/* 全リンク共通 */
.pagination-prev-link,
.pagination-next-link,
.pagination-first-link,
.pagination-last-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 35px;
  padding: 6px 24px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 30px;
  font-size: 1.6rem;
  color: var(--black-text);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.pagination-prev-link:hover,
.pagination-next-link:hover,
.pagination-first-link:hover,
.pagination-last-link:hover {
  opacity: 0.7;
  text-decoration: none;
}

/* デフォルトの ‹ › « » テキストアイコンを非表示 */
.pagination-prev-icon,
.pagination-next-icon,
.pagination-first-icon,
.pagination-last-icon {
  display: none;
}

/* -----------------------------------------------
   前へ：左矢印SVGを ::before で追加
----------------------------------------------- */
.pagination-prev-link::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 9px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg width='5' height='9' viewBox='0 0 5 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.25 7.75L0.75 4.25L4.25 0.75' stroke='%23009b67' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* -----------------------------------------------
   次へ：右矢印SVGを ::after で追加
----------------------------------------------- */
.pagination-next-link::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 9px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg width='5' height='9' viewBox='0 0 5 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.75 0.75L4.25 4.25L0.75 7.75' stroke='%23009b67' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* -----------------------------------------------
   先頭へ（first）：テキストを非表示 → ダブル左矢印のみ
----------------------------------------------- */
.pagination-first-link {
  padding: 14px 24px;
}

.pagination-first-text {
  display: none;
}

.pagination-first-link::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.25 7.75L0.75 4.25L4.25 0.75' stroke='%23009b67' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.75 7.75L4.25 4.25L7.75 0.75' stroke='%23009b67' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* -----------------------------------------------
   末尾へ（last）：「最新」テキストを非表示 → ダブル右矢印のみ
----------------------------------------------- */
.pagination-last-link {
  padding: 14px 24px;
}

.pagination-last-text {
  display: none;
}

.pagination-last-link::after {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.75 0.75L4.25 4.25L0.75 7.75' stroke='%23009b67' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.25 0.75L7.75 4.25L4.25 7.75' stroke='%23009b67' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* セクション記事ページャ：非活性状態 */
.pagination-first-link.is-disabled,
.pagination-prev-link.is-disabled,
.pagination-next-link.is-disabled,
.pagination-last-link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

/* 検索結果0件 */
.sgp-search-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 0 40px;
  text-align: center;
}
.sgp-search-no-results__icon {
    width: 48px;
    height: 48px;
    color: var(--border-gray);
    margin-bottom: 8px;
}

.sgp-search-no-results__title {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--black-text);
}

.sgp-search-no-results__desc {
  font-size: 1.6rem;
  color: #6b7280;
  line-height: 1.6;
}

.sgp-search-no-results__tips {
  margin: 16px 0 32px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  align-self: flex-start;
  width: 100%;
}

.sgp-search-no-results__tip {
  font-size: 1.4rem;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
  text-align: left;
}

.sgp-search-no-results__tip::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* 戻るボタン */
.sgp-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 24px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 30px;
  font-size: 1.6rem;
  color: var(--black-text);
  text-decoration: none;
  align-self: flex-start;
}

.sgp-back-btn:hover {
  opacity: 0.7;
}

/* エラーページ */
.sgp-error-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sgp-error-heading {
  font-size: 4.8rem;
  font-weight: 400;
  color: var(--primary-darkest);
  margin: 0;
  line-height: 1.3;
  margin-top: 80px;
}

.sgp-error-desc {
  font-size: 1.6rem;
  color: var(--black-text);
  line-height: 2;
  margin: 0;
}

/* -----------------------------------------------
   input[type="search"] のブラウザ標準×ボタンを非表示
   Chrome / Safari が type="search" に自動付与する
   クリアボタンをCSSで除去する
----------------------------------------------- */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}


/* ============================================================
   記事パーツ
   ============================================================ */
/* 見出し（h1〜h4）：クラス名なしで使用（記事本文コンテナ内に適用） */
.sgp-article-answer h1 { margin: 0 0 24px; box-sizing: border-box; font-size: 3.2rem; font-weight: 700; padding-bottom: 24px; }
.sgp-article-answer h2 { margin: 24px 0 16px 0; box-sizing: border-box; display: flex; align-items: center; min-height: 44px; padding-left: 12px; font-size: 2.2rem; font-weight: 700; border-top: 2px solid var(--primary); border-bottom: 2px solid var(--primary); }
.sgp-article-answer h3 { margin: 24px 0 16px 0; box-sizing: border-box; display: flex; align-items: center; min-height: 44px; padding-left: 12px; font-size: 1.6rem; font-weight: 500; border-left: 5px solid #004831; background: #F0F6EF; padding: 0.5em; }
.sgp-article-answer h4 { margin: 24px 0 16px 0; box-sizing: border-box; display: flex; align-items: center; min-height: 36px; font-size: 1.8rem; font-weight: 700; border-bottom: 2px solid var(--primary); }

.parts-box { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; padding: 10px 10px 10px 36px; border-radius: 8px; box-sizing: border-box; }
.parts-box__title { margin: 0; font-size: 1.8rem; font-weight: 700;}
.parts-box__body { display: flex; flex-direction: column; font-size: 1.6rem;}
.parts-box__body p { margin: 0; }
.parts-box__bold { font-weight: 700; }
.parts-box__link,.sgp-article-answer a { color: #005f3f; text-decoration: underline; }
.parts-box--default { background: #f5f6f7; border: 2px solid #e2e8f0; }
.parts-box--warning { background: #fffddd; border: 2px solid #dbd4b7; }
.parts-box--success { background: #f3f9f4; border: 2px solid #9bcda5; }
.parts-box--danger  { background: #fff0f0; border: 2px solid #ff6968; }

.parts-strong { font-weight: 700; }
.parts-link { color: #005f3f; text-decoration: underline; }

.parts-accordion { margin: 8px 0px; border: 2px solid #e2e8f0; background: #f5f6f7; box-sizing: border-box; }
.parts-accordion a { color: inherit; text-decoration: none; }
.parts-accordion__trigger { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 16px; font-family: inherit; font-size: 1.6rem; font-weight: 500; text-align: left; background: transparent; border: none; cursor: pointer; text-decoration: none; }
.parts-accordion__icon { display: inline-flex; align-items: center; justify-content: center; width: 12px; transition: transform .2s ease; }
.parts-accordion__icon::before { content: ''; display: block; width: 8px; height: 8px; border-bottom: 2px solid var(--primary); border-right: 2px solid var(--primary); transform: rotate(45deg); }
.parts-accordion.is-open .parts-accordion__icon { transform: rotate(180deg); }
.parts-accordion__label { flex: 1; }
.parts-accordion__body { max-height: 0; overflow: hidden; padding: 0 16px 0 36px; font-size: 1.6rem; transition: max-height .25s ease; }
.parts-accordion__body p { margin: 0; }
.parts-accordion.is-open .parts-accordion__body { max-height: 500px; padding-bottom: 12px; }

.parts-label { display: inline-flex; align-self: flex-start; align-items: center; justify-content: center; padding: 0 32px; font-family: inherit; font-size: 1.4rem; font-weight: 500; color: #da3906; background: #fff; border: 1px solid #eb6439; border-radius: 4px; margin-right: 8px; }

.parts-text--red { color: #da3906; }
.parts-text--bold { font-weight: 700; }


/* ========================================
   参考になりましたか？ — {{article.vote}} スタイルオーバーライド
   ======================================== */

/* Zendesk デフォルトの投票数テキストは非表示 */
.sgp-feedback .article-vote-count {
  display: none;
}

/* ボタン共通 */
.sgp-feedback__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 177px;
  height: 59px;
  background: #fff;
  border-radius: 60px;
  cursor: pointer;
  font-size: 1.8rem;
  font-family: var(--font);
  transition: opacity 0.2s;
  text-decoration: none;
}

.sgp-feedback__btn:hover {
  opacity: 0.7;
}

/* はい */
.sgp-feedback__btn--yes {
  border: 1px solid #24b4b6;
  color: #24b4b6;
}

/* いいえ */
.sgp-feedback__btn--no {
  border: 1px solid #e84a4a;
  color: #e84a4a;
}

/* 投票済み状態 */
.sgp-feedback__btn--voted {
  opacity: 0.5;
  pointer-events: none;
}

/* 記事件数表示 */
.sgp-article-count {
  font-size: 1.4rem;
  color: #777;
  text-align: left;
  margin-bottom: 8px;
}

/* ========================================
   記事ページ「コンテンツID」のスタイル
   ======================================== */

.zen-content-label,
.zen-content-name {
 color: #a8a8a8; 
}