@keyframes sway {
  0% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(-2deg);
  }
}
li {
  list-style-type: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: "Zen Maru Gothic", serif;
  background-color: #fffbf3;
  color: hsl(35, 89%, 22%);
}
@media (min-width: 768px) {
  body {
    cursor: none;
  }
}

main {
  overflow: hidden;
}

.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fffbf3;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.splash span {
  display: inline-block;
}

@media (min-width: 768px) {
  html, body, img, * {
    cursor: none !important;
  }
  .cursor {
    position: fixed;
    width: 50px;
    height: 50px;
    background: url("../img/cursor.png") no-repeat center;
    background-size: contain;
    pointer-events: none;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 999;
  }
}
.project {
  width: 100%;
  height: auto;
  position: relative;
}
.project_item {
  margin-bottom: 8rem;
}
.project_left .top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  height: 100vh;
  padding: 1rem;
}
.project_left .top h1 {
  font-size: clamp(1rem, 3vw, 1.3rem);
  text-align: center;
  text-wrap: balance;
  line-break: strict;
  word-break: keep-all;
}
.project_left .top .logo {
  max-width: clamp(250px, 30vw, 300px);
}
.project_left_img {
  width: 100%;
}
.project_left_img .img_wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.project_left_img .img_wrap img {
  max-width: 800px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}
