@charset "UTF-8";
/***** Normalize.css *****/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
:root {
  --caitech-high-orange-color: rgba(254,115,0);
  --caitech-low-orange-color: rgba(255,175,109);
  --caitech-high-gray-color: rgba(90,90,90);
  --caitech-low-gray-color: rgba(226,226,226);
  --main-title-background-color: rgba(255,141,115);
  --main-article-list-name-color:rgba(255,50,0);
}
/* 自動回答ボックススタイル */
.request_ticket_form_autoanswerbox {
    margin-top: 10px;
    padding: 12px 15px;
    background-color: #ffe8d9;
    border: 1px solid rgba(255,175,109,0.5);
    border-radius: 4px;
    font-size: 14px;
    color: #995200;
}

.request_ticket_form_autoanswerbox ul {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

.request_ticket_form_autoanswerbox li {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255,175,109,0.3);
}

.request_ticket_form_autoanswerbox li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.request_ticket_form_autoanswerbox .category-heading {
    font-weight: bold;
    margin-bottom: 5px;
    color: #ff7b00;
    display: block;
}

.request_ticket_form_autoanswerbox a {
    color: #ff7b00;
    text-decoration: none;
}

.request_ticket_form_autoanswerbox a:hover {
    text-decoration: underline;
    color: #cc6200;
}


/*記事ページ内の二段階アコーディオンデザイン start*/
/* 元のスタイルを維持 */
.article-page-title {
  display: block;
  color: rgba(90, 90, 90, 1);
  padding: 0.5em;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 4px solid var(--caitech-low-orange-color);
}
.accordion-list {
  display: grid;
  grid-template-columns: 100%;
  row-gap: 0;
  margin: 0;
}
.faq-accordion {
  display: grid;
  grid-template-columns: 100%;
  row-gap: 0;
  margin: 0;
  border-bottom: solid 1px var(--caitech-high-orange-color);
}
.faq-accordion-title {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1em;
  align-items: center;
  padding: 1em 0.5em;
  cursor: pointer;
  background: rgba(255, 175, 109, 0);
  transition: background 0.4s ease-out;
}
.__opened .faq-accordion-title,
.faq-accordion-title:hover {
  will-change: background;
  background: rgba(255, 175, 109, 0.15);
}
.faq-accordion-title__text {
  padding: 0;
  margin: 0;
  color: var(--caitech-high-gray-color);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.33;
}
.faq-accordion-title__icon {
  display: block;
  position: relative;
  padding: 0;
  margin: 0;
  width: 28px;
  height: 28px;
  background-color: var(--caitech-high-orange-color);
  border-radius: 99px;
  transition: transform 0.3s ease-out;
}
.faq-accordion-title__icon::after {
  content: '';
  display: block;
  position: absolute;
  left: calc(50% - 1px);
  top: calc(50% - 8px);
  width: 2px;
  height: 16px;
  background-color: #FFFFFF;
}
.faq-accordion-title__icon::before {
  content: '';
  display: block;
  position: absolute;
  left: calc(50% - 8px);
  top: calc(50% - 1px);
  width: 16px;
  height: 2px;
  background-color: #FFFFFF;
  transition: opacity 0.5s ease-out;
}
/* 1. 大アコーディオンのアイコン - より具体的なセレクタを使用 */
.large-accordion.__opened > .faq-accordion-title > .faq-accordion-title__icon {
  will-change: transform;
  transform: rotate(90deg);
}

.large-accordion.__opened > .faq-accordion-title > .faq-accordion-title__icon::before {
  opacity: 0;
}

/* 2. 小アコーディオンのアイコン - より具体的なセレクタを使用 */
.small-accordion.__opened > .faq-accordion-title > .faq-accordion-title__icon {
  will-change: transform;
  transform: rotate(90deg);
}

.small-accordion.__opened > .faq-accordion-title > .faq-accordion-title__icon::before {
  opacity: 0;
}

.faq-accordion-discription {
  overflow: hidden;
  width: 100%;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}
.__opened .faq-accordion-discription {
  /* 修正箇所: max-heightを大きな値に変更し、transitionを調整 */
  max-height: 5000px; /* より大きな値に設定 */
  will-change: max-height;
  transition: max-height 1.2s ease-in-out; /* 長いコンテンツに対応するため時間を延長 */
}
.faq-accordion-discription__body {
  padding: 1.0em 0.5em 1.5em 0.5em;
}
.faq-accordion-discription__text {
  margin: 0;
  padding: 0;
  color: var(--caitech-high-gray-color);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
}

/* 二段階アコーディオン用の追加スタイル */
/* 大アコーディオン用スタイル */
.large-accordion {
  border-left: 4px solid var(--caitech-high-orange-color);
  background-color: rgba(255, 175, 109, 0.05);
}

.large-accordion .faq-accordion-title__text {
  font-size: 20px;
  font-weight: 600;
}

.large-accordion .faq-accordion-title__icon {
  width: 32px;
  height: 32px;
}

.large-accordion .faq-accordion-title__icon::after {
  top: calc(50% - 10px);
  height: 20px;
}

.large-accordion .faq-accordion-title__icon::before {
  left: calc(50% - 10px);
  width: 20px;
}

/* 小アコーディオン用スタイル */
.small-accordion-list__item {
  margin: 0;
  padding: 0;
}

.small-accordion {
  border-bottom: solid 1px rgba(255, 175, 109, 0.5);
  border-left: 2px solid var(--caitech-high-orange-color);
  margin-left: 1em;
  margin-right: 0.5em;
  margin-bottom: 0.5em;
}

.small-accordion .faq-accordion-title {
  padding: 0.8em 0.5em;
}

.small-accordion .faq-accordion-title__text {
  font-size: 16px;
  font-weight: 500;
}

/* 小アコーディオンのアイコン基本スタイル - 独立して動作するように修正 */
.small-accordion .faq-accordion-title__icon {
  width: 24px;
  height: 24px;
  background-color: var(--caitech-high-orange-color);
  opacity: 0.8;
  transition: transform 0.3s ease-out;
}

.small-accordion .faq-accordion-title__icon::after {
  content: '';
  display: block;
  position: absolute;
  left: calc(50% - 1px);
  top: calc(50% - 6px);
  width: 2px;
  height: 12px;
  background-color: #FFFFFF;
}

.small-accordion .faq-accordion-title__icon::before {
  content: '';
  display: block;
  position: absolute;
  left: calc(50% - 6px);
  top: calc(50% - 1px);
  width: 12px;
  height: 2px;
  background-color: #FFFFFF;
  transition: opacity 0.5s ease-out;
}

/* 小アコーディオンが開いている時のアイコン - 直接指定 */
.small-accordion.__opened > .faq-accordion-title .faq-accordion-title__icon {
  will-change: transform;
  transform: rotate(90deg);
}

.small-accordion.__opened > .faq-accordion-title .faq-accordion-title__icon::before {
  opacity: 0;
}

.small-accordion .faq-accordion-discription__body {
  padding: 0.8em 0.5em 1.2em 0.8em;
}

/* 最後の小アコーディオンにはマージンを設定しない */
.small-accordion-list__item:last-child .small-accordion {
  margin-bottom: 0;
}

/* 小アコーディオンの内容 - 開閉可能に修正 */
.small-accordion .faq-accordion-discription {
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.small-accordion.__opened .faq-accordion-discription {
  max-height: 5000px;
  will-change: max-height;
  transition: max-height 1.2s ease-in-out;
}

/* スクロール性能向上のためのGPU高速化 */
.faq-accordion-title,
.faq-accordion-discription {
  will-change: transform;
  transform: translateZ(0);
}

/* 追加するCSSコード - すべての小アコーディオンのアイコンを確実に制御 */

/* すべての小アコーディオンのアイコン制御 - 複数のセレクタを使用 */
.small-accordion.__opened .faq-accordion-title__icon,
.small-accordion.__opened > .faq-accordion-title .faq-accordion-title__icon,
.small-accordion.__opened > .faq-accordion-title > .faq-accordion-title__icon {
  will-change: transform;
  transform: rotate(90deg) !important; /* !importantを追加して確実に適用 */
}

.small-accordion.__opened .faq-accordion-title__icon::before,
.small-accordion.__opened > .faq-accordion-title .faq-accordion-title__icon::before,
.small-accordion.__opened > .faq-accordion-title > .faq-accordion-title__icon::before {
  opacity: 0 !important; /* !importantを追加して確実に適用 */
}

/* 特定のアコーディオンのためのさらに強力なセレクタ */
.accordion-list .small-accordion.__opened .faq-accordion-title__icon {
  transform: rotate(90deg) !important;
}

.accordion-list .small-accordion.__opened .faq-accordion-title__icon::before {
  opacity: 0 !important;
}

/* アイコン用の追加ユーティリティクラス */
.icon-opened::before {
  opacity: 0 !important;
}

/*記事ページ内の二段階アコーディオンデザイン end*/

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: rgba(255, 255, 255, 1);
  color: rgba(90, 90, 90, 1);
  font-family: 'Noto Sans JP', sans-serif; 
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* フォーム選択非表示 */
.request_ticket_form_id {
  display: none;
}

/* 種別選択時の赤枠 */
.request_ticket_form_mainbox {
  background-color: #ffe6e6; /* 薄赤色 */
  padding: 10px; /* 内側の余白 */
  border-radius: 5px; /* 角を丸くする（オプション） */
  border: 1px solid #ffcccc; /* 輪郭線（オプション） */
}

@media (min-width: 1024px) {
  body > main {
    min-height: 65vh;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 400;
  margin-top: 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
  border-bottom:2px double #fe7300;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  background: #fe7300;
  color: white;
}

h3 > a {
    color: white;
}

h4 {
  font-size: 16px;
    text-decoration: underline;
    text-decoration-thickness: 0.5em;
    text-decoration-color: yellow;
    text-underline-offset: -0.2em;
}

a {
  color: rgba(55, 142, 170, 1);
  text-decoration: none;
}

a:hover, a:active, a:focus {
  text-decoration: underline;
}

input,
textarea {
  color: #000;
  font-size: 14px;
}

input {
  font-weight: 300;
  max-width: 100%;
  box-sizing: border-box;
  transition: border .12s ease-in-out;
}

input:not([type="checkbox"]) {
  outline: none;
}

input:not([type="checkbox"]):focus {
  border: 1px solid rgba(255, 175, 109, 1);
}

input[disabled] {
  background-color: #ddd;
}

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 #ddd;
  border-radius: 4px;
  padding: 8px 30px 8px 10px;
  outline: none;
  color: #555;
  width: 100%;
}

select:focus {
  border: 1px solid rgba(255, 175, 109, 1);
}

select::-ms-expand {
  display: none;
}

textarea {
  border: 1px solid #ddd;
  border-radius: 2px;
  resize: vertical;
  width: 100%;
  outline: none;
  padding: 10px;
}

textarea:focus {
  border: 1px solid rgba(255, 175, 109, 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;
}

/***** Buttons *****/
.button, .split-button button, .section-subscribe button, .article-subscribe button, .community-follow button, .requests-table-toolbar .organization-subscribe button, .subscriptions-subscribe button, .pagination-next-link, .pagination-prev-link, .pagination-first-link, .pagination-last-link {
  background-color: transparent;
  border: 1px solid rgba(255, 175, 109, 1);
  border-radius: 4px;
  color: rgba(255, 175, 109, 1);
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  line-height: 2.34;
  margin: 0;
  padding: 0 20px;
  text-align: center;
  transition: background-color .12s ease-in-out, border-color .12s ease-in-out, color .15s ease-in-out;
  user-select: none;
  white-space: nowrap;
  width: 100%;
  -webkit-touch-callout: none;
}

@media (min-width: 768px) {
  .button, .split-button button, .section-subscribe button, .article-subscribe button, .community-follow button, .requests-table-toolbar .organization-subscribe button, .subscriptions-subscribe button, .pagination-next-link, .pagination-prev-link, .pagination-first-link, .pagination-last-link {
    width: auto;
  }
}

.button:hover, .split-button button:hover, .section-subscribe button:hover, .article-subscribe button:hover, .community-follow button:hover, .requests-table-toolbar .organization-subscribe button:hover, .subscriptions-subscribe button:hover, .pagination-next-link:hover, .pagination-prev-link:hover, .pagination-first-link:hover, .pagination-last-link:hover, .button:active, .split-button button:active, .section-subscribe button:active, .article-subscribe button:active, .community-follow button:active, .requests-table-toolbar .organization-subscribe button:active, .subscriptions-subscribe button:active, .pagination-next-link:active, .pagination-prev-link:active, .pagination-first-link:active, .pagination-last-link:active, .button:focus, .split-button button:focus, .section-subscribe button:focus, .article-subscribe button:focus, .community-follow button:focus, .requests-table-toolbar .organization-subscribe button:focus, .subscriptions-subscribe button:focus, .pagination-next-link:focus, .pagination-prev-link:focus, .pagination-first-link:focus, .pagination-last-link:focus, .button.button-primary, .split-button button.button-primary, .section-subscribe button.button-primary, .section-subscribe button[data-selected="true"], .article-subscribe button.button-primary, .article-subscribe button[data-selected="true"], .community-follow button.button-primary, .requests-table-toolbar .organization-subscribe button.button-primary, .requests-table-toolbar .organization-subscribe button[data-selected="true"], .subscriptions-subscribe button.button-primary, .subscriptions-subscribe button[data-selected="true"], .button-primary.pagination-next-link, .button-primary.pagination-prev-link, .button-primary.pagination-first-link, .button-primary.pagination-last-link {
  background-color: rgba(255, 175, 109, 1);
  color: #FFFFFF;
  text-decoration: none;
}

.button.button-primary:hover, .split-button button:hover, .section-subscribe button.button-primary:hover, .section-subscribe button:hover[data-selected="true"], .article-subscribe button.button-primary:hover, .article-subscribe button:hover[data-selected="true"], .community-follow button.button-primary:hover, .requests-table-toolbar .organization-subscribe button.button-primary:hover, .requests-table-toolbar .organization-subscribe button:hover[data-selected="true"], .subscriptions-subscribe button.button-primary:hover, .subscriptions-subscribe button:hover[data-selected="true"], .button-primary.pagination-next-link:hover, .button-primary.pagination-prev-link:hover, .button-primary.pagination-first-link:hover, .button-primary.pagination-last-link:hover, .button.button-primary:focus, .split-button button.button-primary:focus, .section-subscribe button.button-primary:focus, .section-subscribe button:focus[data-selected="true"], .article-subscribe button.button-primary:focus, .article-subscribe button:focus[data-selected="true"], .community-follow button.button-primary:focus, .requests-table-toolbar .organization-subscribe button.button-primary:focus, .requests-table-toolbar .organization-subscribe button:focus[data-selected="true"], .subscriptions-subscribe button.button-primary:focus, .subscriptions-subscribe button:focus[data-selected="true"], .button-primary.pagination-next-link:focus, .button-primary.pagination-prev-link:focus, .button-primary.pagination-first-link:focus, .button-primary.pagination-last-link:focus, .button.button-primary:active, .split-button button.button-primary:active, .section-subscribe button.button-primary:active, .section-subscribe button:active[data-selected="true"], .article-subscribe button.button-primary:active, .article-subscribe button:active[data-selected="true"], .community-follow button.button-primary:active, .requests-table-toolbar .organization-subscribe button.button-primary:active, .requests-table-toolbar .organization-subscribe button:active[data-selected="true"], .subscriptions-subscribe button.button-primary:active, .subscriptions-subscribe button:active[data-selected="true"], .button-primary.pagination-next-link:active, .button-primary.pagination-prev-link:active, .button-primary.pagination-first-link:active, .button-primary.pagination-last-link:active {
  background-color: #ff7707;
  border-color: #ff7707;
}

.button[data-disabled], .split-button button[data-disabled], .section-subscribe button[data-disabled], .article-subscribe button[data-disabled], .community-follow button[data-disabled], .requests-table-toolbar .organization-subscribe button[data-disabled], .subscriptions-subscribe button[data-disabled], .pagination-next-link[data-disabled], .pagination-prev-link[data-disabled], .pagination-first-link[data-disabled], .pagination-last-link[data-disabled] {
  cursor: default;
}

.button-large, input[type="submit"] {
  cursor: pointer;
  background-color: rgba(255, 175, 109, 1);
  border: 0;
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.72;
  min-width: 190px;
  padding: 0 1.9286em;
  width: 100%;
}

@media (min-width: 768px) {
  .button-large, input[type="submit"] {
    width: auto;
  }
}

.button-large:hover, .button-large:active, .button-large:focus, input[type="submit"]:hover, input[type="submit"]:active, input[type="submit"]:focus {
  background-color: #ff7707;
}

.button-large[disabled], input[type="submit"][disabled] {
  background-color: #ddd;
}

.button-secondary {
  color: #8d8d8d;
  border: 1px solid #ddd;
  background-color: transparent;
}

.button-secondary:hover, .button-secondary:focus, .button-secondary:active {
  color: rgba(90, 90, 90, 1);
  border: 1px solid #ddd;
  background-color: #f7f7f7;
}

/***** Split button *****/
.split-button {
  display: flex;
}

.split-button button {
  background-color: rgba(255, 175, 109, 1);
  border: 0;
  color: #FFFFFF;
  height: 32px;
  line-height: 16px;
  outline-color: rgba(255, 175, 109, 1);
}

[dir="rtl"] .split-button button:not(:only-child):first-child {
  border-left: 1px solid #FFFFFF;
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}

[dir="ltr"] .split-button button:not(:only-child):first-child {
  border-right: 1px solid #FFFFFF;
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}

.split-button button:not(:only-child):last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  padding: 0;
}

[dir="rtl"] .split-button button:not(:only-child):last-child {
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}

[dir="ltr"] .split-button button:not(:only-child):last-child {
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}

/***** Tables *****/
.table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

@media (min-width: 768px) {
  .table {
    table-layout: auto;
  }
}

.table th,
.table th a {
  color: #8d8d8d;
  font-size: 13px;
  font-weight: 300;
  text-align: left;
}

[dir="rtl"] .table th, [dir="rtl"]
.table th a {
  text-align: right;
}

.table tr {
  border-bottom: 1px solid #ddd;
  display: block;
  padding: 20px 0;
}

@media (min-width: 768px) {
  .table tr {
    display: table-row;
  }
}

.table td {
  display: block;
}

@media (min-width: 768px) {
  .table td {
    display: table-cell;
  }
}

@media (min-width: 1024px) {
  .table td, .table th {
    padding: 20px 30px;
  }
}

@media (min-width: 768px) {
  .table td, .table th {
    padding: 10px 20px;
    height: 60px;
  }
}

/***** Forms *****/
.form {
  max-width: 650px;
}

.form-field ~ .form-field {
  margin-top: 25px;
}

.form-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.form-field input {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
}

.form-field input:focus {
  border: 1px solid rgba(255, 175, 109, 1);
}

.form-field input[type="text"] {
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-field input[type="text"]:focus {
  border: 1px solid rgba(255, 175, 109, 1);
}

.form-field input[type="checkbox"] {
  width: auto;
}

.form-field .nesty-input {
  border-radius: 4px;
  height: 40px;
  line-height: 40px;
  outline: none;
  vertical-align: middle;
}

.form-field .nesty-input:focus {
  border: 1px solid rgba(255, 175, 109, 1);
  text-decoration: none;
}

.form-field .hc-multiselect-toggle:focus {
  outline: none;
  border: 1px solid rgba(255, 175, 109, 1);
  text-decoration: none;
}

.form-field textarea {
  vertical-align: middle;
}

.form-field input[type="checkbox"] + label {
  margin: 0 0 0 10px;
}

.form-field .optional {
  color: #8d8d8d;
  margin-left: 4px;
  font-size: 0;
}

.form-field .optional:before{
  content: '(任意)';
    font-size: 13px;
}

.form-field p {
  color: #8d8d8d;
  font-size: 12px;
  margin: 5px 0;
}

.form footer {
  margin-top: 40px;
  padding-top: 30px;
}

.form footer a {
  color: #8d8d8d;
  cursor: pointer;
  margin-right: 15px;
}

.form .suggestion-list {
  display: none;
  font-size: 13px;
  margin-top: 30px;
}

.form .suggestion-list label {
  display: none;
  border-bottom: 1px solid #ddd;
  display: block;
  padding-bottom: 5px;
}

.form .suggestion-list li {
  display: none;
  padding: 10px 0;
}

.form .suggestion-list li a:visited {
  display: none;
  color: rgba(55, 108, 170, 1);
}

/***** Header *****/
.header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  align-items: center;
  display: flex;
  height: 71px;
  justify-content: space-between;
}

@media (min-width: 1160px) {
  .header {
    padding: 0;
    width: 90%;
  }
}

/* ロゴ画像とテキストを縦並びにする */
.logo {
  display: flex;
  flex-direction: column; /* 縦方向に並べる */
  align-items: flex-start; /* 左揃え */
}

.logo img {
  max-height: 37px;
  vertical-align: middle;
}

/* ロゴ下テキスト */
.logo-text a {
  margin-top: 4px;       /* ロゴとの間隔 */
  font-size: 14px;
  font-weight: 500;
  color: #8d8d8d !important;   /* リンク色を固定 */
  text-decoration: none; /* 下線なし */
  line-height: 1.2;
}

.logo-text a:hover {
  text-decoration: underline !important; /* ホバー時に下線 */
}

.logo span {
  margin: 0 10px;
  color: rgba(255, 175, 109, 1);
}

.logo a {
  display: inline-block;
}

.logo a:hover, .logo a:focus, .logo a:active {
  text-decoration: none;
}

.user-nav {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .user-nav {
    position: relative;
  }
}

.user-nav[aria-expanded="true"] {
  background-color: #fff;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15), 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  border: solid 1px #ddd;
  right: 0;
  left: 0;
  top: 71px;
  z-index: 1;
}

.user-nav[aria-expanded="true"] > a {
  display: block;
  margin: 20px;
}

/* フッターナビ */
  .footer-tabs .tab {
    display: block; /* 開閉ボタンを表示 */
    cursor: pointer; /* カーソルをポインターに */
    padding: 10px; /* ボタン内の余白 */
    background-color: #fff;
    border: 3px solid #ddd;
    text-align: center; /* テキストを中央揃え */
    margin-bottom: 10px; /* ボタン下に余白 */
    border-radius: 5px; /* 角丸を設定 */
    font-weight: bold; /* 太字に設定 */
    color: rgba(90, 90, 90, 1); /* テキストカラーを濃いグレーに設定 */
    text-decoration: none;
}

/* ヘッダーナビ */
.header-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0 6%;
  box-sizing: border-box;
  transform-origin: top center;
}

