@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;500;700;900&display=swap');
/* ==========================================
   1. GLOBAL RESETS & ROOT VARIABLES
   ========================================== */
:root {
  --main-font: 'Noto Sans JP', sans-serif;
  --main-font-color-dark: #252525;
  --secondary-font-color: #4b4b4b;
  --body-font-color: #515151;
  --brand-pink-deep: #e01291;
  --window-height: 100vh;
}

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

html {
  font-family: var(--main-font);
  font-size: 16px;
  color: var(--body-font-color);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: #ffffff;
  font-size: 1.11667em;
  line-height: 2;
  font-weight: 400;
  color: #323232;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: 'palt';
}

body.is-loading {
  overflow: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

/* ==========================================
   2. DIFFERENCE-BLEND VECTOR ARROW OVERLAY
   ========================================== */
.p-frame-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
  mix-blend-mode: difference;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.p-frame-arrow {
  height: 300vh;
  width: 300vh;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  will-change: transform;
}

.p-frame-arrow__inner svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

/* ==========================================
   3. WORKING OCEAN WAVE RIBBON ENGINE
   ========================================== */
/* ==========================================
   3. WORKING OCEAN WAVE RIBBON ENGINE
   ========================================== */
.p-top-fv {
  position: relative;
  z-index: 1;
}

.ocean {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 100% !important;
  height: 0px !important;
  pointer-events: none !important;
  z-index: 1 !important; /* Lifts waves above the white body background, keeps behind text/logo (z-index 10) */
  overflow: visible !important;
  opacity: 0.75 !important;
  background: transparent !important;
}

.wave, .wave2 {
  /* Relative path from assets/css/ back up to root images/ folder */
  background-image: url('../../images/waves.svg') !important;
  background-repeat: repeat-x !important;
  position: absolute !important;
  width: 6400px !important;
  height: 233px !important;
  opacity: 1 !important;
  will-change: transform;
}

/* Upper Wave Boundary (0° rotation) */
.wave {
  top: -180px !important;
  transform: translate3d(0, 0, 0) rotate(0deg) !important;
  animation: waveForward 12s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite !important;
}

/* Lower Wave Boundary (180° rotation) */
.wave2 {
  top: -18px !important;
  transform: translate3d(0, 0, 0) rotate(180deg) !important;
  animation: waveReverse 12s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite !important;
}

@keyframes waveForward {
  0% { margin-left: 0; }
  100% { margin-left: -1600px; }
}

@keyframes waveReverse {
  0% { margin-left: 0; }
  100% { margin-left: -1600px; }
}

@media (max-width: 767.8px) {
  .wave, .wave2 {
    height: 180px !important;
  }
}

/* ==========================================
   MOBILE WAVE STACKING FIX
   ========================================== */
@media (max-width: 767.8px) {
  .p-top-fv {
    position: relative !important;
    z-index: 1 !important;
    isolation: isolate !important; /* Establishes clean stacking layer for mobile WebKit */
  }

  .ocean {
    z-index: 1 !important; /* Lifts waves out from behind the white body background */
    top: 50% !important;
    opacity: 0.85 !important;
  }

  .wave, .wave2 {
    display: block !important;
    visibility: visible !important;
  }
}

/* ==========================================
   4. HERO SECTION & CENTER LOGO STACKING
   ========================================== */
.p-top-fv {
  height: 100vh;
  height: var(--window-height);
  position: relative;
  overflow: hidden;
}

.p-top-fv__inner {
  height: 100%;
  max-width: 1075px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 58px;
  position: relative;
  z-index: 10;
}

@media (max-width: 767.8px) {
  .p-top-fv__inner {
    padding: 0 16px;
  }
}

.p-top-fv__logo {
  display: block !important;
  width: 480px;
  max-width: 50%;
  flex: 0 1 auto;
  margin: 0 1em;
  position: relative;
  z-index: 15;
}

@media (max-width: 767.8px) {
  .p-top-fv__logo {
    width: 240px;
    margin: 0 0.5em;
  }
}

.i-arck-logo {
  display: block;
  width: 100%;
  padding-top: 14.2857%;
  position: relative;
}

.i-arck-logo > svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Universal Japanese Vertical Writing Engine */
.writing-vertical {
  -webkit-writing-mode: vertical-rl !important;
  -ms-writing-mode: tb-rl !important;
  writing-mode: vertical-rl !important;
  text-orientation: upright !important;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.hero-phrase-wrapper {
  position: relative;
  width: 40px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phrase {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  pointer-events: none;
  -webkit-writing-mode: vertical-rl !important;
  writing-mode: vertical-rl !important;
}

.hero-phrase.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================
   5. HEADER NAVIGATION & MOBILE DRAWER
   ========================================== */
.l-header {
  position: fixed;
  left: 0;
  top: 20px;
  right: 0;
  padding: 0 58px;
  z-index: 100;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 767.8px) {
  .l-header {
    top: 10px;
    padding: 0 20px;
  }
}

.l-header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.l-header-sitename {
  width: 140px;
  position: relative;
  z-index: 10;
}

.l-header-gnav {
  display: flex;
  align-items: center;
  list-style: none;
}

.l-header-gnav__item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
}

.l-header-gnav__item:not(:last-of-type)::after {
  content: '';
  display: block;
  width: 1em;
  border-top: 2px solid var(--brand-pink-deep);
  margin: 0 0.8em;
}

.l-header-gnav__link {
  position: relative;
  transition: color 0.2s ease;
}

.l-header-gnav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  border-top: 1px solid currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.l-header-gnav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Drawer */
.l-drawer__button {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

@media (max-width: 767.8px) {
  .l-drawer__button {
    display: block;
  }
}

.l-drawer__button__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background-color: #323232;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease;
}

.l-drawer__button__icon::before,
.l-drawer__button__icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #323232;
  transition: transform 0.3s ease;
}

.l-drawer__button__icon::before { transform: translateY(-7px); }
.l-drawer__button__icon::after { transform: translateY(7px); }

.l-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #323232;
  z-index: 105;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
  font-size: 1.1rem;
}

