:root {
    --main-font-color: #1f1f1f;
    --white-title-main-color: #E9E7E7;
    --link-page-color: #f7863b;
}



html {
    scroll-padding-top: 30px;
}

body {

    overflow: auto;
    font-family: "Noto Sans JP", sans-serif;
    margin: 0 auto;
}


main {
    max-width: 100vw;
    background-color: #E0E0E0;
}



.background__left-content {
    position: relative;
    width: 450px;
    height: 100vh;
    display: flex;
    align-items: center;
    z-index: 10;
    overflow: hidden;


}

.background__left-content::after {
    content: "";
    position: absolute;
    margin-left: 260px;
    width: 0px;
    height: 0px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 60px solid #353535;
    z-index: 1;

}

.background__text-circle-box {
    position: relative;
    z-index: 1;
}

.background__text-circle-box.left svg {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1500px;
    height: 180%;
    transform: translateX(-50%);

}


.background__text-circle-box path {
    fill: none;
}

.background__text-circle-box text {
    font-family: "Inconsolata", monospace;
    fill: var(--main-font-color);
    font-weight: 600;
    font-style: normal;
    font-size: 0.2rem;
    letter-spacing: 0.01rem;
}




.background {
    height: auto;
    width: 100%;
    position: fixed;
    background-color: #E0E0E0;

}


.background__right-content {
    position: absolute;
    margin: 20px;
    background-color: #313131;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 25vw;
    height: calc(100vh - 40px);
    z-index: 100;
    right: 0;
}

.background__nav-list {
    display: flex;
    flex-flow: column;
    row-gap: 1.5rem;
    align-items: left;
}

.background__nav-item {
    font-weight: 500;
    font-size: 1.6rem;

}



.background__nav-item a {
    color: #fdfdfd;
    font-family: "Inconsolata", monospace;
    position: relative;

}

.background__nav-item a:hover {
    border-bottom: #fdfdfd 2px dashed;
}

.nav-sub {
    font-size: 1rem;
    margin-left: 15px;
}

@media (max-width: 1320px) {

    .background__text-circle-box.left svg {
        width: 1200px;
        transform: translateX(-60%);

    }

    .background__left-content::after {
        margin-left: 10%;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 50px solid #353535;

    }


    .background__nav-item {
        font-size: 1.3rem;

    }

    .nav-sub {
        font-size: 0.8rem;
    }

}


.background__texts img {
    display: none;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: -1;
}



.background__image {
    -webkit-clip-path: ellipse(50px 50px at 50% 50%);
    clip-path: ellipse(50px 50px at 50% 50%);
    transition: all 0.12s;
}


.background__image img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: block;
}

.bg-set {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

@media (max-width: 1000px) {
    .background__right-content {
        display: none;
    }

    .background__left-content {
        display: none;
    }

}

@media (max-width: 480px) {
    .bg-set {
        display: none;
    }
}

.main-content {
    margin: 0 15px;
}

.text-wrapper {
    margin: 0 15px;
}

.center {
    position: relative;
    background-color: #e6dfdf;
    top: 0;
    width: 480px;
    height: 100%;
    border-right: #a3a3a3 1px solid;
    border-left: #a3a3a3 1px solid;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .background {
        display: none;
    }

    .center {
        width: 100%;
    }
}

.center__image-text {
    position: relative;
}

.center__image img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 700px;
}

.back__image img {
    display: none;
}

header {
    display: none;
    position: fixed;
    width: 480px;
    z-index: 2;
    padding: 10px;
}

@media (max-width: 1000px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 480px) {
    header {
        width: 100%;

    }
}

.logo img {
    width: 30px;
    height: auto;
    background-color: #ffffff7c;
}

.gnav__list {
    display: grid;
    gap: 10px;
    padding: 20px;
    margin: 0;
}

.gnav__item {
    color: #ffffff;
    padding: 6px;
    background-color: #5e5c5c7c;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
}

.gnav__item a {
    font-size: 1.2rem;
    display: block;
    padding: 20px 12px;
    text-decoration: none;
    text-align: left;
    width: 100%;
}

.gnav__item:hover {
    background-color: #f5f3f3;
    color: #000000;
}

.gnav-sub a {
    font-size: 0.9rem;
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s;
}

