@import url("https://fonts.googleapis.com/css?family=Lato:700&display=swap");
/* =========================================================
 wrap
========================================================= */
#cnt-voice {
  overflow: hidden;
  padding-bottom: 50px;
}
@media (min-width: 768px) {
  #cnt-voice {
    padding-bottom: 100px;
  }
}
@media (min-width: 992px) {
  #cnt-voice {
    padding-bottom: 120px;
  }
}

/* =========================================================
 kv
========================================================= */
.kv .loop {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100vw;
  height: 150px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .kv .loop {
    height: 300px;
  }
}
.kv .loop img {
  width: auto;
  max-width: none;
  height: 100%;
  will-change: transform;
  /* for anim */
  -webkit-animation: loop 60s -30s linear infinite;
          animation: loop 60s -30s linear infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.kv .loop img:nth-of-type(even) {
  -webkit-animation: loop2 60s linear infinite;
          animation: loop2 60s linear infinite;
}
@media (min-width: 768px) {
  .kv .loop img {
    -webkit-animation: loop 120s -60s linear infinite;
            animation: loop 120s -60s linear infinite;
  }
  .kv .loop img:nth-of-type(even) {
    -webkit-animation: loop2 120s linear infinite;
            animation: loop2 120s linear infinite;
  }
}

/* =========================================================
	general
========================================================= */
#cnt-voice section .voices {
  margin-top: 50px;
}
#cnt-voice section .voices .item-flex figure {
  margin-top: 0;
}
#cnt-voice section .voices h3 {
  position: relative;
  width: calc(100% + 10px);
  margin-left: -10px;
}
@media (max-width: 575px) {
  #cnt-voice section .voices h4 {
    letter-spacing: 0;
  }
}
@media (min-width: 768px) {
  #cnt-voice section .voices.mono {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #cnt-voice section .voices.mono .item-flex {
    max-width: 640px;
    width: 100%;
  }
  #cnt-voice section .voices.mono .item {
    padding: 40px 70px;
  }
}
#cnt-voice section .d-md-flex.center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
#cnt-voice section .item {
  padding: 36px 15px 50px;
  background: #e1ecff;
  border-radius: 10px;
}
#cnt-voice section .emphasis {
  color: #1938bf;
}
#cnt-voice section .comment {
  margin: 0;
}
@media (max-width: 575px) {
  #cnt-voice section .comment {
    margin-top: 20px;
  }
}
@media (min-width: 576px) {
  #cnt-voice section .comment {
    margin-top: 20px;
  }
}
@media (min-width: 768px) {
  #cnt-voice section .comment {
    margin-top: 25px;
  }
}
#cnt-voice section figure.nomagene {
  width: calc(100% + 20px);
  margin-left: -15px;
}
#cnt-voice section figure.passimg {
  width: calc(100% + 10px);
  margin-left: -10px;
}
#cnt-voice section .btn-more {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin: 0;
  text-align: right;
}
@media (max-width: 575px) {
  #cnt-voice section .btn-more {
    margin-top: 20px;
  }
}
@media (min-width: 576px) {
  #cnt-voice section .btn-more {
    margin-top: 20px;
  }
}
@media (min-width: 768px) {
  #cnt-voice section .btn-more {
    margin-top: 25px;
  }
}
#cnt-voice section .btn-more a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #1a38bf;
  background: #fff;
  color: #1a38bf;
  vertical-align: middle;
}
@media (max-width: 575px) {
  #cnt-voice section .btn-more a {
    height: 28px;
    padding: 0 45px 0 35px;
    border-radius: 15px;
  }
}
@media (min-width: 576px) {
  #cnt-voice section .btn-more a {
    height: 38px;
    padding: 0 30px 0 25px;
    border-radius: 20px;
  }
}
#cnt-voice section .btn-more a:after {
  position: absolute;
  top: 50%;
  right: 15px;
  display: block;
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid #1a38bf;
  border-right: 1px solid #1a38bf;
  margin-top: -4px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
#cnt-voice section .btn-more a:hover {
  background: #1a38bf;
  color: #fff;
}
#cnt-voice section .btn-more a:hover:after {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}
#cnt-voice section .box-more {
  margin-top: 15px;
}

/* =========================================================
 graph
========================================================= */
.graph canvas {
  width: 100% !important;
  height: 100% !important;
}

