@import url(https://fonts.googleapis.com/icon?family=Material+Icons);/*
$admin-width-contents: 85%;
$admin-height-header: 95px;
$admin-height-footer: 20px;
$admin-height-nav: 40px;
$admin-height-list-line: 40px;
*/

/******************************
*
* base
*
******************************/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #372612;
  background: #ffffff;
  font-family: serif;
  font-size: 14px;
  letter-spacing: 2px;
  margin: 0;
  padding: 0 5px;
}

.container {
  padding: 50px 20px 5px;
}

@media screen and (max-width: 840px) {
  .container {
    padding: 5px;
  }
}

.title {
  text-align: center;
}

.title h1,
.title h2,
.title h3,
.title h4,
.title h5,
.title h6 {
  position: relative;
  display: inline-block;
  padding: 0 50px;
}

@media screen and (max-width: 630px) {
  .title h1,
  .title h2,
  .title h3,
  .title h4,
  .title h5,
  .title h6 {
    padding: 0 20px;
  }
}

.title h1:before,
.title h1:after,
.title h2:before,
.title h2:after,
.title h3:before,
.title h3:after,
.title h4:before,
.title h4:after,
.title h5:before,
.title h5:after,
.title h6:before,
.title h6:after {
  content: "";
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: #372612;
}

@media screen and (max-width: 630px) {
  .title h1:before,
  .title h1:after,
  .title h2:before,
  .title h2:after,
  .title h3:before,
  .title h3:after,
  .title h4:before,
  .title h4:after,
  .title h5:before,
  .title h5:after,
  .title h6:before,
  .title h6:after {
    width: 10px;
  }
}

.title h1:before,
.title h2:before,
.title h3:before,
.title h4:before,
.title h5:before,
.title h6:before {
  left: 0;
}

.title h1:after,
.title h2:after,
.title h3:after,
.title h4:after,
.title h5:after,
.title h6:after {
  right: 0;
}

.line {
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: #9d9d9f;
  height: 1px;
  margin: 50px;
}

@media screen and (max-width: 630px) {
  .line {
    margin: 50px 25px;
  }
}

.material-icons {
  font-size: 15px;
  vertical-align: sub;
}

button {
  font-family: serif;
  min-width: 300px;
  font-weight: bold;
  border-radius: 5px;
  padding: 7px 0;
  color: #ffffff;
  background-color: #004f74;
}

button:hover,
button:disabled {
  opacity: 0.5;
}

input[type=text],
input[type=tel],
input[type=email] {
  font-family: serif;
  width: 100%;
  height: 30px;
}

textarea {
  font-family: serif;
  resize: none;
  width: 100%;
  height: 150px;
}

a {
  text-decoration: none;
  color: #372612;
}

/******************************
*
* navigation
*
******************************/

.navigation {
  text-align: center;
}

.navigation .navigation__hamburger {
  display: none;
}

@media screen and (max-width: 840px) {
  .navigation .navigation__hamburger {
    z-index: 2;
    display: block;
    position: fixed;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    cursor: pointer;
    border-radius: 5px;
  }

  .navigation .navigation__hamburger > span {
    position: absolute;
    left: 5px;
    width: 40px;
    height: 3px;
    background-color: #372612;
    border-radius: 5px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }

  .navigation .navigation__hamburger > span:nth-of-type(1) {
    top: 10px;
  }

  .navigation .navigation__hamburger > span:nth-of-type(2) {
    top: 24px;
  }

  .navigation .navigation__hamburger > span:nth-of-type(3) {
    bottom: 10px;
  }
}

.navigation .navigation__menu ul {
  width: 100%;
  height: 50px;
}

@media screen and (max-width: 840px) {
  .navigation .navigation__menu ul {
    height: 100%;
  }
}

.navigation .navigation__menu ul li {
  display: inline-block;
  text-align: center;
}

