@charset "UTF-8";

body {
    margin: 0;
    font-family: serif;
}

p {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

ul {
    list-style: none;
}


.wrapper {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    text-align: inherit;
    vertical-align: baseline;
}


/* ヘッダーPC
============================================================================================================ */
#header {
    max-width: 960px;
    margin: auto;
    padding: 5px 10px;
    background-color: #fff;
    position: static;
    padding: 0 0;
}

.harf0 {
    height: 115px;
}

.a-box0 {
    width: 50%;
    float: left;
}

.b-box0 {
    width: 50%;
    float: left;
}

.b-box0 img {
    width: 65%;
    margin-top: 13px;
    float: right;
}


/* 大型PC 
============================================================================================================ */
@media screen and (min-width:1280px) {}

/* ヘッダー小型PC
============================================================================================================ */
@media screen and (min-width: 960px) and (max-width:1279px) {}

/* ヘッダータブレット
============================================================================================================ */
@media screen and (min-width:600px) and (max-width:959px) {}


/* ヘッダーSP 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */

@media screen and (min-width:300px) and (max-width:480px) {
    .a-box0 {
        width: 100%;
    }

    .a-box0 img {
        width: 100%;
    }
}


/* メインビジュアルPC
============================================================================================================ */
#mainvisual {
    margin-bottom: 40px;
    margin: auto;
    background: url(../images/main/pc/backgroundhead.png) no-repeat;
    height: 604px;
    background-size: cover;
    padding-bottom: 20px;

}

#sp_main img {
    display: none;
}

.mainvisual {
    max-width: 960px;
    margin: auto;
}

#bousaikun {
    max-width: 960px;
    margin-bottom: 40px;
    margin: auto;
    width: 150px;
    top: 5px;
    right: 300px;
    position: absolute;
    padding: 0;
}


/* メイン
============================================================================================================ */
.contents {
    background: url(../images/main/pc/sapporo.png);
    padding-bottom: 10px;
}

/* 北日本防災設備の防災サービス
============================================================================================================ */
.service4 {
    font-size: 4rem;
    padding: 10px 10px;
    display: block;
    background-color: #1c2377;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sonae-ru {
    text-align: center;
}

.sonae-rusp {
    display: none;
}


.setsumei1 {
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
    font-size: 20px;
}

.setsumei1-sp {
    display: none;
}

.sonae-ru_service {
    display: flex;
    max-width: 960px;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 0px;
}

.sonae-ru_service li {
    text-align: center;
    width: 33.3%;
}

.sonae-ru_service li p {
    text-align: center;
}

.sonae-ru_service li img {
    width: 225px;
    height: auto;
}

.sonae-ru_service li img:hover {
    filter: brightness(1.1);
}

.sonae-ru_service p {
    width: 319px;
    font-size: 22px;
    font-weight: bold;
}

.sonae-ru_service a:-webkit-any-link {
    color: #333;
    cursor: pointer;
    text-decoration: none;
}



/* 負荷試験点検サービス
============================================================================================================ */
.fukashiken {
    font-size: 3.5rem;
    padding: 10px 10px;
    display: block;
    background-color: #4CAF50;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
	margin-top: 20px;
}

.row {
    width: 100%;
    /*background:url("../images/main/pc/n2.png");*/
}

.harf {
    max-width: 960px;
    margin: auto;
    height: 450px
}

.a-box {
    width: 50%;
    float: left;
    height: 450px;
}

#hatsudenki,
#syouka,
#tenken {
    width: 480px;
}

.b-box {
    width: 50%;
    float: left;
    height: 450px;
}

.b-box p {
    padding-top: 20px;
    padding-left: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    font-size: 20px;
}

/* ボタンバナー*/
.button_area {
    text-align: center;
}

.button_contact {
    padding: 10px;
    background: #fba017;
    /* width: 35px; */
    font-size: 30px;
    display: inline-block;
    text-decoration: none;
    /* background-image: linear-gradient(45deg, #af0606 0%, #ffbd02 100%); */
    color: #FFF;
    border-radius: 50px;
    width: 350px;
    text-align: center;
    line-height: 37px;
    letter-spacing: 2px;
    position: relative;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
    overflow: hidden;
}

.button_contact:before {
    content: "";
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    top: -10%;
    left: -180%;
    -webkit-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
}

.button_contact:hover:before {
    left: 60%;
}

.button_contact:active {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    border-bottom: none;
}


/* 負荷試験点検サービス
============================================================================================================ */

