@media screen and (max-width:1660px) {
    .header_top nav {
        margin-left: 5%;
    }
}


/* レスポンシブ1420px */
@media screen and (max-width:1420px) {

    /* ヘッダー */
    /* ヘッダー右 */
    .header_top_right {
        display: flex;
    }

    .openbtn1 {
        display: block;
        margin-left: -25%;
    }

    .link .link_d1,
    .link_d2,
    .link_d3 {
        display: none;
    }

    .header_top nav {
        display: none;
    }

    /* ハンバーガメニュー */

    /* ヘッダートップ */
    .header_top {
        display: flex;
        justify-content: space-between;
        width: 95%;
        margin: auto;
    }

    .header_top img {
        margin-left: 20px;
    }


    .link {
        margin-right: 50px;
    }

    .link_d2 {
        width: 155px;

    }

    .logo {
        width: 33%;
    }

    .humberger {
        width: 100%;
        height: 100%;
    }

    .f1_d1 {
        flex-direction: column;
    }

    .f1_d1 img {
        margin-top: 75px;
    }


    .s5_d1 {
        height: 250px;
    }
}

@media screen and (max-width:1340px) {
    .header_top nav {
        margin-left: 0;
    }
}

@media screen and (max-width:1300px) {
    nav ul li {
        margin-left: -10px;
    }
}


@media screen and (max-width:1200px) {
    .title h2 {
        font-size: 2.5rem;
    }

    .s5_d1 h1 {
        font-size: 3rem;
    }

    .s5_d1 p {
        font-size: 1.875rem;
    }

    nav ul li {
        margin-left: -35px;
    }
}

/* レスポンシブ1120px */
@media screen and (max-width:1120px) {
    .s1_d2 h2 {
        font-size: 2.5rem;
    }

    .s1_d2 {
        height: 650px;
    }

    .s1_d2 p {
        line-height: 40px;
    }

    .link_d1 {
        display: none;
    }

}

/* レスポンシブ1080px */
@media screen and (max-width:1080px) {
    .top_title {
        font-size: 3.3125rem;
        line-height: 80px;
    }

    .s5_d3 {
        justify-content: center;
    }

    .s5_d1 {
        height: 200px;
    }
}

@media screen and (max-width:960px) {
    .title h2 {
        font-size: 2rem;
        line-height: 60px;
    }

    .openbtn1 {
        margin-left: -30%;
    }

    .header_top .logo img {
        width: 80%;
    }

    .header_top_right {
        align-items: center;
        justify-content: center;
    }

    .link .link_d1,
    .link_d2 {
        width: 155px;
        height: 45px;
        align-items: center;
    }

    .humberger {
        margin-top: 0;
    }

    .title {
        margin-top: 30px;
        height: 225px;
    }

    .title p {
        font-size: 1.5rem;
        line-height: 60px;
    }

    .message .p1 {
        font-size: 2rem;
    }

    .m1_d1 p {
        font-size: 2.5rem;
    }

    .btn04 {
        font-size: 1.5rem;
        padding: 20px 210px;
    }

    a.btn04.borderleft {
        margin-top: 50px;
    }

    .s1_d2 .p1 {
        font-size: 3.5rem;
    }

    .s1_d2 h2 {
        font-size: 2rem;
    }

    .s1_d2 p {
        font-size: 1.1rem;
        line-height: 30px;
    }

    .s1_d2 {
        height: 500px;
    }

    .section_2 {
        margin-top: 5rem;
    }

    .s2_d2_p {
        font-size: 1.2rem;
        line-height: 32px;
    }

    .section_3 {
        margin-top: 85px;
    }

    .section_4 {
        margin-top: 80px;
    }

    .section_5 {
        margin-top: 10px;
    }

    .s5_d1 h1 {
        font-size: 3rem;
        padding-top: 25px;
    }

    .s5_d1 p {
        font-size: 2rem;
    }

    .s6_d2 .p0 {
        font-size: 2rem;
    }

    .section_6 .p8 {
        font-size: 2.5rem;
    }

    .section_6 .p3 {
        font-size: 1.625rem;
    }

    .s6_d2 img {
        margin-top: 50px;
    }

    .section_6 .p6 {
        font-size: 2rem;
    }

    .section_6 .p5 {
        font-size: 2rem;
    }

    .Block2::after {
        top: -149px;
        height: 585px;
    }
}

