/* ============================================
   リセット & ベーススタイル
   ============================================ */

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

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

body {
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    color: #2c3e50;
    line-height: 1.8;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ============================================
   カラーパレット
   ============================================ */

:root {
    --primary-dark: #0f1419;
    --primary-navy: #1a2332;
    --accent-gold: #c9a65c;
    --accent-gold-light: #d4b976;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-light: #8898aa;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #fafbfc;
    --border-color: #e1e8ed;
}

/* ============================================
   タイポグラフィ
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-dark);
}

.section-title {
    font-size: 3rem;
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 2;
    font-weight: 300;
}

/* ============================================
   コンテナ & レイアウト
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

/* ============================================
   ヘッダー & ナビゲーション
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav {
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.05em;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

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

.nav-link-primary {
    background: var(--accent-gold);
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 50px;
}

.nav-link-primary::after {
    display: none;
}

.nav-link-primary:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 166, 92, 0.3);
}

/* ============================================
   ヒーローセクション
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-dark);
}

/* スライダーコンテナ */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* アニメーションする光のレイヤー */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 166, 92, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: subtleFloat 20s ease-in-out infinite;
    z-index: 2;
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }
    50% {
        transform: translate(30px, 30px);
        opacity: 1;
    }
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-title {
    font-size: 2.5rem;
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.5;
    letter-spacing: 0.08em;
    font-weight: 500;
    text-shadow: none;
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(37, 99, 235, 0.6);
    padding: 1.5rem 3rem;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    box-shadow: none;
}

/* ソフトに浮かび上がるテキスト効果 */
.soft-reveal {
    display: inline-block;
    max-width: 100%;
}

.soft-reveal .char {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px);
    animation: softReveal 0.8s ease-out forwards;
}

@keyframes softReveal {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 2;
    font-weight: 400;
    text-shadow: none;
    background: rgba(37, 99, 235, 0.6);
    padding: 1rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(6px);
}

.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.hero-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* フェードインアップアニメーション */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 2.5s;
}

.fade-in-up.delay-1 {
    animation-delay: 2.9s;
}

.fade-in-up.delay-2 {
    animation-delay: 3.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollAnimation 2s ease-in-out infinite;
}

@keyframes scrollAnimation {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(20px); }
}

/* ============================================
   アニメーション
   ============================================ */

.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.fade-in.delay-1 {
    animation-delay: 0.3s;
}

.fade-in.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ボタン
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--accent-gold);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 166, 92, 0.4);
}

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

.btn-outline:hover {
    background: var(--accent-gold);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 166, 92, 0.3);
}

.btn-full {
    width: 100%;
}

/* ============================================
   サービスセクション
   ============================================ */

.service-section {
    background: var(--bg-white);
}

.service-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-hero-title {
    font-size: 2rem;
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.service-hero-text {
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 2.5rem;
    font-size: 1.0625rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-lighter);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: #ffffff;
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(201, 166, 92, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(201, 166, 92, 0.1);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.8;
}

/* ============================================
   機能詳細セクション
   ============================================ */

.functions-section {
    background: var(--bg-white);
}

.functions-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.function-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.function-item.reverse {
    direction: rtl;
}

.function-item.reverse > * {
    direction: ltr;
}

.function-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.function-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.function-image img {
    width: 100%;
    height: auto;
    display: block;
}

.function-content {
    padding: 2rem 0;
}

.function-title {
    font-size: 1.75rem;
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.function-description {
    font-size: 1.0625rem;
    line-height: 2;
    color: var(--text-secondary);
}

/* ============================================
   導入事例セクション
   ============================================ */

.usecases-section {
    background: var(--bg-light);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.usecase-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.usecase-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 50px rgba(201, 166, 92, 0.15);
}

.usecase-image {
    width: 100%;
    height: 160px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.usecase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.usecase-card:hover .usecase-image img {
    transform: scale(1.05);
}

.usecase-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.usecase-description {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* ============================================
   料金プランセクション
   ============================================ */

.pricing-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: #ffffff;
}

.pricing-section .section-label {
    color: var(--accent-gold);
}

.pricing-section .section-title {
    color: #ffffff;
}

.pricing-section .section-description {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 60px rgba(201, 166, 92, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(201, 166, 92, 0.15) 0%, rgba(201, 166, 92, 0.05) 100%);
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--accent-gold);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

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

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
}

.price-period {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.trial-cta {
    text-align: center;
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trial-title {
    font-size: 2rem;
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.trial-description {
    font-size: 1.0625rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.trial-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.25rem 4rem;
    font-size: 1.125rem;
}

/* ============================================
   会社概要セクション
   ============================================ */

.about-section {
    background: var(--bg-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    gap: 0;
}

.about-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 2.5rem 3rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.about-item:first-child {
    border-radius: 16px 16px 0 0;
}

.about-item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

.about-item:hover {
    background: var(--bg-lighter);
    padding-left: 3.5rem;
}

.about-label {
    font-weight: 600;
    color: var(--accent-gold);
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
}

.about-value {
    color: var(--text-primary);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* ============================================
   採用情報セクション
   ============================================ */

.recruit-section {
    background: var(--primary-dark);
    color: #ffffff;
}

.recruit-section .section-label {
    color: var(--accent-gold);
}

.recruit-section .section-title {
    color: #ffffff;
}

.recruit-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.recruit-text {
    font-size: 1.125rem;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

/* ============================================
   お問い合わせセクション
   ============================================ */

.contact-section {
    background: var(--bg-white);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-lighter);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

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

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.required {
    color: var(--accent-gold);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 166, 92, 0.1);
}

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

/* ============================================
   フッター
   ============================================ */

.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: #ffffff;
}

.footer-logo .logo-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
    color: var(--accent-gold);
    font-size: 0.9375rem;
    font-weight: 300;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--accent-gold);
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   レスポンシブデザイン
   ============================================ */

@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2rem;
        padding: 1.25rem 2.5rem;
    }

    .service-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .function-item {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .function-item.reverse {
        direction: ltr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    /* ハンバーガーメニュー表示 */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding-top: 6rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

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

    .nav-link {
        font-size: 1.125rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        min-height: 600px;
    }

    /* モバイルではパララックスを無効化 */
    .hero-slide {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .functions-grid {
        gap: 3rem;
    }

    .function-item {
        gap: 2rem;
    }

    .about-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem;
    }

    .contact-form {
        padding: 2.5rem 2rem;
    }

    .trial-cta {
        padding: 3rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* スマホサイズで1列にする */
    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .usecases-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 1.25rem;
        padding: 0.875rem 1.5rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }

    .service-hero-title {
        font-size: 1.5rem;
    }

    .function-title {
        font-size: 1.5rem;
    }

    .trial-title {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}