.syouka,
.tenken,
.omitsumori {
    font-size: 3.5rem;
    padding: 10px 10px;
    display: block;
    background-color: #4CAF50;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 20px;
}

.row2 {
    width: 100%;
}

.harf2 {
    max-width: 960px;
    margin: auto;
    height: 512px
}

.a-box2 {
    width: 50%;
    float: left;
    height: 512px;
}

#syouka {
    height: 512px;
}

.b-box2 {
    width: 50%;
    float: left;
    height: 512px;
}

.b-box2 p {
    padding-top: 20px;
    padding-left: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    font-size: 20px;
    margin-bottom: 30px;
}

/* 消防設備点検サービス
============================================================================================================ */
.b-box3 {
    width: 50%;
    float: left;
}

.b-box3 p {
    padding-top: 20px;
    padding-left: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    font-size: 20px;
}



/* 出張調査・出張見積り０円！
============================================================================================================ */
.mitumori {
    font-size: 3.5rem;
    padding: 10px 10px;
    display: block;
    background-color: #FFEB3B;
    color: red;
    text-align: center;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 20px;
}

.mitsumori0 {
    background-color: rgba(255, 217, 169, 0.1);
    padding-bottom: 50px;
}

.inner {
    margin: 0 auto;
    padding: 0 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 980px;
}

.flex-row {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
}

.flex-rowimg {
    display: none;
}

.text_area {
    width: 50%;
}

.text_area img {
    width: 98%;
}

.text_area p {
    padding-top: 20px;
}

.photo_area {
    width: 50%;
}

.mitsumori0 .photo_area img {
    margin-left: 30px;
    width: 480px;
}

/* サービス対象地域
============================================================================================================ */
.contents1 {
    background: url(../images/main/pc/hokkaido-bg.png);
}

.service {
    font-size: 3.5rem;
    padding: 10px 10px;
    display: block;
    background-color: #4CAF50;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
}

.servicechiki {
    width: 100%;
    height: 480px;
}

.chiki {
    max-width: 960px;
    margin: auto;
}

.a-box5 {
    width: 50%;
    float: left;
}

.area img {
    width: 100%;
}

.b-box5 {
    width: 50%;
    float: left;
}

.service_midashi {
    padding-top: 20px;
}

.b-box5 p {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 20px;
}



/* お客様の声
============================================================================================================ */

/* お問い合わせ
============================================================================================================ */
.otoiawase {
    font-size: 3.5rem;
    padding: 10px 10px;
    display: block;
    background-color: #1c2377;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;

}

.denwa {
    width: 100%;
    height: 480px;
    background: #0099d417;
}

.harf6 {
    max-width: 960px;
    margin: auto;
}

.a-box6 {
    width: 65%;
    float: left;
}

.mail_area {
    text-align: center;
}

.mail_area img {
    width: 600px;
    margin-top: 20px;
}

.mail_contact {
    padding: 10px;
    background: #e4007f;
    font-size: 27px;
    display: inline-block;
    text-decoration: none;
    color: #FFF;
    border-radius: 50px;
    width: 550px;
    text-align: center;
    line-height: 37px;
    letter-spacing: 2px;
    position: relative;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
    overflow: hidden;
    margin-top: 10px;
}

.mail_contact:before {
    content: "";
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    top: -10%;
    left: -180%;
    -webkit-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
}

.mail_contact:hover:before {
    left: 60%;
}

.mail_contact:active {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    border-bottom: none;
}

.mail_contactsp {
    display: none;
}

.mail_contact_tab {
    display: none;
}

.b-box6 {
    width: 35%;
    float: right;
}

.b-box6 img {
    padding-top: 15px;
}

.tel_contact {
    display: none;
}

/* 会社概要
============================================================================================================ */
.company {
    width: 100%;
    margin: 0 auto 40px;
    padding-top: 50px;
}

.harf7 {
    max-width: 960px;
    margin: auto;
}

.mod-page-title h2 {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0.1rem;
    margin-bottom: 20px;
    text-align: center;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    border-color: black;
}

.profile_table table {
    border-top: 1px solid #d8d8d8;
    width: 100%;
}

.profile_table table tr {
    border-bottom: 1px solid #d8d8d8;
}

.profile_table table tr th {
    font-size: 1.2rem;
    line-height: 1.79;
    width: 18.3%;
}

.profile_table table tr td {
    padding: 14px 25px;
    font-size: 1.1rem;
    line-height: 1.79;
    letter-spacing: 0.05rem;
}

