/* Variables */
:root {
    --color-primary: #3b5f41; /* Deep forest green */
    --color-primary-light: #4e7a56;
    --color-secondary: #8c6a46; /* Earthy brown */
    --color-accent: #f39c12; /* Energetic orange for uniform */
    --color-bg: #faf9f6; /* Off-white/Beige */
    --color-bg-light: #f1efe9; /* Slightly darker beige for contrast sections */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    
    --font-main: 'Noto Sans JP', sans-serif;
    --font-heading: 'Inter', 'Noto Sans JP', sans-serif;
    
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease;
    
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.06); /* 少し濃く */
    --shadow-md: 0 12px 35px rgba(0,0,0,0.12); /* ホバー時はさらにフワッと浮くように */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px; /* 固定ヘッダーと目次の高さ分だけジャンプの着地位置を下げる */
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 16px; /* 8pxから16pxへ広げる */
    letter-spacing: 0.05em;
    position: relative; /* ★追加 */
    display: inline-block; /* ★追加 */
    padding-bottom: 12px; /* ★追加 */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-secondary);
    font-weight: 500;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-top: 5px solid var(--color-accent); /* ★このオレンジの線を追加！ */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.logo a {
    font-size: 1.75rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
}

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

.nav-link.contact-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-fast);
}

/* Hero Section (Index) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    margin-top: 0;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('assets/bg-index.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-primary); /* fallback */
}

/* Split Header Layout (Subpages) */
.page-header-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding-top: 80px; /* Account for fixed header */
    min-height: 350px;
}

.header-text {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-image {
    flex: 1;
    display: flex;
}

.header-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 767px) {
    .page-header-split {
        flex-direction: column;
    }
    
    .header-text {
        width: 100%;
        padding: 40px 20px;
    }
    
    .header-image {
        width: 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    max-width: 800px;
}

.hero-title {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--color-text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background-color: var(--color-white);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-accent);
    transition: var(--transition-normal);
}

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

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* News Section */
.news-container {
    max-width: 800px;
    margin: 0 auto;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-accent);
}

.news-date {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-secondary);
    white-space: nowrap;
}

.news-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

.news-title a {
    transition: var(--transition-fast);
}

.news-title a:hover {
    color: var(--color-primary);
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 8px;
}

.footer-org {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.footer-address {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 48px;
    justify-content: flex-end;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    font-size: 0.95rem;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.3s;
}

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

/* Responsive */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        padding: 80px 24px 40px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav-link.contact-btn {
        margin-top: 16px;
    }
    
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

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

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Page Header (Subpages) */
.page-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 140px 0 60px; /* Account for fixed header */
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* History Page specific */
.history-text {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-accent);
}

.history-text p {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.8;
}

.history-text p:last-child {
    margin-bottom: 0;
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.supporter-card {
    background-color: var(--color-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-left: 4px solid var(--color-accent);
}

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

.supporter-name {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.supporter-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* About Page specific */
.text-center {
    text-align: center;
}
.daily-desc {
    font-size: 1.15rem;
    color: var(--color-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Accordion */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.accordion-item {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}
.accordion-header:hover {
    background-color: rgba(59, 95, 65, 0.05);
}
.accordion-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    font-family: var(--font-heading);
}
.accordion-icon {
    position: relative;
    width: 20px;
    height: 20px;
}
.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-secondary);
    transition: var(--transition-normal);
}
.accordion-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}
.accordion-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}
.accordion-header.active .accordion-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-body {
    padding: 0 24px 24px;
    color: var(--color-text-light);
}
.activity-meta {
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--color-text);
}
.activity-quote {
    border-left: 4px solid var(--color-accent);
    padding-left: 16px;
    font-style: italic;
    background-color: var(--color-bg);
    padding: 16px;
    border-radius: 0 8px 8px 0;
}
.activity-quote p {
    margin-bottom: 8px;
    line-height: 1.6;
}
.activity-quote cite {
    display: block;
    font-size: 0.9rem;
    color: var(--color-secondary);
    text-align: right;
    font-weight: 500;
    font-style: normal;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    transition: var(--transition-normal);
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}
.gallery-image.placeholder-img {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 1.2rem;
    border: 2px dashed rgba(140, 106, 70, 0.3);
}

