@charset "UTF-8";

/* ==========================================================================
   変数・共通設定
   ========================================================================== */
:root {
    --ozora-blue: #00A3E9;
    --summer-orange: #FF6F00;
    --accent-yellow: #fff100;
    --bg-light: #f4f9ff;
    --text-main: #333;
    --white: #ffffff;
    --lemon-yellow: #F1EC61;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
    color: var(--text-main);
    margin: 0;
    padding-bottom: 90px;
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Hero（ヘッダー）セクション
   ========================================================================== */
.hero {
    background: var(--bg-light);
    text-align: center;
    padding: 60px 20px;
    border-bottom: 10px solid var(--ozora-blue);
}

/* 背景スライドショーの枠 */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    z-index: 1;
}

/* スライド画像の設定 */
.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideFade 15s infinite;
    /* 文字を読みやすくするためのグラデーション暗幕 */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

/* 画像パスの設定（適宜 img/ フォルダ内の画像名に合わせてください） */
.img1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/slide01.jpg');
    animation-delay: 0s;
}

.img2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/slide02.jpg');
    animation-delay: 5s;
}

.img3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/slide03.jpg');
    animation-delay: 10s;
}

@keyframes slideFade {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    43% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.marker-yellow {
    /* 背景のグラデーションを「塗りつぶし」の状態にして、サイズを0から100に動かす */
    background: linear-gradient(transparent 50%, var(--summer-orange) 50%);
    /* 背景が暗めの画像でも目立つように白文字へ */
    background-repeat: no-repeat;
    background-size: 0% 100%; /* 最初は幅0% */
    
    /* アニメーションの設定 */
    animation: markerDraw 1.5s ease-out forwards;
    animation-delay: 0.8s; /* 背景スライドが落ち着いた頃に開始 */

    font-weight: 900;
    font-size: 1.3rem;
    padding: 0 10px;
    display: inline-block;
    color: #fff;
}

/* 線の動きを定義 */
@keyframes markerDraw {
    0% {
        background-size: 0% 100%;
    }
    100% {
        background-size: 100% 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    /* paddingの1番目（上）を 40px から 10px などに減らす */
    padding: 10px 20px 40px;
}

.hero-logo {
    max-width: 320px;
    height: auto;
    /* marginの2番目（左右）はそのまま、3番目（下）を 100px に設定 */
    margin: 20px auto 120px; 
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
    display: block; /* 中央寄せを確実にするため */
}

/* キャッチコピー看板：枠なし・シャドウスタイル */
.hero-date-visual.summer-catch {
    display: inline-block;
    transform: rotate(-1deg);
    margin: 25px 0;
    padding: 12px 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 111, 0, 0.15);
}

.catch-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--summer-orange);
    letter-spacing: 0.1em;
}

/* --- 会場バナー & info-tag --- */
.location-banner {
    background: var(--white);
    border: 4px solid var(--ozora-blue);
    display: inline-block;
    padding: 15px 40px;
    border-radius: 25px;
    margin: 10px 0 20px;
}

.info-tag {
    background-color: var(--ozora-blue);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: bold;
    padding: 4px 15px;
    border-radius: 50px;
    margin: 0 5px;
    display: inline-block;
}

.location-main {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--ozora-blue);
    margin: 10px 0 0;
}

/* ==========================================================================
   【重要修正】受付時間スケジュール（縦並び・横の仕切り線）
   ========================================================================== */
.session-wrapper {
    display: flex;
    flex-direction: column;
    /* PCでも縦並びに変更 */
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 15px;
    border-radius: 20px;
    border: 2px solid #eee;
    max-width: 500px;
    /* 横幅を少し絞ってスッキリさせる */
    margin: 30px auto 0;
}

.session-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.session-label {
    background: var(--summer-orange);
    color: var(--white);
    font-size: 0.85rem;
    padding: 2px 15px;
    border-radius: 6px;
    font-weight: 900;
    margin-bottom: 8px;
}

.session-time {
    font-size: 1.8rem;
    font-weight: 900;
}

.reception {
    font-size: 0.85rem;
    color: #666;
}

/* 仕切り線を「横線」に変更 */
.session-divider {
    width: 80%;
    /* 横幅を指定 */
    height: 2px;
    /* 厚みを指定 */
    background: #eee;
    margin: 10px 0;
}

/* ==========================================================================
   メインコンテンツ以降
   ========================================================================== */
.section-title {
    position: relative;
    text-align: center;
    color: var(--ozora-blue);
    font-weight: 900;
    font-size: 1.8rem;
    margin: 60px auto 40px;
    display: table;
    padding: 0 20px;
    background: linear-gradient(transparent 65%, var(--accent-yellow) 65%);
}

.section-title::before,
.section-title::after {
    content: '✨';
    position: absolute;
    top: -15px;
    font-size: 1.2rem;
}

.section-title::before {
    left: -25px;
    transform: rotate(-15deg);
}

.section-title::after {
    right: -25px;
    transform: rotate(15deg);
}

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

.program-card {
    background: var(--white);
    border: 2px dashed var(--ozora-blue);
    padding: 30px 25px;
    border-radius: 25px;
}

.program-card.highlight {
    background: #fffdf0;
    border: 3px solid var(--summer-orange);
}

