@charset "utf-8";

/* 全体の初期化とベース設定 */
* {
    box-sizing: border-box;
}
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: #f7f9fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
/*    padding: 20px;*/
}
/* コンテナ（中央寄せの白いボックス） */
.container {
 /*   max-width: 800px;*/
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* 月ごとのセクションブロック */
.month-section {
    margin-bottom: 25px;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    overflow: hidden;
}
.month-title {
    background-color: #768779;
    color: #ffffff;
    margin: 0;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
}
/* テーブルのスタイル */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-left:20px;
}
.schedule-table th, .schedule-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}
.schedule-table th {
    background-color: #f8f9fa;
    color: #657786;
    font-size: 14px;
    font-weight: 600;
    width: 30%;
    white-space: nowrap; /* 日付の途中で改行させない */
}
.schedule-table td {
    font-size: 15px;
}
.schedule-table tr:last-child td,
.schedule-table tr:last-child th {
    border-bottom: none;
}
.schedule-table tr:hover {
    background-color: #f5f8fa;
}

/* レスポンシブ対応（スマホサイズ） */
@media (max-width: 576px) {
    body {
padding: 10px;
    }
    .container {
padding: 15px;
    }
    h1 {
font-size: 20px;
margin-bottom: 20px;
    }
    /* テーブル構造をブロック要素に変えて縦並びにする */
    .schedule-table th, .schedule-table td {
display: block;
width: 100%;
padding: 8px 15px;
    }
    .schedule-table th {
background-color: #f1f5f8;
border-bottom: none;
padding-top: 12px;
    }
    .schedule-table td {
padding-bottom: 12px;
    }
}

