/* Regular */
@font-face {
	font-family: 'Noto Sans JP';
	src: url('./fonts/NotoSansJP-Medium.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
 
/* Midium */
@font-face {
	font-family: 'Noto Sans JP';
	src: url('./fonts/NotoSansJP-Regular.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* bold */
@font-face {
	font-family: 'Noto Sans JP';
	src: url('./fonts/NotoSansJP-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* body */
body {
	padding: 0;
    margin: auto;
	color: #333333;
    border-top: solid 10px #1B0EA1;
    border-bottom: solid 10px #1B0EA1;
	overflow-x: hidden;
}

/* main */
main{
	margin-top: 95px;
	margin-bottom: 70px;
	background-image: url(images/background-text.png);
	background-repeat: no-repeat;
	background-position-x: center;
	background-position-y: 27vh;
	text-align: center;
}

/* wrapper */
.wrapper{
    margin: auto;
}

/* トップページへのリンク */
.top-page-link{
	position: fixed;
	right: 10%;
	bottom: 20px;
	transition-duration: 0.5s;
	z-index: 30000;
}

.top-page-link:hover{
	transform: scale(1.1);
  	transition-duration: 0.5s;
}

.top-page-link p{
	position: absolute;
    top: 25%;
	padding: 0 10px;
    color: #fff;
    font-family: 'Noto Sans JP';
    font-weight: 500;
}

/* ロゴ */

.top-logo h1{
	font-size: 20px;
	font-family: 'Noto Sans JP';
	font-weight: 700;
}

/* div parts */
.parts-text .link{
	width: 200px;
    height: 35px;
	margin: 0 0 0 auto;
    border-radius: 17px;
    background: #1B0EA1;
	color: #fff;
	font-size: 18px;
	font-family: 'Noto Sans JP';
	font-weight: 500;
}

.parts .parts-text{
	margin-bottom: 26px;
}

.parts-text a{
	display: inline-block;
	color: #fff;
	text-decoration: none;
	vertical-align: middle;
}

/* table */
.heading{
	max-width: 150px;
	margin: 57px auto 70px;
	padding: 6px 0;
	background: #333333;
	color: #fff;
	font-size: 18px;
	font-family: 'Noto Sans JP';
	font-weight: 500;
}

.heading.parts-heading{
	margin-bottom: 50px;
}

.heading.width-275{
	max-width: 275px;
}

.heading.width-250{
	max-width: 250px;
}

.table-container{
	max-width: 1000px;
    margin: auto;
    padding: 0 20px;
    display: block;
    overflow-x: scroll;
    white-space: nowrap;
}

.table-container::-webkit-scrollbar{
	display: none;
}

.parts h3{
	font-size: 26px;
	font-family: 'Noto Sans JP';
	font-weight: 700;
}

.parts p{
	font-size: 18px;
	font-family: 'Noto Sans JP';
	font-weight: 400;
}

.parts-table{
	width: 1000px;
    max-width: 100%;
    margin: auto;
	border-collapse: collapse;
    table-layout: auto;
}

.parts-table thead{
	height: 60px;
	border-top: 1px solid #707070;
	border-bottom: 1px solid #707070;
	background-color: #28CCD8;
	color: #fff;
	font-family: 'Noto Sans JP';
	font-weight: 700;
}

.table-container.width .parts-table th:nth-child(1){
	width: 11%;
}

.table-container.width .parts-table th:last-child{
	width: 9%;
}

/* .parts-table th:nth-child(1){
	width: 8%;
}

.parts-table th:nth-child(2){
	width: 12%;
}

.parts-table th:nth-child(3){
	width: 10%;
}

.parts-table th:nth-child(4){
	width: 10%;
}

.parts-table th:nth-child(5){
	width: 11%;
}

.parts-table th:nth-child(6){
	width: 13%;
}

.parts-table th:nth-child(7){
	width: 8%;
} */

.parts-table tbody{
	height: 65px;
	border-bottom: 1px solid #707070;
	font-family: 'Noto Sans JP';
	font-weight: 400;
	font-size: 16px;
}

.photo-list-contaier ul{
	width: 100%;
}

.photo-list{
	display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1000px;
}

.photo-list li{
    border-radius: 115px;
    display: block;
    height: 230px;
    overflow: hidden;
    position: relative;
    width: 230px;
	transition-duration: 0.5s;
}

.photo-list li:hover{
	transform: scale(1.1);
  	transition-duration: 0.5s;
}


.photo-list img{
	height: 100%;
    left: -50%;
    position: absolute;
    width: auto;
}

/* メディアクエリ */

@media screen and (max-width: 1000px) {
	.parts-table tr{
		font-size: 15px;
	}
	.photo-list{
		max-width: 90%;
	}
	.photo-list li{
		height: 200px;
		width: 200px;
	}
}

@media screen and (max-width: 900px) {
	/* main{
		background-size: 50%;
	} */
	.parts p {
		font-size: 16px;
	}
}

@media screen and (max-width: 850px){
	.photo-list li{
		height: 180px;
		width: 180px;
	}
}

@media screen and (max-width: 768px) {
	main{
		margin-top: 40px;
    	margin-bottom: 35px;
		background-size: 50%;
	}
	.heading{
		margin: 30px auto;
	}
	.heading.parts-heading {
		margin-bottom: 35px;
	}
	.parts p {
		font-size: 12px;
	}
	.heading{
		font-size: 12px;
	}
	.photo-list{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 1fr 1fr 1fr;
	}
	.photo-list li{
		height: 220px;
		width: 220px;
	}
}

@media screen and (max-width: 720px){
	.photo-list li{
		height: 200px;
		width: 200px;
	}
}

@media screen and (max-width: 650px) {
	.parts-table tr{
		font-size: 12px;
	}
	.photo-list li{
		height: 160px;
		width: 160px;
	}
}

@media screen and (max-width: 600px){
	.top-page-link img{
		width: 70%;
	}
	.top-page-link p {
		top: 17%;
		padding: 0 23px;
		font-size: 15px;
	}
}

@media screen and (max-width: 550px){
	main{
		background-size: 80%;
	}
	.photo-list{
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr 1fr 1fr;
	}
	.photo-list li{
		height: 220px;
		width: 220px;
	}
}

@media screen and (max-width: 480px){
	.photo-list li{
		height: 180px;
		width: 180px;
	}
}

@media screen and (max-width: 400px){
	.top-page-link{
		right: 2%;
	}
	.top-page-link img{
		width: 55%;
	}
	.top-page-link p {
		top: 16%;
		padding: 0 33px;
		font-size: 11px;
	}
}

@media screen and (max-width: 375px){
	.photo-list li{
		height: 160px;
		width: 160px;
	}
}

@media screen and (max-width: 350px){
	.photo-list li{
		height: 140px;
		width: 140px;
	}
}