/* レスポンシブ820px */
@media screen and (max-width:821px) {
    .top-banner li img {
        display: none;
    }

    .title h2 {
        font-size: 1.875rem;
        margin-top: 120px;
        line-height: 60px;
        margin: 0;
        font-size: 2.25rem;
        line-height: 35px;
    }

    .title p {
        font-size: 1.25rem;
        line-height: 40px;
        margin-top: 20px;
    }

    .top_title {
        font-size: 3.5rem;
        line-height: 70px;
        top: 43%;
    }

    .link {
        margin-left: 0;
    }


    /* ヘッダートップ */
    .header_top nav {
        display: none;
    }

    .header_top .logo img {
        width: 109px;
        height: 45px;
    }

    .top-banner li {
        width: calc(100%);
    }

    .link {
        justify-content: flex-end;
        flex-basis: 100%;
    }

    .link .link_d2 {
        margin-right: 10px;
    }

    /* ヘッダーミドル */
    .fade-left,
    .fade-right {
        display: none;
    }

    .header_middle .sp {
        display: block;
    }

    .header_middle {
        height: 100%;
        width: 100%;
    }

    .header_middle .top-banner {
        display: block;
    }

    /* ヘッダーボトム */
    .header_middle {
        margin-top: 15px;
    }

    /* ヘッダーボトム */
    .header_bottom {
        display: none;
    }

    /* メッセージ */

    .message .p1 {
        font-size: 1.5rem;
    }

    .m1_d1 p {
        font-size: 2rem;
    }

    .m1_d2 img {
        width: 80%;
        max-width: 1400px;
        margin: 5% 5%;
    }

    .btn04 {
        padding: 20px 210px;
        margin-top: 50px;
    }

    .btn04 span {
        font-size: 1.125rem;
    }

    /* セクション1 */
    .section_1 {
        margin-top: 90px;
    }

    .s1_d3 {
        display: none;
    }

    .s1_d1 {
        width: 60%;
        margin-left: 0;
    }

    .s1_d1 img {
        top: 135px;
    }

    .s1_d2 {
        width: 100%;
        height: 426px;
    }

    .s1_d2 .p1 {
        font-size: 2.25rem;
        padding-top: 75px;
    }

    .s1_d2 h2 {
        font-size: 2.25rem;
    }

    .s1_d2 p {
        font-size: 1.225rem;
        line-height: 40px;
    }

    /* セクション2 */
    .section_2 {
        display: block;
        margin-top: 100px;
    }

    .s2_d1_1 {
        height: 426px;
    }

    .s2_d1_1 img {
        margin: 95px 10% -20px;
    }

    .s2_d2 {
        padding: 0;
        margin-top: 35%;
        width: 100%;
    }

    .s2_d2 a {
        margin-top: 0;
        justify-content: center;
        margin-top: -120px;
        max-width: none;
    }

    .s2_d2_a img {
        /* width: 426px;
        height: 110px; */
        width: 50%;
        margin: 0 5%;
        text-align: center;
    }

    .s2_d2_p {
        display: none;
    }

    /* セクション３ */
    .section_3 {
        flex-direction: column-reverse;
        margin-top: 100px;
    }

    /* セクション４ */
    .section_4 {
        display: block;
        margin-top: 100px;
    }

    .s4_d2 {
        padding: 5%;
        margin: -90px 5%;
    }

    .s4_d2 a {
        margin-top: 105px;
    }

    .s4_d2_p {
        display: none;
    }

    .s4_d1 img {
        width: 80%;
        margin: 95px 10% -20px;
    }

    .s4_d2 a {
        justify-content: center;
    }

    .s4_d2 img {
        width: 426px;
        height: 110px;
        text-align: center;
    }

    /* セクション５ */
    .section_5 {
        margin-top: 70px;
    }

    .s5_d1 {
        height: 186px;
    }

    .s5_d1 h1 {
        display: none;
    }

    .s5_d1 p {
        display: none;
    }

    .s5_d2 img {
        max-width: 540px;
    }

    .s5_d3 {
        display: none;
    }

    /* レスポンシブ用画像 */
    .interview {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 50px;
    }

    .interview img {
        max-width: 426px;
        width: 90%;
    }

    /* セクション６ */
    .section_6 {
        margin-top: 180px;
    }

    .s6_d1 {
        display: none;
    }

    .section_6 .p7_b {
        display: none;
    }

    .section_6 .p2_b {
        display: none;
    }

    .Block2::after {
        height: 712px;
        top: -150px;
    }

    .s6_d2 .p0 {
        font-size: 2.625rem;
        margin-bottom: 35px;
        margin-right: 24px;
    }

    .section_6 .p8 {
        font-size: 3.375rem;
        margin-bottom: 30px;
    }

    .section_6 .p6 {
        font-size: 3.125rem;
    }

    .section_6 .p5 {
        font-size: 2rem;
    }

    .section_6 .p3 {
        font-size: 1.475rem;
        margin: 0 5%;
    }

    .s6_d2 .p0 {
        padding-right: 2px;
    }

    .s6_d2 img {
        margin-top: 40px;
    }

    .s5_d1 {
        height: 115px;
    }

    .senior {
        margin-top: 85px;
    }

    .senior img {
        margin: -45px auto 0;
    }

    /* フッター */
    footer {
        margin-top: 110px;
        height: 1000px;
    }

    .f1_d1 {
        flex-direction: column;
    }

    .f1_d1 img {
        margin-top: 100px;
        width: 70%;
    }
}

