/*
 * Legal Disclaimer
 *
    print '\n', 'Note that the webfonts share the TT sources'
 * These Fonts are licensed for unlimited use on domains and their subdomains of The Kantar Group.
 * It is illegal to download or use them on other websites.
 *
 * While the @font-face statements below may be modified by the client, this
 * disclaimer may not be removed.
 *
 * Lineto.com, 2016
 */

@font-face {
  font-family: "KantarBrownWeb-LightItalic";
  src: url("KantarBrown/KantarBrownWeb-LightItalic.eot");
  src: url("KantarBrown/KantarBrownWeb-LightItalic.eot?#iefix")
      format("embedded-opentype"),
    url("KantarBrown/KantarBrownWeb-LightItalic.woff2") format("woff2"),
    url("KantarBrown/KantarBrownWeb-LightItalic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "KantarBrownWeb-BoldItalic";
  src: url("KantarBrown/KantarBrownWeb-BoldItalic.eot");
  src: url("KantarBrown/KantarBrownWeb-BoldItalic.eot?#iefix")
      format("embedded-opentype"),
    url("KantarBrown/KantarBrownWeb-BoldItalic.woff2") format("woff2"),
    url("KantarBrown/KantarBrownWeb-BoldItalic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "KantarBrownWeb-Italic";
  src: url("KantarBrown/KantarBrownWeb-Italic.eot");
  src: url("KantarBrown/KantarBrownWeb-Italic.eot?#iefix")
      format("embedded-opentype"),
    url("KantarBrown/KantarBrownWeb-Italic.woff2") format("woff2"),
    url("KantarBrown/KantarBrownWeb-Italic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "KantarBrownWeb-Thin";
  src: url("KantarBrown/KantarBrownWeb-Thin.eot");
  src: url("KantarBrown/KantarBrownWeb-Thin.eot?#iefix")
      format("embedded-opentype"),
    url("KantarBrown/KantarBrownWeb-Thin.woff2") format("woff2"),
    url("KantarBrown/KantarBrownWeb-Thin.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "KantarBrownWeb-ThinItalic";
  src: url("KantarBrown/KantarBrownWeb-ThinItalic.eot");
  src: url("KantarBrown/KantarBrownWeb-ThinItalic.eot?#iefix")
      format("embedded-opentype"),
    url("KantarBrown/KantarBrownWeb-ThinItalic.woff2") format("woff2"),
    url("KantarBrown/KantarBrownWeb-ThinItalic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "KantarBrownWeb-Bold";
  src: url("KantarBrown/KantarBrownWeb-Bold.eot");
  src: url("KantarBrown/KantarBrownWeb-Bold.eot?#iefix")
      format("embedded-opentype"),
    url("KantarBrown/KantarBrownWeb-Bold.woff2") format("woff2"),
    url("KantarBrown/KantarBrownWeb-Bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "KantarBrownWeb-Light";
  src: url("KantarBrown/KantarBrownWeb-Light.eot");
  src: url("KantarBrown/KantarBrownWeb-Light.eot?#iefix")
      format("embedded-opentype"),
    url("KantarBrown/KantarBrownWeb-Light.woff2") format("woff2"),
    url("KantarBrown/KantarBrownWeb-Light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "KantarBrownWeb-Regular";
  src: url("KantarBrown/KantarBrownWeb-Regular.eot");
  src: url("KantarBrown/KantarBrownWeb-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("KantarBrown/KantarBrownWeb-Regular.woff2") format("woff2"),
    url("KantarBrown/KantarBrownWeb-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

body {
  color: #000000;
  font-weight: 500;
  font-size: 1.05em;
  font-family: "KantarBrownWeb-Light";
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

a {
  color: #2fa0ec;
  text-decoration: none;
  outline: none;
}

a:hover,
a:focus {
  color: #404d5b;
}

.container {
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.content {
  font-size: 150%;
  padding: 0.5em 0;
}

.content h2 {
  margin: 0 0 1em;
/* opacity: 0.1; */
}

.content p {
  /* margin: 1em 0;
  padding: 5em 0 0 0;
  font-size: 0.65em; */
}

.bgcolor-1 {
  background: #f0efee;
}
.bgcolor-2 {
  background: #f9f9f9;
}
.bgcolor-3 {
  background: #e8e8e8;
}
.bgcolor-4 {
  background: #2f3238;
  color: #fff;
}
.bgcolor-5 {
  background: #df6659;
  color: #521e18;
}
.bgcolor-6 {
  background: #2fa8ec;
  color: #fff;
}
.bgcolor-7 {
  background: #d0d6d6;
}
.bgcolor-8 {
  background: #3d4444;
  color: #fff;
}
.bgcolor-9 {
  background: #8781bd;
  color: #fff;
}

body .nomargin-bottom {
  margin-bottom: 0;
}

/* Set 1 */
.input {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0.5em;
  max-width: 400px;
  width: calc(100% - 2em);
  vertical-align: top;
}

.input__field {
  position: relative;
  display: block;
  float: right;
  padding: 0.8em;
  width: 60%;
  border: none;
  border-radius: 0;
  background: #f0f0f0;
  color: #aaa;
  /* font-weight: bold; */
  font-family: "KantarBrownWeb-Light";
  -webkit-appearance: none; /* for box shadows to show on iOS */
}

.input__field:focus {
  outline: none;
}

.input__label {
  display: inline-block;
  float: right;
  padding: 0 1em;
  width: 40%;
  color: #6a7989;
  /* font-weight: bold; */
  font-size: 60.25%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: "KantarBrownWeb-Regular";
}

.input__label-content {
  position: relative;
  display: block;
  padding: 1.6em 0;
  width: 100%;
}

.graphic {
  position: absolute;
  top: 0;
  left: 0;
  fill: none;
}

.icon {
  color: #ddd;
  font-size: 150%;
}

/* Individual styles */

/* Yoshiko */
span.input.input--yoshiko.textarea {
  max-width: 50%;
  field-sizing: content;
}

span.input.input--yoshiko.textarea.input--filled {
  max-width: 50%;
  margin-top: 50px;
}
textarea.input__field.input__field--yoshiko.textarea {
  height: 100px;
  margin-top: 10px;
  padding-top: 0.5em;
  resize: none;
}

.input__field--yoshiko {
  width: 100%;
  background-color: #aeae9f;
  border: 2px solid transparent;
  -webkit-transition: background-color 0.3s, border-color 0.3s;
  transition: background-color 0.3s, border-color 0.3s;
  color: #000;
  font-family: "KantarBrownWeb-Light";
}

.input__label--yoshiko {
  width: 100%;
  text-align: left;
  position: absolute;
  bottom: 100%;
  pointer-events: none;
  overflow: hidden;
  padding: 0 1.25em;
  -webkit-transform: translate3d(0, 3em, 0);
  transform: translate3d(0, 3em, 0);
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  font-family: "KantarBrownWeb-Regular";
}

.input__label-content--yoshiko {
  color: #ffffff;
  padding: 0.25em 0;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}

.input__label-content--yoshiko::after {
  content: attr(data-content);
  position: absolute;
  /* font-weight: 800; */
  bottom: 100%;
  left: 0;
  height: 100%;
  width: 100%;
  color: #000000;
  padding: 0.25em 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85em;
}
span.input__label-content.input__label-content--yoshiko.textarea:focus {
  color: black !important;
  -webkit-transform: none;
  transform: none;
}
span.input__label-content.input__label-content--yoshiko.textarea {
  color: black !important;
  -webkit-transform: none;
  transform: none;
}

.input__field--yoshiko:focus + .input__label--yoshiko,
.input--filled .input__label--yoshiko {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.input__field--yoshiko:focus
  + .input__label--yoshiko
  .input__label-content--yoshiko,
.input--filled .input__label-content--yoshiko {
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
}

.input__field--yoshiko:focus + .input__field--yoshiko,
.input--filled .input__field--yoshiko {
  background-color: transparent;
  border-color: #aeae9f;
}

/* Minoru */
.input__field--minoru {
  width: 100%;
  background: #fff;
  box-shadow: 0px 0px 0px 2px transparent;
  -webkit-transition: box-shadow 0.3s;
  transition: box-shadow 0.3s;
  border: 1px solid #aeae9f;
}

.input__label--minoru {
  padding: 0;
  width: 100%;
  text-align: left;
}

.input__label--minoru::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 4em;
  box-shadow: 0px 0px 0px 0px;
  color: rgba(199, 152, 157, 0.6);
}

.input__field--minoru:focus {
  box-shadow: 0px 0px 0px 2px #aeae9f;
}

.input__field--minoru:focus + .input__label--minoru {
  pointer-events: none;
}

.input__field--minoru:focus + .input__label--minoru::after {
  -webkit-animation: anim-shadow 0.3s forwards;
  animation: anim-shadow 0.3s forwards;
}

@-webkit-keyframes anim-shadow {
  to {
    box-shadow: 0px 0px 100px 50px;
    opacity: 0;
  }
}

@keyframes anim-shadow {
  to {
    box-shadow: 0px 0px 100px 50px;
    opacity: 0;
  }
}

.input__label-content--minoru {
  padding: 0.75em 0.15em;
}

/* Juro */
.input--juro {
  overflow: hidden;
  border: 1.5px solid #000000;
}

.input__field--juro {
  position: absolute;
  z-index: 100;
  padding: 2.17em 0.75em 0;
  width: 100%;
  background: transparent;
  color: #000000;
  font-size: 0.85em;
  text-align: center;
}
.input__field--juro--green {
  position: absolute;
  z-index: 100;
  padding: 2.17em 0.75em 0;
  width: 100%;
  background: transparent;
  color: #92d400;
  font-size: 0.85em;
  text-align: center;
}

.input__label--juro {
  padding: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  text-align: left;
  opacity: 0.7;
}

.input__label-content--juro {
  padding: 2em 1em;
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-transition: -webkit-transform 0.3s, color 0.3s;
  transition: transform 0.3s, color 0.3s;
  text-rendering: geometricPrecision;
  color: #000000;
}
.input__label-content--juro--green {
  padding: 2em 1em;
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-transition: -webkit-transform 0.3s, color 0.3s;
  transition: transform 0.3s, color 0.3s;
  text-rendering: geometricPrecision;
  color: #92Dd400;
}

.input__label--juro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0px solid transparent;
  -webkit-transition: border-width 0.3s, border-color 0.3s;
  transition: border-width 0.3s, border-color 0.3s;
}

.input__field--juro:focus + .input__label--juro::before,
.input--filled .input__label--juro::before {
  border-width: 8px;
  border-color: #000000;
  border-top-width: 2em;
  margin: 0.5px;
}

.input__field--juro:focus + .input__label--juro .input__label-content--juro,
.input--filled .input__label--juro .input__label-content--juro {
  color: #fff;
  -webkit-transform: translate3d(0, -1.5em, 0) scale3d(0.75, 0.75, 1);
  transform: translate3d(0, -1.5em, 0) scale3d(0.75, 0.75, 1) translateZ(1px);
}

/* Yoko */
.input__field--yoko {
  z-index: 10;
  width: 100%;
  background: transparent;
  color: #f5f5f5;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.input__label--yoko {
  position: relative;
  width: 100%;
  color: #006d7b;
  text-align: left;
  height: auto;
}

.input__label--yoko::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 8em;
  background: #006d7b;
  -webkit-transform: perspective(1000px) rotate3d(1, 0, 0, 90deg);
  transform: perspective(1000px) rotate3d(1, 0, 0, 90deg);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}

.input__label--yoko::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25em;
  background: #006d7b;
  -webkit-transform-origin: 50% 0%;
  transform-origin: 50% 0%;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}

.input__label-content--yoko {
  padding: 0.55em 0;
}

.input__field--yoko:focus,
.input--filled .input__field--yoko,
textarea .input__field--yoko:focus,
textarea .input--filled .input__field--yoko {
  opacity: 1;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
  font-size: 15px;
}

.input__field--yoko:focus + .input__label--yoko::before,
.input--filled .input__label--yoko::before {
  -webkit-transform: perspective(1000px) rotate3d(1, 0, 0, 0deg);
  transform: perspective(1000px) rotate3d(1, 0, 0, 0deg);
}

.input__field--yoko:focus + .input__label--yoko,
.input--filled .input__label--yoko {
  pointer-events: none;
}

.input__field--yoko:focus + .input__label--yoko::after,
.input--filled .input__label--yoko::after {
  -webkit-transform: perspective(1000px) rotate3d(1, 0, 0, -90deg);
  transform: perspective(1000px) rotate3d(1, 0, 0, -90deg);
}

/* Hoshi */
span.input.input--hoshi.textarea {
  max-width: 50%;
  field-sizing: content;
}

textarea.input__field.input__field--hoshi.textarea {
  margin-top: 30px;
  padding-top: 0.5em;
  field-sizing: content;
  resize: none;
}
span.input.input--hoshi.textarea.input--filled {
  max-width: 50%;
}

.input--hoshi {
  overflow: hidden;
}

.input__field--hoshi {
  margin-top: 1em;
  padding: 0.85em 0.15em;
  width: 100%;
  background: transparent;
  color: #000000;
}

/* .input__field--hoshi {
  margin-top: 0.5em;
  padding: 1.5em 0.15em;
  width: 100%;
  background: transparent;
  color: #000000;
  position: absolute;
  z-index: 100;
  font-size: 0.85em;
  text-align: center;
} */

.input__label--hoshi {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 0.25em;
  width: 100%;
  height: calc(100% - 1em);
  text-align: left;
  pointer-events: none;
  text-transform: uppercase;
}

.input__label-content--hoshi {
  position: absolute;
  color: #000000;
}

.input__label--hoshi::before,
.input__label--hoshi::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 10px);
  border-bottom: 1px solid #000000;
}

.input__label--hoshi::after {
  margin-top: 2px;
  border-bottom: 4px solid #000000;
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}

.input__field--hoshi:focus + .input__label--hoshi::after,
.input--filled .input__label--hoshi::after {
  border-color: #000000;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.input__field--hoshi:focus + .input__label--hoshi .input__label-content--hoshi,
.input--filled .input__label-content--hoshi {
  -webkit-animation: anim-1 0.3s forwards;
  animation: anim-1 0.3s forwards;
}

@-webkit-keyframes anim-1 {
  50% {
    opacity: 0;
    -webkit-transform: translate3d(1em, 0, 0);
    transform: translate3d(1em, 0, 0);
  }
  51% {
    opacity: 0;
    -webkit-transform: translate3d(-1em, -40%, 0);
    transform: translate3d(-1em, -40%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, -40%, 0);
    transform: translate3d(0, -40%, 0);
  }
}

@keyframes anim-1 {
  50% {
    opacity: 0;
    -webkit-transform: translate3d(1em, 0, 0);
    transform: translate3d(1em, 0, 0);
  }
  51% {
    opacity: 0;
    -webkit-transform: translate3d(-1em, -40%, 0);
    transform: translate3d(-1em, -40%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, -40%, 0);
    transform: translate3d(0, -40%, 0);
  }
}
