@media screen and (min-width: 2000px) {
    body {
        font-size: 0.85vw;
    }
}


@media screen and (max-width: 1200px) {
    body {
        font-size: 1.34vw;
    }
}

@media screen and (max-height: 450px) {
    nav.active ul {
        overflow: auto;
    }
}

@media screen and (max-width: 700px) {

    .br-sp {
        display: block;
    }

    body {
        font-size: 3vw;
    }

    #top {
        height: 54em;
    }

    #top.top_long {
        height: 57em;
    }

    section {
        overflow: hidden;
    }

    header {
        width: 100%;
        max-width: none;
        position: static;
        left: 0;
        top: 0;
        transform: none;
        border-radius: 0;
        height: 7em;
        padding: 0.5em 3em;
        box-shadow: 0 0.3em 0 0 rgba(0, 0, 0, 0.0);
        justify-content: center;
    }

    .header-R {
        display: none;
    }

    .header-L {
        gap: 1em;
    }

    nav {
        font-size: 15px;
        top: 0.5em;
        right: 0.5em;
    }

    nav.active {
        padding: 4.5em 1em 1em;
    }

    .menu-btn {
        top: 1em;
        right: 1em;
        bottom: auto;
    }

    nav.active .menu-btn {
        bottom: auto;
        top: 1em;
        right: 1em;

    }

    #nav.hidden {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    #fixed-contact {
        position: fixed;
        bottom: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        width: 100%;
        height: auto;
        gap: 0.2em;
        padding: 0.3em;
        gap: 0.3em;
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(2px);
    }

    #fixed-contact a {
        width: calc(100% / 2);
        display: flex;
        align-items: center;
        border-radius: 0.5em;
        overflow: hidden;
    }

    #fixed-contact a img {
        width: 100%;
        height: 100%;
    }

    .shop-name {
        white-space: nowrap;
        font-size: 1.3em;
    }

    h1 {
        align-items: center;
        left: 50%;
        top: 16%;
        transform: translateY(-50%) translateX(-50%);
        width: 100%;
        text-align: center;
    }

    .h1-main {
        margin: 0;
        padding: 0 0.75em;
    }

    .top-product {
        bottom: 12%;
        left: 50%;
        transform: translateX(-50%);
        width: 21em;
    }

    .top-points {
        left: 50%;
        top: 80%;
        transform: translateX(-50%);
    }

    .products-title h2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2em;
        margin: 0.4em;
        line-height: 1;
        white-space: nowrap;
    }

    #products {
        font-size: 3.5vw;
    }

    .product-wrap {
        display: block;
        flex-wrap: nowrap;
        gap: 0;
    }

    .product-item {
        font-size: 1.05em;
    }

    #maker .maker-wrap img {
        width: calc((100% / 2) - 1em);
    }

    #contact {
        flex-direction: column;
    }

    .contact__h2 {
        font-size: 5em;
    }

    .contact__comment {
        font-size: 1.7em;
    }

    .contact__points {
        font-size: 1.4em;
    }

    .contact__btns {
        padding: 3em 2em 0;
        max-width: none;
    }

    .contact__arrow {
        height: 2em;
    }

    .contact__tel-btn {
        height: auto;
        justify-content: space-between;
        border-radius: 10em;
        box-shadow: 0 0.5em 0 rgb(163, 0, 0);
        margin-bottom: 0.3em;
        padding: 0.5em 1.5em;
    }

    .contact__tel-btn_icon {
        height: 5em
    }

    .contact__tel-btn .contact__arrow {
        display: block;
    }

    .contact__tel-btn_texts {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 1.3;
    }

    .contact__tel-btn_texts span:nth-child(1) {
        display: block;
        font-size: 2.5em;
    }

    .contact__tel-btn_texts span:nth-child(2) {
        font-size: 2em;
    }

    .contact__img {
        height: 15em;
        order: 1;
        width: 100vw;
    }

    .contact__staff,
    .contact-line .contact__staff {
        height: 90%;
        left: 0;
        bottom: -1px;
    }

    .contact__hukidasi,
    .contact-line .contact__hukidasi {
        top: 50%;
        right: -4%;
        width: 25em;
    }


    .secret__topimg {
        width: 100%;
        height: 20em;
    }


    .secret__topimg .secret__top {
        left: 52.5%;
        height: 30em;
    }

    .secret__topimg .secret__top-customer {
        left: 31.5%;
        width: 17em;
    }

    #secret h2 {
        font-size: 5em;
        white-space: nowrap;
        padding: 0.1em;
    }

    .secret__text01 {
        font-size: 2em;
    }

    .secret__text02 {
        font-size: 2.3em;
        white-space: nowrap;
    }


    #safety-trust h2 {
        font-size: 5.5em;
    }

    #safety-trust h2::before {
        left: 0.1em;
        bottom: 1.3em;
    }

    #safety-trust h2::after {
        right: 0em;
        bottom: 1.3em;
    }


    .safety-trust__text-area {
        display: contents;
    }


    .safety-trust__point:nth-child(odd) .safety-trust__text-area {
        clip-path: none;
    }

    .safety-trust__text-wrap {
        display: contents;
    }

    .safety-trust__point-img {
        width: 100%;
        height: auto;
        position: static;
        right: 0;
        top: 50%;
        transform: translateY(0);
        padding: 0;
    }

    .safety-trust__point {
        background-color: white;
        box-shadow: 0.3em 0.3em 0 rgba(0, 0, 0, 0.3);
        width: calc(100% - 4em);
        border: 0.15em solid var(--color-main);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2em;
        padding: 2em;
        width: calc();
    }

    .safety-trust__point:nth-child(odd) {
        background-color: var(--color-main);
    }

    .safety-trust__point:nth-child(odd) .safety-trust__text-area {
        display: contents;
    }

    .safety-trust__point-num {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: -0.75em;
        line-height: 0.9;
    }

    .safety-trust__point-num span {
        font-size: 3em;
    }

    .safety-trust__point__title {
        text-align: center;
    }

    .safety-trust__point__title h3 {
        font-size: 3em;
        text-align: center;
    }

    .safety-trust__text-wrap p {
        font-size: 16px;
    }

    #safety-trust .annotation {
        font-size: 13px;
    }

    #promise h2 {
        font-size: 3.5em;
    }

    .promise-wrap {
        padding: 4em 2em;
    }

    #region {
        flex-direction: column;
        padding: 3em;
    }


    #region .region__text {
        font-size: 0.9em;
        width: 100vw;
    }

    .region__imgs {
        width: 100%;
        height: 30em;
        min-height: 0;
    }

    .region__map {
        height: 100%;
        max-height: 25em;
    }

    .region__run {
        bottom: -2%;
    }


    #flow h2::after {
        content: "";
        top: -1.3em;
        right: -0.2em;
    }

    .flow-wrap {
        padding: 0 2em;
    }

    .flow__item {
        gap: 2em;
        padding: 2em;
        box-shadow: 0.5em 0.5em 0 var(--color-main);
        flex-direction: column;
    }

    .flow__step {
        left: 2.2em;
        font-size: 2.5em;
    }

    .flow__icon {
        height: 10em;
        width: 10em;
    }

    .flow__textarea h3 {
        text-align: center;
        font-size: 3em;
    }

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


    .flow__next {
        width: 3em;
    }

    #form {
        flex-direction: column;
        align-items: center;
        padding: 5em 0;
    }

    #form form {
        padding: 2em 1em 4em;
    }

    .form__title {
        width: 100%;
    }

    .form__title h2 {
        margin: 0 0 0.5em;
        font-size: 2.7em;
    }

    .form__title__sticky {
        position: static;
        height: auto;
    }

    .form__title__imgs {
        display: none;
    }

    .form-wrap {
        width: calc(100% - 2em);
        font-size: 16px;
        padding: 0;
    }

    .inputText.inputTextShortest {
        width: 37%;
    }

    .form_btn-wrap {
        font-size: 4.5vw;
    }

    /* ▼フッター▼ */
    footer {
        gap: 3em;
    }

    footer ul {
        padding-left: 0em;
        flex-direction: column;
        font-size: 14px;
    }

    .footer_img {
        background-image: url(https://正直屋.com/fc-site/waterheater/img//footer_img-sp.webp);
        height: 27em;
    }




    .splide {
        display: flex;
        flex-direction: column;
    }

    .splide__slide {
        padding: 0em 1em 0.3em;
        opacity: 1;
    }

    .splide__track {
        margin-top: 2em;
    }


    .splide__list {
        cursor: grab;
    }

    .splide__list:active {
        cursor: grabbing;
    }

    .splide-progress {
        position: relative;
        height: 0.4em;
        background: #ffffff;
        /* バーの背景 */
        overflow: hidden;
        width: 100%;
        margin: 1em auto 3em;
    }

    .splide-progress-wrap {
        position: relative;
        display: flex;
        align-self: stretch;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 20;
        order: 4;
    }

    .splide-progress__bar {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background: var(--color-main);
        /* background-color: hsl(232, 100%, 83%); */
        /* 進行状況の色 */
        transition: width 0.1s linear;
    }

    #splide-pause-btn {
        font-size: 1.1em;
        border-radius: 10em;
        border: 0.15em solid var(--color-main);
        box-shadow: 0 0.2em 0 #26317680;
        color: var(--color-main);
        font-weight: bold;
        position: absolute;
        display: block;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        cursor: pointer;
        padding: 0;
    }

    .pause-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5em;
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(2px);
    }

    .pause-btn img {
        vertical-align: middle;
        object-fit: contain;
        height: 2.2em;
    }

    .pause-btn .icon-pause {
        display: inline;
        /* 最初は表示 */
    }

    .pause-btn .icon-play {
        display: none;
        /* 最初は非表示 */
    }
}