@media (max-width: 1000px) {

    .menu-btn {
        display: flex;
        z-index: 10;
    }

    .gnav {
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: rgba(37, 37, 37, 0.925);
        height: 1080px;
        z-index: 2;
        opacity: 0;
        transition: transform 0.5s ease, opacity 0.5s ease;
        transform: translateY(-100%);
        bottom: 0;

    }



    .gnav.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }


    .gnav__list {
        margin-top: 100px;
        flex-direction: column;
        gap: 10px;
    }

    .gnav__item {
        background-color: transparent;
        text-align: center;
        color: #f0f0f0;
        font-size: 1.2rem;
        opacity: 0;
        transform: translateY(-80px);
        transition: transform 0.5s ease 0.3s, opacity 0.5s ease 0.3s;
    }

    .gnav__item:hover {
        background-color: #dfdfdf;
        color: #000;
    }

    .gnav.active .gnav__item {
        opacity: 1;
        transform: translateY(0);
    }

    .gnav__item a {
        font-size: 1rem;
        display: block;
        padding: 10px 12px;
        text-decoration: none;
        text-align: left;
        width: 100%;
    }
}

@media (max-height: 640px) {
    .gnav__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}


.top-title {
    position: absolute;
    color: var(--main-font-color);
    line-height: 1.4em;
    font-size: 1.8rem;
    font-weight: 800;
    top: 540px;
    padding: 15px 20px 25px 25px;
    background-color: #e6dfdf;

}

@media (max-width: 480px) {
    .top-title {
        top: 300px;
        padding: 50px 20px;
    }

}


.main-text {
    font-size: 1.1rem;
    margin-top: 10px;
    font-weight: 600;
    line-height: 2.2em;
    margin-bottom: 30px;
    color: var(--main-font-color);
}



@media (max-width: 480px) {
    .main-text {
        font-feature-settings: "palt" 1;

    }
}

.class-img img {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    margin-bottom: 30px;


}

.contents-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white-title-main-color);
    padding: 50px 0 20px 0;
}


.schedule-contents {
    background-color: #313131;
    height: 700px;
    box-shadow: 5px 10px 8px 0 rgba(134, 133, 133, 0.5);

}

.schedule__slider {
    height: 240px;
    background-color: #DB9732;
    box-shadow: 1px 4px 6px 0 rgba(48, 48, 48, 0.5);
}


.date-time {
    color: var(--white-title-main-color);
    margin-top: 60px;
    text-align: center;

}



.year-date {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;


}

.year {
    font-size: 20px;
    margin-top: 6px;
}

.date {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 0.2rem;
    margin-left: 10px;

}

.week-time {
    font-size: 20px;
    letter-spacing: 0.1rem;
    display: block;
    margin-top: 20px;
}

.part-time {
    font-size: 13px;
    line-height: 3rem;
}

@media (max-width: 480px) {
    .year {
        font-size: 15px;
    }

    .date {
        font-size: 36px;
    }

    .week-time {
        font-size: 18px;
    }
}

.middle-text {
    font-size: 1rem;
    color: var(--main-font-color);
    margin-top: 50px;
    font-weight: 600;
    line-height: 2.2em;
    margin-bottom: 50px;
}

@media (max-width: 480px) {
    .middle-text {
        font-feature-settings: "palt" 1;
    }
}

.all-contents {
    margin-top: 20px;
    box-shadow: 5px 10px 8px 0 rgba(134, 133, 133, 0.5);
    display: flex;
    flex-direction: column;
}

.about-contents {
    background-color: #b2e033;
    min-height: 545px;
}


.place-contents {
    background-color: var(--link-page-color);
    min-height: 880px;
}

.contact-contents {
    background-color: #d1b724;
    min-height: 385px;

}

.inner-text {
    color: var(--main-font-color);
    font-weight: 600;
    line-height: 2rem;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: justify;
}


.place_text {
    line-height: 1.8rem;
    margin-bottom: 30px;
}


.link {
    position: relative;
    text-align: center;
    cursor: pointer;
    background-color: #e6dfdf;
    margin: 50px 100px;
    font-weight: 800;
    letter-spacing: 0.1rem;
}

.link a {
    display: block;
    padding: 20px;
    transition: color 0.3s ease;

}

.event-link,
.access_link,
.youtube-link,
.contact__link {
    border: var(--main-font-color) 2px solid;
    transition: border 0.3s;
}

