        /* Design System Base */
        :root {
            /* Custom moonlight palette */
            --color-background: #0D0D0D;
            --color-surface: #151515;
            --color-text: #f5f5f5; /* #EAEAEA */
            --color-text-w: #0a0a0a;
            --color-text-secondary: rgba(234, 234, 234, 0.7);
            --color-text-secondary-w: rgba(21, 21, 21, 0.7);
            --color-primary: #EAEAEA;
            --color-primary-w: #151515;
            --color-accent-glow: #FFFFFF;
            --color-border: rgba(234, 234, 234, 0.2);
            --color-border-w: rgba(21, 21, 21, 0.2);
            --color-focus-ring: rgba(255, 255, 255, 0.4);
            
            /* Typography */
            --font-family-primary: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-family-secondary: 'Inter', 'Noto Sans JP', sans-serif;
            --font-size-xs: 11px;
            --font-size-sm: 12px;
            --font-size-base: 17px;
            --font-size-lg: 22px;
            --font-size-xl: 32px;
            --font-size-2xl: 40px;
            --font-size-3xl: 48px;
            --font-size-4xl: 64px;
            --font-weight-normal: 400;
            --font-weight-medium: 500;
            --font-weight-semibold: 600;
            --font-weight-bold: 700;
            --line-height-tight: 1.2;
            --line-height-normal: 1.5;
            --line-height-loose: 170%;
            --letter-spacing-tight: -0.01em;
            --letter-spacing-normal: 0;
            --letter-spacing-wide: 0.05em;
            --letter-spacing-wider: 0.1em;
            
            /* Spacing */
            --space-xs: 8px;
            --space-sm: 16px;
            --space-md: 24px;
            --space-lg: 32px;
            --space-xl: 48px;
            --space-2xl: 64px;
            --space-3xl: 80px;
            --space-4xl: 100px;
            --space-5xl: 120px;
            --space-6xl: 160px;
            
            /* Border Radius */
            --radius-sm: 4px;
            --radius-base: 8px;
            --radius-lg: 12px;
            --radius-xl: 16px;
            
            /* Shadows and Glows */
            --glow-soft: 0 0 20px rgba(255, 255, 255, 0.1);
            --glow-medium: 0 0 30px rgba(255, 255, 255, 0.2);
            --glow-strong: 0 0 40px rgba(255, 255, 255, 0.3);
            
            /* Animation */
            --duration-fast: 150ms;
            --duration-normal: 300ms;
            --duration-slow: 600ms;
            --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
        }
        
        /* Base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
            font-size: var(--font-size-base);
        }
        
        body {
            font-family: var(--font-family-secondary);
            background-color: var(--color-background);
            color: var(--color-text);
            line-height: var(--line-height-loose);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }



/* デフォルト（PC/広い画面）での設定 */
.only-sp {
    /* 最初は表示しない (スマホ以外では非表示) */
    display: none; 
}

