:root {
    --primary-color: #FFF8DC;
    --secondary-color: #FFB6C1;
    --accent-color: #F0E68C;
    --text-color: #4A4A4A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --border-color: #E8E8E8;
    /* --image-align-left: 80px; */
}

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

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* オープニングアニメーション */
.opening-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* iOS用の動的ビューポート */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 400% 400%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: gradient-rotation 1s ease-in-out 0.8s;
    -webkit-transform: translateZ(0); /* iOS用ハードウェアアクセラレーション */
    transform: translateZ(0);
}

.opening-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.opening-logo {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    -webkit-transform: scale(0.8) translateY(20px);
    animation: logo-appear 0.8s ease-out forwards;
    -webkit-animation: logo-appear 0.8s ease-out forwards;
    margin-bottom: 30px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.opening-logo-image {
    width: 300px;
    height: auto;
    max-width: 80vw; /* スマートフォンで画面からはみ出さないように */
}

.loading-text {
    opacity: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 2px;
    animation: text-appear 0.5s ease-out 0.4s forwards;
    -webkit-animation: text-appear 0.5s ease-out 0.4s forwards;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    text-align: center;
    width: 100%;
    display: block;
}

@media (max-width: 480px) {
    .loading-text {
        font-size: 1rem;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

.dots {
    animation: dots-blink 1.2s infinite;
    -webkit-animation: dots-blink 1.2s infinite;
}

/* オープニング終了後に非表示 */
.opening-overlay.fade-out {
    animation: fade-out 0.4s ease-out forwards;
}

@keyframes logo-appear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
        -webkit-transform: scale(0.8) translateY(20px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-5px);
        -webkit-transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        -webkit-transform: scale(1) translateY(0);
    }
}

@-webkit-keyframes logo-appear {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.8) translateY(20px);
    }
    50% {
        opacity: 0.8;
        -webkit-transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1) translateY(0);
    }
}

@keyframes gradient-rotation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@-webkit-keyframes gradient-rotation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes text-appear {
    0% {
        opacity: 0;
        transform: translateY(10px);
        -webkit-transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }
}

@-webkit-keyframes text-appear {
    0% {
        opacity: 0;
        -webkit-transform: translateY(10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes dots-blink {
    0%, 20% { opacity: 1; }
    50% { opacity: 0.3; }
    80%, 100% { opacity: 1; }
}

@-webkit-keyframes dots-blink {
    0%, 20% { opacity: 1; }
    50% { opacity: 0.3; }
    80%, 100% { opacity: 1; }
}

@keyframes fade-out {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* ページ読み込み時にメインコンテンツを隠す */
body.loading .hero,
body.loading .about,
body.loading .menu,
body.loading .gallery,
body.loading .voice,
body.loading .faq,
body.loading .contact,
body.loading .footer {
    opacity: 0;
    visibility: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

section.hero {
    padding: 0;
}

h1, h2, h3, h4 {
    font-weight: 500;
    margin-bottom: 20px;
}

h1 small, h3 small {
    font-size: 0.6em;
    font-weight: 300;
    opacity: 0.8;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    color: var(--text-color);
    margin-bottom: 60px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    margin: 20px auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: clamp(12px, 3vw, 15px) clamp(20px, 5vw, 30px);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(240, 230, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 230, 140, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #FFE4E1);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 182, 193, 0.4);
}

.btn-line {
    background: #00C300;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 195, 0, 0.3);
}

.btn-line:hover {
    background: #00A300;
    transform: translateY(-2px);
}

.btn-line-contact {
    background: #00C300;
    color: var(--white);
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn-instagram {
    background: linear-gradient(135deg, #E4405F, #833AB4);
    color: var(--white);
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn-form {
    background: var(--light-gray);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 20px 40px;
    font-size: 1.1rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(var(--hero-gradient-angle, 135deg), 
                var(--hero-color-1, var(--primary-color)) var(--hero-stop-1, 0%), 
                var(--hero-color-2, var(--white)) var(--hero-stop-2, 50%), 
                var(--hero-color-3, var(--secondary-color)) var(--hero-stop-3, 100%));
    position: relative;
    overflow: hidden;
    padding: 0 0 60px 0;
    transition: background 0.1s ease-out;
}


.hero-layout {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 40px 40px 40px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    z-index: 10;
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 0 40px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 500;
    color: #2C2C2C;
    margin-bottom: 40px;
    line-height: 1.4;
    z-index: 2;
    white-space: normal;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.logo-image {
    max-width: min(350px, 80vw);
    height: auto;
    margin: 10px 0 0 0;
    filter: contrast(1.1) saturate(1.1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.catchcopy {
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.5;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: clamp(10px, 3vw, 20px);
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-wrap: wrap;
    padding: 0 20px;
}

.hero-buttons .btn {
    padding: clamp(12px, 3vw, 15px) clamp(20px, 4vw, 25px);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    min-width: clamp(130px, 30vw, 150px);
}

/* スクロール連動グラデーション効果（元の3色のみ使用） */

/* 背景ボケ効果 */
.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(2px);
    animation: float 15s infinite linear;
}

.bubble-1 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #FFE4E1, transparent);
    left: 8%;
    animation-delay: 0s;
    animation-duration: 24s;
}

.bubble-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #E6E6FA, transparent);
    left: 25%;
    animation-delay: 6s;
    animation-duration: 30s;
}

.bubble-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #F0F8FF, transparent);
    left: 75%;
    animation-delay: 12s;
    animation-duration: 20s;
}

.bubble-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #FFF0F5, transparent);
    left: 85%;
    animation-delay: 18s;
    animation-duration: 26s;
}

.bubble-5 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #F5FFFA, transparent);
    left: 45%;
    animation-delay: 9s;
    animation-duration: 35s;
}

.bubble-6 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, #FFFACD, transparent);
    left: 35%;
    animation-delay: 15s;
    animation-duration: 18s;
}

.bubble-7 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #F0FFFF, transparent);
    left: 60%;
    animation-delay: 3s;
    animation-duration: 28s;
}

.bubble-8 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #FDF5E6, transparent);
    left: 15%;
    animation-delay: 21s;
    animation-duration: 22s;
}

.bubble-9 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #F8F8FF, transparent);
    left: 5%;
    animation-delay: 7s;
    animation-duration: 32s;
}

.bubble-10 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, #FFFAF0, transparent);
    left: 90%;
    animation-delay: 13s;
    animation-duration: 25s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 0.5;
        transform: translateY(95vh) translateX(5px) scale(0.3);
    }
    15% {
        opacity: 0.5;
        transform: translateY(85vh) translateX(10px) scale(1);
    }
    85% {
        opacity: 0.5;
        transform: translateY(-5vh) translateX(-10px) scale(1);
    }
    95% {
        opacity: 0.3;
        transform: translateY(-15vh) translateX(-5px) scale(1.2);
    }
    100% {
        transform: translateY(-25vh) translateX(0) scale(1.5);
        opacity: 0;
    }
}

