/*============================== 共通 ==============================*/

.margin-bottom {
    margin-bottom: 1em;
}

.large-space {
    padding: 0px 100px;
}

/*========== font ==========*/
body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

/*========== 本文font-size ==========*/

.article-section {
    margin-bottom: 10px;
    padding: 10px 5%;
}

.title {
    font-size: 22px;
    padding: 10px 0px;
    font-weight: 600;
    color: #3a3400;
    letter-spacing: 0.05em;
    margin: 0px;
}

.full-width-line {
    border: none;
    border-top: 1px solid #333333;
    width: 100%;
    margin: 0px;
    padding-bottom: 10px;
}

.text {
    line-height: 1.8;
    font-size: 16px;
    margin: 0px;
    color: #2c2800;
    padding-top: 5px;
    padding-bottom: 5px;
    letter-spacing: 0.05em;
}

.text a {
    text-decoration: none;
}

.bullet-points-position {
    padding-left: 30px;
}

/*========== child-hero ==========*/

.child-hero-section {
    text-align: center;
    padding: 0px 0px 5% 0px;
    position: relative;
    display: inline-block;
}

.child-hero-section-image-position1 {
    object-fit: cover;
    width: 100%;
    height: calc(100vh - 300px);
    object-position: 50% 40%;
    display: block;
}

.child-hero-section-image-position2 {
    object-fit: cover;
    width: 100%;
    height: calc(100vh - 300px);
    object-position: 50% 70%;
    display: block;
}

.child-hero-section-image-text {
    position: absolute;
    bottom: 25%;
    left: 15%;
    color: #f5f5f5;
    text-align: left;
    letter-spacing: 0.1em;
}

.child-hero-section-image-text-gray {
    position: absolute;
    bottom: 25%;
    left: 15%;
    color: #333333;
    text-align: left;
    letter-spacing: 0.1em;
}

.child-hero-section-image-text h2 {
    font-size: 56px;
}

@media screen and (max-width: 1500px) {
    .child-hero-section-image-position1 {
        object-fit: contain;
        width: 100%;
        height: auto;
        object-position: none;
    }

    .child-hero-section-image-position2 {
        object-fit: contain;
        width: 100%;
        height: auto;
        object-position: none;
    }
}

/*========== color ==========*/
.heading-yewllo {
    --line-color: #d0b947;
}

.heading-green {
    --line-color: #5fcd95;
}

.background-color-gray {
    background-color: #f5f5f5;
}


/*============================== header ==============================*/

/*========== global menu @pc ==========*/
.header-pc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10%;
    padding-right: 15%;
}

.logo-image {
    bottom: 0px;
    max-width: 350px;
}

.header-left {
    position: relative;
    padding-bottom: 3px;
    max-width: 710px;
}

.information-section {
    text-align: right;
    padding-right: 12px;
}

.information-section a {
    color: #666666;
    font-size: 15px;
}

.header-information {
    text-decoration: none;
    color: #333333;
    padding-left: 20px;
}

nav {
    display: flex;
    justify-content: space-around;
    color: #ffffff;
    text-align: center;
}

.icon {
    max-width: 40px;
    max-height: 40px;
}

.nav-links {
    margin: 0px;
    padding: 0px;
}

nav ul {
    position: relative;
    list-style: none;
    display: flex;
}

nav ul ul {
    display: block;
}

nav ul li a {
    position: relative;
    display: block;
    text-decoration: none;
    color: #333333;
    padding: 10px 35px;
    transition: all .3s;
    font-size: clamp(20px, 1.0vw, 1.2vw);
    font-weight: bold;
    white-space: nowrap;
}

nav ul li li a {
    padding: 20px;
}

nav ul li a:hover {
    color: #d0b947;
}

nav ul li.has-child img {
    max-width: 100%;
    height: auto;
    transition: all .5s;
    vertical-align: bottom;
}

nav ul li.has-child img:hover {
    transform: scale(1.2);
}

nav ul li.has-child dt {
    overflow: hidden;
    height: 20vh;
    margin: 0px 0px 0px 0px;
}

nav li.has-child ul {
    position: fixed;
    left: 0;
    z-index: 4;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(66, 66, 66, 0.8);
    width: 100vw;
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
}

nav li.has-child:hover>ul {
    display: flex;
    visibility: visible;
    opacity: 1;
}

nav li.has-child ul li {
    width: 20%;
}

nav li.has-child ul li a {
    color: #fafafa;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
    background: #d0b947;
}