span.map {
    background: #f6ffeb;
    border-radius: 50px;
    padding: 0 5px;
    margin-right: 0.5em;
}

span.map a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 1rem;
}

span.map a:hover {
    opacity: 0.5;
}

.profile_map {
    width: 100%;
}

iframe {
    width: 100%;
    height: 300px;
}

/* PCで電話番号リンクを無効に */
@media screen and (min-width: 768px) {
	a[href^="tel:"] {
		color: black;
        pointer-events: none;
        cursor: text;
        text-decoration: none;
	}
}

/* 事業パートナー
============================================================================================================ */
.partner1pc {
    font-size: 2rem;
    padding: 10px 10px;
    display: block;
    background-color: #009688;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.partner1sp {
    display: none;
}

.harf8 {
    max-width: 960px;
    margin: auto;
    height: 360px;
}

.a-box7 {
    width: 50%;
    float: left;
}

.photo {
    text-align: center;
}

.photo img {
    width: 100%;
    margin: 20px 0;
}

.b-box7 {
    width: 50%;
    float: left;
}

.b-box7 p {
    padding: 20px;
    font-size: 20px;
    margin-bottom: 0px;
}

.mc {
    text-align: center;
}

.mail_contact1 {
    padding: 10px;
    background: #9E9E9E;
    font-size: 27px;
    display: inline-block;
    text-decoration: none;
    color: #FFF;
    border-radius: 50px;
    width: 400px;
    text-align: center;
    line-height: 37px;
    letter-spacing: 2px;
    position: relative;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
    overflow: hidden;
    margin-top: 10px;
}

.mail_contact1:before {
    content: "";
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    top: -10%;
    left: -180%;
    -webkit-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
}

.mail_contact1:hover:before {
    left: 60%;
}

.mail_contact1:active {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    border-bottom: none;
}


/* トップに戻るボタン
============================================================================================================ */

#top-btn {
    position: fixed;
    right: 20px;
    bottom: 0px;
    z-index: 10000;
}

#top-btn a {
    border-width: 2px;
    border-style: solid;
}

#top-btn a {
    width: 60px;
    height: 60px;
    display: inline-block;
    overflow: hidden;
    position: relative;
    border-radius: 200px;
    -webkit-border-radius: 200px;
    -moz-border-radius: 200px;
    font-size: 30px;
    font-size: 1.875rem;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
}

#top-btn a i {
    margin-left: -9px;
    position: absolute;
    top: 14px;
    left: 50%;
    -webkit-font-smoothing: antialiased;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}

#top-btn a .top-btn-text {
    position: absolute;
    top: 80px;
    left: 7px;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    font-size: .8875rem;
    transition: all .8s ease;
    -webkit-transition: all .8s ease;
}

#top-btn a:hover {
    animation: to-top-btn 1s ease infinite;
}

#top-btn a:hover .top-btn-text {
    top: 15px;
}

#top-btn a:hover i {
    top: -40px;
}


.fa-angle-double-up:before {
    content: "\f102";
}


#top-btn a {
    border-color: #fff;
    color: #fbfbfb;
    background: #4caf50;

}

/* フッター
============================================================================================================ */

#footer {
    background: #4caf50;
    color: #fbfbfb;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    line-height: 30px;
}

.footer-logo {
    text-align: center;
    height: 49px;
}

/* スマホ
============================================================================================================ */
@media screen and (min-width:300px) and (max-width:480px) {
    p {
        font-size: 16px !important;
    }
}

/* ヘッダーSP 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */

