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

  :root {
    --red: #E7011D;
    --violet: #7B2FBE;
    --gold: #F5C518;
    --gold-light: #e8c98e;
    --white: #ffffff;
    --off-white: #f0ede8;
    --dark: #050A14;
    --dark-mid: #071020;
    --card-bg: #0a1428;
    --border: rgba(200,169,110,0.2);
    --text-muted: #888;
    --text-body: #bbb;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.8;
  }

  /* ===== NOISE OVERLAY ===== */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
  }

  /* ===== NAV ===== */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    height: 64px;
    background: rgba(5,4,3,0.5);
    backdrop-filter: blur(4px);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .nav-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
  }

  .nav-logo-en {
    font-size: 9.5px;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
  }

  .nav-logo-ja {
    font-size: 14px;
    color: var(--gold);
    font-family: 'Shippori Mincho', serif;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.85);
  }

  .nav-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
  }

  .nav-links a:hover { color: var(--white); }

  .nav-cta {
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
  }

  .nav-cta:hover { transform: translateY(-3px); }

  /* ===== HERO ===== */
  #hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }
  .page-hero {
    margin-top: 64px;
    background: linear-gradient(--card-bg);
    width: 1100px;
    margin: 0 auto;
    padding: 80px 140px 48px;
    border-bottom: 1px solid var(--border);
  }
  .page-hero-label {
    font-size: 11px; font-weight: 600; color: var(--off-white);
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 10px; display: block;
  }
  .page-hero h1 { font-size: 36px; font-weight: 900; color: var(--text-dark); margin-bottom: 10px; }
  .page-hero-meta { font-size: 13px; color: var(--text-light); }
  .main-wrap { max-width: 860px; margin: 0 auto; padding: 60px 40px 100px; }
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px;
  }
  .policy-block { margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid #F0EFFE; }
  .policy-block:last-child { border-bottom: none; margin-bottom: 0; }
  .section-heading {
    font-size: 16px; font-weight: 700; color: var(--text-dark);
    text-align: center; margin-bottom: 28px; padding: 14px 0;
    border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;
  }
  p { font-size: 14px; color: var(--text-gray); line-height: 1.9; margin-bottom: 16px; }
  p:last-child { margin-bottom: 0; }
  h3 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin: 24px 0 10px; }
  ul { padding-left: 24px; margin-bottom: 16px; }
  li { font-size: 14px; color: var(--text-gray); line-height: 1.9; margin-bottom: 8px; }
  .meta-right { text-align: right; font-size: 13px; color: var(--text-gray); margin-bottom: 32px; line-height: 2.2; }
  .sign-right { text-align: right; font-size: 14px; color: var(--text-gray); margin-top: 32px; line-height: 2.2; }
  .contact-box {
    border: 1px solid #ccc; border-radius: 4px;
    padding: 28px 32px; margin: 32px 0;
    font-size: 14px; color: var(--text-gray); line-height: 2.2;
  }
  .contact-box-title { font-weight: 700; text-align: center; margin-bottom: 16px; color: var(--text-dark); }
  .sub-h { font-size: 14px; font-weight: 700; color: var(--text-dark); margin: 20px 0 8px; }
  .num-h { font-size: 14px; font-weight: 700; color: var(--text-dark); margin: 28px 0 10px; }
  /* ===== FOOTER ===== */
  footer {
    background: #050A14;
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    display: flex;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }

  .footer-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
  }

  .footer-col-title {
    font-size: 12px;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-body);
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--gold); }

  .footer-contact p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #444;
  }

  .footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
  }

  .footer-link:hover { color: var(--gold); }

  /* ===== DIVIDER ===== */
  .gold-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.4;
    margin: 0 auto 64px;
  }

  /* ===== APPLY FORM SECTION ===== */
  #cta {
    background: var(--dark-mid);
    padding: 80px 0 100px;
  }

  .form-intro {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
  }

  .form-intro p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 2;
    margin-bottom: 16px;
  }

  .form-intro .form-intro-note {
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 24px;
  }

  .apply-form-wrap {
    max-width: 760px;
    margin: 0 auto;
  }

  /* セクション区切り */
  .form-section-block {
    margin-bottom: 56px;
  }

  .form-section-number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Shippori Mincho', serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 8px;
  }

  .form-section-number::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
  }

  .form-section-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
  }

  .form-section-desc {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 28px;
  }

  /* 質問ブロック */
  .form-question {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
  }

  .form-question:last-child {
    border-bottom: none;
  }

  .form-question-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.6;
  }

  .form-question-label .q-required {
    color: var(--red);
    font-size: 12px;
    margin-left: 4px;
  }

  .form-question-hint {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group:last-child {
    margin-bottom: 0;
  }

  .form-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }

  .form-input,
  textarea.form-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 12px 16px;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
  }

  .form-input:focus {
    border-color: rgba(200,169,110,0.5);
  }

  .form-input::placeholder {
    color: #555;
  }

  .form-select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 12px 16px;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
  }

  .form-select:focus { border-color: rgba(200,169,110,0.5); }
  .form-select option { background: var(--card-bg); }

  .form-char-count {
    font-size: 11px;
    color: var(--text-muted);
    text-align: right;
    margin-top: 6px;
  }

  /* 2カラムの組（会社名/代表者名など） */
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* 繰り返しブロック（サービス、実績、講座案など） */
  .form-repeat-block {
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 16px;
  }

  .form-repeat-block:last-child {
    margin-bottom: 0;
  }

  .form-repeat-label {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    font-weight: 600;
  }

  /* ラジオ・チェックボックス */
  .form-choice-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .form-choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-body);
    cursor: pointer;
    line-height: 1.6;
  }

  .form-choice input[type="radio"],
  .form-choice input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
  }

  .form-choice input[type="radio"] {
    border-radius: 50%;
  }

  .form-choice input[type="radio"]:checked,
  .form-choice input[type="checkbox"]:checked {
    border-color: var(--gold);
    background: var(--gold);
  }

  .form-choice input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 4px; left: 4px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--dark);
  }

  .form-choice input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: -3px; left: 2px;
    font-size: 11px;
    color: var(--dark);
    font-weight: 700;
  }

  .form-choice-inline-input {
    margin-top: 8px;
    margin-left: 26px;
  }

  /* 個人情報取り扱い同意リンク */
