@media screen and (max-width: 767px) {
    .header_block {
        width: 100%;
        height: 70px;
        z-index: 99999;
    }

    .header_menu{
        position: relative;
        padding: 0;
    }

    .mv_logo {
        position: absolute;
        z-index: 2;
        top: 12%;
        left: 3%;
        max-width: 200px;
        min-width: 140px;
        width: 30%;
    }

    .mv_box{
        position: relative;
        margin-top: 70px;
    }
    
    
    .mv_txt{
        position: absolute;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        height: 100%;
        object-fit: cover;
        top: 64%;
        left: 50%;
        transform: translate(-50%, -50%);
        align-items: flex-end;
    }

    .mv_btn_sp{
        max-width: 50%;
        position: absolute;
        right: 3%;
    }

    .header_menu ul {
        display: flex;
        font-size: 20px;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }


    /* overlay-styles.css */
    .hamburger-overlay {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1000;
        width: 70px;
        height: 70px;
        border: none;
        background: transparent;
        cursor: pointer;
        background-color: #04174c;
    }
    
    .hamburger-overlay__line {
        position: absolute;
        left: 25px;
        width: 20px;
        height: 2px;
        background-color: #fff;
        transition: all .6s;
    }
    
    .hamburger-overlay__line:nth-of-type(1) { top: 24px; }
    .hamburger-overlay__line:nth-of-type(2) { top: 33px; }
    .hamburger-overlay__line:nth-of-type(3) { top: 42px; }
    
    .hamburger-overlay.active .hamburger-overlay__line {
        background-color: #fff;
    }
    
    .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
        transform: translateY(9px) rotate(-45deg);
    }
    .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
        opacity: 0;
    }
    .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
        transform: translateY(-9px) rotate(45deg);
    }
    
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #04174c;
        visibility: hidden;
        opacity: 0;
        transition: all .6s;
        z-index: 900;
    }
    
    .nav-overlay.active {
        visibility: visible;
        opacity: 1;
    }
    
    .nav-overlay__content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
    }
    
    .nav-overlay__list {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .nav-overlay__item {
        opacity: 0;
        transform: translateY(20px);
        transition: all .6s;
    }
    
    .nav-overlay.active .nav-overlay__item {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-overlay__link {
        display: inline-block;
        padding: 15px;
        color: #fff;
        font-size: 20px;
        text-decoration: none;
        transition: color .3s;
    }
    
    .nav-overlay__link:hover {
        color: #4a90e2;
    }

    /****************
lp_mv
****************/
    .lp_mv {
        background-image: url(/assets/images/lp/main_visual_sp.jpg);
    }

    .mv_payment {
        right: auto;
        left: 0;
    }

    .mv_payment::after {
        right: auto;
        left: 0;
        width: 100vw;
        height: 24vw;
        background: linear-gradient(-13deg, transparent 0%, transparent 50%, #00174C 50%, #00174C 100%);
    }

    .mv_payment_text {
        margin: 5px 0 0 13px;
        font-size: 20px;
        text-align: left;
    }

    .mv_payment_text span {
        font-size: 23px;
    }

    .mv_commission {
        top: 4px;
        right: auto;
        width: 90px;
        height: 90px;
        left: 130px;
    }

    .mv_commission_title {
        font-size: 16px;
    }

    .mv_commission_text {
        font-size: 18px;
    }

    .mv_commission_text span {
        font-size: 38px;
        margin-right: 3px;
        line-height: 1;
    }

    .lp_mv .container {
        padding: 110px 20px 40px;
        position: relative;
        z-index: 10;
    }

    .mv_label-item {
        font-size: 16px;
    }

    .mv_titleArea {
        margin-top: 20px;
    }

    .mv_title {
        font-size: 45px;
        line-height: 1.4;
    }

    .mv_point {
        margin-top: 35px;
        flex-flow: row wrap;
        justify-content: center;
        gap: 6px;
    }

    .mv_point-item {
        width: 105px;
        height: 80px;
    }

    .mv_consul p {
        font-size: 16px;
    }

    .mv_consul_textArea {
        padding-bottom: 150px;
    }

    .mv_consul_img {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .mv_bnrArea {
        gap: 20px;
        margin-top: 40px;
        flex-direction: column;
    }

/****************
news
****************/
/* バナー本体 */
.news-banner {
display: flex;
height: 50px;
width: 100%;
background-color: #04174c;
overflow: hidden;
}

/* バナー内コンテンツ */
.news-banner__content {
display: flex;
align-items: center;
color: #fff;
line-height: 30px;
padding-left: 100%;
white-space: nowrap;
animation: animate-banner 20s linear infinite;
}

.news-banner__content p{
    margin-left: 25vw;
}

/* バナー内の要素をすべて選択 */
.news-banner__content p,
.news-banner__content p a{
color: #fff;
}

/* 横にスクロールさせるアニメーション */
@keyframes animate-banner {
0% {
    transform: translateX(0);
}
100% {
    transform: translateX(-100%);
}
}

    /****************
media
****************/
    .price .table_area {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 34px;
    }

    .price .table_item {
        margin: 0 auto;
        gap: 0;
    }

    /****************
media
****************/
    .media_container {
        flex-direction: column;
    }

    .media_box {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .media_img {
        margin-left: 0;
        margin-bottom: 25px;
        width: 100%;
    }

    .media_img:nth-child(even){
        margin-left: 0;
    }

    .media_img:last-child{
        margin-left: 0;
        margin-bottom: 0;
    }

    .media .text_sentence {
        margin-top: 14px;
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 26px;
    }

    .small_price{
        padding-left: 0px;
    }

    .price_sub-title {
        margin-top: 15px;
        font-size: clamp(1.0rem, 0.927rem + 1.38vw, 1.0rem);
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: 0.08em;
    }

    .price_info-txt {
        color: #8b8b8b;
        font-size: clamp(0.7rem, 0.889rem + 0.49vw, 0.7rem);
        margin-bottom: 30px;
    }

    .pc__none{
        display: block;
    }

    /****************
feelSafe
****************/
    .feelSafe .card_list {
        /* grid-template-columns: repeat(3,1fr); */
        gap: 11px;
        /* max-width: 120px; */
        /* margin: 0 auto; */
        /* flex-flow: row wrap; */
        display: flex;
        flex-flow: row wrap;
    }

    .price .table_dl{
        width: 100%;
    }

    .price .table_dd {
        width: 70%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feelSafe .card_item {
        font-size: 12px;
        height: 100px;
        width: 100px;
    }

    .contact_cardBox_img {
        max-width: 65px;
        width: 100%;
    }

    .feelSafe .card_area {
        margin-top: 30px;
    }

    .feelSafe .card_item .card_price{
        font-size: 30px;
    }

    .feelSafe .card_item .money{
        font-size: 18px;
    }

    .feelSafe .card_item .card_price {
        line-height: 1.2;
    }
    /****************
contact
****************/
    .title_area_inner {
        align-items: start;
        flex-direction: column;
    }

    .contact .contact_cardArea_inner {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .contact .contact_link {
        flex-direction: column;
        justify-content: center;
        padding: 12px;
    }

    .contact .title {
        margin-bottom: 10px;
    }

    .contact_cardBox_textArea {
        max-width: 350px;
        width: 100%;
    }

    .contact .contact_cardArea {
        padding: 14px 20px;
    }

    .contact .title_area_inner {
        padding: 12px 20px 12px;
    }

    .contact_cardBox_sentence {
        line-height: 1.5;
    }

    /****************
reason
****************/
    .reason_itemBox {
        flex-direction: column;
    }

    .reason_itemBox_img {
        max-width: 100%;
    }

    .reason_itemBox_sentence {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .reason_itemBox {
        padding-left: 0;
    }

    .reason_itemBox_title {
        font-size: 26px;
        margin-bottom: 14px;
        padding-left: 46px;
    }

    .reason .reason_itemBox .reason_itemBox_title::after {
        font-size: 35px;
        left: 0;
        top: -8px;
    }

    .reason .reason_itemBox .reason_itemBox_title::after {
        border-bottom: 3px solid #1E8FD7;
        left: -6px;
        top: -14px;
        line-height: 2.2;
    }

    .reason .reason_itemBox .reason_itemBox_title::before {
        border-bottom: 3px solid #1E8FD7;
        top: 36px;
        left: -25px;
        padding-right: 0%;
        padding-left: 10%;
    }

    .reason_itemBox_text {
        padding-left: 0;
    }

    /****************
point
****************/
    .point_itemBox:nth-child(odd) {
        flex-direction: column;
    }

    .point_itemBox:nth-child(even) {
        flex-direction: column;
    }

    .point_text {
        padding: 40px 20px 40px;
    }

    .point_textArea_title::before {
        top: 37px;
        width: 76px;
    }

    .point_textArea_title {
        font-size: 24px;
    }

    .point_itemBox::before {
        display: none;
    }

    .point_itemBox_img {
        position: relative;
    }

    .point_itemBox_img::before {
        align-items: center;
        background-color: #1E8FD7;
        display: flex;
        content: '';
        color: #fff;
        font-size: 28px;
        font-family: 'Oswald', sans-serif;
        justify-content: center;
        height: 50px;
        left: 50%;
        top: 95%;
        transform: translateX(-50%);
        width: 50px;
        position: absolute;
    }

    .point_itemBox:nth-of-type(1) .point_itemBox_img::before {
        content: '01';
    }

    .point_itemBox:nth-of-type(2) .point_itemBox_img::before {
        content: '02';
    }

    .point_itemBox:nth-of-type(3) .point_itemBox_img::before {
        content: '03';
    }

    .point_itemBox:nth-of-type(4) .point_itemBox_img::before {
        content: '04';
    }

    .point_itemBox:nth-of-type(5) .point_itemBox_img::before {
        content: '05';
    }

    /****************
case
****************/
    .case_boxArea {
        grid-template-columns: 1fr;
    }

    .case_itemBox {
        max-width: 280px;
        margin: 0 auto;
        padding: 30px 20px 10px;
        width: 100%;
    }

    .case_itemBox_img {
        margin: 0 auto;
    }

    .case .case_text {
        font-size: 18px;
        margin-left: 12px;
    }


    /****************
genre
****************/
    .genre_list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }



    .genre_listBox_img {
        border-bottom: 1px solid #D4D4D4;
        max-width: 100%;
    }



    /****************
method
****************/

    .method_itemArea {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    /****************
information
****************/
    .information_itemArea {
        flex-direction: column;
    }

    /* 202504追記 */
    .fix_menu {
        overflow: auto;
        white-space: nowrap;
    }

    .fix_menu ul li {
        padding-right: 20px;
    }

    .fix_menu ul li a {
        font-size: 14px;
    }
    

}