.sp_only {
    display: none;
}

body{
    /*font-family: a-otf-ud-shin-go-pr6n, sans-serif;*/
	font-family: "新ゴ R", sans-serif;
    font-weight: 400;
}


main {
    margin-top: 100px;
}

/* エフェクト */
.fadeup {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s, transform 1s;
    transition-delay: 0.3s;
}

.inview {
    opacity: 1;
    transform: translateY(0px);
}

/* 共通見出し */
.common-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 1325px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 23px;
}

.common-title__en {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    position: relative;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.02em;
}

.common-title__en::before {
    content: " ";
    position: absolute;
    left: 107%;
    bottom: 5px;
    width: 100vw;
    height: 1px;
    background-color: #000;
}

.common-title__jp {
    font-size: .24rem;
    font-weight: 500;
    margin-right: 40px;
    margin-bottom: 10px;
}


/* ボタン */
.common-btn {
    font-size: .16rem;
    color: #4D4D4D;
    border: solid 1px #4D4D4D;
    width: fit-content;
    margin: 0 auto;
    display: block;
        padding: 4px 63px 17px;
        position: relative;
}

.btn-arrow {
    position: absolute;
    left: 15px;
    bottom: 12px;
    width: 350px;
    height: 1px;
}

.btn-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 1px;
    width: 85%;
    background: #4D4D4D;
    transition: width 0.4s ease;
}

.btn-arrow::after {
    content: '';
    position: absolute;
    left: calc(100% - 77px);
    top: -5px;
    width: 25px;
    height: 10px;
    border-top: 1px solid #4D4D4D;
    transform: rotate(
23deg);
    transition: left 0.4s ease;
}

.common-btn:hover{
    opacity: 1;
}

.common-btn:hover .btn-arrow::before {
    width: 90%;
}

.common-btn:hover .btn-arrow::after {
    left: calc(100% - 60px);
}

/* 縦見出し */
.common-vertical__heading {
    display: flex;
    align-items: flex-end;
}

.common-vertical__heading--en {
    font-size: 1rem;
    line-height: 1;
    position: relative;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    letter-spacing: 0.02em;
    writing-mode: vertical-lr;
    padding-right: 40px;
    padding-bottom: 72px;
    margin-right: 42px;
}

.common-vertical__heading--en::before{
    content: "";
    position: absolute;
    right: 0;
    height: 100%;
    width: 1px;
    background-color: #000;
}

.common-vertical__heading--jp {
    font-size: .24rem;
	font-weight: 500;
    writing-mode: vertical-lr;
}


/*
.lower-title__back {
    background-image: url();
    background-repeat: no-repeat;
    background-size: cover;
    padding: 125px 0;
    width: 85.5%;
    margin-left: auto;
    margin-bottom: 42px;
}
*/

.lower-title__back {
    /*width: calc(60% + (50vw - 50%));*/
	    padding-left: 175px;
}

.lower-title__back img {
    width: 100%;
    height: auto;
    display: block;
}
.lower-title {
    margin-left: auto;
    padding-left: calc((100vw - 1200px) / 2);
	/*display: flex;
	justify-content: space-between;
    align-items: flex-end;*/
}

.lower-title__name{
	margin-top: 50px;
}
.lower-title__jp{
    font-size: .48rem;
    font-weight: bold;
    line-height: 1.5;
	font-family: "新ゴ B", sans-serif;
    letter-spacing: 0.06em;
}

.lower-title__en {
    font-size: .30rem;
    font-weight: 500;
    font-family: "Oswald", sans-serif;
    line-height: 1.2;
}

.lower-title__back img.sp_only{
	display:none !important;
}

.lower-title__back img.pc_only{
	display:block !important;
}

/* 共通ボタン */
.lower-btn-box{
    width: 740px;
    max-width: 100%;
    margin: 168px auto 0;
    display: flex;
    justify-content: space-between;
}

.lower-common-btn{
    margin: 0;
    width: 45%;
    font-size: .24rem;
    padding: 27px 0;
        color: #003F92;
    font-weight: 500;
    border: solid 2px #003F92;
        display: block;
    text-align: center;
    position: relative;
    transition: all .3s;
}

.lower-common-btn::after {
    content: "";
    position: absolute;
    right: -3px;
    top: -3px;
    background-image: url(../images/common/btn-arrow.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    border-bottom: solid 4px #fff;
    border-left: solid 4px #fff;
    transition: all .3s;
}

.lower-common-btn::before {
    content: "";
    position: absolute;
    right: -2px;
    top: -2px;
    background-color: #fff;
    width: 25px;
    height: 25px;
}


.lower-common-btn:hover {
    opacity: 1;
}

.lower-common-btn:hover.lower-common-btn::after {
    right: -7px;
    top: -7px;
}


/* ニュース */
.news-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 1260px;
    max-width: 100%;
    padding: 0 30px;
    margin: 0 auto;
}

.news-item {
    width: 30%;
    margin-bottom: 30px;
}

.news-item:hover {
    opacity: 1;
}

