@charset "utf-8";


#page-top{
	position: fixed;
    bottom: 5%;
    right: 1%;
	    max-width: 52px;
    width: 100%;
    font-size: 13px;
    padding: 1em;
    border-radius: 21px;
}

#page-top img{
	width:100%;
}
#page-top a{
    color: #FFF;
	text-decoration: none;
	display: block;
}
#page-top a:hover{
	opacity: 0.85 ;
}


#faq ul.faq_menu{
	/* display: flex;
    flex-wrap: wrap;
    justify-content: space-between; */
    display:block;
    margin-block-start:0;
    padding-inline-start:0;
}


#faq ul.faq_menu li{
    float:left;
    margin-right:0.7em;
    list-style-type:none;
	border: solid 1px;
    border-radius: 7px;
}


#faq ul.faq_menu li a{
	text-decoration: none;
    display: block;
    padding: 0.7em 1.5em;
	color: #000;
}

#faq ul.faq_menu li a:hover{
	background-color: #000;
	color:#fff;
}


#faq .faq_title{
	margin: 2em 0 1em;
    font-size: 1.8em;
    color: #5a5a5a;
    border-bottom: double 5px #63a0d6;
}

/*#faq .faq_title span{
   border-bottom: double 5px #6369d6;
    width: 40%;
    display: inline-block;
}*/






summary {
  /* display: list-item;以外を指定してデフォルトの三角形アイコンを消します */
  display: block;
}


summary::-webkit-details-marker {
  /* Safariで表示されるデフォルトの三角形アイコンを消します */
  display: none;
}

.summary_inner{
  cursor: pointer;
  display: flex;
position: relative;
  flex-direction: row;
  align-items: center;
  padding: 1em 2.9em 1em 0em;
 border-bottom: 2px solid #888;
	font-size: 18px;
  font-weight: bold;
  color: #fbad02;
}


.summary_inner::before{
    content: "";
    display: inline-block;
    width: 2.4em;
    height: 2.2em;
    margin: 0 2% 0 0;
    background-image:url(../img/q.png);
    background-repeat:no-repeat;
    background-size:contain;
}
@media screen and (max-width:768px) {
    .summary_inner{
	    font-size: 3.5vw;
    }
    .summary_inner::before{
        width: 8vw;
        height: 6vw;
        margin: 0 1vw 0 0;
    }
}


/* --------アイコンを作ります-------- */
.icon {
display: block;
    position: absolute;
    right: 2%;
    width: 24px;
    /* margin-left: 34px; */
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;
}

/* アコーディオンが開いた時のスタイル */
details[open] .icon {
  transform: rotate(180deg);
}

/* アイコンのバーのスタイル */
.icon::before,
.icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: #fbad02;
}

.icon::before {
  left: 0;
  transform: rotate(45deg);
}

.icon::after {
  right: 0;
  transform: rotate(-45deg);
}

/* --------summaryタグの疑似要素でアイコンを作る場合-------- */
.wrapper_pseudoElementsIcon .summary_inner::after {
  content: "";
  display: block;
  width: 25px;
  height: 16px;
  margin-left: 6px;
  flex-shrink: 0;
  background-image: url("icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform-origin: center 43%;
  /* アコーディオンが閉じる時にアイコンをアニメーションさせます */
  animation: 0.4s close-animation;
}

@keyframes close-animation {
  from {
    transform: rotate(180deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* アコーディオンが開いた時にアイコンをアニメーションさせます */
details[open] .summary_inner::after {
  animation: 0.4s open-animation forwards;
}

@keyframes open-animation {
  from {
    transform: rotate(0deg);
  }

  to{
    transform: rotate(180deg);
  }
}

/* --------アコーディオンの中身のスタイル-------- */
details .content {
  background-color: #fff2d6;
    padding: 1.3em 1em;
    display: flex;
    font-size: 1.2em;
	    line-height: 1.7em;
    flex-direction: column;
    margin: 10px 0 0;
    gap: 16px;
}

/* --------レイアウト用のスタイル-------- */
.wrapper {
  display: flex;
  margin: 0 auto;
}

.wrapper details {
  margin-bottom: 16px;
}

.wrapper details:last-child {
  margin-bottom: 0;
}

.wrapper_normalIcon, .wrapper_pseudoElementsIcon {
      max-width: 670px;
    display: flex;
    width: 100%;
  flex-direction: column;
}
.question{
    margin: 1em 0;
}
@media (min-width: 1071px) {
  .wrapper_normalIcon {
    margin-right: 24px;
  }
}

@media (max-width: 1070px) {
  .wrapper {
    flex-direction: column;
  }

  .wrapper_normalIcon {
    margin-bottom: 24px;
  }
}

@media (max-width: 760px) {
  .wrapper_normalIcon, .wrapper_pseudoElementsIcon {
    width: 100%;
  }
}

.wrapper_title {
  font-size: 22px;
}