header{
	margin-top: 0;
}
.swiper{
	padding-top: 77px;
	height: calc(80vh - 80px);
}

.catch{
	font-size: 1.2em;
	line-height: 2em;
	color: #333;
	padding: 30px 10px 60px;
}
.catch h1,
.catch h2{
	font-size: 1.2em;
	line-height: 2em;
	font-weight: 500;
}
.catch h2{
	margin-bottom: 30px;
}
#main-title{
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    z-index: 2;
}
#main-title h1{
	font-size: 3em;
	color: #00BFFF;
    text-shadow: 3px 3px 3px #555;
    margin: 0 0 15px;
    line-height: 1.8em;
	position: relative;
}
#main-title h1::after {
    display: block;
    background-color: #00BFFF;
    width: 120px;
    height: 3px;
    content: '\0020';
    position: absolute;
    left: 0;
    bottom: 0;
}
#main-title h2{
	font-size: 1.5em;
	color: #fff;
    text-shadow: 3px 3px 3px #555;
	margin: 0;
}

.machine_box{
	position: relative;
	overflow: hidden;
	cursor: pointer;
	border-radius: 4px;
}
.machine_box img{
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}
.machine_overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	text-align: center;
	padding: 10px;
	box-sizing: border-box;
}
.machine_box:hover img{
	transform: scale(1.05);
}
.machine_box:hover .machine_overlay{
	opacity: 1;
}
.machine_overlay h5{
	margin: 0 0 5px;
	font-size: 1em;
}
.machine_overlay p{
	font-size: 0.8em;
	margin: 0;
}
.plus_icon{
	font-size: 24px;
	font-weight: bold;
	margin-top: 10px;
}
.machine_list,
.about_list{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
	margin: 15px auto;
	gap: 5px;
}
.about_list{
	gap: 20px;
	align-items: stretch;
	margin: 60px auto 80px;
}
.machines{
	margin-bottom: 60px;
}
.machine_box{
	width: calc( 100% / 4 - 5px );
}
.about_box{
	width: calc( 100% / 3 - 20px );
	display: flex;
	flex-direction: column;
	margin-bottom: 30px;
}
.about_box h5{
	margin: 5px 0;
	font-size: 1.2em;
	color: #07569e;
}
.about_box h6{
	margin: 0;
	font-size: 1em;
	color: #07569e;
}
.about_box p{
	margin: 5px 0;
}
.about_box .text-center{
	margin-top: auto;
}
.custom-modal{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}
.custom-modal.is-active{
	display: flex;
}
.modal-backdrop{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
}
body.no-scroll{
	overflow: hidden;
}
.modal-content{
	position: relative;
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	background: #fff;
	border-radius: 8px;
	overflow-y: auto;
	z-index: 10000;
	animation: modalFadeIn 0.3s ease;
}
.modal-image img{
	width: 100%;
	display: block;
}
.modal-text{
	padding: 20px;
	color: #333;
	line-height: 1.6;
}
.modal-text h4{
	margin: 0 0 5px;
	font-size: 1.1em;
}
.modal-text p{
	font-weight: bold;
	margin: 10px 0 0;
}
.modal-actions{
	display: flex;
	border-top: 1px solid #ddd;
}
.modal-btn{
	flex: 1;
	padding: 15px;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	border: none;
	background: #fff;
	cursor: pointer;
	box-sizing: border-box;
	transition: background 0.2s ease;
	display: block;
}
.modal-actions .link-btn{
	color: #fff;
	background: #07569e;
	font-weight: bold;
}
.modal-actions .link-btn:hover{
	background: #004494;
}
.modal-actions .close-btn{
	color: #666;
	border-left: 1px solid #ddd;
}
.modal-actions .close-btn:hover{
	background: #f5f5f5;
}
.breadcrumb{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 20px;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
}
.breadcrumb li{
	margin-left: 0;
	font-size: 0.9em;
}
.breadcrumb li a{
	display: contents;
	padding: 5px;
}
.breadcrumb li:not(:last-of-type)::after {
	content: ">";
	margin: 0 .3em;
}
.youtube{
	width: 100%;
	margin: 0 auto 40px;
}
.youtube iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

@media screen and (max-width: 1010px) {
	nav a{
		padding: 5px;
	}
	.swiper{
		padding-top: 65px;
		height: calc(80vh - 80px);
	}
	.logo img{
		height: 40px;
		width: auto;
	}
}
@media screen and (max-width: 768px) {
	nav ul{
		top: 56px;
	}
	nav a{
		padding: 10px;
	}
	#main-title{
		position: static;
		display: block;
		width: 100%;
		text-align: center;
		margin: 60px auto -20px;
	}
	#main-title h1::after{
		left: calc( 50% - 60px);
	}
	#main-title h1{
		font-size: 2em;
		text-shadow: none;
	}
	#main-title h2{
		font-size: 1.1em;
		color: #000;
		font-weight: 500;
		text-shadow: none;
	}
	.swiper{
		padding-top: 56px;
        height: calc(50vh - 60px);
	}
	.catch{
		padding: 10px 10px 20px;
		font-size: 1em;
	}
	.catch h1,
	.catch h2{
		font-size: 1.2em;
		line-height: 1.8em;
	}
	.machines{
		margin-bottom: 40px;
	}
	.machine_box{
		width: calc( 100% / 2 - 5px );
	}
	.about_list{
		gap: 10px;
	}
	.about_box{
		width: calc( 100% / 2 - 10px );
	}
	.modal-content{
		width: 95%;
	}
	.breadcrumb{
		padding: 0 15px;
	}
	.breadcrumb ul{
		position: static;
		display: flex;
		background: none;
		flex-direction: unset;
	}
	.breadcrumb ul li{
		width: auto;
		border: 0;
	}
}

@keyframes modalFadeIn{
	from{
		opacity: 0;
		transform: translateY(10px);
	}
	to{
		opacity: 1;
		transform: translateY(0);
	}
}