:root {
    --primary-color: #ea580c;
    /* Warm Orange */
    --primary-light: #ffedd5;
    --secondary-color: #16a34a;
    /* Green for LINE */
    --secondary-light: #dcfce7;
    --bg-color: #fdfbf7;
    /* Warm off-white */
    --bg-white: #ffffff;
    --text-main: #3f3f46;
    /* Dark grey */
    --text-light: #71717a;
    --accent-color: #f59e0b;
    /* Amber/Yellow for highlights */
    --border-color: #e4e4e7;
    --max-width: 1000px;
    --header-height: 80px;
}

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

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.4;
    font-weight: 700;
}

/* Typography Utility */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-bold {
    font-weight: 700;
}

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

.section {
    padding: 80px 0;
}

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

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

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

.btn.btn-primary:hover {
    background-color: #c2410c;
}

.btn.btn-line {
    background-color: var(--secondary-color);
    color: white;
}

.btn.btn-line:hover {
    background-color: #15803d;
}

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

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

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

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-img-footer {
    height: 60px;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 0 auto;
}

.header-cta {
    display: flex;
    gap: 12px;
}

.header-cta .btn {
    padding: 8px 24px;
    font-size: 0.9rem;
}

/* First View (Hero) */
.hero {
    padding-top: calc(var(--header-height));
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
}

.mv-img-wrap {
    width: 100%;
    max-width: 1200px;
    /* limits width on ultra wide screens */
    margin: 0 auto;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 30px;
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 40px;
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-footer-text {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* Empathy Section */
.empathy-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.empathy-img {
    flex: 1;
    max-width: 400px;
}

.empathy-content {
    flex: 1;
}

.worries-box {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 2px solid var(--primary-light);
    position: relative;
}

.worries-box::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.worries-list {
    margin-top: 20px;
}

.worries-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-weight: 600;
}

.worries-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ef4444;
    /* red for pain point initially, but maybe secondary? */
    position: absolute;
    left: 0;
    top: 2px;
}

.needs-list {
    margin-top: 50px;
    background-color: var(--primary-light);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.15);
    border: 3px solid var(--primary-color);
    position: relative;
}

.needs-list h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: white;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 20px;
    border-radius: 30px;
    border: 3px solid var(--primary-color);
    white-space: nowrap;
}

.needs-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 20px auto 0;
}

.needs-list ul li {
    position: relative;
    font-weight: 700;
    color: var(--text-main);
    background-color: white;
    padding: 16px 16px 16px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
}

.needs-list ul li:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.needs-list ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    background-color: var(--primary-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

/* Service Overview */
.service-bg-section {
    position: relative;
    background-image: url('lp_images/hero_bg.png');
    /* Using the provided warm clinic background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(253, 251, 247, 0.4);
    /* Lighter translucent overlay for letting more image through */
    z-index: 1;
}

.relative-container {
    position: relative;
    z-index: 2;
}

.service-content-card {
    background: rgba(253, 251, 247, 0.7);
    padding: 50px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.service-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.4;
}

.service-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-highlight {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 700;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Reasons */
.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
}

.reason-card-horizontal {
    display: flex;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.reason-img-wrap {
    flex: 1;
    min-width: 45%;
}

.reason-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.reason-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reason-card-horizontal:nth-child(even) {
    flex-direction: row-reverse;
}

.reason-number {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 20px;
    align-self: flex-start;
}

.reason-content h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.5;
}

.reason-content p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Recommended */
.recommended-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-direction: row-reverse;
}

.recommend-list {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    margin-top: 20px;
}

.recommend-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    border-bottom: 1px dashed var(--border-color);
    font-weight: 600;
}

.recommend-list li:last-child {
    border-bottom: none;
}

.recommend-list li::before {
    content: '\f164';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 14px;
}

/* Portfolio */
.portfolio-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.portfolio-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img-wrap img {
    transform: scale(1.05);
}

/* Pricing */
.pricing-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-box {
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.pricing-box::before {
    content: 'Simple & Clear';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.8rem;
}

.price-item {
    margin-bottom: 30px;
}

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

.price-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.price-value span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-left: 5px;
}

.pricing-divider {
    height: 2px;
    background: var(--border-color);
    margin: 30px 0;
    position: relative;
}

.pricing-divider::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 10px;
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 700;
}

.pricing-features {
    text-align: left;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.pricing-feature-tag {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

/* Flow */
.flow-intro {
    text-align: center;
    margin-bottom: 40px;
}

.flow-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.flow-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 4px;
    background: var(--primary-light);
    border-radius: 2px;
}

.flow-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.flow-step-number {
    width: 84px;
    height: 84px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    border: 4px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flow-step-number span {
    font-size: 0.8rem;
    font-weight: 700;
}

.flow-step-content {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-left: 30px;
    flex: 1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.flow-step-content::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -10px;
    transform: translateY(-50%);
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent white transparent transparent;
}

.flow-step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-q {
    padding: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
}

.faq-q-inner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-q i.q-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.faq-toggle {
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-color);
}

.faq-item.active .faq-a {
    padding: 20px;
    max-height: 500px;
    /* arbitrary large value */
    border-top: 1px solid var(--border-color);
}

.faq-a-inner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-a i.a-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Difference Section Background */
.difference-bg-section {
    position: relative;
    background-image: url('lp_images/sec10_backimg.jpg');
    /* relaxing massage/osteopathic clinic interior */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

/* Removed old Difference classes */

/* Push to Contact */
.push-contact {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.push-contact p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color), #c2410c);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.final-cta .section-title {
    color: white;
}

.final-cta .section-title::after {
    background-color: white;
}

.final-cta-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.final-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

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

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

/* Footer */
.footer {
    background-color: #27272a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-copy {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #a1a1aa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 38px;
    }

    .logo-img-footer {
        height: 48px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .header-cta {
        display: none;
        /* Hide top CTA on mobile for simplicity, or show a simpler one */
    }

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

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

    .empathy-flex,
    .recommended-flex {
        flex-direction: column;
    }

    .empathy-img,
    .recommended-img {
        max-width: 100%;
    }

    .flow-container::before {
        left: 30px;
    }

    .flow-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .flow-step-content {
        margin-left: 20px;
        padding: 20px;
    }

    .flow-step-content::before {
        top: 20px;
    }

    .price-value {
        font-size: 2.5rem;
    }

    .needs-list {
        padding: 50px 15px 20px;
        margin-top: 60px;
    }

    .needs-list h3 {
        font-size: 1.05rem;
        white-space: normal;
        text-align: center;
        padding: 10px 15px;
        line-height: 1.4;
        width: 90%;
    }

    .service-content-card {
        padding: 30px 20px;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-text {
        font-size: 1rem;
    }

    .reason-card-horizontal,
    .reason-card-horizontal:nth-child(even) {
        flex-direction: column;
    }

    .reason-img-wrap {
        width: 100%;
    }

    .reason-content {
        padding: 30px 20px;
    }

    .reason-content h3 {
        font-size: 1.25rem;
    }
}

/* Mobile Floating Menu */
.mobile-float-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none; /* Hidden by default on desktop */
    grid-template-columns: repeat(3, 1fr);
    z-index: 2000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
    .mobile-float-menu {
        display: grid;
    }
}

.float-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    gap: 4px;
    height: 100%;
}

.float-item i {
    font-size: 1.4rem;
}

.float-tel {
    color: var(--primary-color);
}

.float-email {
    color: var(--text-main);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.float-line {
    color: var(--secondary-color);
}

/* Add padding to the bottom of the body so content isn't hidden by the floating menu */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }
}