/* ==========================================
   リセット & ベーススタイル
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-green: #7FD4B8;
    --primary-blue: #A5D8E6;
    --accent-beige: #F5F2E8;
    --warm-white: #FDFDFB;
    --text-dark: #2C3E50;
    --text-gray: #5A6C7D;
    --text-light: #8B9DAF;
    --border-light: #E8ECF0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* タイポグラフィ */
    --font-primary: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    --font-secondary: 'Noto Sans JP', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.8;
    overflow-x: hidden;
}

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

/* ==========================================
   ナビゲーション
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary-green);
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

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

.nav-link.contact-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.nav-link.contact-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================
   ヒーローセクション
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E8F8F5 0%, #E3F2FD 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circle-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-green);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-green);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 3rem;
    animation: fadeInDown 1s ease;
}

.hero-icon i:nth-child(1) {
    color: var(--primary-green);
    animation: pulse 2s ease-in-out infinite;
}

.hero-icon i:nth-child(2) {
    color: #FF6B9D;
    animation: pulse 2s ease-in-out infinite 0.5s;
}

.hero-icon i:nth-child(3) {
    color: var(--primary-blue);
    animation: pulse 2s ease-in-out infinite 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-title {
    font-family: var(--font-primary);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-gray);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
}

.hero-name {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    margin-top: 2rem;
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-gray);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-green);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   共通セクションスタイル
   ========================================== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--primary-green);
    font-size: 2rem;
}

/* ==========================================
   メグリとはセクション
   ========================================== */
.about-section {
    background-color: var(--warm-white);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    text-align: center;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(127, 212, 184, 0.1), rgba(165, 216, 230, 0.1));
    border: 2px solid var(--primary-green);
}

.about-card .card-icon {
    font-size: 4rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-card p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-gray);
}

.about-mechanism {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.about-mechanism h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.about-mechanism h3 i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.mechanism-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.mechanism-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(127, 212, 184, 0.05), rgba(165, 216, 230, 0.05));
    border-radius: 15px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin: 1rem 0;
}

.mechanism-step h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mechanism-step p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.amount-info {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.amount-info strong {
    color: var(--primary-green);
    font-weight: 700;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-blue);
}

.about-note {
    background: var(--accent-beige);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-green);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.about-note i {
    font-size: 2rem;
    color: var(--primary-green);
    flex-shrink: 0;
}

.about-note p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-dark);
}

.about-note strong {
    color: var(--primary-green);
    font-weight: 700;
}

/* ==========================================
   支援内容セクション
   ========================================== */
.support-section {
    background: linear-gradient(180deg, var(--warm-white) 0%, rgba(232, 248, 245, 0.3) 100%);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.support-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.support-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FF6B9D, #FF8FAB);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.support-badge.discount {
    background: linear-gradient(135deg, #FFB84D, #FFC870);
}

.support-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.support-icon.free {
    background: linear-gradient(135deg, rgba(127, 212, 184, 0.2), rgba(165, 216, 230, 0.2));
    color: var(--primary-green);
}

.support-icon.discount {
    background: linear-gradient(135deg, rgba(255, 184, 77, 0.2), rgba(255, 200, 112, 0.2));
    color: #FFB84D;
}

.support-icon.housing {
    background: linear-gradient(135deg, rgba(165, 216, 230, 0.2), rgba(127, 212, 184, 0.2));
    color: var(--primary-blue);
}

.support-card h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-dark);
}

.support-details {
    margin-top: 1.5rem;
}

.support-main-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.support-main-text strong {
    color: var(--text-dark);
    font-weight: 700;
}

.support-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.support-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-gray);
}

.support-list i {
    color: var(--primary-green);
    font-size: 1rem;
}

