/*
 Theme Name:   Cocoon Child
 Theme URI:    https://ws-n.com/
 Description:  YUI Inc. Cocoon子テーマ
 Author:       YUI Inc.
 Template:     cocoon-master
 Version:      1.0.0
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --yui-text:      #2a3a52;
  --yui-sub:       #6a7f9a;
  --yui-mute:      #9ab0c8;
  --yui-accent:    #4fa8d8;
  --yui-border:    rgba(100,160,220,0.15);
  --yui-glass:     rgba(255,255,255,0.55);
  --yui-font-en:   'Jost', sans-serif;
  --yui-font-ja:   'Noto Sans JP', sans-serif;
  --yui-nav-h:     72px;
  --yui-ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --yui-container: 1240px;
}

.entry-content > * {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

p{
  letter-spacing:20%;
}
/* ============================================================
   Cocoon デフォルト要素リセット
   ============================================================ */
.yui-top .entry-title,
.yui-top .breadcrumb,
.yui-top .ad-area { display: none !important; }
.yui-top__content { overflow: hidden; }
#navi-footer, .navi-footer, #navi-footer-in { display: none !important; }
#header, .header { display: none !important; }
#container, #content, .content-area, #main, .main-area, #wrapper { background: transparent !important; }
#footer-widget-area, .footer-top, .footer-bottom, #copyright, #copyright-area { display: none !important; }

/* ============================================================
   全ページ共通: BODY 背景・フォント
   ============================================================ */
html, body {
  min-height: 100%;
  overscroll-behavior: none;
}

body {
  background: transparent;
  background-color: #c2d4e8;
  font-family: 'Noto Sans JP', sans-serif;
}
/* 背景固定レイヤー（iOS Safari の fixed background バグ回避） */
.yui-bg-layer {
  position: fixed !important;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background: url('/wp-content/uploads/2026/05/yui-bg.webp') center top / cover no-repeat;
  pointer-events: none !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
}
/* ============================================================
   フォント適用
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.wp-block-heading, .wp-block-heading *,
.yui-label, .yui-heading, .yui-btn,
.yui-header__nav-list li a, .yui-drawer__list li a,
.yui-service-card__title, .yui-service-card__num,
.yui-work-card__title, .yui-work-card__cat {
  font-family: 'Jost', 'Noto Sans JP', sans-serif !important;
}

/* ============================================================
   WRAPPER
   ============================================================ */
.yui-top {
  position: relative;
  font-family: var(--yui-font-ja); color: var(--yui-text); background: transparent;
}
.yui-page {
  position: relative; z-index: 4;
  font-family: var(--yui-font-ja); color: var(--yui-text);
}
.entry-content .wp-block-group {
  position: relative; z-index: 4;
}


/* ============================================================
   CRYSTAL（滲みフェードイン・3秒）
   ============================================================ */
.yui-crystal-wrap {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) !important;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  opacity: 0;
  filter: blur(12px) brightness(1.1);
}

.yui-crystal-wrap.is-revealed {
  transition: opacity 2s ease, filter 2s ease;
  opacity: 1;
  filter: blur(0px) brightness(1);
}
.yui-crystal {
  width: 500px; height: 500px;
  display: block; object-fit: contain;
  filter: drop-shadow(0 0 36px rgba(100,190,255,0.45)) drop-shadow(0 0 80px rgba(160,190,255,0.22));
}


/* ============================================================
   構造式ロゴ（円形に広がって表示）
   ============================================================ */
.yui-logo-layer {
  position: fixed; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; transition: opacity 0.5s ease-out;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.yui-logo-layer.is-hidden { opacity: 0 !important; pointer-events: none; }

.yui-logo-struct {
  width: 500px; height: 500px;
  display: block; object-fit: contain;
  mix-blend-mode: lighten;
  opacity: 0;
  transform-origin: center;
}

/* SP */
@media (max-width: 768px) {
  .yui-crystal { width: 380px; height: 380px; max-width: 380px; }
  .yui-logo-struct { width: 380px; height: 380px; }
}


/* ============================================================
   HERO
   ============================================================ */
.yui-hero {
  position: relative;
  height: 100svh;
  height: 100dvh;
  min-height: 560px;
  display: flex; align-items: center; justify-content: center; z-index: 3;
}
.yui-hero__scroll {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 5; pointer-events: none; white-space: nowrap;
  animation: yuiFadeUpScroll 1s var(--yui-ease) 3s both;
}
.yui-hero__scroll span {
  font-family: var(--yui-font-en); font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--yui-mute);
}
.yui-hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(80,140,200,0.5), transparent);
  animation: yuiScrollPulse 2s ease-in-out infinite 3.5s;
}
@keyframes yuiScrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1);    }
  50%      { opacity: 1;   transform: scaleY(1.15); }
}
@keyframes yuiFadeUpScroll {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);    }
}
@keyframes yuiFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.yui-section { position: relative; z-index: 4; padding: 100px 0; }

.movie { position: relative; z-index: 4; }
.vision_top { padding-top: 50px;}
.vision_top, .wwd_top, .works_top {
  position: relative; z-index: 10;
  font-size: 0.8rem; margin: 100px 0 80px 0;
}
.vision_top h2 { color: #FFFFFF; font-size: 2rem; letter-spacing:0.05em; }
.wwd_top h2, .works_top h2 { color: #5cc4e4; font-size: 2rem; letter-spacing:0.05em; }
.wwd_top { padding-top: 0 !important; margin-top: 0 !important; }
.wwd_top h2.wp-block-heading { margin-bottom: 20px !important; }
/* ============================================================
   斜め台形シェイプ
   ============================================================ */
.yui-section--trapezoid {
  position: relative; isolation: isolate; overflow: visible !important;
}
.wp-block-group.yui-section--trapezoid,
.yui-section--trapezoid.wp-block-group { overflow: visible !important; }

/* ===== TOP ページ用 ===== */
/* 小さい台形（クリエイター登録について） - TOP */
.yui-top .yui-section--trapezoid:not(.yui-section--trapezoid-large)::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 100vw; top: -5% !important; height: 105% !important;
  background: rgba(255,255,255,0.50);
  clip-path: polygon(0 15%, 100% 0%, 100% 100%, 0 85%);
  z-index: 0; pointer-events: none;
}
.yui-top .yui-section--trapezoid:not(.yui-section--trapezoid-large)::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 100vw; top: -5% !important; height: 105% !important;
  background: rgba(255,255,255,0.28);
  clip-path: polygon(0 0%, 100% 15%, 100% 85%, 0 100%);
  z-index: 0; pointer-events: none;
}

/* ===== Join Us ページ用 ===== */
/* 小さい台形（クリエイター登録について） - Join Us */
.joinus-page .yui-section--trapezoid:not(.yui-section--trapezoid-large)::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 100vw; top: -45% !important; height: 400% !important;
  background: rgba(255,255,255,0.50);
  clip-path: polygon(0 15%, 100% 0%, 100% 100%, 0 85%);
  z-index: 0; pointer-events: none;
}
.joinus-page .yui-section--trapezoid:not(.yui-section--trapezoid-large)::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 100vw; top: -45% !important; height: 400% !important;
  background: rgba(255,255,255,0.28);
  clip-path: polygon(0 0%, 100% 15%, 100% 85%, 0 100%);
  z-index: 0; pointer-events: none;
}

/* 大きい台形（Contact CTA） - Join Us */
.joinus-page .yui-section--trapezoid-large::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 100vw; top: -15% !important; height: 135% !important;
  background: rgba(255,255,255,0.50);
  clip-path: polygon(0 20%, 100% 0%, 100% 100%, 0 80%);
  z-index: 0; pointer-events: none;
}
.joinus-page .yui-section--trapezoid-large::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 100vw; top: -15% !important; height: 135% !important;
  background: rgba(255,255,255,0.28);
  clip-path: polygon(0 0%, 100% 20%, 100% 80%, 0 100%);
  z-index: 0; pointer-events: none;
}

