@charset "utf-8";

/*-----------------------
    page_contents.css
------------------------*/

/*----- goods -----*/

/* about */

.goods_about {
    margin-top: 90px;
    padding: 0 0 120px;
    background: var(--light_blue);
}
.goods_about .ttl {
    position: relative;
    top: -30px;
    width: 880px;
    margin: 0 auto 40px;
    padding: 10px 0 15px;
    background: var(--blue_light);
    color: var(--white);
    font-weight: 900;
    text-align: center;
}
.goods_about .ttl .title {
    font-size: 40px;
}
.goods_about .ttl .subtitle {
    margin-top: 5px;
    font-size: 15px;
}

.researcher_ttl {
    text-align: center;
}
.researcher_ttl p {
    position: relative;
    display: inline-block;
    margin: auto;
    font-size: 25px;
    color: var(--blue_dark);
    line-height: 1.75;
    cursor: pointer;
    transition: .5s;
}
.researcher_ttl:hover p {
    color: var(--blue_dark_hover);
}
.researcher_ttl p:before,
.researcher_ttl p:after {
    position: absolute;
    content: "";
    transition: .5s;
}
.researcher_ttl p:before {
    top: 10px;
    right: -40px;
    width: 25px;
    height: 25px;
    background: var(--blue_light);
    border-radius: 50%;
}
.researcher_ttl p:after {
    top: 15px;
    right: -33px;
    width: 10px;
    height: 10px;
    border: 0;
    border-top: solid 2px var(--white);
    border-right: solid 2px var(--white);
    transform: rotate(135deg);
}
.researcher_ttl:hover p:before {
    top: 15px;
}
.researcher_ttl:hover p:after {
    top: 20px;
}
.researcher_ttl.open p:before,
.researcher_ttl.open:hover p:before {
    top: 13px;
}
.researcher_ttl.open p:after,
.researcher_ttl.open:hover p:after {
    top: 22px;
    transform: rotate(-45deg);
}

.researcher_text {
    display: none;
    padding: 10px 100px;
}
.researcher_text .ps {
    line-height: 2.25;
}
/* for CMS */
body:has(#wrapper) .researcher_text {
    display: block;
} 

@media screen and (min-width: 768px) and (max-width: 1260px){
    
    .goods_about {
        margin-top: 7vw;
        padding: 0 0 10vw;
    }
    .goods_about .ttl {
        top: -3vw;
        width: 88%;
        margin: 0 auto 3vw;
        padding: 1vw 0 1.5vw;
    }
    .goods_about .ttl .title {
        font-size: 3.5vw;
    }
    .goods_about .ttl .subtitle {
        margin-top: .5vw;
        font-size: 1.5vw;
    }

    .researcher_ttl p {
        font-size: 2.5vw;
    }
    .researcher_ttl p:before {
        top: 1vw;
        right: -4vw;
        width: 2.5vw;
        height: 2.5vw;
    }
    .researcher_ttl p:after {
        top: 1.5vw;
        right: -3.3vw;
        width: 1vw;
        height: 1vw;
    }
    .researcher_ttl:hover p:before {
        top: 1.5vw;
    }
    .researcher_ttl:hover p:after {
        top: 2vw;
    }
    .researcher_ttl.open p:before,
    .researcher_ttl.open:hover p:before {
        top: 1.3vw;
    }
    .researcher_ttl.open p:after,
    .researcher_ttl.open:hover p:after {
        top: 2.2vw;
    }
    .researcher_text {
        padding: 1vw 8vw;
    }
    
}
@media screen and (max-width: 767px){
    
    .goods_about {
        margin-top: 40px;
        padding: 30px 0 50px;
    }
    .goods_about .ttl {
        top: 0;
        width: min(400px,100%);
        margin: 0 auto 20px;
    }
    .goods_about .ttl .title {
        font-size: min(7vw,30px);
    }
    .goods_about .ttl .subtitle {
        font-size: min(4vw,14px);
    }

    .researcher_ttl {
        text-align: left;
    }
    .researcher_ttl p {
        display: block;
        padding-right: 40px;
        font-size: 17px;
    }
    .researcher_ttl p:before,
    .researcher_ttl:hover p:before {
        top: 7px;
        right: 0;
    }
    .researcher_ttl p:after,
    .researcher_ttl:hover p:after {
        top: 12px;
        right: 7px;
    }
    .researcher_ttl.open p:before,
    .researcher_ttl.open:hover p:before {
        top: 7px;
    }
    .researcher_ttl.open p:after,
    .researcher_ttl.open:hover p:after {
        top: 16px;
    }
    .researcher_text {
        padding: 10px 0;
    }
    .researcher_text .ps {
        line-height: 2;
    }
    
}

