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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   WordPress（Emanon）側のフォント上書きを無効化（LPページ限定）
   - Emanonは body { font-family: var(--ep-body-font-family); } を後段で当てるため
   - LP側は body_class で付与した .linkschool-lp を起点に変数を上書きする
   =================================== */
body.linkschool-lp {
    /* ポップなカラーパレット（LP限定） */
    --primary-color: #FF6B9D !important;
    --primary-light: #FFB3D9 !important;
    --secondary-color: #FFA500 !important;
    --accent-yellow: #FFD93D !important;
    --accent-cyan: #6BCF7F !important;
    --accent-purple: #A78BFA !important;
    --text-dark: #2D3748 !important;
    --text-light: #718096 !important;
    --background-light: #FFF9F0 !important;
    --white: #ffffff !important;
    --shadow-sm: 0 2px 8px rgba(255, 107, 157, 0.15) !important;
    --shadow-md: 0 4px 16px rgba(255, 107, 157, 0.2) !important;
    --shadow-lg: 0 8px 32px rgba(255, 107, 157, 0.25) !important;
    --shadow-xl: 0 16px 48px rgba(255, 107, 157, 0.3) !important;
    --gradient-primary: linear-gradient(135deg, #FF6B9D 0%, #FFA500 100%) !important;
    --gradient-secondary: linear-gradient(135deg, #FFD93D 0%, #FF6B9D 100%) !important;
    --gradient-accent: linear-gradient(135deg, #6BCF7F 0%, #A78BFA 100%) !important;
    --gradient-happy: linear-gradient(135deg, #FFB3D9 0%, #FFE5B4 100%) !important;

    /* WordPress（Emanon）側フォント変数をLPで上書き */
    --ep-body-font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif !important;
    --ep-heading-font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif !important;

    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif !important;
    background-color: var(--background-light) !important;
}

html body.linkschool-lp {
    background-color: var(--background-light) !important;
}

/* Emanon側の見出しフォント指定（h1等）を確実に上書き（LPページ限定） */
body.linkschool-lp h1,
body.linkschool-lp h2,
body.linkschool-lp h3,
body.linkschool-lp h4,
body.linkschool-lp h5,
body.linkschool-lp h6,
body.linkschool-lp .entry-title,
body.linkschool-lp .section-title,
body.linkschool-lp .section-title-center {
    font-family: var(--ep-heading-font-family) !important;
}


/* ===================================
   LP限定：Emanonのコンテンツ白背景を透明化（背景色ズレ対策）
   =================================== */
body.linkschool-lp #content,
body.linkschool-lp .site-content,
body.linkschool-lp .content-area,
body.linkschool-lp .l-content,
body.linkschool-lp .l-main,
body.linkschool-lp .wrap,
body.linkschool-lp .inner {
    background: transparent !important;
}

body.linkschool-lp .container {
    background: transparent !important;
}

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

section {
    padding: 100px 0;
    position: relative;
}

/* ===================================
   タイポグラフィ
   =================================== */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 48px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: lineGrow 0.8s ease-out;
}

@keyframes lineGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.section-title-center {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 72px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
}

.section-title-center::before {
    content: '✨';
    position: absolute;
    left: -50px;
    top: 0;
    font-size: 2rem;
    animation: sparkle 2s infinite;
}

.section-title-center::after {
    content: '✨';
    position: absolute;
    right: -50px;
    top: 0;
    font-size: 2rem;
    animation: sparkle 2s infinite 0.5s;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2) rotate(180deg);
    }
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

/* ヒーロー画像 */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/linkschool-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* 浮遊する装飾要素 */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s infinite ease-in-out;
}

.hero::before {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero::after {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 8%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.75), rgba(255, 165, 0, 0.65));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 24px;
    animation: fadeInUp 1s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 32px;
    animation: slideInDown 1s ease-out 0.2s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    display: block;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #FFD93D 0%, #FFE5B4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(255, 217, 61, 0.5);
    }

    50% {
        text-shadow: 0 0 40px rgba(255, 217, 61, 0.8);
    }
}

.hero-logo {
    margin: 48px 0;
    animation: fadeIn 1s ease-out 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.logo-text {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    margin-top: 48px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-text {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ===================================
   ボタンスタイル
   =================================== */
.btn {
    display: inline-block;
    padding: 20px 48px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.4);
}

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

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(107, 207, 127, 0.4);
}

.btn i {
    margin-right: 8px;
}

/* パルスアニメーション */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.7);
    }

    70% {
        box-shadow: 0 0 0 30px rgba(255, 107, 157, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 157, 0);
    }
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--white);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-20px);
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===================================
   ロケーションセクション
   =================================== */