.yui-section--trapezoid > * { position: relative; z-index: 1; }
.wp-block-group.yui-section--trapezoid.is-layout-constrained,
.yui-section--trapezoid.wp-block-group.is-layout-constrained { overflow: visible !important; contain: none !important; }
.wp-block-group-is-layout-constrained.yui-section--trapezoid { overflow: visible !important; }

/* 台形シェイプ SP: 角度を緩やかに、高さを縮小 */
@media (max-width: 768px) {
  /* TOP: 小さい台形 SP */
  .yui-top .yui-section--trapezoid:not(.yui-section--trapezoid-large)::before {
    top: -2% !important;
    height: 102% !important;
    clip-path: polygon(0 4%, 100% 0%, 100% 100%, 0 96%);
  }
  .yui-top .yui-section--trapezoid:not(.yui-section--trapezoid-large)::after {
    top: -2% !important;
    height: 102% !important;
    clip-path: polygon(0 0%, 100% 4%, 100% 96%, 0 100%);
  }

  /* Join Us: 小さい台形 SP */
  .joinus-page .yui-section--trapezoid:not(.yui-section--trapezoid-large)::before {
    top: -10% !important;
    height: 305% !important;
    clip-path: polygon(0 6%, 100% 0%, 100% 100%, 0 94%);
  }
  .joinus-page .yui-section--trapezoid:not(.yui-section--trapezoid-large)::after {
    top: -10% !important;
    height: 305% !important;
    clip-path: polygon(0 0%, 100% 6%, 100% 94%, 0 100%);
  }

  /* Join Us: 大きい台形 SP */
  .joinus-page .yui-section--trapezoid-large::before {
    top: -10% !important;
    height: 110% !important;
    clip-path: polygon(0 10%, 100% 0%, 100% 100%, 0 90%);
  }
  .joinus-page .yui-section--trapezoid-large::after {
    top: -10% !important;
    height: 110% !important;
    clip-path: polygon(0 0%, 100% 10%, 100% 90%, 0 100%);
  }
}
/* ============================================================
   CONTAINER / LABEL / HEADING / FADE-UP
   ============================================================ */
.yui-container { max-width: var(--yui-container); margin: 0 auto; padding: 0 48px; }
.yui-label {
  display: block; font-family: var(--yui-font-en);
  font-size: 10px; font-weight: 400; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--yui-accent); margin-bottom: 14px;
}
.yui-heading {
  font-family: var(--yui-font-en);
  font-size: clamp(26px, 3.5vw, 44px); font-weight: 300;
  letter-spacing: 0.04em; color: var(--yui-text); margin-bottom: 16px; line-height: 1.25;
}
.yui-section-hd {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 44px; flex-wrap: wrap; gap: 16px;
}
.yui-fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--yui-ease), transform 0.8s var(--yui-ease); }
.yui-fade-up.is-visible { opacity: 1; transform: none; }
.yui-fade-up[data-delay="2"] { transition-delay: 0.2s; }
.yui-fade-up[data-delay="3"] { transition-delay: 0.3s; }

/* ============================================================
   BUTTON
   ============================================================ */
.yui-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--yui-font-en); font-size: 14px; font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 15px;
  color: #999999; background: none;
  border-radius: 50px; transition: background .25s, border-color .25s, box-shadow .25s;
  cursor: pointer; text-decoration: none;
}
.yui-btn:hover { background: rgba(255,255,255,0.9); border-color: var(--yui-accent); box-shadow: 0 4px 16px rgba(80,140,200,0.15); }
.yui-btn--accent { background: var(--yui-accent); border-color: var(--yui-accent); color: #fff; }
.yui-btn--accent:hover { background: #3a96cc; border-color: #3a96cc; }
.yui-btn--outline { border: 2px solid #999999;}
.yui-btn--outline:hover { background: rgba(255,255,255,0.9) !important; border-color: var(--yui-accent) !important; }
.yui-btn svg { width: 14px; height: 14px; transition: transform .25s; flex-shrink: 0; }
.yui-btn:hover svg { transform: translateX(3px); }

/* ============================================================
   Hero サークルセクション
   ============================================================ */
.yui-hero-circle {
  display: flex !important; align-items: center !important; justify-content: center !important;
  min-height: 100svh; position: relative; z-index: 4; padding: 40px 20px !important;
}
.yui-circle-inner {
  width: 480px !important; height: 480px !important;
  max-width: 90vw !important; max-height: 90vw !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important; flex-direction: column !important;
  align-items: center !important; justify-content: center !important;
  text-align: center !important; padding: 48px !important;
  border: 4px solid #f7ff7f !important;
  box-shadow: 0 4px 40px rgba(100,180,255,0.15), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}
.yui-circle-inner h1.wp-block-heading,
.yui-circle-inner h2.wp-block-heading,
.yui-circle-inner .wp-block-heading {
  font-family: var(--yui-font-en) !important;
  font-size: clamp(20px, 3.5vw, 28px) !important; font-weight: 700 !important;
  letter-spacing: 0.08em !important; line-height: 1.35 !important;
  color: #3bbfd4 !important; margin-bottom: 20px !important;
}
.yui-circle-inner p {
  font-family: var(--yui-font-ja) !important; font-size: 13px !important;
  font-weight: 700 !important; letter-spacing: 0.05em !important;
  line-height: 1.9 !important; color: var(--yui-sub) !important; margin: 0 !important;
}

/* ============================================================
   SERVICES ショートコード（.yui-svc-card）
   ============================================================ */
h3.top-title-services { font-size: 1.5em; color: #898989; margin: 30px 0 10px 0; padding-left: 30px; }
.yui-svc-wrap { width: 100%; }
.yui-svc-btn-wrap { text-align: center; margin-top: 32px; }

.yui-svc-card {
  position: relative; border-radius: 6px; overflow: visible !important;
  min-height: 380px; display: flex; flex-direction: column;
  justify-content: center; padding: 0; transition: transform 0.3s ease;
}
.yui-svc-card:hover { transform: translateY(-4px); }
.yui-svc-card__bg {
  position: absolute; inset: 0;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  z-index: 0; transition: transform 0.6s ease; border-radius: 6px;
}
.yui-svc-card:hover .yui-svc-card__bg { transform: scale(1.04); }
.yui-svc-card--event .yui-svc-card__bg    { background-image: url("/wp-content/uploads/2026/05/bk_event.png"); }
.yui-svc-card--brand .yui-svc-card__bg    { background-image: url("/wp-content/uploads/2026/04/bk_brandv.png"); }
.yui-svc-card--social .yui-svc-card__bg   { background-image: url("/wp-content/uploads/2026/04/bk_socialv.png"); }
.yui-svc-card--ceremony .yui-svc-card__bg { background-image: url("/wp-content/uploads/2026/04/bk_ceremony.png"); }
.yui-svc-card__body {
  position: absolute !important; top: 50% !important; left: 0 !important;
  right: 0 !important; bottom: auto !important; transform: translateY(-50%) !important;
  width: 70% !important; margin: 0 auto !important; z-index: 1; text-align: center;
}
.yui-svc-card__title {
  font-family: 'Jost', sans-serif !important; font-size: 22px !important;
  font-weight: 700 !important; line-height: 1.4 !important; color: #137dee !important;
  margin-bottom: 12px !important; text-align: center; word-break: keep-all !important;
}
.yui-svc-card__text {
  font-size: 0.7rem !important; line-height: 1.8 !important;
  color: #898989 !important; margin: 0 !important; text-align: center !important;
}

/* ============================================================
   WORKS カード共通
   ============================================================ */
.yui-works { background: transparent; }
.yui-works-sc { position: relative; z-index: 4; padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
.yui-works__empty { font-size: 14px; color: var(--yui-mute); text-align: center; padding: 48px 0; }
.yui-works-swiper { overflow: hidden; padding-bottom: 40px !important; }
.yui-works-swiper .swiper-wrapper { transition-timing-function: linear !important; }
.yui-works-swiper .swiper-slide { height: auto; }
.yui-works-swiper .yui-work-card { height: 100%; }
.yui-works-swiper .yui-work-card__thumb { aspect-ratio: 2/3; }

.yui-work-card { cursor: default; border-radius: 6px; overflow: hidden; }
.yui-work-card.has-video { cursor: pointer; }
.yui-work-card__link { display: block; text-decoration: none; color: inherit; }
.yui-work-card__link:hover .yui-work-card__thumb img { transform: scale(1.05); }
.yui-work-card__thumb {
  aspect-ratio: 3/4; overflow: hidden; position: relative;
  background: rgba(200,228,255,0.3); border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.75); box-shadow: 0 4px 20px rgba(100,160,220,0.12);
}
.yui-work-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--yui-ease); display: block; }
.yui-work-card__no-thumb { width: 100%; height: 100%; background: rgba(200,228,255,0.2); }
.yui-work-card.has-video:hover .yui-work-card__thumb img { transform: scale(1.05); }
.yui-work-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(200,230,255,0); transition: background .3s ease; }
.yui-work-card.has-video:hover .yui-work-card__play { background: rgba(170,210,255,0.35); }
.yui-work-card__play-icon { width: 52px; height: 52px; border: 1.5px solid rgba(70,130,195,0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.6); color: var(--yui-accent); opacity: 0; transform: scale(0.8); transition: opacity .3s ease, transform .3s ease; }
.yui-work-card.has-video:hover .yui-work-card__play-icon { opacity: 1; transform: scale(1); }
.yui-work-card__play-icon svg { width: 16px; height: 16px; margin-left: 3px; }
.yui-work-card__meta { padding: 14px 4px 4px; }
.yui-work-card__title  { font-family: var(--yui-font-en); font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: var(--yui-text); margin-bottom: 4px; }
.yui-work-card__client { font-size: 12px; color: var(--yui-sub); margin-bottom: 2px; }
.yui-work-card__cat    { font-size: 10px; color: var(--yui-mute); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--yui-font-en); }