@media screen and (min-width:300px) and (max-width:480px) {

    .a-box0 {
        width: 100%;
        height: 90px;
    }

    .a-box0 img {
        width: 97%;
    }

    .b-box0 {
        display: none;
    }

    .harf0 {
        height: auto;
    }


    /* メインビジュアルSP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
    #mainvisual {
        background: none;
        height: auto;
        padding-bottom: 0px;
    }

    .mainvisual img {
        display: none;
    }

    #sp_main img {
        display: block;
        width: 100%;
    }


    /* 北日本防災設備の防災サービスSP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */

    .contents {
        padding-bottom: 0px;
    }

    .contents_inner {
        width: 100%;
    }

    .sonae-ru_service {
        display: flex;
        flex-wrap: wrap;
        padding-top: 0px;
    }

    .sonae-ru_service {
        text-align: center;
    }

    .sonae-ru_service p {
        font-size: 18px;
    }

    .sonae-ru_service li {
        width: 50%;
    }

    .sonae-ru_service li img {
        width: 150px;
        height: auto;
        padding-top: 20px;
    }

    .sonae-ru_service li p {
        background: none;
        font-size: 16px;
        width: 100%;
    }

    .service4 {
        font-size: 150%;
        width: 100%;
        padding: 10px 0px;
    }

    .sonae-ru {
        display: none;
    }

    .sonae-rusp {
        text-align: center;
        display: block;
    }

    .sonae-rusp img {
        width: 90%;
    }

    .setsumei1 {
        display: none;
    }

    .setsumei1-sp {
        display: block;
        font-weight: bold;
        text-align: center;
        font-size: 100%;
        width: 100%;
    }


    ul {
        padding-inline-start: 0;
    }

    li {
        margin: auto;
    }



    /* 負荷試験点検サービスSP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
    .fukashiken {
        font-size: 125%;
        margin-bottom: 0px;
    }

    .harf {
        height: auto;
    }

    .a-box {
        width: 100%;
        height: auto;
    }

    .b-box {
        width: 100%;
        height: auto;
        float: unset;
    }

    span {
        font-size: 20px !important;
    }

    #hatsudenki,
    #tenken {
        width: 100%;
    }

    .button_contact {
        padding: 5px;
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 10px;
        width: 90%;
    }

    /* 自動消火装置取り付けサービスSP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
    .syouka,
    .tenken,

    .mitumori,
    .service,
    .otoiawase {
        font-size: 150%;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .harf2 {
        height: auto;
    }

    .a-box2 {
        width: 100%;
        height: auto;
        text-align: center;
    }

    #syouka {
        height: auto;
        width: 90%;
    }

    .b-box2 {
        width: 100%;
        height: auto;
        float: unset;
    }

    .b-box2 p {
        margin-bottom: 0px;
    }

    /* 消防設備点検サービスSP
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
    .b-box3 {
        width: 100%;
        float: unset;
    }



    /* 出張調査・出張見積り０円！SP
============================================================================================================ */
    .mitsumori0 {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .inner {
        padding: 0;
    }

    .flex-row {
        display: block;
    }

    .flex-rowimg {
        display: block;
    }

    .flex-rowimg img {
        width: 100%;
    }

    .text_area {
        width: 100%;
    }

    .text_area p {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
    }

    .photo_area {
        display: none;
    }

    /* サービス対象地域SP
============================================================================================================ */
    .servicechiki {
        height: auto;
    }

    .chiiki {
        height: auto;
    }

    .a-box5 {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .a-box5 img {
        width: 75% !important;
        padding-top: 0px !important;
    }

    .b-box5 {
        width: 100%;
        height: auto;
        float: unset;
    }

    .area img {
        margin-top: 10px;
    }

    .b-box5 p {
        padding-top: 0px;
        font-size: 17px;
    }

    .b-box5 ul {
        margin-bottom: 0px;
    }

    .b-box5 li {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
    }

    /* お問い合わせSP
============================================================================================================ */
    .denwa {
        height: auto;
    }

    .a-box6 {
        width: 100%;
        float: unset;
    }

    .b-box6 {
        width: 100%;
        text-align: center;
        float: unset;
    }

    .b-box6 img {
        width: 50%;
    }

    .mail_area img {
        width: 100%;
    }

    .mail_contact {
        display: none;
    }

    .mail_contactsp {
        padding: 5px;
        background: #e4007f;
        font-size: 17px;
        display: inline-block;
        text-decoration: none;
        color: #FFF;
        border-radius: 50px;
        width: 90%;
        text-align: center;
        line-height: 30px;
        letter-spacing: 2px;
        position: relative;
        -webkit-transition: .2s ease-in-out;
        transition: .2s ease-in-out;
        overflow: hidden;
        margin-top: 10px;
    }

    .mail_contactsp:before,
    .tel_contact:before {
        content: "";
        width: 200%;
        height: 200%;
        background: rgba(255, 255, 255, 0.4);
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        position: absolute;
        top: -10%;
        left: -180%;
        -webkit-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }

    .mail_contactsp:hover:before,
    .tel_contact:hover:before {
        left: 60%;
    }

    .mail_contactsp:active,
    .tel_contact:active {
        -webkit-transform: translateY(4px);
        transform: translateY(4px);
        border-bottom: none;
    }

    .mail_contact_tab {
        display: none;
    }

    .tel_contact {
        padding: 5px;
        background: #1c2377;
        font-size: 17px;
        display: inline-block;
        text-decoration: none;
        color: #FFF;
        border-radius: 50px;
        width: 90%;
        text-align: center;
        line-height: 30px;
        letter-spacing: 2px;
        position: relative;
        -webkit-transition: .2s ease-in-out;
        transition: .2s ease-in-out;
        overflow: hidden;
        margin-top: 10px;
    }

    /* 会社概要SP
============================================================================================================ */
    .company {
        margin-top: 20px;
        margin-bottom: 0px;
    }

    .mod-page-title h2 {
        font-size: 24px;
    }

    .profile_table table tr th {
        font-size: 1rem;
        line-height: 1.79;
        width: 20%;
    }

    .profile_table table tr td {
        padding: 10px;
        font-size: 1rem;
        line-height: 1.79;
        letter-spacing: 0.05rem;
    }

    th {
        padding: 10px;
    }

    .profile_map {
        height: 300px;
    }
    
    /* PCで電話番号リンクを無効に */
@media (min-width: 751px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}



    /* 会社概要SP iphone5/SE
============================================================================================================ */

    @media screen and (max-width: 340px) and (min-width: 320px) {
        .profile_table table tr th {
            font-size: 0.9rem;
        }
        .profile_table table tr td {
                padding: 9px;
        font-size: .9rem;
    }
    }



    /* 事業パートナーSP
============================================================================================================ */
    .partner1sp {
        font-size: 120%;
        padding: 10px 10px;
        display: block;
        background-color: #009688;
        color: #fff;
        text-align: center;
        line-height: 1.2;
    }

    .partner1pc {
        display: none;
    }

    .harf8 {
        height: auto;
    }

    .a-box7 {
        width: 100%;
        height: auto;
        float: unset;
    }

    .photo img {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .b-box7 {
        width: 100%;
        height: auto;
        float: unset;
    }

    .mail_contact1 {
        padding: 5px;
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 10px;
        width: 90%;
    }


    /* 電話ボタンSP
============================================================================================================ */


    a#tel {
        position: fixed;
        bottom: -8px;
        display: block;
    }

    a#tel img {
        width: 100%;
    }



    /* フッターSP
============================================================================================================ */
    .footer-logo img {
        padding-top: 10px;
        width: 80%;
    }

    .copyright span {
        font-size: 10px !important;
    }



    /* トップへ戻るボタン非表示 */
    #top-btn {
        display: none;
    }

}


