


.header_menu_icon {
    display: none;
}

#menu-btn-check {
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    padding: 0px 20px;
    margin: 0;
    font-weight: bold;
    background-color: #ffffff;
    display: none;
}

.sp_header_icon {
    display: none;
    width: 100%;
    padding: 16px 16px;
    height: auto;
    z-index: 2;
}

.sp_header_icon img {
    width: auto;
    height: 50px;
}

.sp_footer {
    display: none;
}

@media screen and (max-width:1080px) {
    .header {
        display: none;
    }

    .header_menu_icon {
        display: block;
        position: fixed;
        top: 16px;
        right: 16px;
        z-index: 2;
    }

    .sp_header_icon {
        display: flex;
        position: fixed;
        background: #ffffff;
    }

    .menu-btn:hover {
        cursor: pointer;
    }

    #menu-btn-check:checked+label .header_menu_icon img {
        content: url('../image/menu_push.svg');
    }

    #menu-btn-check:checked~.menu-content {
        display: block;
    }

    .menu-content ul {
        padding: 120px 10px 0;
    }

    .menu-content ul li {
        border-bottom: solid 1px #ffffff;
        list-style: none;
    }

    .menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 20px;
        color: #988A68;
        text-decoration: none;
        padding: 9px 15px 10px 0;
    }

    .problem_rectangle p {
        font-size: x-small;
    
    }
}




/* ボタンのラベルを切り替える */
.open_button:checked+.service_image+.service_contain+.open_button {
    background: var(--primary, #758993);
}
}

.open_button:checked+.service_image+.service_contain+.open_button::before {
    content: '閉じる';
}

/* ボタンのスタイル */
.open_button {
    display: flex;
    width: 40%;
    height: auto;
    padding: 8px 0px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 30px;
    background: var(--primary, #8AAD50);
    color: var(--white, #FFF);
    text-align: center;
    font-size: 100%;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    cursor: pointer;
}



@media screen and (max-width:480px) {
    h1 {
        white-space: normal;
    }
    h3 {
        font-size: 20px;
    }
    body {
        width: 100%;
        height: auto;
        padding: 0;
        max-width: 480px;
        justify-content: center;
        gap: 0px;
    }

    #support_subtitle {
        font-size: 20px;
    }
        

    .break {
        display: block;
    }

    body p {
        font-size: 14px;
    }

    .footer {
        display: none;
    }

    .top img {
        margin: 0;
    }

    .main_service {
        gap: 8px;
    }

/* 初期状態でアコーディオンが開いているスタイル */
.service_open .service_contain {
    display: none;
    flex-flow: column;
}

.open_button:before {
    content: 'もっと詳しく';
}

/* ボタンのラベルを切り替える */
.open_button:checked+.service_image+.service_contain {
    display: flex;  /* チェックされたときに非表示にする */
}

.open_button:checked+.service_open .service_contain {
    display: none;
    flex-flow: column;
}

.open_button:checked+.service_image+.service_open .open_button {
    display: none;
    flex-flow: column;
    background: var(--primary, #758993);
}

.open_button:checked+.service_image+.service_open .open_button::before {
    content: '閉じる';
}


    #main_service_title{
        width: 80%;
        text-align: center;
    }

    .main_service_icon_wrap {
        font-size: small;
        white-space: nowrap;
    }

    .main_service_icon {
        width: 90px;
        height: auto;
        padding: 32px 0;
    }
    

    .content .green {
        padding: 0px 16px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .content .lgreen {
        padding: 20px 16px;
        margin: 0 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .contact_button {
        width: 70%;
    }

    .about_us{
        width: 100%;
    }

    #about_us_img {
        width: 92%;
        height: auto;
    }

    .green_title {
        width: 100%;
        gap: 0;
    }

    .green_title h1 {
        flex: 1 1 0;
        text-align: center;
        color: #238125;
        font-size: 24px;
        font-weight: bold;
        line-height: 32px;
        word-wrap: break-word;
    }

    .board {
        padding: 32px 16px;
    }

    .board p {
        padding: 0;

    }

    #qa_img {
        width: 100%; 
    }

    .question{
        width: 100%;
    }

    .question_content {
        gap: 3%;
        font-size: 14px;
    }

    .QandA{
        width: 100%;
    }

    .open_button {
        width: 90%;
    }

    .content_subtitle {
        width: 80%;
    }

    .service_open {
        margin: 0 24px;
        width: calc(100% - 48px);
    }

    .service_text {
        font-size: 14px;
        margin: 0;
    }

    .problem_icon {
        width: 100%;
        height: auto;
        padding: 32px 0;
    }

    .problem_rectangle {
        width: 100%;
        height: 80%;
        margin-top: 20%;
    }

    .problem_rectangle img {
        width: 40%;
        height: auto;
    }

    .member_gray_box {
        width: 100%;
        margin:10px 0 0;
    }

    .member_gray_box p {
        white-space: nowrap;
        padding: 0;
    }

    .company_summary{
        width: 100%;
    }

    .komon_movie{
        justify-content: flex-end;
    }

    .summary_content {
        width: 100%;
    }

    .summary_content p {
        padding: 0;
    }

    .sp_footer {
        display: flex;
        width: 100%;
        padding: 32px 0px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
        margin: 0 auto;
        background: var(--secondary_bg2, #8AAD50);
    }

    .sp_footer a {
        color: #ffffff;
    }

    .line {
        width: 50%;
    }

    .contact-list p {
        font-size: 8px;
    }

    .line-title p{
        font-size: 8px;
    }

    .end_boundary {
        display: block;
    }
}