.yui-swiper-btn { width: 40px !important; height: 40px !important; border-radius: 50% !important; border: 1px solid rgba(100,160,220,0.3) !important; background: rgba(255,255,255,0.7) !important; display: flex !important; align-items: center !important; justify-content: center !important; top: 38% !important; }
.yui-swiper-btn::after { font-size: 13px !important; color: var(--yui-text) !important; }
.yui-swiper-btn:hover  { border-color: var(--yui-accent) !important; background: rgba(255,255,255,0.95) !important; }
.yui-swiper-pagination .swiper-pagination-bullet        { width: 5px; height: 5px; background: var(--yui-mute); opacity: 1; }
.yui-swiper-pagination .swiper-pagination-bullet-active { background: var(--yui-accent); transform: scale(1.5); }

/* Works Swiper: 画面幅いっぱいに */
.yui-works-swiper-outer { width: 100vw; margin-left: calc(50% - 50vw); margin-top: 20px !important; overflow: hidden; }
.yui-works-swiper-outer .yui-works-swiper { padding: 0 0 40px; overflow: hidden; }
.yui-works-sc .yui-container { max-width: 100%; padding: 0 24px; }
.works_top { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.works_top h2 { margin-bottom: 20px !important; }
.yui-works-btn-wrap { text-align: right; padding: 24px 40px 0; }

/* Works TOPマーキー */
.yui-works-marquee-wrap { overflow: hidden; width: 100%; padding: 20px 0 52px; cursor: grab; }
.yui-works-marquee-wrap:active { cursor: grabbing; }
.yui-works-marquee__track { display: flex; gap: 20px; width: max-content; animation: yuiMarquee 30s linear infinite; }
.yui-works-marquee-wrap:hover .yui-works-marquee__track { animation-play-state: paused; }
@keyframes yuiMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.yui-works-marquee__item { flex-shrink: 0; width: 200px; }

/* ============================================================
   JOIN US
   ============================================================ */
.yui-join__inner   { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.yui-join__collage { position: relative; height: 500px; }
.yui-join__photo   { position: absolute; overflow: hidden; border-radius: 6px; border: 1px solid rgba(255,255,255,0.85); box-shadow: 0 8px 32px rgba(100,160,220,0.15); }
.yui-join__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yui-join__photo--1 { width: 58%; height: 52%; top: 0;     right: 2%; }
.yui-join__photo--2 { width: 44%; height: 48%; top: 6%;    left: 0;   }
.yui-join__photo--3 { width: 52%; height: 46%; bottom: 2%; right: 0;  }
.yui-join__photo--4 { width: 44%; height: 42%; bottom: 6%; left: 4%;  }
.yui-join__body { font-size: 14px; color: var(--yui-sub); line-height: 2.2; margin-bottom: 32px; }

.joinus_top, .yui-joinus {
  position: relative !important; z-index: 10 !important; isolation: isolate;
}
.joinus_top h2,
.joinus_top .wp-block-heading {
  font-family: 'Jost', 'Noto Sans JP', sans-serif !important;
  font-size: 2rem !important; color: #ffffff !important; font-weight: 600 !important; letter-spacing:0.05em;
}
.joinus_top p,
.joinus_top .wp-block-paragraph {
  font-size: 0.8rem !important; color: #ffffff !important; line-height: 2 !important;
  text-shadow: 0 0 12px rgb(120 118 120 / 90%), 0 0 24px rgb(255 255 255 / 80%), 0 0 60px rgb(0 135 247 / 80%) !important;
}
.joinus_top .wp-block-buttons { margin-top: 44px !important; }
.joinus_top .wp-block-button .wp-block-button__link,
.joinus_top .wp-block-button__link {
  font-family: 'Jost', sans-serif !important; font-size: 13px !important;
  font-weight: 600 !important; letter-spacing: 0.12em !important;
  border-radius: 40px !important;
  border-top-left-radius: 40px !important; border-top-right-radius: 40px !important;
  border-bottom-left-radius: 40px !important; border-bottom-right-radius: 40px !important;
  padding: 12px 48px !important; padding-top: 12px !important; padding-bottom: 12px !important;
  border: none !important; background: #f7ff7f !important; background-color: #f7ff7f !important;
  color: #2a3a52 !important;
  text-decoration: none !important; transition: transform 0.2s, box-shadow 0.2s !important;
}
.joinus_top .wp-block-button .wp-block-button__link:hover,
.joinus_top .wp-block-button__link:hover {
  transform: translateY(-2px) !important; box-shadow: 0 8px 24px rgba(200,220,0,0.35) !important;
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.yui-video-modal { position: fixed; inset: 0; z-index: 200; background: rgba(210,232,255,0.92); backdrop-filter: blur(24px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s ease; }
.yui-video-modal:not([hidden]) { opacity: 1; }
.yui-video-modal[hidden] { display: none; }
.yui-video-modal__inner { width: min(90vw, 960px); aspect-ratio: 16/9; position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 80px rgba(80,140,200,0.3); transform: scale(0.94); transition: transform .4s var(--yui-ease); }
.yui-video-modal:not([hidden]) .yui-video-modal__inner { transform: scale(1); }
.yui-video-modal__body { width: 100%; height: 100%; }
.yui-video-modal__body video, .yui-video-modal__body iframe { width: 100%; height: 100%; border: none; display: block; }
.yui-video-modal__close { position: absolute; top: -52px; right: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--yui-sub); background: none; border: none; cursor: pointer; transition: color .2s; }
.yui-video-modal__close:hover { color: var(--yui-text); }
.yui-video-modal__close svg { width: 24px; height: 24px; }

/* ============================================================
   Contact セクション（TOPページ）
   ============================================================ */
.yui-contact-section { position: relative; z-index: 4; padding: 80px 0 120px; display: flex; justify-content: center; }
.yui-contact-card {
  position: relative; background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 0px;
  box-shadow: 0 8px 40px rgba(100,160,220,0.12);
  padding: 30px 64px; text-align: center; width: min(500px, 90vw);
}
.yui-contact-card__title {
  font-family: var(--yui-font-en) !important; font-size: clamp(36px, 5vw, 56px) !important;
  font-weight: 600 !important; color: var(--yui-accent) !important;
  letter-spacing: 0.04em !important; margin-bottom: 12px !important;
  line-height:1 !important;
}
.yui-contact-card__text {
  font-size: 14px !important; line-height: 2 !important;
  color: var(--yui-sub) !important; margin-bottom: 10px !important;
}
.yui-contact-card .wp-block-buttons{
  margin-bottom:0 !important;	
}
.yui-contact-card .wp-block-button .wp-block-button__link {
  background: #f7ff7f !important; color: #2a3a52 !important;
  border-radius: 40px !important; padding: 14px 40px !important;
  font-family: var(--yui-font-en) !important; font-size: 13px !important;
  font-weight: 600 !important; letter-spacing: 0.12em !important;
  border: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.yui-contact-card .wp-block-button .wp-block-button__link:hover {
  transform: translateY(-2px) !important; box-shadow: 0 8px 28px rgba(180,220,0,0.4) !important;
}

/* Join Us ページ: Contact セクション カラー反転 */
.joinus-page .yui-contact-section {
  padding: 120px 0 80px;
}
.joinus-page .yui-contact-card {
  background: #5cc4e4 !important;
  border: none !important;
  box-shadow: 0 8px 40px rgba(92,196,228,0.2) !important;
}
.joinus-page .yui-contact-card__title {
  color: #ffffff !important;
}
.joinus-page .yui-contact-card__text {
  color: #ffffff !important;
}

.yui-contact-circle {
  position: absolute; top: -40px; right: -40px; width: 100px; height: 100px;
  pointer-events: none; animation: yuiContactSpin 20s linear infinite;
}
.yui-contact-circle img { width: 100%; height: 100%; object-fit: contain; display: block; }
@keyframes yuiContactSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* SP対応 */
@media (max-width: 768px) {
  .yui-contact-card {
    padding: 16px 18px !important;
    width: min(80vw, 400px) !important;
  }
  .yui-contact-card__title {
    font-size: clamp(32px, 4.5vw, 44px) !important;
    margin-bottom: 8px !important;
  }
  .yui-contact-card__text {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    line-height:130%;
  }
.yui-contact-circle {
  position: absolute; top: -30px; right: -30px; width: 80px; height: 80px;
}
	
  /* Join Us SP */
  .joinus-page .yui-contact-section {
    padding: 80px 0 60px;
  }

}

/* ============================================================
   自作ヘッダー
   ============================================================ */
.yui-header {
  position: sticky; top: 0; z-index: 9999; width: 100%;
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: none; transition: background 0.3s ease, box-shadow 0.3s ease;
}
.yui-header.is-scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.yui-header__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 0 40px; height: 72px; }
.yui-header__logo  { display: flex; align-items: center; flex-shrink: 0; z-index: 2; }
.yui-header__logo-img { height: 52px; width: auto; display: block; }
.yui-header__nav   { display: flex; align-items: center; }
.yui-header__nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.yui-header__nav-list li a { font-family: var(--yui-font-en); font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yui-sub); padding: 8px 14px; display: block; white-space: nowrap; text-decoration: none; transition: color 0.25s ease; }
.yui-header__nav-list li a:hover { color: var(--yui-text); }
.yui-header__nav-list .sub-menu { display: none !important; }
.yui-hamburger { display: none; flex-direction: column; gap: 6px; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; z-index: 2; }
.yui-hamburger__bar { display: block; width: 24px; height: 1px; background: var(--yui-text); transition: transform 0.35s ease, opacity 0.35s ease; transform-origin: center; }
.yui-hamburger.is-open .yui-hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.yui-hamburger.is-open .yui-hamburger__bar:nth-child(2) { opacity: 0; }
.yui-hamburger.is-open .yui-hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.is-scrolled .yui-header__nav { display: none; }
.is-scrolled .yui-hamburger   { display: flex; }
body.yui-is-subpage .yui-header__nav { display: none; }
body.yui-is-subpage .yui-hamburger   { display: flex; }

/* ドロワー */
.yui-drawer { position: fixed; inset: 0; z-index: 9998; background: rgba(220,240,255,0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: flex; align-items: center; justify-content: center; transform: translateX(100%); transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); pointer-events: none; }
.yui-drawer.is-open { transform: translateX(0); pointer-events: auto; }
.yui-drawer__inner  { text-align: center; }
.yui-drawer__list   { list-style: none; margin: 0; padding: 0; }
.yui-drawer__list li { overflow: hidden; margin-bottom: 4px; }
.yui-drawer__list li a { font-family: var(--yui-font-en); font-size: clamp(28px, 5vw, 48px); font-weight: 300; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yui-sub); display: block; padding: 12px 0; text-decoration: none; transform: translateY(100%); transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), color 0.25s ease; }
.yui-drawer.is-open .yui-drawer__list li a { transform: translateY(0); }
.yui-drawer.is-open .yui-drawer__list li:nth-child(1) a { transition-delay: 0.05s; }
.yui-drawer.is-open .yui-drawer__list li:nth-child(2) a { transition-delay: 0.10s; }
.yui-drawer.is-open .yui-drawer__list li:nth-child(3) a { transition-delay: 0.15s; }
.yui-drawer.is-open .yui-drawer__list li:nth-child(4) a { transition-delay: 0.20s; }
.yui-drawer.is-open .yui-drawer__list li:nth-child(5) a { transition-delay: 0.25s; }
.yui-drawer__list li a:hover { color: var(--yui-text); }
.yui-drawer__list .sub-menu { display: none !important; }
.yui-drawer__overlay { position: fixed; inset: 0; z-index: 9997; background: transparent; display: none; }
.yui-drawer__overlay.is-active { display: block; }

