/* ========================================================
   九埜かぼす 公式サイト
   ======================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple-pc-1: #CEBDF7;
  --purple-pc-2: #C4AFF5;
  --purple-sp: #CDBBF6;
  --white: #FFFFFF;
  --grid-pc: #F2EEFB;
  --content-bg: #FDFDFD;
  --grid-sp: #EEE9FA;
  --sp-sub: #F3EFFD;
  --icon-outer: #EEE9FA;
  --icon-inner: #C4AFF5;
  --menu-text: #858691;
  --about-text: #666666;
  --flower: #FDF9E9;
  --text-dark: #2c2c2f;

  --font-en: 'dunbar-low', sans-serif;
  --font-jp: 'LINE Seed JP', 'Hiragino Sans', sans-serif;

  --sidebar-w: 355px;
}

@font-face {
  font-family: 'LINE Seed JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/line-seed-jp@5.3.0/japanese-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'LINE Seed JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/line-seed-jp@5.3.0/japanese-700-normal.woff2') format('woff2');
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--content-bg);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------
   ローディング（ページ読み込み時のみ）
---------------------------------------------------------- */
body.is-loading { overflow: hidden; }
html.is-loading { background: #FFFFFF; }
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  background: #FFFFFF;
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.site-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-loader.is-hidden { display: none; }
.site-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.site-loader__logo { width: min(136px, 34vw); height: auto; }
.site-loader__bar {
  display: block;
  width: min(210px, 54vw);
  height: 4.5px;
  overflow: hidden;
  border-radius: 999px;
  background: #F3EFFD;
}
.site-loader__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #D3D3D7;
  animation: loaderProgress 1.1s linear forwards;
}
@keyframes loaderProgress { to { width: 100%; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.ext { display: inline-block; margin-left: 6px; }

/* ---------------------------------------------------------
   PC サイドバー
--------------------------------------------------------- */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: linear-gradient(180deg, var(--purple-pc-1) 0%, var(--purple-pc-2) 100%);
  display: flex;
  flex-direction: column;
  z-index: 200;
}

.sidebar-logo {
  display: inline-block;
  width: 120px;
  margin: 41px 0 0 41px;
}
.sidebar-logo img { width: 100%; height: auto; }

.menu-card {
  width: 192px;
  margin-top: 62px;
  background: var(--white);
  border-radius: 0 16px 16px 0;
  padding: 42px 24px 85px 41px;
}

.menu-heading {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--menu-text);
  margin-bottom: 38px;
}

.menu-list { list-style: none; padding-left: 0; }
.menu-item + .menu-item { margin-top: 27px; }
.menu-item a {
  display: flex;
  align-items: center;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--menu-text);
  transition: color .2s;
}
.menu-item a:hover { color: var(--text-dark); }
.menu-item.is-active a {
  color: var(--menu-text);
  font-weight: 500;
}
/* スマホのオーバーレイメニューのみ選択中を太字にする（SP_MENU.png準拠） */
.sp-nav .menu-item.is-active a {
  font-weight: 600;
}

.menu-flower {
  display: inline-flex;
  flex-shrink: 0;
  width: 0;
  height: 14px;
  margin-right: 0;
  opacity: 0;
  overflow: visible;
  transition: width .25s ease, margin-right .25s ease, opacity .25s ease;
}
.menu-flower img {
  width: 14px;
  height: 14px;
  transform-origin: center;
  animation: menuFlowerSpin 6s linear infinite;
}
.menu-item.is-active .menu-flower {
  width: 14px;
  margin-right: 11px;
  opacity: 1;
}

.other-menu__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .04em;
  line-height: 1.2;
  color: var(--menu-text);
  cursor: pointer;
  text-align: left;
}
.other-menu__trigger:hover,
.other-menu__trigger:focus-visible { color: var(--text-dark); }
.other-menu__trigger:focus-visible,
.other-menu__links a:focus-visible {
  outline: 2px solid var(--icon-inner);
  outline-offset: 4px;
  border-radius: 2px;
}
.other-menu__links {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height .2s ease, opacity .16s ease, margin-top .2s ease;
}
.other-menu__links li + li { margin-top: 5px; }
.other-menu__links a {
  display: inline-block;
  color: var(--menu-text);
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .02em;
  text-decoration: none;
}
.other-menu__links a:hover { color: var(--text-dark); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 881px) {
  .other-menu:hover .other-menu__links,
  .other-menu:focus-within .other-menu__links {
    max-height: 160px;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
  }
}

