.matsuri-contents .p-contact-fixed {
    width: 100vw!important;
}
main.matsuri-contents{
	font-family: "Zen Kaku Gothic Antique", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

main.matsuri-contents p{
	line-height: 195%;
	font-size:15px;
}

.matsuri-contents a{
	transition:0.4s;
}
.matsuri-contents a:hover{
	opacity:0.7;
}

.matsuri-contents .cta{
    display: flex;
    justify-content: space-between;
	max-width:800px;
	margin: 0 auto;
}
.matsuri-contents .cta-button{
	background: linear-gradient(90deg, #82C2E1, #81C76C);
    color: #fff;
    font-weight: bold;
    padding: 26px;
    font-size: 22px;
    display: inline-block;
    width: 450px;
    text-align: center;
    border-radius: 7px;
}

.matsuri-contents .m-inner{
	width: 100%;
	padding:0;
}


.matsuri-contents .p-u-partner-inner .section_inner {
    padding: 100px 0;
	width: 100%;
	max-width:1200px;
}

.matsuri-contents .c-bread{
	max-width:1200px;
	margin:0 auto;
}

.matsuri-contents .flex-box{
	display:flex;
}

.matsuri-contents .sec-title{
	display:block;
	position:relative;
	padding-bottom:25px;
	margin-bottom:35px;
	font-size: 30px;
    font-weight: bold;
    color: #000;
    height: fit-content;
	letter-spacing: 0.05em;
}

.matsuri-contents .sec-title:after{
	content:"";
	width:80px;
	height:1px;
	background:#000;
	position:absolute;
	left:0;
	bottom:0;
}

.matsuri-contents .ib{
	display:inline-block;
}


.matsuri-contents span.marker {
    background: linear-gradient(transparent 50%, #a99c04d4 50%);
}



/***　　　ここからコンテンツ　　　　****/

.matsuri-contents .section00 .section_inner{
	padding:115px 0 70px;
}


.matsuri-contents .section01{
	background:url(/tbm_wp/wp-content/themes/tbm/assets/img/matsuri/sec1-back.webp);
	background-size:cover;
	background-position: center top;
}
.matsuri-contents .section01 .flex-box {
    align-items: center;
    padding: 70px 0 165px;
}

.matsuri-contents .sec1-l{
	width:48%;
	margin-right:2%;
}

.matsuri-contents .sec1-r{
	width:50%;
}

.matsuri-contents .section02{
	background:url(/tbm_wp/wp-content/themes/tbm/assets/img/matsuri/sec2-back.webp);
	background-size:cover;
	    background-position: center;
	color:#fff;
}

.matsuri-contents .section02 .section_inner{
	padding: 10vw 0;
}

.matsuri-contents .section02 .sec-title:after{
	background:#fff;
}

.matsuri-contents .sec2-box{
	padding: 11vw 0 0;
    max-width: 846px;
    color: #fff;
}

.matsuri-contents .sec2-box a{
	padding: 10px 30px;
    color: #000;
    background: #fff;
    display: inline-block;
    margin-top: 30px;
}


.matsuri-contents .section02-2{
	background:url(/tbm_wp/wp-content/themes/tbm/assets/img/matsuri/sec2-2-back.webp);
	background-size: cover;
}

.matsuri-contents .section02-2 .sec-title{
	text-align:center;
}

.matsuri-contents .section02-2 .sec-title:after {
    content: "";
    width: 80px;
    height: 1px;
    background: #000;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
}

.matsuri-contents .sec2-2-movie{
	max-width:800px;
	margin: 0 auto 50px;
}

.matsuri-contents .section02-2 ul{
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto 100px;
}
.matsuri-contents .section02-2 ul li{
	width:31.8%;
	margin-bottom:2%;
}

	.matsuri-contents .section02-2 ul li img{
		width:100%;
}
	
.matsuri-contents .section03{
	background:url(/tbm_wp/wp-content/themes/tbm/assets/img/matsuri/sec3-back.webp);
	background-size: cover;
}

.matsuri-contents .section03 .flex-box{
	    justify-content: space-between;
}

.matsuri-contents .section03 .sec-title{
	margin-top:77px;
	margin-bottom:25px;
}

.matsuri-contents .section03 .sec-title:after{
	background:#fff;
}

	main.matsuri-contents .sec3-l p{
		color:#fff;
		font-size:13px;
	}

.matsuri-contents .sec3-image{
	width:74%;
}
	
.matsuri-contents .sec3-image ul{
	display:flex;
}
.matsuri-contents .sec3-image ul li{
	margin:1.5%;
}

.matsuri-contents .sec3-ul-top{
	margin-left:231.5px;
}
.matsuri-contents .sec3-ul-bottom{
	margin-right:231.5px;
}
	
	
.matsuri-contents .section04 .section_inner{
	padding-bottom:0;
}

.matsuri-contents .section04 .flex-box{
	align-items:center;
	justify-content:space-between;
}
	
.matsuri-contents .sec4-l{
	width:70%;
}

.matsuri-contents .sec4-l p{
	margin-bottom:15px;
}
.matsuri-contents .sec4-r{
	width:27%;
}	

.matsuri-contents .section05.collabo1{
	background:url(/tbm_wp/wp-content/themes/tbm/assets/img/matsuri/collabo-back.webp);
	background-size: cover;
	background-position:center;
	color:#fff;	
}

.matsuri-contents .collabo1 .sec-title:after{
	background:#fff;
}

.matsuri-contents .section05.collabo1 .flex-box {
    flex-direction: row-reverse;
}
.matsuri-contents .collabo1 .sec5-l a.button {
    background: #fff;
    padding: 15px 40px;
    display: inline-block;
    margin-top: 30px;
    color: #000;
    font-weight: bold;
    font-size: 17px;
    text-align: center;
}


.matsuri-contents .section05{
	background:url(/tbm_wp/wp-content/themes/tbm/assets/img/matsuri/sec5-back.webp);
	background-size: cover;
	background-position:top;
}

.matsuri-contents .section05 .sec-title{
	text-align:center;
}

.matsuri-contents .section05 .sec-title:after{
	margin:0 auto;
	right:0;
}
.matsuri-contents .section05 .flex-box{
	justify-content:space-between;
	margin-top:50px;
}


.matsuri-contents .sec5-l{
	width:57%;
}

.matsuri-contents .sec5-l a.button{
	    background: #81C76C;
    padding: 15px 40px;
    display: inline-block;
    margin-top: 30px;
    color: #fff;
    font-weight: bold;
    font-size: 17px;
	text-align:center;
}

.matsuri-contents .sec5-r{
	width:35%;
}


.matsuri-contents .section06 ul{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.matsuri-contents .section06 ul li{
	width:31.5%;
	margin-bottom:2%;
}















/**********************************モーダル*******************************/
/* ページスクロール禁止 */
body.no_scroll{
  overflow: scroll!important;
}

/* モーダルを開くボタン */
.modal-open{
  font-size: 16px;
  font-weight: bold;
  width: 300px;
  height: 60px;
  color: #fff;
  background: #000;
  border: none;
  cursor: pointer;
  translate: -50% -50%;
}

/* モーダルと背景の指定 */
.modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
	z-index:10000;
}

/* モーダルの擬似要素の指定 */
.modal:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active{
  opacity: 1;
  visibility: visible;
}

/* モーダル内側の指定 */
/*
.modal-container {
position: absolute;
    display: inline-block;
    vertical-align: middle;
    max-width: 1040px;
    width: 89%;
    height: fit-content;
    background: #fff;
    bottom: 0;
    top: -20px;
    left: 0;
    right: 0;
    margin: auto;
}
*/
.modal-container {
    display: inline-block;
    vertical-align: middle;
    max-width: 1040px;
    width: 96%;
    height: fit-content;
    background: #fff;
    top: 26px;
    left: 0;
    right: 0;
    margin: auto;
    margin-bottom: 70px;
    position: relative;
}

/* モーダルを閉じるボタンの指定 */
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

/* モーダルのコンテンツ部分の指定 */
.modal-content{
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
}

.modal-content img{
	width:100%;
}

/* モーダルのコンテンツ部分のテキストの指定 */
.modal-content p{
  margin: 1em 0;
}

/**********************************モーダル　ここまで*******************************/


.matsuri-contents .pc-dis{
	display:block;
}
.matsuri-contents .sp-dis{
	display:none;
}


@media (max-width: 767px) {
	
	.matsuri-contents .pc-dis{
	display:none;
}
.matsuri-contents .sp-dis{
	display:block;
}
	
	
	.matsuri-contents .flex-box{
		display:block;
	}
	
	.matsuri-contents .section_inner{
		padding:70px 15px!important;
	}
	
	
	
	.matsuri-contents .p-fv-wrap__under {
        padding-top: 48.416667%;
    }
	
	   .matsuri-contents .p-fv-content__under {
			        top: 11vw;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
	
	.p-fv-content__under :is(h1:where(:not(.hx)),:is(div,p,span,h1,h2,h3,h4,h5,h6):where(.h1-x)){
		text-align:center;
	}
	.matsuri-contents .p-fv-content__under :is(h1:where(:not(.hx)),:is(div,p,span,h1,h2,h3,h4,h5,h6):where(.h1-x)) img{
		max-width:300px;
	}
	
	.matsuri-contents .p-fv-ttl {
    margin-bottom: 0;
}
	.matsuri-contents .section00 .section_inner{
		padding:50px 15px!important;
		
	}
	.matsuri-contents .cta {
    /*display: block;
    margin: 0 auto;
    text-align: center;
		max-width:300px;*/
}
	.matsuri-contents .cta-button {
margin-bottom: 34px;
        font-size: 15px;
        padding: 15px;
        width: 48%;
}
	.matsuri-contents .cta-tel{
		width: 48%;
	}
	
	
	.matsuri-contents .section01 .flex-box{
		padding-top:0!important;
	}
	
	.matsuri-contents .sec1-l {
    width: 100%;
    margin-right: 0;
		margin-bottom:35px;
}
	
	.matsuri-contents .sec1-r {
    width: 100%;
}
	
	.matsuri-contents .section02{
		background: url(/tbm_wp/wp-content/themes/tbm/assets/img/matsuri/sec2-back-sp.webp);
        background-size: cover;
	}
	
	.matsuri-contents .section02 .section_inner {
        padding: 101px 15px !important;
    }
	
	.matsuri-contents .sec2-box {
    padding: 0;
	}
	
	.matsuri-contents .section02-2 ul li {
    width: 49%;
	}
	
	.matsuri-contents .section02-2 ul {
    margin: 0 auto 40px;
	}
	
	.matsuri-contents .sec2-box a {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
}
	
	.matsuri-contents .section03 .sec-title {
    margin-top: 0;
}
	
	.matsuri-contents .sec3-image {
    width: 100%;
}
	

	
	.matsuri-contents .sec3-ul-top,
	.matsuri-contents .sec3-ul-bottom{
    margin: 0;
}
	
	.matsuri-contents .section04 .flex-box{
		    display: flex;
    flex-direction: column-reverse;
		padding-bottom:0!important;
		padding:0!important;
	}
	
    .matsuri-contents .sec4-l {
        width: 100%;
        padding: 26px;
        background: #dddddd7a;
        margin-top: -180px;
		z-index:2;
    }
	
	    .matsuri-contents .sec4-r {
        width: 85%;
        margin-top: 0;
        margin-left: 15%;
			        z-index: 0;
    }
	
	.matsuri-contents .section05 {
    background: url(/tbm_wp/wp-content/themes/tbm/assets/img/matsuri/sec5-back.webp);
    background-size: cover;
    background-position: bottom left;
}
	
	.matsuri-contents .sec5-l {
    width: 100%;
    margin-bottom: 40px;
}
	
	.matsuri-contents .sec5-l a.button {
    margin: 30px auto 0;
		display:block;
		width:fit-content;
}
	
	.matsuri-contents .sec5-r {
    width: 100%;
}
	
	.matsuri-contents .section06 ul li {
    width: 49%;
	}
	
	
}
	
	