/* ============================================================
   フッター
   ============================================================ */
.yui-footer { position: relative; z-index: 4; padding: 32px 0 24px; text-align: center; }
.yui-footer__sns { display: flex; justify-content: center; margin-bottom: 20px; }
.yui-footer__sns a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.yui-footer__sns a:hover { border-color: #fff; color: #fff; }
.yui-footer__sns svg { width: 20px; height: 20px; }
.yui-footer__links { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; }
.yui-footer__links a { font-family: var(--yui-font-en); font-size: 11px; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.yui-footer__links a:hover { color: rgba(255,255,255,0.9); }
.yui-footer__copy { font-family: var(--yui-font-en); font-size: 10px; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); }

/* ============================================================
   下層ページ共通
   ============================================================ */
.yui-subpage { min-height: 100vh; padding-bottom: 80px; }
.yui-subpage__header { padding: 80px 0 48px; position: relative; z-index: 4; }
.yui-subpage__header-inner { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.yui-subpage__breadcrumb { font-family: var(--yui-font-en); font-size: 11px; letter-spacing: 0.15em; color: var(--yui-mute); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; text-transform: uppercase; }
.yui-subpage__breadcrumb a { color: var(--yui-accent); text-decoration: none; transition: opacity 0.2s; }
.yui-subpage__breadcrumb a:hover { opacity: 0.7; }
.yui-subpage__title { font-family: var(--yui-font-en) !important; font-size: clamp(32px, 5vw, 60px) !important; font-weight: bold !important; letter-spacing: 0.04em !important; color: var(--yui-accent) !important; margin: 0 !important; line-height: 1.2 !important; }
.yui-subpage__body { position: relative; z-index: 4; }
.yui-subpage__container { max-width: 900px; margin: 0 auto; padding: 0 48px; }
.yui-subpage__container p { font-size: 12px; line-height: 2.2; color: var(--yui-sub); margin-bottom: 1.8em; }
.yui-subpage__container h2 { font-family: var(--yui-font-en) !important; font-size: clamp(20px, 2.5vw, 28px) !important; font-weight: 300 !important; color: var(--yui-text) !important; letter-spacing: 0.05em !important; margin: 48px 0 20px !important; padding-bottom: 12px !important; border-bottom: 1px solid var(--yui-border) !important; }
.yui-subpage__container h3 { font-family: var(--yui-font-en) !important; font-size: clamp(16px, 2vw, 20px) !important; font-weight: 400 !important; color: var(--yui-accent) !important; letter-spacing: 0.08em !important; margin: 36px 0 16px !important; }
.yui-subpage__container .wp-block-group { background: rgba(255,255,255,0.5); backdrop-filter: blur(12px); border-radius: 12px; padding: 40px !important; border: 1px solid rgba(255,255,255,0.8); margin-bottom: 24px; }

/* ============================================================
   Works 一覧ページ
   ============================================================ */
.yui-works-archive { position: relative; z-index: 4; min-height: 100vh; padding-bottom: 80px; }
.yui-works-archive__header { padding: 100px 0 40px; }
.yui-works-archive__header-inner { max-width: 1240px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; flex-wrap: nowrap; gap: 0 48px; padding-bottom: 0; }
.yui-works-archive__title { font-family: 'Jost', sans-serif !important; font-size: clamp(40px, 6vw, 72px) !important; font-weight: 600 !important; color: #5cc4e4 !important; letter-spacing: 0.01em !important; line-height: 1 !important; margin: 0 !important; flex-shrink: 0; }
.yui-works-filter { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; }
.yui-works-filter__btn { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 300; letter-spacing: 0.10em; color: rgba(42,58,82,0.55); background: none !important; border: none !important; border-radius: 0 !important; padding: 4px 0 !important; cursor: pointer; transition: color 0.2s; backdrop-filter: none !important; }
.yui-works-filter__btn:hover { color: rgba(42,58,82,0.8) !important; background: none !important; }
.yui-works-filter__btn.is-active { color: #ffff6c !important; background: none !important; border: none !important; font-weight: 400; }
.yui-works-archive__container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.yui-works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.yui-works-grid__item { transition: opacity 0.3s ease; }
.yui-works-grid__link { display: block; text-decoration: none; color: inherit; }
.yui-works-grid__thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; background: rgba(200,228,255,0.2); margin-bottom: 14px; }
.yui-works-grid__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--yui-ease); }
.yui-works-grid__link:hover .yui-works-grid__thumb img { transform: scale(1.05); }
.yui-works-grid__overlay { position: absolute; inset: 0; background: rgba(100,180,255,0); display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; }
.yui-works-grid__link:hover .yui-works-grid__overlay { background: rgba(100,180,255,0.25); }
.yui-works-grid__overlay-text { font-family: var(--yui-font-en); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.3s ease; }
.yui-works-grid__link:hover .yui-works-grid__overlay-text { opacity: 1; transform: none; }
.yui-works-grid__client { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 300; letter-spacing: 0.06em; color: var(--yui-mute); margin-bottom: 4px; }
.yui-works-grid__name   { font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 300; letter-spacing: 0.04em; color: var(--yui-text); margin-bottom: 6px; }
.yui-works-grid__tags   { display: flex; gap: 8px; flex-wrap: wrap; }
.yui-works-grid__cat    { font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--yui-mute); }
.yui-works-grid__date   { font-size: 10px; font-family: var(--yui-font-en); letter-spacing: 0.12em; text-transform: uppercase; color: var(--yui-mute); }
.yui-works-grid__empty  { grid-column: 1 / -1; text-align: center; padding: 80px 0; color: var(--yui-mute); }

