:root{
  --bg: #ffffff;
  --ink: #16122a;
  --muted: #5c5770;
  --border: rgba(109, 40, 217, .14);
  --brand: #6D28D9;         /* brand purple */
  --brand-2: #4C1D95;       /* deep purple */
  --brand-soft: #F5F3FF;    /* light purple */
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(18, 10, 40, .12);
  --shadow-soft: 0 14px 32px rgba(109, 40, 217, .10);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1120px;
  --pad-x: clamp(14px, 4.2vw, 24px);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
img{ max-width: 100%; height: auto; }
a{ color: inherit; text-decoration: none; }

.skip-link{
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus{
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  z-index: 1000;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section{
  padding: clamp(68px, 8.5vw, 96px) 0;
}
.section--muted{
  background: linear-gradient(180deg, rgba(245, 243, 255, .55), rgba(255,255,255,1));
}
.section--dark{
  background: radial-gradient(1100px 520px at 10% 0%, rgba(109, 40, 217, .35), rgba(76, 29, 149, 0) 60%),
              linear-gradient(135deg, #160f2a 0%, #1e1b4b 60%, #120a28 100%);
  color: #fff;
}
.section__head{
  margin: 0 0 44px 0;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(109, 40, 217, .10);
  color: var(--brand-2);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}
.eyebrow--dark{
  background: rgba(255,255,255,.08);
  color: rgba(216, 203, 255, .92);
}
.title{
  margin: 0;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
  font-size: clamp(26px, 3.8vw, 44px);
}
.title--hero{
  font-size: clamp(36px, 5.4vw, 62px);
}
.hero__title{
  max-width: 20ch;
  text-wrap: balance;
}
.subtitle{
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 16px;
  max-width: 64ch;
}
.section--dark .subtitle{
  color: rgba(216, 203, 255, .82);
}

.accent{
  background: linear-gradient(135deg, #8B5CF6 0%, var(--brand) 40%, #B794F4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
}
.header__inner{
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.brand{
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand__name{
  font-size: 20px;
  color: var(--brand);
}
.brand__sub{
  font-size: 14px;
  font-weight: 500;
  color: rgba(22, 18, 42, .7);
}

.nav{
  display: none;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  font-size: 13px;
}
.nav a{
  padding: 10px 10px;
  border-radius: 999px;
}
.nav a:hover{
  color: var(--brand);
  background: rgba(109, 40, 217, .06);
}

.nav__cta{
  padding: 10px 14px !important;
  background: var(--brand);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(109, 40, 217, .22);
}
.nav__cta:hover{
  background: var(--brand-2);
}

.nav-mobile{
  display: inline-flex;
}
.nav-mobile summary{
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 13px;
  background: #fff;
}
.nav-mobile summary::-webkit-details-marker{ display: none; }
.nav-mobile[open] summary{
  box-shadow: var(--shadow-soft);
}
.nav-mobile__panel{
  position: absolute;
  right: var(--pad-x);
  margin-top: 10px;
  width: min(92vw, 320px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
  gap: 6px;
}
.nav-mobile__panel a{
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 800;
}
.nav-mobile__panel a:hover{
  background: rgba(109, 40, 217, .08);
  color: var(--brand);
}
.nav-mobile__panel .nav__cta{
  text-align: center;
}

.hero{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 30% 10%, rgba(109, 40, 217, .18), rgba(109, 40, 217, 0) 62%),
    linear-gradient(180deg, rgba(245, 243, 255, .85), rgba(255,255,255,1));
}
.hero--simple{
  background:
    radial-gradient(900px 440px at 50% 0%, rgba(109, 40, 217, .10), rgba(109, 40, 217, 0) 60%),
    linear-gradient(180deg, rgba(245, 243, 255, .70), rgba(255,255,255,1));
}

/* SV (Second View) */
.section--sv{
  background: linear-gradient(180deg, rgba(248, 247, 252, 1), rgba(255,255,255,1));
}
.hero__grid{
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  gap: 34px;
  padding: 36px 0 66px 0;
  position: relative;
}
.hero__grid--simple{
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 22px;
  padding: clamp(34px, 7vw, 88px) 0 clamp(52px, 10vw, 120px) 0;
}
.hero__kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__kicker--center{
  justify-content: center;
}
.hero__kicker-text{
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(22, 18, 42, .55);
}
.hero__mark{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(109, 40, 217, .18);
  background:
    radial-gradient(18px 18px at 30% 25%, rgba(255,255,255,.8), rgba(255,255,255,0) 60%),
    rgba(255,255,255,.70);
  box-shadow: 0 14px 34px rgba(109, 40, 217, .16);
  background-image: url("./img/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .92;
}
.hero__copy{
  max-width: 62ch;
  position: relative;
  z-index: 2;
}
.hero__copy--center{
  max-width: 76ch;
  margin: 0 auto;
}
.hero__lead{
  margin: 18px 0 0 0;
  color: rgba(22, 18, 42, .72);
  font-weight: 600;
  font-size: 16px;
  max-width: 58ch;
}
.hero__headline{
  margin: 18px 0 0 0;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.06;
  font-size: clamp(44px, 6.8vw, 96px);
  text-wrap: balance;
}
.hero__subcopy{
  margin: 18px auto 0 auto;
  max-width: 56ch;
  font-weight: 600;
  color: rgba(22, 18, 42, .64);
  font-size: clamp(15px, 1.6vw, 18px);
  text-wrap: pretty;
}
.hero__meta{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  font-weight: 800;
  font-size: 12px;
  color: rgba(22, 18, 42, .78);
}
.hero__cta{
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__cta--center{
  justify-content: center;
  align-items: center;
}
.hero__cta .btn{
  padding: 16px 22px;
  border-radius: 16px;
  font-size: 16px;
  width: 100%;
}
.hero__cta .btn--primary{
  min-height: 54px;
}
.btn--xl{
  padding: 18px 26px;
  border-radius: 18px;
  font-size: 16px;
  min-height: 56px;
  width: min(520px, 100%);
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 30px rgba(109, 40, 217, .22);
}
.btn--primary:hover{
  background: var(--brand-2);
  box-shadow: 0 18px 40px rgba(109, 40, 217, .26);
}
.btn--ghost{
  background: #fff;
  border-color: rgba(22, 18, 42, .12);
  color: rgba(22, 18, 42, .9);
}
.btn--ghost:hover{
  border-color: rgba(109, 40, 217, .30);
  background: rgba(109, 40, 217, .05);
  color: var(--brand-2);
}

.hero__art{
  display: grid;
  justify-items: center;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}
.butterfly{
  width: min(320px, 74vw);
  aspect-ratio: 1/1;
  opacity: .06;
  filter: drop-shadow(0 28px 60px rgba(109, 40, 217, .22));
  transform: rotate(-6deg);
  color: var(--brand);
}

@media (max-width: 719px){
  .hero__grid{ padding: 26px 0 56px 0; }
  .hero__meta{ margin-top: 14px; gap: 8px; }
  .pill{ padding: 7px 10px; font-size: 12px; }
  .hero__grid--simple{ padding: 34px 0 78px 0; }
  .btn--xl{ width: 100%; }
}
.float{
  animation: float 6s ease-in-out infinite;
}
@keyframes float{
  0%, 100%{ transform: translateY(0) rotate(-6deg); }
  50%{ transform: translateY(-16px) rotate(-2deg); }
}

.grid{
  display: grid;
  gap: 16px;
}
.grid--2{ grid-template-columns: 1fr; }
.grid--3{ grid-template-columns: 1fr; }
.grid--4{ grid-template-columns: 1fr; }

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px;
  box-shadow: 0 1px 0 rgba(22, 18, 42, .03);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(109, 40, 217, .22);
}
.card__icon{
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(109, 40, 217, .10);
  color: var(--brand-2);
  font-weight: 900;
  font-size: 20px;
}
.card__title{
  margin: 14px 0 8px 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}
.card__text{
  margin: 0;
  color: rgba(22, 18, 42, .70);
  font-weight: 600;
  font-size: 14px;
}
.section--dark .card{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.section--dark .card:hover{
  border-color: rgba(216, 203, 255, .28);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.section--dark .card__text{ color: rgba(255,255,255,.78); }
.section--dark .card__icon{
  background: rgba(255,255,255,.10);
  color: rgba(216, 203, 255, .92);
}

.list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.list li{
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(109, 40, 217, .12);
  background: rgba(245, 243, 255, .55);
}
.list li::before{
  content: "🦋";
  line-height: 1;
  margin-top: 2px;
}
.callout{
  margin-top: 16px;
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(109, 40, 217, .35);
  background: rgba(245, 243, 255, .45);
  font-weight: 900;
  color: rgba(30, 27, 75, .9);
}

.steps{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.step{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 18px 18px;
  border: 1px solid rgba(22, 18, 42, .10);
  border-radius: var(--radius-lg);
  background: #fff;
}
.step__no{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
}
.step__title{
  margin: 0;
  font-weight: 900;
  line-height: 1.25;
}
.step__text{
  margin: 6px 0 0 0;
  color: rgba(22, 18, 42, .70);
  font-weight: 600;
  font-size: 14px;
}

.works{
  display: grid;
  gap: 14px;
}
.work{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 18, 42, .10);
  background: #fff;
  overflow: hidden;
}
.work__link{
  display: block;
  color: inherit;
}
.work__link:hover .work__title{
  color: var(--brand-2);
}
.work__thumb{
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(109, 40, 217, .12), rgba(76, 29, 149, .06));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 14px;
}
.work__thumb img{
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.work__body{
  padding: 14px 16px 16px 16px;
}
.work__title{
  margin: 0;
  font-weight: 900;
}
.work__meta{
  margin: 6px 0 0 0;
  color: rgba(22, 18, 42, .65);
  font-weight: 600;
  font-size: 13px;
}
.work__meta--link{
  color: rgba(76, 29, 149, .88);
  font-weight: 900;
}

.contact{
  max-width: 820px;
  margin: 0 auto;
}
.contact__box{
  margin-top: 16px;
  border-radius: calc(var(--radius-lg) + 6px);
  padding: 12px;
  background: rgba(245, 243, 255, .78);
  border: 1px solid rgba(109, 40, 217, .12);
}
.contact__inner{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid rgba(22, 18, 42, .08);
}
.form{
  display: grid;
  gap: 14px;
  text-align: left;
}
.field label{
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(22, 18, 42, .55);
  margin-bottom: 8px;
}
.field input, .field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(22, 18, 42, .14);
  outline: none;
  font: inherit;
}
.field input:focus, .field textarea:focus{
  border-color: rgba(109, 40, 217, .45);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, .12);
}
.note{
  margin: 10px 0 0 0;
  color: rgba(22, 18, 42, .62);
  font-weight: 600;
  font-size: 13px;
}

/* Privacy Policy */
.policy{
  max-width: 78ch;
  margin: 0 auto;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22, 18, 42, .10);
  background: #fff;
  box-shadow: 0 1px 0 rgba(22, 18, 42, .03);
}
.policy__h{
  margin: 18px 0 8px 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}
.policy__p{
  margin: 0;
  color: rgba(22, 18, 42, .74);
  font-weight: 600;
  font-size: 14px;
}
.policy__list{
  margin: 0;
  padding-left: 20px;
  color: rgba(22, 18, 42, .74);
  font-weight: 600;
  font-size: 14px;
  display: grid;
  gap: 6px;
}
.policy__note{
  margin: 18px 0 0 0;
  color: rgba(22, 18, 42, .56);
  font-weight: 800;
  font-size: 12px;
}

.footer{
  padding: 40px 0;
  border-top: 1px solid rgba(22, 18, 42, .08);
}
.footer__inner{
  display: grid;
  gap: 32px;
  align-items: start;
}
.footer__brand-group{
  display: grid;
  gap: 8px;
}
.footer__nav{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  width: 100%;
}
.footer__nav-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__nav-title{
  font-weight: 900;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}
.footer__nav a{
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  transition: color .2s ease;
}
.footer__nav a:hover{
  color: var(--brand);
}

.footer__links{
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  font-weight: 800;
  font-size: 13px;
  color: rgba(22, 18, 42, .62);
}
.footer__links a:hover{ color: var(--brand); }
.copyright{
  margin: 0;
  color: rgba(22, 18, 42, .45);
  font-weight: 700;
  font-size: 12px;
}

/* Focus */
:focus-visible{
  outline: 3px solid rgba(109, 40, 217, .35);
  outline-offset: 2px;
}

/* Breakpoints */
@media (min-width: 720px){
  .hero__cta{ flex-direction: row; align-items: center; }
  .hero__cta .btn{ padding: 18px 26px; font-size: 16px; width: auto; }
  .hero__cta--center{ flex-wrap: wrap; justify-content: center; }
  .hero__cta--center .btn--xl{ width: auto; }
  .grid--2{ grid-template-columns: repeat(2, 1fr); }
  .works{ grid-template-columns: repeat(2, 1fr); }
  .contact__inner{ padding: 28px; }
  .footer__inner{
    grid-template-columns: 300px 1fr;
    text-align: left;
  }
}

@media (min-width: 980px){
  .nav{ display: inline-flex; }
  .nav-mobile{ display: none; }
  .hero__grid{
    grid-template-columns: 1.12fr .88fr;
    gap: 30px;
    padding: 54px 0 76px 0;
  }
  .hero--simple .hero__grid{
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hero__title{ max-width: 22ch; }
  .hero__lead{ font-size: 17px; }
  .hero__cta .btn{ padding: 18px 30px; font-size: 17px; }
  .hero__cta .btn--primary{ min-width: 260px; }
  .butterfly{ width: min(340px, 32vw); opacity: .055; }
  .grid--3{ grid-template-columns: repeat(3, 1fr); }
  .grid--4{ grid-template-columns: repeat(4, 1fr); }
  .works{ grid-template-columns: repeat(3, 1fr); }
}

