@-moz-keyframes
dothabottomcheck {  0% {
 height: 0;
}
 100% {
 height: 18px;/*Leftbarlength*/
}
}


@-webkit-keyframes 
dothabottomcheck {  0% {
 height: 0;
}
 100% {
 height: 18px;/*Leftbarlength*/
}
}
@keyframes 
dothabottomcheck {  0% {
 height: 0;
}
 100% {
 height: 18px;/*Leftbarlength*/
}
}
@keyframes 
dothatopcheck {  0% {
 height: 0;
}
 50% {
 height: 0;
}
 100% {
 height: 45px;/*Rightbarlength*/
}
}
@-webkit-keyframes 
dothatopcheck {  0% {
 height: 0;
}
 50% {
 height: 0;
}
 100% {
 height: 45px;*Rightbarlength*/
}
}
@-moz-keyframes 
dothatopcheck {  0% {
 height: 0;
}
 50% {
 height: 0;
}
 100% {
 height: 45px;*Rightbarlength*/
}
}
.consent-wrapper {
	width: 100%;
	min-height:3em;
	display:block;
	overflow: hidden;
	border-bottom: solid 1px #CCC;
	padding: 0.5em 2em 2em;
	margin: 0 0 2em 0;
	vertical-align: middle;
	font-size: 16px;
}
.consent-text {
	min-height: 3em;
	overflow: hidden;
	display:block;
	border-left: solid 1px #CCC;
	padding: 0 0 0 1.5em;
 	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
	align-items: center; /* 縦方向中央揃え */
	font-size: 86%;
}
.consent-text-noflex {
	min-height: 3em;
	overflow: hidden;
	display:block;
	border-left: solid 1px #CCC;
	padding: 0 0 0 1.5em;
	-webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
	align-items: center; /* 縦方向中央揃え */
	font-size: 86%;
}
.consent-text-title {
	font-weight:bold;
	overflow: hidden;
	display:block;
	float: none;
}
.consent {
	min-width:3em;
	min-height: 3em;
	float: left;
	margin: 0 1.5em 0 0;
}
/*.consent input[type=checkbox] { display: none; }*/

.consent input[type=checkbox] {
  /*display: none;*/
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.check-box {
  height: 40px;
  width: 40px;
  background-color: transparent;
  border: 3px solid black;/*box border size*/
  border-radius: 5px;
  position: relative;
  display: inline-block;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-transition: border-color ease 0.2s;
  -o-transition: border-color ease 0.2s;
  -webkit-transition: border-color ease 0.2s;
  transition: border-color ease 0.2s;
  cursor: pointer;
}

.check-box::before,
.check-box::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  height: 0;
  width: 10px;/*Bar thickness*/
  background-color: #23527c;
  display: inline-block;
  -moz-transform-origin: left top;
  -ms-transform-origin: left top;
  -o-transform-origin: left top;
  -webkit-transform-origin: left top;
  transform-origin: left top;
  border-radius: 5px;
  content: ' ';
  -webkit-transition: opacity ease .5;
  -moz-transition: opacity ease .5;
  transition: opacity ease .5;
}

