@charset "UTF-8";

/* video */
#video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -10;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.2) 70%,
            rgba(230, 240, 250, 0.8) 100%
        );
    z-index: -5;
}

/* キャッチフレーズのスタイル */
.video-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 0 5%;
}

.main-copy {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.4em;
    color: #003366;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.main-copy .u-mobile-only {
    display: none;
}

/* 4色のグラデーションライン */
.logo-line {
    width: clamp(120px, 15vw, 240px);
    height: 5px;
    margin: 0 auto 1.5em;
    border-radius: 2.5px;
    background: linear-gradient(to right,
            #2ecc71 0%,
            #3498db 33%,
            #e67e22 66%,
            #9b59b6 100%
        );
}

.sub-copy {
    font-size: clamp(18px, 2.5vw, 28.8px);
    font-weight: 600;
    line-height: 1.7;
    color: #1a1a1a;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* about */
.about {
    background-color: #fff;
    padding: clamp(60px, 8vw, 120px) 20px;
    text-align: center;
    z-index: 2;
}

/* 文字と写真の重なりを保証 */
.about-text-wrap,
.about-photo {
    position: relative;
    z-index: 2;
}

.about-lead {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 700;
    color: #003366;
    line-height: 2;
    margin-bottom: 60px;
}

/* 写真の初期状態 */
.about-photo {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 画面に入って .is-active がついた時の状態 */
.about-photo.is-active {
    opacity: 1;
    transform: translateY(0);
}

.about-photo img {
    background: #fff;
    padding: 15px;
    transform: rotate(-1.5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-photo img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* activity */
.activity {
    background-color: #EFF1F4;
    padding-top: clamp(40px, 5vw, 100px);
    padding-bottom: clamp(40px, 5vw, 100px);
}

.activity-intro {
    text-align: center;
    margin-bottom: 60px;
}

.activity-copy {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: clamp(1.3rem, 1vw + 1.2rem, 1.8rem);
    font-weight: 800;
}

.activity-intro p {
    line-height: 2;
    max-width: 950px;
    margin: 0 auto;
    font-size: clamp(1rem, 1vw + 0.8rem, 1.2rem);
}

.activity .item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 3%;
}

.activity .item .img {
    max-width: 640px;
    width: 53%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
}

.activity .item .img img {
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s ease;
    display: block;
    width: 100%;
}

.activity .item:hover .img img {
    transform: scale(1.1);
}

/* タイトルグループ全体の余白 */
.activity-title-group {
    max-width: 560px;
    width: 44%;
    position: relative;
}

/* 数字と英語を包むエリア */
.bg-number-wrap {
    position: relative;
    line-height: 1;
}

/* 背景の大きな数字（01, 02...） */
.bg-num {
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 120px;
    font-weight: 800;
    font-family: 'Arial', sans-serif;
    color: transparent;
    -webkit-text-stroke: 1px rgb(230, 126, 34, 0.5);
    z-index: 1;
    user-select: none;
}

/* 英語のテキスト（Lectureなど） */
.bg-text {
    position: absolute;
    top: 0;
    left: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #e67e22;
    z-index: 2;
    text-transform: uppercase;
}

/* 日本語のメインタイトル */
.activity-label {
    position: relative;
    padding-top: 100px;
    font-size: 1.5rem;
    color: #001642;
    z-index: 3;
    border-bottom: 2px solid #001642;
    display: inline-block;
    margin-bottom: 8px;
}

/* calendar */
.calendar {
    padding-top: clamp(40px, 5vw, 100px);
    padding-bottom: clamp(40px, 5vw, 100px);
}


/* セクション全体の基本設定 */
.annual-schedule {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 1層目：背景写真を制御するコンテナ */
.background-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 4枚の写真の共通設定 */
.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    overflow: hidden;
}

.bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ★JavaScriptでこのクラスが付くと表示される */
.bg-img.active {
    opacity: 1;
    z-index: 2;
}

/* 追加：背景が抜けないようにベース色を設定 */
.background-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #fff;
}

/* 2層目：写真の上の白いオーバーレイ（半透明） */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 5;
}

/* 3層目：コンテンツ */
.content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    width: 100%;
}

.calendar-intro {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 40px 30px;
    max-width: 900px;
    margin: 0 auto 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    text-align: center;
}

