﻿@charset "utf-8";
/* PC向け*/
body, html {
    min-width: 1028px;
    padding: 0;
    margin: 0;
    letter-spacing: 0.1em;
    line-height: 1.7;
    /* font-family: "秀英明朝 L", Shuei Mincho L, serif; */
    font-family: Lato, "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.pc {
    display: contents;
}
.headerare {
    width: 100%;
    border-bottom: 1px solid #F0F0F0;
}
.uparea {
    display: grid;
    position: relative;
    margin: 0 auto;
    padding: 10px 20px;
    max-width: 1400px;
    grid-template-columns: 20% 20% 30% 30%;
    width: 80%;
    align-items: center;
    justify-items: center;
}
.areaitem {
    flex-basis: 30%;
}
#header_logo {
    width: 100%;
}
.sitebtn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin:0 auto;
    padding: .1em 1.2rem .2rem 1.2rem;
    border: 1px solid #2589d0;
    border-radius: 5px;
    background-color: #2589d0;
    color: #FFF;
    font-size: .7em;
    letter-spacing: 0;
}
.telinfo {
    line-height: .5rem;
    text-align: center;
}
.tel {
    font-family: arial;
    font-size: 30px;
    line-height: 32px;
    font-weight: bold;
    letter-spacing: 2px;
}
.ukeinfo {
    font-size: 11px;
    letter-spacing: 0px;
}
.underarea {
    width: 100%;
    border-bottom: 1px dotted #dcd9c4;
    background-color: #fff;
}
.navarea {
    display: flex;
    padding: 18px;
    max-width: var(--site-width);
    margin: 0 auto;
    position: relative;
}
.nav {
    display: flex;
    align-items: center;
    width: 80%;
    margin: auto;
}
.nav_menu {
    display: table;
    width: 20%;
    height: 1rem;
    border-right: 1px dotted #dcd9c4;
    font-size: 1rem;
    list-style: none;
    margin: 0;
    text-align: center;
    vertical-align: middle;
}
#fixed-header {
    position: fixed;
    top: -70px;  
    width: 100%;
    height: 1rem;
    text-align: center;
    box-sizing: border-box;
    transition: .5s;
}
#fixed-header.is-show {
    top: 0;
    z-index: 100;
}
#fixed-link {
    position: fixed;
    top: calc(var(--_h) * 0.49);
    right: 0;
    z-index: 99999;
}
.vertical-btn {
    box-sizing: border-box;
    display: block;
    position: absolute;
    right: 0;
    width: 50px;
    padding: 32px 6px 28px 20px;
    background-color: #2589d0;
    color: #fff;
    font-size: 0.8rem;
    z-index: 1000;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: all .2s;
    cursor: pointer;
    line-height: .9rem;
}
.vertical-btn:hover {
    background-color: #a12d3ba8;
}
.vertical-btn:visited {
    color:#fff;
}
.titleh2 {
    border-bottom: solid 3px #b3d9f4;
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding: 0 2rem 10px;
    letter-spacing: .2rem;
}
.titleh2:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #2589d0;
    bottom: -3px;
    left:0;
    width: 20%;
}
/* タブレット向け：～1280px 
@media screen and (max-width: 1174px) {

}*/

/* スマホ向け：961px～ */
@media only screen and (max-width: 768px) {
    body, html {
        min-width: 320px;
    }
    .pc {
        display: none;
    }
    #fixed-header {
        display: none;
    }
    #fixed-link {
        top: unset;
        bottom: 0;
    }
    .vertical-btn {
        position: initial;
        width: 60%;
        padding: 20px 10px 20px 10px;
        margin: 0 0 0 auto;
        text-align: center;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 0;
    }
    .uparea {
        max-width: 500px;
        width: 100%;
        grid-template-columns: 45% 40% 15%;
        padding: 0;
        margin: 3% 0;
    }
    #header_logo {
        width: 80%;
        margin: 0 auto;
    }
    .spitem {
        grid-column: 1;
        grid-row:2;
    }
    .spitem2 {
        grid-column: 2;
        grid-row:1/3;
    }
    .tel {
        font-size: 1.2rem;
        line-height: 1.5rem;
        font-weight: bold;
        letter-spacing: .8px;
    }
    .areaitem {
        text-align: center;
    }
    .nav {
        display: inline;
    }
    .navarea { 
        padding: 0;
    }
}

