@charset 'UTF-8';
@import url(https://fonts.googleapis.com/css?family=Lato:400,100,300,700,900);

/* RESET */
html, body,
div,
ul, ol, li,
dl, dt, dd,
h1, h2, h3, h4, h5, h6,
p, pre, blockquote, fieldset,
form, input, button, textarea {
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6,
pre, code, address, caption, cite, code,
em, strong, th {
  font-size: 1.0em;
  font-weight: normal;
  font-style: normal;
}
ul, ol, li {
  list-style: none;
}
fieldset, img {
  border: none;
}
img {
  -ms-interpolation-mode: bicubic;
}
caption, th {
  text-align: left;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
input,textarea,select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
input,textarea,select {
  *font-size: 100%;
}
button {
  background-color: transparent;
  text-decoration: none;
}
label {
  cursor: pointer;
}

/* IEPNGFIX */
img { behavior: url(lib/iepngfix.htc); }

/* ELEMENT */
html, body {
  overflow:hidden;
  width: 100%;
  height: 100%;
}

body {
  position:relative;
  clear: both;
  background: #20a0dd;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.6em;
  font-family: 'Lato','ヒラギノ角ゴ Pro W3', sans-serif;
}
a {
  color: #fff;
  font-style: normal;
  text-decoration: none;
}
a:link, a:visited, a:active {
  text-decoration: none;
}
a:active,
a:focus {
  outline:none;
}
a:hover {
  cursor: pointer;
}
strong, b {
  font-weight: bold;
}
em, i {
  font-style: italic;
}

/* Default Class */
.left {
  float: left;
}
.right {
  float: right;
}
.center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: right;
}
.clear {
  clear: both;
}
.display-none {
  display: none;
}
.strong,
.bold {
  font-weight: bold;
}

/* Layout Class */
#wrapper {
  position:absolute;
  width:680px;
  height:510px;
}
#menu {
  position:absolute;
  top:0;
  width:140px;
  padding:0;
  margin:0 0 0 -160px;
  text-align:right;
  letter-spacing: 2px;
  z-index: 12;
}
#menu a {
  color:#80caee;
  color: rgba(255,255,255,0.5);
  transition:0.6s;
  -webkit-transition:0.6s;
  -moz-transition:0.6s;
}
#menu .selected a {
  color:#FFF;
  font-weight: 400;
}
#top,#bottom {
  position:fixed;
  width:100%;
  height:150px;
  z-index:10;
  pointer-events:none;
}
#top {
  top:0;
  background:url(../images/top.png)repeat-x;
}
#bottom {
  bottom:0;
  background:url(../images/bottom.png)repeat-x;
}

/* Slide Class */
#slides {
  position:absolute;
}
.slide {
  position:absolute;
  width:680px;
}
.slide:nth-child(2) {
  left:3000px;
}
.slide:nth-child(3) {
  left:3000px;
}
.slide > li {
  position:relative;
  overflow:hidden;
  width:320px;
  height:240px;
  margin:0 auto 40px;
  cursor:pointer;
  text-align: center;
}
.slide li img {
  position:absolute;
  top:0;
  left:0;
  width:320px;
  opacity:0;
}
.slide li img.original {
  top:40px;
  left:40px;
  width:240px;
}
.slide li img.blur {
  opacity:1;
}
.slide li.selected {
  width:680px;
  height:510px;
  cursor:default;
  z-index: 11;
}
.slide li.selected img {
  width:680px;
}
.slide li.selected img.blur {
  opacity:0;
}
.slide li.selected img.original {
  top:0;
  left:0;
  opacity:1;
}
.slide .text {
  position:absolute;
  bottom:0;
  width:680px;
  font-size:13px;
  line-height:1;
  letter-spacing: 1px;
  color:rgba(0,0,0,0);
  background:rgba(0,0,0,0);
  opacity:0;
  pointer-events: none;
}
.slide .text a {
  display: block;
  overflow: hidden;
  padding:10px 10px 8px;
}
.slide li.selected .text {
  color:#fff;
  background:rgba(0,0,0,0.6);
  pointer-events: auto;
}
.slide li.selected:hover .text {
  opacity:1;
}
.slide .text .left {
  font-weight:400;
}

