@charset "utf-8";

/********** 1 共通 **********/

/* 画像サイズ */
#main_body div[class*="detail"] img {
	margin: 10px;
	max-width: calc(100% - 20px);
	height: auto !important;
	vertical-align: top;
}

/********** 2 定型登録 **********/

/* 共通 */
.detail_teikei {
	display: block;
}
.detail_teikei_column {
	display: block;
}
.detail_teikei_column > div {
	display: block;
}
#main_body .detail_teikei .detail_teikei_img img {
	max-width: 100%;
}

/********** 3 個別設定 **********/

/* 評価エリア */
#hyouka_area_box {
	padding: 20px;
}
.hyouka_box_detail {
	font-size: 1.2rem;
}

/* お問い合わせ先 */
#section_footer {
	padding: 20px;
}

/* PDF・WMPリンク */
.pdf_download,
.wmplayer_download {
	display: block;
	width: auto;
}
.pdf_download .pdf_img,
.wmplayer_download .wmplayer_img {
	display: block;
}
.tenpu_txt {
	display: block;
	padding: 10px 0px 0px;
	font-size: 1.2rem;
}

/* コンテンツフッタ */

/* カレンダー登録 */
#calendar_button_google,
#calendar_button_yahoo {
	margin: 0px 10px 10px;
}
#calendar_button_google a,
#calendar_button_yahoo a {
	font-size: 1.3rem;
}

/* SNSボタン */

/* おすすめコンテンツ(バナー広告) */
#second_osusume {
	padding: 20px;
}
#second_osusume_ttl {
	font-size: 1.3rem;
	margin-bottom: 20px;
}
ul#second_osusume_list > li:not(:first-child) {
	margin-top: 15px;
}

/* 重要なお知らせ */
#second_important h2 {
	font-size: 1.8rem;
	padding: 13px 15px 10px;
	text-align: center;
}
#second_important ul li {
	padding: 15px;
}
#second_important ul li > span.article_date {
	font-size: 1.2rem;
}
#second_important ul li > span.article_title {
	font-size: 1.3rem;
}
#second_important .link_box {
	display: none !important;
	padding: 15px;
}
#second_important .link_box > span {
	text-align: center;
}

/* カウントダウン */
.count_down_box:not(:first-of-type) {
	margin-top: 0px;
}
#count_down_area {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
#count_down_area > * {
	width: calc(50% - 5px);
}
#count_down_area > *:not(:nth-child(2n - 1)) {
	margin-left: 10px;
}
#count_down_area > *:nth-child(n + 3) {
	margin-top: 10px;
}
.count_down_box2 > span.count_txt {
	padding: 15px;
}
.count_down_box2 > span.count_txt span.count_title {
	font-size: 1.3rem;
}
.count_down_box2 > span.count_txt span.count_comment {
	display: none !important;
}
.count_down_box2 span.count_day {
	top: 5px;
	right: 5px;
	font-size: 1.2rem;
	padding: 5px;
}

/* 関連リンク */
#kanren_link_ttl {
	padding: 14.25px 10px;
}
#kanren_link_ttl h2 {
	font-size: 1.4rem;
}
#kanren_link ul {
	font-size: 1.3rem;
}
#kanren_link ul li {
	padding: 10px;
}
#kanren_link ul li a {
	display: block;
}

/* サイドバー（順番入れ替え） */
#sidebar1 #important_noticest_area,
#sidebar2 #important_noticest_area {
	-webkit-box-ordinal-group: 2;
	    -ms-flex-order: 1;
	        order: 1;
	margin-top: 10px;
}
#sidebar1 #common_banner_link,
#sidebar2 #common_banner_link {
	-webkit-box-ordinal-group: 3;
	    -ms-flex-order: 2;
	        order: 2;
	margin-top: 10px;
}