@charset "UTF-8";

@media all {
	.site-main {
		position: relative;
	}
	.main-header {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background: center / cover no-repeat url(../img/event/main-visual.jpg);
		overflow: hidden;
	}

	.main-header-ttl {color: #000;}
	.main-header-ttl span {
		display: block;
		text-align: center;
	}
	.main-header-ttl::after {
		content: attr(data-en);
		display: block;
		text-align: center;
		font-weight: normal;
	}
}

/* sp & tab */
@media screen and (max-width: 979px) {
	.main-header {
		background-size: cover;
	}
}
/* sp */
@media only screen and (max-width: 599px) {
	.breadcrumbs {
		bottom: -30px;
	}
	.main-header {
		height: 200px;
		padding-top: 40px;
		overflow: visible;
	}
	.main-header-ttl {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.main-header-ttl span {
		padding: 5px 15px 2px;
		font-size: 28px;
		line-height: 1.3;
	}
	.main-header-ttl::after {
		margin-top: 10px;
		padding: 3px 10px 0;
		font-size: 12px;
		line-height: 1.2;
	}
}

/* pc & tab */
@media print,
(min-width: 600px) {
	.main-header {
		height: 326px;
	}

	.main-header-ttl span {
		font-size: 32px;
		line-height: 1.3;
	}
	.main-header-ttl::after {
		margin-top: 20px;
		font-size: 16px;
		line-height: 1.4;
	}
}

/* tab */
@media only screen and (min-width: 600px) and (max-width: 979px) {}

/* pc */
@media print, (min-width: 1280px) {
	.main-header {
		margin-top: 64px;
	}
}


/*** works ***/
@media all {
  .work-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
		width: calc(100% - 40px);
  }
	.work-list::after,
  .work-item {
    width: 47.5%;
    max-width: 300px;
  }
	.work-item a {
		display: block;
		transition: opacity .3s;
	}
	.work-item a:hover {opacity: .7;}
	.work-img {
		aspect-ratio: 3 / 2;
		object-fit: cover;
	}
	.work-ttl {
		display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	}
	.work-txt {
		display: -webkit-box;
		overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
	}
}
@media only screen and (max-width: 979px) {
	.work-item:nth-child(n+3) {
		margin-top: 40px;
	}
}
/* works - sp */
@media only screen and (max-width: 599px) {
  .work-list {
		margin-top: 80px;
		max-width: none;
	}
  .work-item {
		margin-top: 30px!important;
    /* padding: 0 4px; */
		width: 100%;
		max-width: none;
  }
	.work-item a {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		height: 90px;
	}
	.work-img {
		width: 40%;
		height: 90px;
		object-fit: cover;
	}

	.work-ttl, .work-txt {
		padding-left: 16px;
		width: 60%;
	}
  .work-ttl {
    /* margin-top: 16px; */
    font-size: 18px;
    font-weight: bold;
  }
  .work-txt {
		margin-top: 12px;
    font-size: 14px;
		line-height: 1.4;
  }
}

/* works - tab & pc */
@media print,
(min-width: 600px) {
  .works-inner-section + .works-inner-section {
    margin-top: 40px;
  }
  .work-list {
    margin-top: 150px;
  }
	.work-list::after {
		content: '';
		display: block;
		height: 0;
	}
  .work-ttl {
    margin-top: 20px;
    font-size: 15px;
    font-weight: bold;
  }
  .work-txt {
    margin-top: 4px;
    font-size: 14px;
  }
}
@media (min-width: 600px) and (max-width: 979px) {
	.work-list {max-width: 640px}
}
@media print,
(min-width: 980px) {
  .work-list {max-width: 1190px}
	.work-list::after,
  .work-item {
		width: 30.925%;
		max-width: none;
	}
	.work-item:nth-child(n+4) {
		margin-top: 80px;
	}
  .work-item img {width: 100% !important;}
  .work-ttl {font-size: 18px;}
  .work-txt {font-size: 16px;}
  .carousel-2 {margin-top: 80px!important;}
}




