/* 👑 ぷりぷりプリンセスの公式スタイルシート 🍮 */

/* カスタム変数（カラーシステムとフォント） */
:root {
    --primary: #FFB6C1;        /* パステルピンク */
    --primary-light: #FFF0F5;  /* ラベンダーブラッシュ */
    --primary-dark: #FF69B4;   /* ホットピンク */
    --accent: #FFD700;         /* ゴールド */
    --accent-dark: #DAA520;    /* ゴールデンロッド */
    --bg-main: #FFF9FA;        /* プリンセスホワイト */
    --card-bg: #FFFFFF;        /* 純白 */
    --text-main: #4A3E3D;      /* チョコブラウン（真っ黒ではなく、柔らかいブラウン） */
    --text-muted: #8E7C7A;     /* ミルクチョコブラウン */
    --shadow: 0 10px 30px rgba(255, 182, 193, 0.25);
    --shadow-hover: 0 20px 40px rgba(255, 182, 193, 0.4);
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 全体リセット & 基本設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Kiwi Maru', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* 背景のキラキラ装飾アニメーション */
.sparkles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 240, 245, 0.5) 0%, transparent 20%),
        radial-gradient(circle at 80% 40%, rgba(255, 215, 0, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 30% 70%, rgba(255, 182, 193, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(255, 240, 245, 0.6) 0%, transparent 20%);
    background-attachment: fixed;
}

/* ヘッダー */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: rgba(255, 249, 250, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 182, 193, 0.2);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.logo-emoji {
    animation: rotateCrown 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes rotateCrown {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.15); }
}

/* コンテナ */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* セクション共通見出し */
.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-main);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* ヒーローセクション */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.6) 0%, rgba(255, 255, 255, 0.8) 100%);
    padding-top: 80px;
}

.hero-content {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.princess-crown {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: float 4s ease-in-out infinite;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 20px;
}

.hero-title .sub-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-muted);
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.scroll-indicator .arrow {
    width: 2px;
    height: 30px;
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    animation: arrowScroll 2s infinite;
}

@keyframes arrowScroll {
    0% { transform: translateY(-100%); }
    80%, 100% { transform: translateY(100%); }
}

/* プロフィールセクション */
.about-section {
    background-color: rgba(255, 255, 255, 0.5);
}

.profile-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    display: flex;
    gap: 50px;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 182, 193, 0.15);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.profile-image-container {
    flex-shrink: 0;
}

.profile-frame {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--card-bg);
}

.placeholder-emoji {
    font-size: 4rem;
    animation: pulseHeart 2s infinite;
}

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

.profile-info h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.princess-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 25px;
}

.profile-details {
    list-style: none;
}

.profile-details li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.profile-details li strong {
    width: 140px;
    color: var(--text-muted);
}

/* お気に入りセクション */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.favorite-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 182, 193, 0.15);
}

.favorite-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition);
}

.favorite-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

.favorite-card h4 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.favorite-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* 魔法の言葉セクション */
.magic-section {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
}

.magic-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.magic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.magic-button {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    border: none;
    padding: 16px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.35);
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.magic-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.5);
}

.magic-button:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-stars {
    animation: pulseHeart 1.5s infinite;
}

/* 吹き出しメッセージ */
.magic-bubble {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 25px 40px;
    box-shadow: var(--shadow);
    max-width: 500px;
    position: relative;
    border: 2px solid var(--primary-light);
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.magic-bubble.show {
    transform: scale(1);
    opacity: 1;
}

.magic-bubble.hidden {
    display: none;
}

.magic-bubble p {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.6;
}

/* フッター */
.main-footer {
    text-align: center;
    padding: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 182, 193, 0.15);
    background-color: var(--card-bg);
}

/* アニメーション用キーフレーム */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .sub-title {
        font-size: 1.5rem;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .profile-details li {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 18px;
    }
    
    .profile-details li strong {
        width: 100%;
    }
}

/* ハートのパーティクルエフェクト 💖 */
.heart-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 1.8rem;
    animation: heartFly 1s cubic-bezier(0.08, 0.8, 0.2, 1) forwards;
    user-select: none;
}

@keyframes heartFly {
    0% {
        transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.3) rotate(var(--rot));
        opacity: 0;
    }
}

/* ナビゲーションメニューのスタイル 🌐 */
.nav-links {
    display: flex;
    gap: 15px;
}

.nav-link {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 20px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-dark);
    background-color: var(--primary-light);
}

.nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.25);
}

/* ビジネススキルセクションのスタイル 📈 */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.skill-item {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 182, 193, 0.15);
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.skill-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-percentage {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
}

.skill-bar-bg {
    width: 100%;
    height: 10px;
    background-color: var(--primary-light);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 5px;
    width: 0; /* JSで幅をアニメーション制御、またはHTMLで直接指定 */
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.skill-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* お問い合わせフォームのスタイル ✉️ */
.contact-form-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 45px 40px;
    max-width: 600px;
    margin: 40px auto 0 auto;
    border: 1px solid rgba(255, 182, 193, 0.15);
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 2px solid var(--primary-light);
    background-color: var(--bg-main);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-dark);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(255, 105, 180, 0.15);
}

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

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.35);
    transition: var(--transition);
    font-family: inherit;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.45);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.form-alert {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    background-color: #E8F5E9;
    color: #2E7D32;
    font-weight: 500;
    display: none;
    animation: fadeInUp 0.4s ease forwards;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 5px;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* 瑠奈のビジネスポートフォリオ用カスタムスタイル 💎 */

/* スキルコンテナ */
.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.skills-category {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 182, 193, 0.15);
    transition: var(--transition);
}

.skills-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.skills-category h3 {
    font-size: 1.35rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    border-bottom: 2px dashed var(--primary-light);
    padding-bottom: 8px;
    text-align: left;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: var(--primary-light);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.skill-tag:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* プロジェクト特徴と使用技術 */
.project-features {
    margin: 15px 0;
    text-align: left;
}

.project-features ul {
    padding-left: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.project-features li {
    margin-bottom: 6px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.tech-badge {
    background-color: var(--bg-main);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 182, 193, 0.2);
}

/* タイムライン */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 182, 193, 0.15);
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.timeline-badge {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.timeline-content {
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
}

/* ビジョン引用デザイン */
.vision-quote {
    background-color: var(--card-bg);
    border-left: 6px solid var(--primary-dark);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.vision-quote p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 20px;
}

.vision-author {
    text-align: right;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

/* モバイル対応調整 */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .vision-quote {
        padding: 25px;
    }
    .vision-quote p {
        font-size: 1.05rem;
    }
}