.calendar-copy {
    color: #001642;
    font-size: clamp(1.3rem, 1vw + 1.2rem, 1.8rem);
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.calendar-intro p {
    color: #333;
    line-height: 2.0;
    font-size: clamp(1rem, 1vw + 0.8rem, 1.2rem);
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto;
}

.calendar-intro small {
    display: block;
    margin-top: 25px;
    color: #666;
    font-size: 0.9375rem;
    font-weight: 600;
}

/* カレンダーのグリッド配置（3列） */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 各月のカード（すりガラス効果） */
.month-card {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 20px;
    min-height: 140px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* ホバー時の演出（少し浮かび上がり、背景を濃く） */
.month-card:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

/* 月の数字と英語のヘッダー部分 */
.month-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

/* 大きな数字 */
.month-num {
    font-size: 3.5rem;
    line-height: 1;
    color: #e67e22;
}

/* 小さな英語表記 */
.month-en {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e67e22;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-style: italic;
}

/* 英語の飾り文字（小さく、間隔を広く） */
.en-mini {
    display: block;
    font-size: 0.75rem;
    color: #003366;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
    opacity: 0.8;
}

/* 日本語のイベント名（しっかり読みやすく） */
.event-name-jp {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

/* 予定がない月の表示 */
.no-event {
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgb(0, 22, 66, 0.9);
}

/* 予定がない月のカードをコンパクトにする */
.month-card:has(.no-event) {
    min-height: auto;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
}

/* joinus */
.joinus {
    background-color: #fff;
    padding-top: clamp(40px, 5vw, 100px);
    padding-bottom: clamp(40px, 5vw, 100px);
}

/* --- メインビジュアルエリア --- */
.joinus-main-visual {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.joinus-main-visual img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

/* 写真中央のコピー */
.main-copy-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
}

.joinus-copy {
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 3rem);
    text-transform: uppercase;
    line-height: 1.4;
    font-weight: bold;
    display: inline-block;
    background-color: transparent;
    text-shadow:
        0 0 8px #e67e22,
        0 0 15px #e67e22,
        2px 2px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    width: max-content;
    font-family: "Hiragino Maru Gothic ProN", "Kosugi Maru", sans-serif;
}

.joinus-copy br {
    display: none;
}

/* 写真下の説明文 */
.joinus-intro p {
    padding: 40px 0;
    text-align: center;
    line-height: 2;
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(1rem, 1vw + 0.8rem, 1.2rem);
}

/* --- サブコンテンツ（3枚並び + マスキングテープ） --- */
.joinus-sub {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.sub-item {
    position: relative;
    flex: 1;
    text-align: center;
    background: #fdfdfd;
    padding: 15px 15px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

/* マスキングテープの擬似要素 */
.sub-item::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-10deg);
    width: 100px;
    height: 30px;
    background-color: rgba(255, 149, 0, 0.8);
    z-index: 2;
    clip-path: polygon(0% 0%, 100% 0%, 95% 50%, 100% 100%, 0% 100%, 5% 50%);
}

.sub-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 2px;
}

.sub-item p {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #444;
}

/* support */
.support {
    background-color: #EFF1F4;
    padding-top: clamp(40px, 5vw, 100px);
    padding-bottom: clamp(40px, 5vw, 100px);
}

.support-area {
    background: #fdfdfd;
    padding: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.support-flex {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.support-flex .img {
    flex: 0 0 45%;
    clip-path: polygon(10% 0%, 100% 0%, 100% 90%, 90% 100%, 0% 100%, 0% 10%);
    border: 10px solid #fff;
}

.support-flex .support-intro {
    flex: 1;
}

.support-copy {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: clamp(1.2rem, 1vw + 1.1rem, 1.45rem);
    font-weight: 800;
    line-height: 1.3;
}

.support-intro p {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 40px;
}

.supporter-full {
    padding-top: 15px;
    border-top: 1px solid #2c3e50;
}

.supporter-text {
    color: #2c3e50;
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.1rem);
    font-weight: 700;
    padding-top: 15px;
}

.supporter-img {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 6%;
    margin: 15px 0;
}

/* 横長ロゴの制御 */
.supporter-img img {
    width: 47%;
    height: auto;
    display: block;
    margin: 10px 0;
    background: #fdfdfd;
}

/* 白文字ロゴ用の特別ルール */
.supporter-img img.is-blue-bg {
    background: #0093D6;
    padding: 15px 25px;
    border-radius: 4px;
    box-sizing: border-box;
}



/*----------------------------
タブレット
-----------------------------*/

@media screen and (max-width: 1024px) {
    /* calendar */
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* joinus */
    .joinus-main-visual img {
        height: 500px;
    }

    /* support */
    .support-flex {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .support-flex .img {
        flex: 0 0 100%;
        width: 100%;
        max-width: 800px;
    }

    .support-flex .img img {
        width: 100%;
        height: auto;
        display: block;
    }

    .support-flex .support-intro {
        width: 100%;
    }

    .support-intro p {
        line-height: 1.8;
    }

}



/*----------------------------
スマートフォン
-----------------------------*/

@media screen and (max-width: 767px) {

    /* video */
    .main-copy .u-mobile-only {
        display: block;
    }

    /* activity */
    .activity-intro p {
        line-height: 1.8;
        text-align: left;
    }

    .bg-num {
        font-size: 80px;
        top: -10px;
    }

    .bg-text {
        font-size: 20px;
    }

    .activity-label {
        padding-top: 60px;
        font-size: 1.25rem;
    }

    .activity .item.activity1 {
        flex-direction: column-reverse;
        margin-bottom: 60px;
    }

    .activity .item.activity2 {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .activity .item .img {
        width: 100%;
        margin-bottom: 20px;
    }

    /* タイトルグループ全体の余白 */
    .activity-title-group {
        width: 100%;
        margin-bottom: 20px;
    }

    /* calendar */
    .calendar-intro p br {
        display: none;
    }

    .calendar-intro {
        margin: 0 15px 40px;
        padding: 30px 20px;
    }

    .calendar-intro p {
        line-height: 1.8;
        text-align: left;
    }

    .calendar-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .bg-img.active {
        transform: none !important;
    }

    /* 大きな数字 */
    .month-num {
        font-size: 2.5rem;
    }

    /* joinus */
    .joinus-sub {
        flex-direction: column;
        align-items: center;
    }

    .sub-item {
        width: 100%;
        max-width: 400px;
        margin-bottom: 40px;
    }

    .joinus-main-visual img {
        height: 300px;
    }

    .joinus-copy {
        letter-spacing: -0.02em;
        padding: 0 10px;
    }

    .joinus-copy br {
        display: block;
    }

    .joinus-intro p {
        line-height: 1.8;
        text-align: left;
    }

    /* support */
    .support-area {
        padding: 15px;
    }

    .supporter-img {
        flex-direction: column;
        gap: 5px;
    }

    .supporter-img img {
        width: 90%;
    }
}