/* =========================================================
   BeMeキャリア — トップページ (index.html 専用)
   コンセプト:「編集された物語」
   深いネイビーの没入シーン × 紙のような編集面 × 明朝の大組み
   ========================================================= */

:root {
    --ink: #10203a;            /* 深いネイビー(シーン背景) */
    --ink-2: #16294a;
    --paper: #f5f2eb;          /* 温かみのある紙色 */
    --paper-2: #efeade;
    --text: #1a2230;
    --text-sub: #565f6e;
    --text-faint: #99a0ac;
    --blue: #2456d6;           /* 信頼の青(一点使い) */
    --line-green: #06c755;
    --rule: rgba(26, 34, 48, 0.16);
    --rule-light: rgba(245, 242, 235, 0.18);

    --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', serif;
    --sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    --en: 'Inter', sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --pad: clamp(24px, 6vw, 96px);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--text);
    line-height: 2;
    letter-spacing: 0.04em;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

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

ul, ol {
    list-style: none;
}

b {
    font-weight: 700;
}

.pc {
    display: inline;
}

@media (max-width: 767px) {
    .pc {
        display: none;
    }
}

/* ---------- 質感(ノイズ) ---------- */
.grain {
    position: fixed;
    inset: -50%;
    z-index: 2000;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- ボタン ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 36px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.4s, color 0.4s, border-color 0.4s;
    white-space: nowrap;
}

.btn::after {
    /* 走る光 */
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s var(--ease);
}

.btn:hover::after {
    left: 130%;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-line {
    background: var(--line-green);
    color: #fff;
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.28);
}

.btn-line:hover {
    background: #05b34c;
}

.btn-light {
    background: var(--paper);
    color: var(--ink);
}

.btn-light:hover {
    background: #fff;
}

.btn-outline-light {
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(245, 242, 235, 0.45);
}

.btn-outline-light:hover {
    border-color: var(--paper);
    background: rgba(245, 242, 235, 0.08);
}

/* ---------- テキストリンク ---------- */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
    transition: gap 0.4s var(--ease), color 0.3s;
}

.text-link i {
    width: 26px;
    height: 1px;
    background: currentColor;
    position: relative;
    transition: width 0.4s var(--ease);
}

.text-link i::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 1px;
    background: currentColor;
    transform: rotate(38deg);
    transform-origin: right center;
}

.text-link:hover {
    color: var(--blue);
}

.text-link:hover i {
    width: 40px;
}

/* ---------- ヘッダー ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.5s, backdrop-filter 0.5s, box-shadow 0.5s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 48px);
    height: 76px;
}

.site-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--paper);
    transition: color 0.5s;
}

.logo-en {
    font-family: var(--en);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}

.logo-jp {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 34px);
}

.header-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(245, 242, 235, 0.85);
    position: relative;
    padding: 6px 0;
    transition: color 0.4s;
}

.header-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.header-nav a:not(.nav-cta):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    border: 1px solid rgba(245, 242, 235, 0.5);
    padding: 10px 24px !important;
    transition: background-color 0.4s, color 0.4s, border-color 0.4s !important;
}

.nav-cta:hover {
    background: var(--paper);
    color: var(--ink) !important;
}

/* 明るいセクション上では色を反転 */
.site-header.on-light {
    background: rgba(245, 242, 235, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--rule);
}

.site-header.on-light .site-logo {
    color: var(--ink);
}

.site-header.on-light .header-nav a {
    color: var(--text-sub);
}

.site-header.on-light .header-nav a:hover {
    color: var(--ink);
}

.site-header.on-light .nav-cta {
    border-color: var(--ink);
    color: var(--ink) !important;
}

.site-header.on-light .nav-cta:hover {
    background: var(--ink);
    color: var(--paper) !important;
}

/* モバイルメニューボタン */
.menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 120;
}

.menu-btn span {
    position: absolute;
    left: 12px;
    width: 24px;
    height: 1.5px;
    background: var(--paper);
    transition: transform 0.5s var(--ease), background-color 0.4s, top 0.5s var(--ease);
}

.site-header.on-light .menu-btn span {
    background: var(--ink);
}

.menu-btn span:nth-child(1) { top: 20px; }
.menu-btn span:nth-child(2) { top: 28px; }

