@charset "utf-8";

body {
  background: url(../img/bg.jpg) center / cover repeat fixed;
}

main {
	position:relative;
	overflow-x:hidden;
}

.global-nav {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    top: 0;
    position: fixed;
    z-index: 9999;
    padding: .5rem 2rem;
}

.nav-menu {
    display: flex;
    justify-content: right;
	padding-top: 6rem;
}

.nav-item {
    margin: 0.8rem;
	padding-bottom: 3px;
	position: relative;
}

.nav-item img {
	max-height: 50px;
}

.nav-item:hover {
	opacity: .7;
}

.head-logo {
    width: 150px;
}

@media screen and (max-width: 768px){
  .global-nav {
    justify-content: space-between;
	height: 80px;
}
.head-logo {
    width: 80px;
}
}


/*アクティブクラスがついたら位置を0に*/
.nav-menu.panelactive{
    right: 0;
}


/* ナビ */
.nav-menu{
    position:fixed;
    display: block;
    z-index: 999;
    top:0;
    right: -120%;
    width: 100%;
    height: auto;
    background:#FFF;
    transition: all 0.6s;
	font-size: 2.3rem;
}

.nav-menu.panelactive{
	border-left: 3px solid;
    border-bottom: 3px solid;
    position: fixed;
    z-index: 999; 
    width: 70%;
    height: auto;
    padding-bottom: 100px;
    margin: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
	border-radius: 0px 0px 0px 10px;
}

.nav-menu ul {
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

.nav-menu li{
    list-style: none;
    display: flex;
    padding: 1rem;
    justify-content: center;
    align-items: center;
}

.openbtn1{
  	position:fixed;
  	z-index: 9999;
  	right: 35px;
  	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 25px;
    margin: 1rem;
	background: var(--main-green);
	border: 2px solid;
}

.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 12px;
    height: 3px;
    border-radius: 2px;
    background-color: white;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top: 14px;
}

.openbtn1 span:nth-of-type(2) {
  top: 22px;
}

.openbtn1 span:nth-of-type(3) {
  top: 30px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 16px;
    left: 11px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}


.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
	top: 28px;
    left: 11px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}

@media screen and (min-width: 768px){
	.nav-menu.panelactive {
		width: 30%;
		height: 80vh;
        border-radius: 0px 0px 0px 10px;
	}
}
@media screen and (max-width: 768px){
	.openbtn1 {
		width: 45px;
		height: 45px;
		right: 5px;
	}
	.openbtn1 span {
	position: absolute;
	left: 10px;
	width: 22px;
	height: 2px;
	background: #000;
	}

	/* 中央(22.5px)を基準に上下配置 */
	.openbtn1 span:nth-of-type(1) {
	top: 14px;
	}

	.openbtn1 span:nth-of-type(2) {
	top: 21px;
	}

	.openbtn1 span:nth-of-type(3) {
	top: 28px;
	}

}

/*-------------------------------- SECTION --------------------------------*/

.bg_title_img {
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.bg_title_img::before,
.bg_title_img::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  background-repeat: repeat-x;
  background-size: auto 100px;
}

/* 上側 */
.bg_title_img.pattern-a::before {
  top: 0;
  background-image: url("../img/top_wave.svg");
}

/* 下側 */
.bg_title_img.pattern-a::after {
  bottom: 0;
  background-image: url("../img/bottom_wave.svg");
  transform: scaleY(-1);
}

.bg_title_img.pattern-a .bg_color {
  background-color: var(--main-green);
  margin-bottom: 100px;
}

/* パターンB */
/* 上側 */
.bg_title_img.pattern-b::before {
  top: 0;
  background-image: url("../img/top_wave_yg.svg");
}

/* 下側 */
.bg_title_img.pattern-b::after {
  bottom: 0;
  background-image: url("../img/bottom_wave_yg.svg");
  transform: scaleY(-1);
}

.bg_title_img.pattern-b .bg_color {
  background-color: var(--sub-yellowgreen);
  margin-bottom: 100px;
}


@media (max-width: 768px) {
  .bg_title_img {
    padding-top: 50px;
  }
.bg_title_img::before,
.bg_title_img::after {
    height: 50px;
    background-size: auto 50px;
  }
.bg_title_img.pattern-a .bg_color,
.bg_title_img.pattern-b .bg_color {
  margin-bottom: 50px;
}
}


 
/*========= sns ==========*/

.sns-icon {
    background: #121212;
    gap: 3rem;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.sns-icon a {
	display: flex;
}


/*========= mainvisual =========*/
.mainvisual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    height: 100vh;
    flex-direction: column;
    gap: 20px;
}

@media screen and (max-width: 767px){
.mainvisual {
    height: 50vh;
}

}

/*========= news ==========*/


#news {
  position: relative;
  overflow: visible;
}

.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a{
	text-decoration: none;
	border-bottom: 1px solid black;
	padding: 20px 0px;
	align-items: center;
}
.news-list .item .date{
  margin: 0;
  min-width: 120px;
  padding: 0 20px 0 0;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  opacity: .7;
}