.project_left_img .end {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.project_left_img .end img {
  width: 70%;
}
.project_left_img.icon_01::after {
  content: "";
  position: absolute;
  width: clamp(120px, 15vw, 300px);
  aspect-ratio: 1;
  z-index: 999;
  background: url(../img/icon_01.webp) no-repeat center/contain;
  animation: sway 3s ease-in-out infinite;
  transform-origin: bottom center;
  right: 40px;
  left: auto;
  bottom: -30px;
  top: auto;
}
.project_left_img.icon_02::after {
  content: "";
  position: absolute;
  width: clamp(120px, 15vw, 300px);
  aspect-ratio: 1;
  z-index: 999;
  background: url(../img/icon_02.webp) no-repeat center/contain;
  animation: sway 3s ease-in-out infinite;
  transform-origin: bottom center;
  left: 0;
  right: auto;
  bottom: -30px;
  top: auto;
}
.project_left_img.icon_03::after {
  content: "";
  position: absolute;
  width: clamp(120px, 15vw, 300px);
  aspect-ratio: 1;
  z-index: 999;
  background: url(../img/icon_03.webp) no-repeat center/contain;
  animation: sway 3s ease-in-out infinite;
  transform-origin: bottom center;
  right: 10px;
  left: auto;
  bottom: -40px;
  top: auto;
}
.project_left_img.icon_04::after {
  content: "";
  position: absolute;
  width: clamp(120px, 15vw, 300px);
  aspect-ratio: 1;
  z-index: 999;
  background: url(../img/icon_04.webp) no-repeat center/contain;
  animation: sway 3s ease-in-out infinite;
  transform-origin: bottom center;
  right: 40px;
  left: auto;
  bottom: -35px;
  top: auto;
}
.project_left_img.icon_05::after {
  content: "";
  position: absolute;
  width: clamp(120px, 15vw, 300px);
  aspect-ratio: 1;
  z-index: 999;
  background: url(../img/icon_05.webp) no-repeat center/contain;
  animation: sway 3s ease-in-out infinite;
  transform-origin: bottom center;
  right: 40px;
  left: auto;
  bottom: -35px;
  top: auto;
}
@media (min-width: 768px) {
  .project_left_img.icon_01 {
    bottom: -70px;
  }
  .project_left_img.icon_02 {
    bottom: -70px;
  }
  .project_left_img.icon_03 {
    bottom: -60px;
  }
  .project_left_img.icon_04 {
    bottom: -80px;
  }
  .project_left_img.icon_05 {
    bottom: -40px;
  }
}
.project_right .end .link:first-of-type {
  margin-bottom: 3rem;
}
.project_right_text {
  padding: 2rem 1rem;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  text-align: center;
  text-wrap: balance;
  line-break: strict;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.project_right_text h3 {
  width: -moz-fit-content;
  width: fit-content;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  position: relative;
  margin-bottom: 2rem;
}
.project_right_text h3::after {
  content: attr(data-text);
  position: absolute;
  display: block;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  word-break: keep-all;
}
.project_right_text h3::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 50%;
  left: -15px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  z-index: -1;
  background-color: hsl(258, 40%, 92%);
}
.project_right_text h3.pink::before {
  background-color: hsl(0, 64%, 90%);
}
.project_right_text h3.green::before {
  background-color: hsl(147, 26%, 85%);
}
.project_right_text .link {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.project_right_text .link .sns {
  width: 70%;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.project_right_text .link .sns img {
  width: 30px;
  height: 30px;
  margin-left: 10px;
  display: block;
}
.project_right_text .link_btn {
  max-width: 250px;
  width: 70%;
  display: inline-block;
  padding: 16px 42px;
  margin: 2rem 1rem 0;
  border-radius: 16px;
  font-weight: bold;
  font-size: 1rem;
  background: linear-gradient(145deg, hsl(29, 77%, 93%), hsl(29, 77%, 83%));
  color: hsl(35, 89%, 22%);
  box-shadow: 8px 8px 18px hsl(29, 77%, 76%), -8px -8px 18px hsl(29, 77%, 100%);
  transition: all 0.25s ease;
}
.project_right h2 {
  padding: 0 5px 0 8px;
  background: linear-gradient(transparent 60%, #ffff84 60%);
}
@media (min-width: 768px) {
  .project_item {
    margin-bottom: 0;
  }
  .project_left {
    width: 50%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #fffbf3;
  }
  .project_left_inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  .project_left_inner .top {
    height: auto;
  }
  .project_left_img::after {
    width: clamp(130px, 15vw, 300px);
  }
  .project_right {
    width: 50%;
    height: 100vh;
    margin-left: auto;
  }
  .project_right_inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  .project_right_inner .top p {
    margin-bottom: 18px;
  }
  .project_right_text p {
    width: 90%;
  }
  .project_right_text .link_btn {
    cursor: pointer;
    transition: box-shadow 0.3s ease-in;
  }
  .project_right_text .link_btn:hover {
    box-shadow: 10px 10px 22px hsl(29, 77%, 73%), -10px -10px 22px hsl(29, 77%, 100%);
  }
  .project .right_end {
    height: auto;
    padding-top: 30vh;
  }
}
@media (min-width: 768px) and (min-width: 1024px) {
  .project .right_end {
    height: 100vh;
  }
}
@media (min-width: 768px) {
  .project .js-scroll-element .project_left {
    cursor: default;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.7s ease;
  }
  .project .js-scroll-element .project_left.is-on {
    cursor: auto;
    pointer-events: auto;
    opacity: 1;
  }
  .project .js-scroll-element .project_left.is-off {
    opacity: 0;
  }
  .project .js-scroll-element .project_left.is-absolute {
    opacity: 1;
    height: 100%;
    pointer-events: auto;
    cursor: auto;
    position: absolute;
    z-index: 1;
  }
  .project .js-scroll-element .project_left.is-absolute .project_left_inner {
    align-items: flex-end;
  }
}

.news {
  position: relative;
  margin-top: 0;
  padding: 0 1rem 5rem;
  background-color: hsl(35, 89%, 92%);
  z-index: 5;
  color: hsl(35, 89%, 22%);
  text-align: center;
}
.news .wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.news h2 {
  margin: 3rem 0;
  padding-top: 5rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: bold;
}
.news_wrap {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.news .news_box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 5rem 1rem;
  margin: 3rem 0;
}
.news .news_box .news_item {
  text-align: left;
  background-color: #fffbf3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease-in;
}
.news .news_box .news_item .news_inner {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  color: hsl(35, 89%, 22%);
  transition: opacity 0.3s ease-in;
}
.news .news_box .news_item .news_inner time {
  padding: 1rem;
  font-weight: bold;
}
.news .news_box .news_item .news_inner .title {
  padding: 0 1rem;
  font-weight: bold;
}
.news .news_box .news_item .news_inner .text {
  padding: 1rem;
}
.news .news_box .news_item .news_inner .img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  position: relative;
}
.news .news_box .news_item .news_inner .img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.news .news_box .news_item .news_inner .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease-in;
}
@media (min-width: 768px) {
  .news {
    margin-top: 50rem;
  }
}

.to-top-wrap {
  position: fixed;
  right: -20px;
  bottom: -20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}
@media (min-width: 768px) {
  .to-top-wrap {
    right: 20px;
    bottom: 20px;
  }
}
.to-top-wrap.show {
  opacity: 1;
  visibility: visible;
}
.to-top-wrap .to-top-btn {
  display: block;
  position: relative;
  width: 120px;
  height: 120px;
  color: hsl(35, 89%, 22%);
}
.to-top-wrap .circle-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}
.to-top-wrap .circle-text span {
  position: absolute;
  left: 50%;
  font-size: 12px;
  transform-origin: 0 60px;
}
.to-top-wrap .arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-left: 2px solid hsl(35, 89%, 22%);
  border-top: 2px solid hsl(35, 89%, 22%);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: pulse 2s infinite;
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.1);
  }
}

footer {
  background-color: hsl(35, 89%, 92%);
  padding-bottom: 3rem;
}
footer .logo {
  display: block;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}/*# sourceMappingURL=style.css.map */