.event-link:hover,
.access_link:hover,
.youtube-link:hover,
.contact__link:hover {
    border: #ffffff 2px solid;
}





.hover-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1d;
    white-space: nowrap;
}

.link:hover .hover-text {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    -webkit-animation: float 2s ease-in-out infinite;
    animation: float 2s ease-in-out infinite;
}

@-webkit-keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hover-text {
        transform: translateX(-50%) scale(1);
        opacity: 1;
        bottom: 110%;
        -webkit-animation: none;
        animation: none;
    }

    .link:hover .hover-text {
        -webkit-animation: none;
        animation: none;
    }
}


.access_map {
    display: flex;
    margin-top: 20px;
}

.access_map iframe {
    margin: 0 auto;
}



footer {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.footer__title {
    line-height: 1.4em;
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 140px;
    color: #adadad;

}

.top-return {
    margin-top: 150px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;

}

.black-color-return {
    color: var(--main-font-color);
    transition: color 0.3s;

}

.black-color-return:hover {
    color: var(--link-page-color);
}


.footer__copyright {
    font-size: 0.8rem;
    text-align: center;
    color: #a3a3a3;
    margin-top: 80px;
    padding-bottom: 10px;
}



.sub-main-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 80px;
    padding-top: 120px;
    color: var(--link-page-color);
}




.contact-form__label {
    color: var(--main-font-color);
    display: inline-block;
    font-weight: 600;
    margin-left: 10px;
    margin-bottom: 5px;
    width: 100px;
}


input,
textarea {
    border: #313131 1px solid;
    display: block;
    margin: 0 auto 10px;
    width: calc(100% - 20px);
    padding: 5px;
    background-color: #ebebeb;
    font-size: 16px;
    height: 40px;
}

textarea {
    height: 120px;
    resize: none;
}

#submit {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 800;
    background-color: #313131;
    border: #313131 2px solid;
    padding: 15px 30px;
    margin-top: 30px;
    width: calc(100% - 160px);
    height: 60px;
    transition: background-color 0.3s;

}

#submit span {
    color: #f5f3f3;
    margin-left: 15px;
    transition: color 0.3s;


}

span.material-symbols-outlined {
    margin-top: 10px;

}



.contact-copyright {
    margin-top: 80px;
}


.swiper {

    width: 98%;
    height: 240px;
}

.swiper-slide {
    background-color: #DB9732;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
}

.slider-lecturer {
    width: 100%;
}

.slider-day {
    font-size: 1.5rem;
    margin-left: 25px;
    margin-top: -20px;
}

@media (max-width: 480px) {


    .slider-day {
        margin-top: -20px;
    }
}

.day-span {
    font-size: 0.8rem;
    margin-left: 2px;
}

.lecturer-wrapper {
    display: flex;
}

.slider-text {
    margin-top: 10px;
    margin-left: 12%;
    line-height: 1.6rem;
}

@media (max-width: 480px) {
    .slider-text {
        margin-top: 20px;
        margin-left: 5%;
    }
}

.slider-name {
    line-height: 4rem;
}


.slide1 .lecturer-image {
    background-image: url("../img/negishiwataru.webp");
    width: 130px;
    height: 160px;
    border-radius: 50%;
    background-position: center;
    background-size: 100%;
    margin-left: 30px;

}

.slide2 .lecturer-image {
    background-image: url("../img/suzukitomomi.webp");
    width: 130px;
    height: 160px;
    border-radius: 50%;
    background-position: center;
    background-size: 166%;
    margin-left: 30px;

}

.slide3 .lecturer-image {
    background-image: url("../img/kobayashihideo.webp");
    width: 130px;
    height: 160px;
    border-radius: 50%;
    background-position: center;
    background-size: 90%;
    margin-left: 30px;

}

.slide4 .lecturer-image {
    background-image: url("../img/tanakayaeko.webp");
    width: 130px;
    height: 160px;
    border-radius: 50%;
    background-position: center;
    background-size: 100%;
    margin-left: 30px;

}

.slide5 .lecturer-image {
    background-image: url("../img/okadatarou.webp");
    width: 130px;
    height: 160px;
    border-radius: 50%;
    background-position: center;
    background-size: 100%;
    margin-left: 30px;

}