/* cpl */

.goods_cpl {
    padding: 50px 0 60px;
    background: var(--blue_light);
    color: var(--white);
}
.goods_cpl .title {
    width: 880px;
    margin: 0 auto 40px;
    padding: 10px 0;
    background: #f5fbfd;
    color: var(--blue_light);
    font-size: 40px;
    font-weight: 900;
    text-align: center;
}
.cpl_ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cpl_ul .li {
    width: 22.6666%;
}
.cpl_ul .li .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    background: #f5fbfd;
    border-radius: 50%;
}
.cpl_ul .li .icon img {
    width: 200px;
}
.cpl_ul .li .text {
    margin: 10px 0 5px;
    font-size: 20px;
    line-height: 1.8;
    text-align: center;
}
.cpl_ul .li .subtext {
    margin: 0 0 15px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}

@media screen and (min-width: 768px) and (max-width: 1260px){
    
    .goods_cpl {
        padding: 5vw 0 6vw;
    }
    .goods_cpl .title {
        width: 88%;
        margin: 0 auto 4vw;
        padding: 1vw 0;
        font-size: 3.5vw;
    }
    .cpl_ul .li {
        width: 23.5%;
    }
    .cpl_ul .li .icon img {
        width: 17.5vw;
    }
    .cpl_ul .li .text {
        margin: 1vw 0 .5vw;
        font-size: 1.8vw;
    }
    .cpl_ul .li .subtext {
        margin: 0 0 1.5vw;
        font-size: 1.4vw;
    }    
    
}
@media screen and (max-width: 767px){
    
    .goods_cpl {
        padding: 50px 0;
    }
    .goods_cpl .title {
        width: min(400px,100%);
        margin: 0 auto 20px;
        font-size: min(7vw,30px);
    }

    .cpl_ul .li {
        width: 47.5%;
        margin-bottom: 20px;
    }
    .cpl_ul .li .icon img {
        width: min(30vw,160px);
    }
    .cpl_ul .li .text {
        font-size: min(3.75vw,18px);
    }
    .cpl_ul .li .subtext {
        font-size: min(3.5vw,14px);
    }    
    .cpl_ul .li .m_btn {
        width: min(100%,180px);
    }
    .cpl_ul .li .m_btn a {
        font-size: min(3.6vw,15px);
    }
    
}


/* example */

.goods_example {
    padding: 120px 0;
}
.goods_example .title {
    width: 880px;
    margin: 0 auto 40px;
    padding: 10px 0;
    background: var(--blue_light);
    color: var(--white);
    font-size: 40px;
    font-weight: 900;
    text-align: center;
}
.goods_example .wrap .p {
    line-height: 2;
}
.goods_example .wrap .ps {
    margin: 10px 0 40px;
    line-height: 2;
}

.example_ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.example_ul .li {
    width: 50%;
    padding: 30px 60px 1px;
    background: var(--light_blue);
    box-sizing: border-box;
}
.example_ul .li:nth-of-type(4n+1),
.example_ul .li:nth-of-type(4n+4) {
    background: #d1eef4;
}
.example_ul .li .ttl {
    display: inline-block;
    margin-bottom: 20px;
    padding: 5px 15px;
    background: var(--white);
    color: var(--blue_dark);
    font-size: 23px;
    line-height: 1.5;
}
.example_ul .li:nth-of-type(4n+1) .ttl,
.example_ul .li:nth-of-type(4n+4) .ttl {
    background: var(--light_blue);
}
.example_ul .li .pm,
.example_ul .li .m_btn {
    margin-bottom: 30px;
    margin-left: 15px;
}

