@charset "utf-8";

/*---------------------------------------------------
 tips
----------------------------------------------------*/
#tips_inner {
	max-width: 1500px;
    width: 90%;
	margin: 160px auto;
}
#tips_inner .text{
    font-size: var(--fsize-22);
    letter-spacing: .02em;
	margin-bottom: 80px;
}
.tips-list {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
	gap: 100px 150px;
}


.tips-list figure {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 33px;
    margin-block-end: 30px;
}
.tips-list figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.tips-list figure img:hover {
	transform: scale(1.2);
	transition: all 0.3s ease;
}


.tips-list dl {
    padding-inline: .3em;
}
.tips-list dt {
	font-family: var(--font-base);
    font-size: var(--fsize-24);
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--color-blue);
    margin-block-end: .5em;
    line-height: 1.5;
	transition: all .5s ease;
}
.tips-list a:hover dt {
	color: #6a8fa8;
	transition: all 0.3s;
}

.tips-list a dd {
    font-size: var(--fsize-20);
    line-height: 1.8;
    letter-spacing: .02em;
    margin-block-end: 1em;
	color: #2b3234;
	transition: all .5s ease;
}
.tips-list a:hover dd {
	color: var(--color-blue);
	transition: all 0.3s;
}

.tips-list dd:last-of-type {
    margin-block-end: 0;
}
.tips-list dd.update {
	font-size: var(--fsize-18);
    line-height: 1.5;
}
.tips-list dd.update span {
    display: inline-block;
}

/*------------------------------ responsive */

@media screen and (max-width: 1200px) {
	#tips_inner {
		margin: 120px auto;
	}
	#tips_inner .text {
		font-size: var(--fsize-20);
	}
    .tips-list {
		grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    .tips-list dt {
        font-size: var(--fsize-22);
    }
    .tips-list dd {
        font-size: var(--fsize-18);
    }
    .tips-list dd.update {
	    font-size: 1rem;
    }
}
@media screen and (max-width: 700px) {
	#tips_inner {
		margin: 80px auto;
	}
	.tips-list {
		grid-template-columns: 1fr;
	}
}

.content-wrap {
	max-width: 1150px;
	width: 90%;
	margin: 160px auto;
}
#tips .content-wrap {
	font-size: var(--fsize-22);
	letter-spacing: .02em;
}
#tips .content-wrap p {
	margin-block-end: 2em;
}
#tips .content-wrap img {
	display: inline-block;
	border-radius: 20px;
	overflow: hidden;
	width: 80%;
}
#tips .content-wrap .btn {
	margin: 50px auto 0;
}
#tips .title {
	margin-block-end: 50px;
}
#tips .title h3 {
	font-family: var(--font-base);
	font-weight: 500;
	font-size: var(--fsize-40);
	line-height: 1.5;
	letter-spacing: .04em;
	color: var(--color-blue);
	text-align: center;
	margin-block-end: 1em;
}
#tips .title .date {
	font-size: var(--fsize-18);
	line-height: 1.5;
	letter-spacing: .02em;
	text-align: right;
}
#tips .title .date span {
	display: inline-block;
	margin-inline-end: 1em;
}

#tips h4 {
	font-size: var(--fsize-26);
	margin: 0 0 2em 0;
	text-align: center;
}

/*------------------------------ responsive */
@media screen and (max-width: 1200px) {
	.content-wrap {
		margin-block: 120px
	}
	#tips .content-wrap {
		font-size: var(--fsize-20);
	}
	#tips .title h3 {
		font-size: var(--fsize-36);
	}
	#tips .title .date {
		font-size: 1rem;
	}
}
@media screen and (max-width: 700px) {
	.content-wrap {
		margin-block: 80px;
	}

    #tips .content-wrap img {
		width: 100%;
	}
	#tips h4 {
		line-height: 1.8;
	}
}
@media screen and (max-width: 480px) {
	.content-wrap {
		margin-block: 80px;
	}
	#tips .content-wrap {
		font-size: var(--fsize-18);
	}
	#tips .title h3 {
		font-size: var(--fsize-30);
	}
	#tips .title .date {
		font-size: var(--fsize-15);
	}

	#tips h4 {
		margin: 0 0 1em 0;
	}
}

/*nav*/
nav {
    display: block;
    unicode-bidi: isolate;
}
.pagination {
    margin-top: 5.75em;
}
.pagination .nav-links {
    align-items: center;
    display: flex
;
    flex-wrap: wrap;
    justify-content: center;
}
.pagination .nav-links > *:not(.prev):not(.next):not(.dots):not(.index) {
    align-items: center;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    height: 40px;
    margin-inline: 0.25em;
    width: 40px;
    width: 40px;
}
.pagination .current {
    background-color: var(--color-blue);
    color: #FFF;
}
.pagination .nav-links a {
    color: var(--color-blue);
    font-size: 16px;
    font-weight: 500;
}

