/* ============================================================
   NETZ RECRUIT — Main Stylesheet
   カラー: #111 / #fff / #F5F5F3 / #B8A06A (gold)
   Font:   Inter (display) / Noto Sans JP (body)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --c-black:   #111111;
    --c-white:   #ffffff;
    --c-gray-bg: #F5F5F3;
    --c-gray-mid:#999999;
    --c-gray-lt: #e8e8e6;
    --c-gold:    #B8A06A;
    --c-gold-lt: #d4bc8e;

    --f-display: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --f-body:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;

    --header-h: 72px;
    --container: 1100px;
    --gap:       clamp(40px, 8vw, 120px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--f-body);
    font-weight: 300;
    color: var(--c-black);
    background-color: var(--c-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.3; font-weight: 400; }

/* ---------- Layout ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--header-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--c-gray-lt);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo-img { height: 42px; width: auto; display: block; }
.site-logo {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-top: 6px;
}
.logo-main {
    font-family: var(--f-display);
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1;
}
.logo-sub {
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--c-gray-mid);
}
.primary-nav .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}
.primary-nav .nav-list a {
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 400;
    transition: color 0.2s;
}
.primary-nav .nav-list a:hover { color: var(--c-gold); }
.nav-entry a {
    background: var(--c-black);
    color: var(--c-white) !important;
    padding: 8px 20px;
    font-size: 11px;
    letter-spacing: 0.15em;
    transition: background 0.2s !important;
}
.nav-entry a:hover { background: var(--c-gold) !important; }

/* ハンバーガー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px;
}
.hamburger span {
    display: block;
    height: 1px;
    background: var(--c-white);
    transition: transform 0.3s, opacity 0.3s, background 0.4s;
}
.site-header.scrolled .hamburger span {
    background: var(--c-black);
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: var(--header-h); right: 0;
    width: min(360px, 100vw);
    height: calc(100vh - var(--header-h));
    background: var(--c-white);
    z-index: 850;
    padding: 48px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--c-gray-lt);
    font-size: 18px;
    font-weight: 300;
    transition: color 0.2s;
}
.mobile-menu li a span {
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--c-gray-mid);
}
.mobile-menu li a:hover { color: var(--c-gold); }
.menu-entry a {
    color: var(--c-gold) !important;
    font-weight: 400;
}
.mobile-menu-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--c-gray-lt);
    font-size: 11px;
    color: var(--c-gray-mid);
    letter-spacing: 0.05em;
}
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 800;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.menu-overlay.active { opacity: 1; pointer-events: all; }

/* ============================================================
   COMMON SECTION STYLES
   ============================================================ */
.section {
    position: relative;
    padding-top: var(--gap);
    padding-bottom: var(--gap);
}
.section-label-vertical {
    position: absolute;
    left: clamp(8px, 2vw, 24px);
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    font-family: var(--f-display);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--c-gray-lt);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}
.section-header {
    margin-bottom: clamp(40px, 6vw, 80px);
}
.section-eyebrow {
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--c-gold);
    margin-bottom: 12px;
    display: block;
}
.section-title {
    font-family: var(--f-body);
    font-size: clamp(26px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
}
.lead-text {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 2;
    color: #444;
    font-weight: 300;
    max-width: 640px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    overflow: hidden;
    background: var(--c-black);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: #111;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.75;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 60px);
    width: 100%;
}
.hero-eyebrow {
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--c-gold);
    margin-bottom: 24px;
}
.hero-headline {
    font-family: var(--f-body);
    font-size: clamp(48px, 9vw, 110px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--c-white);
    margin-bottom: 40px;
}
.hero-headline span {
    display: block;
    opacity: 0;
    transform: translateX(-64px);
    animation: homeHeroLineIn .9s cubic-bezier(.16, 1, .3, 1) forwards;
}
/* 3行は同時に入る */
.hero-headline span { animation-delay: .18s; }
.hero-sub {
    font-size: clamp(13px, 1.5vw, 15px);
    line-height: 1.8;
    color: var(--c-white);
    font-weight: 400;
    letter-spacing: .08em;
    margin-bottom: 56px;
    max-width: 640px;
    opacity: 0;
    transform: translateX(-32px);
    animation: homeHeroLineIn .85s cubic-bezier(.16, 1, .3, 1) .92s forwards;
}
/* ヒーロー下の一言（英語） */
.hero-tagline { margin-top: -8px; font-family: var(--f-display); font-size: clamp(13px, 1.5vw, 17px); font-weight: 500; letter-spacing: .3em; line-height: 1.6; color: var(--c-white); opacity: 0; transform: translateX(-32px); animation: homeHeroLineIn .85s cubic-bezier(.16, 1, .3, 1) .6s forwards; }
/* ヒーロー：左端をロゴ・セクションの左端にそろえる（字形の余白ぶんを行ごとに補正） */
.hero-headline span:nth-child(1) { margin-left: -.058em; }
.hero-headline span:nth-child(2) { margin-left: -.016em; }
.hero-headline span:nth-child(3) { margin-left: -.05em; }
.hero-tagline { margin-left: -.08em; font-family: var(--f-body); font-weight: 900; }
@keyframes homeHeroLineIn {
    to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-headline span,
    .hero-tagline,
    .hero-sub {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: clamp(20px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}
.hero-scroll span {
    font-family: var(--f-display);
    font-size: 9px;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.4);
    writing-mode: vertical-lr;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--c-gold);
    color: var(--c-white);
    padding: 18px 36px;
    font-size: 13px;
    letter-spacing: 0.1em;
    font-weight: 400;
    transition: background 0.25s, transform 0.25s;
    line-height: 1.4;
}
.btn-primary small {
    font-size: 10px;
    font-weight: 300;
    opacity: 0.85;
    letter-spacing: 0.05em;
}
.btn-primary:hover { background: var(--c-black); transform: translateY(-2px); }

.btn-secondary {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: transparent;
    color: var(--c-black);
    padding: 18px 36px;
    font-size: 13px;
    letter-spacing: 0.1em;
    font-weight: 400;
    border: 1px solid var(--c-black);
    transition: background 0.25s, color 0.25s, transform 0.25s;
    line-height: 1.4;
}
.btn-secondary small {
    font-size: 10px;
    font-weight: 300;
    opacity: 0.7;
    letter-spacing: 0.05em;
}
.btn-secondary:hover { background: var(--c-black); color: var(--c-white); transform: translateY(-2px); }

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.15em;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    margin-top: clamp(32px, 5vw, 56px);
    transition: color 0.2s, gap 0.2s;
}
.btn-text-link:hover { color: var(--c-gold); gap: 20px; }

/* ============================================================
   PHILOSOPHY SECTION
   ============================================================ */
.philosophy {
    display: grid;
    align-items: center;
    min-height: clamp(640px, 82svh, 820px);
    background: var(--c-gray-bg);
    border-top: 1px solid var(--c-gray-lt);
}
.philosophy-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.philosophy .section-header { margin: 0; }
.philosophy-statement { width: 100%; }
.philosophy-statement h2 {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: .035em;
}
.philosophy-statement h2 span {
    display: block;
    white-space: nowrap;
}
.philosophy-statement h2 span + span { margin-top: .42em; }
.philosophy-body {
    width: min(100%, 640px);
    margin-top: clamp(48px, 7vw, 80px);
    padding-top: clamp(32px, 4vw, 44px);
    border-top: 1px solid var(--c-gold);
}
.philosophy-body .lead-text { max-width: none; line-height: 2.15; }
.philosophy .philosophy-link { margin-top: clamp(30px, 4vw, 48px); }
@media (max-width: 768px) {
    .philosophy {
        min-height: 0;
        padding-top: clamp(96px, 24vw, 128px);
        padding-bottom: clamp(96px, 24vw, 128px);
    }
    .philosophy-statement h2 {
        max-width: none;
        font-size: clamp(24px, 7vw, 34px);
        line-height: 1.75;
        letter-spacing: .02em;
    }
    .philosophy-statement h2 span {
        display: inline;
        white-space: normal;
    }
    .philosophy-statement h2 span + span { display: block; margin-top: .7em; }
    .philosophy-body {
        margin-top: 52px;
        padding-top: 32px;
    }
    .philosophy-body .lead-text { font-size: 14px; }
}
.philosophy-principles {
    display: flex;
    flex-direction: column;
    max-width: 800px;
}
.principle-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    column-gap: clamp(24px, 4vw, 56px);
    align-items: start;
    padding: clamp(28px, 4vw, 48px) 0;
    border-top: 1px solid var(--c-gray-lt);
}
.principle-item:last-child {
    border-bottom: 1px solid var(--c-gray-lt);
}
.principle-num {
    grid-column: 1;
    grid-row: 1 / 3;
    font-family: var(--f-display);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 300;
    color: var(--c-gold);
    line-height: 1;
    letter-spacing: 0.05em;
    width: clamp(60px, 6vw, 80px);
    height: clamp(60px, 6vw, 80px);
    border: 1.5px solid var(--c-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: start;
}
.principle-item h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
    color: var(--c-black);
}
.principle-item p {
    grid-column: 2;
    grid-row: 2;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    font-weight: 300;
    margin: 0;
}

/* ============================================================
   MEMBER CAROUSEL（トップページ）
   ============================================================ */
.member-carousel-wrap {
    overflow: hidden;
    width: 100%;
    margin-bottom: 0;
}
.member-carousel {
    display: flex;
    gap: 2px;
    width: max-content;
    animation: carousel-scroll 30s linear infinite;
}
.member-carousel .member-card {
    width: clamp(320px, 28vw, 420px);
    flex-shrink: 0;
}
@keyframes carousel-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.member-roman {
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--c-gray-mid);
    margin-top: 2px;
}

/* ============================================================
   MEMBER HIGHLIGHT
   ============================================================ */
.member-highlight .container { margin-bottom: clamp(32px, 5vw, 56px); }
.member-grid-wide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-bottom: 0;
}
.member-card {
    background: var(--c-white);
    overflow: hidden;
}
.member-card-link {
    display: block;
    transition: none;
}
a.member-card-link { cursor: pointer; }
.member-card-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--c-gray-bg);
}
.member-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.member-card:hover .member-card-img img {
    transform: scale(1.04);
}
.member-card-img--placeholder {
    background: linear-gradient(135deg, var(--c-gray-bg) 0%, var(--c-gray-lt) 100%);
    position: relative;
}
.member-card-img--placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.05));
}
.member-card-body {
    padding: clamp(16px, 2vw, 24px);
    border-top: 2px solid var(--c-gray-lt);
    transition: border-color 0.3s;
}
.member-card:hover .member-card-body { border-color: var(--c-gold); }
.member-job {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--c-gold);
    margin-bottom: 6px;
    text-transform: uppercase;
}
.member-name {
    font-family: var(--f-display);
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.member-excerpt {
    font-size: 12px;
    line-height: 1.9;
    color: #666;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-link-label {
    display: inline-block;
    margin-top: 16px;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--c-gold);
    border-bottom: 1px solid var(--c-gold);
    padding-bottom: 2px;
}

/* ============================================================
   RECRUIT LINKS
   ============================================================ */
.recruit-links { background: var(--c-black); }
.recruit-links .section-title { color: var(--c-white); }
.recruit-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2.5vw, 32px);
    margin-top: clamp(40px, 6vw, 64px);
    padding: 0 clamp(20px, 4vw, 60px);
}
/* 採用リンクカード：エントリー選択カードとデザイン統一（黒帯・ダーク配色）*/
.recruit-link-card {
    display: block;
    background: transparent;
    transition: background 0.3s, border-color 0.3s;
    border: 1px solid rgba(255,255,255,0.35);
}
.recruit-link-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.7); }
.recruit-link-inner {
    padding: clamp(36px, 5vw, 60px) clamp(28px, 4vw, 56px);
    min-height: clamp(200px, 27vw, 280px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.recruit-link-ja {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    color: var(--c-white);
    letter-spacing: 0.04em;
}
.recruit-link-desc {
    font-size: 13px;
    line-height: 2;
    color: var(--c-white);
    font-weight: 300;
    max-width: 34ch;
}
.recruit-link-arrow {
    margin-top: auto;
    align-self: flex-start;
    font-family: var(--f-display);
    font-size: 20px;
    color: rgba(255,255,255,0.55);
    transition: transform 0.3s, color 0.3s;
}
.recruit-link-card:hover .recruit-link-arrow { transform: translateX(8px); color: var(--c-gold); }

/* ============================================================
   NUMBERS
   ============================================================ */
.numbers { background: var(--c-gray-bg); }
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: clamp(40px, 6vw, 64px);
}
.number-item {
    background: var(--c-white);
    padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.number-value {
    font-family: var(--f-display);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1;
    color: var(--c-black);
    letter-spacing: -0.02em;
}
.number-value small {
    font-size: 0.45em;
    font-weight: 400;
    letter-spacing: 0.1em;
    vertical-align: baseline;
    white-space: nowrap;
}
.number-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--c-gray-mid);
    font-weight: 400;
    white-space: nowrap;
}
.numbers-note {
    margin-top: 20px;
    font-size: 11px;
    color: var(--c-gray-mid);
    letter-spacing: 0.05em;
}

/* ============================================================
   ENTRY CTA
   ============================================================ */
.entry-cta {
    background: var(--c-white);
    text-align: center;
}
.entry-cta-eyebrow {
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--c-gold);
    margin-bottom: 20px;
}
.entry-cta-title {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    line-height: 1.4;
}
.entry-cta-text {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 48px;
    font-weight: 300;
}
.entry-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   PAGE HERO (内ページ共通)
   ============================================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    padding-top: calc(var(--header-h) + clamp(64px, 10vh, 120px));
    padding-bottom: clamp(60px, 8vw, 100px);
    border-bottom: none;
}
.page-hero .container { position: relative; z-index: 1; width: 100%; }

/* en テキストは JS でマーキーに置き換えるため非表示 */
.page-hero-en { display: none; }

