@charset "UTF-8";
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit; }


/* ----------- faq old page stylesheet ----------- */


/* common */
:root {
  --faq-primary-col: #2f5596;
  --faq-primary-light-col: #3560a9;
}
.mainContents {
  max-width: 950px;
  margin: 0 auto;
}

/*.tipsCaption::before {
  background-image: url("../../gooddata/faq - Copy/img/help_iconsvg-01.svg");
}*/


/**************************/
/* fqページ移植分ここから */
/**************************/
/* Accordion */
.tabs {
  overflow: hidden;
}
/* checkboxは非表示に */
input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.faq-q-box {
  cursor: pointer;
  position: relative;
}
/* icon */
.faq-q-text::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  /*background-image: url("../../gooddata/faq - Copy/img/expand_more.svg");*/
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--faq-primary-col);
}
/* Q1~ */
.faq-q {
  width: 8%;
  color: #fff;
  background-image: linear-gradient(var(--faq-primary-light-col), var(--faq-primary-col));
  text-align: center;
  font-weight: bold;
  padding: 1rem;
}

.tabs:last-child .faq-q {
  border-bottom: none;
}
/* 質問テキスト */
.faq-q-text {
  width: 92%;
  padding: 1.3rem 4rem 1rem 1rem;
  color: var(--faq-primary-col);
  font-weight: bold;
  letter-spacing: .5px;
  border-top: 1px solid var(--faq-primary-col);
  border-right: 1px solid var(--faq-primary-col);
  position: relative;
}

/* 質問テキスト奇数行のみ背景灰色 */
.odd_bkColor {
  background-color: #F3F3F3;
}
/* clickされるまで高さは0に */
.tabTxt {
  max-height: 0;
  border-right: 1px solid var(--faq-primary-col);
  border-left: 1px solid var(--faq-primary-col);
}

input:checked ~ .faq-q-box .faq-q-text::after {
  /*background-image: url("../../gooddata/faq - Copy/img/expand_less.svg");*/
}

input:checked ~ .tabTxt {
  max-height: 100%;
}

input:checked ~ .faq-q-box .faq-q-text {
  border-bottom: 1px solid var(--faq-primary-col);
}

input:checked ~ .tabTxt {
  border-bottom: 1px solid var(--faq-primary-col);
}

.faq-a {
  width: 8%;
  color: #d92027;
  background-color: #fff;
  text-align: center;
  padding: 1rem;
  font-weight: bold;
}
.faq-a-text {
  width: 92%;
  padding: 1rem 0.5rem 1rem 1rem;
  color: #333;
  background-color: #fff;
}

.faq-a-text span {
  padding: 0rem 0rem 0rem 1rem;
  color: #900;
}

.faq-a-text span {
    width: 90%;
    display: inline-block;
  padding: 0rem 0rem 0rem 1rem;
  color: #900;
}

.tabs:last-child .faq-q-text {
  border-bottom: 1px solid var(--faq-primary-col);
}

.big {
  font-size: 20px;
}

.faq-margin {
margin-bottom: 0px;
}


@media screen and (max-width: 979px) {
  .mainContents {
    padding: 0 4.5rem;
  }

  .faq-q,
  .faq-a {
    width: 15%;
  }

  .faq-q-text,
  .faq-a-text {
    width: 85%;
  }


}

@media screen and (max-width: 600px) {
  .mainContents {
    padding: 0 3.26rem;
  }
  .d-flex {
    flex-direction: column;
  }

  .faq-q,
  .faq-q-text,
  .faq-a,
  .faq-a-text {
    width: 100%;
  }

  .faq-q,
  .faq-a {
    text-align: left;
  }

  .faq-q-text {
    font-size: 1.6rem;
    line-height: 1.6;
    border-top: none;
    border-left: 1px solid var(--faq-primary-col);
    padding-left: 1rem;
  }

  .odd_bkColor {
    background-color: #fff;
  }

  .faq-a-text {
    padding: 0 .5rem 2rem;
  }

 


  
}