/* 電話ボタン非表示 */
@media screen and (min-width:481px) {

    a#tel {
        display: none;
    }
}

/* タブレット
============================================================================================================ */
@media screen and (min-width:600px) and (max-width:959px) {

    #hatsudenki,
    #syouka,
    #tenken {
        width: 100%;
    }

    #syouka {
        height: auto;
    }

    /* ヘッダーTAB
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
    .b-box0 img {
            width: 80%;
    margin-top: 13px;
    }


    /* メインビジュアルTAB
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
    #mainvisual {
        height: 480px;
        background-size: cover;
    }

    .mainvisual img {
        width: 100%;
    }

    /* 北日本防災設備の防災サービスTAB
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
    .service4 {
        font-size: 3rem;
    }
    .harf{
            height: 530px
    }

    .sonae-ru img {
        width: 100%;
    }

    .sonae-ru_service li {
        text-align: center;
    }

    .sonae-ru_service li img {
        width: 150px;
        height: auto;
    }

    .sonae-ru_service p {
        width: 242px;
        font-size: 17px;
    }

    /* 負荷試験点検サービスTAB
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
    .fukashiken {
        font-size: 2.5rem;
    }


    .b-box p {
        padding-top: 0;
        padding-bottom: 10px;
    }

    .a-box img {
            padding-top: 70px;
        width: 100%;
    }

    /* 自動消火装置取り付けサービスTAB
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
    .syouka,
    .tenken,
    .omitsumori {
        font-size: 2.5rem;
    }

    .syouka {
        margin-top: 0;
    }

    .harf2 {
        height: 460px;
    }

    .a-box2 {
        height: 460px;
    }

    .b-box2 {
        height: 460px;
    }

    .a-box2 img {
        width: 100%;
        height: auto;
    }

    .b-box2 p {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* 消防設備点検サービスTAB
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
    #tenken_s {
        height: 600px;
    }

    .a-box img {
        width: 100%;
    }

    .b-box3 p {
        padding-top: 0;
        padding-bottom: 0;
    }



    /* 出張調査・出張見積り０円！TAB
============================================================================================================ */
    .mitumori {
        font-size: 2.5rem;
    }

    .mitsumori0 .photo_area img {
        width: 100%;
        padding-left: 20px;
        margin-left: 0;
        padding-top: 100px;

    }

    /* サービス対象地域TAB
============================================================================================================ */
    .service {
        font-size: 2.5rem;
    }

    .a-box5 img {
        width: 100%;
        padding-top: 50px!important;

    }

    .b-box5 ul {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 0px;
        margin-top: 0px;
    }

    /* お問い合わせTAB
============================================================================================================ */
    .otoiawase {
        font-size: 2.5rem;
    }


    .denwa {
        text-align: center;
        padding-bottom: 0;
        height: 420px;
    }


    .mail_area img {
        width: 520px;
        padding-left: 20px;
    }

    .b-box6 {
        width: 30%;
        padding-right: 20px;
    }

    .b-box6 img {
        padding-top: 0;
    }


    .mail_contact_tab {
        padding: 10px;
        background: #e4007f;
        font-size: 27px;
        display: inline-block;
        text-decoration: none;
        color: #FFF;
        border-radius: 50px;
        width: 550px;
        text-align: center;
        line-height: 37px;
        letter-spacing: 2px;
        position: relative;
        -webkit-transition: .2s ease-in-out;
        transition: .2s ease-in-out;
        overflow: hidden;
        margin-top: 10px;
    }

    .mail_contact_tab :before {
        content: "";
        width: 200%;
        height: 200%;
        background: rgba(255, 255, 255, 0.4);
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        position: static;
        top: -10%;
        left: -180%;
        -webkit-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }

    .mail_contact_tab :hover:before {
        left: 60%;
    }

    .mail_contact_tab :active {
        -webkit-transform: translateY(4px);
        transform: translateY(4px);
        border-bottom: none;
    }

    .mail_contact {
        display: none;
    }


    /* 会社概要TAB
============================================================================================================ */
    .company {
    margin-top: 0px;
    padding-top: 30px;
    }

    .profile_map {
        height: 300px;
    }


    /* 事業パートナーTAB
============================================================================================================ */
    .partner1pc {
        font-size: 160%;
    }

    .mail_contact1 {
        width: 300px;
        font-size: 21px;
    }
    .photo img{
            padding-top: 55px;
    }

    .harf8 {
        height: 410px;
    }

    /* フッターTAB
============================================================================================================ */

}

