body {
  background: #ebebeb;
  color: #333;
  font-size: 15px;
  font-weight: 300; }

a {
  text-decoration: none;
  color: #666; }
  a:hover {
    color: #f68060; }

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }

.flex.col {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column; }

.flex.end {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end; }

.flex.center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center; }

.flex.between {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between; }

.flex.mid {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; }

.flex.top {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start; }

.flex.bot {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end; }

.flex.wrap {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap; }

.line {
  margin: 20px auto;
  height: 1px;
  background: #e7e7e7;
  width: 80px; }
  .line.full {
    width: 100%;
    height: 2px; }

.page {
  max-width: 1200px;
  margin: 30px auto;
  padding: 60px;
  background: white;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

nav li {
  padding: 20px;
  font-size: 14px;
  font-weight: 400;
  color: #666; }
  nav li.active a {
    color: #f68060; }

main {
  margin-top: 40px; }
  main .intro {
    margin-bottom: 50px; }
    main .intro > div {
      width: 50%;
      padding-left: 130px; }
    main .intro .description h2 {
      font-size: 33px;
      line-height: 1.4;
      font-weight: 300; }
    main .intro .description p {
      margin-top: 25px;
      line-height: 1.6; }
      main .intro .description p.cv {
        text-align: right;
        padding-right: 35px; }
    main .intro .illus img {
      max-width: 430px; }
  main .portfloio {
    margin: 50px auto; }
    main .portfloio .content {
      width: calc((100% - 4%)/3);
      margin-bottom: 40px;
      cursor: pointer;
      margin-right: 2%;
      overflow: hidden; }
      main .portfloio .content:nth-child(3n) {
        margin-right: 0; }
      main .portfloio .content img {
        width: 100%;
        border-radius: 3px; }
      main .portfloio .content figcaption {
        position: relative;
        color: #7e7e7e;
        text-align: center;
        padding: 15px 0 5px 0;
        font-weight: 400;
        background: #FFF; }
      main .portfloio .content:hover figcaption {
        color: #666; }
      main .portfloio .content:hover img {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
        opacity: .9; }

footer p {
  font-size: 13px;
  font-weight: 400;
  color: #979797;
  margin-left: auto; }

footer ul li {
  padding-left: 10px; }

.button-back {
  text-align: right;
  margin-bottom: 30px; }

.detail-page h2 {
  font-size: 28px;
  font-weight: normal;
  margin-bottom: 30px;
  color: #f68060; }
  .detail-page h2 a {
    color: #f68060; }
    .detail-page h2 a img {
      margin-left: 10px; }

.detail-page p {
  margin-bottom: 30px;
  line-height: 1.8; }

.detail-page > img {
  width: 100%;
  margin-bottom: 30px; }

@media only screen and (max-width: 720px) {
  .page {
    margin: 15px;
    padding: 15px; }
  nav li {
    font-size: 12px;
    padding: 10px; }
  main .intro {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    margin-bottom: 30px; }
    main .intro > div {
      width: 100%;
      padding: 0; }
    main .intro .illus img {
      width: 85%; }
    main .intro .description h2 {
      font-size: 28px; }
  main .portfloio {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
    main .portfloio .content {
      width: 100%;
      margin-right: 0; } }