/* =========================================================
 num reel
========================================================= */
.number {
  opacity: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: 700;
  line-height: 1;
}
.number .num-wrap {
  overflow: hidden;
  font-family: 'Lato', sans-serif;
  font-size: 5rem;
  text-align: center;
  height: 1em;
}
@media (min-width: 768px) {
  .number .num-wrap {
    font-size: 6.5rem;
  }
}
.number .num-wrap.n3 {
  font-size: 3rem;
}
@media (min-width: 768px) {
  .number .num-wrap.n3 {
    font-size: 4.5rem;
  }
}
.number .reel {
  opacity: 0;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
}
.number .reel span {
  display: block;
  color: #e54957;
  font-family: 'Lato', sans-serif;
  font-size: 5rem;
}
@media (min-width: 768px) {
  .number .reel span {
    font-size: 6.5rem;
  }
}
.number .n3 .reel span {
  color: #e54957;
  font-size: 3rem;
}
@media (min-width: 768px) {
  .number .n3 .reel span {
    font-size: 4.5rem;
  }
}
.number small {
  color: #e54957;
  font-size: 3rem;
}
@media (min-width: 768px) {
  .number small {
    font-size: 4.5rem;
  }
}

.on .number {
  opacity: 1;
}
.on .reel {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.on .n1 .reel {
  -webkit-transition: opacity .2s, -webkit-transform 1s ease-in-out;
  transition: opacity .2s, -webkit-transform 1s ease-in-out;
  transition: opacity .2s, transform 1s ease-in-out;
  transition: opacity .2s, transform 1s ease-in-out, -webkit-transform 1s ease-in-out;
}
.on .n2 .reel {
  -webkit-transition: opacity .4s, -webkit-transform 1.4s ease-in-out;
  transition: opacity .4s, -webkit-transform 1.4s ease-in-out;
  transition: opacity .4s, transform 1.4s ease-in-out;
  transition: opacity .4s, transform 1.4s ease-in-out, -webkit-transform 1.4s ease-in-out;
}
.on .n3 .reel {
  -webkit-transition: opacity .8s, -webkit-transform 1.8s ease-in-out;
  transition: opacity .8s, -webkit-transform 1.8s ease-in-out;
  transition: opacity .8s, transform 1.8s ease-in-out;
  transition: opacity .8s, transform 1.8s ease-in-out, -webkit-transform 1.8s ease-in-out;
}

/* =========================================================
	readtext
========================================================= */
.cnt-readtext {
  position: relative;
  background: #f7f6f5;
  z-index: 1;
  padding: 0 0 60px;
}
@media (min-width: 768px) {
  .cnt-readtext {
    padding-bottom: 80px;
  }
}
@media (min-width: 992px) {
  .cnt-readtext {
    padding-bottom: 100px;
  }
}
.cnt-readtext h2.text-center img {
  margin-top: -25px;
  width: 166px;
}
@media (min-width: 768px) {
  .cnt-readtext h2.text-center img {
    margin-top: -50px;
    width: 249px;
  }
}
.cnt-readtext .cnt-inner {
  width: calc(100% - 60px);
  margin-top: 8px;
}

/* =========================================================
	preparation
========================================================= */
#cnt-voice .cnt-preparation {
  padding-top: 0 !important;
}
#cnt-voice .cnt-preparation figure.data {
  position: relative;
  max-width: 640px;
}
#cnt-voice .cnt-preparation figure.data .graph {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 26%;
}
#cnt-voice .cnt-preparation figure.data .num {
  position: absolute;
  top: 19.5%;
  left: 10%;
  width: 49%;
  opacity: 0;
  -webkit-transform: scale3d(0.3, 0.3, 0.3);
          transform: scale3d(0.3, 0.3, 0.3);
}
#cnt-voice .cnt-preparation figure.data .num.on {
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-duration: .75s;
          animation-duration: .75s;
  -webkit-animation-delay: .8s;
          animation-delay: .8s;
  -webkit-animation-name: bounceIn;
          animation-name: bounceIn;
}

/* =========================================================
	memorize
========================================================= */
#cnt-voice .cnt-memorize figure.data {
  width: 267px;
}
@media (min-width: 576px) {
  #cnt-voice .cnt-memorize figure.data {
    width: 300px;
  }
}

/* =========================================================
	efficiency
========================================================= */
#cnt-voice .cnt-efficiency figure.data {
  position: relative;
}
@media (max-width: 767px) {
  #cnt-voice .cnt-efficiency figure.data {
    width: 70%;
    margin: auto;
  }
}
@media (min-width: 768px) {
  #cnt-voice .cnt-efficiency figure.data {
    max-width: 310px;
  }
}
#cnt-voice .cnt-efficiency .graph {
  background: url("/chugaku/voice/local/images/efficiency-graph-img.png") no-repeat center center;
  background-size: 90% auto;
}
#cnt-voice .cnt-efficiency .graph canvas:nth-of-type(2) {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 85% !important;
  height: 85% !important;
  margin-left: 7.5%;
  margin-top: 7.5%;
}
#cnt-voice .cnt-efficiency .graph .number {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  margin-top: 12%;
}

