@charset "utf-8";
/* 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(--red);
 border: 1px solid var(--red);
	background: var(--white);
	display: flex;
	height: 30px;
	padding: 0 14px 4px;
	align-items: center;
	border-radius: 4px;
}

.menuBox li.current {
	color: var(--white);
	background: var(--red);
 border: 1px solid var(--red);
}
.menuBox li.current a:hover {
	color: var(--white);
}
.menuBox li::hover {
	cursor: pointer;
}

.menuBox li:not(.current) a,
.menuBox li:not(.current) a:hover{
	color: var(--red);
}



.news_datetime {

	text-align: right;
}
.news_datetime time {
    width: 12rem;
    justify-content: flex-end;
}

.news__txt {
width: 100%;
}

@container (min-width: 768px) {
	.news__detail {
		container: layout inline-size;
		margin: 20px 0;
		display: flex;
		justify-content: center;
		gap: 40px;
	}
	.news__txt {
		max-width: 500px;
	padding: 0 4px 0;
	}
	.news__img > div + div {
		margin: 20px 0;
	}
}


.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;
}
.news_datetime {
	text-align: right;
}
.news_datetime time {
 width: 12rem;
 justify-content: flex-end;
}
.news__detail .works__txt {
	max-width: 600px;
}
.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;
	}
} */

.fancyArea {
	margin-bottom: 2rem;
}
/* モーダル表示用
------------------------------------------------------------------- */

#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;
}