/* ── 背景マーキー ── */
.page-hero-marquee {
    position: absolute;
    top: var(--header-h);
    left: 0;
    width: 100%;
    overflow: visible;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    white-space: nowrap;
    line-height: 1.1;
    opacity: 0;
    animation: heroMarqueeFadeIn 2s ease forwards 0.2s;
}
@keyframes heroMarqueeFadeIn {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
.phm-inner {
    display: inline-block;
    white-space: nowrap;
    animation: heroMarqueeScroll 52s linear infinite;
}
@keyframes heroMarqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.phm-word {
    font-family: var(--f-display);
    font-size: clamp(52px, 8.5vw, 110px);
    font-weight: 700;
    letter-spacing: 0.04em;
    display: inline-block;
    padding-right: 0.5em;
}
.phm-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.08);
}
.phm-filled {
    color: rgba(0, 0, 0, 0.06);
    -webkit-text-stroke: 0;
}

/* 前景メインタイトル（日本語） */
.page-hero-ja {
    font-family: var(--f-body);
    font-size: clamp(40px, 6.5vw, 88px);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    color: var(--c-black);
    position: relative;
    z-index: 1;
    text-align: left;
}
.page-content {
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(60px, 8vw, 120px);
}

/* ---------- PAGE HERO BODY (内ページヒーロー拡張) ---------- */
.page-hero-body {
    margin-top: clamp(40px, 6vw, 72px);
    max-width: 860px;
}
.page-hero-catchcopy {
    font-family: var(--f-body);
    font-size: clamp(22px, 3.5vw, 44px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.02em;
    color: var(--c-black);
    margin-bottom: clamp(16px, 2.5vw, 28px);
}
.page-hero-lead {
    font-size: clamp(13px, 1.4vw, 15px);
    line-height: 2.1;
    color: #555;
    font-weight: 300;
    max-width: 660px;
}
@media (max-width: 640px) {
    .page-hero-catchcopy { font-size: clamp(20px, 6.5vw, 32px); }
}

/* ---------- ヒーロータイトル 文字スタガーアニメーション ---------- */
@keyframes heroCharRise {
    from {
        opacity: 0;
        transform: translateY(36px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-char {
    display: inline-block;
    opacity: 0;
    animation: heroCharRise 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@media (prefers-reduced-motion: reduce) {
    .hero-char { animation: none; opacity: 1; }
    .page-hero-marquee { animation: none; opacity: 1; }
    .phm-inner { animation: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--c-black);
    color: var(--c-white);
    padding: clamp(60px, 8vw, 100px) 0 0;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
    padding-bottom: clamp(40px, 6vw, 60px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-link { display: inline-block; margin-bottom: 12px; }
.footer-logo-img { height: 58px; width: auto; display: block; }
.footer-tagline { font-size: 11px; letter-spacing: 0.15em; color: rgba(255,255,255,1); font-weight: 300; }
.footer-tagline {
    font-size: 12px;
    color: var(--c-white);
    letter-spacing: 0.15em;
    font-weight: 300;
}
.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-nav a {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
    font-weight: 300;
}
.footer-nav a:hover { color: var(--c-gold); }
.footer-sns {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-sns a {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
    font-family: var(--f-display);
}
.footer-sns a:hover { color: var(--c-gold); }
.footer-bottom {
    padding: clamp(32px, 4vw, 48px) 0;
}
.footer-info {
    display: flex;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
    margin-top: clamp(24px, 3vw, 36px);
}
.footer-info-item { display: flex; flex-direction: column; gap: 4px; }
.footer-info-name {
    font-size: 12px;
    font-weight: 400;
    color: var(--c-white);
    letter-spacing: 0.08em;
}
.footer-info-addr {
    font-size: 11px;
    line-height: 1.8;
    color: var(--c-white);
    font-weight: 300;
}




.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    list-style: none;
    padding: 0;
}
.footer-nav ul li a {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
    letter-spacing: 0.05em;
}
.footer-nav ul li a:hover { color: #fff; }

.footer-copy {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.05em;
}
.footer-copy a { transition: color 0.2s; }
.footer-copy a:hover { color: var(--c-gold); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
    .primary-nav { display: none; }
    .hamburger { display: flex; }
    .member-grid-wide { grid-template-columns: repeat(2, 1fr); }
    .recruit-links-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* Mobile (max 640px) */
@media (max-width: 640px) {
    :root { --header-h: 60px; }

    .hero-headline { font-size: clamp(40px, 12vw, 72px); }
    .page-hero-ja { font-size: clamp(32px, 9vw, 40px); }
    .number-item { padding-inline: 12px; }
    .number-value { font-size: clamp(34px, 11vw, 48px); white-space: nowrap; }
    .number-value small { font-size: .37em; letter-spacing: .03em; }
    .number-label { font-size: 10px; letter-spacing: .04em; white-space: normal; }
    .recruit-link-ja { font-size: clamp(23px, 7vw, 30px); overflow-wrap: normal; word-break: keep-all; }
    .member-grid-wide { grid-template-columns: 1fr; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .recruit-links-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-info { flex-direction: column; gap: 20px; }
    .footer-sitemap { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .entry-cta-btns { flex-direction: column; align-items: stretch; }
    .entry-cta-btns .btn-primary,
    .entry-cta-btns .btn-secondary { width: 100%; text-align: left; }
    .section-label-vertical { display: none; }
    .philosophy-principles { max-width: 100%; }
    .principle-item { grid-template-columns: 56px 1fr; }
}

/* 動作軽減設定 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
    .scroll-line { animation: none; }
}

/* ============================================================
   CONTACT FORM 7 カスタムスタイル
   ============================================================ */
.entry-form-wrap {
    max-width: 680px;
    background: var(--c-white);
    padding: clamp(32px, 5vw, 56px);
}
.cf7-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}
.cf7-field label {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--c-black);
}
.cf7-field .required {
    color: var(--c-gold);
    margin-left: 4px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--c-gray-lt);
    border-radius: 0;
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--c-black);
    background: var(--c-white);
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--c-gold);
}
.wpcf7-form textarea {
    min-height: 160px;
    resize: vertical;
}
.wpcf7-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
.wpcf7-form input[type="submit"] {
    background: var(--c-black);
    color: var(--c-white);
    border: none;
    padding: 18px 48px;
    font-family: var(--f-body);
    font-size: 13px;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: background 0.25s;
    margin-top: 12px;
}
.wpcf7-form input[type="submit"]:hover {
    background: var(--c-gold);
}
.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e24b4a;
    margin-top: 4px;
}
.wpcf7-response-output {
    margin-top: 24px;
    padding: 16px 20px;
    font-size: 13px;
    border-radius: 0;
}
.wpcf7-mail-sent-ok {
    background: #EAF3DE;
    border: 1px solid #97C459;
    color: #3B6D11;
}
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
    background: #FCEBEB;
    border: 1px solid #F09595;
    color: #A32D2D;
}
@media (max-width: 640px) {
    .entry-form-wrap { padding: 24px 20px; }
}
/* スパム対策の隠し欄（人には見えない） */
.entry-form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.wpcf7-form input[type="submit"]:disabled {
    opacity: 0.5;
    cursor: wait;
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.btn-contact-trigger {
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--c-black);
    background: transparent;
    border: 1px solid var(--c-black);
    padding: 8px 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-contact-trigger:hover {
    background: var(--c-black);
    color: var(--c-white);
}
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.contact-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.contact-modal {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    max-height: 90vh;
    background: var(--c-white);
    z-index: 1100;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-radius: 12px 12px 0 0;
}
.contact-modal.open {
    transform: translateY(0);
}
.contact-modal-inner {
    padding: clamp(32px, 4vw, 56px) clamp(24px, 5vw, 56px);
    max-width: 800px;
    margin: 0 auto;
}
.contact-modal-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 40px; height: 40px;
    font-size: 24px;
    color: var(--c-black);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    line-height: 1;
}
.contact-modal-close:hover { color: var(--c-gold); }
.contact-modal-eyebrow {
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--c-gold);
    margin-bottom: 12px;
}
.contact-modal-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 40px;
    line-height: 1.3;
}
.mobile-contact-btn {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    padding: 20px 0;
    border: none;
    border-bottom: 1px solid var(--c-gray-lt);
    font-size: 18px;
    font-weight: 300;
    background: transparent;
    cursor: pointer;
    color: var(--c-gold);
}
.mobile-contact-btn span {
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--c-gray-mid);
}

/* ============================================================
   ENTRY CONTACTボタン
   ============================================================ */
.entry-contact-cta {
    background: var(--c-white);
    text-align: center;
}
.entry-contact-cta .section-header {
    margin-bottom: clamp(28px, 4vw, 48px);
}
.entry-contact-cta .section-title {
    white-space: nowrap;
}
.entry-contact-lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(20px, 3vw, 32px);
}
.entry-contact-button {
    font-family: var(--f-body);
    cursor: pointer;
}
.entry-contact-cta .entry-contact-button {
    margin-top: 0;
}
@media (max-width: 640px) {
    .entry-contact-cta .section-title {
        font-size: clamp(20px, 6.6vw, 34px);
        letter-spacing: 0;
    }
}

/* ============================================================
   FOOTER SNS リンク
   ============================================================ */
.footer-sns-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0;
}
.footer-sns-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 36px);
    transition: background 0.2s;
    text-decoration: none;
}
.footer-sns-link:hover { background: rgba(255,255,255,0.05); }
.footer-sns-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-sns-icon svg { width: 24px; height: 24px; }
.footer-sns-youtube .footer-sns-icon { color: #FF0000; }
.footer-sns-instagram .footer-sns-icon { color: #E1306C; }
.footer-sns-line .footer-sns-icon { color: #06C755; }
.footer-sns-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.footer-sns-name {
    font-size: 13px;
    font-weight: 400;
    color: var(--c-white);
    letter-spacing: 0.1em;
}
.footer-sns-label {
    font-size: 11px;
    color: var(--c-white);
    letter-spacing: 0.05em;
    font-weight: 300;
}
@media (max-width: 640px) {
    .footer-sns-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   SNS セクション（フッター上部・独立）
   ============================================================ */
.sns-section {
    background: var(--c-gray-bg);
    padding: clamp(60px, 8vw, 100px) 0;
}
.sns-section-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
    background: var(--c-gray-bg);
    border: 1px solid var(--c-black);
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}
.sns-btn:hover {
    background: var(--c-black);
}
.sns-btn-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-black);
    transition: color 0.25s;
}
.sns-btn:hover .sns-btn-icon { color: var(--c-white); }
.sns-btn-icon svg { width: 22px; height: 22px; }
.sns-btn-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sns-btn-name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--c-black);
    transition: color 0.25s;
}
.sns-btn:hover .sns-btn-name { color: var(--c-white); }
.sns-btn-label {
    display: none;
}

