@charset "UTF-8";

/* --- 1. 全ページ共通：基本設定 --- */
* {
    box-sizing: border-box; /* ズレ防止の魔法の言葉 */
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fcfaf7;
    color: #333;
    line-height: 1.6;
}

/* 全体の器 */
#container {
    margin: 0 auto;
    max-width: 900px;
    width: 95%;
    background-color: #fff;
    padding: 20px;
}

/* ヘッダー・ロゴ */
.site-header {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

site-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 0;
}

.site-title {
    font-size: 1.5rem;    /* ★ 1.2remから1.5remへ大きく（お好みで調整） */
    font-weight: bold;
    color: #333;
    letter-spacing: 0.05em;
}


.header-logo img {
    max-width: 90px;
    margin-bottom: 5px;
}

/* タイトル内の「＊」だけをえんじ色にする */
.site-title span {
    color: #800000;       /* ★ 大好きな「えんじ色」に */
    margin: 0 3px;        /* 左右に少しだけ隙間を */
    font-weight: bold;
}

/* ページ見出し */
.page-header {
    text-align: center;
    padding: 40px 0;
}

.page-header h1 {
    font-size: 1.8rem;
    margin: 10px 0;
    letter-spacing: 0.05em;
    font-weight: bold;
}

.page-header .subtitle {
    font-size: 1rem;
    color: #800000; /* えんじ色 */
    letter-spacing: 0.05em;
}

