@charset "UTF-8";
/* CSS Document */
#first-image {
	width: 100%;
	height: 90vh;
    max-height: 700px;
	box-sizing: border-box;
	margin: 120px 0 0 0;
	padding: 0;
	position: relative;
	overflow: hidden;
	background-image: url("../img/first-image_top.jpg");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 75% auto;
}
.catch {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: clamp(47px, 4vw,60px);
    line-height: 1.6em;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    color: #002d94;
    z-index: 12;
    display: inline-block;
    writing-mode: vertical-rl;
    white-space: nowrap;
    
    position: absolute;
    top: 45%;
    right: 3%;
    transform: translateY(-45%);
    -webkit-transform: translateY(-45%);
    -ms-transform: translateY(-45%);
}
.catch .kakko {
    display:inline-block;
    transform: translateY(-0.55em);
}

header {
    height: auto;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    position: relative;
}
section {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    display: block;
}
section2 {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 50px 0;
    background: linear-gradient(to bottom, 
    transparent 30%, 
    #E7EAE6 30%, 
    #E7EAE6 70%, 
    transparent 70%);
    display: inline-block;
}
.container {
    width: 100%;
    box-sizing: border-box;
    padding: 0 5%;
    margin: 0;
    position: relative;
    display: block;
}
.container-b {
	width: 100%;
    min-height: 500px;
	box-sizing: border-box;
	padding: 100px 0 30px;
	margin: 70px 0;
	position: relative;
	background-image: url("../img/top-bg.jpg?2");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
    text-align: left;
}
.about {
    width: 60%;
    box-sizing: border-box;
    background-color: rgba(255,255,255,0.80);
    display: inline-block;
    padding: 70px 40px 40px;
    margin: 0 3%;
}
.about_h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(30px, 3vw,50px);
    line-height: 1.5em;
    margin: 0 0 20px;
    padding: 0;
}
.about_h1 strong {
    color: #FB8118;
    font-weight: 600;
    font-style: normal;
}
.about_p {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(16px, 1.1vw,17px);
    line-height: 2em;
    margin: 0;
    padding: 0;
    text-align: justify;
    text-align: justify-all;
}
.about_lbtn {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(16px, 1.1vw,17px);
    line-height: 1.6em;
    text-decoration: none;
    margin: 20px 0;
    padding: 10px 30px 10px 15px;
    display: inline-block;
    background-color: #403d3c;
    color: #fff;
    transition: 0.3s;
}
.about_lbtn:hover {
    background-color: #002d94;
    transition: 0.3s;
}
.eligibility-description {
    width: 100%;
    margin: 10px auto;
    padding: 20px;
    display: block;
    box-sizing: border-box;
    border: 1px solid #002c94;
    background-color: #f3f7ff;
}
.section__container__h2 {
	font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 35px;
    line-height: 1.2em;
    display: inline-block;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 10px;
}
.section__container__h2 small {
    font-weight: 300;
    font-size: 0.6em;
    line-height: 1em;
    font-style: italic;
    display: block;
    margin: 0;
    padding: 0;
}
.section__container__h2 strong {
    color: #002c94;
    font-weight: 600;
    font-style: normal;
}
.section__container__eligibility-description__h4 {
	font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(17px, 1.2vw,19px);
    line-height: 1.6em;
    color: #002c94;
    display: inline-block;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 7px;
}
.eligibility-description__p {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(16px, 1.1vw,17px);
    line-height: 1.6em;
    margin: 0;
    padding: 0;
    text-align: justify;
    text-align: justify-all;
}
.eligible-students-wrap {
    display: flex;
    justify-content: center;
    gap: 5%;
    padding: 0;
    box-sizing: border-box;
}
.eligible-students,
.eligible-students-gs {
    width: 47.5%;
    display: block;
    box-sizing: border-box;
    position: relative;
    padding: 0 0 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.eligible-students {
    background-color: #379e49;
}
.eligible-students-gs {
    background-color: #9d1c49;
}
.eligible-students:hover {
    background-color: #2f7f3d; /* 少し暗く */
}
.eligible-students-gs:hover {
    background-color: #7d163d;
}
.eligible-students__h5 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 23px;
    line-height: 1.6em;
    color: #fff;
    display: inline-block;
    padding: 0;
    margin: 0 20px 7px;
}
.eligible-students .es-image , .eligible-students-gs .es-image {
    margin: 0 0 10px;
    padding: 0;
    width: 100%;
}
.eligible-students__p {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(16px, 1.1vw,17px);
    color: #fff;
    line-height: 1.6em;
    margin: 0 20px;
    padding: 0;
    text-align: justify;
    text-align: justify-all;
}
.eligible-students .entry,
.eligible-students-gs .entry {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 25px;
    color: #fff;
    line-height: 1em;
    position: absolute;
    right: 20px;
    bottom: 20px;
    transition: 0.3s;
}
.eligible-students:hover .entry {
    color: #c9f5d0; /* 薄いミント系 */
    transition: 0.3s;
}
.eligible-students-gs:hover .entry {
    color: #ffd1dc; /* 薄いピンク系 */
    transition: 0.3s;
}
.news-container {
    width: 100%;
    box-sizing: border-box;
    padding: 30px 5%;
    margin: 50px 0;
    position: relative;
}
.news-container__h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 35px;
    line-height: 1.2em;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-65%);
    margin: 0;
}
.news-container__h3 small {
    font-weight: 300;
    font-size: 0.6em;
    line-height: 1em;
    font-style: italic;
    display: block;
    margin: 0;
    padding: 0;
}
.news {
    width: 70%;
    height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    margin: 0 0 0 30%;
    padding: 0;
    list-style: none;
}
.news li a {
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #fff;
    transition: 0.3s;
}
.news li a:hover {
    color: #7d163d;
    border-bottom: 1px solid #7d163d;
    transition: 0.3s;
}
.news li {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(14px, 1vw,16px);
    line-height: 1.6em;
    vertical-align: text-top;
    box-sizing: border-box;
    position: relative;
    padding: 15px 10px 15px 8em;
    margin: 0;
    border-bottom: 1px solid #ACACAC;
}
.news li .day {
    position: absolute;
    top: 15px;
    left: 10px;
}
.info-btn-wrap {
    width: 100%;
    padding: 30px 5%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    gap: 3%;
}
.info-btn {
    width: 31%;
    min-height: 210px;
    background: #e1eaf7;
    border-radius: 10px;
    padding: 25px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.info-btn .icon {
    width: auto;
    height: auto;
    max-height: 90px;
    margin-bottom: 20px;
}
.info-btn .i-name {
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: #000;
    text-align: center;
    line-height: 1.4em;
    margin-bottom: 20px;
}
.info-btn .more {
    display: inline-block;
    background: #2d211c;
    color: #fff;
    text-decoration: none;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(13px, 1vw,15px);
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 5px;
    transition: .3s;
}
.info-btn .more:hover {
    background-color: #002d94;
    transition: 0.3s;
}
.scholarship-forms-wrap {
    display: flex;
    justify-content: center;
    gap: 5%;
    padding: 0;
    margin-bottom: 50px;
    box-sizing: border-box;
}
.scholarship-forms,
.scholarship-forms-gs {
    width: 47.5%;
    display: block;
    box-sizing: border-box;
    position: relative;
    padding: 0 0 7px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.scholarship-forms {
    background-color: #002c94;
}
.scholarship-forms-gs {
    background-color: #002c94;
}
.scholarship-forms:hover {
    background-color: #001D63;
}
.scholarship-forms-gs:hover {
    background-color: #001D63;
}
.scholarship-forms__h5 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 25px;
    line-height: 1.6em;
    color: #fff;
    display: inline-block;
    padding: 0;
    margin: 0 20px 7px;
}
.scholarship-forms .es-image , .scholarship-forms-gs .es-image {
    margin: 0 0 10px;
    padding: 0;
    width: 100%;
}
.scholarship-forms .entry,
.scholarship-forms-gs .entry {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 25px;
    color: #fff;
    line-height: 1em;
    position: absolute;
    right: 20px;
    bottom: 20px;
    transition: 0.3s;
}
.scholarship-forms:hover .entry {
    color: #B6CCFF;
    transition: 0.3s;
}
.scholarship-forms-gs:hover .entry {
    color: #B6CCFF;
    transition: 0.3s;
}




@media only screen and (max-width: 899px) {
#first-image {
	width: 100%;
	height: 85vh;
    min-height: 600px;
    max-height: inherit;
	margin: 120px 0 0 0;
	padding: 0;
	background-position: center bottom;
	background-size: auto 90%;
}
.catch {
    font-size: clamp(35px, 9.2vw,60px);    
    position: absolute;
    top: 0;
    right: 3%;
    transform: translateY(0%);
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
}
.catch .kakko {
    display:inline-block;
    transform: translateY(-0.55em);
}
.container-b {
    min-height: 500px;
	padding: 0px 0 50px;
	margin: 70px 0;
	background-position: 80% bottom;
	background-size: auto 70%;
}
.about {
    width: 80%;
    padding: 30px 5%;
    margin: 0 0;
}
.about_p {
    font-size: 14px;
    line-height: 2em;
    margin: 0;
    padding: 0;
}
.eligible-students-wrap {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 30px; /* 上下の間隔はお好みで調整してください */
}
.eligible-students,
.eligible-students-gs {
    width: 100%;
    padding: 0 0 50px;
}
.eligible-students .es-image , .eligible-students-gs .es-image {
    margin: 0 0 10px;
    padding: 0;
    width: 100%;
}
.eligible-students__p {
    font-size: 15px;
    line-height: 1.6em;
    margin: 0 20px;
    padding: 0;
}
.eligible-students .entry,
.eligible-students-gs .entry {
    font-size: 30px;
    line-height: 1em;
    position: absolute;
    right: 20px;
    bottom: 20px;
    transition: 0.3s;
}
.news-container {
    width: 100%;
    padding: 30px 5%;
    margin: 50px 0 0;
}
.news-container__h3 {
    font-size: 30px;
    line-height: 1.2em;
    position:inherit;
    left: 0;
    top: 30px;
    transform: translateY(-65%);
    margin: 0;
}
.news-container__h3 small {
    font-size: 0.6em;
}
.news {
    width: 100%;
    height: 300px;
    margin: 20px 0;
    padding: 0;
}
.news li {
    font-size: 14px;
    padding: 15px 10px 15px 8em;
    margin: 0;
}
.news li .day {
    position: absolute;
    top: 15px;
    left: 10px;
}
.info-btn-wrap {
    width: 96%;
    padding: 30px 2%;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6%;
}
.info-btn {
    width: 47%; /* (100% - gap3%) ÷ 2 */
    margin-bottom: 30px;
}
.info-btn .icon {
    width: auto;
    height: auto;
    max-height: 90px;
    margin-bottom: 20px;
}
.info-btn .i-name {
    font-size: 22px;
    line-height: 1.4em;
    margin-bottom: 15px;
}
.info-btn .more {
    font-size: 15px;
    padding: 8px 18px 10px;
    border-radius: 5px;
    transition: .3s;
}
.section__container__h2 {
    font-size: 30px;
    line-height: 1.2em;
    padding: 0;
    margin: 0 0 20px;
}
.scholarship-forms-wrap {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto 50px;
    gap: 30px; /* 上下の間隔はお好みで調整してください */
}
.scholarship-forms,
.scholarship-forms-gs {
    width: 100%;
}
.scholarship-forms .entry,
.scholarship-forms-gs .entry {
    font-size: 20px;
    line-height: 1em;
    position: absolute;
    right: 15px;
    bottom: 20px;
    transition: 0.3s;
}
.eligible-students__h5 {
    font-size: 20px;
    padding: 0;
    margin: 0 15px 7px;
}
.eligibility-description__p {
    font-size: 13px;
    line-height: 1.6em;
    margin: 0;
    padding: 0;
}
    
    
}