/* 画面幅が600px以下の場合 (スマートフォンなど) */
@media (max-width: 600px) {
    .responsive-fluid {
     font-size: clamp(26px, 3vw, 50px)!important;
     white-space: nowrap;
     overflow-x: auto;
    }

    .responsive-fluid2 {
     font-size: clamp(10px, 3vw, 30px)!important;
     white-space: nowrap;
     overflow-x: auto;
    }

    .responsive-fluid3 {
     font-size: clamp(10px, 4vw, 20px)!important;
     white-space: nowrap;
     overflow-x: auto;
    }

    .responsive-fluid4 {
     font-size: clamp(10px, 6vw, 20px)!important;
     white-space: nowrap;
     overflow-x: auto;
    }

    .responsive-fluid5 {
     font-size: clamp(10px, 5.55vw, 22px)!important;
     white-space: nowrap;
     overflow-x: auto;
    }

    .only-sp {
        /* 600px以下になったら表示する */
        display: inline; 
    line-height:50%;
    }
}



        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 var(--space-lg);
        }
        
        /* Typography */
        .headline {
            font-family: var(--font-family-primary);
            font-size: var(--font-size-4xl);
            font-weight: var(--font-weight-bold);
            letter-spacing: var(--letter-spacing-wider);
            text-align: center;
            margin-bottom: var(--space-md);
            line-height: var(--line-height-tight);
        }
        
        .headline-subtitle {
            font-family: var(--font-family-secondary);
            font-size: var(--font-size-lg);
            font-weight: var(--font-weight-normal);
            color: var(--color-text-secondary);
            text-align: center;
            letter-spacing: var(--letter-spacing-wide);
            margin-bottom: var(--space-6xl);
        }
        
        .section {
            margin-bottom: var(--space-4xl);
            text-align: center;
        }
        
        .section-large {
            margin-bottom: var(--space-6xl);

        }
        
        .section h2 {
            font-family: var(--font-family-primary);
            font-size: var(--font-size-2xl);
            font-weight: var(--font-weight-semibold);
            margin-bottom: var(--space-xl);
            letter-spacing: var(--letter-spacing-wide);
        }
        
        .section h3 {
            font-family: var(--font-family-primary);
            font-size: var(--font-size-lg);
            font-weight: var(--font-weight-medium);
            margin-bottom: var(--space-lg);
            letter-spacing: var(--letter-spacing-normal);
        }
        
        .body-text {
            font-size: var(--font-size-base);
            margin-bottom: var(--space-lg);
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .body-text-large {
            font-size: var(--font-size-lg);
            margin-bottom: var(--space-xl);
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }

        .mb120{
            margin-bottom: 120px;
            text-align: center;
        }

        
        /* Sacred quote - the centerpiece */
        .sacred-quote {
            font-family: var(--font-family-primary);
            font-size: var(--font-size-3xl);
            font-weight: var(--font-weight-medium);
            line-height: var(--line-height-normal);
            letter-spacing: var(--letter-spacing-wide);
            text-align: center;
            margin: var(--space-6xl) auto;
            padding: var(--space-4xl) var(--space-lg);
            max-width: 800px;
            box-shadow: var(--glow-medium);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-xl);
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
        }
        
        .mission-quote {
            font-family: var(--font-family-primary);
            font-size: var(--font-size-2xl);
            font-weight: var(--font-weight-semibold);
            text-align: center;
            margin: var(--space-xl) auto;
            color: var(--color-primary);
            text-shadow: var(--glow-soft);
        }
        
        /* Lists */
        .duty-list {
            list-style: none;
            max-width: 630px;
            margin: var(--space-xl) auto!important;
            text-align: left;
        }
        
        .duty-list li {
            margin-bottom: var(--space-lg);
            padding: var(--space-md) var(--space-lg);
            border-left: 2px solid var(--color-border);
            background: rgba(255, 255, 255, 0.02);
        }

        .centerp{
            margin:0 auto;
            text-align: center;
        }
        
        .position-grid {
            display: grid;
            gap: var(--space-lg);
            margin: var(--space-xl) auto;
            width: 100%;
            max-width: 700px;
        }
        
        .position-card {
            padding: var(--space-lg);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            background: rgba(0, 0, 0, 0.9);
            text-align: left;
            width:100%;
            max-width: 100%; 
            min-width: 0;   
        }
        
        .position-card h4 {
            font-family: var(--font-family-primary);
            font-size: var(--font-size-lg);
            font-weight: var(--font-weight-semibold);
            margin-bottom: var(--space-sm);
            color: var(--color-primary);
        }
        
        .position-card-p {
            font-family: var(--font-family-primary);
            margin-bottom: var(--space-sm);
            color: var(--color-text);
        }

