@charset "UTF-8";
/*======================
common
======================== */
.about_main h3 {
    color: #3B3B3B;
    font-family: "Noto Sans";
    font-size: 2.5rem;
    font-weight: 700;
    margin: 66px 0 25px 20px;
    background-color: #AED2C9;
    width: fit-content;
    padding: 5px 25px;
    position: relative;
}    
.about_main h3::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px rgb(149, 158, 155);
  }
/*======================
page_header
======================== */
.page_header {
    background-image: url(../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(../images/header_about_pc.png);
        background-repeat: no-repeat;
    }
}
/* pc */
/*======================
common
======================== */
.about {
    padding: 30px 16px 60px;
}
.about_main h3 {
    color: #3B3B3B;
    font-family: "Noto Sans";
    font-size: 1.8rem;
    font-weight: 700;
    background-color: #AED2C9;
    width: fit-content;
    padding: 5px 25px;
    margin-top: 18px;
    position: relative;
}    
.about_main h3::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px rgb(149, 158, 155);
  }
  /* .common pc */
@media screen and (min-width:769px) {
    .about {
        padding: 30px 16px 100px;
    }
    .about_main h3 {
        font-size: 2.5rem;
        margin-top: 58px;
    }  
}

/*======================
page_header
======================== */
.page_header {
    background-image: url(../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(../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(../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 */