/* レスポンシブ768px */
@media screen and (max-width:768px) {

    .menu__item {
        padding: 11px 0;
        font-size: 1.25rem;
    }

    .mini {
        font-size: 0.8rem;
    }

    /* ヘッダー */
    .header_top nav {
        display: none;
    }

    .header_top .logo img {
        width: 109px;
        height: 45px;
    }

    .top_title {
        font-size: 3.5rem;
        line-height: 75px;
        top: 40%;
    }

    .top-banner li {
        width: calc(100%);
    }

    .link {
        margin-right: 0;
    }

    .link_d2 {
        width: 100px;
        height: 50px;
    }

    .link .link_d2 {
        margin-left: 0;
        margin-right: 30px;
    }

    .link p {
        font-size: 0.9rem;
    }

    .humberger {
        margin-top: 0;
    }

    /* ヘッダーミドル */
    .fade-left,
    .fade-right {
        display: none;
    }

    .header_middle .sp {
        display: block;
    }


    .header_middle {
        height: 100%;
        width: 100%;
    }

    .header_middle .top-banner {
        display: block;
    }

    .title {
        margin-top: -90px;
    }

    /* ヘッダーボトム */
    .header_middle {
        margin-top: 15px;
    }

    /* ヘッダーボトム */
    .header_bottom {
        display: none;
    }

    /* タイトル */
    .title h2 {
        margin-top: 115px;
        font-size: 1.625rem;
        line-height: 40px;
    }

    /* メッセージ */

    .message {
        margin-top: 70px;
    }

    .message .p1 {
        font-size: 1.25rem;
    }

    .m1_d1 p {
        font-size: 1.5rem;
    }

    .m1_d2 img {
        width: 80%;
        margin: auto;
    }

    .m1_d2 {
        margin-top: 50px;
    }

    .btn04 {
        padding: 20px 210px;
        margin-top: 50px;
    }

    .btn04 span {
        font-size: 1.5rem;
    }

    .title p {
        font-size: 1rem;
        line-height: 40px;
    }

    /* セクション1 */
    .section_1 {
        margin-top: 100px;

    }

    .s1_d3 {
        display: none;
    }

    .s1_d1 {
        width: 60%;
        margin-left: 0;
    }

    .s1_d1 img {
        top: 135px;
        margin-left: 25px
    }

    .s1_d2 {
        width: 100%;
        height: 426px;
    }

    .s1_d2 .p1 {
        font-size: 2.25rem;
        padding-top: 80px;
    }

    .s1_d2 h2 {
        font-size: 2.25rem;
    }

    .s1_d2 p {
        font-size: 1.25rem;
        line-height: 30px;
    }

    /* セクション2 */
    .section_2 {
        display: block;
        margin-top: 100px;
    }

    .s2_d1_1 {
        height: 300px;
    }

    .s2_d1_1 img {
        margin: 45px 10% -20px;
    }

    .s2_d2 a {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: -50px;
    }

    .s2_d2_a img {
        width: 60%;
        margin: 0 10%;
    }

    .s2_d2_p {
        display: none;
    }

    /* セクション３ */
    .section_3 {
        flex-direction: column-reverse;
        margin-top: 100px;
    }

    /* セクション４ */
    .section_4 {
        display: block;
        margin-top: 100px;
    }

    .s4_d2 {
        padding: 5%;
        margin: -90px 5%;
    }

    .s4_d2 a {
        margin-top: 105px;
    }

    .s4_d2_p {
        display: none;
    }

    .s4_d1 img {
        width: 80%;
        height: 100%;
        margin: 95px 10% -20px;
    }

    .s4_d2 a {
        justify-content: center;
    }

    .s4_d2 img {
        width: 426px;
        height: 110px;
        text-align: center;
    }

    /* セクション５ */
    .section_5 {
        margin-top: 170px;
    }

    .s5_d1 {
        height: 105px;
    }

    .s5_d1 h1 {
        display: none;
    }

    .s5_d1 p {
        display: none;
    }

    .s5_d3 {
        display: none;
    }

    /* レスポンシブ用画像 */
    .interview {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 50px;
    }

    /* セクション６ */
    .section_6 {
        margin-top: 120px;
    }

    .s6_d1 {
        display: none;
    }

    .section_6 .p7_b {
        display: none;
    }

    .section_6 .p2_b {
        display: none;
    }

    .Block2::after {
        height: 610px;
        top: -125px;
    }

    .s6_d2 .p0 {
        font-size: 2rem;
        margin-bottom: 35px;
        margin-right: 24px;
    }

    .section_6 .p8 {
        margin-bottom: 30px;
    }

    .section_6 .p6 {
        font-size: 2rem;
    }

    .section_6 .p5 {
        margin-bottom: 15px;
    }

    .section_6 .p3 {
        font-size: 1.25rem;
        line-height: 35px;
    }

    .s6_d2 img {
        margin-top: 50px;
    }

    /* フッター */
    footer {
        margin-top: 215px;
        height: 740px;
    }

    .f1_d1 {
        flex-direction: column;
    }

    .f2_d1 {
        margin-top: 75px;
    }

    .f1_d1 img {
        width: 60%;
        margin-top: 75px;
    }

    .s5img {
        display: block;
    }
}

