@charset "UTF-8";
/*******************************************************************************
	サイト名：松山市青少年育成市民会議
	作成会社：Fellow System
--------------------------------------------------------------------------------
 No.│   日付   │区分│						内  容
━━┿━━━━━┿━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 001│2022.04│新規│[V1.00] 寺坂
*******************************************************************************/

/*******************************************************************************
	共通
*******************************************************************************/

main {
	margin-bottom: 100px;
}

@media screen and (max-width: 768px) {
	main {
		margin-bottom: 40px;
	}

	.swiper-button-next {
		display: none;
	}
}

.aligncenter {
	margin: 0 auto;
}

/*******************************************************************************
	single-news.php
--------------------------------------------------------------------------------
	適応：全部
*******************************************************************************/
/* .single-news {
	background-image: url("../images/single_news_bg.png");
	background-repeat: no-repeat;
	background-position: right 21% top 73px;
	background-size: 663.86px 658.07px;
} */

.single_news_container {
	max-width: 1200px;
	width: 90%;
	margin: auto;
}

.single_news_container hr {
	margin: 20px auto;
	border-bottom: 2px solid #000000;
}

.news_heading_wrap {
	margin-bottom: 44px;
	text-align: center;
}

.news_time {
	margin-bottom: 22px;
	color: #101010;
	font-size: 0.9375rem;
}

.news_common_tax {
	display: flex;
	width: 199px;
	height: 47px;
	margin: 22px auto 18px auto;
	border-radius: 23.5px;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	background: transparent;
	color: #ffffff;
	font-size: 1.125rem;
	justify-content: center;
	align-items: center;
}

.news_title_heading {
	color: #363636;
	font-size: 1.625rem;
}

.news_img_wrap {
	display: flex;
	max-width: 1200px;
	width: 100%;
	margin-bottom: 50px;
	justify-content: center;
	align-items: center;
}

.news_img_wrap img {
	width: 50%;
	margin-right: 20px;
	margin-left: 20px;
}

.news_content_wrap {
	max-width: 800px;
	width: 100%;
	margin: auto;
}

.news_border {
	width: 100%;
	height: 4px;
	margin-bottom: 28px;
	background: #000000;
}

.news_content_text {
	margin-bottom: 50px;
	color: #333333;
	font-size: 0.9375rem;
	line-height: 2;
}

.news_content_text > * + * {
	margin-top: 20px;
}

.wp-block-image::after {
	display: block;
	clear: both;
	content: "";
}

.news_content_text iframe {
	max-width: 100%;
}

.wp-block-gallery.alignright {
	margin-left: auto;
}

.wp-block-embed-youtube.alignright {
	display: flex;
	max-width: none !important;
	justify-content: flex-end;
}

.wp-block-embed-youtube.aligncenter {
	display: flex;
	justify-content: center;
}

.wp-block-table.alignright {
	margin-left: auto;
}

.news_content_text iframe.youtube_left {
	margin-right: auto;
}

.news_content_text iframe.youtube_center {
	margin: 0 auto;
}

.news_content_text iframe.youtube_right {
	margin-left: auto;
}

.news_content_text iframe.map_left {
	margin-right: auto;
}

.news_content_text iframe.map_center {
	margin: 0 auto;
}

.news_content_text iframe.map_right {
	margin-left: auto;
}

.news_content_text ul {
	list-style: disc;
}

.news_content_text ol {
	list-style: decimal;
}

.news_content_text ul , .news_content_text ol {
	display: block;

	margin-block-start: 1em;
	margin-block-end: 1em;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
	padding-inline-start: 40px;
}

.news_content_text a.link_center {
	display: block;
	width: fit-content;
	margin: 30px auto;
}

.news_content_text a:not(.link_center) img {
	margin-top: 30px;
	margin-bottom: 30px;
}

.news_content_text img.aligncenter {
	margin: 0 auto;
}

.news_content_text img.alignright {
	margin-left: auto;
}

.news_common_btn {
	display: flex;
	max-width: 397px;
	width: 100%;
	height: 69.33px;
	margin: auto;
	margin-bottom: 100px;
	border: 1px solid #707070;
	border-radius: 50px;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	background: transparent;
	background-color: #f0f0f0;
	justify-content: center;
	align-items: center;
}

