/*
カラー設定

ベースのピンク　#F0B7B6
差し色ピンク　#E68B8A

お知らせ　#32B75A
受験生　#E68B8A
調達情報　#3474C3
ボタンのイエロー　#FFE802
*/


/* 更新情報スタイル */
.update-list-main {
    background-color: #FEFDF8;
    padding: 74px 0 0;
    width: 893px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}
.page-nation {
    width: 100%;
    padding: 26px 0;
}

.page-nation ul {
    display: flex;
    margin: 0 auto;
    justify-content: center;
}
.page-nation ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    text-align: center;
    vertical-align: middle;
    border: #322D2A 1px solid;
    border-radius: 2px;
    color: #322D2A;
    margin: 0 6px;
}
.page-nation a.ellipsis {
    border: none;
}
.page-nation a {
    color: #322D2A;
}
.page-nation a.slt, .page-nation a:hover {
    background-color: #E68B8A;
}
.page-nation a.ellipsis:hover {
    background-color: transparent;
}

.categories {
    background-color: #32B75A;
    padding: 20px 20px 10px;
    width: 203px;
    margin-right: 47px;
}

.categories h1 {
    text-decoration: none;
    font-size: 19px;
    color: #FFFFFF;
    letter-spacing: 0.8px;
    padding-bottom: 20px;
}
.categories ul {
    padding-left: 1em;
}

.categories ul li {
    font-size: 15px;
    color: #FFFFFF;
    letter-spacing: 0.79px;
    line-height: 39px;
}

.categories ul li a {
    color: #FFFFFF;
}

.updates article a {
    position: relative;
    text-decoration: none;
    background: #FFFFFF;
    border-radius: 3px;
    width: 100%;
    padding: 14px 17px;
    margin-bottom: 20px;
    z-index: 5;
}
.updates article span {
    border-radius: 3px;
    font-size: 13px;
    letter-spacing: 0.69px;
    padding: 0 3px;
    border-style: solid;
    border-width: 1px;
}
/* お知らせ */
.cat1 {
    border-color:#32B75A;
    color: #32B75A;
}
/* 受験生 */
.cat2 {
    border-color:#E68B8A;
    color: #E68B8A;
}
/* 調達情報 */
.cat3 {
    border-color:#3474C3;
    color: #3474C3;
}
.updates article h2 {
    font-size: 15px;
    color: #322D2A;
    letter-spacing: 0.79px;
    font-weight: 400;
    padding-top: 6px;
}
.updates article p {
    font-size: 15px;
    color: #322D2A;
    letter-spacing: 0.79px;
    padding-top: 10px;
}

.updates article time {
    font-size: 12px;
    color: #696B6D;
    letter-spacing: 0.63px;
    padding-right: 30px;
}

/* 記事ページスタイル */
.news-main {
    width: 100%;
    padding-top: 76px;
    padding-bottom: 76px;
    background-color: #FEFDF8;
}

.news-main h1 {
    font-size: 34px;
    color: #322D2A;
    letter-spacing: 2.27px;
    text-align: center;
    display: flex; /* フレックスボックスを使って要素を整列 */
    align-items: center; /* 上下中央に揃える */
    justify-content: center; /* 左右中央に揃える */
    margin-bottom: 80px;
}

.news-main h1::before,
.news-main h1::after {
    content: '';
    display: inline-block;
    vertical-align: middle; /* テキストと上下中央に揃える */
    background-size: contain; /* 画像を要素内に収める */
    background-repeat: no-repeat;
    width: 113px; /* 画像の幅を指定 */
    height: 45px; /* 画像の高さを指定 */
    margin: 0 10px; /* 両側にマージンを設定 */
}

.news-main h1::before {
    background-image: url(../img/lower-h1-left.png);
}

.news-main h1::after {
    background-image: url(../img/lower-h1-right.png);
}
#tinymce {
    max-width: 894px;
    margin: 0 auto;
}


#tinymce {
    font-size: 16px;
    color: #322D2A;
    letter-spacing: 0;
    text-align: justify;
    line-height: 36px;
}
#tinymce a {
	text-decoration: underline;
	color: #32B75A;
}
#tinymce h2 {
    font-size: 28px;
    color: #322D2A;
    letter-spacing: 2.27px;
    text-align: left;
    display: block;
    position: relative;
    padding-left: 10px;
    margin: 39px 0;
    border-bottom: 1px solid #e68B8A;
}
#tinymce h2::before {
    content: '';
    display: inline-block;
    background-size: contain; /* 画像を要素内に収める */
    background-position: left top;
    background-repeat: no-repeat;
    width: 12px; /* 画像の幅を指定 */
    height: 12px; /* 画像の高さを指定 */
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 10;
}
#tinymce h2::before {
    background-image: url(../img/lower-h2-left.png);
}
#tinymce h2 > span {
    font-size: 16px;
}
#tinymce h3 {
    display: inline-block;
    font-size: 24px;
    letter-spacing: 1.6px;
    text-align: left;
    margin: 26px 0;
    border-bottom: 4px solid #e68B8A;
}
#tinymce h4 {
    font-size: 20px;
    letter-spacing: 1.33px;
    margin: 12px 0;
}

#tinymce ul li {
    padding-left: 1em;
}
#tinymce ul li::before {
    content: "●";
    margin-left: -1em;
    margin-right: 0.2em;
    color: #e68B8A;
    font-size: 16px;
}

#tinymce ol {
    counter-reset: custom-decimal;
    list-style: none;
    padding-left: 5px; 
}
  
#tinymce ol li {
    counter-increment: custom-decimal;
    position: relative;
    padding-left: 40px;
    padding-bottom: 6px;
}
  
