@charset "UTF-8";
@import url(cmn.css);
@import url(animation.css);
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@100;300;400;500;700;800;900&display=swap');

/*-----------カラー設定-----------*/

:root {
    --i_txt_color: #424242;
    /*フォント*/
    --i_white_color: #fff;
    /*白*/
    --i_main_color: #ec3e82;
    /*メイン*/
    --i_pink_color: #f89796;
    /*薄いピンク*/
    --i_pink2_color: #facba3;
    /*薄いピンク2*/
    --i_pink3_color: #ffd6e3;
    /*薄いピンク3*/
    --i_yellow_color: #fff600;
    /*黄色*/
    --i_bg_color: #ffedf4;
    /*背景*/
}

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

html {
    font-size: 62.5%;
}

body {
    position: relative;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Noto Sans JP", sans-serif;
    color: var(--i_txt_color);
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.1rem;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}
main{
	overflow: hidden;
}
img {
    max-width: 100%;
}

section {
    position: relative;
}

section:not(#festa) {
    padding: 80px 0 80px;
}

.wrapper {
    max-width: 1350px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

@media screen and (max-width: 800px) {
    body {
        font-size: 1.6rem;
        letter-spacing: 0.05rem;
        line-height: 1.4;
    }

    section:not(#festa) {
        /* padding: 30px 0; */
    }
}

@media screen and (min-width: 481px) {
    br.sp {
        display: none;
    }
}

/*-----------ローディング-----------*/

#load {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    /*background: var(--i_white_color);*/
    background-image: linear-gradient(90deg, rgba(236, 62, 130, 1), rgba(250, 200, 162, 1));
    display: grid;
    place-content: center;
    z-index: 55;
}

.loader {
  /* カスタマイズ用変数 */
  --loader-color: var(--i_white_color);
  --dot-size: 12px;
  --loader-size: 50px;

  width: var(--loader-size);
  height: var(--loader-size); /* aspect-ratioの代替 */
  aspect-ratio: 1;

  /* ドットの共通背景 */
  --dot: no-repeat radial-gradient(farthest-side, var(--loader-color) 92%, #0000);

  background: 
    var(--dot) top center,
    var(--dot) left center,
    var(--dot) right center,
    var(--dot) bottom center;
  background-size: var(--dot-size) var(--dot-size);

  animation: rotateLoader 1s linear infinite;
  transform-origin: center center;
}

@keyframes rotateLoader {
  to {
    transform: rotate(180deg); /* 0.5turn と同じ */
  }
}

/*-----------mv-----------*/

#top {
    background: var(--i_white_color);
    overflow: hidden;
}

#mv {
    position: relative;
    z-index: 1;
    padding: 50px 3.5% 100px;
    margin-bottom: 80px;
}

#mv .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/mv_bg.jpg") no-repeat center / cover;
    z-index: -1;
}



#mv .mv_inner{
	display: flex;
	width: 100%;
	margin: auto;
	justify-content: space-between;
	align-items: flex-end;
	max-width: 1750px;
}

#mv .mv_title{
	display: flex;
	flex-direction: column;
	align-items: center;
}
#mv .mv_title_img{
	position: relative;
}
#mv .mv_title_img:before{
    position: absolute;
    display: block;
    content: '';
    width: 12vw;
    height: 200px;
    max-width: 200px;
    pointer-events: none;
    background: url("../img/mv_subtitle.png") no-repeat bottom center / contain;
    z-index: -1;
    top: -160px;
    right: 0;
}
#mv h2{
	margin: 30px auto 30px;
	position: relative;
	text-align: center;
	padding: 10px 10px;
	font-size: 3.5rem;
	letter-spacing: 0.3rem;
	line-height: 1.5;
	background: #fff;
	color: var(--i_main_color);
	box-sizing: border-box;
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 800;
}