.location {
    background: var(--white);
    text-align: center;
    position: relative;
}

.location::before {
    content: '🌏';
    position: absolute;
    top: 50px;
    right: 10%;
    font-size: 4rem;
    opacity: 0.2;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.location-content {
    padding: 60px 0;
}

.location-date {
    font-size: 2rem;
    color: var(--text-light);
    margin: 32px 0;
    font-weight: 500;
}

.location-school {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   みんなの笑顔セクション (Community Photo)
   =================================== */
.community-photo {
    background: linear-gradient(135deg, #FFF9F0 0%, #FFE5F0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.community-photo::before {
    content: '✨';
    position: absolute;
    top: 80px;
    left: 5%;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.community-photo::after {
    content: '🌈';
    position: absolute;
    bottom: 80px;
    right: 5%;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite reverse;
}

.community-content {
    position: relative;
    z-index: 1;
}

.community-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 48px;
    font-weight: 400;
}

.featured-photo {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 32px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s ease;
}

.featured-photo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.35);
}

.featured-photo img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    transition: transform 0.4s ease;
}

.featured-photo:hover img {
    transform: scale(1.02);
}

.photo-credit {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 12px;
    font-style: italic;
    opacity: 0.7;
}

.photo-caption {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 24px;
    font-weight: 500;
    line-height: 1.8;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 179, 217, 0.15) 0%, rgba(255, 229, 180, 0.15) 100%);
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
}

/* ===================================
   課題セクション
   =================================== */
.problem {
    background: linear-gradient(135deg, #FFF9F0 0%, #FFE5E5 100%);
    text-align: center;
}

.problem-intro {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 64px;
    font-weight: 600;
    line-height: 1.8;
}

.quote-box {
    background: var(--white);
    border-radius: 30px;
    padding: 48px;
    margin: 64px auto;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.quote-box:hover {
    transform: rotate(0deg) scale(1.05);
}

.quote-box::before {
    content: '💭';
    position: absolute;
    top: -30px;
    left: -30px;
    font-size: 3rem;
}

.quote-text {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.quote-subtext {
    font-size: 1.5rem;
    color: var(--text-light);
}

.barriers {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 64px 0;
    flex-wrap: wrap;
}

.barrier-item {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.barrier-item:hover {
    transform: translateY(-10px) rotate(3deg);
    box-shadow: var(--shadow-xl);
}

.barrier-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: block;
}

.barrier-item p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.barrier-conclusion {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 48px;
}

/* ===================================
   ビジョンセクション
   =================================== */
.vision {
    background: var(--gradient-primary);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.vision::before,
.vision::after {
    content: '⭐';
    position: absolute;
    font-size: 5rem;
    opacity: 0.2;
    animation: twinkle 3s infinite;
}

.vision::before {
    top: 10%;
    left: 10%;
}

.vision::after {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.vision-text {
    font-size: 2rem;
    margin-bottom: 32px;
    font-weight: 500;
}

.vision-statement {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.5;
    margin: 48px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.vision-action {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 48px;
    background: rgba(255, 255, 255, 0.2);
    padding: 24px 48px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: var(--shadow-md);
}

/* ===================================
   ストーリーセクション
   =================================== */
.story {
    background: var(--white);
    position: relative;
}

.story::before {
    content: '📖';
    position: absolute;
    top: 50px;
    left: 5%;
    font-size: 4rem;
    opacity: 0.2;
}

.story-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 64px;
    color: var(--text-dark);
    font-weight: 700;
}

/* 画像ギャラリー */
.story-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 64px 0;
}

.gallery-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gallery-item:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    padding: 20px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--gradient-happy);
}

.story-struggles {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFF9F0 100%);
    border-radius: 30px;
    padding: 48px;
    margin: 48px 0;
    box-shadow: var(--shadow-md);
}

.struggle-item {
    margin: 32px 0;
    padding: 24px;
    background: var(--white);
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.struggle-item:hover {
    transform: translateX(10px);
}

.struggle-item h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.struggle-item p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

.story-children {
    margin: 64px 0;
    text-align: center;
}

.story-children h4 {
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.children-voices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.voice-card {
    background: var(--gradient-happy);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.voice-card::before {
    content: '💬';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    opacity: 0.5;
}

.voice-card:hover {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: var(--shadow-xl);
}

.voice-card p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.8;
}

/* ===================================
   現実セクション
   =================================== */
.reality {
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    color: var(--white);
    text-align: center;
}

.reality-statement {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 48px;
}

.reality-highlight {
    background: rgba(255, 107, 157, 0.2);
    padding: 4px 16px;
    border-radius: 10px;
    display: inline-block;
}

.reality-problem {
    font-size: 1.75rem;
    margin: 48px 0;
    line-height: 1.8;
}

.reality-conclusion {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 48px;
}

/* ===================================
   スポンサープランセクション
   =================================== */
.sponsor {
    background: var(--background-light);
    position: relative;
}

.sponsor::before {
    content: '🎁';
    position: absolute;
    top: 50px;
    right: 10%;
    font-size: 5rem;
    opacity: 0.2;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 64px;
}

.plan-card {
    background: var(--white);
    border-radius: 30px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    border: 4px solid transparent;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--gradient-primary);
}

.plan-card.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.plan-card.featured::after {
    content: '人気No.1';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 40px;
    font-weight: 700;
    font-size: 0.9rem;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
}

.plan-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: var(--shadow-xl);
}

.plan-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 24px 0;
}