@media screen and (max-width: 767px) {
    .header-pc {
        padding-left: 10px;
        display: none;
    }

    .logo-image {
        max-width: 250px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
    .header-pc {
        padding-left: 10px;
        display: none;
    }

    .logo-image {
        max-width: 250px;
    }
}

/*========== global menu @mobile ==========*/
.header-mobile {
    display: none;
}

#g-nav {
    position: fixed;
    z-index: -1;
    opacity: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #666666;
    transition: all 0.3s;
}

#g-nav.panelactive {
    opacity: 1;
    z-index: 999;
}

#g-nav.panelactive ul {
    display: block;
}

.mobile-nav-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 50px;
}

.mobile-nav-title {
    font-size: clamp(16px, 1.8vw, 35px);
    color: #fafafa;
    text-align: left;
    color: var(--line-color, #333333);
    font-weight: bold;
}

.mobile-nav-list-area {
    text-align: left;
}

.mobile-nav-list {
    list-style: none;
    font-size: clamp(16px, 1.8vw, 35px);
    letter-spacing: 0.05em;
    line-height: 30px;
    color: #fafafa;
}

.mobile-nav-list a {
    color: #fafafa;
    text-decoration: none;
}

.mobile-nav-line-space {
    padding: 30px 0px;
}

.mobile-nav-line {
    border-top: 0.5px solid #fafafa;
}

.openbtn {
    position: fixed;
    z-index: 9999;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #333333;
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 23px;
}

.openbtn span:nth-of-type(3) {
    top: 31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}

@media screen and (max-width: 767px) {
    .header-mobile {
        display: block;
    }
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
    .header-mobile {
        display: block;
    }

    .logo {
        padding-left: 5%;
    }

    @media screen and (max-height: 500px) {
        .mobile-nav-line-space {
            padding: 10px 0px;
        }

        .mobile-nav-list {
            font-size: 14px;
            line-height: 25px;
        }
    }
}

/*============================== footer ==============================*/
.footer-logo {
    color: #fafafa;
    text-align: center;
    font-size: clamp(15px, 1.2vw, 30px);
    padding: 30px 0px 10px 0px;
    letter-spacing: clamp(3px, 0.1vw, 20px);
}

.footer-image {
    background-image: url("../images/footer/footer-background.jpg");
    background-repeat: no-repeat;
    background-position: 50% 60%;
    background-size: 100%;
}

.footer-area {
    background-color: #333333c2;
    padding: 30px 250px;
    margin-top: 20px;
}

.footer-title {
    list-style: none;
    font-size: (20px, 0.8vw, 20px);
    letter-spacing: 0.1em;
    color: #fafafa;
}

.footer-title-en {
    font-size: clamp(12px, 0.7vw, 20px);
}

.footer-title-jp {
    font-size: clamp(12px, 1.1vw, 20px);
}

.footer-list {
    list-style: none;
    font-size: clamp(12px, 0.8vw, 20px);
    letter-spacing: 0.05em;
    line-height: clamp(20px, 1.5vw, 60px);
    margin-top: -10px;
}

.footer-list a {
    color: #fafafa;
    text-decoration: none;
}

.footer-button {
    width: 70%;
    padding: 10px 0px 20px 0px;
}

.footer-button-area {
    text-align: center;
}

.footer-menu-area {
    text-align: center;
    padding-top: 10px;
}

.footer-menu {
    color: #fafafa;
    text-decoration: none;
    font-size: 13px;
    padding: 0px 5px;
}

.footer-menu-link {
    width: 13px;
    height: auto;
}

.copyright {
    text-align: center;
    color: #fafafa;
    font-size: 12px;
    background-color: rgb(50, 50, 50);
    padding: 5px 0px;
}

@media screen and (max-width: 767px) {
    .footer-image {
        background-size: 200%;
    }

    .footer-area {
        padding: 0px 20px;
    }

    .footer-button {
        padding: 0px 0px 10px 0px;
        text-align: center;
    }
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
    .footer-image {
        background-size: 200%;
    }

    .footer-link-area {
        padding-left: 50px;
    }

    .footer-area {
        padding: 0px 100px;
    }

    .footer-list {
        margin-top: -10px;
    }

    .footer-button {
        padding: 0px 0px 10px 0px;
        text-align: center;
        width: 50%;
    }
}

.link-prepare {
    pointer-events: none;
}

/*============================== index ==============================*/

/*========== hero section ==========*/
.hero-section {
    padding: 0px;
    text-align: center;
}

#hero-video-player {
    object-fit: cover;
    width: 100%;
    box-shadow: 0 0 5px 1px #333333;
    display: block;
    height: calc(100vh - 87px);
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
    #hero-video-player {
        height: calc(100vh - 62px);
    }
}

