:root {
    --ozora-blue: #00A3E9; /* メインカラー */
    --bg-light: #f4f9ff;
    --text-main: #333;
}

body {
    font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
    color: var(--text-main);
    margin: 0;
    line-height: 1.8;
    background-color: #fff;
}

/* Hero Section */
.hero {
    /* 画像のパスを指定 */
    background-image: url('../img/main.jpg'); 
    background-size: cover;      /* 画面いっぱいに広げる */
    background-position: center; /* 中央合わせ */
    background-attachment: scroll; /* スクロールに追従（固定ならfixed） */
    position: relative;
    color: white;
    text-align: center;
    padding: 100px 20px; /* 上下の余白を広げて画像を見せる */
    z-index: 1;
}

/* 画像の上に半透明の膜を張って文字を読みやすくする */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(177, 226, 247, 0.382); /* おおぞらブルーを%透過 */
    z-index: -1;
}*/

/* --- リード文 --- */
.lead-container {
    text-align: center;
    color: #333;
    line-height: 1.8;
    margin: 30px auto;
    max-width: 600px;
}

.lead-main-text {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.lead-sub-text {
    font-size: 1rem;
    opacity: 0.9;
}

/* 以前使っていた img.hero-image は不要になるため削除または非表示 */
.hero-image {
    display: none;
}

.hero h1 { font-size: 2.5rem; margin: 10px 0; }
.hero p.tagline { font-size: 1.1rem; opacity: 0.9; margin-bottom: 20px; }

/* 2部制表示スタイル */
.schedule-badge-container {
    margin-top: 15px;
}

/* --- ロケーションバナー内の追加タグ --- */
.info-tag {
    background-color: #E0F4FF; /* チラシに近い淡い水色 */
    color: var(--ozora-blue);
    font-size: 1rem;
    font-weight: bold;
    padding: 2px 12px;
    border-radius: 50px;
    margin-right: 8px;
    border: 1px solid rgba(0, 163, 233, 0.3);
    white-space: nowrap; /* 折り返し防止 */
}

/* 既存の .location-banner を微調整（要素が増えたため幅を確保） */
.location-banner {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap; /* スマホで入り切らない場合に折り返しを許可 */
    justify-content: center;
    padding: 8px 10px 8px 18px;
    gap: 5px; /* 要素間の隙間 */
}

/* スマホ用の調整 */
@media (max-width: 600px) {
    .location-banner {
        border-radius: 20px; /* 折り返しを考慮して角丸を少し緩める */
        padding: 10px;
        max-width: 95%;
    }
    .info-tag {
        font-size: 0.8rem;
        padding: 2px 8px;
        margin-right: 4px;
    }
    .location-tag {
        display: none; /* スマホでは情報過多になるため EVENT SITE ラベルを非表示に */
    }
}

/* ページに馴染むスタイリッシュな日付デザイン */
.date-display-container {
    margin: 30px 0;
    color: #fff;
    text-align: center;
}

.date-main {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    font-family: 'Arial Black', sans-serif; /* 数字を力強く */
}

.date-num {
    font-size: 6rem;
    line-height: 1;
    font-weight: 900;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.15);
}

.date-unit {
    font-size: 1.8rem;
    font-weight: bold;
    margin-right: 15px;
}

.date-info-sub {
    display: inline-block;
    text-align: left;
    border-left: 2px solid rgba(255,255,255,0.6);
    padding-left: 15px;
}