#mv h2:before,
#mv h2:after{
    position: absolute;
    display: block;
    content: '';
    width: 60px;
    height: 100%;
    top: 0;
    left: -30px;
    background: var(--i_white_color);
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30% 50%);
    z-index: -1;
}
#mv h2:after{
	left: auto;
	right: -30px;
	clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%);
}
#mv p{
	position:relative;
	color: #fff;
	font-size: 2rem;
	line-height: 3;
	text-align: center;
	max-width: 750px;
}
#mv p:before{
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 200px;
    pointer-events: none;
    background: url("../img/mv_english.png") no-repeat bottom center / contain;
    z-index: -1;
    bottom: 0;
    right: -510px;
}
#slide::before {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url("../img/mv_circle.png") no-repeat bottom center / contain;
    z-index: -1;
    top: 0px;
    left: 8px;
    animation: rotateAnimation 60s linear infinite;
}

/* 回転アニメーションの定義 */
@keyframes rotateAnimation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#mv::after {
    position: absolute;
    display: block;
    content: '';
    width: 34vw;
    height: 25vw;
    top: auto;
    bottom: -40px;
    right: 2%;
    z-index: 20;
    background: url("../img/mv_photo.png") no-repeat bottom center / contain;
}

#mv h1 {
    display: inline-block;
    padding: 0 0 2% 4%;
}

#mv h1 img {
    max-width: 386px;
    width: 100%;
}

#mv .mv_title{
	width: 50%;
}

#slide{
	width: 50%;
	position: relative;
	padding: 40px;
	box-sizing: inherit;
}
#mv .slider div {
    padding: 0 10px;
}
@media screen and (max-width: 100vh) {
    #mv {
        height: 100%;
    }
}

@media screen and (max-width: 1400px) and (min-width: 901px) {
	#mv {
    padding: 50px 4% 50px;
}
	#mv .mv_title_img:before {
	    right: -30px;
	    height: 120px;
	    top: -120px;
	}
	#mv h1 {
	    padding: 0;
	}
	#mv .mv_title{
	width: 50%;
	}
	#mv .mv_inner{
		margin-top: 60px;
		align-items: center;
	}
	#mv h2{
		font-size: 2.2rem;
		letter-spacing: 0.1rem;
		margin: 30px auto 15px;
	}
	#mv p {
	    font-size: 1.6rem;
	}
	#slide {
    padding: 20px;
}
}
@media screen and (min-width: 1601px){
	#mv .mv_inner{
		margin-top: -5%;
	}
}

@media screen and (max-width: 900px) {
    #mv {
        padding: 20px 4% 40px;
    }
	#mv::after {
	    width: 60vw;
	    height: 55vw;
	    bottom: -35px;
	    min-width: 245px;
	}
	#mv .mv_inner{
		flex-direction: column;
		align-items: center;
		margin-top: -5%;
	}
	#mv .mv_title_img:before{
	    width: 30vw;
	    top: -200px;
	    right: 8%;
	    max-width: 160px;
	}
    #mv h1 {
        padding-top: 10px;
        padding-bottom: 90px;
    }

    #mv h1 img {
        max-width: 180px;
    }
	#mv .mv_title{
		width: 100%;
	}
	#slide{
		width: 90%;
	}
	#mv h2{
		font-size: 2rem;
		width: 80%;
		letter-spacing: 0.2rem;
		margin: 20px auto 20px;
		padding: 5px;
		line-height: 1.4;
	}
	#mv p{
		font-size: 1.6rem;
		line-height: 2;
	}
	#mv p:before{
	    right: 0px;
	    bottom: -70px;
	}
	#mv .mv_title{
		padding-bottom: 30px;
	}
	#mv .slider div {
	    padding: 0;
	}
	#mv .slider div img{
		padding: 20px;
	}
	#slide::before {
	    left: 0px;
	}
	#slide{
		width: 100%;
		padding: 20px;
	}
}
@media screen and (max-width: 800px){
	#mv .mv_title_img:before{
	    right: 3%;
	}
}
@media screen and (max-width: 600px){
	#mv h2 span{
		display: block;
	}
	#mv .slider div img{
		padding: 0px;
	}
}


/*-----------nav-----------*/

