@charset "UTF-8";
/* ==========================================================================
   inport font
   ========================================================================== */
@import url("https://fonts.googleapis.com/css?family=Rubik:300,400");
@import url("https://fonts.googleapis.com/css?family=Playfair+Display:400,700");
@import url("https://fonts.googleapis.com/css?family=Sawarabi+Mincho");
/* ==========================================================================
   General style
   ========================================================================== */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  background-color: #F0EDE1;
  color: #362E2B;
  overflow: hidden;
  font-size: calc(100vw / 32);
  overflow: auto;
  margin: 0;
  padding: 0;
}

body {
  font-size: 100%;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 20px, transparent 20px, transparent calc(100% - 20px), calc(100% - 20px)) 0 0/120px 70px, linear-gradient(0deg, #f4f4f4 1px, transparent 1px) 0 35px/80px 70px;
}

body::after, body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  mix-blend-mode: multiply;
}

body::before {
  background: linear-gradient(90deg, #f4f4f4 1px, transparent 1px) 0 0/60px 140px, linear-gradient(30deg, transparent 50%, #f4f4f4 50%, #f4f4f4 calc(50% + 1px), transparent calc(50% + 1px)) 0 0/120px 70px, linear-gradient(-30deg, transparent 50%, #f4f4f4 50%, #f4f4f4 calc(50% + 1px), transparent calc(50% + 1px)) 0 0/120px 70px, linear-gradient(90deg, transparent 40px, #fff 40px, #fff calc(100% - 40px), transparent calc(100% - 40px)) 0 0/120px 70px, linear-gradient(0deg, #f4f4f4 1px, transparent 1px) 0 0/40px 70px;
}

body::after {
  background: linear-gradient(90deg, #fff 20px, transparent 20px) 20px 0/60px 70px, linear-gradient(-60deg, transparent calc(50% - .5px), #f4f4f4 calc(50% - .5px), #f4f4f4 calc(50% + .5px), transparent calc(50% + .5px)) 0 0/40px 70px, linear-gradient(60deg, transparent calc(50% - .5px), #f4f4f4 calc(50% - .5px), #f4f4f4 calc(50% + .5px), transparent calc(50% + .5px)) 0 0/40px 70px;
}

h1,
h2,
h4,
h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 16px;
  margin-bottom: 1rem;
}

h3 {
  font-family: 'Sawarabi Mincho', serif;
  color: #A69A6D;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 1rem;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  display: inline-block;
}

h3 rt {
  font-size: 0.2rem;
  font-weight: 300;
}

a {
  color: #E04C4C;
  text-decoration: none;
}

p {
  font-size: 0.4rem;
  line-height: 140%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

.about,
.contact,
.experience,
.skills {
  padding: 1rem;
}

/* ==========================================================================
	   menu
  ========================================================================== */
header {
  position: fixed;
  width: 100%;
  font-size: 0.8rem;
  /* menu */
  /* menu btn */
}

header nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

header nav ul li a {
  display: block;
  padding: 0.8rem;
}

header nav ul li a:hover {
  background-color: #f4f4f4;
}

header .logo {
  display: block;
  float: left;
  padding: 0.4rem 1rem;
  text-decoration: none;
}

header .menu {
  clear: both;
  max-height: 0;
  -webkit-transition: max-height 0.2s ease-out;
  transition: max-height 0.2s ease-out;
}

header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 1.25rem;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  -webkit-transition: background 0.2s ease-out;
  transition: background 0.2s ease-out;
  width: 18px;
}

header .menu-icon .navicon:after, header .menu-icon .navicon:before {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  width: 100%;
}

header .menu-icon .navicon:before {
  top: 5px;
}

header .menu-icon .navicon:before {
  top: -5px;
}

header .menu-btn {
  display: none;
}

header .menu-btn:hover {
  background-color: #f4f4f4;
}

header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

header .menu-btn:checked ~ .menu-icon .navicon:before {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

header .menu-btn:checked ~ .menu-icon .navicon:after {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after,
header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
}

@media only screen and (min-width: 681px) {
  header .logo {
    font-size: 0.4rem;
  }
  header li {
    float: left;
  }
  header li a {
    padding: 0.2rem;
    font-size: 0.4rem;
  }
  header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  header .menu-icon {
    display: none;
  }
}

/* ==========================================================================
	   main
  ========================================================================== */
.main {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  display: block;
  margin: 0 1rem;
}

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

.main .Myname h1 {
  font-size: 1rem;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.main .Myname h3 {
  font-size: 0.7rem;
}

.main .Myname h3 ruby {
  font-family: 'Sawarabi Mincho', serif;
}

.main .Myname h3 ruby rt {
  font-size: 0.3em;
  padding-left: 1em;
  /* 文字サイズを大きく */
}

.main p {
  font-family: 'Playfair Display', serif;
  color: #A69A6D;
  font-size: 0.4rem;
  line-height: normal;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.main p span {
  color: #362E2B;
  font-weight: 600;
}

.main .scroll-downs {
  position: absolute;
  top: 70%;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  width: 34px;
  height: 55px;
}

.main .scroll-downs .mousey {
  width: 3px;
  padding: 10px 15px;
  height: 35px;
  border: 2px solid #A69A6D;
  border-radius: 25px;
  opacity: 0.75;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

.main .scroll-downs .mousey .scroller {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background-color: #A69A6D;
  -webkit-animation-name: scroll;
  animation-name: scroll;
  -webkit-animation-duration: 2.2s;
  animation-duration: 2.2s;
  -webkit-animation-timing-function: cubic-bezier(0.15, 0.41, 0.69, 0.94);
  animation-timing-function: cubic-bezier(0.15, 0.41, 0.69, 0.94);
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes scroll {
  0% {
    opacity: 0;
  }
  10% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
    opacity: 0;
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
  }
  10% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
    opacity: 0;
  }
}

/* ==========================================================================
    	   works
      ========================================================================== */
.work {
  margin: 1rem 0;
  padding: 0 1rem;
  overflow: hidden;
  position: static;
  font-size: 0.4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 100%;
}

.work .button {
  --offset: 10px;
  --border-size: 2px;
  text-align: right;
  display: block;
  position: relative;
  padding: 0.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: #E04C4C;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  outline: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 0;
  -webkit-box-shadow: inset 0 0 0 var(--border-size) currentcolor;
  box-shadow: inset 0 0 0 var(--border-size) currentcolor;
  -webkit-transition: background 0.8s ease;
  transition: background 0.8s ease;
  margin-top: 0.5rem;
  font-size: 0.25rem;
}

.work .button:hover {
  background: rgba(100, 0, 0, 0.03);
}

.work .button__horizontal, .work .button__vertical {
  position: absolute;
  top: var(--horizontal-offset, 0);
  right: var(--vertical-offset, 0);
  bottom: var(--horizontal-offset, 0);
  left: var(--vertical-offset, 0);
  -webkit-transition: -webkit-transform 0.8s ease;
  transition: -webkit-transform 0.8s ease;
  transition: transform 0.8s ease;
  transition: transform 0.8s ease, -webkit-transform 0.8s ease;
  will-change: transform;
}

.work .button__horizontal::before, .work .button__vertical::before {
  content: '';
  position: absolute;
  border: inherit;
}

.work .button__horizontal {
  --vertical-offset: calc(var(--offset) * -1);
  border-top: var(--border-size) solid currentcolor;
  border-bottom: var(--border-size) solid currentcolor;
}

.work .button__horizontal::before {
  top: calc(var(--vertical-offset) - var(--border-size));
  bottom: calc(var(--vertical-offset) - var(--border-size));
  left: calc(var(--vertical-offset) * -1);
  right: calc(var(--vertical-offset) * -1);
}

.work .button:hover .work .button__horizontal {
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
}

.work .button__vertical {
  --horizontal-offset: calc(var(--offset) * -1);
  border-left: var(--border-size) solid currentcolor;
  border-right: var(--border-size) solid currentcolor;
}

.work .button__vertical::before {
  top: calc(var(--horizontal-offset) * -1);
  bottom: calc(var(--horizontal-offset) * -1);
  left: calc(var(--horizontal-offset) - var(--border-size));
  right: calc(var(--horizontal-offset) - var(--border-size));
}

.work .button:hover .work .button__vertical {
  -webkit-transform: scaleY(0);
  -ms-transform: scaleY(0);
  transform: scaleY(0);
}

.work .work__list {
  max-width: 100%;
}

@media only screen and (min-width: 681px) {
  .work .work__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
}

.work .work__list .work__list__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0.5rem auto;
  -webkit-box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.6%;
  background: #f4f4f4;
  line-height: 1.4;
  border-radius: 5px;
  overflow: hidden;
  z-index: 0;
  border-style: double;
  border-width: thick;
  border-color: #A69A6D;
}

.work .work__list .work__list__card:hover .thumbnail {
  -webkit-transform: scale(1.3) rotate(3deg);
  -ms-transform: scale(1.3) rotate(3deg);
  transform: scale(1.3) rotate(3deg);
}

.work .work__list .work__list__card:hover .details {
  left: 0;
}

.work .work__list .work__list__card .meta {
  position: relative;
  z-index: 0;
  height: 200px;
}

.work .work__list .work__list__card .meta .thumbnail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.work .work__list .work__list__card .meta .details,
.work .work__list .work__list__card .meta .details ul {
  margin: auto;
  padding: 0;
  list-style: none;
}

.work .work__list .work__list__card .meta .detail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  margin: auto;
  -webkit-transition: left 0.2s;
  transition: left 0.2s;
  background: rgba(0, 0, 0, 0.6);
  color: #f4f4f4;
  padding: 10px;
  width: 100%;
  font-size: 0.9rem;
}

.work .work__list .work__list__card .meta .detail a {
  -webkit-text-decoration: dotted underline;
  text-decoration: dotted underline;
}

.work .work__list .work__list__card .meta .detail ul li {
  display: inline-block;
}

.work .work__list .work__list__card .meta .detail .role:before {
  font-family: FontAwesome;
  margin-right: 10px;
  content: "\f007";
}

.work .work__list .work__list__card .meta .detail .date:before {
  font-family: FontAwesome;
  margin-right: 10px;
  content: "\f133";
}

.work .work__list .work__list__card .meta .detail .tags ul:before {
  font-family: FontAwesome;
  content: "\f02b";
  margin-right: 10px;
}

.work .work__list .work__list__card .meta .detail .tags li {
  margin-right: 2px;
}

.work .work__list .work__list__card .meta .detail .tags li:first-child {
  margin-left: -4px;
}

.work .work__list .work__list__card .description {
  padding: 1rem;
  background: #f4f4f4;
  position: relative;
  z-index: 1;
  text-align: left;
}

.work .work__list .work__list__card .description h4 {
  font-weight: 700;
  line-height: 1;
  margin: 0;
  color: #362E2B;
  text-align: initial;
  font-size: 0.5rem;
}

.work .work__list .work__list__card .description h5 {
  text-transform: uppercase;
  color: #A69A6D;
  text-align: initial;
  font-size: 0.25rem;
}

.work .work__list .work__list__card .description .button {
  text-align: right;
}

.work .work__list .work__list__card .description .button a {
  display: inline-block;
  position: relative;
}

.work .work__list .work__list__card .description p {
  margin: 0;
}

@media only screen and (min-width: 681px) {
  .work .work__list .work__list__card {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    max-width: 700px;
  }
  .work .work__list .work__list__card .work__list__card {
    width: calc((100% - 60px) / 2);
    margin-right: 30px;
  }
  .work .work__list .work__list__card .meta {
    -ms-flex-preferred-size: 40%;
    flex-basis: 40%;
    height: auto;
  }
  .work .work__list .work__list__card .description {
    -ms-flex-preferred-size: 60%;
    flex-basis: 60%;
  }
  .work .work__list .work__list__card .description:before {
    -webkit-transform: skewX(-3deg);
    -ms-transform: skewX(-3deg);
    transform: skewX(-3deg);
    content: "";
    background: #f4f4f4;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }
  .work .work__list .work__list__card.alt {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }
  .work .work__list .work__list__card.alt .description:before {
    left: inherit;
    right: -10px;
    -webkit-transform: skew(3deg);
    -ms-transform: skew(3deg);
    transform: skew(3deg);
  }
  .work .work__list .work__list__card.alt__detail {
    padding-left: 25px;
  }
}

/* ==========================================================================
       about
    ========================================================================== */
.about {
  margin: 1rem 0;
  overflow: auto;
}

.about .intro {
  float: right;
  display: inline-block;
  vertical-align: top;
  width: 50%;
  padding-right: 1rem;
}

.about .intro p {
  line-height: 1rem;
  word-break: keep-all;
}

@media only screen and (min-width: 681px) {
  .about .intro p {
    font-size: 0.4rem;
  }
}

/* ==========================================================================
       experience
    ========================================================================== */
.experience {
  margin: 1rem 0;
  overflow: auto;
}

.experience__wrapper {
  float: right;
  display: inline-block;
  vertical-align: top;
  width: 50%;
  padding-right: 1rem;
  height: 100%;
}

.experience__wrapper .experience__list {
  margin-bottom: 1.6rem;
  font-size: 0.4rem;
}

.experience__wrapper .experience__list dt {
  font-weight: 400;
  font-size: 0.6rem;
}

.experience__wrapper .experience__list dd {
  margin: 0.4rem 0;
  line-height: 0.6rem;
  word-break: keep-all;
}

.experience__wrapper .experience__list__info {
  color: #A69A6D;
  font-weight: 300;
  font-size: 0.5rem;
}

/* ==========================================================================
       experience
    ========================================================================== */
.skills {
  margin: 1rem 0;
  overflow: auto;
  max-width: 100%;
}

.skills__wrapper {
  float: right;
  display: inline-block;
  vertical-align: top;
  width: 50%;
  padding-right: 1rem;
  height: 100%;
  display: grid;
  grid-template-columns: 400px 400px;
  grid-template-rows: 240px 240px;
  grid-gap: 0.8em;
  margin: 0 0 2em;
}

.skills__wrapper__list {
  margin-bottom: 1.6rem;
  font-size: 0.4rem;
}

.skills__wrapper__list dt {
  font-weight: 400;
  font-size: 0.6rem;
}

.skills__wrapper__list dd {
  margin: 0.4rem 0;
}

/* ==========================================================================
       contact
    ========================================================================== */
.contact {
  margin: 1rem 0;
  overflow: auto;
}

.contact__mail {
  display: table;
  float: right;
  width: 50%;
  height: 460px;
}

.contact__mail a {
  display: table-cell;
  vertical-align: middle;
}

.contact__mail a:hover {
  text-decoration: underline;
}
