@charset "UTF-8";
  /* .zen-maru-gothic-medium {
    font-family: "Zen Maru Gothic", serif;
  }
  .yusei-magic-regular {
    font-family: "Yusei Magic", serif;
  }
  .kanit-regular {
    font-family: "Kanit", serif;
  } */
/* header */
header {
    padding: 20px 80px;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    text-align: center;
}
/* .nav ul {
    display: flex;
    gap: 20px;
} */
.nav-list {
display: flex;
justify-content: center;
text-decoration: underline;
color: #d64161;

}
.nav-nav {
    font-family: "Yusei Magic", serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 1em;
}
.submenu-a {
    font-family: "Kanit", serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.4em;
    line-height: 2;
}
.submenu-b {
    font-family: "Kanit", serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.4em;
    line-height: 2;
}


.g-nav ul {
    display: flex;
    gap: 30px;
}

.g-nav .nav-list {
    overflow: visible;
}

.g-nav .nav-list>li {
    position: relative;
    overflow: visible;
}

.g-nav .nav-list .submenu-a {
    position: absolute;
    min-width: 100%;
    display: none;
    z-index: 9999;
}

.g-nav .nav-list li:hover .submenu-a {
    display: block;
}

.g-nav .nav-list .submenu-a li {
    border-top: 1px solid var(--gnav-bd);
}

/*  */
.g-nav .nav-list .submenu-b {
    position: absolute;
    min-width: 100%;
    display: none;
    z-index: 9999;
}

.g-nav .nav-list li:hover .submenu-b {
    display: block;
}

.g-nav .nav-list .submenu-b li {
    border-top: 1px solid var(--gnav-bd);
}
a {
    color: crimson;
    transition: 0.6s;

}
a:hover {
color: darkmagenta;
}

/*main*/
h1 {
    font-family: "Yusei Magic", serif;
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 5px;
    line-height: 2em;
    
}
p {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
}

section {
    padding: 20px 80px;
    background-image: url(../images/note.png);
    max-width: 100%;
    height: auto;
}

h2 {
    font-family: "Yusei Magic", serif;
    font-weight: 700;
    font-size: 48px;
    letter-spacing: 1.4px;
    padding: 130px 0 54px;
}

h3 {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 1.5px;
    padding-bottom: 35px;
}
p {
    font-size: 24px;
}

.prof-img {
    max-width: 540px;
    height: auto;   
    border-radius: 5%;
    margin-top: 70px;
}

.prof-main {
    display: flex;
    gap: 50px;
}

.prof-reed {
    font-size: 16px;
    letter-spacing: 1.5px;
    line-height: 1.9;
    text-align: left;
}

.reed-name {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 600;
    text-align: left;
    padding: 10px 0 20px;
}
.prof-can1 {
    padding-top: 40px;
}
.prof-can2 {
    padding-top: 40px;
}


@media screen and (max-width: 1025px) {
    .prof-main {
        flex-wrap: wrap;
    }
}


@media screen and (max-width: 767px) {

    header {
        padding: 10px 20px;
    }

    section {
        padding: 10px 20px;
    }
    h1 {
        font-size: 20px;
    }
    .prof-main {
        flex-wrap: wrap;
        gap: 50px;
    }
 
    .prof-img {
        width: 80%;
        height: auto;
    }
    
}

@media screen and (max-width: 767px) {
    #g-nav {
        position: fixed;
        background-color: #ffc3c3;
        z-index: 99999;
        width: 100%;
        height: 100vh;
        top: 0;
        right: -100%;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.6s;
    }
    #g-nav.panel-active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    .nav-list a {
        font-size: 24px;
    }
    .open-btn {
        display: flex;
        gap: 6px;
        flex-direction: column;
        padding: 12px 0;
        position: relative;
        z-index: 999999;
    }
    .open-btn span {
        display: block;
        width: 40px;
        height: 4px;
        background-color: #333;
        transition: 0.6s;
    }
    .active:nth-child(1) {
        transform: translateY(10px) rotate(-45deg);
    }
    .active:nth-child(2) {
        opacity: 0;
    }
    .active:nth-child(3) {
        transform: translateY(-10px) rotate(45deg);
    }
}