#bm {
    position: fixed;
    display: grid;
    place-content: center;
    top: 50px;
    right: 3%;
    width: 74px;
    height: 74px;
    background: var(--i_white_color);
    border-radius: 50px;
    cursor: pointer;
    z-index: 23;
    transition: .4s ease-in-out;
}



body.open #bm {
	background: var(--i_main_color);
}
body.open #bm i::before,
body.open #bm i::after {
    background: var(--i_white_color);
}
.scrolled #bm {
    top: 20px;
}

#bm i {
    position: relative;
    display: block;
    width: 30px;
    height: 2px;
    background: var(--i_main_color);
}

#bm i::before,
#bm i::after {
    position: absolute;
    display: block;
    content: "";
    width: 30px;
    height: 2px;
    left: 0;
    background: var(--i_main_color);
    transition: .3s ease-in-out;
    pointer-events: none;
}

#bm i::before {
    top: 10px;
}

#bm i::after {
    bottom: 10px;

}

.open #bm i {
    background: none;
}

.open #bm i::before {
    top: 0;
    transform: rotate(225deg);
}

.open #bm i::after {
    bottom: 0;
    transform: rotate(-225deg);
}

nav {
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    height: 100vh;
    width: 100%;
    max-width: 560px;
    padding: 100px 70px 60px;
    overflow-y: scroll;
    z-index: 22;
    transition: .3s ease-in-out;
    transform: translateX(560px);
}

.open nav {
    transform: translateX(0);
}

nav li:not(:last-of-type) {
    padding-bottom: 30px;
}

nav a {
    position: relative;
    font-size: 1.9rem;
    padding-left: 25px;
    display: inline-block;
    color: var(--i_main_color)!important;
    font-family: 'Noto Sans JP';
}

nav a::before {
	display: block;
	content:'';
	width: 5px;
	height: 5px;
	position: absolute;
	top: calc(1em * 1.7 / 2);
	transform: translateY(-50%);
	left: 0;
	border: 3px solid var(--i_main_color);
	border-radius: 100px;
}
nav .sns{
	display: flex;
	justify-content: flex-start;
	margin-top: 60px;
}
nav .sns a{
	padding: 0 10px;
}
nav .sns a:before{
	display: none;
}
@media screen and (max-width: 800px) {
    #bm {
        width: 45px;
        height: 45px;
        top: 20px;
        right: 15px;
    }

    #bm i {
        width: 20px;
    }

    #bm i::before,
    #bm i::after {
        width: 20px;
    }

    #bm i::before {
        top: 5px;
    }

    #bm i::after {
        bottom: 5px;
    }

    nav {
        padding: 80px 20px 60px;
    }

    nav a {
        font-size: 1.45rem;
        line-height: 1.5;
    }
	nav .sns img{
		max-width: 40px;
	}
}

/*-----------festa-----------*/

#festa {
    text-align: center;
}

#festa h1 {
	display: flex;
	padding-bottom: 45px;
	justify-content: space-evenly;
	align-items: center;
	max-width: 1160px;
	width: 100%;
	margin: auto;
}
#festa img:nth-of-type(1),
#festa img:nth-of-type(3){
	width: 20%;
}
#festa img:nth-of-type(2){
	width: 50%;
}
#festa p {
    line-height: 1.6;
    font-size: 4rem;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
    border-top: 4px dotted rgba(248 ,151 ,150,0.6);
    border-bottom: 4px dotted rgba(248 ,151 ,150,0.6);
    display: inline-block;
    padding: 15px 0;
}
#festa p span{
	color: var(--i_main_color);
}
@media screen and (max-width: 800px) {
    #festa {
        margin-top: 0;
    }
	#festa img:nth-of-type(1), #festa img:nth-of-type(3) {
	    width: 35%;
	}
	#festa img:nth-of-type(2){
		width: 90%;
		order: 3;
		margin-top: 15px;
	}
	#festa h1 {
	    padding-bottom: 20px;
	    flex-wrap: wrap;
	}
    #festa p {
        line-height: 1.6;
        font-size: 2.2rem;
        text-align: center;
        padding: 10px 0;
    }
}

