@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho:wght@400;500;600;700&display=swap');

:root {
    /* Healthy Deep Green (Emerald) */
    --color-primary: #064e3b;
    /* Fresh Green / Nature */
    --color-secondary: #059669;
    /* Clean Water Teal */
    --color-link: #0d9488;
    /* Vitamin Orange for Vitality */
    --color-accent: #ea580c;
    /* Fresh Mint/Clean White Background */
    --color-bg: #f5fbf9;
    /* Natural Dark Color */
    --color-text: #334155;

    --font-sans: "Noto Sans JP", "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.04em;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

.container {
    width: 90%;
    max-width: 1080px;
    /* Slightly wider for modern feel */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

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

.d-flex {
    display: flex;
}

.gap-4 {
    gap: 1.5rem;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-primary);
    line-height: 1.2;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
}

.logo span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-secondary);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
    font-family: var(--font-sans);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
}

/* Hero */
.hero {
    padding: 7rem 0;
    background: linear-gradient(to bottom, #f1f5f9, #fff);
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 2rem;
    font-feature-settings: "palt";
    font-weight: 700;
}

.hero-label {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Sections */
section {
    padding: 5rem 0;
}

h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 3.5rem;
    position: relative;
    display: inline-block;
}

/* Subtle underline/accent for titles */
.text-center h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 1rem auto 0;
}

.bg-surface {
    background: var(--color-bg);
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(180, 142, 67, 0.3);
}

.card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Flow Styles */
.flow-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 6rem;
    position: relative;
    padding: 0;
    list-style: none;
}

.flow-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

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

.flow-title {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.flow-desc {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* Arrow between items (PC only) */
@media (min-width: 769px) {
    .flow-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 45px;
        right: -50%;
        width: 100%;
        height: 1px;
        background: #cbd5e1;
        z-index: -1;
        transform: translateY(-50%);
    }

    .flow-item:not(:last-child)::before {
        content: '';
        position: absolute;
        top: 45px;
        right: -6px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 5px 0 5px 6px;
        border-color: transparent transparent transparent #cbd5e1;
        transform: translateY(-50%);
        z-index: 0;
        left: auto;
        margin-right: -50%;
    }
}

@media (max-width: 768px) {
    .flow-list {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
    }

    .flow-item::after {
        content: '';
        position: absolute;
        bottom: -1.75rem;
        left: 50%;
        width: 1px;
        height: 1.75rem;
        background: #cbd5e1;
        transform: translateX(-50%);
    }

    .flow-item:last-child::after {
        display: none;
    }

    .flow-item:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: -1.75rem;
        left: 50%;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #cbd5e1;
        transform: translateX(-50%);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(234, 88, 12, 0.35);
    filter: brightness(1.05);
}

.btn-secondary {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: var(--color-primary);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: #f8fafc;
}

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

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

/* CTA Box */
.cta-box {
    background: var(--color-primary);
    color: #fff;
    padding: 5rem 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.15);
    margin: 3rem auto;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern to CTA */
.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 40%);
    pointer-events: none;
}

.cta-box h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.cta-box h2::after {
    display: none;
    /* Remove default underline for CTA box */
}

.cta-box p {
    color: #cbd5e1;
    margin-bottom: 3rem !important;
    font-size: 1.1rem;
}

/* Fix button alignment in CTA */
.cta-box .d-flex {
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 3rem 1.5rem;
        margin: 2rem 1rem;
        border-radius: var(--radius-md);
    }

    .cta-box .d-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-box .btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Footer */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 5rem 0 3rem;
    font-size: 0.95rem;
}

.footer h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.3s;
}

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

/* FAQ */
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem 0;
}

.faq-q {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
}

.faq-q::before {
    content: "Q";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 900;
}

.faq-a {
    padding-left: 2rem;
    color: var(--color-text);
}

/* ===== Sticky CTA (B2B) ===== */
:root {
    --biz-navy: #1e293b;
    --biz-gray: #64748b;
    --biz-border: #e2e8f0;
    --biz-bg: rgba(255, 255, 255, 0.95);
    --biz-bar-h: 70px;
}

/* Mobile only */
.biz-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--biz-bg);
    backdrop-filter: blur(4px);
    border-top: 1px solid var(--biz-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    padding: 12px 16px 12px;
}

.biz-sticky-cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.biz-sticky-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 48px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    padding: 6px 8px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    white-space: normal;
    font-size: 0.8rem;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.biz-sticky-cta__btn--outline {
    background: #fff;
    color: var(--biz-navy);
    border: 1px solid var(--biz-navy);
}

.biz-sticky-cta__btn--solid {
    background: var(--biz-navy);
    color: #fff;
    border: 1px solid var(--biz-navy);
}

.biz-sticky-cta__note {
    max-width: 960px;
    margin: 6px auto 0;
    font-size: 10px;
    color: var(--biz-gray);
    text-align: right;
    letter-spacing: 0.05em;
}

/* Plan Card Styles */
.plan-card {
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem;
    height: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.plan-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.plan-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    min-height: 4rem;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
}

.plan-card .recommend-badge {
    background: var(--color-accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 99px;
    margin-left: 0.5rem;
    white-space: nowrap;
    font-weight: 600;
    vertical-align: middle;
}

.plan-card .plan-lead {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    min-height: 3.5rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.plan-card ul {
    flex-grow: 1;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 1.4rem;
    color: var(--color-text);
}

.plan-card ul li {
    margin-bottom: 1rem;
}

.plan-footer {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.plan-footer .btn {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    font-size: 1.05rem;
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
    border: 1px solid var(--color-accent);
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
    border-color: #c2410c;
}

/* PCでは非表示 */
@media (min-width: 769px) {
    .biz-sticky-cta {
        display: none;
    }
}

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

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

    .header-inner {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-link::after {
        display: none;
    }

    .nav-menu .btn {
        margin: 1.5rem;
        width: calc(100% - 3rem);
        box-sizing: border-box;
    }

    .mobile-menu-btn {
        display: block;
        padding: 0.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        /* Reduced from 2rem */
    }

    .check-bg h1 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .logo span {
        display: inline;
        margin-left: 0.5rem;
        font-size: 0.75rem;
    }
}

/* Footer Contact Emphasis */
.footer-contact-info {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-contact-info p {
    margin: 0;
}

.footer-tel-row {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tel-label {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
}

.tel-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.tel-link:hover {
    color: var(--color-accent);
    opacity: 1;
}

.fax-row {
    font-size: 0.9rem;
    color: #94a3b8;
    display: inline-block;
    padding-left: 1rem;
    border-left: 1px solid #334155;
}

.mobile-br {
    display: none;
}

/* Mobile Hero Layout Optimizations - Fix excessive white space */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 4rem;
        /* Reduced from 7rem */
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    /* Disable manual line breaks on mobile */
    .hero h1 .hero-br,
    .mobile-br {
        display: inline;
    }

    .hero-desc {
        text-align: left;
        display: inline-block;
        font-size: 1rem !important;
        /* Slightly smaller for mobile to prevent weird wrapping */
        line-height: 1.8;
    }

    .hero-desc br {
        display: inline;
    }

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

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

    .hero-image {
        margin-top: 2rem;
    }

    h2 {
        font-size: 1.6rem;
        /* Reduced from 2.2rem */
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
}