@import 'reset.css';



/* Helpers */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

.inline {
  display: inline;
}

/* General */

body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 26px;
  text-rendering: optimizeLegibility;
  color: rgba(0, 0, 0, 0.6);
}

#logo {
  width: 100%;
  max-width: 275px;
  margin-bottom: 43px;
}

a {
  font-family: 'Roboto Condensed', sans-serif;
  color: rgba(0, 0, 0, 0.6);
  font-weight: bold;
  text-decoration: none;
}

a.active,
a.active>span {
  color: #ddd;
}

a>span {
  font-weight: lighter;
  margin-left: 4px;
  color: #888;
}

p {
  margin-bottom: 20px;
  line-height: 26px;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

dl {
  margin-bottom: 60px;
  line-height: 26px;
}

dd {
  color: #888;
}

dd a {
  font-family: 'Roboto', sans-serif;
}
dd a:hover {
  text-decoration: underline;
}
nav {
  box-sizing: border-box;
  position: fixed;
  max-width: 387px;
  /*height: 100%;*/
  padding: 42px 36px;
  overflow: hidden;
  background: #fff;
}
nav.open {height: 100%;}
nav .menu {
  display: none;
}

nav li {
  /*line-height: 200%;*/
  line-height: 16px;
}

nav li a {
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  border-radius: 12px;
  border: solid 1px rgba(0, 0, 0, 0.6);
  text-align: center;
  width: 100%;
  padding: 12px;
  display: inline-block;
  margin-bottom: 20px;
  color: rgba(0, 0, 0, 0.6);
}

nav li a:hover {
  background-color: #666;
  color: #fff;
}

nav li.divide {
  margin-top: 50px;
}

section {
  margin-left: 387px;
}

section figure,
section .zooomin {
  margin-top: 20px;
}

section figure:first-child,
section .zooomin:first-child {
  margin-top: 0;
}

section figure {
  background: #eee;
  text-align: center;
}

.page .content {
  padding-top: 20px;
}

section article figure.a,
.page .content.a {
  background-color: #006734;
}

section article figure.b,
.page .content.b {
  background-color: #a5874b;
}

section article figure.c,
.page .content.c {
  background-color: #f49749;
}

section article figure.d,
.page .content.d {
  background-color: #394961;
}

section article figure.e,
.page .content.e {
  background-color: #a457b8;
}

section article figure.f,
.page .content.f {
  background-color: #f8b731;
}

section article figure.g,
.page .content.g {
  background-color: #dcd1a9;
}

section article figure.h,
.page .content.h {
  background-color: #3798dd;
}

section article figure.i,
.page .content.i {
  background-color: #db5400;
}

section article figure.j,
.page .content.j {
  background-color: #626579;
}

.zooomin {
  width: 100%;
  height: auto !important;
}

section img {
  width: 90%;
  margin-top: 4%;
  margin-bottom: 4%;
  max-width: 1200px;
}

article a {
  font-size: 20px;
}

article a figure {
  display: block;
  overflow: hidden;
  margin-bottom: 10px;
  transition: height 300ms;
}

article a>span {
  display: block;
  margin: 0 0 30px 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.6);
}

/* About */

.about section {
  min-width: 0;
  padding-top: 120px;
}

.about section dl {
  margin-bottom: 50px
}

.about article {
  max-width: 480px;
}

.about article img {
  margin-top: 30px;
}

.head {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
}

.head .block-title {
  display: grid;
}

.head .title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;

}

.head .subtitle {
  font-size: 20px;
  font-weight: 300;
}

.back:before {
  content: "";
  background-image: url(../asset/icon/left.svg);
  background-position: center center;
  background-size: 24px 24px;
  display: inline-block;
  height: 72px;
  width: 72px;
  background-repeat: no-repeat;
}

.page {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 75px;
}

.page .content {
  text-align: center;
  min-height: calc(100% - 95px);
  margin-bottom: 20px;
}

.page .content img {
  width: 70%;
  margin-top: 2%;
  margin-bottom: 5%;
}
.phone {
  display: none;
}
.nophone {
  display: block;
}
/* Mobile */

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

  body {
    font-size: 18px;
    padding-top: 72px;
  }

  .page {
    padding-right: 0;
    padding-left: 0;
  }

  .page .content {
    margin-bottom: 0;
  }

  .page .content img {
    width: 93%;
  }

  #logo {
    float: left;
    margin: 0;
    width: 189px;
    height: 37px;
    margin-top: 6px;
  }

  nav {
    position: fixed;
    padding: 11px 16px;
    width: 100%;
    max-width: none;
    top: 0;
  }

  nav .menu {
    position: relative;
    display: block;
    float: right;
    width: 50px;
    height: 50px;
  }

  nav .menu img {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -15px;
  }

  nav .menu.open {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1500;
  }

  nav .menu.open img {
    content: url(../asset/icon/cross.svg);
  }

  nav dl,
  nav ul {
    display: none;
  }

  nav ul.visible {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 100px;
    text-align: center;
    background: #fff;
    z-index: 1000;
    padding-left: 26px;
    padding-right: 26px;
  }

  body:not(.home) #logo {
    padding-left: 60px;
    background: url(../asset/icon/left.svg) no-repeat 0 50%;
    background-size: 35px;
  }

  section {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  section {
    padding: 0 16px;
  }
  .phone {
    display: block;
  }
  .nophone {
    display: none;
  }
  
}

/* Screen size */


@media screen and (min-width: 1000px) and (max-width: 1099px) {
  article a figure {
    height: 300px;
  }

  article a figure:hover {
    height: 350px;
  }

}

@media screen and (min-width: 1100px) and (max-width: 1199px) {
  article a figure {
    height: 350px;
  }

  article a figure:hover {
    height: 400px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1299px) {
  article a figure {
    height: 400px;
  }

  article a figure:hover {
    height: 450px;
  }
}

@media screen and (min-width: 1300px) and (max-width: 1399px) {
  article a figure {
    height: 450px;
  }

  article a figure:hover {
    height: 500px;
  }
}

@media screen and (min-width: 1400px) and (max-width: 1499px) {
  article a figure {
    height: 500px;
  }

  article a figure:hover {
    height: 550px;
  }
}

@media screen and (min-width: 1500px) and (max-width: 1599px) {
  article a figure {
    height: 550px;
  }

  article a figure:hover {
    height: 600px;
  }
}

@media screen and (min-width: 1600px) and (max-width: 1699px) {
  article a figure {
    height: 600px;
  }

  article a figure:hover {
    height: 650px;
  }
}

@media screen and (min-width: 1700px) and (max-width: 1799px) {
  article a figure {
    height: 650px;
  }

  article a figure:hover {
    height: 700px;
  }
}

@media screen and (min-width: 1800px) {
  article a figure {
    height: 700px;
  }

  article a figure:hover {
    height: 750px;
  }
}