.pickup-tag {
    background: var(--ozora-blue);
    color: var(--white);
    font-size: 0.75rem;
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 15px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.content-card {
    text-align: center;
    background: var(--white);
    padding: 25px 10px;
    border-radius: 20px;
    border: 2px solid #eee;
}

.content-image {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    font-size: 3rem;
    background: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 15px;
}

.area-item {
    margin-bottom: 15px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.area-item summary {
    background: var(--ozora-blue);
    color: var(--white);
    padding: 18px 25px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.area-item summary::after {
    content: '＋';
    position: absolute;
    right: 25px;
}

.area-item[open] summary::after {
    content: '－';
}

.campus-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 20px;
    background: #fcfcfc;
}

.campus-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 12px;
    background: var(--white);
}

.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    text-align: center;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.cta-button {
    background: var(--summer-orange);
    color: var(--white);
    padding: 14px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    display: inline-block;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

@media (max-width: 768px) {
    .catch-text {
        font-size: 1.5rem;
    }

    .hero-date-visual.summer-catch {
        padding: 10px 25px;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cta-button {
        width: 95%;
        padding: 12px 20px;
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   【重要】会場案内：地図の自動縮小設定
   ========================================================================== */
.area-item { margin-bottom: 15px; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid #eee; }
.area-item summary { background: var(--ozora-blue); color: var(--white); padding: 18px 25px; font-weight: 900; cursor: pointer; list-style: none; position: relative; }

.campus-list { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 15px; 
    padding: 20px; 
    background: #fcfcfc; 
}

.campus-card { 
    border: 1px solid #eee; 
    padding: 15px; 
    border-radius: 12px; 
    background: var(--white); 
    display: flex;
    flex-direction: column;
}

/* 地図の枠：幅を100%にし、アスペクト比を維持 */
.campus-map-thumb { 
    width: 100%; 
    max-width: 100%;    /* 親要素の幅を超えない */
    aspect-ratio: 1 / 1; /* 正方形に固定（PDF[cite: 1]の地図風） */
    border-radius: 8px; 
    overflow: hidden; 
    margin-top: auto;   /* テキストが短くても画像を下に揃える */
    background: #eee;
}

/* 地図画像：枠の幅に合わせて自動縮小 */
.campus-map-thumb img { 
    width: 100%;        /* 枠の幅いっぱいに広げる */
    height: 100%;       /* 枠の高さに合わせる */
    display: block;
    object-fit: cover;  /* 比率を保ったまま枠を埋める（はみ出しはカット） */
    object-position: center; 
}

/* ==========================================================================
   固定CTA
   ========================================================================== */
.floating-cta { 
    position: fixed; bottom: 0; left: 0; width: 100%; 
    background: rgba(255, 255, 255, 0.95); padding: 12px; 
    text-align: center; box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08); z-index: 1000; 
}
.cta-button { 
    background: var(--summer-orange); color: var(--white); padding: 14px 50px; 
    border-radius: 50px; text-decoration: none; font-weight: 900; font-size: 1.1rem; 
    display: inline-block; border: none; box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3); 
}

@media (max-width: 768px) {
    .catch-text { font-size: 1.5rem; }
    .hero-date-visual.summer-catch { padding: 10px 25px; }
    .content-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}

/* ページ内ボタン専用のデザイン */
.btn-inline {
    display: inline-block;
    background-color: #fff; /* 背景を白に */
    color: var(--summer-orange); /* 文字をオレンジに */
    border: 2px solid var(--summer-orange); /* オレンジの枠線 */
    padding: 12px 20px;
    margin: 6px 0px;
    border-radius: 4px; /* 角丸を控えめにしてシャープに */
    text-decoration: none;
    font-weight: 900;
    transition: all 0.3s;
    position: relative;
}

/* ホバー時に色を反転させる演出 */
.btn-inline:hover {
    background-color: var(--summer-orange);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

/* ページ内ボタン専用のデザイン */
.btn-inline2 {
    display: inline-block;
    background-color: #fff; /* 背景を白に */
    color: var(--lemon-yellow); /* 文字をオレンジに */
    border: 2px solid; /* オレンジの枠線 */
    padding: 12px 20px;
    margin: 6px 0px;
    border-radius: 4px; /* 角丸を控えめにしてシャープに */
    text-decoration: none;
    font-weight: 900;
    transition: all 0.3s;
    position: relative;
}

/* ホバー時に色を反転させる演出 */
.btn-inline2:hover {
    background-color: var(--lemon-yellow);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

/* ==========================================
   追加：近日受付開始（無効化ボタン）
   ========================================== */
.btn-disabled-container {
    margin-top: 6px;
    margin-bottom: 6px;
}

.btn-disabled {
    display: inline-block;
    background-color: #e0e0e0; /* 落ち着いたライトグレー */
    border: 2px solid #b1b1b1;  /* やや濃いめのグレー枠 */
    color: #757575;            /* 文字色も薄くして目立たせない */
    font-weight: bold;
    font-size: 0.9rem;
    padding: 12px 20px;
    margin: 6px 0px;
    border-radius: 4px;
    text-align: center;
    cursor: not-allowed;       /* マウスを乗せたときに「禁止マーク」のカーソルにする */
    
    /* 他のボタンの立体影（box-shadow）や沈み込みアニメーションを無しにする */
    box-shadow: none;
    transform: none;
    transition: none;
    
    /* 文字の選択（ブルーのハイライト）を防ぐ */
    user-select: none; 
}

/* マウスを乗せても色が変わったり動いたりしないように固定 */
.btn-disabled:hover {
    background-color: #e0e0e0;
    color: #757575;
    transform: none;
}