#tinymce ol li::before {
    content: counter(custom-decimal) ;
    position: absolute;
    left: 0;
    color: #E68B8A;
}

#tinymce table {
	width:100%;
    text-align: center;
	box-sizing:border-box;
	border-collapse:collapse;
	border:3px solid #FF7277;
}
#tinymce table th,#tinymce table td {
	border:1px solid #FF7277;
	text-align:center;
	vertical-align:middle;
	color:#5A594E;
	font-size:14px;
	line-height:18px;
	padding:15px 5px;
    background-color: #FEFDF8;
}
#tinymce table th, #tinymce table thead th {
	background-color:#FFE3E4;
}
#tinymce table thead {
	border-bottom:2px solid #FF7277;
	background-color:#FFE3E4;
}
#tinymce table th strong {
	color:#FF7277;
}
#tinymce table td.short {
    width: 2em;
}
#tinymce table td.middle {
    width: 10em;
}
#tinymce table td.left {
    text-align: left;
}
#tinymce strong {
	font-weight: bold;
}
#tinymce em {
	font-style: italic;
}
#tinymce .cimg_c {
	clear: both;
	padding: 30px 50px;
}
#tinymce .cimg_l {
	float: left;
	margin: 0 1em 10px 0;
}
#tinymce .cimg_r {
	float: right;
	margin: 0 0 10px 1em;
}
#tinymce .cimg_c img {
	max-width: 100%;
	height: auto;
}
#tinymce .cimg_l img,#tinymce .cimg_r img {
	max-width: 300px;
	height: auto;
}
#tinymce .cimg_l a,#tinymce .cimg_r a,#tinymce .cimg_c a {
	display: block;
	font-size: 0;
	line-height: 0;
}
#tinymce .cimg_l p,#tinymce .cimg_r p,#tinymce .cimg_c p {
	font-size: 12px;
	margin-top: 5px;
	margin-bottom: 15px;
}
#tinymce .flex {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}

/* 枠付きtable */
.news-table-a {
	width:100%;
    text-align: center;
	box-sizing:border-box;
	border-collapse:collapse;
	border:3px solid #FF7277;
}
.news-table-a th,.news-table-a td {
	border:1px solid #FF7277;
	text-align:center;
	vertical-align:middle;
	color:#5A594E;
	font-size:14px;
	line-height:18px;
	padding:15px 5px;
    background-color: #FEFDF8;
}
.news-table-a th, .news-table-a thead th {
	background-color:#FFE3E4;
}
.news-table-a thead {
	border-bottom:2px solid #FF7277;
	background-color:#FFE3E4;
}
.news-table-a th strong {
	color:#FF7277;
}
.news-table-a td.short {
    width: 2em;
}
.news-table-a td.middle {
    width: 10em;
}
.news-table-a td.left {
    text-align: left;
}

/* 枠無しtable */
.news-table-b {
	width:100%;
    text-align: center;
	box-sizing:border-box;
	border-collapse:collapse;
}
.news-table-b th,.news-table-b td {
	text-align:center;
	vertical-align:top;
	color:#5A594E;
	font-size:14px;
	line-height:1.8em;
	padding:15px 5px;
    text-align: left;
}
.news-table-b th {
    color: #E68B8A;
}
.news-table-b th strong {
	color:#FF7277;
}
.news-table-b .short {
    width: 2em;
}
.news-table-b .middle {
    width: 10em;
}
.news-table-b .center {
    text-align: center;
}

@media (max-width: 768px) {
    .update-list-main {
        background-color: #FEFDF8;
        padding: 74px 0 0;
        width: calc(100% - 24px);
        margin: 0 auto;
        flex-wrap: wrap;
    }
    .page-nation {
        width: 100%;
        padding: 26px 0;
    }

    .categories {
        width: 100%;
        margin-right: 0;
    }

    .categories h2 {
        font-size: 19px;
        color: #FFFFFF;
        letter-spacing: 0.8px;
        padding-bottom: 0;
    }

    .categories ul {
        padding-left: 0;
        display: flex;
    }

    .categories ul li {
        padding-right: 8px;
        font-size: 14px;
    }


    .category-btn {
        position: absolute;
        top: 70px;
        right: 24px;
    }

    #update-content {
        width: 100%;
    }

    .updates {
        position: relative;
        left: 0;
        top: 10px;
        margin: 0 auto;
        width: calc(100% - 76px);
    }
    .updates article a {
        width: calc(100% - 24px);
        background: #FFFFFF;
    }

    .news-main {
        margin: 0 auto;
    }
    .news-main > section {
        max-width: calc(100% - 24px);
        margin: 0 auto;
        padding: 0 12px;
    }
    #tinymce {
        max-width: calc(100% - 24px);
        margin: 0 auto;
    }

    .news-main h1 {
        font-size: 22px;
        letter-spacing: 1.8px;
        margin-bottom: 40px;
    }

    .news-main h1::before,
    .news-main h1::after {
        content: '';
        display: inline-block;
        vertical-align: middle; /* テキストと上下中央に揃える */
        background-size: contain; /* 画像を要素内に収める */
        background-repeat: no-repeat;
        width: 60px; /* 画像の幅を指定 */
        height: 26px; /* 画像の高さを指定 */
        margin: 0 10px; /* 両側にマージンを設定 */
    }

    .news-main h2 {
        font-size: 20px;
        letter-spacing: 1.8px;
    }
    .news-main h2 > span {
        font-size: 16px;
    }
    .news-main h3 {
        display: inline-block;
        font-size: 18px;
        letter-spacing: 1.6px;
        text-align: left;
        margin: 26px 0;
        border-bottom: 4px solid #e68B8A;
    }
    .news-main h4 {
        font-size: 16px;
        letter-spacing: 1.33px;
        margin: 12px 0;
    }

}