.news-content {
  background: #50ca9b;
	padding: 5rem 7rem;
}

.news-day {
  border-bottom: 2px dotted;
  margin-bottom: 0.7rem;
}


@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
  grid-template-columns: auto 80px;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
.news-content {
	padding: 4rem 2rem;
}

}

/* ======== about =========*/
.about-content {
  text-align: center;
  line-height: 3rem;
}
@media screen and (max-width: 767px){
.about-content {
  text-align: start;
  line-height: 2rem;

}
}

/*========= faq ==========*/

#faq {
	padding-top: 10rem;
}

.faq-content {
	background: white;
	border-radius: 3rem;
	padding: 5rem 7rem;
}

.faq-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.faq-list .item a:hover {
  opacity: .7;
}

.faq-list .item:first-child {
	border-top: none;
}
.faq-list .item {
	border-top: 2px dotted #c7c7c7;
}

@media screen and (max-width: 767px){
	#faq {
		padding-top: 5rem;
	}	
	.faq-content {
		padding: 4rem 2rem;
	}
	.faq-list .item a{
	flex-wrap: wrap;
	grid-template-columns: auto 80px;
	}
}




/*========= Event ==========*/

.event-detail {
    margin: 3rem 2rem 2rem 3rem;
}

.event-detail p {
	font-size: 1.4rem;
}
.event-img {
  border-radius: 2rem;
  max-height: 350px;
  background: #004329;
}

@media screen and (max-width: 767px){
	.event-detail {
		margin: 3rem 1rem 1rem 1rem;
	}
}


.more__program {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	background: white;
}
.more__program p {
	line-height: 2rem;
}

@media screen and (max-width: 767px){
	.more__program {
			grid-template-columns: 1fr;
	}
}

body.lightbox-open{
  overflow: hidden;
}

.lightbox-bg {
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.6);
	z-index: 99999;
  }

  .lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    color: black;
    padding: 20px;
    width: 80%;
    max-width: 550px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    text-align: left;
  }


  .close-btn {
	display: inline-block;
	margin-top: 20px;
	padding: 8px 16px;
	background: #50CA9B;
	color: white;
	border: none;
	cursor: pointer;
	border-radius: 4px;
  }

  .open-btn {
	position: absolute;
	bottom: 0px;
	right: 25px;
    bottom: 0px;
	padding: 10px 20px;
	font-size: 1.8rem;
	border: none;
	cursor: pointer;
  }

  .icon-arrow {
	display: inline-block;
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    border-style: solid;
    border-width: var(--icon-width) var(--icon-width) 0 0;
    border-color: var(--icon-color);
    transform: rotate(43deg);
  }

@media screen and (max-width: 767px){
  .open-btn {
	position: static;
    margin: 2rem 0 0 0;
  }
}


/*========= ENTRY ==========*/

/* 左下固定アイコン */
.floating-icon {
  position: fixed;
  left: 40px;
  bottom: 40px;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  z-index: 9999;
  display: block;
}

.floating-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: rotateIcon 8s linear infinite;
  transition: transform .3s;
}

/* ホバー時 */
.floating-icon:hover img {
  transform: scale(1.1);
}

/* 回転アニメーション */
@keyframes rotateIcon {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .floating-icon {
    width: 80px;
    height: 80px;
    left: 15px;
    bottom: 15px;
  }
}
	

/*========= VISUAL ==========*/


.visual-content {
	padding: 4rem 5rem;
    border: 2px solid black;
    border-radius: 3rem;
    background: #f9d750;
}

@media screen and (max-width: 767px) {
	.visual-content {
		padding: 2rem;
	}
}


/*========= SPONSOR ==========*/

#sponsor {
	background: white;
	margin-top: 10rem;
}


/*========= button ==========*/

.btn {
	color: white;
	transition: 0.3s;
	background-color: #FF4501;
	border: 3px solid #FF4501;
  }

.btn-end {
	color: white;
	transition: 0.3s;
	background-color: gray;
	border: 3px solid gray;
	pointer-events: none;
  }

  .btn:hover {
	color: #FF4501;
	background-color: white;
	border: 3px solid #FF4501;
  }

/*========= cl-text ==========*/

.cl-gr {
    color: var(--main-green);
}
.cl-sub {
    color: var(--sub-yellowgreen);
}
.cl-wt {
  color: white;
}

/*========= footer ==========*/

footer {
  display: flex;
  justify-content: center;
}
#footer {
  width: 100%;
  display: flex;
}

.event-info p {
	display: grid;
	gap: 3px;
	grid-template-columns: 120px 1fr;
	align-items: baseline;
	padding-bottom: 1.3rem;
}

.event-info p .subtitle {
    font-weight: bold;
    padding: .3rem .5rem;
    margin-right: 1rem;
}
.event-logo {
    display: flex;
    align-items: flex-end;
}

.copyright {
  background-color: #1a1818;
  color: white;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 767px){
	#footer {
		flex-direction: column;
	  }

	.event-info p {
		grid-template-columns: 95px 1fr;
	}
}


