@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Montserrat:wght@600;700&display=swap');

:root {
    --primary-color: #7CB342;
    /* Fresh Green - Friendly/Healthy */
    --primary-dark: #558B2F;
    --accent-color: #FDD835;
    /* Soft Yellow - Warmth */
    --text-color: #424242;
    --text-light: #757575;
    --bg-color: #ffffff;
    --bg-beige: #f9f8f4;
    /* Natural Beige background */
    --bg-green-light: #f1f8e9;
    --white: #ffffff;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo,
.flow-step {
    font-family: 'Montserrat', 'Zen Kaku Gothic New', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-beige {
    background-color: var(--bg-beige);
}

.bg-green-light {
    background-color: var(--bg-green-light);
}

/* Typography */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.section-title span {
    font-size: 0.95rem;
    color: var(--text-light);
    display: block;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 16px 40px;
}

/* Header */
html {
    scroll-padding-top: 86px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-color);
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

header nav a {
    font-weight: 500;
    font-size: 0.95rem;
}

header nav a:hover {
    color: var(--primary-color);
}

.header-cta a {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 700;
}

.header-cta a:hover {
    background-color: #FBC02D;
    color: var(--text-color);
}

.hamburger {
    display: none;
}

/* Hero */
.hero {
    height: 100vh;
    /* Adjust as needed */
    max-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left */
    background-color: var(--white);
    /* Base color behind the transparent image */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('背景画像.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    /* 透過 (Transparency) as requested */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    /* Increased to fit single line text */
    padding-left: 10%;
    /* PC layout */
    text-align: left;
    padding-top: 60px;
    /* Slight adjustment */
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-color);
    text-shadow: none;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Concept */
.concept-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.concept-text {
    flex: 1;
}

.concept-text h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    line-height: 1.4;
    color: var(--text-color);
}

.concept-text p {
    margin-bottom: 24px;
    color: var(--text-light);
}

.concept-list {
    margin-top: 30px;
}

.concept-list li {
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
}

.concept-list i {
    color: var(--primary-color);
}

.concept-image {
    flex: 1;
    position: relative;
}

.concept-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Before After */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start;
    /* Align to top */
}

.ba-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    /* Full height */
    display: flex;
    flex-direction: column;
}

.ba-img {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f5f5f5;
    justify-content: space-between;
}

.ba-item {
    width: 45%;
    position: relative;
}

.ba-item img {
    border-radius: 8px;
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    object-fit: cover;
    /* Crop to fill */
}

.ba-label {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-color);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    z-index: 2;
}

.ba-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.ba-info {
    padding: 24px;
    text-align: center;
    flex: 1;
    /* Fill remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ba-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.ba-result {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.ba-result .num {
    font-size: 1.5rem;
}

.ba-comment {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Price */
.price-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-end;
    /* Align bottom */
}

.price-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 360px;
    position: relative;
    border: 1px solid #eee;
}

.price-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-color);
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.price-card h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.price-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
    height: 48px;
    /* Fixed height for alignment */
}

.price-amount {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 30px;
}

.price-amount .currency {
    font-size: 1.5rem;
}

.price-amount .num {
    font-size: 3rem;
    line-height: 1;
}

.price-amount .tax {
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-features {
    text-align: left;
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.price-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.price-features li::before {
    content: "●";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 5px;
}

/* Flow */
.flow-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.flow-item {
    text-align: center;
    flex: 1;
    position: relative;
}

.flow-item::after {
    content: '▶';
    position: absolute;
    top: 40px;
    right: -15px;
    color: #e0e0e0;
    font-size: 1.2rem;
}

.flow-item:last-child::after {
    display: none;
}

.flow-step {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-green-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.flow-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.flow-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Access */
.access-wrapper {
    display: flex;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.access-info {
    flex: 1;
}

.access-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.access-dl dt {
    float: left;
    clear: left;
    width: 80px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.access-dl dd {
    margin-left: 80px;
    margin-bottom: 10px;
}

.access-map {
    flex: 1;
    min-height: 300px;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Contact */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-green-light);
    padding: 50px;
    border-radius: var(--border-radius);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.required {
    background: #FF5252;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
        align-items: center;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .concept-wrapper {
        flex-direction: column;
    }

    .price-card.popular {
        transform: none;
    }

    .flow-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .flow-item::after {
        content: '▼';
        top: auto;
        bottom: -30px;
        right: 50%;
        transform: translateX(50%);
    }

    .access-wrapper {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Mobile Nav (Simplified) */
    header nav {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px 0;
    }
}

/* デモヘッダー用スタイル */
.demo-head {
    padding: 40px 0 22px;
    background: #0b1220;
    color: #fff;
    position: relative;
    z-index: 1001;
}

.demo-head__inner {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.demo-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #f59e0b;
    font-weight: 800;
    margin-bottom: 10px;
}

.demo-title {
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.25;
    color: #fff;
}

.demo-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 920px;
}

.demo-actions {
    display: flex;
    gap: 12px;
    margin: 16px 0 8px;
    flex-wrap: wrap;
}

.demo-note {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

/* 既存の .btn が無い/弱い場合に備えて最低限の見た目 */
.demo-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.demo-actions .btn-primary {
    background: #ffffff;
    color: #0b1220;
}

.demo-actions .btn-accent {
    background: #f59e0b;
    color: #0b1220;
}

/* sticky化済みのため、オフセットオーバーライド不要 */