.menu-btn.open span {
    background: var(--paper) !important;
}

.menu-btn.open span:nth-child(1) {
    top: 24px;
    transform: rotate(30deg);
}

.menu-btn.open span:nth-child(2) {
    top: 24px;
    transform: rotate(-30deg);
}

@media (max-width: 960px) {
    .header-nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }
}

/* モバイルナビ */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(28px, 8vw, 64px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav nav a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-light);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.mobile-nav nav a em {
    font-family: var(--en);
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-faint);
}

.mobile-nav.open nav a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.open nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.open nav a:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav.open nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open nav a:nth-child(4) { transition-delay: 0.26s; }
.mobile-nav.open nav a:nth-child(5) { transition-delay: 0.32s; }
.mobile-nav.open nav a:nth-child(6) { transition-delay: 0.38s; }

.mobile-nav-foot {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
}

/* ---------- セクション見出し ---------- */
.sec-head {
    padding: 0 var(--pad);
    margin-bottom: clamp(48px, 7vw, 88px);
}

.sec-head.wide {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.sec-no {
    display: flex;
    align-items: baseline;
    gap: 18px;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 14px;
    min-width: min(320px, 100%);
}

.sec-no em {
    font-family: var(--en);
    font-style: normal;
    font-weight: 300;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-faint);
}

.sec-no span {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.28em;
}

.sec-no.light {
    border-bottom-color: var(--rule-light);
}

.sec-no.light em {
    color: rgba(245, 242, 235, 0.4);
}

.sec-sub {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-sub);
}

.sec-title {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3.6vw, 2.7rem);
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.08em;
}

/* ---------- リビール(JSでvisible付与) ---------- */
.js-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

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

/* 写真:クリップで登場 */
.js-clip {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.3s var(--ease);
}

.js-clip.visible {
    clip-path: inset(0 0 0% 0);
}

.js-clip img {
    transform: scale(1.12);
    transition: transform 1.6s var(--ease);
}

.js-clip.visible img {
    transform: scale(1);
}

/* =========================================================
   オープニング
   ========================================================= */
.hero {
    position: relative;
    min-height: 100svh;
    background: linear-gradient(180deg, #23406e 0%, #16294a 46%, #10203a 100%);
    color: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-aurora {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-photo {
    position: absolute;
    inset: 0;
    opacity: 0.42;
    mix-blend-mode: screen;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(16, 32, 58, 0.88) 0%, rgba(16, 32, 58, 0.12) 38%, transparent 62%),
        radial-gradient(ellipse 130% 110% at 50% 0%, transparent 55%, rgba(16, 32, 58, 0.45) 100%);
}

.tate {
    writing-mode: vertical-rl;
    font-feature-settings: "vpal";
    letter-spacing: 0.42em;
    line-height: 1;
    white-space: nowrap;
}

.hero-side {
    position: absolute;
    top: 50%;
    right: clamp(20px, 4vw, 56px);
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(245, 242, 235, 0.5);
    border-left: 1px solid var(--rule-light);
    padding-left: 16px;
    z-index: 3;
}

.hero-body {
    position: relative;
    z-index: 3;
    padding: 0 var(--pad);
    max-width: 1280px;
}

.hero-kicker {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    color: rgba(245, 242, 235, 0.65);
    margin-bottom: clamp(20px, 3vw, 36px);
}

.hero-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.5rem, 8.4vw, 6.4rem);
    line-height: 1.34;
    letter-spacing: 0.06em;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .char {
    display: inline-block;
    transform: translateY(110%) rotate(6deg);
    transform-origin: left bottom;
    will-change: transform;
}

.hero-lead {
    margin-top: clamp(24px, 3.4vw, 44px);
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    line-height: 2.3;
    color: rgba(245, 242, 235, 0.82);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: clamp(28px, 4vw, 48px);
}

.js-hero-fade {
    opacity: 0;
    transform: translateY(24px);
}

.hero-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px var(--pad);
    border-top: 1px solid var(--rule-light);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 40px);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    color: rgba(245, 242, 235, 0.55);
}

.scroll-cue {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: rgba(245, 242, 235, 0.55);
    white-space: nowrap;
}

.scroll-cue i {
    width: 56px;
    height: 1px;
    background: rgba(245, 242, 235, 0.4);
    position: relative;
    overflow: hidden;
}

