/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #ff8c42;
    --accent-color: #0a192f;
    --dark-blue: #0a192f;
    --text-dark: #ffffff;
    --text-light: rgba(255, 255, 255, 0.8);
    --bg-light: #0a192f;
    --bg-white: #0d1b2a;
    --gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #0a192f 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    /* 回路テイスト（控えめ） */
    --circuit-glow: 0 0 4px rgba(255, 107, 53, 0.2);
    --circuit-grid: rgba(255, 107, 53, 0.04);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: var(--dark-blue);
    overflow-x: hidden;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-giga {
    color: #ffffff;
}

.logo-mc {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

/* ヘッダー左→右の線アニメーション（回路トレース風・たまに走る） */
.navbar-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 180px;
    background: linear-gradient(90deg, transparent, var(--primary-color) 25%, var(--secondary-color) 75%, transparent);
    box-shadow: var(--circuit-glow);
    animation: navbarLineRun 15s ease-in-out infinite;
    pointer-events: none;
    border-radius: 0;
}

@keyframes navbarLineRun {
    0% { transform: translateX(-100%); }
    4% { transform: translateX(100vw); }
    4.001% { transform: translateX(-100%); }
    100% { transform: translateX(-100%); }
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a192f 0%, #0d1b2a 50%, #1a1a2e 100%);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

/* 回路風グリッド（控えめ・ノードなし） */
.circuit-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        linear-gradient(var(--circuit-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--circuit-grid) 1px, transparent 1px);
    background-size: 32px 32px, 32px 32px;
    background-position: 0 0, 0 0;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #0a192f 0%, #0d1b2a 50%, #1a1a2e 100%);
    }
    50% {
        background: linear-gradient(135deg, #0d1b2a 0%, #1a1a2e 50%, #0a192f 100%);
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    animation: fadeInUp 1s ease;
    padding-left: 5%;
}

/* アニメーションシェイプ */
.animated-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: 10%;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    right: 20%;
    animation: float2 25s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    top: 50%;
    right: 5%;
    animation: float3 18s ease-in-out infinite;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: rgba(255, 140, 66, 0.3);
    top: 20%;
    right: 30%;
    animation: float4 22s ease-in-out infinite;
}

.shape-5 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    bottom: 30%;
    right: 15%;
    animation: float5 30s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-40px, -60px) scale(1.2);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(60px, 40px) rotate(180deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-50px, 50px) scale(1.15);
    }
    66% {
        transform: translate(40px, -40px) scale(0.85);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, -80px) rotate(360deg);
    }
}

/* パーティクル（データ・信号風） */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 15s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 14s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 16s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 1.5s;
    animation-duration: 13s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 3.5s;
    animation-duration: 17s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 2.5s;
    animation-duration: 19s;
}

.particle:nth-child(10) {
    left: 15%;
    animation-delay: 4.5s;
    animation-duration: 11s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-logo-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-title .logo-giga {
    color: #ffffff;
}

.hero-title .logo-mc {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: normal;
}

.hero-subtitle br {
    display: block;
    margin: 0.3rem 0;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    word-break: keep-all;
    overflow-wrap: normal;
}

.hero-description br {
    display: block;
    margin: 0.5rem 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    white-space: nowrap;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--secondary-color);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* セクション共通スタイル */
section {
    padding: 80px 0;
    container-type: inline-size;
}

.section-title {
    font-size: clamp(1.2rem, 3cqw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 700;
}

/* 特徴セクション */
.features {
    background: var(--dark-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    container-type: inline-size;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-card h3 {
    font-size: clamp(0.85rem, 4cqw, 1.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 価格セクション */
.pricing {
    background: var(--dark-blue);
}

.pricing-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing-highlight {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    container-type: inline-size;
}

.pricing-highlight h3 {
    font-size: clamp(1rem, 5cqw, 2rem);
    margin-bottom: 1rem;
    color: #ffffff;
}

.price {
    font-size: clamp(1.5rem, 8cqw, 3rem);
    color: var(--primary-color);
    font-weight: 800;
    margin: 0 0.5rem;
}

.pricing-highlight p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.pricing-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem;
}

.pricing-limited {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-left: 3px solid var(--primary-color);
    display: inline-block;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.plan-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(13, 27, 42, 0.9) 100%);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    container-type: inline-size;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.plan-card:hover::before {
    transform: scaleX(1);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: rgba(13, 27, 42, 0.8);
}

.plan-card h4 {
    font-size: clamp(0.75rem, 4cqw, 1rem);
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-weight: 700;
    text-align: center;
}

.plan-specs {
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-specs p {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.plan-specs span {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
}

.plan-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.price-main {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.2rem;
    padding: 0.4rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 6px;
    text-align: center;
}

.price-value {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 800;
    display: inline;
    margin-left: 0.3rem;
}

.price-hour {
    font-size: 0.7rem;
    color: var(--text-light);
    line-height: 1.3;
    padding: 0.2rem 0;
}

.price-hour span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-left: 0.3rem;
}

.pricing-more {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-more-text {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* 比較セクション */
.comparison {
    background: var(--dark-blue);
}

.comparison-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 800px;
}

.comparison-table thead {
    background: var(--bg-white);
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    color: #ffffff;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.comparison-table th:first-child {
    background: rgba(255, 107, 53, 0.1);
}

.comparison-table th.highlight {
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary-color);
}

.comparison-table td {
    padding: 1rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #ffffff;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.comparison-table td.highlight {
    background: rgba(255, 107, 53, 0.1);
    color: #ffffff;
    font-weight: 600;
}

.comparison-table td.highlight strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* サービスセクション */
.services {
    background: var(--dark-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 統計セクション */
.stats {
    background: linear-gradient(135deg, #0a192f 0%, #0d1b2a 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    container-type: inline-size;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.stat-prefix {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: clamp(0.8rem, 3cqw, 1.1rem);
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.stat-note {
    font-size: 0.85rem;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    font-style: italic;
}

/* お問い合わせセクション */
.contact {
    background: var(--dark-blue);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.contact-discord {
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    width: 100%;
}

.discord-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.discord-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-discord {
    background: #5865F2;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
    font-weight: 600;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* フッター */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    container-type: inline-size;
}

.footer-legal {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: clamp(0.75rem, 3cqw, 0.9rem);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.3rem;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding-left: 20px;
        text-align: left;
        max-width: 100%;
    }

    .hero-logo-img {
        max-width: 350px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle br {
        margin: 0.2rem 0;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-description br {
        margin: 0.4rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-table-wrapper {
        margin: 0 -20px;
        padding: 0 20px;
    }

    .pricing-highlight {
        padding: 2rem 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .plan-card {
        padding: 0.8rem;
    }

    .plan-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .plan-specs {
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .plan-specs p {
        font-size: 0.75rem;
    }

    .plan-specs span {
        font-size: 0.8rem;
    }

    .price-main {
        font-size: 0.8rem;
        padding: 0.35rem;
    }

    .price-value {
        font-size: 1rem;
    }

    .price-hour {
        font-size: 0.65rem;
    }

    .pricing-more {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .pricing-more-text {
        font-size: 0.85rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-legal {
        font-size: 0.8rem;
        gap: 0.3rem;
    }

    .footer-legal span {
        margin: 0 0.2rem;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        max-width: 280px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}
