@charset "UTF-8";
/* CSS Document */
/*チェックボックスを非表示にする*/
input {
  display: none;
}
label {
  padding: 1em;
  background: #eee;
  display: block;
  font-weight: bold;
  position: relative;
  cursor: pointer;
	color: #004673;
}
label::before {
	color: #75bbff;
	content: "Q";
	padding-right: 0.5em;
}

/*三角矢印アイコン*/
.icon {
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  width: 24px;
  margin-left: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.5s;
}
.icon::before,
.icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: #004673;
}
.icon::before {
  left: 0;
  transform: rotate(45deg);
}
.icon::after {
  right: 0;
  transform: rotate(-45deg);
}

.wrap {
  border: 1px solid #004673;
  margin-bottom: 10px;
}

/*コンテンツ初めは非表示*/
.content {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  overflow: hidden;
}
.content p {
  margin: 0;
  padding: 1em!important;
}

.content p::before {
	color: #ff8d8d;
	line-height: 1.2;
	content: "A";
	padding-right: 0.5em;
	font-weight: bold;
}

@media screen and (max-width: 640px) {
	.content p::before {
		font-size: 16px;
}
}

/*クリックするとコンテンツ表示*/
input:checked ~ .content {
  max-height: 800px;
  opacity: 1;
  visibility: visible;
}

/* アコーディオン表示の際に三角回転 */
input:checked ~ label .icon {
  transform: rotate(180deg);
}

@media screen and (min-width: 641px) {
a.anchor{ display: block; padding-top: 90px!important; margin-top: -90px!important;}
}

