@charset "utf-8";


#sideNavi .babyquiz {
	background:#09F;
}
#sideNavi .babyquiz a {
	color:#fff;
}
#sideNavi .babyquiz i, #sideNavi .babyquiz a:hover i {
	color:#fff !important;
}

.phase {
	margin-bottom:30px;
}

.fc_blue {
	color: #2582c5 !important;
}


h2 .torf_tit_icon {
	display: inline-block;
	width: auto;
	height: 24px;
	padding: 0 4px 2px;
	vertical-align: middle;
}

/* ○×クイズ */
.phase.torf {
	border-radius: 6px;
	background: #e1f2ff;
	margin-bottom: 30px !important;
	padding-top: 20px;
	padding-bottom: 30px;
}
.phase.torf h3 {
	color: #09F !important;
	font-size: 1.1em !important;
	text-align: center;
	line-height: 1.8;
}
.torflist *, .torflist *:before, .torflist *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
.torflist, .torflist ul, torflist li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.torflist {
	width: 570px;
	margin: 0 auto;
	text-align:center;
}
.torflist {
	min-height: 662px;
}
.torflist .flickity-slider > li {
	width: 100%;
}
.torflist .q {
	margin-top: 10px !important;
	font-size: 16px !important;
}
.torflist ul {
	position: relative;
	width: 100%;
	margin: 15px 0;
	margin-bottom: 60px;
}
.torflist ul li {
	display: inline-block;
	margin: 0 10px;
	text-align:center;
}
.torflist ul li input {
	display: none;
}
.torflist ul li label {
  border:1px solid #ccc;
  border-radius: 6px;
	background: rgba(255, 255, 255, 0.5);
  padding: 6px 50px;
  font-size: 30px !important;
	line-height: 1 !important;
  cursor: pointer;
}
.torflist ul li input:checked + .correct {
  background: green;
	color: #fff !important;
}
.torflist ul li input:checked + .wrong{
  background: red;
	color: #fff !important;
}
.torflist article{
		position: absolute;
		top: 50px;
		left: 50%;
		transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.5);
    margin-top: -1px;
    overflow: hidden;
		width: 98%;
    height: 0px;
    z-index: 10;
    transition:
        height 0.3s ease-in-out,
        box-shadow 0.6s linear;
}
.torflist input:checked ~ article{
    transition:
        height 0.5s ease-in-out,
        box-shadow 0.1s linear;
    box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);
		height: auto;
		max-height: 150px;
		overflow-y: auto;
		padding: 10px 0;
		text-align: left;
}

.torflist article p {
  padding: 0 10px !important;
}
.torflist article p + p {
  padding-top: 2px !important;
}
.torflist article p span {
	display: inline-block !important;
	font-size: 16px !important;
	vertical-align: middle;
	line-height: 1 !important;
}
.torflist article p .ans {
	font-size: 30px !important;
	line-height: 1 !important;
}
.torflist .true.correct ~ article p .ans,
.torflist .false.wrong ~ article p .ans {
	margin-top: -4px;
}

.torflist .torf07 .q {
	margin: 20px 0 !important;
	color: #09F !important;
	font-size: 18px !important;
	font-weight: bold;
}
.torflist .torf07 ul li {
	font-size: 16px !important;
	text-align: left;
}

/* flickityのボタン */
.flickity-button.flickity-prev-next-button.next {
	top: 97%;
	width: 80px;
	height: 34px;
	border-radius: 0%;
	transform: translateY(0%);
	background-color: #2582c5;
}
.flickity-button-icon {
    fill: #fff !important;
}
.flickity-prev-next-button.next:before {
	display: table-cell;
  content: "次へ";
	padding-left: 6px;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
}
.flickity-prev-next-button.next .flickity-button-icon {
	display: table-cell;
	left: 48% !important;
}
.flickity-prev-next-button.previous {
    top: 97%;
		width: 80px;
		height: 34px;
		border-radius: 0%;
		transform: translateY(0%);
		background-color: #2582c5;
}
.flickity-prev-next-button.previous:after {
	display: table-cell;
  content: "戻る";
	padding-left: 25px;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
}
.flickity-prev-next-button.previous .flickity-button-icon {
	display: table-cell;
	left: -8% !important;
}
.flickity-button.flickity-prev-next-button:hover {
	background-color: #2582c5;
	opacity: 0.75;
	filter: alpha(opacity=75);
	-ms-filter: "alpha(opacity=75)";
}

/* to_babytips */
.to_babytips {
	margin-bottom: 30px !important;
	text-align: center;
	font-size: 1.1em !important;
}


/* share */
.share ul {
	margin: 0;
	padding: 0;
}
.share ul li {
	display:inline-block;
	margin-right:1.5em;
}
.share > ul > li > a > span {
	width:30px;
	text-align:center;
	display:inline-block;
	vertical-align:middle;
}
.share > ul > li > a > span > i {
	font-family: FontAwesome !important;
	font-size:22px;
	color: #1cabe2 !important;
}

/* totop */
.to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 50px;
}
.to-top a {
  display: block;
	color: #0099FF !important;
  font-size: 48px !important;
}

/*************************** max-width: 639px ***************************/

@media screen and (max-width: 639px) {

	h2 .torf_tit_icon {
		height: 14px;
	}

/* ○×クイズ */
.torflist {
	width: 100%;
}
.torflist ul {
	margin-bottom: 110px;
}
.torflist li p img {
	width: 100%;
	height: auto;
}
.torflist input:checked ~ article{
	overflow-y: scroll;
	max-height: 230px;
	height: 230px;
}
.torflist .torf05 input:checked ~ article{
	max-height: 180px;
	height: 180px;
}
.torflist article p + p {
  font-size: 14px !important;
}
.torflist .q {
	padding: 0 10px !important;
}

}