.news-thumb {
    margin: 0 0 27px;
    aspect-ratio: 3 / 2;
    width: 100%;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.news-thumb:hover img {
    transform: scale(1.1);
    opacity: 1;
}

.news-tag {
    font-size: .13rem;
    color: #fff;
    background-color: #2E4287;
    padding: 0px 0px;
    width: 91px;
    text-align: center;
    margin-right: 18px;
    display: inline-block;
    margin-bottom: 9px;
    font-weight: 600;
}

.news-text {
    font-size: .16rem;
    color: #000;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}

.news-date {
    font-size: .16rem;
    color: #000;
    letter-spacing: 0.12em;
}

.linkbtn {
    margin: 0 auto;
    font-size: .16rem;
    color: #003F92;
    font-weight: 500;
    border: solid 2px #003F92;
    width: 18%;
    padding: 10px 0;
    margin-bottom: 27px;
    text-align: center;
    position: relative;
    transition: all .3s;
    display: block;
}
.linkbtn-span {
    display: block;
    line-height: 1.4;
}
.linkbtn-white {
    color: #fff;
    border: solid 2px #fff;
    width: 242px;
    padding: 14px 0;
}
.linkbtn::before {
    content: "";
    position: absolute;
    right: -2px;
    top: -2px;
    background-color: #fff;
    width: 25px;
    height: 25px;
}
.linkbtn::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -2px;
    background-image: url(../images/common/btn-arrow.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    border-bottom: solid 4px #fff;
    border-left: solid 4px #fff;
    transition: all .3s;
}
.linkbtn-white::before {
    background-color: #003078;
}
.linkbtn-white::after {
    background-image: url(../images/common/btn-arrow-white.svg);
    border-bottom: solid 4px #003078;
    border-left: solid 4px #003078;
}
.linkbtn:hover{
    opacity: 1;
}
.linkbtn:hover::after {
    right: -7px;
    top: -7px;
}

/* ヘッダーナビhover時のbodyへの効果 */
body.nav-open::after {
  content: '';
  position: fixed;
  inset: 0;
  top: 100px; /* ヘッダーの高さ分下げる */
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 99;
  pointer-events: none;
}

/* メガメニューはオーバーレイより前面 */
.mega-menu {
  z-index: 100;
  position: relative;
}

/* 写真背景バナー用の派生クラス */
.linkbtn.linkbtn-banner {
    color: #fff;
    border: solid 2px #fff;
    width: 319px;
    padding: 12px 20px;

    /* clip-path で右上角を切り欠く（::before の白四角が不要になる） */
    clip-path: polygon(
        0% 0%,
        calc(100% - 25px) 0%,
        calc(100% - 25px) 25px,
        100% 25px,
        100% 100%,
        0% 100%
    );
}

.linkbtn.linkbtn-banner::before {
    background-color: transparent; /* 白四角を透明に → 写真が透けてborderの切れ目が自然に見える */
}

.linkbtn.linkbtn-banner::after {
    background-image: url(../images/common/btn-arrow-white.svg);
    border-bottom: none;
    border-left: none;
}




@media screen and (max-width:800px) {
    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }
	
	.common-title__en {
    font-size: .60rem;
	}
    .common-title__en span:last-child {
        left: 104% !important;
    }
main {
    margin-top: 70px;
}

.common-title__jp {
        font-size: .18rem;
    writing-mode: initial;
    width: calc(100vw - 35px);
    text-align: right;
    margin-right: 0;
    margin-bottom: 0;
}
	
	
	.common-title {
    	flex-direction: column;
	    align-items: flex-start;
		padding: 0 10px;
}


.common-vertical__heading--en {
    font-size: .60rem;
    padding-right: 5px;
    padding-bottom: 0px;
    margin-right: 10px;
}

.common-vertical__heading--jp {
    font-size: .18rem;
	margin-bottom: 6px;
}

.common-vertical__heading {
	align-items: flex-end;
}

.common-vertical__heading--en::before {
    /*content: " ";
    position: absolute;
    left: 107%;
    bottom: 5px;
    width: 100vw;
    height: 1px;
    background-color: #000;*/
}

.lower-title__jp {
    font-size: .32rem;
}

.lower-title__en {
    font-size: .20rem;
}

.lower-title__name {
    margin-top: 86px;
    width: 84%;
    margin: 86px auto 0;
}

.lower-title__back {
    /* width: calc(60% + (50vw - 50%)); */
    padding-left: 0;
}


.lower-title__back img.sp_only{
	display:block !important;
}

.lower-title__back img.pc_only{
	display:none !important;
}

.lower-common-btn {
    width: 242px;
    font-size: .18rem;
    padding: 10px 0;
    margin: 0 auto 21px;
}

.lower-btn-box {
    flex-direction: column;
    margin: 80px auto 0;
}



/*お知らせ*/
.news-item {
    width: 100%;
    margin-bottom: 30px;
}

.news-item:last-child{
	margin-bottom: 0px;
}

.news-container {
	flex-direction: column;
}
.news-text {
    font-size: .15rem;
}

.news-date{
	font-size: .15rem;
}

}