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

/*******************************************************************************
	デフォルトセッティング
--------------------------------------------------------------------------------
	適応：全部
*******************************************************************************/
body {
	background-image: url("../images/home_bg_mbyc.png");
	background-position: center top -114px;
	background-size: 4411px 288px;
}

body.archive {
	background-image: initial;
}

.main_container {
	padding-top: 25px;
}

.home .main_container {
	padding-bottom: 6.771%;
}

.home_subtitle {
	margin-bottom: 45px;
	font-weight: 500;
	font-size: 27px;
	text-align: center;
}

.about_chapter .home_subtitle {
	margin-bottom: 20px;
}

.home_subtitle::after {
	display: block;
	width: 105px;
	height: 1px;
	margin: 30px auto 0;
	background-color: #707070;
	content: "";
}

.home_subtitle span {
	display: block;
	margin-bottom: 15px;
	font-weight: normal;
	font-size: 65px;
}

.key_chapter {
	position: relative;

/* max-width: 1920px; */
	width: 100%;
	margin: 0 auto;
}

/* .key_chapter_top_contents{
	max-width: 1920px;
	margin: auto;
} */
.link_button_container {
	position: absolute;
	right: 0;
	z-index: 10;
	width: 32.022%;
}

.link_button_container a {
	display: block;
}

.link_button_img {
	max-width: 602px;
	width: 100%;
}

.link_button_fade {
	opacity: 0;
	transition: 0.6s;
}

.link_button_fade.fade-in {
	opacity: 1;
	transition: 0.6s;
}

.key_outline {
	position: relative;
	max-width: 1920px;
	width: 100%;
	padding-left: 150px;
}

.key_outline h2 {
	max-width: 369px;
	width: 30.25%;
}

@media screen and (min-width: 1921px) {
	.key_outline h2 {
		margin-bottom: 60px;
	}
}

@media screen and (max-width: 1920px) {
	.key_outline h2 {
		margin-bottom: 3.125vw;
	}
}

.key_outline h2 img {
	width: 100%;
}

.move_img {
	position: absolute;
	top: 22.0671%;
	left: 41%;
	max-width: 642px;
	width: 39.0962%;
}

.swiper.news_slide {
	width: 100%;
	padding-left: 150px;
}

.swiper.news_slide a {
	display: block;
	width: 100%;
}

.upside {
	position: relative;
	max-width: 500px;
	width: 28.2486%;
	height: 45px;
	margin-bottom: 25px;
}

.bar_frame {
	display: block;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 4px;
	border-radius: 5px;
	background-color: rgba(112, 112, 112, 0.13);
}

.bar {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	transform: scaleX(0);
	transform-origin: 0 0;
	width: 100%;
	height: 4px;
	border-radius: 5px;
	border-radius: 5px;
	background-color: #707070;
	transition: transform 3s linear;
}

.news_slide .swiper-wrapper {
	padding-bottom: 10px;
	align-items: baseline;
}

.news_slide .swiper-slide {
	/* Center slide text vertically */
	display: flex;

/*max-width: 300px;*/
	height: 100%;
	text-align: center;
	align-items: center;
}

