@charset "UTF-8";
/**
 * Cyvate - Login CSS
 * ログインページ（プレミアムデザイン）
 * /assets/css/index.css
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --asagi: #00a3af;
    --asagi-light: #00d4e4;
    --asagi-lighter: #e6f7f8;
    --asagi-dark: #008891;
    --asagi-darker: #006d75;
    --asagi-glow: rgba(0, 163, 175, 0.4);
    --cyan: #00f0ff;
    --white: #ffffff;
    --gray-50: #f8fafa;
    --gray-100: #e8f0f1;
    --gray-200: #d1dfe0;
    --gray-300: #a8bfc2;
    --gray-400: #7a9a9e;
    --gray-500: #5a7d81;
    --gray-700: #2d4a54;
    --dark: #0a1214;
}

/* ==========================================================================
   No Header Body
   ========================================================================== */
body.no-header {
    padding-top: 0;
}

/* ==========================================================================
   Main Container
   ========================================================================== */
.login-main {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* ==========================================================================
   Left Panel - Branding
   ========================================================================== */
.brand-panel {
    flex: 5;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

/* ==========================================================================
   Background Layers
   ========================================================================== */
.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Base Gradient */
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 0% 0%, rgba(0, 163, 175, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(0, 136, 145, 0.08) 0%, transparent 50%);
}

/* Noise Texture */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    animation: noiseMove 0.5s steps(10) infinite;
}

@keyframes noiseMove {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(5%, 5%); }
    30% { transform: translate(-5%, 5%); }
    40% { transform: translate(5%, -5%); }
    50% { transform: translate(-2%, 2%); }
    60% { transform: translate(2%, -2%); }
    70% { transform: translate(-3%, -3%); }
    80% { transform: translate(3%, 3%); }
    90% { transform: translate(-1%, 1%); }
    100% { transform: translate(1%, -1%); }
}

/* 3D Grid */
.grid-layer {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image: 
        linear-gradient(rgba(0, 163, 175, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 163, 175, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridScroll 20s linear infinite;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center center;
}

@keyframes gridScroll {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

/* Main Glow Orbs */
.main-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: multiply;
}

.main-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 163, 175, 0.25) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: glowPulse1 5s ease-in-out infinite, glowMove1 20s ease-in-out infinite;
}

.main-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 228, 0.2) 0%, transparent 70%);
    bottom: -80px;
    left: -100px;
    animation: glowPulse2 6s ease-in-out infinite, glowMove2 25s ease-in-out infinite;
}

.main-glow-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 163, 175, 0.18) 0%, transparent 70%);
    top: 35%;
    left: 25%;
    animation: glowPulse3 4s ease-in-out infinite, glowMove3 15s ease-in-out infinite;
}

@keyframes glowPulse1 {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.2); }
}

@keyframes glowPulse2 {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.15); }
}

@keyframes glowPulse3 {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.15); }
}

@keyframes glowMove1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-80px, 60px); }
    50% { transform: translate(-40px, 100px); }
    75% { transform: translate(40px, 40px); }
}

@keyframes glowMove2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(100px, -60px); }
    66% { transform: translate(50px, -100px); }
}

@keyframes glowMove3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(80px, -80px); }
}

/* Floating Shapes */
.float-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 163, 175, 0.08), rgba(0, 212, 228, 0.04));
    border: 1px solid rgba(0, 163, 175, 0.2);
    backdrop-filter: blur(8px);
}

.float-shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 12%;
    border-radius: 24px;
    animation: floatShape1 8s ease-in-out infinite, shapeGlow 3s ease-in-out infinite;
}

.float-shape-2 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 8%;
    border-radius: 16px;
    animation: floatShape2 10s ease-in-out infinite, shapeGlow 4s ease-in-out infinite 1s;
}

.float-shape-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: 20%;
    border-radius: 50%;
    animation: floatShape3 6s ease-in-out infinite, shapeGlow 2.5s ease-in-out infinite 0.5s;
}

.float-shape-4 {
    width: 45px;
    height: 45px;
    top: 28%;
    left: 12%;
    border-radius: 12px;
    animation: floatShape4 7s ease-in-out infinite, shapeGlow 3.5s ease-in-out infinite 1.5s;
}

@keyframes floatShape1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-25px) rotate(90deg); }
    50% { transform: translateY(-12px) rotate(180deg); }
    75% { transform: translateY(-35px) rotate(270deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(25px, -18px) rotate(-120deg); }
    66% { transform: translate(-18px, -35px) rotate(-240deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.15) translate(-25px, 25px); }
}

