:root {
    /* Colors */
    --primary-color: #0056D2;
    /* Trustworthy Blue */
    --primary-light: #E6F0FF;
    --secondary-color: #00A896;
    /* Medical/Healing Teal */
    --accent-color: #F8F9FA;
    /* Light gray background */
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --border-color: #E0E0E0;

    /* Fonts */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-jp);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.jp {
    font-size: 0.6em;
    display: block;
    font-weight: normal;
    color: var(--text-light);
    margin-top: 5px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    min-width: 200px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #0044a8;
    border-color: #0044a8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 210, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 210, 0.1);
}

.btn-line {
    background-color: #06C755;
    color: var(--white);
    border: 2px solid #06C755;
}

.btn-line:hover {
    background-color: #05b34c;
    border-color: #05b34c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.2);
}

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

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

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-jp {
    color: var(--text-color);
    font-weight: 400;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
}

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

.btn-nav-contact {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-nav-contact:hover {
    color: var(--white) !important;
    background-color: #0044a8;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Hero (text overlay on image) */
.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 520px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
    margin: 80px 20px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Specific page hero backgrounds */
.home-hero {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.05) 100%),
        url("../assets/images/hero-main.png");
}

.service-hero {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.05) 100%),
        url("../assets/images/F25E7D41-4FBE-4011-A279-C273EF7A6D99.PNG");
}

.flow-hero {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.05) 100%),
        url("../assets/images/25D0C3AB-1B0E-40F5-A3B0-EAE24F1E46A8.PNG");
}

.pricing-hero {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.05) 100%),
        url("../assets/images/1A3F15A6-89B4-449B-99C3-5DB435C8A745.PNG");
}

.business-hero {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.05) 100%),
        url("../assets/images/E015B0C2-9742-405F-8DD8-48CFAC38E48C.PNG");
}

.faq-hero {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.05) 100%),
        url("../assets/images/155FCB0E-E079-4E6F-B4EB-6AEFD3B621D2.PNG");
}

.contact-hero {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.05) 100%),
        url("../assets/images/46C04E2B-8226-4279-B04F-900542458C5D.PNG");
}

.hero-image {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 64px 24px;
    color: #fff;
    /* Removed backdrop-filter to keep it clean with the new gradient */
    background: transparent;
    border: none;
}

.hero-title {
    font-family: var(--font-en);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: var(--font-jp);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-main-copy {
    display: block;
    font-size: 1.8rem;
    margin-top: 10px;
}

.hero-sub-copy {
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-trust {
    margin-top: 40px;
    opacity: 0.9;
}

.hero-trust .hero-badge {
    margin-bottom: 8px;
}

.hero-trust p {
    font-size: 0.8rem;
    margin: 0;
}

.hero-note {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
}

/* Unified CTA Block System */
.cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 12px;
    font-size: 13px;
    color: #666;
    text-align: left;
    line-height: 1.6;
    width: 100%;
    max-width: 600px;
    font-weight: 400;
}

.cta-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Hero Section (Dark Background) Context */
.hero .cta-note {
    color: rgba(255, 255, 255, 0.85);
}

/* Page Hero (Centered) Context */
.page-hero .hero-content .cta-block {
    align-items: center;
}

.page-hero .hero-content .cta-buttons {
    justify-content: center;
}

.page-hero .hero-content .cta-note {
    text-align: center;
}

/* Bottom CTA sections (Centered) Context */
.cta-section .cta-block {
    align-items: center;
}

.cta-section .cta-buttons {
    justify-content: center;
}

.cta-section .cta-note {
    text-align: center;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn {
        min-width: 0;
        width: 100%;
    }
}

/* English Supplementary Styling */
.en-tagline {
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-en);
    margin-top: 5px;
    opacity: 0.85;
}

.footer .en-tagline {
    margin-top: 5px;
    font-size: 0.85rem;
}

.lang-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 10px 0;
    font-family: var(--font-en), var(--font-jp);
    width: 100%;
}

.hero .lang-indicator {
    color: rgba(255, 255, 255, 0.85);
    margin: 10px 0 15px;
    justify-content: flex-start;
}

.lang-indicator span {
    background: #f0f4f8;
    padding: 2px 8px;
    border-radius: 4px;
}

.hero .lang-indicator span {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

/* Badges and Tags */
.badge-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    font-weight: 700;
}

.badge-tag-individual {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.badge-tag-business {
    background-color: #f1f3f5;
    color: #495057;
}



/* スマホ */
@media (max-width: 768px) {
    .hero-cta-balanced {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-balanced .cta-item {
        align-items: stretch;
    }
}

/* Numbered Badges */
.num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.num-badge-sm {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
}

.section-title .jp {
    font-family: var(--font-jp);
    font-size: 1rem;
    margin-top: 10px;
    letter-spacing: 0.1em;
}

/* Concept */
.concept {
    background-color: var(--white);
}

.problem-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.problem-item {
    text-align: center;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    width: 320px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.problem-icon {
    margin-bottom: 20px;
}

.problem-icon img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.concept-message {
    text-align: center;
    background-color: var(--primary-light);
    padding: 40px;
    border-radius: 15px;
}

.concept-message h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Service Teaser */
.service-teaser {
    background-color: var(--accent-color);
}

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

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
}

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

.card-icon {
    margin-bottom: 20px;
    /* Removed background/width/height/radius/line-height/border-radius as we are using clean images now */
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
}

.card-icon img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-cta {
    text-align: center;
}

/* Business Teaser */
.business-teaser {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.business-teaser .section-title {
    color: var(--white);
}

.business-teaser .jp {
    color: rgba(255, 255, 255, 0.8);
}

.business-content p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.business-teaser .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.business-teaser .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

/* News */
.news {
    background-color: var(--white);
    padding: 60px 0;
}

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

.news-list li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.news-list .date {
    font-family: var(--font-en);
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-list .category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2px 8px;
    font-size: 0.8rem;
    border-radius: 2px;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

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

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* LINE CTA Components */
.line-qr-wrapper {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {

    /* Hide QR codes on mobile */
    .line-qr-wrapper {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        padding: 40px;
        transition: 0.3s;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 42px 18px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }


    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

#business-form {
    scroll-margin-top: 100px;
}

/* Legal Content Refinement */
.legal-content p,
.legal-content li {
    line-height: 2;
    margin-bottom: 1.2rem;
}

.legal-intro {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--primary-light);
    border-radius: 8px;
}

/* Contact Page Specific */
.line-contact-box {
    background: rgba(0, 86, 210, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #0056D2;
    margin-bottom: 60px;
    text-align: center;
}

.line-contact-box h2 {
    color: #0056D2;
    margin-bottom: 15px;
}

.line-contact-box p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #666;
}

.line-qr-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}

.line-qr-code {
    width: 240px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.line-contact-box .cta-note {
    text-align: center;
}

.business-contact-header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 80px;
}

.business-contact-header h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #0056D2;
}

#success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}