@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%;
}

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, 80, 166, 1);
  text-decoration: none;
}
a:visited {
  color: rgba(0, 80, 166, 1);
}
a:hover, a:active, a:focus {
  text-decoration: none;
}

.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, 89, 184, 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, 89, 184, 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, 89, 184, 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;
}

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

:root {
  --primary-darkest: #02356d;
  --primary-darker: #004c9c;
  --primary-dark: #0050a6;
  --primary: #0059b8;
  --primary-light: #0062ca;
  --primary-lighter: #0066d4;
  --primary-lightest: #0074ef;
  --primary-accent: #b9e6ff;
  --icon-accent: #0074ef;
  --primary-20: rgba(0, 89, 184, 0.20);
  --primary-25: rgba(0, 89, 184, 0.25);
  --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);
}
body {
  font-size: 1.4rem;
  background: var(--white);
}
body.top {
  background: #f5f6f7;
}
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;
}
.breadcrumb a:visited,
.article-section a:visited{
  color: var(--primary-darker);
}
/* ヘッダー */
.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;
}

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

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

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

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

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


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

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

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

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

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


/* ===== ヒーローセクション：青背景に上書き ===== */
body.top .hero {
  background:
/*     center / auto 100% no-repeat url('../img/hero_bg.png'), */
    center / auto 100% no-repeat url('/hc/theming_assets/01KVSJG073FXGFRSDJJ13PFKCK'), 
    linear-gradient(to right, var(--primary) 40%, var(--primary-darkest) 60%);
  padding-top: 94px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
body.top .hero__inner {
  max-width: 1440px;
  padding: 0 80px 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

body.top .hero__title-wrap {
  align-self: flex-start;
}

body.top .hero__search-wrap {
  justify-content: center;
}

/* タイトルエリア */
body.top .hero__title-wrap {
  grid-column: 1;
  grid-row: 1;
}
body.top .hero__breadcrumb {
  color: white;
}
body.top .hero__heading {
  color: white;
}

/* 検索バー */
body.top .hero__search-wrap {
  grid-column: 1;
  grid-row: 2;
  justify-content: flex-start;
}
body.top .hero__search-wrap {
  justify-content: center;
}
body.top .hero__search {
  width: 560px;
  border-color: rgba(255,255,255,0.5);
}
body.top .hero__search-btn {
  color: var(--primary);
}

/* ===== カードをヒーローに80pxオーバーラップ ===== */
body.top .main {
  margin-top: -100px;
}
body.top .card {
  position: relative;
}

/* カード右上のイラスト */
.card__illust-top {
  position: absolute;
  top: -160px;
  right: 40px;
  height: 180px;
  width: auto;
  pointer-events: none;
  z-index: 1;
}

/* ===== 重要なお知らせセクション見出し行 ===== */
.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.news-head .section__heading {
  margin-bottom: 0;
}

@media (min-width: 1001px) and (max-width: 1280px) {
  body.top .hero__search-wrap {
    justify-content: flex-start;
  }
}

/* ===== 決済手段グリッド：2カラム ===== */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.payment-grid .payment-card {
  width: 100%;
}

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

.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;
}

.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;
  padding: 0 12px;
}

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

.hero__search-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0;
}

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

/* インナーリンクカード */
.hero__cards {
  display: flex;
  gap: 40px;
}

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

.hero-card:hover {
  box-shadow: 0 6px 16px var(--primary-20);
  opacity:1.0;
}
.hero-card:hover img,.hero-card:hover span{
  opacity:0.7;
}

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

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

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

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

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

/* ホワイトカード */
.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));
}

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

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

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

/* お知らせバナー */
.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-lighter);
}
.notice-banner__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.notice-banner__text {
  font-size: 1.6rem;
  color: var(--primary-darkest);
  white-space: nowrap;
}

/* 重要なお知らせ */
.news-box {
  border: 1px solid var(--primary-light);
  border-radius: 12px;
  padding: 20px 32px 24px 32px;
}
.news-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.news-box__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.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;
}
.news-box__more svg {
  transform: rotate(90deg);
}
.news-box__more:hover { background: #f5f5f5; }
.news-list {display: flex;flex-direction: column;gap: 12px;padding-left: 0px;margin: 0px;}
.news-item {
  list-style: none;
}
.news-item__link {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  border-bottom: 2px dotted var(--border-gray);
  padding-bottom: 16px;
  font-size: 1.6rem;
  color: var(--primary-darker);
  text-decoration: none;
}
.news-item__date {
  font-size: 1.6rem;
  color: var(--primary-darker);
  white-space: nowrap;
}
.news-item__text {
  flex: 1;
  min-width: 0;
  white-space: normal;
  word-break: break-all;
}
.news-item__arrow { margin-left: auto; }
.news-item__link:hover { text-decoration: underline; }

/* よく見られているご質問 - アイコンカード */
.quicklinks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.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;
}
.quicklink-card:hover { 
  box-shadow: 0 4px 12px var(--primary-20); 
  text-decoration: none;
}
.quicklink-card__icon {
  width: 47px;
  height: 47px;
  object-fit: contain;
}
.quicklink-card__label {
  font-size: 1.6rem;
  color: var(--black-text);
  text-align: center;
}

