@charset "UTF-8";
/*============================
初期値
============================*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@400;700&family=Noto+Serif:wght@400;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  color: #282F35;
  font-size: 16px;
  line-height: 1.6;
  font-family: "Noto Serif", serif;
  width: 100%;
  box-sizing: border-box;
  letter-spacing: 0.15rem;
}

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

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

.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

/*============================
header
============================*/
.header {
  padding: 0 0 50px;
  background: url(../img/office.jpg) fixed center center/cover;
  height: 600px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #282F35;
  background-color: #fff;
  z-index: 2;
  padding: 20px 30px 0;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}
@media (max-width: 500px) {
  .header-inner {
    display: block;
  }
}

.header-left {
  font-size: 30px;
}

@media (max-width: 500px) {
  .hamburger {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 22px;
    top: 15px;
    z-index: 100;
  }
  .hamburger span {
    width: 33px;
    height: 3px;
    background-color: #121212;
    position: absolute;
  }
  .hamburger span:first-of-type {
    top: 13px;
    right: 9px;
  }
  .hamburger span:nth-of-type(2) {
    top: 25px;
    right: 9px;
  }
  .hamburger span:last-of-type {
    bottom: 10px;
    right: 9px;
  }
  .hamburger span {
    transition: transform 0.5s ease 0s;
  }
  .hamburger span.active {
    background-color: #fff;
  }
  .hamburger span.active:first-of-type {
    top: 26px;
    right: 10px;
    transform: rotate(-405deg);
  }
  .hamburger span.active:nth-of-type(2) {
    top: 25px;
    right: 10px;
    display: none;
    opacity: 0;
  }
  .hamburger span.active:last-of-type {
    bottom: 20px;
    right: 10px;
    transform: rotate(405deg);
  }
}
.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(40, 47, 53, 0.8);
  z-index: 99;
  display: none;
}
.overlay.active {
  display: block;
}

@media (min-width: 1440px) {
  .header-items {
    display: flex;
    justify-content: space-between;
  }
}
@media (min-width: 768px) and (max-width: 1439px) {
  .header-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
@media (max-width: 500px) {
  .header-items {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    z-index: 600;
    color: #fff;
    transition: opacity 0.7s ease 0s;
  }
  .header-items.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 500px) {
  .header-item {
    font-size: 22px;
  }
}
.header-item:not(:first-child) {
  margin-left: 20px;
}
@media (max-width: 500px) {
  .header-item:not(:first-child) {
    margin: 20px 0;
  }
}
.header-item a {
  display: block;
}
.header-item a:hover {
  border-bottom: 1px solid #282F35;
}

.change-color {
  background-color: rgba(6, 231, 231, 0.8);
  transition: 0.3s;
}

/*============================
profile
============================*/
.profile {
  padding: 0 0 50px;
}
@media (max-width: 767px) {
  .profile {
    padding: 0 10px 30px;
  }
}
@media (max-width: 500px) {
  .profile {
    padding: 0 10px 30px;
  }
}

.profile-title {
  padding: 20px 0 10px;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-title::after, .profile-title::before {
  content: "";
  border-top: 1px solid #282F35;
  width: 200px;
}
.profile-title::after {
  margin-left: 2rem;
}
.profile-title::before {
  margin-right: 2rem;
}

.sub-title {
  font-weight: 700;
  text-align: center;
  font-size: 22px;
  margin-bottom: 30px;
}

.profile-parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px 0;
}
@media (max-width: 500px) {
  .profile-parent {
    flex-direction: column;
  }
}

.profile-left {
  width: 48%;
}
@media (max-width: 500px) {
  .profile-left {
    width: 100%;
    margin-bottom: 20px;
  }
}

.profile-right {
  width: 48%;
}
@media (max-width: 500px) {
  .profile-right {
    width: 100%;
  }
}

.profile-ttl {
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 5px;
}

.profile-text {
  padding-left: 1em;
}

/*============================
works
============================*/
.works {
  padding: 0 0 50px;
  background-color: #eee;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .works {
    padding: 0 10px 30px;
  }
}
@media (max-width: 767px) {
  .works {
    padding: 0 10px 30px;
  }
}
@media (max-width: 500px) {
  .works {
    padding: 0 10px 30px;
  }
}