.scroll-cue i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--paper);
    animation: cue 2.2s var(--ease) infinite;
}

@keyframes cue {
    0% { transform: translateX(-100%); }
    55% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

@media (max-width: 767px) {
    .hero-side {
        display: none;
    }

    .hero-foot {
        position: static;
        margin-top: 56px;
    }

    .hero-meta {
        display: none;
    }

    .hero-ctas .btn {
        flex: 1 1 100%;
    }
}

/* =========================================================
   問題提起
   ========================================================= */
.issue {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(120px, 18vw, 240px) var(--pad);
}

.issue-inner {
    max-width: 1080px;
    margin-inline: auto;
}

.issue-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    color: rgba(245, 242, 235, 0.45);
    margin-bottom: clamp(36px, 5vw, 64px);
    display: flex;
    align-items: center;
    gap: 20px;
}

.issue-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rule-light);
}

.issue-line {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.5rem, 4.6vw, 3.4rem);
    line-height: 1.9;
    letter-spacing: 0.08em;
    opacity: 0.12;   /* スクロールで点灯 */
}

.issue-line.accent {
    margin-top: clamp(28px, 4vw, 52px);
    color: #fff;
}

/* =========================================================
   01 私たちについて
   ========================================================= */
.about {
    background: var(--paper);
    padding: clamp(110px, 15vw, 200px) 0;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(40px, 6vw, 96px);
    padding: 0 var(--pad);
    align-items: start;
}

.about-copy p {
    color: var(--text-sub);
    margin-top: 28px;
    max-width: 34em;
}

.about-copy p b {
    color: var(--text);
}

.about-word {
    font-family: var(--en);
    font-weight: 300;
    font-size: clamp(3.4rem, 8vw, 6.5rem);
    line-height: 1;
    margin-top: clamp(40px, 6vw, 72px);
    color: transparent;
    -webkit-text-stroke: 1px rgba(26, 34, 48, 0.28);
    user-select: none;
}

.about-photos {
    position: relative;
    min-height: clamp(380px, 44vw, 640px);
}

.ph {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(11, 20, 34, 0.22);
}

.ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ph-a {
    top: 0;
    right: 0;
    width: 78%;
    aspect-ratio: 4 / 3;
    z-index: 1;
}

.ph-b {
    bottom: 0;
    left: 0;
    width: 56%;
    aspect-ratio: 1 / 1;
    z-index: 2;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-photos {
        min-height: 72vw;
    }
}

/* =========================================================
   02 事業内容(横スクロールシアター)
   ========================================================= */
.business {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(110px, 15vw, 180px) 0 0;
}

.business .sec-no {
    border-bottom-color: var(--rule-light);
}

.business .sec-no em {
    color: rgba(245, 242, 235, 0.4);
}

.business .sec-sub {
    color: rgba(245, 242, 235, 0.7);
}

.biz-viewport {
    overflow: hidden;
}

.biz-track {
    display: flex;
    will-change: transform;
}

.biz-panel {
    flex: 0 0 100vw;
    min-height: 82vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
    padding: clamp(40px, 6vh, 80px) var(--pad);
}

.biz-photo {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.biz-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    will-change: transform;
}

.biz-no {
    font-family: var(--en);
    font-weight: 300;
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(245, 242, 235, 0.3);
    margin-bottom: 8px;
}

