/* top-page */
/* ========
kv
===========*/
.top-kv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.kv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
.kv__img img,
.kv__img source {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 769px) {
  .kv__img img {
    animation: zoomOut 3s ease-out forwards;
  }
}
@keyframes zoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.kv__title {
  position: absolute;
  width: 365px;
  top: 45%;
  left: 10%;
  z-index: 3;
}
.kv__title img,
.kv__title source {
  width: 100%;
  height: auto;
  display: block;
}
/* スクロールサイン全体 */
.scrollbar__container {
  position: absolute;
  left: 20px;
  bottom: 30px;
  width: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
/* 縦書きテキスト */
.scrollbar__text {
  display: block;
  writing-mode: vertical-lr;
  text-align: center;
  letter-spacing: 1px;
  color: var(--main-color);
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 10px; /* 縦線との間隔 */
}
/* 縦線 */
.scrollbar {
  position: relative;
  width: 1px;
  height: 130px;
  background: #3c3a36;
}
/* 丸のアニメーションを縦線中央から開始 */
.scrollbar {
  position: relative;
  width: 1px;
  height: 130px;
  background: #3c3a36;
}
/* 丸 */
.scrollbar::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3c3a36;
  left: 50%;
  top: 40%;
  transform: translateX(-50%) translateY(0);
  opacity: 0.3;
  animation: circle-fall 2.5s ease-out infinite;
}
/* 丸の落下 + 途中で消える */
@keyframes circle-fall {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.2; /* 中央スタートは薄め */
  }
  40% {
    opacity: 1; /* 中間で最大濃度 */
  }
  85% {
    transform: translateX(-50%) translateY(60px); /* 下端の少し手前で位置固定 */
    opacity: 0; /* 縦線を抜ける前に消える */
  }
  100% {
    transform: translateX(-50%) translateY(60px);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .kv__title {
    width: 300px;
  }
}
@media (max-width: 768px) {
  .top-kv {
    height: auto;
    min-height: 500px;
  }
  .kv__img img,
  .kv__img source {
    width: 100%;
    height: auto; /* 縦長画像に合わせる */
    object-fit: cover;
  }
  .kv__img img {
    animation: zoomOut 3s ease-out forwards;
  }
  .kv__title {
    top: 17%;
    left: 50%;
    transform: translateX(-50%);
    width: 66%;
  }
  .scrollbar__container {
    display: none;
  }
}
/* nav縦書き */
.nav {
  position: absolute;
  top: 10%;
  left: 80px;
  z-index: 20;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.nav__list {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
/* 初期状態：上に少し浮かせておく */
.nav__item {
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
  will-change: opacity, transform;
  writing-mode: vertical-rl;
}
/* 表示時 */
.nav.nav--animate .nav__item {
  opacity: 1;
  transform: translateY(0);
}
/* 順番に降りてくるディレイ（上から順） */
.nav.nav--animate .nav__item:nth-child(1) {
  transition-delay: 0.1s;
}
.nav.nav--animate .nav__item:nth-child(2) {
  transition-delay: 0.35s;
}
.nav.nav--animate .nav__item:nth-child(3) {
  transition-delay: 0.6s;
}

.nav__item a {
  text-orientation: upright;
  font-size: 1.6rem;
  letter-spacing: 4px;
  text-decoration: none;
}
.nav__item a:hover {
  opacity: 0.6;
}
.nav.is-hidden {
  opacity: 0;
}
@media (max-width: 768px) {
  .nav {
    display: none;
  }
}

/* ========
concept
===========*/
.concept-inner {
  position: relative;
  z-index: 2;
  padding-top: 160px;
}
.concept__title img {
  width: 316px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.concept-hero__text {
  margin-top: 120px;
  text-align: center;
  font-size: 1.6rem;
  line-height: 3;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.1em;
}
p.concept__text {
  text-align: left;
  background-color: #fff;
  background-image:
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 50%,
      #fff 50%,
      #fff 100%
    ),
    linear-gradient(180deg, #aada65 1px, transparent 1px);
  background-size:
    11px 100%,
    100% 3.4em;
  line-height: 3.3em;
  padding-bottom: 1px;
  transform: scaleY(-1); /* これで上下逆に表示される */
}
p.concept__text span {
  display: inline-block; /* 必須：transformを適用するため */
  transform: scaleY(-1); /* テキストを元に戻す */
}
.concept .lavender-deco--left {
  bottom: 180px;
  left: 0;
}
.concept .lavender-deco--left img {
  width: 100px;
  transform: rotate(-7deg);
}
.concept .lavender-deco--right-1 {
  bottom: -120px;
  right: 0;
}
.concept .lavender-deco--right-1 img {
  transform: rotate(19deg);
}

@media (max-width: 768px) {
  .concept__title img {
    width: 210px;
  }
}
@media (max-width: 340px) {
  .concept__title img {
    width: 160px;
  }
}
@media (max-width: 1024px) {
  .concept .lavender-deco--left {
    bottom: auto;
    top: 195px;
  }
  .concept .lavender-deco--left img {
    width: 86px;
  }
}
@media (max-width: 768px) {
  .concept .lavender-deco--left {
    left: 20px;
  }
  .concept .lavender-deco--left img {
    width: 72px;
  }
  .concept .lavender-deco--right-1 {
    right: 20px;
  }
}

/* ========
works
===========*/
/* heading */
.top-works .heading::before {
  background-image: url(../img/text-deco-InBloom.svg);
}
.c-list {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  padding: 0;
  margin: 0 auto;
  row-gap: 160px;
  position: relative;
  z-index: 2;
}
.c-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.c-list__item:nth-child(even) {
  flex-direction: row-reverse;
}
.c-list__img {
  aspect-ratio: 500 / 375;
  width: 50%;
  box-shadow: 0px 0px 42px 8px rgba(0, 0, 0, 0.1);
}
.c-list__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-list__info {
  width: 43%;
}
.category {
  font-size: 1.4rem;
  color: #ae86de;
  transition: color 0.5s ease;
}
.category:hover {
  opacity: 0.6;
}
.c-list__info h3 {
  font-size: 3rem;
}
p.c-list__text {
  margin-top: 24px;
  font-size: 1.8rem;
}
.item__label {
  font-size: 1.4rem;
  color: var(--sub-color);
}
/* ボタン全体 */
.common-btn {
  text-align: right;
  margin-top: 30px;
}
/* テキスト部分 */
.common-btn a {
  position: relative;
  font-size: 1.6rem;
  padding-right: 80px; /* ← 丸と線を近づけるため少し縮められる */
  display: inline-block;
  white-space: nowrap;
}
/* ■ 丸（before）*/
.common-btn a::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ceb6eb;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.4s ease;
  z-index: 1;
}
.common-btn.green-btn a::before {
  background: #aada65;
}
/* ■ 線（after）*/
.common-btn a::after {
  content: "";
  position: absolute;
  width: 45px;
  height: 1px;
  background: #3c3a36;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.4s ease;
  z-index: 2;
}
.common-btn a:hover::before {
  right: -10px;
}
.common-btn a:hover::after {
  right: 10px;
}
.common-btn a:hover {
  opacity: 1;
}
.common-btn a .btn-text {
  transition: opacity 0.6s ease;
}
.common-btn a:hover .btn-text {
  opacity: 0.6;
}
@media (max-width: 330px) {
  .common-btn {
    text-align: center;
  }
  .common-btn a {
    font-size: 1.4rem;
    padding-right: 60px;
  }
}

.list-btn {
  display: flex;
  justify-content: center;
  margin-top: 180px;
}
.list-btn a {
  position: relative;
  display: flex;
  justify-content: center;
  width: clamp(140px, 40%, 200px);
  align-items: center;
}
.list-btn a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: clamp(50px, 13vw, 80px);
  height: clamp(50px, 13vw, 80px);
  border: 1px solid #ceb6eb;
  border-radius: 50%;
}
.list-btn a span {
  position: relative;
  z-index: 2;
  transition: opacity 0.6s ease;
}
.list-btn a:hover span {
  opacity: 0.6;
}
.list-btn a:hover::before {
  transform: translateY(-50%) scale(1.1);
  transition: transform 0.3s ease;
}
.top-works .lavender-deco--left {
  bottom: 522px;
}
.top-works .lavender-deco--left img {
  transform: rotate(-30deg) scaleX(-1);
}
@media (max-width: 1100px) {
  .c-list__info h3 {
    font-size: 2.7rem;
  }
  .top-works .lavender-deco--left {
    bottom: 588px;
  }
}
@media (max-width: 420px) {
  .c-list__info h3 {
    font-size: 2.2rem;
  }
  p.c-list__text {
    font-size: 1.6rem;
  }
  .item__label {
    font-size: 1.2rem;
  }
}

@media (max-width: 991px) {
  .c-list__item {
    flex-direction: column;
    row-gap: 40px;
  }
  .c-list__item:nth-child(even) {
    flex-direction: column; /* row-reverse解除 */
  }
  .c-list__img,
  .c-list__info {
    width: 100%;
  }
  .top-works .lavender-deco--left {
    bottom: 465px;
    left: 0;
  }
}
@media (max-width: 768px) {
  .c-list {
    gap: 100px;
  }
  .top-works .lavender-deco--left {
    bottom: 463px;
    left: 40px;
  }
}
@media (max-width: 689px) {
  .top-works .lavender-deco--left {
    bottom: 500px;
    left: 40px;
  }
}
@media (max-width: 490px) {
  .top-works .lavender-deco--left {
    bottom: 517px;
  }
}
@media (max-width: 472px) {
  .top-works .lavender-deco--left {
    bottom: 576px;
  }
}
@media (max-width: 320px) {
  .top-works .lavender-deco--left {
    bottom: 611px;
  }
}
@media (max-width: 480px) {
  .list-btn a::before {
    transform: translate(-20%, -50%);
  }
}

/* ========
about
===========*/
/* heading */
.about .heading::before {
  background-image: url(../img/text-deco-MyStory.svg);
}
.about-area {
  display: flex;
  position: relative;
  align-items: center;
  z-index: 2;
  box-shadow: 0px 0px 42px 8px rgba(0, 0, 0, 0.1);
  align-items: stretch;
}
.about__img {
  aspect-ratio: 500 / 400;
  width: 50%;
  overflow: hidden;
}
.about__img img {
  height: 100%;
  object-fit: cover;
}
.about__info {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f8f1ec;
  padding: 36px;
}
h3.about-info__name-ja {
  font-size: 2.4rem;
  text-align: center;
  line-height: 1;
  margin-bottom: 16px;
}
span.about-info__name-en {
  display: block;
  font-size: 1.2rem;
  color: #ae86de;
  text-align: center;
}
.about__text {
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 30px;
}
@media (max-width: 899px) {
  .about__text {
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {
  .about-area {
    flex-direction: column;
  }
  .about_img {
    aspect-ratio: auto;
  }
  .about__img,
  .about__info {
    width: 100%;
  }
  .about__img img {
    width: 100%;
    height: auto;
  }
  .about__info {
    padding: 50px 40px;
  }
}
/* ラベンダーdeco */
.lavender-deco--about-lavender img {
  width: 234px;
}
.lavender-deco.lavender-deco--about-lavender {
  top: -110px;
  left: -121px;
  animation: rotate-slow 30s linear infinite;
  transform-origin: center;
}
@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* works-page */
/* ===============================
Works page layout
================================ */

/* ページ全体の基準 */
.page-content {
  position: relative;
  margin-bottom: 200px;
}

/* -------------------------------
縦書きページタイトル（グリッド外）
-------------------------------- */
.page-title-wrap {
  position: absolute;
  top: 40px;
  left: 60px;
  z-index: 10;
}

.page-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.page-title::before {
  content: "";
  display: block;
  width: 20px;
  height: 60px;
  background-image: url(../img/verticaltext-InBloom.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.js-scroll-title.is-show::before {
  opacity: 1;
  transform: translateY(0);
}

.js-scroll-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-0.5em);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 0.1em;
}

.js-scroll-title.is-show span {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .page-title-wrap {
    display: none;
  }
}

/* -------------------------------
Works レイアウト（aside + main）
-------------------------------- */
.works-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 200px 58px 0;
  margin-bottom: 200px;
}

/* -------------------------------
左サイドカテゴリ（追従）
-------------------------------- */
.side-area {
  position: sticky;
  top: 100px;
  align-self: start;
  z-index: 2;
}

/* カテゴリリスト */
.works-category__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

/* カテゴリ項目フォントサイズ */
.works-category li {
  font-size: 1.4rem;
}

/* -------------------------------
実績一覧
-------------------------------- */
.works-list__wrap {
  max-width: 880px;
  position: relative;
  z-index: 1;
}

/* 2カラム・gap指定 */
.works__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}

.works-category__item a {
  position: relative;
  display: inline-block;
  padding-left: 18px;
  transition: color 0.3s ease;
  opacity: 1;
  transform: translateX(0);
  transition:
    color 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 黒丸 */
.works-category__item a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--main-color);
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  transition-delay: 0.05s;
}

