/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  -moz-appearance: none;
       appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type=number] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

.body {
  background-color: #272727;
  color: #F8F8F8;
  font-family: "Noto Sans JP", sans-serif, serif;
}

h2 {
  font-size: 128px;
  line-height: 0.8;
}
@media screen and (max-width:1024px) {
  h2 {
    font-size: 48px;
    line-height: 1;
  }
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 14px;
}

h5 {
  font-size: 12px;
}

p {
  font-size: 14px;
  line-height: 1.8;
}

.contents-container {
  width: 100%;
  max-width: 1040px;
  padding-top: 72px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  row-gap: 100px;
}
@media screen and (max-width:1024px) {
  .contents-container {
    flex-flow: column;
    align-items: center;
    padding: 36px 32px 0 32px;
  }
}

.section {
  padding-bottom: 200px;
}
@media screen and (max-width:599px) {
  .section {
    padding-bottom: 100px;
  }
}

.navigation-menu {
  display: flex;
  -moz-column-gap: 128px;
       column-gap: 128px;
}
.navigation-menu__link {
  color: #FFB72B;
  font-family: "Crimson Text", serif;
  font-size: 16px;
  position: relative;
}
.navigation-menu__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 0;
  background-color: #FFB72B;
  transition: all 0.3s ease;
}
.navigation-menu__link:hover::after {
  width: 100%;
}

.section-head {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width:1024px) {
  .section-head {
    height: 120px;
  }
}
.section-head__title {
  font-family: "Crimson Text", serif;
  color: #FFB72B;
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 1;
}
@media screen and (max-width:599px) {
  .section-head__title {
    left: -6px;
  }
}
.section-head__title--about {
  font-family: "Crimson Text", serif;
  color: #FFB72B;
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 1;
}
@media screen and (max-width:599px) {
  .section-head__title--about {
    right: -6px;
  }
}
.section-head__triangle {
  width: 100%;
  height: 220px;
  -webkit-clip-path: polygon(0 0, 0 100%, 100% 0);
          clip-path: polygon(0 0, 0 100%, 100% 0);
}
@media screen and (max-width:1024px) {
  .section-head__triangle {
    height: 120px;
  }
}
.section-head__triangle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(39, 39, 39, 0.4);
}
.section-head__triangle--about {
  width: 100%;
  height: 220px;
  -webkit-clip-path: polygon(0 0, 100% 100%, 100% 0);
          clip-path: polygon(0 0, 100% 100%, 100% 0);
}
@media screen and (max-width:1024px) {
  .section-head__triangle--about {
    height: 120px;
  }
}
.section-head__triangle--about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(39, 39, 39, 0.4);
}
.section-head .works-bg {
  background: url(../img/works-bg.jpg) bottom center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.section-head .about-bg {
  background: url(../img/about-bg.jpg) bottom center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.section-head .contact-bg {
  background: url(../img/contact-bg.jpg) center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.btn {
  display: block;
  width: 128px;
  height: 40px;
  text-align: center;
  border-radius: 20px;
  margin: 0 auto;
  transition: all 0.3s linear;
}
.btn-primary--yellow {
  color: #272727;
  background-color: #FFB72B;
}
.btn-primary--yellow:hover {
  color: #FFB72B;
  background-color: #272727;
  border: 1px solid #FFB72B;
}
.btn-primary--white {
  color: #272727;
  background-color: #F8F8F8;
}
.btn-primary--white:hover {
  color: #F8F8F8;
  background-color: #272727;
  border: 1px solid #F8F8F8;
}

.page-top {
  display: none;
  cursor: pointer;
  position: fixed;
  right: 60px;
  bottom: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FFB72B;
  text-align: center;
  z-index: 99;
}
@media screen and (max-width:1024px) {
  .page-top {
    width: 48px;
    height: 48px;
    right: 8px;
    bottom: 8px;
  }
}
.page-top .fa-angle-up {
  color: #272727;
  font-size: 24px;
  line-height: 60px;
}
@media screen and (max-width:1024px) {
  .page-top .fa-angle-up {
    font-size: 20px;
    line-height: 48px;
  }
}

.hum-menu {
  display: none;
}
@media screen and (max-width:1024px) {
  .hum-menu {
    cursor: pointer;
    width: 32px;
    display: flex;
    align-items: center;
    flex-flow: column;
    row-gap: 8px;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2;
  }
}
.hum-menu__border {
  height: 1px;
  width: 100%;
  background-color: #FFB72B;
  transition: all 0.3s ease;
}

.active .hum-menu__border:nth-of-type(1) {
  width: 19px;
  transform: translateY(9px) rotate(-225deg);
}
.active .hum-menu__border:nth-of-type(2) {
  opacity: 0;
}
.active .hum-menu__border:nth-of-type(3) {
  width: 19px;
  transform: translateY(-9px) rotate(225deg);
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  width: 100%;
}
@media screen and (max-width:1024px) {
  .header {
    height: 64px;
  }
}
@media screen and (max-width:1024px) {
  .header .navigation {
    display: none;
  }
}
.header__logo {
  width: 80px;
  height: 80px;
  position: fixed;
  top: 40px;
  left: 60px;
  z-index: 99;
}
@media screen and (max-width:1024px) {
  .header__logo {
    width: 48px;
    height: 48px;
    top: 8px;
    left: 8px;
  }
}

.footer {
  text-align: center;
}
.footer .copyright {
  font-family: "Crimson Text", serif;
  font-size: 12px;
  margin-bottom: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2;
}
.modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  background-color: rgba(39, 39, 39, 0.4);
}
.modal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  margin: auto;
  height: 400px;
  width: 240px;
  border-radius: 4px;
  color: #FFB72B;
  font-family: "Crimson Text", serif;
  background-color: #272727;
  box-shadow: 0px 1px 4px rgba(248, 248, 248, 0.4);
}
.modal .navigation-menu {
  flex-flow: column nowrap;
  align-items: center;
  row-gap: 64px;
}

#form-wrap {
  width: 100%;
  max-width: 700px;
  margin: 48px auto;
  line-height: 120%;
  font-size: 90%;
}
@media screen and (max-width:599px) {
  #form-wrap {
    width: 95%;
  }
}
#form-wrap .form-wrap__head {
  color: #FFB72B;
  text-align: center;
  margin-bottom: 2em;
}
#form-wrap .form-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
#form-wrap .form-table td, #form-wrap .form-table th {
  border: 1px solid #F8F8F8;
  padding: 12px;
}
@media screen and (max-width:599px) {
  #form-wrap .form-table td, #form-wrap .form-table th {
    width: auto;
    display: block;
  }
}
#form-wrap .form-table th {
  font-size: 14px;
  width: 30%;
  font-weight: normal;
  text-align: left;
}
@media screen and (max-width:599px) {
  #form-wrap .form-table th {
    width: 50%;
    margin-top: 8px;
    border-bottom: 0;
  }
}
#form-wrap .btn {
  margin: 2em auto;
}