.date-year-month {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.date-day-name {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

/* 以前の date-highlight-box 関連のスタイルは削除してください */

.session-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.session-box {
    background: #E0F4FF; /* 背景を白に変更 */
    color: var(--ozora-blue); /* 文字色を青に */
    padding: 10px 25px;
    border-radius: 10px;
    min-width: 180px; /* 幅を少し広げる */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 影を追加 */
    border-top: 5px solid #FFD700; /* 上部にアクセントの線を追加 */
    transition: transform 0.3s;
    text-align: center;
    border: none; /* 既存のボーダーをリセット */
}

.session-label {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 3px;
}

.session-time {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333; /* 時間の文字色を濃くする */
}

.session-time small {
    font-size: 0.8rem;
    margin-left: 3px;
}

.reception {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #555;
    margin-top: 5px;
}

.session-divider {
    width: 2px;
    height: 45px;
    background: rgba(255, 255, 255, 0.5);
}

/* entry-noteはHTMLから削除したため不要に */
.entry-note { display: none; }

/* Main Content */
.container {
    max-width: 900px;
    margin: 0 auto;
}

.guest-section {
    background: #fffafa;
    color: #f08080;
    border: 3px solid #f08080; 
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    /* 影を少しつけて浮かせる */
    box-shadow: 0 8px 20px rgba(255, 68, 102, 0.1);
}

.guest-section h2 {
    font-size: 1.8rem; /* 名前全体のサイズ */
    line-height: 1.4;
    margin-top: 15px;
}

.job-title {
    display: block;      
    font-size: 0.9rem; 
    font-weight: normal; 
    color: #f08080;        
    margin-bottom: 5px;
}

.guest-badge {
    background: #f08080;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.program-card {
    border: 1px solid #e0e0e0;
    border-top: 5px solid var(--ozora-blue);
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

.program-card h3 { color: var(--ozora-blue); margin: 0; font-size: 1.2rem; }

/* CTA Area */
.cta-area {
    text-align: center;
    line-height: 1.3;
    padding: 30px 0px;
    background: var(--bg-light);
    margin: 60px 20px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: var(--ozora-blue);
    color: white;
    margin: 10px 0px;
    padding: 10px 80px;
    font-size: 1.4rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    position: relative; /* ::afterを配置するため */
    overflow: hidden; /* はみ出したエフェクトを隠す */
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button .sub-text {
    font-size: 1rem; /* 小さくしたい部分の文字サイズ */
}

.cta-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine-cta 4s infinite 1s;
}

.cta-button:hover { opacity: 0.8; transform: translateY(-2px); }

footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #eee;
    background-color: var(--bg-light);
}

/* 画像エリアのスタイル */
.image-placeholder {
    width: 100%;
    height: auto;
    min-height: 200px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 15px;
    color: #888;
    font-size: 0.9rem;
    object-fit: cover; /* 実際の画像を入れた時に綺麗に収まります */
}

.hero-image {
    max-width: 600px;
    margin: 20px auto 0;
    border: 3px solid rgba(255,255,255,0.3);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .session-wrapper { flex-direction: column; gap: 10px; }
    .session-divider { display: none; }
    .hero h1 { font-size: 2rem; }
}

/* タイムテーブルのスタイル */
/* タイムテーブルのポップなカスタマイズ */
.timetable-section {
    margin: 50px 0;
}

.table-title {
    display: inline-block;
    background: var(--ozora-blue);
    color: white;
    padding: 5px 20px;
    border-radius: 20px 20px 0 0;
    font-weight: bold;
    margin-bottom: -1px;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 40px;
    border: 2px solid var(--ozora-blue);
    border-radius: 0 15px 15px 15px;
    background: white;
    box-shadow: 5px 5px 0px rgba(0, 163, 233, 0.1);
}

.timetable {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

/* ヘッダーのデザインをパステルに */
.timetable th {
    background-color: #f0faff;
    color: var(--ozora-blue);
    border: 1px solid #e0f0f8;
    padding: 15px 10px;
    font-size: 1rem;
}

/* 各セルのデザイン */
.timetable td {
    border: 1px solid #eee;
    padding: 12px 10px;
    transition: background 0.3s;
}

/* 受付・専門コースなどの結合セルを少し強調 */
.highlight-cell {
    background-color: #fffdec;
    font-weight: bold;
    color: #d48400;
}

.special-cell {
    background-color: #f0fff4;
    font-weight: bold;
    color: #2d7a44;
}

.small-tag {
    display: inline-block;
    background: #e0f0f8;
    color: var(--ozora-blue);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 5px;
}

/* ホバーで少し動く演出 */
.timetable tr:hover td:not([rowspan]) {
    background-color: #f9ffff;
}

/* 下部固定ボタン（フロート表示） */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    z-index: 9999;
    text-align: center;
    /* 最初は隠しておいてスクロールで出すことも可能ですが、今回は常時表示にします */
}

.floating-cta .cta-button {
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
    padding: 15px 0;
    font-size: 1.2rem;
}

/* キラッと光るエフェクト（バナーとお揃い） */
.floating-cta .cta-button::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine-cta 4s infinite 1s;
}

@keyframes shine-cta {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

/* フッターがボタンに被らないように余白を追加 */
body {
    padding-bottom: 100px;
}

@media (max-width: 600px) {
    .floating-cta {
        bottom: 10px;
    }
    .floating-cta .cta-button {
        font-size: 1.1rem;
        padding: 12px 0;
    }
}

/* PCのみ改行（スマホでは非表示） */
.pc-br {
    display: block;
}

/* スマホのみ改行（PCでは非表示） */
.sp-br {
    display: none;
}

/* 画面幅が600px以下（スマホサイズ）の場合の切り替え */
@media (max-width: 600px) {
    .pc-br {
        display: none;
    }
    .sp-br {
        display: block;
    }
}

/* --- サブタイトルのマーカー演出 --- */

.hero .tagline {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block; /* マーカーの幅を文字に合わせるために必須 */
}

.marker-yellow {
    background: linear-gradient(transparent 60%, rgba(255, 215, 0, 0.7) 0%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    padding: 0 4px;
}

/* 表示されたときにアニメーションを開始するためのクラス */
.marker-yellow.in-view {
    animation: marker-draw 1.2s ease-out forwards;
}

@keyframes marker-draw {
    0% {
        background-size: 0% 100%;
    }
    100% {
        background-size: 100% 100%;
    }
}

/* スマホでは文字サイズを少し小さく */
@media (max-width: 600px) {
    .hero .tagline {
        font-size: 1.1rem;
    }
}

/* --- ヒーローセクションのロゴ画像設定 --- */
.hero h1 {
    margin: 10px 0;
    padding: 0;
    line-height: 1;
}

.hero-logo {
    /* 1. サイズ指定：PCでの最大幅 */
    max-width: 600px; 
    width: 100%;
    height: auto; /* アスペクト比を維持 */
    
    /* 2. 質感：チラシのように少し浮かせる影を追加 */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    
    display: inline-block;
    vertical-align: middle;
}

/* ★スマホ用：画面幅に合わせて自動縮小 */
@media (max-width: 600px) {
    .hero-logo {
        /* スマホ画面の左右に少し余白を持たせる */
        max-width: 85%; 
        /* 上下の余白を詰める */
        margin: 5px 0;
    }
}

/* --- モチーフ全体の共通設定 --- */
.bg-motifs {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1; /* 背景色より手前に表示 */
    pointer-events: none; /* クリックを邪魔しない */
    overflow: hidden;
}

.motif {
    position: absolute;
    opacity: 0.6;
}

/* 1. 輪のモチーフ（下から上へふわふわ上昇） */
.motif.bubble {
    bottom: -150px;
    animation: float-up 20s linear infinite, sway 4s ease-in-out infinite alternate;
}

@keyframes float-up {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}

/* 2. 星のモチーフ（その場でキラキラ・ゆらゆら） */
.motif.star {
    animation: twinkle 3s ease-in-out infinite alternate, sway 5s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { transform: scale(0.8); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

/* 共通の揺れアニメーション */
@keyframes sway {
    0% { margin-left: -20px; }
    100% { margin-left: 20px; }
}

/* --- プログラム画像の自動調整設定 --- */

.program-card {
    display: flex;
    flex-direction: column;
}

.program-card .image-area {
    width: 100%;           /* 親要素（カード）の幅いっぱいに広げる */
    height: auto;          /* 高さは自動調整 */
    
    /* オプション：画像のアスペクト比を 16:9 や 1:1 に固定する場合 */
    /* これを入れると、元の画像サイズがバラバラでも綺麗に揃います */
    aspect-ratio: 16 / 9;  
    object-fit: cover;     /* 比率固定時に画像が引き伸ばされるのを防ぐ */
    
    border-radius: 8px;    /* 角を少し丸める */
    margin-bottom: 15px;   /* 下のテキストとの余白 */
    
    /* チラシのような清潔感を出すための薄い枠線 */
    border: 1px solid rgba(0, 163, 233, 0.1);
}

/* スマホ用の微調整（必要であれば） */
@media (max-width: 600px) {
    .program-card .image-area {
        aspect-ratio: 4 / 3; /* スマホでは少し縦に厚みを持たせてもOK */
    }
}

/* --- プログラムカード個別の配色設定 --- */

/* 共通設定：枠線を少し太くし、背景を白に固定 */
.program-card {
    background: #fff;
    border-radius: 12px;
    border-width: 3px; /* 枠線を少し強調 */
    border-style: solid;
    transition: transform 0.3s ease;
}

/* 1つ目のカード（例：授業体験 / ピンク・赤系） */
.program-card:nth-child(1) {
    border-color: #ff6688;
}
.program-card:nth-child(1) h3 {
    color: #ff6688;
}
.program-card:nth-child(1) strong {
    color: #ff4466;
    background: linear-gradient(transparent 70%, #ffdce5 0%); /* 専用マーカー */
}

/* 2つ目のカード（例：専門コース / 緑系） */
.program-card:nth-child(2) {
    border-color: #8CC63F;
}
.program-card:nth-child(2) h3 {
    color: #8CC63F;
}
.program-card:nth-child(2) strong {
    color: #6a9a2f;
    background: linear-gradient(transparent 70%, #eef9e2 0%);
}

/* 3つ目のカード（例：学校紹介 / オレンジ・黄色系） */
.program-card:nth-child(3) {
    border-color: #f39800;
}
.program-card:nth-child(3) h3 {
    color: #f39800;
}
.program-card:nth-child(3) strong {
    color: #d48400;
    background: linear-gradient(transparent 70%, #fff4e0 0%);
}

/* ホバー時の演出（共通） */
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* --- 会場案内セクション基本設定 --- */
.location-guide {
    /* padding: 60px 0; */
    /* padding: 60px 0 20px; */
    background: #fff;
}

.section-desc {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1rem;
    font-weight: 100;
    color: #666;
}

/* アコーディオン全体 */
.area-accordion {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 各エリアの共通設定 */
.area-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 2px solid transparent;
}

/* --- エリアバナーの高さを低く抑える修正 --- */
.area-item summary {
    /* 1. 上下のパディングを 18px → 10px に縮小 */
    padding: 10px 20px; 
    
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: #fff;
    font-size: 1rem; /* 少しだけ文字サイズも調整 */
    
    /* 2. PCでもスマホでも横並びを維持して高さを出さない */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.area-item summary span {
    font-size: 0.75rem;
    font-weight: normal;
    opacity: 0.85;
    /* 3. 横に並びきらない場合も考慮して、少し余裕を持たせる */
    flex: 1;
    margin-left: 10px;
}

/* 矢印（プラスマイナス）のサイズも微調整 */
.area-item summary::after {
    content: "＋";
    font-size: 1rem;
    flex-shrink: 0; /* 矢印が潰れないように固定 */
}

/* --- スマホ用の追加修正 --- */
@media (max-width: 600px) {
    .area-item summary {
        /* 4. スマホでも縦に並べず、横並びのままにする */
        flex-direction: row !important; 
        align-items: center !important;
        padding: 8px 15px; /* スマホはさらに薄く */
    }
    
    .area-item summary span {
        /* スマホではサブテキストを少し省略気味、または小さく */
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* 長すぎる場合は「...」にする */
    }
}

/* 矢印の自作 */
.area-item summary::after {
    content: "＋";
    font-size: 1.2rem;
}
.area-item[open] summary::after {
    content: "ー";
}

/* キャンパスリスト表示エリア */
.campus-list {
    background: #f9f9f9;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.campus-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border-left: 5px solid #ccc;
}

.campus-card h4 {
    margin-bottom: 5px;
    color: #333;
    font-size: 1rem;
}

.campus-card p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.campus-card a {
    font-size: 0.75rem;
    color: var(--ozora-blue);
    text-decoration: underline;
}

/* ★エリア別の配色設定★ */
.area-hokkaido-tohoku { border-color: #036eb8; }
.area-hokkaido-tohoku summary { background: #036eb8; }

.area-kanto { border-color: #8cb4d7; }
.area-kanto summary { background: #8cb4d7; }

.area-tokai-koshinetsu { border-color: #00A3E9; }
.area-tokai-koshinetsu summary { background: #00A3E9; }

.area-kinki-hokuriku { border-color: #f9af56; }
.area-kinki-hokuriku summary { background: #f9af56; }

.area-chugoku-shikoku { border-color: #afd200; }
.area-chugoku-shikoku summary { background: #afd200; }

.area-kyushu { border-color: #22ac38; }
.area-kyushu summary { background: #22ac38; }

/* スマホ調整 */
@media (max-width: 600px) {
    .area-item summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .campus-list {
        grid-template-columns: 1fr;
    }
}

/* --- 会場案内の見出しを他のテキスト（マーカー仕様）と統一 --- */

.location-guide .section-title {
    /* 1. 基本設定：中央寄せ */
    text-align: center;
    margin: 0 auto 20px;
    display: table; /* 文字の幅に合わせてマーカーを引くための魔法 */
    
    /* 2. 文字の色：おおぞらブルー */
    color: var(--ozora-blue);
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1.4;
    
    /* 3. 黄色いマーカー：下半分に色を引く */
    /* transparent 50% にすると、文字の半分くらいまで黄色が重なります */
    background: linear-gradient(transparent 50%, #fff100 50%);
    padding: 0 15px; /* 左右に少しはみ出すのがチラシ風 */
}

/* 説明文（お近くのエリア〜）も同じルールにする場合 */
.section-desc {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
    font-size: 1rem;
    /* こちらはマーカーなし、または細めにするなど調整可能です */
}

/* スマホ用のサイズ微調整 */
@media (max-width: 600px) {
    .location-guide .section-title {
        font-size: 1.4rem;
        padding: 0 10px;
    }
}

/* --- 地図画像：自動リサイズ & 比率固定設定 --- */

.campus-map-thumb {
    width: 100%;
    /* 1. アスペクト比を「3:2」に固定（どんな画像もこの比率の枠に収まる） */
    aspect-ratio: 1 / 1; 
    
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    margin-top: auto; /* 説明文が短くても画像を下に押し下げる */
}

.campus-map-thumb img {
    width: 100%;
    height: 100%;
    
    /* 2. ここが重要！画像を「潰さず」に枠いっぱいに広げ、
       はみ出た分を自動でセンターカット（切り抜き）します */
    object-fit: cover; 
    object-position: center; /* 中央を基準に切り抜き */
    
    /* 3. 読み込みをスムーズにするフェードイン効果（任意） */
    transition: opacity 0.3s ease;
}

/* スマホ用の微調整：少しだけ丸みを強めるとチラシっぽくなります */
@media (max-width: 600px) {
    .campus-map-thumb {
        border-radius: 12px;
        margin-top: 10px;
    }
}

/* --- おしゃれな日付バッジ（時間なし） --- */

.date-display-container {
    text-align: center;
    margin: 15px 0 25px;
}

.hero-date-accent {
    display: inline-flex;
    align-items: center;
    position: relative;
    /* あえて少し傾けて「動き」を出す */
    transform: rotate(-3deg);
}

.hero-date-accent .month {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--ozora-blue);
    background: #fff;
    border: 2px solid var(--ozora-blue);
    border-radius: 8px;
    padding: 2px 8px;
    margin-right: -10px; /* 日付と少し重ねる */
    z-index: 2;
}

.hero-date-accent .date {
    font-size: 4rem; /* 日付を主役にする */
    font-weight: 900;
    color: #FFF100;
    /* 青いフチ取りでロゴとの統一感を出す */
    text-shadow: 
        3px 3px 0 var(--ozora-blue),
       -1px -1px 0 var(--ozora-blue),  
        1px -1px 0 var(--ozora-blue),
       -1px  1px 0 var(--ozora-blue),
        1px  1px 0 var(--ozora-blue);
    line-height: 1;
    z-index: 1;
}

.hero-date-accent .day-label {
    font-size: 1rem;
    font-weight: 900;
    background: #ffeb3b; /* 土曜日は黄色でアクセント */
    color: var(--ozora-blue);
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 5px;
    border: 2px solid var(--ozora-blue);
    align-self: flex-end; /* 下側に揃える */
    margin-bottom: 5px;
}

/* スマホ用：ロゴの下でもスッキリ見えるサイズ感 */
@media (max-width: 600px) {
    .hero-date-accent .month { font-size: 1.2rem; }
    .hero-date-accent .date { font-size: 3rem; }
    .hero-date-accent .day-label { font-size: 0.8rem; }
}

/* --- 申し込みボタン --- */
.button-group {
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.button-group-title {
    font-weight: bold;
    margin-bottom: 0; /* gapで間隔を調整するためリセット */
}

.campus-card .btn-inline,
.campus-card .btn-disabled {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0;
    border: none; /* 既存のaタグスタイルをリセット */
    font-weight: bold;
    font-size: 14px
}

.campus-card .btn-inline {
    background-color: #fff;
    color: #00a3e9;
    border: 2px solid #00a3e9;
    width: 80%;
    margin: 0 auto; /* 中央揃え */
}

.campus-card .btn-disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    width: 80%;
    margin: 0 auto; /* 中央揃え */
}

/* --- 当日の流れセクション --- */
.flow-section {
    margin: 60px 20px;
    padding: 0px 20px;
    background-color: var(--bg-light);
    border-radius: 20px; /* 角を丸くする */
    box-sizing: border-box;
}

.flow-container {
    display: flex; /* 縦並びの基本設定 */
    flex-direction: column; /* 常に縦並びにする */
    align-items: center; /* 中央揃え */
    gap: 20px;
    margin-top: 30px;
}

.reception-step {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--ozora-blue);
    background-color: #fff;
    padding: 15px 30px;
    margin-bottom: 20px;
    border-radius: 50px;
    border: 2px solid var(--ozora-blue);
}

.flow-step {
    border: 2px solid var(--ozora-blue);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    max-width: 800px; /* PCでの最大幅 */
    width: 90%; /* SP表示時に左右の余白を確保 */
    box-sizing: border-box; /* paddingを含めて幅を計算 */
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: var(--ozora-blue);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.flow-arrow {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--ozora-blue);
}

/* --- 当日の流れ：SP表示 (768px以下) --- */
@media (max-width: 768px) {
    .flow-step {
        display: flex; /* Flexboxレイアウトに変更 */
        flex-direction: column;
        text-align: left;
        width: 100%;
    }
    .flow-step h3 {
        text-align: center;
        order: 0; /* 見出しを1番目に */
        color: var(--ozora-blue);
        margin-bottom: 10px;
    }
    .flow-image {
        order: 1; /* 画像を2番目に */
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 8px;
        margin: 15px 0;
    }
    .flow-text-content {
        order: 2; /* テキストブロックを3番目に */
    }
}

/* --- PC表示 (769px以上) --- */
@media (min-width: 768px) {
    .flow-step {
        display: grid; /* Gridレイアウトに変更 */
        grid-template-columns: 350px 1fr;
        grid-template-rows: auto 1fr;
        gap: 0 20px;
        align-items: center;
        text-align: left;
        width: 100%; /* PCではコンテナ幅いっぱいに広げる */
    }
    .flow-image {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        width: 100%;
        object-fit: cover;
        border-radius: 8px;
    }
    .flow-step h3 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        color: var(--ozora-blue);
        margin-bottom: 10px;
    }
    .flow-text-content {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}

/* --- ワンポイントボックス --- */
.one-point-box {
    background-color: #fffbe6; /* 薄い黄色 */
    border: 2px dashed #ffe58f; /* 黄色の破線 */
    border-radius: 10px;
    padding: 20px 15px 15px;
    margin-top: 25px;
    position: relative;
    text-align: center; /* 中の要素を中央寄せにするため */
}

.one-point-title {
    position: absolute;
    top: -16px;
    left: 20px;
    background-color: #f39800; /* オレンジ */
    color: white;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.one-point-box p {
    margin: 0 ;
    font-size: 0.9rem;
    display: inline-block; /* 幅をテキストに合わせる */
    text-align: left;      /* テキスト自体は左寄せに */
}

.optional-step {
    background-color: #fff;
    border: 2px solid #00A3E9;
    border-radius: 15px;
    padding: 10px 0px 20px 0px;
    margin-top: 10px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.optional-step h3 {
    color: #00A3E9;
    margin-top: 0;
    font-size: 1.3rem;
}

.optional-step p {
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0px 20px;
    margin-bottom: 0;
    text-align: left;
}

/* --- 参加者の声セクション --- */
.voices-section {
    padding: 20px 20px; 
    background-color: #fff; /* 背景を白に */
}

.voices-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PCでは2列 */
    gap: 25px;
    max-width: 900px;
    margin: 30px auto 0;
}

.voice-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
}

.voice-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.voice-card.student .voice-icon {
    background-color: #dcfce7;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.voice-card.parent .voice-icon {
    background-color: #ffedd5;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* 個別のアイコン画像を指定 */
.voice-card.voice-1 .voice-icon { background-image: url('../img/icon-voice1.png'); }
.voice-card.voice-2 .voice-icon { background-image: url('../img/icon-voice2.png'); }
.voice-card.voice-3 .voice-icon { background-image: url('../img/icon-voice3.png'); }
.voice-card.voice-4 .voice-icon { background-image: url('../img/icon-voice4.png'); }

.voice-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.voice-text strong {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #fff100 60%);
    padding: 0 2px;
}

/* --- SP表示 (768px以下) --- */
@media (max-width: 768px) {
    .voices-container {
        grid-template-columns: 1fr; /* SPでは1列 */
    }
    .voice-card {
        flex-direction: column;
    }
}

/* こんな方におすすめセクション */
.recommend-section {
    padding: 40px 0px;
}

.recommend-section .section-title {
    text-align: center;
    color: var(--ozora-blue);
    margin-bottom: 30px;
}

.recommend-title {
    text-align: center;
    color: #ff9900f5;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1em;
}

.recommend-list {
    list-style: none;
    padding: 10px 10px;
    margin: 10px 20px;
    background-color: #fffaf0; /* オレンジ系の薄い背景色 */
    border: 2px solid #f39800; /* 全体で使用されているオレンジ */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* 枠の中に移動したリスト本体のスタイル */
.recommend-list-inner {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* PC表示の場合、横幅を少し狭めて中央寄せにする */
@media (min-width: 769px) {
    .recommend-list {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

.recommend-item {
    background-color: transparent;
    border: none;
    padding: 10px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    box-shadow: none;
}

.recommend-item .check-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    /* チェックアイコンをオレンジ色に変更 */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f39800'%3e%3cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3e%3c/svg%3e");
    background-size: contain;
    margin-right: 15px;
    flex-shrink: 0;
}

.recommend-item p {
    margin: 0;
}

/* 在校生セクションのリード文 */
.student-lead-text {
    text-align: center;
}

/* 在校生写真スクロール */
.student-scroller {
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin: 20px 0 40px 0;
    /* スクロールの両端を自然にぼかす */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroller-inner {
    display: flex;
    gap: 20px; /* 画像間の余白 */
    width: fit-content;
    /* アニメーション：30秒かけて左に移動し、無限に繰り返す */
    animation: scroll 30s linear infinite;
}

.scroller-inner img {
    height: 200px; /* 高さを固定 */
    width: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* スクロールアニメーションの定義 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* (画像の横幅 + gap) * 画像の枚数(複製前) */
        /* 画像6枚分の移動距離を計算 */
        transform: translateX(calc(-300px * 6 - 20px * 6));
    }
}

.student-scroller:hover .scroller-inner {
    animation-play-state: paused; /* マウスホバーでスクロールを一時停止 */
}

/* 汎用セクションタイトル（青字） */
.section-title-blue {
    text-align: center;
    color: var(--ozora-blue);
    padding-top: 40px;
}

/* 汎用セクション説明文 */
.section-description {
    text-align: center;
    margin-bottom: 40px;
}

/* --- FAQセクション --- */
.faq-section {
    /* padding: 60px 20px; */
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fff;
    transition: all 0.3s ease;
    margin:0px 10px
}

.faq-item[open] {
    border-color: var(--ozora-blue);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;    
    padding: 20px;
    cursor: pointer;
    list-style: none; /* summaryのデフォルトの矢印を非表示 */
    font-weight: bold;
    position: relative;
}

.faq-q-text {
    /* アイコン分の余白を確保してテキストの回り込みを防ぐ */
    padding-right: 40px;
    flex: 1;
}

.faq-question::-webkit-details-marker {
    display: none; /* Safari用の矢印非表示 */
}

/* 閉じる・開くのアイコン */
.faq-question::after {
    content: '＋';
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
    color: var(--ozora-blue);
    transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
    content: '－';
    transform: rotate(180deg);
}

.faq-q-icon, .faq-a-icon {
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.faq-q-icon {
    color: var(--ozora-blue);
}

.faq-a-icon {
    color: #f39800; /* オレンジ */
}

.faq-answer {
    display: flex;
    gap: 15px;
    padding: 10px 20px 20px 20px;
    background-color: var(--bg-light);
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
}



/* レスポンシブ対応の例 */
@media (max-width: 768px) {
  .photo-circle {
    width: 90vw;
    height: 90vw;
  }
  .photo-circle .photo {
    width: 100px;
    height: 100px;
  }
}


/* --- セクションごとの背景色 --- */
.section-bg {
    background-color: var(--bg-light);
    padding-bottom: 60px;
    position: relative;
    z-index: 0;
}

/* --- FAQセクションのスマホ調整 --- */

/* --- 結びのメッセージ --- */
.closing-message {
    text-align: center;
    padding: 20px 20px;
}
.closing-message h2 {
    margin-bottom: 20px;
}
.closing-message img{
    width: 100%;
    max-width: 800px;
    padding-bottom: 20px;
}
.closing-message p {
    font-family: 'a-otf-ryumin-pr6n', serif;
    font-size: 0.8rem;
    font-feature-settings: "palt";
    line-height: 2;

}

/* --- セカンダリCTA --- */
.secondary-cta {
    padding: 30px 10px;
    text-align: center;
    border: 2px solid var(--ozora-blue);    
    margin: 40px auto;
    max-width: 800px;
}

.secondary-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.secondary-cta-button {
    display: inline-block;
    padding: 10px 10px;
    color: #fff;
    text-decoration: none;
    font-family: 'a-otf-ryumin-pr6n', serif;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.secondary-cta-button:hover {
    opacity: 0.8;
}

.secondary-cta-button.consultation {
    background-color: #D80001; /* 赤色 */
}
.secondary-cta-button.trial {
    background-color: #009900; /* 緑色 */
}
.secondary-cta-link {
    color: var(--ozora-blue);
    font-family: 'a-otf-ryumin-pr6n', serif;
    text-decoration: none;
}

/* --- セカンダリCTAのスマホ調整 --- */
@media (max-width: 768px) {
    .secondary-cta {
        margin: 40px 10px;
    }
}

/* --- 結びのメッセージ 画像切り替え --- */
.closing-image.sp-only {
    display: none; /* PCではSP用画像を非表示 */
}

@media (max-width: 768px) {
    .closing-image.pc-only {
        display: none; /* SPではPC用画像を非表示 */
    }
    .closing-image.sp-only {
        display: block; /* SPではSP用画像を表示 */
    }
}
