@charset "UTF-8";
/* ============================================================
   English Camp 夏ハブ（/english-camps/summer/）
   page-english-camps-summer.php 専用。名前空間: ecs-
   トーン: English Camp（体験・楽しさ・成長）
   主色: オレンジ #FC9B23／コーラル #FE766B／クリーム #FFFCF0
   ============================================================ */

.ecs-fv,
.ecs-nav,
.ecs-section {
    font-family: "ZenKakuGothicNew", "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 1.8;
}

.ecs-sp-only { display: none; }
@media (max-width: 768px) {
    .ecs-sp-only { display: inline; }
}

/* ---------- ボタン ---------- */
.ecs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ecs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.ecs-btn--primary {
    background: #FC9B23;
    color: #fff;
    box-shadow: 0 4px 0 #d97f0e;
}
.ecs-btn--primary:hover { box-shadow: 0 6px 16px rgba(252, 155, 35, 0.4); }
.ecs-btn--line {
    background: #38C24A;
    color: #fff;
    box-shadow: 0 4px 0 #2a9c39;
}
.ecs-btn--line:hover { box-shadow: 0 6px 16px rgba(56, 194, 74, 0.4); }

.ecs-cta-pair {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ---------- FV ---------- */
.ecs-fv {
    background:
        radial-gradient(circle at 85% 12%, rgba(255, 205, 0, 0.35) 0%, rgba(255, 205, 0, 0) 42%),
        linear-gradient(180deg, #FFF6D1 0%, #FFFCF0 100%);
    padding: 56px 20px 48px;
    overflow: hidden;
}
.ecs-fv__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
}
.ecs-fv__text {
    flex: 1 1 55%;
    text-align: left;
}
.ecs-fv__badge {
    display: inline-block;
    background: #FE766B;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.ecs-fv__title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 20px;
}
.ecs-fv__sub {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #FC9B23;
    margin-top: 12px;
}
.ecs-fv__lead {
    font-size: 15.5px;
    margin: 0 0 24px;
}
.ecs-fv__points {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.ecs-fv__points li {
    background: #fff;
    border: 2px solid #FC9B23;
    color: #d97f0e;
    font-weight: 700;
    font-size: 13.5px;
    padding: 7px 14px;
    border-radius: 999px;
}
.ecs-fv__cta-note {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

/* ポラロイド風フォトコラージュ */
.ecs-fv__photos {
    flex: 0 0 38%;
    position: relative;
    height: 460px;
    align-self: stretch;
    min-width: 0;
}
.ecs-fv__photo {
    position: absolute;
    margin: 0;
    background: #fff;
    padding: 10px 10px 8px;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(120, 80, 0, 0.18);
}
.ecs-fv__photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}
.ecs-fv__photo figcaption {
    font-size: 11px;
    font-weight: 700;
    color: #a08a5a;
    text-align: center;
    padding: 6px 0 2px;
}
.ecs-fv__photo--main figcaption {
    text-align: left;
    padding-left: 6px;
}
.ecs-fv__photo--main {
    width: 74%;
    top: 6%;
    left: 0;
    transform: rotate(-4deg);
    z-index: 1;
}
.ecs-fv__photo--sub {
    width: 56%;
    right: 0;
    top: 50%;
    transform: rotate(5deg);
    z-index: 2;
}
.ecs-fv__photo--accent {
    width: 40%;
    left: 4%;
    bottom: 0;
    transform: rotate(-8deg);
    z-index: 3;
}

/* ---------- ページ内ナビ ---------- */
.ecs-nav {
    background: #fff;
    border-bottom: 1px solid #f0e6d0;
    position: sticky;
    /* ECヘッダーは position:fixed; top:0; z-index:8; 高さ144px(PC実測)。
       その下に追従させる。z-indexもヘッダーより下げる */
    top: 144px;
    z-index: 6;
}
.ecs-nav ul {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 auto;
    padding: 0 12px;
    max-width: 1100px;
}
.ecs-nav a {
    display: block;
    padding: 14px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.ecs-nav a:hover {
    color: #FC9B23;
    border-bottom-color: #FC9B23;
}

/* ---------- セクション共通 ---------- */
.ecs-section {
    padding: 72px 20px;
    /* 固定ヘッダー(144px)+追従ナビ(約50px)にアンカー先が隠れないように */
    scroll-margin-top: 200px;
}
.ecs-section:nth-of-type(even) {
    background: #FFFCF0;
}
.ecs-section__inner {
    max-width: 1000px;
    margin: 0 auto;
}
.ecs-heading {
    text-align: center;
    margin-bottom: 40px;
}
.ecs-heading__label {
    font-family: "Montserrat", "ZenKakuGothicNew", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: #FC9B23;
    margin-bottom: 8px;
}
.ecs-heading h2 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.5;
}
.ecs-block__title {
    font-size: 20px;
    font-weight: 800;
    margin: 40px 0 16px;
    padding-left: 14px;
    border-left: 5px solid #FC9B23;
}
.ecs-note {
    font-size: 13px;
    color: #888;
    margin-top: 12px;
}
.ecs-more a {
    color: #1C9BF0;
    font-weight: 700;
    text-decoration: underline;
}
.ecs-more--center {
    text-align: center;
    margin-top: 32px;
}

/* ---------- 次回開催 ---------- */
.ecs-next__card {
    background: #fff;
    border: 3px solid #FC9B23;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 8px;
}
.ecs-next__status {
    font-size: 18px;
    font-weight: 800;
    color: #d97f0e;
    margin-bottom: 12px;
}
.ecs-table-wrap {
    overflow-x: auto;
    margin-top: 8px;
}
.ecs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.ecs-table th,
.ecs-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #f0e6d0;
    font-size: 15px;
}
.ecs-table th {
    background: #FFF6D1;
    font-weight: 700;
    width: 160px;
    white-space: nowrap;
}
.ecs-table tr:last-child th,
.ecs-table tr:last-child td {
    border-bottom: none;
}

/* ---------- 特徴 ---------- */
.ecs-about__lead {
    max-width: 800px;
    margin: 0 auto 40px;
}
.ecs-feature__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ecs-feature__item {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.ecs-feature__item h3 {
    font-size: 18px;
    font-weight: 800;
    color: #FC9B23;
    margin-bottom: 12px;
    text-align: center;
}
.ecs-feature__item p {
    font-size: 14px;
}

/* ---------- 拠点カード ---------- */
.ecs-camps__lead {
    text-align: center;
    margin-bottom: 32px;
}
.ecs-camps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ecs-camp-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ecs-camp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}
.ecs-camp-card__photo {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.ecs-camp-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ecs-camp-card__body {
    padding: 18px 20px 22px;
}
.ecs-camp-card__area {
    display: inline-block;
    background: #FFF6D1;
    color: #d97f0e;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.ecs-camp-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}
.ecs-camp-card p:not(.ecs-camp-card__area) {
    font-size: 13.5px;
    line-height: 1.7;
}
.ecs-camp-card--wide {
    grid-column: span 3;
    flex-direction: row;
}
.ecs-camp-card--wide .ecs-camp-card__photo {
    flex: 0 0 42%;
    aspect-ratio: auto;
}
.ecs-camp-card--wide .ecs-camp-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---------- 地域別・学年別 ---------- */
.ecs-area__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.ecs-area__item {
    background: #fff;
    border-radius: 16px;
    padding: 28px 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.ecs-area__item h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 5px solid #FE766B;
}
.ecs-area__item p {
    font-size: 14.5px;
    margin-bottom: 12px;
}

/* ---------- FAQ ---------- */
.ecs-faq__item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.ecs-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
}
.ecs-faq__item summary::-webkit-details-marker { display: none; }
.ecs-faq__item summary h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}
.ecs-faq__icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    position: relative;
}
.ecs-faq__icon::before,
.ecs-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 3px;
    background: #FC9B23;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}
