/* index.htmlの<style>～</style>内のCSSをすべてここに移動 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ff2d2d 0%, #ff5e62 60%, #fff0f0 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: rgba(255,240,240,0.97);
    border-radius: 2rem;
    box-shadow: 0 4px 32px rgba(255,45,45,0.07);
}

header {
    background: rgba(255, 240, 240, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(255, 45, 45, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff2d2d;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(255, 45, 45, 0.3);
}

.header-links .btn {
    background: linear-gradient(90deg, #ff2d2d, #ff6a6a);
    border: 1px solid #ff2d2d;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #b30000;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #ff2d2d;
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #ff2d2d, #ff6a6a);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

main {
    margin-top: 80px;
    padding: 2rem 0;
}

.page {
    display: none;
    background: #fff0f0;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(255, 45, 45, 0.08);
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: none;
    color: #a00000;
    background-color: #fff;
    padding: 1.4rem 2.8rem;
    border-radius: 2.8rem;
    display: inline-block;
    box-shadow: 0 4px 18px rgba(255,45,45,0.18);
    font-weight: bold;
    letter-spacing: 0.08em;
    border: 2px solid #ffb3b3;
}

.hero p {
    font-size: 1.3rem;
    color: #a00000;
    background: #fff;
    font-weight: bold;
    padding: 1.2rem 2.2rem;
    border-radius: 2.2rem;
    display: inline-block;
    box-shadow: 0 4px 18px rgba(255,45,45,0.13);
    margin-bottom: 3rem;
    border: 2px solid #ffb3b3;
}

.flow, .partners, .gift-cards {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 2px 12px rgba(255,45,45,0.07);
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
}

.card {
    background: #fff0f0;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #ffb3b3;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(255,45,45,0.07);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 45, 45, 0.15), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 45, 45, 0.13);
}

.card h3 {
    color: #ff2d2d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: #b30000;
    margin-bottom: 1.5rem;
}

.rate {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff2d2d;
    margin-bottom: 1rem;
}

.btn {
    background: linear-gradient(135deg, #ff2d2d, #ff6a6a 80%, #ffb3b3 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 45, 45, 0.08);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 45, 45, 0.18);
    background: linear-gradient(135deg, #ff6a6a, #ff2d2d 80%, #ffb3b3 100%);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #b30000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffb3b3;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 240, 240, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff2d2d;
    box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.08);
    transform: translateY(-2px);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.partners {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #ffb3b3;
}

.partners h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ff2d2d;
}

.partner-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.partner-link {
    background: #fff0f0;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #ffb3b3;
}

.partner-link:hover {
    background: #ffe5e5;
    transform: translateY(-5px);
}

.partner-link a {
    text-decoration: none;
    color: #ff2d2d;
    font-weight: 500;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .gift-cards {
        grid-template-columns: 1fr;
    }
    .page {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
}

.terms-content, .privacy-content, .company-content {
    line-height: 1.8;
    background: #fff0f0;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 2px 12px rgba(255,45,45,0.07);
    color: #b30000;
}

.terms-content h2, .privacy-content h2, .company-content h2 {
    color: #ff2d2d;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #ffb3b3;
    padding-bottom: 0.5rem;
    background: none;
}

.terms-content h3, .privacy-content h3 {
    color: #ff6a6a;
    margin: 1.5rem 0 0.5rem 0;
}

.company-info {
    background: #fff0f0;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.success-message {
    background: linear-gradient(135deg, #ff2d2d, #ff6a6a 80%, #ffb3b3 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin: 1rem 0;
    display: none;
} 