@media screen and (min-width: 768px) and (max-width: 1260px){
    
    .goods_example {
        padding: 8vw 0;
    }
    .goods_example .title {
        width: 88%;
        margin: 0 auto 4vw;
        padding: 1vw 0;
        font-size: 3.5vw;
    }
    .goods_example .wrap .ps {
        margin: 1vw 0 4vw;
    }

    .example_ul {
        margin-bottom: 4vw;
    }
    .example_ul .li {
        padding: 3vw 3vw 1px;
    }
    .example_ul .li .ttl {
        margin-bottom: 2vw;
        padding: .5vw 1.5vw;
        font-size: 2vw;
    }
    .example_ul .li .pm,
    .example_ul .li .m_btn {
        margin-bottom: 3vw;
        margin-left: 1.5vw;
    }
    
}
@media screen and (max-width: 767px){
    
    .goods_example {
        padding: 50px 0;
    }
    .goods_example .title {
        width: min(400px,100%);
        margin: 0 auto 20px;
        font-size: min(7vw,30px);
    }
    .goods_example .wrap .ps {
        margin: 10px 0 30px;
    }

    .example_ul {
        display: block;
        margin-bottom: 30px;
    }
    .example_ul .li {
        width: 100%;
        padding: 20px 6vw 1px;
    }
    .example_ul .li:nth-of-type(4n+1),
    .example_ul .li:nth-of-type(4n+4) {
        background: var(--light_blue);
    }
    .example_ul .li:nth-of-type(2n+1) {
        background: #d1eef4;
    }
    .example_ul .li .ttl {
        margin-bottom: 10px;
        font-size: min(5vw,20px);
    }
    .example_ul .li:nth-of-type(4n+1) .ttl,
    .example_ul .li:nth-of-type(4n+4) .ttl {
        background: var(--white);
    }
    .example_ul .li:nth-of-type(2n+1) .ttl {
        background: var(--light_blue);
    }
    .example_ul .li .pm,
    .example_ul .li .m_btn {
        margin-bottom: 20px;
        margin-left: 0;
    }
    
}

/* counsel */

.goods_counsel {
    padding: 90px 0 100px;
    background: var(--light_blue);
}
.goods_person {
    margin: 50px 0 100px;
    padding: 40px 50px 1px;
    display: flex;
    justify-content: space-between;
    background: var(--blue_light);
    border-radius: 5px;
    color: var(--white);
}
.goods_person .pic {
    width: 36.5%;
}
.goods_person .pic img {
    aspect-ratio: 201/170;
    border-radius: 5px;
}
.goods_person .conts {
    width: 58.5%;
}
.goods_person .conts .name {
    margin: 10px 0 25px;
    font-size: 40px;
    font-weight: 900;
}