@keyframes menuFlowerSpin {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-flower img { animation: none; }
}

.sidebar-decor {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-left: 41px;
  margin-bottom: 41px;
}
.sidebar-decor img {
  width: 14px;
  height: 14px;
}

/* ---------------------------------------------------------
   PC サイドバー：企画実績
--------------------------------------------------------- */
/* ---------------------------------------------------------
   SNS アイコン
--------------------------------------------------------- */
.icons-bar { display: flex; gap: 10px; }
.mobile-header { display: none; }
.mobile-grid-bg { display: none; }
.icons-bar--desktop {
  position: fixed;
  top: 36px;
  right: 44px;
  z-index: 210;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--icon-outer);
  color: var(--icon-inner);
  transition: transform .2s ease, background .2s ease;
}
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn .icon-mail { width: 17px; height: 17px; }
.icon-btn:hover { background: var(--icon-inner); color: var(--white); }

/* ---------------------------------------------------------
   スマホ MENU ボタン／CLOSE ボタン
--------------------------------------------------------- */
.sp-menu-btn,
.sp-close-btn {
  display: none;
  align-items: center;
  gap: 5px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .07em;
  color: var(--icon-inner);
  background: var(--white);
  border: none;
  border-radius: 100px;
  padding: 6px 14px;
  cursor: pointer;
}
.sp-menu-btn .menu-flower,
.sp-close-btn .menu-flower { opacity: 1; transform: scale(1); width: 11px; height: 11px; }
.icons-bar--mobile-header { display: none; }

.sp-close-btn {
  background: var(--icon-inner);
  color: var(--white);
}
.sp-close-btn .menu-flower img { filter: brightness(0) invert(1); }

/* ---------------------------------------------------------
   スマホ フルスクリーンメニュー
--------------------------------------------------------- */
.sp-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.sp-nav.is-open { opacity: 1; visibility: visible; }

.sp-nav-panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: auto;
  max-height: calc(100svh - 12px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 0 0 16px 16px;
  padding: 20px 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(120, 95, 180, .25);
}

.menu-card--sp {
  background: var(--sp-sub);
  flex: none;
  width: 100%;
  margin-top: 0;
  border-radius: 16px;
  padding: 26px 22px 24px;
}
.menu-card--sp .menu-heading { font-size: 26px; margin-bottom: 20px; }
.menu-card--sp .menu-item a { font-size: 17px; }
.menu-card--sp .menu-item + .menu-item { margin-top: 23px; }

/* ---------------------------------------------------------
   メインコンテンツ
--------------------------------------------------------- */
.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  background-color: var(--content-bg);
  background-image:
    linear-gradient(var(--grid-pc) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-pc) 1px, transparent 1px);
  background-size: 46px 46px;
}

.section { padding: 99px 88px 64px; }
.section--works { padding-bottom: 40px; }
.section--about { padding-bottom: 10px; padding-left: 108px; }
.section--assets { padding-bottom: 24px; }
.section--contact { padding-bottom: 40px; }

/* PC: WORKS/ABOUTを1画面ずつのページとして扱うスクロールスナップ */
@media (min-width: 881px) {
  html {
    scroll-snap-type: y proximity;
  }
  .section {
    min-height: 100svh;
    scroll-snap-align: start;
  }
}

/* ワイドPC：1440px時のコンテンツ幅を「PCコンテンツキャンバス」として保持し、
   1600px以上ではタイトルだけを右端に逃がさず、キャンバス全体をメイン領域内で中央寄せする */
@media (min-width: 1600px) {
  .section {
    max-width: calc(1440px - var(--sidebar-w));
    margin-left: auto;
    margin-right: auto;
  }
}

.section-head {
  position: relative;
  margin-bottom: 48px;
  margin-right: -47px;
  text-align: right;
}
.section--about .section-head { margin-bottom: -46px; }
.section--works .section-head,
.section--assets .section-head { margin-bottom: 30px; }
.section--contact .section-head { margin-bottom: 15px; }
.eyebrow {
  display: block;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--icon-inner);
  margin-bottom: 6px;
}
.title-svg--works { width: 223px; margin-left: auto; }
.title-svg--about { width: 230px; margin-left: auto; }
.title-svg--assets { width: 230px; margin-left: auto; }
.title-svg--contact { width: 270px; margin-left: auto; }