/* hover時 */
.works-category__item a:hover {
  color: var(--sub-color);
  transform: translateX(12px);
}

/* 今のページ（常に適用） */
.works-category__item.is-active a {
  transform: translateX(12px);
}

/* hover時 */
.works-category__item a:hover::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

/* 今のページ（常に表示） */
.works-category__item.is-active a::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.works-category__item a.is-active::before {
  opacity: 1;
  transform: translateX(0);
}

.case-studies {
  position: relative;
  z-index: 3;
}

/* =========================
works list
========================= */
.works__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.works__item {
  list-style: none;
  margin-bottom: 40px;
}

.works__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.case-item__img {
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 0 26px 4px rgba(0, 0, 0, 0.1);
}

.case-item__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.case-item__img:hover img {
  transform: scale(1.05);
}

.works__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-item__title {
  margin: 0;
  line-height: 1.4;
}

.case-item__title:hover {
  opacity: 0.6;
}

.item__label {
  display: block;
  margin: 8px 0 0;
}

.works__category {
  white-space: nowrap;
}

.works__category .category {
  font-size: 0.85em;
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  .works-layout {
    grid-template-columns: 1fr;
    padding: 200px 50px 0;
  }

  .side-area {
    position: static;
    margin-bottom: 100px;
    position: static;
    margin-left: auto;
    margin-right: 16px;
    text-align: right;
  }
  .works-category__list {
    align-items: flex-end;
  }
  .works__list {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 768px) {
  .works-layout {
    padding: 200px 30px 0;
  }
}
@media screen and (max-width: 550px) {
  .works-layout {
    padding: 200px 20px 0;
  }
}

/* ========
canva
===========*/
.canva-templates__inner {
  padding: 0 40px;
}

#canva-templates .heading {
  margin-bottom: 130px;
  --deco-x: clamp(-250px, -28vw, -120px);
}
#canva-templates .heading::before {
  background-image: url(../img/text-deco-FromMyHands.svg);
  width: clamp(160px, 20vw, 202px);
  height: clamp(38px, 5vw, 47px);
}
.canva-templates__description {
  display: flex;
  justify-content: center;
  margin-bottom: 120px;
  position: relative;
  z-index: 2;
}