/*-----------list-----------*/

section#list {
    text-align: center;
}

#list img {
    width: 100%;
}

#list img {
  transition: .15s ease;
}

#list a dt {
  position: relative;
  z-index: 0; 
}


#list a dt::before {
  content: "";
  position: absolute;
  inset: 0; 
  border-radius: 100vmax; 
  background: var(--i_main_color); 
  filter: blur(20px);
  opacity: 0; 
  transform: scale(0.92);
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
  pointer-events: none;
  z-index: -1; 
  will-change: opacity, transform, filter;
  backface-visibility: hidden;

}

/* ホバー/フォーカス時：徐々に発光させる */
#list a:hover dt::before,
#list a:focus-visible dt::before {
  opacity: 0.3;
  transform: scale(1);
  filter: blur(22px);
}

#list h3 {
	display: flex;
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 900;
	font-size: 2rem;
	letter-spacing: 0.1rem;
	padding: 8px 5px;
	position: relative;
	background: var(--i_main_color);
	justify-content: center;
	color: #fff;
	width: 72%;
	margin: 0 auto 20px;
}
#list a:nth-child(2n) h3{
	background: var(--i_pink_color);
}
#list a:nth-child(6) h3{
	font-size: 1.6rem;
	letter-spacing: 0;
	padding: 11px 0px;
}
#list h3:before,
#list h3:after{
    position: absolute;
    display: block;
    content: '';
    width: 60px;
    height: 100%;
    top: 0;
    left: -30px;
    background: var(--i_main_color);
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30% 50%);
    z-index: -1;
}
#list h3:after{
	left: auto;
	right: -30px;
	clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%);
}
#list a:nth-child(2n) h3:before,
#list a:nth-child(2n) h3:after{
	background: var(--i_pink_color);
}
#list p {
	font-family: "M PLUS 1p", sans-serif;
	color: var(--i_main_color);
	font-size: 2.2rem;
	font-weight: 800;
}

#list h3 img {
    display: block;
    height: 30px;
    width: auto;
    margin: 0 auto;
}

#list .flex {
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px 90px;
}

#list .flex dl {
    max-width: 350px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.4s ease-in-out;
}

#list dd {
    position: relative;
    margin-top: 20px;
	padding-bottom:25px;
}
#list dd:before{
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 5px;
    top: 21px;
    left: 0;
    background: url(../img/line.png) repeat top center;
    background-size: 10px;
    pointer-events: none;
    z-index: -2;
}
#list dd:after{
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 5px;
    bottom: 0;
    left: 0;
    background: url(../img/line.png) repeat top center;
    background-size: 10px;
    pointer-events: none;
    z-index: -2;
}
#list div.flex a:hover dl {
    opacity: 0.8;
}
@media screen and (min-width: 801px){
	#list .flex a:nth-child(2) p{
		
line-height: 3.2;
	}
}
@media screen and (max-width: 800px) {
	#list .flex {
	    gap: 60px 30px;
	}
	#list .flex dl {
	    max-width: 390px;
	}
	#list dd {
		padding-bottom:20px;
	}
    #list h2 img:first-of-type {
        max-width: 120px;
    }
	#list p {
		font-size: 1.8rem;
	}
    #list h2+p {
        font-size: 2rem;
    }
    #list h3 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
	#list a:nth-child(6) h3 {
	    font-size: 1.4rem;
	}
}

/*-----------team-----------*/
#team{
	padding-top: 40px!important;
	position: relative;
	background: url("../img/bg_88pattern.png") repeat center / 74px;
}
#team::before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--i_bg_color);
    pointer-events: none;
    z-index: -1;
}
#team::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 12%;
    top: 0;
    left: 0;
    background: var(--i_white_color);
    pointer-events: none;
    z-index: -1;
}
#team img {
    width: 100%;
}
#team .wrapper{
	text-align: center;
}
#team h2 {
    text-align: center;
    position: relative;
    padding: 0;
    margin-bottom: 10px;
}

