@charset "utf-8";

/* -----------------------------------------
Opening-shutter  First-View
-------------------------------------------*/
.shutter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d5dfe7;
  z-index: 9999;
  animation: byeShutter 4s forwards;
}
.shutter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  width: 0;
  height: 1px;
  animation: shutterOpen 3s forwards;
}
#main-vanta {
  position: fixed; /* 画面に固定して動かさない */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1; /* コンテンツよりも後ろに配置 */
}
.business-name {
  display: block;
  font-size: clamp(1.75rem, 1.477rem + 1.36vw, 2.5rem);
  padding-left: clamp(0rem, -1.136rem + 5.68vw, 3.125rem);
}
.mv-name {
  font-family: var(--font-en-main);
  font-size: clamp(3.75rem, 2.841rem + 4.55vw, 6.25rem);
  position: absolute;
  top: 60px;
  left: 80px;
}
.mv-img {
  width: 55%;
  position: absolute;
  place-self: center;
  inset: 0;
}
.mv-title {
  font-family: var(--font-en-accent);
  font-size: clamp(6rem, 3.636rem + 11.82vw, 12.5rem); /*96px,200px*/
  position: absolute;
  right: 80px;
  bottom: 80px;
}
@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}
@keyframes shutterOpen {
  0% {
    width: 0;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  90% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}

/* :::::::::::::::: SP ::::::::::::::::: */
@media (max-width: 768px) {
  .mv-name {
    top: 34px;
    left: 20px;
  }
  .mv-img {
    width: 100%;
    top: 30%;
    transform: translateY(-50%);
  }
  .mv-title {
    font-family: var(--font-en-accent);
    position: absolute;
    right: 20px;
    bottom: 92px;
  }
}

/* -----------------------------------------
main-contents
-------------------------------------------*/
.all-contents {
  position: relative;
  background-color: #fff;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 100svh;
}
/* -----------------------------------------
shape
-------------------------------------------*/
.shape {
  position: relative;
}
.custom-shape-divider-bottom-1773157564 {
  position: absolute;
  top: -73px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1773157564 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 75px;
}

.custom-shape-divider-bottom-1773157564 .shape-fill {
  fill: #d5dfe7;
}

/* -----------------------------------------
about
-------------------------------------------*/
.home-about {
  width: 100%;
  background-color: var(--color-bg-gray);
  padding-top: 100px;
}
.home-about__inner {
  max-width: 80%;
  margin: 100px auto;
}
.home-about__text {
  line-height: 2;
}

/* :::::::::::::::: SP ::::::::::::::::: */
@media (max-width: 768px) {
  .home-about__inner {
    margin: 70px auto;
  }
  .home-about__text {
    line-height: 1.8;
  }
}

/* -----------------------------------------
SERVICE
-------------------------------------------*/
.home-service {
  width: 100%;
  background-color: var(--color-bg-yellow);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
/* background-img */
.home-service::before {
  max-width: 544px;
  width: 100%;
  height: 396px;
  content: "";
  background-image: url(../images/home/home-works-top.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 15%;
  right: -20px;
}
.home-service::after {
  max-width: 616px;
  width: 100%;
  height: 565px;
  content: "";
  background-image: url(../images/home/home-works-bottom.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: -2%;
  bottom: 5%;
}
.home-service__container-title {
  font-family: var(--font-en-main);
  font-size: clamp(3.75rem, 3.25rem + 2.5vw, 6.25rem);
  color: var(--color-font-gray);
  margin-top: 100px;
}
.home-service__contents {
  font-size: clamp(0.875rem, 0.8rem + 0.38vw, 1.25rem);
  line-height: 2;
  display: flex;
  flex-wrap: wrap;
  row-gap: 60px;
  margin: 100px 0 180px;
}
.home-service__contents-heading {
  font-weight: 400;
  width: 40%;
  position: relative;
  padding: 0 28px 0 24px;
}
.home-service__contents-heading::before {
  content: "";
  width: 40px;
  height: 32px;
  background: url(../images/home/accent.svg);
  position: absolute;
  top: -18px;
  left: 0;
}
.home-service__contents-text {
  width: 60%;
}
.home-service__works-heading {
  font-weight: bold;
  font-size: 28px;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
}
.home-service__works-list {
  display: flex;
  justify-content: space-around;
  gap: 40px;
}
.home-service__works-item {
  width: 33%;
}
.works-card__caption {
  margin: 16px 0 160px 8px;
}

/* :::::::::::::::: SP ::::::::::::::::: */
@media (max-width: 768px) {
  .l-service {
    padding: 160px 0;
  }
  .service__title {
    padding: 0 20px;
  }
  .home-service__container-title {
    padding: 0 20px;
  }
  .home-service__contents {
    line-height: 1.6;
    flex-direction: column;
    row-gap: 20px;
    padding: 0 20px;
    margin: 64px 0;
  }
  .home-service__contents-heading,
  .home-service__contents-text {
    width: 100%;
  }
  .home-service__contents-text {
    margin-bottom: 64px;
  }
  .home-service__works-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-inline: 20px;
  }
  .works-card__caption {
    margin-bottom: 64px;
  }
  .home-service__works-list::-webkit-scrollbar {
    display: none;
  }
  .home-service__works-item {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
  .works-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 100px;
  }
  .works-pagination__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-bg-gray);
    transition: all 0.3s ease;
    flex-shrink: 0;
  }
  .works-pagination__dot.is-active {
    background-color: var(--color-bg-black);
    transform: scale(1.3);
  }
}

/* -----------------------------------------
skills
-------------------------------------------*/
.home-skills {
  width: 100%;
  background-color: var(--color-bg-gray);
  margin: 0 auto;
}
.home-skills__container {
  display: flex;
  justify-content: space-between;
  margin: 140px auto 0;
}
.home-skills__item {
  width: 50%;
}
.home-skills__item:first-child {
  border-right: 1px solid var(--color-bg-black);
  padding-right: 5%;
}
.home-skills__item:last-child {
  padding-left: 5%;
}
.home-skills__title {
  font-family: var(--font-en-main);
  font-size: 32px;
  color: var(--color-font-white);
  position: relative;
  margin-bottom: 38px;
}
.design-icon::after {
  width: 48px;
  height: 48px;
  content: "";
  background-image: url(../images/home/skills-design-icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 108px;
  top: -13%;
}
.coding-icon::after {
  width: 47px;
  height: 36px;
  content: "";
  background-image: url(../images/home/skills-coding-icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 116px;
  top: 0;
}
.home-skills__ability {
  line-height: 1.4;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 56px;
}
.home-skills__ability-title {
  font-size: 18px;
  color: var(--color-font-white);
  white-space: nowrap; /* 文字を改行させない */
  flex-shrink: 0; /* Flexbox内で幅を削られないようにする */
}
.home-skills__text {
  margin-bottom: 44px;
}
.home-skills__level-dl {
  display: flex;
  flex-wrap: wrap;
  row-gap: 4px;
  letter-spacing: 0.04em;
}
.home-skills__level-dt {
  font-weight: 400;
  flex-basis: 40%;
}
.home-skills__level-dd {
  flex-basis: 60%;
}

/* :::::::::::::::: SP ::::::::::::::::: */
@media (max-width: 768px) {
  .home-skills__container {
    flex-direction: column;
    gap: 150px;
    margin: 120px auto 0;
  }
  .home-skills__item {
    width: 100%;
  }
  .home-skills__item:first-child {
    border-right: none;
    padding-right: 0;
  }
  .home-skills__item:last-child {
    padding-left: 0;
  }
  .home-skills__title {
    display: flex;
    justify-content: center;
    margin-bottom: 38px;
  }
  .design-icon::after {
    left: 50%;
    transform: translateX(110%);
  }
  .coding-icon::after {
    left: 50%;
    transform: translateX(130%);
  }
}

/* -----------------------------------------
message
-------------------------------------------*/
.message {
  width: 100%;
  color: var(--color-font-white);
  background-color: var(--color-bg-black);
  margin: 0 auto;
}
.message .c-section-title::after {
  background-color: var(--color-bg-white);
}
.message__text {
  width: 80%;
  margin: 140px auto 40px;
}
.message__text:nth-last-of-type(2) {
  margin: 40px auto 140px;
}
.message__signneture {
  font-family: var(--font-en-accent);
  font-size: clamp(2rem, 1.364rem + 3.18vw, 3.75rem);
  line-height: 1;
  text-align: right;
  margin-top: 74px;
}

/* :::::::::::::::: SP ::::::::::::::::: */
@media (max-width: 768px) {
  .message__text {
    margin-top: 120px;
  }
  .message__signneture {
    margin-top: 56px;
  }
}