/* ---------------------------------------------------------
   SCROLL 装飾（常時表示／線の右に縦書き文字／WORKSは花が下降、ABOUTは花が上昇）
--------------------------------------------------------- */
.scroll-decor {
  position: absolute;
  top: 100px;
  right: -10px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3px;
  opacity: 1;
  pointer-events: none;
  z-index: 190;
}

.scroll-text {
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--icon-inner);
}

.scroll-track {
  position: relative;
  width: 14px;
  height: 84px;
}
.scroll-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--icon-inner);
  transform: translateX(-50%);
}
.scroll-flower {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 14px;
  transform: translate(-50%, 0);
}
/* WORKS/ABOUT: 花が縦線の上から下へ落ちる（下方向のページ遷移を示す） */
.section--works .scroll-flower,
.section--about .scroll-flower,
.section--assets .scroll-flower {
  animation: scrollFlowerFall 3s linear infinite;
}
/* 前半は等速でゆっくり、後半は等速のまま一気に終端へ移動する */
@keyframes scrollFlowerFall {
  0%   { top: 0px;  opacity: 1; }
  60%  { top: 42px; opacity: 1; }
  66%  { top: 70px; opacity: 1; }
  69%  { top: 70px; opacity: 0; }
  88%  { top: 70px; opacity: 0; }
  100% { top: 0px;  opacity: 0; }
}
@keyframes scrollFlowerRise {
  0%   { top: 70px; opacity: 1; }
  60%  { top: 28px; opacity: 1; }
  66%  { top: 0px;  opacity: 1; }
  69%  { top: 0px;  opacity: 0; }
  88%  { top: 0px;  opacity: 0; }
  100% { top: 70px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-flower { animation: none !important; top: 0; opacity: 1; }
}

/* ---------------------------------------------------------
   WORKS グリッド
--------------------------------------------------------- */
.works-wrap {
  max-width: 860px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 41px 54px;
}

.work-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--menu-text);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1.5px solid var(--icon-inner);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--icon-inner);
}
.work-media img,
.work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 26px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--icon-inner);
}
.view-more:hover { text-decoration: underline; }

/* ---------------------------------------------------------
   ASSETS
--------------------------------------------------------- */
.assets-wrap { max-width: 860px; padding-top: 14px; }
.assets-pickup {
  margin-bottom: 18px;
  font-family: var(--font-en);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--icon-inner);
}
.asset-card {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease;
}
.assets-sales { margin-top: 62px; }
.assets-sales-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--menu-text);
  margin-bottom: 12px;
}
.assets-store-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 202px;
}
.asset-store {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 62px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.asset-store--booth { background: #FC4D50; }
.asset-store--booth img { width: 126px; height: auto; }
.asset-store--tsunagu {
  background: var(--white);
  border: 1.5px solid var(--icon-inner);
}
.asset-store--tsunagu img { width: auto; height: 34px; }
.asset-store--vgen { background: #B8FF26; }
.asset-store--vgen img { width: auto; height: 38px; max-width: 140px; object-fit: contain; }

.asset-card:focus-visible,
.asset-store:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

/* ---------------------------------------------------------
   CONTACT
--------------------------------------------------------- */
.contact-wrap {
  max-width: 650px;
  --contact-block-gap: 54px;
}
.contact-block + .contact-block { margin-top: var(--contact-block-gap); }
.contact-block h2 {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--about-text);
}
.contact-block p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--about-text);
}
.contact-block p + p { margin-top: 18px; }
.contact-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--icon-inner);
  text-decoration: none;
}
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}
.contact-links .contact-link { margin-top: 0; }
.contact-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-link:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}
.contact-svg-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  line-height: 0;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-svg-link--standard { background: #C4AFF5; }
.contact-svg-link--discord { background: #5865F2; }
.contact-svg-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.contact-svg-link--standard img { transform: scale(.89); }
.contact-svg-link--form img { transform: translateX(2px) scale(.89); }
.contact-svg-link--standard { width: 210px; height: 42px; }
.contact-svg-link--discord {
  width: 270px;
  height: 66px;
  margin-top: 20px;
}
.contact-svg-link:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .asset-card:hover {
    transform: translateY(-3px) scale(1.01);
  }
  .asset-card:hover .work-media {
    box-shadow: 10px 11px 0 var(--icon-inner);
  }
  .asset-store:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--icon-inner);
  }
  .contact-svg-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(133, 134, 145, .2);
  }
}

