/* CSS Document */

:root{
	counter-reset: articles;
	height: 100%;
}

.mv{
	width: calc(100vw - 8px);
	margin-inline: calc(50% - 50vw + 4px);
	padding: 0;
	position: relative;
}
.title{
	width: 50%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.title .subtitle{
	background: #10663d;
	color: #fff;
	display: block;
	width: 80%;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	padding: 5px 10px;
}
h3{
	line-height: 1.4;
}
.photos{
	margin-bottom: 120px;
}

.photos section{
	width: 90%;
	padding: 0;
}
.photos figure{
	position: relative;
	aspect-ratio: 1/1;
}
.photos figcaption{
	position: absolute;
	bottom: 20px;
	right: 0;
	padding: 10px 20px;
	background: #0175C199;
	color: #fff;
	min-width: 200px;
	backdrop-filter: blur(4px);
	overflow: hidden;
	text-overflow: ellipsis;
}
.photos section{
	display: flex;
	flex-flow: row;
	gap: 20px;
	margin-bottom: 20px;
}
.photos section>*{
	width: 1%;
	flex-grow: 1;
	aspect-ratio: 0/1;
	background: #e6f3ff;
	position: relative;
}

.photos .blank{
	background: repeating-linear-gradient(-45deg, #e8e8e8 0px 15px, #eee 16px 31px);
}

.photos img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.photos h2{
	width: 100%;
	height: 100%;
	margin: 0;
	padding-block: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	counter-increment: articles;
	
}
.photos a:hover{
	color: currentColor;
}
.photos a:hover::before{
	opacity: 0.3;
	transition: 0.2s;
}
.photos video{
	background: #000;
	display: block;
}
.photos .text{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: -5;
	flex-flow: column;
}
div.textBox{
	padding: 1em 2em;
	background-color: #fff;
}
.textBox :is(p,h3){
	padding: 0;
}
.textBox h3{
	margin-bottom: 3px;
}
.textBox h3 a{
	text-decoration: underline;
}
.textBox h3 p{
	font-size: 20px;
}
.text_font {
	font-size: 1.5em;
}
.annotation{
	font-size: 14px;
}
.f2{
	flex-grow: 2!important;
	aspect-ratio: 2/1!important;
}
.f3{
	flex-grow: 3!important;
	aspect-ratio: 3/1!important;
}
.f4{
	flex-grow: 4!important;
	aspect-ratio: 4/1!important;
}
.f5{
	flex-grow: 5!important;
	aspect-ratio: 5/1!important;
}

.width95 {
	width: 95%;
}


/*************CVボタンの背景（箱）*************/

.btnbox {
	background-color: #cccccc;
	width: 80%;
	height: 12em;
	margin: auto;
	display: flex;
	margin-top: 50px;
}

.btnboxInner{
	width: 90%;
	align-items: center;
	justify-content: center;
}


/*************CVボタン１つ目*************/

.cvbtn1 {
	background: #FF9900!important;
	font-size: clamp(16px, 2vw, 22px);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 240px;
	border-radius: 8px;
	border: 4px solid #fff;
	padding-block: 1em;
	box-shadow: 2px 2px 2px #0003;
	font-weight: 700;
	height: 4em;
	text-align: center;
	line-height: 1.2;
}

.cvbtn1::after{
	font-family: "Font Awesome 5 Free";
	content: "\f35d";
	/*vertical-align: top;*/
	padding-left: 5px;
}

.cvbtn1:hover{
	opacity: 0.7!important;
	transition: 0.2s!important;
	color: #E50512!important;
}




/*************CVボタン2つ目*************/

.cvbtn2 {
	background: #AFF086!important;
	font-size: clamp(16px, 2vw, 21px);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 240px;
	border-radius: 8px;
	border: 4px solid #fff;
	padding-block: 1em;
	box-shadow: 2px 2px 2px #0003;
	font-weight: 700;
	height: 4em;
	text-align: center;
	line-height: 1.3;
}


.cvbtn2:hover{
	opacity: 0.7!important;
	transition: 0.2s!important;
	color: #E50512!important;
}



@media (max-width: 959px){
	.btnbox section.btnboxInner{
		margin-bottom: 20px;
	}
	video{
		margin: 0 auto;
	}
	.title{
		width: 100%;
		max-width: 672px;
	}
	.title .subtitle{
		font-size: 13px;
	}
	.photos section>*{
		width: 100%;
	}
	.photos section{
		flex-flow: column;
		align-items: center;
		gap: 20px;
		margin-block: 20px;
	}
	.photos figure{
		width: 80%;
		aspect-ratio: 1/1;
	}
	.photos video{
		width: 80%;
		aspect-ratio: 16/9;
	}
	.photos img{
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.photos section>.text,
	.photos section>a{
		width: 90%;
		aspect-ratio: auto;
		min-height: 60px;
	}
}

@media (max-width: 700px){
	.f3{
	flex-grow: 2!important;
	aspect-ratio: 4/3!important;
	}
	
	.width95 {
	width: 100%;
	}


/*************CVボタンの背景（箱）*************/

	.btnbox {
		height: 15em;
	}

	.btnbox.one {
		height: 8em;
	}
	
	.btnboxInner{
		margin-bottom: 20px!important;
	}
	
	
/*************CVボタン１つ目*************/

	.cvbtn1 {
		height: 3em;
		font-size: 1em;
	}

	.cvbtn1.one{
		height: 2em!important;
	}
		
	.cvbtn2 {
		height: 3em;
		font-size: 1em;
	}
}