.works-work {
  padding: 20px 0 10px;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.works-work::after, .works-work::before {
  content: "";
  border-top: 1px solid #282F35;
  width: 200px;
}
.works-work::after {
  margin-left: 2rem;
}
.works-work::before {
  margin-right: 2rem;
}

.works-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 500px) {
  .works-items {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.works-item {
  border: 1px solid #ccc;
  overflow: hidden;
}
.works-item img {
  transition: transform 0.5s;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
}
.works-item img:hover {
  transform: scale(1.1);
}

.works-contents {
  text-align: center;
  font-size: 18px;
  margin: 20px 0;
}

/*============================
main
============================*/
.main {
  margin: 0 auto;
  padding: 50px 0;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .main {
    padding: 0 10px 30px;
  }
}
@media (max-width: 767px) {
  .main {
    padding: 0 10px 30px;
  }
}
@media (max-width: 500px) {
  .main {
    padding: 0 10px 30px;
  }
}

.title {
  padding: 20px 0 10px;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.title::after, .title::before {
  content: "";
  border-top: 1px solid #282F35;
  width: 200px;
}
.title::after {
  margin-left: 2rem;
}
.title::before {
  margin-right: 2rem;
}

.main-title {
  color: #3e3e3e;
  font-size: 30px;
  margin-bottom: 20px;
}

.main-wrap {
  border: 1px solid #333;
}

.main-box {
  margin: 30px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #707070;
}

.main-ttl {
  font-size: 20px;
  font-weight: 700;
  width: 48%;
}

.main-content {
  width: 48%;
}

.url {
  color: #8ed1fc;
  overflow: hidden;
}

/*============================
skill
============================*/
.skill {
  padding: 20px 30px 0;
  background: url(../img/computer.jpg) fixed center center/cover;
  height: 500px;
  max-width: 100%;
}
@media (max-width: 767px) {
  .skill {
    height: 750px;
  }
}
@media (max-width: 500px) {
  .skill {
    height: 1080px;
  }
}

.skill-title {
  padding: 20px 0 10px;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.skill-title::after, .skill-title::before {
  content: "";
  border-top: 1px solid #282F35;
  width: 200px;
}
.skill-title::after {
  margin-left: 2rem;
}
.skill-title::before {
  margin-right: 2rem;
}
.skill-title::after, .skill-title::before {
  border-top: 1px solid #fff;
}

.sub-white {
  color: #fff;
}

.skill-parent {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 500px) {
  .skill-parent {
    flex-direction: column;
  }
}

.skill-item {
  text-align: center;
  width: 32%;
}
@media (max-width: 500px) {
  .skill-item {
    width: 100%;
    margin-bottom: 20px;
  }
}
.skill-item:not(:last-child) {
  margin-right: 10px;
}

.skill-ttl {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-top: 20px;
}

.skill-text {
  font-size: 18px;
  margin-top: 10px;
  color: #fff;
}

.font {
  color: #fff;
}

.code {
  color: #e60a41;
}

.desk {
  color: #282F35;
}

/*============================
contact
============================*/
.contact {
  padding: 0 0 50px;
  background-color: #3e3e3e;
  padding: 20px 100px 30px;
}
@media (max-width: 767px) {
  .contact {
    padding: 10px 20px 10px;
  }
}
@media (max-width: 500px) {
  .contact {
    padding: 10px 20px 10px;
  }
}

.contact-parent {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 500px) {
  .contact-parent {
    flex-direction: column;
  }
}

.contact-title {
  padding: 20px 0 10px;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.contact-title::after, .contact-title::before {
  content: "";
  border-top: 1px solid #282F35;
  width: 200px;
}
.contact-title::after {
  margin-left: 2rem;
}
.contact-title::before {
  margin-right: 2rem;
}
.contact-title::after, .contact-title::before {
  border-top: 1px solid #fff;
}

.contact-form {
  color: #fff;
  width: 70%;
  padding: 10px 0;
}
@media (max-width: 500px) {
  .contact-form {
    width: 100%;
  }
}

.contact-label {
  margin-top: 19px;
}
.contact-label label {
  width: 100%;
}
.contact-label label:first-child {
  margin-top: 0;
}

.contact-input {
  width: 100%;
  padding: 12px 20px;
  margin-bottom: 20px;
}
.contact-input [type=text] {
  box-shadow: none;
  border: 1px solid #707070;
  background: #fff;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
  width: 100%;
}
.contact-input [type=email] {
  box-shadow: none;
  border: 1px solid #707070;
  background: #fff;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
  width: 100%;
  padding: 44px 0;
}
.contact-input textarea {
  box-shadow: none;
  border: 1px solid #707070;
  background: #fff;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
  width: 100%;
  height: 100px;
  resize: none;
  padding: 12px 10px;
}

.contact-btn {
  border: 1px solid #fff;
  padding: 16px 82px;
  display: block;
  text-align: center;
  color: #fff;
  font-size: 14px;
  background-color: #3e3e3e;
  margin: 20px auto;
}
@media (max-width: 500px) {
  .contact-btn {
    width: 100%;
  }
}
.contact-btn:hover {
  color: #121212;
  background-color: #fff;
}
.contact-message {
  text-align: center;
  margin-top: 60px;
  display: none;
  color: #fff;
}
.contact-message.-error {
  color: #f00;
}

.textarea {
  height: 160px;
}

/*============================
footer
============================*/
.footer {
  padding: 50px 0;
  background-color: #3e3e3e;
}
@media (max-width: 500px) {
  .footer {
    padding: 0 10px 30px;
  }
}

.footer-text {
  text-align: center;
  color: #fff;
}

/*============================
js
============================*/
.to-top {
  width: 70px;
  height: 70px;
  background-color: #282F35;
  text-align: center;
  position: fixed;
  right: 100px;
  bottom: 100px;
}
@media (max-width: 500px) {
  .to-top {
    width: 55px;
    height: 55px;
  }
}
.to-top:hover {
  opacity: 0.7;
}
@media (max-width: 500px) {
  .to-top {
    right: 25px;
    bottom: 25px;
  }
}
.to-top a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  line-height: 4;
  display: block;
}

.arrow {
  margin-top: 20px;
}
@media (max-width: 500px) {
  .arrow {
    margin-top: 12px;
  }
}

.loader-bg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #0bd;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  font-size: 10px;
  margin: 50px auto;
  text-indent: -9999em;
  width: 11em;
  height: 11em;
  border-radius: 50%;
  background: #ffffff;
  background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  transform: translateZ(0);
}

.loader:before {
  width: 50%;
  height: 50%;
  background: #ffffff;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
}

.loader:after {
  background: #0bd;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@-webkit-keyframes load3 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.js-fadeUp {
  opacity: 0; /* 最初は非表示 */
  transform: translateY(30px); /* 下に30pxの位置から */
  transition: opacity 0.6s, transform 0.5s; /* 透過率と縦方向の移動を0.8秒 */
  /* フェードイン(スクロールした後) */
}
.js-fadeUp.is-inview {
  opacity: 1; /* 表示領域に入ったら表示 */
  transform: translateY(0); /* 30px上に移動する */
  transition-delay: 0.5s; /* フェード開始を0.5秒遅らせる */
}