:root {
    --margin-bottom: 94px;
    --white-color: #fff;
    --black-color: #1c1d23;
    --gray-color: #797979;
    --border-color: #ddd;
    --purple-color: #5127db;
    --font-large: 60px;
    --font-medium: 28px;
    --font-regular: 20px;
    --font-basic: 18px;
    --font-small: 16px;
    --height-input: 50px;
}


.template {
	position: relative;
}
.template .logo, .template .logo a {
	width: 200px;
}
.template .contact-btn {
	position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
	display: block;
	width: 114px;
	height: 46px;
	line-height: 46px;
	font-weight: 700;
	color: var(--white-color);
	text-align: center;
	border-radius: 50px;
	background: var(--purple-color);
}
#template .point-txt.on::after {
	background: transparent;
}
#template.wrap-in {
	width: 1440px;
    margin: 0 auto;
}

#template {
	padding-bottom: 80px;
}
#template .txt {
	margin: 80px 0 50px;
	font-size: 32px;
    font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.5px;
}
#template .point-txt {
    font-weight: 800;
	background-image: linear-gradient(transparent 60%, rgba(154, 21, 255, 0.1) 40%);
}

.tem-list {
    display: grid;
    grid-auto-flow: dense;
    grid-row-gap: 30px;
    grid-column-gap: 30px;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.tem-list li {
    position: relative;
	overflow: hidden;
}
.tem-list .img-wrap:hover {
  cursor: url("../images/template/cursor.png"), auto;
}
.tem-list .img-wrap {
    border: 1px solid var(--border-color);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
	cursor: pointer;
}
.tem-list .img-wrap a {
    position: relative;
    display: block;
    height: 300px;
	background: #fff;
	overflow: hidden;
}
.tem-list .img-wrap { aspect-ratio: 385/340; background: #fff; }
.tem-list .img-wrap p{
	width: 100%;
	height: 100%;
	background-position: 0 0 !important;
	background-size: 100% auto !important;
	background-repeat: no-repeat !important;
	overflow: hidden;
}
.tem-list .img-wrap:not(.no) p:hover {
	background-position:0 100% !important;
}
.tem-list .txt-wrap {
	padding: 20px 0;
}
.tem-list .txt-wrap > div strong {
	float: left;
	display: block;
	margin-bottom: 5px;
	font-size: 18px;
	font-weight: 800;
}
.tem-list .txt-wrap > div p {
	float: right;
	font-size: 14px;
	font-weight: 600;
	color: var(--gray-color);
}
.tem-list .txt-wrap > div:after {
	content: "";
	display: block;
	clear: both;
}
.tem-list .btn-wrap {
	display: flex;
    align-items: center;
    margin: 18px 0 15px;
}
.tem-list .btn-wrap li {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
	height: 50px;
	line-height: 50px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
	text-align: center;
    border: 1px solid var(--border-color);
}
.tem-list .btn-wrap li:first-child {
	margin-right: 5px;
}
.tem-list .btn-wrap li:last-child {
	margin-left: 5px;
}
.tem-list .btn-wrap li a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.tem-list .btn-wrap li:hover {
	background: var(--border-color);
}

@media all and (max-width:1501px) {
	#template.wrap-in {width: 90%;}
}

@media all and (max-width:1025px) {
	.template .logo {position: absolute;}
	.template .logo, .template .logo a { width: 170px; margin: 0;}
	.template .contact-btn {width: 100px; height: 42px; line-height: 42px; font-size: 14px;}
	#template .txt {margin: 70px 0 40px; font-size: 28px;}
	.tem-list {grid-row-gap: 30px; grid-column-gap: 30px; grid-template-columns: repeat(3, 1fr);}
	.tem-list .img-wrap a {height: 200px;}
	.tem-list .img-wrap { aspect-ratio: 385/280; }
}

@media all and (max-width:768px) {
	header.template {height: 90px;}
	.template .logo {transform: translateY(-50%);}
	.tem-list {grid-row-gap: 20px; grid-column-gap: 20px; grid-template-columns: repeat(2, 1fr);}
}

@media all and (max-width:641px) {
	.template .logo {top: 50%; transform: translateY(-50%);}
	#template .txt {margin: 50px 0 20px; font-size: 25px; word-break: keep-all;}

	.tem-list {grid-row-gap: 15px; grid-column-gap: 15px;}
	.tem-list .img-wrap a {height: 160px;}
	.tem-list .img-wrap { aspect-ratio: 385/230; }
	.tem-list .txt-wrap > div strong, .tem-list .txt-wrap > div p {float: none;}
	.tem-list .txt-wrap > div strong {margin-bottom: 10px;}
}

@media all and (max-width:481px) {
	.tem-list {grid-template-columns: repeat(1, 1fr);}
	.tem-list .img-wrap a {height: 250px;}
	.tem-list .img-wrap { aspect-ratio: 385/230; }
	.tem-list .txt-wrap > div strong, .tem-list .txt-wrap > div p {float: none;}
	.tem-list .txt-wrap > div strong {margin-bottom: 8px;}
}