@charset "UTF-8";

body {
    font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box
}

p {
    font-size: 14px;
}

h1 {
    font-size: 25px;
    margin: 0 0 10px 0;
    padding: 2px 8px;
    border-width: 0 0 0 5px;
    border-color: darkgrey;
    border-style: solid;
    color: #fff;
    background-color: rgb(0, 0, 139);
    line-height: 140%;
    font-weight: normal;
}

h2 {
    border-bottom: solid 3px rgb(0, 0, 139);
    color: rgb(0, 0, 139);
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 20px;
    padding-top: 30px;
}

.l_main:after {
    content: "";
}

.l_main {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
}

.l_main_left {
    flex: 1 0 20%;
    order: 1;
}

.l_main_right {
    flex: 2 0 80%;
    order: 2;
    padding-left: 30px;
}

.sidemenu {
    position: -webkit-sticky;
    position: sticky;
    top: 5%;
}

.com_img001 {
    width: 100%;
}

/****************ご挨拶********************/

.com_msg1 {
    width: 100%;
    /*background-color: cadetblue;*/

}

.com_title1 {
    font-size: 20px;
    font-weight: bold;
    color: rgb(37, 102, 186);
}

/****************会社概要********************/

table {
    font-size: 14px;
    border-collapse: collapse;
    width: 90%;
}

.com_gaiyo,
.com_access {

    width: 100%;
    line-height: 2;
}

.com_gaiyo_td1 {
    color: rgb(37, 102, 186);
    width: 20%;
}

.com_gaiyo_td2 {
    /*width: 70%;*/
}

.com_gaiyo_tr1 {

    border-bottom: 1px solid #ccc;
}

/****************アクセス********************/
.com_access {
    margin-top: 20px;
}

.com_access_td1,
.com_access_td2,
.com_access_td3,
.com_access_td4 {
    font-size: 25px;
}

.com_access_td1 {
    color: darkgoldenrod;
}

.com_access_td2 {
    color: blue;
}

.com_access_td3 {
    color: red;
}

.com_access_td4 {
    color: green;
}

#map {
    width: 90%;
    height: 400px;
}





















/*  ++++++++++++++ パンくずリスト start +++++++++++++++++  */

.bread {
    margin-bottom: 5px;
}

.bread ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bread li a {
    display: inline-block;
    padding: 5px;
    color: #000000;
    font-size: 12px;
    text-decoration: none;
}

.bread li a:hover {
    color: cornflowerblue;
    text-decoration: underline royalblue;

}

.bread ul:after {
    content: "";
    display: block;
    clear: both;
}

.bread li {
    float: left;
    width: auto;
}

.bread li:after {
    content: '\003e';
    color: black;
    margin-left: 10px;
    margin-right: 10px;
}

/*  ++++++++++++++ パンくずリスト end +++++++++++++++++  */

/* ++++++++  サイドメニュー +++++++++++  */

/* サイドメニュー */

.sidemenu h3 {
    font-size: 16px;
    /*    font-weight: normal;*/
    color: rgb(0, 0, 139);
    position: relative;
    padding-left: 10px;
    /*	text-shadow: 1px 2px 5px skyblue;*/
}

.sidemenu ul {
    border-top: solid rgb(0, 0, 139) 2px;
    /*上のボーダー*/
    border-bottom: solid rgb(0, 0, 139) 2px;
    /*下のボーダー*/
    color: deepskyblue;
    font-size: 14px;
    margin: 0;
    padding: 0.5em 0 0.5em 1.5em;
}

.sidemenu ul li {
    color: rgb(0, 0, 139);
    line-height: 1.5;
    padding: 0.5em 0;
}

.sidemenu li a {
    color: rgb(0, 0, 139);
    display: block;
    padding: 5px;
    text-decoration: none;

}

.sidemenu li a:hover {
    background-color: rgb(0, 0, 139);
    color: white;
}

.sidemenu h4 {
    background-color: rgb(0, 0, 139);
    color: white;
    padding-left: 10px;
}


/*電話番号*/

.con_telno {
    font-size: 14px;
    color: rgb(0, 0, 139);
    margin-bottom: 0;
}

.con_telno i {
    margin-right: 10px;
}

/*受付時間*/

.con_working-day {
    font-size: 14px;
    color: rgb(0, 0, 139);
    margin-bottom: 0;
}

.con_working-day i {
    margin-right: 10px;
}