.canva-templates__description-inner {
  text-align: left;
  max-width: 700px;
}

.canva-templates__description-inner p {
  margin: 0 0 1em;
}

/* canva-slider */
.canva-slider {
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  overflow: hidden;
}
.canva-slide img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.1);
}
.canva-slide {
  display: inline-block;
  width: 260px;
  margin-right: 30px;
  padding: 10px;
}

#canva-templates .blur-circles--bottom-left .purple-circle {
  bottom: 82px;
}
#canva-templates .blur-circles--bottom-left .green-circle {
  bottom: 75px;
}
#canva-templates .blur-circles--bottom-left .pink-circle {
  bottom: -76px;
}

#canva-templates .list-btn a {
  white-space: nowrap;
}

/* ========================
works-banner-page
===========================*/
.c-works-kv {
  max-width: 1000px;
  margin: 0 auto 200px;
  width: 90%;
}

.c-works-kv__wrap {
  display: flex;
  justify-content: center;
  align-items: end;
  height: 100vh;
  gap: 60px;
}
.c-works__text {
  flex: 0 0 32%;
  padding-bottom: 90px;
}
.c-works-kv__img {
  flex: 1;
  min-width: 420px;
  box-shadow: 0px 0px 42px 8px rgba(0, 0, 0, 0.1);
}
.c-works-kv__img img {
  width: 100%;
  height: auto;
  display: block;
}
.c-works__title {
  font-size: clamp(1.8rem, 1.8rem + 1.5vw, 3.2rem);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .c-works-kv__wrap {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding-top: clamp(40px, 14vw, 140px);
    gap: 30px;
  }
  .c-works-kv {
    margin-bottom: 180px;
  }
  .c-works-kv__img {
    width: 100%;
    max-width: 640px;
    min-width: unset;
    order: 1;
  }

  .c-works__text {
    width: 100%;
    max-width: 640px;
    order: 2;
    padding-bottom: 0;
  }
}

