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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 50%, #e3f2fd 100%);
    min-height: 100vh;
    padding: 20px;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* New Header */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    margin-bottom: 30px;
    padding: 16px 24px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.8em;
    color: #333;
    margin: 0;
    font-weight: 700;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95em;
    transition: all 0.2s;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-link:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.nav-link svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
    vertical-align: middle;
}

.social-link {
    background: #000;
    color: white;
}

.social-link:hover {
    background: #333;
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: right 0.3s ease;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-content {
    padding: 24px;
}

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2.5em;
    color: #999;
    cursor: pointer;
    line-height: 0.8;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s;
}

.mobile-menu-close:hover {
    background: #f0f0f0;
    color: #333;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-menu-link:hover {
    background: #f5f5f5;
}

.mobile-menu-link svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.3em;
    }

    .nav-link:not(.menu-btn) {
        display: none;
    }

    .menu-btn {
        display: flex;
    }
}

.main-grid {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 20px;
}

@media (max-width: 1200px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .panel {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 2em;
    }

    .panel {
        padding: 15px;
    }

    .panel-title {
        font-size: 1.1em;
    }

    .button-group {
        flex-direction: column;
    }

    .button-group .btn {
        width: 100%;
    }

    .person-list, .relation-list {
        max-height: 300px;
    }

    .share-buttons {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 14px;
        font-size: 1.05em;
    }

    .share-btn {
        padding: 12px;
        font-size: 0.95em;
    }

    .input-field {
        padding: 12px;
        font-size: 16px;
    }

    select {
        padding: 12px;
        font-size: 16px;
    }

    .delete-btn {
        min-width: 48px;
        min-height: 48px;
        padding: 10px;
    }

    .delete-btn svg {
        width: 24px;
        height: 24px;
    }

    .upload-icon {
        width: 28px;
        height: 28px;
        padding: 6px;
    }

    .upload-icon svg {
        width: 16px;
        height: 16px;
    }

    .person-avatar {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .person-item, .relation-item {
        padding: 14px;
        margin-bottom: 12px;
    }

    .color-option {
        width: 40px;
        height: 40px;
        border: 3px solid transparent;
    }

    .color-option.selected {
        border-width: 3px;
    }

    .person-name, .relation-label {
        padding: 10px 0;
        font-size: 1.05em;
    }
}

.panel {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.panel-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-title svg {
    width: 24px;
    height: 24px;
}

.person-list, .relation-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
    -webkit-overflow-scrolling: touch;
}

.person-item, .relation-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.person-item:hover, .relation-item:hover {
    background: #f5f5f5;
}

.person-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border: 3px solid white;
    position: relative;
    flex-shrink: 0;
}

.person-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.upload-icon {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: white;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.upload-icon svg {
    width: 14px;
    height: 14px;
    transition: stroke 0.2s;
}

.upload-icon:hover {
    background: #f0f0f0;
}

.upload-icon:hover svg {
    stroke: #2196F3;
}

.upload-icon:active {
    background: #e0e0e0;
    transform: scale(0.95);
}

.upload-icon:active svg {
    stroke: #1976D2;
}

.person-info {
    flex: 1;
}

.person-name {
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    -webkit-tap-highlight-color: transparent;
}

.person-name:hover {
    color: #2196F3;
}

.person-name:active {
    color: #1976D2;
}

.edit-btn {
    color: #2196F3;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border-radius: 8px;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.edit-btn svg {
    width: 18px;
    height: 18px;
}

.edit-btn:hover {
    background: rgba(33, 150, 243, 0.1);
}

.edit-btn:active {
    background: rgba(33, 150, 243, 0.2);
    transform: scale(0.95);
}

.delete-btn {
    color: #f44336;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border-radius: 8px;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.delete-btn svg {
    width: 20px;
    height: 20px;
}

.delete-btn:hover {
    background: rgba(244, 67, 54, 0.1);
}

.delete-btn:active {
    background: rgba(244, 67, 54, 0.2);
    transform: scale(0.95);
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.98);
}

.btn svg {
    width: 18px;
    height: 18px;
}

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

.btn-primary:hover {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

.btn-success {
    background: #4CAF50;
    color: white;
}

.btn-success:hover {
    background: #388E3C;
}

.btn-pink {
    background: #E91E63;
    color: white;
}

.btn-pink:hover {
    background: #C2185B;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
}

.btn-pink.active {
    background: #AD1457;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.3);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(233, 30, 99, 0.1);
    }
}

.btn-purple {
    background: #9C27B0;
    color: white;
}

.btn-purple:hover {
    background: #7B1FA2;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(156, 39, 176, 0.3);
}

.btn-cancel {
    background: #9E9E9E;
    color: white;
}

.btn-cancel:hover {
    background: #757575;
}

.btn-secondary {
    background: #607D8B;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #455A64;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(96, 125, 139, 0.3);
}

.btn-secondary:disabled {
    background: #B0BEC5;
    cursor: not-allowed;
    opacity: 0.6;
}

.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    margin-bottom: 10px;
}

.input-field:focus {
    outline: none;
    border-color: #2196F3;
}

.color-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    justify-content: center;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.color-option:hover, .color-option:active {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: #333;
    transform: scale(1.15);
}

.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.button-group .btn {
    width: auto;
    flex: 1;
}

#canvas {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: default;
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.canvas-container {
    margin-bottom: 15px;
    width: 100%;
    position: relative;
}

.zoom-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    -webkit-tap-highlight-color: transparent;
}

.zoom-btn svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.zoom-btn:hover {
    background: #f5f5f5;
    border-color: #2196F3;
    transform: scale(1.05);
}