@keyframes floatShape4 {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-40px) rotate(225deg); }
}

@keyframes shapeGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 163, 175, 0.15); }
    50% { box-shadow: 0 0 30px rgba(0, 163, 175, 0.35), 0 0 50px rgba(0, 212, 228, 0.2); }
}

/* Data Streams */
.data-stream {
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--asagi), rgba(0, 212, 228, 0.6), transparent);
    opacity: 0;
    animation: dataStreamFlow 2.5s linear infinite;
}

.data-stream-1 { left: 15%; height: 120px; animation-delay: 0s; }
.data-stream-2 { left: 28%; height: 90px; animation-delay: -0.5s; }
.data-stream-3 { left: 42%; height: 150px; animation-delay: -1s; }
.data-stream-4 { left: 58%; height: 100px; animation-delay: -1.5s; }
.data-stream-5 { left: 72%; height: 80px; animation-delay: -2s; }
.data-stream-6 { left: 85%; height: 130px; animation-delay: -0.3s; }

@keyframes dataStreamFlow {
    0% { top: -200px; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}

/* Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: var(--asagi);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--asagi), 0 0 20px rgba(0, 163, 175, 0.5);
    animation: particleRise 5s ease-in-out infinite;
}

@keyframes particleRise {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ==========================================================================
   Brand Content
   ========================================================================== */
.brand-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Logo */
.brand-logo {
    margin-bottom: 32px;
    opacity: 0;
    animation: contentReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 36px;
    width: auto;
}

@keyframes contentReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tagline */
.tagline-section {
    margin-bottom: 32px;
    opacity: 0;
    animation: contentReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.tagline-main {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--gray-700);
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.tagline-main .highlight {
    color: var(--asagi);
    position: relative;
    display: inline-block;
}

.tagline-main .highlight::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 14px;
    background: linear-gradient(90deg, rgba(0, 163, 175, 0.25), transparent);
    z-index: -1;
    transform: skewX(-5deg);
}

.tagline-sub {
    font-size: 1.3rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ==========================================================================
   Flow Steps
   ========================================================================== */
.flow-section {
    margin-top: 24px;
    opacity: 0;
    animation: contentReveal 0.8s ease 0.3s forwards;
    width: 100%;
}

.flow-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.flow-header-badge {
    background: linear-gradient(135deg, var(--asagi), var(--asagi-dark));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.flow-header-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--asagi), transparent);
}

/* ステップコンテナ */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    position: relative;
    width: 100%;
}

/* 各ステップ */
.flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    background: var(--white);
}

.flow-step:first-child {
    border-radius: 14px 14px 0 0;
}

.flow-step:last-child {
    border-radius: 0 0 14px 14px;
}

.flow-step:not(:last-child) {
    border-bottom: 1px solid var(--gray-100);
}

.flow-step:hover {
    background: linear-gradient(90deg, var(--asagi-lighter), transparent);
}

.flow-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 163, 175, 0.4);
}

.flow-step:hover .step-arrow img {
    transform: translateX(4px);
}

/* ステップ番号 */
.step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--asagi), var(--asagi-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 163, 175, 0.35);
    transition: all 0.3s ease;
}

/* ステップコンテンツ */
.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-700);
    margin: 0 0 3px 0;
}

.step-desc {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin: 0;
}

/* ステップ矢印 */
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gray-50);
    border-radius: 50%;
    flex-shrink: 0;
}

.step-arrow img {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.flow-step:hover .step-arrow {
    background: var(--asagi-lighter);
}

/* ステップロック状態 */
.flow-step.step-locked {
    cursor: not-allowed;
    opacity: 0.6;
}

.flow-step.step-locked .step-number {
    background: linear-gradient(135deg, var(--gray-300), var(--gray-400));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.flow-step.step-locked .step-title {
    color: var(--gray-400);
}

.flow-step.step-locked .step-desc {
    color: var(--gray-300);
}

.flow-step.step-locked .step-arrow {
    opacity: 0.3;
}

.flow-step.step-locked:hover {
    background: var(--white);
    transform: none;
}

.flow-step.step-locked:hover .step-number {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.flow-step.step-locked:hover .step-arrow img {
    transform: none;
}

/* ステップアンロック状態 */
.flow-step.step-unlocked {
    cursor: pointer;
}

.flow-step.step-unlocked .step-number {
    background: linear-gradient(135deg, var(--asagi), var(--asagi-dark));
    box-shadow: 0 4px 15px rgba(0, 163, 175, 0.35);
}

/* ステップ完了状態 */
.flow-step.step-completed .step-number {
    background: linear-gradient(135deg, var(--asagi), var(--asagi-dark));
    box-shadow: 0 4px 15px rgba(0, 163, 175, 0.35);
    position: relative;
}

.flow-step.step-completed .step-number span {
    display: none;
}

.flow-step.step-completed .step-number::after {
    content: '✓';
    font-size: 1.3rem;
    font-weight: bold;
}

/* ==========================================================================
   Right Panel - Login Form
   ========================================================================== */
.login-panel {
    flex: 5;
    min-width: 400px;
    background: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--gray-100);
}

/* 背景装飾 */
.login-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.login-bg-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--gray-100);
}

