@charset "UTF-8";

html {

    font-family: "M PLUS 1", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

main {
    max-width: 1082px;
    margin: auto;
    padding: 0 4%;

}

img {
    width: 100%;
}


h1 {
    width: 120px;
    margin-left: 15px;
}

h2 {
    font-size: 1.428rem;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 32px;
}

h2.deco {
    margin-top: 0px;
}

h3 {
    font-weight: bold;
    font-size: 1.142rem;
}

p {
    margin-top: 16px;
}

p.alert {
    color: gray;
    font-size: 0.857rem;
    margin-bottom: 0;

}

a.alert {
    color: orange;
    display: inline-block;
}

#aboutWeb,
#FAMM,
#Graduation,
#Lesson,
#Seminar,
#Qestion {
    padding: 40px 0;
}



/*===============================
 
	PC
 
================================*/

/*-------------------------------
 
	HEADER
 
-------------------------------*/
header {
    display: flex;
    justify-content: space-between;
    height: 100px;
    align-items: center;
}

.header_wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-right: 20px;
}

.header_1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header_1 nav ul {
    display: flex;
    gap: 16px;
    color: #333;
    font-weight: 600;
    font-size: 0.875rem;
}

.header_1 nav ul li a span {
    color: #FFBB62;
    font-weight: 600;
}

.header_1 nav ul li a:hover {
    border-bottom: 3px solid #FFBB62;
}

/* NAV MENU =====================*/

nav.header_nav ul {
    display: flex;
    justify-content: right;
    gap: 20px;
    color: #8C8C8C;
    line-height: 30px;
    font-size: 0.875rem;
}

nav.header_nav ul li a:hover {
    color: #333;
}

/*-------------------------------
 
	MAIN
 
-------------------------------*/
/* MainVisual =====================*/
.mainvisual {
    text-align: center;
}

.mainvisual p {
    font-size: 30px;
    color: red;
    font-weight: bold;
    margin-bottom: 16px;
}


.mainvisual img {
    max-width: 785px;
    margin-bottom: 0;
}

/* About =====================*/
.about {
    padding: 80px 0;
}


.about p {
    color: gray;
    font-size: 0.714rem;
}


/* RECOMMEND-1 =====================*/

.recommend-1 p {
    color: gray;
    margin-bottom: 16px;
}

/* YOUTUBE */
.youtube-wrapper_1 {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    margin-bottom: 16px;
}

.youtube-wrapper_1 iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0
}

.youtube-wrapper_2 {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    margin-bottom: 16px;
}

.youtube-wrapper_2 iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding-bottom: 80px;

}

.news {
    letter-spacing: 2px;

}

.news ul.news li.date {
    margin-bottom: 16px;
    font-weight: bold;
}


.recommend-1 .news ul li.date_news {
    margin: 16px 0;
    display: inline-block;
    color: orange;
}

.recommend-1 .news a.more {
    color: red;
}

.recommend-1 p span.problem {
    font-weight: bold;
}

.news details.accordion-003 ul.news_accordion {
    padding: 40px 0;
}

.news details.accordion-003 ul.news_accordion li.date {
    font-weight: bold;
    margin-bottom: 16px;
}



/* アコーディオン(NEWS) */
.accordion-003 {
    max-width: 1000px;
    margin-bottom: 7px;
}

