@charset "utf-8";

body {
    background: #F2F1EC;
}
h1 {
    background-image: url(/assets/images/kyuseikigaku/kyusei-title-bg.png);
    background-position: bottom;
    background-size: auto 85%;
    background-repeat: no-repeat;
    margin: 0;
} 
/*#trigger > .border {
    border: solid #223870 2px!important;
}*/
.bg-satin {
    background-image: url(/assets/images/kyuseikigaku/bg-satin.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
}





/* アコーディオン */
/* CSS for CodePen */
.accordion{
  margin-top: 10px;
}

.accordion__container {
  /*width: 300px;*/
  margin: 0 auto;
}

.accordion__title {
  border: 1px solid transparent;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.accordion__title::before, .accordion__title::after {
  content: '';
  display: block;
  background-color: #fff;
  position: absolute;
  top: 50%;
  width: 15px;
  height: 2px;
  right: 25px;
}

.accordion__title::after {
  transform: rotate(90deg);
  transition-duration: .3s;
}

.accordion__title:hover,
.accordion__title:active,
.accordion__title.is-active { 
  /*background-color: #00aaa7;*/
}

.accordion__title.is-active::before {
  opacity: 0;
}

.accordion__title.is-active::after {
  transform: rotate(0);
}

.accordion__content {
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  padding: 0 1.5em;
  line-height: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition-duration: .3s;
}

.accordion__content.is-open {
  border: 1px solid #e78cb3;
  padding: .625em 1.5em;
  line-height: normal; /* numberに書き換える*/
  height: auto;
  opacity: 1;
}





/*アコーディオンcss*/
summary{
    position: relative;
    max-width: 600px;
    padding: 10px 50px 10px 20px;
    cursor: pointer;
    background-color: #353535;
    color: #fff;
    margin: 10px auto;
  }
summary::-webkit-details-marker{
  position: absolute;
  color: transparent;
}
summary:hover, details[open] summary {
  background-color: #804747;
  margin-bottom: 0px;
}
summary::after {
  content: '+';
  font-size: 130%;
  position: absolute;
  top: 45%;
  right: 30px;
  transform: translateY(-50%);
  transition: transform.5s;
}
details[open] summary::after{
  transform:translateY(-50%) rotate(45deg);
}
.answer {
  padding: 20px 20px;
  background-color: #e6e6e6;
  max-width: 630px;
  margin: auto;
}
.answer p {
  background: none;
}
details[open] .answer{
  animation:fadein .5s ease-in-out;
}
@keyframes fadein {
  0% { opacity: 0; }
  100%{ opacity: 1; }
}
/*アコーディオンcss*/


div.accList input {
  display: none;
}
div.accList h2 {
  margin: 8px 0 4px 0;
  /*border-bottom: 2px solid #058;*/
  padding-bottom: 8px;
  text-align: center;
}
div.accList div {
  position: relative;
  max-height: 40px;
  overflow: hidden;
  transition: 0.5s;
  margin: 4px 16px 20px 16px;
  padding-top: 40px;
  padding-bottom: 0px;
}
div.accList div label::before {
  content: "開く ▽";
  position: absolute;
  bottom: 0px;
  left: 0;
  display: inline-block;
  width: 124px;
  text-align: center;
  border: 1px solid #333;
  color: #333;
  background-color: #fff;
  padding: 4px 8px;
  z-index: 500;
}
div.accList input:checked + h2 + div {
  max-height: 1500px;
  padding-bottom: 40px;
}
div.accList input:checked + h2 + div label::before {
  content: "閉じる △";
}






.toggle_title {
	font-weight: bold;
	line-height: 42px;
	margin: 0;
	padding: 0 0 0 10px;
	position: relative;
	cursor: pointer;
	transition: 0.3s;
}
/*.toggle_title:hover {
	color: #fd7e00;
}*/
.toggle_title:after {
  font-family: "Font Awesome 5 Free";
	content: "\f078";
	display: inline-block;
	width: 28px;
	height: 28px;
  font-weight: 900;
	/*background:url(btn_arrow.png) no-repeat right top;*/
	position:absolute;
	top: 50%;
	right: 7px;
	transform: translateY(-50%);
	transition: 0.2s;
}
.toggle_title.selected:after {
	transform: translateY(-50%) rotate(180deg);
	transition: 0.2s;
}
.toggle_txt {
	display: none;
}



@media (min-width: 576px) {
    h1 {
        background-size: contain;
    }
}   