.news_common_btn:hover {
	opacity: 0.7;
}

.news_common_btn_text {
	color: #000000;
	font-size: 1.3125rem;
}

@media screen and (max-width: 834px) {
	body {
		background-position: right 21% top 20%;
		background-size: 80%;
	}
}

@media screen and (max-width: 600px) {
	body {
		background-image: none;
	}

	.news_img_wrap {
		display: block;
		margin: initial;
	}

	.news_img_wrap img {
		width: 100%;
		margin: 0 auto 30px auto;
	}
}

/*******************************************************************************
	archive-news.php
--------------------------------------------------------------------------------
	適応：全部
*******************************************************************************/
.news_background {
	background-image: url("../images/single_news_bg.png");
	background-repeat: no-repeat;
	background-position: right 21% top 73px;
	background-size: 663.86px 658.07px;
}

.news_title_container {
	margin-top: 30px;
	text-align: center;
}

.news_page_title__h2 {
	margin-bottom: 15px;
	font-family: "Impact";
	font-size: 65px;
}

.news_page_title__h3 {
	position: relative;
	padding-bottom: 32px;
	color: #343434;
	font-size: 27px;
}

.news_page_title__h3::before {
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: calc(50% - 54px);
	width: 108px;
	height: 1px;
	background-color: #000000;
	content: "";
}

.category_container {
	display: flex;
	max-width: 1070px;
	width: 95%;
	margin: 0 auto;
	margin-top: 50px;
	flex-direction: column;
}

.category_container h3 {
	font-weight: normal;
	font-size: 49px;
}

.archive_tax {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
}

.archive_tax ul {
	display: flex;
	flex-wrap: wrap;
}

/*#menu-news_cat{
	display: flex;
	justify-content: center;
}*/

.archive_tax ul li {
	margin-top: 15px;
}

.archive_tax ul li:not(:last-child) {
	margin-right: 25px;
}

.archive_tax a {
	display: flex;

/* margin: 0 32px; */
	/* max-width: 128px;
    width: 100%;
    height: 30px; */
	padding: 9px 50.5px;
	border-radius: 23.5px;
	box-shadow: 0px 3px 6px rgb(0 0 0 / 16%);
	color: #ffffff;
	font-weight: 900;
	font-size: 12px;
	justify-content: center;
	align-items: center;
	transition: 0.3s ease-out;
}

.menu-item-object-news_category a {
	display: flex;

/* margin: 0 32px; */
	margin: 0 12px;

/* max-width: 128px;
    width: 100%;
    height: 30px; */
	padding: 10px 60px;
	border: 1px solid #707070;
	border-radius: 23.5px;
	background-color: #ffffff;
	color: #000000;
	font-weight: 700;
	font-size: 18px;
	justify-content: center;
	align-items: center;

/* box-shadow: 0px 3px 6px rgb(0 0 0 / 16%); */
	transition: 0.3s ease-out;
}

.menu-item-object-news_category a:hover {
	background-color: #d1e8fd;
	transition: 0.3s ease-in;
}

.menu-item-object-news_category.current-menu-item a {
	background-color: #d1e8fd;
}

.archive_news {
	max-width: 1000px;
	width: 90%;
	margin: auto;
	margin-top: 30px;
	;
}

.no-post {
	margin-top: 50px;
	text-align: center;
}

.archive_news_li {
	display: flex;
	position: relative;
	padding: 30px 140px 30px 25px;
	border-bottom: 1px solid #c1c1c1;
	background: transparent;
	line-height: 1.15;
	align-items: center;
}

.archive_news_li_time {
	color: #101010;
	font-size: 0.9375rem;
	letter-spacing: 0.1rem;
}