.plan-price small {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-light);
}

.plan-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin: 24px 0;
    line-height: 1.8;
}

.plan-features {
    list-style: none;
    margin: 32px 0;
    text-align: left;
}

.plan-features li {
    padding: 12px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-features li::before {
    content: '✓';
    color: var(--accent-cyan);
    font-weight: 900;
    font-size: 1.5rem;
}

/* ===================================
   インパクトセクション
   =================================== */
.impact {
    background: var(--gradient-accent);
    color: var(--white);
    text-align: center;
}

.impact-intro {
    font-size: 2rem;
    margin-bottom: 64px;
    font-weight: 600;
}

.impact-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.scenario-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 48px 32px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.scenario-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.scenario-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
    display: block;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-number.counted {
    font-weight: 900;
    line-height: 1.5;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif !important;
    font-size: clamp(20px,3vw,52px);
}

.scenario-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.scenario-description {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ===================================
   最終メッセージセクション
   =================================== */
.final-message {
    background: var(--white);
    text-align: center;
    position: relative;
}

.final-message::before {
    content: '💌';
    position: absolute;
    top: 50px;
    left: 5%;
    font-size: 5rem;
    opacity: 0.2;
}

.message-box {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFF9F0 100%);
    border-radius: 30px;
    padding: 64px 48px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.message-quote {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 48px;
    font-style: italic;
}

.message-text {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 32px 0;
}

.message-author {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 48px;
}

/* ===================================
   申し込みフォーム
   =================================== */
.application {
    background: var(--background-light);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    padding: 64px 48px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 32px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form-group label .required {
    color: var(--secondary-color);
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    border: 3px solid #E2E8F0;
    border-radius: 15px;
    background: var(--background-light);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 48px;
}

.btn-submit {
    width: 100%;
    padding: 24px;
    font-size: 1.5rem;
}

/* ===================================
   フェードインアニメーション
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ===================================
   固定CTAボタン
   =================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: pulseFloat 2s infinite;
}

@keyframes pulseFloat {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 8px 24px rgba(255, 107, 157, 0.4);
    }

    50% {
        transform: translateY(-5px);
        box-shadow: 0 12px 32px rgba(255, 107, 157, 0.6);
    }
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 107, 157, 0.6);
}

.floating-btn .floating-icon {
    font-size: 1.5rem;
    animation: bounce 1.5s infinite;
}

.floating-btn .floating-text {
    white-space: nowrap;
}

.floating-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    align-self: flex-end;
}

.floating-btn-secondary:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 10px 28px rgba(255, 165, 0, 0.6);
}

.floating-btn-secondary .floating-icon {
    font-size: 1.75rem;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.footer::after {
    content: '🎈';
    position: absolute;
    bottom: 20px;
    right: 5%;
    font-size: 3rem;
    opacity: 0.1;
    animation: float 6s infinite ease-in-out;
}

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

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 60px;
    text-align: left;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.footer-logo .logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 16px;
}

.footer-description {
    font-size: 0.95rem;
    color: #A0AEC0;
    line-height: 1.8;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-heading i {
    color: var(--primary-color);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #A0AEC0;
    font-size: 0.95rem;
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.125rem;
    width: 20px;
}

.contact-list a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--primary-light);
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: #A0AEC0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-nav i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.footer-social-section {
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 1.25rem;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.3);
}

.social-link.facebook:hover {
    background: #1877F2;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}

.social-link.twitter:hover {
    background: #1DA1F2;
}

.social-link.youtube:hover {
    background: #FF0000;
}

.social-text {
    font-size: 0.9rem;
    color: #A0AEC0;
    line-height: 1.6;
}

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

.footer-copyright {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 8px;
}

.footer-message {
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 768px) {

    .section-title,
    .section-title-center {
        font-size: 2rem;
    }

    .section-title-center::before,
    .section-title-center::after {
        display: none;
    }

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

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

    .logo-text {
        font-size: 2.5rem;
    }

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

    .cta-text {
        font-size: 1.25rem;
    }

    .btn {
        padding: 16px 32px;
        font-size: 1.125rem;
    }

    .location-date {
        font-size: 1.5rem;
    }

    .location-school {
        font-size: 1.75rem;
    }

    .community-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .featured-photo {
        padding: 20px;
    }

    .photo-caption {
        font-size: 1.2rem;
        padding: 20px;
        margin-top: 20px;
    }

    .problem-intro {
        font-size: 1.5rem;
    }

    .quote-text {
        font-size: 2rem;
    }

    .quote-subtext {
        font-size: 1.25rem;
    }

    .barriers {
        gap: 24px;
    }

    .barrier-item {
        min-width: 150px;
        padding: 30px 20px;
    }

    .barrier-item i {
        font-size: 2rem;
    }

    .vision-text {
        font-size: 1.5rem;
    }

    .vision-statement {
        font-size: 2rem;
    }

    .vision-action {
        font-size: 1.5rem;
        padding: 16px 32px;
    }

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

    .story-gallery {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-item img {
        height: 250px;
    }

    .reality-statement {
        font-size: 1.75rem;
    }

    .reality-problem {
        font-size: 1.25rem;
    }

    .reality-conclusion {
        font-size: 1.75rem;
    }

    .plans-grid {
        gap: 24px;
    }

    .plan-card.featured {
        transform: scale(1);
    }

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

    .impact-intro {
        font-size: 1.5rem;
    }

    .scenario-number {
        font-size: 3rem;
    }

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

    .message-quote {
        font-size: 1.5rem;
    }

    .message-text {
        font-size: 1.125rem;
    }

    .form-container {
        padding: 48px 32px;
    }

    /* フッターレスポンシブ */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-contact,
    .footer-links {
        text-align: center;
    }

    .contact-list li,
    .footer-nav a {
        justify-content: center;
    }

    /* 固定CTAボタンレスポンシブ */
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .floating-btn .floating-icon {
        font-size: 1.25rem;
    }

    .floating-btn-secondary {
        width: 50px;
        height: 50px;
    }

    .floating-btn-secondary .floating-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

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

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

    .logo-text {
        font-size: 2rem;
    }

    .plans-grid,
    .impact-scenarios,
    .children-voices {
        grid-template-columns: 1fr;
    }

    .featured-photo {
        padding: 16px;
        border-radius: 20px;
    }

    .photo-caption {
        font-size: 1.1rem;
        padding: 16px;
        margin-top: 16px;
    }

    .photo-credit {
        font-size: 0.8rem;
    }

    .form-container {
        padding: 32px 24px;
    }

    /* フッターモバイル対応 */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-main {
        gap: 32px;
    }

    .footer-logo .logo-text {
        font-size: 1.5rem;
    }

    .footer-heading {
        font-size: 1.125rem;
    }

    /* 固定CTAボタンモバイル */
    .floating-cta {
        bottom: 15px;
        right: 15px;
    }

    .floating-btn .floating-text {
        display: none;
    }

    .floating-btn {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .floating-btn .floating-icon {
        font-size: 1.75rem;
    }

    .floating-btn-secondary {
        width: 45px;
        height: 45px;
    }
}

/* ===================================
   WordPress メニュー（外観 > カスタマイズ > メニュー）
   - location: lp_primary
   - 未設定時は header.php 側で出力しないため、既存レイアウトへの影響はありません
   =================================== */
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 10px 0;
    background: rgba(255, 249, 240, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 55, 72, 0.08);
}

.lp-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-nav__list a {
    display: inline-block;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.lp-nav__list a:hover,
.lp-nav__list a:focus {
    background: rgba(255, 255, 255, 0.92);
    outline: none;
}