.accordion-003 summary {
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.accordion-003 summary::-webkit-details-marker {
    display: none;
}

.accordion-003 summary::before {
    transform: translateY(-25%) rotate(45deg);
    width: 12px;
    height: 12px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion-003[open] summary::after {
    transform: rotate(225deg);
}

.accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-003[open] p {
    transform: none;
    opacity: 1;
}


/* FAMM SERVICE =====================*/

.famm-service ul li {
    list-style: disc;
    list-style-position: inside;
    padding-left: 10px;
}

.famm-service ul li::marker {
    font-size: smaller;
    margin: auto;
}

.live-1 {
    margin-bottom: 16px;
}

.famm-service .live-2 {
    font-weight: bold;
    margin-bottom: 16px;

}

/* アイコンの所 */
.live-3 {
    display: flex;
    gap: 4%;
    padding-bottom: 40px;
}

.live-3_1,
.live-3_2,
.live-3_3,
.live-3_4,
.live-3_5,
.live-3_6 {
    width: 15%;
}

.live-3 img {
    margin-bottom: 16px;
}

.live-3 p.title {
    font-weight: 400;
}

/* RECOMMEND-2 =====================*/
.recommend-2 {
    margin-bottom: 16px;
}


/* lesson */
.lesson p {
    margin-bottom: 16px;
}

.live-3 p.text {
    color: #9a9a9a;
}

/* feature */
.feature {
    padding-top: 40px;
    ;
}

.feature h3 {
    margin-bottom: 20px;
}

.feature p {
    margin-bottom: 16px;
}

.feature img {
    margin-bottom: 40px;
}

.feature p span {
    font-weight: bold;
}

/* アコーディオン(応用講座） */
.accordion {
    padding: 40px 0;
}

.accordion_container {
    width: calc(80%/2);
}

.accordion_box {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4%;
}


.accordion_title {
    color: #333;
    font-size: 1.125rem;
    font-weight: bold;
    padding: 20px 5%;
    text-align: right;
    position: relative;
    z-index: +1;
    cursor: pointer;
    transition-duration: 0.2s;
    border-bottom: 2px solid #FFB6BF;
}

.accordion_container:nth-of-type(2) .accordion_title {
    border-bottom: 2px solid #FFD073;
}

.accordion_container:nth-of-type(3) .accordion_title {
    border-bottom: 2px solid #89B541;
}

.accordion_container:nth-of-type(4) .accordion_title {
    border-bottom: 2px solid #C1D127;
}

.accordion_container:nth-of-type(5) .accordion_title {
    border-bottom: 2px solid #F8DF73;
}

.accordion_container:nth-of-type(6) .accordion_title {
    border-bottom: 2px solid #49ADB1;
}

.accordion_container:nth-of-type(7) .accordion_title {
    border-bottom: 2px solid #C1A680;
}

.accordion_container:nth-of-type(8) .accordion_title {
    border-bottom: 2px solid #60729D;
}

.accordion_container:nth-of-type(9) .accordion_title {
    border-bottom: 2px solid #6AC9E3;
}

.accordion_container:nth-of-type(10) .accordion_title {
    border-bottom: 2px solid #00E0CD;
}

.accordion_container:nth-of-type(11) .accordion_title {
    border-bottom: 2px solid #EDE6BF;
}

.accordion_container:nth-of-type(12) .accordion_title {
    border-bottom: 2px solid #856143;
}

*/ .accordion_title:hover {
    opacity: 0.8;
}

.icon_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 5%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    box-sizing: border-box;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transform-origin: center center;
    transition-duration: 0.2s;
}

.icon {
    display: block;
    width: 18px;
    height: 18px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transform-origin: center center;
    transition-duration: 0.2s;
    position: relative;
}

.accordion_title.open .icon_wrap {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
}

.icon:before,
.icon:after {
    display: flex;
    content: '';
    background-color: #333;
    border-radius: 10px;
    width: 18px;
    height: 4px;
    position: absolute;
    top: 7px;
    left: 0;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transform-origin: center center;
}

.icon:before {
    width: 4px;
    height: 18px;
    top: 0;
    left: 7px;
}

.accordion_title.open .icon_wrap .icon:before {
    content: none;
}

.accordion_title.open .icon_wrap .icon:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.accordion_inner {
    display: none;
    padding: 20px 20px;
    border-left: 1px solid #9a9a9a;
    border-right: 1px solid #9a9a9a;
    border-bottom: 1px solid #9a9a9a;
    box-sizing: border-box;

}

.accordion_inner ul li {
    list-style: disc;
    list-style-position: inside;
}

/* .accordion_container:nth-of-type(2) .accordion_inner {
    border-left: 2px solid #dc143c;
    border-right: 2px solid #dc143c;
    border-bottom: 2px solid #dc143c;
}

.accordion_container:nth-of-type(3) .accordion_inner {
    border-left: 2px solid #4682b4;
    border-right: 2px solid #4682b4;
    border-bottom: 2px solid #4682b4;
} */

.ac_inner_wraper {
    height: 100%;
}

p.txt_a_ac {
    margin: 0;
}

/* SCHEDULE =====================*/
.lesson_schedule {
    padding-bottom: 40px;
}

.lesson_schedule ul li {
    list-style-type: disc;
    margin-left: 16px;
}


/* ---------------- */

/* comment */
.comment {
    display: flex;
    gap: 4%;
}

.comment img {
    width: 30%;
}

/* change */
.change {
    padding-bottom: 40px;
}

.change_content {
    display: flex;
    justify-content: center;
    gap: 4%;
    margin-bottom: 40px;
}

.change_content img {
    width: 40%;
}

.change a.change {
    display: block;
    text-align: center;
    color: #FFB34D;
}

.change a.change:hover {
    opacity: 0.7;
}

/* SURVEY */
.survey {
    margin-bottom: 40px;
}

.survey_1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.survey_1 img {
    width: 45%;
}

/* SCHEDULE =====================*/
/* school */
.school p {
    margin-bottom: 16px;
}

.school p.school {
    font-size: 0.75rem;
    color: #8C8C8C;
}

.school_1,
.school_2,
.school_3,
.school_4,
.school_5 {
    margin-bottom: 40px;
}


/* support */
.support {
    display: flex;
    justify-content: space-between;
}

.support_1,
.support_2,
.support_3 {
    width: 30%;
}

.support h3 {
    font-weight: normal;
}

.support p {
    color: #8C8C8C;
}

/* teacher */
.teacher_box {
    display: flex;
    gap: 4%;
    margin-bottom: 16px;
}

.teacher_box img {
    width: 10%;
    height: 10%;
    object-fit: cover;
    border-radius: 50%;
}

.teacher_box .teacher_introduce {
    width: 80%;
}

.teacher_box h3 {
    margin-bottom: 16px;
}

.teacher_box h4 {
    font-weight: bold;
}

.teacher_box ul li {
    list-style: disc;
    margin-left: 16px;
}

.teacher_box ul {
    margin-bottom: 16px;
}

/* PRICE =====================*/
/* .price {
    margin-bottom: 40px;
} */

.price p {
    margin-bottom: 16px;
}

.price p.price {
    font-size: 0.875rem;
    color: #8C8C8C;
}

/* seminar */
.seminar p {
    line-height: 2;
    margin-top: 0;
}

.seminar p.seminar_alert {
    line-height: 1.5;
}

.seminar img {
    width: 80%;
    display: block;
    margin: 0 auto;
}

.seminar p.seminar_alert-2 {
    line-height: 1.5;
    font-size: 0.875rem;
    color: #8C8C8C;
}

/* スケジュール欄 */
.seminar_schedule-wrap {
    display: flex;
    justify-content: center;
    gap: 4%;
    margin-bottom: 16px;
}

.seminar_schedule-wrap .seminar_schedule-box h3 {
    padding-top: 40px;
    margin-bottom: 12px;
}

.seminar_schedule-wrap .seminar_schedule-box p {
    color: #8C8C8C;
    line-height: 2.3;
    margin-top: 0;
    font-size: 0.75rem;
}

/* question */
.question {
    padding: 40px 0;
}

.question p.q {
    font-weight: bold;
    margin-bottom: 12px;
}

.question p.a {
    font-size: 0.875rem;
    color: #8C8C8C;
    margin-bottom: 16px;
}

/* other */
.other {
    display: flex;
    justify-content: space-between;
}

.other .other_box {
    width: 30%;
}

.other img {
    height: 300px;
    object-fit: cover;
}

.other_box h3 {
    margin-bottom: 16px;
}

.other_box p {
    font-size: 0.875rem;
    color: #8C8C8C;
    margin-bottom: 16px;
}

.other_box a {
    display: block;
    font-size: 0.875rem;
    color: #FFB34D;
}

.other_box a:hover {
    color: #8C8C8C;
}

/* FAMM =====================*/
.famm {
    padding: 80px 0;
}

.famm_content {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.famm_content-img {
    width: 50%;
}

.famm_content-text {
    width: 40%;
}

.famm_content-text p {
    line-height: 1.2;
    font-size: 0.812rem;
}

.button {
    font-size: 16px;
    line-height: 1;
    max-width: 400px;
    min-width: 300px;
    margin: auto;
    background-color: #FFB34D;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    padding: 17px 0;
    margin-top: 80px;
}

.button:hover {
    opacity: 0.7;
}


/*-------------------------------
 
	FOOTER
 
-------------------------------*/

footer {
    height: 100px;
    line-height: 100px;
}

footer nav ul {
    display: flex;
    justify-content: center;
    gap: 4%;
    color: #FFB34D;
}

footer nav ul li a {
    display: inline-block;
    font-size: 0.75rem;
}

footer nav ul li a:hover {
    opacity: 0.7;
}

/*
  トップへ戻るボタン
---------------------------------*/

.page-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #FFAA32;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-align: center;
    text-decoration: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.page-top::after {
    content: "";
    display: block;
    position: absolute;
    top: 23px;
    left: 50%;
    height: 10px;
    width: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateX(-50%) rotate(-45deg);
    transition: 0.2s;
}

.page-top:hover {
    opacity: 0.8;
    text-decoration: none;
}