/* ==========
body
==========*/
.content-below {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.2s ease, opacity .8s ease;
}

/* ここでは max-height は触らない */
.content-below.is-visible {
  opacity: 1;
}
/* ==========
main-visual
==========*/
.main-visual {
  position: relative;
  height: 100vh;
  padding-top: 125px;
  overflow: hidden;
}
.mv__blur-circle {
  top: -90px;
  left: -100px;
  background-image: linear-gradient(90deg, #a7fcff, #e3fdf1, #f5dbff);
}
.mv__blur-circle--bottom {
  top: auto;
  right: -50px;
  bottom: 100px;
  left: auto;
  max-width: 500px;
  background-image: linear-gradient(90deg, #a7fcff, #6fffbcaf, #f3f391);
}
.hero__text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  font-size: 3.3vw;
  letter-spacing: .1em;

  text-wrap: nowrap;
}
.mv-writing__text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  z-index: 30;
  font-size: 32px;
  line-height: 2.1;
}
@media screen and (max-width: 768px) {
  .hero__text {
    font-size: 6vw;
  }
  .mv-writing__text {
    font-size: 5vw;
  }
  .mv__blur-circle--bottom {
    right: -20px;
    bottom: 50px;
    max-width: 200px;
  }
}

/* ==========
circle
==========*/
#app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.circle {
  position: absolute;
  top: 45%;
  left: 50%;
  z-index: 0;
  z-index: 10;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  margin: 10px 10px 10px auto;
  border-radius: 50%;
  background: linear-gradient(284deg, #f2feb6, #b3f7ff, #ffffff);
  background-size: 300% 300%;
  cursor: pointer;
  transition: 1s;
  animation: gradientShift 8s ease-in-out infinite;

  aspect-ratio: 1 / 1;
  filter: blur(3px);
}
.click-text {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-top: 150px;
  font-size: clamp(16px, 5vw, 35px);
  text-align: center;
          animation: blinking .5s ease-in-out infinite alternate;

  -webkit-animation: blinking .5s ease-in-out infinite alternate;
}
@-webkit-keyframes blinking {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes blinking {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.circle.is-animated {
  z-index: 0;
  transform: scale(11);
}

.click-text {
  opacity: 1;
  transition: opacity .8s ease;
}

.click-text.is-hidden {
  display: none !important;
}

.message {
  opacity: 0;
  position: relative;
  z-index: 9;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
  transition: opacity 2s ease;
}
.message.is-show {
  opacity: 1;
  z-index: 12;
  height: 100vh;
}
.message__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.message__sentence {
  padding-bottom: 50px;
  color: #222222;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 2;
  text-align: center;

  text-wrap: nowrap;
}
.fade-down {
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-down.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.fade-down.scroll-down.show {
  transform: translate(50%, 0);
}
@media screen and (max-width: 768px) {
  .message__sentence {
    padding-bottom: 32px;
    font-size: 16px;
  }
}

/* ==========
concept
==========*/
.concept {
  padding-block: 200px;
}
.concept__inner {
  position: relative;
}
.concept-heading__h2 {
  margin-bottom: 60px;
  font-weight: bold;
}
.concept__text {
  font-size: 20px;
  line-height: 2.83;
}
.concept__text:last-of-type {
  margin-bottom: 32px;
}

.concept .gradient__area {
  position: absolute;
  right: -26%;
  bottom: -240px;
  width: 100%;
  max-width: 800px;
  height: 800px;
}
.concept .gradient__text span {
  position: absolute;
  color: #ffffff;
  font-family: "BIZ UDPMincho", serif;
}
.concept .gradient__text01 {
  top: 60px;
  left: 20%;
  font-size: 158px;
}
.concept .gradient__text02 {
  top: 40%;
  right: 32%;
  transform: translateY(-50%);
  font-size: 108px;
}
.concept .gradient__text03 {
  bottom: 200px;
  left: 40%;
  transform: translateX(-50%);
  font-size: 128px;
}
.concept__blur-circle {
  /* 初期状態：非表示で縮小 */
  opacity: 0;
  position: absolute;
  z-index: -1;
  transform: scale(0);
  max-width: 800px;
  background-image: linear-gradient(90deg, #f5ffa7, #f8beda, #84d9d9);
  transition: transform 2s ease-out, opacity 1.6s ease-out;

  filter: blur(120px);
}
/* 表示時のアニメーション */
.concept__blur-circle.is-visible {
  opacity: 1;
  transform: scale(1);
}
@keyframes gradientShift {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
@media screen and (max-width: 870px) {
  .concept__text {
    font-size: 18px;
  }
}
@media screen and (max-width: 768px) {
  .concept {
    padding-top: 200px;
    padding-bottom: 0;
  }
  .concept__text {
    font-size: 14px;
    line-height: 1.8;
  }
  .concept .gradient__area {
    top: -60px;
    right: -16%;
    width: 100%;
    max-width: 300px;
    height: 300px;
  }
  .concept .gradient__text span {
    position: absolute;
    color: #ffffff;
    font-family: "BIZ UDPMincho", serif;
  }
  .concept .gradient__text01 {
    top: -20px;
    left: 50%;
    font-size: 15vw;
  }
  .concept .gradient__text02 {
    top: 30%;
    right: 54%;
    transform: translateY(-50%);
    font-size: 12vw;
  }
  .concept .gradient__text03 {
    bottom: 80px;
    left: 57%;
    transform: translateX(-50%);
    font-size: 13vw;
  }
  .concept__blur-circle {
  }
}

/* ==========
service
==========*/
.service {
  position: relative;
}
.service__inner {
  position: relative;
  width: 80%;
  margin: 0 auto;
}
.service__text-contents {
  max-width: 480px;
  margin-left: auto;
}
.service__text {
  margin-bottom: 32px;
  line-height: 1.6;
  letter-spacing: .15em;
}
.service .gradient__area {
  position: absolute;
  top: -100px;
  left: -4%;
  z-index: -1;
  width: 100%;
  max-width: 800px;
  height: 800px;
}
.service .gradient__text span {
  position: absolute;
  color: #ffffff;
  font-family: "BIZ UDPMincho", serif;
}
.service .gradient__text01 {
  top: 60px;
  left: 17%;
  font-size: 108px;
}
.service .gradient__text02 {
  top: 30%;
  right: 48%;
  transform: translateY(-50%);
  font-size: 78px;
}
.service .gradient__text03 {
  bottom: 390px;
  left: 28%;
  transform: translateX(-50%);
  font-size: 128px;
}
.service .gradient__text04 {
  right: 47%;
  bottom: 310px;
  transform: translateX(-50%);
  font-size: 78px;
}
.service__blur-circle {
  opacity: 0;
  position: absolute;
  z-index: -1;
  transform: scale(0);
  max-width: 500px;
  background-image: linear-gradient(
  90deg,
  #b4f0e2,
  #bec8f8,
  #38d979
  ); /* 初期状態：非表示で縮小 */
  transition: transform 2s ease-out, opacity 1.6s ease-out;

  filter: blur(120px);
}
/* 表示時のアニメーション */
.service__blur-circle.is-visible {
  opacity: 1;
  transform: scale(1);
}
@keyframes gradientShift {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.side-scroll {
  position: relative;
  z-index: 5; /* 前のセクションより前 */
  height: 100vh;
  background-color: #ffffff; /* サイトに合わせて色を設定 */
}

/* 中のラッパー類 */
.side-scroll-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.side-scroll-list-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden; /* はみ出した横を隠す */
}

/* 横に流す “トラック” 本体 */
.side-scroll-track {
  display: flex; /* ←これ超重要：中身を横並びにする */
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

/* 1ページ目（SERVICE の説明） */
.horizontal-page {
  display: flex;
  flex: 0 0 100vw; /* 幅 = 画面幅1枚ぶん */
  align-items: center;
  height: 100vh;
}

/* ul 自体も横方向に並べるコンテナにする */
.service__list {
  display: flex; /* ←これがないと li が縦に積まれる */
  list-style: none;
  height: 100vh;
  margin: 0;
  padding: 0;
}

/* 各サービスアイテム = 1画面 */
.service__item {
  display: flex;
  flex: 0 0 100vw; /* 1item = 1画面ぶんの幅 */
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 60px 10vw;
  box-sizing: border-box;
}
.service__item-image {
  width: 50%;
}
.service__item-contents {
  width: 50%;
  padding-left: 5%;
}
.service .heading__h3 {
  padding-bottom: 32px;
}
.service .heading__h3 .service-heading--ja {
  display: block;
  font-weight: normal;
}
.service .sec__inner {
  margin: 0 auto;
}
.service__btn {
  width: 350px;
  height: 64px;
}
.service__btn a {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 18px 30px;
  border: 3px solid #333333;
  border-radius: 6px;
  background: transparent;
  color: #333333;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  transition: .3s;
}
.service__btn a::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transform: scaleY(0);
  width: 100%;
  height: 100%;
  background: #333333;
  content: "";
  transition: transform ease .3s;

  transform-origin: 50% 0;
}
.service__btn a:hover {
  color: #ffffff;
}
.service__btn a:hover::before {
  transform: scaleY(1);

  transform-origin: 50% 100%;
}
@media screen and (max-width: 768px) {
  .service__inner {
    width: 100%;
  }
  .side-scroll {
    position: static;
    height: auto;
    background: transparent;
  }
  .side-scroll-container {
    display: block;
    height: auto;
  }
  .side-scroll-list-wrapper {
    position: static;
  }
  .side-scroll-track {
    display: block;
    position: static;
    height: auto;
    padding-top: 200px;
  }
  .horizontal-page {
    display: block;
    flex: none;
    height: auto;
  }

  .service__list {
    display: block;
    height: auto;
    padding: 0 16px;
  }
  .service__item {
    display: block;
    flex: none;
    height: auto;
    padding: 0;
  }
  .service__item-image, .service__item-contents {
    width: 100%;
    padding: 0;
  }
  .service__item-image img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .service .gradient__area {
    position: absolute;
    top: -95px;
    right: -10%;
    left: auto;
    z-index: -1;
    width: 100%;
    max-width: 200px;
    height: 200px;
  }
  .service__blur-circle {
    max-width: 200px;

    filter: blur(60px);
  }
  .service .gradient__text01 {
    top: -20px;
    left: 11%;
    font-size: 12vw;
  }
  .service .gradient__text02 {
    top: 60px;
    right: 38%;
    transform: translateY(-50%);
    font-size: 14vw;
  }
  .service .gradient__text03 {
    top: 40px;
    bottom: auto;
    left: 15%;
    transform: translateX(-50%);
    font-size: 15vw;
  }
  .service .gradient__text04 {
    top: 100px;
    right: 37%;
    transform: translateX(-50%);
    font-size: 12vw;
  }
}

/* ==========
works
==========*/
.works__inner {
  position: relative;
  margin-bottom: 300px;
}
.works__container {
  position: relative;
  width: 100vw;
  height: 60vh; /* ✅ ここ変更 */
  margin: 100px 0; /* セクションとして上下に余白が欲しい場合 */
  overflow: hidden;
}
.works__container::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 80%;
  background-image: linear-gradient(90deg, #ffffff, #e3fdf1, #f5dbff);
  background-size: 300% 300%;
  content: "";
  animation: gradientShift 8s ease-in-out infinite;

  filter: blur(50px);
}

.works__list {
  list-style: none;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  padding-bottom: 30px;
}

.works__item.slide {
  opacity: .9;
  position: absolute;
  width: 25%;
  min-width: 350px;
  cursor: pointer;
  transition: all 1s cubic-bezier(.25, 1, .5, 1);

  aspect-ratio: 400 / 227;
}

.works__item.slide img {
  width: 100%;
  height: 100%;
  border: 3px solid #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2);

  object-fit: cover;
}

/* 左にフォーカス */
.works__item.slide.active {
  opacity: 1 !important;
  top: 50% !important;
  left: 20% !important;
  z-index: 10 !important;
  transform: translateY(-50%) rotate(0deg) scale(1.3) !important;
}
.works__item.slide.active img {
  border-radius: 0 !important;
}

/* ページネーション */
.pagination {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 20;
  transform: translateX(-50%);

  gap: 10px;
}

.pagination button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #d0ede8;
  cursor: pointer;
  transition: background .3s;
}

.pagination button.active {
  width: 20px;
  height: 20px;
  background-color: #ccbcec;

  filter: blur(2px);
}
@media screen and (max-width: 1200px) {
  .works__container {
    height: auto;
  }
  .works__list {
    padding: 80px 0;
  }
  .works__container::before {
    filter: blur(30px);
  }
  .works__item.slide {
    opacity: 1;
    position: static;
    min-width: auto;
  }
  .slick-slide {
    transform: scale(.8);
  }
  .slick-slide.slick-active {
    transform: scale(.9);
  }
  .pagination .slick-dots {
    display: flex;
    align-items: center;
    position: static;
  }
  .slick-dots li button {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #d0ede8;
    cursor: pointer;
    transition: background .3s;
  }
  li.slick-active button {
    width: 20px;
    height: 20px;
    background-color: #ccbcec;

    filter: blur(2px);
  }
  .slick-dots li button:before {
    display: none;
  }
  .works__item.slide img {
    border-radius: 10px;
  }
}

@media screen and (max-width: 450px) {
  .works__item.slide {
    min-width: 240px;
  }
  .slick-slide {
    margin: 0;
  }
}

/* ==========
form
==========*/
.contact {
  position: relative;
}
.form__item {
  display: flex;
  align-items: flex-start;
  position: relative;
  max-width: 920px;
  margin: 0 auto;

  padding-block: 20px;
}
.form__item:not(:last-child) {
  margin-bottom: 10px;
}
.form__error {
  position: absolute;
  top: -5px;
  left: 267px;
  color: #db2f6e;
  font-size: 14px;
}
.form__title {
  display: block;
  width: 267px;
  margin-bottom: 5px;
  font-weight: bold;
}
.form__input {
  width: calc(100% - 267px);
  padding: 20px 16px;
  border: solid 1px #cbbdad;
  border-radius: 5px;
  background-color: #ffffff;
}
.form__textarea {
  width: calc(100% - 267px);
  min-height: 200px;
  padding: 20px 16px;
  border: solid 1px #cbbdad;
  border-radius: 5px;
  background-color: #ffffff;
  resize: both;
}
.form__title, .form__input {
  font-family: "Noto Sans JP", sans-serif;
}
.form__item label {
  display: flex;
  align-items: center;

  gap: 20px;
}
.form__item label::after {
  left: 100px;
  color: #db2f6e;
  font-weight: bold;
  font-size: 12px;
  content: "※必須";
}

.form__btn {
  width: 300px;
  height: 50px;
  margin: 50px auto;
  margin-top: 50px;
  line-height: 50px;
  text-align: center;
}
.form__btn button {
  display: inline-block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background-color: #db2f6e;
  color: #ffffff;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  transition: .3s;
  transition: .3s;
}
.form__btn button::before {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transform: scale(1.2);
  width: 100%;
  height: 100%;
  border: 2px solid #db2f6e;
  border-radius: 50px;
  background-color: #ffffff;
  content: "";
  transition: transform ease .3s, opacity .3s;
}
.form__btn button:hover {
  background: transparent;
  color: #db2f6e;
}
.form__btn button:hover::before {
  opacity: 1;
  transform: scale(1);
}

@media screen and (max-width: 768px) {
  .contact {
    margin-bottom: 71px;
  }
  .form__item {
    display: block;
  }
  .form__error {
    top: auto;
    bottom: 0;
    left: 0;
    font-size: 12px;
  }
  .form__input, .form__textarea {
    width: 100%;
    box-sizing: border-box;
  }
}

/* ==========
thanks.html
==========*/
.thanks__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  height: calc(100vh - 88px);
  margin: 0 auto;
}
.thanks__inner p {
  font-weight: bold;
  font-size: 24px;
  line-height: 2;
  text-align: center;
}
.thanks .hamburger {
  opacity: 1;

  pointer-events: auto;
}

/* ==========
about-us page
==========*/
.about-message .sec__text {
  font-size: 20px;
  line-height: 3.1;
  text-align: center;
}