@media (max-width: 700px) {
  .position-grid {
    grid-template-columns: 1fr;
    padding: 0 0px;
  }
  .position-card {
    padding: 18px 12px;
    width: 100%;
    max-width: 100vw;
  }
}



        .bullet-list {
            list-style: none;
            max-width: 630px;
            margin: var(--space-xl) auto!important;
            text-align: left;
        }
        
        .bullet-list li {
            margin-bottom: var(--space-md);
            padding-left: var(--space-lg);
            position: relative;
        }
        
        .bullet-list li::before {
            content: '•';
            position: absolute;
            margin-left: 10px;
            left: 0;
            color: var(--color-primary);
            font-size: var(--font-size-lg);
        }
        
        /* Form section */
        .form-section {
            margin-top: var(--space-6xl);
            padding-top: var(--space-4xl);
            border-top: 1px solid var(--color-border-w);
        }
        
        .form-title {
            font-family: var(--font-family-primary);
            font-size: var(--font-size-3xl);
            font-weight: var(--font-weight-bold);
            text-align: center;
            margin-bottom: var(--space-md);
            letter-spacing: var(--letter-spacing-wide);
        }
        
        .form-subtitle {
            font-family: var(--font-family-secondary);
            font-size: var(--font-size-l);
            font-weight: var(--font-weight-medium);
            text-align: center;
            color: var(--color-text-secondary-w);
        }
        
        .form-subtitle-english {
            font-style: italic;
            margin-bottom: var(--space-4xl);
        }
        
        .application-form {
            max-width: 600px;
            margin: 0 auto;
            display: grid;
            gap: var(--space-lg);
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
        }
        
        .form-label {
            font-family: var(--font-family-primary);
            font-size: var(--font-size-base);
            font-weight: var(--font-weight-medium);
            margin-bottom: var(--space-sm);
            text-align: left;
        }
        
        .form-input,
        .form-input-email,
        .form-textarea {
            padding: var(--space-md) var(--space-lg);
            border: 1px solid var(--color-border-w);
            border-radius: var(--radius-base);
            background: rgba(0, 0, 0, 0.03);
            color: var(--color-text-w);
            font-family: var(--font-family-secondary);
            font-size: var(--font-size-base);
            transition: all var(--duration-normal) var(--ease-standard);
        }
        
        .form-input:focus,
        .form-input-email:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px var(--color-focus-ring);
            background: rgba(255, 255, 255, 0.05);
        }
        
        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }
        
        .form-textarea.large {
            min-height: 160px;
        }
        
        .submit-button {
            margin-top: var(--space-xl);
            padding: var(--space-lg) var(--space-2xl);
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
            border: 1px solid var(--color-primary);
            border-radius: var(--radius-lg);
            color: var(--color-primary-w);
            font-family: var(--font-family-primary);
            font-size: var(--font-size-lg);
            font-weight: var(--font-weight-semibold);
            cursor: pointer;
            transition: all var(--duration-normal) var(--ease-standard);
            text-align: center;
            letter-spacing: var(--letter-spacing-normal);
        }
        
        .submit-button:hover {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 100%);
            box-shadow: var(--glow-medium);
            transform: translateY(-2px);
        }
        
        .submit-button:active {
            transform: translateY(0);
        }
        
        /* Thank you state */
        .thank-you {
            display: none;
            text-align: center;
            padding: var(--space-6xl) var(--space-lg);
        }
        
        .thank-you.show {
            display: block;
        }
        
        .thank-you-line1 {
            font-family: var(--font-family-primary);
            font-size: var(--font-size-4xl);
            font-weight: var(--font-weight-bold);
            margin-bottom: var(--space-xl);
            text-shadow: var(--glow-medium);
            letter-spacing: var(--letter-spacing-wide);
        }
        
        .thank-you-line2 {
            font-family: var(--font-family-secondary);
            font-size: var(--font-size-xl);
            color: var(--color-text-secondary);
            letter-spacing: var(--letter-spacing-normal);
        }
        
        /* Hero section */
        .hero {
            padding: var(--space-6xl) 0;
            text-align: center;
        }
        
        /* Moonlight Fade Animations */
        .fade-line {
          opacity: 0;
          display: block;
          transform: translateY(30px);
          transition: opacity 2s cubic-bezier(.4,0,.2,1), transform 2s cubic-bezier(.4,0,.2,1);
        }
        .fade-line.visible {
          opacity: 1;
          transform: translateY(0);
        }


        .fade-section {
            opacity: 0;
            transform: translateY(20px);
            filter: blur(6px);
            transition: all 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
        }
        
        .fade-section.visible {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
        }

        .fade-section-w {
            opacity: 0;
            transform: translateY(20px);
            filter: blur(6px);
            transition: all 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
        }

        .fade-section-w.visible {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
            text-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        }
        
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: all var(--duration-slow) var(--ease-standard);
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        

