/**
 主にタブレットサイズ
 */
@media screen and (max-width: 1079px) {
    /**
     共通
     */
    body {
        width: 100%;
        min-width: 100%;
    }

    .inner {
        width: 100%;
        margin: 0 auto;
    }

    .top-main,
    #contents,
    #Container {
        width: 100%;
        min-width: unset;
    }

    .top-main,
    #contents:not(.top-page),
    #Container {
        margin-top: 80px;
    }

    #contents .contents_m {
        width: 100%;
    }

    #contents .contents_s {
        display: none;
    }

    /**
     ヘッダー
     */
    .header {
        padding: 5px 10px;
        background-color: #ffffff;
    }

    .header__left {
        width: 70%;
        padding-right: 10px;
    }

    .header__left img {
        width: auto;
        max-height: 60px;
    }

    .header__center {
        display: none;
    }

    .header__right {
        width: 30%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .header__right .btn-header-contact {
        display: none;
    }

    /**
     モバイルメニュー
    */
    .btn-mobile-menu {
        display: block;
        cursor: pointer;
        position: relative;
        width: 36px;
        height: 36px;
        top: 6px;
    }

    .btn-mobile-menu ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    .btn-mobile-menu li {
        border-bottom: 3px solid #333;
        width: 28px;
        margin: 0 auto;
        margin-top: 6px;
        margin-bottom: 6px;
    }

    .btn-mobile-menu.open {
        width: 36px;
        height: 36px;
    }

    .btn-mobile-menu.open li {
        display: none;
        position: absolute;
        top: 10px;
        left: 0;
        right: 0;
    }

    .btn-mobile-menu.open li:first-child {
        display: block;
        transform: rotate(45deg);
    }

    .btn-mobile-menu.open li:last-child {
        display: block;
        transform: rotate(-45deg);
    }

    .mobile-menu {
        display: none;
        margin-top: 80px;
    }

    .mobile-menu ul {
        margin-bottom: 100px;
    }

    .mobile-menu ul li {
        list-style: none;
        margin-bottom: 20px;
    }

    .mobile-menu ul li a {
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 600;
        color: #333333;
    }

    .mobile-menu.open {
        display: block;
        background-color: #ffffff;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 80px 5% 160px 5%;
        -webkit-backface-visibility: hidden;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
        height: 100vh;
        min-height: 100vh;
        overflow-y: scroll;
        z-index: 9999;
        -webkit-backface-visibility: hidden;
        text-align: center;
    }

    .mobile-menu__contact {
        display: inline-block;
        margin: 0 auto;
    }

    /**
     モバイルフッター
    */
    .mobile-footer {
        display: flex;
        align-items: center;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 60px;
        background-color: #ffffff;
        z-index: 999;
    }

    .mobile-footer a img {
        height: 46px;
    }

    /**
     TOPページ：メインビジュアル
    */
    .top-main {
        height: auto;
        min-height: 600px;
        padding: 20px 3%;
        background-position: 80% center;
        background-image: url('../img/2024new/bg_top_main_sp.png');
    }

    .top-main__catchcopy img {
        width: 100%;
        height: auto;
    }

    .top-main__points {
        margin-top: 200px;
        display: flex;
    }

    .top-main__point {
        width: 240px;
        display: flex;
        padding: 20px;
        align-items: center;
        background: #ffffff;
        border-radius: 10px;
        margin-right: 20px;
        filter: drop-shadow(2px 6px 10px rgba(0, 0, 0, 0.3));
        color: #173787;
        position: relative;
    }

    .top-main__point::before {
        width: 40px;
        height: 40px;
        top: -20px;
        left: -10px;
    }

    .top-main__point h2 small {
        display: block;
        font-size: 0.65rem;
    }

    .top-main__point h2 span {
        font-size: 1.5rem;
    }

    /**
     TOPページ：あらゆる目的や条件に対応！
     */
    .sec-intro {
        background-color: #1755cc;
        text-align: center;
        padding: 40px 3% 80px 3%;
        position: relative;
    }

    .sec-intro::after {
        left: 5%;
        bottom: 0;
        width: 90%;
        height: 60px;
    }

    .sec-intro .fukidashi {
        font-size: 1.2rem;
        width: 340px;
        height: 55px;
        padding: 8px 20px;
    }

    .sec-intro h2 {
        font-size: 1.8rem;
    }

    .sec-intro2 {
        height: 400px;
    }

    .sec-intro2 img {
        position: absolute;
        height: auto;
        width: 500px;
        top: -30px;
        left: calc(50% - 250px);
    }

    /**
     TOPページ：簡単30秒入力
     */
    .sec-contact {
        padding: 20px 3%;
    }

    .cta-contact__inner {
        display: block;
        padding: 8px;
    }

    .cta-contact__left {
        width: 100%;
    }

    .cta-contact__left h2 {
        font-size: 3.6rem;
    }

    .cta-contact__left h2::before {
        width: 60px;
        height: 60px;
        top: 18px;
        left: 0;
    }

    .cta-contact__left h2 em {
        font-size: 4.0rem;
    }

    .cta-contact__left p {
        font-size: 1.4rem;
        font-weight: 600;
    }

    .cta-contact__tel {
        display: block;
    }

    .cta-contact__tel a {
        font-size: 3.6rem;
        padding-left: 70px;
    }

    .cta-contact__tel a::before {
        width: 50px;
        height: 50px;
        top: 18px;
        left: 0;
    }

    .cta-contact__right {
        width: 100%;
        padding: 20px 0;
    }

    .cta-contact__right img {
        width: 100%;
        filter: drop-shadow(2px 6px 10px rgba(0, 0, 0, 0.3));
    }

    /**
     TOPページ：こんなお悩み
     */
    .sec-solution {
        padding: 40px 0;
        position: relative;
        border-bottom: 4px solid #def3fd;
    }

    .sec-solution::before {
        top: -200px;
        background-size: cover;
        background-position: center;
        z-index: -1;
    }

    .sec-solution h2 {
        font-size: 2.4rem;
    }

    .sec-solution h2::after {
        width: 90%;
        height: 20px;
    }

    .sec-solution .solution {
        padding: 0 3%;
    }

    .solution__item {
        width: 30%;
    }

    .solution__item:nth-child(2n+1) {
        padding-top: 120px;
    }

    .solution__nayami {
        position: relative;
        text-align: center;
        margin-bottom: 70px;
    }

    .solution__nayami img {
        width: 300px;
        margin: 0 auto;
    }

    .solution__nayami h3 {
        display: inline-block;
        margin: -16px auto 0 auto;
        background-color: #1755cc;
        padding: 10px 30px;
        border-radius: 50px;
        color: #ffffff;
        text-align: center;
        font-size: 0.85rem;
    }

    .solution__kaiketsu p {
        text-align: center;
        font-size: 1.1rem;
        font-weight: 700;
        color: #1755cc;
    }

    .solution__kaiketsu p em {
        font-size: 1.2rem;
        font-weight: 700;
        color: #ffa000;
    }


    /**
     TOPページ：メリット
     */
    .sec-merit {
        padding: 40px 3% 80px 3%;
    }

    .sec-merit .fukidashi {
        font-size: 1.6rem;
        width: 600px;
        height: 70px;
        padding: 8px 20px;
    }

    .sec-merit h2 {
        font-size: 2.6rem;
    }

    .sec-merit .box {
        padding: 6px 20px;
        font-size: 1.8rem;
        height: 80px;
    }

    .sec-merit .prefecture {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        padding-left: 0;
    }

    .sec-merit .prefecture li {
        list-style: none;
        margin-right: 10px;
        font-size: 1.6rem;
    }

    .sec-merit .description p {
        font-size: 1.4rem;
        text-align: left;
    }

    .sec-merit .description img {
        margin: -40px auto 0 auto;
        z-index: -1;
        width: 600px;
    }

    .sec-merit .point {
        font-size: 1.8rem;
    }

    .table-comparison {
        margin-top: 60px;
        border-collapse: collapse;
        border-left: 2px solid #cccccc;
        border-right: 2px solid #cccccc;
        border-bottom: 2px solid #cccccc;
    }

    .table-comparison thead th {
        padding: 10px;
        background-color: #cccccc;
        width: 32%;
    }

    .table-comparison tbody td {
        font-size: 0.8rem;
        text-align: left;
        padding: 10px;
    }

    .table-comparison thead th h3 {
        font-size: 1.0rem;
    }

    /**
     TOPページ：都市の写真
     */
    .sec-gallery .city {
        height: 200px;
        width: 300px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    /**
     TOPページ：かんたん3ステップ
     */
    .sec-steps {
        padding: 60px 3%;
    }

    .sec-steps .fukidashi {
        font-size: 1.8rem;
        width: 500px;
        height: 80px;
    }

    .sec-steps h2 {
        font-size: 2.4rem;
        padding: 10px 10px;
    }

    .sec-steps .steps__item h3 {
        font-size: 1.2rem;
        padding: 0 0 10px 0;
    }

    .sec-steps .steps__item h3 em {
        font-size: 1.8rem;
    }

    .sec-steps .steps__item img {
        width: 80%;
        margin: 0 auto;
    }

    .sec-steps .steps__item img {
        width: 80%;
        margin: 0 auto;
    }

    .sec-steps .steps__item p {
        font-size: 1.1rem;
    }

    .sec-steps .steps-image {
        display: none;
    }

    .sec-steps .faq {
        padding: 20px;
        margin: 80px 0 20px 0;
    }

    .sec-steps .faq h3 {
        font-size: 3.0rem;
    }

    .sec-steps .faq-item__question {
        font-size: 1.4rem;
    }

    .sec-steps .faq-item__question::before {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }

    .sec-steps .faq-item__question::after {
        top: 22px;
        right: 10px;
        width: 12px;
        height: 12px;
    }

    .sec-steps .faq-item__answer {
        font-size: 1.2rem;
        height: 200px;
    }

    .sec-steps .faq-item__answer::before {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }

    /**
     フッター
     */
    .footer {
        padding: 20px 3%;
    }

    .footer__inner {
        text-align: center;
    }

    .footer__link {
        display: block;
        margin-bottom: 30px;
        padding-left: 12px;
    }

    .footer__link li {
        list-style: none;
        margin-bottom: 12px;
    }

    .footer .copyright {
        text-align: center;
        font-size: 0.7rem;
    }
}

/**
 主にスマホサイズ
 */
@media screen and (max-width: 575px) {
    /**
     共通
     */
    .top-main,
    #contents,
    #Container {
        width: 100%;
        min-width: unset;
        margin-top: 50px;
    }

    .top-main,
    #contents:not(.top-page),
    #Container {
        margin-top: 50px;
    }

    /**
     ヘッダー
     */
    .header {
        height: 50px;
        padding: 5px 10px;
        background-color: #ffffff;
    }

    .header__left {
        width: 75%;
        padding-right: 10px;
    }

    .header__left img {
        width: auto;
        max-height: 40px;
    }

    .header__center {
        display: none;
    }

    .header__right {
        width: 25%;
        text-align: right;
    }

    .header__right a,
    .header__right a img {
        display: inline-block;
        max-height: 40px;
        width: auto;
    }

    /**
     モバイルメニュー
     */
    .btn-mobile-menu {
        width: 32px;
        height: 32px;
        top: 2px;
    }

    .btn-mobile-menu.open {
        width: 32px;
        height: 32px;
    }

    .btn-mobile-menu.open li {
        top: 10px;
    }

    .mobile-menu {
        margin-top: 50px;
    }

    /**
     TOPページ：メインビジュアル
     */
    .top-main {
        height: auto;
        min-height: unset;
        padding: 20px 3%;
        background-position: top center;
        background-image: url('../img/2024new/bg_top_main_sp.png');
    }

    .top-main__catchcopy img {
        width: 100%;
        max-width: 700px;
        height: auto;
    }

    .top-main__points {
        margin-top: 140px;
        display: flex;
        justify-content: space-between;
    }

    .top-main__point {
        width: 30%;
        margin: 0;
        display: block;
        padding: 10px;
    }

    .top-main__point::before {
        width: 30px;
        height: 30px;
        top: -15px;
        left: -10px;
    }

    .top-main__point img {
        margin: 0 auto 10px auto;
        width: auto;
        height: 40px;
    }

    .top-main__point h2 small {
        display: block;
        font-size: 0.65rem;
        height: 30px;
    }

    .top-main__point h2 span {
        font-size: 1.2rem;
    }

    /**
     TOPページ：あらゆる目的や条件に対応！
     */
    .sec-intro {
        background-color: #1755cc;
        text-align: center;
        padding: 40px 3% 80px 3%;
        position: relative;
    }

    .sec-intro::after {
        left: 5%;
        bottom: 0;
        width: 90%;
        height: 60px;
    }

    .sec-intro .fukidashi {
        font-size: 1.2rem;
        width: 340px;
        height: 55px;
        padding: 8px 20px;
    }

    .sec-intro h2 {
        font-size: 1.6rem;
    }

    .sec-intro2 {
        height: 240px;
    }

    .sec-intro2 img {
        position: absolute;
        height: auto;
        width: 300px;
        top: -30px;
        left: calc(50% - 150px);
    }

    /**
     TOPページ：簡単30秒入力
     */
    .sec-contact {
        padding: 20px 3%;
    }

    .cta-contact__inner {
        display: block;
        padding: 8px;
    }

    .cta-contact__left {
        width: 100%;
    }

    .cta-contact__left h2 {
        font-size: 1.6rem;
    }

    .cta-contact__left h2::before {
        width: 48px;
        height: 48px;
        top: 8px;
        left: 0;
    }

    .cta-contact__left h2 em {
        font-size: 2.6rem;
    }

    .cta-contact__left p {
        font-size: 0.8rem;
        font-weight: 600;
    }

    .cta-contact__tel {
        display: block;
    }

    .cta-contact__tel a {
        font-size: 1.7rem;
        padding-left: 40px;
    }

    .cta-contact__tel a::before {
        width: 30px;
        height: 30px;
        top: 8px;
        left: 0;
    }

    .cta-contact__right {
        width: 100%;
        padding: 20px 0;
    }

    .cta-contact__right img {
        width: 100%;
        filter: drop-shadow(2px 6px 10px rgba(0, 0, 0, 0.3));
    }

    /**
     TOPページ：こんなお悩み
     */
    .sec-solution {
        padding: 40px 0;
        position: relative;
        border-bottom: 4px solid #def3fd;
    }

    .sec-solution::before {
        top: -200px;
        background-size: cover;
        background-position: center;
        z-index: -1;
    }

    .sec-solution h2 {
        font-size: 1.4rem;
    }

    .sec-solution h2 em {
        color: #ffa000;
    }

    .sec-solution h2::after {
        width: 90%;
        height: 20px;
    }

    .sec-solution .solution {
        display: block;
    }

    .solution__item {
        width: 100%;
        margin-bottom: 80px;
    }

    .solution__item:nth-child(2n+1) {
        padding-top: 0;
    }

    /**
     TOPページ：メリット
     */
    .sec-merit {
        padding: 40px 3% 80px 3%;
    }

    .sec-merit .fukidashi {
        font-size: 1.0rem;
        width: 350px;
        height: 40px;
        padding: 8px 20px;
    }

    .sec-merit .fukidashi em {
        color: #ff0125;
    }

    .sec-merit h2 {
        font-size: 1.6rem;
    }

    .sec-merit h2 em {
        color: #ffa000;
    }

    .sec-merit .box {
        padding: 6px 20px;
        font-size: 1.2rem;
        height: 80px;
    }

    .sec-merit .prefecture {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        padding-left: 0;
    }

    .sec-merit .prefecture li {
        list-style: none;
        margin-right: 10px;
        font-size: 1.0rem;
    }

    .sec-merit .description p {
        font-size: 1.0rem;
    }

    .sec-merit .description img {
        margin: -40px auto 0 auto;
        z-index: -1;
        width: 600px;
    }

    .sec-merit .description em {
        color: #ffa000;
    }

    .sec-merit .point {
        font-size: 1.0rem;
    }

    .table-comparison {
        margin-top: 60px;
        border-collapse: collapse;
        border-left: 2px solid #cccccc;
        border-right: 2px solid #cccccc;
        border-bottom: 2px solid #cccccc;
    }

    .table-comparison thead th {
        padding: 10px;
        background-color: #cccccc;
        width: 32%;
    }

    .table-comparison tbody td {
        font-size: 0.8rem;
        text-align: left;
        padding: 10px;
    }

    .table-comparison thead th h3 {
        font-size: 1.0rem;
    }

    /**
     TOPページ：都市の写真
     */

    /**
     TOPページ：かんたん3ステップ
     */
    .sec-steps {
        padding: 60px 3%;
    }

    .sec-steps .fukidashi {
        font-size: 1.2rem;
        width: 300px;
        height: 50px;
    }

    .sec-steps h2 {
        font-size: 1.6rem;
        padding: 10px 10px;
    }

    .sec-steps .steps {
        display: block;
    }

    .sec-steps .steps__item {
        width: 100%;
        margin-bottom: 40px;
    }

    .sec-steps .steps__item h3 {
        font-size: 1.6rem;
        padding: 0 0 10px 0;
    }

    .sec-steps .steps__item h3 em {
        font-size: 1.6rem;
    }

    .sec-steps .steps__item img {
        width: 80%;
        margin: 0 auto;
    }

    .sec-steps .steps__item p {
        font-size: 1.0rem;
    }

    .sec-steps .steps-image {
        display: none;
    }

    .sec-steps .faq {
        padding: 20px;
        margin: 80px 0 20px 0;
    }

    .sec-steps .faq h3 {
        font-size: 2.0rem;
    }

    .sec-steps .faq-item__question {
        font-size: 0.9rem;
    }

    .sec-steps .faq-item__question::before {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }

    .sec-steps .faq-item__question::after {
        top: 22px;
        right: 10px;
        width: 12px;
        height: 12px;
    }

    .sec-steps .faq-item__answer {
        font-size: 0.8rem;
        height: 200px;
    }

    .sec-steps .faq-item__answer::before {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }

    /**
     フッター
    */
    .footer {
        padding: 20px 3% 60px 3%;
    }

    .footer__inner {
        text-align: center;
    }

    .footer__link {
        display: block;
        margin-bottom: 30px;
        padding-left: 12px;
    }

    .footer__link li {
        list-style: none;
        margin-bottom: 12px;
    }

    .footer .copyright {
        text-align: center;
        font-size: 0.7rem;
    }
}











@media (max-width: 992px) {
    div#mv2026 {
        background: url("../img/2026new/top-bg.png");
        /* min-height: 90lvh; */
        width: 100%;
        background-size: cover;
        background-position: center;
        /* 要素を縦に並べるための設定 */
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 120px; /* 上部に少し余裕を持たせる */
    }

    .mv2026-inner {
        width: 90%; /* 全体の幅を少し絞る */
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    img.mv-device {
        display: block;
        width: 70%; /* 画像を少し小さくして見やすく調整 */
        max-width: 450px;
        margin: 0 auto 30px; /* 下の文字との間隔 */
        position: static; /* position: absoluteなどが効いている場合は解除 */
        transform: none;
    }

    h1.mv-catchcopy {
        margin-top: 0;
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
    }

    h1.mv-catchcopy img {
        max-width: 100%; /* キャッチコピーが画像の場合は幅に収める */
        height: auto;
    }

    p.mv-introtext {
        font-size: 24px; /* 画像の状態に合わせて少し小さめに調整 */
        line-height: 1.4;
        text-align: center;
        margin: 0 auto 40px;
        color: #fff; /* 背景色に合わせて調整 */
    }
}