/* FAQリンクリスト */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.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;
}
.faq-item__text {
  font-size: 1.6rem;
  color: var(--primary-darker);
  line-height: 1.5;
}
.faq-item:hover .faq-item__text { text-decoration: underline; }

/* 目的から探す - グリッド */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 23px;
}
.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;
}
.purpose-btn:hover {
  box-shadow: 0 2px 8px var(--primary-20);
  text-decoration: none;
}
.purpose-btn__arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 決済手段グリッド */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
}
.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;
}
.payment-card:hover { 
  box-shadow: 0 2px 8px var(--primary-20);
  text-decoration: none;
}
.payment-card--extra {
  display: none;
}
.payment-grid.is-expanded .payment-card--extra {
  display: flex;
}
.payment-card__label {
  font-size: 1.6rem;
  color: var(--black-text);
}
.payment-card__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.payment-card__img {
  height: 70px;
  width: 146px;
  object-fit: contain;
}
.payment-card__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.payment-more {
  text-align: right;
  margin-top: 0;
  max-width: 1000px;
  margin-top: 24px;
}
.payment-more a {
  font-size: 1.4rem;
  color: var(--primary-dark);
  text-decoration: underline;
}
.payment-more--close {
  display: none;
}

/* カテゴリグリッド（3列） */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.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;
}
.cat-card:hover {
  box-shadow: 0 2px 8px var(--primary-20);
  opacity: 0.7;
  text-decoration: none;
}
.cat-card__icon {
  height: 64px;
  object-fit: contain;
}
.cat-card__label {
  font-size: 1.6rem;
  color: var(--black-text);
  text-align: center;
  white-space: nowrap;
}

/* フッター */
.footer {
  background: var(--white);
  text-align: center;
  padding: 24px 40px;
}
.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;
}

/* ========================================
  カテゴリページ専用スタイル
======================================== */
/* カテゴリページ検索バー */
body.cat-page{
  padding-top: 146px;
}
.searchbar {
  position: fixed;
  top: 77px;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 16px 32px 16px 40px;
  background: var(--primary-lighter);
}

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

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

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

.searchbar__title {
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  white-space: nowrap;
}
.searchbar__title span{
  margin-right: 16px;
}
.searchbar a:hover {
  text-decoration: none;
}

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

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

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

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

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

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

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

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

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

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

.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;
}

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

.sidebar__link:hover {
  opacity: 0.7;
}

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

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

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

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

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

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

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

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

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

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

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

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

.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.6rem;
  color: var(--black-text);
}

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

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

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

/* すべて表示ボタン */
.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 16px;
  font-size: 1.4rem;
  font-family: var(--font);
  color: var(--black-text);
  cursor: pointer;
  white-space: nowrap;
  margin-top: 4px;
}

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

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

.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.4rem;
  color: var(--black-text);
  border-radius: 12px;
}

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

.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;
}

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

.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);
}

.feedback__btn:hover {
  opacity: 0.7;
}

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

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

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

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

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

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

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

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

.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);
}

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

.article-faq-item__link:hover {
  text-decoration: underline;
  opacity: 1;
}
/* サイトステッカーエリア */
.siteStickerArea {
    padding: 20px 0 20px 0;
}
.siteStickerAreaWrap {
    max-width: 1040px;
    margin: 0 auto;
}
.siteStickerLogoarea-logo {
    padding: 0px;
    line-height: 1;
    display: flex;
    gap: 20px;
    align-items: center;
    align-content: center;
}
.siteStickerLogoarea-logo-img img {
    display: block;
    height: 18px;
}
@media (max-width: 640px) {
    .siteStickerLogoarea-logo {
        flex-direction: column;
        justify-content: center;
    }
}
/* ========================================
  検索結果ページ
======================================== */
.container--search {
  max-width: 1000px;
  margin: 0 auto;
}

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

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

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

.quick-answer__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

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

.quick-answer__body {
  font-size: 1.6rem;
  color: var(--black-text);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
}

.quick-answer__body p {
  margin: 0;
}