@media screen and (max-width: 767px) {
    #hero-video-player {
        object-fit: contain;
        height: 100%;
    }
}

/*========== scrool-down ==========*/
.scrolldown {
    position: absolute;
    left: 50%;
    bottom: 10px;
    height: 50px;
}

.scrolldown span {
    position: absolute;
    left: -22px;
    top: -24px;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.scrolldown::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 30px;
    background: #fff;
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}

@keyframes pathmove {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    30% {
        height: 30px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 50px;
        opacity: 0;
    }
}

@media screen and (max-width: 767px) {
    .scrolldown {
        display: none;
    }
}

/*========== scroll-up ｜下から上へ出現 ==========*/
.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(100px);
    opacity: 0;
}

.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
}

@media screen and (max-width: 767px) {
    .scroll_up {
        transition: unset;
        transform: none;
        opacity: 1.0;
    }

    .scroll_up.on {
        transform: none;
    }
}

/*========== top-page contents ==========*/
.space {
    padding: 0px 30px;
}

.top-contents-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: clamp(15px, 1.8vw, 40px);
    letter-spacing: 0.1em;
    color: var(--line-color, #333333);
    padding-top: 3%;
}

.top-side-space {
    width: 65%;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
}

.top-contents-image-about {
    width: 100%;
}

.top-contents-image-career {
    width: 80%;
}

.top-contents-sentence-pc {
    letter-spacing: clamp(2px, 0.1vw, 20px);
    line-height: clamp(16px, 2.5vw, 60px);
    text-align: left;
    font-size: clamp(11px, 0.9vw, 20px);
    margin-bottom: 0px;
    padding-bottom: 30px;
    padding-top: 20px;
}

.top-contents-sentence-mobile {
    display: none;
    letter-spacing: clamp(2px, 0.1vw, 20px);
    line-height: clamp(16px, 2.5vw, 60px);
    text-align: left;
    font-size: clamp(11px, 0.9vw, 20px);
    margin-bottom: 0px;
    padding-bottom: 30px;
    padding-top: 20px;
}

.top-contents-title:before,
.top-contents-title:after {
    border-top: 2px solid;
    content: "";
    flex-grow: 1;
}

.top-contents-title:before {
    margin-right: 1em;
}

.top-contents-title:after {
    margin-left: 1em;
}

@media screen and (max-width: 767px) {
    .top-side-space {
        width: 80%;
        padding-top: 10px;
    }

    .top-contents-title:before {
        border-top: 0.5px solid;
    }

    .top-contents-title:after {
        border-top: 1px solid;
    }

    .top-contents-sentence-pc {
        display: none;
    }

    .top-contents-sentence-mobile {
        display: block;
        padding-bottom: 10px;
        padding-top: 10px;
    }
}

/*========== button ==========*/
.top-contents-btn {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border-radius: 10px;
    display: inline-block;
    background-color: #fff;
    padding: 10px 15px;
    text-align: center;
    outline: none;
    transition: ease .2s;
    width: 20%;
    border: 2px solid var(--line-color);
    font-size: clamp(12px, 1vw, 20px);
    white-space: nowrap;
}

.top-contents-btn span {
    position: relative;
    z-index: 3;
    color: var(--line-color);
}

.top-contents-btn:hover span {
    color: #fff;
}

.bgleft:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: var(--line-color);
    width: 100%;
    height: 100%;
    transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top;
}

.bgleft:hover:before {
    transform-origin: left top;
    transform: scale(1, 1);
}

.top-contents-line-space {
    padding-bottom: 50px;
}

.top-contents-line {
    border-top: 2px solid var(--line-color);
}

.top-contents-wind-power {
    text-align: right;
    padding-right: 3%;
}

.top-contents-wind-power img {
    height: 60px;
    width: auto;
    margin-top: -20px;
}

.top-contents-car {
    text-align: left;
    padding-left: 3%;
    padding-top: 15px;
}

.top-contents-car img {
    height: 25px;
    width: auto;
}

@media screen and (max-width: 767px) {
    .top-contents-btn {
        width: 40%;
        padding: 5px 0px;
    }

    .top-contents-line-space {
        padding-bottom: 20px;
    }

    .top-contents-wind-power img {
        height: 40px;
        margin-top: -20px;
    }

    .top-contents-car {
        padding-top: 0px;
    }

    .top-contents-car img {
        height: 15px;
    }
}

