:root {
    /* Colors */
    --primary-color: #1a2748;
    /* Deep Navy - Trustworthy, Elegant */
    --accent-color: #c5a059;
    /* Muted Gold - Premium */
    --text-main: #333333;
    --text-sub: #666666;
    --bg-body: #fdfaf6;
    /* Warm White */
    --bg-white: #ffffff;
    --bg-dark: #121212;

    /* Fonts */
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    line-height: 1.4;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #2c4075;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 39, 72, 0.2);
}

.btn-accent {
    background: linear-gradient(135deg, #d4af37 0%, #c5a059 100%);
    color: #fff;
}

.btn-accent:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Header */
.header {
    padding: 20px 0;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
}

.logo-icon {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    color: var(--text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .btn {
        width: 100%;
        margin-bottom: 15px;
    }
}

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

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

.page-header-mini {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

/* Pricing Plans Styles */
.plans-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 50px auto;
    align-items: stretch;
    flex-wrap: wrap;
}

.plan-category-title {
    width: 100%;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.plan-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background-color: var(--accent-color);
}

.plan-card {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    /* Base font size up */
}

.plan-card.plan-navy {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 12px;
}

.plan-card.plan-blue {
    background-color: #34495e;
    /* Stronger Blue-Gray / Navy Blue variation */
    color: #fff;
    border-radius: 12px;
}

.plan-card.plan-orange {
    background-color: #f39c12;
    /* Bright and Premium Orange */
    color: #fff;
    border-radius: 12px;
}

.plan-card.plan-green {
    background-color: #9cbd2e;
    /* Fresh and Healthy Yellow-Green */
    color: #fff;
    border-radius: 12px;
}

.plan-card.plan-dark {
    background-color: #222;
    color: #fff;
    border-radius: 4px;
}

.plan-card.plan-light {
    background-color: #f9f9f9;
    color: #333;
    border-radius: 4px;
    border: 1px solid #eee;
}

.plan-title {
    font-size: 1.25rem;
    /* Larger */
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-align: center;
    font-weight: 700;
    /* Bolder */
    opacity: 1;
}

.plan-price-block {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-serif);
}

.price-original {
    text-decoration: line-through;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-right: 10px;
}

.price-current {
    font-size: 2.6rem;
    /* Larger */
    font-weight: 700;
}

.price-period {
    display: block;
    /* Break line for emphasis if needed, or keep same line but larger */
    font-size: 1.1rem;
    /* Much larger */
    margin-top: 5px;
    font-weight: 700;
    color: var(--accent-color);
    /* Highlight color */
}

.plan-navy .price-period,
.plan-blue .price-period,
.plan-orange .price-period,
.plan-green .price-period {
    color: #ffd700;
    /* Golden/Yellow for dark backgrounds */
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex-grow: 1;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
}

/* Plan Button Adjustments */
.plan-navy .btn-select,
.plan-blue .btn-select {
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
}

.plan-dark .plan-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-features li::before {
    content: '✓';
    color: #4da6ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.btn-select {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    margin-top: 30px;
    text-decoration: none;
    letter-spacing: 0.1em;
    border: 1px solid currentColor;
    transition: all 0.3s;
    font-family: var(--font-serif);
}

.plan-dark .btn-select {
    background: #fff;
    color: #222;
    border: none;
}

.plan-dark .btn-select:hover {
    background: #eee;
}

.plan-light .btn-select {
    background: transparent;
    color: #333;
}

.plan-light .btn-select:hover {
    background: #333;
    color: #fff;
}

.plan-special {
    background: linear-gradient(135deg, #fdfaf6 0%, #f5eee0 100%);
    border: 1px solid var(--accent-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.1);
}

.plan-special .plan-title {
    color: var(--accent-color);
    font-weight: 700;
}

.price-sub-note {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-top: 10px;
    text-align: center;
    line-height: 1.6;
}

/* FAQ Styles */
.faq-section {
    max-width: 800px;
    margin: 80px auto;
}

.faq-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.faq-list {
    border-top: 1px solid #ddd;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.faq-question {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.faq-question::before {
    content: 'Q.';
    color: var(--primary-color);
    margin-right: 15px;
    font-family: var(--font-serif);
}

.faq-answer {
    padding-left: 30px;
    line-height: 1.6;
    color: var(--text-sub);
    font-size: 0.95rem;
}


/* Campaign Badge */
.plan-card {
    position: relative;
    overflow: hidden;
}

.badge-campaign {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #e74c3c;
    color: #fff;
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.review-card {
    background: var(--bg-body);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-10px);
}

.review-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-meta {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-main);
    text-align: left;
}

.blur-faces {
    filter: blur(8px);
    transition: filter 0.3s;
}

.blur-faces:hover {
    filter: blur(0px);
    /* Optional: Clear on hover if desired, or keep blurred */
}

/* Animations Global */
section,
.service-card,
.step-item,
.feature-item,
.flow-step,
.review-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

section.visible,
.service-card.visible,
.step-item.visible,
.feature-item.visible,
.flow-step.visible,
.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Compact Plan Card Adjustment */
.plan-card.is-compact {
    max-width: 450px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
}

.plan-card.is-compact .plan-features {
    text-align: center;
    margin-top: 20px;
}

.plan-card.is-compact .plan-features li {
    padding-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-block;
    width: 100%;
}

.plan-card.is-compact .plan-features li::before {
    display: none;
}