/* =====================
  RESET / BASE
===================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
background: #e6f6ec;
}

a {
  color: #0171bc;
  text-decoration: none;
}

/* =====================
  PAGE HEAD
===================== */
.page-head-area {
  background: #fff;
  padding: 1px 16px 0px;
}

.page-head {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-head h1 {
  font-size: 28px;
  font-weight: 700;
  color: #00c853;
  margin-bottom: 0;
}

.page-head p {
  font-size: 14px;
  color: #555;
margin-bottom: 10px;
margin-top: 0;
}

.faq-keywords.is-category {
    padding-bottom: 10px;
}

/* =====================
  FAQ SEARCH
===================== */
.faq-search {
  max-width: 600px;
  margin: 0px auto 0;
}

.faq-search input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #D9E5DD;
  background: #ffffff;
}

.faq-search input:focus {
  outline: none;
  border-color: #00B900;
}

/* =====================
  CATEGORY LINKS（アンカー）
===================== */
.tab-area {
  background: #e6f6ec;
}

.top-category {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 16px;
  flex-wrap: wrap;
}

.cat-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #D9E5DD;
  background: #ffffff;
  color: #009900;
  font-size: 14px;
}

.cat-btn:hover {
  background: #E6F6EC;
}

/* =====================
  CONTENT LAYOUT
===================== */
.content-area {
  display: flex;
  padding: 30px 0 80px;
  max-width: 1000px;
  margin: auto;
}

.content {
  width: 70%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  /* grid-template-columns: 1fr 300px; */
  gap: 32px;
}

/* =====================
  FAQ
===================== */
.faq-group {
  margin-bottom: 56px;
}

.faq-category-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E6F6EC;
}

/* =====================
  FAQ CARD
===================== */
.faq-card {
  background: #ffffff;
  border: 1px solid #D9E5DD;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
}

/* 質問 */
.faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.q-icon {
  font-size: 18px;
  font-weight: 700;
  color: #00B900;
}

.q-text {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

/* + - */
.faq-q::after {
  content: "＋";
  margin-left: auto;
  font-size: 22px;
  color: #00B900;
}

/* =====================
  ANSWER
===================== */
.faq-a {
  display: none;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  margin-top: 5px;
}

.faq-card.is-open .faq-a {
  display: block;
}

.faq-card.is-open .faq-q::after {
  content: "−";
}

.a-head {
display: flex;
    align-items: start;
    padding-left: 5px;
    font-size: 15px;
}

.a-icon {
  font-size: 20px;
  font-weight: 700;
  color: #00B900;
  padding-right: 5px;
  margin-top: -5px;
}

/* =====================
  REGISTER FLOW
===================== */
.register-flow {
  border: 1px solid #D9E5DD;
  border-radius: 12px;
  padding: 24px;
}

.flow-block {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.flow-badge {
  background: #00B900;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.flow-step-name {
  font-weight: 700;
  color: #009900;
}

.flow-list {
  padding-left: 18px;
  font-size: 14px;
}

/* =====================
  SIDEBAR
===================== */
.side {
  width: 30%;
  height: 100%;
}
.side-box {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #D9E5DD;
  position: -webkit-sticky;
  position: sticky;
  top: 10px;
  z-index: 20;
}

.side .fas.fa-phone.fa-rotate-90 {
  transform: rotate(0deg) !important;
  margin-right: 5px;
}
.side-title {
  background: #00B900;
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
}

.side-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: #fff;
  border-bottom: 1px solid #E6F6EC;
  cursor: pointer;
}

.side-btn:hover {
  background: #E8FFE8;
}

.side-btn i {
  width: 24px;
  text-align: center;
  font-size: 18px;
  color: #00B900;
  transform: rotate(0deg);
}

/* =====================
  RESPONSIVE
===================== */
@media (max-width: 768px) {
  .content {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .side {
    display: none;
  }

  .top-category {
    justify-content: flex-start;
    overflow-x: auto;
  }
}
/* =====================
  FAQ キーワード検索（アイコン付き）
===================== */



.faq-search-inner {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #D9E5DD;
  border-radius: 8px;
  overflow: hidden;
}

.faq-search input {
  flex: 1;
  padding: 12px 14px;
  font-size: 14px;
  border: none;
  outline: none;
}

.faq-search input::placeholder {
  color: #999;
}

/* ボタン */
.faq-search-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #00B900;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-search-btn i {
  font-size: 16px;
}

/* hover */
.faq-search-btn:hover {
  opacity: 0.7;
}

/* フォーカス時 */
.faq-search-inner:focus-within {
  opacity: 0.7;
}


/* 共通レイアウト */
.faq-keywords {
text-align: center;
    font-size: 14px;
    background: #fff;
    padding-top: 5px;
}

.keyword-label {
  display: inline-block;
  margin-right: 8px;
  color: #666;
  font-weight: bold;
}

/* よくある検索ワード（テキストリンク） */
.faq-search-link {
  margin: 0 6px;
  color: #0071bc;
  text-decoration: underline;
  cursor: pointer;
}

.faq-search-link:hover {
  text-decoration: none;
}

/* カテゴリー（ボタン） */
.faq-category-btn,
.faq-category-btn:link,
.faq-category-btn:active,
.faq-category-btn:visited {
  display: inline-block;
  margin: 0px 0px 8px;
  padding: 1px 14px;
  border-radius: 21px;
  background: #01b921;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
}

.faq-category-btn:hover {
  opacity: 0.7;
}


.mark {
  background: #ffe08a;
  padding: 0 2px;
  border-radius: 3px;
}

.faq-search-inner {
  display: flex;
  align-items: center;
}

#faqSearch {
  flex: 1;
}

.faq-clear-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #999;
  margin: 0 6px;
  display: none;
}

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

mark {
  background: #ffe08a;
  padding: 0 2px;
  border-radius: 3px;
}

.faq-suggest {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  border: 1px solid #ddd;
  background: #fff;
  display: none;
  max-height: 220px;
  overflow-y: auto;
}

.faq-suggest li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}

.faq-suggest li:hover {
  background: #f5f5f5;
}


@media screen and (max-width: 760px){
.keyword-label {
  display: block;
}
.faq-keywords{
padding-bottom: 10px;
}
}