.quick-answer__body ul {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quick-answer__body li {
  line-height: 1.5;
}

.quick-answer__source {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.6rem;
  padding-bottom: 16px;
}

.quick-answer__source-label {
  margin: 0;
  color: var(--black-text);
}

.quick-answer__source-query {
  margin: 0;
  color: var(--primary-darker);
}

.quick-answer__feedback {
  display: flex;
  gap: 16px;
  align-items: center;
}

.quick-answer__feedback-btn {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--black-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* 検索結果リスト */
.search-result-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0px;
}

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

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

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

/* ============================================================
   ページネーション（Zendesk {{pagination}} 生成HTML対応）
   ============================================================
   Zendeskが生成するHTML構造:
     nav.pagination
       ul.pagination-list
         li.pagination-first > a.pagination-first-link
           span.pagination-first-icon  ← «（文字）
           span.pagination-first-text  ← "最初へ"
         li.pagination-prev  > a.pagination-prev-link
           span.pagination-prev-icon   ← ‹（文字）
           span.pagination-prev-text   ← "前へ"
         li.pagination-next  > a.pagination-next-link
           span.pagination-next-text   ← "次へ"
           span.pagination-next-icon   ← ›（文字）
         li.pagination-last  > a.pagination-last-link
           span.pagination-last-text   ← "最新"
           span.pagination-last-icon   ← »（文字）

   デザイナーの .pagination__btn 系クラスから変換。
   ページ番号ボタンは検索結果ページでは生成されないため対象外。
   ============================================================ */

/* ---- nav.pagination はZendeskではulのラッパーになる ----
   既存の display:flex は ul が一つだけなので影響なし。
   フレックスレイアウトの実体は ul.pagination-list に移す。 */
.pagination {
  display: block; /* ulラッパーとして自然な表示に戻す */
}

/* ---- ul リセット・フレックスコンテナ化 ---- */
.pagination-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* ---- li リセット ---- */
.pagination-list > li {
  margin: 0;
  padding: 0;
}

/* ============================================================
   共通ボタンスタイル
   ============================================================ */
.pagination-first-link,
.pagination-prev-link,
.pagination-next-link,
.pagination-last-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 35px;
  padding: 7px 24px 6px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 30px;
  font-size: 1.6rem;
  color: var(--black-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.pagination-first-link:hover,
.pagination-prev-link:hover,
.pagination-next-link:hover,
.pagination-last-link:hover {
  background: #f5f5f5;
  opacity: 1;
}

/* ============================================================
   first / last：アイコンのみ
   ============================================================ */
.pagination-first-link,
.pagination-last-link {
  padding: 14px 24px;
}

/* ラベルテキスト（"最初へ" / "最新"）を非表示 */
.pagination-first-text,
.pagination-last-text {
  display: none;
}

/* ============================================================
   prev / next テキスト縦位置微調整
   ============================================================ */
.pagination-prev-text,
.pagination-next-text {
  position: relative;
  top: -1px;
}

/* ============================================================
   アイコン：生成文字（«‹›»）を非表示にし Data URI SVG で置換
   ============================================================ */
.pagination-first-icon,
.pagination-prev-icon,
.pagination-next-icon,
.pagination-last-icon {
  font-size: 0;           /* «  ‹  ›  » を非表示 */
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* 先頭へ：ダブルシェブロン 左向き（9 × 9） */
.pagination-first-icon {
  width: 9px;
  height: 9px;
  background-image: 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='%230059B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.75 7.75L4.25 4.25L7.75 0.75' stroke='%230059B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 前へ：シングルシェブロン 左向き（5 × 9） */
.pagination-prev-icon {
  width: 5px;
  height: 9px;
  background-image: 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='%230059B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 次へ：シングルシェブロン 右向き（5 × 9） */
.pagination-next-icon {
  width: 5px;
  height: 9px;
  background-image: 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='%230059B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 末尾へ：ダブルシェブロン 右向き（9 × 9） */
.pagination-last-icon {
  width: 9px;
  height: 9px;
  background-image: 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='%230059B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.25 0.75L7.75 4.25L4.25 7.75' stroke='%230059B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---- disabled状態（前へ/次へが存在しない場合） ---- */
.pagination-first-link.is-disabled,
.pagination-prev-link.is-disabled,
.pagination-next-link.is-disabled,
.pagination-last-link.is-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
/* ========================================
  エラーページ
======================================== */
.error-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 80px;
}

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

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

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px 8px 24px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 30px;
  font-size: 1.6rem;
  font-family: var(--font);
  color: var(--black-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  align-self: flex-start;
}
.back-btn:visited {
  color: var(--black-text);
}

.back-btn:hover {
  background: #f5f5f5;
  opacity: 1;
}

/* 検索結果0件 */
.search-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 0 40px;
  text-align: center;
}

.search-no-results__icon {
  width: 48px;
  height: 48px;
  color: var(--border-gray);
  margin-bottom: 8px;
}

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

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

.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%;
}

.search-no-results__tip {
  font-size: 1.4rem;
  color: var(--black-text);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

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

.search-no-results__links {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: flex-start;
  width: 100%;
}

.search-no-results__links-title {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--primary-darkest);
  margin: 0;
  text-align: left;
}

/* ========================================
  レスポンシブ（1000px以下）
======================================== */
@media (max-width: 1000px) {
  .payment-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
  }
  .card__illust-top {
    display: none;
  }
  body.top .hero__search-wrap {
    justify-content: center;
  }

  /* メインコンテンツ：余白縮小・幅100% */
  .main {
    padding: 24px 16px 40px;
    max-width: 100%;
  }

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

  .card__header {
    margin-bottom: 40px;
  }

  .card__title {
    font-size: 1.8rem;
  }

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

  .hero__cards {
    gap: 16px;
    flex-wrap: wrap;
  }

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

  .hero__title {
    font-size: 2.2rem;
  }

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

  .search {
    width: 100%;
  }

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

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

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

  /* ニュースアイテム：縦並び */
  .news-item__date,
  .news-item__text {
    white-space: normal;
    font-size: 1.4rem;
  }

  .news-item__link {
    gap: 8px;
  }

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

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

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

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

  /* 決済手段グリッド：1列 */
  .payment-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }

  /* カテゴリグリッド：2列 */
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .cat-card {
    padding: 8px 0px 16px 0px;
    gap: 4px;
  }

  .cat-card__label {
    font-size: 1.4rem;
  }

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

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

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

  .card__logo .card__pack-icon {
    height: 51px;
  }
  .container--article {
    margin-top: 54px;
  }
  .searchbar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    height: auto;
    padding: 16px 24px;
  }
  .searchbar__title {
    text-align: left;
    line-height: 1.5;
    font-size: 1.6rem;
    white-space: nowrap;
  }

  .cat-search {
    align-self: flex-end;
  }
}

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

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

  body {
    padding-top: 0px;
  }

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

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

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

  .hero-card__label {
    flex: 1;
    text-align: right;
  }
  .breadcrumb {
    flex-wrap: wrap;
    column-gap: 0;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .container--article{
    margin-top: 64px;
  }
  body.cat-page{
    padding-top: 188px;
  }
  .searchbar {
    top: 74px;
  }
  .searchbar__brand {
    width: 100%;
  }
  .searchbar__title {
    width: 100%;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .cat-main {
    padding: 32px 24px 60px 24px;
  }

  .cat-layout {
    flex-direction: column;
  }

  .sidebar {
    display: none;
  }

  .mid-cat-divider {
    width: 100%;
  }
  .mid-cat {
    padding: 12px 16px;
  }
  .mid-cat__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .show-all-btn {
    align-self: flex-end;
  }

  .cat-search {
    width: 100%;
    max-width: 484px;
  }
  body.cat-page {
    padding-top: 188px;
  }

  .searchbar__brand {
    width: 100%;
    justify-content: flex-start;
  }
  .feedback__buttons {
    width: 100%;
    gap: 16px;
  }
}

/* ========================================
  レスポンシブ（480px以下）
======================================== */
@media (max-width: 480px) {
  .hero-card {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero-card__label {
    width: 100%;
    text-align: center;
  }
  .searchbar__title span {
    display: block;
  }

  .cat-search {
    width: 100%;
    max-width: 100%;
  }
  .container--article{
    margin-top: 80px;
  }
}
/* ============================================================
   記事パーツ
   ============================================================ */
/* 見出し（h1〜h4）：クラス名なしで使用（記事本文コンテナ内に適用） */
.article-answer h1 { margin: 0 0 24px; box-sizing: border-box; font-size: 3.2rem; font-weight: 700; padding-bottom: 24px; }
.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); }
.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 #0065CB; background: #E5F2FF; padding: 0.5em;}
.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,.article-answer a { color: #004c9c; 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: #004c9c; 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; color: #1c1e21; 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; color: #1c1e21; 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; color: #1c1e21; 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 デフォルトの投票数テキストは非表示 */
.feedback .article-vote-count {
  display: none;
}

/* ボタン共通 */
.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;
}

.feedback__btn:hover {
  opacity: 0.7;
}

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

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

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

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

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

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