#team .wrapper>p{
	position:relative;
	font-size: 4rem;
	display: inline-block;
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 800;
	margin-bottom: 60px;
	letter-spacing: 0.3rem;
	z-index: 1;
	background: linear-gradient(transparent 70%, var(--i_pink3_color) 0%);
}
#team .wrapper>p span{
	color: var(--i_main_color);
}
#team .wrapper>p:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 17px;
    left: 0;
    bottom: 3px;
    /* background: var(--i_pink3_color); */
    pointer-events: none;
    z-index: -1;
}
#team h2 img {
    max-width: 840px;
}


#team .flex {
    gap: 70px;
}
#team .flex div{
	width: 100%;
}
#team .flex div p {
	text-align: justify;
	line-height: 2.5;
	margin-bottom: 60px;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 500;
	letter-spacing: 0;
}
#team .flex div p:nth-last-child(1){
	margin: 0;
}
#team .flex div p span{
	color: var(--i_main_color);
}
#team figure {
    max-width: 565px;
    width: 100%;
}

@media screen and (max-width: 900px) {
    #team .flex {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media screen and (max-width: 800px) {
    #team{
		padding-top: 30px!important;
	}
	#team::after {
	    height: 8.5%;
	}
	#team h2 {
        margin-bottom: 15px;
    }
	#team .wrapper>p{
		font-size: 2.2rem;
		margin-bottom: 30px;
	}
    #team .flex div p {
        line-height: 1.6;
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 700px){
	#team::after {
	    height: 5.5%;
	}
}

/*-----------event-----------*/

section[id^="event"] .wrapper {
    max-width: 1350px;
}
section[id^="event"] .event_title{
	position: relative;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	margin-bottom: 45px;
}
section[id^="event"] .event_title>div{
	margin-bottom: 10px;
}
section[id^="event"] .event_title>div:nth-of-type(1){
	text-align: center;
}
section[id^="event"] .event_title>div:nth-of-type(1) img{
	width: 50%;
}
section[id^="event"] .event_title>div:nth-of-type(3) img{
	max-width: 160px;
}
section[id^="event"] .event_title span{
	display: inline-flex;
	font-family: "M PLUS 1p", sans-serif;
	font-weight: bold;
	font-size: 2.1rem;
	letter-spacing: 0.1rem;
	padding: 7px 10px;
	position: relative;
	background-image: linear-gradient(90deg, rgba(236, 62, 130, 1), rgba(250, 200, 162, 1));
	justify-content: center;
	color: #fff;
	margin: 0 auto 15px;
	min-width: 230px;
}

section[id^="event"] .event_title span:before,
section[id^="event"] .event_title span:after{
    position: absolute;
    display: block;
    content: '';
    width: 60px;
    height: 100%;
    top: 0;
    left: -59px;
    background: var(--i_main_color);
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30% 50%);
    z-index: 0;
}
section[id^="event"] .event_title span:after{
	left: auto;
	right: -59px;
	clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%);
	background: #FAC8A2FF;
}
section[id^="event"] h3 {
    font-weight: 900;
    font-size: 4rem;
    letter-spacing: 0.1rem;
    text-align: center;
    position: relative;
    margin-bottom: 15px;
    color: var(--i_main_color);
    font-family: "M PLUS 1p", sans-serif;
}

section[id^="event"] h3 span {
    position: relative;
    display: inline-block;
}

section[id^="event"] h3 img {
    display: block;
    height: 46px;
    width: auto;
    margin: 0 auto;
}

section[id^="event"] h4 {
	position: relative;
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 800;
	font-size: 2.5rem;
	line-height: 1.8;
	letter-spacing: 0.2rem;
	color: var(--i_txt_color);
}
section[id^="event"] h4 .marker {
  display: inline; /* ← 行ごとに分割される */
  background: linear-gradient(transparent 70%, var(--i_pink3_color) 0%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--i_txt_color);
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: 0.2rem;
  padding: 0 4px 2px 4px;
}
section[id^="event"] h4 span>span {
	color: var(--i_main_color);
}

