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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* ナビゲーション */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.logo-image {
    height: 40px;
    width: auto;
}

.nav-logo h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav-logo h2 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo h2 a:hover {
    color: white;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #000;
    color: white;
}

.btn-secondary {
    background: #34a853;
    color: white;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* チャット中のスマホ */
.chat-phones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
    perspective: 1000px;
}

.phone-left, .phone-right {
    width: 200px;
    height: 400px;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.phone-left {
    transform: rotateY(10deg) rotateX(5deg);
    animation-delay: 0s;
}

.phone-right {
    transform: rotateY(-10deg) rotateX(-5deg);
    animation-delay: 1.5s;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

/* ビデオ通話インターフェース */
.video-call-interface {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.remote-video {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    width: 90%;
    height: 80%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: videoPulse 3s ease-in-out infinite;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(255,255,255,0.1) 100%);
    animation: videoScan 2s linear infinite;
}

.avatar {
    font-size: 48px;
    margin-bottom: 10px;
    animation: avatarGlow 2s ease-in-out infinite;
}

.avatar.small {
    font-size: 24px;
}

.video-status {
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.local-video {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 80px;
    height: 100px;
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.3);
    overflow: hidden;
}

.mini-video {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: miniVideoPulse 2s ease-in-out infinite;
}

.call-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(0,0,0,0.8);
    padding: 10px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: controlBtnGlow 2s ease-in-out infinite;
}

.control-btn.mute {
    background: #e74c3c;
    color: white;
}

.control-btn.camera {
    background: #3498db;
    color: white;
}

.control-btn.end-call {
    background: #e74c3c;
    color: white;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.chat-overlay {
    position: absolute;
    bottom: 80px;
    left: 10px;
    right: 100px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 60px;
    overflow: hidden;
}

.message {
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    animation: messageSlide 0.5s ease-out forwards;
}

.message.received {
    background: #e3f2fd;
    align-self: flex-start;
    color: #333;
    transform: translateX(-20px);
    animation-delay: 0.5s;
}

.message.sent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    align-self: flex-end;
    transform: translateX(20px);
    animation-delay: 1s;
}

.message.typing {
    background: #f5f5f5;
    align-self: flex-start;
    padding: 8px 15px;
    display: flex;
    gap: 4px;
    animation-delay: 2.5s;
}

.message.typing span {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: typingDots 1.4s infinite ease-in-out;
}

.message.typing span:nth-child(1) { animation-delay: 0s; }
.message.typing span:nth-child(2) { animation-delay: 0.2s; }
.message.typing span:nth-child(3) { animation-delay: 0.4s; }

/* 接続ライン */
.connection-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

.connection-line::before,
.connection-line::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 2s ease-in-out infinite;
}

.connection-line::before {
    left: -3px;
    animation-delay: 0.5s;
}

.connection-line::after {
    right: -3px;
    animation-delay: 1s;
}

/* スピンインジケーター */
.spin-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.spin-circle {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ランダムマッチングテキスト */
.random-match-text {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.match-indicator {
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    animation: glow 2s ease-in-out infinite;
}

/* アニメーション */
@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
    }
}

/* ビデオ通話アニメーション */
@keyframes videoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
    }
}

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

@keyframes avatarGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255,255,255,0.5);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 20px rgba(255,255,255,0.8);
        transform: scale(1.05);
    }
}

@keyframes miniVideoPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(52, 152, 219, 0.8);
    }
}

@keyframes controlBtnGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255,255,255,0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(255,255,255,0.6);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .chat-phones {
        flex-direction: column;
        gap: 2rem;
    }
    
    .phone-left, .phone-right {
        width: 180px;
        height: 320px;
        transform: none;
        animation: float 3s ease-in-out infinite;
    }
    
    .connection-line {
        width: 2px;
        height: 60px;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    
    .random-match-text {
        position: static;
        margin-top: 2rem;
        transform: none;
    }
}

/* セクション共通スタイル */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* おすすめセクション */
.recommendations {
    background: white;
}

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

.recommendation-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.recommendation-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.recommendation-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

/* 機能セクション */
.features {
    background: #f8f9fa;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ルールセクション */
.rules {
    background: white;
}

.rules-list {
    max-width: 600px;
    margin: 3rem auto;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff5f5;
    border-radius: 10px;
    border-left: 4px solid #e53e3e;
}

.rule-item i {
    color: #e53e3e;
    font-size: 1.2rem;
}

.rules-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 10px;
    color: #4a5568;
}

/* CTAセクション */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta .section-title {
    color: white;
}

