@media (min-width: 768px) and (max-width: 1199.98px) {
  html {
    font-size: clamp(12px, 12px + 4px * (100vw - 768px) / 432, 16px);
  }
}
@media (max-width: 767px) {
  html {
    font-size: 2.5641025641vw;
  }
}
body {
  font-size: 1rem;
  color: #333333;
  background-color: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center center;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

a {
  color: #333333;
  text-decoration: none;
  transition: all 0.4s ease;
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

address {
  font-style: normal;
}

/* Utility */
.uppercase {
  text-transform: uppercase;
}

/*==================================================
common
===================================*/
.lato {
  font-family: "Lato", sans-serif;
  font-weight: 300;
}

.wrapper {
  width: 100%;
  max-width: 1500px;
  padding-left: min(13.34vw, 200px);
  padding-right: min(13.34vw, 200px);
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.sec-ttl {
  font-family: "Lato", sans-serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.06em;
}
@media screen and (max-width: 767px) {
  .sec-ttl {
    font-size: 2.4rem;
  }
}

.TextTyping span {
  display: none;
}

.TextTyping::after {
  content: "|";
  -webkit-animation: typinganime 0.8s ease infinite;
          animation: typinganime 0.8s ease infinite;
}

@-webkit-keyframes typinganime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes typinganime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*==================================================
header
===================================*/
header {
  padding-top: calc(clamp(40px, 6.4vw, 6rem) * 0.5);
  padding-bottom: calc(clamp(40px, 6.4vw, 6rem) * 0.5);
  border-bottom: 2px solid #E3E971;
}

.header-box {
  width: 100%;
  display: flex;
  font-family: "Lato", sans-serif;
  justify-content: space-between;
  align-items: flex-end;
}

.site-ttl {
  font-weight: 300;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
}

.site-ttl_first-line,
.site-ttl_second-line {
  display: flex;
  justify-content: space-between;
}

.site-ttl_first-line span,
.site-ttl_second-line span {
  flex: 1;
  text-align: center;
}

.header-nav-pc ul {
  display: flex;
  gap: 2.5rem;
}
.header-nav-pc ul a {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
}
.header-nav-pc ul a img {
  max-width: 4.375rem;
  height: 2.6rem;
  vertical-align: text-top;
  transition: all 0.4s ease;
}
.header-nav-pc ul a:hover img {
  transform: scale(1.2);
}

.header-nav-sp {
  display: none;
}

.underline {
  position: relative;
}

.underline:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #CCCCCC;
  transition: all 0.3s;
  transform: scale(0, 1);
  transform-origin: left top;
}

.underline:hover::after {
  transform: scale(1, 1);
}

@media (max-width: 1030px) {
  header {
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 0;
  }
  .header-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-ttl {
    width: 100%;
    max-width: 600px;
    font-size: 2rem;
    row-gap: 1rem;
    margin-inline: auto;
    margin-bottom: 2rem;
  }
  .header-nav-pc {
    display: none;
  }
  .header-nav-sp {
    display: block;
    width: 100%;
    border-bottom: 1px solid #CCCCCC;
  }
  .header-nav-sp table {
    width: 100%;
  }
  .header-nav-sp td {
    width: 33.3333333333%;
    text-align: center;
    border-right: 1px solid #CCCCCC;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .header-nav-sp td:last-child {
    border-right: none;
  }
  .header-nav-sp a {
    font-size: 1.6rem;
  }
  .header-nav-sp a img {
    max-width: 2rem;
    aspect-ratio: 4.4/3;
  }
}
/*==================================================
about
===================================*/
.fadeIn {
  -webkit-animation: 1s fadeInMvImg 2s forwards;
          animation: 1s fadeInMvImg 2s forwards;
  opacity: 0;
}

@-webkit-keyframes fadeInMvImg {
  100% {
    opacity: 1;
  }
}

@keyframes fadeInMvImg {
  100% {
    opacity: 1;
  }
}
.about {
  padding-top: clamp(40px, 6.4vw, 6rem);
  padding-bottom: clamp(40px, 6.4vw, 6rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.about .sec-ttl {
  margin-bottom: 4rem;
}
.about figure {
  width: 80%;
  margin-left: auto;
  position: relative;
}
.about figure:before {
  content: "";
  width: 130%;
  height: 57%;
  border-radius: 50% 50% 47% 53%/55% 31% 69% 45%;
  background-color: #E3E971;
  position: absolute;
  bottom: 0;
  left: -30%;
  z-index: -1;
}

.about-body {
  padding-left: 4rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
}

.about-body-ttl {
  display: flex;
  flex-direction: column;
}
.about-body-ttl .en {
  font-size: 2rem;
  display: block;
  border-bottom: 2px solid #E3E971;
}
.about-body-ttl .ja {
  font-size: 1.8rem;
  font-weight: 400;
}

.about-body_text {
  margin-top: auto;
}

@media screen and (max-width: 767px) {
  .about {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
  .about .sec-ttl {
    margin-bottom: 0;
  }
  .about figure {
    width: 55%;
  }
  .about-body {
    padding-left: 0;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
  }
  .about-body-ttl {
    margin-bottom: 1rem;
  }
  .about-body-ttl .en {
    font-size: 2rem;
  }
  .about-body-ttl .ja {
    font-size: 1.6rem;
  }
  .about-body_text {
    font-size: 1.4rem;
  }
}
/*==================================================
skills
===================================*/
#skills {
  padding-top: clamp(40px, 6.4vw, 6rem);
  padding-bottom: clamp(40px, 6.4vw, 6rem);
}
#skills .sec-ttl {
  margin-bottom: 4rem;
}

.skill-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
}

.skill-card {
  border: 1px solid #CCCCCC;
  border-radius: 5px;
  padding: 2rem 1.6rem 1.6rem;
}
.skill-card figure img {
  height: 90px;
  display: block;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}
.skill-card figure figcaption {
  line-height: 1.8;
}

.skill-card_ttl {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.skill-card_ttl .ja {
  font-size: 2rem;
  font-weight: 400;
  display: block;
}
.skill-card_ttl .en {
  font-weight: 300;
}

@media screen and (max-width: 767px) {
  .skill-card-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
  .skill-card {
    padding: 2rem 4rem 1.6rem;
  }
  .skill-card figure img {
    height: 70px;
  }
  .skill-card figure figcaption {
    font-size: 1.6rem;
  }
  .skill-card_ttl {
    font-size: 2rem;
  }
}
/*==================================================
works
===================================*/
#works {
  padding-top: clamp(40px, 6.4vw, 6rem);
  padding-bottom: clamp(40px, 6.4vw, 6rem);
}
#works .sec-ttl {
  margin-bottom: 4rem;
}

.is-hidden {
  display: none;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4rem;
}

.work-thumb {
  border: 1px solid #CCCCCC;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.2s ease;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-thumb img {
  width: 100%;
  aspect-ratio: 1.2/1;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

.work-thumb:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.work-thumb .cap {
  display: block;
  font-size: 0.8em;
  padding: 0 1.6rem 1.6rem;
}

@media screen and (max-width: 767px) {
  .works-grid {
    gap: 2rem;
  }
  .work-thumb {
    aspect-ratio: 1.6/1;
  }
  .work-thumb img {
    aspect-ratio: 2/1;
  }
  .work-thumb .cap {
    font-size: 1.4rem;
    padding: 0 1.6rem 1rem;
  }
}
/*==================================================
footer
===================================*/
footer {
  padding-top: clamp(40px, 6.4vw, 6rem);
  padding-bottom: calc(clamp(40px, 6.4vw, 6rem) / 2);
  text-align: center;
}

footer p {
  display: block;
  width: 88%;
  max-width: 510px;
  font-size: 1rem;
  line-height: 1.8;
  margin-inline: auto;
  margin-bottom: 7em;
}
@media screen and (max-width: 767px) {
  footer p {
    font-size: 1.4rem;
  }
}

.mail-link {
  position: fixed;
  display: flex;
  width: 12rem;
  height: 6rem;
  -webkit-clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
          clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
  background-color: #E3E971;
  bottom: 2rem;
  right: 0;
  background-position: center center;
  transform: translateX(100%);
  transition: all 0.6s ease;
}

.mail-link.show {
  transform: translateX(0%);
}

.mail-icon {
  display: block;
  background-size: 4rem;
  width: 4rem;
  height: 3rem;
  background-image: url(../img/icon-mail_white.png);
  margin: auto;
}

.mail-icon:hover {
  transform: scale(1.2);
}
/*# sourceMappingURL=style.css.map */