/* CSS Document */

/* 全体設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
img {
    max-width: 100%;  /* 親要素の幅を超えそうになったら、親要素の幅（100%）に合わせて縮む */
    height: auto;     /* 縮んだときに画像の縦横比（プロポーション）が崩れないようにする */
}
body {
    font-family: 'Meiryo', 'Hiragino Maru Gothic Pro', sans-serif;
    background-color: #f3f3f2;  /* 白練 */
    color: #333333;  /* dark charcoal */
    line-height: 1.6;
}
p {
    font-size: 16px;
    color: dimgray;
}
ul {
    list-style-type:disc;
    margin-left: 18px;
}
li {
    font-size: 16px;
    color: dimgray;
}
a {
    color: dimgray;
    text-decoration: none;
    font-size: 16px;
}
a:hover {
    color: dimgray;
    text-decoration: underline;
}
h3 {
    font-size: 16px;
    color: #1a365d;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-bottom: 10px;
    font-weight: 700;
}
h4 {
    color: #2a4073;  /* 深縹 */
    font-size: 16px;
    margin-bottom: 8px;
    padding-left: 5px;
    text-decoration: underline;
}
.small {
    font-size: 14px;
}
.smaller {
    font-size: 16px;
}
.container {
    max-width: 1200px;
    margin: 0 20px; /* 1つ目が上下, 2つ目が左右 */
    padding: 0 20px;
}

/* ヘッダー */
header {
    background-color:white;
    border-top: 5px solid #2a4073;  /* 深縹 */
    border-bottom: 5px solid #2a4073;  /* 深縹 */
    padding: 20px 0;
}
.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}
.school-name h1 {
    font-size: 24px;
    color:#2a4073;  /* 深縹 */
    letter-spacing: 1px;
}
.school-name p {
    font-size: 18px;
    color: dimgray;
}


/* メインコンテンツレイアウト */
.main-content {
    padding: 40px 0 20px 0;
    gap: 40px;
}

/* 本文の白背景部分 */
.white-field {
    background-color: white;
    border-radius: 8px;
    padding: 20px 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* セクション共通スタイル */
h2.section-title {
    font-size: 20px;
    color: #1a365d;
    position: relative;
    padding-bottom: 2px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}
h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #d69e2e;
}

/* 1文字分の字下げを指定 */
.indent {
    text-indent: 1em;
}

/* Description-List 01 */
.dl_01 {
    display: grid;
    grid-template-columns: 120px 1fr; /* 左フレームを120pxに固定、右(本文)は残り全幅 */
    gap: 2px 15px;                   /* 「上下の行間 5px」「左右のすき間 15px」 */
    line-height: 1.5;
    color: dimgray;
    margin-bottom: 10px;
    border-top: 1px solid #e2e8f0;    /* 上側の線（落ち着いた薄いグレー） */
    padding: 12px 0 0 0;                  /* 線と本文の間に 12px のゆとりを空ける */
}
.dl_01 dt {
    font-weight: bold;
    white-space: nowrap;  /* 日付の途中で勝手に改行されるのを防ぐ */
    color: dimgray;
    font-family: "Courier New", Consolas, "MS Gothic", "Osaka-mono", monospace;
    /* ★等幅フォントを指定（Windows、Mac、スマホそれぞれの標準等幅フォント） */
}
.dl_01 dd {
    margin-left: 0;       /* ブラウザ標準の勝手なインデントをリセット */
}




/* スマホ表示での調整（画面幅が狭いとき） */
@media (max-width: 600px) {
    .dl_01 {
        grid-template-columns: 100px 1fr; /* スマホでは日付エリアを少し狭めて本文幅を確保 */
        gap: 12px 10px;
        font-size: 14px;
    }
}

/* Safariが自動生成した電話リンク、または手動で作った電話リンクの装飾を解除 */
a[href^="tel:"] {
    color: inherit;          /* 親要素（フッターの文字）と同じ色を継承 */
    text-decoration: none;  /* 下線を消す */
}

/* フッター */
footer {
    background-color: #2a4073;  /* 深縹 */
    color: white;
    padding: 30px 0 20px 0;
}
.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
    margin-bottom: 20px;
}
.footer-info h2 {
    font-size: 20px;
    margin-bottom: 10px;
}
.footer-info p {
    font-size: 13px;
    color: lightgray;
}
.footer-info a {
    font-size: 13px;
    color: lightgray;
    text-decoration: none;
}
.footer-info a:hover {
    color: white;
    text-decoration: underline;
}
.footer-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
}
.footer-links a {
    color: lightgray;
    text-decoration: none;
    font-size: 13px;
}
.footer-links a:hover {
    color: white;
    text-decoration: underline;
}
.copyright {
    text-align: center;
    font-size: 12px;
    color: lightgray;
}