.price-comparison {
    background: var(--accent-beige);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.price-before,
.price-after {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price-comparison .label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.price-comparison .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-comparison .price.highlight {
    color: var(--primary-green);
    font-size: 2.2rem;
}

.price-comparison small {
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-arrow {
    font-size: 2rem;
    color: var(--primary-green);
}

.support-target {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.support-target h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.support-target h3 i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.target-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.target-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.target-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--accent-beige);
    border-radius: 10px;
    color: var(--text-gray);
}

.target-list i {
    color: var(--primary-green);
    font-size: 0.6rem;
}

.target-note {
    background: linear-gradient(135deg, rgba(127, 212, 184, 0.1), rgba(165, 216, 230, 0.1));
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-green);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.target-note i {
    font-size: 2rem;
    color: #FFB84D;
    flex-shrink: 0;
}

.target-note p {
    line-height: 1.8;
    color: var(--text-gray);
}

.target-note strong {
    color: var(--text-dark);
    font-weight: 700;
}

.support-apply-button {
    margin-top: 2rem;
    text-align: center;
}

.transparency-link {
    margin-top: 3rem;
    text-align: center;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

/* ==========================================
   生み出すものセクション
   ========================================== */
.impact-section {
    background-color: var(--warm-white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.impact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.impact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(127, 212, 184, 0.2), rgba(165, 216, 230, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-green);
}

.impact-card h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.impact-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.impact-conclusion {
    background: linear-gradient(135deg, rgba(127, 212, 184, 0.15), rgba(165, 216, 230, 0.15));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 3px solid var(--primary-green);
}

.conclusion-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.impact-conclusion h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.impact-conclusion p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-gray);
}

.impact-conclusion strong {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ==========================================
   透明性セクション
   ========================================== */
.transparency-section {
    background: linear-gradient(180deg, var(--warm-white) 0%, rgba(232, 248, 245, 0.3) 100%);
}

.transparency-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.transparency-intro p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.transparency-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transparency-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.transparency-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(127, 212, 184, 0.2), rgba(165, 216, 230, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.transparency-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.transparency-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* ==========================================
   お問い合わせセクション
   ========================================== */
.contact-section {
    background-color: var(--warm-white);
    padding: 5rem 0 6rem;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary-green);
}

.company-name {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
}

.company-name h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--text-dark);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--accent-beige);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-text .label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.contact-text .value {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-note {
    background: linear-gradient(135deg, rgba(127, 212, 184, 0.1), rgba(165, 216, 230, 0.1));
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-green);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-note i {
    font-size: 1.5rem;
    color: var(--primary-green);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-note p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* ==========================================
   フッター
   ========================================== */
.footer {
    background: linear-gradient(135deg, #2C3E50, #34495E);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand .logo-icon {
    color: var(--primary-green);
}

.footer-brand .logo-text {
    color: white;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ==========================================
   トップに戻るボタン
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   レスポンシブデザイン
   ========================================== */
@media (max-width: 768px) {
    /* ナビゲーション */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1.5rem;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* ヒーローセクション */
    .hero-icon {
        font-size: 2rem;
        gap: 0.5rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

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

    /* セクション */
    .section {
        padding: 3rem 0;
    }

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

    /* メグリとは */
    .about-card {
        padding: 2rem;
    }

    .about-mechanism {
        padding: 2rem;
    }

    .mechanism-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    /* 支援内容 */
    .support-grid {
        grid-template-columns: 1fr;
    }

    .price-comparison {
        flex-direction: column;
        gap: 1.5rem;
    }

    .price-arrow {
        transform: rotate(90deg);
    }

    /* インパクト */
    .impact-grid {
        grid-template-columns: 1fr;
    }

    /* 透明性 */
    .transparency-grid {
        grid-template-columns: 1fr;
    }

    /* お問い合わせ */
    .contact-info-card {
        padding: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    /* フッター */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

    /* トップに戻るボタン */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* 円形装飾 */
    .circle-1 {
        width: 250px;
        height: 250px;
    }

    .circle-2 {
        width: 200px;
        height: 200px;
    }

    .circle-3 {
        width: 150px;
        height: 150px;
    }
}

@media (min-width: 769px) {
    .sp-only {
        display: none;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

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

    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-mechanism {
        padding: 1.5rem;
    }

    .mechanism-step {
        padding: 1.5rem 1rem;
    }

    .support-card {
        padding: 2rem;
    }

    .support-target {
        padding: 2rem;
    }

    .target-list {
        grid-template-columns: 1fr;
    }

    .impact-card {
        padding: 2rem;
    }

    .impact-conclusion {
        padding: 2rem;
    }

    .transparency-card {
        padding: 2rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }
}