/* information/documentguidance/index.html（資料・図書利用案内）固有のスタイル */

#index-contents .gist {
    width: 100%;
    display: flex;
}

/* header.cssの同名クラスに負けないよう #index-contents で詳細度を上げる */
#index-contents .left {
    flex: 2;
    padding: 10px;
    box-sizing: border-box;
}

#index-contents .right {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    background-color: #e0e0e0;
}

.title2 {
    font-size: 12px;
    font-family: "MS Mincho", "Hiragino Mincho ProN", serif;
    /* 明朝体っぽいフォント */
    font-weight: normal;
    padding-left: 10px;
    /* 文字と帯の間に余白 */
}

/* 本文中の強調色（旧ブランド色を維持） */
.dg-accent {
    color: #CD619B;
}

.brackets {
    font-family: "MS Mincho", serif;
    /* 中身を明朝体に */
    font-weight: bold;
    padding-left: 10px;
}

.brackets::before,
.brackets::after {
    font-family: "MS Mincho", serif;
    /* 括弧も明朝体に */
    font-weight: bold;
}

.brackets::before {
    content: '[';
}

.brackets::after {
    content: ']';
}

#howToLibraList {
    list-style: circle;
}

.brackets1 {
    font-family: "MS Mincho", serif;
    font-weight: bold;
    padding-left: 5px;
    text-align: center;
}

.brackets1::before,
.brackets1::after {
    font-family: "MS Mincho", serif;
    font-weight: bold;
}

.brackets1::before {
    content: '[';
}

.brackets1::after {
    content: ']';
}

.gaikan {
    border-left: 6px solid var(--color-brand);
    list-style-type: none;
    font-family: "MS Mincho", serif;
    font-size: 25px;
    margin-top: 25px;
    margin-left: 2%;
    padding-left: 5px;
}

#child {
    width: 50%;
    height: auto;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 外観写真のキャプション（.gist p に負けないよう詳細度を上げる） */
#index-contents .right p.dg-caption {
    text-align: center;
    font-weight: normal;
    font-size: 1rem;
    letter-spacing: 2px;
    font-family: sans-serif;
}

.calendar-align-right {
    text-align: right;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
    /* カレンダーの下にマージンを追加 */
}

.calendar-align-right iframe {
    width: 400px;
    height: 500px;
    border: 1px solid #b8b8b8;
    border-radius: .4rem;
    display: inline-block;
    vertical-align: top;
    margin: 0;
}

@media (max-width: 768px) {
    #index-contents .gist {
        flex-direction: column;
    }

    #index-contents .left,
    #index-contents .right {
        box-sizing: border-box;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
    }

    #index-contents .right {
        order: -1;
        padding: 1rem;
    }

    #child {
        box-sizing: border-box;
        width: 100%;
        max-width: 25rem;
        height: auto;
    }

    .calendar-align-right {
        box-sizing: border-box;
        width: 100%;
        margin: 0 0 1rem;
    }

    .calendar-align-right iframe {
        box-sizing: border-box;
        display: block;
        width: 100%;
        max-width: 25rem;
        margin: 0 auto;
    }
}