.navigation .navigation__menu ul li a {
  display: block;
  width: 100%;
  height: 100%;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #004f74));
  background-image: linear-gradient(#004f74 0 0);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: var(--navigationMenu1stHoverBorder, 0) 1px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

@media screen and (max-width: 840px) {
  .navigation .navigation__menu ul li a {
    background-position: center;
  }
}

.navigation .navigation__menu ul li a:hover {
  -webkit-transition: 1s;
  transition: 1s;
  --navigationMenu1stHoverBorder: 50%;
}

.navigation .navigation__menu ul li a.active {
  color: #ffffff;
  background-color: #004f74;
  border-radius: 15px;
}

.navigation .navigation__menu .navigation__menu__1st {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #ffffff;
  margin: 0;
  padding: 15px 0;
  border-bottom: solid 1px #9d9d9f;
}

@media screen and (max-width: 840px) {
  .navigation .navigation__menu .navigation__menu__1st {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 1s;
    transition: 1s;
    font-size: 18px;
    padding: 40px 0 0 0;
  }
}

.navigation .navigation__menu .navigation__menu__1st > li {
  width: calc(100% / 6 - 10px);
}

.navigation .navigation__menu .navigation__menu__1st > li:hover > .navigation__menu__2nd {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 840px) {
  .navigation .navigation__menu .navigation__menu__1st > li {
    width: 100%;
    padding: 15px 0;
    font-weight: bold;
  }
}

.navigation .navigation__menu .navigation__menu__2nd {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 1s;
  transition: 1s;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  margin: 0;
  padding: 15px 0;
  border-bottom: solid 1px #9d9d9f;
}

@media screen and (max-width: 840px) {
  .navigation .navigation__menu .navigation__menu__2nd {
    position: relative;
    -webkit-transition: 1s;
    transition: 1s;
    padding: 0;
    border: none;
  }
}

.navigation .navigation__menu .navigation__menu__2nd > li {
  width: calc(100% / 3 - 10px);
}

@media screen and (max-width: 840px) {
  .navigation .navigation__menu .navigation__menu__2nd > li {
    width: 100%;
    padding: 10px 0 0 0;
    font-weight: normal;
    font-size: 12px;
  }
}

@media screen and (max-width: 840px) {
  .navigation.open .navigation__hamburger > span:nth-of-type(1) {
    -webkit-transform: translateY(13px) rotate(-40deg);
            transform: translateY(13px) rotate(-40deg);
  }
}

@media screen and (max-width: 840px) {
  .navigation.open .navigation__hamburger > span:nth-of-type(2) {
    opacity: 0;
  }
}

@media screen and (max-width: 840px) {
  .navigation.open .navigation__hamburger > span:nth-of-type(3) {
    -webkit-transform: translateY(-14px) rotate(40deg);
            transform: translateY(-14px) rotate(40deg);
  }
}

@media screen and (max-width: 840px) {
  .navigation.open .navigation__menu .navigation__menu__1st,
  .navigation.open .navigation__menu .navigation__menu__2nd {
    visibility: visible;
    opacity: 1;
    -webkit-transition: 1s;
    transition: 1s;
  }
}

/******************************
*
* breadcrumb
*
******************************/

.breadcrumb {
  display: block;
  width: 100%;
  border-bottom: solid 1px #9d9d9f;
}

@media screen and (max-width: 840px) {
  .breadcrumb {
    margin: 14px 0;
  }
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
}

.breadcrumb ol li {
  display: inline-block;
}

.breadcrumb ol li a {
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #004f74));
  background-image: linear-gradient(#004f74 0 0);
  background-repeat: no-repeat;
  background-position: center;
  background-size: var(--breadcrumbHoverBorder, 0) 1px;
  -webkit-transition: 1s;
  transition: 1s;
}

.breadcrumb ol li a:hover {
  -webkit-transition: 1s;
  transition: 1s;
  --breadcrumbHoverBorder: 100%;
}

/******************************
*
* copyright
*
******************************/

.copyright {
  text-align: center;
}

/******************************
*
* error
*
******************************/

.error {
  padding: 20px 10px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}

.error .material-icons {
  font-size: 20px;
}

