/* 関連ページボックス */
.faq_box {
  font-size: 13px;  	
  margin-right: auto;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 70%;
}

/* 回答内項目説明ボックス */
.box-faq {
    padding: 20px;
    background-color: #f7f7f7; /* ボックス内をさらに薄いグレーに */
    border-radius: 8px; /* 角を丸くして柔らかい印象に */
    border: 1px solid #e0e0e0; /* 薄いグレーのボーダーで控えめな区切り */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 軽い影で立体感 */
}

.box_ttl {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    margin: 0 0 10px 0;
    border-left: 5px solid #ffd700; /* 差し色の黄色 */
    background-color: #f9f9f9; /* 薄いグレーの背景 */
}

.box-faq .inner {
    padding: 10px 0;
    margin: 0;
    font-size: 13px; /* 読みやすいサイズ感 */
    line-height: 1.6; /* 行間を広めに */
}

/* 回答内項目説明ボックスの中の白いボックス */
.box-unit {
  font-size: 13px;
  margin-right: auto;
  margin-top: 8px;
  padding: 15px;
  border-radius: 10px;
  background-color: #fff;
  border: 2px solid #d8d8d8;
  width: 70%;
}

/* 白いボックスの中のリスト */
.box-unit-list {
  list-style: none; /* デフォルトのリストスタイルを削除 */
  padding: 0;
  margin: 0;
  font-size: 12px;
}

.box-unit-list li {
  position: relative;
  padding-left: 15px; /* アイコン分の余白を確保 */
  margin-bottom: 3px;
  line-height: 1.6;
  font-size: 13px;
}

.box-unit-list li::before {
  content: "●"; /* リストアイコンとして円を使用 */
  position: absolute;
  left: 0;
  top: 0; /* 上端に固定 */
  transform: none; /* アイコンの位置調整をリセット */
  font-size: 12px;
  color: #ababab;
  line-height: 1; /* 行間の影響を受けないようにする */
}

/* チェックマーク付きタイトル */
.check-ttl {
	display: inline-block;
    width: 15px;
    height: 10px;
    border-left: 3px solid #f3ce2f;
    border-bottom: 3px solid #f3ce2f;
    transform: rotate(-45deg);
    margin-right: 5px;
    margin-bottom: 4px;
}

.faq-p {
	font-size: 13px;
}


/* FAQのアコーディオン */
.qa-list dl {
    position: relative;
    margin: 0;
    padding: 28px 80px 28px 30px;
    cursor: pointer;
    border-bottom: 1px solid #000;
}
.qa-list dl:first-child {
    border-top: 1px solid #000;
}
.qa-list dl::before {
    position: absolute;
    top: 35px;
    right: 35px;
    display: block;
    width: 7px;
    height: 7px;
    margin: auto;
    content: '';
    transform: rotate(135deg);
    border-top: 2px solid #000;
    border-right: 2px solid #000;
}
.qa-list .open::before {
    transform: rotate(-45deg);
}

/* Qのタイトル */
.qa-list dl dt {
    position: relative;
    margin: 0;
    padding: 0 0 0 50px;
    font-weight: bold;
    font-size: 15px;
}

/* Q */
.qa-list dl dt::before {
    font-size: 20px;
    line-height: 1;
    position: absolute;
    top: 3px;
    left: 0;
    display: block;
    content: 'Q.';
    color: #f5d60f;
}

/* A */
.qa-list dl dd::before {
    font-size: 20px;
    line-height: 1;
    position: absolute;
    top: 3px;
    left: 2px;
    display: block;
    content: 'A.';
    font-weight: bold;
    color: #5ac79c;
}
.qa-list dl dd {
    position: relative;
    display: none;
    height: auto;
    margin: 20px 0 0;
    padding: 0 0 0 50px;
}
.qa-list dl dd p {
    margin: 30px 0 0;
}
.qa-list dl dd p:first-child{
    margin-top: 0;
}
/* リンクのデザイン */
.link{
	color: #2234ff;
}
.list_anchor li{
	cursor: pointer;
}
.image{
	width: 5px;
}
@media screen and (max-width: 767px) {
.qa-list dl {
    position: relative;
    padding: 15px 40px 15px 10px;
}
.qa-list dl::before {
    top: 20px;
    right: 20px;
    width: 7px;
    height: 7px;
}
.qa-list dl dt {
    padding: 0 0 0 30px;
    font-size: 14px;
}
.qa-list dl dt::before {
    font-size: 14px;
    top: 3px;
    left: 5px;
    content: 'Q.';
}
.qa-list dl dd::before {
    font-size: 14px;
    top: 5px;
    left: 5px;
    content: 'A.';
}
.qa-list dl dd {
    margin: 10px 0 0;
    padding: 0 0 0 30px;
    font-size: 14px;
}
.qa-list dl dd p {
    margin: 30px 0 0;
}
.qa-list dl dd p:first-child{
    margin-top: 0;
}

 .faq_box {
    width: 90%; /* スマホでは幅を90%に設定 */
    padding: 20px; /* パディングも調整可能 */
  }

.box-unit {
  width: 90%;
}

}


/* テキストボックス */
textarea {
    font-size: 11px;
    color: #666666;
    padding: 10px;
    width: 240px;
    height: 80px; 
}

button {
    width: 80px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #7c7c7c;
    color: #666666;
    text-decoration: none;
    background-color: #fff;
    font-size: 10px;
}


/* fontawesome */
.icon-faws{
	color: var(--maincolor);
	color: var(--hover-color);
	margin-right: 0.8rem;
}
#faq-search-container {
  margin: 1.5em 0;
  text-align: center;
}

#faq-search-container form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

#faq-search-container input[type="text"] {
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  border-radius: 999px;
  width: 240px;
  max-width: 90%;
  font-size: 1em;
  transition: border-color 0.2s;
}

#faq-search-container input[type="text"]:focus {
  outline: none;
  border-color: #333;
}

#faq-search-container input[type="submit"] {
  padding: 0.5em 1.2em;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.2s;
}

#faq-search-container input[type="submit"]:hover {
  background-color: #555;
}
#faq-search-container button#faq-reset-btn {
  padding: 0.5em 1.2em;
  background-color: #999999;       /* 検索ボタンより少し薄め */
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
  display: inline-block;       /* inputと同じようにブロックっぽく */
  line-height: normal;         /* 高さ調整 */
  height: 38px;                /* input[type=submit]と同じ高さに */
  box-sizing: border-box;      /* padding込みのサイズ調整 */
  vertical-align: middle;      /* テキスト縦位置調整 */
}

#faq-search-container button#faq-reset-btn:hover {
  background-color: #bbbbbb;       /* ホバー時に少し明るく */
}

.btn-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}
@media (max-width: 600px) {
	#faq-search-container form {
	  flex-direction: column;
	  align-items: center;  /* 中央寄せ */
	  gap:14px;
	}
	#faq-search-container form div{
		width: 100%;
	}
	#faq-search-container input[type="submit"] {
		width: 240px;
	}
	#faq-search-container button#faq-reset-btn {
		width: 240px;
	}
}