/* vision */
#vision .heading::before {
  background-image: url(../img/text-deco-Vision.svg);
}
.section-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  z-index: 1;
}
.section-text {
  font-size: 2rem;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .section-text {
    font-size: 1.6rem;
  }
}

/* visual */
.c-works-visual__area .lavender-deco--left {
  left: 60px;
  bottom: -68px;
}
.c-works-visual__area .lavender-deco--left img {
  transform: rotate(-16deg);
}
.c-works-visual__area .blur-circles--bottom-left .purple-circle {
  bottom: -204px;
}
.c-works-visual__area .blur-circles--bottom-left .green-circle {
  bottom: -211px;
}
.c-works-visual__area .blur-circles--bottom-left .pink-circle {
  bottom: -362px;
}

@media (max-width: 620px) {
  .c-works-visual__area .lavender-deco--left {
    left: 30px;
  }
}

/* process */
#process .heading::before {
  background-image: url(../img/text-deco-Process.svg);
}
.c-info__item {
  display: flex;
  align-items: center;
  position: relative;
  padding: 40px 0;
  gap: 80px;
}
.c-info__item:first-child {
  padding-top: 0;
}
.c-info__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    #aada65 0,
    #aada65 11px,
    /* 点の太さ */ transparent 1px,
    transparent 18px
  );
}
.c-info__title {
  width: 127px;
  flex-shrink: 0;
  font-size: 1.4rem;
}
.c-info__text {
  flex: 1;
  line-height: 1.8;
  letter-spacing: 3px;
}
#process .lavender-deco--right-2 {
  right: 34px;
  bottom: -117px;
}
#process .lavender-deco--right-2 img {
  transform: rotate(25deg);
}

