*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
  vertical-align: top;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 160%;
  color: #434969;
  background-color: #f5f5f5;
}
@media screen and (min-width:900px) {
  body {
    font-size: 16px;
  }
}

.inner {
  padding-inline: 25px;
}
@media screen and (min-width:600px) {
  .inner {
    max-width: 720px;
    margin-inline: auto;
    padding-inline: 30px;
  }
}
@media screen and (min-width:900px) {
  .inner {
    max-width: 1070px;
    margin-inline: auto;
    padding-inline: 35px;
  }
}
@media screen and (min-width:1200px) {
  .inner {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 40px;
  }
}

.heading {
  font-size: 20px;
  font-weight: 700;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.1em;
  text-align: center;
}

@media screen and (min-width:600px) {
  .hidden-sm {
    display: none;
  }
}

.fade-in-up {
  opacity: 0;
  -webkit-transform: translateY(24px);
          transform: translateY(24px);
  -webkit-transition: opacity 1.5s, -webkit-transform 1.5s;
  transition: opacity 1.5s, -webkit-transform 1.5s;
  transition: opacity 1.5s, transform 1.5s;
  transition: opacity 1.5s, transform 1.5s, -webkit-transform 1.5s;
}
.fade-in-up.is-in-view {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(245, 245, 245, 0.95);
  z-index: 30;
}