section[id^="event"] figure+div>p{
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 600;
	position: relative;
	margin: 20px 0 30px;
	padding-bottom: 30px;
	line-height: 1.8;
}
section[id^="event"] figure+div>p::before{
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 5px;
    bottom: 0;
    left: 0;
    background: url("../img/line.png") repeat top center;
    background-size: 10px;
    pointer-events: none;
}
section[id^="event"] p{
	font-family: "Noto Sans JP", sans-serif;
	font-size: 1.7rem;
	font-weight: 500;
	letter-spacing: 0.25rem;
}
section[id^="event"] figure+div h3{
	display: inline-block;
	font-size: 1.9rem;
	color: #fff;
	text-align: justify;
	padding: 5px 10px;
	background: var(--i_main_color);
	border-left: 5px solid #ff85b5;
	letter-spacing: 0.2rem;
	font-weight: 800;
}
section[id^="event"] figure+div h3:before{
    position: absolute;
    display: block;
    content: '';
    width: 60px;
    height: 100%;
    top: 0;
    background: var(--i_main_color);
    pointer-events: none;
    left: auto;
    right: -30px;
    clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%);
    z-index: -1;
}

section[id^="event"] ul h5 {
    position: relative;
    font-size: 2rem;
    padding-left: 22px;
    font-family: 'Noto Sans JP';
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--i_main_color);
}

section[id^="event"] ul h5::before {
	display: block;
	content:'';
	width: 6px;
	height: 6px;
	position: absolute;
	top: calc(1em * 1.7 / 2);
	transform: translateY(-50%);
	left: 0;
	border: 3px solid var(--i_main_color);
	border-radius: 100px;
}

section[id^="event"] h5+p {
    font-size: 1.8rem;
    font-weight: 400;
}

section[id^="event"] .flex {
    gap: 70px;
}

section[id^="event"] figure {
    max-width: 540px;
    width: 100%;
}

section[id^="event"] figure+div {
    width: 100%;
}
section[id^="event"] figure+div>ul{
	padding-bottom: 30px;
}
section[id^="event"] figure+div>ul li:not(:last-of-type) {
    padding-bottom: 30px;
}

section[id^="event"] figure+div>h5 {
    background: var(--i_main_color);
    color: var(--i_white_color);
    font-family: "M PLUS 1p", sans-serif;
    font-weight: bold;
    font-size: 1.9rem;
    display: inline-block;
    border-radius: 50px;
    padding: 2px 25px;
    margin-bottom: 20px;
}

@media screen and (min-width: 901px){
	#festa p br,
	section[id^="event"] h3 br,
	#partner h3 br{
		display: none;
	}
}
@media screen and (max-width: 900px) {
	section[id^="event"] .event_title{
		margin-bottom: 25px;
	}
	section[id^="event"] .event_title span{
		font-size: 1.9rem;
		padding: 7px 0;
	}
	#event6 .event_title span{
		font-size: 1.5rem;
	}
	section[id^="event"] .event_title span:before,
	section[id^="event"] .event_title span:after{
	    width: 30px;
	    left: -29px;
	}
	section[id^="event"] .event_title span:after{
		left: auto;
		right: -29px;
	}
    section[id^="event"] .flex {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
	section[id^="event"] figure+div h3 span{
		display: block;
	}
	section[id^="event"] figure+div {
	    text-align: center;
	}
	section[id^="event"] h3{
		font-size: 2.3rem;
	}
	section[id^="event"] figure+div h3{
		display: block!important;
		width: 80%;
		max-width: 300px;
	}
	section[id^="event"] p{
		font-size: 1.6rem!important;
		text-align: justify;
	}
	section[id^="event"] a p{
		text-align: center;
	}
	section[id^="event"] h4 .marker {
	  font-size: 2rem;
	}
	section[id^="event"] h4{
		font-size: 1.9rem;
		line-height: 1.6;
		text-align: justify;
	}
	section[id^="event"] ul h5::before {
		top: calc(1em * 1.5 / 2);
	}
	section[id^="event"] ul h5 {
		text-align: justify;
	}
}
@media screen and (max-width: 600px) {
	section[id^="event"] .event_title>div:nth-of-type(1) img{
		width: 100%;
		max-width: 300px;
	}
}
/*---event1---*/