/* Profile Class */
#profile {
  width:350px;
  height:430px;
  padding:40px 40px 40px 290px;
  background:#fff;
  color:#222;
  text-align:left;
}
#profile #profile-image {
  position:static;
  float:left;
  width:220px;
  height:auto;
  margin-left:-250px;
  opacity:1;
}
#profile h1 {
  margin-bottom:20px;
  font-size:22px;
  font-weight:400;
}
#profile h1 span:before {
  content: ' - ';
}
#profile p {
  margin:15px 0;
}
#profile a {
  color:#20a0dd;
}
#profile a:hover {
  color:#6cc0e8;
}
#profile ul {
  margin-top:20px;
}
#profile li {
  margin:5px 0;
}
#profile #copyright {
  margin-top:30px;
  color:#bbb;
}

/* Transition Class */
.transition #slides {
  transition:0.4s;
  -webkit-transition:0.4s;
  -moz-transition:0.4s;
}
.transition .slide {
  transition:0.3s;
  -webkit-transition:0.3s;
  -moz-transition:0.3s;
}
.transition .slide > li {
  transition:0.3s;
  -webkit-transition:0.3s;
  -moz-transition:0.3s;
}
.transition .slide > li img {
  transition:0.3s;
  -webkit-transition:0.3s;
  -moz-transition:0.3s;
}
.transition .slide .text {
  transition:opacity 0.3s 0.2s;
  -webkit-transition:opacity 0.3s 0.2s;
  -moz-transition:opacity 0.3s 0.2s;
}

#slide1 li:first-child.selected img {
  width: 680px;
}

@media (max-width: 900px){
  #menu {
    width: 100%;
    top: 520px;
    left: 0;
    margin: 0;
    text-align: center;
  }
  #menu li,
  #menu li a {
    display: inline-block;
  }
  #menu li a {
    padding: 10px;
  }
}
@media (max-width: 700px){
  #menu {
    top: 380px;
  }
  #wrapper,
  .slide li.selected {
    width:480px;
    height:360px;
  }
  .slide,
  .slide .text,
  .slide li.selected img {
    width:480px;
  }
  .slide .text .right {
    display: none;
  }
  .slide .text a:after {
    content: '▸';
    float: right;
  }
  .slide > li {
    margin-bottom: 80px;
  }
  #slide1 li:first-child.selected img {
    margin-left: -100px;
    margin-top: -80px;
  }
  #profile {
    width: 440px;
    height: 320px;
    padding: 20px;
  }
  #profile #profile-image {
    width: 130px;
    height: 130px;
    margin-left: 0;
    margin-right: 20px;
  }
  #profile h1 {
    font-size: 18px;
  }
  #profile ul li {
    font-size: 12px;
    display: inline-block;
    width: 50%;
  }
  #copyright {
    text-align: center;
  }
}
@media (max-width: 500px){
  #menu {
    top: 260px;
    font-size: 12px;
  }
  #wrapper,
  .slide li.selected {
    width:320px;
    height:240px;
  }
  .slide,
  .slide .text,
  .slide li.selected img {
    width:320px;
  }
  .slide > li {
    margin-bottom: 80px;
  }
  #slide1 li:first-child.selected img {
    margin-left: -180px;
    margin-top: -160px;
  }
  .slide .text {
    font-size: 10px;
  }
  #slide3 > li {
    top: -120px;
    height: 360px;
  }
  #profile {
    width: 290px;
    height: 330px;
    padding: 15px;
    font-size: 12px;
  }
  #profile #profile-image {
    width: 45px;
    height: 45px;
    margin-left: 0;
    margin-right: 20px;
  }
  #profile h1 span:before {
    content: ' ';
  }
  #profile h1 {
    font-size: 18px;
    margin: 0;
  }
  #profile p {
    margin: 10px 0;
  }
  #profile ul,
  #profile ul li {
    margin: 0;
  }
  #profile ul li {
    width: 100%;
    display: block;
  }
  #profile #copyright {
    margin-top: 5px;
    font-size: 10px;
  }
}
