@charset "UTF-8";
/*
  Theme Name: ProoFul Help Origin
  Version: 1.0.0
  Template: blankslate
  Desc: wp全共通のスタイルのみここに入れる
*/
html,
body {
  color: #444;
  font-feature-settings: 'palt' on;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  /* 22.4px */
  margin: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

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

ul li {
  margin: 0;
  padding: 0;
}

.toppage {
  background: #F7F6F3;
}

.toppage-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  max-height: 1492px;
  overflow-y: auto;
}

.toppage-description {
  color: #444;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  font-feature-settings: 'palt' 1;
}

/* 検索フォーム */
.search-section {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  height: 36px;
  padding: 1px 40px 1px 32px;
  background: #E5E5E5 url(./img/search-check.svg) no-repeat left 10px center;
  background-size: 18px 18px;
  border: 1px solid #E0E0E0;
  border-radius: 17px;
  color: #444;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  box-sizing: border-box;
  outline: none;
}

.search-input::placeholder {
  color: #AEADAD;
}

.search-input:focus {
  border-color: #007cba;
  box-shadow: 0 0 0 1px rgba(0, 124, 186, 0.3);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  z-index: 10;
  display: none;
}

.search-clear-btn:hover {
  color: #333;
}

.search-clear-btn.visible {
  display: block;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 1px;
}

.search-loading {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  z-index: 999;
  margin-top: 1px;
  display: none;
}

.search-loading.visible {
  display: block;
}

.q-search-form {
  position: relative;
  width: 100%;
}

/* ユーティリティクラス */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* セクションタイトル */
.section-title {
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  padding: 15px 0;
  margin: 0;
}

/* よくある質問セクション */
.faq-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #EAEAEA;
}

.faq-item:last-child {
  border-bottom: 1px solid #EAEAEA;
}

.faq-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px;
  text-decoration: none;
  color: inherit;
  width: 100%;
  box-sizing: border-box;
}

.faq-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
}

.faq-arrow {
  content: '';
  background-image: url(./img/icon-arrow-black.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 6px;
  height: 11px;
  flex-shrink: 0;
}

/* カテゴリーセクション */
.category-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.category-list {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
}

.category-item {
  border-bottom: 1px solid #EAEAEA;
  position: relative;
  cursor: pointer;
}

.category-item:last-child {
  border-bottom: 1px solid #EAEAEA;
}

.category-item.accordion-open .category-arrow {
  transform: rotate(270deg);
}

.category-item.accordion-open .category-questions {
  display: block;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px;
  width: 100%;
  box-sizing: border-box;
}

.category-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
}

.category-arrow {
  content: '';
  background-image: url(./img/icon-arrow-black.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 6px;
  height: 11px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.category-questions {
  display: none;
  padding-left: 30px;
  padding-bottom: 14px;
  margin: 0;
  list-style: none;
}

.category-questions li {
  padding: 5px 0;
  margin: 0;
}

.category-questions li a {
  color: #21AEDC;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  display: block;
  padding: 5px 0;
}

.category-questions li a:hover {
  text-decoration: underline;
}

.single-question {
  padding: 10px;
}

.single-question h1 {
  color: #FF6D34;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  /* 22.4px */
  padding: 10px 0;
}

.single-question h1::before {
  content: 'Q';
  display: inline-block;
  margin-right: 8px;
  color: #FF6D34;
  font-weight: 700;
}

.single-question .entry-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  /* 20.8px */
  border-radius: 3px;
  background: #F7F7F7;
  padding: 8px 7px;
}

.single-question .entry-content h3 {
  color: #444;
  font-family: "Noto Sans JP";
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  /* 24px */
}

/* ************
* パーツ
************ */
#js-q-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0 8px 0 36px;
  border: 1px solid #E0E0E0;
  border-radius: 17px;
  background: #E5E5E5 url(./img/search-check.svg) no-repeat left 10px center;
  background-size: 18px 18px;
  color: #444;
  font-family: "Noto Sans JP";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 19.6px */
  height: 36px;
}

#js-q-search-input::placeholder {
  color: #AEADAD;
}

#js-q-search-input:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 1px rgba(0, 124, 186, 0.3);
}

.q-block-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.q-block-wrapper .q-block h2 {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  /* 28px */
  padding: 15px 0;
}

.accordion-list {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 19.6px */
}

.accordion-list .accordion-list-item {
  position: relative;
  border-top: 1px solid #EAEAEA;
  cursor: pointer;
}

.accordion-list .accordion-list-item:last-child {
  border-bottom: 1px solid #EAEAEA;
}

.accordion-list .accordion-list-item::after {
  content: '>';
  display: block;
  position: absolute;
  top: 12px;
  right: 15px;
}

.accordion-list .accordion-list-item a {
  display: block;
  padding: 14px 15px;
  pointer-events: auto;
  text-decoration: none;
  color: inherit;
  width: calc(100% - 30px);
}

.accordion-list .accordion-list-item ul {
  display: none;
  padding-left: 15px;
}

.accordion-list .accordion-list-item ul li {
  padding: 10px 0 0 0;
}

.accordion-list .accordion-list-item ul li a {
  color: #21AEDC;
  padding: 8px 15px;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}

.accordion-list .accordion-list-item.accordion-open ul {
  display: block;
}

.accordion-list .accordion-list-item--open-item {
  padding: 14px 15px;
}