/* Camp Page specific */
.camp-catchphrase {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

/* Overview Table */
.overview-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.overview-table {
    width: 100%;
    border-collapse: collapse;
}
.overview-table th, .overview-table td {
    padding: 24px;
    border-bottom: 1px solid var(--color-bg-light);
    text-align: left;
}
.overview-table tr:last-child th, .overview-table tr:last-child td {
    border-bottom: none;
}
.overview-table th {
    background-color: rgba(59, 95, 65, 0.05);
    color: var(--color-primary);
    width: 30%;
    font-weight: 600;
    vertical-align: top;
}
.overview-table td {
    color: var(--color-text);
    line-height: 1.8;
}

/* Features Grid (Safety) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.feature-card {
    background-color: var(--color-white);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-top: 4px solid var(--color-primary-light);
    transition: var(--transition-normal);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}
.feature-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    font-weight: 700;
}
.feature-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    text-align: left;
}
.safety-list {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-bg-light);
    text-align: left;
    list-style: none;
}
.safety-list li {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.5;
    position: relative;
    padding-left: 16px;
}
.safety-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}
.safety-list li:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.bg-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.cta-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}
.cta-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--color-text);
}
.cta-button-wrapper {
    margin-bottom: 16px;
}
.btn-large {
    display: inline-block;
    padding: 20px 48px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}
.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}
.btn-accent:hover {
    background-color: #d67118;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.4);
    color: var(--color-white);
}
.btn-large.btn-accent.disabled {
    background-color: #95a5a6;
    color: #ffffff;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}
.cta-note {
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .overview-table th, .overview-table td {
        display: block;
        width: 100%;
    }
    .overview-table th {
        border-bottom: none;
        padding-bottom: 8px;
    }
    .overview-table td {
        padding-top: 0;
    }
}

/* Recruit Page specific */
.text-accent {
    color: var(--color-accent); /* Make title brighter */
}

/* Message Section */
.message-content {
    display: flex;
    align-items: center;
    gap: 48px;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-accent); /* Brighter vibe */
}
.message-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
}
.message-image.placeholder-img {
    background-color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-weight: 600;
    text-align: center;
    border: 2px dashed rgba(140, 106, 70, 0.3);
}
.message-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}
.message-subtitle {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 16px;
}
.message-text p {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Schedule Section */
.schedule-container {
    max-width: 800px;
    margin: 0 auto;
}
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.schedule-item {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border-left: 6px solid var(--color-accent); /* Vibrant left border */
}
.schedule-item:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-md);
}
.schedule-date {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.2rem;
    white-space: nowrap;
    min-width: 100px;
}
.schedule-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

/* SNS & Poster Section */
.sns-poster-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.poster-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}
.poster-image.placeholder-img {
    background-color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-weight: 600;
    text-align: center;
    border: 2px dashed rgba(140, 106, 70, 0.3);
}
.sns-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}
.sns-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
    color: var(--color-text);
}
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
}
.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.4);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .message-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .sns-poster-content {
        grid-template-columns: 1fr;
    }
    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Contact Page specific */
.alert-banner {
    background-color: #fff8e1; /* Light yellow background */
    border: 2px solid #ffc107; /* Amber border */
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 64px;
    box-shadow: var(--shadow-sm);
}
.alert-icon {
    font-size: 2rem;
    line-height: 1;
}
.alert-content {
    flex: 1;
}
.alert-title {
    font-size: 1.2rem;
    color: #b08d00;
    margin-bottom: 8px;
    font-weight: 700;
}
.alert-text {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.6;
}
.btn-small {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-fast);
}
.btn-outline-alert {
    border: 2px solid #ffc107;
    color: #b08d00;
    background-color: transparent;
}
.btn-outline-alert:hover {
    background-color: #ffc107;
    color: var(--color-white);
}

/* Info Box */
.info-box {
    background-color: #f9f9f9;
    border-left: 4px solid var(--color-accent);
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}
.info-box h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.info-box p {
    margin-bottom: 12px;
    color: var(--color-text);
}
.info-box ul {
    list-style-type: none;
    margin-bottom: 16px;
    padding-left: 8px;
}
.info-box ul li {
    margin-bottom: 8px;
    color: var(--color-text);
}
.info-box .text-small {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}
.form-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
}
.google-form-wrapper {
    position: relative;
    width: 100%;
    /* Typical aspect ratio for Google Forms */
    padding-bottom: 120%; 
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.placeholder-form {
    background-color: var(--color-bg-light);
    border: 2px dashed rgba(140, 106, 70, 0.3);
}
.placeholder-form-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .alert-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .google-form-wrapper {
        padding-bottom: 150%; /* Taller on mobile */
    }
}

.header-logo-img {
    height: 32px;
    width: auto;
}
.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-fast);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background-color: transparent;
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Camp page specific enhancements */
.intro-message-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-accent);
}
.intro-message-box p {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.8;
    text-align: left;
}
.intro-message-box p:last-child {
    margin-bottom: 0;
}