/* =========================================================
	custom
========================================================= */
#cnt-voice .cnt-custom figure.data {
  position: relative;
  width: 300px;
}
@media (min-width: 576px) {
  #cnt-voice .cnt-custom figure.data {
    width: 500px;
  }
}
#cnt-voice .cnt-custom figure.data img {
  position: relative;
  z-index: 10;
}
#cnt-voice .cnt-custom figure.data .num {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  z-index: 20;
  opacity: 0;
  -webkit-transform: scale3d(0.3, 0.3, 0.3);
          transform: scale3d(0.3, 0.3, 0.3);
}
#cnt-voice .cnt-custom figure.data .num.on {
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-duration: .75s;
          animation-duration: .75s;
  -webkit-animation-delay: .9s;
          animation-delay: .9s;
  -webkit-animation-name: bounceIn;
          animation-name: bounceIn;
}
#cnt-voice .cnt-custom figure.data .graph {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 63%;
}
#cnt-voice .cnt-custom figure.data canvas:nth-of-type(2) {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
#cnt-voice .cnt-custom .voices h3 {
  position: relative;
  margin: 0;
  width: 100%;
}
#cnt-voice .cnt-custom .voices .number {
  position: absolute;
  right: 20px;
  bottom: 20px;
}
#cnt-voice .cnt-custom .voices .number .num-wrap {
  font-size: 4rem;
}
@media (min-width: 768px) {
  #cnt-voice .cnt-custom .voices .number .num-wrap {
    font-size: 5.5rem;
  }
}
#cnt-voice .cnt-custom .voices .number .num-wrap.n3 {
  font-size: 2.6rem;
}
@media (min-width: 768px) {
  #cnt-voice .cnt-custom .voices .number .num-wrap.n3 {
    font-size: 3.5rem;
  }
}
#cnt-voice .cnt-custom .voices .number .reel span {
  color: #ffe70d;
  font-size: 4rem;
}
@media (min-width: 768px) {
  #cnt-voice .cnt-custom .voices .number .reel span {
    font-size: 5.5rem;
  }
}
#cnt-voice .cnt-custom .voices .number .n3 .reel span {
  color: #ffe70d;
  font-size: 2.6rem;
}
@media (min-width: 768px) {
  #cnt-voice .cnt-custom .voices .number .n3 .reel span {
    font-size: 3.5rem;
  }
}
#cnt-voice .cnt-custom .voices .number small {
  color: #ffe70d;
  font-size: 2.6rem;
}
@media (min-width: 768px) {
  #cnt-voice .cnt-custom .voices .number small {
    font-size: 3.5rem;
  }
}
#cnt-voice .cnt-custom .item {
  padding: 25px 15px 45px;
}
@media (max-width: 767px) {
  #cnt-voice .cnt-custom .item-flex:not(:nth-of-type(1)) {
    margin-top: 45px;
  }
}
#cnt-voice .cnt-custom .item-pattern02 h3 {
  padding: 25px 20px;
  border-radius: 10px 10px 0 0;
  background: #60bbef;
}
#cnt-voice .cnt-custom .item-pattern02 .item-body {
  background: #ddf3ff;
  padding: 45px 15px 45px;
  border-radius: 0 0 10px 10px;
}
#cnt-voice .cnt-custom .item-pattern02 figure + h4 {
  margin-top: 45px;
}
#cnt-voice .cnt-custom .item-pattern02 figure.nomagene-ml9 {
  width: calc(100% + 20px);
  margin-left: -6px;
}
#cnt-voice .cnt-custom .item-pattern02 h4.mb15 {
  margin-bottom: 15px;
}

/* =========================================================
	bnr
========================================================= */
#cnt-voice .cnt-bnr {
  padding-top: 90px;
}

/* =========================================================
 keyframe
========================================================= */
@-webkit-keyframes loop {
  0% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
@keyframes loop {
  0% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
@-webkit-keyframes loop2 {
  0% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  to {
    -webkit-transform: translateX(-200%);
            transform: translateX(-200%);
  }
}
@keyframes loop2 {
  0% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  to {
    -webkit-transform: translateX(-200%);
            transform: translateX(-200%);
  }
}
@-webkit-keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
            animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
            transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
            transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
            transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
            transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
            transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}
@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
            animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
            transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
            transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
            transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
            transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
            transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}
