* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: linear-gradient(135deg, #e8f2d9 0%, #f5efd2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    color: #5c4b3c;
    position: relative;
    overflow-x: hidden;
}

/* 背景装饰元素 */
body::before, body::after {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

body::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(148, 201, 169, 0.2) 0%, rgba(148, 201, 169, 0) 70%);
    top: -50px;
    right: -100px;
    border-radius: 50%;
    animation: float-slow 15s ease-in-out infinite alternate;
}

body::after {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(235, 212, 150, 0.2) 0%, rgba(235, 212, 150, 0) 70%);
    bottom: 10%;
    left: -50px;
    border-radius: 50%;
    animation: float-slow 12s ease-in-out infinite alternate-reverse;
}

.background-decoration {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    width: 120px;
    height: 40px;
    filter: blur(10px);
}

.cloud-1 {
    top: 15%;
    left: 10%;
    width: 100px;
    height: 35px;
    animation: float-slow 25s linear infinite;
    opacity: 0.6;
}

.cloud-2 {
    top: 30%;
    right: 15%;
    width: 150px;
    height: 45px;
    animation: float-slow 30s linear infinite reverse;
    animation-delay: -5s;
    opacity: 0.5;
}

.cloud-3 {
    bottom: 20%;
    right: 30%;
    width: 80px;
    height: 30px;
    animation: float-slow 20s linear infinite;
    animation-delay: -10s;
    opacity: 0.4;
}

.leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 70% 30%, #94c9a9 0%, #6d8b74 90%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(45deg);
    opacity: 0.2;
    filter: blur(1px);
}

.leaf-1 {
    top: 25%;
    left: 20%;
    animation: falling 30s linear infinite;
}

.leaf-2 {
    top: 10%;
    right: 30%;
    width: 20px;
    height: 20px;
    animation: falling 25s linear infinite;
    animation-delay: -5s;
}

.leaf-3 {
    bottom: 40%;
    left: 15%;
    animation: falling 20s linear infinite;
    animation-delay: -10s;
}

.dust {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    filter: blur(1px);
}

.dust-1 {
    top: 30%;
    left: 40%;
    animation: dust-float 15s ease-in-out infinite alternate;
}

.dust-2 {
    top: 40%;
    right: 35%;
    animation: dust-float 12s ease-in-out infinite alternate-reverse;
    animation-delay: -3s;
}

.dust-3 {
    bottom: 35%;
    left: 45%;
    animation: dust-float 18s ease-in-out infinite alternate;
    animation-delay: -7s;
}

@keyframes float-slow {
    0% { transform: translateX(0); }
    50% { transform: translateX(50px); }
    100% { transform: translateX(0); }
}

@keyframes falling {
    0% {
        transform: translateY(-100vh) rotate(45deg);
    }
    100% {
        transform: translateY(100vh) rotate(405deg);
    }
}

@keyframes dust-float {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 30px);
    }
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.logo-container {
    position: relative;
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 8px 25px rgba(171, 145, 68, 0.25));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
}

.header:hover .logo-container {
    transform: translateY(-5px) rotate(3deg);
    filter: drop-shadow(0 12px 30px rgba(171, 145, 68, 0.35));
}

.logo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(134, 201, 157, 0.8), rgba(195, 230, 212, 0.85));
    border-radius: 50%;
    position: relative;
    overflow: visible;
    box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.1),
                0 10px 20px rgba(148, 201, 169, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.logo::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 40% 40%, 
                rgba(148, 201, 169, 0.4) 0%, 
                rgba(195, 230, 212, 0.7) 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(148, 201, 169, 0.4) inset;
    z-index: 1;
    filter: blur(4px);
}

.logo::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 25px;
    left: 25px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    animation: float 3s ease-in-out infinite;
    z-index: 5;
}