.ecs-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.ecs-faq__item[open] .ecs-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}
.ecs-faq__body {
    padding: 0 22px 20px;
    font-size: 14.5px;
}
.ecs-faq__body a {
    color: #1C9BF0;
    text-decoration: underline;
}

/* ---------- CTA ---------- */
.ecs-cta {
    background: linear-gradient(180deg, #FFF6D1 0%, #FFFCF0 100%);
}
.ecs-cta__lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
    .ecs-feature__grid,
    .ecs-camps__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ecs-camp-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .ecs-fv__inner {
        flex-direction: column;
        gap: 8px;
    }
    .ecs-fv__text { text-align: center; }
    .ecs-fv__lead { text-align: left; }
    .ecs-fv__points { justify-content: center; }
    .ecs-fv__photos {
        position: relative;
        height: auto;
        width: 100%;
        max-width: 480px;
        align-self: center;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
        margin-top: 20px;
    }
    .ecs-fv__photo {
        position: relative;
        inset: auto;
    }
    .ecs-fv__photo--main {
        width: 44%;
        transform: rotate(-5deg);
        z-index: 1;
    }
    .ecs-fv__photo--sub {
        width: 38%;
        transform: rotate(4deg) translateY(14px);
        margin-left: -4%;
        z-index: 2;
    }
    .ecs-fv__photo--accent {
        width: 30%;
        transform: rotate(-7deg) translateY(4px);
        margin-left: -3%;
        z-index: 3;
    }
    .ecs-fv__photo figcaption { font-size: 9.5px; padding-top: 4px; }
}

@media (max-width: 768px) {
    .ecs-fv { padding: 40px 16px 36px; }
    .ecs-fv__title { font-size: 28px; }
    .ecs-fv__sub { font-size: 17px; }
    .ecs-fv__lead { font-size: 14.5px; }
    .ecs-heading h2 { font-size: 23px; }
    .ecs-section { padding: 52px 16px; }
    .ecs-nav { position: static; }
    .ecs-nav a { padding: 10px 8px; font-size: 12.5px; }
    .ecs-section { scroll-margin-top: 72px; }
    .ecs-next__card { padding: 20px 18px; }
    .ecs-next__status { font-size: 16px; }
    .ecs-table th { width: 110px; padding: 12px 12px; font-size: 13.5px; }
    .ecs-table td { padding: 12px 14px; font-size: 13.5px; }
    .ecs-feature__grid,
    .ecs-camps__grid,
    .ecs-area__grid {
        grid-template-columns: 1fr;
    }
    .ecs-camp-card--wide {
        grid-column: span 1;
        flex-direction: column;
    }
    .ecs-camp-card--wide .ecs-camp-card__photo {
        flex: none;
        aspect-ratio: 16 / 9;
    }
    .ecs-btn { width: 100%; max-width: 360px; }
    .ecs-cta-pair { flex-direction: column; align-items: center; }
}
