@font-face {
  font-family: mplus;
  src: url('type/mplus-1c-light.ttf') format("truetype");
}

@-webkit-keyframes reset {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes reset {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@-moz-keyframes fade-in {
  0% {
    opacity: 0;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes reset {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

body {
  background-color: rgb(25, 25, 25);
  margin: 0px;
}

a {
  color: rgb(44, 44, 44);
  text-decoration: none;
  -webkit-transition: all .5s ease-in;
  -moz-transition: all .5s ease-in;
  -o-transition: all .5s ease-in;
  -ms-transition: all .5s ease-in;
  transition: all .5s ease-in;
}

a:hover {
  color: rgb(255, 100, 00);
}

#menu_container {
  position: relative;
  margin: auto;
  height: 30px;
  width: 90%;
  max-width: 840px;
}

#menu_spacing {
  position: fixed;
  width: 100%;
  max-width: 718px;
  margin-left: 73px;
  margin-right: 49px;
  background: rgb(250, 250, 245);
  height: 25px;
  z-index: 2;
}

#menu_indicator_spacing {
  position: fixed;
  width: 100%;
  max-width: 718px;
  margin-left: 73px;
  margin-right: 49px;
  margin-top: 25px;
  height: 5px;
  background: rgb(200, 200, 200);
  z-index: 2;
}

#menu_shadow {
  position: fixed;
  width: 100%;
  max-width: 840px;
  height: 20px;
  margin-top: 30px;
  z-index: 2;

  /* fallback */
  background-color: transparent;

  /* Safari 4-5, Chrome 1-9 */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1a82f7), to(rgba(255, 255, 255, 0)));
  /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, rgba(20, 20, 20, 0.7), rgba(255, 255, 255, 0));
  /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #555, rgba(255, 255, 255, 0));
  /* IE 10 */
  background: -ms-linear-gradient(top, #555, rgba(255, 255, 255, 0));
  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #555, rgba(255, 255, 255, 0));
}

img.menu_image {
  position: fixed;
  width: 24px;
  height: 24px;
}

div.menu_selector {
  position: fixed;
  width: 24px;
  height: 5px;
  margin-top: 25px;
  background: rgb(200, 200, 200);
  z-index: 2;

  -webkit-transition: all .5s ease-in;
  -moz-transition: all .5s ease-in;
  -o-transition: all .5s ease-in;
  -ms-transition: all .5s ease-in;
  transition: all .5s ease-in;
}

div.menu_selector.hover {
  background: rgb(255, 100, 00);
}

div.menu_selector.selected {
  background: rgb(250, 150, 50);
}

div.menu_selector.selected.hover {
  background: rgb(255, 100, 00);
}

div.menu_button {
  position: fixed;
  width: 24px;
  height: 30px;
  background: rgb(250, 250, 245);
  z-index: 2;
}

#menu_buttons_left_container {
  position: relative;
  float: left;
  width: 76px;
}

#menu_buttons_right_container {
  position: relative;
  float: right;
  width: 49px;
}

#menu_button_home {
  margin-left: 0;
  border-left: 1px solid rgb(200, 200, 200);
}

#menu_button_jp {
  margin-left: 25px;
}

#menu_button_en {
  margin-left: 49px;
}

#menu_button_print {
  margin-left: 0;
}

#menu_button_download {
  margin-left: 24px;
  border-right: 1px solid rgb(200, 200, 200);
}


#cv {
  font-family: mplus, sans-serif;
  font-size: 9pt;
  position: relative;
  width: 90%;
  min-width: 480px;
  max-width: 800px;
  background: rgb(250, 250, 245);
  margin: 30px auto;
  margin-top: 0px;
  padding: 20px;
}

#photo_box {
  position: relative;
  height: 128px;
  float: left;
  border-left: 3px solid darkgrey;
  padding-left: 1%;
  padding-top: 20px;
}

#photo {
  height: 128px;
}

#main_title {
  font-size: 14pt;
  font-weight: bold;
  padding-top: 20px;
}

.quick_fade_in {
  -webkit-animation-name: reset, fade-in;
  -webkit-animation-duration: 1.5s;
  -webkit-animation-timing-function: ease-in;

  -moz-animation-name: reset, fade-in;
  -moz-animation-duration: 1.5s;
  -moz-animation-timing-function: ease-in;

  animation-name: reset, fade-in;
  animation-duration: 1.5s;
  animation-timing-function: ease-in;
}

.slow_fade_in {
  -webkit-animation-name: reset, fade-in;
  -webkit-animation-duration: 2.5s;
  -webkit-animation-timing-function: ease-in;

  -moz-animation-name: reset, fade-in;
  -moz-animation-duration: 2.5s;
  -moz-animation-timing-function: ease-in;

  animation-name: reset, fade-in;
  animation-duration: 2.5s;
  animation-timing-function: ease-in;
}

.delay_short {
  -webkit-animation-delay: 0, 1s;
  -moz-animation-delay: 0, 1s;
  animation-delay: 0, 1s;
}

.title {
  font-size: 11pt;
  font-weight: bold;
  border-right: 3px solid darkgrey;
  padding-bottom: 5px;
  padding-top: 5px;
}

.line_container {
  position: relative;
  width: 100%;
  clear: both;
}

.experience_entry {
  position: relative;
  width: 100%;
  clear: both;
  page-break-inside: avoid;
}

.description_cell {
  position: relative;
  width: 28%;
  height: 100%;
  float: left;
  text-align: right;
  padding-right: 1%;
  padding-top: 1px;
  padding-bottom: 1px;
}

.info_cell {
  position: relative;
  width: 69%;
  height: 100%;
  float: left;
  border-left: 3px solid darkgrey;
  padding-left: 1%;
  padding-top: 1px;
  padding-bottom: 1px;
}

.description_cell_table {
  position: relative;
  width: 28%;
  height: 100%;
  float: left;
  text-align: right;
  padding-right: 1%;
}

.info_cell_table {
  position: relative;
  width: 69%;
  height: 100%;
  float: left;
  border-left: 3px solid darkgrey;
  padding-left: 1%;
}

.spacer_cell {
  width: 28%;
  height: 10px;
  float: left;
  padding-right: 1%;
  border-right: 3px solid darkgrey;
  clear: both;
}

.table_cell {
  position: relative;
  float: left;
  text-align: center;
  border-top: 1px solid darkgrey;
  border-left: 1px solid darkgrey;
}

.table_border_right {
  border-right: 1px solid darkgrey;
}

.table_border_bottom {
  border-bottom: 1px solid darkgrey;
}

.description_cell_block {
  position: relative;
  width: 29%;
  height: auto;
  float: left;
}

.center_vertical {
  position: relative;
  top: 30%;
}

.bold {
  font-weight: bold;
}

.no_border {
  border: none;
}

.border_right {
  border-right: 3px solid darkgrey;
}

.clear_floats {
  clear: both;
}

span.bold {
  font-weight: bold;
}

ul {
  position: relative;
  margin: 0;
  padding: 0;
  margin-left: 0.5em;
  padding-left: 0.5em;
}

@media all {
  .page_break {
    display: none;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  #cv,
  #cv * {
    visibility: visible;
  }

  #cv {
    font-size: 7pt;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
  }

  .menu_container,
  .menu_spacing,
  .menu_indicator_spacing,
  .menu_shadow,
  img.menu_image,
  div.menu_selector,
  div.menu_button {
    height: 0;
  }

  .title {
    font-size: 10pt;
  }

  .page_break {
    display: block;
    position: relative;
    page-break-after: always;
    page-break-inside: avoid;
  }
}