@media (max-width: 768px) {
  .c-info__item {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* point */
#point .heading::before {
  background-image: url(../img/text-deco-Point.svg);
}

#point .lavender-deco--left-2 {
  bottom: -130px;
}

#point .lavender-deco--left-2 img {
  transform: rotate(-45deg);
}

/* review */
#review .heading::before {
  background-image: url(../img/text-deco-Review.svg);
}

.review__item {
  display: block;
}
.review__title {
  font-size: 2.4rem;
  margin-bottom: 40px;
}
.review__text {
  font-size: 1.8rem;
  line-height: 1.8;
  letter-spacing: 3px;
}

@media (max-width: 768px) {
  .review__title {
    font-size: 2rem;
  }
  .review__text {
    font-size: 1.6rem;
  }
}

/* next-works */
.next-works__wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.next-works__area {
  position: relative;
  z-index: 1;
  max-width: 550px;
  margin: 0 auto;
}
.next-label {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1;
  transform: translateY(0);
  transition: transform 0.35s ease;
}
.next-label::before,
.next-label::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--main-color);
  margin: 0 16px;
}
.next-label::before {
  margin-right: 30px;
  transform: rotate(55deg);
}
.next-label::after {
  margin-left: 30px;
  transform: rotate(-55deg);
}
.next-works__link:hover .next-label {
  transform: translateY(-8px);
  transition-delay: 0.12s;
}
.next-works__img {
  width: 100%;
  overflow: hidden;
  box-shadow: 0px 0px 42px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.next-works__link:hover .next-works__img {
  transform: translateY(-6px);
}
.next-works__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.next-works__img,
.next-label {
  will-change: transform;
}

@media (max-width: 768px) {
  .next-label {
    font-size: 1.6rem;
  }
  .next-label::before,
  .next-label::after {
    width: 18px;
  }
}

/* ========================
works-card-page
===========================*/
.works-card .c-works-visual {
  width: clamp(220px, 70vw, 540px);
}

/* ========================
about-page
===========================*/
.about-kv__title {
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 10px;
}
.about-kv__name-en {
  display: block;
  font-size: 1.4rem;
  color: #ae86de;
  margin-bottom: 30px;
}

.about-kv {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 120px;
  padding: 0 40px;
  box-sizing: border-box;
  margin-bottom: 320px;
}

.about-kv__wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.about-kv__text {
  max-width: 400px;
  margin-bottom: -120px;
}

.about-kv__text-desc {
  font-size: 2rem;
  line-height: 2.4;
  margin-top: 0.5em;
}

.about-kv__text-desc:first-child {
  margin-top: 0;
}

.about-kv__img {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  box-shadow: 0px 0px 42px 8px rgba(0, 0, 0, 0.1);
}

.about-kv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  object-position: center 80%;
}