.header__inner {
  padding-block: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header__logo {
  width: 35px;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.header__logo:hover {
  opacity: 0.6;
}

@media screen and (min-width:600px) {
  .header__icon {
    display: none;
  }
}

.drawer-icon {
  width: 30px;
  height: 18px;
  position: relative;
  z-index: 10;
}
.drawer-icon.is-checked .drawer-icon__bar:nth-of-type(1) {
  top: 10px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.drawer-icon.is-checked .drawer-icon__bar:nth-of-type(2) {
  display: none;
}
.drawer-icon.is-checked .drawer-icon__bar:nth-of-type(3) {
  top: 10px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.drawer-icon__bar {
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background: #434969;
  border-radius: 50px;
}
.drawer-icon__bar:nth-of-type(1) {
  top: 0;
}
.drawer-icon__bar:nth-of-type(2) {
  top: 8px;
}
.drawer-icon__bar:nth-of-type(3) {
  top: 16px;
}

.header__nav {
  display: none;
}
@media screen and (min-width:600px) {
  .header__nav {
    display: block;
  }
}

.header__nav-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}

.header__nav-link a {
  font-size: 18px;
  font-weight: 700;
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.1em;
  position: relative;
}
.header__nav-link a::after {
  content: "";
  position: absolute;
  background-color: #434969;
  bottom: -4px;
  height: 1.5px;
  left: 0;
  -webkit-transform: scale(0, 1);
          transform: scale(0, 1);
  -webkit-transform-origin: right top;
          transform-origin: right top;
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
  width: 100%;
}
.header__nav-link a:hover::after {
  -webkit-transform-origin: left top;
          transform-origin: left top;
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
}

.header__drawer {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #f5f5f5;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}
.header__drawer.is-checked {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
@media screen and (min-width:600px) {
  .header__drawer {
    display: none;
  }
}

.header__drawer-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-top: 40px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 25px;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}

.header__drawer-link a {
  font-size: 20px;
  padding: 10px 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.fv {
  padding-top: 80px;
  padding-bottom: 150px;
}
@media screen and (min-width:900px) {
  .fv {
    padding-top: 150px;
    padding-bottom: 0;
  }
}
@media screen and (min-width:1200px) {
  .fv {
    padding-top: 220px;
  }
}

.fv__wrapper {
  position: relative;
}

.fv__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 20px;
  font-size: 20px;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
}
@media screen and (min-width:900px) {
  .fv__title {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 10px;
    font-size: 30px;
  }
}
@media screen and (min-width:900px) and (min-width:900px) {
  .fv__title {
    font: 40px;
  }
}

.fv__title-accent {
  display: block;
  font-size: 40px;
  font-weight: 700;
  padding-left: 10px;
}
@media screen and (min-width:600px) {
  .fv__title-accent {
    font-size: 50px;
  }
}
@media screen and (min-width:1200px) {
  .fv__title-accent {
    font-size: 80px;
  }
}

.fv__message {
  font-size: 16px;
  margin-top: 30px;
}
@media screen and (min-width:900px) {
  .fv__message {
    font-size: 20px;
  }
}

.fv__image {
  position: absolute;
  width: 35vw;
  top: 160px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-animation: floating-x 20s ease-in-out infinite;
  animation: floating-x 20s ease-in-out infinite;
}
@media screen and (min-width:600px) {
  .fv__image {
    top: 0;
    left: auto;
    right: 0;
    -webkit-animation: sm-floating-x 15s ease-in-out infinite;
    animation: sm-floating-x 15s ease-in-out infinite;
  }
}
@media screen and (min-width:1200px) {
  .fv__image {
    width: 330px;
    top: -40px;
  }
}
.fv__image img {
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

@-webkit-keyframes floating-x {
  0% {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  25% {
    -webkit-transform: translateX(20%);
            transform: translateX(20%);
  }
  50% {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  75% {
    -webkit-transform: translateX(-120%);
            transform: translateX(-120%);
  }
  100% {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}
@keyframes floating-x {
  0% {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  25% {
    -webkit-transform: translateX(20%);
            transform: translateX(20%);
  }
  50% {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  75% {
    -webkit-transform: translateX(-120%);
            transform: translateX(-120%);
  }
  100% {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}
@-webkit-keyframes sm-floating-x {
  0% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  25% {
    -webkit-transform: translateX(-5%);
            transform: translateX(-5%);
  }
  50% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  75% {
    -webkit-transform: translateX(5%);
            transform: translateX(5%);
  }
  100% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
}
@keyframes sm-floating-x {
  0% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  25% {
    -webkit-transform: translateX(-5%);
            transform: translateX(-5%);
  }
  50% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  75% {
    -webkit-transform: translateX(5%);
            transform: translateX(5%);
  }
  100% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
}
@-webkit-keyframes floating-y {
  0% {
    -webkit-transform: translateY(-10%);
            transform: translateY(-10%);
  }
  100% {
    -webkit-transform: translateY(10%);
            transform: translateY(10%);
  }
}
@keyframes floating-y {
  0% {
    -webkit-transform: translateY(-10%);
            transform: translateY(-10%);
  }
  100% {
    -webkit-transform: translateY(10%);
            transform: translateY(10%);
  }
}
.works {
  margin-top: 60px;
}
@media screen and (min-width:900px) {
  .works {
    margin-top: 130px;
  }
}

.works__inner {
  position: relative;
}

.works__text {
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

@media screen and (min-width:1200px) {
  #stalker {
    display: none;
    pointer-events: none;
    position: fixed;
    top: -60px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: url(../img/view-icon.png);
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
    -webkit-transition-timing-function: ease-out;
            transition-timing-function: ease-out;
    z-index: 10;
  }
}

.works__cards {
  margin-top: 20px;
  padding-bottom: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
}
@media screen and (min-width:900px) {
  .works__cards {
    margin-top: 30px;
    gap: 30px;
  }
}

.works__card {
  max-width: 500px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-inline: 20px;
  padding-block: 30px;
  -webkit-box-shadow: 3px 3px 6px #c5c9df;
          box-shadow: 3px 3px 6px #c5c9df;
  background: #fff;
  -webkit-transition: background-color 0.7s;
  transition: background-color 0.7s;
}
@media screen and (min-width:900px) {
  .works__card {
    max-width: 380px;
  }
}
.works__card:hover {
  background: #f5ec7b;
}
.works__card:hover .works__card-image img:last-of-type {
  opacity: 1;
}

.works__card-image {
  position: relative;
}
.works__card-image img:last-of-type {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  -webkit-transition: opacity 0.7s;
  transition: opacity 0.7s;
}

.works__card-body {
  margin-top: 15px;
}

.works__card-title {
  margin-top: 10px;
}

.works__card-category {
  background: #434969;
  color: #fff;
  font-size: 14px;
  padding: 3px 15px;
  letter-spacing: 0.1em;
}

.profile {
  margin-top: 100px;
}

.profile__wrap {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
}
@media screen and (min-width:900px) {
  .profile__wrap {
    margin-top: 50px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 80px;
  }
}

.profile__image {
  position: relative;
  width: calc(100% - 60px);
}
.profile__image::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  bottom: -50px;
  right: -50px;
  background: url(../img/profile-logo.png) no-repeat center center/contain;
  -webkit-animation: 20s linear infinite rotation;
  animation: 20s linear infinite rotation;
}
@-webkit-keyframes rotation {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes rotation {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

.profile__text {
  margin-top: 30px;
}
@media screen and (min-width:900px) {
  .profile__text {
    margin-top: 0;
  }
}

.profile__discription {
  margin-top: 20px;
}

.contact {
  margin-top: 100px;
  padding-top: 50px;
  padding-bottom: 100px;
  background: #434969;
  color: #f5f5f5;
}
@media screen and (min-width:900px) {
  .contact {
    margin-top: 120px;
    padding-top: 50px;
  }
}

.contact__mail {
  margin-top: 30px;
  font-size: 24px;
  font-weight: 900;
  font-family: "Noto Serif JP", serif;
  color: #434969;
  text-shadow: 1px 0 0 #f5f5f5, 0 1px 0 #f5f5f5, -1px 0 0 #f5f5f5, 0 -1px 0 #f5f5f5;
  text-align: center;
  -webkit-transition: text-shadow 0.4s, color 0.4s;
  transition: text-shadow 0.4s, color 0.4s;
}
@media screen and (min-width:900px) {
  .contact__mail {
    margin-top: 50px;
    font-size: 50px;
    font-weight: 900;
  }
}
@media screen and (min-width:1200px) {
  .contact__mail {
    font-size: 70px;
  }
}
.contact__mail:hover {
  color: #f5f5f5;
  text-shadow: 1px 0 0 #434969, 0 1px 0 #434969, -1px 0 0 #434969, 0 -1px 0 #434969;
}

.footer {
  background: #434969;
  padding-bottom: 5px;
}

.footer__inner {
  text-align: center;
}

.footer__copyright {
  color: #f5f5f5;
}

.works-page {
  margin-top: 130px;
}

.works-page__title {
  font-size: 40px;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  text-align: center;
}

.works-entry {
  margin-top: 80px;
}

.works-entry__category {
  background: #434969;
  color: #fff;
  font-size: 14px;
  padding: 3px 15px;
  letter-spacing: 0.1em;
}

.works-entry__title {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
}
@media screen and (min-width:900px) {
  .works-entry__title {
    font-size: 30px;
  }
}

.works-entry__body {
  margin-top: 32px;
}
.works-entry__body p {
  margin-top: 24px;
  color: #434969;
}
.works-entry__body a {
  -webkit-text-decoration: underline 1px;
  text-decoration: underline 1px;
  text-underline-offset: 4px;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.works-entry__body a:hover {
  opacity: 0.6;
}
.works-entry__body h3 {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 700;
}
.works-entry__body ul {
  margin-top: 5px;
  list-style-type: circle;
  padding-left: 30px;
}
.works-entry__body table {
  margin-top: 5px;
  max-width: 600px;
  width: 100%;
  font-size: 12px;
}
@media screen and (min-width:600px) {
  .works-entry__body table {
    font-size: 14px;
  }
}
@media screen and (min-width:900px) {
  .works-entry__body table {
    width: 600px;
    font-size: 16px;
  }
}
.works-entry__body td:nth-child(1) {
  background: #434969;
  border: #434969;
  color: #f5f5f5;
  text-align: center;
}
.works-entry__body td:nth-child(2) {
  padding-left: 10px;
}

.works-entry__image {
  margin-top: 30px;
  text-align: center;
}
@media screen and (min-width:900px) {
  .works-entry__image {
    margin-top: 46px;
  }
}
.works-entry__image img {
  width: 100%;
  height: auto;
}
@media screen and (min-width:900px) {
  .works-entry__image img {
    width: 80%;
  }
}

.works-entry__link-text {
  margin-top: 30px;
}

.works-page__home-link {
  margin-top: 50px;
  width: 20px;
}
.works-page__home-link a {
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}
.works-page__home-link a:hover {
  opacity: 0.6;
}