p.error_messe {
  margin: 5px 0;
  color: red;
}

.result-wrap {
  margin-top: 48px;
}
.result-wrap .btn {
  margin: 2em auto;
}
.result-wrap .btn-primary--yellow {
  font-size: 14px;
  line-height: 40px;
}

.loading {
  background-color: #272727;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  row-gap: 14px;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
}
.loading__icon {
  width: 100px;
  height: 100px;
}

.hero-area {
  width: 100%;
  height: 100%;
}
@media screen and (max-width:599px) {
  .hero-area {
    height: 100vh;
  }
}

.top-img {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-bottom: 220px;
}
@media screen and (max-width:599px) {
  .top-img {
    padding: initial;
  }
}
.top-img img {
  width: 1040px;
  aspect-ratio: 16/9;
}
@media screen and (max-width:599px) {
  .top-img img {
    width: 100%;
    height: 80vh;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

.works-card {
  margin: 0 64px;
  text-align: center;
}
@media screen and (max-width:1024px) {
  .works-card {
    margin: 0 auto;
  }
}
.works-card__link {
  display: block;
  border-radius: 50%;
}
.works-card__link .img-frame {
  border-radius: 50%;
  overflow: hidden;
}
.works-card__img {
  width: 392px;
  transition: transform 0.3s ease;
}
@media screen and (max-width:1024px) {
  .works-card__img {
    width: 100%;
    max-width: 280px;
  }
}
.works-card__img:hover {
  transform: scale(1.1);
}
.works-card__head {
  margin-top: 1rem;
}

.profile {
  width: 100%;
}
.profile__head {
  color: #FFB72B;
  font-weight: 500;
}
@media screen and (max-width:1024px) {
  .profile__head {
    text-align: center;
    margin-bottom: 36px;
  }
}
.profile-box {
  display: flex;
  align-items: center;
  margin: 0 auto;
}
@media screen and (max-width:1024px) {
  .profile-box {
    flex-flow: column;
    row-gap: 36px;
  }
}
.profile__img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  margin: 0 100px;
}
@media screen and (max-width:1024px) {
  .profile__img {
    width: 180px;
    height: 180px;
    margin: initial;
  }
}

.skill {
  width: 100%;
}
.skill__head {
  color: #FFB72B;
  font-weight: 500;
  margin-top: 56px;
}
@media screen and (max-width:1024px) {
  .skill__head {
    text-align: center;
    margin-bottom: 36px;
  }
}
.skill-box {
  display: flex;
}
@media screen and (max-width:599px) {
  .skill-box {
    flex-flow: column;
    row-gap: 36px;
  }
}

.design-skill {
  width: 300px;
  text-align: center;
  margin: 0 auto;
}
@media screen and (max-width:1024px) {
  .design-skill {
    width: 100%;
    max-width: 326px;
  }
}
.design-skill__img {
  width: 300px;
  height: 155px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 14px;
}
@media screen and (max-width:1024px) {
  .design-skill__img {
    width: 100%;
    max-width: 200px;
  }
}
.design-skill__head {
  font-weight: 700;
  margin-bottom: 1em;
}
.design-skill__text {
  text-align: left;
}

.coding-skill {
  width: 355px;
  text-align: center;
  margin: 0 auto;
}
@media screen and (max-width:1024px) {
  .coding-skill {
    width: 100%;
    max-width: 326px;
  }
}
.coding-skill__img {
  width: 355px;
  height: 155px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 14px;
}
@media screen and (max-width:1024px) {
  .coding-skill__img {
    width: 100%;
    max-width: 326px;
  }
}
.coding-skill__head {
  font-weight: 700;
  margin-bottom: 1em;
}
.coding-skill__text {
  text-align: left;
}

.contact-form {
  font-size: 14px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
@media screen and (max-width:599px) {
  .contact-form {
    margin-top: 36px;
  }
}
.contact-form__item {
  margin-bottom: 1em;
}
.contact-form #name, .contact-form #email {
  width: 100%;
  color: #272727;
  background-color: #F8F8F8;
  padding: 0.5em;
  margin-bottom: 48px;
}
.contact-form #message {
  width: 100%;
  height: 160px;
  color: #272727;
  background-color: #F8F8F8;
  padding: 0.5em;
  margin-bottom: 48px;
}