/* レスポンシブ640px */
@media screen and (max-width:640px) {
    .header_top .logo img {
        margin-left: 20px;
    }

    .btn04 span {
        font-size: 1rem;
    }

    .btn04 {
        padding: 10px 105px;
    }
}

@media screen and (max-width:560px) {
    .title h2 {
        font-size: 1.5rem;
        line-height: 40px;
    }

    .s2_d2 {
        margin-top: 25%;
    }

    .Block2::after {
        height: 370px;
        top: -76px;
    }

    .s6_d2 .p0 {
        font-size: 1.625rem;
        margin-bottom: 0;
        margin-right: 5px;
    }

    .section_6 .p8 {
        margin-bottom: 20px;
        font-size: 2rem;
    }

    .section_6 .p6 {
        font-size: 1.625rem;
        margin-bottom: 8px;
    }

    .section_6 .p5 {
        margin-bottom: 20px;
    }

    .section_6 .p3 {
        font-size: 0.7rem;
        line-height: 25px;
    }

    .s6_d2 img {
        width: 200px;
        height: 50px;
        margin-top: 20px;
    }

    .section_6 .p5 {
        font-size: 1.25rem;
    }
}

@media screen and (max-width:580px) {
    footer {
        margin-top: 70px;
    }

    .s5_d1 {
        height: 80px;
    }

    .s1_d2 {
        height: 340px;
    }

    .s1_d2 h2 {
        font-size: 2rem;
    }

    .s1_d2 p {
        font-size: 0.9rem;
        line-height: 20px;
    }
}

