/* ================================================
   activity-detail.css — 個別活動ページ共通スタイル
   ================================================ */

.detail-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 92px 0 72px;
}

.detail-hero--blue {
    background: linear-gradient(145deg, #e8f2fb 0%, #ddebfa 100%);
}

.detail-hero--green {
    background: linear-gradient(145deg, #e8f4ee 0%, #dcf0e4 100%);
}

.detail-hero--orange {
    background: linear-gradient(145deg, #fef1e5 0%, #fde8d4 100%);
}

.detail-hero__en {
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sunset-orange-dark);
}

.detail-hero__title {
    font-size: clamp(2.2rem, 4.8vw, 3rem);
    margin-bottom: 14px;
}

.detail-hero__sub {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-sub);
    font-size: 1.03rem;
}

.detail-feature {
    background: var(--bg-white);
}

.detail-feature__image {
    display: block;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-stadium);
    border: 1px solid rgba(35, 90, 132, 0.14);
    box-shadow: var(--shadow-lg);
}

.detail-video {
    background: var(--bg-soft);
}

.detail-video__frame {
    max-width: 920px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(35, 90, 132, 0.14);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.detail-video__frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.detail-howto {
    background: var(--bg-cream);
}

.detail-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}

.detail-step {
    position: relative;
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(32, 87, 127, 0.13);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.detail-step::before {
    content: counter(step);
    counter-increment: step;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--river-blue);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.06rem;
}

.detail-step__title {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.detail-step__text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-sub);
}

.detail-content {
    background: var(--bg-white);
}

.detail-content__inner {
    max-width: 820px;
    margin: 0 auto;
}

.detail-content__text {
    margin-bottom: 24px;
    color: var(--text-sub);
    line-height: 2;
}

.detail-cta {
    background: var(--bg-light-blue);
    text-align: center;
}

.detail-cta__title {
    margin-bottom: 14px;
    font-size: 1.52rem;
}

.detail-cta__text {
    margin-bottom: 24px;
    color: var(--text-sub);
}

.detail-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 1024px) {
    .detail-steps {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .detail-hero {
        padding: 72px 0 56px;
    }

    .detail-hero__title {
        font-size: 2.02rem;
    }

    .detail-hero__sub {
        font-size: 0.95rem;
    }

    .detail-video__frame {
        border-radius: var(--radius-lg);
    }
}

/* ================================================
   くまカメ専用セクション
   ================================================ */

/* --- 3本の柱 --- */
.kc-pillars {
    background: var(--bg-white);
}

.kc-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.kc-pillar {
    padding: 24px;
}

.kc-pillar__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--forest-green);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.kc-pillar__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.kc-pillar__img {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1;
    object-fit: contain;
    margin: 0 auto 18px;
    border-radius: var(--radius-md);
}

.kc-pillar__text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-sub);
}

/* --- いろいろな使い方 --- */
.kc-usecases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.kc-usecase {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(35, 90, 132, 0.12);
    box-shadow: var(--shadow-sm);
}

.kc-usecase__photo {
    overflow: hidden;
}

.kc-usecase__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.kc-usecase__title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--river-blue);
    padding: 20px 20px 0;
    line-height: 1.4;
}

.kc-usecase__area {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 8px 20px 0;
    position: relative;
}

.kc-usecase__area::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--river-blue);
    vertical-align: middle;
    margin-right: 8px;
}

.kc-usecase__text {
    font-size: 0.88rem;
    line-height: 1.85;
    color: var(--text-sub);
    padding: 10px 20px 24px;
}

/* --- LINE共有セクション --- */
.kc-line {
    background: var(--bg-white);
}

.kc-line__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.kc-line__screenshot {
    background: #f5f5f5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(35, 90, 132, 0.1);
    box-shadow: var(--shadow-sm);
}

.kc-line__img {
    width: 100%;
    object-fit: contain;
}

.kc-line__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.kc-line__text {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-sub);
}

/* --- 設置場所 --- */
.kc-locations__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.kc-locations__map {
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(35, 90, 132, 0.12);
    box-shadow: var(--shadow-sm);
}

.kc-locations__map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.kc-locations__list-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.kc-locations__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kc-locations__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.kc-locations__item::before {
    content: '📍';
    font-size: 1rem;
    flex-shrink: 0;
}

/* --- ワークショップ --- */
.kc-workshop {
    background: var(--bg-white);
}

.kc-workshop__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.kc-workshop__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.5;
}

.kc-workshop__text {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-sub);
}

/* --- くまカメ購入 --- */
.kc-purchase__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.kc-purchase__card {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.kc-purchase__card:hover {
    transform: translateY(-4px);
    color: inherit;
}

.kc-purchase__img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(35, 90, 132, 0.1);
    box-shadow: var(--shadow-sm);
}

.kc-purchase__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.kc-purchase__name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.kc-purchase__price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--river-blue-dark);
}

/* --- レスポンシブ --- */
@media (max-width: 1024px) {
    .kc-pillars__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .kc-usecases__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .kc-line__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .kc-locations__grid {
        grid-template-columns: 1fr;
    }

    .kc-locations__map {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .kc-pillars__grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
        gap: 36px;
    }

    .kc-pillar__title {
        font-size: 1.15rem;
    }

    .kc-usecase__title {
        font-size: 1.3rem;
    }

    .kc-line__title {
        font-size: 1.3rem;
    }

    .kc-purchase__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .kc-workshop__title {
        font-size: 1.25rem;
    }
}