.yearold_bg.type-common.school h2 {
	width: fit-content;
	margin: auto;
	font-size: 28px;
	text-align: center;
	font-weight: 600;
	background-color: #fff;
	border-radius: 35px;
    padding: 21px 0;
    width: 700px;
    line-height: 1;
	margin-top: 50px;
}

.yearold_bg.type-common.school h2.orange {
	color: #ff8b03;
}

.yearold_bg.type-common.school h2.green {
	color: #009944;
}

.yearold_bg.type-common.school .section-quiz > ul > li {
	width: 100%;
	max-width: 700px;
	margin: 50px auto 0;
}

.yearold_bg.type-common.school .section-quiz-child {
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 20px;
	padding: 50px;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz__title {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-align: center;
	color: #C00000;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz__q {
	font-size: 24px;
	color: #000;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz__img {
	margin-top: 20px;
  text-align: center;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz__img > ul {
	display: flex;
	gap: 25px;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz__img > ul > li {
	width: calc((100% - 25px) / 2);
  height: 200px;
  text-align: center;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz__img > ul > li > img {
  height: 100%;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz-select {
	margin-top: 30px;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz-select > ul {
	display: flex;
	justify-content: center;
	gap: 5%;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz-select > ul > li {
  width: 100%;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz-select > ul > li > .section-quiz-select__btn {
  margin: 0 auto;
}

.section-quiz-select__text {
  background-color: #009944;
  color: #fff;
  border-radius: 20px;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 0;
  margin-top: 10px;
  text-align: center;
}

.section-quiz-select__btn {
	font-size: 20px;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	border-radius: 50%;
	text-align: center;
	color: #fff;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ffc000;
	border: none;
	cursor:pointer;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz-select > ul > li:nth-child(2) > .section-quiz-select__btn {
	background-color: #5b9bd5;
}

.yearold_bg.type-common.school .section-quiz-child .section-quiz-select > ul > li:nth-child(3) > .section-quiz-select__btn {
	background-color: #ff8ad8;
}

.yearold_bg.type-common.school .section-movie {
  margin: 50px auto 0;
  text-align: center;
}

.yearold_bg.type-common.school .section-movie__comment {
	color: #C00000;
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	margin-top: 50px;
}

.yearold_bg.type-common.school .section-movie__col2 {
	display: flex;
	gap: 0 40px;
	margin-top: 20px;
}

.yearold_bg.type-common.school .section-movie__col2 > div {
	width: calc((100% - 40px) / 2);
	height: fit-content;
}

.yearold_bg.type-common.school .section-movie__col2 > div > img {
  width: 100%;
}

.yearold_bg.type-common.school .section-teacher {
	background-color: rgba(255, 241, 203, 0.5);
	padding: 30px 50px;
	margin-top: 50px;
}

.yearold_bg.type-common.school .section-teacher-info {
	display: flex;
	gap: 0 40px;
	align-items: center;
}

.yearold_bg.type-common.school .section-teacher-info > figure {
	width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid white;
  overflow: hidden;
  display: inline-block;
}

.yearold_bg.type-common.school .section-teacher-info > figure > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
	border-radius: 50%;
  transform: scale(1.5) translateY(15px);
}

.yearold_bg.type-common.school .section-teacher-info .section-teacher-info__inner {
	flex: 1;
}

.yearold_bg.type-common.school .section-teacher-info__title {
	color: #009944;
	text-align: left;
	font-weight: bold;
	font-size: 20px;
}

.yearold_bg.type-common.school .section-teacher-info__title > span {
	font-size: 28px;
	margin-right: 10px;
}

.yearold_bg.type-common.school .section-teacher-info__name {
	color: #009944;
	background-color: #fff;
	padding: 6px 0;
	text-align: left;
	font-size: 18px;
	text-align: center;
	border-radius: 20px;
	width: 130px;
	font-weight: bold;
}

.yearold_bg.type-common.school .section-teacher-info__label {
	color: #404040;
	display: flex;
	align-items: center;
	text-align: left;
	font-size: 20px;
	align-items: center;
	line-height: 1;
	font-weight: bold;
	margin-top: 10px;
}

.yearold_bg.type-common.school .section-teacher-info__label > span {
	color: #009944;
	font-size: 16px;
	margin-right: 20px;
}

.yearold_bg.type-common.school .section-teacher__text {
	text-align: left;
	line-height: 2;
	margin-top: 20px;
}

.yearold_bg.type-common.school .section-teacher__text.red {
	color: #C00000;
	font-weight: bold;
}

.yearold_bg.type-common.school .section-banner {
  margin: 50px auto 0;
  text-align: center;
}


/* クイズ用css */

.section-quiz-child-content {
  display: none;
  position: relative;
}

.section-quiz-child-content.is-correct:before {
  background: url(/library/anshin/7pj/rule/school202506/img/section03_img01_thum.png) center / contain no-repeat;
  content: "";
  display: block;
  height: 80px;
  position: absolute;
  top: 30px;
  right: 50px;
  width: 80px;
  z-index: 10;
}
.section-quiz-child-content.is-incorrect:before {
  background: url(/library/anshin/7pj/rule/school202506/img/section03_img02_thum.png) center / contain no-repeat;
  content: "";
  display: block;
  height: 80px;
  position: absolute;
  top: 30px;
  right: 50px;
  width: 80px;
  z-index: 10;
}
.section-quiz-child-content {
  margin-top: 40px;
  background: #fff;
  border-radius: 20px;
  padding: 30px 50px
}
.section-quiz-child-content__text {
  font-size: 18px;
  text-align: left;
}
.section-quiz-child-content__text:not(:first-child) {
  margin-top: 40px;
}
.section-quiz-child-content__answer {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-top: 10px;
  margin-left: 30px;
  max-width: 370px;
}

.section-quiz-child-content__answer.noText {
  justify-content: center;
}

.section-quiz-child-content__answer span {
  margin-right: 10px;
}

.section-quiz-child-content__answer span.section-quiz-select__btn.yellow {
	background-color: #ffc000;
  pointer-events: none;
}

.section-quiz-child-content__answer span.section-quiz-select__btn.blue {
	background-color: #5b9bd5;
  pointer-events: none;
}

.section-quiz-child-content__answer span.section-quiz-select__btn.pink {
	background-color: #ff8ad8;
  pointer-events: none;
}

.section-quiz-select.is-correct,
.section-quiz-select.is-incorrect {
  position: relative;
}
@-webkit-keyframes quiz {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(0.3);
            transform: translate(-50%, -50%) scale(0.3);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes quiz {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(0.3);
            transform: translate(-50%, -50%) scale(0.3);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
  }
}
.section-quiz-select.is-correct:after,
.section-quiz-select.is-incorrect:after {
  content: "";
  display: block;
  height: 350px;
  width: 400px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}
.section-quiz-select.is-correct:before {
  -webkit-animation: quiz .4s;
          animation: quiz .4s;
  background: url(/library/anshin/7pj/rule/school202506/img/section03_img01.png) center / contain no-repeat;
  content: "";
  display: block;
  height: 90px;
  position: absolute;
  top: 20px;
  transform: translate(-50%, -50%) scale(1);
  width: 90px;
  z-index: 10;
}
.section-quiz-select.is-incorrect:before {
  -webkit-animation: quiz .4s;
          animation: quiz .4s;
  background: url(/library/anshin/7pj/rule/school202506/img/section03_img02.png) center / contain no-repeat;
  content: "";
  display: block;
  height: 90px;
  position: absolute;
  top: 20px;
  transform: translate(-50%, -50%) scale(1);
  width: 90px;
  z-index: 10;
}

.section-quiz-select:has(.is-a):before {
  left: 15%;
  right: unset;
}

.section-quiz-select:has(.is-b):before {
  left: 50%;
  right: unset;
}

.section-quiz-select:has(.is-c):before {
  left: unset;
  right: 0;
}

.section-quiz-select.is-correct:has(.is-a):after,
.section-quiz-select.is-incorrect:has(.is-a):after {
  left: 15%;
  right: unset;
}

.section-quiz-select.is-correct:has(.is-a):after,
.section-quiz-select.is-incorrect:has(.is-a):after {
  left: 50%;
  right: unset;
}

.section-quiz-select.is-correct:has(.is-a):after,
.section-quiz-select.is-incorrect:has(.is-a):after {
  left: unset;
  right: 0;
}