.biz-info h3 {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.biz-info > p {
    color: rgba(245, 242, 235, 0.75);
    max-width: 32em;
    margin-bottom: 30px;
}

.biz-facts {
    display: flex;
    gap: clamp(28px, 4vw, 56px);
    margin-bottom: 34px;
}

.biz-facts div {
    border-left: 1px solid var(--rule-light);
    padding-left: 18px;
}

.biz-facts dt {
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    color: rgba(245, 242, 235, 0.5);
    margin-bottom: 4px;
}

.biz-facts dd {
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 700;
}

.business .text-link {
    color: var(--paper);
}

.business .text-link:hover {
    color: #fff;
    opacity: 0.85;
}

@media (max-width: 900px) {
    .biz-track {
        display: block;
    }

    .biz-panel {
        grid-template-columns: 1fr;
        min-height: 0;
        flex: none;
        padding: clamp(40px, 8vw, 64px) var(--pad);
        gap: 28px;
    }

    .biz-panel + .biz-panel {
        border-top: 1px solid var(--rule-light);
    }
}

/* =========================================================
   03 実績
   ========================================================= */
.numbers {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(110px, 14vw, 180px) 0;
    border-top: 1px solid var(--rule-light);
}

.num-list {
    padding: 0 var(--pad);
    max-width: 1180px;
    margin-inline: auto;
}

.num-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(20px, 3vw, 32px) 0;
    border-bottom: 1px solid var(--rule-light);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.num-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.num-row:first-child {
    border-top: 1px solid var(--rule-light);
}

.num-label {
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(245, 242, 235, 0.7);
}

.num-value {
    white-space: nowrap;
    flex-shrink: 0;
}

.num-value b {
    font-family: var(--en);
    font-weight: 300;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}

.num-value small {
    font-family: var(--serif);
    font-size: clamp(0.9rem, 1.6vw, 1.15rem);
    font-weight: 700;
    margin-left: 10px;
    color: rgba(245, 242, 235, 0.8);
}

.num-note {
    padding: 22px var(--pad) 0;
    max-width: 1180px;
    margin-inline: auto;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    color: rgba(245, 242, 235, 0.4);
}

/* =========================================================
   04/05 学生の方へ・企業の方へ
   ========================================================= */
.scene {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 92vh;
    align-items: center;
}

.scene-photo {
    height: 100%;
    min-height: 420px;
    overflow: hidden;
}

.scene-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.scene-copy {
    padding: clamp(80px, 10vw, 140px) var(--pad);
}

.scene-copy .sec-no {
    margin-bottom: clamp(32px, 4vw, 48px);
}

.scene-copy .sec-title {
    margin-bottom: 26px;
}

.scene-copy > p {
    color: var(--text-sub);
    max-width: 32em;
}

.scene-student {
    background: var(--paper);
}

.scene-company {
    background: var(--ink);
    color: var(--paper);
}

.scene-company .scene-copy > p {
    color: rgba(245, 242, 235, 0.75);
}

.line-list {
    margin-top: 34px;
}

.line-list li {
    padding: 16px 0 16px 30px;
    border-bottom: 1px solid var(--rule);
    position: relative;
    font-weight: 500;
    font-size: 0.92rem;
}

.line-list li:first-child {
    border-top: 1px solid var(--rule);
}

.line-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--blue);
}

.line-list.light li {
    border-color: var(--rule-light);
    color: rgba(245, 242, 235, 0.88);
}

.line-list.light li::before {
    background: rgba(245, 242, 235, 0.6);
}

.scene-cta {
    margin-top: 40px;
}

@media (max-width: 900px) {
    .scene {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .scene-photo {
        min-height: 0;
        aspect-ratio: 16 / 10;
        order: -1;
    }

    .scene-cta .btn {
        width: 100%;
    }
}

/* =========================================================
   06 運営メンバー
   ========================================================= */
.team {
    background: var(--paper);
    padding: clamp(110px, 15vw, 190px) 0;
}

.team-rows {
    padding: 0 var(--pad);
    display: flex;
    flex-direction: column;
    gap: clamp(56px, 8vw, 110px);
}

.team-row {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
    max-width: 1180px;
}

.team-row:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
    margin-left: auto;
}

.team-row:nth-child(even) .team-photo {
    order: 2;
}

.team-photo {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 24px 60px rgba(11, 20, 34, 0.18);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-role {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    color: var(--blue);
    margin-bottom: 10px;
}

.team-text h3 {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule);
}

.team-text p:last-child {
    color: var(--text-sub);
    font-size: 0.92rem;
    max-width: 36em;
}

@media (max-width: 767px) {
    .team-row,
    .team-row:nth-child(even) {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    .team-row:nth-child(even) .team-photo {
        order: 0;
    }

    .team-photo {
        aspect-ratio: 4 / 3;
        max-width: 420px;
    }
}

/* =========================================================
   よくある質問
   ========================================================= */
.faq {
    background: var(--paper-2);
    padding: clamp(110px, 14vw, 170px) 0;
}

.faq-list {
    padding: 0 var(--pad);
    max-width: 880px;
    margin-inline: auto;
}

.faq-item {
    border-bottom: 1px solid var(--rule);
}

.faq-item:first-child {
    border-top: 1px solid var(--rule);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: clamp(20px, 3vw, 28px) 4px;
    font-family: var(--serif);
    font-size: clamp(0.98rem, 1.6vw, 1.12rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--blue);
}

.faq-item summary i {
    margin-left: auto;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    position: relative;
}

.faq-item summary i::before,
.faq-item summary i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.5s var(--ease);
}

