@charset "utf-8";
/* CSS Document */


html {
      scroll-behavior: smooth;
    }



#faq_header{
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto;
}
#faq_header #faq_img{
    margin-right: auto;
    padding: 0;
    margin-left: auto;

    height: auto;
    margin-top: 2rem;
}
#faq_header #faq_img img{
    margin-right: auto;
    padding: 0;
    margin-left: auto;
    height: auto;
    display: block;
    max-width: 350px;
}
#faq_header #faq_bar{
    background-color: var(--main_color);
    width: 100%;
    text-align: center;
    height: auto;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

#faq_header #faq_bar h1{
    font-size: 3rem;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: normal;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font-style: normal;
    font-variant: normal;
}

#faq_box{
    width: 100%;
    max-width: 1300px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    margin-top: 3rem;
}

@media (max-width:950px) {
	#faq_box{
		width: 94%;
		margin-left: auto;
		margin-right: auto;
	}
}








/*
    input[type="text"] {
      width: 100%;
      padding: 0.8rem;
      font-size: 1rem;
      margin-bottom: 1.5rem;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
*/
    #toc {
      margin-bottom: 2rem;
      padding: 1rem;
      background: #f4f4f4;
      border-radius: 5px;
    }
    #toc h2 {
      font-size: 1rem;
      margin-top: 0;
    }
    #toc a {
      margin-right: 1rem;
      text-decoration: none;
      color: #007acc;
    }
    #toc a:hover {
      text-decoration: underline;
    }
    .category {
      font-size: 1.2rem;
      font-weight: bold;
      margin: 2rem 0 0.5rem;
      cursor: pointer;
      background: linear-gradient(to right, #007acc, #005fa3);
      color: white;
      padding: 0.6rem 1rem;
      border-radius: 4px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .faq-list {
      display: none;
      margin: 0.5rem 0 1rem 1rem;
    }
    .faq-question {
    cursor: pointer;
    background: #f3f3f3;
    padding-top: .6rem;
    padding-left: 1.5rem;
    padding-bottom: .6rem;
    margin: 0.3rem 0;
    border-radius: 4px;
    }
    .faq-question:hover {
    background: var(--king_color);
    color: #FFFFFF;
    }
    .faq-answer {
    display: none;
    margin: 0.3rem 0 1rem 1rem;
    padding-top: 1rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    padding-bottom: 1rem;
    background: #fff;
    border-left: 3px solid #007acc;
    }
    .faq-answer.open {
      display: block;
    }
    .highlight {
      background-color: yellow;
      font-weight: bold;
      animation: fadeIn 0.5s;
    }
/* ホバー時：.faq-question の中の .highlight を黄色で強調 */
.faq-question:hover .highlight {
  background-color: yellow;
  font-weight: bold;
  color: #000;
  animation: fadeIn 0.5s ease-in-out;
}

    @keyframes fadeIn {
      from { background-color: transparent; }
      to { background-color: yellow; }
    }




#toc {
  display: none;
}


#best5_title{
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    width: 100%;
    margin-top: 10rem;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
}
.ichiro_color{
    color: var(--ichiro_color);	
}

/*---------------------------------------------
	よくある質問
----------------------------------------------*/
#best5{
    width: 100%;
    margin-top: 2rem;
    margin-right: auto;
    margin-left: auto;
    margin-bottom:5rem;
    padding: 0;
    height: auto;
    list-style-type: none;
    max-width: 1300px;
    display: flex;
	flex-wrap: wrap;
	gap:1rem;
	
}
@media (max-width:950px) {
	#best5{
		width: 94%;
		margin-left: auto;
		margin-right: auto;
	}
}

#best5{
    width: 100%;
    margin-top: 2rem;
    margin-right: auto;
    margin-left: auto;
    margin-bottom:5rem;
    padding: 0;
    height: auto;
    list-style-type: none;
    max-width: 1300px;
    display: flex;
    flex-wrap: wrap;
    gap:1rem;
}


/* ★ ホバー演出用にtransitionなどを追加 ★ */
#best5 .q{
    padding: 0;
    color: #333;
    border-radius: 4px;
    margin-bottom: 1.2rem;
    background-color: #fff;
    border: 1px solid #CCCCCC;
    cursor: pointer;
    width: calc((100% - 2rem) / 3);
    position: relative;
    /* アニメーション用 */
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        background-color .25s ease;
}
@media (max-width:950px) {
    #best5 .q{
        width: calc((100% - 1rem) / 2);
    }
}
@media (max-width:600px) {
    #best5{
        flex-direction: column;
    }
    #best5 .q{
    width: 94%;
    margin-right: auto;
    margin-left: auto;
    }
}

/* ★ ホバー時：少し上に・影を付ける ★ */
#best5 .q:hover,
#best5 .q:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
    border-color: #BBBBBB;
    background-color: #ffffff;
}

#best5 p{
    width: 100%;
    height: auto;
    margin: 0;
    padding-top: 1rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    padding-bottom: 1rem;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 1.1rem;
    line-height: normal;
}
#best5 span{
    font-size: .75rem;
    display: block;
    background-color: var(--ichiro_color);
    color: #FFFFFF;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-align: center;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    clear: both;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#best5 .a{
    padding: 2rem;
    border: 1px solid #CCCCCC;
    margin-top: -10px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 5rem;
    border-radius: 3px;
    background-color: #ECECEC;
    display: none;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 1.2rem;
    line-height: normal;
}
/*---------------------------------------------
	画面全体を覆うグレーのオーバーレイ
----------------------------------------------*/
#faq-overlay {
  position: fixed;
  inset: 0; /* top, right, bottom, left: 0 */
  background-color: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}

/* 表示状態 */
#faq-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* 中央の角丸ボックス */
.faq-modal {
  background-color: #ffffff;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  padding: 2rem 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow-y: auto;

  transform: translateY(10px);
  transition: transform .25s ease;
}

/* 開いたときに少し上にふわっと */
#faq-overlay.is-open .faq-modal {
  transform: translateY(0);
}

/* モーダル内タイトル */
.faq-modal-title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--ichiro_color);
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
    border-bottom: 1px dotted var(--ichiro_color);
    padding-bottom: 1rem;
}

/* モーダル内本文 */
.faq-modal-body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: .85rem;
    line-height: 1.6;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    color: #333;
}

/* 閉じるボタン（右上の×） */
.faq-modal-close {
  position: absolute;
  top: .6rem;
  right: .8rem;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: .25rem;
	color:#000;
}

.faq-modal-close:hover {
  color: #555;
}

/* スマホなど高さが低い画面向けの調整 */
@media (max-width: 566px) {
  .faq-modal {
    padding: 1.5rem 1.25rem 1.75rem;
    max-height: 90vh;
  }
  .faq-modal-title {
    font-size: 1.2rem;
    padding-top: 0.5rem;
  }
  .faq-modal-body {
    font-size: 1rem;
  }
.faq-modal-close {
    font-size: 2rem;
	top: .2rem;
	color:#000;
	}
}





.search-form-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border: 2px solid #1976cc;
    border-radius: 3px;
    margin-bottom: 5px;
}

.search-form-1 input {
    width: auto;
    height: 45px;
    padding: 5px 15px;
    border: none;
    box-sizing: border-box;
    font-size: 1em;
    outline: none;
}

.search-form-1 input::placeholder{
    color: #777777;
}

.search-form-1 button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 45px;
    border: none;
    background-color: #1976cc;
    cursor: pointer;
}

.search-form-1 button::after {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}