.news_slide .swiper-slide img {
	width: 100%;
	border-radius: 15px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.swiper.news_slide .swiper-slide.swiper-slide-active {
	max-width: 500px;
	width: 28.2486% !important;
	animation: slide-fadeIn 3s forwards;
}


.swiper.news_slide .swiper-button-next {
	top: auto;
	bottom: 10px;
	left: 50px;

/*左*/
	width: 70px;
	height: 65px;
	border-radius: 7px;
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
	background-color: #d6d6d6;
	color: #ffffff;
	font-weight: bold;
	font-size: 28px;
	transition: all 0.5s;
}

.news_slide .swiper-button-next:hover {
	/*左*/
	background-color: #000000;
}

.news_slide .swiper-button-prev {
	transform: translateY(-50%);

/*右*/
	width: auto;
	height: auto;
	margin: 0;
	color: #a7a7a7;
	font-size: 24px;
	pointer-events: none;
	transition: all 0.5s;
}

/*
.news_slide .swiper-button-prev:hover {
	color: #000000;
}*/
.news_slide .swiper-button-prev:after , .news_slide .swiper-button-next:after {
	display: none;
}

.news_slide .swiper-slide-prev , .news_slide .slide-hide {
	opacity: 0;
}

.news_slide .swiper-slide-prev a {
	pointer-events: none;
}

.swiper.text_slide {
	margin: 30px 0 0 150px;
	border-top: 1px solid rgba(112, 112, 112, 0.5);
	color: rgba(112, 112, 112, 0.5);
	font-weight: bold;
	font-size: 18px;
}

.news_text {
	display: flex;
	padding-top: 8px;
}

.swiper.text_slide .swiper-slide {
	opacity: 0;
}

.swiper.text_slide .swiper-slide.swiper-slide-active {
	animation: slide-fadeIn 2.2s 0.8s forwards;
}

.swiper.text_slide .swiper-slide.swiper-slide-prev {
	animation: slide-fadeOut 0.3s forwards;
}

.news_text dt {
	margin-right: 30px;
}

@keyframes slide-fadeIn {
	from {
		opacity: 0;
		/*transform: scale(1);*/
	}

	to {
		opacity: 1;
		/*transform: scale(1.5);*/
	}
}

@keyframes slide-fadeOut {
	from {
		opacity: 1;
		/*transform: scale(1);*/
	}

	to {
		opacity: 0;
		/*transform: scale(1.5);*/
	}
}

.service_chapter {
	width: 90%;
	margin: 0 auto;
	margin-top: 40px;
	margin-bottom: 75px;
}

.service_link {
	display: block;
	max-width: 1215px;
	margin: 0 auto;
}

.service_link ul {
	display: flex;
	position: relative;
	padding: 0 5.3498% 45px;
	justify-content: space-between;
}

.service_link ul:first-child {
	margin-bottom: 50px;
}

.service_link ul::after {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	max-height: 475px;
	height: 100%;
	border-radius: 23px;
	background-color: #e6e6e6;
	content: "";
}

.service_link ul li {
	max-width: 516px;
	width: 47.5577%;
	height: 516px;
	border-radius: 21px;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.common_service-place figcaption {
	display: flex;
	font-weight: 500;
	flex-direction: column;
	align-items: center;
}

.common_service-place figcaption p {
	margin-bottom: 35px;
	font-weight: 500;
	font-size: 15px;
	line-height: 2.3;
	text-align: center;
}

.common_service-place figcaption p::after {
	display: block;
	width: 80px;
	height: 1px;
	margin: 15px auto 0;
	background-color: #707070;
	content: "";
}

.common_service-place figcaption .service_advantage {
	display: block;
	font-size: 22px;
	line-height: 1.9;
}


.phone_frame {
	overflow: hidden;
	padding-top: 38px;
	background-color: #ffffff;
}

.phone_frame figure {
	display: block;
	position: relative;
	max-width: 400px;
	width: 90%;
	margin: 0 auto;

/*padding: 50px 18px 0;*/
	padding: 123px 18px 0;
	background-image: url(../images/phone_frame-bg.png);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 201px 50px;
}

.phone_frame figure::before , .phone_frame figure::after {
	display: block;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	height: 100vh;
	content: "";
}

.phone_frame figure::before {
	top: -8px;
	width: calc(100% + 16px);
	border-top: 8px solid #727071;
	border-right: 10px solid #727071;
	border-left: 10px solid #727071;
	border-top-left-radius: 52px;
	border-top-right-radius: 52px;
}

.phone_frame figure::after {
	top: 0;
	width: 100%;
	border-top: 20px solid #000000;
	border-right: 18px solid #000000;
	border-left: 18px solid #000000;
	border-top-left-radius: 43px;
	border-top-right-radius: 43px;
}

.phone_frame figure img {
	max-width: 320px;
	width: 90%;
	margin: 0 auto 60px;
}

.youth_frame {
	padding-top: 40px;
	background-image: url(../images/youth_bg.png);
	background-repeat: no-repeat;
	background-position: left center;
	filter: drop-shadow(0px 3px 6px rgb(0, 0, 0, 0.16));
}

.youth_frame figure img {
	width: 116px;
	margin: 0 auto 20px;
}

.youth_frame figure h3 {
	margin-bottom: 13px;
	font-size: 34px;
}

.youth_frame figcaption img {
	max-width: 405px;
	width: 100%;
	margin: auto;
	margin-bottom: 0;
}

.youth_frame .common_service-place figcaption p {
	margin-bottom: 25px;
}

.camp_frame {
	padding-top: 55px;
	background-image: url(../images/camp_bg.jpg);
	background-repeat: no-repeat;
	background-position: center;
}

.camp_frame figure {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.camp_frame figure img {
	max-width: 433px;
	margin-bottom: 23px;
}

.camp_frame figure figcaption {
	display: flex;
	width: 100%;
	justify-content: center;
}

.cafe_frame {
	padding-top: 45px;
	background-color: #ffffff;
	background-image: url(../images/cafe_bg.png);
	background-repeat: no-repeat;
	background-position: center;
}

.cafe_frame img {
	max-width: 468px;
	margin: auto;
	margin-bottom: 30px;
}

.service_link a {
	/* max-width: 175px;
	width: 90%;
	height: 40px;
	border: 1px solid #707070;
	border-radius: 37px;
	color: #000000;
	font-weight: bold;
	font-size: 15px;
	letter-spacing: 0.05em; */
}

.service_link .camp_frame a {
	border-color: #ffffff;
	color: #ffffff;
}

.about_chapter {
	margin-bottom: 115px;
}

.about_link , .about_link a {
	color: #ffffff;
}

.about_link {
	max-width: 1115px;
	width: 90%;
	margin: 0 auto;
}

.about_link ul {
	display: flex;
	justify-content: space-between;
}

.about_link ul li {
	display: block;
	max-width: 337px;
	width: 30.2243%;
}

.about_link ul li:nth-child(2) {
	padding-top: 25px;
}

.about_link ul li figure {
	position: relative;
}

.about_link img {
	width: 100%;
	border-radius: 20px;
}

.about_link ul li figure figcaption {
	display: flex;
	position: absolute;
	top: 43.3952%;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	text-align: center;
	flex-direction: column;
	align-items: center;
}

.about_link ul li figure figcaption h3 {
	font-weight: bold;
	font-size: 30px;
	text-align: center;
	text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.96);
}

/* .about_link a {
	max-width: 205px;
	width: 90%;
	height: 45px;
	border: 1px solid #ffffff;
	border-radius: 22px;
	font-weight: bold;
	font-size: 17px;
	letter-spacing: 0.2999vw;
	letter-spacing: 0.05em;
	overflow: hidden;
} */
@media screen and (min-width: 1001px) {
	.about_link br {
		display: none;
	}

	.about_link ul li figure figcaption h3 {
		margin-bottom: 35px;
	}
}

@media screen and (max-width: 1000px) {
	.about_link ul li figure figcaption {
		top: 38.9999%;
	}

	.about_link ul li figure figcaption h3 {
		margin-bottom: 25px;
	}
}


.supporter_chapter {
	display: block;
	max-width: 1820px;
	margin: 0 auto;
}
.supporter_container {
	display: flex;
	max-width: 1720px;
	width: 100%;
	margin-left: auto;
	flex-wrap: wrap;
	justify-content: space-between;
}

.supporter_link {
	display: block;
	max-width: 457px;
}


.supporter_link img {
	width: 100%;
	margin-bottom: 25px;
}

.supporter_link figcaption {
	display: flex;
	width: 100%;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.8;
	text-align: center;
	flex-direction: column;
	align-items: center;
}

.supporter_link a {
	/* width: 240px; */
	max-width: 205px;
	width: 90%;
	height: 50px;
	margin-top: 20px;
	border: 1px solid #707070;
	border-radius: 37px;
	color: #000000;
	font-weight: bold;
	font-size: 22px;
	letter-spacing: 0.05em;
}


.slider-wrapper {
	position: relative;
	max-width: 1190px;
}

.supporter_count {
	display: flex;
	color: #b11721;
	font-weight: 600;
	font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
	text-align: center;
	justify-content: center;
	align-items: center;
}

.slick-list {
	max-width: 1000px;
	margin: 0 auto !important;
}

.slick-slide {
	padding: 10px 0;
}

.slick-slide > div {
	display: flex;
	margin: 0 10px;
	/*justify-content: center;*/
}
.slick-slide > div:not(:first-child) {
	margin-top: 20px;
}

.slick-img {
	display: inline-flex !important;
	overflow: hidden;
	max-width: 180px;
	height: 100%;

/*width: 18.3674% !important;*/
	/*border: 1px solid #c4c4c4;*/
	border: 0.5px solid #000000;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	justify-content: center;
	align-items: center;

	aspect-ratio: 3/2;
}

.slick-img:not(:first-child) {
	margin-left: 2.0408%;
}

@media screen and (min-width: 1111px) {
	.supporter_chapter {
		width: 95%;
	}
	.supporter_link {
		min-width: 320px;
		width: 26.5698%;
	}
	.slider-wrapper {
		position: relative;
		max-width: 1190px;
		width: 69.2442%;
	}
	.slick-img {
		width: 18.3674% !important;
	}
}
@media screen and (max-width: 1110px) {
	.supporter_chapter {
		width: 90%;
	}
	.supporter_container {
		flex-direction: column;
		align-items: center;

		row-gap: 30px;
	}
	@media screen and (max-width: 600px) {
		.supporter_container {
			row-gap: calc(30px + 35px);
		}
	}
	.supporter_link {
		width: 90%;
	}
	.slider-wrapper {
		width: 100%;
		margin: 0 auto;
	}
	.slick-img {
		width: 100% !important;
	}
}
@media screen and (min-width: 601px) {
	.slick-list {
		width: calc(100% - 190px);
	}
	.slick-slide > div {
		justify-content: center;
	}
}
@media screen and (max-width: 600px) {
	.slick-list {
		width: 100%;
	}
	.slick-slide > div {
		justify-content: space-between;
	}
}








.slick-img a {
	width: 100%;
	height: 100%;
	transition: all 0.5s;
}

.slick-img a:hover {
	opacity: 0.6;
}

.slick-img img {
	position: relative;

/*top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);**/
	width: 100%;

/*object-fit: cover;*/
	/*border: 0.5px solid #000000;*/

	aspect-ratio: 3/2;
}

.slider-wrapper .prev , .slider-wrapper .next {
	display: flex;
	position: absolute;
	z-index: 1;
	margin: auto;
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
	background-color: #d6d6d6;
	color: #ffffff;
	font-weight: bold;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: all 0.5s;
}
.slider-wrapper .prev::before , .slider-wrapper .next::before {
	display: block;
	position: absolute;
}
@media screen and (min-width: 601px) {
	.slider-wrapper .prev , .slider-wrapper .next {
		top: 0;
		bottom: 0;
		width: 70px;
		height: 65px;
		border-radius: 7px;
		font-size: 28px;
	}
	.slider-wrapper .prev {
		left: 0;
	}

	.slider-wrapper .next {
		right: 0;
	}
	.slider-wrapper .prev::before {
		content: "←";
	}.slider-wrapper .next::before {
		content: "→";
	}
}

@media screen and (max-width: 600px) {
	.supporter_count {
		height: 37px;
	}
	.slider-wrapper .prev , .slider-wrapper .next {
		bottom: 100%;
		width: 40px;
		height: 37px;
		border-radius: 5px;
		background-color: #555555;
		font-size: 18px;
	}
	.slider-wrapper .prev::before , .slider-wrapper .next::before {
		width: 17px;
		background-color: #ffffff;
		content: "";

		clip-path: polygon(0 0, 0% 100%, 100% 50%);
		aspect-ratio: 17/20;
	}
	.slider-wrapper .prev {
		left: 10px;
	}
	.slider-wrapper .prev::before {
		transform: rotateY(180deg);
	}

	.slider-wrapper .next {
		right: 10px;
	}
}

.slider-wrapper .prev:hover , .slider-wrapper .next:hover {
	background-color: #000000;
}



@media screen and (max-width: 1040px) {
	.link_button_container {
		position: relative;
		width: 90%;
		margin: auto;
		margin-bottom: 40px;
	}

	.key_outline {
		padding-left: 65px;
	}

	.key_outline h2 {
		width: 65%;
		margin-bottom: 30px;
	}

	.move_img {
		position: relative;
		top: auto;
		left: auto;
		width: 85%;
		padding-left: 65px;
	}

	.upside {
		width: 65%;
	}

	.news_slide .swiper-button-prev {
		/*右*/
		font-size: 20px;
	}

	.swiper.news_slide {
		padding-left: 65px;
	}

	.swiper.news_slide .swiper-slide.swiper-slide-active {
		width: 65% !important;
	}

	.swiper.news_slide .swiper-button-next {
		left: 13px;

/*左*/
		width: 40px;
		height: 42px;
		font-size: 13px;
	}

	.swiper.text_slide {
		margin-left: 65px;
		font-size: 15px;
	}

	.home_subtitle span {
		margin-bottom: 10px;
		font-size: 35px;
	}

	.home_subtitle {
		font-size: 20px;
	}

	.home_subtitle::after {
		width: 70px;
		margin: 15px auto 0;
	}

	.service_link ul {
		padding-bottom: 25px;
		flex-direction: column;
	}

	.service_link ul li {
		width: 100%;
		height: 400px;
		margin: auto;
		margin-bottom: 20px;
	}

	.service_link ul::after {
		max-height: 700px;
	}

	.phone_frame figure {
		padding-top: 100px;
	}

	.phone_frame figure img {
		max-width: 200px;
		margin: 0 auto 30px;
	}

	.common_service-place figcaption {
		width: 95%;
		margin: 0 auto;
	}

	.common_service-place figcaption p {
		font-size: 11px;
		line-height: 2;
	}

	.common_service-place figcaption .service_advantage {
		font-size: 16px;
		line-height: 1.9;
	}

	.youth_frame figure img {
		width: 75px;
	}

	.youth_frame figcaption img {
		max-width: 245px;
		width: 100%;
	}

	.youth_frame figure h3 {
		margin-bottom: 15px;
		font-size: 23px;
	}

	.camp_frame {
		padding-top: 45px;
	}

	.camp_frame figure img {
		max-width: 300px;
		width: 90%;
	}

	.cafe_frame {
		padding-top: 45px;
	}

	.cafe_frame img {
		max-width: 300px;
		margin: auto;
		margin-bottom: 40px;
	}

	.about_link ul {
		flex-direction: column;
		align-items: center;
	}

	.about_link ul li {
		width: 100%;
		padding-bottom: 30px;
	}

	.about_link ul li:nth-child(2) {
		padding-top: 0;
	}

	.supporter_chapter {
		flex-direction: column;
	}

	.supporter_link {
		width: 90%;
		margin: auto;
	}

	.supporter_link figcaption {
		font-size: 16px;
	}

	.supporter_link a {
		width: 210px;
		height: 45px;
		font-size: 18px;
	}

	.about_chapter .home_subtitle {
		margin-bottom: 45px;
	}


	/*.slick-slider {
		padding: 0;
	}*/

	/*.slick-img {
		max-width: 180px;
		width: initial !important;
	}*/
}

@media screen and (min-width: 769px) {
	.key_chapter_top_contents .sns_link {
		display: none;
	}
}

@media screen and (min-width: 769px) {
	.display_mb_button {
		display: none;
	}
}

@media screen and (max-width: 768px) {
	.main_container {
		padding-top: 0px;
	}

	.key_chapter_top_contents .sns_link {
		padding: 0 30px;
	}

	.key_chapter_top_contents .sns_link ul {
		max-width: 330px;
		width: 100%;
		margin: auto;
	}

	.youth_frame figcaption img {
		max-width: 200px;
	}

	.cafe_frame img {
		width: 90%;
	}

	.home .slide_container {
		position: relative;
		top: -20px;
	}

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

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

	.key_outline , .move_img {
		padding: 0 30px;
	}

	.home .news_slide .swiper-button-prev {
		font-size: 12px;
	}

	.home .upside {
		height: 30px;
		margin-bottom: 15px;
	}

	.key_outline h2 {
		width: 80%;
		margin: auto;
		margin-bottom: 15px;
	}

	.link_button_img {
		margin: auto;
	}

	.home .swiper.news_slide .swiper-slide.swiper-slide-active , .home .upside {
		width: 45% !important;
	}

	.home .swiper.text_slide {
		margin-top: 10px;
		margin-left: 30px !important;
		font-size: 13px;
	}

	.link_button_container.display_pc {
		display: none;
	}

	.link_button_container.display_mb {
		margin-top: 10px;
	}
}