.zoom-btn:active {
    transform: scale(0.95);
    background: #e3f2fd;
}

.relation-info {
    flex: 1;
}

.relation-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.relation-label {
    font-weight: 600;
    color: #333;
    cursor: pointer;
    padding: 8px 0;
    -webkit-tap-highlight-color: transparent;
}

.relation-label:hover {
    color: #2196F3;
}

.relation-label:active {
    color: #1976D2;
}

.form-section {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.help-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.help-title {
    font-size: 0.9em;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-title svg {
    width: 16px;
    height: 16px;
}

.help-list {
    list-style: none;
    font-size: 0.85em;
    color: #666;
}

.help-list li {
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.help-list li:before {
    content: "•";
    position: absolute;
    left: 5px;
}

select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    margin-bottom: 10px;
    background: white;
}

select:focus {
    outline: none;
    border-color: #2196F3;
}

.share-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
}

.share-title {
    font-size: 0.9em;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-title svg {
    width: 16px;
    height: 16px;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.share-btn {
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.9em;
    -webkit-tap-highlight-color: transparent;
}

.share-btn:active {
    transform: scale(0.95);
}

.share-btn svg {
    width: 16px;
    height: 16px;
}

.share-btn-twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn-twitter:hover {
    background: #1a8cd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.share-btn-facebook {
    background: #1877F2;
    color: white;
}

.share-btn-facebook:hover {
    background: #145dbf;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.share-btn-line {
    background: #06C755;
    color: white;
}

.share-btn-line:hover {
    background: #05a844;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.4);
}

.share-btn-copy {
    background: #757575;
    color: white;
}

.share-btn-copy:hover {
    background: #616161;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(117, 117, 117, 0.4);
}

.auto-save-indicator {
    font-size: 0.75em;
    color: #4CAF50;
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.auto-save-indicator.show {
    opacity: 1;
}

/* New Share Buttons */
.share-buttons-new {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.share-btn-large {
    padding: 16px 12px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.95em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.share-btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.share-btn-large:active {
    transform: translateY(-2px);
}

.share-btn-large svg {
    width: 28px;
    height: 28px;
}

.share-btn-large span {
    font-size: 0.9em;
}

.share-btn-large.share-btn-twitter {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
}

.share-btn-large.share-btn-twitter:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.share-btn-large.share-btn-line {
    background: linear-gradient(135deg, #06C755 0%, #05a844 100%);
    color: white;
}

.share-btn-large.share-btn-line:hover {
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.share-btn-large.share-btn-more {
    background: linear-gradient(135deg, #757575 0%, #616161 100%);
    color: white;
}

.share-btn-large.share-btn-more:hover {
    box-shadow: 0 6px 20px rgba(117, 117, 117, 0.4);
}

/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.share-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease-out;
}

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

.share-modal-header {
    padding: 20px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 1.3em;
    color: #333;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 2em;
    color: #999;
    cursor: pointer;
    line-height: 0.8;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s;
}

.share-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.share-modal-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.share-modal-btn {
    padding: 16px 12px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.95em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.share-modal-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.share-modal-btn:active {
    transform: translateY(-2px);
}

.share-modal-btn svg {
    width: 28px;
    height: 28px;
}

.share-modal-btn.share-btn-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #145dbf 100%);
    color: white;
}

.share-modal-btn.share-btn-facebook:hover {
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.share-modal-btn.share-btn-instagram {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%);
    color: white;
}

.share-modal-btn.share-btn-instagram:hover {
    box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

.share-modal-btn.share-btn-reddit {
    background: linear-gradient(135deg, #FF4500 0%, #db3a00 100%);
    color: white;
}

.share-modal-btn.share-btn-reddit:hover {
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.share-modal-btn.share-btn-pinterest {
    background: linear-gradient(135deg, #E60023 0%, #c4001e 100%);
    color: white;
}

.share-modal-btn.share-btn-pinterest:hover {
    box-shadow: 0 6px 20px rgba(230, 0, 35, 0.4);
}

.share-modal-btn.share-btn-copy {
    background: linear-gradient(135deg, #757575 0%, #616161 100%);
    color: white;
}

.share-modal-btn.share-btn-copy:hover {
    box-shadow: 0 6px 20px rgba(117, 117, 117, 0.4);
}

@media (max-width: 768px) {
    .share-buttons-new {
        grid-template-columns: 1fr;
    }

    .share-modal-body {
        grid-template-columns: 1fr;
    }
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature {
    padding: 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 12px;
}

.feature h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Use Cases Section */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.use-case {
    padding: 20px;
    border-left: 4px solid #3b82f6;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.use-case:hover {
    border-left-color: #ec4899;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.use-case h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.use-case p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

/* How To Section */
.how-to-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background: #f8f9fa;
    padding-left: 24px;
}

.faq-item h3 {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95em;
}

/* Responsive */
@media (max-width: 768px) {
    .content-section {
        padding: 24px;
    }

    .content-section h2 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    .feature-grid,
    .use-case-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step {
        gap: 15px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }

    .step-content h3 {
        font-size: 1.1em;
    }

    /* モバイル専用UI改善 */
    .btn {
        min-height: 48px;
        font-size: 16px;
        padding: 12px 20px;
    }

    .person-item {
        padding: 16px;
        min-height: 68px;
    }

    .relation-item {
        padding: 16px;
        min-height: 68px;
    }

    .person-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.3em;
    }

    .person-name,
    .relation-label {
        font-size: 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .delete-btn,
    .edit-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .input-field {
        min-height: 48px;
        font-size: 16px;
    }

    .color-option {
        width: 44px;
        height: 44px;
    }

    .zoom-btn {
        min-width: 48px;
        min-height: 48px;
    }
}
