:root {
    --primary: #0d9488;
    --primary-light: #ccfbf1;
    --primary-dark: #0f766e;
    --secondary: #d97706;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sm { font-size: 0.875rem; color: var(--gray); }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }

/* Layout */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.align-center {
    align-items: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-brand {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.1); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.2s;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 9999px;
    font-family: var(--font-en);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-sm {
    font-size: 0.75rem;
    padding: 0.1rem 0.5rem;
    vertical-align: middle;
}

.badge-outline {
    background: transparent;
    border: 1px solid currentColor;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
}

.hero h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(13, 148, 136, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.hero .disclaimer {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--dark) !important;
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--dark);
    background: var(--light);
}

.btn-block {
    display: flex;
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    animation: bounce 2s infinite;
}

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

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-left::after {
    left: 0;
    transform: none;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

/* Pricing */
.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .pricing-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card.premium {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary), var(--shadow);
    transform: scale(1.05);
}

.pricing-card.premium:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card.premium::before {
    content: 'おすすめ';
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 3rem;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(45deg);
}

.card-header h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.price-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.price {
    margin: 1.5rem 0;
    color: var(--dark);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-en);
    line-height: 1;
}

.currency {
    font-size: 1.2rem;
    font-weight: 500;
}

.period {
    color: var(--gray);
}

.plus {
    font-size: 1.5rem;
    margin: 0 0.5rem;
    color: var(--gray);
}

.note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border);
}

/* Feature Cards */
.feature-card {
    height: 100%;
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.list {
    list-style: none;
}

.list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

.point-intro {
    background: #fffbeb;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Info Section */
.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--light);
    border-radius: 8px;
    font-weight: 600;
}

.alert {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary-dark);
}

.alert i {
    flex-shrink: 0;
}

.cta-card {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    color: white;
    border: none;
}

.cta-card h3 {
    color: white;
}

.cta-card p {
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.cta-card .btn-primary {
    background: white;
    color: var(--primary-dark) !important;
}

.cta-card .btn-primary:hover {
    background: var(--light);
}

.contact-info {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Accordion */
.accordion {
    /* Container styles removed to allow spacing between items */
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--light);
}

.accordion-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px; /* arbitrary large value */
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-left: 4px solid var(--primary);
    background: #ffffff;
    height: 100%;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
}

.testimonial-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}

.tag-face {
    background: #e0f2f1;
    color: #00796b;
}

.tag-remote {
    background: #fff3e0;
    color: #e65100;
}

.testimonial-body {
    font-size: 0.95rem;
    color: var(--dark);
    white-space: pre-wrap;
}

.testimonial-quote {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.1;
    color: var(--primary);
}

.testimonial-date-label {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary);
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

/* Before After Video */
.video-comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .video-comparison {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.video-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.video-label {
    display: block;
    padding: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--primary-light);
    color: var(--primary-dark);
}

.video-label.after {
    background: #fff3e0;
    color: #e65100;
}

.video-wrapper {
    position: relative;
    padding-top: 177.77%; /* 9:16 Aspect Ratio (Vertical Video) */
    width: 100%;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-caption {
    padding: 1.5rem;
    font-size: 0.95rem;
    color: var(--gray);
}

/* Table */
.table-responsive {
    overflow-x: auto;
    margin-top: 1rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    text-align: left;
}

.table th {
    background: var(--light);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Highlight Blink Animation */
@keyframes blinkHighlight {
    0% { background-color: var(--white); }
    20% { background-color: #fef08a; } /* yellow-200 */
    50% { background-color: #fef08a; }
    100% { background-color: var(--white); }
}

.highlight-blink {
    animation: blinkHighlight 2.5s ease-out;
}

.footer-logo {
    font-family: var(--font-en);
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 魔法のボディマップ */
.body-zone {
    fill: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.body-zone:hover {
    fill: rgba(245, 158, 11, 0.3);
    stroke: var(--secondary);
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
}
.sparkle {
    position: absolute;
    font-size: 2.5rem;
    pointer-events: none;
    animation: sparkle-anim 0.8s ease-out forwards;
    z-index: 10;
}
@keyframes sparkle-anim {
    0% { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.5) rotate(180deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.5) rotate(360deg); opacity: 0; }
}