/* ヘッダー小型PC ipad pro
============================================================================================================ */
@media screen and (min-width: 960px) and (max-width:1279px) {
    @charset "UTF-8";

    body {
        margin: 0;
        font-family: serif;
    }

    p {
        display: block;
        margin-block-start: 0;
        margin-block-end: 0;
        margin-inline-start: 0;
        margin-inline-end: 0;
    }

    h2 {
        display: block;
        font-size: 1.5em;
        margin-block-start: 0em;
        margin-block-end: 0em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        font-weight: bold;
    }

    ul {
        list-style: none;
    }


    .wrapper {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
        text-align: inherit;
        vertical-align: baseline;
    }


    /* ヘッダー 小型PC ipad pro
============================================================================================================ */
    #header {
        max-width: 960px;
        margin: auto;
        padding: 5px 10px;
        background-color: #fff;
        position: static;
        padding: 0 0;
    }

    .harf0 {
        height: 115px;
    }

    .a-box0 {
        width: 50%;
        float: left;
    }

    .b-box0 {
        width: 50%;
        float: left;
    }

    .b-box0 img {
        width: 65%;
        margin-top: 13px;
        float: right;
    }

     /* 北日本防災設備の防災サービスTAB 小型PC ipad pro
============================================================================================================ */
    .sonae-ru img{
        width: 100%;
    }
}
    
	
h3.midashi{
    margin-left: 20px;
    padding: 0.25em 0.5em;/*上下 左右の余白*/
    color: #494949;/*文字色*/
    background: transparent;/*背景透明に*/
    border-left: solid 5px #4CAF50;/*左線*/
}

.pdtop{
    padding-top: 180px;

}

.spacetop{
    margin-top: 150px !important;
    padding-top: 180px;

}

.spacebottom{
    margin-bottom: 100px;
}

@media only screen and (max-width: 767px){
    h3.midashi{
        margin-left: 0px;
        padding: 0.25em 0.5em;/*上下 左右の余白*/
        color: #494949;/*文字色*/
        background: transparent;/*背景透明に*/
        border-left: solid 5px #4CAF50;/*左線*/
        margin-top: 20px;
    }

    .pdtop{
        padding-top: 60px;
        
    }
}