.page-footer {
    text-align: center;
    padding: 80px 20px 40px;
    border-top: 1px solid rgba(234, 234, 234, 0.15);
    margin-top: 120px;
    opacity: 0.7;
    font-size: 14px;
}

        /* Footer */
        footer {
            padding: var(--space-xl) 0;
            text-align: center;
            background-color: var(--primary-color);
            color: var(--secondary-color);
        }
        
        .footer-nav {
            margin-bottom: var(--space-md);
        }

        .footer-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
            flex-wrap: wrap; /* モバイルでの折り返し対応 */
            gap: var(--space-md);
        }

        .footer-nav a {
            color: var(--secondary-color);
            text-decoration: none;
            font-size: var(--font-base);
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        .footer-nav a:hover {
            opacity: 1;
            text-decoration: none;
        }
        /* ======================== */
        
        .footer-text {
            font-size: var(--font-base);
            opacity: 0.8;
        }





.fade-el {
    opacity: 0; 
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-el.is-visible {
    opacity: 1;
    transform: translateY(0);
}

    

        /* List Styles */
        .duty-list {
            list-style: decimal;
            padding-left: 2em;
            margin: var(--space-lg) 0;
        }

        .duty-list li {
            margin-bottom: var(--space-md);
            line-height: var(--line-height-loose);
        }

        .bullet-list {
            list-style: none;
            padding-left: 1.5em;
            margin: var(--space-lg) 0;
        }

        .bullet-list li {
            position: relative;
            margin-bottom: var(--space-md);
            line-height: var(--line-height-loose);
        }

        .bullet-list li::before {
            content: "・";
            position: absolute;
            left: -1.5em;
            color: var(--color-text-secondary-w);
        }

        /* Sacred Hover Effects - Moonlight Glow */
        .sacred-manifesto:hover {
            color: #FFFFFF;
            text-shadow: 0 0 20px rgba(234, 234, 234, 0.6),
                         0 0 40px rgba(234, 234, 234, 0.4),
                         0 0 60px rgba(234, 234, 234, 0.2);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }


        /* Sacred manifesto special hover */
        .sacred-manifesto {
            transition: all 0.6s ease;
            cursor: default;
        }

        .sacred-manifesto:hover {
            transform: scale(1.015);
            background: linear-gradient(180deg, 
                rgba(234, 234, 234, 0.02), 
                rgba(234, 234, 234, 0.09), 
                rgba(234, 234, 234, 0.02));
            box-shadow: 0 0 80px rgba(234, 234, 234, 0.15);
        }





/* ============================================= */
/* Organic Flow Line - breathing canvas layer     */
/* ============================================= */
#organic-line {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  opacity: 0.6;
  filter: blur(1px);
}


.section::after {
  content: "";
  display: block;
  height: 1px;
  margin: 100px auto;
  width: 0;
  max-width: 700px;
  background: linear-gradient(90deg, transparent 0%, rgba(234,234,234,0.3) 50%, transparent 100%);
  transition: width 1.5s ease-out;
}
.section.visible::after {
  width: 100%;
}

/*==================================================*/
/* Breathing Space & Symbolic Depth Enhancements     */
/*==================================================*/
.section {
  margin-top: 80px;
  margin-bottom: 140px;
  animation: sectionFade 2.5s ease both;
}
@keyframes sectionFade {
  from { opacity: 0.0; transform: translateY(40px); }
  to { opacity: 1.0; transform: translateY(0); }
}

/* Dynamic Gradient Line breathing */
.section::after {
  background: linear-gradient(90deg, rgba(234,234,234,0.0) 0%, rgba(234,234,234,0.4) 50%, rgba(234,234,234,0.0) 100%);
  height: 1px;
  transition: width 1.2s ease-out, opacity 2s ease-in-out;
  opacity: 0.2;
}
.section.visible::after {
  opacity: 1;
}

/* Sacred quote refinement */
.sacred-quote, .sacred-manifesto {
  font-size: 1.8rem;
  line-height: 2.2;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 100px auto 140px auto;
  background: linear-gradient(180deg, rgba(234,234,234,0.03), rgba(234,234,234,0.06));
  border-radius: 8px;
  padding: 80px 60px;
  transition: all 1.4s ease;
}
.sacred-quote:hover, .sacred-manifesto:hover {
  transform: scale(1.015);
  box-shadow: inset 0 0 20px rgba(234,234,234,0.08), 0 0 60px rgba(234,234,234,0.25);
}

/* Breathing typography */
h1, h2, h3 {
  animation: subtleBreath 4s ease-in-out infinite alternate;
}
@keyframes subtleBreath {
  0% { letter-spacing: 0.05em; opacity: 0.98; }
  100% { letter-spacing: 0.09em; opacity: 1.0; }
}



  /* thankYouMessage部分のエフェクト */
  #thankYouMessage {
    display: none;
    opacity: 0;
    color: #EAEAEA;
    text-align: center;
    padding: 180px 20px;
    transition: opacity 2s ease;
  }
  #thankYouMessage.visible {
    display: block;
    opacity: 1;
    text-shadow: 
      0 0 15px rgba(234,234,234,0.6),
      0 0 40px rgba(234,234,234,0.35),
      0 0 80px rgba(234,234,234,0.25);
    animation: glowText 6s ease-in-out infinite alternate;
  }
  @keyframes glowText {
    0% { text-shadow: 0 0 15px rgba(234,234,234,0.3), 0 0 50px rgba(234,234,234,0.2); }
    100% { text-shadow: 0 0 30px rgba(234,234,234,0.9), 0 0 80px rgba(234,234,234,0.45); }
  }


