:root {
    /* プレミアム・カラーパレット (Blue-Green Background + Cyan Accents) */
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #134e4a;
    /* Dark Teal (Background Theme) */
    --accent-color: #06b6d4;
    /* Cyan (Buttons/Icons) */
    --accent-glow: #22d3ee;
    /* Light Cyan */
    --text-main: #f1f5f9;
    /* Off-white */
    --text-muted: #cbd5e1;
    /* Light Slate */
    --bg-body: #0f172a;
    /* Dark Blue Base */
    --bg-card: rgba(15, 23, 42, 0.6);
    /* Glassmorphism Card */

    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    --gradient-text: linear-gradient(to right, #06b6d4, #22d3ee);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);

    /* シャドウ & グロー */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.4);
    --glow-accent: 0 0 25px rgba(6, 182, 212, 0.4);

    /* ボーダー */
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;

    /* アニメーション */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(6, 182, 212, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    }
}

.tech-glow {
    animation: pulse-glow 2s infinite;
}

/* リセット & ベーススタイル */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #020617 0%, #0f172a 40%, #0d9488 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    /* 英語見出し用 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-feature-settings: "palt";
    letter-spacing: 0.02em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* ユーティリティクラス */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass-panel {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease-in-out, background 0.3s ease;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.site-header.scroll-down {
    transform: translateY(-100%);
}

.site-header.scroll-up {
    transform: translateY(0);
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: var(--glow-accent);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-glow);
    border-color: var(--accent-glow);
}

/* ヘッダー (共通) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-glass);
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.5rem;
    position: relative;
    z-index: 1001;
}

.hamburger.active .fa-bars::before {
    content: "\f00d";
}

body.menu-open {
    overflow: hidden;
}

/* フッター (共通) */
.site-footer {
    background: var(--primary-color);
    border-top: var(--border-glass);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-normal);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .section-padding {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Product Detail Page Styles */
.product-detail-header {
    background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.1), transparent 60%);
    padding: 120px 0 40px;
    margin-bottom: 2rem;
    text-align: center;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumbs a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

.product-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .product-content-grid {
        grid-template-columns: 1fr;
    }
}

.product-main-content {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
}

.product-sidebar {
    position: sticky;
    top: 100px;
}

.product-image-container {
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-image-container img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-heading::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-body);
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.usage-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.usage-steps li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.usage-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.pricing-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card.recommended {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}



.pricing-title {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.pricing-amount span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-features div {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.pricing-features i {
    color: var(--accent-color);
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
}

.help-link-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.help-link-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateX(5px);
}

.help-icon {
    width: 40px;
    height: 40px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.help-content {
    flex-grow: 1;
}

.help-title {
    display: block;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.help-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn.active {
    background: var(--bg-body);
    color: var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Ultra Animation Styles */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.mouse-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.follower-trail {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 174, 239, 0.6);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: fadeOut 1s forwards;
    box-shadow: 0 0 10px rgba(0, 174, 239, 0.8);
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.ultra-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Page Specific Styles for Index */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.1), transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.05), transparent 50%),
        linear-gradient(to bottom, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.6)),
        url('./images/hero-bg-tech-gen.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: pulse-glow 10s infinite alternate;
    filter: brightness(0.6) contrast(1.2);
}

.product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.feature-card:hover .product-img,
.product-card:hover .product-img {
    transform: scale(1.05);
    border-color: rgba(45, 212, 191, 0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.2), transparent);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-accent);
    border-color: rgba(0, 174, 239, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: var(--border-glass);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: #fff;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 174, 239, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

/* LP Specific Styles */
.lp-hero {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.15), transparent 70%);
    text-align: center;
    overflow: hidden;
}

.lp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.lp-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.lp-feature-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.lp-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-accent);
    border-color: rgba(6, 182, 212, 0.3);
}

.lp-feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.lp-faq-item {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.lp-faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
}

.lp-faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.lp-faq-item.active .lp-faq-question::after {
    transform: rotate(180deg);
}

.lp-faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.lp-faq-item.active .lp-faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.lp-cta-section {
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.1) 100%);
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .lp-hero h1 {
        font-size: 2rem;
    }
}

/* ========================================
   フォームメッセージのスタイル
   ======================================== */

.form-message-container {
    margin-bottom: 2rem;
}

.form-message {
    position: relative;
    padding: 1rem 3rem 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid;
    animation: slideDown 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* 送信中 */
.form-message.info {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.15), rgba(62, 180, 137, 0.15));
    border-color: rgba(0, 174, 239, 0.3);
    color: var(--accent-color);
}

.form-message.info::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 174, 239, 0.3);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 成功 */
.form-message.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.15));
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-message.success::before {
    content: '✓';
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

/* エラー */
.form-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.form-message.error::before {
    content: '✕';
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

/* 閉じるボタン */
.message-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-close:hover {
    opacity: 1;
}

/* フェードアウトアニメーション */
.form-message.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Pricing Toggle Switch */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 2rem;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-label {
    color: var(--text-muted);
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.toggle-label.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 36px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--accent-color);
}

input:checked+.slider:before {
    transform: translateX(28px);
}

.slider.round {
    border-radius: 36px;
}

.slider.round:before {
    border-radius: 50%;
}

.badge-save {
    background: var(--accent-color);
    color: #000;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
    position: absolute;
    top: -20px;
    right: -20px;
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .pricing-toggle-container {
        gap: 1rem;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: space-between;
    }

    .badge-save {
        position: static;
        display: inline-block;
        margin-left: 5px;
        transform: none !important;
        animation: none;
    }
}