/* ==========================================
   6. SECTION LAYOUTS & TYPOGRAPHY UTILITIES
   ========================================== */
.p-top-section {
  padding-top: 120px;
  padding-bottom: 100px;
}

@media (max-width: 767.8px) {
  .p-top-section {
    padding-top: 80px;
    padding-bottom: 60px;
  }
}

.u-container--lg, .u-container--xl {
  max-width: 1080px;
  margin: 0 auto;
}

.u-container--md {
  max-width: 810px;
  margin: 0 auto;
}

.u-gutter--lg {
  padding-left: 58px;
  padding-right: 58px;
}

@media (max-width: 767.8px) {
  .u-gutter--lg {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.c-featured-title {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.c-featured-title .is-prefix {
  font-style: normal;
  font-weight: 800;
  color: #686868;
}

.p-top-lead.is-vertical {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 1.5rem;
}

.p-top-lead.is-vertical span {
  display: inline-block;
}

.p-top-lead.is-vertical img {
  width: 45px;
  height: auto;
  display: block;
}

.p-top-lead.is-vertical i {
  border-right: 4px solid #323232;
  height: 140px;
  display: block;
}

.p-service__header {
  position: relative;
  margin-bottom: 60px;
}

.p-service__header__copy {
  font-size: 1.125rem;
  line-height: 2;
  font-weight: 500;
  color: #323232;
}

.p-service-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding-bottom: 60px;
  margin-bottom: 60px;
}

.p-service-item:not(:last-of-type)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 767.8px) {
  .p-service-item {
    flex-direction: column;
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
}

.p-service-item__inner {
  flex: 1 1 auto;
}

.p-service-item__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.p-service-item__title i {
  font-style: normal;
  margin-right: 0.5em;
}

.p-service-item__content {
  display: flex;
  align-items: center;
  gap: 32px;
}

@media (max-width: 767.8px) {
  .p-service-item__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.p-service-item__illust {
  flex: 0 0 120px;
}

.p-service-item__illust img {
  width: 100px;
}

.p-service-item__text {
  flex: 1 1 auto;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #515151;
}

/* ==========================================
   7. BLOCK CURTAIN WIPE REVEAL ANIMATION
   ========================================== */
[data-copy-line] {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

[data-copy-line] > * {
  opacity: 0;
  transition: opacity 0.01s linear 0.4s;
}

[data-copy-line]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #323232;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 2;
}

.reveal-up.active [data-copy-line] > * {
  opacity: 1;
}

.reveal-up.active [data-copy-line]::after {
  animation: blockCurtainWipe 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.reveal-up.active [data-copy-line]:nth-child(1)::after { animation-delay: 0.1s; }
.reveal-up.active [data-copy-line]:nth-child(1) > * { transition-delay: 0.4s; }

.reveal-up.active [data-copy-line]:nth-child(2)::after { animation-delay: 0.3s; }
.reveal-up.active [data-copy-line]:nth-child(2) > * { transition-delay: 0.6s; }

.reveal-up.active [data-copy-line]:nth-child(3)::after { animation-delay: 0.5s; }
.reveal-up.active [data-copy-line]:nth-child(3) > * { transition-delay: 0.8s; }

.reveal-up.active [data-copy-line]:nth-child(4)::after { animation-delay: 0.7s; }
.reveal-up.active [data-copy-line]:nth-child(4) > * { transition-delay: 1.0s; }

@keyframes blockCurtainWipe {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  51% {
    transform-origin: right;
    transform: scaleX(1);
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

/* ==========================================
   8. MANAGEMENT ARTIST GRID
   ========================================== */
.p-recent-posts__section {
  padding-top: 80px;
  padding-bottom: 100px;
}

.p-recent-posts__title {
  text-align: center;
  margin-bottom: 48px;
}

.p-recent-posts__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.p-recent-post-item {
  display: block;
  width: calc(33.333% - 16px);
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.p-recent-post-item:hover {
  border-color: var(--brand-pink-deep);
  transform: translateY(-2px);
}

@media (max-width: 767.8px) {
  .p-recent-post-item {
    width: calc(50% - 12px);
  }
}

.p-recent-post-item__thumb {
  width: 100%;
  height: 160px;
  background-color: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.p-recent-post-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-recent-post-item__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #323232;
}

/* ==========================================
   9. AUDITION FORM & BAR CONTROLS
   ========================================== */
.contact-box {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.contact-left {
  width: 100%;
}

.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #323232;
}

.form-input-bar {
  width: 100%;
  background:;
  border: none;
  border: 1px solid #c0c0c0;
  padding: 12px 14px;
  outline: none;
  font-size: 14px;
  color: #323232;
  transition: border-color 0.3s ease;
}

.form-input-bar:focus {
  border-bottom-color: var(--brand-pink-deep);
}

.btn-form {
  display: inline-block;
  width: 180px;
  background-color: #323232;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 12px 0;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.btn-form:hover {
  background-color: var(--brand-pink-deep);
}

/* ==========================================
   10. SCROLL REVEAL & FOOTER COMPONENTS
   ========================================== */

.arck-store-link {
    display: block;
    margin-top: 60px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #e01291;
    font-size: 2rem;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.arck-store-link:hover {
    opacity: 0.8;
}   
.reveal-up {
  opacity: 0;
  transform: translateY(45px);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s ease-out;
  will-change: transform, opacity;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.p-top-sticky-title {
  position: fixed;
  left: 40px;
  bottom: 0;
  z-index: 90;
  transform: rotate(90deg);
  transform-origin: 0 100%;
  pointer-events: none;
}

.l-page__sticky-title__label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #323232;
}

.l-footer {
  padding: 60px 58px 30px;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
  text-align: center;
}

.l-footer-navi__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 16px;
  margin-bottom: 24px;
}

.l-footer-navi__item {
  font-size: 0.875rem;
  font-weight: 500;
}

.l-footer-navi__item:not(:last-of-type)::after {
  content: '—';
  margin-left: 16px;
  color: #f5a1cf;
}

.l-footer__copyright {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Hide horizontal nav links on mobile to show hamburger menu */
@media (max-width: 767.8px) {
  .l-header-gnav {
    display: none !important;
  }
  
  .l-drawer__button {
    display: block !important;
  }
}

/* ==========================================
   MOBILE DRAWER & NAVIGATION DISPLAY FIX
   ========================================== */

/* 1. Desktop Mode (768px and wider) - Hide Drawer Completely */
@media (min-width: 768px) {
  .l-drawer,
  .l-drawer__button {
    display: none !important;
  }
  .l-header-gnav {
    display: flex !important;
  }
}

/* 2. Mobile Mode (767.8px and narrower) - Show Hamburger Button */
@media (max-width: 767.8px) {
  .l-header-gnav {
    display: none !important;
  }
  .l-drawer__button {
    display: block !important;
  }
}

/* 3. Base Drawer Styles - Hidden by default with Light Theme */
.l-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff !important; /* Light background */
  color: #323232 !important; /* Dark text */
  z-index: 1000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 4. Active Drawer Open State */
.l-drawer.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.l-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 500;
}

.l-drawer-nav a {
  color: #323232 !important;
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
  transition: color 0.2s ease;
}

.l-drawer-nav a:hover,
.l-drawer-nav a:active {
  color: #e01291 !important; /* Brand pink highlight */
}

/* Ensure hamburger icon sits on top of drawer and uses dark lines */
.l-drawer__button {
  z-index: 1010 !important;
  cursor: pointer;
}

.l-drawer__button__icon,
.l-drawer__button__icon::before,
.l-drawer__button__icon::after {
  background-color: #323232 !important;
}