.header-tabs .tab {
  flex: 1 1 45%;
  text-align: center;
  padding: 12px 0;
  background-color: #fff;
  border: 2px solid #F29600;   /* ← 枠線カラーを変更 */
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  box-sizing: border-box;
}

/* ▼ お問い合わせ窓口：2列分幅＋改行防止 */
.header-tabs .tab.wide {
  flex: 1 1 96%; /* 余裕を少し増やす（94%→96%） */
  white-space: nowrap; /* テキストの改行を防止 */
  overflow: hidden; /* 念のため */
  text-overflow: ellipsis; /* 極端に狭い時も崩れず省略表示 */
}

/* ▼ Galaxy Z Fold 5 カバーディスプレイなど（412px以下）で軽く縮小 */
@media (max-width: 420px) {
  .header-tabs {
    transform: scale(0.93);
    width: 107%;
  }
}

/* ▼ Galaxy S8+, iPhone SEなど（380px以下）でさらに縮小 */
@media (max-width: 380px) {
  .header-tabs {
    transform: scale(0.9);
    width: 111%;
  }
  .header-tabs .tab {
    font-size: 14px;
    padding: 10px 0;
  }
}

/* ▼ 超小画面（330px以下）ではさらに縮小 */
@media (max-width: 330px) {
  .header-tabs {
    transform: scale(0.85);
    width: 118%;
  }
}

/* ホバー効果 */
.header-tabs .tab:hover {
  background-color: #F29600;
  color: #fff;
  border-color: #F29600;       /* ← ホバー時も同色で統一 */
}

.nav-wrapper a {
  border: 0;
  color: rgba(55, 142, 170, 1);
  display: none;
  font-size: 14px;
  padding: 0 20px 0 0;
  width: auto;
}

@media (min-width: 768px) {
  .nav-wrapper a {
    display: inline-block;
  }
  .nav-appeal a {
    
  }
}

[dir="rtl"] .nav-wrapper a {
  padding: 0 0 0 20px;
}

.nav-wrapper a:hover, .nav-wrapper a:focus, .nav-wrapper a:active {
  background-color: transparent;
  color: rgba(55, 142, 170, 1);
  text-decoration: underline;
}

.nav-wrapper a.sign-in {
  display: inline-block;
}

@media (max-width: 768px) {
  .nav-wrapper .hide-on-mobile {
    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;
  }
}

.nav-wrapper .menu-button {
  background: none;
  border: 0;
  color: rgba(55, 142, 170, 1);
  display: inline-block;
  margin-right: 10px;
  padding: 0;
  width: auto;
}

@media (min-width: 768px) {
  .nav-wrapper .menu-button {
    display: none;
  }
}

.nav-wrapper .menu-button .icon-menu {
  vertical-align: middle;
  width: 13px;
  height: 13px;
}

[dir="rtl"] .nav-wrapper .menu-button {
  margin-left: 10px;
  margin-right: 0;
}

.nav-wrapper .menu-button:hover, .nav-wrapper .menu-button:focus, .nav-wrapper .menu-button:active {
  background-color: transparent;
  color: rgba(55, 142, 170, 1);
}

.skip-navigation {
  align-items: center;
  background-color: black;
  color: white;
  display: flex;
  font-size: 14px;
  justify-content: center;
  left: -999px;
  margin: 20px;
  padding: 20px;
  overflow: hidden;
  position: absolute;
  top: auto;
  z-index: -999;
}

[dir="rtl"] .skip-navigation {
  left: initial;
  right: -999px;
}

.skip-navigation:focus, .skip-navigation:active {
  left: auto;
  overflow: auto;
  text-align: center;
  text-decoration: none;
  top: auto;
  z-index: 999;
}

[dir="rtl"] .skip-navigation:focus, [dir="rtl"] .skip-navigation:active {
  left: initial;
  right: auto;
}

/***** User info in header *****/
.user-info {
  display: inline-block;
}

.user-info .dropdown-toggle::after {
  display: none;
}

@media (min-width: 768px) {
  .user-info .dropdown-toggle::after {
    display: inline-block;
  }
}

.user-info > button {
  border: 0;
  color: rgba(55, 142, 170, 1);
  min-width: 0;
  padding: 0;
  white-space: nowrap;
}

.user-info > button:hover, .user-info > button:focus {
  color: rgba(55, 142, 170, 1);
  background-color: transparent;
}

.user-info > button::after {
  color: rgba(55, 142, 170, 1);
  padding-right: 15px;
}

[dir="rtl"] .user-info > button::after {
  padding-left: 15px;
  padding-right: 0;
}

#user #user-name {
  display: none;
  font-size: 14px;
}

@media (min-width: 768px) {
  #user #user-name {
    display: inline-block;
  }
}

#user #user-name:hover {
  text-decoration: underline;
}

