/* ==============================
   固定ページ (page.php) のスタイル
============================== */
header {
    background-size: cover;
}
header h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
}
/*======================
common
======================== */
html {
    font-size: 62.5%;
}
body {
    font-family: 'Noto Sans','Kadwa';
    font-size: 1.6rem;
    line-height: normal;
    color: #3B3B3B;
    text-align: center;
}
.wrapper {
    max-width: 1120px;
    margin: 0 auto;
}
img {
    max-width: 100%;
    height: auto;
}
:root {
    --primary-white:#FFFFFF;
    --primary-black:#3B3B3B;
    --primary-brown:#867100;
    --primary-green:#9AB59F;
    --primary-purple:#8F88B9;
    --primary-pink:#B59A9A;
    --primary-beige:#B1B59A;
    --primary-yellow:#E5A911;
    --primary-blue:#004DBF;
    --primary-greenblue:#3D84A3;
}
a {
    color: inherit; 
    text-decoration: none;
}
li {
    list-style: none;
}
/*======================
header
======================== */
header p {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}
.top_header {
    position: fixed;
    z-index: 1000;
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
}
.top_header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
}
.menu_header {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo {
    width: 135px;
    justify-self: start;
    margin-left: 16px;
}
.menu {
    justify-self: end;
}
.close,.menu {
    width: 61px;
    height: 52px;
    flex-shrink: 0;
    background-color: #3B3B3B;
    padding: 4px;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    display: flex;
}
.close {
    margin-left: auto;
}
/* .nav初期表示 */
.nav {
    background: #fff;
    width: 50%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.4s;
}
.nav.active {
    transform: translate(0);
}
.nav_list :hover {
    opacity: 0.7;
    transition: opacity 0.3s;
}
.nav__item {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nav__item a {
    font-weight: 700;
    display: contents;
}
.nav_registration {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 30px;
    background-color: #004DBF;
    border-bottom: 5px solid #09449B;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 38px 20px 0;
    padding: 15px 0;
}
.nav_registration:hover {
    background-color: rgba(0, 77, 191, 0.8);
}
/* .header pc */
@media screen and (min-width:990px) {
    .contents {
        max-width: 1120px;
        margin: 0 auto;
    }
    .top_header {
        padding: 25px 0;
        margin: auto;
    }
    .top_header_inner {
        margin: 0 auto;
    }
    .nav_list {
        width: 100%;
        display: flex;
        align-items: center;
        margin-left: 100px;
    }
    .nav_list img {
        width: 30px;
    }
    .nav__item {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0 clamp(10px, 3vw, 80px);
        border-right: 1px solid #3b3b3b;
    }
    .nav__item:last-of-type {
        border: none;
    }
    .header {
        max-width: 1120px;
        background-color: #F8F8F8;
    }
    .logo{
        width: 185px;
        margin: 0;
    }
    .nav {
        width: 100%;
        height: auto;
        position: static;
        transform: translate(0);
        display: flex;
        justify-content: center;
    }
    .close,.menu {
        display: none;
    }
    .nav_registration {
        margin: auto ;
        padding: 20px 75px;
    }
    .nav__item:first-of-type {
        display: none;
    }
}
/* pc */

/*======================
main
======================== */
.main,.about_main,.lesson_main,.contact_main {
    padding-top: 52px;
}
@media screen and (min-width:990px) {
    .main,.about_main,.lesson_main,.contact_main {
        padding-top: 122.5px;
    }
}
/* community */
.roblox {
    color: #E5A911;
}
.discord {
    color: #28B1FF;
}
/*======================
footer
======================== */
footer {
    color: #fff;
    background-image: url(../images/footer.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 16px 21px;
}
.footer_line::before {
    content: "";
    display: block;
    height: 20px;
    width: 1px;
    background-color: #fff;
    margin-inline: auto;
    margin-bottom: 5px;
}
.footer_container {
    display: flex;
    justify-content: flex-end;
    margin-top: 65px;
}
.footer_item li {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    margin-top: 21px;
    justify-content: space-between;
}
.footer_list {
    margin-left: 16px;
    width: 166px;
}
.sub-menu {
    margin-top: 4px;
}
.sub-menu li {
    font-size: 1.6rem;
    font-weight: 400;
    margin: 16px 0 0 15px;    
}
.sub-menu li:first-child {
    margin-top: 0;
}
.footer_sns {
    margin-top: 50px;
}
.footer_icon img {
    margin-right: 10px; 
    width: 43px;
}
.footer_icon a:last-child {
    margin-right: 0; 
}
.small {
    margin-top: 30px;
}
/* footer pc */
@media screen and (min-width: 769px){
    footer {
        background-image: url(../images/footer_pc.png);
    }
   .footer_item li {
        margin-right: 55px;
    }
    .footer_list {
        margin-left: 13px;
        width: auto;
    }
    .footer_list li {
        margin-top: 30px;
        font-size: 1.6rem;
        font-weight: 400;
    }
    .footer_container {
        justify-content: center;
        margin-top: 52px;
    }
    .footer_item {
        display: flex;
    }
    .footer_sns {
        flex-direction: column;
    }
    .small {
        margin-top: 8px;
    }
}    
/* pc 769px */
/*======================
page_header
======================== */
.page_header {
    background-image: url(assets/images/header_about.png);
    background-size: cover;
    padding: 100px;
}
.page_header h2 {
    font-size: 4rem;
    /* color: #FFF; */
    font-weight: 700;
}
/* .header pc */
@media screen and (min-width:769px) {
    .page_header {
        background-image: url(assets/images/header_about_pc.png);
        background-repeat: no-repeat;
    }
}
/* pc */
/* What is Wanokoe? */
.about {
    background: #FAFAFA;
}
.about_wrapper {
    max-width: 1160px;
    margin: 0 auto;
}
.about_img {
    width: 174px;
    display: block;
    margin-top: 36px; 
}
.about_txt {
    text-align: left;
    line-height: 170%; 
}
.about_txt p {
    margin-top: 25px;
}
.about_txt_attention {
    line-height: 180%; 
    font-weight: 700;
}
.br_pc {
    display: none;
}
/* .What is Wanokoe? pc */
@media screen and (min-width:769px) {
    .about_img {
        width: 247px;
        margin-top: 54px; 
    }
    .about_txt {
        font-size: 2rem;
        margin: 30px 0;
        font-weight: 500;

    }
    .about_txt p {
        margin-top: 40px;
    }
    .br_pc {
        display: block;
    }
}
/* Teacher */
/* community */
.about_community_wrapper {
    max-width: 1160px;
    margin: 0 auto;
}
.about_community {
    background-image: url(assets/images/background_community.png);
    background-size: contain;
    color: #FFF;
    font-size: 1.5rem;
    padding: 10px 16px 45px;
    line-height: 1.5;
}
.about_community h3 {
    padding: 5px 15px;
    text-align: left;
}
.about_community h4 {
    font-size: 2.5rem;
    font-weight: 700;
}
.abouut_community_txt {
    font-size: 1.5rem;
    margin-top: 50px;
    text-align: left;
}
.about_community_index {
    width: 247px;
    margin: 30px auto 0;
}
.about_community_index p {
    margin-top: 5px;
}
.about_community_topics {
    margin-top: 8px;
}
.about_community_container {
    margin: 48px 0 0;
}
.about_container_topics {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 35px;
    display: inline-block; /* or block */
    border-bottom: 2px solid #FFF; /* 色や太さは自由に調整OK */
    height: 60px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.about_community_ul {
    font-weight: 400;
    text-align: left;
    margin: 10px;
}
.about_community_ul li {
    margin-top: 15px;
}
.br_sp {
    display: block;
}
/* community */
@media screen and (min-width:769px) {
    .about_community {
        background-size: contain;
        font-size: 1.8rem;
        padding: 1px 16px 45px;
    }
    .br_sp {
        display: none;
    }
    .about_community h4 {
        text-align: left;
    }
    .abouut_community_txt {
        font-size: 1.8rem;
        text-align: center;
        margin-top: 35px;
    }
    .about_community_index {
        display: flex;
        margin-top: 70px;
        width: 700px;
    }
    .about_community_topics {
        margin-left: 10px;
        text-align: left;
        height: 80px;
    }
    .about_community_container {
        display: flex;
        margin-top: 120px;
        gap: 35px;
    }
    .about_community_container_li {
        flex: 1 1 calc(33.33% - 20px);     
    }
    .about_community_ul li {
        padding: 15px 0 0;
    }
    .about_container_topics {
        font-size: 1.8rem;
        margin: 0;
    }
    .Community_box {
        margin-top: 136px;
    }
}
/* pc */
/* FAQ */
.faq {
    margin-top: 45px;
    padding: 0 16px;
}
.faq_box { 
    margin: 35px 10px 40px;
}
.faq_item {
    background-color: #D9D9D9;
    padding: 20px;
    margin-top: 10px;
}
details {
    margin: 0 auto 10px;
}
summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; font-size: 1.6rem;
    font-weight: 700;
    background-color: #D9D9D9;
    cursor: pointer;
    text-align: left;
}
summary::-webkit-details-marker {
    display: none;
}
summary:hover,
details[open] summary {
    background-color: #bbb;
}
summary::after {
    content: '+';
    margin-left: 30px;
    color: #fff;
    font-size: 40px;
    transition: transform .5s;
}
details[open] summary::after {
    transform: rotate(45deg);
}
.answer {
    padding: 20px;
    line-height: 1.6;
    text-align: left;
}
details[open] .answer {
    animation: fadein .5s ease;
}
@keyframes fadein {
    0% { opacity: 0;}
    100% { opacity: 1;}
}
/* FAQ */
@media screen and (min-width:769px) {
    .faq {
        margin: 50px 0;
    }
    .faq_box {
        margin: 0 150px;
    }
}
/* pc */