@media screen and (max-width:491px) {
    .title {
        height: 300px;
    }

    .top_title {
        font-size: 2.5rem;
        line-height: 65px;
        top: 40%;
    }

    .header_top .logo img {
        width: 80px;
    }

    .header_top_right {
        align-items: center;
    }

    .link_d2 {
        height: 30px;
    }

    .title h2 {
        font-size: 1.25rem;
        line-height: 30px;
    }

    .title p {
        font-size: 0.7rem;
        line-height: 30px;
    }

    .message {
        margin-top: 0;
    }


    .btn04 span {
        font-size: 0.9rem;
    }

    .btn04 {
        padding: 10px 105px;
    }

    .s1_d2 {
        height: 340px;
    }

    .s1_d2 h2 {
        font-size: 2rem;
    }

    .s1_d2 p {
        font-size: 0.9rem;
        line-height: 20px;
    }

    .s2_d2 {
        margin-top: 15%;
    }
}



/* レスポンシブ450px */
@media screen and (max-width:450px) {
    footer {
        margin-top: 70px;
    }

    .f2_d1 .sns img {
        width: 35px;
        height: 35px;
    }

    .f2_d1 img {
        width: 207;
        height: 74;
    }
}


/* レスポンシブ390px */
@media screen and (max-width:391px) {

    /* ヘッダー */
    .header_top {
        height: 55px;
        align-items: center;
    }

    .header_middle {
        margin-top: 0;
    }

    .header_top nav {
        display: none;
    }

    .header_top .logo img {
        width: 63px;
        height: 45px;
    }

    .openbtn1 {
        height: 35px;
    }

    .openbtn1.active span:nth-of-type(1) {
        top: 10px;
        left: 19px;
    }

    .openbtn1.active span:nth-of-type(3) {
        top: 22px;
        left: 19px;
    }

    .openbtn1 span:nth-of-type(1) {
        top: 8px;
    }

    .openbtn1 span:nth-of-type(2) {
        top: 16px;
    }

    .openbtn1 span:nth-of-type(3) {
        top: 24px;
    }

    .top-banner li {
        width: calc(100%);
    }

    .link {
        justify-content: flex-end;
        flex-basis: 100%;
        margin-right: 0;
    }

    .link_d2 {
        width: 70px;
        height: 30px;
    }

    .link .link_d2 {
        margin-left: 0;
    }

    .link p {
        font-size: 0.7rem;
    }

    .humberger {
        margin-top: 0;
    }

    /* ヘッダーミドル */
    .fade-left,
    .fade-right {
        display: none;
    }

    #header {
        padding-top: 0;
    }

    .header_middle .sp {
        display: block;
        height: 50%;
    }


    .header_middle {
        height: 100%;
        width: 100%;
    }

    .header_middle .top-banner {
        display: block;
        height: 100%;
    }

    .title {
        margin-top: -90px;
        height: 260px;
    }

    .title p {
        margin-top: 10px;
        font-size: 0.7rem;
        line-height: 21px;
    }

    /* ヘッダーボトム */
    .header_bottom {
        display: none;
    }

    /* タイトル */
    .title h2 {
        margin-top: 115px;
        font-size: 1.25rem;
        line-height: 28px;
    }

    .top_title {
        line-height: 65px;
    }

    /* メッセージ */

    .message .p1 {
        font-size: 1.25rem;
    }

    .m1_d1 p {
        font-size: 1rem;
    }

    .m1_d2 img {
        width: 80%;
        margin: auto;
    }

    .m1_d2 {
        margin-top: 50px;
    }

    .btn04 {
        padding: 5px 50px;
        margin-top: 50px;
    }

    .btn04 span {
        font-size: 1rem;
    }

    /* セクション1 */
    .section_1 {
        margin-top: -90px;
        flex-direction: column;
    }

    .s1_d3 {
        display: none;
    }

    .s1_d1 {
        width: 60%;
        margin-left: 0;
    }

    .s1_d1 img {
        top: 135px;
        margin-left: 73px
    }

    .s1_d2 {
        width: 100%;
        height: 345px;
    }

    .s1_d2 .p1 {
        font-size: 1.5rem;
        padding-top: 140px;
        margin: 0;
        text-align: center;
    }

    .s1_d2 h2 {
        font-size: 1.25rem;
        margin: 0;
        text-align: center;
    }

    .s1_d2 p {
        font-size: 0.7rem;
        line-height: 21px;
        margin: 0;
        padding: 5px 24% 0;
        text-align: start;
    }

    /* セクション2 */
    .section_2 {
        display: block;
        margin-top: 100px;
    }

    .s2_d1_1 {
        height: 225px;
    }

    .s2_d1_1 img {
        margin: 45px 10% -20px;
    }

    .s2_d2 a {
        margin-top: 0;
        justify-content: center;
        margin-top: -120px;
    }

    .s2_d2_a img {
        width: 60%;
        margin: 120px 10% 0;
    }

    .s2_d2_p {
        display: none;
    }

    /* セクション３ */
    .section_3 {
        flex-direction: column-reverse;
        margin-top: 80px;
    }

    /* セクション４ */
    .section_4 {
        display: block;
        margin-top: 80px;
    }

    .s4_d2 {
        padding: 5%;
        margin: -90px 5%;
    }

    .s4_d2 a {
        margin-top: 105px;
    }

    .s4_d2_p {
        display: none;
    }

    .s4_d1 img {
        width: 80%;
        height: 100%;
        margin: 95px 10% -20px;
    }

    .s4_d2 a {
        justify-content: center;
    }

    .s4_d2 img {
        width: 426px;
        height: 110px;
        text-align: center;
    }

    /* セクション５ */
    .section_5 {
        margin-top: 50px;
    }

    .s5_d1 {
        height: 70px;
    }

    .s5_d1 h1 {
        display: none;
    }

    .s5_d1 p {
        display: none;
    }

    .s5_d2 img {
        max-width: 340px;
    }

    .s5_d3 {
        display: none;
    }

    /* レスポンシブ用画像 */
    .interview {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 50px;
    }

    #top-footer {
        margin-top: 80px;
    }

    .senior {
        margin-top: 0;
    }

    .senior img {
        margin-top: 45px;
    }

    /* セクション６ */
    .section_6 {
        margin-top: 80px;
    }

    .s6_d1 {
        display: none;
    }

    .section_6 .p7_b {
        display: none;
    }

    .section_6 .p2_b {
        display: none;
    }

    .s6_d2 .p0 {
        font-size: 1rem;
        margin-right: 0;
        padding-right: 10px;
    }

    .s6_d2 img {
        height: 173px;
        height: auto;
    }

    .section_6 .p8 {
        font-size: 1.25rem;
    }

    .section_6 .p6 {
        font-size: 1.25rem;
    }

    .section_6 .p3 {
        font-size: 0.7rem;
        line-height: 21px;
    }

    .section_6 .p3 {
        margin-top: 0;
    }

    .Block2::after {
        top: -62px;
        height: 320px;
    }

    /* フッター */
    footer {
        margin-top: 50px;
        height: auto;
    }

    .f1_d1 {
        flex-direction: column;
    }

    .f1_d1 img {
        width: 60%;
        margin: 30px 5% 0;
    }

    .f2_d1 .sns {
        margin: 0 0 20px;
    }

    .senior div a img {
        width: 70%;
    }
}