/*メールアドレス*/

.con_mail {
    font-size: 14px;
    color: rgb(0, 0, 139);
    margin-bottom: 0;
    padding-bottom: 5px;
    vertical-align: middle;
}

.con_mail i {
    margin-right: 10px;
}

/*　問い合わせボタン　*/

.sidemenu button {
    margin: 0 auto;
    padding: 1em 2em;
    border: solid rgb(0, 0, 139) 2px;
    box-sizing: border-box;
    width: 170px;
    display: inline-block;
    font-size: 13px;
    position: relative;
    cursor: pointer;
    background-color: transparent;
    border-radius: 10px;
    color: rgb(0, 0, 139);
}

.com_br1 {
    display: none;
}

/*-------------------------メデイアクエリ-----------------------------*/

/* ############ 1281px 以上 ############ */

@media (min-width: 1281px) {

    .l_main {
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }

}

/* ############ 960px 以上 & 1280px以下 ############ */

@media (min-width: 960px) and (max-width: 1280px) {}

/* ############ 768px 以上 ############ */

@media (min-width: 768px) {

    /*	 モーダルウィンドウ 非表示 */
    .modal {
        display: none;
    }

    .com_br2 {
        display: none;
    }
}

/* ############ 768px 以下 ############ */

@media (max-width:768px) {
    .com_title1 {
        font-size: 18px;
    }

    .com_gaiyo_td1 {
        width: 35%;
    }

    .com_map {
        width: 100%;
    }

    .com_br1 {
        display: inline;
    }

    .com_gaiyo_tr1 span {
        display: block;
    }
}


/* ############ 599px以下 ############ */

@media (max-width: 599px) {

    .com_gaiyo_tr1 span {
        display: block;
    }

    /* ｻｲﾄﾞﾒﾆｭｰ 非表示*/
    .l_main_left {
        display: none;
    }

    .sidemenu {
        display: none;
    }

    .l_main_right {
        width: 100%;
        padding: 0;
    }

    /*モーダルウィンドウ  開始　　*/
    .modal .modal-check {
        display: none;
    }

    .modal .modal-window {
        /*
		display: flex;
		justify-content: flex-end;
*/
        /*position: relative;*/
        position: fixed;
        top: 330px;
        right: 18px;

        z-index: 100001;
        animation: fadein .3s 1, zoomin .3s 1;
    }

    /*バッテン modal-window が親要素なので位置はそれに依存する　*/
    .modal .modal-label {

        position: absolute;
        /*		position: fixed;*/
        top: -5px;
        right: -10px;
        /*	left:180px;*/
        display: flex;

        align-items: center;
        justify-content: center;
        line-height: 1;
        background: #099;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        cursor: pointer;
        transition: all .2s ease;
    }

    /*
.modal .modal-label:hover {
	background: #00cccc;
}
*/
    .modal .modal-label:active {
        background: cyan;
    }

    .modal .modal-label svg {
        display: flex;
        align-items: center;
        fill: #fff;
    }

    .modal .modal-inner {
        /*
	width: 80vw;
	max-width: 500px;
*/
        max-width: 200px;
        background: rgb(204, 204, 255);
        /*背景透過*/
        /*background-color: rgba(0, 0, 139, 0.1);*/
        /*  背景文字透過*/
        /*
		background-color: rgb(0, 0, 139);
		opacity: 0.5;
*/
        /*  文字透過しない。背景透過*/
        /*		background-color: transparent;*/
        border-radius: 3px;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    }

    .modal .modal-content {
        color: #099;
    }

    .modal .modal-content p {
        padding: 0;
        margin: 0;
    }

    .modal .modal-check:checked + .modal-body {
        animation: fadeout .2s 1 forwards, hide .1s .2s 1 forwards;
    }

    .modal .modal-check:checked + .modal-body .modal-window {
        animation: zoomout .2s 1 forwards;
    }

    @keyframes fadein {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes fadeout {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 0;
        }
    }

    @keyframes zoomin {
        0% {
            transform: scale(0.9);
        }

        100% {
            transform: scale(1);
        }
    }

    @keyframes zoomout {
        0% {
            transform: scale(1);
        }

        100% {
            transform: scale(0.9);
        }
    }

    @keyframes hide {
        0% {
            visibility: visible;
        }

        100% {
            visibility: hidden;
        }
    }

    /*モーダルウィンドウ 終了　　*/
}