.goods_counsel .frame {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.goods_counsel .frame .conts {
    width: 59%;
}
.goods_counsel .frame > div {
    margin-bottom: 20px;
}
.goods_counsel .frame > div:nth-of-type(1) { order: 2; }
.goods_counsel .frame > div:nth-of-type(2) { order: 1; }
.goods_counsel .frame > div:nth-of-type(3) { order: 4; }
.goods_counsel .frame > div:nth-of-type(4) { order: 3; }
.goods_counsel .frame > div:nth-of-type(5) { order: 6; }
.goods_counsel .frame > div:nth-of-type(6) { order: 5; }
.goods_counsel .frame .conts .title {
    display: flex;
}
.goods_counsel .frame .conts .price {
    position: relative;
    margin: 20px 0 0 15px;
    color: var(--blue_light);
    font-size: 20px;
    font-weight: 900;
}
.goods_counsel .frame .pic {
    width: 36.6666%;
}
.goods_counsel .frame .pic img {
    aspect-ratio: 11/8;
    border-radius: 5px;
}

.faq {
    margin-bottom: 25px;
}
.faq .question {
    position: relative;
    padding: 10px 90px 10px 20px;
    background: var(--blue_dark);
    color: var(--white);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.5;
    cursor: pointer;
    transition: .5s;
}
.faq .question:hover {
    background: var(--blue_dark_hover);
}
.faq .question::after {
    position: absolute;
    z-index: 3;
    content: "＋";
    top: calc(50% - 24px);
    right: 40px;
}
.faq .question.open::after {
    content: "－";
}
.faq .answer {
    display: none;
    background: var(--white);
    padding: 30px 50px;
}
.faq .answer .p {
    line-height: 2;
}

/* for CMS */
body:has(#wrapper) .faq .answer {
    display: block;
} 

@media screen and (min-width: 768px) and (max-width: 1260px){
    
    .goods_counsel {
        padding: 7vw 0 8vw;
    }
    .goods_person {
        margin: 4vw 0 8vw;
        padding: 3vw 4vw 1px;
    }
    .goods_person .conts .name {
        margin: 1vw 0 2.2vw;
        font-size: 3.5vw;
    }
    .goods_counsel .frame {
        margin-bottom: 5vw;
    }
    .goods_counsel .frame > div {
        margin-bottom: 2vw;
    }
    .goods_counsel .frame .conts .price {
        margin: 2vw 0 0 1.5vw;
        font-size: 1.8vw;
    }
    .faq {
        margin-bottom: 2.5vw;
    }
    .faq .question {
        padding: 1vw 7vw 1vw 2vw;
        font-size: 3vw;
    }
    .faq .question::after {
        top: calc(50% - 2.2vw);
        right: 3vw;
    }
    .faq .answer {
        padding: 2.5vw 4vw;
    }
    
}
@media screen and (max-width: 767px){
    
    .goods_counsel {
        padding: 50px 0;
    }
    .goods_person {
        margin: 30px 0 50px;
        padding: 30px 4vw 1px;
        display: block;
    }
    .goods_person .pic {
        width: min(400px,87.5%);
        margin: 0 auto 20px;
    }
    .goods_person .conts {
        width: 100%;
    }
    .goods_person .conts .name {
        margin: 10px 0 15px;
        font-size: 32px;
    }
    .goods_counsel .frame {
        display: block;
        margin-bottom: 30px;
    }
    .goods_counsel .frame .conts {
        width: 100%;
    }
    .goods_counsel .frame .conts .title {
        display: block;
    }
    .goods_counsel .frame .conts .price {
        margin: -10px 0 20px;
        font-size: 17px;
        text-align: right;
    }
    .goods_counsel .frame .pic {
        width: min(400px,100%);
        margin: 0 auto 30px;
    }
    .faq {
        margin-bottom: 20px;
    }
    .faq .question {
        padding: 10px 40px 10px 4vw;
        font-size: 20px;
    }
    .faq .question::after {
        top: calc(50% - 15px);
        right: 10px;
    }
    .faq .answer {
        padding: 20px 4vw;
    }
    
}

/* goods */

.goods_lesson {
    padding: 90px 0 120px;
    background: var(--blue_light);
    color: var(--white);
}
.goods_lesson .title {
    width: 880px;
    margin: 0 auto 60px;
    padding: 15px 0;
    background: var(--white);
    color: var(--blue_light);
    font-size: 40px;
    font-weight: 900;
    text-align: center;
}
.goods_lesson .frame {
    display: flex;
    justify-content: space-between;
}
.goods_lesson .frame .pic {
    width: 43.3333%;
}
.goods_lesson .frame .pic img {
    aspect-ratio: 130/107;
    border-radius: 5px;
}
.goods_lesson .frame .conts {
    width: 52.5%;
}
.goods_lesson .frame .conts .subtitle {
    margin-bottom: 40px;
    font-size: 40px;
    font-weight: 900;
}
.goods_lesson .frame .conts .p {
    margin-bottom: 30px;
    line-height: 2;
}

@media screen and (min-width: 768px) and (max-width: 1260px){
    
    .goods_lesson {
        padding: 7vw 0 9vw;
    }
    .goods_lesson .title {
        width: 88%;
        margin: 0 auto 5vw;
        padding: 1.5vw 0;
        font-size: 3.5vw;
    }
    .goods_lesson .frame .conts .subtitle {
        margin-bottom: 3.5vw;
        font-size: 3.2vw;
    }
    .goods_lesson .frame .conts .p {
        margin-bottom: 3vw;
    }
    
}
@media screen and (max-width: 767px){
    
    .goods_lesson {
        padding: 50px 0;
    }
    .goods_lesson .title {
        width: 100%;
        margin: 0 auto 30px;
        padding: 12px 0;
        font-size: min(7vw,32px);
    }
    .goods_lesson .frame {
        display: block;
    }
    .goods_lesson .frame .pic {
        width: min(400px,100%);
        margin: 0 auto 20px;
    }
    .goods_lesson .frame .conts {
        width: 100%;
    }
    .goods_lesson .frame .conts .subtitle {
        margin-bottom: 20px;
        font-size: min(6.2vw,32px);
    }
    .goods_lesson .frame .conts .p {
        margin-bottom: 20px;
    }

}

/*----- contact -----*/

.message {
    padding: 75px 0 60px;
}
.message_frame {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}
.message_conts {
    width: 63.33%;
}
.message_pic {
    width: 33.33%;
}
.message_pic .pic {
    margin-bottom: 15px;
}
.message_pic .president {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
}
.message_pic .name {
    margin-left: 15px;
    font-size: 32px;
    font-weight: 900;
}

.contact_call {
    padding: 45px 0 60px;
    background: var(--blue);
    color: var(--white);
}
.contact_call .m_title {
    color: var(--white);
}
.contact_call .tel {
    margin-top: -20px;
}
.contact_call .tel a {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.contact_call .tel a .icon {
    width: 32px;
    margin-right: 10px;
}
.contact_call .tel a .call {
    color: var(--white);
    font-size: 55px;
    font-weight: 900;
    letter-spacing: 2px;
}

.about {
    padding: 90px 0 120px;
    background: var(--light_blue);
}
.about_box {
    background: var(--white);
    margin-bottom: 120px;
    padding: 40px 60px;
}
.about_box .btns {
    margin-bottom: -80px;
    display: flex;
    justify-content: space-between;
}
.about_box .btns .btnlink {
    width: 48.5%;
    overflow: hidden;
}
.about_box .btns .btnlink img {
    aspect-ratio: 520/173;
    transition: .5s;
}
.about_box .btns .btnlink a:hover img {
    transform: scale(1.05);
}
.about_video {
    display: flex;
    justify-content: space-between;
}
.about_video .conts {
    order: 2;
    width: 46%;
    padding-top: 30px;
}
.about_video .video {
    width: 50%;
}
.about_video .video video {
    width: 100%;
    aspect-ratio: 4/3;
}

.complete {
    padding: 90px 0;
}

@media screen and (min-width: 768px) and (max-width: 1260px){
    
    .message {
        padding: 6.66vw 0;
    }
    .message_frame {
        margin-top: 5vw;
    }
    .message_pic .pic {
        margin-bottom: 1.5vw;
    }
    .message_pic .president {
        margin-top: 1.5vw;
    }
    .message_pic .name {
        margin-left: 1.5vw;
        font-size: 3vw;
    }
    
    .contact_call {
        padding: 4vw 0;
    }
    .contact_call .tel {
        margin-top: -1vw;
    }
    .contact_call .tel a .icon {
        width: 3vw;
        margin-right: 1vw;
    }
    .contact_call .tel a .call {
        font-size: 5vw;
        letter-spacing: .2vw;
    }

    .about {
        padding: 7vw 0 8vw;
    }
    .about_box {
        margin-bottom: 10vw;
        padding: 3vw 3vw;
    }
    .about_box .btns {
        margin-bottom: -6.66vw;
    }
    .about_video .conts {
        padding-top: 3vw;
    }

    .complete {
        padding: 7.5vw 0;
    }
    
}
@media screen and (max-width: 767px){
    
    .message {
        padding: 50px 0;
    }
    .message_frame {
        display: block;
        margin-top: 0;
    }
    .message_conts {
        width: 100%;
    }
    .message_pic {
        width: 100%;
    }
    .message_pic .pic {
        width: min(400px,100%);
        margin: 0 auto 15px;
    }
    
    .contact_call {
        padding: 40px 0;
    }
    .contact_call .tel {
        margin-top: -15px;
    }
    .contact_call .tel a .icon {
        width: 28px;
    }
    .contact_call .tel a .call {
        font-size: min(12vw,48px);
    }

    .about {
        padding: 50px 0;
    }
    .about_box {
        margin-bottom: 30px;
        padding: 20px 5vw 5px;
    }
    .about_box .btns {
        margin-bottom: 0;
        display: block;
    }
    .about_box .btns .btnlink {
        margin: 0 auto 15px;
        width: min(400px,100%);
    }
    .about_video {
        display: block;
    }
    .about_video .conts {
        width: 100%;
    }
    .about_video .video {
        margin: auto;
        width: min(400px,100%);
    }

    .complete {
        padding: 60px 0;
    }    
}

@media screen and (min-width:1024px){
.messagetitle  br:nth-child(1),.brdisplaynone br{
 display:none;
}
}


