@charset "UTF-8";

/* ===================================
   パンくずリスト (Breadcrumb)
   =================================== */
.ed-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #516881;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.ed-breadcrumb a {
    color: #516881;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.8;
}

.ed-breadcrumb a:hover {
    opacity: 1;
}

.ed-breadcrumb-sep {
    color: #9fd9f6;
    font-size: 14px;
}

/* ===================================
   ① ヒーロー (Hero)
   =================================== */
.ed-hero {
    width: 100%;
    background-color: #9fd9f6;
    padding: 40px 20px 50px;
}

.ed-hero-inner {
    max-width: 980px;
    margin: 0 auto;
}

.ed-hero-content {
    display: flex;
    align-items: center;
    gap: 48px;
}

.ed-hero-left {
    flex: 1;
}

.ed-cat-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    padding: 5px 14px;
    border-radius: 14px;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.badge-story    { background-color: #f87a6d; }
.badge-workshop { background-color: #fe4c7f; }
.badge-online   { background-color: #516881; }
.badge-exchange { background-color: #30b9bf; }

.ed-hero-title {
    font-size: 40px;
    font-weight: bold;
    color: #516881;
    margin: 0 0 16px;
    line-height: 1.3;
    letter-spacing: 0.04em;
}

.ed-hero-desc {
    font-size: 15px;
    color: #516881;
    line-height: 1.9;
    margin: 0 0 24px;
}

.ed-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ed-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: bold;
    color: #516881;
}

.ed-pill svg {
    color: #516881;
    flex-shrink: 0;
}

.ed-hero-right {
    width: 380px;
    flex-shrink: 0;
}

.ed-hero-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 6px 6px 0 rgba(81, 104, 129, 0.2);
}

/* ===================================
   ② イベント詳細情報 (Info)
   =================================== */
.ed-info {
    width: 100%;
    background-color: #fff;
    padding: 80px 20px 90px;
}

.ed-info-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.ed-info-left {
    flex: 1;
}

.ed-info-right {
    width: 360px;
    flex-shrink: 0;
}

.ed-info-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #516881;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #9fd9f6;
}

.ed-info-heading img {
    height: 32px;
    width: auto;
}

/* 詳細テーブル */
.ed-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.ed-detail-table tbody tr {
    border-bottom: 1px solid #e8f4fb;
}

.ed-detail-table tbody tr:last-child {
    border-bottom: none;
}

.ed-detail-table th {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 110px;
    padding: 16px 12px 16px 0;
    font-size: 13px;
    font-weight: bold;
    color: #516881;
    vertical-align: middle;
    white-space: nowrap;
}

.ed-detail-table th svg {
    color: #9fd9f6;
    flex-shrink: 0;
}

.ed-detail-table td {
    padding: 16px 0 16px 12px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    vertical-align: middle;
}

/* テーブルは通常のtable構造で */
.ed-detail-table th {
    display: table-cell;
    vertical-align: middle;
}

.ed-address {
    font-size: 12px;
    color: #888;
}

.ed-free-badge {
    display: inline-block;
    background-color: #30b9bf;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 14px;
    border-radius: 12px;
}

/* Google Maps */
.ed-map-wrap {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 5px 5px 0 rgba(81, 104, 129, 0.15);
    margin-bottom: 10px;
}

.ed-map-address {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
    margin: 0;
}

.ed-map-address svg {
    color: #f87a6d;
    flex-shrink: 0;
}

/* ===================================
   ③ フォトギャラリー (Gallery)
   =================================== */
.ed-gallery {
    width: 100%;
    background-color: #9fd9f6;
    padding: 80px 20px 90px;
}

.ed-gallery-inner {
    max-width: 980px;
    margin: 0 auto;
}

.ed-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
}

.ed-gallery-title {
    font-size: 30px;
    color: #516881;
    margin: 8px 0 12px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.ed-gallery-sub {
    font-size: 14px;
    color: #516881;
    margin: 0;
    line-height: 1.8;
}

.ed-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.ed-gallery-item {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 4px 4px 0 rgba(81, 104, 129, 0.15);
    position: relative;
}

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

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

/* メイン写真：左上に2列分の大きさ */
.ed-gallery-main {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    aspect-ratio: unset;
    height: 280px;
}

/* プレースホルダー */
.ed-gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ed-gallery-placeholder svg {
    width: 80px;
    height: 80px;
}

.ed-placeholder-label {
    font-size: 11px;
    font-weight: bold;
    color: #888;
    letter-spacing: 0.1em;
    background-color: rgba(255,255,255,0.7);
    padding: 3px 10px;
    border-radius: 10px;
}

/* ===================================
   ④ 参加申込 (Apply)
   =================================== */
.ed-apply {
    width: 100%;
    background-color: #fff;
    padding: 80px 20px 100px;
}

.ed-apply-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ed-apply-title {
    font-size: 30px;
    font-weight: bold;
    color: #516881;
    margin: 8px 0 16px;
    letter-spacing: 0.05em;
}

.ed-apply-text {
    font-size: 14px;
    color: #555;
    line-height: 1.9;
    margin: 0 0 28px;
}

.ed-apply-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #f0f9ff;
    border-left: 4px solid #9fd9f6;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin-bottom: 40px;
    text-align: left;
}

.ed-apply-notice svg {
    color: #9fd9f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.ed-apply-notice p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.ed-apply-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* 申込みボタン */
.ed-btn-apply {
    display: inline-flex;
    align-items: center;
    background-color: #f5f29f;
    border-radius: 30px;
    padding: 14px 32px 14px 8px;
    box-shadow: 5px 5px #898787;
    transition: transform 0.1s, box-shadow 0.1s;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.ed-btn-apply img {
    height: 46px;
    width: auto;
    margin-right: 10px;
}

.ed-btn-apply:hover {
    box-shadow: none;
    transform: translate(5px, 5px);
    opacity: 1;
}

/* 戻るボタン */
.ed-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ed-btn-back:hover {
    color: #516881;
    opacity: 1;
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 860px) {
    .ed-hero-content {
        flex-direction: column;
        gap: 28px;
    }

    .ed-hero-right {
        width: 100%;
    }

    .ed-hero-img {
        height: 220px;
    }

    .ed-info-inner {
        flex-direction: column;
        gap: 32px;
    }

    .ed-info-right {
        width: 100%;
    }

    .ed-map-wrap {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .ed-hero-title {
        font-size: 28px;
    }

    .ed-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ed-gallery-main {
        grid-column: 1 / 3;
        height: 180px;
    }

    .ed-apply-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .ed-hero-title {
        font-size: 22px;
    }

    .ed-gallery-grid {
        grid-template-columns: 1fr;
    }

    .ed-gallery-main {
        grid-column: auto;
        height: 200px;
    }
}