.about {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.profile-image {
    padding-left: var(--image-align-left);
}

.profile-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.profile-title {
    margin-bottom: 20px;
}

.profile-title h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.owner-name {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.profile-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.menu {
    background-color: var(--white);
}

.service-section {
    margin-bottom: 80px;
}

.service-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-color);
    margin-bottom: 10px;
}

.service-item p {
    margin-bottom: 10px;
}

.price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.deadline {
    font-size: 0.9rem;
    color: #666;
}

.lesson-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.lesson-content {
    display: flex;
    flex-direction: column;
}

.lesson-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature {
    background: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.lesson-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.lesson-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.lesson-details p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.gallery {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-gray) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 182, 193, 0.2);
}

.gallery-item:hover::before {
    transform: translateX(100%);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.voice {
    background-color: var(--white);
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.voice-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.voice-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
    position: relative;
    overflow: hidden;
}

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

.voice-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.avatar-1 {
    background: linear-gradient(135deg, #FFB6C1, #FF91A4);
}

.avatar-2 {
    background: linear-gradient(135deg, #F0E68C, #DDA0DD);
}

.avatar-3 {
    background: linear-gradient(135deg, #98FB98, #87CEEB);
}

.voice-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.voice-item p {
    font-style: italic;
    line-height: 1.8;
    font-size: 1.1rem;
}

.faq {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-gray) 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    background: var(--accent-color);
    padding: 20px;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-item p {
    margin: 0;
    line-height: 1.8;
}

.contact {
    background-color: var(--white);
    text-align: center;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.response-time {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 20px;
}

.footer-content h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.address {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #CCC;
    border-top: 1px solid #666;
    padding-top: 20px;
    margin: 0;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
        min-height: 90vh;
        /* モバイルではグラデーション変化を軽量化 */
        transition: background 0.2s ease-out;
    }
    
    .hero-layout {
        padding: 20px;
    }
    
    .hero-main {
        padding: 0 20px;
        height: auto;
        min-height: 80vh;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: min(280px, 80vw);
    }
    
    /* モバイルでボケ効果を控えめに */
    .bubble {
        opacity: 0.4;
        filter: blur(3px);
    }
    
    /* モバイルでサイズを小さく */
    .bubble-1 { width: 150px; height: 150px; }
    .bubble-2 { width: 180px; height: 180px; }
    .bubble-3 { width: 160px; height: 160px; }
    .bubble-4 { width: 120px; height: 120px; }
    .bubble-5 { width: 220px; height: 220px; }
    .bubble-6 { width: 130px; height: 130px; }
    .bubble-7 { width: 150px; height: 150px; }
    .bubble-8 { width: 110px; height: 110px; }
    .bubble-9 { width: 170px; height: 170px; }
    .bubble-10 { width: 140px; height: 140px; }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .lesson-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .lesson-image {
        order: -1;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .voice-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    
    section {
        padding: 60px 0;
    }
}

/* スクロールガイド */
.scroll-guide {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.scroll-arrow {
    font-size: 1.2rem;
    margin-top: 5px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* TOPへ戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    animation: gentle-float 3s ease-in-out infinite;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.3);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .scroll-guide {
        bottom: 20px;
        font-size: 0.8rem;
    }
    
    .back-to-top {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 0.9rem;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    :root {
        --image-align-left: 0px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons .btn {
        width: min(250px, 90vw);
    }
    
    section {
        padding: 40px 0;
    }
    
    .scroll-guide {
        display: none;
    }
    
    .back-to-top {
        width: 55px;
        height: 55px;
        font-size: 0.8rem;
        border-radius: 16px;
    }
    
    .hero-main {
        min-height: 70vh;
    }
    
    .profile-image {
        text-align: center;
        display: flex;
        justify-content: center;
        padding: 0;
    }
    
    .service-section h3 {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
}