@charset "utf-8";
.tagBox li{
	display: inline-block;
	margin: 0 .1em .6em 0;
	padding: .6em 1em;
	line-height: 1;
	background-color: var(--white);
	border: 1px solid var(--base_light);
	border-radius: 2em;
}
/* menubox */
.menuBox {
	display: flex;
	margin-bottom: 8cqw;
	align-items: flex-start;
	align-content: flex-start;
	gap: 2cqw;
	align-self: stretch;
	flex-wrap: wrap;
	justify-content: center;
}
.menuBox li {
	color: var(--white);
	background: var(--red);
	display: flex;
	height: 30px;
	padding: 0 14px 4px;
	align-items: center;
	border-radius: 4px;
}
.menuBox li:not(.current) a,
.menuBox li:not(.current) a:hover{
	color: var(--white);
}
.menuBox li.current {
	color: var(--black);
	background: var(--base_light);
}
.menuBox li::hover {
	cursor: pointer;
}
.fancyArea {
	margin-bottom: 2rem;
}
.news_datetime {
	text-align: right;
    margin: 1em 1em 2em;
}
.news_datetime time {
 width: 12rem;
 justify-content: flex-end;
}
.news__detail {
	padding: 20px;
	margin: 1em 0 2em;
}
.works__txt {
	padding: 20px;
	margin: 1em 0 2em;
margin-inline:auto ;
}
.works__item {
	overflow: hidden;
	grid-template-columns: 1fr;
}
.works__item img {
	width: 100%;
	object-fit: cover;
	border-radius: 4px;
	transition: transform .6s ease;
}
.works__item:hover img {
	transform: scale(1.15);
}
.works__img {
	border: 1px solid var(--base_light);
}

.news__item {
	overflow: hidden;
	grid-template-columns: 1fr;
}
.news__item img {
	width: 100%;
	object-fit: cover;
	border-radius: 4px;
	transition: transform .6s ease;
}
.newss__item:hover img {
	transform: scale(1.15);
}
.works__img {
	border: 1px solid var(--base_light);
}

/* 
.container {
	container-type: inline-size;
	container-name: masonry;
}
@container masonry (width >= 425px){
	.works__item {
		grid-template-columns: 1fr 1fr;
	}
}

@container masonry (width >= 768px){
	.works__item {
		grid-template-columns: 1fr 1fr 1fr;
	}
}
@container masonry (width >= 1024px){
	.works__item {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
} */

@container (min-width: 768px) {
	.news__detail {
		container: layout inline-size;
		margin: 20px 0;
		display: flex;
	flex-direction: column;
		justify-content: center;
		gap: 40px;
	}
}

/* モーダル表示用
------------------------------------------------------------------- */

#myCarousel {
  --f-arrow-pos: 10px;
  --f-arrow-bg: rgba(255,255,255,0.75);
  --f-arrow-hover-bg: rgba(255,255,255,1);
  --f-arrow-color: #333;
  --f-arrow-width: 40px;
  --f-arrow-height: 40px;
  --f-arrow-svg-width: 20px;
  --f-arrow-svg-height: 20px;
  --f-arrow-svg-stroke-width: 2px;
  --f-arrow-border-radius: 50%;

  height: 400px;
}

#myCarousel .f-carousel__slide {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px 0;
}

#myCarousel img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
}


.imglist {
 display: flex;
 gap: 10px;
 flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.fancyArea {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}
/* .imglist li,
.fancyArea a {
  width: 48%;
} */
.fancyArea a img {
 max-width: 100%;
 height: auto;
	max-height: 300px;
	object-fit: cover;
}
.caption__txt {
	font-size: 1.4rem;
	font-optical-sizing: auto;
	line-height: 1.1;
}