@charset "utf-8";
/**
 * index.html / index_a.html 共通スタイル
 *
 * create: 2025-11-25
 * update: 2026-04-08
 *
 * @package     yonde
 * @author      ik
 * @copyright   Copyright (c) 2025 , NetReal
 * @version     yonde 1.00
 */

/* 共通変数（cmn.cssを補完） */
:root {
    --color-yellow: #E8D44D;
    --color-orange: #F89E3F;
    --color-pink-dark: #e8576a;
    --color-hero-from: #e5f4ea;
    --color-hero-to: #bdd7c5;
}

/* ==========================================
   アニメーション
   ========================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    animation: fade-in-up-fallback 0.6s ease 1.2s forwards;
}

@keyframes fade-in-up-fallback {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================
   セクション共通
   ========================================== */
.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: #000;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #333;
}

/* ==========================================
   ヒーローセクション（index.html 固有）
   ========================================== */
.hero-section {
    padding-top: 150px;
    padding-bottom: 65px;
    background: linear-gradient(to right, var(--color-hero-from) 0%, var(--color-hero-from) 60%, var(--color-hero-to) 100%);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.75rem;
}

.hero-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-cta {
    background-color: var(--color-pink);
    color: #fff !important;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-cta:hover {
    background-color: #e8576a;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ==========================================
   共通ボタン
   ========================================== */
.btn-cta-pink {
    background-color: var(--color-pink) !important;
    color: #fff !important;
    font-size: 1.44rem;
    padding: 1.4rem 2.4rem;
    border: none;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-cta-pink:hover {
    background-color: var(--color-pink-dark) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ==========================================
   特長セクション（問題提起）
   ========================================== */
#features {
    background-color: var(--color-bg-cream);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    scroll-margin-top: 85px;
}

.beta-notice {
    border: 2px solid var(--color-primary-green);
    border-radius: 0.5rem;
    padding: 1.5rem;
    background: #fff;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    max-width: 720px;
    text-align: left;
}

.problem-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.problem-content {
    display: inline-block;
    text-align: left;
}

.cause-heading {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    color: #000;
    font-weight: 700;
}

.cause-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.cause-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.cause-list li svg {
    flex-shrink: 0;
}

/* SVG区切り線 */
.svg-divider {
    line-height: 0;
    overflow: hidden;
    background-color: var(--color-lighter-green);
}

.svg-divider svg {
    width: 100%;
    display: block;
    height: 60px;
}

/* ==========================================
   機能セクション
   ========================================== */
#functionality {
    background-color: var(--color-lighter-green);
    padding: 5rem 0;
    scroll-margin-top: 85px;
}

.feature-card {
    background: #fff;
    border: 3px solid var(--color-light-green) !important;
    border-radius: 0.5rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-card .icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.interface-img {
    cursor: pointer;
    transition: opacity 0.2s;
    width: 59%;
    margin: 0 auto;
    display: block;
    border-radius: 0.5rem;
}

.interface-img:hover {
    opacity: 0.9;
}

/* 画像モーダル */
.img-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.img-modal-overlay.active {
    display: flex;
}

.img-modal-inner {
    position: relative;
    max-width: 1280px;
    width: 100%;
}

.img-modal-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.img-modal-close:hover {
    color: #d1d5db;
}

.img-modal-img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.img-modal-hint {
    color: #fff;
    text-align: center;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ==========================================
   メリットセクション
   ========================================== */
#benefits {
    background-color: var(--color-bg-cream);
    padding: 5rem 0;
    scroll-margin-top: 85px;
}

.benefit-card {
    border: 3px solid var(--color-light-green) !important;
    border-radius: 0.5rem;
    background: #fff;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card > p {
    text-align: left;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* ==========================================
   料金セクション
   ========================================== */
#pricing {
    background-color: #fff;
    padding: 5rem 0;
    scroll-margin-top: 85px;
}

.pricing-card {
    border: 3px solid var(--color-light-green) !important;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 100%;
    position: relative;
}

.pricing-badge {
    background-color: var(--color-dark-green);
    color: #fff;
    padding: 0.375rem 1.5rem;
    border-radius: 9999px;
    font-size: 1.3125rem;
    position: absolute;
    top: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.pricing-setup {
    font-size: 22px;
    color: var(--color-primary-green);
    margin-bottom: 8px;
}

.pricing-amount {
    font-size: 60px;
    font-weight: 700;
    color: var(--color-red);
    line-height: 1;
}

.pricing-unit {
    color: var(--color-pink);
}

.pricing-org {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.3rem;
    letter-spacing: 0.03em;
}

.pricing-features {
    border-top: 1px dashed var(--color-primary-green);
    border-bottom: 1px dashed var(--color-primary-green);
    padding: 12px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: fit-content;
    margin: 0 auto;
}

.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.pricing-feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #666;
    flex-shrink: 0;
}

.pricing-example {
    background-color: #f0f0f0;
    border: 1px solid #bcbfc3;
    border-radius: 0.375rem;
    padding: 1rem;
    font-size: 0.875rem;
    color: #555;
}

.campaign-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.375rem;
}

.campaign-title {
    color: #000;
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.campaign-free {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-pink);
    line-height: 1;
}

.campaign-note {
    font-size: 0.875rem;
    color: #000;
    text-align: left;
}

.campaign-note-highlight {
    font-size: calc(0.875rem * 1.2);
    display: block;
    text-align: center;
}

/* ==========================================
   導入事例セクション
   ========================================== */
#testimonials {
    background-color: var(--color-lighter-green);
    padding: 5rem 0;
    scroll-margin-top: 85px;
}

.testimonial-card {
    border: 3px solid var(--color-light-green) !important;
    border-radius: 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    color: var(--color-dark-green);
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    word-break: keep-all;
    overflow-wrap: break-word;
    flex: 1;
}

.testimonial-avatar-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* ==========================================
   FAQセクション
   ========================================== */
#faq {
    background-color: var(--color-bg-cream);
    padding: 5rem 0;
    scroll-margin-top: 85px;
}

.faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-light-green) !important;
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-item .accordion-button {
    background-color: var(--color-light-green) !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    border-radius: 0 !important;
    transition: background-color 0.2s;
}

.faq-item .accordion-button:not(.collapsed) {
    background-color: #46a07a !important;
    color: #fff !important;
    box-shadow: none;
}

.faq-item .accordion-button:hover {
    background-color: #46a07a !important;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.faq-item .accordion-button::after {
    content: '+';
    background-image: none;
    width: auto;
    height: auto;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    color: white;
    transform: none !important;
    flex-shrink: 0;
}

.faq-item .accordion-button:not(.collapsed)::after {
    content: '−';
    background-image: none;
    transform: none !important;
}

.faq-item .accordion-collapse {
    border-top: 1px solid rgba(87, 179, 138, 0.2);
}

.faq-item .accordion-body {
    padding: 1rem 1.5rem;
    color: #555;
    line-height: 1.7;
    background-color: #fff;
}

.btn-faq-more {
    border: 2px solid var(--color-pink) !important;
    color: var(--color-pink) !important;
    background-color: #fff !important;
    font-size: 1.44rem;
    padding: 1.4rem 2.4rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-faq-more:hover {
    background-color: var(--color-pink) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ==========================================
   CTAセクション
   ========================================== */
#cta-section {
    background-color: var(--color-bg-cream);
    padding: 5rem 0;
}

.cta-subtitle {
    color: #000;
    font-size: 1.1rem;
}

/* ==========================================
   レスポンシブ
   ========================================== */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .btn-cta-pink,
    .btn-faq-more {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }

    .pricing-features {
        grid-template-columns: 1fr;
    }
}