#event1 figure {
    box-sizing: border-box;
    overflow: hidden;
}

.slick-dots li,
.slick-dots li button {
    width: 8px;
    height: 8px;
}

.slick-dots li button::before {
    opacity: 0.5;
    content: "";
    background: var(--i_main_color);
    border-radius: 50%;
    width: 8px;
    height: 8px;
}

.slick-dots li.slick-active button::before {
    color: var(--i_main_color);
    opacity: 1;
}

#event1 ul li:nth-of-type(2) p:last-of-type {
    font-size: 2rem;
}

@media screen and (max-width: 800px) {
    #event1 ul li:nth-of-type(2) p:last-of-type {
        font-size: 1.6rem;
        line-height: 1.8;
    }
}

@media screen and (max-width: 480px) {
    #event1:not(#festa) {
        /* padding: 120px 0 80px; */
    }
    #event3:not(#festa) {
        padding: 180px 0 80px;
    }
}


/*---event2---*/
#event2{
	background: var(--i_bg_color);
}
#event2 figure+div{
	position: relative;
}
#event2 figure+div::before{
    position: absolute;
    display: block;
    content: '';
    width: clamp(250px, 23vw, 450px);
    height: 100%;
    top: auto;
    bottom: -35px;
    right: -5%;
    z-index: 1;
    background: url("../img/photorally.png")no-repeat bottom right/100%;
}
@media screen and (max-width: 544px) {
	#event2{
		padding-bottom: 200px!important;
	}
	#event2 figure+div::before{
	    width: 70vw;
	    height: 45%;
	    background-size: contain;
	    bottom: -280px;
	    right: -5%;
	}
}



.btn {
    background: var(--i_main_color);
    color: var(--i_btn_txt_color) !important;
    position: relative;
    display: inline-block;
    padding: 12px 30px 12px 40px;
    text-align: center;
    min-width: 300px;
    border-radius: 5px;
    outline: 4px solid var(--i_pink3_color);
}

.btn span {
    position: relative;
    color: var(--i_white_color);
    font-weight: bold;
    text-align: center;
}

.btn::before {
    position: absolute;
    content: "";
    width: 7px;
    height: 7px;
    top: calc(50% - 4px);
    left: 15px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    transition: all 0.3s ease;
    z-index: 10;
}
.btn:hover:before {
    left: 20px;
}
@media screen and (max-width: 800px){
	.btn {
	    min-width: auto;
	    padding: 12px 20px 12px 40px;
	}
	section[id^="event"] .btn p{
		font-size: 1.5rem!important;
	}
}

/*---event3---*/

#event3 figure+div>ul:first-of-type {
    padding-bottom: 30px;
}

#event3 h5+p span {
    display: block;
    font-size: 1.6rem;
}

/*---event4---*/
#event4{
	background: var(--i_bg_color);
}

a.link {
    color: var(--i_main_color);
    border-bottom: 1px solid var(--i_main_color);
}

/*---event5---*/


/*---event6---*/
#event6{
	background: var(--i_bg_color);
}
#event6 ul {
	margin-top: 30px;
	padding-bottom: 0;
}
#event6 p{
	margin-bottom: 30px;
	line-height: 2;
}
#event6 p:nth-child(2){
	margin: 0;
}
/*-----------partner-----------*/
section[id^="partner"] .event_title{
	position: relative;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	margin-bottom: 45px;
}

#partner h3 {
    font-weight: 900;
    font-size: 4rem;
    letter-spacing: 0.1rem;
    text-align: center;
    position: relative;
    margin-bottom: 10px;
    color: var(--i_main_color);
    font-family: "M PLUS 1p", sans-serif;
    margin-top: 15px;
}
#partner .event_title>div:nth-of-type(2) img{
	max-width: 160px;
}
#partner .flex {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.55rem;
}