.check-box::before {
  top: 30px;
  left: 15px;
/*  box-shadow: 0 0 0 5px #667788;*/
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.check-box::after {
/*  top: 37px; */
  top: 15px; 
  left: 0px;
/*  left: 5px;*/
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.consent input[type=checkbox]:checked + .check-box,
.check-box.checked { border-color: #23527c; }

.consent input[type=checkbox]:checked + .check-box::after,
.check-box.checked::after {
/*  height: 50px;*/
  height: 15px;
  -moz-animation: dothabottomcheck 0.2s ease 0s forwards;
  -o-animation: dothabottomcheck 0.2s ease 0s forwards;
  -webkit-animation: dothabottomcheck 0.2s ease 0s forwards;
  animation: dothabottomcheck 0.2s ease 0s forwards;
}

.consent input[type=checkbox]:checked + .check-box::before,
.check-box.checked::before {
/*  height: 118px;*/
  height: 45px;
  -moz-animation: dothatopcheck 0.4s ease 0s forwards;
  -o-animation: dothatopcheck 0.4s ease 0s forwards;
  -webkit-animation: dothatopcheck 0.4s ease 0s forwards;
  animation: dothatopcheck 0.4s ease 0s forwards;
}


@media screen and (max-width: 679px){

@-moz-keyframes 
dothabottomcheck {  0% {
 height: 0;
}
 100% {
 height: 12px;/*Leftbarlength*/
}
}


@-webkit-keyframes 
dothabottomcheck {  0% {
 height: 0;
}
 100% {
 height: 12px;/*Leftbarlength*/
}
}
@keyframes 
dothabottomcheck {  0% {
 height: 0;
}
 100% {
 height: 12px;/*Leftbarlength*/
}
}
@keyframes 
dothatopcheck {  0% {
 height: 0;
}
 50% {
 height: 0;
}
 100% {
 height: 30px;/*Rightbarlength*/
}
}
@-webkit-keyframes 
dothatopcheck {  0% {
 height: 0;
}
 50% {
 height: 0;
}
 100% {
 height: 30px;/*Rightbarlength*/
}
}
@-moz-keyframes 
dothatopcheck {  0% {
 height: 0;
}
 50% {
 height: 0;
}
 100% {
 height: 30px;/*Rightbarlength*/
}
}


.consent-wrapper {
	width: auto;
	min-height:3em;
	display:block;
	overflow: hidden;
	border-bottom: solid 1px #CCC;
	padding: 0.5em 2em 2em;
	margin: 0 0 2em 0;
	vertical-align: middle;
	font-size: 14px;
}

.consent-text {
	min-height: 3em;
	overflow: hidden;
	display:block;
	border-left: solid 1px #CCC;
	padding: 0 0 0 1.5em;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
  align-items: center; /* 縦方向中央揃え */
}
.consent {
	min-height: 3em;
	float: left;
	margin: 0 1.5em 0 0;
}

.consent input[type=checkbox] { display: none; }

.check-box {
  height: 25px;
  width: 25px;
  background-color: transparent;
  border: 2px solid black;/*box border size*/
  border-radius: 5px;
  position: relative;
  display: inline-block;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-transition: border-color ease 0.2s;
  -o-transition: border-color ease 0.2s;
  -webkit-transition: border-color ease 0.2s;
  transition: border-color ease 0.2s;
  cursor: pointer;
}

.check-box::before,
.check-box::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  height: 0;
  width: 8px;/*Bar thickness*/
  background-color: #23527c;
  display: inline-block;
  -moz-transform-origin: left top;
  -ms-transform-origin: left top;
  -o-transform-origin: left top;
  -webkit-transform-origin: left top;
  transform-origin: left top;
  border-radius: 5px;
  content: ' ';
  -webkit-transition: opacity ease .5;
  -moz-transition: opacity ease .5;
  transition: opacity ease .5;
}

.check-box::before {/*Rightbarposition*/
  top: 20px;
  left:10px;
/*  box-shadow: 0 0 0 5px #667788;*/
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.check-box::after {/*Leftbarposition*/
/*  top: 37px; */
  top: 10px; 
  left: 0px;
/*  left: 5px;*/
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.consent input[type=checkbox]:checked + .check-box,
.check-box.checked { border-color: #23527c; }

.consent input[type=checkbox]:checked + .check-box::after,
.check-box.checked::after {
/*  height: 50px;*/
  height: 10px;
  -moz-animation: dothabottomcheck 0.2s ease 0s forwards;
  -o-animation: dothabottomcheck 0.2s ease 0s forwards;
  -webkit-animation: dothabottomcheck 0.2s ease 0s forwards;
  animation: dothabottomcheck 0.2s ease 0s forwards;
}

.consent input[type=checkbox]:checked + .check-box::before,
.check-box.checked::before {
/*  height: 118px;*/
  height: 30px;
  -moz-animation: dothatopcheck 0.4s ease 0s forwards;
  -o-animation: dothatopcheck 0.4s ease 0s forwards;
  -webkit-animation: dothatopcheck 0.4s ease 0s forwards;
  animation: dothatopcheck 0.4s ease 0s forwards;
}

}