@media screen and (max-width: 1024px) {
  .about-page .page-title-wrap {
    display: block;
  }
}
@media screen and (max-width: 508px) {
  .about-page .page-title-wrap {
    display: none;
  }
}
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .about-kv {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    gap: 100px;
    padding: 40px 20px;
  }

  .about-kv__img {
    order: -1;
    align-self: center;
    width: clamp(250px, 60%, 360px);
    height: auto;
    margin-left: 260px;
  }

  .about-kv__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .about-kv__wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    text-align: center;
  }

  .about-kv__text {
    text-align: left;
    max-width: 100%;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .about-kv__title {
    font-size: 2rem;
  }
  .about-kv__name-en {
    font-size: 1.2rem;
  }
  .about-kv {
    flex-direction: column;
    align-items: stretch;
    gap: 100px;
    height: auto;
    padding: 40px 40px 0;
    margin-bottom: 160px;
  }

  .about-kv__img {
    order: -1;
    margin-left: auto;
    margin-right: 0;
    width: clamp(200px, 70vw, 330px);
    height: auto;
    flex: 0 0 auto;
  }

  .about-kv__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .about-kv__wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }

  .about-kv__text {
    text-align: left;
    max-width: 100%;
    margin-bottom: 0;
  }
  .about-kv__text-desc {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 460px) {
  .about-kv__img {
    margin-right: auto;
  }
}
/* strengths */
#strengths .heading::before {
  background-image: url(../img/text-deco-Strengths.svg);
}
.c-list__header {
  display: flex;
  align-items: baseline;
  gap: 30px;
}
.strengths__title {
  font-size: 3rem;
  color: #ae86de;
}
.strengths__title--coding {
  color: #aada65;
}

