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

body {
    font-family: 'Hiragino Sans', 'Yu Gothic', '游ゴシック', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* PC端居中容器 */
.mobile-container {
    max-width: 414px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
}

/* Hero Section */
.hero {
    background: url('../image/01.png') no-repeat center/cover;
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.7);
    position: relative;
    overflow: hidden;
}

.hero-image.has-image::before {
    display: none;
}

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

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-badge {
    background: rgba(255,255,255,0.25);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: inline-block;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Profile Section */
.profile {
    padding: 50px 20px;
    background: #fff;
}

.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    border: 4px solid #f8f9fa;
    position: relative;
    overflow: hidden;
}

.profile-avatar.has-image::before {
    display: none;
}

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

.profile-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.profile-title {
    color: #667eea;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.profile-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
    margin-bottom: 2.5rem;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 2rem;
}

.credential-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.credential-card .icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.credential-card .title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.credential-card .desc {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

/* Media Appearances Section */
.media-section {
    background: linear-gradient(135deg, #fff5f5, #ffe0e0);
    padding: 40px 20px;
}

.media-photo {
    width: 100%;
    max-width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}


.media-photo.has-image::before {
    display: none;
}

.media-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 50px 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.feature-list {
    space-y: 20px;
}

.feature-item {
    background: white;
    padding: 25px 20px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-item h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.feature-item .emoji {
    margin-right: 10px;
    font-size: 1.3rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* Books Section */
.books {
    padding: 50px 20px;
    background: #fff;
}

.books-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 15px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.books-slider::-webkit-scrollbar {
    display: none;
}

.book-card {
    flex: 0 0 220px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 18px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.book-cover {
    width: 110px;
    height: 155px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.book-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.book-desc {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.5;
}

/* Benefits Section */
.benefits {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,100 50,0 100,100" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.3;
}

.benefits-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.benefits h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 2.5rem 0;
}

.benefit-item {
    background: rgba(255,255,255,0.18);
    padding: 20px 15px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.25);
}

.benefit-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.benefit-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.benefit-desc {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* CTA Section */
.cta {
    background: #2c3e50;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cta-highlight {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 2rem 0;
    display: inline-block;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 20px 45px;
    text-decoration: none;
    border-radius: 35px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

.cta-button::before {
    content: '📱';
    margin-right: 10px;
    font-size: 1.3rem;
}

.cta-note {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 1.5rem;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* PC端适配 */
@media (min-width: 768px) {
    body {
        background: #e9ecef;
        padding: 20px 0;
    }
    
    .mobile-container {
        box-shadow: 0 0 40px rgba(0,0,0,0.15);
        border-radius: 25px;
        overflow: hidden;
    }

    .hero {
        min-height: 400px;
    }

    .hero-image {
        width: 120px;
        height: 120px;
    }

    .profile-avatar {
        width: 160px;
        height: 160px;
    }
}

/* 手机端优化 */
@media (max-width: 414px) {
    .mobile-container {
        max-width: 100%;
        box-shadow: none;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero {
        padding: 60px 15px 40px;
        min-height: 320px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

/* Image placeholder styles */
.image-placeholder {
    position: relative;
    cursor: pointer;
}

.image-placeholder:hover {
    opacity: 0.8;
}

.image-placeholder::after {
    content: 'クリックして画像をアップロード';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #666;
    white-space: nowrap;
}
.floating-button-container {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
    }
    @keyframes bounce {
    0%, 100% {
    transform: translateY(0);
    }
    50% {
    transform: translateY(-10px);
    }
    }
    .floating-button {
    position: relative;
    background: #F15D2E;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: auto;
    }
    
    .floating-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
    
    .floating-button .icon {
    font-size: 24px;
    }
    
    @media (max-width: 768px) {
    .floating-button-container {
    bottom: 20px;
    }
    
    .floating-button {
    font-size: 16px;
    padding: 12px 24px;
    }
    }
    
    @media (max-width: 480px) {
    .floating-button {
    font-size: 14px;
    padding: 10px 20px;
    }
    
    .floating-button .icon {
    font-size: 18px;
    }
    }

footer {
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  padding: 50px 0;
  font-size: 0.95rem;
  color: #777;
}

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