.site-title {
    position: absolute;
    font-size: 3.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, rgba(70, 105, 80, 0.9), rgba(93, 122, 100, 0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
    z-index: 3;
    transform: translateY(3px);
}

.logo-text {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bubble/jelly effect elements */
.bubble-shine {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: 2;
}

.bubble-shine-1 {
    width: 45px;
    height: 45px;
    top: 15%;
    left: 60%;
    transform: rotate(25deg);
    filter: blur(2px);
}

.bubble-shine-2 {
    width: 25px;
    height: 15px;
    bottom: 25%;
    left: 30%;
    transform: rotate(-15deg);
    filter: blur(1px);
}

.jelly-wobble {
    animation: jelly-wobble 7s ease-in-out infinite;
}

@keyframes jelly-wobble {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    30% {
        transform: scale(1.03, 0.97) translateY(2px);
    }
    60% {
        transform: scale(0.98, 1.02) translateY(-2px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.1);
    }
}

.stars {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                0 0 20px rgba(255, 255, 255, 0.6);
    opacity: 0;
    z-index: 4;
}

.star-1 {
    top: 15%;
    right: 20%;
    animation: twinkle 4s infinite 0.5s;
}

.star-2 {
    top: 60%;
    left: 25%;
    animation: twinkle 3s infinite 1s;
}

.star-3 {
    bottom: 20%;
    right: 30%;
    animation: twinkle 5s infinite 1.5s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
}

.content {
    text-align: center;
    max-width: 700px;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #6d8b74, #94c9a9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 3px 3px 6px rgba(148, 201, 169, 0.2);
    transform-style: preserve-3d;
    perspective: 500px;
}

.subheading {
    font-size: 1.25rem;
    color: #766153;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.01em;
    font-family: "Comfortaa", cursive;
    margin-bottom: 0.3rem;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.content:hover .subheading {
    transform: translateY(-2px);
}

.subheading:first-of-type {
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
    color: #5c4b3c;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    display: inline-block;
}

.subheading:first-of-type::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(148, 201, 169, 0.5), transparent);
    border-radius: 3px;
    opacity: 0.8;
}

.content .highlight {
    font-family: "Caveat", cursive;
    font-size: 1.8rem;
    color: #6d8b74;
    font-weight: 500;
    display: inline-block;
    transform: rotate(-2deg);
    margin: 0 4px;
    position: relative;
}

.content .highlight::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -2px;
    right: -2px;
    height: 7px;
    background-color: rgba(148, 201, 169, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 4rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(171, 145, 68, 0.2),
                0 0 0 1px rgba(171, 145, 68, 0.05),
                0 0 30px rgba(148, 201, 169, 0.2) inset;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(171, 145, 68, 0.25),
                0 0 0 2px rgba(171, 145, 68, 0.1),
                0 0 40px rgba(148, 201, 169, 0.3) inset;
}

.image-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.email-form {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    display: flex;
    gap: 1rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    z-index: 2;
    transition: all 0.3s ease;
}

.email-form:hover {
    background: transparent;
}

input[type="email"] {
    flex: 1;
    border: 2px solid rgba(109, 139, 116, 0.2);
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    transition: all 0.3s ease;
    color: #5c4b3c;
    font-family: "M PLUS Rounded 1c", sans-serif;
}

input[type="email"]::placeholder {
    color: #8a7364;
    opacity: 0.8;
}

input[type="email"]:focus {
    border-color: rgba(109, 139, 116, 0.5);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 4px rgba(109, 139, 116, 0.1);
}

input[type="email"].error {
    border-color: rgba(220, 90, 90, 0.5);
    background: rgba(255, 244, 244, 0.6);
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-3px); }
    40%, 60% { transform: translateX(3px); }
}

.error-message {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    text-align: center;
    color: #df4a4a;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: "Comfortaa", cursive;
}

.error-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.error-message::before {
    content: "✗";
    display: inline-block;
    margin-right: 5px;
    font-weight: bold;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.modal-overlay.visible .success-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.success-modal-header {
    width: 100%;
    padding: 20px;
    background: linear-gradient(45deg, #6d8b74, #94c9a9);
    position: relative;
}

.success-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto;
    position: relative;
    top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.success-modal-content {
    padding: 50px 30px 30px;
    text-align: center;
}

.success-modal h3 {
    font-size: 1.8rem;
    color: #6d8b74;
    margin-bottom: 1rem;
    font-family: "Comfortaa", cursive;
}

.success-modal p {
    font-size: 1rem;
    color: #766153;
    line-height: 1.5;
    margin-bottom: 20px;
    font-family: "Comfortaa", cursive;
}

.modal-note {
    font-size: 0.85rem;
    color: #8a7364;
    opacity: 0.8;
    font-style: italic;
    padding: 0 10px;
    margin-bottom: 25px;
}

.success-modal-close {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, #6d8b74, #94c9a9);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "M PLUS Rounded 1c", sans-serif;
}

.success-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(109, 139, 116, 0.25);
}

button {
    background: linear-gradient(45deg, #6d8b74, #94c9a9);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(109, 139, 116, 0.2);
    white-space: nowrap;
    font-family: "M PLUS Rounded 1c", sans-serif;
    letter-spacing: 0.02em;
}

button:hover {
    background: linear-gradient(45deg, #5d7a64, #83b898);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(109, 139, 116, 0.25);
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.footer {
    width: 100%;
    max-width: 1000px;
    margin-top: auto;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #766153;
    font-size: 0.95rem;
    border-top: 1px solid rgba(171, 145, 68, 0.1);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: #766153;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 0.7;
}

.social-links a:hover {
    color: #6d8b74;
    transform: translateY(-3px);
    opacity: 1;
}

.social-links svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 2px 4px rgba(148, 201, 169, 0.1));
}

.copyright {
    font-weight: 300;
    color: #766153;
    opacity: 0.8;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2.5rem;
    }

    .logo-container {
        margin-right: 0;
        width: 130px;
        height: 130px;
    }

    .logo::before {
        width: 100px;
        height: 100px;
    }

    .logo::after {
        width: 25px;
        height: 25px;
        top: 22px;
        left: 22px;
    }
    
    .site-title {
        font-size: 3.2rem;
    }

    .bubble-shine-1 {
        width: 35px;
        height: 35px;
    }

    .bubble-shine-2 {
        width: 20px;
        height: 12px;
    }

    h1 {
        font-size: 2.8rem;
    }

    .subheading:first-of-type {
        font-size: 1.3rem;
    }

    .subheading {
        font-size: 1.1rem;
    }

    .content .highlight {
        font-size: 1.4rem;
    }

    .image-container {
        margin-bottom: 3rem;
    }

    .email-form {
        padding: 0;
        gap: 0.75rem;
    }

    input[type="email"] {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .success-modal {
        width: 95%;
    }

    .success-modal-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }

    .success-modal h3 {
        font-size: 1.5rem;
    }

    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 0;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }

    .error-message {
        bottom: -55px;
    }

    .success-modal {
        width: 95%;
    }

    .success-modal-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }

    .success-modal h3 {
        font-size: 1.5rem;
    }

    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 0;
    }

    .social-links {
        justify-content: center;
    }
} 