.faq-item summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary i::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq-item > p {
    padding: 0 4px clamp(20px, 3vw, 28px);
    color: var(--text-sub);
    font-size: 0.92rem;
    max-width: 46em;
}

.faq-item > p a {
    color: var(--blue);
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

/* =========================================================
   クロージング
   ========================================================= */
.closing {
    position: relative;
    background: var(--ink);
    color: var(--paper);
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: clamp(100px, 12vw, 160px) var(--pad);
}

.closing-inner {
    position: relative;
    z-index: 2;
}

.closing-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    color: rgba(245, 242, 235, 0.55);
    margin-bottom: 28px;
}

.closing-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2rem, 6.4vw, 4.6rem);
    line-height: 1.5;
    letter-spacing: 0.08em;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.closing-title .line {
    display: block;
    overflow: hidden;
}

.closing-title .char {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
}

.closing-ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 640px) {
    .closing-ctas .btn {
        flex: 1 1 100%;
    }
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
    background: #080f1b;
    color: var(--paper);
    padding: clamp(72px, 9vw, 110px) var(--pad) 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.6fr 1.3fr;
    gap: clamp(40px, 6vw, 88px);
    padding-bottom: clamp(48px, 6vw, 72px);
    border-bottom: 1px solid var(--rule-light);
}

.footer-brand p {
    margin-top: 20px;
    font-size: 0.88rem;
    color: rgba(245, 242, 235, 0.6);
}

.footer-mail {
    display: inline-block;
    margin-top: 18px;
    font-family: var(--en);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    color: rgba(245, 242, 235, 0.85);
    border-bottom: 1px solid var(--rule-light);
    padding-bottom: 4px;
    transition: color 0.3s, border-color 0.3s;
}

.footer-mail:hover {
    color: #fff;
    border-color: #fff;
}

.footer-head {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(245, 242, 235, 0.45);
    margin-bottom: 22px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
}

.footer-nav a {
    font-size: 0.88rem;
    padding: 8px 0;
    color: rgba(245, 242, 235, 0.75);
    transition: color 0.3s, padding-left 0.4s var(--ease);
}

.footer-nav a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-contact form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.footer-contact input,
.footer-contact textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(245, 242, 235, 0.06);
    border: 1px solid var(--rule-light);
    color: var(--paper);
    font-family: inherit;
    font-size: 0.88rem;
    resize: none;
    transition: border-color 0.3s, background-color 0.3s;
}

.footer-contact input::placeholder,
.footer-contact textarea::placeholder {
    color: rgba(245, 242, 235, 0.4);
}

.footer-contact input:focus,
.footer-contact textarea:focus {
    outline: none;
    border-color: rgba(245, 242, 235, 0.6);
    background: rgba(245, 242, 235, 0.1);
}

.footer-contact .btn {
    align-self: flex-start;
    padding: 14px 40px;
}

