html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  background-color: #ffffff;
  --main-color: #3c3a36;
  --sub-color: #ada8a4;
  color: var(--main-color);
  font-size: 1.6rem;
  line-height: 2;
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  --font-weight: 400;
  font-weight: var(--font-weight);
  opacity: 0;
  transition: opacity 1.2s ease;
}
body.is-leave {
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.loaded {
  opacity: 1;
}
body.is-leave {
  opacity: 0;
  pointer-events: none;
}

/* medium用に上書き */
.medium {
  --font-weight: 500;
}
* {
  font-family: inherit;
}

a {
  transition: 0.3s;
}

.wrapper {
  width: 90%;
  max-width: 1110px;
  margin: 0 auto 200px;
  position: relative;
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  .wrapper {
    width: 100%;
    margin: 0 auto 130px;
    padding: 0 40px;
  }
  .inner {
    max-width: 680px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 450px) {
  .wrapper {
    padding: 0 20px;
  }
}
.br-md,
.br-sm {
  display: none;
}

@media (max-width: 768px) and (min-width: 581px) {
  .br-md {
    display: inline;
  }
}

@media (max-width: 520px) {
  .br-sm {
    display: inline;
  }
}

.space {
  margin-left: 8px;
}
.small {
  font-size: 1.8rem;
}
.js-cat {
  cursor: pointer;
  transition: 0.3s;
  font-size: 1.4rem;
  color: #ae86de;
}
.js-cat:hover {
  opacity: 0.6;
}

/* セクション blur-circles common */
.blur-circles--top-left,
.blur-circles--top-right,
.blur-circles--bottom-left {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.blur-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
}
.purple-circle {
  background: #bb9de1;
  width: 150px;
  height: 150px;
  filter: blur(78px);
  transform: translateZ(0);
}
.green-circle {
  background: #bce5ab;
  width: 50px;
  height: 50px;
  filter: blur(33px);
  transform: translateZ(0);
}
.pink-circle {
  background: #e8dad0;
  width: 100px;
  height: 100px;
  filter: blur(37px);
  transform: translateZ(0);
}
@media screen and (max-width: 768px) {
  .purple-circle {
    width: 120px;
    height: 120px;
    filter: blur(57px);
  }
  .green-circle {
    width: 40px;
    height: 40px;
    filter: blur(24px);
  }
  .pink-circle {
    width: 70px;
    height: 70px;
    filter: blur(26px);
  }
}
/* --- blur-circles --- */
.blur-circles--top-left .purple-circle {
  top: -61px;
  left: 10px;
}
.blur-circles--top-left .green-circle {
  bottom: -68px;
  left: 293px;
}
.blur-circles--top-left .pink-circle {
  bottom: -219px;
  left: 180px;
}
.blur-circles--top-right .purple-circle {
  top: -50px;
  right: 10px;
}
.blur-circles--top-right .green-circle {
  top: 56px;
  right: 289px;
}
.blur-circles--top-right .pink-circle {
  top: 132px;
  right: 140px;
}
.blur-circles--bottom-left .purple-circle {
  bottom: 100px;
  left: 10px;
}
.blur-circles--bottom-left .green-circle {
  bottom: 93px;
  left: 293px;
}
.blur-circles--bottom-left .pink-circle {
  bottom: -58px;
  left: 180px;
}
@media screen and (max-width: 768px) {
  .blur-circles--top-left .purple-circle {
    top: 0;
  }
  .blur-circles--top-left .green-circle {
    top: 89px;
    left: 218px;
  }
  .blur-circles--top-left .pink-circle {
    top: 177px;
    left: 144px;
  }
  .blur-circles--top-right .purple-circle {
    top: 0;
  }
  .blur-circles--top-right .green-circle {
    top: 72px;
    right: 230px;
  }
  .blur-circles--top-right .pink-circle {
    top: 161px;
    right: 127px;
  }
  .blur-circles--bottom-left .purple-circle {
    bottom: 1218px;
  }
  .blur-circles--bottom-left .green-circle {
    bottom: 1197px;
    left: 218px;
  }
  .blur-circles--bottom-left .pink-circle {
    bottom: 1092px;
    left: 144px;
  }
}
/* about section blur-circles */
.about .blur-circles--bottom-left .purple-circle {
  bottom: 200px;
}
.about .blur-circles--bottom-left .green-circle {
  bottom: 193px;
}
.about .blur-circles--bottom-left .pink-circle {
  bottom: 42px;
}

/* works blur-circles */
.works .blur-circles--bottom-left .purple-circle {
  bottom: 130px;
}
.works .blur-circles--bottom-left .green-circle {
  bottom: 123px;
}
.works .blur-circles--bottom-left .pink-circle {
  bottom: -28px;
}

/* ラベンダーdeco */
.lavender-deco {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.lavender-deco img {
  width: clamp(65px, 12vw, 90px);
  height: auto;
}
@media (max-width: 880px) {
  .lavender-deco img {
    width: clamp(50px, 10vw, 70px);
  }
}
/* ==========
header
==========*/
/* ハンバーガーメニュー */
.header__hamburger {
  width: 30px;
  height: 16px;
  position: fixed;
  top: 5%;
  right: clamp(20px, 5vw, 120px);
  z-index: 9999;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.header__hamburger.is-visible {
  opacity: 1;
  pointer-events: auto;
}
/* ハンバーガーバー */
.hamburger__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--main-color);
  transition: all 0.3s;
}
.header__hamburger span:nth-of-type(1) {
  top: 0;
}
.header__hamburger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
}
.header__hamburger span:nth-of-type(3) {
  bottom: 0;
}

/* ハンバーガークリック後（×） */
.hamburger.active span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* ナビ全体（上からスライド） */
.header__nav {
  position: fixed;
  top: -20px;
  right: 0;
  width: clamp(150px, 30vw, 260px);
  height: clamp(300px, 70svh, 600px);
  background-color: #fff;
  transform: translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 9998;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
/* スクロールで隠す */
.header__nav.is-hidden {
  transform: translateY(-100%);
}
.header__nav.active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
/* ナビリスト */
.header__nav-list {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  z-index: 1;
}
.header__nav-list a {
  display: block;
  font-size: 1.6rem;
  width: 100%;
  text-align: left;
}
.header__nav-list a:hover {
  opacity: 0.6;
}
.header__nav.is-hidden {
  transform: translateY(-100%);
}
/* メニュー項目フェードイン */
.header__nav-item {
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.header__nav.active .header__nav-item {
  opacity: 1;
  transform: translateY(0);
}
/* メニュー項目順番に遅延 */
.header__nav.active .header__nav-item:nth-child(1) {
  transition-delay: 0.1s;
}
.header__nav.active .header__nav-item:nth-child(2) {
  transition-delay: 0.2s;
}
.header__nav.active .header__nav-item:nth-child(3) {
  transition-delay: 0.3s;
}
.header__nav.active .header__nav-item:nth-child(4) {
  transition-delay: 0.4s;
}

@media screen and (max-width: 768px) {
  .header__hamburger {
    opacity: 1; /* 常に表示 */
    pointer-events: auto; /* クリック可能 */
  }
  .header__nav {
    width: 100%;
  }
}

/* nav・ぼかし円 */
.blur-circles--nav {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* --- nav・個別の円 --- */
.blur-circles--nav .purple-circle {
  background: #bb9de1;
  width: 70px;
  height: 70px;
  bottom: 67px;
  left: 10px;
  filter: blur(35px);
}
.blur-circles--nav .green-circle {
  background: #bce5ab;
  width: 30px;
  height: 30px;
  bottom: 89px;
  left: 160px;
  filter: blur(15px);
}
.blur-circles--nav .pink-circle {
  background: #e8dad0;
  width: 60px;
  height: 60px;
  bottom: 0;
  left: 100px;
  filter: blur(20px);
}

/* ==========
heading
==========*/
.heading {
  position: relative;
  margin-bottom: 164px;
  --deco-x: clamp(-200px, -12vw, -100px);
}
.heading h2 {
  font-size: clamp(2rem, calc(2rem + 2vw), 4rem);
  letter-spacing: 0.07em;
  text-align: center;
  padding-top: 26px;
  position: relative;
  z-index: 2;
}
.heading::before {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: clamp(110px, 26vw, 136px);
  height: clamp(36px, 6vw, 41px);
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateX(var(--deco-x));
}
.works__heading {
  margin-bottom: 100px;
  --deco-x: clamp(-200px, -7vw, -50px);
}

@media (max-width: 500px) {
  .heading::before {
    transform: translateX(-50%) translateX(-62px);
  }
}
@media (max-width: 440px) {
  .heading::before {
    transform: translateX(-50%) translateX(-40px);
  }
}
@media (max-width: 340px) {
  .heading {
    --deco-x: clamp(-120px, -10vw, -70px);
  }
}
@media (max-width: 768px) {
  .heading {
    margin-bottom: 100px;
  }
  .works__heading {
    margin-bottom: 80px;
  }
}

/* ==========
page-top
==========*/
.page-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  display: flex;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition:
    opacity 0.5s,
    transform 0.6s;
  transform: translateY(20px);
}
.page-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* アイコン部分 */
.page-top__icon {
  width: 80px;
  height: 80px;
  background-color: #ae86de;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.4s ease,
    transform 0.3s ease;
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2);
}
.page-top__icon img {
  width: 46px;
  height: auto;
}
.page-top__text {
  margin-bottom: 3px;
  font-size: 1.4rem;
  color: #fff;
  line-height: 1;
}
.page-top__icon:hover {
  transform: scale(1.1);
}
.page-top__icon,
.page-top__icon img,
.page-top__text {
  transition: 0.4s ease;
}
/* スクロール後のデザイン（白背景＋紫文字） */
.page-top.invert .page-top__icon {
  background-color: #fff;
}
.page-top.invert .page-top__text {
  color: #ae86de;
}

@media screen and (max-width: 768px) {
  .page-top__icon {
    width: 60px;
    height: 60px;
  }
  .page-top__icon img {
    width: 30px;
  }
  .page-top__text {
    font-size: 1.2rem;
  }
}

/* ==========
breadcrumb
==========*/
.breadcrumb {
  max-width: 1000px;
  margin: 0 60px 30px;
}
.breadcrumb li {
  font-size: 1.2rem;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: 0.25em 2.5em;
}
.breadcrumb li {
  position: relative;
}
.breadcrumb ol {
  position: relative;
}

.breadcrumb li::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1.8em;
  width: 6px;
  height: 6px;
  margin: auto;
  border-top: 1px solid var(--main-color);
  border-right: 1px solid var(--main-color);
  transform: rotate(45deg);
}

/* 最後の項目には矢印を出さない */
.breadcrumb li:last-child::after {
  content: none;
}
.breadcrumb a {
  transition: opacity 0.6s ease;
}
.breadcrumb a:hover {
  opacity: 0.6; /* ホバー時の色 */
}

@media (max-width: 768px) {
  .breadcrumb {
    margin: 0 20px 20px;
  }
}

/* ==========
footer
==========*/
.footer {
  background-image: url(../img/footer_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow-x: hidden;
}
.footer-inner {
  padding-top: clamp(50px, 7vw, 150px);
}
#footer .heading {
  margin-bottom: 30px;
}
#footer .heading::before {
  content: "";
  background-image: url(../img/text-deco-ConnectwithMe.svg);
  background-size: 100% 100%;
  width: 202px;
  height: 47px;
  top: 0;
  left: 50%;
  transform: translateX(-190px);
}
.footer-contact {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 40px 20px;
  max-width: 840px;
  margin: 0 auto;
}
.footer__text {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 1px;
}
.footer__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  max-width: 296px;
  height: 60px;
  margin: 0 auto;
  background-color: #ae86de;
}
.footer__btn a {
  position: relative;
  color: #fff;
  width: 100%;
  height: 100%;
  line-height: 60px;
  display: block;
  overflow: hidden;
}
.footer__btn a::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;
}
.footer__btn a:hover::after {
  transform: translateY(-50%) scaleX(1);
}
.footer__btn a span {
  display: inline-block;
  transition: opacity 0.3s ease;
}
.footer__btn a:hover span {
  opacity: 0.6;
}