/* 白背景セクション */
.section-light {
  background: linear-gradient(180deg, #FAFAFA, #F5F5F5);
  color: #1A1A1A;
  padding: 120px 40px;
  transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.section-light p { line-height: 1.8em; }





/* 黒背景セクション（既存） */
.section-dark {
  background: #0D0D0D;
  color: #F5F5F5; /* 純白ではなく柔らかいグレー */
  padding: 20px 40px;
}
.section-dark p { line-height: 1.4em; letter-spacing: 0.02em; }

/* 切替時の余白 */
.section-light + .section-dark,
.section-dark + .section-light {
  margin-top: 30px;
}


/* 長文ブロックに順次フェード */
.long-text p {
  opacity: 0;
  transform: translateY(20px);
  animation: breathFade 2.5s ease forwards;
}
.long-text p:nth-child(1) { animation-delay: 0s; }
.long-text p:nth-child(2) { animation-delay: 0.4s; }
.long-text p:nth-child(3) { animation-delay: 0.8s; }

@keyframes breathFade {
  to { opacity: 1; transform: translateY(0); }
}





/* レスポンシブ対応 */
@media (max-width: 768px) {
  .section { padding: 80px 20px; }
  h1 { font-size: 28px; line-height: 1.5; }
  h2 { font-size: 22px; line-height: 1.6; }
  p {  margin-bottom: 1.5em; }
  
  /* モバイル専用改行 */
  .mobile-only { display: inline; }
  
  /* 反転境界の余白拡張 */
  .section-light + .section-dark { margin-top: 20px; }
}

/* デスクトップで非表示 */
@media (min-width: 769px) {
  .mobile-only { display: none; }
}