#partner ul:first-of-type {
    gap: 35px 0;
    padding: 20px 0 50px;
}

#partner ul:first-of-type li {
    width: 14.2%;
}

#partner ul:first-of-type li:nth-of-type(-n+2) {
    width: 50%;
}

#partner ul:first-of-type li:nth-child(3){
	text-align: end!important;
}
#partner ul:first-of-type li:nth-child(5){
	text-align: justify!important;
}
#partner ul:first-of-type li:nth-child(n + 3):nth-child(-n + 5) img{
	width: 100%;
	max-width: 270px;
}
#partner ul:first-of-type li:first-of-type {
    text-align: right;
}

#partner ul:first-of-type li:nth-of-type(-n+2) img {
    max-width: 300px;
    width: 100%;

}

#partner ul:last-of-type {
    gap: 22px 12px;
    /* justify-content: space-around; */
}

#partner p {
    text-align: center;
    padding-top: 35px;
}

#partner ul:nth-of-type(2) li{
	font-size: 1.5rem;
	padding: 0px 15px;
}
#partner ul:nth-of-type(2) li:nth-child(-n+7){

}
@media screen and (min-width: 901px){
	#partner ul:first-of-type li:nth-of-type(3){
		width: 34%!important;
	}
	#partner ul:first-of-type li:nth-of-type(5){
		width: 34%!important;
	}
	#partner ul:first-of-type li:nth-child(n + 3):nth-child(-n + 5){
		width: 26%;
		text-align: center;
	}
}
@media screen and (max-width: 900px) {
    #partner ul:first-of-type li {
        width: 25%;
    }
	#partner ul:nth-of-type(2) li{
		padding: 0;
	}
}

@media screen and (max-width: 800px) {
    #partner h3 {
        font-size: 2.4rem;
    }
	#partner p span{
		display: block;
	}
}

@media screen and (max-width: 480px) {
    #partner ul:first-of-type li {
        width: 50%;
    }

    #partner ul:last-of-type {
        flex-direction: column;
        text-align: center;
    }

    #partner .flex {
        font-size: 1.45rem;
    }
}

/*-----------footer-----------*/

footer {
   background-image: linear-gradient(90deg, rgba(236, 62, 130, 1), rgba(249, 189, 160, 1));
   color: var(--i_white_color);
   text-align: center;
   padding: 40px 20px;
   font-family: "M PLUS 1p", sans-serif;
}
footer .sns{
	margin-bottom: 25px;
}
footer .sns a{
	padding: 0 10px;
}
footer p:first-of-type {
    color: var(--i_yellow_color);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 10px;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 600;
    letter-spacing: 0.2rem;
}

footer p:last-of-type {
    font-weight: 400;
    font-size: 1.8rem;
    padding-top: 15px;
}

footer p:last-of-type span {
    border-bottom: 1px solid var(--i_white_color);
}

@media screen and (max-width: 800px) {
	footer {
	   padding: 40px 20px 60px;
	}
    footer p:first-of-type {
        font-size: 1.65rem;
    }

    footer p:last-of-type {
        font-size: 1.45rem;
    }
	footer .sns{
		margin-bottom: 15px;
	}
	footer .sns img{
		max-width: 40px;
	}
}

/*-----------footer-----------*/

#pagetop {
    max-width: 84px;
    width: 100%;
    position: fixed;
    bottom: -30px;
    right: 2.2%;
    z-index: 21;
    opacity: 0;
    transition: .4s ease-in-out;
}

.scrolled #pagetop {
    opacity: 1;
    bottom: 15px;
}

#pagetop img {
    transition: .3s ease-in-out;
}

.area #pagetop img {
   filter: brightness(0) invert(1);
}
.area #pagetop{
	bottom: 30px;
}

@media screen and (max-width: 900px) {
    #pagetop {
        width: 10vw;
    }
.area #pagetop{
	bottom: 20px;
}
}