.health-info-box {
    max-width: 800px;
    margin: 0 auto 48px;
    background-color: var(--color-white);
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    padding: 32px;
    text-align: left;
    box-shadow: var(--shadow-sm);
}
.health-info-title {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 700;
}
.health-info-text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 24px;
}
.badge-important {
    display: inline-block;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 8px;
    vertical-align: middle;
}
.health-info-contact {
    background-color: var(--color-bg-light);
    padding: 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==========================================================================
   Camp Page LP Enhancements (Phase 3)
   ========================================================================== */

/* 1. Quick Links (目次チップ) */
.quick-links-wrapper {
    transition: var(--transition-normal);
}
.btn-quick {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-bg);
    border: 1px solid rgba(59, 95, 65, 0.2);
    border-radius: 50px;
    transition: var(--transition-fast);
}
.btn-quick:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* 2. Strengths Card Grid */
.strengths-grid {
    margin-top: 40px;
}
.strength-card {
    background-color: var(--color-white);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--color-accent);
    transition: var(--transition-normal);
}
.strength-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.strength-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(243, 156, 18, 0.1);
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: var(--font-heading);
}
.strength-card h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.strength-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    text-align: left;
}

/* 3. Timeline Schedule */
.timeline-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
}
.day-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    background-color: var(--color-bg-light);
    padding: 10px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    display: inline-block;
}
.timeline-container {
    position: relative;
    padding-left: 32px;
    border-left: 3px solid var(--color-primary-light);
    margin-left: 20px;
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 3px solid var(--color-primary);
    z-index: 2;
}
.timeline-item.highlight::before {
    width: 16px;
    height: 16px;
    left: -41px;
    top: 8px;
    background-color: var(--color-accent);
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 3px var(--color-primary);
}
.timeline-item .time {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-secondary);
    min-width: 60px;
    padding-top: 2px;
}
.timeline-item .content {
    font-size: 1.05rem;
    color: var(--color-text);
}
.timeline-item .card-content {
    background: var(--color-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    border-left: 4px solid var(--color-accent);
}
.timeline-item .card-content h4 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.timeline-img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}
.timeline-item .card-content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* 4. Floating CTA (スマホ用固定ボタン) */
.floating-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 400px;
    z-index: 999;
    display: none; /* デフォルトは非表示（PC環境） */
}
.btn-floating {
    display: block;
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    text-align: center;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(243, 156, 18, 0.4);
    transition: var(--transition-normal);
}
.btn-floating:hover {
    background-color: #d67118;
    transform: scale(1.02);
}

/* 5. Responsive Optimization for New Elements */
@media (max-width: 768px) {
    .camp-hero h1 {
        font-size: 2.2rem !important;
    }
    .camp-hero h1 span {
        font-size: 1.3rem !important;
    }
    .quick-links-wrapper {
        top: 60px; /* Adjust for mobile header height */
        padding: 12px 0;
    }
    .btn-quick {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    .timeline-container {
        margin-left: 10px;
    }
    .timeline-item {
        flex-direction: column;
        gap: 4px;
    }
    .timeline-item .time {
        font-size: 0.9rem;
    }
    /* スマホ環境のみ追従ボタンを表示 */
    .floating-cta {
        display: block;
    }
    /* 追従ボタンと被らないように最下部に余白を追加 */
    body {
        padding-bottom: 80px;
    }
}

/* ==========================================================================
   Scroll Animation Classes (Phase 2)
   ========================================================================== */

/* 初期状態（透明で少し下に下がっている状態） */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 画面内に入った時の状態（不透明になり元の位置に戻る） */
.fade-in-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 強みカード（グリッド）表示時の時間差演出（ディレイ） */
.strengths-grid .strength-card:nth-child(1) { transition-delay: 0s; }
.strengths-grid .strength-card:nth-child(2) { transition-delay: 0.15s; }
.strengths-grid .strength-card:nth-child(3) { transition-delay: 0.3s; }
.strengths-grid .strength-card:nth-child(4) { transition-delay: 0.45s; }

/* スマホ表示時はディレイを解除（縦1列になるため順番にフェードインさせる） */
@media (max-width: 768px) {
    .strengths-grid .strength-card {
        transition-delay: 0s !important;
    }
}

/* ==========================================================================
   DWC Camp Page Professional LP Styles
   ========================================================================== */

/* ページヘッダーの補正 */
.camp-tag {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-accent);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}
.page-header-split h1 span {
    font-size: 1.4rem;
    font-weight: normal;
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.9);
}