/***** User avatar *****/
.user-avatar {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

.avatar {
  display: inline-block;
  position: relative;
}

.avatar img {
  height: 40px;
  width: 40px;
}

.avatar .icon-agent {
  color: rgba(255, 175, 109, 1);
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: -4px;
  background-color: #FFFFFF;
  font-size: 17px;
  height: 17px;
  line-height: 17px;
  position: absolute;
  right: -2px;
  text-align: center;
  width: 17px;
}

/***** Footer *****/
.footer {
  border-top: 1px solid #ddd;
  margin-top: 60px;
  padding: 30px 0;
}

.footer a {
  color: #8d8d8d;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center; /* 垂直中央揃え */
  justify-content: flex-start; /* 左揃え */
  flex-wrap: wrap; /* 狭い画面で折り返し */
}

/* ロゴとリンクをまとめたグループ用 */
.footer-group {
  display: flex;
  align-items: center;
  gap: 30px; /* ロゴとリンク群の間隔 */
}

/* ロゴサイズ調整 */
.footer-logo img {
  height: 40px;
  width: auto;
}

/* リンクリストのスタイル */
.footer-relatedpages {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.footer-relatedpages a {
  color: #8d8d8d;
  text-decoration: none;
}

.footer-relatedpages a:hover {
  text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .footer-inner {
    justify-content: center;
  }
  .footer-group {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

.footer-language-selector button {
  color: #8d8d8d;
  display: inline-block;
  font-weight: 300;
}

/***** Breadcrumbs *****/
.breadcrumbs {
  margin: 0 0 15px 0;
  padding: 0;
}

@media (min-width: 768px) {
  .breadcrumbs {
    margin: 0;
  }
}

.breadcrumbs li {
  color: #8d8d8d;
  display: inline;
  font-weight: 300;
  font-size: 13px;
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs li + li::before {
  content: ">";
  margin: 0 4px;
}

.breadcrumbs li a:visited {
  color: rgba(55, 142, 170, 1);
}

/***** Search field *****/
.search-container {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #999999; /* ← 指定カラー */
  pointer-events: none; /* 入力の邪魔をしない */
}

.search input[type="search"] {
  border: 1px solid #ddd;
  border-radius: 30px;
  box-sizing: border-box;
  color: #666;
  height: 40px;
  padding-left: 45px; /* ← アイコン分の余白を確保 */
  padding-right: 20px;
  -webkit-appearance: none;
  width: 100%;
}

.search input[type="search"]:focus {
  border: 1px solid #F29600; /* ブランドカラーに変更 */
  outline: none;
  box-shadow: 0 0 0 2px rgba(242,150,0,0.2); /* ソフトな外枠効果 */
}

.search-full input[type="search"] {
  border: 1px solid #fff;
}

/* .homepage-search-title{
  position: relative;
  top: 10px;
  font-size:22px;
  font-weight:bold;
  color: white;
  display: block;
  padding: 0px 0px 0px 0px;  
} */

.search-tag {
  font-weight:bold;
  color: white;
  display: block;
	padding: 0px 0px 0px 0px;
}

.search-tag a{
  color: white;
  border-bottom: 2px solid white;
}


/***** Hero component *****/
/*****section hero*****/
.hero-home {
  background-image: url(/hc/theming_assets/01K71SV9W6W3KMB7D38E4PJY11);
  background-position: center;
  background-size: cover;
  height: 200px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
}

.hero {
  background-image: url(/hc/theming_assets/01K71SV9W6W3KMB7D38E4PJY11);
  background-position: center;
  background-size: cover;
  height: 100px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
}

.hero-inner-home {
  position: relative;
  top: 30%;
  transform: translateY(-50%);
  max-width: 610px;
  margin: 0 auto;
  margin-bottom: 60px; /* 調整値は見た目で微調整 */
}

.hero-inner {
  position: relative;
  top: 30%;
  transform: translateY(0%);
  max-width: 610px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10px 0;
}

@media (min-width: 768px) {
  .page-header {
    align-items: baseline;
    flex-direction: row;
    margin: 0;
  }
}

.page-header .section-subscribe {
  flex-shrink: 0;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .page-header .section-subscribe {
    margin-bottom: 0;
  }
}

.page-header h1 {
  flex-grow: 1;
  margin-bottom: 10px;
  font-weight:bold;
}

.page-header-description {
  color: var(--caitech-high-orange-color);
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}

@media (min-width: 1024px) {
  .page-header-description {
    flex-basis: 100%;
  }
}

.page-header .icon-lock {
  height: 20px;
  width: 20px;
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.sub-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 30px;
  min-height: 50px;
  padding-bottom: 15px;
}

@media (min-width: 768px) {
  .sub-nav {
    align-items: baseline;
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .sub-nav input[type="search"] {
    min-width: 300px;
  }
}

.sub-nav input[type="search"]::after {
  font-size: 15px;
}

/* ===================================
   Blocks 共通設定（中央揃え）
=================================== */
.blocks-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 左寄せ → 中央揃え */
  list-style: none;
  padding: 0; /* 左右の余白を削除 */
  margin: 0 auto; /* コンテナ中央寄せ */
  gap: 10px; /* 横・縦の間隔 */
  box-sizing: border-box;
}

.blocks-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
  block-size: 100px;
  background: linear-gradient(180deg, rgba(255,251,252,1) 60%, rgba(240,236,236,1) 100%);
  color: var(--brand-color);
  border: 3px solid rgba(254, 115, 0, 1);
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* ホバー効果 */
.blocks-item:hover,
.blocks-item:focus,
.blocks-item:active {
  opacity: 0.9;
  border-color: #F25D00;
  background: linear-gradient(180deg, rgba(255,239,225,1) 0%, rgba(255,215,180,1) 100%);
  box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.blocks-item-link {
  color: #F25D00;
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  border-radius: inherit;
  text-decoration: none;
  background: inherit;
  transition: background 0.2s, color 0.2s;
}

.blocks-item-link:hover {
  background: linear-gradient(180deg, rgba(255,239,225,1) 0%, rgba(255,215,180,1) 100%);
}

.blocks-item-title {
  font-weight: 600;
  font-size: 16px;
  margin: 0;
  color: inherit;
}

/* ======================
   レスポンシブ設定
====================== */

/* スマホ：2列 */
@media (max-width: 767px) {
  .blocks-item {
    flex: 1 0 45%;
    max-width: 45%;
  }
}

/* タブレット：2列、中央揃え */
@media (min-width: 768px) and (max-width: 1023px) {
  .blocks-list {
    justify-content: center; /* 中央揃え */
  }
  .blocks-item {
    flex: 1 0 45%;
    max-width: 45%;
  }
}

/* PC：3列、中央揃え */
@media (min-width: 1024px) {
  .blocks-list {
    justify-content: center; /* 中央揃え */
  }
  .blocks-item {
    flex: 1 0 32%;
    max-width: 32%;
  }
}

/***** Homepage *****/
.section {
  margin-top:20px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .section {
    margin-bottom: 60px;
  }
}

.home-section h2 {
  margin-bottom: 10px;
  text-align: center;
}

/***** Promoted articles *****/
.promoted-articles {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .promoted-articles {
    flex-direction: row;
  }
}

.promoted-articles-item {
  flex: 1 0 auto;
}

@media (min-width: 1024px) {
  .promoted-articles-item {
    align-self: flex-end;
    flex: 0 0 auto;
    padding-right: 30px;
    width: 33%;
    /* Three columns on desktop */
  }
  [dir="rtl"] .promoted-articles-item {
    padding: 0 0 0 30px;
  }
}

.promoted-articles-item:nth-child(3n) {
  padding-right: 0;
}

.promoted-articles-item a {
  display: block;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  color: rgba(90, 90, 90, 1);
}

.promoted-articles-item .icon-lock {
  vertical-align: baseline;
}

.promoted-articles-item:last-child a {
  border: 0;
}

@media (min-width: 1024px) {
  .promoted-articles-item:last-child a {
    border-bottom: 1px solid #ddd;
  }
}

/***** Community section in homepage *****/
.community {
  text-align: center;
}

.community-image {
  min-height: 300px;
  margin-top: 32px;
  background-image: url(/hc/theming_assets/01J2H31WXCYZXSS59EZA7VW80R);
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100%;
}

.community,
.activity {
  border-top: 1px solid #ddd;
  padding: 30px 0;
}

/***** Recent activity *****/
.recent-activity-header {
  margin-bottom: 10px;
  text-align: center;
  border-bottom:0;
}

.recent-activity-list {
  padding: 0;
}

.recent-activity-item {
  border-bottom: 1px solid #ddd;
  overflow: auto;
  padding: 20px 0;
}

.recent-activity-item-parent {
  font-size: 16px;
}

.recent-activity-item-parent, .recent-activity-item-link {
  margin: 6px 0;
  display: inline-block;
  width: 100%;
}

@media (min-width: 768px) {
  .recent-activity-item-parent, .recent-activity-item-link {
    width: 70%;
    margin: 0;
  }
}

.recent-activity-item-link {
  font-size: 14px;
  font-weight: 300;
}

.recent-activity-item-meta {
  margin: 15px 0 0 0;
  float: none;
}

@media (min-width: 768px) {
  .recent-activity-item-meta {
    margin: 0;
    float: right;
  }
  [dir="rtl"] .recent-activity-item-meta {
    float: left;
  }
}

.recent-activity-item-time, .recent-activity-item-comment {
  color: #8d8d8d;
  display: inline-block;
  font-size: 13px;
  font-weight: 300;
}

.recent-activity-item-comment {
  padding-left: 5px;
}

[dir="rtl"] .recent-activity-item-comment {
  padding: 0 5px 0 0;
}

.recent-activity-item-comment::before {
  display: inline-block;
}

.recent-activity-controls {
  padding-top: 15px;
}

.recent-activity-accessibility-label {
  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;
}

.recent-activity-comment-icon svg {
  vertical-align: middle;
  color: rgba(255, 175, 109, 1);
  width: 16px;
  height: 16px;
}

.recent-activity-comment-icon:after {
  content: attr(data-comment-count);
  margin-left: 3px;
}

[dir="rtl"] .recent-activity-comment-icon:after {
  margin-left: 0;
  margin-right: 3px;
}

/***** Category pages *****/
.ellipse-category{
  vertical-align: middle;
  margin-right: 20px;
  display: inline-block;
  color: #fff;
  background: var(--caitech-high-orange-color);
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
}

.category-container {
  /*display: flex;*/
  /*justify-content: flex-end;*/
}

.category-content {
  flex: 1;
}

@media (min-width: 1024px) {
  .category-content {
   /* flex: 0 0 80%;*/
  }
}

.section-tree {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .section-tree {
    flex-direction: row;
  }
}

.section-tree .section {
  flex: initial;
  padding: 16px 32px;
  border: 2px solid var(--caitech-low-gray-color);
  border-radius: 10px;
}

@media (min-width: 768px) {
  .section-tree .section {
    flex: 0 0 48%;
    /* Two columns for tablet and desktop. Leaving 5% separation between columns */
  }
}

.section-tree-title {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
  background:none;
}

.section-tree-title a {
  color: rgba(90, 90, 90, 1);
  display: block;
  padding:20px 20px;
  border-radius: 8px 8px 0px 0px;
}

.section-tree .see-all-articles {
  color: rgba(90, 90, 90, 1);
  display: block;
  padding: 15px 10px;
  text-align:right;
}

.section-tree .see-all-articles:after{
  content:">";
}

.article-list{
  padding: 10px 10px;  
}

.category-article-list{
  padding: 10px 10px;  
}

/*カテゴリーページのセクション囲いの表示記事数
li:nth-childの(n+4)は3個記事表示*/
.category-article-list li:nth-child(n+7) {
 display: none;
}

.article-list-item {
  font-size: 16px;
  padding: 5px;  
 	list-style-type: disc;
  list-style-position: inside;
}


.article-list-item a {
  color: rgba(55, 142, 170, 1);
}

.icon-star {
  color: rgba(255, 175, 109, 1);
  font-size: 18px;
}

.category-page-title{
  display: inline-block;
  color: var(--caitech-high-gray-color);
  line-height: 1.5;
  vertical-align: middle;
  text-align: center;
  border-radius: 30px 30px 30px 30px;
}
/***** 記事内サイドメニューstart *****/
/* 共通スタイルの調整 */
.section-articles-articles {
  margin: 0;
  padding: 0;
  list-style-type: none; /* デフォルトのリストスタイルを削除 */
}

.article-articles-content {
  padding: 0; /* 親要素の余白をなくす（リンク全体に適用するため） */
  margin: 5px 0; /* 各項目の間に余白を設定 */
  border-radius: 5px; /* 角丸の設定 */
  background-color: rgba(255 224 196); /* 薄い背景色を設定 */
}

/* リンクテキストのスタイル調整 */
.article-articles-content a {
  display: block; /* リンクをブロック要素にして親要素全体に広げる */
  padding: 10px; /* リンク全体にパディングを設定（クリック領域を広げる） */
  color: rgba(90, 90, 90, 1);
  text-decoration: none;
  border-radius: 5px; /* リンクの角丸設定を親要素と揃える */
}

/* ホバー時の効果 */
.article-articles-content:hover {
  background-color: var(--caitech-low-orange-color); 
}

/* リンクのホバー効果 */
.article-articles-content a:hover {
  color: #ffffff; 
}


/* Web版で左にサイドバーを表示 */
@media (min-width: 768px) {
  .section-sidebar-articles {
    display: block; /* Web版では常にサイドバーを表示 */
    position: relative; /* 相対配置 */
    float: left; /* 左側に配置 */
    width: 20%; /* サイドバーの幅を設定 */
    height: calc(100vh - 40px); /* ウィンドウの高さに合わせて設定 */
    overflow-y: auto; /* 縦スクロールを有効化 */
    padding: 20px;
    margin-right: 20px; /* コンテンツとの間に余白を設定 */
    background-color: #ffffff;
  }
  
  .article-articles-content {
  padding: 10px;
  margin: 5px 0;
  border-bottom: 1px solid #ddd;
  }
  .toggle-sidebar {
    display: none; /* PC版の画面サイズではボタンを非表示 */
  }
}

/* スマホ版用の表示設定 */
@media (max-width: 767px) {
  /* サイドバー全体のスタイル */
  .section-sidebar-articles {
    display: none; /* デフォルトは非表示 */
    background-color: #ffffff; 
    z-index: 1000; /* 前面に表示 */
    overflow-y: auto; /* 縦スクロールを有効にする */
    padding: 20px; /* 内側の余白を調整 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
  }

  /* 開閉ボタンをクリックしたときのスタイル */
  .section-sidebar-articles.open {
    display: block; /* 開閉時は表示 */
  }

  /* スマホ版の開閉ボタンのスタイル */
  .toggle-sidebar {
    display: block; /* 開閉ボタンを表示 */
    cursor: pointer; /* カーソルをポインターに */
    padding: 10px; /* ボタン内の余白 */
    background-color: rgba(255 224 196); 
    border: 3px solid #fe7300;
    text-align: center; /* テキストを中央揃え */
    margin-bottom: 10px; /* ボタン下に余白 */
    border-radius: 5px; /* 角丸を設定 */
    font-weight: bold; /* 太字に設定 */
    color: rgba(90, 90, 90, 1); /* テキストカラーを濃いグレーに設定 */
  }

  /* 各記事項目のスタイル調整 */
  .article-articles-content {
    padding: 15px; /* 項目全体にパディングを設定 */
    margin: 10px 0; /* 各項目の間に余白を設定 */
    border-radius: 5px; /* 角丸の設定 */
	  background-color: rgba(255 224 196); /* 薄い背景色を設定 */
  }

  /* リンクをボックス全体に拡張（スマホ版） */
  .article-articles-content a {
    display: block; /* リンクをボックス全体に広げる */
    padding: 15; /* クリック領域を広げるために内側に余白を設定 */
    color: rgba(90, 90, 90, 1);
    text-decoration: none; /* 下線を消す */
    border-radius: 5px; /* 親要素と同じ角丸を設定 */
  }

  /* スマホ版のホバー時のエフェクト */
  .article-articles-content:hover {
  background-color: var(--caitech-low-orange-color); 
  }

  /* リンクのホバー時の効果 */
  .article-articles-content a:hover {
  color: #ffffff; 
  }
}
/***** 記事内サイドメニューEnd *****/

/***** Section pages *****/


.ellipse-section{
  vertical-align: middle;
  margin-right: 10px;
  display: inline-block;
  color: #fff;
  background: var(--caitech-high-orange-color);
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;

}

.section-container {
  display: flex;
  justify-content: flex-end;
}

.section-content {
  flex: 1;
}

@media (min-width: 1024px) {
  .section-content {
    flex: 0 0 80%;
  }
}

.section-list {
  margin: 40px 0;
}

.section-list-item {
  border-bottom: 1px solid #ddd;
  font-size: 16px;
  padding: 15px 0;
}

.section-list-item:first-child {
  border-top: 1px solid #ddd;
}

.section-list-item a {
  align-items: center;
  color: rgba(90, 90, 90, 1);
  display: flex;
  justify-content: space-between;
}

.see-all-sections-trigger {
  cursor: pointer;
  display: block;
  padding: 15px;
  text-align: center;
}

.see-all-sections-trigger[aria-hidden="true"] {
  display: none;
}

.section-page-title{
  display: inline-block;
  color: rgba(90, 90, 90, 1);
  padding: 0.5em;
  line-height: 1.5;
  vertical-align: middle;
  border-radius: 30px 0px 0px 30px;
}

/***** Article *****/
.article {
  /*
  * The article grid is defined this way to optimize readability:
  * Sidebar | Content | Free space
  * 17%     | 66%     | 17%
  */
  flex: 1 0 auto;
}

@media (min-width: 1024px) {
  .article {
    flex: 1 0 66%;
    max-width: 66%;
    min-width: 640px;
    padding: 0 30px;
  }
}

.article-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .article-container {
    flex-direction: row;
  }
}

.article-header {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .article-header {
    flex-direction: row;
    margin-top: 0;
  }
}

.article-avatar {
  margin-right: 10px;
}

.article-author {
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .article-title {
    flex-basis: 100%;
    /* Take entire row */
  }
}

.article-title .icon-lock {
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.article [role="button"] {
  flex-shrink: 0;
  /*Avoid collapsing elements in Safari (https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored)*/
  width: 100%;
}

@media (min-width: 768px) {
  .article [role="button"] {
    width: auto;
  }
}

.article-info {
  max-width: 100%;
}

.article-meta {
  display: inline-block;
  vertical-align: middle;
}

.article-body img {
  height: auto;
  max-width: 100%;
}

.article-body ul, .article-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}

[dir="rtl"] .article-body ul, [dir="rtl"] .article-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}

.article-body ul > ul, .article-body ol > ol, .article-body ol > ul, .article-body ul > ol, .article-body li > ul, .article-body li > ol {
  margin: 0;
}

.article-body ul {
  list-style-type: disc;
}

.article-body a:visited {
  color: rgba(55, 108, 170, 1);
}

.article-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.article-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.article-body blockquote {
  border-left: 1px solid #ddd;
  color: #8d8d8d;
  font-style: italic;
  padding: 0 15px;
}

.article-body > p:last-child {
  margin-bottom: 0;
}

.article-content {
  line-height: 1.6;
  margin: 40px 0;
  word-wrap: break-word;
}

.article-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.article-comment-count {
  color: #8d8d8d;
  font-weight: 300;
}

.article-comment-count:hover {
  text-decoration: none;
}

.article-comment-count-icon {
  vertical-align: middle;
  color: rgba(255, 175, 109, 1);
  width: 18px;
  height: 18px;
}

.article-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}

@media (min-width: 1024px) {
  .article-sidebar {
    border: 0;
    flex: 0 0 17%;
    height: auto;
  }
}

.article-relatives {
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

@media (min-width: 768px) {
  .article-relatives {
    flex-direction: row;
  }
}

.article-relatives > * {
  flex: 1 0 50%;
  min-width: 50%;
  overflow-wrap: break-word;
  margin-right: 0;
}

.article-relatives > *:last-child {
  padding: 0;
}

@media (min-width: 768px) {
  .article-relatives > * {
    padding-right: 20px;
  }
}

.article-votes {
  border-top: 1px solid #ddd;
  padding: 30px 0;
  text-align: center;
}

.article-vote {
  margin: 10px 5px;
  min-width: 90px;
  width: auto;
}

.article-more-questions {
  margin: 10px 0 20px;
  text-align: center;
}

.article-return-to-top {
  border-top: 1px solid #ddd;
}

@media (min-width: 1024px) {
  .article-return-to-top {
    display: none;
  }
}

.article-return-to-top a {
  color: rgba(90, 90, 90, 1);
  display: block;
  padding: 20px 0;
}

.article-return-to-top a:hover, .article-return-to-top a:focus {
  text-decoration: none;
}

.article-return-to-top-icon {
  transform: rotate(0.5turn);
}

.sidenav-title {
  font-size: 15px;
  position: relative;
  font-weight: 600;
}

.sidenav-item {
  border-radius: 4px;
  color: rgba(90, 90, 90, 1);
  display: block;
  font-weight: 300;
  margin-bottom: 10px;
  padding: 10px;
}

.sidenav-item.current-article, .sidenav-item:hover {
  background-color: rgba(255, 175, 109, 1);
  color: #FFFFFF;
  text-decoration: none;
}

.recent-articles li,
.related-articles li {
  margin-bottom: 15px;
}

.article-page-title{
  width:100%;
  font-weight: 700;
  display: inline-block;
  color: rgba(90, 90, 90, 1);
  padding: 0.5em;
  line-height: 1.5;
  vertical-align: middle;
  border-bottom: 4px solid var(--caitech-low-orange-color);
}

/***** Attachments *****/
/* Styles attachments inside posts, articles and comments */
.attachments .attachment-item {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.attachments .attachment-item:last-child {
  margin-bottom: 0;
}

.attachments .attachment-item .attachment-icon {
  color: rgba(90, 90, 90, 1);
  left: 0;
  position: absolute;
  top: 5px;
}

[dir="rtl"] .attachments .attachment-item {
  padding-left: 0;
  padding-right: 20px;
}

[dir="rtl"] .attachments .attachment-item .attachment-icon {
  left: auto;
  right: 0;
}

.upload-dropzone span {
  color: #8d8d8d;
}

/***** Social share links *****/
.share {
  padding: 0;
  white-space: nowrap;
}

.share li, .share a {
  display: inline-block;
}

.share li {
  height: 25px;
  width: 25px;
}

.share a {
  color: #8d8d8d;
}

.share a:hover {
  text-decoration: none;
  color: rgba(255, 175, 109, 1);
}

.share a svg {
  height: 18px;
  width: 18px;
  display: block;
}

/***** Comments *****/
/* Styles comments inside articles, posts and requests */
.comment {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

.comment-heading, .recent-articles-title,
.related-articles-title {
  margin-bottom: 5px;
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
}

.comment-overview {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  padding: 20px 0;
}

.comment-overview p {
  margin-top: 0;
}

.comment-callout {
  color: #8d8d8d;
  display: inline-block;
  font-weight: 300;
  font-size: 13px;
  margin-bottom: 0;
}

.comment-callout a {
  color: rgba(255, 175, 109, 1);
}

.comment-sorter {
  display: inline-block;
  float: right;
}

.comment-sorter .dropdown-toggle {
  color: #8d8d8d;
  font-weight: 300;
  font-size: 13px;
}

[dir="rtl"] .comment-sorter {
  float: left;
}

.comment-wrapper {
  display: flex;
  position: relative;
}

.comment-wrapper.comment-official {
  border: 1px solid rgba(255, 175, 109, 1);
  padding: 40px 20px 20px;
}

@media (min-width: 768px) {
  .comment-wrapper.comment-official {
    padding-top: 20px;
  }
}

.comment-info {
  min-width: 0;
  padding-right: 20px;
  width: 100%;
}

[dir="rtl"] .comment-info {
  padding-right: 0;
  padding-left: 20px;
}

.comment-author {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .comment-author {
    justify-content: space-between;
  }
}

.comment-avatar {
  margin-right: 10px;
}

[dir="rtl"] .comment-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.comment-meta {
  flex: 1 0 auto;
}

.comment-labels {
  flex-basis: 100%;
}

@media (min-width: 768px) {
  .comment-labels {
    flex-basis: auto;
  }
}

.comment .status-label:not(.status-label-official) {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .comment .status-label:not(.status-label-official) {
    margin-top: 0;
  }
}

.comment-form {
  display: flex;
  padding-top: 30px;
  word-wrap: break-word;
}

.comment-container {
  width: 100%;
}

.comment-form-controls {
  display: none;
  margin-top: 10px;
  text-align: left;
}

@media (min-width: 768px) {
  [dir="ltr"] .comment-form-controls {
    text-align: right;
  }
}

.comment-form-controls input[type="submit"] {
  margin-top: 15px;
}

@media (min-width: 1024px) {
  .comment-form-controls input[type="submit"] {
    margin-left: 15px;
  }
  [dir="rtl"] .comment-form-controls input[type="submit"] {
    margin-left: 0;
    margin-right: 15px;
  }
}

.comment-form-controls input[type="checkbox"] {
  margin-right: 5px;
}

.comment-form-controls input[type="checkbox"] [dir="rtl"] {
  margin-left: 5px;
}

.comment-ccs {
  display: none;
}

.comment-ccs + textarea {
  margin-top: 10px;
}

.comment-attachments {
  margin-top: 10px;
}

.comment-attachments a {
  color: rgba(255, 175, 109, 1);
}

.comment-body {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: auto;
}

.comment-body img {
  height: auto;
  max-width: 100%;
}

.comment-body ul, .comment-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}

[dir="rtl"] .comment-body ul, [dir="rtl"] .comment-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}

.comment-body ul > ul, .comment-body ol > ol, .comment-body ol > ul, .comment-body ul > ol, .comment-body li > ul, .comment-body li > ol {
  margin: 0;
}

.comment-body ul {
  list-style-type: disc;
}

.comment-body a:visited {
  color: rgba(55, 108, 170, 1);
}

.comment-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.comment-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.comment-body blockquote {
  border-left: 1px solid #ddd;
  color: #8d8d8d;
  font-style: italic;
  padding: 0 15px;
}

.comment-mark-as-solved {
  display: inline-block;
}

/***** Vote *****/
/* Used in article comments, post comments and post */
.vote {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.vote a:active, .vote a:hover, .vote a:focus {
  text-decoration: none;
}

.vote-sum {
  color: #8d8d8d;
  display: block;
  margin: 3px 0;
}

[dir="rtl"] .vote-sum {
  direction: ltr;
  unicode-bidi: bidi-override;
}

.vote-up svg {
  transform: scale(1, -1);
}

.vote-up:hover,
.vote-down:hover {
  color: rgba(255, 175, 109, 1);
}

.vote-up, .vote-down {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  color: #8d8d8d;
  cursor: pointer;
  min-height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vote-voted {
  color: rgba(255, 175, 109, 1);
}

.vote-voted:hover {
  color: #ff7707;
}

/***** Actions *****/
/* Styles admin and en user actions(edit, delete, change status) in comments and posts */
.actions {
  text-align: center;
  flex-shrink: 0;
  /*Avoid collapsing elements in Safari*/
}

.actions button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  min-height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/***** Community *****/
.community-hero {
  background-image: url(/hc/theming_assets/01J2H31WGJ9JZ39AV3WJ5079A6);
  margin-bottom: 10px;
}

.community-footer {
  padding-top: 50px;
  text-align: center;
}

.community-footer-title {
  font-size: 16px;
  margin-bottom: 20px;
}

.community-featured-posts .title {
  font-size: 18px;
  font-weight: 600;
}

.community-featured-posts, .community-activity {
  padding-top: 40px;
  width: 100%;
}

.community-header {
  margin-bottom: 30px;
}

.community-header .title {
  margin-bottom: 0;
  font-size: 16px;
}

.post-to-community {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .post-to-community {
    margin: 0;
  }
}

/* Community topics grid */
.topics {
  max-width: none;
  width: 100%;
}

.topics-item .meta-group {
  justify-content: center;
  margin-top: 20px;
}

/* Community topic page */
.topic-header {
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}

@media (min-width: 768px) {
  .topic-header {
    padding-bottom: 10px;
  }
}

.topic-header .dropdown {
  display: block;
  border-top: 1px solid #ddd;
  padding: 10px 0;
}

@media (min-width: 768px) {
  .topic-header .dropdown {
    border-top: 0;
    display: inline-block;
    margin-right: 20px;
    padding: 0;
  }
}

.no-posts-with-filter {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Topic, post and user follow button */
.community-follow {
  margin-bottom: 10px;
  width: 100%;
}

@media (min-width: 768px) {
  .community-follow {
    margin-bottom: 0;
    width: auto;
  }
}

.community-follow button {
  line-height: 30px;
  padding: 0 10px 0 15px;
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .community-follow button {
    width: auto;
  }
}

.community-follow button:hover {
  background-color: rgba(255, 175, 109, 1);
}

.community-follow button:hover::after, .community-follow button:focus::after {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.community-follow button[data-selected="true"] {
  background-color: rgba(255, 175, 109, 1);
  color: #FFFFFF;
}

.community-follow button[data-selected="true"]::after {
  border-left: 1px solid #FFFFFF;
  color: #FFFFFF;
}

.community-follow button[data-selected="true"]:hover {
  background-color: #ff7707;
  border-color: #ff7707;
}

.community-follow button::after {
  border-left: 1px solid rgba(255, 175, 109, 1);
  content: attr(data-follower-count);
  color: rgba(255, 175, 109, 1);
  display: inline-block;
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  margin-left: 15px;
  padding-left: 10px;
  position: absolute;
  right: 10px;
}

@media (min-width: 768px) {
  .community-follow button::after {
    position: static;
  }
}

[dir="rtl"] .community-follow button::after {
  border-left: 0;
  border-right: 1px solid rgba(255, 175, 109, 1);
  margin: 0 10px 0 0;
  padding: 0 10px 0 0;
}

/***** Striped list *****/
/* Used in community posts list and requests list */
.striped-list {
  padding: 0;
}

.striped-list-item {
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 0;
}

@media (min-width: 768px) {
  .striped-list-item {
    align-items: center;
    flex-direction: row;
  }
}

.striped-list-info {
  flex: 2;
}

.striped-list-title {
  color: rgba(55, 142, 170, 1);
  margin-bottom: 10px;
  margin-right: 5px;
}

.striped-list-title:hover, .striped-list-title:focus, .striped-list-title:active {
  text-decoration: underline;
}

.striped-list-title:visited {
  color: rgba(55, 108, 170, 1);
}

.striped-list .meta-group {
  margin: 5px 0;
}

.striped-list-count {
  color: #8d8d8d;
  font-weight: 300;
  font-size: 13px;
  justify-content: flex-start;
  text-transform: capitalize;
}

@media (min-width: 768px) {
  .striped-list-count {
    display: flex;
    flex: 1;
    justify-content: space-around;
  }
}

.striped-list-count-item::after {
  content: "·";
  display: inline-block;
  padding: 0 5px;
}

@media (min-width: 768px) {
  .striped-list-count-item::after {
    display: none;
  }
}

.striped-list-count-item:last-child::after {
  display: none;
}

.striped-list-number {
  font-weight: 300;
  text-align: center;
}

@media (min-width: 768px) {
  .striped-list-number {
    color: rgba(90, 90, 90, 1);
    display: block;
    font-weight: 400;
  }
}

/***** Status labels *****/
/* Styles labels used in posts, articles and requests */
.status-label {
  background-color: #038153;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin-right: 2px;
  padding: 3px 10px;
  vertical-align: middle;
  white-space: nowrap;
  display: inline-block;
}

.status-label:hover, .status-label:active, .status-label:focus {
  text-decoration: none;
}

.status-label-pinned, .status-label-featured, .status-label-official {
  background-color: rgba(255, 175, 109, 1);
}

.status-label-official {
  border-radius: 0;
  margin-right: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .status-label-official {
    border-radius: 0 0 4px 4px;
    right: 30px;
    width: auto;
  }
}

[dir="rtl"] .status-label-official {
  left: 30px;
  right: auto;
}

.status-label-not-planned, .status-label-closed {
  background-color: #e9ebed;
  color: #8d8d8d;
}

.status-label-pending, .status-label-pending-moderation {
  background-color: #1f73b7;
  text-align: center;
}

.status-label-open {
  background-color: #c72a1c;
}

.status-label-solved {
  background-color: #68737d;
}

.status-label-new {
  background-color: #ffb648;
  color: #703b15;
}

.status-label-hold {
  background-color: #000;
}

/***** Post *****/
/*
* The post grid is defined this way:
* Content | Sidebar
* 70%     | 30%
*/
.post {
  flex: 1;
  margin-bottom: 10px;
}

@media (min-width: 1024px) {
  .post {
    flex: 1 0 70%;
    max-width: 70%;
  }
}

.post-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .post-container {
    flex-direction: row;
  }
}

.post-header {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .post-header {
    align-items: baseline;
    flex-direction: row;
  }
}

.post-header .status-label {
  vertical-align: super;
}

.post-title {
  margin-bottom: 20px;
  width: 100%;
}

@media (min-width: 768px) {
  .post-title {
    margin-bottom: 0;
    padding-right: 10px;
  }
}

.post-title h1 {
  display: inline;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .post-title h1 {
    margin-right: 5px;
  }
}

.post-author {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.post-avatar {
  margin-bottom: 30px;
}

.post-content {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  line-height: 1.6;
  word-break: break-word;
}

.post-info-container {
  display: flex;
  margin-bottom: 40px;
}

.post-info {
  min-width: 0;
  padding-right: 20px;
  width: 100%;
}

[dir="rtl"] .post-info {
  padding-right: 0;
  padding-left: 20px;
}

.post-meta {
  display: inline-block;
  flex: 1;
  margin-left: 10px;
  vertical-align: middle;
}

[dir="rtl"] .post-meta {
  margin-left: 0;
  margin-right: 10px;
}

.post-body img {
  height: auto;
  max-width: 100%;
}

.post-body ul, .post-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}

[dir="rtl"] .post-body ul, [dir="rtl"] .post-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}

.post-body ul > ul, .post-body ol > ol, .post-body ol > ul, .post-body ul > ol, .post-body li > ul, .post-body li > ol {
  margin: 0;
}

.post-body ul {
  list-style-type: disc;
}

.post-body a:visited {
  color: rgba(55, 108, 170, 1);
}

.post-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.post-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.post-body blockquote {
  border-left: 1px solid #ddd;
  color: #8d8d8d;
  font-style: italic;
  padding: 0 15px;
}

.post-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.post-comment-count {
  color: #8d8d8d;
  font-weight: 300;
}

.post-comment-count:hover {
  text-decoration: none;
}

.post-comment-count .icon-comments {
  color: rgba(255, 175, 109, 1);
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 5px;
  vertical-align: middle;
}

.post-sidebar {
  border-top: 1px solid #ddd;
  flex: 1;
  padding: 30px 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .post-sidebar {
    border: 0;
    flex: 1 0 30%;
    padding: 0 0 0 50px;
    text-align: initial;
  }
  [dir="rtl"] .post-sidebar {
    padding: 0 50px 0 0;
  }
}

.post-sidebar-title {
  font-size: 18px;
  font-weight: 600;
}

.post-comments {
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  .post-comments {
    margin-bottom: 0;
  }
}

/***** Community Badges *****/
/* Styles labels used next to the authors of article comments, community posts, and community comments */
.community-badge-titles {
  background-color: #04444d;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  vertical-align: middle;
  white-space: nowrap;
  display: inline-flex;
  line-height: 20px;
  margin: 0 2px;
}

.community-badge-container-achievements {
  padding-top: 5px;
}

.community-badge-achievements {
  display: inline-block;
  margin: 0 3px 0 0;
}

[dir="rtl"] .community-badge-achievements {
  margin: 0 0 0 3px;
}

.community-badge-achievements img {
  width: 22px;
  height: 22px;
}

.community-badge-titles img {
  width: 20px;
  height: 20px;
}

.profile-info .community-badge-achievements img {
  width: 40px;
  height: 40px;
}

/* Navigation element that collapses on mobile */
.collapsible-nav {
  flex-direction: column;
  font-size: 14px;
  position: relative;
}

@media (min-width: 768px) {
  .collapsible-nav {
    flex-direction: row;
  }
}

.collapsible-nav-border {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}

@media (min-width: 768px) {
  .collapsible-nav-border {
    border-top: 0;
  }
}

.collapsible-nav-toggle {
  top: calc(45px / 2);
  transform: translateY(-50%);
  position: absolute;
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .collapsible-nav-toggle {
    display: none;
  }
}

[dir="rtl"] .collapsible-nav-toggle {
  left: 0;
  right: auto;
}

.collapsible-nav-toggle-icon {
  display: none;
}

.collapsible-nav-toggle[aria-expanded="false"] .chevron-icon {
  display: inline-block;
}

.collapsible-nav-toggle[aria-expanded="true"] .x-icon {
  display: inline-block;
}

.collapsible-nav-toggle:focus {
  outline: none;
  border: 1px solid rgba(255, 175, 109, 1);
}

.collapsible-nav-list {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .collapsible-nav-list {
    flex-direction: row;
  }
}

.collapsible-nav-list li {
  color: rgba(90, 90, 90, 1);
  line-height: 45px;
  order: 1;
}

@media (min-width: 768px) {
  .collapsible-nav-list li {
    line-height: normal;
    margin-right: 30px;
  }
  [dir="rtl"] .collapsible-nav-list li {
    margin-left: 30px;
    margin-right: 0;
  }
  .collapsible-nav-list li a {
    text-decoration: none;
    padding: 15px 0;
  }
}

.collapsible-nav-list li a {
  color: rgba(90, 90, 90, 1);
  display: block;
}

@media (min-width: 768px) {
  .collapsible-nav-list li:hover {
    border-bottom: 4px solid #ddd;
  }
  .collapsible-nav-list li:hover a:not([aria-current="page"]) {
    padding: 15px 0 11px 0;
    text-decoration: none;
  }
}

.collapsible-nav-list li:not([aria-selected="true"]),
.collapsible-nav-list li:not(.current) {
  display: none;
}

@media (min-width: 768px) {
  .collapsible-nav-list li:not([aria-selected="true"]),
  .collapsible-nav-list li:not(.current) {
    display: block;
  }
}

@media (min-width: 768px) {
  .collapsible-nav-list li[aria-selected="true"] {
    padding: 15px 0 11px 0;
  }
}

.collapsible-nav-list li[aria-selected="true"],
.collapsible-nav-list li.current {
  order: 0;
  position: relative;
}

@media (min-width: 768px) {
  .collapsible-nav-list li[aria-selected="true"],
  .collapsible-nav-list li.current {
    border-bottom: 4px solid rgba(255, 175, 109, 1);
    order: 1;
  }
}

.collapsible-nav-list li[aria-selected="true"] a,
.collapsible-nav-list li.current a {
  color: rgba(90, 90, 90, 1);
}

.collapsible-nav[aria-expanded="true"] li:not([aria-selected="true"]),
.collapsible-nav[aria-expanded="true"] li:not(.current) {
  display: block;
}

/* Sidebar navigation that collapses on mobile */
.collapsible-sidebar {
  flex: 1;
  max-height: 45px;
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

@media (min-width: 1024px) {
  .collapsible-sidebar {
    max-height: none;
    padding: 0;
  }
}

.collapsible-sidebar-title {
  margin-top: 0;
}

.collapsible-sidebar-toggle {
  position: absolute;
  top: calc(45px / 2);
  transform: translateY(-50%);
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

@media (min-width: 1024px) {
  .collapsible-sidebar-toggle {
    display: none;
  }
}

[dir="rtl"] .collapsible-sidebar-toggle {
  left: 0;
  right: auto;
}

.collapsible-sidebar-toggle-icon {
  display: none;
}

.collapsible-sidebar-toggle[aria-expanded="false"] .chevron-icon {
  display: inline-block;
}

.collapsible-sidebar-toggle[aria-expanded="true"] .x-icon {
  display: inline-block;
}

.collapsible-sidebar-toggle:focus {
  outline: none;
  border: 1px solid rgba(255, 175, 109, 1);
}

.collapsible-sidebar-body {
  display: none;
}

@media (min-width: 1024px) {
  .collapsible-sidebar-body {
    display: block;
  }
}

.collapsible-sidebar[aria-expanded="true"] {
  max-height: none;
}

.collapsible-sidebar[aria-expanded="true"] .collapsible-sidebar-body {
  display: block;
}

/***** My activities *****/
.my-activities-nav {
  background-color: #f2f2f2;
  margin-bottom: 20px;
}

.my-activities-sub-nav {
  margin-bottom: 30px;
}

.my-activities-table .striped-list-title {
  /* My activities tables */
  display: block;
  margin-bottom: 10px;
  max-width: 350px;
  white-space: normal;
}

@media (min-width: 1024px) {
  .my-activities-table .striped-list-title {
    margin-bottom: 0;
    max-width: 500px;
    min-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.my-activities-table thead {
  display: none;
}

@media (min-width: 768px) {
  .my-activities-table thead {
    display: table-header-group;
  }
}

.my-activities-table th:first-child,
.my-activities-table td:first-child {
  padding-left: 0;
}

@media (min-width: 1024px) {
  .my-activities-table th:first-child,
  .my-activities-table td:first-child {
    width: 500px;
  }
}

.my-activities-table th:last-child,
.my-activities-table td:last-child {
  padding-right: 0;
}

.my-activities-table td:not(:first-child) {
  display: none;
}

@media (min-width: 768px) {
  .my-activities-table td:not(:first-child) {
    display: table-cell;
  }
}

/* Requests table */
.requests-search {
  width: 100%;
}

.requests-table-toolbar {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .requests-table-toolbar {
    flex-direction: row;
  }
}

.requests-table-toolbar .search {
  flex: 1;
  width: 100%;
}

.requests-table-toolbar .request-table-filter {
  width: 100%;
}

@media (min-width: 768px) {
  .requests-table-toolbar .request-table-filter {
    width: auto;
  }
}

.requests-table-toolbar .request-filter {
  display: block;
}

@media (min-width: 768px) {
  .requests-table-toolbar .request-filter {
    margin: 0 0 0 30px;
  }
  [dir="rtl"] .requests-table-toolbar .request-filter {
    margin: 0 30px 0 0;
  }
}

.requests-table-toolbar .request-filter-label {
  font-size: 13px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .requests-table-toolbar .request-filter-label {
    margin-top: 0;
  }
}

.requests-table-toolbar select {
  max-height: 40px;
  margin-bottom: 30px;
  width: 100%;
}

@media (min-width: 768px) {
  .requests-table-toolbar select {
    margin-bottom: 0;
    max-width: 300px;
    width: auto;
  }
}

@media (min-width: 768px) {
  .requests-table-toolbar .organization-subscribe {
    margin-left: 10px;
  }
  [dir="rtl"] .requests-table-toolbar .organization-subscribe {
    margin: 0 10px 0 0;
  }
}

.requests-table-toolbar .organization-subscribe button {
  line-height: 40px;
  max-height: 40px;
  padding: 0 20px;
}

.requests-table-toolbar + .requests-search-info {
  margin-top: 15px;
}

.requests-table-toolbar + .requests-search-info.meta-data::after {
  content: "";
  margin: 0;
}

.requests-table-toolbar + .requests-search-info + .requests {
  margin-top: 20px;
}

.requests-table-toolbar + .requests {
  margin-top: 40px;
}

.requests .requests-table-meta {
  display: block;
}

@media (min-width: 768px) {
  .requests .requests-table-meta {
    display: none;
  }
}

.requests .requests-table thead {
  display: none;
}

@media (min-width: 768px) {
  .requests .requests-table thead {
    display: table-header-group;
  }
}

.requests .requests-table-info {
  display: block;
}

@media (min-width: 768px) {
  .requests .requests-table-info {
    display: table-cell;
    vertical-align: middle;
    width: auto;
  }
}

.requests .requests-table .requests-link {
  position: relative;
}

.requests .requests-table .requests-sort-symbol {
  position: absolute;
  left: calc(100% + 3px);
  bottom: 0;
  font-size: 10px;
}

/* Following table */
@media (min-width: 768px) {
  .subscriptions-subscribe button {
    width: auto;
  }
}

.subscriptions-table td:last-child {
  display: block;
}

@media (min-width: 768px) {
  .subscriptions-table td:last-child {
    display: table-cell;
  }
}

.subscriptions-table td:first-child {
  display: flex;
  align-items: center;
}

.subscriptions-table .user-avatar {
  margin-right: 10px;
}

.subscriptions .striped-list-title {
  display: inline-block;
  vertical-align: middle;
}

/* Contributions table */
.contributions-table td:last-child {
  color: #8d8d8d;
  font-size: 13px;
  font-weight: 300;
}

@media (min-width: 768px) {
  .contributions-table td:last-child {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
  }
}

.no-activities {
  color: #8d8d8d;
}

/***** Request *****/
.request-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .request-container {
    align-items: flex-start;
    flex-direction: row;
  }
}

.request-container .comment-container {
  min-width: 0;
}

.request-breadcrumbs {
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .request-breadcrumbs {
    margin-bottom: 60px;
  }
}

.request-main {
  flex: 1 0 auto;
  order: 1;
}

.request-main .comment-fields, .request-main .request-submit-comment {
  display: none;
}

.request-main .comment-fields.shown {
  display: block;
}

.request-main .request-submit-comment.shown {
  display: inline;
}

@media (min-width: 1024px) {
  .request-main {
    flex: 0 0 66%;
    order: 0;
    min-width: 0;
  }
}

.request-main .comment-form-controls {
  display: block;
}

.request-main .comment-ccs {
  display: block;
}

.request-main .comment-show-container {
  border-radius: 2px;
  border: 1px solid #ddd;
  color: #8d8d8d;
  text-align: inherit;
  padding: 8px 25px;
  width: 100%;
}

.request-main .comment-show-container.hidden {
  display: none;
}

.request-main .form-field.comment-ccs > ul {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}

.request-main .form-field.comment-ccs > ul[data-hc-focus="true"] {
  border: 1px solid rgba(255, 175, 109, 1);
}

.request-main .form-field.comment-ccs > input[type="text"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}

.request-main .comment-ccs + textarea {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
}

.request-main .comment-ccs + textarea:focus {
  border-top: 1px solid rgba(255, 175, 109, 1);
}

.request-main input#mark_as_solved {
  display: none;
}

.request-title {
  width: 100%;
}

@media (min-width: 1024px) {
  .request-title {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    max-width: 66%;
    padding-bottom: 20px;
  }
}

.request-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  order: 0;
}

@media (min-width: 1024px) {
  .request-sidebar {
    background-color: #f7f7f7;
    border: 0;
    font-size: 13px;
    flex: 0 0 auto;
    padding: 0 20px;
    width: 30%;
  }
}

.request-sidebar h2 {
  font-size: 15px;
  font-weight: 600;
  position: relative;
}

@media (min-width: 1024px) {
  .request-sidebar h2 {
    display: none;
  }
}

.request-details {
  border-bottom: 1px solid #ddd;
  font-size: 0;
  margin: 0;
  padding-bottom: 20px;
}

.request-details:last-child {
  border: 0;
}

.request-details dt, .request-details dd {
  display: inline-block;
  vertical-align: top;
  font-size: 13px;
  margin: 20px 0 0 0;
}

.request-details dd {
  padding: 0 10px;
  width: 60%;
}

.request-details dd::after {
  content: "\A";
  white-space: pre;
}

.request-details dt {
  color: #8d8d8d;
  font-weight: 300;
  width: 40%;
}

.request-details .request-collaborators {
  display: inline-block;
}

.request-attachments dt, .request-attachments dd {
  width: 100%;
}

.request-attachments dd {
  margin: 10px 0 0 0;
}

.request-form textarea {
  min-height: 120px;
}

.request-follow-up {
  padding-top: 20px;
}

/***** Pagination *****/
.pagination {
  margin: 20px 0;
  text-align: center;
}

.pagination-next, .pagination-prev, .pagination-first, .pagination-last {
  display: inline-block;
}

.pagination-first-link, .pagination-last-link {
  padding: 0 10px;
}

.pagination-first-text, .pagination-last-text {
  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;
}

.pagination-next-link {
  padding-right: 10px;
}

.pagination-next-text {
  margin-right: 10px;
}

[dir="rtl"] .pagination-next-link {
  padding-left: 10px;
}

[dir="rtl"] .pagination-next-text {
  margin-left: 10px;
}

.pagination-prev-link {
  padding-left: 10px;
}

.pagination-prev-text {
  margin-left: 10px;
}

[dir="rtl"] .pagination-prev-link {
  padding-right: 10px;
}

[dir="rtl"] .pagination-prev-text {
  margin-right: 10px;
}

/***** Metadata *****/
.meta-group {
  display: block;
}

.meta-group-opposite {
  float: right;
}

[dir="rtl"] .meta-group-opposite {
  float: left;
}

.meta-group * {
  display: inline;
}

.meta-data {
  color: #8d8d8d;
  font-size: 13px;
  font-weight: 300;
}

.meta-data:not(:last-child)::after {
  content: "\00B7";
  margin: 0 5px;
}

/* User Profiles */
.profile-header {
  padding: 30px 0;
  background-color: #f7f7f7;
}

.profile-header .container {
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .profile-header .container {
    flex-wrap: nowrap;
  }
}

.profile-header .profile-info {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

.profile-avatar {
  position: relative;
  line-height: 0;
  align-self: center;
  margin-right: 10px;
}

[dir="rtl"] .profile-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.profile-avatar .user-avatar {
  width: 80px;
  height: 80px;
}

.profile-avatar .icon-agent {
  bottom: 0;
  right: 0;
}

.profile-header .basic-info {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}

.profile-header .basic-info .name {
  margin: 0;
  line-height: 25px;
}

.profile-header .options {
  display: flex;
  flex-basis: 100%;
  margin-top: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .profile-header .options {
    flex-wrap: nowrap;
    flex-basis: auto;
    margin-top: 0;
    margin-left: 10px;
  }
  [dir="rtl"] .profile-header .options {
    margin-left: 0;
    margin-right: 10px;
  }
  .profile-header .options > :not(:last-child) {
    margin-bottom: 0;
    margin-right: 10px;
  }
  [dir="rtl"] .profile-header .options > :not(:last-child) {
    margin-left: 10px;
    margin-right: 0;
  }
}

.user-profile-actions {
  width: 100%;
  margin-bottom: 15px;
}

.profile-header .description {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 15px 0;
  flex-basis: 100%;
}

.profile-stats {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
}

.profile-stats .stat {
  display: flex;
  margin-bottom: 10px;
}

.profile-stats .stat-label {
  color: #8d8d8d;
  font-weight: 300;
  flex: 0 0 100px;
  margin-right: 10px;
}

[dir="rtl"] .profile-stats .stat-label {
  margin-left: 10px;
  margin-right: 0;
}

.profile-stats-activity {
  border-top: solid 1px #ddd;
  margin-top: 15px;
}

@media (min-width: 768px) {
  .profile-stats-activity {
    border-top: 0;
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat {
    flex-direction: column;
  }
}

.profile-stats-activity .stat:first-child {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .profile-stats-activity .stat:first-child {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat:not(:last-child) {
    margin-right: 40px;
  }
  [dir="rtl"] .profile-stats-activity .stat:not(:last-child) {
    margin-left: 40px;
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat-label {
    flex: 0 1 auto;
  }
}

.profile-stats-counters {
  border-bottom: solid 1px #ddd;
}

@media (min-width: 768px) {
  .profile-stats-counters {
    flex: 0 0 200px;
    border-bottom: 0;
    margin-left: 40px;
  }
  [dir="rtl"] .profile-stats-counters {
    margin-left: 0;
    margin-right: 40px;
  }
}

@media (min-width: 1024px) {
  .profile-stats-counters {
    flex: 0 0 270px;
    margin-left: 60px;
  }
  [dir="rtl"] .profile-stats-counters {
    margin-right: 60px;
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .profile-stats-counters .stat {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat:not(:last-child) {
    margin-bottom: 15px;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat-label {
    flex: 0 1 auto;
  }
}

@media (min-width: 1024px) {
  .profile-stats-counters .stat-label {
    flex: 0 0 100px;
  }
}

.profile-private-badge {
  flex-basis: 100%;
  border: solid 1px rgba(255, 175, 109, 1);
  border-radius: 4px;
  color: rgba(255, 175, 109, 1);
  padding: 5px 20px;
  font-size: 12px;
  text-align: center;
}

.profile-private-badge .profile-private-icon {
  margin-left: 5px;
  line-height: 15px;
}

@media (min-width: 768px) {
  .profile-private-badge {
    flex-basis: auto;
  }
}

.profile-nav {
  background-color: #f2f2f2;
  margin-bottom: 37px;
}

.profile-section {
  width: 100%;
}

@media (min-width: 1024px) {
  .profile-section {
    width: calc(100% - 330px);
  }
}

.profile-section-header {
  display: flex;
  flex-wrap: wrap;
}

.profile-section-title {
  flex-basis: 100%;
  margin-bottom: 0;
}

.profile-section-description {
  flex-basis: 100%;
  padding: 10px 0;
  color: #8d8d8d;
  font-weight: 300;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .profile-section-description {
    flex: 1 0 50%;
    padding-bottom: 0;
  }
}

.profile-section-sorter {
  flex-basis: 100%;
  border-top: solid 1px #eee;
  font-size: 13px;
}

.profile-section-sorter .dropdown-toggle {
  padding: 10px 0;
  width: 100%;
}

.profile-section-sorter .dropdown-toggle::after {
  position: absolute;
  right: 0;
}

[dir="rtl"] .profile-section-sorter .dropdown-toggle::after {
  left: 0;
  right: initial;
}

@media (min-width: 768px) {
  .profile-section-sorter .dropdown-toggle::after {
    position: relative;
  }
}

@media (min-width: 768px) {
  .profile-section-sorter {
    flex: 0 1 auto;
    padding-top: 0;
    border-top: 0;
    margin-left: 20px;
  }
  [dir="rtl"] .profile-section-sorter {
    margin-left: 0;
    margin-right: 20px;
  }
}

.profile-badges-items {
  margin-top: 25px;
}

.profile-badges-item {
  border-top: 1px solid #ddd;
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: flex-start;
  padding: 27px 12px;
}

.profile-badges-item > div {
  padding-right: 12px;
  padding-left: 12px;
}

.profile-badges-item-image {
  height: 40px;
  width: 40px;
  margin-right: 12px;
}

.profile-badges-item-image img {
  max-height: 40px;
}

[dir="rtl"] .profile-badges-item-image {
  margin-left: 12px;
  margin-right: 0;
}

.profile-badges-item-title, .profile-badges-item-metadata-title {
  font-size: 15px;
  margin-bottom: 10px;
}

.profile-badges-item-title {
  font-weight: 600;
}

.profile-badges-item-description, .profile-badges-item-metadata-description {
  color: #8d8d8d;
  font-size: 13px;
  margin: 0;
}

.profile-badges-item-metadata {
  margin-left: auto;
  text-align: right;
}

[dir="rtl"] .profile-badges-item-metadata {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.profile-contribution {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  padding: 20px 0;
  position: relative;
}

.profile-contribution-header {
  margin-bottom: 5px;
}

.profile-contribution-title {
  margin: 0 0 5px 0;
  display: inline;
  line-height: 21px;
  font-size: 15px;
  vertical-align: middle;
}

.profile-contribution-body {
  margin: 10px 0;
}

.profile-contribution-list > .profile-contribution {
  border-top: 1px solid #eee;
}

@media (min-width: 768px) {
  .profile-contribution-list > .profile-contribution {
    padding-left: 30px;
  }
  [dir="rtl"] .profile-contribution-list > .profile-contribution {
    padding-right: 30px;
    padding-left: 0;
  }
}

.profile-contribution-list > .profile-contribution:last-child {
  border-bottom: 1px solid #eee;
}

.profile-contribution-icon {
  left: 0;
  position: absolute;
  color: #ccc;
  line-height: 25px;
}

[dir="rtl"] .profile-contribution-icon {
  right: 0;
}

.profile-contribution-icon svg {
  vertical-align: middle;
}

.profile-contribution-list .profile-contribution-header {
  margin-left: 30px;
}

[dir="rtl"] .profile-contribution-list .profile-contribution-header {
  padding-right: 30px;
  padding-left: 0;
}

@media (min-width: 768px) {
  .profile-contribution-list .profile-contribution-header {
    margin-left: 0;
  }
  [dir="rtl"] .profile-contribution-list .profile-contribution-header {
    padding-right: 0;
  }
}

.profile-comments .profile-contribution-breadcrumbs {
  margin-left: 30px;
}

[dir="rtl"] .profile-comments .profile-contribution-breadcrumbs {
  padding-right: 30px;
  padding-left: 0;
}

@media (min-width: 768px) {
  .profile-comments .profile-contribution-breadcrumbs {
    margin-left: 0;
  }
  [dir="rtl"] .profile-comments .profile-contribution-breadcrumbs {
    padding-right: 0;
  }
}

.profile-section .no-activity,
.profile-section .private-activity {
  display: block;
  margin-top: 40px;
  color: #999;
}

.private-activity-icon {
  margin-right: 10px;
}

[dir="rtl"] .private-activity-icon {
  margin-right: 0;
  margin-left: 10px;
}

.profile-activity-list {
  margin-top: 25px;
}

.profile-activity {
  position: relative;
  padding-bottom: 30px;
}

@media (min-width: 768px) {
  .profile-activity {
    padding-left: 20px;
  }
  [dir="rtl"] .profile-activity {
    padding-right: 20px;
    padding-left: 0;
  }
}

@media (min-width: 768px) {
  .profile-activity:not(:last-child) {
    border-left: 1px solid #ddd;
  }
  [dir="rtl"] .profile-activity:not(:last-child) {
    border-left: 0;
    border-right: 1px solid #ddd;
  }
}

.profile-activity-header {
  display: flex;
  align-items: center;
  margin-left: 35px;
}

[dir="rtl"] .profile-activity-header {
  margin-left: 0;
  margin-right: 35px;
}

@media (min-width: 768px) {
  .profile-activity-header {
    margin-left: 0;
  }
  [dir="rtl"] .profile-activity-header {
    margin-right: 0;
  }
}

.profile-activity-header .user-avatar {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  min-width: 40px;
  align-self: flex-start;
}

[dir="rtl"] .profile-activity-header .user-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.profile-activity-description {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.profile-activity-description span:first-child {
  font-weight: 600;
  display: inline;
}

.profile-activity-contribution {
  padding: 20px;
  margin-top: 10px;
  border-radius: 8px;
  background-color: #f7f7f7;
}

@media (min-width: 768px) {
  .profile-activity-contribution {
    margin-top: 0;
    margin-left: 50px;
  }
  [dir="rtl"] .profile-activity-contribution {
    margin-left: 0;
    margin-right: 50px;
  }
}

.profile-activity-icon {
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 1);
  background-position: 50% 50%;
  text-align: center;
  color: #ccc;
}

[dir="rtl"] .profile-activity-icon {
  right: 0;
}

@media (min-width: 768px) {
  .profile-activity-icon {
    left: -14px;
  }
  [dir="rtl"] .profile-activity-icon {
    right: -14px;
  }
}

.profile-activity-icon svg {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  margin: auto;
}

/***** Search results *****/
.search-results {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .search-results {
    flex-direction: row;
  }
}

.search-results-column {
  flex: 1;
}

@media (min-width: 1024px) {
  .search-results-column {
    flex: 0 0 75%;
  }
}

.search-results-sidebar {
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}

@media (min-width: 1024px) {
  .search-results-sidebar {
    border: 0;
    flex: 0 0 20%;
    height: auto;
  }
}

.search-results-sidebar .sidenav-item:hover, .search-results-sidebar .sidenav-item.current {
  background-color: #e9ebed;
  color: inherit;
  text-decoration: none;
}

.search-results-sidebar .sidenav-subitem {
  unicode-bidi: embed;
}

.search-results-sidebar .collapsible-sidebar {
  margin-bottom: 30px;
}

.search-results-sidebar .collapsible-sidebar[aria-expanded="false"] .multibrand-filter-list {
  display: none;
}

@media (min-width: 1024px) {
  .search-results-sidebar .collapsible-sidebar[aria-expanded="false"] .multibrand-filter-list {
    display: block;
  }
}

.search-results-sidebar .multibrand-filter-list--collapsed li:nth-child(1n + 6) {
  display: none;
}

.search-results-sidebar .multibrand-filter-list .doc-count {
  color: #666;
}

.search-results-sidebar .see-all-filters {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  padding: 10px;
  color: rgba(55, 142, 170, 1);
}

.search-results-sidebar .see-all-filters[aria-hidden="true"] {
  display: none;
}

.search-results-sidebar .see-all-filters:hover {
  text-decoration: underline;
}

.search-results-sidebar .see-all-filters::after {
  content: ' \2304';
  font-weight: bold;
}

.search-results-subheading {
  font-size: 18px;
  font-weight: 600;
}

.search-results-list {
  margin-bottom: 25px;
}

.search-results-list > li {
  padding: 20px 0;
}

.search-results-list > li:first-child {
  border-top: 1px solid #ddd;
}

.search-results-list > li h2 {
  margin-bottom: 0;
}

.search-results .meta-group {
  display: block;
  align-items: center;
  clear: both;
  color: #666;
}

@media (min-width: 1024px) {
  .search-results .meta-group {
    display: flex;
  }
}

.search-results .meta-group > li {
  display: block;
}

@media (min-width: 1024px) {
  .search-results .meta-group > li {
    display: inline;
  }
}

@media (min-width: 1024px) {
  .search-results .meta-group li:first-child {
    flex: 1;
  }
}

.search-results .meta-group .meta-data {
  color: inherit;
}

[dir="ltr"] .search-results .meta-group .meta-data:not(:last-child) {
  margin-right: 20px;
}

[dir="rtl"] .search-results .meta-group .meta-data:not(:last-child) {
  margin-left: 20px;
}

.search-results .meta-group .meta-data::after {
  content: none;
}

.search-results-description {
  margin-top: 10px;
  word-break: break-word;
}

.search-result-title {
  font-size: 16px;
  display: inline-block;
}

[dir="ltr"] .search-result-icons {
  float: right;
}

[dir="rtl"] .search-result-icons {
  float: left;
}

.search-result-votes, .search-result-meta-count {
  color: #8d8d8d;
  display: inline-block;
  font-size: 13px;
  font-weight: 300;
  padding: 4px 5px;
  position: relative;
}

.search-result-votes-icon, .search-result-meta-count-icon {
  color: rgba(255, 175, 109, 1);
  vertical-align: middle;
  width: 13px;
  height: 13px;
}

[dir="ltr"] .search-result-votes, [dir="ltr"] .search-result-meta-count {
  margin-left: 5px;
}

[dir="ltr"] .search-result-votes::before, [dir="ltr"] .search-result-meta-count::before {
  margin-right: 3px;
}

[dir="rtl"] .search-result-votes, [dir="rtl"] .search-result-meta-count {
  margin-right: 5px;
}

[dir="rtl"] .search-result-votes::before, [dir="rtl"] .search-result-meta-count::before {
  margin-left: 3px;
}

.search-result .meta-group {
  align-items: center;
}

.search-result-breadcrumbs {
  margin: 0;
}

@media (min-width: 1024px) {
  .search-result-breadcrumbs {
    display: table-row;
  }
}

@media (min-width: 1024px) {
  .search-result-breadcrumbs li {
    display: table-cell;
  }
}

.search-result-breadcrumbs li, .search-result-breadcrumbs li a, .search-result-breadcrumbs li a:visited {
  color: inherit;
}

/* By default use bold instead of italic to highlight */
.search-results-description em {
  font-style: normal;
  font-weight: bold;
}

/* Add a yellow background for Chinese */
html[lang|="zh"] .search-results-description em {
  font-style: normal;
  background: yellow;
}

/***** Notifications *****/
.notification {
  border: 1px solid;
  display: table;
  font-family: sans-serif;
  font-size: 12px;
  padding: 13px 15px;
  transition: height .2s;
  width: 100%;
  color: #555;
}

.notification a {
  color: #158ec2;
}

.notification-inner {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 980px;
}

.notification-icon, .notification-text, .notification-dismiss {
  display: table-cell;
  vertical-align: middle;
}

.notification-text {
  padding: 0 15px;
  width: 100%;
}

.notification + .notification {
  margin-bottom: -1px;
  position: relative;
  top: -1px;
}

/* Error */
.notification-error {
  background: #ffeded;
  border-color: #f7cbcb;
}

.notification-error .notification-icon::before, .notification-error .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23555555'%3E%3Ccircle cx='5.5' cy='6.5' r='5'/%3E%3Cpath stroke-linecap='round' d='M5.5 3.5v3'/%3E%3C/g%3E%3Ccircle cx='5.5' cy='9' r='1' fill='%23555555'/%3E%3C/svg%3E");
}

/* Notice */
.notification-notice {
  background: #dbf3ff;
  border-color: #b5e0f5;
}

.notification-notice .notification-icon::before, .notification-notice .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23555555'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.5 6l2 2L9 4.5'/%3E%3Ccircle cx='6' cy='6' r='5.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* Alert / Lock */
.notification-alert {
  color: #ad5e18;
  background: #fff8ed;
  border-color: #fcdba9;
}

.notification-alert .notification-icon::before, .notification-alert .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ad5e18' stroke-linecap='round' d='M5.06 1.27l-4.5 8.5c-.18.33.06.73.44.73h9c.38 0 .62-.4.44-.73l-4.5-8.5a.494.494 0 00-.88 0zM5.5 4v2'/%3E%3Ccircle cx='5.5' cy='8' r='.8' fill='%23ad5e18'/%3E%3C/svg%3E");
}

.notification-icon::before, .notification-inline.notification-error::before {
  background-size: cover;
  content: "";
  display: inline-block;
  height: 14px;
  width: 14px;
  vertical-align: middle;
}

/* Dismiss button */
.notification-dismiss, a.notification-dismiss {
  color: #555;
  cursor: pointer;
  opacity: .6;
  transition: opacity 100ms ease;
  text-decoration: none !important;
}

.notification-dismiss:hover {
  opacity: 1;
}

/* Inline notifications */
.notification-inline {
  border-radius: 4px;
  line-height: 14px;
  margin-top: 5px;
  padding: 5px;
  position: relative;
  text-align: left;
  vertical-align: middle;
}

[dir="rtl"] .notification-inline {
  text-align: right;
}

.notification-inline[aria-hidden="true"] {
  display: none;
}

.notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23e35b66'%3E%3Ccircle cx='5.5' cy='6.5' r='5'/%3E%3Cpath stroke-linecap='round' d='M5.5 3.5v3'/%3E%3C/g%3E%3Ccircle cx='5.5' cy='9' r='1' fill='%23e35b66'/%3E%3C/svg%3E");
  margin: -2px 5px 0 0;
}

[dir="rtl"] .notification-inline.notification-error::before {
  margin: 0 0 0 5px;
}

.notification-inline.notification-error {
  background-color: #fff0f1;
  border: 1px solid #e35b66;
  color: #cc3340;
}

.notification-inline.notification-large {
  padding: 13px 15px;
  margin-bottom: 25px;
}

.notification-left-aligned {
  text-align: left;
  padding-left: 0;
}

html[dir="rtl"] .notification-left-aligned {
  text-align: right;
  padding-left: auto;
  padding-right: 0;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
  background: none;
  border: 0;
  display: inline-block;
  padding: 0;
  text-align: initial;
  vertical-align: middle;
}

.dropdown-toggle:hover {
  text-decoration: none;
}

.dropdown-toggle > * {
  display: inline-block;
}

.dropdown-menu {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  display: none;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  left: 0;
  margin-top: 1px;
  min-width: 170px;
  padding: 10px 0;
  position: absolute;
  text-align: left;
  z-index: 1000;
}

[dir="rtl"] .dropdown-menu {
  text-align: right;
}

.dropdown-menu[aria-expanded="true"] {
  display: block;
}

.dropdown-menu [role="separator"] {
  border-bottom: 1px solid #d8d8d8;
  color: #969696;
  display: block;
  font-weight: normal;
  font-size: 11px;
  padding: 5px 0;
  margin: 5px 20px 10px 20px;
}

.dropdown-menu [role="menuitem"] {
  color: #333;
  cursor: pointer;
  display: block;
  padding: 7px 40px 7px 20px;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  text-align: start;
  line-height: inherit;
  width: 100%;
}

[dir="rtl"] .dropdown-menu [role="menuitem"] {
  padding: 7px 20px 7px 40px;
}

.dropdown-menu [role="menuitem"]:hover, .dropdown-menu [role="menuitem"]:focus {
  background: #f3f3f3;
  text-decoration: none;
  color: #333;
}

.dropdown-menu [role="menuitem"][aria-selected="true"] {
  cursor: default;
}

.dropdown-menu [role="menuitem"][aria-selected="true"]::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1 7l3 3 7-7'%3E%3C/path%3E%3C/svg%3E");
  display: inline-block;
  height: 12px;
  margin-left: 10px;
  width: 12px;
}

[dir="rtl"] .dropdown-menu [role="menuitem"][aria-selected="true"]::after {
  margin-left: 0;
  margin-right: 10px;
  float: left;
}

.dropdown-menu [role="menuitem"][hidden], .dropdown-menu [role="menuitem"][aria-hidden="true"] {
  display: none !important;
}

.dropdown-menu-end {
  left: auto;
  right: 0;
}

.dropdown-menu-top {
  bottom: 100%;
  margin-bottom: 1px;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
  text-align: right;
}

[dir="rtl"] .dropdown-menu-end {
  left: 0;
  right: auto;
}

.dropdown-chevron-icon {
  vertical-align: middle;
}


/*23.09.14 佐藤追加分（記事スタイル）　*/

.balloon-004 {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 300px;
    margin-left: 15px;
    padding: .8em 1.2em;
    border-radius: 5px;
    background-color: #ffecdc;
    color: #333333;
}

.balloon-004::before {
    position: absolute;
    left: -15px;
    width: 15px;
    height: 30px;
    background-color: #fe7300;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}



.toc-005 {
    margin-bottom: 30px;
    border-radius: 3px;
    background-color: #f2f2f2;
}

.toc-005 div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    background-color: #fb9541;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
}

.toc-005 div::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 5px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23fff%22%3E%3Cpath%20d%3D%22M3.8%2017.2h-3c-.5%200-.8.4-.8.8v3c0%20.4.3.8.8.8h3c.4%200%20.8-.3.8-.8v-3c-.1-.4-.4-.8-.8-.8zm0-15h-3c-.5%200-.8.4-.8.8v3c0%20.4.3.8.8.8h3c.4%200%20.8-.3.8-.8V3c-.1-.4-.4-.8-.8-.8zm0%207.6h-3c-.5%200-.8.3-.8.7v3c0%20.4.3.8.8.8h3c.4%200%20.8-.3.8-.8v-3c-.1-.4-.4-.7-.8-.7zM23.2%2018h-15c-.4%200-.8.3-.8.8v1.5c0%20.4.3.8.8.8h15c.4%200%20.8-.3.8-.8v-1.5c0-.5-.3-.8-.8-.8zm0-15h-15c-.4%200-.7.3-.7.8v1.5c0%20.4.3.7.7.7h15c.5%200%20.8-.3.8-.8V3.8c0-.5-.3-.8-.8-.8zm0%207.5h-15c-.4%200-.8.3-.8.8v1.5c0%20.4.3.8.8.8h15c.4%200%20.8-.3.8-.8v-1.5c0-.5-.3-.8-.8-.8z%22%2F%3E%3C%2Fsvg%3E');
    content: '';
}

.toc-005 ol {
    list-style-type: decimal;
    margin: 0;
    overflow: hidden;
}

.toc-005 > ol {
    padding: 1em 1em 1em 3em;
}

.toc-005 ol ol {
    margin-top: 5px;
    padding-left: 1.1em;
}

.toc-005 li {
    padding: 5px 0;
    font-weight: 600;
}

.toc-005 ol ol li {
    font-weight: 500;
    font-size: .9em;
}

.toc-005 a {
    color: #333;
    text-decoration: none;
}


.box-007 {
    /*max-width: 400px;*/
    margin: 2.5em auto;
   padding:0 5%;
    border: 2px dotted #ffb36b;
    border-radius: 5px;
    color: #333333;
}

.box-007 div {
    display: inline-flex;
    align-items: center;
    position: relative;
    top: -13px;
    left: 10px;
    margin: 0 7px;
    padding: 0 8px;
    background: #fff;
    color: #ff7c00;
    font-weight: 600;
    vertical-align: top;
}

.box-007 svg {
    padding-right: 4px;
}

.box-007 p {
    margin: 0;
    padding: 0 1.5em 1em;
}

.heading-038 {
    position: relative;
    padding: .5em 1.2em;
    color: #333333;
}

.heading-038::before,
.heading-038::after {
    display: inline-block;
    position: absolute;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #ffb36b;
    content: '';
}

.heading-038::before {
    top: calc(50% - 3px);
    left: 0;
}

.heading-038::after {
    top: calc(50% + 3px);
    left: 5px;
}

.list-002 {
    list-style-type: none;
    padding: 1em;
    border: 2px solid #ffb36b;
    counter-reset: li;
}

.list-002 li {
    display: flex;
    align-items: center;
    padding: .3em;
}

.list-002 li::before {
    display: inline-block;
    min-width: 1.7em;
    margin-right: 5px;
    border-radius: 50%;
    background-color: #ffb36b;
    color: #fff;
    font-weight: bold;
    font-size: .75em;
    line-height: 1.7em;
    text-align: center;
    content: counter(li);
    counter-increment: li;
}
.list-006 {
    list-style-type: none;
}

.list-006 li {
    margin-bottom: 5px;
    padding: .5em .7em;
    border-left: 5px solid #ffb36b;
    background-color: #f2f2f2;
    font-weight: 600;
}


/* =====================================================================
   FAQ Top Redesign 2026 (corporation / 法人)
   - 新トップページ + ヘッダー + フッターの新デザイン
   - 既存スタイルとの干渉を避けるため `.kt-` プレフィックスで管理
   - 配色: Figma `【ToC・ToB】FAQサイト改修` 準拠（worker と完全同一）
   ===================================================================== */

/* 既存style.cssのグローバルh1-h6装飾を打ち消す（オレンジbg, 黄下線, 白文字色など） */
.kt-home h1, .kt-home h2, .kt-home h3, .kt-home h4, .kt-home h5, .kt-home h6,
.kt-category h1, .kt-category h2, .kt-category h3, .kt-category h4, .kt-category h5, .kt-category h6,
.kt-section h1, .kt-section h2, .kt-section h3, .kt-section h4, .kt-section h5, .kt-section h6,
.kt-article h1, .kt-article h2, .kt-article h3, .kt-article h4, .kt-article h5, .kt-article h6,
.kt-search-page h1, .kt-search-page h2, .kt-search-page h3, .kt-search-page h4, .kt-search-page h5, .kt-search-page h6 {
  background: transparent;
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
.kt-home h3 > a, .kt-home h4 > a,
.kt-category h3 > a, .kt-category h4 > a,
.kt-section h3 > a, .kt-section h4 > a,
.kt-article h3 > a, .kt-article h4 > a,
.kt-search-page h3 > a, .kt-search-page h4 > a {
  color: inherit;
}
/* リセット後、特定タイトルだけ色と太さを再設定（resetより詳細度を高く） */
.kt-home .kt-hero__title { color: #fff; font-weight: 700; }
.kt-home .kt-section__title,
.kt-category .kt-cat-title__text,
.kt-section .kt-cat-title__text,
.kt-section .kt-section-card__title,
.kt-article .kt-article__title,
.kt-search-page .kt-section__title {
  color: var(--kt-heading);
  font-weight: 700;
}
:root {
  --kt-brand: #ee760a;
  --kt-brand-strong: #d96807;
  --kt-brand-bg: #faf1e8;
  --kt-surface: #ffffff;
  --kt-surface-muted: #f5f5f5;
  --kt-text: #2d2d2d;
  --kt-text-secondary: #666666;
  --kt-heading: #1a1a2e;
  --kt-border: rgba(0, 0, 0, 0.20);
  --kt-border-soft: #e5e7eb;
  --kt-shadow-sm: 0 1px 2px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.20);
  --kt-radius-sm: 4px;
  --kt-radius: 8px;
  --kt-radius-lg: 12px;
  --kt-radius-pill: 9999px;
  --kt-content-max: 1080px;
  --kt-font: 'Noto Sans JP', sans-serif;
}

/* Material Symbols 共通設定 */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
  font-variation-settings: 'opsz' 24, 'wght' 400, 'FILL' 0, 'GRAD' 0;
  user-select: none;
}

/* ============= ヘッダー（共通） ============= */
.kt-header {
  background: var(--kt-surface);
  border-bottom: 1px solid var(--kt-border-soft);
  width: 100%;
}
.kt-header__inner {
  max-width: var(--kt-content-max);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.kt-header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
/* PC用: ロゴ + (タグ縦積みヘルプページ) */
.kt-header__label {
  display: flex;
  flex-direction: column;
  align-items: stretch;     /* タグをラベル幅に合わせて伸ばす */
  gap: 4px;
  line-height: 1;
}
.kt-header__label-tag {
  border: 2px solid var(--kt-border);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--kt-text-secondary);
  white-space: nowrap;
  text-align: center;       /* 横幅が広がっても文字は中央 */
  display: flex;
  align-items: center;
  justify-content: center;
}
.kt-header__label-text--pc {
  font-size: 14px;
  font-weight: 400;          /* Regular */
  color: var(--kt-text-secondary);
  white-space: nowrap;
  text-align: center;
}
/* SP用: ロゴ縦積みヘルプページ + 横にセレクト */
.kt-header__brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}
.kt-header__label-text--sp {
  font-size: 13px;
  font-weight: 400;
  color: var(--kt-text-secondary);
  white-space: nowrap;
}
.kt-header__logo-link { display: inline-flex; line-height: 0; }
.kt-header__logo {
  height: 30px;
  width: auto;
  display: block;
}
.kt-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.kt-header__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius-pill);
  background: var(--kt-surface);
  color: var(--kt-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.kt-header__pill:hover,
.kt-header__pill:focus {
  background: var(--kt-brand);
  color: #fff;
  border-color: var(--kt-brand);
  text-decoration: none;
}

/* ============= サイト切替セレクト（SP用） ============= */
.kt-site-switcher { position: relative; display: inline-block; }
.kt-site-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 4px 4px 8px;
  height: 32px;
  background: var(--kt-surface);
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius-sm);
  cursor: pointer;
  font-family: var(--kt-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--kt-text);
  line-height: 1.25;
  white-space: nowrap;
  transition: border-color 0.15s ease;
}
.kt-site-switcher__btn:hover,
.kt-site-switcher__btn:focus {
  border-color: var(--kt-brand);
  outline: none;
}
.kt-site-switcher__chev {
  font-size: 20px;
  color: var(--kt-text-secondary);
  transition: transform 0.15s ease;
}
.kt-site-switcher.is-open .kt-site-switcher__chev { transform: rotate(180deg); }

.kt-site-switcher__menu {
  list-style: none;
  margin: 0;
  padding: 4px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius);
  box-shadow: var(--kt-shadow-sm);
  z-index: 20;
}
.kt-site-switcher__menu[hidden] { display: none; }
.kt-site-switcher__menu li { margin: 0; padding: 0; }
.kt-site-switcher__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--kt-text);
  text-decoration: none;
}
.kt-site-switcher__menu a:hover { background: var(--kt-brand-bg); }
.kt-site-switcher__menu a[aria-current="page"] {
  background: var(--kt-brand-bg);
  color: var(--kt-brand-strong);
}

/* お問い合わせ：オレンジアウトラインCTA（PC・SP共通） */
.kt-header__pill--cta-mobile {
  background: var(--kt-brand-bg);
  border-color: var(--kt-brand);
  color: var(--kt-brand);
}
.kt-header__pill--cta-mobile:hover,
.kt-header__pill--cta-mobile:focus {
  background: var(--kt-brand);
  color: #fff;
  border-color: var(--kt-brand);
}

/* ============= レスポンシブ：PC/SP出し分け ============= */
.kt-pc-only { display: inline-flex; }
.kt-sp-only { display: none !important; }

@media (max-width: 767px) {
  /* SP: ロゴサイズなど調整 */
  .kt-header__inner { padding: 12px 16px; gap: 10px; }
  .kt-header__logo { height: 30px; }
  .kt-header__brand { gap: 10px; }

  /* PC専用要素を隠す / SP専用要素を表示 */
  .kt-pc-only { display: none !important; }
  .kt-sp-only { display: inline-flex !important; }
}

@media (max-width: 380px) {
  /* 超小画面: 文字をさらに縮小 */
  .kt-header__inner { padding: 10px 12px; }
  .kt-header__label-text { font-size: 12px; }
  .kt-site-switcher__btn { font-size: 12px; padding: 3px 4px 3px 6px; }
  .kt-header__pill--cta-mobile { font-size: 13px; padding: 7px 10px; }
}

/* ============= ホーム全体 ============= */
.kt-home {
  background: var(--kt-surface-muted);
  font-family: var(--kt-font);
  color: var(--kt-text);
}
.kt-home a { text-decoration: none; color: inherit; }

/* ============= Hero ============= */
.kt-hero {
  position: relative;
  background: var(--kt-brand);
  padding: 32px 16px 40px;
  overflow: hidden;
}
.kt-hero__bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 339px;
  height: auto;
  pointer-events: none;
  max-width: 90%;
  user-select: none;
}
.kt-hero__inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.kt-hero__title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

/* 検索バー */
.kt-search {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: var(--kt-radius-pill);
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-shadow: var(--kt-shadow-sm);
  /* overflow:hidden は付けない：インスタント検索のサジェストが下に出るため */
}

/* Zendeskインスタント検索のサジェストドロップダウン */
.kt-search .search-results-column,
.kt-search .instant-search-results,
.kt-search .search-results-list,
.kt-search > ul,
.kt-search__field > ul,
.kt-search__field > div[class*="instant"] {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius);
  box-shadow: var(--kt-shadow-sm);
  z-index: 50;
  max-height: 70vh;
  overflow-y: auto;
}
/* インスタント検索ドロップダウン（Zendesk Web Component zd-autocomplete-*）の見た目調整 */
zd-autocomplete-title-multibrand,
zd-autocomplete zd-autocomplete-title-multibrand,
zd-autocomplete-title-multibrand em {
  color: var(--kt-text, #2d2d2d) !important;
  text-decoration: underline !important;
}
zd-autocomplete-multibrand,
zd-autocomplete-multibrand[aria-selected="true"],
zd-autocomplete-multibrand:hover,
zd-autocomplete-multibrand:focus {
  box-shadow: none !important;
  border-left: 0 !important;
  border-right: 0 !important;
  outline: 0 !important;
}
zd-autocomplete-multibrand[aria-selected="true"],
zd-autocomplete-multibrand:hover {
  background: var(--kt-brand-bg, #faf1e8) !important;
}
.kt-search__icon {
  font-size: 20px;
  color: #999;
  flex-shrink: 0;
  margin-right: 12px;
}
.kt-search__field {
  flex: 1;
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
}
.kt-search__field input,
.kt-search__field input[type="search"] {
  width: 100%;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--kt-font);
  font-size: 14px;
  color: var(--kt-text);
  outline: none;
  -webkit-appearance: none;
}
.kt-search__field input::placeholder { color: #999; }
.kt-search__field button { display: none; }

/* ============= Content wrapper ============= */
.kt-content {
  max-width: var(--kt-content-max);
  margin: 0 auto;
  padding: 32px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.kt-home .kt-section { display: flex; flex-direction: column; gap: 20px; }
.kt-home .kt-section[hidden] { display: none; }
.kt-section__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--kt-heading);
  border-bottom: 0;
}
/* 既存のグローバルh2 border-bottom 打ち消し */
.kt-home h2,
.kt-category h2,
.kt-section h2,
.kt-article h2,
.kt-search-page h2 {
  border-bottom: 0;
}

/* カード共通 hover */
.kt-notice,
.kt-faq-card,
.kt-cat-card,
.kt-recent {
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.kt-notice:hover,
.kt-faq-card:hover,
.kt-cat-card:hover,
.kt-recent:hover {
  box-shadow: var(--kt-shadow-sm);
  transform: translateY(-2px);
  border-color: var(--kt-brand);
}

/* ============= 重要なお知らせ ============= */
.kt-notice-section { gap: 8px; }
.kt-notice-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kt-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  background: #fff;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius);
}
.kt-notice__icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--kt-brand);
  border-radius: var(--kt-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.kt-notice__icon .material-symbols-rounded { font-size: 20px; }
.kt-notice__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.kt-notice__label { font-size: 12px; font-weight: 700; color: var(--kt-brand); }
.kt-notice__text { font-size: 16px; color: var(--kt-text); }
.kt-notice .kt-notice__chevron { font-size: 20px; color: var(--kt-text-secondary); flex-shrink: 0; }

/* ============= カテゴリから探す ============= */
.kt-cat-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.kt-cat-grid > li { display: flex; }
.kt-cat-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kt-cat-card__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--kt-brand-bg);
  border-radius: var(--kt-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--kt-brand-strong);
}
.kt-cat-card__icon .material-symbols-rounded { font-size: 24px; }
.kt-cat-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; line-height: 1.25; }
.kt-cat-card__title { font-size: 16px; font-weight: 700; color: var(--kt-text); }
.kt-cat-card__desc { font-size: 12px; color: var(--kt-text-secondary); }
@media (min-width: 768px) {
  .kt-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .kt-cat-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============= 新着・更新記事 ============= */
.kt-recent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kt-recent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  background: #fff;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius);
}
.kt-recent__title { flex: 1; min-width: 0; font-size: 16px; line-height: 1.25; color: var(--kt-text); }
.kt-recent__chevron { font-size: 20px; color: var(--kt-text-secondary); flex-shrink: 0; }

/* ============= 旧スタイルのリセット ============= */
.kt-home .container { max-width: none; padding: 0; width: auto; }
.kt-home .section { margin: 0; }
/* End FAQ Top Redesign 2026 ============================================ */


/* =====================================================================
   FAQ Category Page Redesign 2026 (corporation / 法人)
   ===================================================================== */
.kt-category {
  background: var(--kt-surface-muted, #f5f5f5);
  font-family: var(--kt-font, 'Noto Sans JP', sans-serif);
  color: var(--kt-text, #2d2d2d);
}
.kt-category a { text-decoration: none; color: inherit; }
.kt-category .container { max-width: none; padding: 0; width: auto; }
.kt-category .section { margin: 0; }

.kt-page-header { background: var(--kt-surface, #fff); border-bottom: 1px solid var(--kt-border-soft, #e5e7eb); }
.kt-page-header__inner { max-width: var(--kt-content-max, 1080px); margin: 0 auto; padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 12px; }

.kt-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.25; color: var(--kt-text-secondary, #666); }
.kt-breadcrumb__link { color: var(--kt-text-secondary, #666); text-decoration: underline; }
.kt-breadcrumb__link:hover { color: var(--kt-brand, #ee760a); }
.kt-breadcrumb__sep { color: #aaa; font-size: 13px; line-height: 1; }
.kt-breadcrumb__current { color: #999; }

.kt-cat-title { display: flex; align-items: center; gap: 12px; }
.kt-cat-title__icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--kt-brand-bg, #faf1e8); border-radius: var(--kt-radius-sm, 4px); display: inline-flex; align-items: center; justify-content: center; color: var(--kt-brand-strong, #d96807); }
.kt-cat-title__icon .material-symbols-rounded { font-size: 24px; }
.kt-cat-title__text { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.25; color: var(--kt-heading, #1a1a2e); }

.kt-category .kt-content { max-width: var(--kt-content-max, 1080px); margin: 0 auto; padding: 32px 16px 60px; }

.kt-section-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .kt-section-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

.kt-section-card { background: #fff; border: 1px solid var(--kt-border, rgba(0,0,0,0.20)); border-radius: var(--kt-radius-lg, 12px); overflow: hidden; display: flex; flex-direction: column; }
.kt-section-card__head { background: #e5e5e5; border-bottom: 1px solid rgba(0,0,0,0.10); padding: 12px 16px; }
.kt-section-card__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--kt-text, #2d2d2d); }
.kt-section-card__title a { color: inherit; display: inline-block; transition: color .15s ease; }
.kt-section-card__title a:hover { color: var(--kt-brand, #ee760a); }
.kt-section-card__desc { margin: 0; padding: 12px 16px 0; font-size: 13px; line-height: 1.5; color: var(--kt-text-secondary, #666); }
.kt-section-card__list { list-style: none; margin: 0; padding: 0; }
.kt-section-card__item { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,0.10); transition: background .15s ease; }
.kt-section-card__item:hover { background: var(--kt-brand-bg, #faf1e8); }
.kt-section-card__bullet { width: 6px; height: 6px; border-radius: 3px; background: var(--kt-text-secondary, #666); flex-shrink: 0; }
.kt-section-card__star { width: 14px; height: 14px; flex-shrink: 0; color: var(--kt-brand, #ee760a); }
.kt-section-card__link { flex: 1; min-width: 0; font-size: 16px; line-height: 1.25; color: var(--kt-text, #2d2d2d); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.kt-section-card__lock { width: 14px; height: 14px; flex-shrink: 0; color: var(--kt-text-secondary, #666); }
.kt-section-card__chevron { font-size: 16px !important; color: var(--kt-text-secondary, #666); flex-shrink: 0; }
.kt-section-card__more { display: flex; justify-content: flex-end; padding: 14px 16px; }
.kt-section-card__more a { font-size: 14px; color: var(--kt-text, #2d2d2d); text-decoration: underline; }
.kt-section-card__more a:hover { color: var(--kt-brand, #ee760a); }

.kt-section-empty { text-align: center; padding: 40px 16px; color: var(--kt-text-secondary, #666); }
.kt-section-empty a { color: var(--kt-brand, #ee760a); text-decoration: underline; }

@media (max-width: 767px) {
  .kt-page-header__inner { padding: 12px 16px 20px; gap: 10px; }
  .kt-cat-title__icon { width: 40px; height: 40px; }
  .kt-cat-title__icon .material-symbols-rounded { font-size: 22px; }
  .kt-cat-title__text { font-size: 20px; }
  .kt-category .kt-content { padding: 24px 16px 48px; }
  .kt-section-card__head { padding: 10px 14px; }
  .kt-section-card__title { font-size: 16px; }
  .kt-section-card__item { padding: 12px 14px; }
  .kt-section-card__link { font-size: 15px; }
}
/* End FAQ Category Page Redesign 2026 =================================== */


/* =====================================================================
   FAQ Article Page Redesign 2026 (corporation / 法人)
   - Figma: Detail ノード準拠
   ===================================================================== */
.kt-article {
  background: var(--kt-surface-muted, #f5f5f5);
  font-family: var(--kt-font, 'Noto Sans JP', sans-serif);
  color: var(--kt-text, #2d2d2d);
}
.kt-article a { color: inherit; }
.kt-article .container,
.kt-article .container-divider,
.kt-article .sub-nav { all: unset; }

.kt-bcwrap { background: #fff; border-bottom: 1px solid #eef0f4; }
.kt-bcwrap-inner { max-width: var(--kt-content-max, 1080px); margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (max-width: 767px) { .kt-bcwrap-inner { flex-direction: column; align-items: stretch; gap: 10px; } }

.kt-bcwrap-bc { flex: 1 1 auto; min-width: 0; font-size: 12px; line-height: 1.25; color: var(--kt-text-secondary, #666); }
.kt-bcwrap-bc ol, .kt-bcwrap-bc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.kt-bcwrap-bc li { display: inline-flex; align-items: center; }
.kt-bcwrap-bc li + li::before { content: '›'; color: #aaa; margin: 0 8px 0 4px; font-size: 13px; line-height: 1; }
.kt-bcwrap-bc li:last-child { color: var(--kt-text-secondary, #666); }
.kt-bcwrap-bc li:last-child a { text-decoration: none; color: var(--kt-text-secondary, #666); pointer-events: none; }
/* 全ページのパンくず文字色を確実にグレーに統一（既存グローバル.aの青を打ち消す） */
.kt-bcwrap-bc,
.kt-bcwrap-bc a,
.kt-bcwrap-bc a:link,
.kt-bcwrap-bc a:visited,
.kt-bcwrap-bc li,
.kt-bcwrap-bc span,
.kt-breadcrumb,
.kt-breadcrumb a,
.kt-breadcrumb a:link,
.kt-breadcrumb a:visited,
.kt-breadcrumb__link,
.kt-breadcrumb__link:link,
.kt-breadcrumb__link:visited,
.kt-breadcrumb__current {
  color: var(--kt-text-secondary, #666) !important;
}
.kt-bcwrap-bc a,
.kt-breadcrumb__link {
  text-decoration: underline;
}
.kt-bcwrap-bc a:hover,
.kt-breadcrumb a:hover,
.kt-breadcrumb__link:hover {
  color: var(--kt-brand-strong, #d96807) !important;
}

.kt-bcwrap-search { flex: 0 0 auto; width: 280px; position: relative; background: #fff; border: 1px solid var(--kt-border, rgba(0,0,0,0.20)); border-radius: var(--kt-radius-pill, 9999px); height: 36px; display: flex; align-items: center; padding: 0 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.kt-bcwrap-search:focus-within { border-color: var(--kt-brand, #ee760a); box-shadow: 0 0 0 2px rgba(238,118,10,0.15); }
.kt-bcwrap-search-icon { font-size: 18px !important; color: #999; flex-shrink: 0; margin-right: 8px; }
.kt-bcwrap-search-field { flex: 1; display: flex; align-items: center; min-width: 0; background: transparent; border: 0; margin: 0; padding: 0; }
.kt-bcwrap-search-field input, .kt-bcwrap-search-field input[type="search"] { width: 100%; height: 34px; padding: 0; border: 0; background: transparent; font-family: var(--kt-font, 'Noto Sans JP', sans-serif); font-size: 14px; color: var(--kt-text, #2d2d2d); outline: none; -webkit-appearance: none; }
.kt-bcwrap-search-field input::placeholder { color: #999; }
.kt-bcwrap-search-field button { display: none; }
@media (max-width: 767px) { .kt-bcwrap-search { width: 100%; } }

.kt-bcwrap-search .search-results-column,
.kt-bcwrap-search .instant-search-results,
.kt-bcwrap-search .search-results-list,
.kt-bcwrap-search > ul,
.kt-bcwrap-search-field > ul,
.kt-bcwrap-search-field > div[class*="instant"] {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--kt-border, rgba(0,0,0,0.20)); border-radius: var(--kt-radius, 8px);
  box-shadow: var(--kt-shadow-sm); z-index: 50; max-height: 70vh; overflow-y: auto;
}

.kt-article__content { max-width: var(--kt-content-max, 1080px); margin: 0 auto; padding: 32px 12px 60px; }
.kt-article__layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .kt-article__layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; } }

.kt-article__main { background: #fff; border: 1px solid var(--kt-border, rgba(0,0,0,0.20)); border-radius: var(--kt-radius-lg, 12px); padding: 24px 20px 48px; display: flex; flex-direction: column; gap: 40px; min-width: 0; }
@media (min-width: 768px) { .kt-article__main { padding: 32px 40px 48px; } }

.kt-article__header { display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
.kt-article__title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--kt-text, #2d2d2d); display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
@media (min-width: 768px) { .kt-article__title { font-size: 24px; } }
.kt-article__lock { width: 20px; height: 20px; flex-shrink: 0; color: var(--kt-text-secondary, #666); }
.kt-article__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--kt-text-secondary, #666); flex-wrap: wrap; }
.kt-article__meta-sep { color: #ccc; }
.kt-article__meta-author a:hover { text-decoration: underline; }

.kt-article__body { max-width: 700px; font-size: 16px; line-height: 1.7; color: var(--kt-text, #2d2d2d); word-wrap: break-word; }
.kt-article__body > * + * { margin-top: 1em; }
.kt-article__body p { margin: 0 0 1em; }
.kt-article__body p:last-child { margin-bottom: 0; }

.kt-article__body h1, .kt-article__body h2 { background: #e5e5e5; border-left: 4px solid var(--kt-border, rgba(0,0,0,0.20)); padding: 8px 16px; margin: 32px 0 16px; font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--kt-text, #2d2d2d); border-radius: 0 var(--kt-radius-sm, 4px) var(--kt-radius-sm, 4px) 0; }
.kt-article__body h3 { border-left: 4px solid #999; padding: 4px 12px; margin: 24px 0 12px; font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--kt-text, #2d2d2d); }
.kt-article__body h4 { margin: 20px 0 10px; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--kt-text, #2d2d2d); }

.kt-article__body a { color: #5089e5; text-decoration: underline; }
.kt-article__body a:hover { color: var(--kt-brand-strong, #d96807); }

.kt-article__body ul, .kt-article__body ol { margin: 0 0 1em; padding-left: 24px; }
.kt-article__body ul { list-style: disc; }
.kt-article__body ol { list-style: decimal; }
.kt-article__body li { margin: 0.25em 0; line-height: 1.7; }

.kt-article__body blockquote { margin: 1em 0; padding: 12px 16px; border-left: 4px solid var(--kt-brand, #ee760a); background: var(--kt-brand-bg, #faf1e8); color: var(--kt-text, #2d2d2d); border-radius: 0 var(--kt-radius, 8px) var(--kt-radius, 8px) 0; }

.kt-article__body code { background: #f0f0f0; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; font-family: 'SFMono-Regular', Consolas, monospace; }
.kt-article__body pre { background: #2d2d2d; color: #f5f5f5; padding: 16px; border-radius: var(--kt-radius, 8px); overflow-x: auto; margin: 1em 0; }
.kt-article__body pre code { background: transparent; padding: 0; color: inherit; }

.kt-article__body img { max-width: 100%; height: auto; border-radius: var(--kt-radius-sm, 4px); }

.kt-article__body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.kt-article__body th, .kt-article__body td { border: 1px solid var(--kt-border, rgba(0,0,0,0.20)); padding: 10px 12px; text-align: left; vertical-align: top; }
.kt-article__body th { background: #f5f5f5; font-weight: 700; }

.kt-article__body hr { border: 0; border-top: 1px solid var(--kt-border, rgba(0,0,0,0.20)); margin: 2em 0; }

.kt-article__attachments { max-width: 700px; background: #fafafa; border: 1px solid var(--kt-border, rgba(0,0,0,0.20)); border-radius: var(--kt-radius, 8px); padding: 16px 20px; }
.kt-article__attachments-title { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--kt-text-secondary, #666); }
.kt-article__attachments-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kt-article__attachments-item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.kt-article__attachments-icon { font-size: 18px; color: var(--kt-text-secondary, #666); }
.kt-article__attachments-link { color: #5089e5; text-decoration: underline; }
.kt-article__attachments-size { color: var(--kt-text-secondary, #666); font-size: 12px; }

.kt-article__footer { max-width: 700px; display: flex; flex-direction: column; gap: 24px; }
.kt-article__cta-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.kt-article__cta-pill { flex: 1 0 200px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; background: #fff; border: 1px solid var(--kt-border, rgba(0,0,0,0.20)); border-radius: var(--kt-radius-pill, 9999px); color: var(--kt-text, #2d2d2d); font-size: 14px; font-weight: 700; text-decoration: none; text-align: center; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.kt-article__cta-pill:hover, .kt-article__cta-pill:focus { background: var(--kt-brand, #ee760a); color: #fff; border-color: var(--kt-brand, #ee760a); }
.kt-article__return { text-align: right; }
.kt-article__return-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--kt-text-secondary, #666); text-decoration: underline; }
.kt-article__return-link:hover { color: var(--kt-brand, #ee760a); }
.kt-article__return-icon { font-size: 18px !important; }

.kt-article__relatives { max-width: 700px; }
.kt-article__related-block { background: #fff; border: 1px solid var(--kt-border, rgba(0,0,0,0.20)); border-radius: var(--kt-radius-lg, 12px); overflow: hidden; margin: 0 0 16px; }
.kt-article__related-block h2,
.kt-article__related-block h3,
.kt-article__related-block h4,
.kt-article__related-block .related-articles-title,
.kt-article__related-block .recent-articles-title {
  background: #f5f5f5 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.10) !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: var(--kt-text, #2d2d2d) !important;
  text-decoration: none !important;
}
.kt-article__related-block ul { list-style: none; margin: 0; padding: 0; }
.kt-article__related-block li { border-bottom: 1px solid rgba(0,0,0,0.10); margin: 0 !important; padding: 0 !important; }
.kt-article__related-block li:last-child { border-bottom: 0; }
.kt-article__related-block a { display: block; padding: 12px 16px; font-size: 14px; color: var(--kt-text, #2d2d2d); text-decoration: none; transition: background 0.15s ease; }
.kt-article__related-block a:hover { background: var(--kt-brand-bg, #faf1e8); color: var(--kt-brand-strong, #d96807); }

.kt-article__comments { max-width: 700px; }
.kt-article__comments-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.kt-article__comments-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--kt-text, #2d2d2d); }
.kt-article__comments-count { margin: 0; font-size: 13px; color: var(--kt-text-secondary, #666); }
.kt-article__comments-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.kt-article__comment { background: #fafafa; border: 1px solid var(--kt-border, rgba(0,0,0,0.20)); border-radius: var(--kt-radius, 8px); padding: 16px; }
.kt-article__comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.kt-article__comment-avatar { width: 36px; height: 36px; border-radius: 50%; }
.kt-article__comment-meta { display: flex; flex-direction: column; line-height: 1.25; }
.kt-article__comment-name { font-size: 14px; font-weight: 700; color: var(--kt-text, #2d2d2d); }
.kt-article__comment-date { font-size: 12px; color: var(--kt-text-secondary, #666); }
.kt-article__comment-body { font-size: 15px; line-height: 1.7; color: var(--kt-text, #2d2d2d); }
.kt-article__comment-body p { margin: 0 0 0.5em; }
.kt-article__comments-callout { font-size: 13px; color: var(--kt-text-secondary, #666); margin: 0; }

.kt-article__sidebar { display: flex; flex-direction: column; gap: 24px; }
.kt-article__sidebar-card { background: #fff; border: 1px solid var(--kt-border, rgba(0,0,0,0.20)); border-radius: var(--kt-radius-lg, 12px); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.kt-article__sidebar-title { margin: 0; font-size: 16px; font-weight: 700; color: var(--kt-text, #2d2d2d); }
.kt-article__sidebar-list { list-style: none; margin: 0; padding: 0; }
.kt-article__sidebar-item { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.kt-article__sidebar-item:last-child { border-bottom: 0; }
.kt-article__sidebar-link { display: block; padding: 4px 0; font-size: 14px; line-height: 1.4; color: #5089e5; text-decoration: underline; }
.kt-article__sidebar-link:hover { color: var(--kt-brand-strong, #d96807); }

@media (max-width: 1023px) { .kt-article__sidebar { order: 2; } }

.kt-article__body .kt-callout { background: var(--kt-brand-bg, #faf1e8); border: 1px solid var(--kt-brand, #ee760a); border-radius: var(--kt-radius, 8px); padding: 16px; margin: 1em 0; }
.kt-article__body .kt-callout-title { font-weight: 700; color: var(--kt-brand, #ee760a); margin: 0 0 6px; }
.kt-article__body .kt-warning { color: #c2493e; font-weight: 700; }

/* 中見出し-警告 / 小見出し-警告 */
.kt-article__body h3.kt-alert { border-left: 4px solid #ce827b; color: #c2493e; }
.kt-article__body h4.kt-alert { color: #c2493e; }

/* 画像のデフォルト枠線 */
.kt-article__body img { border: 1px solid #c5c5c5; }
.kt-article__body img.kt-no-border { border: 0; }

/* アコーディオン: <details>/<summary> */
.kt-article__body details { background: var(--kt-surface-muted, #f5f5f5); border: 1px solid #b4b4b4; border-radius: var(--kt-radius, 8px); padding: 0 12px 0 16px; margin: 1em 0; }
.kt-article__body details > summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 16px; line-height: 1.25; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--kt-text, #2d2d2d); }
.kt-article__body details > summary::-webkit-details-marker { display: none; }
.kt-article__body details > summary::after { content: '＋'; flex-shrink: 0; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: #e5e5e5; border-radius: 50%; font-size: 20px; line-height: 1; font-weight: 400; }
.kt-article__body details[open] > summary { border-bottom: 1px solid #ccc; padding-bottom: 12px; }
.kt-article__body details[open] > summary::after { content: '−'; }
.kt-article__body details > :not(summary) { margin-top: 12px; margin-bottom: 12px; }
.kt-article__body details h1, .kt-article__body details h2 { display: none; }
/* End FAQ Article Page Redesign 2026 ==================================== */

/* =====================================================================
   FAQ Section Page Redesign 2026 (corporation / 法人)
   - 単一セクション内の記事一覧。記事詳細・カテゴリページの中間ページ
   ===================================================================== */
.kt-section {
  background: var(--kt-surface-muted, #f5f5f5);
  font-family: var(--kt-font, 'Noto Sans JP', sans-serif);
  color: var(--kt-text, #2d2d2d);
}
.kt-section a { color: inherit; }
.kt-section .container,
.kt-section .container-divider,
.kt-section .sub-nav { all: unset; }

.kt-section .kt-content {
  max-width: var(--kt-content-max, 1080px);
  margin: 0 auto;
  padding: 32px 16px 16px;
}
.kt-section__layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.kt-section .kt-section-card { width: 100%; box-sizing: border-box; }
.kt-section__subscribe { font-size: 14px; }

/* サブセクションリスト */
.kt-section__sub-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.kt-section__sub-item { display: flex; }
.kt-section__sub-link {
  flex: 1;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--kt-border, rgba(0,0,0,0.20));
  border-radius: var(--kt-radius, 8px);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.kt-section__sub-link:hover {
  box-shadow: var(--kt-shadow-sm);
  transform: translateY(-1px);
  border-color: var(--kt-brand, #ee760a);
}
.kt-section__sub-name { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; color: var(--kt-text, #2d2d2d); }
.kt-section__sub-chevron { font-size: 18px !important; color: var(--kt-text-secondary, #666); flex-shrink: 0; }

/* 記事一覧カード（カテゴリページのkt-section-cardを再利用） */
.kt-section .kt-section-card { margin: 0; }

.kt-section__pagination { display: flex; justify-content: center; padding: 16px 0; }

@media (max-width: 767px) {
  .kt-section .kt-content { padding: 24px 16px 16px; }
}
/* End FAQ Section Page Redesign 2026 ==================================== */


/* =====================================================================
   FAQ Search Results Redesign 2026 (corporation / 法人)
   - 検索結果ページ。フィルターサイドバー + 結果リスト
   ===================================================================== */
.kt-search-page {
  background: var(--kt-surface-muted, #f5f5f5);
  font-family: var(--kt-font, 'Noto Sans JP', sans-serif);
  color: var(--kt-text, #2d2d2d);
}
.kt-search-page a { color: inherit; }
.kt-search-page .container,
.kt-search-page .container-divider,
.kt-search-page .sub-nav { all: unset; }

/* 検索結果タイトル（アイコンなし） */
.kt-search-page__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--kt-heading, #1a1a2e);
}
@media (max-width: 767px) {
  .kt-search-page__title { font-size: 18px; }
}

.kt-search-page .kt-content {
  max-width: var(--kt-content-max, 1080px);
  margin: 0 auto;
  padding: 32px 16px 8px;
}
.kt-search-page__layout {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}

/* 検索結果メイン */
.kt-search-page__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kt-search-page__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.kt-search-page__item {
  background: #fff;
  border: 1px solid var(--kt-border, rgba(0,0,0,0.20));
  border-radius: var(--kt-radius-lg, 12px);
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.kt-search-page__item:hover {
  box-shadow: var(--kt-shadow-sm);
  transform: translateY(-2px);
  border-color: var(--kt-brand, #ee760a);
}
.kt-search-page__item-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.kt-search-page__item-link {
  color: var(--kt-text, #2d2d2d);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kt-search-page__item-link:hover { color: var(--kt-brand-strong, #d96807); text-decoration: underline; }
.kt-search-page__item-link em {
  background: var(--kt-brand-bg, #faf1e8);
  color: var(--kt-brand-strong, #d96807);
  font-style: normal;
  padding: 0 2px;
  border-radius: 2px;
}
.kt-search-page__item-external { width: 12px; height: 12px; color: var(--kt-text-secondary, #666); }

.kt-search-page__item-path {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  font-size: 12px; color: var(--kt-text-secondary, #666);
}
.kt-search-page__item-path li { display: inline-flex; align-items: center; }
.kt-search-page__item-path li + li::before {
  content: '›'; color: #aaa; margin: 0 6px; font-size: 13px; line-height: 1;
}
.kt-search-page__item-path a {
  color: var(--kt-text-secondary, #666);
  text-decoration: underline;
}
.kt-search-page__item-path a:hover { color: var(--kt-brand, #ee760a); }

.kt-search-page__item-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--kt-text-secondary, #666);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.kt-search-page__item-desc em {
  background: var(--kt-brand-bg, #faf1e8);
  color: var(--kt-brand-strong, #d96807);
  font-style: normal;
  padding: 0 2px;
}

.kt-search-page__item-meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--kt-text-secondary, #666);
}
.kt-search-page__item-meta-vote,
.kt-search-page__item-meta-comments {
  display: inline-flex; align-items: center; gap: 4px;
}
.kt-search-page__item-meta-comments .material-symbols-rounded { font-size: 14px !important; }

/* ===== 検索結果ページネーション =====
   Zendesk仕様：first / prev / next / last の最大4ボタン（番号リンクは無し）。
   テキストラベルを非表示にして ‹ › のアイコンのみのコンパクト表示にする。 */
.kt-search-page__pagination {
  display: flex;
  justify-content: center;
  padding: 8px 0 0;
}
.kt-search-page__pagination .pagination {
  margin: 0 !important;
  padding: 0 !important;
}
.kt-search-page__pagination .pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
/* 「最初」「最後」ボタン全体と、「前へ」「次へ」のテキストを非表示 → 矢印のみに */
.kt-search-page__pagination .pagination-first,
.kt-search-page__pagination .pagination-last,
.kt-search-page__pagination .pagination-prev-text,
.kt-search-page__pagination .pagination-next-text {
  display: none !important;
}
/* prev/next ボタンのスタイル */
.kt-search-page__pagination .pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--kt-border, rgba(0,0,0,0.20));
  border-radius: 6px;
  background: #fff;
  color: var(--kt-text, #2d2d2d);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.kt-search-page__pagination .pagination a:hover {
  background: var(--kt-brand-bg, #faf1e8);
  border-color: var(--kt-brand, #ee760a);
  color: var(--kt-brand-strong, #d96807);
}

/* 結果なし */
.kt-search-page__empty {
  background: #fff;
  border: 1px solid var(--kt-border, rgba(0,0,0,0.20));
  border-radius: var(--kt-radius-lg, 12px);
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.kt-search-page__empty-icon {
  font-size: 48px !important;
  color: var(--kt-text-secondary, #666);
}
.kt-search-page__empty-text {
  margin: 0;
  font-size: 16px;
  color: var(--kt-text, #2d2d2d);
}
.kt-search-page__empty-link {
  color: var(--kt-brand, #ee760a);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .kt-search-page .kt-content { padding: 24px 16px 16px; }
  .kt-search-page__item { padding: 16px; }
  .kt-search-page__item-title { font-size: 16px; }
}
/* PC: ロゴを左、関連リンクを右に配置 */
@media (min-width: 769px) {
  .footer-group {
    width: 100%;
    justify-content: space-between;
  }
}
/* 全 .kt-* 新デザインページでフッター上の大余白(60px)と main の min-height を相殺 */
body:has(.kt-home) .footer,
body:has(.kt-category) .footer,
body:has(.kt-section) .footer,
body:has(.kt-article) .footer,
body:has(.kt-search-page) .footer {
  margin-top: 0;
}
@media (min-width: 1024px) {
  body:has(.kt-home) > main,
  body:has(.kt-category) > main,
  body:has(.kt-section) > main,
  body:has(.kt-article) > main,
  body:has(.kt-search-page) > main {
    min-height: 0;
  }
}
/* End FAQ Search Results Redesign 2026 =================================== */


/* =====================================================================
   FAQ Article Accordion Redesign 2026
   - script.js が記事内に挿入する .faq-accordion / .large-accordion / .small-accordion
     を kt-* デザインで上書き
   ===================================================================== */
.kt-article__body .section-accordion,
.kt-article__body .section-accordion__body,
.kt-article__body .accordion-list,
.kt-article__body .accordion-list__item,
.kt-article__body .small-accordion-list__item {
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.kt-article__body .section-accordion { margin: 16px 0 !important; }

.kt-article__body .faq-accordion {
  display: block !important;
  border-bottom: 0 !important;
}
.kt-article__body .large-accordion {
  background: #fff !important;
  border: 1px solid var(--kt-border, rgba(0,0,0,0.20)) !important;
  border-left: 1px solid var(--kt-border, rgba(0,0,0,0.20)) !important;
  border-radius: var(--kt-radius-lg, 12px) !important;
  overflow: hidden !important;
}
.kt-article__body .large-accordion > .faq-accordion-title {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 20px !important;
  background: #f5f5f5 !important;
  cursor: pointer;
  transition: background 0.15s ease;
}
.kt-article__body .large-accordion.__opened > .faq-accordion-title,
.kt-article__body .large-accordion > .faq-accordion-title:hover {
  background: var(--kt-brand-bg, #faf1e8) !important;
}
/* タイトル内のh1〜h6 / p の既存グローバル装飾（border-bottom、bg、color、margin等）を全て無効化 */
.kt-article__body .faq-accordion-title h1,
.kt-article__body .faq-accordion-title h2,
.kt-article__body .faq-accordion-title h3,
.kt-article__body .faq-accordion-title h4,
.kt-article__body .faq-accordion-title h5,
.kt-article__body .faq-accordion-title h6,
.kt-article__body .faq-accordion-title p,
.kt-article__body .faq-accordion-title__text h1,
.kt-article__body .faq-accordion-title__text h2,
.kt-article__body .faq-accordion-title__text h3,
.kt-article__body .faq-accordion-title__text h4,
.kt-article__body .faq-accordion-title__text h5,
.kt-article__body .faq-accordion-title__text h6,
.kt-article__body .faq-accordion-title__text p {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
}
.kt-article__body .large-accordion .faq-accordion-title__text {
  flex: 1;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  color: var(--kt-heading, #1a1a2e) !important;
}
.kt-article__body .large-accordion .faq-accordion-title__icon {
  position: relative;
  width: 24px !important;
  height: 24px !important;
  background: transparent !important;
  border-radius: 0 !important;
  flex-shrink: 0;
  transition: transform 0.3s ease-out;
}
.kt-article__body .large-accordion .faq-accordion-title__icon::before,
.kt-article__body .large-accordion .faq-accordion-title__icon::after {
  content: '';
  position: absolute;
  background: var(--kt-text-secondary, #666) !important;
  width: 12px !important;
  height: 2px !important;
  top: calc(50% - 1px) !important;
  left: calc(50% - 6px) !important;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.kt-article__body .large-accordion .faq-accordion-title__icon::after {
  transform: rotate(90deg);
}
.kt-article__body .large-accordion.__opened .faq-accordion-title__icon {
  transform: none !important;
}
.kt-article__body .large-accordion.__opened .faq-accordion-title__icon::after {
  transform: rotate(0deg);
  opacity: 0;
}
.kt-article__body .large-accordion.__opened .faq-accordion-title__icon::before {
  opacity: 1 !important;
}

.kt-article__body .large-accordion .faq-accordion-discription { border-top: 0; }
.kt-article__body .large-accordion.__opened .faq-accordion-discription {
  border-top: 1px solid var(--kt-border, rgba(0,0,0,0.20));
}
.kt-article__body .large-accordion .faq-accordion-discription__body { padding: 8px 20px 20px !important; }

.kt-article__body .small-accordion {
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid var(--kt-border, rgba(0,0,0,0.20)) !important;
  margin: 0 !important;
  padding: 0 !important;
}
.kt-article__body .small-accordion-list__item:last-child .small-accordion { border-bottom: 0 !important; }
.kt-article__body .small-accordion > .faq-accordion-title {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 16px !important;
  background: #f5f5f5 !important;
}
.kt-article__body .small-accordion.__opened > .faq-accordion-title,
.kt-article__body .small-accordion > .faq-accordion-title:hover {
  background: var(--kt-brand-bg, #faf1e8) !important;
}
.kt-article__body .small-accordion .faq-accordion-title__text {
  flex: 1;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  color: var(--kt-text, #2d2d2d) !important;
}
.kt-article__body .small-accordion .faq-accordion-title__icon {
  position: relative;
  width: 20px !important;
  height: 20px !important;
  background: transparent !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  flex-shrink: 0;
  transition: transform 0.3s ease-out;
}
.kt-article__body .small-accordion .faq-accordion-title__icon::before,
.kt-article__body .small-accordion .faq-accordion-title__icon::after {
  content: '';
  position: absolute;
  background: var(--kt-text-secondary, #666) !important;
  width: 10px !important;
  height: 2px !important;
  top: calc(50% - 1px) !important;
  left: calc(50% - 5px) !important;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.kt-article__body .small-accordion .faq-accordion-title__icon::after { transform: rotate(90deg); }
.kt-article__body .small-accordion.__opened .faq-accordion-title__icon { transform: none !important; }
.kt-article__body .small-accordion.__opened .faq-accordion-title__icon::after {
  transform: rotate(0deg) !important;
  opacity: 0 !important;
}
.kt-article__body .small-accordion.__opened .faq-accordion-title__icon::before { opacity: 1 !important; }

.kt-article__body .small-accordion .faq-accordion-discription__body { padding: 0 16px 16px !important; }
.kt-article__body .small-accordion .faq-accordion-discription__text {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: var(--kt-text, #2d2d2d) !important;
  text-align: left !important;
}

@media (max-width: 767px) {
  .kt-article__body .large-accordion > .faq-accordion-title { padding: 12px 16px !important; }
  .kt-article__body .large-accordion .faq-accordion-title__text { font-size: 16px !important; }
  .kt-article__body .large-accordion .faq-accordion-discription__body { padding: 8px 16px 16px !important; }
  .kt-article__body .small-accordion > .faq-accordion-title { padding: 12px 14px !important; }
}
/* End FAQ Article Accordion Redesign 2026 =============================== */