/* ============================================================
   ページネーション
   ============================================================ */
.yui-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 60px 0 20px; }
.yui-pagination__pages { display: flex; align-items: center; gap: 6px; }
.yui-pagination__page { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--yui-font-en); font-size: 13px; letter-spacing: 0.05em; color: var(--yui-sub); text-decoration: none; background: rgba(255,255,255,0.5); border: 1px solid rgba(100,160,220,0.2); transition: all 0.2s ease; backdrop-filter: blur(4px); }
.yui-pagination__page:hover { background: rgba(255,255,255,0.9); border-color: var(--yui-accent); color: var(--yui-accent); }
.yui-pagination__page.is-active { background: var(--yui-accent); border-color: var(--yui-accent); color: #fff; font-weight: 500; }
.yui-pagination__ellipsis { width: 32px; text-align: center; color: var(--yui-mute); font-size: 13px; }
.yui-pagination__btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(100,160,220,0.3); background: rgba(255,255,255,0.5); color: var(--yui-sub); text-decoration: none; transition: all 0.2s ease; backdrop-filter: blur(4px); }
.yui-pagination__btn:hover { background: rgba(255,255,255,0.9); border-color: var(--yui-accent); color: var(--yui-accent); }
.yui-pagination__btn svg { width: 16px; height: 16px; }

/* ============================================================
   Works 個別ページ
   ============================================================ */