/*******沿革用スタイル*********/

        /* --- 基本スタイル --- */
        .history-container {
            max-width: 900px;
            margin: 40px auto;
            padding: 0 20px;
            font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
            color: #333;
        }

        .history-title {
            font-size: 1.5rem;
        /*    border-left: 5px solid #2b6cb0;*/
            padding-left: 15px;
            margin-bottom: 20px;
            color: #2d3748;
        }

        /* --- テーブルのベーススタイル（PC用） --- */
        .history-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .history-table th {
            background-color: #768779;
            color: #fff;
            text-align: left;
            padding: 12px 16px;
            font-weight: bold;
        }

        .history-table td {
            padding: 12px 16px;
            border-bottom: 1px solid #e2e8f0;
            vertical-align: top;
        }

        /* 偶数行の背景色を変える（ゼブラ柄） */
        .history-table tr:nth-child(even) {
            background-color: #f7fafc;
        }

        /* 行ホバー時のハイライト */
        .history-table tr:hover {
            background-color: #edf2f7;
        }

        /* 元号列・日付列の幅固定 */
        .col-era {
            width: 80px;
            text-align: center !important;
        }
        .col-date {
            width: 100px;
            font-feature-settings: "tnum"; /* 数字の幅を揃える */
        }

        /* 元号バッジ */
        .era-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            color: #fff;
            font-weight: bold;
        }
        .era-s { background-color: #718096; } /* 昭和 */
        .era-h { background-color: #3182ce; } /* 平成 */
        .era-r { background-color: #e53e3e; } /* 令和 */

        /* --- レスポンシブ対応（スマホ用） --- */
        @media (max-width: 640px) {
            /* テーブル構造を解除してブロック要素にする */
            .history-table, 
            .history-table preparedness, 
            .history-table tbody, 
            .history-table th, 
            .history-table td, 
            .history-table tr { 
                display: block; 
            }
            
            /* ヘッダー（見出し行）を非表示にする */
            .history-table thead {
                display: none;
            }

            .history-table tr {
                margin-bottom: 15px;
                border: 1px solid #e2e8f0;
                border-radius: 6px;
                padding: 8px;
                background-color: #fff !important;
                box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            }

            .history-table td {
                border: none;
                padding: 6px 8px;
                width: auto !important;
            }

            /* 元号と日付を横並びにするための調整 */
            .history-table td.col-era {
                display: inline-block;
                padding-right: 0;
            }
            .history-table td.col-date {
                display: inline-block;
                font-weight: bold;
                color: #4a5568;
            }

            /* 内容は次の行としてしっかり見せる */
            .history-table td:not(.col-era):not(.col-date) {
                border-top: 1px dashed #e2e8f0;
                margin-top: 4px;
                padding-top: 8px;
                font-size: 0.9rem;
            }
        }

/******教育目標**********/

        :root {
            --primary-color: #2c5d63;
            --secondary-color: #a9c52f;
            --accent-color: #e67e22;
            --text-color: #333333;
            --bg-color: #f7f9fa;
            --card-bg: #ffffff;
        }

        body {
            font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
            line-height: 1.7;
            color: var(--text-color);
            background-color: var(--bg-color);
            margin: 0;
 /*           padding: 20px;*/
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }

        h1 {
            text-align: center;
            color: var(--primary-color);
            border-bottom: 3px solid var(--primary-color);
            padding-bottom: 10px;
            margin-bottom: 30px;
        }

        h2 {
            color: var(--primary-color);
            background-color: #eef5f6;
            padding: 12px 20px;
/*            border-left: 6px solid var(--primary-color);*/
            border-radius: 0 4px 4px 0;
            margin-top: 50px;
            margin-bottom: 25px;
            font-size: 1.4rem;
        }

        h3 {
            color: #444;
            border-bottom: 2px solid #ddd;
            padding-bottom: 5px;
            margin-top: 25px;
            font-size: 1.2rem;
        }

        /* 教育目標の特別装飾 */
        .target-box {
            background: linear-gradient(135deg, #fff 0%, #f0f7f4 100%);
            border: 2px solid var(--primary-color);
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            margin-bottom: 40px;
            box-shadow: 0 6px 12px rgba(0,0,0,0.05);
        }
        .target-main {
            font-size: 1.6rem;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 15px;
            letter-spacing: 1px;
        }
        .target-sub {
            font-size: 1.1rem;
            color: #555;
            font-style: italic;
        }

        /* グリッド・カードレイアウト */
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .card {
            background: var(--card-bg);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border-top: 4px solid var(--primary-color);
        }

        .card h4 {
            margin-top: 0;
            color: var(--primary-color);
            font-size: 1.1rem;
            border-bottom: 1px dashed #ddd;
            padding-bottom: 8px;
        }

        .card-grade {
            border-top: 4px solid var(--secondary-color);
        }

        /* リストスタイル */
        .main ul, ol {
            padding-left: 20px;
        }

        .main li {
            margin-bottom: 8px;
        }

        .main .list-numbered {
            list-style-type: none;
            counter-reset: item;
            padding-left: 0;
        }

        .main .list-numbered > li {
            position: relative;
            padding-left: 35px;
            margin-bottom: 15px;
        }

        .main .list-numbered > li::before {
            counter-increment: item;
            content: counter(item);
            position: absolute;
            left: 0;
            top: 2px;
            background: var(--primary-color);
            color: #fff;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            text-align: center;
            line-height: 24px;
            font-size: 0.85rem;
            font-weight: bold;
        }

        .sub-list {
            list-style-type: disc;
            padding-left: 20px;
            margin-top: 5px;
            color: #555;
            font-size: 0.95rem;
        }

        /* セクションの共通装飾 */
        .section-block {
            background: var(--card-bg);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            margin-bottom: 25px;
        }

        .section-title {
            font-weight: bold;
            color: var(--primary-color);
            font-size: 1.15rem;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        .section-title::before {
            content: "";
            display: inline-block;
            width: 8px;
            height: 18px;
            background-color: var(--secondary-color);
            margin-right: 10px;
            border-radius: 2px;
        }

        /* 特色ある活動のグリッド */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
            gap: 20px;
        }
        @media (max-width: 600px) {
            .features-grid {
                grid-template-columns: 1fr;
            }
        }
        .feature-card {
            background: var(--card-bg);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border-left: 5px solid var(--secondary-color);
        }
        .feature-tag {
            display: inline-block;
            background-color: #f0f7f4;
            color: var(--primary-color);
            padding: 2px 10px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .feature-card h4 {
            margin: 0 0 10px 0;
            color: #333;
            font-size: 1.15rem;
        }
        .feature-desc {
            font-size: 0.95rem;
            color: #555;
            margin: 0;
        }

        @media (max-width: 768px) {
            body { padding: 10px; }
            .container { padding: 10px; }
            .section-block { padding: 20px; }
            .target-main { font-size: 1.3rem; }
            .target-sub { font-size: 0.95rem; }
        }


.title-box {
  font-weight: 700;
  border: 5px solid #5dc2d0;
  border-radius: 12px;
  padding: 4px 8px;
  display: inline-block; /* ← これが重要 */
}



.active-photo {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px; /* ← これを追加 */
}

.active-photo .item {
  position: relative;          /* 文字を重ねるために必要 */
  flex: 1 1 calc(33.333% - 16px);
}

.active-photo .item img {
  width: 100%;
  display: block;
  border-radius: 8px;

  /* グロー効果 */
  box-shadow: 0 0 20px rgba(180, 180, 180, 0.6);
}

/* NO COPY の文字を重ねる */
.active-photo .item::after {
  content: "複製禁止";          /* 表示する文字 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  color: rgba(255, 255, 255, 0.6);
  font-size: 25px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  pointer-events: none;        /* クリック操作を邪魔しない */
}

/* スマホは1列 */
@media (max-width: 768px) {
  .active-photo .item {
    flex: 1 1 100%;
  }
}

/* ★ no-copy-hide が付いている画像だけ NO COPY を消す */
.active-photo .item.no-copy-hide::after {
  content: none;
}