/**
* 0.0 - Mixin
*/
.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/**
* 1.0 - nornalize, common
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td, textarea, input {
  border: 0;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 13pt;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  height: 100%;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

* {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

*:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

a img {
  border: 0;
  outline: 0;
}

body {
  color: #222221;
  font-family: "Vollkorn", -apple-system, serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1em;
  margin-top: 2em;
}

h1 {
  font-size: 1.8em;
}

h2 {
  font-size: 1.6em;
}

h3 {
  font-size: 1.4em;
}

h4, h5 {
  font-size: 1.2em;
}

ol, ul {
  padding-left: 1.1em;
}

li {
  margin: 0.5em 0;
}

section .wrap {
  padding: 5vw;
}

textarea, input {
  border: none;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 0.3em;
  font-family: "Vollkorn", -apple-system, serif;
  font-size: 15pt;
}

textarea:focus, input:focus {
  outline: none;
}

input[type="submit"], input[type="button"] {
  -webkit-appearance: none;
  border-radius: 0;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}

input[type="submit"]:focus,
input[type="button"]:focus {
  outline-offset: -2px;
}

a {
  color: #38909c;
  text-decoration: underline;
}

.tx-center {
  text-align: center;
}

.bt {
  display: inline-block;
  padding: 0.6em 2em;
  border: 1px solid #fff;
  background-color: #fff;
  color: #7bb5bd;
  text-decoration: none;
  border-radius: 1px;
  font-size: 1.1em;
  letter-spacing: 0.05em;
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

.bt:hover {
  background-color: #cfcd2e;
  border-color: #cfcd2e;
  color: #fff;
}

form {
  margin-top: 1.6em;
}

form > p {
  display: block;
  margin: 1em 0;
  position: relative;
}

form > p:before, form > p:after {
  content: " ";
  display: table;
}

form > p:after {
  clear: both;
}

form label.left {
  width: 60px;
  display: block;
  float: left;
  font-size: 90%;
}

form textarea.right, form input.right {
  float: right;
  width: calc(100% - 80px);
}

.canvas {
  background-color: #e0dfda;
  vertical-align: top;
}

.canvas .wrap {
  max-width: 760px;
  margin: 0 auto;
}

.canvas .wrap h1 {
  margin-top: 1.5em;
  margin-bottom: 1.6em;
  text-align: center;
}

/**
* 2.0 - toppage
*/
#homepage {
  position: relative;
  height: 100%;
}

#homepage:before {
  content: "";
  position: fixed;
  /* stretch a fixed position to the whole screen */
  top: 0;
  height: 100%;
  /* fix for mobile browser address bar appearing disappearing */
  left: 0;
  right: 0;
  z-index: -1;
  /* needed to keep in the background */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-image: url(../bk.jpg);
  background-position: center center;
  width: 100%;
}

#homepage header {
  width: 100%;
  height: 100%;
  padding: 5vw;
}

@media screen and (max-width: 380px) {
  #homepage header {
    padding: 3vw;
  }
}

#homepage header .wrap {
  background-color: #7bb5bd;
  width: 100%;
  height: 100%;
  text-align: center;
  position: relative;
}

a.homelogo {
  display: inline-block;
  margin-top: calc(45vh - 10vw);
  margin-bottom: 5.1vh;
  width: 24vw;
  min-width: 190px;
  height: auto;
}

@media screen and (max-width: 560px) {
  a.homelogo {
    margin-top: calc(39vh - 10vw);
  }
}

@media screen and (max-width: 380px) {
  a.homelogo {
    margin-top: calc(31vh - 10vw);
  }
}

#homepage header .wrap h1 {
  display: inline-block;
  width: 100%;
  font-weight: normal;
  font-size: inherit;
  font-size: 1.2;
  margin-top: 0;
  margin-bottom: 5vh;
}

@media screen and (max-width: 560px) {
  #homepage header .wrap h1 {
    font-size: 0.9em;
  }
}

.homefooter {
  width: 100%;
  position: absolute;
  bottom: 0;
  font-size: 12px;
  padding: 0 4vw 2.5vw;
}

.homefooter > div {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  padding-top: 2vw;
}

.homefooter > div::before {
  content: " ";
  display: block;
  position: absolute;
  right: 2vw;
  top: -11.8vw;
  width: 20vw;
  height: 12vw;
  background-image: url(../inkandpen.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
}

@media screen and (max-width: 800px) {
  .homefooter > div::before {
    width: 22vw;
    height: 16vw;
    top: -15.8vw;
  }
}

@media screen and (max-width: 560px) {
  .homefooter > div::before {
    width: 30vw;
    height: 19vw;
    top: -18.8vw;
  }
}

@media screen and (max-width: 380px) {
  .homefooter > div::before {
    width: 40vw;
    height: 28vw;
    top: -27.8vw;
  }
}

.homefooter .companyname {
  display: block;
  width: 48%;
  float: left;
  text-align: left;
}

.homefooter .btw {
  display: block;
  width: 48%;
  float: right;
  text-align: right;
}

@media screen and (max-width: 380px) {
  .homefooter .companyname, .homefooter .btw {
    float: none;
    width: 100%;
    text-align: center;
  }
}

/**
* 3.0 - contact
*/
input#b-submit {
  font-size: 13pt;
  border-color: #7bb5bd;
  background-color: #7bb5bd;
  color: #fff;
}

input#b-submit:hover {
  border-color: #cfcd2e;
  background-color: #cfcd2e;
  color: #fff;
}

.pp {
  font-size: 90%;
}

#openpp {
  color: #38909c;
  text-decoration: underline;
}

#openpp:hover {
  cursor: pointer;
}

#checkagreement {
  width: 20px;
  height: 20px;
}

/**
* 4.0 - privacy policy page
*/
#privacy-policy {
  font-size: 10pt;
  min-height: 4em;
}

#privacyblock h2:first-child {
  margin-top: -1em;
}

.close {
  display: inline-block;
  padding: 0.6em 1em;
  background-color: #fff;
  color: #7bb5bd;
  border: 1px solid #7bb5bd;
  position: fixed;
  bottom: 0.7em;
  right: 0.7em;
  z-index: 10;
}

.close:hover {
  cursor: pointer;
}

#closepp {
  font-size: 9pt;
  display: none;
}