.footer-bottom {
    padding-top: 26px;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    color: rgba(245, 242, 235, 0.4);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   カラーアクセント(グラデーション文字)
   ========================================================= */
.grad-text {
    /* 暗い背景用:明るい青 → 水色 → ミント */
    background: linear-gradient(100deg, #7db4ff 0%, #5ad7e8 55%, #6ef0c2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.grad-deep {
    /* 明るい紙背景用:藍 → 青 → 空色 */
    background: linear-gradient(100deg, #1c3fae 0%, #2456d6 45%, #0e9ac0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ヒーロー/クロージングの「行ごと」立ち上げ(グラデ行用) */
.hero-title .block-in,
.closing-title .block-in {
    display: inline-block;
    transform: translateY(112%);
    will-change: transform;
}

/* 実績数字をグラデーションに */
.num-value b {
    background: linear-gradient(100deg, #8ec1ff 0%, #5ad7e8 60%, #7bf2cc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* 事業番号に一点ずつ色を */
.biz-panel:nth-child(1) .biz-no { -webkit-text-stroke-color: rgba(126, 180, 255, 0.6); }
.biz-panel:nth-child(2) .biz-no { -webkit-text-stroke-color: rgba(90, 215, 232, 0.6); }
.biz-panel:nth-child(3) .biz-no { -webkit-text-stroke-color: rgba(110, 240, 194, 0.55); }

.about-word {
    -webkit-text-stroke-color: rgba(36, 86, 214, 0.35);
}

.sec-no em {
    color: #9db4d9;
}

.sec-no.light em {
    color: rgba(126, 180, 255, 0.65);
}

/* =========================================================
   ローディング画面
   ========================================================= */
.loader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.loader-panel {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%;
    background: linear-gradient(180deg, #1a3157, #10203a);
    will-change: transform;
}

.loader-panel.p1 { top: 0; }
.loader-panel.p2 { bottom: 0; background: linear-gradient(0deg, #1a3157, #10203a); }

.loader-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--paper);
}

.loader-logo {
    font-family: var(--en);
    font-weight: 600;
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: 0.02em;
    line-height: 1;
    overflow: hidden;
}

.loader-logo .char {
    display: inline-block;
    transform: translateY(120%);
    will-change: transform;
}

.loader-logo small {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.32em;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-left: 12px;
    color: rgba(245, 242, 235, 0.7);
    transform: translateY(120%);
}

.loader-bar {
    width: min(280px, 60vw);
    height: 1px;
    background: rgba(245, 242, 235, 0.18);
    margin: 28px auto 0;
    overflow: hidden;
}

.loader-bar i {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #7db4ff, #5ad7e8, #6ef0c2);
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

.loader-count {
    position: fixed;
    right: clamp(20px, 5vw, 60px);
    bottom: clamp(16px, 4vw, 44px);
    font-family: var(--en);
    font-weight: 300;
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: 1;
    color: rgba(245, 242, 235, 0.35);
    font-variant-numeric: tabular-nums;
}

.loader.done {
    visibility: hidden;
}

/* ローダー表示中は本文を隠す */
body.is-loading {
    overflow: hidden;
}

/* =========================================================
   下層ページ(事業詳細)
   ========================================================= */
.sub-hero {
    position: relative;
    min-height: min(86svh, 780px);
    background: linear-gradient(180deg, #23406e 0%, #16294a 50%, #10203a 100%);
    color: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 160px var(--pad) 0;
}

.sub-hero .hero-aurora {
    position: absolute;
    inset: 0;
}

.sub-hero-photo {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    mix-blend-mode: screen;
}

.sub-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 32, 58, 0.9) 0%, rgba(16, 32, 58, 0.15) 45%, transparent 70%);
}

.sub-hero-body {
    position: relative;
    z-index: 2;
    padding-bottom: clamp(40px, 6vw, 72px);
}

.sub-crumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.76rem;
    letter-spacing: 0.24em;
    color: rgba(245, 242, 235, 0.6);
    margin-bottom: 22px;
}

.sub-crumb em {
    font-family: var(--en);
    font-style: normal;
    font-weight: 300;
    font-size: 1.6rem;
    color: #9db4d9;
}

.sub-hero h1 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 4.4rem);
    line-height: 1.4;
    letter-spacing: 0.07em;
}

.sub-hero h1 .line {
    display: block;
    overflow: hidden;
}

.sub-hero h1 .char {
    display: inline-block;
    transform: translateY(110%) rotate(6deg);
    transform-origin: left bottom;
    will-change: transform;
}

.sub-hero .lead {
    margin-top: 20px;
    max-width: 38em;
    color: rgba(245, 242, 235, 0.82);
    font-size: clamp(0.9rem, 1.4vw, 1rem);
}

.sub-hero-meta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(24px, 5vw, 72px);
    border-top: 1px solid var(--rule-light);
    padding: 22px 0 26px;
    margin-top: clamp(28px, 4vw, 44px);
}

.sub-hero-meta div {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.sub-hero-meta dt {
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    color: rgba(245, 242, 235, 0.55);
}

.sub-hero-meta dd {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

/* 導入 */
.sub-intro {
    background: var(--paper);
    padding: clamp(100px, 13vw, 170px) 0;
}

.sub-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: clamp(40px, 6vw, 96px);
    padding: 0 var(--pad);
    align-items: center;
}

.sub-intro-copy p {
    color: var(--text-sub);
    margin-top: 26px;
    max-width: 34em;
}

.sub-intro-copy p b {
    color: var(--text);
}

.sub-intro-photo {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 30px 80px rgba(11, 20, 34, 0.2);
}

.sub-intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .sub-intro-grid {
        grid-template-columns: 1fr;
    }
}

/* 取り組みの流れ(番号付き編集行) */
.flow {
    background: var(--paper-2);
    padding: clamp(100px, 13vw, 160px) 0;
}

.flow-rows {
    padding: 0 var(--pad);
    max-width: 1080px;
    margin-inline: auto;
}

.flow-row {
    display: grid;
    grid-template-columns: clamp(64px, 10vw, 120px) 1fr;
    gap: clamp(16px, 3vw, 40px);
    padding: clamp(28px, 4vw, 44px) 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
}

.flow-row:first-child {
    border-top: 1px solid var(--rule);
}

.flow-row em {
    font-family: var(--en);
    font-style: normal;
    font-weight: 300;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    background: linear-gradient(120deg, #1c3fae, #0e9ac0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.flow-row h3 {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.flow-row p {
    color: var(--text-sub);
    font-size: 0.92rem;
    max-width: 42em;
}

/* 3カラム(構成・領域) */
.trio {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(100px, 13vw, 160px) 0;
}

.trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 56px);
    padding: 0 var(--pad);
}

.trio-item {
    border-left: 1px solid var(--rule-light);
    padding-left: clamp(18px, 2.4vw, 30px);
}

.trio-item h3 {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.trio-item p {
    color: rgba(245, 242, 235, 0.72);
    font-size: 0.9rem;
}

@media (max-width: 800px) {
    .trio-grid {
        grid-template-columns: 1fr;
    }
}

/* タグ(発信内容・事業領域) */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 var(--pad);
    max-width: 1080px;
    margin: 0 auto clamp(28px, 4vw, 44px);
}

.chips li {
    border: 1px solid var(--rule);
    padding: 10px 22px;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.14em;
}

.trio .chips li,
.chips.light li {
    border-color: var(--rule-light);
    color: rgba(245, 242, 235, 0.85);
}

.chips-note {
    padding: 0 var(--pad);
    max-width: 1080px;
    margin-inline: auto;
    color: var(--text-sub);
    font-size: 0.9rem;
}

/* 基盤 */
.basis {
    background: var(--paper);
    padding: clamp(100px, 13vw, 160px) 0;
}

.basis-inner {
    padding: 0 var(--pad);
    max-width: 1080px;
    margin-inline: auto;
}

.basis-inner > p {
    color: var(--text-sub);
    max-width: 40em;
    margin-top: 24px;
}

/* 締めのことば */
.sub-value {
    background: var(--paper-2);
    padding: clamp(110px, 14vw, 170px) var(--pad);
    text-align: center;
}

.sub-value blockquote {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.3rem, 3.4vw, 2.2rem);
    line-height: 2;
    letter-spacing: 0.1em;
    max-width: 30em;
    margin-inline: auto;
}

.sub-value .sub-value-note {
    margin-top: 24px;
    color: var(--text-sub);
    font-size: 0.92rem;
    max-width: 38em;
    margin-inline: auto;
}

.sub-value .ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: clamp(32px, 5vw, 48px);
}

.btn-dark {
    background: var(--ink);
    color: var(--paper);
}

.btn-dark:hover {
    background: var(--ink-2);
}

@media (max-width: 640px) {
    .sub-value .ctas .btn {
        width: 100%;
    }
}

/* =========================================================
   モーション低減設定
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js-reveal,
    .num-row {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .js-clip {
        clip-path: none;
        transition: none;
    }

    .js-clip img {
        transform: none;
        transition: none;
    }

    .js-hero-fade {
        opacity: 1;
        transform: none;
    }

    .hero-title .char,
    .closing-title .char,
    .sub-hero h1 .char,
    .hero-title .block-in,
    .closing-title .block-in,
    .loader-logo .char,
    .loader-logo small {
        transform: none;
    }

    .loader {
        display: none;
    }

    .issue-line {
        opacity: 1;
    }

    .scroll-cue i::after {
        animation: none;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}