@media (max-width: 768px) {
    .sns-section-inner { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   フォントデザインルール（サイト全体）
   
   【強調・見出し】
   font-family: var(--f-body)
   font-weight: 500〜700
   letter-spacing: 0.02〜0.05em
   用途：h1/h2/h3、キャッチコピー、セクションタイトル
   
   【サブ見出し・ラベル】
   font-family: var(--f-display) ← Cormorant Garamond
   font-weight: 400〜600
   letter-spacing: 0.2〜0.4em
   用途：eyebrow、英語ラベル、番号
   
   【本文・説明文】
   font-family: var(--f-body)
   font-weight: 300
   letter-spacing: 0.03〜0.05em
   line-height: 1.9〜2.2
   用途：paragraph、lead-text、説明文
   
   【ナビゲーション・UI】
   font-family: var(--f-body)
   font-weight: 400
   letter-spacing: 0.1〜0.15em
   用途：ボタン、メニュー、ラベル
   ============================================================ */

/* ── ヒーロー見出し：フォントウェイト強化 ── */
.hero-headline {
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
}

/* ── btn-outline-link（枠線付きボタン） ── */
.btn-outline-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.15em;
    font-weight: 400;
    color: var(--c-black);
    border: 1px solid var(--c-black);
    padding: 14px 28px;
    margin-top: clamp(32px, 5vw, 56px);
    transition: background 0.25s, color 0.25s, gap 0.25s;
    text-decoration: none;
}
.btn-outline-link:hover {
    background: var(--c-black);
    color: var(--c-white);
    gap: 20px;
}
.philosophy .btn-outline-link,
.member-highlight .btn-outline-link {
    margin-top: clamp(32px, 5vw, 56px);
}

/* ── RECRUIT LINKS 3カラム ── */
.recruit-links-grid--3col {
    grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 768px) {
    .recruit-links-grid--3col { grid-template-columns: 1fr !important; }
}

/* ── NUMBERS → 採用情報の上に配置するため背景色を白に ── */
.numbers { background: var(--c-white); }

/* ============================================================
   セクション流れるテキスト背景（マーキー）
   ============================================================ */
.section-marquee {
    position: absolute;
    top: clamp(20px, 6vw, 60px);
    left: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}
.section-marquee span {
    display: inline-block;
    font-family: var(--f-display);
    font-size: clamp(80px, 14vw, 180px);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,0,0,0.06);
    animation: marqueeScroll 32s linear infinite;
    white-space: nowrap;
    padding-right: 2em;
}
.section-marquee--light span {
    -webkit-text-stroke: 1px rgba(255,255,255,0.12);
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* セクションにrelativeを確保 */
.philosophy,
.member-highlight,
.numbers,
.recruit-links {
    position: relative;
    overflow: hidden;
}

/* マーキーの上にコンテンツが乗るようにz-indexを設定 */
.philosophy .container,
.philosophy .philosophy-body,
.member-highlight .container,
.member-highlight .member-carousel-wrap,
.numbers .container,
.recruit-links .container,
.recruit-links .recruit-links-grid {
    position: relative;
    z-index: 1;
}

/* ── RECRUIT LINKS 2カラム ── */
.recruit-links-grid--2col {
    grid-template-columns: repeat(2, 1fr) !important;
}
@media (max-width: 640px) {
    .recruit-links-grid--2col { grid-template-columns: 1fr !important; }
}

/* ── stanza区切り（PC/スマホ共通の段落間スペース）── */
.stanza-break { display: block; height: 1.1em; }
/* ── レスポンシブ改行ユーティリティ（画面幅ごとに改行位置を出し分け）── */
.br-sp { display: none; }            /* スマホ専用改行（PCでは無効）*/
@media (max-width: 640px) {
    .br-pc { display: none; }        /* PC専用改行（スマホでは無効）*/
    .br-sp { display: inline; }
}

/* ── スマホ時：サブテキスト（リード・説明文）の強制改行を解除して文章をつなげる
   ※ purposeの詩的コピー(.pu-center-body / .pu-wli-text)は意図的な改行のため除外 ── */
@media (max-width: 640px) {
    .page-hero-lead br,
    .lead-text br,
    .description br,
    .jz-intro-lead br,
    .jz-other-desc br,
    .jz-pickup-text br,
    .tr-card-body br,
    .tr-tl-body-text br,
    .recruit-link-desc br,
    .req-intro br,
    .pu-section-lead br,
    .note-lead br,
    .news-lead br,
    .ip-copy-text br,
    .ip-concept-lead br,
    .entry-contact-text br,
    .person-lead br {
        display: none;
    }
}

/* ============================================================
   High school company information LP
   ============================================================ */
.hs-lp{--hs-blue:#0877c9;--hs-deep:#054d8a;--hs-pale:#eff9ff;--hs-yellow:#ffd928;--hs-ink:#12344d;background:#fff;color:var(--hs-ink);font-family:var(--f-body)}
.hs-lp *{box-sizing:border-box}.hs-container{width:min(1120px,calc(100% - 48px));margin-inline:auto}.hs-narrow{max-width:920px}.hs-section{padding:clamp(72px,8vw,112px) 0}.hs-hero{position:relative;min-height:760px;height:min(92svh,900px);overflow:hidden;background:#dcecf5}.hs-hero-collage{position:absolute;inset:0;display:grid;grid-template-columns:1.2fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:3px}.hs-hero-photo{margin:0;overflow:hidden}.hs-hero-photo--a{grid-row:1/3}.hs-hero-photo--b{grid-column:2/4}.hs-hero-photo img{width:100%;height:100%;object-fit:cover}.hs-hero-photo--a img{object-position:50% 35%}.hs-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,35,69,.18),rgba(0,35,69,.04)),linear-gradient(0deg,rgba(0,44,80,.42),transparent 55%)}.hs-hero-content{position:absolute;z-index:2;left:50%;bottom:6%;width:min(900px,calc(100% - 48px));transform:translateX(-50%);text-align:center}.hs-hero-kicker{display:inline-block;margin:0 0 12px;padding:8px 26px;background:var(--hs-blue);color:#fff;font-size:14px;font-weight:700;letter-spacing:.12em;clip-path:polygon(4% 0,96% 0,100% 50%,96% 100%,4% 100%,0 50%)}.hs-hero-title{margin:0;color:#fff;font-size:clamp(42px,6vw,80px);font-weight:900;line-height:1.08;letter-spacing:.035em;text-shadow:0 4px 0 var(--hs-blue),0 8px 24px rgba(0,40,80,.28)}.hs-hero-title span{display:block;color:var(--hs-yellow);font-size:.72em;-webkit-text-stroke:5px #fff;paint-order:stroke fill}.hs-date-grid{display:flex;justify-content:center;gap:12px;margin-top:26px}.hs-date-card{display:grid;min-width:260px;padding:13px 22px;background:#fff;border:2px solid var(--hs-blue);box-shadow:0 5px 0 rgba(3,76,135,.18);color:#111}.hs-date-card small{color:var(--hs-blue);font-size:11px;font-weight:700}.hs-date-card strong{font-size:18px}.hs-date-card span{font:600 11px/1.4 var(--f-display);letter-spacing:.12em}.hs-hand-note{position:absolute;z-index:2;margin:0;padding:10px 16px;background:#fff;color:var(--hs-blue);font-size:14px;font-weight:700;line-height:1.5;transform:rotate(-7deg);box-shadow:0 4px 12px rgba(0,55,98,.12)}.hs-hand-note--left{left:7%;top:24%}.hs-hand-note--right{right:6%;top:17%;transform:rotate(5deg)}
.hs-intro{text-align:center}.hs-intro-copy{margin:0 0 34px;font-size:16px;font-weight:600;line-height:2}.hs-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0;padding:0;list-style:none;text-align:left}.hs-checks li{position:relative;display:flex;align-items:center;min-height:76px;padding:16px 18px 16px 52px;border:1.5px solid var(--hs-blue);font-size:13px;font-weight:600;line-height:1.65}.hs-checks li::before{content:'✓';position:absolute;left:16px;display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:var(--hs-yellow);color:var(--hs-blue);font-weight:900}.hs-intro-end{margin:30px 0 0;font-size:14px;font-weight:700}.hs-program{background:linear-gradient(180deg,#f4fbff,#edf8ff)}.hs-heading{text-align:center;margin-bottom:44px}.hs-heading span{display:block;margin-bottom:7px;color:var(--hs-blue);font:600 11px/1 var(--f-display);letter-spacing:.28em}.hs-heading h2{margin:0;color:var(--hs-deep);font-size:clamp(25px,3.4vw,38px);font-weight:800;letter-spacing:.06em}.hs-heading h2::before,.hs-heading h2::after{content:'';display:inline-block;width:22px;height:2px;margin:0 15px 7px;background:var(--hs-blue);transform:rotate(55deg)}.hs-heading h2::after{transform:rotate(-55deg)}.hs-program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.hs-program-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1.5px solid var(--hs-blue);background:#fff;box-shadow:0 5px 12px rgba(5,77,138,.08)}.hs-program-text{padding:28px 26px 22px}.hs-program-text span{color:var(--hs-blue);font:700 12px/1 var(--f-display)}.hs-program-text h3{margin:6px 0 9px;color:var(--hs-blue);font-size:23px;font-weight:800}.hs-program-text p{margin:0;font-size:13px;line-height:1.75}.hs-program-card img{width:100%;aspect-ratio:16/10;margin-top:auto;object-fit:cover}.hs-detail-list{margin:0;border-top:2px solid var(--hs-blue)}.hs-detail-list>div{display:grid;grid-template-columns:150px 1fr;border-bottom:1px solid #dce7ee}.hs-detail-list dt,.hs-detail-list dd{margin:0;padding:20px 18px}.hs-detail-list dt{color:var(--hs-deep);font-size:14px;font-weight:800}.hs-detail-list dd{color:#222;font-size:14px;line-height:1.75}.hs-detail-list small{display:block;color:#667681;font-size:11px}.hs-apply{background:var(--hs-pale);text-align:center}.hs-apply .hs-heading{margin-bottom:14px}.hs-apply p{margin:0 0 28px;font-size:14px}.hs-button{display:inline-flex;min-width:360px;align-items:center;justify-content:space-between;padding:17px 24px;border-radius:999px;background:var(--hs-blue);color:#fff;font-size:14px;font-weight:700;letter-spacing:.04em;text-decoration:none;box-shadow:0 6px 14px rgba(5,77,138,.15);transition:transform .25s,background .25s}.hs-button:hover{background:var(--hs-deep);color:#fff;transform:translateY(-2px)}
@media(max-width:768px){.hs-container{width:min(100% - 30px,620px)}.hs-section{padding:64px 0}.hs-hero{height:760px;min-height:0}.hs-hero-collage{grid-template-columns:1fr 1fr;grid-template-rows:1.2fr .8fr}.hs-hero-photo--a{grid-row:auto}.hs-hero-photo--b{grid-column:auto}.hs-hero-photo--c{grid-column:1/3}.hs-hero-photo--d{display:none}.hs-hero-shade{background:linear-gradient(0deg,rgba(0,48,91,.66),transparent 70%)}.hs-hero-content{bottom:5%;width:calc(100% - 30px)}.hs-hero-kicker{font-size:11px}.hs-hero-title{font-size:clamp(35px,11vw,52px)}.hs-hero-title span{-webkit-text-stroke:3px #fff}.hs-date-grid{display:grid;gap:8px}.hs-date-card{min-width:min(310px,90vw);padding:10px 16px}.hs-date-card strong{font-size:16px}.hs-hand-note{display:none}.hs-checks{grid-template-columns:1fr}.hs-heading{margin-bottom:30px}.hs-heading h2::before,.hs-heading h2::after{width:14px;margin-inline:9px}.hs-program-grid{grid-template-columns:1fr}.hs-program-card{display:grid;grid-template-columns:1.05fr .95fr}.hs-program-text{padding:20px 18px}.hs-program-card img{height:100%;aspect-ratio:auto}.hs-detail-list>div{grid-template-columns:92px 1fr}.hs-detail-list dt,.hs-detail-list dd{padding:16px 10px}.hs-button{min-width:0;width:min(100%,380px)}}
@media(prefers-reduced-motion:reduce){.hs-button{transition:none}}

/* High school LP hero — graphic version */
.page-template-page-koukousei-setsumeikai .site-header:not(.scrolled){background:transparent;color:#fff}
.page-template-page-koukousei-setsumeikai .site-header:not(.scrolled) .site-logo img{filter:brightness(0) invert(1)}
.page-template-page-koukousei-setsumeikai .site-header:not(.scrolled) .main-nav a{color:#fff}
.hs-hero{height:auto;min-height:0;padding-top:clamp(130px,12vw,180px);overflow:hidden;background:radial-gradient(circle at 50% 33%,#12b9ef 0,#078ed6 38%,#0564bb 76%,#044e9e 100%);color:#fff}
.hs-hero-bg-image{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.hs-confetti{position:absolute;z-index:1;inset:0;overflow:hidden;pointer-events:none}
.hs-confetti i{position:absolute;left:calc(var(--x) * 1%);top:-4%;display:block;width:var(--size);height:calc(var(--size) * .48);border-radius:1px;background:#ffe000;opacity:.9;will-change:transform;animation:hs-confetti-fall var(--duration) linear var(--delay) infinite}
.hs-confetti i:nth-child(3n+2){background:#fff}
.hs-confetti i:nth-child(3n){background:#80d8ff}
.hs-confetti i:nth-child(4n){height:var(--size);border-radius:50% 0 50% 0}
.hs-confetti i:nth-child(5n){width:calc(var(--size) * .48);height:calc(var(--size) * 1.35)}
@keyframes hs-confetti-fall{
    0%{transform:translate3d(0,-8vh,0) rotate(0deg);opacity:0}
    8%{opacity:.9}
    48%{transform:translate3d(var(--drift),55vh,0) rotate(240deg)}
    92%{opacity:.85}
    100%{transform:translate3d(0,115vh,0) rotate(var(--rotation));opacity:0}
}
.hs-hero::before,.hs-hero::after{display:none}
.hs-hero .hs-hero-rays,.hs-hero .hs-hero-dots{display:none}
.hs-hero::before,.hs-hero::after{content:'';position:absolute;z-index:0;border:clamp(16px,2.5vw,34px) solid rgba(255,255,255,.16);border-radius:50%}
.hs-hero::before{width:130px;height:130px;left:-65px;top:39%}.hs-hero::after{width:58px;height:58px;right:8%;top:14%}
.hs-hero-rays{position:absolute;inset:0;opacity:.45;background:repeating-conic-gradient(from 255deg at 50% 42%,transparent 0deg 7deg,rgba(255,255,255,.28) 7.5deg 8.5deg,transparent 9deg 15deg);clip-path:polygon(0 18%,100% 8%,100% 91%,0 88%)}
.hs-hero-dots{position:absolute;width:130px;height:70px;opacity:.75;background:radial-gradient(circle,#fff 0 3px,transparent 4px);background-size:22px 22px;transform:rotate(-28deg)}.hs-hero-dots--a{left:2%;bottom:21%}.hs-hero-dots--b{right:2%;top:28%;transform:rotate(28deg)}
.hs-hero-content{position:relative;z-index:2;left:auto;bottom:auto;width:min(1120px,calc(100% - 48px));transform:none;text-align:center}
.hs-hero-content{padding-bottom:clamp(72px,8vw,112px)}
.hs-hero-kicker{position:relative;margin:20px 0 34px;padding:18px 70px;border-radius:8px;background:#fff;clip-path:polygon(3% 0,97% 0,100% 50%,97% 100%,53% 100%,50% 115%,47% 100%,3% 100%,0 50%);color:var(--hs-deep);font-size:clamp(20px,2.6vw,34px);font-weight:900;letter-spacing:.04em;box-shadow:0 12px 25px rgba(0,41,111,.2);transform-origin:center;animation:hs-kicker-pop .72s cubic-bezier(.2,.9,.28,1.25) .82s both}
@keyframes hs-kicker-pop{0%{opacity:0;transform:translateY(22px) scale(.58)}58%{opacity:1;transform:translateY(-7px) scale(1.09)}78%{transform:translateY(3px) scale(.97)}100%{opacity:1;transform:translateY(0) scale(1)}}
.hs-hero-title{font-size:clamp(68px,10vw,132px);line-height:.84;letter-spacing:-.055em;text-shadow:0 8px 0 #07559d,0 18px 20px rgba(0,43,105,.28)}
.hs-hero-title span{color:#ffe000;font-size:.9em;-webkit-text-stroke:0;text-shadow:0 8px 0 #d7b900,0 17px 16px rgba(0,48,108,.35)}
.hs-hero-title strong{display:block;margin-top:.24em;color:#fff;font-size:.72em;font-weight:900;letter-spacing:-.06em;transform:rotate(-1deg);text-shadow:0 8px 0 #e4eef6,0 17px 18px rgba(0,42,104,.35)}
.hs-hero-title>img{display:block;width:min(1440px,94vw);max-width:none;height:auto;margin:0 0 0 50%;transform:translate(-50%,0);transform-origin:center;filter:drop-shadow(0 18px 14px rgba(0,46,105,.22));animation:hs-title-pop .82s cubic-bezier(.2,.9,.28,1.25) .15s both}
@keyframes hs-title-pop{
    0%{opacity:0;transform:translate(-50%,24px) scale(.58)}
    58%{opacity:1;transform:translate(-50%,-8px) scale(1.09)}
    78%{transform:translate(-50%,4px) scale(.97)}
    100%{opacity:1;transform:translate(-50%,0) scale(1)}
}
.hs-date-grid{gap:24px;margin-top:8px}.hs-date-card{position:relative;display:grid;min-width:0;width:min(500px,45vw);min-height:178px;align-content:center;padding:32px 36px 26px;border:0;border-radius:18px;box-shadow:0 10px 0 rgba(0,62,139,.25);color:#111}
.hs-date-card small{position:absolute;left:26px;top:-18px;padding:9px 16px;border-radius:999px;background:#ffe000;color:var(--hs-deep);font-size:15px}.hs-date-card strong{display:flex;align-items:baseline;justify-content:center;gap:.06em;color:#075ca9;font-weight:900;line-height:1.05;white-space:nowrap}.hs-date-card strong .hs-date-year{color:#075ca9;font-size:clamp(19px,1.8vw,26px)}.hs-date-card strong .hs-date-main{color:#075ca9;font-size:clamp(40px,4.6vw,62px);font-weight:900;letter-spacing:-.03em}.hs-date-card strong .hs-date-unit{color:#075ca9;font-size:clamp(19px,1.8vw,26px);font-weight:900;margin:0 .04em}.hs-date-card strong .hs-date-day{color:#075ca9;font-size:clamp(21px,2.2vw,31px);margin-left:.12em}.hs-date-card>.hs-date-time{margin-top:10px;color:#075ca9;font-size:clamp(18px,2vw,26px);font-weight:900;letter-spacing:.05em}
.hs-date-card--pending{grid-column:1/-1;width:min(680px,88vw);margin-inline:auto}.hs-date-card--pending strong{color:#075ca9;font-size:clamp(32px,4vw,52px);font-weight:900;letter-spacing:.08em}.hs-date-card--pending>.hs-date-time{font-size:clamp(13px,1.5vw,18px);font-weight:700}
.hs-hero .hs-checks{display:block;width:max-content;max-width:100%;margin:42px auto 0;text-align:left}.hs-hero .hs-checks li{min-height:0;padding:4px 0 4px 48px;border:0;color:#fff;font-size:clamp(15px,1.8vw,22px);font-weight:800;text-shadow:0 2px 3px rgba(0,63,125,.35)}.hs-hero .hs-checks li::before{left:3px;width:29px;height:29px;border:2px solid #fff;border-radius:4px;background:#ffe000;color:#0871c1;font-size:20px;box-shadow:0 2px 0 rgba(0,55,130,.25)}
.hs-hero .hs-intro-end{margin:22px 0 30px;color:#fff;font-size:clamp(16px,2vw,23px);font-weight:900}.hs-hero .hs-intro-end span{color:#ffe000;font-size:1.25em}
.hs-hero-programs{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-bottom:64px}.hs-hero-programs a{position:relative;display:block;min-height:230px;padding:37px 28px 28px;border-radius:14px;background:#fff;color:#111;text-align:left;text-decoration:none;box-shadow:0 9px 0 rgba(0,62,139,.25);transition:transform .25s}.hs-hero-programs a:hover{transform:translateY(-5px)}.hs-hero-programs b{position:absolute;right:22px;top:20px;color:#cce9fb;font:900 45px/1 var(--f-display)}.hs-hero-programs h2{position:relative;margin:0 0 20px;padding-left:60px;color:#075ca9;font-size:clamp(20px,2.4vw,30px);font-weight:900}.hs-hero-programs h2::before{content:'●';position:absolute;left:0;top:-9px;display:grid;width:49px;height:49px;place-items:center;border-radius:50%;background:#075ca9;color:#fff;font-size:15px}.hs-hero-programs p{margin:0;font-size:15px;font-weight:600;line-height:1.85}
.hs-hero-cta{position:relative;z-index:2;background:#ffe000;color:var(--hs-deep)}.hs-hero-cta .hs-container{display:flex;min-height:150px;align-items:center;justify-content:space-between;gap:40px}.hs-hero-cta p{margin:0;text-align:left}.hs-hero-cta small,.hs-hero-cta strong{display:block}.hs-hero-cta small{font-size:15px;font-weight:700}.hs-hero-cta strong{font-size:clamp(23px,3vw,36px);font-weight:900}.hs-hero-cta .hs-button{background:#0969bd;box-shadow:0 7px 0 rgba(5,63,132,.2)}
@media(max-width:768px){.page-template-page-koukousei-setsumeikai .site-header:not(.scrolled) .hamburger span{background:#fff}.hs-hero{height:auto;padding-top:100px}.hs-hero-bg-image{object-fit:fill}.hs-hero-content{width:calc(100% - 30px)}.hs-hero-kicker{margin:12px 0 24px;padding:12px 24px;font-size:17px}.hs-hero-title{font-size:clamp(51px,16.5vw,72px);line-height:.88}.hs-hero-title>img{width:min(92vw,620px)}.hs-hero-title strong{font-size:.64em;letter-spacing:-.08em}.hs-date-grid{display:grid;gap:12px;margin-top:12px}.hs-date-card{width:min(100%,440px);padding:20px}.hs-date-card strong{font-size:21px}.hs-date-card span{font-size:15px}.hs-hero .hs-checks{margin-top:30px}.hs-hero .hs-checks li{padding-left:38px;font-size:14px}.hs-hero .hs-checks li::before{width:24px;height:24px;font-size:16px}.hs-hero .hs-intro-end{line-height:1.7}.hs-hero-programs{grid-template-columns:1fr;gap:12px;padding-bottom:40px}.hs-hero-programs a{min-height:0;padding:24px}.hs-hero-programs h2{margin-bottom:9px}.hs-hero-programs p{padding-left:60px;font-size:13px}.hs-hero-programs b{font-size:35px}.hs-hero-cta .hs-container{min-height:0;flex-direction:column;gap:20px;padding:30px 0}.hs-hero-cta p{text-align:center}.hs-hero-cta small{font-size:12px}.hs-hero-cta strong{font-size:22px}.hs-hero-cta .hs-button{width:100%}}

@media(max-width:768px){
    .hs-program-card{display:flex;flex-direction:column}
    .hs-program-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
}

/* Program cards */
.hs-program-card{
    overflow:hidden;
    border:1px solid rgba(8,119,201,.38);
    border-radius:24px;
    box-shadow:0 14px 34px rgba(5,77,138,.10);
    transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.hs-program-card:hover{
    transform:translateY(-7px);
    border-color:rgba(8,119,201,.72);
    box-shadow:0 22px 46px rgba(5,77,138,.17);
}
.hs-program-card img{
    transition:transform .5s ease;
}
.hs-program-card:hover img{
    transform:scale(1.035);
}
.hs-program-text{
    position:relative;
    min-height:190px;
}
.hs-program-text>span{
    display:inline-grid;
    width:34px;
    height:34px;
    place-items:center;
    border-radius:50%;
    background:var(--hs-pale);
}
@media(max-width:768px){
    .hs-program-card{border-radius:18px}
    .hs-program-text{min-height:0}
}
@media(max-width:768px){.hs-hero-title>img{transform:translate(-50%,0)}@keyframes hs-title-pop{0%{opacity:0;transform:translate(-50%,12px) scale(.58)}58%{opacity:1;transform:translate(-50%,-6px) scale(1.09)}78%{transform:translate(-50%,3px) scale(.97)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}}
@media(max-width:768px){.hs-hero-content{padding-bottom:60px}.hs-hero .hs-intro-end{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){.hs-hero-title>img,.hs-hero-kicker,.hs-confetti i{animation:none}.hs-confetti{display:none}}

/* 高校生向け説明会 申込フォーム（このページ専用） */
.hs-form-wrap{max-width:760px;margin:0 auto;text-align:left;background:#fff;border:2px solid var(--hs-blue);border-radius:14px;padding:clamp(28px,4vw,48px);box-shadow:0 10px 0 rgba(5,77,138,.12)}
.hs-form-wrap .cf7-field{margin-bottom:22px}
.hs-form-wrap .cf7-field label{display:block;margin-bottom:8px;font-weight:700;color:var(--hs-deep);font-size:14px}
.hs-form-wrap .cf7-field .required{color:#e0433f;margin-left:4px}
.hs-form-wrap .cf7-note{margin:8px 0 0;font-size:12px;color:#667681}
.hs-form-wrap .cf7-subheading{margin:8px 0 20px;padding-top:28px;border-top:2px solid #e3eef5;color:var(--hs-deep);font-size:17px;font-weight:800}
.hs-form-wrap .cf7-student{margin-bottom:20px;padding:20px;background:var(--hs-pale);border:1.5px solid #cfe6f5;border-radius:10px}
.hs-form-wrap .cf7-student:last-child{margin-bottom:0}
.hs-form-wrap .cf7-student-label{display:inline-block;margin:0 0 16px;padding:4px 14px;background:var(--hs-blue);color:#fff;font-size:12px;font-weight:700;border-radius:999px}
.hs-form-wrap input[type=text],.hs-form-wrap input[type=email],.hs-form-wrap input[type=tel]{width:100%;padding:13px 16px;border:1.5px solid #cfe0ea;border-radius:8px;font-size:14px;font-family:var(--f-body);background:#fff;appearance:none;-webkit-appearance:none}
.hs-form-wrap input:focus{outline:none;border-color:var(--hs-blue)}
.hs-form-wrap .wpcf7-form-control-wrap{display:block}
.hs-form-wrap .wpcf7-form-control.wpcf7-radio{display:flex;flex-wrap:wrap;gap:4px 4px}
.hs-form-wrap .wpcf7-list-item{display:inline-flex;align-items:center;gap:6px;margin:0 16px 8px 0}
.hs-form-wrap .wpcf7-list-item input[type=radio]{width:16px;height:16px;accent-color:var(--hs-blue)}
.hs-form-wrap .wpcf7-list-item-label{font-size:13px}
.hs-form-wrap input[type=submit]{display:inline-flex;min-width:280px;justify-content:center;margin-top:8px;padding:16px 40px;border:0;border-radius:999px;background:var(--hs-blue);color:#fff;font-size:15px;font-weight:800;letter-spacing:.04em;cursor:pointer;box-shadow:0 6px 0 rgba(5,77,138,.25);transition:transform .2s,background .2s}
.hs-form-wrap input[type=submit]:hover{background:var(--hs-deep);transform:translateY(-2px)}
.hs-form-wrap .wpcf7-not-valid-tip{margin-top:6px;font-size:12px;color:#e0433f}
.hs-form-wrap .wpcf7-response-output{margin-top:20px;border-radius:8px;font-size:13px}
@media(max-width:640px){.hs-form-wrap{padding:24px 20px}.hs-form-wrap input[type=submit]{width:100%;min-width:0}}

/* 高校生向け説明会 PROGRAMカードヘッダー（アイコン＋太字ラベル＋薄い背景ナンバー） */
.hs-program-head{display:flex;align-items:center;gap:14px;margin-bottom:10px;padding-bottom:16px;border-bottom:2px solid #e3eef5}
.hs-program-dot{position:relative;flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:var(--hs-deep)}
.hs-program-dot::after{content:'';position:absolute;top:50%;left:50%;width:9px;height:9px;border-radius:50%;background:#fff;transform:translate(-50%,-50%)}
.hs-program-head h3{margin:0;flex:1 1 auto;color:var(--hs-blue);font-size:clamp(19px,2.2vw,23px);font-weight:900;letter-spacing:.02em}

/* 枠線付きリンクもカードと同じ22pxの角丸に統一。 */
.btn-outline-link, .btn-secondary { border-radius: 22px; }

/* 志初め限定：朱 #b52216、和紙 #fff7e8、墨 #21180f、金 #b89a50。社員の実写と一続きの水引を軸に構成。 */
.kz-page{--kz-red:#b52216;--kz-paper:#fff7e8;--kz-gold:#b89a50;--kz-ink:#21180f;padding-top:var(--header-h);background:var(--kz-paper);color:var(--kz-paper);font-weight:400;overflow:hidden;}
.kz-world{position:relative;isolation:isolate;background:var(--kz-red);overflow:hidden;}.kz-world:before{content:'';position:absolute;top:550px;left:6%;right:6%;bottom:500px;border:1px solid var(--kz-gold);border-radius:48% 48% 35% 35%;z-index:-1;pointer-events:none;}.kz-sun{position:absolute;width:80vw;height:80vw;max-width:1200px;max-height:1200px;top:-30vw;left:-22vw;border:1px solid var(--kz-gold);border-radius:50%;box-shadow:0 0 0 16px var(--kz-red),0 0 0 17px var(--kz-gold),0 0 0 33px var(--kz-red),0 0 0 34px var(--kz-gold);z-index:-1;}.kz-page h1,.kz-page h2,.kz-page h3{font-weight:700;}.kz-opening{width:min(1440px,100%);margin:auto;padding:85px 7% 0;position:relative;min-height:1000px;display:grid;grid-template-columns:1.1fr 1fr;gap:25px;}.kz-opening-copy{position:relative;z-index:2;}.kz-opening-lead{font-size:clamp(17px,1.8vw,26px);letter-spacing:.1em;font-weight:500;}.kz-page h1{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:clamp(110px,14vw,210px);line-height:1.2;letter-spacing:-.08em;white-space:nowrap;margin:45px 0 30px;}.kz-page h1>span{display:block;font:500 15px var(--f-body);letter-spacing:.65em;margin:0 0 18px 8px;}.kz-opening-message{font-size:clamp(32px,4.3vw,62px);line-height:1.5;font-weight:700;letter-spacing:.06em;}.kz-date{margin:35px 0 20px;}.kz-date time{font-size:clamp(35px,4vw,57px);font-weight:600;letter-spacing:.02em;}.kz-date time>span{display:block;font-size:20px;}.kz-date small{font-size:.4em;}.kz-link{display:inline-flex;gap:48px;justify-content:space-between;align-items:center;border-bottom:1px solid currentColor;padding:16px 0;color:inherit;font-size:16px;font-weight:500;text-decoration:none;}.kz-link:hover{color:var(--kz-gold);}.kz-link:focus-visible{outline:2px solid currentColor;outline-offset:5px;}.kz-opening-photo{margin:0;position:relative;align-self:start;transform:rotate(4deg);padding-top:30px;}.kz-opening-photo img{display:block;width:100%;height:740px;object-fit:cover;object-position:center 58%;border-radius:48% 48% 0 0;}.kz-opening-photo figcaption{font-size:14px;margin-top:16px;text-align:right;}.kz-welcome{position:relative;z-index:3;grid-column:1/-1;font-size:clamp(55px,8vw,112px);font-weight:700;line-height:1.35;letter-spacing:.04em;margin-top:-25px;transform:rotate(-5deg);}.kz-gather{position:relative;padding-top:90px;}.kz-gather-copy{width:min(820px,84%);margin:auto;}.kz-gather h2{font-size:clamp(34px,4vw,57px);line-height:1.6;letter-spacing:.06em;margin-bottom:30px;}.kz-gather p{font-size:18px;line-height:2.1;margin:20px 0;}.kz-photo-flow{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:25px;align-items:center;width:110%;margin:90px -5% 0;transform:rotate(-5deg);}.kz-photo-flow img{width:100%;height:340px;object-fit:cover;}.kz-photo-flow img:first-child{height:410px;object-position:center 35%;}.kz-photo-flow img:last-child{height:280px;object-position:30% center;}.kz-day{position:relative;width:min(1140px,86%);margin:100px auto 0;padding-top:20px;}.kz-thread{position:absolute;top:-50px;bottom:0;left:40%;width:50%;border:3px double var(--kz-gold);border-left:0;border-radius:0 60% 45% 0;opacity:.65;z-index:-1;transform:rotate(13deg);}.kz-moment{position:relative;min-height:470px;padding:45px 0;}.kz-moment h2{font-size:clamp(80px,12vw,165px);line-height:1.2;letter-spacing:-.05em;}.kz-moment-copy{margin:30px 0 0 13%;position:relative;z-index:1;}.kz-moment h3{font-size:clamp(23px,2.5vw,34px);margin-bottom:20px;letter-spacing:.05em;}.kz-moment p{font-size:18px;line-height:2;}.kz-moment p+p{margin-top:20px;}.kz-talk{margin-left:30%;}.kz-write{padding-top:70px;min-height:650px;}.kz-bowls{position:absolute;right:5%;top:80px;transform:rotate(12deg);width:200px;}.kz-bowls i{display:block;height:50px;margin-top:-20px;border:3px solid var(--kz-gold);border-top-width:7px;border-radius:0 0 80px 80px;}.kz-voice{font-size:32px!important;position:absolute;left:-38%;bottom:60px;writing-mode:vertical-rl;letter-spacing:.15em;transform:rotate(-12deg);font-weight:500;}.kz-paper{position:absolute;right:5%;bottom:30px;background:var(--kz-paper);color:var(--kz-ink);width:180px;height:330px;display:grid;place-items:center;font:700 120px 'Hiragino Mincho ProN','Yu Mincho',serif;transform:rotate(9deg);box-shadow:12px 12px 0 var(--kz-gold);z-index:-1;}.kz-close{padding:80px 7% 110px;text-align:center;}.kz-close>p{font-size:clamp(38px,6vw,84px);font-weight:700;line-height:1.6;letter-spacing:.06em;}.kz-close .kz-link{margin-top:25px;}.kz-about{position:relative;background:var(--kz-paper);color:var(--kz-ink);padding:90px max(8%,calc((100% - 1000px)/2));scroll-margin-top:var(--header-h);}.kz-about h2{font-size:38px;margin-bottom:30px;}.kz-about dl>div{display:grid;grid-template-columns:130px 1fr;padding:22px 0;border-bottom:1px solid var(--kz-gold);font-size:16px;line-height:1.9;}.kz-about dt{font-weight:600;}.kz-about dd{margin:0;}.kz-about>p{font-size:15px;line-height:1.9;margin-top:30px;}.kz-about .kz-link{margin-top:20px;}
@media(max-width:900px){.kz-opening{padding-inline:6%;min-height:900px;}.kz-opening-photo img{height:610px;}.kz-page h1{font-size:14vw;}.kz-opening-message{font-size:40px;}.kz-moment-copy{margin-left:7%;}.kz-paper{right:0;opacity:.65;}.kz-bowls{right:0;width:140px;}.kz-talk{margin-left:24%;}}
@media(max-width:640px){.kz-opening{display:block;padding:42px 22px 0;min-height:0;}.kz-opening-lead{font-size:16px;}.kz-page h1{font-size:27vw;margin:30px 0 20px;}.kz-page h1>span{font-size:12px;letter-spacing:.5em;}.kz-opening-message{font-size:31px;}.kz-opening-copy{padding-bottom:25px;}.kz-date{margin-top:22px;}.kz-date time{font-size:38px;}.kz-date time>span{font-size:17px;}.kz-opening-photo{width:74%;margin:-170px -10px 0 auto;transform:rotate(5deg);z-index:0;}.kz-opening-photo img{height:430px;object-position:center 60%;}.kz-opening-copy{pointer-events:none;}.kz-opening-copy a{pointer-events:auto;}.kz-opening-message,.kz-date,.kz-opening-copy .kz-link{text-shadow:0 1px 5px var(--kz-red),0 0 18px var(--kz-red);}.kz-opening-photo figcaption{font-size:12px;}.kz-welcome{font-size:12vw;margin:35px 0 0;}.kz-gather{padding-top:65px;}.kz-gather-copy{width:calc(100% - 44px);}.kz-gather h2{font-size:31px;}.kz-gather p{font-size:16px;line-height:2;}.kz-gather p br{display:none;}.kz-photo-flow{gap:10px;margin-top:45px;width:145%;margin-left:-20%;grid-template-columns:1fr 1.3fr 1fr;}.kz-photo-flow img{height:220px;}.kz-photo-flow img:first-child{height:260px;}.kz-photo-flow img:last-child{height:190px;}.kz-day{width:calc(100% - 44px);margin-top:55px;}.kz-moment{min-height:380px;padding-top:35px;}.kz-moment h2{font-size:23vw;}.kz-moment-copy{margin:25px 0 0;}.kz-moment h3{font-size:23px;}.kz-moment p{font-size:16px;}.kz-moment p br{display:none;}.kz-talk{margin-left:10%;}.kz-bowls{width:85px;top:60px;right:0;opacity:.65;}.kz-bowls i{height:30px;margin-top:-10px;border-width:2px;border-top-width:4px;}.kz-voice{font-size:19px!important;left:-10%;bottom:5px;}.kz-write{min-height:510px;padding-top:40px;}.kz-write h2{font-size:21vw;}.kz-write .kz-moment-copy{max-width:85%;}.kz-paper{width:95px;height:190px;font-size:70px;bottom:-5px;right:0;opacity:1;}.kz-close{padding:70px 20px;}.kz-close>p{font-size:30px;}.kz-link{font-size:15px;gap:30px;}.kz-about{padding:55px 22px;}.kz-about h2{font-size:29px;}.kz-about dl>div{grid-template-columns:83px 1fr;font-size:15px;padding:18px 0;}.kz-about>p{font-size:14px;}.kz-world:before{left:3%;right:3%;top:350px;}.kz-thread{left:5%;width:90%;}.kz-sun{width:130vw;height:130vw;top:-50vw;left:-55vw;}}
@media(max-width:640px){.kz-write h2{font-size:17vw;white-space:nowrap;}}
/* HERO v3：人物を使わないイベントの一枚絵。大きな題字を中心に据える。 */
.kz-opening{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;min-height:800px;min-height:calc(100svh - var(--header-h));padding:60px 24px 90px;isolation:isolate;}
.kz-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;}
.kz-opening:after{content:'';position:absolute;inset:auto 0 0;height:130px;background:linear-gradient(0deg,var(--kz-red),transparent);z-index:-1;pointer-events:none;}
.kz-opening-copy{width:100%;padding:0;pointer-events:auto;}.kz-opening-lead{font-size:clamp(17px,2vw,27px);letter-spacing:.12em;}.kz-page .kz-opening h1{font-family:var(--f-body);font-weight:900;font-size:clamp(120px,20vw,290px);line-height:1.15;letter-spacing:-.075em;margin:25px 0 16px;transform:rotate(-5deg);text-shadow:5px 7px 0 var(--kz-red);}.kz-page .kz-opening h1>span{font-size:14px;letter-spacing:.55em;margin:0 0 8px;transform:rotate(5deg);}.kz-opening-message{font-size:clamp(24px,3.6vw,50px);white-space:nowrap;letter-spacing:.03em;text-shadow:0 2px 14px var(--kz-red);}.kz-opening .kz-date{margin:25px 0 0;}.kz-opening .kz-date time{font-size:clamp(28px,3.1vw,43px);}.kz-opening .kz-date time>span{display:inline;font-size:.55em;margin-right:12px;}.kz-opening .kz-link{margin-top:8px;font-size:15px;}.kz-gather{padding-top:100px;}.kz-day{margin-top:75px;}.kz-write h2{white-space:normal;}
@media(max-width:640px){.kz-opening{min-height:760px;min-height:calc(100svh - var(--header-h));padding:70px 18px 90px;}.kz-hero-art{object-position:50% center;}.kz-page .kz-opening h1{font-size:29vw;margin:40px 0 20px;}.kz-page .kz-opening h1>span{font-size:11px;}.kz-opening-lead{font-size:15px;}.kz-opening-message{font-size:6.6vw;}.kz-opening .kz-date{margin-top:25px;}.kz-opening .kz-date time{font-size:30px;}.kz-opening .kz-date time>span{font-size:16px;}.kz-gather{padding-top:55px;}.kz-day{margin-top:35px;}.kz-write h2{font-size:23vw;}}
.kz-hero-picture{position:absolute;inset:0;z-index:-2;}.kz-page .kz-opening h1{font-size:clamp(120px,18vw,260px);margin-top:18px;margin-bottom:14px;}.kz-page .kz-opening h1 small{display:block;font:800 clamp(36px,5vw,68px)/1 var(--f-display);letter-spacing:.06em;margin-top:5px;}.kz-opening-copy{max-width:1100px;}
@media(max-width:640px){.kz-page .kz-opening h1{font-size:29vw;margin-top:27px;margin-bottom:22px;}.kz-page .kz-opening h1 small{font-size:42px;margin-top:14px;}.kz-opening{padding-top:90px;padding-bottom:120px;}}
/* 筆文字の一筆ごとの出現と、社員を参照したミニチュアの小さな動き。 */
.kz-title-letters{display:flex;align-items:center;justify-content:center;font:inherit;letter-spacing:inherit;font-weight:900;line-height:1;}.kz-brush-letter{display:block;width:1.12em;height:1.12em;overflow:visible;margin-right:-.06em;flex:none;}.kz-title-letters>span{display:block;}.kz-ink-stroke{stroke-dasharray:1;stroke-dashoffset:0;animation:kz-write-ink var(--stroke-duration,.35s) linear var(--stroke-delay) both;}.kz-ink-finish{animation:kz-finish-ink .22s ease 2.9s both;}.kz-writing-brush{pointer-events:none;animation:kz-brush-exit 3.2s linear both;}.kz-mini{position:absolute;height:auto;z-index:3;pointer-events:none;object-fit:contain;transform-origin:50% 90%;filter:drop-shadow(0 10px 10px rgba(0,0,0,.18));}.kz-mini--soba{width:clamp(135px,18vw,245px);left:4%;bottom:9%;animation:kz-mini-eat 3.5s ease-in-out infinite;}.kz-mini--calligraphy{width:clamp(125px,16vw,220px);right:5%;bottom:7%;animation:kz-mini-write 4s ease-in-out infinite;}.kz-opening-message{font-size:clamp(22px,3vw,43px);}.kz-page .kz-opening h1{margin-top:12px;margin-bottom:18px;}.kz-page .kz-opening h1 small{margin-top:8px;}.kz-write h2{font-size:clamp(70px,10vw,140px);letter-spacing:-.07em;white-space:nowrap;}
@keyframes kz-write-ink{from{stroke-dashoffset:1;}to{stroke-dashoffset:0;}}
@keyframes kz-finish-ink{from{opacity:0;}to{opacity:1;}}
@keyframes kz-brush-exit{0%,7%{opacity:0;}8%,90%{opacity:1;}100%{opacity:0;}}
@keyframes kz-mini-eat{0%,100%{transform:rotate(-2deg) translateY(0);}45%{transform:rotate(2deg) translateY(-6px);}65%{transform:rotate(0) translateY(-2px);}}
@keyframes kz-mini-write{0%,100%{transform:rotate(-2deg);}35%{transform:rotate(2deg) translateX(-3px);}65%{transform:rotate(-1deg) translateY(-3px);}}
@media(max-width:900px){.kz-mini--soba{left:1%;bottom:4%;width:160px;}.kz-mini--calligraphy{right:1%;bottom:4%;width:145px;}}
@media(max-width:640px){.kz-mini--soba{width:115px;left:1%;bottom:2%;}.kz-mini--calligraphy{width:105px;right:1%;bottom:2%;}.kz-opening-message{font-size:5.3vw;letter-spacing:0;}.kz-opening{padding-top:75px;padding-bottom:165px;min-height:820px;}.kz-page .kz-opening h1{margin-top:24px;margin-bottom:22px;}.kz-write h2{font-size:14.7vw;}.kz-brush-letter{width:1.05em;height:1.05em;}}
@media(prefers-reduced-motion:reduce){.kz-mini,.kz-ink-stroke,.kz-ink-finish{animation:none;}.kz-writing-brush{display:none;}.kz-ink-stroke{stroke-dashoffset:0;}.kz-ink-finish{opacity:1;}}
/* 「志」を題字の主役として大きく。周囲の文字と年号の位置は保つ。 */
.kz-title-letters{height:1.22em;}.kz-brush-letter{width:1.43em;height:1.43em;margin-left:-.06em;margin-right:-.1em;}
@media(max-width:640px){.kz-title-letters{height:1.22em;}.kz-brush-letter{width:1.37em;height:1.37em;margin-right:-.1em;}}

/* キャラクター案は取り下げ。人物のない一枚絵と筆文字を主役にする。 */
@media(max-width:640px){.kz-opening{padding-bottom:100px;min-height:calc(100svh - var(--header-h));}.kz-opening-lead{font-size:clamp(13px,3.7vw,16px);letter-spacing:.03em;}}
/* 社員から学生への呼びかけ。二行をひとかたまりで読む。 */
.kz-opening-message{font-size:clamp(24px,2.7vw,38px);white-space:normal;line-height:1.65;letter-spacing:.02em;}.kz-opening-message>span{display:block;}.kz-opening-message>span:last-child{font-size:.95em;}.kz-eat{padding-bottom:70px;}.kz-talk{padding-bottom:65px;}.kz-write{padding-bottom:100px;}.kz-write .kz-paper{bottom:0;}
@media(max-width:640px){.kz-opening-message{font-size:5.5vw;line-height:1.75;letter-spacing:0;}.kz-opening-message>span{white-space:nowrap;}.kz-opening-message>span:last-child{font-size:.9em;}.kz-moment-copy p{line-height:2.1;}.kz-write .kz-moment-copy{max-width:100%;}.kz-write{padding-bottom:150px;}.kz-write .kz-paper{width:70px;height:125px;font-size:50px;bottom:0;}.kz-close>p{font-size:clamp(24px,6.8vw,30px);}}
/* ロゴは一筆ずつ描かず、全体を短く力強く登場させる。 */
.kz-page .kz-opening h1.kz-logo-enter{transform-origin:50% 58%;animation:kz-logo-stamp .65s cubic-bezier(.2,.75,.25,1) .15s both;will-change:transform,opacity;}
@keyframes kz-logo-stamp{0%{opacity:0;transform:translateY(-12px) rotate(-7deg) scale(1.16);}32%{opacity:1;}70%{opacity:1;transform:translateY(2px) rotate(-4.7deg) scale(.99);}100%{opacity:1;transform:translateY(0) rotate(-5deg) scale(1);}}
@media(prefers-reduced-motion:reduce){.kz-page .kz-opening h1.kz-logo-enter{animation:none;opacity:1;transform:rotate(-5deg);will-change:auto;}}
/* あえて目に留まる、主催者からの注意書き。 */
.kz-hero-notice{display:table;margin:20px auto 6px;padding:9px 16px;background:transparent;color:var(--c-white);border:1px solid var(--c-white);border-radius:999px;font-size:15px;font-weight:700;line-height:1.7;letter-spacing:.035em;transform:none;box-shadow:none;}
@media(max-width:640px){.kz-hero-notice{font-size:11px;letter-spacing:0;padding:8px 10px;margin-top:20px;}}
/* スクロールで見えたときの本文と大見出しの登場。JSが使える場合のみ隠す。 */
.kz-page .kz-reveal{opacity:0;transform:translateY(24px);transition:opacity .85s ease var(--kz-reveal-delay,0ms),transform 1s cubic-bezier(.2,.7,.25,1) var(--kz-reveal-delay,0ms);}
.kz-page .kz-reveal-left{transform:translateX(-85px);transition-duration:1s,1.15s;}
.kz-page .kz-reveal.kz-revealed{opacity:1;transform:translate(0,0);}
.kz-write{min-height:0;padding-bottom:65px;}
@media(max-width:640px){.kz-page .kz-reveal-left{transform:translateX(-45px);}.kz-page .kz-reveal-left.kz-revealed{transform:translateX(0);}.kz-write{min-height:0;padding-bottom:55px;}}
@media(prefers-reduced-motion:reduce){.kz-page .kz-reveal,.kz-page .kz-reveal-left{opacity:1;transform:none;transition:none;}}
/* 料理写真を朱色へ溶かす。素材自体は変更せず、縁をCSSの透明マスクでぼかす。 */
.kz-eat{isolation:isolate;min-height:780px;padding-bottom:70px;}.kz-eat>.kz-moment-copy{margin-left:8%;width:53%;}.kz-soba-photo{position:absolute;width:66%;height:690px;right:-13%;top:115px;margin:0;z-index:-1;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse 65% 54% at 55% 50%,#000 35%,rgba(0,0,0,.92) 48%,transparent 76%);mask-image:radial-gradient(ellipse 65% 54% at 55% 50%,#000 35%,rgba(0,0,0,.92) 48%,transparent 76%);}.kz-soba-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:48% center;}
@media(max-width:900px){.kz-eat{min-height:0;}.kz-eat>.kz-moment-copy{margin-left:7%;width:86%;}.kz-soba-photo{position:relative;inset:auto;width:100%;height:420px;margin:5px 0 -25px;}.kz-soba-photo img{object-position:center;}}
@media(max-width:640px){.kz-eat>.kz-moment-copy{margin-left:0;width:100%;}.kz-soba-photo{width:125%;height:310px;margin:5px -12.5% -25px;}.kz-eat{padding-bottom:35px;}.kz-eat .kz-moment-copy p br{display:initial;}}
/* 書き初めも、手元の実写を同じ透明グラデーションで配置する。 */
.kz-write{isolation:isolate;min-height:700px;}.kz-write>.kz-moment-copy{width:55%;margin-left:8%;}.kz-write-photo{position:absolute;width:64%;height:650px;right:-13%;top:130px;margin:0;z-index:-1;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse 65% 54% at 55% 50%,#000 35%,rgba(0,0,0,.92) 48%,transparent 76%);mask-image:radial-gradient(ellipse 65% 54% at 55% 50%,#000 35%,rgba(0,0,0,.92) 48%,transparent 76%);}.kz-write-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:49% center;}
@media(max-width:900px){.kz-write{min-height:0;}.kz-write>.kz-moment-copy{width:86%;margin-left:7%;}.kz-write-photo{position:relative;inset:auto;width:100%;height:420px;margin:5px 0 -25px;}}
@media(max-width:640px){.kz-write>.kz-moment-copy{width:100%;margin-left:0;}.kz-write-photo{width:125%;height:340px;margin:5px -12.5% -25px;}.kz-write{padding-bottom:35px;}}

/* 志初め：わんこそばを企画した理由を大きく強調 */
.kz-eat-answer{display:block;margin-top:.45em;font-size:clamp(24px,2.5vw,38px);font-weight:700;line-height:1.65;letter-spacing:.03em;}

/* 志初め：最後の誘いと開催概要への導線 */
.kz-close>p{font-size:clamp(42px,6.6vw,92px);line-height:1.5;letter-spacing:.03em;}
.kz-close>.kz-link{width:min(460px,100%);margin-top:32px;padding:24px 30px;border:2px solid var(--c-white);border-radius:999px;background:transparent;color:var(--c-white);font-size:clamp(17px,1.8vw,22px);font-weight:700;box-shadow:none;transition:border-color .25s;}
.kz-close>.kz-link span{font-size:1.5em;transition:transform .25s;}
.kz-close>.kz-link:hover{background:transparent;color:var(--c-white);box-shadow:none;}
.kz-close>.kz-link:hover span{transform:translateY(5px);}
@media(max-width:640px){.kz-close>.kz-link{padding:21px 24px;margin-top:24px;}}

/* 志初め：開催概要ボタンのラベルと矢印を中央に配置 */
.kz-close>.kz-link{justify-content:center;gap:24px;text-align:center;}

/* 志初め：他イベントと同じ項目の申し込みフォーム */
.kz-apply-open{display:flex;justify-content:center;align-items:center;gap:24px;width:min(480px,100%);margin:40px auto 0;padding:22px 28px;border:2px solid currentColor;border-radius:999px;background:transparent;color:var(--kz-ink);font:700 18px var(--f-body);cursor:pointer;}
.kz-apply-open:hover{color:var(--kz-red);}
.kz-apply-modal{position:fixed;inset:0;margin:auto;width:min(960px,calc(100% - 32px));max-height:90svh;padding:clamp(28px,5vw,56px);border:0;background:var(--kz-paper,#fff7e8);color:var(--c-black);overflow-y:auto;}
.kz-apply-modal::backdrop{background:rgba(0,0,0,.6);}
.kz-apply-close{position:absolute;right:18px;top:12px;border:0;background:transparent;font-size:36px;cursor:pointer;}
.kz-apply-modal h2{font-size:clamp(23px,3vw,34px);margin:0 30px 32px 0;}
.kz-entry__form{display:grid;grid-template-columns:1fr 1fr;gap:24px 32px;}.kz-entry__field{display:flex;flex-direction:column;gap:8px;}.kz-entry__field--full{grid-column:1/-1;}.kz-entry__field label{font-size:14px;}.kz-entry__field em{font-style:normal;margin-left:8px;color:var(--kz-red);}.kz-entry__field input,.kz-entry__field select,.kz-entry__field textarea{width:100%;padding:13px 14px;border:1px solid var(--c-gray-mid);background:var(--c-white);color:var(--c-black);font:400 16px var(--f-body);}.kz-entry__field textarea{resize:vertical;}.kz-entry__btn{grid-column:1/-1;padding:18px;border:0;background:var(--kz-red);color:var(--c-white);font:500 17px var(--f-body);cursor:pointer;}
@media(max-width:640px){.kz-entry__form{grid-template-columns:1fr;}.kz-apply-open{font-size:16px;}}

/* 志初め：HERO内の開催概要リンクを中央揃え */
.kz-opening .kz-link{justify-content:center;text-align:center;gap:24px;}

/* 志初め：導入の呼びかけを中央揃え */
.kz-gather-copy{text-align:center;}

/* 志初め：採用担当のヒトリゴトは段落の間合いと読みやすい幅を保つ */
.kz-gather-copy{max-width:760px;}.kz-gather-copy p{margin:32px auto;max-width:680px;}.kz-gather-copy h2{font-size:clamp(28px,4vw,50px);}
@media(max-width:640px){.kz-gather-copy p{margin:28px auto;}}

/* 志初め：ヒトリゴトの気づきを強調し、指定改行を保つ */
.kz-gather-emphasis{display:inline-block;font-size:clamp(23px,2.7vw,34px);font-weight:700;line-height:1.7;margin-top:.2em;}
.kz-gather-copy p:has(.kz-gather-emphasis) br{display:initial;}

/* 採用入口・共通SNSカード：紹介記事カードと角丸を統一 */
.entry-select-card, .sns-section .sns-btn { border-radius: 22px; overflow: hidden; }

/* 紹介相談：共通フォームと同じ下から現れるボトムシート */
.referral-sheet { position: fixed; inset: auto 0 0; box-sizing: border-box; margin: 0; padding: 0; border: 0; border-radius: 12px 12px 0 0; width: 100%; max-width: none; max-height: 90vh; background: var(--c-white); color: var(--c-black); overflow-y: auto; }
.referral-sheet[open] { animation: referral-sheet-rise .4s cubic-bezier(.4,0,.2,1); }
.referral-sheet::backdrop { background: rgba(0,0,0,.6); animation: referral-backdrop-in .35s ease; }
@keyframes referral-sheet-rise { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes referral-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@media(prefers-reduced-motion: reduce) { .referral-sheet[open], .referral-sheet::backdrop { animation: none; } }

/* WORKSTYLE: YouTubeサムネイルの流れるギャラリー */
.workstyle-section { background: var(--c-white); overflow: hidden; }
.workstyle-intro { margin-bottom: clamp(32px, 5vw, 56px); }
.workstyle-intro .lead-text { margin: 0; color: #444; }
.workstyle-window { overflow-x: auto; padding: 4px 0 8px; }
.workstyle-grid { display: flex; width: max-content; gap: 20px; padding: 0 20px; align-items: flex-start; }
.workstyle-group { display: flex; flex: none; gap: 20px; padding-right: 20px; align-items: flex-start; }
.workstyle-grid.is-ready { gap: 0; padding: 0; animation: workstyle-flow var(--workstyle-duration, 70s) linear infinite; }
.workstyle-card { flex: none; width: clamp(260px, 30vw, 420px); min-width: 0; padding: 0; margin: 0; border: 0; background: transparent; }
.workstyle-card:nth-child(3n+2) { margin-top: 24px; }
.workstyle-video { display: block; color: var(--c-black); text-decoration: none; }
.workstyle-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--c-black); }
.workstyle-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.workstyle-meta { display: flex; flex-direction: column; gap: 7px; padding: 14px 4px 0; }
.workstyle-meta strong { display: -webkit-box; overflow: hidden; min-height: 3.2em; font-size: 14px; font-weight: 500; line-height: 1.6; letter-spacing: .02em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.workstyle-views { color: #666; font-family: var(--f-display); font-size: 11px; font-weight: 400; line-height: 1.4; letter-spacing: .04em; }
.workstyle-video:hover img { transform: scale(1.03); }
.workstyle-video:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.workstyle-window:has(.is-ready) { overflow-x: hidden; }
.workstyle-window:hover .workstyle-grid, .workstyle-window:focus-within .workstyle-grid,
.workstyle-grid.is-paused { animation-play-state: paused; }
.workstyle-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; }
.workstyle-more { margin: 0; }
.workstyle-pause { padding: 12px 0; border: 0; background: transparent; color: #555; font: inherit; font-size: 12px; cursor: pointer; }
.workstyle-pause[hidden] { display: none; }
.home .site-header { background: rgba(255,255,255,.97); }
.home .note-lead { color: #444; }
@keyframes workstyle-flow { to { transform: translateX(-50%); } }
@media(max-width:640px) {
 .workstyle-intro .lead-text br { display: none; }
 .workstyle-card { width: 270px; }
 .workstyle-grid, .workstyle-group { gap: 16px; }
 .workstyle-grid.is-ready { gap: 0; }
 .workstyle-group { padding-right: 16px; }
 .workstyle-bottom { flex-wrap: wrap; }
}
@media(prefers-reduced-motion:reduce) {
 .workstyle-grid.is-ready { animation: none; }
 .workstyle-window:has(.is-ready) { overflow-x: auto; }
 .workstyle-group[aria-hidden="true"] { display: none; }
 .workstyle-pause { display: none; }
 .workstyle-video img { transition: none; }
 .home .member-carousel, .home .section-marquee span { animation: none; }
}
/* /WORKSTYLE */

/* YouTube導入：右端へ広がるサムネイル群と斜めのフェード */
.workstyle-intro { position: relative; display: flex; align-items: center; min-height: 430px; margin-bottom: 80px; }
.workstyle-copy { position: relative; z-index: 1; width: 56%; padding: 36px 0; }
.workstyle-copy .section-header { margin-bottom: 24px; }
.workstyle-copy .lead-text { max-width: 490px; font-size: 14px; }
.workstyle-copy .lead-text br { display: none; }
.workstyle-copy .workstyle-more { margin-top: 28px; }
.workstyle-wall { position: absolute; z-index: 0; width: 78%; height: 520px; right: min(-12vw, -70px); top: -45px; pointer-events: none; transform: none; mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.12) 18%, #000 44%); -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.12) 18%, #000 44%); }
.workstyle-wall img { display: block; width: 100%; height: 100%; object-fit: cover; }
.workstyle-window { position: relative; z-index: 2; background: var(--c-white); }
@media(max-width:768px) {
 .workstyle-intro { display: block; min-height: 0; margin-bottom: 52px; }
 .workstyle-copy { width: 100%; padding: 0; }
 .workstyle-copy .lead-text { max-width: 100%; }
 .workstyle-wall { position: relative; width: 100vw; max-width: 100vw; height: min(56.3vw, 320px); right: auto; top: auto; margin: 36px 0 0 calc(50% - 50vw); transform: none; mask-image: none; -webkit-mask-image: none; }
}

.workstyle-copy .workstyle-lead-extra { margin-top: 20px; }

/* トップページ：説明文の可読性を調整 */
.home .lead-text,
.home .hero-sub,
.home .workstyle-copy .lead-text {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 2;
}
.home .note-lead,
.home .recruit-link-desc,
.home .news-lead {
    font-size: 16px;
    line-height: 2;
}

/* INNER PAGE COPY SIZE */
body:not(.home) main .lead-text,
body:not(.home) main .page-hero-lead,
body:not(.home) main .entry-cta-text,
body:not(.home) main .entry-contact-text,
body:not(.home) main .member-single-profile,
body:not(.home) main .jz-pickup-text,
body:not(.home) main .jz-other-desc,
body:not(.home) main .ih-lead,
body:not(.home) main .tr-tl-body-text,
body:not(.home) main .tr-card-body,
body:not(.home) main .flow-step-body p,
body:not(.home) main .req-intro,
body:not(.home) main .person-lead,
body:not(.home) main .guidelines-row dd,
body:not(.home) main .entry-referral-copy > p,
body:not(.home) main .pu-center-body,
body:not(.home) main .pu-oni-intro,
body:not(.home) main .pu-oni-definition > p:last-child,
body:not(.home) main .pu-oni-message > p,
body:not(.home) main .pu-criteria-intro,
body:not(.home) main .pu-section-lead,
body:not(.home) main .pu-wli-text,
body:not(.home) main .ip-exp-card p,
body:not(.home) main .ip-copy-text,
body:not(.home) main .ws-text,
body:not(.home) main .ws-card-text,
body:not(.home) main .ws-tl-body p,
body:not(.home) main .co-question__body p,
body:not(.home) main .co-student-voice__body > p,
body:not(.home) main .co-no-seat__body > p,
body:not(.home) main .hs-program-text p {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 2;
}
/* /INNER PAGE COPY SIZE */

/* 募集条件と人物像を分け、対象別に案内する */
.entry-recruitment { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.entry-recruitment-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 0; margin-top: 40px; }
.entry-recruitment h3 { font-size: 18px; font-weight: 500; line-height: 1.8; }
.entry-recruitment p { font-size: 16px; line-height: 2; font-weight: 300; margin-top: 12px; }
.entry-recruitment .entry-recruitment-note { font-size: 13px; color: #555; }
.entry-recruitment-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-width: 300px; max-width: 100%; padding: 32px; border: 1px solid var(--c-gray-lt); border-radius: 18px; background: var(--c-white); color: var(--c-black); text-decoration: none; transition: border-color .25s, box-shadow .25s; }
.entry-recruitment-link img { display: block; width: 240px; max-width: 100%; height: auto; }
.entry-recruitment-link-caption { display: flex; width: 100%; justify-content: space-between; align-items: center; font-size: 14px; letter-spacing: .08em; }
.entry-recruitment-link:hover { border-color: var(--c-gold); box-shadow: 0 8px 24px rgba(17,17,17,.08); }
.entry-recruitment-link:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 4px; }
.entry-highschool-guide { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--c-gray-lt); }
.entry-highschool-actions { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 20px; }
.entry-consult-link { border: 0; border-bottom: 1px solid var(--c-black); padding: 0 0 6px; background: transparent; font: inherit; font-size: 14px; cursor: pointer; }
@media(max-width:768px) { .entry-recruitment-box { grid-template-columns: 1fr; gap: 24px; } .entry-recruitment-link { justify-self: start; } }

@media(max-width:640px) { .entry-recruitment-link { min-width: 0; width: 100%; padding: 28px 24px; } }

/* RECRUIT JOURNEY：関わりと理解が深まる一本の流れ */
.recruit-journey { background: var(--c-gray-bg); }
.journey-intro { max-width: 780px; }
.journey-map { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 56px 0 64px; padding: 34px 0 0; }
.journey-map-caption { position: absolute; top: 0; left: 0; font-size: 13px; letter-spacing: .08em; color: #555; }
.journey-map-line { position: absolute; top: 53px; left: 20px; right: 20px; height: 5px; background: linear-gradient(to right, rgba(184,160,106,.18), var(--c-gold-lt) 40%, var(--c-gold) 75%, var(--c-black)); }
.journey-map a { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; color: var(--c-black); font-size: 14px; font-weight: 400; text-decoration: none; }
.journey-map a > span { display: grid; place-items: center; width: 42px; height: 42px; background: var(--c-gray-bg); border: 1px solid var(--c-gold); border-radius: 50%; font-family: var(--f-display); font-size: 14px; }
.journey-map a:last-child > span { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.journey-stages { list-style: none; position: relative; padding: 0; margin: 40px 0 0; }
.journey-stages::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 110px; width: 3px; background: linear-gradient(to bottom, rgba(184,160,106,.18), var(--c-gold-lt) 30%, var(--c-gold) 65%, var(--c-gold)); }
.journey-stage { position: relative; display: grid; grid-template-columns: .85fr 1.4fr; gap: 40px; padding: 40px 0 56px 88px; scroll-margin-top: calc(var(--header-h) + 28px); }
.journey-stage-heading h3 { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.55; font-weight: 700; letter-spacing: .03em; overflow-wrap: anywhere; }
.journey-number { position: absolute; left: 0; top: 42px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: transparent; border: 1px solid var(--c-gold); font-family: var(--f-display); font-size: 18px; font-weight: 700; color: var(--c-black); }
.journey-stage-content > p { font-size: 16px; font-weight: 300; line-height: 2; color: #444; margin: 18px 0 0; }
.journey-stage-content > .journey-question { font-size: clamp(18px, 2vw, 23px); font-weight: 500; line-height: 1.8; color: var(--c-black); margin-top: 0; }
.journey-experiences { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 24px 0 0; }
.journey-experiences li { font-size: 13px; font-weight: 400; border-bottom: 1px solid var(--c-gold); padding-bottom: 5px; }
.journey-self-diagram { margin: 28px 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding: 24px; background: linear-gradient(115deg, rgba(184,160,106,.06), rgba(184,160,106,.2)); }
.journey-self-diagram > div { display: flex; flex-direction: column; gap: 8px; }
.journey-self-diagram span { font-size: 12px; }
.journey-self-diagram strong { font-size: 15px; font-weight: 500; }
.journey-self-diagram .journey-diagram-result { grid-column: 1 / -1; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--c-gold); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.journey-stage-content > .journey-feedback-note { font-size: 15px; border-left: 2px solid var(--c-gold); padding-left: 16px; }
.journey-selection { margin-left: 88px; border-top: 1px solid var(--c-gray-lt); padding-top: 28px; }
.journey-selection > p { font-size: 13px; color: #555; margin-bottom: 20px; }
.journey-selection > div { display: flex; align-items: center; gap: 32px; }
.journey-selection strong { font-size: 22px; font-weight: 500; }
@media(max-width:768px) {
 .journey-map { gap: 12px; grid-template-columns: 1fr 1fr; margin: 36px 0; padding-top: 36px; }
 .journey-map-line { display: none; }
 .journey-map a { flex-direction: row; align-items: center; gap: 10px; font-size: 12px; }
 .journey-map a > span { width: 32px; height: 32px; flex: none; }
 .journey-stage { grid-template-columns: 1fr; gap: 20px; padding: 28px 0 40px 60px; }
 .journey-number { width: 40px; height: 40px; top: 30px; font-size: 14px; }
 .journey-stages::before { left: 19px; bottom: 160px; }
 .journey-stage-heading h3 { font-size: clamp(26px, 7.2vw, 32px); overflow-wrap: normal; word-break: keep-all; }
 .journey-stage-content > p br { display: none; }
 .journey-self-diagram { padding: 18px 14px; gap: 10px; }
 .journey-self-diagram strong { font-size: 14px; }
 .journey-selection { margin-left: 60px; }
 .journey-selection > div { gap: 16px; flex-wrap: wrap; }
 .journey-selection strong { font-size: 19px; }
}
.journey-title-line { display: block; white-space: nowrap; }

.journey-link-cards { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.journey-link-cards :is(a, button) { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 14px 28px; border: 1px solid var(--c-black); border-radius: 999px; background: transparent; color: var(--c-black); font-size: 14px; font-weight: 400; letter-spacing: .06em; text-decoration: none; }
.journey-link-cards :is(a, button):hover { color: var(--c-gold); border-color: var(--c-gold); }
@media(max-width:640px) { .journey-link-cards { flex-direction: column; } .journey-link-cards :is(a, button) { width: 100%; gap: 12px; padding: 16px; } }

/* 出会いの前から続く関わりを、01の上の点線で表す */
.journey-stages { margin-top: 88px; }
.journey-stages::before { top: -18px; }
.journey-stages::after { content: ''; position: absolute; left: 27px; top: -58px; height: 34px; width: 3px; background: repeating-linear-gradient(to bottom, rgba(184,160,106,.5) 0 3px, transparent 3px 10px); }
.journey-number { background: var(--c-gray-bg); }
.journey-stage:nth-child(1) .journey-number { background: color-mix(in srgb, var(--c-gold) 18%, var(--c-gray-bg)); }
.journey-stage:nth-child(2) .journey-number { background: var(--c-gold-lt); }
.journey-stage:nth-child(3) .journey-number,
.journey-stage:nth-child(4) .journey-number { background: var(--c-gold); }
@media(max-width:768px) {
 .journey-stages { margin-top: 80px; }
 .journey-stages::after { left: 19px; }
}

/* 自己理解の問いは、指定の位置で改行する */
#journey-self .journey-question br { display: initial; }

#journey-together .journey-question br { display: initial; }

.journey-link-cards button { font-family: var(--f-body); cursor: pointer; }

/* 04の先にも続く関わり：実線の終端から点線へ */
.journey-stage:last-child::after { content: ''; position: absolute; left: 27px; bottom: 70px; width: 3px; height: 34px; background: repeating-linear-gradient(to bottom, var(--c-gold) 0 3px, transparent 3px 10px); }
@media(max-width:768px) { .journey-stage:last-child::after { left: 19px; bottom: 120px; } }

/* エントリーの「〜を見る／〜を申し込む」ボタン：文言を折り返さない（幅が狭いときは文字サイズを少し下げる） */
.journey-link-cards :is(a, button) { white-space: nowrap; justify-content: center; text-align: center; }
@media(max-width:640px) { .journey-link-cards :is(a, button) { font-size: clamp(11px, 3.55vw, 14px); letter-spacing: .03em; padding: 16px 12px; gap: 8px; } }

/* エントリー冒頭文：2文目が1行に収まる幅にし、収まらない幅では2文目と3文目の間の改行をなくして「ます。」だけが1行に残らないようにする */
.entry-hero-lead { max-width: 900px; }
@media(max-width:900px) { .entry-lead-br { display: none; } }

/* ============================================================
   スマホ・タブレット：ヘッダーを画面の下に固定（親指で触りやすくする）
   左：ロゴ　右：YouTube・Instagram・メニュー（三本線）
   メニューは下のバーの上に、下から開く
   ============================================================ */
.header-social { display: none; }
@media (max-width: 1024px) {
    :root { --bottom-bar-h: calc(var(--header-h) + env(safe-area-inset-bottom, 0px)); }
    body { padding-bottom: var(--bottom-bar-h); }
    .site-header,
    body .site-header:not(.scrolled) {
        top: auto !important;
        bottom: 0;
        box-sizing: border-box;
        height: var(--bottom-bar-h);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255,255,255,0.97) !important;
        backdrop-filter: blur(8px);
        color: var(--c-black) !important;
        border-top: 1px solid var(--c-gray-lt);
        border-bottom: 0 !important;
        box-shadow: 0 -2px 20px rgba(0,0,0,0.08) !important;
    }
    body .site-header:not(.scrolled) .site-logo img,
    .site-header .site-logo img { filter: none !important; }
    body .site-header .hamburger span { background: var(--c-black) !important; }
    .header-inner { height: 100%; }
    .header-social {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
        margin-right: -6px;  /* 三本線の中心までの距離を、アイコン同士の間隔（54px）にそろえる */
    }
    .header-social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        color: var(--c-black);
        transition: color 0.25s;
    }
    .header-social-btn svg { width: 24px; height: 24px; }
    .header-social-btn:hover,
    .header-social-btn:active { color: var(--c-gold); }
    /* メニューは下のバーの上から、下からせり上がる */
    .mobile-menu {
        top: auto;
        left: 0; right: 0;
        bottom: var(--bottom-bar-h);
        width: 100%;
        height: auto;
        max-height: calc(100svh - var(--bottom-bar-h) - 24px);
        padding: 28px 28px 20px;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -12px 40px rgba(0,0,0,0.16);
        transform: translateY(calc(100% + var(--bottom-bar-h)));
    }
    .mobile-menu.open { transform: translateY(0); }
    .mobile-menu li a { padding: 16px 0; }
    .mobile-menu-footer { margin-top: 20px; }
    /* 画面の下に固定されている他の要素は、バーの上に逃がす */
    body .co-fixed { bottom: calc(15px + var(--bottom-bar-h)); }
    body .co-progress { bottom: calc(25px + var(--bottom-bar-h)); }
}

/* ============================================================
   PHILOSOPHY（経営哲学）— 静かな構成
   ============================================================ */
.philosophy { min-height: 0; padding-top: clamp(96px, 12vw, 160px); padding-bottom: clamp(96px, 12vw, 160px); }
.philosophy .philosophy-head { margin: 0; }
.philosophy .philosophy-title {
    font-size: clamp(26px, 3.4vw, 44px);
    font-weight: 700;
    line-height: 1.9;
    letter-spacing: .05em;
}
.philosophy .philosophy-title .l { display: block; white-space: nowrap; }
.philosophy .philosophy-title ruby { ruby-position: over; }
.philosophy .philosophy-title rt {
    font-family: var(--f-body);
    font-size: .36em;
    font-weight: 500;
    letter-spacing: .12em;
    color: var(--c-black);
}
.philosophy-flow {
    width: min(100%, 680px);
    margin-top: clamp(48px, 6vw, 72px);
    display: flex;
    flex-direction: column;
    gap: clamp(44px, 5.5vw, 68px);
}
.philosophy .philosophy-text {
    max-width: none;
    margin: 0;
    font-size: clamp(15px, 1.5vw, 17px);
    font-weight: 300;
    line-height: 2.2;
    letter-spacing: .05em;
    color: #444;
}
.philosophy .philosophy-text .l { display: block; }
.philosophy .philosophy-text .p { display: inline-block; }
.philosophy .philosophy-text--actions { font-weight: 400; color: var(--c-black); font-size: clamp(16px, 1.7vw, 19px); line-height: 2.3; }
.philosophy .philosophy-text--key { font-weight: 500; color: var(--c-black); font-size: clamp(18px, 2vw, 24px); line-height: 2; letter-spacing: .06em; }
@media (max-width: 768px) {
    .philosophy .philosophy-title { font-size: clamp(22px, 6.6vw, 32px); }
    .philosophy .philosophy-text { font-size: 15px; line-height: 2.1; letter-spacing: .03em; }
    .philosophy .philosophy-text--actions { font-size: 16px; }
    .philosophy .philosophy-text--key { font-size: 18px; }
}

/* PHILOSOPHY：左寄せ（ヒーロー・他のセクションと同じ左端）。中央揃えに戻すときは、このブロックを消す */
.philosophy .container { width: 100%; }
.philosophy .philosophy-layout { align-items: flex-start; text-align: left; }
.philosophy .philosophy-head, .philosophy .philosophy-flow, .philosophy .philosophy-link { align-self: flex-start; }

/* PHILOSOPHY：縦書き（PCのみ）／下から浮き上がるフェード。スマホ・タブレットは横書き */
.philosophy .philosophy-link-wrap { max-width: none; margin-top: clamp(56px, 7vw, 88px); align-self: flex-start; }
.philosophy .philosophy-link-wrap .philosophy-link { margin-top: 0; }
.philosophy .philosophy-text:not(.philosophy-text--actions):not(.philosophy-text--key) { color: #333; }
@media (min-width: 1025px) {
    .philosophy .philosophy-layout { flex-direction: row-reverse; flex-wrap: wrap; justify-content: center; align-items: flex-start; column-gap: clamp(64px, 8vw, 120px); }
    .philosophy .philosophy-head { writing-mode: vertical-rl; margin: 0; align-self: flex-start; }
    .philosophy .philosophy-title { line-height: 1.75; }
    .philosophy .philosophy-flow { writing-mode: vertical-rl; align-self: flex-start; width: auto; margin: 0; flex-direction: column; gap: clamp(36px, 3.5vw, 56px); }
    .philosophy .philosophy-text .l { white-space: nowrap; }
    .philosophy .philosophy-text .p { display: inline; }
    .philosophy .philosophy-link-wrap { flex: 0 0 100%; align-self: auto; display: flex; justify-content: center; margin-top: clamp(72px, 8vw, 110px); }
}
/* 浮き上がり：1行ずつ、下から、ゆっくり。親（.fade-in）が見えたら始まる */
.philosophy .section-header.fade-in,
.philosophy .philosophy-text.fade-in { opacity: 1; transform: none; transition: none; }
.philosophy .philosophy-title .l,
.philosophy .philosophy-text .l {
    transition: opacity 1.3s ease, transform 1.3s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(var(--k, 0) * .22s);
}
.philosophy .fade-in:not(.visible) .l { opacity: 0; transform: translateY(36px); }
@media (min-width: 1025px) {
    .philosophy .philosophy-title .l,
    .philosophy .philosophy-text .l { transition-delay: calc(var(--i, 0) * .16s); }
}
@media (prefers-reduced-motion: reduce) {
    .philosophy .philosophy-title .l,
    .philosophy .philosophy-text .l { transition: none; }
    .philosophy .fade-in:not(.visible) .l { opacity: 1; transform: none; }
}

/* ボタンは、各セクションの内容の下に、中央で置く（共通） */
.section-cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); position: relative; z-index: 1; }
.section-cta .btn-outline-link,
.member-highlight .section-cta .btn-outline-link,
.numbers .section-cta .btn-outline-link { margin-top: 0; }
.workstyle-section .section-cta { padding: 0 clamp(20px, 5vw, 60px); }
/* 経営哲学のボタンも、スマホで中央に */
.philosophy .philosophy-link-wrap { align-self: center; justify-content: center; display: flex; }

/* 「生きる力」にマーカー：蛍光ペンで引くように、左から（縦書きは上から）。色はここだけの、やわらかい黄色 */
.philosophy .marker {
    color: var(--c-black);
    font-weight: 700;
    font-size: 1.4em;
    line-height: 1;
    background-color: transparent;
    background-image: linear-gradient(rgba(250, 218, 80, .6), rgba(250, 218, 80, .6));
    background-repeat: no-repeat;
    background-position: 0 90%;
    background-size: 100% 48%;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    padding: 0 .08em;
}
.philosophy .fade-in:not(.visible) .marker { background-size: 0% 48%; }
.philosophy .fade-in.visible .marker { transition: background-size 1.1s cubic-bezier(.3, .7, .2, 1) 1.5s; }
@media (min-width: 1025px) {
    .philosophy .marker { background-position: 100% 0; background-size: 48% 100%; padding: .08em 0; }
    .philosophy .fade-in:not(.visible) .marker { background-size: 48% 0%; }
}
@media (prefers-reduced-motion: reduce) {
    .philosophy .fade-in .marker { transition: none; }
    .philosophy .fade-in:not(.visible) .marker { background-size: 100% 48%; }
}


/* トップのピル型ボタン：PCでは大きく（文字・余白・最小幅） */
@media (min-width: 1025px) {
    .home .philosophy .philosophy-link,
    .home .section-cta .btn-outline-link {
        font-size: 16px;
        letter-spacing: .14em;
        gap: 18px;
        padding: 24px 56px;
        min-width: 360px;
        justify-content: center;
    }
    .home .philosophy .philosophy-link:hover,
    .home .section-cta .btn-outline-link:hover { gap: 26px; }
}

/* note の説明文：文のまとまりごとに折り返す（1〜2文字だけ残さない） */
.note-lead .nl-p { display: inline-block; }

/* エントリー（新卒）：説明会を開かない方針と「入り口はいつでも開いている」ことを伝えるリード。句ごとに折り返して1〜2文字の取り残しを防ぐ */
.entry-hero-stance .eh-p { display: inline-block; }

/* エントリー（新卒）：最初の「よくあるご質問」。答えは金色の縦線で囲み、他の囲みと見た目をそろえる */
.entry-faq { background: var(--c-white); padding-top: 0; }
.entry-faq-q { font-size: clamp(17px, 2.1vw, 22px); font-weight: 500; line-height: 1.9; letter-spacing: .04em; color: var(--c-black); max-width: 760px; }
.entry-faq-a { margin-top: clamp(20px, 3vw, 28px); max-width: 720px; }
.entry-faq-q .fp, .entry-faq-a .fp { display: inline-block; }

/* エントリー（新卒）：「出会いから、応募まで」の導入文。句ごとに折り返して、1〜2文字の取り残しを防ぐ */
.journey-intro .jp { display: inline-block; }

/* エントリー（新卒）：ステップの見出しを、文字の途中で折り返さない（「私たちを知る。」の「る。」だけが落ちるのを防ぐ） */
.journey-stage-heading h3 { overflow-wrap: normal; word-break: keep-all; }

/* エントリー（新卒）：「私たちの採用活動」。人物像を並べず、採用に時間をかける理由を、文章で伝える */
.entry-policy { background: var(--c-white); }
.entry-policy-body { max-width: 720px; }
.entry-policy-text { margin: 0; line-height: 2.3; letter-spacing: .05em; }
.entry-policy-text + .entry-policy-text { margin-top: 1.9em; }
.entry-policy-text .ep { display: inline-block; }
.entry-policy-close { font-size: clamp(17px, 2.1vw, 22px) !important; font-weight: 500; line-height: 2 !important; color: var(--c-black); }
.entry-policy-body .entry-policy-text { max-width: none; }
.entry-policy-close .ep-s { display: block; }
.entry-policy-close .ep-s + .ep-s { margin-top: .3em; }

/* 高校生向けページ：日程カードの補足文を、句ごとに折り返す */
.hs-date-time .hs-p { display: inline-block; }

/* エントリー（新卒）ステップ03：いつでも受け付けていることを、本文より少し濃く見せる。句ごとに折り返す */
.journey-stage-content > p.journey-open { font-weight: 500; color: var(--c-black); }
.journey-open .jo { display: inline-block; }

/* エントリー（新卒）ステップ03：説明文を、句ごとに折り返す */
.journey-desc .jo { display: inline-block; }

/* エントリー（新卒）：プロセスのラインが上から下へ、一定の時間で伸び切る。先端が届いたステップから、番号 → 見出し → 本文の順に、現れる（スクロールには連動しない）。
   隠すのは、JSが .fade-in を付けたときだけ（JSが動かない・動きを減らす設定のときは、最初から全部表示） */
.journey-stage.fade-in { opacity: 1; transform: none; transition: none; }
.journey-stages.is-anim::before { clip-path: inset(0 0 100% 0); }
.journey-stages.is-anim.is-drawn::before { clip-path: inset(0 0 0 0); transition: clip-path var(--draw-d, 3s) linear; }
.journey-stage .journey-number,
.journey-stage .journey-stage-heading h3,
.journey-stage .journey-stage-content > * { transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.journey-stage.fade-in:not(.visible) .journey-number { opacity: 0; transform: translateY(22px); }
.journey-stage.fade-in:not(.visible) .journey-stage-heading h3 { opacity: 0; transform: translateX(-28px); }
.journey-stage.fade-in:not(.visible) .journey-stage-content > * { opacity: 0; transform: translateX(-20px); }
.journey-stage .journey-stage-heading h3 { transition-delay: .12s; }
.journey-stage .journey-stage-content > :nth-child(1) { transition-delay: .24s; }
.journey-stage .journey-stage-content > :nth-child(2) { transition-delay: .34s; }
.journey-stage .journey-stage-content > :nth-child(3) { transition-delay: .44s; }
.journey-stage .journey-stage-content > :nth-child(4) { transition-delay: .54s; }
.journey-stage .journey-stage-content > :nth-child(n+5) { transition-delay: .64s; }
@media (prefers-reduced-motion: reduce) {
    .journey-stages.is-anim::before, .journey-stages.is-anim.is-drawn::before { clip-path: none; transition: none; }
    .journey-stage .journey-number,
    .journey-stage .journey-stage-heading h3,
    .journey-stage .journey-stage-content > * { transition-delay: 0s !important; }
    .journey-stage.fade-in:not(.visible) .journey-number,
    .journey-stage.fade-in:not(.visible) .journey-stage-heading h3,
    .journey-stage.fade-in:not(.visible) .journey-stage-content > * { opacity: 1; transform: none; }
}

/* エントリー（新卒）ステップ03：「いつでも受け付けている」は、流れとは別の経路なので、黒の細い直角の枠線で囲む（塗りなし） */
.journey-stage-content > p.journey-open { margin-top: 24px; padding: 16px 20px; border: 1px solid var(--c-black); border-radius: 0; background: none; }

/* エントリー（新卒）：FAQの質問と、「私たちの採用活動」の締めに、黄色いマーカー。蛍光ペンで引くように、左から伸びる。色はトップの「生きる力」と同じ、やわらかい黄色 */
.entry-faq .marker, .entry-policy .marker {
    color: inherit; font-weight: inherit; background-color: transparent;
    background-image: linear-gradient(rgba(250, 218, 80, .6), rgba(250, 218, 80, .6));
    background-repeat: no-repeat; background-position: 0 90%; background-size: 100% 48%;
    -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em;
}
.entry-faq .fade-in:not(.visible) .marker, .entry-policy .fade-in:not(.visible) .marker { background-size: 0% 48%; }
.entry-faq .fade-in.visible .marker, .entry-policy .fade-in.visible .marker { transition: background-size 1.1s cubic-bezier(.3, .7, .2, 1) 1s; }
@media (prefers-reduced-motion: reduce) {
    .entry-faq .fade-in .marker, .entry-policy .fade-in .marker { transition: none; }
    .entry-faq .fade-in:not(.visible) .marker, .entry-policy .fade-in:not(.visible) .marker { background-size: 100% 48%; }
}