.swiper-button-next:after,
.swiper-button-prev:after {
    content: "";
    width: 1rem;
    height: 1rem;
    border: 0;
    border-top: solid 0.2rem #b47604;
    border-right: solid 0.2rem #b47604;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.swiper-button-next:after {
    transform: rotate(45deg);

}

.swiper-button-prev::after {
    transform: rotate(-135deg);

}

.lecturers-prev,
.lecturers-next {
    position: absolute;
}

.lecturers-prev {
    left: 20px;
    top: 420px;
}

.lecturers-next {
    right: 40px;
    top: 420px;
}

.lecturers-next::after,
.lecturers-prev::after {
    content: "";
    width: 1rem;
    height: 1rem;
    border: 0;
    border-top: solid 0.2rem #b47604;
    border-right: solid 0.2rem #b47604;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.lecturers-next::after {
    transform: rotate(45deg);
}

.lecturers-prev::after {
    transform: rotate(-135deg);
}




.slider-link {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--main-font-color);
    border: #f0d229 2px solid;
    padding: 2px;
    margin-top: 20px;
    text-align: center;
    background-color: #f0d229;
    letter-spacing: 0.02rem;
    transform-origin: right;
    transition: border 0.3s;
}

@media (max-width: 480px) {
    .slider-link {
        margin-top: 1px;
        margin-right: 20px;

    }


}

.slider-link:hover {
    border: 2px solid #b16b02;
}


/* lecturer-page ----------------------------------------------------*/
.lecturers-main {
    background-color: #DB9732;
    height: 100%;

}

.lecturers-main__title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    padding-top: 120px;
    color: #ebeaea;
}

.lecturers-main__month-day {
    font-size: 1.4rem;
    padding: 0 4px;
}

.lecturers-main__lecturer {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    margin-left: 2px;
}

.negishi .lecturers-image {
    background-image: url("../img/negishiwataru.webp");
    width: 130px;
    height: 160px;
    border-radius: 50%;
    background-position: center;
    background-size: 100%;
    margin-top: 30px;

}



.kobayashi .lecturers-image {
    background-image: url("../img/kobayashihideo.webp");
    width: 130px;
    height: 160px;
    border-radius: 50%;
    background-position: center;
    background-size: 90%;
    margin-top: 30px;

}

.okada .lecturers-image {
    background-image: url("../img/okadatarou.webp");
    width: 130px;
    height: 160px;
    border-radius: 50%;
    background-position: center;
    background-size: 100%;
    margin-top: 30px;

}

.suzuki .lecturers-image {
    background-image: url("../img/suzukitomomi.webp");
    width: 130px;
    height: 160px;
    border-radius: 50%;
    background-position: center;
    background-size: 172%;
    margin-top: 30px;

}

.tanaka .lecturers-image {
    background-image: url("../img/tanakayaeko.webp");
    width: 130px;
    height: 160px;
    border-radius: 50%;
    background-position: center;
    background-size: 100%;
    margin-top: 30px;

}

.lecturers-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 30px;
    height: 300px;

}

.lecturers-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white-title-main-color);
    text-align: center;
    margin-top: 60px;
    margin-right: 30px;
}

.lecturers-name {
    margin-top: 40px;
}

.lecturers-text {
    color: var(--white-title-main-color);
    font-size: 0.9rem;
    line-height: 1.8rem;
    margin-top: 40px;
    margin: 0 30px;
    text-align: justify;

}

@media (max-width: 480px) {
    .lecturers-subtitle {
        font-size: 1rem;
        font-weight: 800;

        margin-right: 0px;
    }
}

.lecturers-return {
    color: var(--white-title-main-color);
    margin-top: 100px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    transition: color 0.3s;
}

.lecturers-return:hover {
    color: var(--main-font-color);
}

.lecturers-copyright {
    color: #805402;
    margin-top: 80px;
    padding-bottom: 10px;
}



/* faq ----------------------------------------------------*/
.fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s, transform 1s;
}

.fade.active {
    opacity: 1;
    transform: translateY(0px);
}

.faq-section {
    padding: 20px;
}


.faq-item {
    margin: 15px 0;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-question {
    font-weight: bold;
    color: #333;
}

.faq-answer {
    margin-top: 5px;
    color: #555;
}

.others-q {
    font-size: 1rem;
    margin: 20px 60px;
}

.others-q a {
    color: #ec4c24;
    font-weight: 600;
}
