@charset "utf-8";

header {
    width: 100%;
    background: #fff;
}

header#header {
    position: fixed;
    z-index: 1000;
}

header>div {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

header .logo a {
    display: flex;
    height: 60px;
}

header .logo a img {
    width: auto;
    height: 60px;
}

.headerRight {
    padding: 5px 0;
    display: flex;
}

.callnumber {
    color: #ffffff;
    font-style: normal;
    font-weight: 700;
    text-align: center;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    width: 196px;
    margin-right:15px;
}

.callnumber  span {
    line-height: 1;
}
.callnumber  .tel {
    font-size: 24px;
    margin-bottom: 5px;
    display: flex;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.callnumber  .tel img {
    margin-right: 4px;
}
.callnumber .hour {
    font-size: 12px;
    display: block;
}

header .call a {
    font-size: 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    background: #fff;
    text-decoration: none;
    font-weight: bold;
    width: 190px;
    height: 50px;
    line-height: 1;
    align-content: center;
}

header .call a img,
header .contact a img,
header .line a img {
    margin-right: 10px;
    width: 20px;
}

header .call a span {
    line-height: 1;
}

header .call a span>span {
    display: block;
    font-weight: 400;
    font-size: 12px;
}
.contact_link_box{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}
header .contact > div,
header .line > div {
margin-left: 0;
}
.contact > div:first-child,
.line > div:first-child {
border-radius: 5px;
}
header .contact a,
header .line a {
    font-size: 16px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    width: 170px;
    height: 50px;
    line-height: 1;
    align-content: center;
    color: #fff;
}

header .contact a span,
header .line a span {
    padding-bottom: 2px;
}

/* レスポンシブ */

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

    header#header {
        height: 60px;
    }

    .headerLeft {
        padding: 0 32px;
        margin: auto;
    }

    .headerRight {
        display: none;
    }

    header .logo a {
        display: block;
        height: 60px;
        text-align: center;
        padding: 10px 0;
    }

    header .logo a img {
        height: 60px;
        width: auto;
        object-fit: contain;
    }

    header>div {
        padding: 0;
    }

    header>.mW {
        display: block;
    }

}

@media screen and (min-width:768px) and (max-width: 1119px) {
    header {
        width: 100%;
    }

    header .logo a {
        display: flex;
        align-items: center;
    }

    header .logo a img {
        height: 35px;
        width: auto;
        object-fit: contain;
    }

    header .call a {
        width: 19.64vw;
        height: 4.46vw;
        min-width: 180px;
        min-height: 40.91px;
        font-size: clamp(1rem, 0.439rem + 0.98vw, 1.125rem);
        text-align: center;
    }
    .callnumber .tel {
        font-size: 20px;
    }

    .headerRight{
        align-items: center;
    }

    header .contact a,
    header .line a {
        width: 19.64vw;
        height: 4.46vw;
        min-width: 180px;
        min-height: 40.91px;
        font-size:clamp(0.813rem, -0.029rem + 1.47vw, 1rem);
    }

    header .call a img,
    header .contact a img,
    header .line a img {
        width:1.96vw;
        min-width: 15px;
    }

    header .call a span>span {
        font-size: clamp(0.625rem, 0.064rem + 0.98vw, 0.75rem);
    }

    header#header{
        height: 80px;
    }
}