@charset "UTF-8";

/* CSS Document */
body {
  margin: 0;
  background-color: #fff;
  color: #333333;
  font-size: 16px;
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 0.1em;
  font-feature-settings: "palt";
}

a {
  font-weight: bold;
  text-decoration: none;
  outline: none;
  color: #009999;
}

a:hover {
  font-weight: bold;
  outline: none;
  color: #777777;
}

img {
  border: none;
}

.clear {
  height: 0px;
  clear: both;
  font-size: 0;
  line-height: 0;
  visibility: hidden;
}

#container {
  display: flex;
  margin: 80px;
  height: auto;
  background-color: #FFF;
}

/*Content*/
#content {
  flex-direction: column;
  width: 60%;
  max-width: 720px;
}

#brand {
  margin-bottom: 80px;
  width: 40%;
  height: 80px;
}

#logo {
  position: fixed;
  width: 246px;
  height: 48px;
}

.tagline {
  display: block;
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 4rem;
  line-height: 5.6rem;
}

.headline {
  display: block;
  height: 64px;
  font-family: brandon-grotesque, sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.2rem;
  color: #777;
}

.description {
  font-size: 20px;
  font-weight: 600;
  line-height: 2.5rem;
  text-align: justify;
}

.about {
  display: flex;
}

.profile {
  margin-right: 40px;
  width: 50%;
}

.profile:last-child {
  margin-right: 0;
}

.role {
  margin-bottom: 12px;
  font-family: brandon-grotesque, sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: 14px;
  letter-spacing: 0.05rem;
  color: #777;
}

.name {
  font-weight: 600;
}

.experiences {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 2rem;
  text-align: justify;
}

.border_break {
  margin: 72px 0 24px 0;
  padding: 0;
  width: 20px;
  border-top: #666 solid 1px;
}

#mail {
  margin-top: 24px;
  padding: 0;
}

#contact {
  margin: 40px auto;
  padding: 0px;
  width: 150px;
  height: 40px;
  overflow: hidden;
}

#contact a {
  display: block;
  height: 40px;
  background-image: url(../img/mail_bt.png);
  background-repeat: no-repeat;
  outline: none;
}

#contact a {
  background-position: 0px 0px;
}

#contact a:hover {
  background-position: 0px -40px;
}

@media only screen and (min-width: 961px) and (max-width: 1230px) {

  .tagline {
    font-size: 3rem;
    line-height: 3.6rem;
  }
}

@media only screen and (min-width: 461px) and (max-width: 960px) {
  #container {
    flex-direction: column;
    margin: 0;
  }

  #brand {
    margin: 24px auto;
    width: 300px;
  }

  #logo {
    position: relative;
  }

  #content {
    margin: 0 24px;
    width: auto;
    max-width: none;
  }

  .about {
    flex-direction: column;
  }

  .profile {
    margin-bottom: 40px;
    width: 100%;
  }

  .profile:last-child {
    margin-bottom: 0;
  }

  .tagline {
    margin-top: 40px;
    font-size: 2.5rem;
    line-height: 3.6rem;
  }

  .headline {
    font-size: 1.2rem;
  }

  #mail {
    margin-bottom: 40px;
  }

}

@media only screen and (min-width: 0px) and (max-width: 460px) {
  #container {
    flex-direction: column;
    margin: 0;
  }

  #brand {
    margin: 24px auto;
    width: auto;
  }

  #logo {
    position: relative;
  }

  #content {
    margin: 0 24px;
    width: auto;
    max-width: none;
  }

  .about {
    flex-direction: column;
  }

  .profile {
    margin-bottom: 40px;
    width: 100%;
  }

  .tagline {
    font-size: 2rem;
    line-height: 2.8rem;
  }

  #mail {
    margin-bottom: 40px;
  }
}