.footer-wave {
  width: 100%;
  height: auto;
  margin-bottom: -1px;
}

/* footer_nav */
.footer__nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  background-color: #ae86de;
  padding: 60px 0 80px;
}

.footer__nav-list {
  display: flex;
  gap: 56px;
  padding: 0 20px;
  margin: 0;
  line-height: 1;
}
.footer__nav a {
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 1px;
}
.footer__nav a:hover {
  opacity: 0.6;
}
.copyright {
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  padding: 30px 0;
  background-color: #ae86de;
}

@media (max-width: 1024px) {
  .footer__text {
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {
  .footer-inner {
    padding: 60px 0;
  }
  #footer .heading::before {
    width: 180px;
    transform: translateX(-144px);
  }
}
@media (max-width: 300px) {
  .footer__nav-list {
    gap: 40px;
  }
}

@media (max-width: 360px) {
  #footer .heading::before {
    transform: translateX(-110px);
  }
}

@media (max-width: 576px) {
  .footer__nav a {
    writing-mode: vertical-rl;
    letter-spacing: 6px;
  }
}

/* sub-page */
/* works-page */
.c-works-visual__area {
  position: relative;
  background-color: #f8f1ec;
  padding: 60px 0;
  margin-bottom: 160px;
  z-index: 2;
}
.c-works-visual {
  width: clamp(220px, 70vw, 400px);
  margin: 0 auto;
  box-shadow: 0px 0px 42px 8px rgba(0, 0, 0, 0.1);
}
.c-works-visual.is-video {
  width: clamp(280px, 85vw, 720px);
}

.c-works-visual img,
.c-works-visual video {
  width: 100%;
  height: auto;
  display: block;
}