.login-bg-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.login-bg-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

.login-bg-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--asagi-lighter);
    border-radius: 50%;
}

.login-bg-dot-1 { top: 15%; right: 20%; }
.login-bg-dot-2 { top: 35%; left: 15%; }
.login-bg-dot-3 { bottom: 25%; right: 25%; }
.login-bg-dot-4 { bottom: 40%; left: 20%; }
.login-bg-dot-5 { top: 60%; right: 15%; }

/* ログインコンテナ */
.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    padding: 2.5rem 2.5rem;
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-header h1 {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

/* フォーム */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.form-label-text img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* 入力フィールド */
.input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--gray-700);
    background: #f5fbfb;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-control.has-icon {
    padding-right: 50px;
}

.form-control:hover {
    background: #eef8f8;
}

.form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--asagi);
    box-shadow: 0 0 0 3px rgba(0, 163, 175, 0.12);
}

.form-control::placeholder {
    color: var(--gray-400);
}

/* フォーカス時のラベルカラー変更 */
.form-group:focus-within .form-label-text {
    color: var(--asagi);
}

.form-group:focus-within .form-label-text img {
    opacity: 1;
}

/* 入力フィールドのアイコン */
.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* パスワード表示ボタン */
.password-toggle {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border-radius: 6px;
}

.password-toggle:hover {
    background: var(--asagi-lighter);
}

.password-toggle img {
    width: 22px;
    height: 22px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.password-toggle:hover img {
    opacity: 0.8;
}

/* フォームオプション */
.form-options {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
    margin-bottom: 8px;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--asagi);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.forgot-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--asagi), var(--asagi-light));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.forgot-link:hover {
    color: var(--asagi-dark);
}

.forgot-link:hover::after {
    width: 100%;
}

/* ログインボタン */
.btn-login {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    background: linear-gradient(135deg, var(--asagi), var(--asagi-dark));
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 163, 175, 0.25);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(0, 163, 175, 0.4),
        0 5px 15px rgba(0, 163, 175, 0.2);
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:active {
    transform: translateY(-1px);
    box-shadow: 
        0 8px 25px rgba(0, 163, 175, 0.35),
        0 3px 10px rgba(0, 163, 175, 0.15);
}

/* ローディング状態 */
.btn-login.loading {
    pointer-events: none;
}

.btn-login .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-login.loading .spinner {
    display: inline-block;
}

.btn-login.loading .btn-text {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* フッターリンク */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    font-size: 0.8rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 0;
}

.footer-links a:hover {
    color: var(--asagi);
}

.footer-links .divider {
    color: var(--gray-200);
}

/* ==========================================================================
   Video Modal
   ========================================================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    color: var(--asagi);
    transform: rotate(90deg);
}

.video-modal-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid rgba(0, 163, 175, 0.3);
    overflow: hidden;
}

.video-modal-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .brand-panel {
        padding: 50px;
    }

    .tagline-main {
        font-size: 2.6rem;
    }

    .tagline-sub {
        font-size: 1.15rem;
    }
}

@media (max-width: 992px) {
    .login-main {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }

    .brand-panel {
        padding: 40px 30px;
        min-height: auto;
    }

    .login-panel {
        width: 100%;
        min-width: auto;
        flex: none;
        padding: 40px 30px;
        border-left: none;
        border-top: 1px solid var(--gray-100);
    }

    .tagline-main {
        font-size: 2.2rem;
    }

    .tagline-sub {
        font-size: 1.05rem;
    }

    .flow-section {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .brand-panel,
    .login-panel {
        padding: 30px 20px;
    }

    .tagline-main {
        font-size: 1.8rem;
    }

    .tagline-sub {
        font-size: 0.95rem;
    }

    .step-number {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .flow-step {
        padding: 14px 16px;
    }

    .login-container {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
}

/* アクセシビリティ */
*:focus-visible {
    outline: 2px solid var(--asagi);
    outline-offset: 2px;
}
