* {
    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;
}

/* 中央コンテナ */
.page-wrapper {
    max-width: 414px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
}

/* ヒーローセクション */
.hero-banner {
    background: url('../images/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-banner::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-inner {
    position: relative;
    z-index: 2;
}

.hero-avatar {
    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-avatar.has-image::before {
    display: none;
}

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

.hero-banner 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-banner .subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-tag {
    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 {
    padding: 50px 20px;
    background: #fff;
}

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

.avatar-container {
    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;
}

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

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

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

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

.bio-container {
    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-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 2rem;
}

.credential-box {
    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-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

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

.credential-box .detail-text {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

/* メディア出演セクション */
.media-showcase {
    background: linear-gradient(135deg, #fff5f5, #ffe0e0);
    padding: 40px 20px;
}

.media-image-container {
    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-image-container.has-image::before {
    display: none;
}

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

/* 特徴セクション */
.learning-features {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 50px 20px;
}

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

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

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

.feature-box {
    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-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

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

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

/* 著書セクション */
.publications {
    padding: 50px 20px;
    background: #fff;
}

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

.book-gallery::-webkit-scrollbar {
    display: none;
}

.book-item {
    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-item:hover {
    transform: translateY(-5px);
}

.book-image {
    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-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

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

/* メリットセクション */
.advantages {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.advantages::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;
}

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

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

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

.advantage-box {
    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;
}

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

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

.advantage-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

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

/* 参加促進セクション */
.join-section {
    background: #2c3e50;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

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

.highlight-banner {
    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-effect 2s infinite;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.action-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;
}

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

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

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

/* アニメーション */
@keyframes pulse-effect {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

.animate-on-scroll {
    animation: slide-up 0.8s ease-out;
}

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

    .hero-banner {
        min-height: 400px;
    }

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

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

/* モバイル最適化 */
@media (max-width: 414px) {
    .page-wrapper {
        max-width: 100%;
        box-shadow: none;
    }
    
    .credentials-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

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

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

/* 画像プレースホルダースタイル */
.image-load-target {
    position: relative;
    cursor: pointer;
}

.image-load-target:hover {
    opacity: 0.8;
}

.image-load-target::after {
    content: 'クリックして画像をアップロード';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #666;
    white-space: nowrap;
}
.floating-cta-wrapper {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
    }
    @keyframes bounce-effect {
    0%, 100% {
    transform: translateY(0);
    }
    50% {
    transform: translateY(-10px);
    }
    }
    .floating-cta-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-effect 2s infinite;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: auto;
    }
    
    .floating-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
    
    .floating-cta-button .icon-element {
    font-size: 24px;
    }
    
    @media (max-width: 768px) {
    .floating-cta-wrapper {
    bottom: 20px;
    }
    
    .floating-cta-button {
    font-size: 16px;
    padding: 12px 24px;
    }
    }
    
    @media (max-width: 480px) {
    .floating-cta-button {
    font-size: 14px;
    padding: 10px 20px;
    }
    
    .floating-cta-button .icon-element {
    font-size: 18px;
    }
    }