.c-list__tools {
  font-size: 1.2rem;
}

.strengths__img {
  position: relative;
}
.strengths__item .lavender-deco {
  position: absolute;
}

.strengths__item .lavender-deco--left {
  bottom: -50px;
  left: 20px;
}
.strengths__item .lavender-deco--right-3 {
  bottom: -80px;
  right: 20px;
}
.strengths__item .lavender-deco--left-2 {
  bottom: -68px;
  left: 20px;
}

.strengths__item .lavender-deco img {
  width: clamp(70px, 12vw, 100px);
}

.strengths .blur-circles--bottom-left .purple-circle {
  bottom: 180px;
}
.strengths .blur-circles--bottom-left .green-circle {
  bottom: 173px;
}
.strengths .blur-circles--bottom-left .pink-circle {
  bottom: 22px;
}

.strengths .lavender-deco--left img {
  transform: rotate(-18deg);
}

.strengths .lavender-deco--right-3 img {
  transform: rotate(26deg);
}

.strengths .lavender-deco--left-2 img {
  transform: rotate(-45deg);
}

@media screen and (max-width: 500px) {
  .c-list__header {
    flex-direction: column;
    gap: 0;
  }
}

/* ========================
contact-page
===========================*/
.page-kv {
  position: relative;
  padding: 140px 40px;
  background-color: #f8f1ec;
}
.kv-heading {
  position: relative;
  z-index: 2;
}
.kv-heading h1 {
  font-size: clamp(2.8rem, 4vw, 4rem);
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-align: center;
  padding-top: 36px;
}

.contact-kv .kv-heading:before {
  content: "";
  background-image: url(../img/text-deco-ConnectwithMe.svg);
  width: clamp(160px, 26vw, 240px);
  height: clamp(36px, 6vw, 55px);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-80%) translateY(-0.4em);
  background-repeat: no-repeat;
  background-size: contain;
}
.contact {
  position: relative;
}
.contact-intro {
  max-width: 560px;
  margin: 114px auto 136px;
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
}
.contact-intro__text {
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem);
  text-align: left;
  line-height: 2.2;
}
.form-item label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(1.6rem, 2vw, 1.8rem);
}
.form-item label[data-required="true"]::after {
  content: "必須";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  line-height: 1.2;
  color: #fff;
  background-color: #ae86de;
  border-radius: 50px;
  white-space: nowrap;
}

.contact-form {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  z-index: 1;
}
.form-item {
  position: relative;
  margin-bottom: 32px;
}
.form-item input,
.form-item textarea {
  width: 100%;
  border: none;
  padding: 42px 0 32px;
  font-size: 1.6rem;
  background: transparent;
  outline: none;
}
.form-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    #aada65 0,
    #aada65 11px,
    transparent 11px,
    transparent 18px
  );
}

.form-item input::placeholder,
.form-item textarea::placeholder {
  color: #afaead;
  line-height: 1.6;
}
.form-item textarea {
  min-height: 160px;
  resize: vertical;
}

/*デフォルトのスタイルを無効化する*/
input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
span.wpcf7-spinner {
  display: none;
}

.wpcf7-submit {
  background: none;
  font-size: 2rem;
  color: #fff;
}
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: #3c3a36 !important;
  transition: background-color 5000s ease-in-out 0s; /* autofill 背景の黄色を無効化 */
}