/* クイックリンク（目次チップ）の横スクロール・固定・アニメーション制御 */
.quick-links-wrapper {
    background-color: var(--color-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--color-bg-light);
    position: sticky;
    top: 70px; /* ヘッダーの下に固定 */
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease-in-out; /* JSで隠す時のアニメーション */
}
/* JSで下スクロール時に付与されるクラス */
.quick-links-wrapper.is-hidden {
    transform: translateY(-150%);
}
.quick-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.btn-quick {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-bg);
    border: 1px solid rgba(59, 95, 65, 0.2);
    border-radius: 50px;
    transition: var(--transition-fast);
    white-space: nowrap;
}
.btn-quick:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}
.btn-quick-cta {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn-quick-cta:hover {
    background-color: #d67118;
    color: var(--color-white);
}

/* 私たちの想い（Philosophy）カードスタイル */
.philosophy-container {
    max-width: 800px;
}
.philosophy-card {
    margin-bottom: 32px;
    background: var(--color-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.philosophy-card:last-child {
    margin-bottom: 0;
}
.philosophy-card h3 {
    color: var(--color-primary);
    margin-bottom: 12px;
}
.philosophy-card.card-accent { border-left: 4px solid var(--color-accent); }
.philosophy-card.card-primary { border-left: 4px solid var(--color-primary); }
.philosophy-card.card-secondary { border-left: 4px solid var(--color-secondary); }
.value-list { padding-left: 20px; }
.value-list li { margin-bottom: 12px; color: var(--color-text); }
.value-list li:last-child { margin-bottom: 0; }

/* 中間CTA・ポリシーアラート補正 */
.mid-cta-wrapper {
    padding: 60px 24px;
    background-color: var(--color-white);
}
.policy-alert {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--color-text);
}
.policy-alert a {
    color: var(--color-primary);
    font-weight: bold;
    text-decoration: underline;
    margin: 0 4px;
}

/* 独立した保護者説明会（Briefing）セクションのデザイン */
.briefing-box {
    max-width: 850px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-accent);
}
.briefing-box-title {
    color: var(--color-accent);
    font-size: 1.4rem;
    border-bottom: 2px dashed var(--color-bg-light);
    padding-bottom: 12px;
    margin-bottom: 24px;
}
.warning-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 24px;
    margin-bottom: 32px;
    border-radius: 0 8px 8px 0;
    text-align: left;
}
.warning-title {
    font-weight: bold;
    color: #b08d00;
    margin-bottom: 12px;
    font-size: 1.05rem;
}
.warning-box p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--color-text);
}
.warning-highlight {
    color: #c0392b !important;
    font-weight: bold;
    margin-top: 12px !important;
    line-height: 1.6;
}
.insta-alert-box {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(176, 141, 0, 0.3);
}
.btn-insta-wide {
    display: block;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--color-white) !important;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}
.btn-insta-wide:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.briefing-content-list h4, .briefing-schedule h4 {
    color: var(--color-primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
    text-align: left;
}
.briefing-content-list ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 32px;
    text-align: left;
}
.briefing-content-list li {
    margin-bottom: 8px;
    color: var(--color-text);
}
.briefing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.briefing-table tr {
    border-bottom: 1px solid var(--color-bg-light);
}
.briefing-table tr:last-child {
    border-bottom: none;
}
.briefing-table th {
    padding: 16px 8px;
    text-align: left;
    width: 25%;
    color: var(--color-text);
    vertical-align: top;
}
.briefing-table td {
    padding: 16px 8px;
    color: var(--color-text);
    text-align: left;
    line-height: 1.6;
}
.briefing-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-align: left;
}
.briefing-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}
.btn-briefing-reserve {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 1.15rem;
    padding: 16px 48px;
    display: inline-block;
    border-radius: 50px;
}
.btn-briefing-reserve:hover {
    background-color: var(--color-accent);
    color: var(--color-white) !important;
}

/* スマホ・レスポンシブ環境での目次横スクロール化 */
@media (max-width: 768px) {
    /* 目次枠の被り防止と位置調整 */
    .quick-links-wrapper {
        top: 70px; /* 60pxから70pxに修正（ヘッダーの実際の高さに合わせる） */
        padding: 12px 0;
        background-color: var(--color-white); /* 完全に不透明にする */
        z-index: 990; /* 最前面へ（ヘッダーよりは下） */
    }
    
    /* 横スクロールを解除し、自然な折り返し（2行）に変更 */
    .quick-links-container {
        justify-content: center;
        flex-wrap: wrap; /* ここが重要：折り返しを許可 */
        overflow-x: visible; /* スクロール解除 */
        padding: 0 12px;
        gap: 8px; /* ボタン同士の隙間を少し狭める */
    }
    
    /* 以下既存の設定はそのまま */
    .btn-quick {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
    .briefing-box {
        padding: 24px 16px;
    }
    .briefing-table th, .briefing-table td {
        display: block;
        width: 100%;
        padding: 8px 0;
    }
    .briefing-table th {
        border-bottom: none;
        padding-bottom: 0;
    }
}