.archive_news_li_heading {
	overflow: hidden;
	font-weight: 400;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.archive_news_li_link {
	color: #363636;
}

.archive_news_li_link:hover {
	color: #1f5398;
}

.archive_news_common_btn {
	display: flex;
	max-width: 128px;
	width: 100%;
	height: 30px;
	margin: 0 32px;
	border-radius: 15px;

/*border: 1px solid #707070;*/
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	background: transparent;
	justify-content: center;
	align-items: center;
}

.archive_news_common_btn_text {
	color: #ffffff;
	font-size: 0.75rem;
}

@font-face {
	font-family: "news";
	font-style: normal;
	font-weight: normal;
	src: url("../fonts/news.eot?4xkaqz");
	src: url("../fonts/news.eot?4xkaqz#iefix") format("embedded-opentype"),
	url("../fonts/news.ttf?4xkaqz") format("truetype"),
	url("../fonts/news.woff?4xkaqz") format("woff"),
	url("../fonts/news.svg?4xkaqz#icomoon") format("svg");

	font-display: block;
}

[class^="news-"] , [class*=" news-"] {
	/* use !important to prevent issues with browser extensions that change fonts */
	font-family: "news" !important;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	font-variant: normal;
	-moz-osx-font-smoothing: grayscale;

/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	text-transform: none;

	speak: never;
}

.news-arrow_right:before {
	content: "\e910";
}

.news_arrow_link {
	display: flex;
	position: absolute;
	right: 0;
	color: #1d1d1d;
	align-items: center;
}

.news_arrow_link span {
	display: inline-block;
	margin-right: 15px;
	font-weight: 500;
	font-size: 15px;
}

.news_arrow_link:hover {
	opacity: 0.7;
}

.arrow_right_position {
	font-size: 25px;
}

@media screen and (max-width: 768px) {
	.category_container {
		width: 100%;
		padding: 0 30px;
	}

	.news_arrow_link {
		bottom: 15px;
	}

	.news_background {
		background-size: 333px 330px;
	}

	.news_page_title__h2 {
		font-size: 35px;
	}

	.news_page_title__h3 {
		padding-bottom: 20px;
		font-size: 20px;
	}

	.news_page_title__h3::before {
		left: calc(50% - 30px);
		width: 60px;
	}

	#menu-news_cat {
		flex-wrap: wrap;
		/*justify-content: space-between;*/
	}

	.menu-item-object-news_category {
		margin-bottom: 20px;
	}

	.category_container h3 {
		font-size: 25px;
	}

	.archive_tax a {
		margin: 0;
		padding: 6px 37px;
		font-size: 10px;
	}

	.archive_tax ul li:not(:last-child) {
		margin-right: 20px;
	}

	/*.archive_tax {
		padding: 0 30px;
	}*/
	.menu-item-object-news_category a {
		margin: 0;
		padding: 10px 30px;
		font-size: 14px;
	}

	.menu-item-object-news_category:not(:last-child) {
		margin-right: 12px;
	}

	.menu-item-object-news_category:last-of-type {
		margin-bottom: 0;
	}

	.archive_news_li {
		padding-right: 20px;
		padding-bottom: 45px;
		flex-wrap: wrap;
	}

	.archive_news_li_heading {
		overflow: hidden;
		width: 100%;
		padding-top: 15px;
		font-size: 16px;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.arrow_right_position {
		font-size: 20px;
	}

	.news-arrow_right:before {
		font-size: 14px;
	}

	.swiper.news_slide {
		padding-left: 30px !important;
	}

	.swiper.text_slide {
		margin-left: 30px !important;
	}
}

/*******************************************************************************
	archive-news.php
--------------------------------------------------------------------------------
	ページネーション
*******************************************************************************/
.archive_pagination {
	max-width: 1000px;
	margin: auto;
	margin-top: 35px;
}

.nav-links {
	text-align: center;
}

.clearfix::after {
	display: block;
	clear: both;
	content: "";
}

.key_chapter.news_key_chapter {
	margin-top: 40px;
}

.archive_pagination .pages-of {
	display: none;
}

.archive_pagination li {
	display: inline-block;
	position: relative;
	font-weight: bold;
	font-size: 1.125rem;
	line-height: 1;
}

.archive_pagination li.first-number , .archive_pagination li.page-numbers , .archive_pagination li.last-number , .archive_pagination li.prev a , .archive_pagination li.next a {
	width: 20px;
	margin-right: 35px;
}

/* .archive_pagination li.first-number , .archive_pagination li.page-numbers , .archive_pagination li.last-number , .archive_pagination li.prev a , .archive_pagination li.next a:last-of-type{
	margin-right: 0;
} */

.archive_pagination .current {
	width: 20px;
	border-bottom: #000000 solid 4px;
}

.archive_pagination li a , .archive_pagination .current {
	padding: 15px 0;
}

.archive_pagination li:last-child {
	margin-right: 0;
}

.archive_pagination li a {
	display: block;
	line-height: 1;
}

.archive_pagination li a {
	color: #101010;
	text-decoration: none;
}

.archive_pagination li::after {
	position: absolute;
	bottom: 0;
	left: 0;
	transform: scale(0, 1);
	transform-origin: right top;
	width: 100%;
	height: 5px;
	background-color: #000000;
	content: "";
	transition: transform 0.25s;
}


/*******************************************************************************
	4コマ漫画 ページ レイアウト
*******************************************************************************/

.contest_view {
	display: flex;
	margin-bottom: 40px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}



.contest_view li {
	display: none;
	opacity: none;
}

.contest_view li figure {
	display: flex;
	flex-direction: column-reverse;
}

.contest_view li figure figcaption {
	margin-bottom: 15px;
	font-family: "Noto Sans JP";
	font-size: 18px;
	text-align: center;
}

.contest_view li figure img {
	width: 100%;
}

.contest_view li figure figcaption.red {
	color: #b84a4c;
	font-weight: 800;
}

.contest_view li figure figcaption.gold {
	color: #8d7729;
	font-weight: 500;
}

.contest_view li.is_active {
	display: block;
	align-items: center;

/*表示*/
	animation-name: displayAnime;

/*ふわっと表示させるためのアニメーション*/
	animation-duration: 2s;
	animation-fill-mode: forwards;
}

@keyframes displayAnime {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.single_image.is_active {
	display: flex;
	align-items: center;

/*表示*/
	animation-name: displayAnime;

/*ふわっと表示させるためのアニメーション*/
	animation-duration: 2s;
	animation-fill-mode: forwards;
}



.flex_list_wrap {
	display: flex !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-wrap: wrap;
	justify-content: space-between;
}

.flex_list_wrap::after {
	display: block;
	width: 30%;
	content: "";
}

.flex_list_wrap li {
	margin-top: 15px;
}

.flex_list_wrap p {
	font-size: 13px;
	text-align: center;
}

.top_text_bold.text_best {
	color: #b84a4c;
	font-weight: 700;
	font-size: 20px;
}

.top_text_bold.text_excellence {
	color: #8d7729;
	font-weight: 700;
	font-size: 20px;
}

.flex_list_wrap p.top_text_bold {
	font-size: 17px;
}

.TXT-body-2 {
	width: 100%;
	margin: auto;
	margin-top: 7%;
}

@media screen and (max-width: 566px) {
	.flex_list_wrap {
		justify-content: center;
	}

	.flex_list_wrap::after {
		content: none;
	}

	.TXT-body-2 {
		font-size: 14px;
	}
}


.poster_top_text {
	margin-bottom: 20px;
	text-align: center;
}

.flex_wrap_poster {
	display: flex !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-wrap: wrap;
	justify-content: center;
}

.flex_wrap_poster {
	margin-bottom: 30px;
}

.flex_wrap_poster li {
	margin: 0 20px;
	text-align: center;
}

.flex_wrap_poster li:first-of-type {
	margin: 0;
}

.flex_wrap_poster li:last-of-type {
	margin: 0;
}

.poster_text_red {
	color: #ff0000;
}

.hr_border {
	width: 100%;
	margin-bottom: 20px;
	border-bottom: 1px solid #333333;
}

/* お知らせ 4コママンガ */

.comic-list_container {
	display: flex !important;
	list-style: none !important;
	flex-wrap: wrap;
	justify-content: space-between;

	row-gap: 40px;
	padding-inline-start: 0 !important;
}

.comic-list_container li {
	width: calc(100% / 3 - 20px);
}

.comic-list_container li img {
	width: 100%;
	margin-top: 25px;
}

figcaption {
	text-align: center;
}

.group-title {
	margin: 10px 0;
}

.name {
	margin: 15px;
	line-height: 1.5;
}

.comic-title {
	margin: 10px 0;
}

@media screen and (max-width: 670px) {
	.comic-list_container li {
		width: 90%;
		margin: auto;
	}
}