.contact .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  max-width: 248px;
  height: 60px;
  margin: 160px auto 0;
  background-color: #ae86de;
  line-height: 60px;
}
.contact .btn button {
  background: none;
  font-size: 2rem;
  color: #fff;
}
.contact .btn::after {
  content: "";
  position: absolute;
  height: 1px;
  background-color: #fff;
  left: calc(50% + 80px);
  width: calc(50% - 70px);
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.contact .btn:hover::after {
  transform: translateY(-50%) scaleX(1);
}
.wpcf7-submit:hover {
  opacity: 0.6;
}

.form-note {
  font-size: 1.4rem;
  margin-top: 40px;
  line-height: 1.7;
}

.contact .blur-circles--bottom-left .purple-circle {
  bottom: 208px;
}
.contact .blur-circles--bottom-left .green-circle {
  bottom: 201px;
}
.contact .blur-circles--bottom-left .pink-circle {
  bottom: 50px;
}

.contact .lavender-deco--right-3 {
  top: 550px;
  right: 70px;
}
.contact .lavender-deco--right-3 img {
  transform: rotate(19deg);
}

.contact .lavender-deco--left {
  bottom: 98px;
  left: 70px;
}

/* エラーメッセージ */
.form-item .error-message {
  color: #ae86de;
  font-size: 1.4rem;
  margin-top: 8px;
  font-weight: 500;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1024px) {
  .contact .lavender-deco--left {
    left: 30px;
  }
}
@media screen and (max-width: 768px) {
  .contact .lavender-deco--right-3 {
    right: 40px;
  }
}

.grecaptcha-badge {
  visibility: hidden; /* 画面上のreCAPTCHAのアイコンを非表示にする */
}
.recaptcha-text {
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.6;
  background-color: #ae86de;
  color: #fff;
  padding: 0 20px;
}

/* ========================
thanks-page
===========================*/
.thanks-kv .kv-heading:before {
  content: "";
  background-image: url(../img/text-deco-Thankyou.svg);
  width: clamp(160px, 26vw, 240px);
  height: clamp(36px, 6vw, 55px);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-80%) translateY(-0.4em);
  background-repeat: no-repeat;
  background-size: contain;
}
.thanks {
  position: relative;
}
.thanks__text {
  position: relative;
  margin-top: 120px;
  text-align: center;
  font-size: 1.6rem;
  line-height: 3;
  max-width: 695px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.1em;
  z-index: 1;
}
.thanks__message {
  text-align: left;
  font-size: clamp(1.6rem, 0.9rem + 2vw, 2.2rem);
  background-color: #fff;
  background-image:
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 50%,
      #fff 50%,
      #fff 100%
    ),
    linear-gradient(180deg, #aada65 1px, transparent 1px);
  background-size:
    11px 100%,
    100% 3.4em;
  line-height: 3.3em;
  padding-bottom: 1px;
  transform: scaleY(-1);
}
.thanks__message span {
  display: inline-block;
  transform: scaleY(-1);
}
.thanks .blur-circles--bottom-left .purple-circle {
  bottom: 178px;
}
.thanks .blur-circles--bottom-left .green-circle {
  bottom: 171px;
}
.thanks .blur-circles--bottom-left .pink-circle {
  bottom: 20px;
}
.thanks__lavender-deco {
  bottom: 150px;
  left: 0;
}
.thanks__logo {
  width: 100%;
  text-align: right;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.thanks__logo img {
  width: clamp(180px, 20vw, 200px);
}

@media screen and (max-width: 1024px) {
  .thanks__lavender-deco {
    bottom: 120px;
    right: 0;
    left: auto;
  }
  .thanks__lavender-deco img {
    transform: scale(-1, 1);
  }
  .thanks__logo {
    text-align: center;
    margin-top: 80px;
  }
}
@media screen and (max-width: 768px) {
  .thanks__lavender-deco {
    bottom: 160px;
    right: 20px;
  }
}

/* ========================
404-page
===========================*/
.notfound-kv .kv-heading:before {
  content: "";
  background-image: url(../img/text-deco-NotFound.svg);
  width: clamp(160px, 26vw, 240px);
  height: clamp(36px, 6vw, 55px);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-80%) translateY(-0.4em);
  background-repeat: no-repeat;
  background-size: contain;
}
