@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: #333;
  vertical-align: baseline;
  list-style: none;
  font-family: "Noto Sans JP", sans-serif;
}
.carousel_slider {
  width: 100%;
  height: 80vh;
  overflow: hidden;
  position: relative;
  margin-bottom: 48px;
}
header h1 {
  width: 95%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  text-align: center;
  padding: 40px 0px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.75);
  border: 4px double #333;
  z-index: 2;
}
header h1 p {
  display: block;
  font-size: 32px;
  letter-spacing: 0.3rem;
}
:root {
  --t: 1s;
  --d: 0.08em;
  --n: 3;
  --e: cubic-bezier(0.86, 0, 0.07, 1);
  --front: #333;
  --back: lightblue;
}
h1,
h1 p {
  font-family: "Futura", "Noto Sans JP", sans-serif;
  font-weight: 900;
}
h1 span,
h1 p span {
  margin: 0 -0.25rem;
  position: relative;
  display: inline-block;
  animation: ani var(--t) infinite alternate var(--e);
}
@keyframes ani {
  0% {
    transform: translate3d(0, 0, 0);
    text-shadow: 0em 0em 0 var(--back);
    color: var(--front);
  }
  30% {
    transform: translate3d(0, 0, 0);
    text-shadow: 0em 0em 0 var(--back);
    color: var(--front);
  }
  70% {
    transform: translate3d(var(--d), calc(-1 * var(--d)), 0);
    text-shadow: calc(-1 * var(--d)) var(--d) var(--back);
    color: var(--front);
  }
  100% {
    transform: translate3d(var(--d), calc(-1 * var(--d)), 0);
    text-shadow: calc(-1 * var(--d)) var(--d) var(--back);
    color: var(--front);
  }
}
h1 p span:nth-child(n),
h1 span:nth-child(n) {
  animation-delay: 1s;
}
h1 p span:nth-child(2n),
h1 span:nth-child(2n) {
  animation-delay: 1.15s;
}
h1 p span:nth-child(3n),
h1 span:nth-child(3n) {
  animation-delay: 1.3s;
}
.carousel_slider .slide {
  width: 100%;
}
.carousel_slider img {
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: cover;
  object-position: 50% 100%;
}
.slide_wrap,
.first_slide_wrap {
  height: auto;
}
.slide_wrap {
  width: 400%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  animation: carousel_slider 20s infinite;
  animation-delay: 2s;
}
@keyframes carousel_slider {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-25%);
  }
  25% {
    transform: translateX(-25%);
  }
  45% {
    transform: translateX(-50%);
  }
  50% {
    transform: translateX(-50%);
  }
  70% {
    transform: translateX(-75%);
  }
  75% {
    transform: translateX(-75%);
  }
  95% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.first_slide_wrap {
  width: 100%;
  z-index: 1;
  animation: first_carousel_slider 20s infinite;
  animation-delay: 2s;
}
@keyframes first_carousel_slider {
  0% {
    transform: translateX(100%);
  }
  75% {
    transform: translateX(100%);
  }
  95% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(0%);
  }
}
section {
  margin: 0 auto 48px;
}
section > div:first-child {
  text-align: center;
}
section > div:first-child h2 {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 36px;
}
section > div:first-child h2::after {
  content: "";
  border-bottom: solid 1px #333;
  width: 100%;
  display: block;
  animation-name: animation_loop_bar;
  animation-duration: 2.5s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}
@keyframes animation_loop_bar {
  0% {
    transform: scaleX(0);
  }
  20% {
    transform: scale(0);
  }
  80% {
    transform: scaleX(1.5);
  }
  100% {
    transform: scaleX(1.5);
  }
}
#about_item {
  display: flex;
  /* モバイル 垂直  PC 水平 */
  flex-wrap: wrap;
}
.about_items {
  width: 90%;
  margin: 0 auto;
}
#about_item_pic {
  margin-bottom: 16px;
}
#about_item_pic img {
  display: block;
  object-fit: cover;
  width: 100%;
  margin: 0 auto;
}
#about_item_pic p {
  width: 100%;
  text-align: center;
  margin-top: 32px;
}
#about_item_content div {
  margin-bottom: 32px;
}
#about_info {
  font-size: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: solid 1px #333;
}
#about_info p:nth-child(2) {
  font-size: 1rem;
}
#about_certification {
  display: flex;
  align-items: center;
  gap: 24px;
}
#about_certification p:first-child {
  display: inline;
  font-size: 1.2rem;
  writing-mode: vertical-rl;
  border: solid 1px #333;
  padding: 5px 0;
}
#about_description p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}
#works_cat {
  display: flex;
  justify-content: center;
  margin: 24px auto;
  width: 90%;
}
#works_cat li {
  padding: 2px 8px;
  border-right: solid 1px #333;
}
#works_cat li:last-child {
  border-right: none;
}
.works_list {
  width: 90%;
  margin: 32px auto;
}
.works_list h3 {
  margin-bottom: 32px;
}
.works_list h3::after {
  content: "";
  border-bottom: solid 1px #333;
  width: 100%;
  display: block;
}
.works_list h3 {
  display: block;
  width: 100%;
}
.works_list a {
  display: block;
  width: 90%;
  margin: 0 auto 64px;
  transition: 1s;
}
.works_list a:hover {
  transform: scale(1.05);
}
.works_list a ul {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}
.works_list a ul li {
  border: solid 1px #000;
  padding: 0 8px;
}
.works_list a > p {
  margin-top: 32px;
}
.works_list a img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.works_item_info {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}
.works_item_info p:first-child {
  background: linear-gradient(transparent 65%, #41fba7 35%);
}
.works_item_info p:last-child {
  background: linear-gradient(transparent 65%, #ffae18 35%);
}
.works_list a > div:last-child {
  display: block;
  margin: 32px auto 0;
  background-color: #d1e7c8;
  padding: 1rem;
}
.works_list a > div:last-child p {
  font-size: 14px;
}
.skills_items {
  display: flex;
  align-items: center;
  width: 90%;
  margin: 32px auto;
}
.skills_items img {
  width: 25%;
  margin-right: 16px;
}
.skills_items h3 {
  margin-bottom: 10px;
}
.skills_items p {
  font-size: 0.75rem;
}
footer {
  text-align: center;
  padding: 16px;
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  section {
    max-width: 1080px;
  }
  header h1 {
    width: auto;
    padding: 40px 80px;
  }
  h1 span,
  h1 p span {
    margin: 0 -0.2rem;
  }
  .about_items {
    width: 45%;
  }
  #about_item_content {
    margin-top: 100px;
  }
  .works_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    width: 100%;
  }
  .works_list a {
    width: 40%;
    margin: 0 0 64px;
  }
  #skills_list {
    display: flex;
    flex-wrap: wrap;
  }
  .skills_items {
    display: flex;
    align-items: center;
    width: 40%;
    margin: 32px auto;
  }
  .skills_items img {
    width: 20%;
    margin-right: 16px;
  }
}
@media screen and (min-width: 1024px) {
  .works_list a {
    width: 25%;
  }
}
