/* =================================
   common
================================= */
section {
    margin-top: 50px;
}
section:first-of-type {
    margin-top: 0;
    padding-top: 50px;
}
.section__wrap {
    position: relative;
    padding-bottom: 100px;
}
.topnews__deco01__wrap #topnews__deco01{
    position: absolute;
    top: 0;
    left: 0;
    width: 26%;
	z-index: -1;
}
.topnews__deco02__wrap #topnews__deco02 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 26%;
	z-index: -1;
}

/* =================================
   kv
================================= */
.main__visual__wrap {
    display: flex;
    flex: 1;
	position: relative;
}
.maincopy__wrap {
    position: absolute;
    top: calc(50% - 60px);
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}
.maincopy__wrap span {
    font-size: 2.4rem;
    font-family: var(--serif);
}
.maincopy__wrap h2 {
    font-size: 8.2rem;
    font-family: var(--serif);
    letter-spacing: 0.25em;
    font-weight: 600;
}
a.main__link {
    display: flex;
    flex-direction: column;
    width: 50%;
    position: relative;
}
.main__link__thumb {
    overflow: hidden;
}
.main__link__thumb img {
    aspect-ratio: 10/7;
    object-fit: cover;
    width: 100%;
    transition: all 0.5s;
}
.main__link__text {
    text-align: center;
    color: #ffffff;
    height: 120px;
    padding-right: 50px;
    padding-left: 50px;
    position: relative;
}
.main__link__text:before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    top: 50%;
    right: 30px;
    transform: translateY(-50%) rotate(-45deg) skew(-15deg, -15deg);
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    transition: all 0.5s;
}
.main__link__textinner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.main__link__textinner h2 {
    font-size: 4.0rem;
    font-weight: 400;
}
.main__link__textinner span {
    font-size: 1.8rem;
}
.main__link[href*="/jshs/"] .main__link__text {
  background: var(--jhsh-g);
}
.main__link[href*="/hs/"] .main__link__text {
  background: var(--hs-g);
}

/* =================================
   blog
================================= */
section.blog h2 {
    font-family: "Noto Serif JP", sans-serif;
    font-weight: 600;
	text-align: center;
    font-size: 2.6rem;
}
.top-news-contentWrapper {
    margin-top: 30px;
}
.top-news-contentWrapper .slick-track {
    display: flex;
    gap: 20px;
}
a.article_blk-a {
    display: flex;
    background-color: #f2f2f2;
    align-items: center;
    height: 100%;
}
.article_blk-article {
    width: calc(100% / 3);
	height: 100%;
}
.article_blk-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
}
.article_blk-thumb img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}
.article_blk-textBox {
    flex-grow: 1;
}
.article_blk-textBoxInner {
    font-size: 1.2rem;
    color: var(--txt);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 25px 10px 15px;
    position: relative;
}
.article_blk-textBoxInner:before {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	top: 50%;
	right: 15px;
	transform: translateY(-50%) rotate(-45deg) skew(-15deg, -15deg);
	border-right: 1px solid var(--txt);
	border-bottom: 1px solid var(--txt);
	transition: all 0.5s;
}
.btn.article_blk-btn {
    margin-top: 30px;
}
a.btn-a.article_blk-btn-a {
    background-color: transparent;
    color: var(--txt);
    border: 1px solid var(--txt);
    padding: 5px 40px;
}
a.btn-a.article_blk-btn-a:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(-45deg) skew(-15deg, -15deg);
    border-right: 1px solid var(--txt);
    border-bottom: 1px solid var(--txt);
    transition: all 0.5s;
	background-color: transparent;
}
a.btn-a.article_blk-btn-a:after{
	content: none;
}

.slick-prev, .slick-next {
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    top: calc(50% - (39px / 2));
    border: 1px solid #b3b3b3;
}
.slick-next{
    right: -15px;
}
.slick-next:before{
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg) skew(-15deg, -15deg);
    border-right: 1px solid var(--txt);
    border-bottom: 1px solid var(--txt);
}
.slick-prev{
    left: -15px;
}
.slick-prev:before{
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg) skew(-15deg, -15deg);
    border-top: 1px solid var(--txt);
    border-left: 1px solid var(--txt);
}
.slick-slider .slick-dots li button {
    border-radius: 100vh;
	border: 1px solid #b3b3b3;
}
.slick-slider .slick-dots li.slick-active button{
    background-color: #b3b3b3;
}