.cta .section-title::after {
    background: rgba(255, 255, 255, 0.8);
}

.cta .section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 利用規約ページ */
.terms-page {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.terms-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.terms-updated {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.terms-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    line-height: 1.6;
}

.terms-section {
    margin-bottom: 0.5rem;
}

.terms-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    padding-bottom: 0.1rem;
    border-bottom: 2px solid #667eea;
}

.terms-section p {
    margin-bottom: 0.3rem;
    color: #555;
    text-align: justify;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0.3rem 0;
}

.terms-list li {
    padding: 0.2rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.terms-list li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.terms-ordered-list {
    list-style: none;
    padding: 0;
    margin: 0.3rem 0;
    counter-reset: item;
}

.terms-ordered-list li {
    padding: 0.2rem 0;
    color: #555;
    position: relative;
    padding-left: 2rem;
    counter-increment: item;
}

.terms-ordered-list li::before {
    content: counter(item) ".";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* プライバシーポリシー専用スタイル */
.terms-content a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* お問い合わせページ */
.contact-page {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-description {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-method h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.contact-method p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.contact-footer {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* サイトマップページ */
.sitemap-page {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.sitemap-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.sitemap-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sitemap-description {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

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

.sitemap-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.sitemap-section h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sitemap-section h2 i {
    color: #667eea;
    font-size: 1.2rem;
}

.sitemap-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-links li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sitemap-links li:last-child {
    border-bottom: none;
}

.sitemap-links a {
    font-weight: 500;
    color: #667eea;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.sitemap-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.sitemap-links span {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.sitemap-footer {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.terms-divider {
    text-align: center;
    font-size: 1.5rem;
    color: #667eea;
    margin: 2rem 0;
    font-weight: bold;
}

.terms-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    color: #856404;
    font-weight: 500;
}

.terms-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .terms-header h1 {
        font-size: 2rem;
    }
    
    .terms-content {
        padding: 2rem 1.5rem;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
    
    .terms-list li,
    .terms-ordered-list li {
        padding-left: 1.2rem;
    }
    
    .terms-ordered-list li {
        padding-left: 1.8rem;
    }
    
    /* お問い合わせページのレスポンシブ */
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-methods {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
        padding: 2rem;
    }
    
    .contact-form-container h2 {
        font-size: 1.3rem;
    }
    
    .contact-method {
        padding: 1.5rem;
    }
    
    .contact-method h3 {
        font-size: 1.2rem;
    }
    
    /* サイトマップページのレスポンシブ */
    .sitemap-header h1 {
        font-size: 2rem;
    }
    
    .sitemap-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sitemap-section {
        padding: 1.5rem;
    }
    
    .sitemap-section h2 {
        font-size: 1.2rem;
    }
    
    /* プロモーショナル画像のレスポンシブ */
    .promotional-image {
        max-width: 100%;
        border-radius: 15px;
    }
}

/* フッター */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

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

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

.footer-logo {
    height: 30px;
    width: auto;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-brand h3 {
    margin: 0;
    color: #ffd700;
}

.footer-brand h3 a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-brand h3 a:hover {
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.download-buttons {
    margin-top: 1rem;
}

.btn-app-store {
    background: #000;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-app-store:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-google-play {
    background: #34a853;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-google-play:hover {
    background: #2d8f47;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #667eea;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .nav-logo h2 a {
        color: white;
    }
    
    .footer-logo {
        height: 25px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .recommendation-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .recommendation-card, .feature-card {
        padding: 1.5rem;
    }
}

/* プロモーショナル画像 */
.promotional-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promotional-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.promotional-image:hover {
    transform: scale(1.02);
}


.instagram-call-interface {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.call-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    opacity: 0.8;
    z-index: 1;
}

.remote-user-area {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-video-container {
    text-align: center;
}

.video-feed-placeholder {
    position: relative;
}

.user-avatar-large {
    margin-bottom: 1rem;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #333;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.online-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff00;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.local-user-preview {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.preview-window {
    width: 70px;
    height: 90px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-video-feed {
    text-align: center;
}

.user-avatar-small .avatar-circle {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.call-control-bar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 20px;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 30px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
}

.insta-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.insta-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.insta-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.insta-btn.hangup-btn {
    background: #ff4757;
}

.insta-btn.hangup-btn:hover {
    background: #ff3838;
}

.call-timer {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.insta-chat-bubble {
    position: absolute;
    bottom: 100px;
    left: 20px;
    right: 100px;
    z-index: 3;
}

.message-bubble {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    max-width: 80%;
    word-wrap: break-word;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}