/* --- 2. ナビゲーション（メニュー） --- */
.main-nav {
    background-color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.main-nav ul {
    list-style: none; /* list-edgeを修正 */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav li { margin: 5px 15px; }

.main-nav a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: bold;
    transition: color 0.3s;
}

.main-nav a:hover { color: #800000; }

/* --- 3. トップページ専用パーツ --- */

/* スライドショー */
.main-visual {
    width: 100%;
    margin: 0 auto 50px;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.slideshow img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fade-animation 16s infinite;
}

.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 4s; }
.slideshow img:nth-child(3) { animation-delay: 8s; }
.slideshow img:nth-child(4) { animation-delay: 12s; }

@keyframes fade-animation {
    0% { opacity: 0; }
    10% { opacity: 1; }
    25% { opacity: 1; }
    35% { opacity: 0; }
    100% { opacity: 0; }
}

/* タイルナビ（6つ） */
.top-nav-tiles {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px auto;
}

.nav-tile {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 110px;
    background-color: #fff;
    border: 1px solid #eee;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-tile .en { font-size: 1rem; font-weight: bold; color: #333; margin-bottom: 5px; }
.nav-tile .jp { font-size: 0.75rem; color: #800000; }

/* --- 4. NEWSセクション --- */
.top-news {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
text-align: center; /* ★ここ：中身をすべて中央に */
}

.news-header { 
    text-align: center; 
    margin-bottom: 30px; 
}

.news-list {
    list-style: none;
    padding: 0;
   border-top: 1px solid #eee;
    text-align: left; /* ★ここ：リストの中の文字だけは左揃えに戻して読みやすく */
}

.news-list a {
    display: flex;
    padding: 15px 10px;
    text-decoration: none;
    color: #333;
    align-items: baseline;
}

.news-list .date { font-size: 0.85rem; color: #999; flex: 0 0 100px; }
.news-list .category {
    font-size: 0.7rem; font-weight: bold; color: #fff;
    background-color: #800000; padding: 2px 8px;
    border-radius: 2px; margin-right: 15px;
}

/* もっと見る（VIEW ALL）ボタン */
.news-more a {
    font-size: 0.9rem;
    color: #800000; /* ★えんじ色にすると統一感が出ます */
    text-decoration: none;
    border-bottom: 1px solid #800000;
    padding-bottom: 2px;
}

.news-more a {
    font-size: 0.8rem;
    color: #999;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
    transition: 0.3s;
}

.news-more a:hover {
    color: #800000;
    border-bottom-color: #800000;
}

/* --- 5. レスポンシブ（スマホ設定） --- */
@media (max-width: 768px) {
    .main-visual { height: 300px; }
    
    .top-nav-tiles {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .nav-tile { height: 90px; }

    .news-list a { flex-direction: column; gap: 5px; }
    .news-list .date { flex: none; }
}

.welcome-message {
    text-align: left;
    line-height: 2.0;       /* 行間をかなり広めに（2.0）取ると、改行位置が気にならなくなります */
    color: #333;
    padding: 0 25px;        /* スマホで端っこに文字がくっつかないように */
    margin: 40px auto;
    max-width: 500px;       /* パソコンで横に広がりすぎないように制限 */
}

.welcome-message p {
    margin-bottom: 1.5em;   /* 段落と段落の間を空けて、一呼吸置けるように */
    word-break: keep-all;  /* 単語の途中で変な改行がされるのを防ぐ（日本語に優しい設定） */
    overflow-wrap: break-word;
}



/* 隠しリンク */
.secret-gate { text-decoration: none; color: inherit; cursor: default; }
.secret-gate:hover { color: #800000; }


/* --- 6. 手芸倶楽部：共通設定（導入文・テーブル） --- */
.intro-text, .school-info {
    margin: 0 auto 40px;
    width: 100%;
    max-width: 800px; /* !importantなしで中央寄せ */
}

.intro-text {
    max-width: 650px; /* 文章は少し読みやすく絞る */
    line-height: 1.8;
}

/* 料金・案内テーブル */
.school-info {
    border-collapse: collapse;
    font-size: 0.95rem;
}

.school-info th {
    width: 150px;
    background-color: #fdfaf7;
    color: #800000;
    padding: 15px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}

.school-info td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    line-height: 1.7;
}


/* --- 7. SCHOOLハブページ：カードデザイン --- */
.hub-container {
    padding: 40px 0;
}

.hub-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.hub-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.hub-card:hover { transform: translateY(-5px); }

.hub-card h2 {
    background: #800000;
    color: #fff;
    margin: 0;
    padding: 18px;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.hub-card .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hub-card .card-body {
    padding: 20px;
    flex-grow: 1;
}

/* カード内の「3つの扉」リンク */
.sub-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-link-item {
    display: block;
    padding: 10px;
    background: #fdfaf7;
    border: 1px solid #eee;
    border-radius: 5px;
    text-align: center;
    font-size: 0.85rem;
    color: #800000;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.sub-link-item:hover {
    background: #800000;
    color: #fff;
}

/* カード内の小さな見出し（学園名など） */
.external-info-group h3 {
    font-size: 0.9rem;
    color: #800000;
    margin-bottom: 5px;
}
.external-info-group p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}


/* --- 8. カレンダーページ設定 --- */
.cal-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px auto;
}

.cal-container {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
    width: 280px;
}

.calendar-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* 組案内の丸い数字アイコン */
.class-info span[class^="span"] {
    display: inline-block;
    width: 24px; height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    font-size: 0.8rem;
    margin: 0 5px;
    vertical-align: middle;
}

/* クラスカラー（共通化） */
.span6, .span2, .mikan::before, .anzu::before { background-color: #ff8c00; } /* オレンジ系 */
.span5, .ichigo::before { background-color: #ff0000; } /* 苺 */
.span1, .momo::before   { background-color: #ff69b4; } /* 桃 */
.span3, .budou::before  { background-color: #8a2be2; } /* 葡萄 */
.span4, .ringo::before  { background-color: #32cd32; } /* 青林檎 */


/* --- 9. スマホ対応（第2弾分） --- */
@media (max-width: 767px) {
    .school-info th, .school-info td {
        display: block;
        width: 100%;
    }
    .school-info th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    .hub-grid, .cal-wrapper {
        flex-direction: column;
        align-items: center;
    }
}


/* --- 10. 体験レッスン：コース紹介グリッド --- */
.course-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 40px;
    width: 100%;
}

.course-card {
    flex: 0 1 calc(33.333% - 10px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card h4 {
    background: #800000;
    color: #fff;
    margin: 0;
    padding: 12px 5px;
    text-align: center;
    font-size: 0.9rem;
    min-height: 3.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background-color: #fff;
    padding: 10px;
    border-bottom: 1px solid #f9f9f9;
}

.course-body {
    padding: 15px;
    font-size: 0.9rem;
    flex-grow: 1;
    line-height: 1.6;
}

.course-footer {
    padding: 10px 15px;
    background: #fdfaf7;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #666;
}


/* --- 共通情報エリア：間延びを解消 --- */
.common-info {
    max-width: 650px;      /* 広がりすぎ防止 */
    margin: 20px auto 40px; /* 上下の余白を調整 */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.info-row {
    display: flex;
    padding: 8px 0;       /* ← ここで一行の「高さ」を調整（12pxくらいが理想） */
    border-bottom: 1px dashed #eee; /* 行の区切りを点線で繊細に */
    align-items: baseline;  /* 文字の底辺を揃える */
}

.info-row:last-child {
    border-bottom: none;    /* 最後の行の線は消す */
}

.info-label {
    flex: 0 0 80px;        /* ラベルの幅を固定して縦を揃える */
    font-weight: bold;
    color: #800000;
    font-size: 0.9rem;
}

.info-row div:last-child {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;           /* 文字色は濃いめで読みやすく */
}

/* スマホ用の調整 */
@media (max-width: 767px) {
    .info-row {
        flex-direction: row; /* スマホでも横並びを維持（項目が短いので） */
        padding: 10px 5px;
    }
    .info-label {
        flex: 0 0 70px;     /* スマホでは少しラベル幅を狭く */
    }
}

/* --- 共通情報エリア：スマホでも横並びをキープ --- */
.common-info {
    max-width: 650px;
    margin: 20px auto;
    padding: 0 10px; /* 画面端の余白 */
}

.info-row {
    display: flex !important;      /* ★強制的に横並び */
    flex-direction: row !important; /* ★縦並びを禁止 */
    padding: 12px 0 !important;    /* 上下の余白を詰め直す */
    border-bottom: 1px dotted #ccc;
    align-items: flex-start;        /* 上揃え */
}

.info-label {
    flex: 0 0 70px !important;    /* ★ラベルの幅を70pxに固定 */
    font-weight: bold;
    color: #800000;
    font-size: 0.9rem;
    margin: 0 !important;         /* 余計な余白を消す */
}

.info-row div:last-child {
    flex: 1;                       /* 残りの幅を全部使う */
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 10px;           /* ラベルとの間に少し隙間 */
}

/* --- iPhone/スマホ専用の最終調整 --- */
@media (max-width: 767px) {
    .info-row {
        gap: 0 !important;        /* 無駄な隙間をゼロに */
        margin-bottom: 0 !important;
    }
    
    /* もし info-row 自体に大きな margin がついていたらここで消す */
    .common-info div {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* フォーム見出し下の案内文 */
.form-intro {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;      /* 行間を広げて読みやすく */
    margin: -20px 0 30px;  /* 下に少し多めの余白を（ボタンとのバランス） */
    padding: 0 15px;       /* スマホで端に文字がくっつかないように */
}

/* パソコンの時だけ改行させる設定 */
.pc-only {
    display: block;
}

/* スマホ用の調整 */
@media (max-width: 767px) {
    .form-intro {
        font-size: 0.85rem; /* スマホでは一回り小さくして圧迫感を減らす */
        text-align: left;   /* スマホでは左寄せの方が読みやすい場合があります（お好みで！） */
    }
    .pc-only {
        display: none;      /* スマホでは強制改行をオフにする */
    }
}



/* --- 11. 申し込みフォーム：共通部品 --- */
.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.form-label {
    flex: 0 0 160px;
    font-weight: bold;
    color: #800000;
    padding-top: 10px;
}

.form-input {
    flex: 1;
    min-width: 300px;
}

/* 入力欄（テキスト・メール・住所など） */
/* input だけだとボタンまで巻き込むので、typeを限定します */
input[type="text"], 
input[type="email"], 
input[type="tel"],
select, 
textarea {
    width: 100% !important; /* 基本は100% */
    max-width: 500px;       /* でも広がりすぎない */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fdfaf7;
    font-size: 16px;
    box-sizing: border-box;
}

/* 特別な幅指定：郵便番号など */
input[name="c"] {
    width: 120px !important;
}

/* 日付選択グループ */
.date-select-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.date-select-group select {
    width: auto !important;
    min-width: 80px;
}

/* --- 12. 送信ボタンエリア（縦にセンター揃え・横長解除） --- */
.btn-area {
    display: flex !important;
    flex-direction: column !important; /* 縦並び */
    align-items: center !important;    /* 中央寄せ */
    justify-content: center !important;
    margin-top: 40px !important;
    width: 100% !important;
}

.btn-area small {
    display: block;
    margin-bottom: 15px;
    color: #666;
}

/* 送信ボタン：属性セレクタでボタンだけを狙い撃ち */
input[type="submit"].btn-submit {
    appearance: none;
    -webkit-appearance: none;
    display: block !important;
    width: 240px !important;      /* ★幅を数値で固定（これで確実！） */
    margin: 0 auto !important;
    padding: 15px 0 !important;
    background-color: #800000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: 0.3s;
}

input[type="submit"].btn-submit:hover {
    background-color: #a00000 !important;
}

/* やりなおすボタン */
input[type="reset"].btn-reset {
    appearance: none;
    -webkit-appearance: none;
    background: none !important;
    border: none !important;
    color: #999 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    font-size: 0.9rem !important;
    width: auto !important;
}

/* --- 13. スマホ対応 --- */
@media (max-width: 767px) {
    .form-label { flex: 0 0 100%; margin-bottom: 10px; }
    .form-input { min-width: 100%; }
    .course-grid { flex-direction: column; align-items: center; }
    .course-card { width: 100%; max-width: 340px; }
    input[type="submit"].btn-submit { width: 100% !important; max-width: 300px; }
}

/* ラジオボタンのグループを綺麗に並べる */
.radio-group {
    display: flex;       /* 横並びにする */
    flex-wrap: wrap;     /* スマホで入り切らない時は折り返す */
    gap: 20px;           /* 項目同士の「正確な」隙間を指定 */
    padding-top: 8px;    /* ラベルとの高さを微調整 */
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;           /* 余計なマージンをリセット */
}

.radio-group input[type="radio"] {
    margin-right: 5px;   /* ボタンと文字の間の隙間 */
    width: auto !important; /* 横長にならないように念押し */
}


/* 午前/午後のセレクトボックスを短く調整 */
select[name="l"], 
select[name="p"] {
    width: auto !important;     /* 100%を解除して中身に合わせる */
    min-width: 180px !important; /* 短くなりすぎないように下限を設定 */
    max-width: 250px !important; /* 広がりすぎないように上限を設定 */
    display: inline-block !important;
}

/* ついでに「月・日・曜日」のセレクトボックスも微調整（もしあれば） */
.date-select-group select {
    width: auto !important;
    min-width: 70px !important;
}





/* --- 14. BOOK（図書館）：本棚レイアウト --- */
.book-shelf {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px 0;
    width: 100%;
}

.book-item {
    width: 30%; /* PCでは3列目安 */
    max-width: 180px;
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.book-item img {
    width: 100%;
    height: auto;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.book-item .title {
    font-weight: bold;
    margin: 10px 0 5px;
    display: block;
    color: #333;
    text-decoration: none;
}

.book-item .publisher { color: #888; font-size: 0.75rem; }

/* 図書館ページ内ナビ */
.book-page-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px auto;
}

.book-page-nav a {
    flex: 1;
    max-width: 120px;
    text-align: center;
    text-decoration: none;
    padding: 10px 5px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 2px solid #800000;
    border-radius: 5px;
    color: #800000;
    transition: 0.3s;
}

.book-page-nav a:hover, .book-page-nav a.current {
    background-color: #800000;
    color: #fff;
}


「/* --- 15. DIARY（アトリエ便り）：ノート風テーブル --- */
.diary-table {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-collapse: collapse;
}

.diary-table th {
    width: 120px;
    padding: 25px 15px;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid #eee;
    border-right: 1px dashed #ddd;
    background-color: #fdfaf7;
    color: #800000;
    font-size: 0.95rem;
    font-weight: bold;
}

.diary-table th span.time {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 5px;
}

.diary-table td {
    padding: 25px;
    border-bottom: 1px solid #eee;
    line-height: 1.8;
    color: #444;
}

/* --- 15. DIARY & BOOK：ナビゲーション（シンプル版） --- */
.caption {
    text-align: center; /* ★これだけで全てが中央に寄ります */
    margin: 40px auto;
    width: 100%;
    line-height: 2;    /* 行間を広げて押しやすく */
}

/* 各ブロックを縦に並べるための設定 */
.archive-months, 
.archive-years {
    display: block;    /* ★横並びを解除して、段落として扱う */
    margin: 10px 0;
}

/* リンク自体の装飾 */
.caption a, 
.book-nav a {
    text-decoration: none;
    padding: 5px 10px;
    color: #666;
    font-size: 0.9rem;
    display: inline-block; /* リンク同士は横に並ぶように */
    transition: 0.3s;
}

.caption a:hover {
    color: #800000;
    text-decoration: underline;
}

/* 区切り文字の色 */
.caption p {
    margin: 10px 0;
    color: #ccc;
}

/* BOOKナビ用の共通設定（もしBOOKで横並びを維持したい場合） */
.book-nav {
    text-align: center;
    margin: 20px 0;
}

/* --- 15. ナビゲーション共通：現在地の強調 --- */
.book-nav a.active, 
.archive-months a.active, 
.archive-years a.active {
    color: #800000 !important; /* 強制的にえんじ色にする */
    font-weight: bold !important;
    border-bottom: 2px solid #800000; /* 下線をつけてさらに分かりやすく */
}

/* マウスを乗せた時も同じ色にする */
.book-nav a:hover, 
.archive-months a:hover, 
.archive-years a:hover {
    color: #800000;
}


/* --- 16. スマホ対応（第4弾分） --- */
@media (max-width: 600px) {
    /* BOOK: 2列にする */
    .book-item { width: 45%; }
    .book-page-nav a { font-size: 0.75rem; }

    /* DIARY: 縦並びにする */
    .diary-table, .diary-table tr, .diary-table th, .diary-table td {
        display: block;
        width: 100%;
    }
    .diary-table th {
        border-right: none;
        padding: 10px 15px;
    }
    .diary-table th span.time {
        display: inline;
        margin-left: 10px;
    }
    .diary-table td {
        padding: 20px 15px;
        border-bottom: 2px solid #eee;
    }
}



/* --- 17. SHOP：準備中プレビュー --- */
.shop-preview {
    padding: 40px 0;
    background-color: #fdfaf7;
    border-radius: 8px;
    margin: 30px 0;
}

.shop-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

.shop-item {
    width: 28%;
    min-width: 160px;
    text-align: center;
}

.shop-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #eee;
    margin-bottom: 10px;
}

.shop-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: grayscale(30%);
}

.shop-item-name {
    font-size: 0.8rem;
    color: #888;
}

/* --- 18. プロフィール：詳細テーブル --- */
.profile-table {
    width: 100%;
    max-width: 700px;
    margin: 40px auto;
    border-collapse: collapse;
    background-color: #fff;
    border-top: 2px solid #800000;
}

.profile-table th {
    width: 150px;
    padding: 20px 15px;
    text-align: left;
    background-color: #fdfaf7;
    color: #800000;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.profile-table td {
    padding: 20px 15px;
    font-size: 0.95rem;
    line-height: 1.7;
    border-bottom: 1px solid #eee;
}

/* --- 19. フッター：共通設定 --- */
#footer {
    width: 100%;
    max-width: 900px; /* containerと合わせる */
    margin: 80px auto 0;
    padding: 50px 20px 40px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    clear: both;
}

.footer-nav {
    margin-bottom: 25px;
}

.footer-nav a {
    display: inline-block;
    margin: 5px 10px;
    text-decoration: none;
    color: #800000;
    font-weight: bold;
    transition: 0.3s;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-nav span {
    color: #ccc;
    margin: 0 5px;
}

.copyright {
    display: block;
    margin-top: 30px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: #999;
}

/* --- 20. スマホ対応（最終弾分） --- */
@media (max-width: 600px) {
    .shop-item { width: 45%; }
    
    .profile-table th, .profile-table td {
        display: block;
        width: 100%;
    }
    .profile-table th {
        background-color: transparent;
        padding-bottom: 5px;
        border-bottom: none;
    }
    .profile-table td {
        padding-top: 5px;
    }

    .footer-nav a {
        margin: 5px;
        font-size: 0.8rem;
    }
}

/* --- 21. SCHOOLハブページ：微調整 --- */

/* 写真がない時、カードの上部が寂しくならないように */
.hub-card {
    border-top: 4px solid #800000; /* カードの頭にえんじ色のラインを引く */
}

/* 学園名の見出し */
.external-info-group {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    text-align: left; /* 左寄せで読みやすく */
}

.external-info-group h3 {
    font-size: 0.95rem;
    color: #800000;
    margin-bottom: 5px;
}

.external-info-group p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}


/* --- 22. 案内ページ用：追加スタイル --- */
.intro-section {
    max-width: 650px;
    margin: 0 auto 60px;
    padding: 0 20px;
}
.section-title {
    text-align: center;
    color: #800000;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.note-text {
    font-size: 0.85rem;
    color: #800000;
    display: block;
    margin-top: 10px;
}
.action-section {
    text-align: center;
    margin: 60px auto;
}
.contact-line img {
    vertical-align: middle;
    margin-left: 10px;
}
.trial-link-box {
    margin-top: 40px;
}
.trial-link-box a {
    font-size: 1.1rem;
    padding: 15px 30px; /* 少し大きめのボタンに */
}

/* --- 23. カレンダーページ用：追加スタイル --- */

/* 画像を横に並べる */
.calendar-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.calendar-item img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
}

/* 補足説明の赤文字 */
.alert-text {
    font-size: 0.85rem;
    color: #800000;
    margin-top: 20px;
}

/* 組分けリスト */
.class-info-list {
    max-width: 500px;
    margin: 40px auto;
    text-align: left;
    padding: 30px;
    background-color: #fdfaf7;
    border-radius: 8px;
}
.class-item {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}
.time-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
}

/* 数字のバッジ（丸囲み） */
.badge {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    background: #800000;
    color: #fff;
    font-size: 0.8rem;
    margin-right: 15px;
    font-weight: bold;
}
/* 組ごとに色を変える場合はここに追加（例：蜜柑はオレンジっぽくなど） */
.badge-6 { background: #f39800; } /* 蜜柑 */
.badge-1 { background: #e95295; } /* 桃 */
.badge-2 { background: #fcc800; } /* 杏 */
.badge-3 { background: #522f60; } /* 葡萄 */
.badge-4 { background: #a8c97f; } /* 青林檎 */
.badge-5 { background: #e60012; } /* 苺 */


/* キャプション全体の枠組み */
.caption {
    max-width: 650px;    /* Macで横に広がりすぎないように制限 */
    margin: 40px auto;   /* 中央に配置 */
    padding: 0 20px;     /* iPhoneで左右に少し余白を作る */
    text-align: center;  /* センター揃え（xixiangさんのスタイルに合うはず） */
}

/* 通常の案内文 */
.guide-text {
    font-size: 0.95rem;  /* 少しだけ控えめなサイズ */
    line-height: 1.8;    /* 行間をゆったり取って「余裕」を出す */
    color: #222;   !important;      /* 真っ黒より少し柔らかいグレー */
    margin-bottom: 25px; /* 段落の間に呼吸を置く */
}

/* 注意事項（赤文字など） */
.alert-text {
    font-size: 0.85rem;  /* さらに一回り小さく */
    color: #800000;      /* 落ち着いた赤（ボルドー） */
    line-height: 1.6;
    margin-top: 30px;
    opacity: 0.9;        /* ほんの少し透けさせて柔らかく */
}

/* スマホ用の微調整 */
@media (max-width: 767px) {
    .caption {
        margin: 30px auto;
        text-align: left; /* スマホでは左寄せ（または中央寄せ）お好みで */
    }
    .guide-text {
        font-size: 0.9rem; /* スマホでは読みやすいサイズに */
    }
}