* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Shippori Mincho B1', serif; }

div {
  display: block; }

a {
  text-decoration: none;
  position: relative; }

img {
  vertical-align: middle;
  margin: 0;
  padding: 0; }

ul {
  list-style: none; }

body {
  background-color: #FCFAED; }

.container {
  max-width: 1080px;
  width: 80%;
  margin: 0 auto;
  position: relative;
  text-align: left; }

header .header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 40px 0;
  height: 104px;
  width: 100%;
  z-index: 5;
  background: #FCFAED;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2); }
  header .header a {
    font-size: 24px;
    line-height: 24px;
    color: #122736;
    font-weight: 700;
    -webkit-transition: color 0.4s;
    -o-transition: color 0.4s;
    transition: color 0.4s; }
  header .header a:hover {
    color: #076138;
    -webkit-transition: color 0.4s;
    -o-transition: color 0.4s;
    transition: color 0.4s; }

header .hidden {
  background: none;
  -webkit-box-shadow: none;
  box-shadow: none; }

.left {
  display: inline-block;
  float: left; }

.right {
  display: inline-block;
  float: right; }

.clear {
  clear: both; }

h2 {
  font-size: 48px;
  line-height: 64px;
  color: #122736;
  letter-spacing: 2px; }

h3 {
  font-size: 28px;
  line-height: 40px;
  color: #122736; }

h4 {
  font-size: 24px;
  line-height: 24px;
  color: #122736; }

h5 {
  font-size: 16px;
  line-height: 16px;
  color: #122736;
  font-weight: 400; }

p {
  font-size: 16px;
  line-height: 24px;
  color: #122736; }

.name-box {
  width: 506px;
  background: #FEEB8A;
  padding: 40px;
  display: inline-block;
  float: left;
  margin-top: 160px;
  border-radius: 16px; }
  .name-box h2 {
    margin-bottom: 32px; }
  .name-box h3 {
    margin-bottom: 8px;
    font-weight: 400; }

.image {
  float: right;
  display: inline-block;
  height: 240px;
  width: 240px;
  margin-top: 160px; }
  .image .face {
    height: 240px;
    width: 240px;
    border-radius: 50%; }

.skill-box {
  width: 46%;
  background: #FEEB8A;
  padding: 40px;
  display: inline-block;
  float: right;
  margin-top: 72px;
  border-radius: 16px; }
  .skill-box h2 {
    margin-bottom: 32px; }
  .skill-box h3 {
    margin-bottom: 8px;
    font-weight: 400; }

.title-1 {
  background: #FEEB8A;
  padding: 40px;
  display: inline-block;
  float: left;
  margin-top: 72px;
  margin-bottom: 40px;
  border-radius: 16px; }
  .title-1 h2 {
    line-height: 56px; }

.mainvisual {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  margin-top: 160px;
  margin-bottom: 40px;
  border-radius: 16px; }

.thumbnail {
  width: 100%;
  height: 390px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 16px; }

.work-title {
  text-align: center;
  width: 100%;
  padding: 24px; }
  .work-title h5 {
    margin-top: 16px; }

.work-box {
  margin-bottom: 40px;
  width: calc(50% - 20px);
  position: relative;
  float: left;
  display: inline-block; }

.work-box + .work-box {
  margin-left: 40px; }

.hover-mask {
  width: 100%;
  height: 390px;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(18, 39, 54, 0.6);
  opacity: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  z-index: 3;
  overflow: hidden;
  border-radius: 16px; }
  .hover-mask .hover-text {
    width: 100%;
    text-align: center;
    padding-bottom: 0; }
    .hover-mask .hover-text h3 {
      color: #ffffff; }
    .hover-mask .hover-text p {
      color: #ffffff;
      margin-top: 8px; }

.work-box:hover .hover-mask {
  opacity: 1;
  -webkit-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
  padding-bottom: 30px; }

.detail-box {
  background: #FEEB8A;
  padding: 40px;
  width: 100%;
  margin-bottom: 40px;
  border-radius: 16px; }
  .detail-box h3 {
    line-height: 32px;
    margin-bottom: 24px; }
  .detail-box p {
    margin-bottom: 80px; }

.title-2 {
  background: #FEEB8A;
  padding: 40px;
  display: inline-block;
  float: left;
  margin-bottom: 40px;
  border-radius: 16px; }
  .title-2 h2 {
    line-height: 56px; }

.url {
  width: 100%;
  padding: 40px;
  background: #FEEB8A;
  margin-bottom: 40px;
  border-radius: 16px; }
  .url a {
    color: #122736;
    -webkit-transition: color 0.4s;
    -o-transition: color 0.4s;
    transition: color 0.4s; }
  .url a:hover {
    color: #076138;
    -webkit-transition: color 0.4s;
    -o-transition: color 0.4s;
    transition: color 0.4s; }

.back {
  float: left;
  background: #FEEB8A;
  padding: 40px;
  margin-bottom: 40px;
  border-radius: 16px; }
  .back .fa-angle-left {
    text-align: center;
    font-size: 48px;
    width: 48px;
    color: #122736;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s; }

.back:hover .fa-angle-left {
  color: #076138;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s; }

@media screen and (max-width: 840px) {
  header .header {
    padding: 24px 0;
    height: 64px; }
    header .header a {
      font-size: 16px;
      line-height: 16px; }
  h2 {
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 1.14px; }
  h3 {
    font-size: 16px;
    line-height: 24px; }
  h4 {
    font-size: 16px;
    line-height: 16px; }
  h5 {
    font-size: 12px;
    line-height: 12px; }
  p {
    font-size: 14px;
    line-height: 20px; }
  .name-box {
    margin-left: -10vw;
    width: 112.5%;
    margin-top: 80px;
    border-radius: 0 16px 16px 0;
    padding: 32px; }
    .name-box h2 {
      margin-bottom: 32px; }
    .name-box h3 {
      margin-bottom: 4px; }
  .image {
    height: 160px;
    width: 160px;
    margin-top: 40px; }
    .image .face {
      height: 160px;
      width: 160px; }
  .skill-box {
    margin-right: -10vw;
    width: 112.5%;
    margin-top: 40px;
    border-radius: 16px 0 0 16px;
    padding: 32px; }
    .skill-box h2 {
      margin-bottom: 32px; }
    .skill-box h3 {
      margin-bottom: 4px; }
  .title-1 {
    margin-top: 40px;
    padding: 32px; }
    .title-1 h2 {
      line-height: 32px; }
  .mainvisual {
    margin-top: 80px; }
  .hover-mask {
    display: none; }
  .work-box {
    width: 100%; }
  .work-box + .work-box {
    margin-left: 0; }
  .thumbnail {
    height: auto; }
  .work-title {
    padding: 16px; }
    .work-title h5 {
      margin-top: 8px; }
  .detail-box {
    padding: 32px; }
    .detail-box h3 {
      line-height: 16px;
      margin-bottom: 12px; }
    .detail-box p {
      margin-bottom: 40px; }
  .title-2 {
    padding: 32px; }
    .title-2 h2 {
      line-height: 32px; }
  .url {
    padding: 32px; }
  .back {
    padding: 20px; }
    .back .fa-angle-left {
      font-size: 24px;
      width: 24px; } }

.reveal {
  opacity: 0; }
  .reveal span {
    position: relative;
    letter-spacing: 2px; }

.text-reveal {
  opacity: 1; }
  .text-reveal span {
    display: inline;
    position: relative;
    letter-spacing: 2px; }
    .text-reveal span:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #FEEB8A;
      -webkit-transform-origin: right;
      -ms-transform-origin: right;
      transform-origin: right;
      -webkit-transform: scale(1, 1);
      -ms-transform: scale(1, 1);
      transform: scale(1, 1); }
    .text-reveal span:after {
      content: "\A";
      white-space: pre; }
    .text-reveal span:nth-of-type(1):before {
      -webkit-animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s forwards;
      animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s forwards; }
    .text-reveal span:nth-of-type(2):before {
      -webkit-animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s forwards;
      animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s forwards; }
    .text-reveal span:nth-of-type(3):before {
      -webkit-animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.6s forwards;
      animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.6s forwards; }
    .text-reveal span:nth-of-type(4):before {
      -webkit-animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.8s forwards;
      animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.8s forwards; }
    .text-reveal span:nth-of-type(5):before {
      -webkit-animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.10s forwards;
      animation: reveal-text 600ms cubic-bezier(0.645, 0.045, 0.355, 1) 0.10s forwards; }

@-webkit-keyframes reveal-text {
  100% {
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1); } }

@keyframes reveal-text {
  100% {
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1); } }

/* loading option */
.animsition-loading {
  z-index: 100;
  background-color: transparent;
  border-top: 5px solid rgba(254, 235, 138, 0.2);
  border-right: 5px solid rgba(254, 235, 138, 0.2);
  border-bottom: 5px solid rgba(254, 235, 138, 0.2);
  border-left: 5px solid #FEEB8A; }
  .animsition-loading:after {
    z-index: 100; }
