@charset "UTF-8";
/* CSS Document */


/*----------------------------------------------------------
　いわての秋祭りcss
----------------------------------------------------------*/


/* 枠
-----------------------------*/
.wrap_s{
	width: 100%;
	max-width: 1000px;
	padding: 100px 0;
	display: block;
}
@media screen and (max-width: 736px){/*スマホ用*/
	.wrap_s{
        padding-top: 1em;
    }
}


/* ページ内リンクナビ
-----------------------------*/
ul.p_nav{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	align-content: stretch;
	margin: 0;
	padding: 0;
    text-align: center;
}
ul.p_nav li{
	margin: 0 1%;
	padding: 0;
	width: 14%;
    list-style: none;
}
ul.p_nav li a{
    text-decoration: none;
    font-weight: bold;
    color: #000;
    line-height: 1;
}
ul.p_nav li a img{
	margin: 0;
	padding: 0 0 0.5em;
    display: block;
	width: 100%;
}
@media screen and (max-width: 736px){/*スマホ用*/
    ul.p_nav{
        padding: 0 2em;
		box-sizing: border-box;
    }
    ul.p_nav li{
        margin: 0 1%;
        width: 30%;
    }
}


/* コンテンツ
-----------------------------*/
.article_box{
	width: 100%;
	background-color: #F5F5F5;
	position: relative;
    margin: 0 0 4em;
}
.article_box::before{
	content: "";
	display: block;
	width: 35px;
	height: 35px;
	position: absolute;
	top: -5px;
	left: -5px;
	background-image: url(../common/img/corner_w_l.svg);
	background-repeat: no-repeat;
	z-index: 1;
}
.article_box::after{
	content: "";
	display: block;
	width: 35px;
	height: 35px;
	position: absolute;
	bottom: -5px;
	right: -5px;
	background-image: url(../common/img/corner_w_r.svg);
	background-repeat: no-repeat;
}
.article_inner{
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.article_img{
	width: 46%;
	margin-bottom: 0;
}
.article_img::before{
	display: none;
}
.article_img img{
	object-fit: cover;
	aspect-ratio: 8 / 10;
}
.article_txt{
	width: 50%;
	padding: 1em 3em 0.5em 0;
}
.article_txt h3{
	font-size: 1.7em;
	margin-top: 1em;
	margin-bottom: .5em;
	color: #333;
	text-align: center;
}
.article_txt p{
	margin: 1em 0;
    font-weight: normal;
    line-height: 1.8;
}


/*「」コピー*/
.article_txt p.article_copy {
    font-weight: bold;
	font-size: 1.1em;
	margin-bottom: 1em;
	
	text-align: center;
	position: relative;
    padding: .4em .5em;
	width: auto;
}
.article_txt p.article_copy br {
    display: none;
}

.article_txt p.article_copy::before,
.article_txt p.article_copy::after {
    display: inline-block;
    position: absolute;
    width: 1em;
    height: 1em;
    content: '';
}

.article_txt p.article_copy::before {
    top: 0;
    left: 0;
    border-top: 3px solid #333;
    border-left: 3px solid #333;
}

.article_txt p.article_copy::after {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid #333;
    border-right: 3px solid #333;
}



@media screen and (max-width: 736px){/*スマホ用*/
    .article_inner{
		flex-wrap: wrap;
	}
	.article_img{
		width: 100%;
	}
	.article_img img{
		object-fit: cover;
		aspect-ratio: 16 / 9;
	}
	.article_txt{
		width: 100%;
		padding: 1em;
	}
	.article_txt p.article_copy br {
    display: block;
}
}
.article_box dl{
    background: #fff;
    margin: 2em 3em;
	padding: 0 1em;
	box-sizing: border-box;
}
.article_box dl dt{
    font-weight: bold;
    margin: 0;
    padding: 1em;
}
.article_box dl dd{
    border-bottom: 1px dotted #ccc;
    margin: -2.4em 0 0 0;
    padding: 0 1em 1em 10em;
}
.article_box dl dd:last-child{
    border-bottom: none;
}
.article_box dl dd a{
    text-decoration: underline;
	color: #2370BF;
}
@media screen and (max-width: 736px){/*スマホ用*/
    .article_box dl{
        margin: 0 1em 4em;
    }
    .article_box dl dt{
        padding: 1em 1em 0.2em;
    }
    .article_box dl dd{
        margin: 0;
        padding: 0 1em 1em;
    }
}




/*
.aaa{
	background: hsla(0,0%,0%,0.10);
	background: none;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	align-content: stretch;
}
.aaa div{
	margin: 0;
	padding: 0;
	width: 50%;
}
@media screen and (min-width: 1200px),print{
	.aaa div{
		padding: 0;
	}
}
@media screen and (max-width: 1199px){
	.aaa div{
		padding: 0;
	}
}
*/



/* 続きを読む
-----------------------------*/
.article_txt .read-more {
    position: relative;
}

.article_txt .read-more .read-more-box {
    position: relative;
    max-height: 25vh; /* 開く前に見せたい高さを指定 */
    margin-bottom: 10px;
    overflow: hidden;
    transition: max-height 1s;
}

.article_txt .read-more:has(:checked) .read-more-box {
    max-height: 100vh;
}

.article_txt .read-more .read-more-box::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10vh;
    background: linear-gradient(180deg, hsla(0, 0%, 96%, 0) 0, hsla(0, 0%, 96%, .9) 50%, hsla(0, 0%, 96%, .9) 0, #F5F5F5);
    content: '';
}

.article_txt .read-more:has(:checked) .read-more-box::after {
    content: none;
}

.article_txt .read-more label {
    display: flex;
    align-items: center;
    gap: 0 4px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: .5em 5em;
    border-radius: 1px;
    background-color: #333;
    color: #fff;
    font-size: 1em;
}
@media screen and (max-width: 736px){
.article_txt .read-more .read-more-box {
    max-height: 15vh; /* 開く前に見せたい高さを指定 */
}
	.article_txt .read-more label {
    padding: .5em 2em;
}
}

.article_txt .read-more label:hover {
    border:1px solid #333;
    background-color: #fff;
    color: #333;
    cursor: pointer;
}

.article_txt .read-more:has(:checked) label {
    display: none;
}

.article_txt .read-more label::after {
    display: inline-block;
    width: 10px;
    height: 5px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.article_txt .read-more label:hover::after{
    background-color: #333;
}

.article_txt .read-more input {
    display: none;
}



/* スライダー上書き */
.swiper {
	width: 100%;
}
.swiper-button-next, .swiper-button-prev{
	bottom: -4px;
	top: auto;
}
.swiper-button-prev{
	left: 35%;
}
.swiper-button-next{
	right: 33%;
}
/* 前へ次への矢印カスタマイズ */
.swiper-button-prev,
.swiper-button-next{
	height: 50px;
	width: 50px;
}
/* 前へ次への矢印カスタマイズ */
/* .swiper-button-prev::after,
.swiper-button-next::after{
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	height: 40px;
	margin: auto;
	width: 40px;
} */
/* 前への矢印カスタマイズ */
/* .swiper-button-prev::after{
	background-image: url(common/images/swiper_arrow_l.svg);
} */
/* 次への矢印カスタマイズ */
/* .swiper-button-next::after{
	background-image: url(common/images/swiper_arrow_r.svg);
} */
/* 画像サイズ調整 */
.swiper-slide img {
	height: auto;
	width: 100%;
}

/*キャプション*/
.mainvisual .swiper-slide img {
	position: relative;
}
.swiper-slide .caption {
	color: #fff;
	position: absolute;
	bottom: 1em;
	left: 0;
	margin: 0;
	padding: .7em;
	padding-left: 1em;
	padding-bottom: .4em;
	font-size: .85em;
	letter-spacing: .1em;
	background: hsla(0,0%,0%,0.50);
	line-height: .8em;
	font-weight: bold;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}
.swiper-slide .caption span {
	font-size: 0.5em;
	letter-spacing: 0.1em;
	font-weight: normal;
	font-family: 'Montserrat', "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
}


/* ページネーション */
.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction{
	/* position: static; */
	margin-top: 2em;
	z-index: -1;
} 
/* .pickup_wrap .swiper-wrapper{
	min-height: 120dvh;
	height: 75vmax;
} */
.sp_only{
	display: none !important;
}
@media screen and (max-width: 736px){
	.swiper-button-next{
		right: 30%;
	}
	/* スライダー上書き */
	.swiper-button-next, .swiper-button-prev{
		bottom: -14px;
		top: auto;
	}
	.news_wrap .swiper-wrapper .swiper-slide{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-evenly;
	}
	.pc_only{
		display: none !important;
	}
	.sp_only{
		display: block !important;
	}
}




/* スライダー上書き */
.swiper-button-next, .swiper-button-prev{
	bottom: -4px;
	top: auto;
}
.swiper-button-prev{
	left: 35%;
}
.swiper-button-next{
	right: 33%;
}
/* 前へ次への矢印カスタマイズ */
.swiper-button-prev,
.swiper-button-next{
	height: 50px;
	width: 50px;
}
/* 前へ次への矢印カスタマイズ */
/* .swiper-button-prev::after,
.swiper-button-next::after{
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	height: 40px;
	margin: auto;
	width: 40px;
} */
/* 前への矢印カスタマイズ */
/* .swiper-button-prev::after{
	background-image: url(common/images/swiper_arrow_l.svg);
} */
/* 次への矢印カスタマイズ */
/* .swiper-button-next::after{
	background-image: url(common/images/swiper_arrow_r.svg);
} */
/* 画像サイズ調整 */
.swiper-slide img {
	height: auto;
	width: 100%;
}

/*キャプション*/
.mainvisual .swiper-slide img {
	position: relative;
}
.swiper-slide .caption {
	color: #fff;
	position: absolute;
	bottom: 1em;
	left: 0;
	margin: 0;
	padding: .7em;
	padding-left: 1em;
	padding-bottom: .4em;
	font-size: .85em;
	letter-spacing: .1em;
	background: hsla(0,0%,0%,0.50);
	line-height: .8em;
	font-weight: bold;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}
.swiper-slide .caption span {
	font-size: 0.5em;
	letter-spacing: 0.1em;
	font-weight: normal;
	font-family: 'Montserrat', "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
}


/* ページネーション */
.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction{
	/* position: static; */
	margin-top: 2em;
	z-index: -1;
} 
/* .pickup_wrap .swiper-wrapper{
	min-height: 120dvh;
	height: 75vmax;
} */
.sp_only{
	display: none !important;
}
@media screen and (max-width: 736px){
	.swiper-button-next{
		right: 30%;
	}
	/* スライダー上書き */
	.swiper-button-next, .swiper-button-prev{
		bottom: -14px;
		top: auto;
	}
	.news_wrap .swiper-wrapper .swiper-slide{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-evenly;
	}
	.pc_only{
		display: none !important;
	}
	.sp_only{
		display: block !important;
	}
}



/*----------------------------------------------------------
　秋祭り
----------------------------------------------------------*/
#festival.wrap_all{
	position: relative;
	padding: 0 2em;
	margin-bottom: 2em;
}
.festival_wrap{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}
#festival h2{
	text-align: left;
}
.festival_box,
.fes_box{
	position: relative;
}
.festival_box h3,
.fes_box h3{
	text-align: center;
	font-size: 1.5em;
	margin: 0.5em 0;
	letter-spacing: 0.1em;
	color: #333;
	font-family: 'Montserrat', "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
}
.festival_box a,
.fes_box a{
	text-decoration: none;
}
.festival_box img{
	width: 100%;
}
.festival_box .btn a{
	min-width: 300px;
}
@media print, screen and (min-width: 737px){
	#festival .swiper-button-prev,
	#festival .swiper-button-next {
		display: none;
	}
	#festival .swiper-wrapper {
		display: flex;
		justify-content: space-between;
		/*padding-bottom: 6em;*/
	}
	#festival .swiper-slide {
		width: 30%;
	}
	#festival .festival_box {
		width: 100%;
		height: 100%;
	}
	.festival_box .btn,
	.fes_box .btn{
		position: absolute;
		bottom: 3%;
		left: 0;
		right: 0;
	}
}
@media screen and (max-width: 736px){
	#festival .swiper-wrapper {
		/*padding-bottom: 2em;*/
	}
}
@media screen and (max-width: 736px){
	.festival_box{
		width: 90%;
		margin: 0 auto;
	}
	.festival_box .btn a{
		min-width:100%;
	}
	#festival .swiper-pagination-fraction {
		bottom: 1px;
		position: absolute;
	}
	.festival_box h3,
	.fes_box h3{
		font-size: .9em;
	}
}



/*----------------------------------------------------------
swiper.js 上書き
----------------------------------------------------------*/
.swiper{
	padding: 0em 0 3em;
}
.mainvisual .swiper{
	padding: 0em 0 0em;
}
.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction{
	bottom: 3px;
}
.swiper-button-prev{
	left: -100%;
}
.swiper-button-next{
	right: -100%;
}
.swiper-button-prev-a{
	background-image: url(../common/img/swiper_arrow_l.svg);
	position: absolute;
	right: auto;
	left: 40%;
	width: 30px;
	height: 30px;
	z-index: 9;
}
.swiper-button-next-a{
	background-image: url(../common/img/swiper_arrow_r.svg);
	position: absolute;
	left: auto;
	right: 40%;
	width: 30px;
	height: 30px;
	z-index: 9;
}
.swiper-button-prev-a,
.swiper-button-next-a{
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	bottom: 0;
}


/*アクセス方法
-----------------------------*/
@media screen and (max-width: 736px){
	.swiper .btn{
		margin: 0 2em;
	}
	.swiper-button-prev-a{
		left: 20%;
	}
	.swiper-button-next-a{
		right: 20%;
	}
}
