﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #2b2c34;
    color: #fff;
    min-height: 100vh;
    padding: 16px;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.profile-name {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.profile-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    color: rgb(255, 255, 254);
    margin-bottom: 20px;
    font-weight: 500;
}

.pin-icon {
    width: 16px;
    height: 16px;
    fill: rgb(255, 255, 254);
    flex-shrink: 0;
}

.profile-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 100%;
    text-align: left;
    padding: 0 4px;
}

/* Content Card */
.content-card {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #0a5d6b;
}

.content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.content-overlay {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: auto;
    max-width: 60%;
}

.overlay-text {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    line-height: 1.5;
}

/* LINE Card */
.line-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 12px 20px;
    color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation-name: bounce_small_infinite;
    transform-origin: center bottom;
    animation-duration: 4s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    user-select: none;
}

.line-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

@keyframes bounce_small_infinite {
    0%, 10%, 26.5%, 40%, 100% {
        animation-timing-function: cubic-bezier(.215, .61, .355, 1);
        transform: translateZ(0);
    }
    20%, 21.5% {
        animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        transform: translate3d(0, -10px, 0);
    }
    35% {
        animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        transform: translate3d(0, -10px, 0);
    }
}

.line-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    object-fit: contain;
}

.line-content {
    flex: 1;
}

.line-text {
    font-size: 16px;
    line-height: 1.4;
    color: #000;
}

/* LINE Free Card */
.line-free-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
    user-select: none;
}

.line-free-card .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.line-free-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.line-free-text {
    font-size: 16px;
    line-height: 1.4;
    color: #000;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Info Card */
.info-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
}

.info-text {
    font-size: 14px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 16px;
}

.info-text:last-child {
    margin-bottom: 0;
}

/* Footer Banner */
.footer-banner {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.footer-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Page Footer */
.page-footer {
    max-width: 480px;
    margin: 32px auto 0;
    padding: 24px 16px;
    text-align: center;
}

.footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 375px) {
    .profile-name {
        font-size: 22px;
    }
    
    .overlay-text {
        font-size: 16px;
    }
    
    .line-card {
        padding: 12px 16px;
    }
    
    .info-card {
        padding: 16px;
    }
    
    .info-text {
        font-size: 13px;
    }
}