.form-privacy-link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(200,169,110,0.5);
  transition: color 0.2s;
}

.form-privacy-link:hover {
  color: var(--gold-light);
}

  /* 送信ボタン・送信エリア */
  .form-submit-area {
    margin-top: 48px;
    text-align: center;
  }

  .form-submit {
    width: 100%;
    max-width: 360px;
    background: var(--gold);
    color: black;
    border: none;
    padding: 18px;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.15em;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
    font-weight: 700;
  }

  .form-submit:hover { 
    background: var(--gold);
    box-shadow: 0 0 18px rgba(245, 197, 24, 0.55);
    transform: translateY(-1.5px); 
   }
  .form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

  .form-submit-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
  }

  /* ===== MODAL ===== */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
  }

  .modal-overlay.active {
    display: flex;
  }

  .modal-box {
    background: #0a1428;
    border: 1px solid rgba(200,169,110,0.3);
    padding: 56px 48px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    animation: modalIn 0.3s ease;
  }

  @keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(200,169,110,0.12);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
  }

  .modal-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
  }

  .modal-text {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 32px;
  }

  .modal-close-btn {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 12px 40px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1em;
    transition: opacity 0.2s;
  }

  .modal-close-btn:hover { opacity: 0.8; }

  /* ===== SCROLL ANIMATIONS ===== */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .container { padding: 0 20px; }
    .about-layout,
    .activities-grid,
    .companies-grid,
    .club-layout,
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .form-row-2 { grid-template-columns: 1fr; gap: 0; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    h1.hero-title { font-size: 42px; }
    section { padding: 64px 0; }
    .form-section-title { font-size: 19px; }
  }

  /* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 680px) {

  .nav-cta {
    font-size: 11px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
  }

  /* ページヒーローの横幅調整 */
  .page-hero {
    width: 100%;
    padding: 80px 24px 32px;
  }

  /* メインコンテンツの左右余白を広げすぎない */
  .main-wrap {
    width: 100%;
    padding: 40px 20px 80px;
  }

  /* ポリシーブロックの読みやすさ向上 */
  .policy-block {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  /* フッターのカラムを縦並びに */
  footer {
    padding: 48px 0 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px 32px;
  }

  .footer-links {
    align-items: flex-start; /* ← 左寄せ */
  }

  /* フッター下部の並びを縦に */
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-intro p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .form-intro .form-intro-note {
    font-size: 11px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 24px;
    
  }

  /* フォームの横並びを縦に */
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* フォームの余白調整 */
  .apply-form-wrap {
    padding: 0 20px;
  }

  /* セクションの上下余白を少し軽く */
  section {
    padding: 48px 0;
  }
}