.slick-prev:hover, .slick-next:hover {
    background: #ffffff;
}
.slick-slide > div{
	height: 100%;
}

/* =================================
   top-txt-link
================================= */
section.txt-link {
    margin-top: 100px;
}
.toptxt__link__wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
a.toptxt__link__ind {
    width: calc((100% / 3) - (40px / 3));
    font-family: "Noto Serif JP", sans-serif;
    display: flex;
    flex-direction: column;
    color: var(--txt);
    text-align: center;
    border: 1px solid #b3b3b3;
    min-height: 70px;
    justify-content: center;
    padding: 0 30px;
    position: relative;
    align-items: center;
	background-color: #ffffff;
}
a.toptxt__link__ind:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(-45deg) skew(-15deg, -15deg);
    border-right: 1px solid var(--txt);
    border-bottom: 1px solid var(--txt);
    transition: all 0.5s;
}
span.toptxt__link__name {
    font-size: 1.8rem;
}
span.toptxt__link__nameEn {
    font-size: 1.2rem;
    padding: 0 15px;
    position: relative;
}
span.toptxt__link__nameEn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 1px;
    background-color: var(--txt);
    transform: translateY(-50%);
}
span.toptxt__link__nameEn:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 10px;
    height: 1px;
    background-color: var(--txt);
}

@media (hover: hover) {
	a.main__link:hover .main__link__thumb img {
		transform: scale(1.1);
	}
	a.main__link:hover .main__link__text:before{
		transform: translateY(-50%) rotate(-45deg) skew(25deg, 25deg);
	}
	.article_blk-textBoxInner:hover:before{
		transform: translateY(-50%) rotate(-45deg) skew(25deg, 25deg);
	}
	a.toptxt__link__ind:hover:before{
		transform: translateY(-50%) rotate(-45deg) skew(25deg, 25deg);
	}
	a.btn-a.article_blk-btn-a:hover:before{
		transform: translateY(-50%) rotate(-45deg) skew(25deg, 25deg);
	}
	a.toptxt__link__ind:hover {
		background-color: rgba(221, 221, 221, 0.4);
	}
}

@media only screen and (max-width: 1023px) {
    .main__link__textinner h2 {
		font-size: 3.2rem;
	}
	.main__link__text {
		height: 90px;
	}
	.topnews__deco01__wrap #topnews__deco01 {
		width: 40%;
	}
	.topnews__deco02__wrap #topnews__deco02 {
		width: 40%;
	}
}

@media only screen and (max-width: 767px) {
	.section__wrap{
		padding-bottom: 60px;
	}
	.maincopy__wrap{
		display: none;
	}
    .main__link__textinner h2 {
		font-size: 2.2rem;
	}
	.main__link__textinner span {
		font-size: 1.0rem;
	}
	.main__link__text {
		height: 55px;
	}
	.main__link__text:before {
		right: 20px;
		width: 10px;
		height: 10px;
	}
	
	section.blog h2 {
		font-size: 2.4rem;
	}
	.top-news-contentWrapper {
		margin-top: 20px;
	}
	.article_blk.clearfix {
		flex-direction: column;
	}
	.article_blk-article {
		width: 100%;
	}
	.btn.article_blk-btn {
		margin-top: 10px;
	}
	a.btn-a.article_blk-btn-a{
		min-height: 50px;
	}
	
	section.txt-link {
		margin-top: 60px;
	}
	a.toptxt__link__ind {
		width: calc((100% / 2) - 5px);
		padding: 0 10px;
	}
	.toptxt__link__wrap {
		gap: 10px;
	}
	span.toptxt__link__name {
		font-size: 1.3rem;
	}
	span.toptxt__link__nameEn {
		font-size: 1.0rem;
		padding: 0 10px;
	}
	a.toptxt__link__ind:before {
		right: 5px;
		width: 5px;
		height: 5px;
	}
	span.toptxt__link__nameEn:before,
	span.toptxt__link__nameEn:after {
		width: 5px;
	}
}

@media only screen and (max-width: 500px) {
    .main__visual__wrap {
		flex-direction: column;
	}
	a.main__link {
		width: 100%;
		flex-direction: column-reverse;
	}
	.main__link__thumb img {
		aspect-ratio: 16 / 9;
	}
	
	.topnews__deco01__wrap #topnews__deco01 {
		width: 65%;
	}
	.topnews__deco02__wrap #topnews__deco02 {
		width: 65%;
	}
}