/*========== curtain-scroll ==========*/
.top-curtain-content {
    background-image: url("../images/index/content_scroll.jpg");
    background-size: cover;
    background-position: 50% 100%;
    background-attachment: fixed;
}

.top-curtain-image {
    height: 500px;
}

@media screen and (max-width: 767px) {
    .top-curtain-content {
        background-attachment: scroll;
        background-position: center;
    }

    .top-curtain-image {
        height: 200px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1300px) {
    .top-curtain-content {
        background-attachment: scroll;
        background-position: center;
    }

    .top-curtain-image {
        height: 400px;
    }
}

/*========== Instagram ==========*/


/*============================== about(course) ==============================*/

.about-notonly-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-notonly-want {
    position: relative;
}

.about-notonly-want::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background-color: #ccc;
    z-index: 1;
}

.about-notonly-want-title {
    font-size: 22px;
    padding: 5px 0px;
    color: #2c2800;
    letter-spacing: 0.05em;
    margin: 0px;
}

.about-notonly-want-image-section {
    text-align: center;
    padding: 10px 10px;
}

.about-notonly-field-title {
    font-size: 16px;
    padding: 5px 0px;
    color: #2c2800;
    letter-spacing: 0.05em;
    margin: 0px;
}

.about-contents-future {
    text-align: center;
    font-weight: bold;
    border: 1px solid #ccc;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #2c2800;
}

.about-facility-image-container {
    display: block;
    margin: 0 auto;
}

.about-facility-image {
    width: 100%;
    padding: 10px 10px;
}

.about-building-image {
    width: 50%;
    margin: auto;
    display: block;
}

@media screen and (max-width: 991px) {
    .about-building-image {
        width: 100%;
    }
}


@media screen and (max-width: 1023px) {
    .about-notonly-want::after {
        display: none;
    }
}

/*============================== student ==============================*/

/*============================== recruitment ==============================*/

.recruitment-main-employment-title {
    font-size: 16px;
    padding: 5px 0px;
    color: #3a3400;
    letter-spacing: 0.05em;
    margin: 0px;
}

.recruitment-image {
    margin: auto;
    display: block;
    width: 80%;
    height: auto;
}

/*============================== laboratory ==============================*/

.laboratory-image {
    width: 150px;
    height: auto;
    margin: auto;
    display: block;
}

.laboratory-name-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;

}

.btn-primary {
    background-color: #d0b947;
    border-color: #d0b947;
}

.adjust-right {
    margin-right: 5%;
}

/*============================== curriculum ==============================*/

#curriculum .curriculum-area {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 0 300px 0;
}

@media screen and (max-width:1200px) {
    #curriculum .curriculum-area {
        margin: 0 0 50px 0;
    }
}

#curriculum .curriculum-area::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 23em;
    background: #f3f3f3;
    right: 20%;
    top: 20%;
    z-index: -1;
}


#curriculum .curriculum-area:nth-of-type(2n+1) {
    flex-direction: row-reverse;
}


#curriculum .curriculum-area .img {
    width: 50%;
    text-align: center;
}

.curriculum-image {
    width: 100%;
}

#curriculum .curriculum-area .content {
    width: 40%;
    background: #fff;
    box-shadow: 0 0 20px #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 150px;
}

@media screen and (max-width:1200px) {
    #curriculum .curriculum-area .img {
        width: 100%;
        z-index: 2;
    }

    #curriculum .curriculum-area .content {
        width: 100%;
        top: -10px;
        animation: none;
        opacity: 1;
        z-index: 1;
    }
}

#curriculum .curriculum-area .content-area {
    padding: 40px;
}

#curriculum .curriculum-area .content-area h3 {
    text-align: center;
    font-size: 1.5rem;
    margin: 0 0 30px 0;
    color: #3a3400;
    letter-spacing: 0.2em;
}

#curriculum .curriculum-area .content-area h3 span {
    font-weight: bold;
    display: block;
    font-size: 1.5rem;
    color: #3a3400;
    letter-spacing: 0.2em;
    padding-bottom: 10px;
}

#curriculum .curriculum-area .content-area p {
    line-height: 1.8;
    font-size: 16px;
    margin: 0px;
    color: #3a3400;
    padding: 5px 5px;
    letter-spacing: 0.1em;
}

.curriculum-list-image {
    width: 80%;
    margin: auto;
    display: block;
}

/*============================== access ==============================*/

.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}