.works-article {
  width: 100%;
  max-width: 1040px;
  padding-top: 72px;
  margin: 0 auto;
  text-align: center;
}
@media screen and (max-width:1024px) {
  .works-article {
    padding: 36px 32px 0 32px;
  }
}
.works-article .mockup-img {
  width: 916px;
}
@media screen and (max-width:1024px) {
  .works-article .mockup-img {
    width: 100%;
    max-width: 916px;
  }
}

.article-box {
  margin-top: 72px;
}
.article-box__head {
  color: #FFB72B;
  font-weight: 500;
  margin-bottom: 72px;
}
.article-box__description {
  margin-bottom: 200px;
}

.description {
  display: flex;
  margin-bottom: 72px;
  text-align: initial;
}
@media screen and (max-width:1024px) {
  .description {
    flex-flow: column;
  }
}
.description-link {
  color: #FFB72B;
  word-break: break-all;
  position: relative;
}
.description-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 0;
  background-color: #FFB72B;
  transition: all 0.3s ease;
}
.description-link:hover::after {
  width: 100%;
}
.description__head {
  width: 25%;
  font-weight: 700;
  line-height: 1.8;
}
@media screen and (max-width:1024px) {
  .description__head {
    width: 100%;
    margin-bottom: 14px;
  }
}
.description__text {
  width: 75%;
}
@media screen and (max-width:1024px) {
  .description__text {
    width: 100%;
  }
}
/*# sourceMappingURL=style.css.map */