.yui-work-single { position: relative; z-index: 4; min-height: 100vh; }
.yui-work-single__header { padding: 80px 0 32px; }
.yui-work-single__header-inner { max-width: 1240px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; flex-wrap: nowrap; gap: 0 48px; padding-bottom: 0; }
.yui-work-single__page-title { font-family: 'Jost', sans-serif !important; font-size: clamp(40px, 6vw, 72px) !important; font-weight: 600 !important; color: #5cc4e4 !important; letter-spacing: 0.01em !important; line-height: 1 !important; margin: 0 !important; flex-shrink: 0; }
.yui-work-single__cat-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.yui-work-single__cat-link { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 300; letter-spacing: 0.10em; color: rgba(42,58,82,0.55); text-decoration: none; padding: 4px 0; border: none; transition: color 0.2s; }
.yui-work-single__cat-link + .yui-work-single__cat-link::before { content: none; }
.yui-work-single__cat-link:hover { color: rgba(42,58,82,0.8); }
.yui-work-single__cat-link.is-active { color: #ffff6c; font-weight: 400; }
.yui-work-single__body { padding-bottom: 80px; }
.yui-work-single__container { max-width: 1000px; margin: 0 auto; padding: 0 48px; }
.yui-work-single__section { margin-bottom: 48px; }
.yui-work-single__section-title { font-family: 'Jost', sans-serif !important; font-size: clamp(20px, 2.5vw, 28px) !important; font-weight: 600 !important; letter-spacing: 0.22em !important; text-transform: none !important; color: #ffffff !important; margin-bottom: 1em !important; border-bottom: none !important; padding-bottom: 0 !important; }
.yui-work-single__section-body { font-size: 13px; line-height: 2.1; letter-spacing:20%; color: rgba(255,255,255,0.9); padding: 0 10px; }
.yui-work-single__section-body p { color: rgba(255,255,255,0.9); margin-bottom: 1em; }
.yui-work-single__section--voice { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; border: none; padding: 0; }
.yui-work-single__visual { margin-bottom: 48px; }
.yui-work-single__video-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; background: rgba(200,228,255,0.2); box-shadow: 0 8px 48px rgba(100,160,220,0.15); }
.yui-work-single__video-wrap iframe, .yui-work-single__video-wrap video { width: 100%; height: 100%; border: none; display: block; }
.yui-work-single__thumb { border-radius: 10px; overflow: hidden; }
.yui-work-single__thumb img { width: 100%; height: auto; display: block; }
.yui-work-single__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 48px; }
.yui-work-single__gallery-item { border-radius: 8px; overflow: hidden; }
.yui-work-single__gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yui-work-single__nav { max-width: 1000px; margin: 0 auto; padding: 32px 48px 80px; border-top: 1px solid var(--yui-border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.yui-work-single__nav-back { font-family: var(--yui-font-en); font-size: 11px; letter-spacing: 0.15em; color: var(--yui-accent); text-decoration: none; transition: opacity 0.2s; }
.yui-work-single__nav-back:hover { opacity: 0.7; }
.yui-work-single__nav-prev-next { display: flex; gap: 20px; }
.yui-work-single__nav-btn { font-family: var(--yui-font-en); font-size: 11px; letter-spacing: 0.1em; color: var(--yui-sub); text-decoration: none; transition: color 0.2s; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yui-work-single__nav-btn:hover { color: var(--yui-text); }

/* Works 個別: タイトル・基本情報 */
.yui-work-single__info {
  margin-bottom: 48px;
  padding-bottom: 32px;
}
.yui-work-single__title { font-family: 'Jost', sans-serif !important; font-size: clamp(20px, 2.5vw, 28px) !important; font-weight: 600 !important; letter-spacing: 0.22em !important; text-transform: none !important; color: #ffffff !important; margin-bottom: 1em !important; border-bottom: none !important; padding-bottom: 0 !important; }
.yui-work-single__meta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yui-work-single__meta-item {
  display: flex;
  gap: 16px;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing:20%;
}
.yui-work-single__meta-item dt {
  color: #2a3a52;
  white-space: nowrap;
  min-width: 72px;
}
.yui-work-single__meta-item dd {
  color: #2a3a52;
  margin: 0;
}
/* ============================================================
   Snow Monkey Forms（Contactフォーム）
   ============================================================ */
.snow-monkey-form { max-width: 800px; margin: 0 auto; padding: 0 0 80px; }

/* フォームカード */
.smf-form {
  background: rgba(255,255,255,0.78) !important; backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 0 !important;
  border: 1px solid rgba(255,255,255,0.9) !important; border-bottom: none !important;
  box-shadow: none !important; padding: 80px 88px 64px !important;
}
.smf-action {
  background: rgba(255,255,255,0.78) !important; backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 0 !important;
  border: 1px solid rgba(255,255,255,0.9) !important; border-top: none !important;
  box-shadow: 0 8px 40px rgba(100,160,220,0.1) !important;
  padding: 28px 68px 60px !important; display: flex !important; justify-content: center !important;
}

/* フォーム項目レイアウト */
.smf-item {
  display: grid !important; grid-template-columns: 100px 1fr !important;
  gap: 0 16px !important; align-items: start !important; margin-bottom: 16px !important;
  max-width: 560px !important; margin-left: auto !important; margin-right: auto !important;
}
.smf-item__col--label { text-align: right !important; white-space: nowrap !important; padding-top: 8px !important; }
.smf-item__label { font-family: 'Noto Sans JP', sans-serif !important; font-size: 11px !important; font-weight: 400 !important; color: #4a4f52 !important; letter-spacing: 0.05em !important; }

/* 入力欄 */
.smf-text-control__control,
.smf-textarea-control__control {
  width: 100% !important; background: rgba(200,195,188,0.25) !important;
  border: none !important; border-radius: 3px !important; padding: 10px 12px !important;
  font-size: 13px !important; color: #4a4f52 !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  outline: none !important; box-shadow: none !important;
  box-sizing: border-box !important; transition: background 0.2s !important;
}
.smf-text-control__control:focus,
.smf-textarea-control__control:focus { background: rgba(200,195,188,0.4) !important; }
.smf-textarea-control__control { min-height: 110px !important; resize: vertical !important; }

/* チェックボックス */
.smf-checkbox-control__control,
input[type="checkbox"].smf-checkbox-control__control {
  -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important;
  width: 16px !important; height: 16px !important; min-width: 16px !important;
  border-radius: 3px !important; border: 1.5px solid rgba(150,170,190,0.6) !important;
  background: rgba(255,255,255,0.9) !important; cursor: pointer !important;
  position: relative !important; display: inline-block !important;
  vertical-align: middle !important; margin-right: 8px !important;
  flex-shrink: 0 !important; box-shadow: none !important; outline: none !important;
}
.smf-checkbox-control__control:checked,
input[type="checkbox"].smf-checkbox-control__control:checked {
  background: var(--yui-accent) !important; border-color: var(--yui-accent) !important;
}
.smf-checkbox-control__control::before,
input[type="checkbox"].smf-checkbox-control__control::before { display: none !important; content: none !important; }
.smf-checkbox-control__control::after,
input[type="checkbox"].smf-checkbox-control__control::after { content: none !important; display: none !important; }
.smf-checkbox-control__control:checked::after,
input[type="checkbox"].smf-checkbox-control__control:checked::after {
  content: '' !important; display: block !important; position: absolute !important;
  top: 1px !important; left: 4px !important; width: 5px !important; height: 9px !important;
  border: 2px solid #fff !important; border-top: none !important; border-left: none !important;
  transform: rotate(45deg) !important;
}
.smf-checkbox-control__label { font-family: 'Noto Sans JP', sans-serif !important; font-size: 12px !important; color: #4a4f52 !important; vertical-align: middle !important; }

/* チェックボックス横並び */
.smf-checkboxes-control__control {
  display: flex !important; flex-direction: row !important;
  flex-wrap: wrap !important; gap: 8px 24px !important; align-items: center !important;
}
.smf-label { display: inline-flex !important; align-items: center !important; }
.smf-label label { display: inline-flex !important; align-items: center !important; cursor: pointer !important; white-space: nowrap !important; }

/* プライバシーポリシーリンク */
.smf-checkbox-control__label a,
.smf-label label a {
  color: var(--yui-accent) !important; text-decoration: underline !important;
  pointer-events: auto !important; position: relative !important; z-index: 10 !important; cursor: pointer !important;
}
.smf-checkbox-control__label a:hover,
.smf-label label a:hover { opacity: 0.75 !important; }

/* 送信ボタン */
.smf-button-control__control {
  font-family: 'Jost', sans-serif !important; font-size: 13px !important;
  font-weight: 500 !important; letter-spacing: 0.12em !important;
  border-radius: 6px !important; padding: 12px 48px !important;
  cursor: pointer !important; transition: transform 0.2s, box-shadow 0.2s !important;
  border: none !important; background: #f7ff7f !important; color: #2a3a52 !important;
  box-shadow: 0 4px 16px rgba(200,220,0,0.25) !important;
}
.smf-button-control__control:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 24px rgba(200,220,0,0.35) !important; }
.smf-button-control__control[data-action="back"] { background: rgba(255,255,255,0.5) !important; color: var(--yui-sub) !important; box-shadow: none !important; border: 1px solid rgba(100,160,220,0.3) !important; margin-right: 12px !important; }
.smf-sending { display: none !important; }
.smf-item__error-messages { font-size: 11px; color: #e05; grid-column: 2; margin-top: 4px; }

/* ============================================================
   What We Do ページ (/whatwedo/)
   ============================================================ */
.wwd-page { position: relative; z-index: 4; padding-bottom: 80px; }
.wwd-page h1, .wwd-page h2, .wwd-page h3 {
  font-style: normal !important; border-bottom: none !important; padding-bottom: 0 !important;
}

/* Philosophy */
.wwd-philosophy {
  max-width: 760px;
  margin: 0 auto 56px;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.wwd-philosophy__catch {
  font-family: 'Jost', sans-serif !important;
  font-size: clamp(22px, 3vw, 32px) !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  letter-spacing: 0.04em !important;
  line-height: 1.5 !important;
  margin-bottom: 20px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.wwd-philosophy__tagline {
  display: inline-block;
  background: #ffff6c;
  color: #2a3a52;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 20px;
  margin-bottom: 28px;
}
.wwd-philosophy__text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 2.2;
  color: var(--yui-text);
  margin-bottom: 1em;
}
.wwd-philosophy__struct {
  width: 320px;
  margin:60px auto;
}
.wwd-philosophy__struct img {
  width: 100%; height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.7;
}

/* Services */
.wwd-services { max-width: 760px; margin: 40px auto 0; padding: 0 48px; }
.wwd-services__label {
  font-family: 'Jost', sans-serif !important; font-size: 28px !important;
  font-weight: 600 !important; font-style: normal !important; letter-spacing: 0.04em !important;
  color: #FFFFFF !important; margin-bottom: 16px !important;
  border-bottom: none !important; padding-bottom: 0 !important;
}
.wwd-service-item {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.9); padding: 28px 32px; margin-bottom: 10px;
}
.wwd-service-item:last-child { margin-bottom: 0; }
.wwd-service-item__content { flex: 1; }
.wwd-service-item__image {
  flex-shrink: 0;
  width: 300px; height: auto;
  border-radius: 6px;
  overflow: hidden;
}
.wwd-service-item__image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
h2.wwd-service-item__title {
  font-family: 'Jost', sans-serif !important; font-size: 28px !important;
  font-weight: 700 !important; font-style: normal !important; color: #0b6fc8 !important;
  letter-spacing: 0.04em !important; margin-bottom: 6px !important;
  border-bottom: none !important; padding-bottom: 0 !important; margin-top: 0 !important;
}
.wwd-service-item__desc { font-family: 'Noto Sans JP', sans-serif; font-size: 12px; line-height: 1.8; color: #6a7f9a; margin-bottom: 12px; }
.wwd-service-item__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.wwd-tag { font-family: 'Noto Sans JP', sans-serif; font-size: 12px; color: #6a7f9a; padding: 3px 12px 3px 0px; white-space: nowrap; letter-spacing: 0.12em; }
.wwd-service-item__btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #fff;
  background: #5cc4e4;
  border-radius: 20px;
  padding: 6px 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.wwd-service-item__btn:hover { background: #3a96cc; }


/* Founder's Message */
.wwd-founder { 
  max-width: 760px; 
  margin: 0 auto; 
  padding: 56px 48px 0 48px;
  scroll-margin-top: 120px;
}
h2.wwd-founder__title {
  font-family: 'Jost', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 24px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.wwd-founder__inner { display: flex; gap: 32px; align-items: flex-start; }
.wwd-founder__photo { flex-shrink: 0; width: 300px; border-radius: 4px; overflow: hidden; }
.wwd-founder__photo img { width: 100%; height: auto; display: block; }
.wwd-founder__body { flex: 1; }
.wwd-founder__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px; line-height: 2;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.wwd-founder__name {
  font-family: 'Jost', 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-align: right;
}

/* Company Profile */
.wwd-profile { 
  max-width: 760px; 
  margin: 56px auto 0; 
  padding: 0 48px;
  scroll-margin-top: 100px;
}
h2.wwd-profile__title {
  font-family: 'Jost', sans-serif !important; 
  font-size: 20px !important;
  font-weight: 700 !important; 
  font-style: normal !important; 
  color: #ffffff !important;
  letter-spacing: 0.06em !important; 
  margin-bottom: 0 !important;
  padding-bottom: 0 !important; 
  border-bottom: none !important;
}
.wwd-profile__table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.wwd-profile__table,
.wwd-profile__table tbody,
.wwd-profile__table tr,
.wwd-profile__table th,
.wwd-profile__table td {
  background: transparent !important; background-color: transparent !important;
  border-left: none !important; border-right: none !important;
}
.wwd-profile__table tr { border-bottom: 2px solid rgba(255,255,255,0.6) !important; }
.wwd-profile__table tr:first-child { border-top: 2px solid rgba(255,255,255,0.6) !important; }
.wwd-profile__table th {
  font-family: 'Noto Sans JP', sans-serif !important; 
  font-size: 12px !important;
  font-weight: 400 !important; 
  color: #ffffff !important; 
  text-align: left !important;
  padding: 14px 24px 14px 0 !important; 
  width: 90px !important;
  white-space: nowrap !important; 
  vertical-align: top !important; 
  border-top: none !important;
}
.wwd-profile__table td {
  font-family: 'Noto Sans JP', sans-serif !important; 
  font-size: 13px !important;
  color: #ffffff !important; 
  padding: 14px 0 !important;
  vertical-align: top !important; 
  border-top: none !important;
}

/* ============================================================
   What We Do レスポンシブ
   ============================================================ */
@media (max-width: 768px) {
  .wwd-philosophy { padding: 0 20px; }
  .wwd-philosophy__struct { width: 220px; }
  .wwd-services { padding: 0 20px; }
  .wwd-service-item { flex-direction: column; padding: 20px 18px; gap: 16px; }
  .wwd-service-item__image { width: 100%; height: auto; }
  .wwd-contact { padding: 0 20px; margin-top: 44px; }
  .wwd-contact__card { padding: 32px 24px; }
  .wwd-founder { 
    padding: 0 20px; 
    margin-top: 44px;
    scroll-margin-top: 80px;
  }
  .wwd-founder__inner { flex-direction: column; }
  .wwd-founder__photo { width: 100%; max-width: 100%; }
  .wwd-profile { 
    padding: 0 20px; 
    margin-top: 44px;
    scroll-margin-top: 80px;
  }
  .wwd-profile__table th { width: 72px; font-size: 11px; padding-right: 16px; }
  .wwd-profile__table td { font-size: 12px; }
  .wwd-tag { font-size: 10px; padding: 3px 10px; }
}
/* ============================================================
   Join Us ページ
   ============================================================ */
.joinus-page { position: relative; z-index: 4; padding-bottom: 80px; }

/* ヒーロー */
.joinus-hero {
  text-align: center;
  padding: 20px 20px 60px;
  position: relative;
}
.joinus-hero__crystal {
  width: 300px;
  margin: 0 auto 32px;
}
.joinus-hero__crystal img {
  width: 100%; height: auto; display: block;
}
.joinus-hero__catch {
  font-family: 'Jost', sans-serif;
  font-size: clamp(24px, 4vw, 40px) !important;
  font-weight: 500;
  line-height: 1;
  color: #FFFFFF !important;
  letter-spacing: 0.06em;
}
.joinus-hero__catch--yellow { color: #f7ff7f; }

/* クリエイター登録について */
.joinus-about {
  max-width: 760px;
  margin: 0 auto 56px;
  padding: 80px 48px;
  text-align: center;
}
.joinus-about__label {
  font-family: 'Jost', 'Noto Sans JP', sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #5cc4e4 !important;
  margin-bottom: 24px;
}
.joinus-about__text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 2.2;
  color: var(--yui-text);
  margin-bottom: 1.4em;
}
.joinus-about__text p:last-child { margin-bottom: 0; }
.joinus-about__text strong {
  font-weight: 700;
  color: var(--yui-text);
}
.joinus-about__text strong{
	font-size:16px;
}
/* 求人カード */
.joinus-job {
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 0 48px;
  position: relative;
  color:#4a4f52;
}
.joinus-job__badge {
  position: absolute;
  top: -54px;
  left: 48%;
  transform: translateX(-280%) rotateZ(-20deg);
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5cc4e4;
  color: #ffff6c;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(92,196,228,0.3);
  text-align: center;
  line-height: 1.2;
  z-index: 10;
}
.joinus-job__card {
  border-radius: 40px;
  border: 2px solid #c8d4e5;
  padding: 38px 52px;
  margin-top: 16px;
}
h3.joinus-job__title {
  font-family: 'Jost', 'Noto Sans JP', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  margin-bottom: 12px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  text-align:center;
  color:#4a4f52 !important;
}
.joinus-job__desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  line-height: 1.9;
  color:#4a4f52 !important;
  margin-bottom: 16px;
  text-align:center;
}
.joinus-job__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.joinus-job__detail-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 12px;
  align-items: baseline;
}
.joinus-job__detail-item dt{
  background: #5cc4e4;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 400;
  padding: 3px 8px;
  border-radius: 10px;
  text-align: center;
  letter-spacing:15%;
}
.joinus-job__detail-item dd {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color:#4a4f52 !important;
  margin: 0;
  letter-spacing:20%;
}
.joinus-job__url {
  font-size: 11px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 12px;
  align-items: baseline;
  letter-spacing:20%;
}
.joinus-job__url a {
  font-size: 11px;
  color: var(--yui-accent);
  word-break: break-all;
}
.joinus-job__contact {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color:#4a4f52 !important;
  margin-top: 16px;
  margin-bottom: 0;
  cursor: pointer;
}

/* SP */
@media (max-width: 768px) {
  .joinus-hero__crystal { width: 220px; }
  .joinus-about { padding: 60px 20px; margin: 0 !important; }
  .joinus-job { padding: 0 20px; margin: 0 auto 48px !important; }
  .joinus-job__card { padding: 20px 18px; }
  
  /* 求人バッジ位置調整 */
  .joinus-job__badge {
    top: -40px;
    left: 10%;
    transform: translateX(-50%) rotateZ(-20deg);
    width: 80px;
    height: 80px;
    font-size: 12px;
  }
  
  /* URL折り返し対応 */
  .joinus-job__detail-item {
    grid-template-columns: 4rem 1fr;
    gap: 8px;
  }
  .joinus-job__detail-item dt {
    font-size: 9px;
    padding: 2px 6px;
  }
  .joinus-job__detail-item dd {
    font-size: 11px;
    word-break: break-word;
  }
  

}
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .yui-join__inner { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 834px) {
  .yui-header__inner { padding: 0 20px; height: 60px; }
  .yui-header__nav   { display: none !important; }
  .yui-hamburger     { display: flex !important; }
  .yui-header__logo-img { height: 40px; }
}

@media (max-width: 768px) {
  /* 基本 */
  .yui-container { padding: 0 20px; }
  .yui-section   { padding: 72px 0; }
  .yui-section-hd { flex-direction: column; align-items: flex-start; gap: 16px; }
  .yui-join__collage { height: 300px; }

  /* サークル */
  .yui-circle-inner { width: min(85vw, 340px) !important; height: min(85vw, 340px) !important; padding: 32px !important; }
  .yui-circle-inner h1.wp-block-heading,
  .yui-circle-inner h2.wp-block-heading,
  .yui-circle-inner .wp-block-heading { font-size: 18px !important; }

  /* ヘッダー */
  .yui-header__inner { padding: 0 20px; height: 60px; }
  .yui-header__nav   { display: none !important; }
  .yui-hamburger     { display: flex !important; }
  .yui-header__logo-img { height: 40px; }


  /* Services */
  .yui-svc-wrap { margin-left: calc(-50vw + 50%) !important; margin-right: calc(-50vw + 50%) !important; width: 100vw !important; }
  .yui-svc-grid { width: 100vw !important; padding-bottom: 44px; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
  .yui-svc-card { min-height: 300px; border-radius: 0 !important; }
  .yui-svc-card__body { width: 40% !important; padding: 0 8px !important; }
  .yui-svc-card__title { font-size: 18px !important; }
  .yui-svc-card__text  { font-size: 0.65rem !important; }
  .yui-svc-grid .swiper-pagination-bullet        { background: #9ab0c8; opacity: 1; width: 5px; height: 5px; }
  .yui-svc-grid .swiper-pagination-bullet-active { background: #4fa8d8; transform: scale(1.5); }

  /* Works */
  .yui-works-marquee__item { width: 240px; }
  .yui-works-archive__header { padding-top: 72px; }
  .yui-works-archive__header-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
  .yui-works-archive__container { padding: 0 20px; }
  .yui-works-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .yui-works-btn-wrap { padding: 20px 20px 0; }

  /* Works 個別 */
  .yui-work-single__header { padding: 60px 0 24px; }
  .yui-work-single__header-inner,
  .yui-work-single__container { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
  .yui-work-single__gallery { grid-template-columns: 1fr; }
  .yui-work-single__nav { padding: 24px 20px 60px; flex-direction: column; align-items: flex-start; }

  /* ページネーション */
  .yui-pagination { gap: 6px; }
  .yui-pagination__page { width: 36px; height: 36px; font-size: 12px; }
  .yui-pagination__btn  { width: 36px; height: 36px; }

  /* 下層ページ */
  .yui-subpage__header { padding: 60px 0 32px; }
  .yui-subpage__header-inner { padding: 0 20px; }
  .yui-subpage__container { padding: 0 20px; }
  .yui-subpage__container .wp-block-group { padding: 24px !important; }

  /* フォーム */
  .smf-form   { padding: 40px 32px 28px !important; }
  .smf-action { padding: 16px 32px 40px !important; }
  .smf-item   { grid-template-columns: 80px 1fr !important; max-width: 100% !important; }
  .smf-checkboxes-control__control { flex-direction: column !important; gap: 6px !important; align-items: flex-start !important; }

  /* フッター */
  .yui-footer__bottom { flex-direction: column; align-items: flex-start; }

  /* TOP: Vision / What We Do / Works / Join Us 端余白 */
  .vision_top { padding-right: 18px !important; padding-left: 18px !important; text-align: right; }
  .wwd_top    { padding-left: 18px !important; padding-right: 18px !important; text-align: left; }
  .works_top  { padding-right: 18px !important; padding-left: 18px !important; text-align: right; }
  .joinus_top { padding-left: 18px !important; padding-right: 18px !important; text-align: left; }

  /* What We Do ページ */
  .wwd-philosophy { padding: 40px 20px; }
  .wwd-philosophy__card { padding: 28px 20px 24px; }
  .wwd-services { padding: 0 20px; }
  .wwd-service-item { padding: 20px 18px; }
  .wwd-contact { padding: 0 20px; margin-top: 44px; }
  .wwd-contact__card { padding: 32px 24px; }
  .wwd-profile { padding: 0 20px; margin-top: 44px; }
  .wwd-profile__table th { width: 72px; font-size: 11px; padding-right: 16px; }
  .wwd-profile__table td { font-size: 12px; }
  .wwd-tag { font-size: 10px; padding: 3px 10px; }
}

@media (min-width: 769px) {
  .yui-svc-grid .swiper-wrapper { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; transform: none !important; width: 100% !important; }
  .yui-svc-grid .swiper-slide   { width: auto !important; height: auto !important; }
  .yui-svc-grid .swiper-pagination { display: none !important; }
}

@media (min-width: 768px) {
  .yui-works-marquee__item { width: 240px; }
  .yui-works-sc .yui-container { max-width: 100%; padding: 0 40px; }
}

@media (min-width: 1024px) {
  .yui-works-marquee__item { width: 260px; }
}

@media (max-width: 480px) {
  .yui-works-grid { grid-template-columns: 1fr; }
}