/* ---------------------------------------------------------
   ABOUT
--------------------------------------------------------- */
.about-card {
  width: 240px;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1.5px solid var(--icon-inner);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--icon-inner);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  margin-bottom: 30px;
}
.about-card img { width: 100%; height: 100%; object-fit: contain; }

.about-name {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.about-role {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--icon-inner);
  margin-bottom: 24px;
}
.about-bio {
  font-size: 15px;
  color: var(--about-text);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 560px;
}
.about-block { margin-bottom: 28px; }
.about-block h3 {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.about-block p {
  font-size: 14px;
  color: var(--about-text);
  line-height: 1.8;
}
.about-client-list {
  margin: 0;
  padding: 0;
  color: var(--about-text);
  font-size: 14px;
  line-height: 1.8;
  list-style: none;
}
.about-client-note {
  margin: -2px 0 10px;
  color: #A7A7AE;
  font-size: 12px;
  line-height: 1.5;
}
.about-client-list li + li { margin-top: 6px; }
/* スマホのみ表示するBOOTH／CONTACT導線（PCでは非表示） */
.about-sp-links { display: none; }

/* ---------------------------------------------------------
   フッター
--------------------------------------------------------- */
.site-footer {
  padding: 40px 88px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.copyright { font-size: 12px; color: var(--menu-text); }
.privacy-link {
  font-size: 12px;
  color: var(--menu-text);
  text-decoration: underline;
}

/* ========================================================
   スマホ（〜880px）
   ======================================================== */
@media (max-width: 880px) {
  :root { --sidebar-w: 0px; }

  .site-loader__content { gap: 8px; }
  .site-loader__logo { width: min(126px, 34vw); }
  .site-loader__bar {
    width: min(194.56px, 52.5vw);
    height: min(4.17px, 1.125vw);
  }

  html {
    min-height: 100%;
    background: #E8E8E8;
  }
  body {
    min-height: 100%;
    background: transparent;
  }
  html.is-loading,
  html.is-loading body {
    background: #FFFFFF;
  }
  .mobile-grid-bg {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #E8E8E8;
    background-position: 0 0;
  }
  body.is-loading .mobile-grid-bg {
    background: #FFFFFF;
  }

  .mobile-header {
    display: flex;
    position: fixed;
    top: calc(20px + env(safe-area-inset-top));
    right: 21px;
    z-index: 250;
    align-items: center;
    gap: 6px;
  }

  .sidebar,
  .icons-bar--desktop,
  .scroll-decor { display: none; }

  .sp-menu-btn {
    display: inline-flex;
    position: static;
    background: var(--white);
    border: 1.5px solid var(--icon-inner);
    box-sizing: border-box;
    height: 30px;
    padding: 0 13px;
  }
  .icons-bar--mobile-header {
    display: flex;
    position: static;
    gap: 6px;
  }
  .icons-bar--mobile-header .icon-btn {
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    background: var(--white);
    border: 1.5px solid var(--icon-inner);
  }
  .icons-bar--mobile-header .icon-btn svg {
    width: 14px;
    height: 14px;
  }
  .icons-bar--mobile-header .icon-btn .icon-mail { width: 16px; height: 16px; }
  .icons-bar--mobile-header .icon-btn .icon-instagram { width: 17px; height: 17px; }
  .icons-bar--mobile-header .icon-btn:focus-visible {
    outline: 2px solid var(--icon-inner);
    outline-offset: 3px;
  }
  .sp-menu-btn .menu-flower img,
  .sp-close-btn .menu-flower img {
    animation: none;
    position: relative;
    top: -1px;
  }

  .sp-close-btn {
    display: inline-flex;
    align-self: flex-end;
    margin-bottom: 16px;
  }

  .sp-nav { display: block; }

  .menu-card--sp .other-menu__trigger {
    font-size: 17px;
  }
  .menu-card--sp .other-menu.is-open .other-menu__links,
  .menu-card--sp .other-menu:focus-within .other-menu__links {
    max-height: 160px;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
  }
  .menu-card--sp .other-menu__links li + li { margin-top: 6px; }
  .menu-card--sp .other-menu__links a {
    font-size: 12px;
    line-height: 1.35;
  }

  /* スマホメニューは選択中の花を出さず、全項目の文字左端を揃える */
  #menuListSp .menu-flower { display: none; }

  .main {
    margin-left: 0;
    min-height: 100svh;
    position: relative;
    z-index: 1;
    background: #E8E8E8;
    padding: calc(68px + env(safe-area-inset-top)) 20px 40px;
  }

  .section {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 30px 36px;
  }
  .section--works,
  .section--about,
  .section--assets,
  .section--contact { margin-bottom: 20px; }

  .section-head { text-align: left; margin-bottom: 28px; margin-right: -8px; }
  .eyebrow { text-align: right; margin-bottom: 10px; }
  .title-svg--works,
  .title-svg--about,
  .title-svg--assets,
  .title-svg--contact { margin-left: auto; margin-right: 0; }
  .title-svg--works { width: 182px; }
  .title-svg--about { width: 169px; }
  .title-svg--assets { width: 182px; }
  .title-svg--contact { width: 200px; }

  .works-wrap { max-width: none; }
  .works-grid { grid-template-columns: 1fr; gap: 28px; }
  .work-label { font-size: 12px; }
  .work-media { border-radius: 12px; }

  .view-more { margin-top: 24px; }

  .assets-wrap { padding-top: 10px; }
  .assets-pickup { font-size: 20px; margin-bottom: 16px; }
  .assets-sales { margin-top: 40px; }
  .assets-sales-title { font-size: 14px; margin-bottom: 14px; }
  .assets-store-list { width: 100%; gap: 14px; }
  .asset-store { height: 64px; border-radius: 14px; }
  .asset-store--booth img { width: auto; height: 22px; }
  .asset-store--tsunagu img { height: 27px; }
  .asset-store--vgen img { height: 27px; max-width: 120px; }
  .asset-card:active { transform: translateY(2px); }
  .asset-card:active .work-media { box-shadow: 6px 6px 0 var(--icon-inner); }
  .asset-store:active { transform: translateY(2px); box-shadow: none; }

  .section--about .section-head { margin-bottom: 40px; }
  .about-card {
    width: 200px;
    height: 200px;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
    border-radius: 14px;
  }
  .about-card img { width: 100%; height: 100%; object-fit: contain; }
  .about-name { text-align: left; font-size: 26px; }
  .about-bio, .about-block p, .about-client-list { font-size: 14px; }
  .about-client-note { font-size: 12px; }
  .section--contact .section-head { margin-bottom: 26px; }
  .contact-wrap { max-width: none; }
  .contact-block + .contact-block { margin-top: 42px; }
  .contact-block h2 { font-size: 21px; }
  .contact-block p { font-size: 14px; line-height: 1.65; }
  .contact-link { font-size: 16px; }
  .contact-svg-link {
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
  }
  .contact-svg-link--standard { width: 280px; height: 56px; }
  .contact-svg-link--discord { width: 360px; height: 88px; }
  .contact-svg-link:active { transform: translateY(2px); }

  .site-footer {
    padding: 28px 18px 44px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-loader { transition: opacity .12s ease, visibility 0s linear .12s; }
  .site-loader__bar-fill { width: 100%; animation: none; }
}

/* ---------------------------------------------------------
   PC専用：花＋キラキラのカスタムカーソル
--------------------------------------------------------- */
body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button {
  cursor: none;
}
.custom-cursor-dot {
  width: 30px;
  height: 30px;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.custom-cursor-dot svg {
  width: 100%;
  height: 100%;
  animation: menuFlowerSpin 6s linear infinite;
}
.custom-cursor-dot.is-over-sidebar circle {
  fill: #FDFDFD;
}
.custom-cursor-sparkle {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 1;
  transition: transform .6s ease-out, opacity .6s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .custom-cursor-dot svg { animation: none; }
}
